/* * 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 route53-recovery-readiness-2019-12-02.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.Route53RecoveryReadiness.Model; using Amazon.Route53RecoveryReadiness.Model.Internal.MarshallTransformations; using Amazon.Route53RecoveryReadiness.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Route53RecoveryReadiness { /// /// Implementation for accessing Route53RecoveryReadiness /// /// Recovery readiness /// public partial class AmazonRoute53RecoveryReadinessClient : AmazonServiceClient, IAmazonRoute53RecoveryReadiness { private static IServiceMetadata serviceMetadata = new AmazonRoute53RecoveryReadinessMetadata(); #region Constructors /// /// Constructs AmazonRoute53RecoveryReadinessClient 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 AmazonRoute53RecoveryReadinessClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonRoute53RecoveryReadinessConfig()) { } /// /// Constructs AmazonRoute53RecoveryReadinessClient 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 AmazonRoute53RecoveryReadinessClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonRoute53RecoveryReadinessConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonRoute53RecoveryReadinessClient 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 AmazonRoute53RecoveryReadinessClient Configuration Object public AmazonRoute53RecoveryReadinessClient(AmazonRoute53RecoveryReadinessConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonRoute53RecoveryReadinessClient with AWS Credentials /// /// AWS Credentials public AmazonRoute53RecoveryReadinessClient(AWSCredentials credentials) : this(credentials, new AmazonRoute53RecoveryReadinessConfig()) { } /// /// Constructs AmazonRoute53RecoveryReadinessClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonRoute53RecoveryReadinessClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonRoute53RecoveryReadinessConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonRoute53RecoveryReadinessClient with AWS Credentials and an /// AmazonRoute53RecoveryReadinessClient Configuration object. /// /// AWS Credentials /// The AmazonRoute53RecoveryReadinessClient Configuration Object public AmazonRoute53RecoveryReadinessClient(AWSCredentials credentials, AmazonRoute53RecoveryReadinessConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonRoute53RecoveryReadinessClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonRoute53RecoveryReadinessClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonRoute53RecoveryReadinessConfig()) { } /// /// Constructs AmazonRoute53RecoveryReadinessClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonRoute53RecoveryReadinessClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonRoute53RecoveryReadinessConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonRoute53RecoveryReadinessClient with AWS Access Key ID, AWS Secret Key and an /// AmazonRoute53RecoveryReadinessClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonRoute53RecoveryReadinessClient Configuration Object public AmazonRoute53RecoveryReadinessClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonRoute53RecoveryReadinessConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonRoute53RecoveryReadinessClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonRoute53RecoveryReadinessClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonRoute53RecoveryReadinessConfig()) { } /// /// Constructs AmazonRoute53RecoveryReadinessClient 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 AmazonRoute53RecoveryReadinessClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonRoute53RecoveryReadinessConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonRoute53RecoveryReadinessClient with AWS Access Key ID, AWS Secret Key and an /// AmazonRoute53RecoveryReadinessClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonRoute53RecoveryReadinessClient Configuration Object public AmazonRoute53RecoveryReadinessClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonRoute53RecoveryReadinessConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IRoute53RecoveryReadinessPaginatorFactory _paginators; /// /// Paginators for the service /// public IRoute53RecoveryReadinessPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new Route53RecoveryReadinessPaginatorFactory(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 AmazonRoute53RecoveryReadinessEndpointResolver()); } /// /// 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 CreateCell internal virtual CreateCellResponse CreateCell(CreateCellRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCellRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCellResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a cell in an account. /// /// Container for the necessary parameters to execute the CreateCell service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCell service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for CreateCell Operation public virtual Task CreateCellAsync(CreateCellRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCellRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCellResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCrossAccountAuthorization internal virtual CreateCrossAccountAuthorizationResponse CreateCrossAccountAuthorization(CreateCrossAccountAuthorizationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCrossAccountAuthorizationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCrossAccountAuthorizationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a cross-account readiness authorization. This lets you authorize another account /// to work with Route 53 Application Recovery Controller, for example, to check the readiness /// status of resources in a separate account. /// /// Container for the necessary parameters to execute the CreateCrossAccountAuthorization service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCrossAccountAuthorization service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for CreateCrossAccountAuthorization Operation public virtual Task CreateCrossAccountAuthorizationAsync(CreateCrossAccountAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCrossAccountAuthorizationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCrossAccountAuthorizationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReadinessCheck internal virtual CreateReadinessCheckResponse CreateReadinessCheck(CreateReadinessCheckRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReadinessCheckRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReadinessCheckResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a readiness check in an account. A readiness check monitors a resource set /// in your application, such as a set of Amazon Aurora instances, that Application Recovery /// Controller is auditing recovery readiness for. The audits run once every minute on /// every resource that's associated with a readiness check. /// /// Container for the necessary parameters to execute the CreateReadinessCheck service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReadinessCheck service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for CreateReadinessCheck Operation public virtual Task CreateReadinessCheckAsync(CreateReadinessCheckRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReadinessCheckRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReadinessCheckResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRecoveryGroup internal virtual CreateRecoveryGroupResponse CreateRecoveryGroup(CreateRecoveryGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRecoveryGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRecoveryGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a recovery group in an account. A recovery group corresponds to an application /// and includes a list of the cells that make up the application. /// /// Container for the necessary parameters to execute the CreateRecoveryGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRecoveryGroup service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for CreateRecoveryGroup Operation public virtual Task CreateRecoveryGroupAsync(CreateRecoveryGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRecoveryGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRecoveryGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateResourceSet internal virtual CreateResourceSetResponse CreateResourceSet(CreateResourceSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResourceSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a resource set. A resource set is a set of resources of one type that span /// multiple cells. You can associate a resource set with a readiness check to monitor /// the resources for failover readiness. /// /// Container for the necessary parameters to execute the CreateResourceSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateResourceSet service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for CreateResourceSet Operation public virtual Task CreateResourceSetAsync(CreateResourceSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResourceSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCell internal virtual DeleteCellResponse DeleteCell(DeleteCellRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCellRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCellResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete a cell. When successful, the response code is 204, with no response body. /// /// Container for the necessary parameters to execute the DeleteCell service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCell service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for DeleteCell Operation public virtual Task DeleteCellAsync(DeleteCellRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCellRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCellResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCrossAccountAuthorization internal virtual DeleteCrossAccountAuthorizationResponse DeleteCrossAccountAuthorization(DeleteCrossAccountAuthorizationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCrossAccountAuthorizationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCrossAccountAuthorizationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes cross account readiness authorization. /// /// Container for the necessary parameters to execute the DeleteCrossAccountAuthorization service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCrossAccountAuthorization service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for DeleteCrossAccountAuthorization Operation public virtual Task DeleteCrossAccountAuthorizationAsync(DeleteCrossAccountAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCrossAccountAuthorizationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCrossAccountAuthorizationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteReadinessCheck internal virtual DeleteReadinessCheckResponse DeleteReadinessCheck(DeleteReadinessCheckRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReadinessCheckRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReadinessCheckResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a readiness check. /// /// Container for the necessary parameters to execute the DeleteReadinessCheck service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReadinessCheck service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for DeleteReadinessCheck Operation public virtual Task DeleteReadinessCheckAsync(DeleteReadinessCheckRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReadinessCheckRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReadinessCheckResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRecoveryGroup internal virtual DeleteRecoveryGroupResponse DeleteRecoveryGroup(DeleteRecoveryGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecoveryGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecoveryGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a recovery group. /// /// Container for the necessary parameters to execute the DeleteRecoveryGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRecoveryGroup service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for DeleteRecoveryGroup Operation public virtual Task DeleteRecoveryGroupAsync(DeleteRecoveryGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecoveryGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecoveryGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteResourceSet internal virtual DeleteResourceSetResponse DeleteResourceSet(DeleteResourceSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourceSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a resource set. /// /// Container for the necessary parameters to execute the DeleteResourceSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteResourceSet service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for DeleteResourceSet Operation public virtual Task DeleteResourceSetAsync(DeleteResourceSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourceSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetArchitectureRecommendations internal virtual GetArchitectureRecommendationsResponse GetArchitectureRecommendations(GetArchitectureRecommendationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetArchitectureRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetArchitectureRecommendationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets recommendations about architecture designs for improving resiliency for an application, /// based on a recovery group. /// /// Container for the necessary parameters to execute the GetArchitectureRecommendations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetArchitectureRecommendations service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetArchitectureRecommendations Operation public virtual Task GetArchitectureRecommendationsAsync(GetArchitectureRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetArchitectureRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetArchitectureRecommendationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCell internal virtual GetCellResponse GetCell(GetCellRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCellRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCellResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about a cell including cell name, cell Amazon Resource Name (ARN), /// ARNs of nested cells for this cell, and a list of those cell ARNs with their associated /// recovery group ARNs. /// /// Container for the necessary parameters to execute the GetCell service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCell service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetCell Operation public virtual Task GetCellAsync(GetCellRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCellRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCellResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCellReadinessSummary internal virtual GetCellReadinessSummaryResponse GetCellReadinessSummary(GetCellReadinessSummaryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCellReadinessSummaryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCellReadinessSummaryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets readiness for a cell. Aggregates the readiness of all the resources that are /// associated with the cell into a single value. /// /// Container for the necessary parameters to execute the GetCellReadinessSummary service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCellReadinessSummary service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetCellReadinessSummary Operation public virtual Task GetCellReadinessSummaryAsync(GetCellReadinessSummaryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCellReadinessSummaryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCellReadinessSummaryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetReadinessCheck internal virtual GetReadinessCheckResponse GetReadinessCheck(GetReadinessCheckRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetReadinessCheckRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReadinessCheckResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets details about a readiness check. /// /// Container for the necessary parameters to execute the GetReadinessCheck service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetReadinessCheck service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetReadinessCheck Operation public virtual Task GetReadinessCheckAsync(GetReadinessCheckRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetReadinessCheckRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReadinessCheckResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetReadinessCheckResourceStatus internal virtual GetReadinessCheckResourceStatusResponse GetReadinessCheckResourceStatus(GetReadinessCheckResourceStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetReadinessCheckResourceStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReadinessCheckResourceStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets individual readiness status for a readiness check. To see the overall readiness /// status for a recovery group, that considers the readiness status for all the readiness /// checks in the recovery group, use GetRecoveryGroupReadinessSummary. /// /// Container for the necessary parameters to execute the GetReadinessCheckResourceStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetReadinessCheckResourceStatus service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetReadinessCheckResourceStatus Operation public virtual Task GetReadinessCheckResourceStatusAsync(GetReadinessCheckResourceStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetReadinessCheckResourceStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReadinessCheckResourceStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetReadinessCheckStatus internal virtual GetReadinessCheckStatusResponse GetReadinessCheckStatus(GetReadinessCheckStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetReadinessCheckStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReadinessCheckStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the readiness status for an individual readiness check. To see the overall readiness /// status for a recovery group, that considers the readiness status for all the readiness /// checks in a recovery group, use GetRecoveryGroupReadinessSummary. /// /// Container for the necessary parameters to execute the GetReadinessCheckStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetReadinessCheckStatus service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetReadinessCheckStatus Operation public virtual Task GetReadinessCheckStatusAsync(GetReadinessCheckStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetReadinessCheckStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReadinessCheckStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRecoveryGroup internal virtual GetRecoveryGroupResponse GetRecoveryGroup(GetRecoveryGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRecoveryGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRecoveryGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets details about a recovery group, including a list of the cells that are included /// in it. /// /// Container for the necessary parameters to execute the GetRecoveryGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRecoveryGroup service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetRecoveryGroup Operation public virtual Task GetRecoveryGroupAsync(GetRecoveryGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRecoveryGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRecoveryGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRecoveryGroupReadinessSummary internal virtual GetRecoveryGroupReadinessSummaryResponse GetRecoveryGroupReadinessSummary(GetRecoveryGroupReadinessSummaryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRecoveryGroupReadinessSummaryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRecoveryGroupReadinessSummaryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Displays a summary of information about a recovery group's readiness status. Includes /// the readiness checks for resources in the recovery group and the readiness status /// of each one. /// /// Container for the necessary parameters to execute the GetRecoveryGroupReadinessSummary service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRecoveryGroupReadinessSummary service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetRecoveryGroupReadinessSummary Operation public virtual Task GetRecoveryGroupReadinessSummaryAsync(GetRecoveryGroupReadinessSummaryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRecoveryGroupReadinessSummaryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRecoveryGroupReadinessSummaryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetResourceSet internal virtual GetResourceSetResponse GetResourceSet(GetResourceSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Displays the details about a resource set, including a list of the resources in the /// set. /// /// Container for the necessary parameters to execute the GetResourceSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetResourceSet service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetResourceSet Operation public virtual Task GetResourceSetAsync(GetResourceSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCells internal virtual ListCellsResponse ListCells(ListCellsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCellsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCellsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the cells for an account. /// /// Container for the necessary parameters to execute the ListCells service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCells service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ListCells Operation public virtual Task ListCellsAsync(ListCellsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCellsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCellsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCrossAccountAuthorizations internal virtual ListCrossAccountAuthorizationsResponse ListCrossAccountAuthorizations(ListCrossAccountAuthorizationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCrossAccountAuthorizationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCrossAccountAuthorizationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the cross-account readiness authorizations that are in place for an account. /// /// Container for the necessary parameters to execute the ListCrossAccountAuthorizations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCrossAccountAuthorizations service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ListCrossAccountAuthorizations Operation public virtual Task ListCrossAccountAuthorizationsAsync(ListCrossAccountAuthorizationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCrossAccountAuthorizationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCrossAccountAuthorizationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListReadinessChecks internal virtual ListReadinessChecksResponse ListReadinessChecks(ListReadinessChecksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListReadinessChecksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReadinessChecksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the readiness checks for an account. /// /// Container for the necessary parameters to execute the ListReadinessChecks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListReadinessChecks service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ListReadinessChecks Operation public virtual Task ListReadinessChecksAsync(ListReadinessChecksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListReadinessChecksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReadinessChecksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRecoveryGroups internal virtual ListRecoveryGroupsResponse ListRecoveryGroups(ListRecoveryGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecoveryGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecoveryGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the recovery groups in an account. /// /// Container for the necessary parameters to execute the ListRecoveryGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRecoveryGroups service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ListRecoveryGroups Operation public virtual Task ListRecoveryGroupsAsync(ListRecoveryGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecoveryGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecoveryGroupsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListResourceSets internal virtual ListResourceSetsResponse ListResourceSets(ListResourceSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the resource sets in an account. /// /// Container for the necessary parameters to execute the ListResourceSets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListResourceSets service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ListResourceSets Operation public virtual Task ListResourceSetsAsync(ListResourceSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceSetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRules internal virtual ListRulesResponse ListRules(ListRulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all readiness rules, or lists the readiness rules for a specific resource type. /// /// Container for the necessary parameters to execute the ListRules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRules service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ListRules Operation public virtual Task ListRulesAsync(ListRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRulesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResources internal virtual ListTagsForResourcesResponse ListTagsForResources(ListTagsForResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the tags for a resource. /// /// Container for the necessary parameters to execute the ListTagsForResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResources service method, as returned by Route53RecoveryReadiness. /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ListTagsForResources Operation public virtual Task ListTagsForResourcesAsync(ListTagsForResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourcesResponseUnmarshaller.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 a tag to a resource. /// /// 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 Route53RecoveryReadiness. /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// The input fails to satisfy the constraints specified by an 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 UntagResource internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes a tag from a resource. /// /// 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 Route53RecoveryReadiness. /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// The input fails to satisfy the constraints specified by an 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 UpdateCell internal virtual UpdateCellResponse UpdateCell(UpdateCellRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCellRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCellResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a cell to replace the list of nested cells with a new list of nested cells. /// /// Container for the necessary parameters to execute the UpdateCell service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateCell service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for UpdateCell Operation public virtual Task UpdateCellAsync(UpdateCellRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCellRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCellResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateReadinessCheck internal virtual UpdateReadinessCheckResponse UpdateReadinessCheck(UpdateReadinessCheckRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReadinessCheckRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReadinessCheckResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a readiness check. /// /// Container for the necessary parameters to execute the UpdateReadinessCheck service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateReadinessCheck service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for UpdateReadinessCheck Operation public virtual Task UpdateReadinessCheckAsync(UpdateReadinessCheckRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReadinessCheckRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReadinessCheckResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRecoveryGroup internal virtual UpdateRecoveryGroupResponse UpdateRecoveryGroup(UpdateRecoveryGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRecoveryGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRecoveryGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a recovery group. /// /// Container for the necessary parameters to execute the UpdateRecoveryGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRecoveryGroup service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for UpdateRecoveryGroup Operation public virtual Task UpdateRecoveryGroupAsync(UpdateRecoveryGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRecoveryGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRecoveryGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateResourceSet internal virtual UpdateResourceSetResponse UpdateResourceSet(UpdateResourceSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a resource set. /// /// Container for the necessary parameters to execute the UpdateResourceSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateResourceSet service method, as returned by Route53RecoveryReadiness. /// /// User does not have sufficient access to perform this action. /// /// /// An unexpected error occurred. /// /// /// The requested resource does not exist. /// /// /// Request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for UpdateResourceSet Operation public virtual Task UpdateResourceSetAsync(UpdateResourceSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }