/* * 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-control-config-2020-11-02.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.Route53RecoveryControlConfig.Model; using Amazon.Route53RecoveryControlConfig.Model.Internal.MarshallTransformations; using Amazon.Route53RecoveryControlConfig.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Route53RecoveryControlConfig { /// /// Implementation for accessing Route53RecoveryControlConfig /// /// Recovery Control Configuration API Reference for Amazon Route 53 Application Recovery /// Controller /// public partial class AmazonRoute53RecoveryControlConfigClient : AmazonServiceClient, IAmazonRoute53RecoveryControlConfig { private static IServiceMetadata serviceMetadata = new AmazonRoute53RecoveryControlConfigMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IRoute53RecoveryControlConfigPaginatorFactory _paginators; /// /// Paginators for the service /// public IRoute53RecoveryControlConfigPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new Route53RecoveryControlConfigPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonRoute53RecoveryControlConfigClient 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 AmazonRoute53RecoveryControlConfigClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonRoute53RecoveryControlConfigConfig()) { } /// /// Constructs AmazonRoute53RecoveryControlConfigClient 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 AmazonRoute53RecoveryControlConfigClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonRoute53RecoveryControlConfigConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonRoute53RecoveryControlConfigClient 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 AmazonRoute53RecoveryControlConfigClient Configuration Object public AmazonRoute53RecoveryControlConfigClient(AmazonRoute53RecoveryControlConfigConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonRoute53RecoveryControlConfigClient with AWS Credentials /// /// AWS Credentials public AmazonRoute53RecoveryControlConfigClient(AWSCredentials credentials) : this(credentials, new AmazonRoute53RecoveryControlConfigConfig()) { } /// /// Constructs AmazonRoute53RecoveryControlConfigClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonRoute53RecoveryControlConfigClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonRoute53RecoveryControlConfigConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonRoute53RecoveryControlConfigClient with AWS Credentials and an /// AmazonRoute53RecoveryControlConfigClient Configuration object. /// /// AWS Credentials /// The AmazonRoute53RecoveryControlConfigClient Configuration Object public AmazonRoute53RecoveryControlConfigClient(AWSCredentials credentials, AmazonRoute53RecoveryControlConfigConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonRoute53RecoveryControlConfigClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonRoute53RecoveryControlConfigClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonRoute53RecoveryControlConfigConfig()) { } /// /// Constructs AmazonRoute53RecoveryControlConfigClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonRoute53RecoveryControlConfigClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonRoute53RecoveryControlConfigConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonRoute53RecoveryControlConfigClient with AWS Access Key ID, AWS Secret Key and an /// AmazonRoute53RecoveryControlConfigClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonRoute53RecoveryControlConfigClient Configuration Object public AmazonRoute53RecoveryControlConfigClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonRoute53RecoveryControlConfigConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonRoute53RecoveryControlConfigClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonRoute53RecoveryControlConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonRoute53RecoveryControlConfigConfig()) { } /// /// Constructs AmazonRoute53RecoveryControlConfigClient 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 AmazonRoute53RecoveryControlConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonRoute53RecoveryControlConfigConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonRoute53RecoveryControlConfigClient with AWS Access Key ID, AWS Secret Key and an /// AmazonRoute53RecoveryControlConfigClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonRoute53RecoveryControlConfigClient Configuration Object public AmazonRoute53RecoveryControlConfigClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonRoute53RecoveryControlConfigConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonRoute53RecoveryControlConfigEndpointResolver()); } /// /// 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 CreateCluster /// /// Create a new cluster. A cluster is a set of redundant Regional endpoints against which /// you can run API calls to update or get the state of one or more routing controls. /// Each cluster has a name, status, Amazon Resource Name (ARN), and an array of the five /// cluster endpoints (one for each supported Amazon Web Services Region) that you can /// use with API calls to the cluster data plane. /// /// Container for the necessary parameters to execute the CreateCluster service method. /// /// The response from the CreateCluster service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 409 response - ConflictException. You might be using a predefined variable. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 402 response - You attempted to create more resources than the service allows based /// on service quotas. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for CreateCluster Operation public virtual CreateClusterResponse CreateCluster(CreateClusterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClusterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCluster operation. /// /// /// Container for the necessary parameters to execute the CreateCluster operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCluster /// operation. /// REST API Reference for CreateCluster Operation public virtual IAsyncResult BeginCreateCluster(CreateClusterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClusterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCluster operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCluster. /// /// Returns a CreateClusterResult from Route53RecoveryControlConfig. /// REST API Reference for CreateCluster Operation public virtual CreateClusterResponse EndCreateCluster(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateControlPanel /// /// Creates a new control panel. A control panel represents a group of routing controls /// that can be changed together in a single transaction. You can use a control panel /// to centrally view the operational status of applications across your organization, /// and trigger multi-app failovers in a single transaction, for example, to fail over /// an Availability Zone or Amazon Web Services Region. /// /// Container for the necessary parameters to execute the CreateControlPanel service method. /// /// The response from the CreateControlPanel service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 409 response - ConflictException. You might be using a predefined variable. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 402 response - You attempted to create more resources than the service allows based /// on service quotas. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for CreateControlPanel Operation public virtual CreateControlPanelResponse CreateControlPanel(CreateControlPanelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateControlPanelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateControlPanelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateControlPanel operation. /// /// /// Container for the necessary parameters to execute the CreateControlPanel operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateControlPanel /// operation. /// REST API Reference for CreateControlPanel Operation public virtual IAsyncResult BeginCreateControlPanel(CreateControlPanelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateControlPanelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateControlPanelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateControlPanel operation. /// /// /// The IAsyncResult returned by the call to BeginCreateControlPanel. /// /// Returns a CreateControlPanelResult from Route53RecoveryControlConfig. /// REST API Reference for CreateControlPanel Operation public virtual CreateControlPanelResponse EndCreateControlPanel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateRoutingControl /// /// Creates a new routing control. /// /// /// /// A routing control has one of two states: ON and OFF. You can map the routing control /// state to the state of an Amazon Route 53 health check, which can be used to control /// traffic routing. /// /// /// /// To get or update the routing control state, see the Recovery Cluster (data plane) /// API actions for Amazon Route 53 Application Recovery Controller. /// /// /// Container for the necessary parameters to execute the CreateRoutingControl service method. /// /// The response from the CreateRoutingControl service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 409 response - ConflictException. You might be using a predefined variable. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 402 response - You attempted to create more resources than the service allows based /// on service quotas. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for CreateRoutingControl Operation public virtual CreateRoutingControlResponse CreateRoutingControl(CreateRoutingControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRoutingControlRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRoutingControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateRoutingControl operation. /// /// /// Container for the necessary parameters to execute the CreateRoutingControl operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRoutingControl /// operation. /// REST API Reference for CreateRoutingControl Operation public virtual IAsyncResult BeginCreateRoutingControl(CreateRoutingControlRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRoutingControlRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRoutingControlResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateRoutingControl operation. /// /// /// The IAsyncResult returned by the call to BeginCreateRoutingControl. /// /// Returns a CreateRoutingControlResult from Route53RecoveryControlConfig. /// REST API Reference for CreateRoutingControl Operation public virtual CreateRoutingControlResponse EndCreateRoutingControl(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSafetyRule /// /// Creates a safety rule in a control panel. Safety rules let you add safeguards around /// changing routing control states, and for enabling and disabling routing controls, /// to help prevent unexpected outcomes. /// /// /// /// There are two types of safety rules: assertion rules and gating rules. /// /// /// /// Assertion rule: An assertion rule enforces that, when you change a routing control /// state, that a certain criteria is met. For example, the criteria might be that at /// least one routing control state is On after the transaction so that traffic continues /// to flow to at least one cell for the application. This ensures that you avoid a fail-open /// scenario. /// /// /// /// Gating rule: A gating rule lets you configure a gating routing control as an overall /// "on/off" switch for a group of routing controls. Or, you can configure more complex /// gating scenarios, for example by configuring multiple gating routing controls. /// /// /// /// For more information, see Safety /// rules in the Amazon Route 53 Application Recovery Controller Developer Guide. /// /// /// Container for the necessary parameters to execute the CreateSafetyRule service method. /// /// The response from the CreateSafetyRule service method, as returned by Route53RecoveryControlConfig. /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for CreateSafetyRule Operation public virtual CreateSafetyRuleResponse CreateSafetyRule(CreateSafetyRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSafetyRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSafetyRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSafetyRule operation. /// /// /// Container for the necessary parameters to execute the CreateSafetyRule operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSafetyRule /// operation. /// REST API Reference for CreateSafetyRule Operation public virtual IAsyncResult BeginCreateSafetyRule(CreateSafetyRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSafetyRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSafetyRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSafetyRule operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSafetyRule. /// /// Returns a CreateSafetyRuleResult from Route53RecoveryControlConfig. /// REST API Reference for CreateSafetyRule Operation public virtual CreateSafetyRuleResponse EndCreateSafetyRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCluster /// /// Delete a cluster. /// /// Container for the necessary parameters to execute the DeleteCluster service method. /// /// The response from the DeleteCluster service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 409 response - ConflictException. You might be using a predefined variable. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for DeleteCluster Operation public virtual DeleteClusterResponse DeleteCluster(DeleteClusterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteClusterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCluster operation. /// /// /// Container for the necessary parameters to execute the DeleteCluster operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCluster /// operation. /// REST API Reference for DeleteCluster Operation public virtual IAsyncResult BeginDeleteCluster(DeleteClusterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteClusterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCluster operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCluster. /// /// Returns a DeleteClusterResult from Route53RecoveryControlConfig. /// REST API Reference for DeleteCluster Operation public virtual DeleteClusterResponse EndDeleteCluster(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteControlPanel /// /// Deletes a control panel. /// /// Container for the necessary parameters to execute the DeleteControlPanel service method. /// /// The response from the DeleteControlPanel service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 409 response - ConflictException. You might be using a predefined variable. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for DeleteControlPanel Operation public virtual DeleteControlPanelResponse DeleteControlPanel(DeleteControlPanelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteControlPanelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteControlPanelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteControlPanel operation. /// /// /// Container for the necessary parameters to execute the DeleteControlPanel operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteControlPanel /// operation. /// REST API Reference for DeleteControlPanel Operation public virtual IAsyncResult BeginDeleteControlPanel(DeleteControlPanelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteControlPanelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteControlPanelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteControlPanel operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteControlPanel. /// /// Returns a DeleteControlPanelResult from Route53RecoveryControlConfig. /// REST API Reference for DeleteControlPanel Operation public virtual DeleteControlPanelResponse EndDeleteControlPanel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteRoutingControl /// /// Deletes a routing control. /// /// Container for the necessary parameters to execute the DeleteRoutingControl service method. /// /// The response from the DeleteRoutingControl service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 409 response - ConflictException. You might be using a predefined variable. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for DeleteRoutingControl Operation public virtual DeleteRoutingControlResponse DeleteRoutingControl(DeleteRoutingControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRoutingControlRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRoutingControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteRoutingControl operation. /// /// /// Container for the necessary parameters to execute the DeleteRoutingControl operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRoutingControl /// operation. /// REST API Reference for DeleteRoutingControl Operation public virtual IAsyncResult BeginDeleteRoutingControl(DeleteRoutingControlRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRoutingControlRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRoutingControlResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteRoutingControl operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRoutingControl. /// /// Returns a DeleteRoutingControlResult from Route53RecoveryControlConfig. /// REST API Reference for DeleteRoutingControl Operation public virtual DeleteRoutingControlResponse EndDeleteRoutingControl(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSafetyRule /// /// Deletes a safety rule. /// /// /> /// /// Container for the necessary parameters to execute the DeleteSafetyRule service method. /// /// The response from the DeleteSafetyRule service method, as returned by Route53RecoveryControlConfig. /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for DeleteSafetyRule Operation public virtual DeleteSafetyRuleResponse DeleteSafetyRule(DeleteSafetyRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSafetyRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSafetyRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSafetyRule operation. /// /// /// Container for the necessary parameters to execute the DeleteSafetyRule operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSafetyRule /// operation. /// REST API Reference for DeleteSafetyRule Operation public virtual IAsyncResult BeginDeleteSafetyRule(DeleteSafetyRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSafetyRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSafetyRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSafetyRule operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSafetyRule. /// /// Returns a DeleteSafetyRuleResult from Route53RecoveryControlConfig. /// REST API Reference for DeleteSafetyRule Operation public virtual DeleteSafetyRuleResponse EndDeleteSafetyRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCluster /// /// Display the details about a cluster. The response includes the cluster name, endpoints, /// status, and Amazon Resource Name (ARN). /// /// Container for the necessary parameters to execute the DescribeCluster service method. /// /// The response from the DescribeCluster service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 409 response - ConflictException. You might be using a predefined variable. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for DescribeCluster Operation public virtual DescribeClusterResponse DescribeCluster(DescribeClusterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClusterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCluster operation. /// /// /// Container for the necessary parameters to execute the DescribeCluster operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeCluster /// operation. /// REST API Reference for DescribeCluster Operation public virtual IAsyncResult BeginDescribeCluster(DescribeClusterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClusterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCluster operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCluster. /// /// Returns a DescribeClusterResult from Route53RecoveryControlConfig. /// REST API Reference for DescribeCluster Operation public virtual DescribeClusterResponse EndDescribeCluster(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeControlPanel /// /// Displays details about a control panel. /// /// Container for the necessary parameters to execute the DescribeControlPanel service method. /// /// The response from the DescribeControlPanel service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 409 response - ConflictException. You might be using a predefined variable. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for DescribeControlPanel Operation public virtual DescribeControlPanelResponse DescribeControlPanel(DescribeControlPanelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeControlPanelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeControlPanelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeControlPanel operation. /// /// /// Container for the necessary parameters to execute the DescribeControlPanel operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeControlPanel /// operation. /// REST API Reference for DescribeControlPanel Operation public virtual IAsyncResult BeginDescribeControlPanel(DescribeControlPanelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeControlPanelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeControlPanelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeControlPanel operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeControlPanel. /// /// Returns a DescribeControlPanelResult from Route53RecoveryControlConfig. /// REST API Reference for DescribeControlPanel Operation public virtual DescribeControlPanelResponse EndDescribeControlPanel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeRoutingControl /// /// Displays details about a routing control. A routing control has one of two states: /// ON and OFF. You can map the routing control state to the state of an Amazon Route /// 53 health check, which can be used to control routing. /// /// /// /// To get or update the routing control state, see the Recovery Cluster (data plane) /// API actions for Amazon Route 53 Application Recovery Controller. /// /// /// Container for the necessary parameters to execute the DescribeRoutingControl service method. /// /// The response from the DescribeRoutingControl service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 409 response - ConflictException. You might be using a predefined variable. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for DescribeRoutingControl Operation public virtual DescribeRoutingControlResponse DescribeRoutingControl(DescribeRoutingControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRoutingControlRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRoutingControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeRoutingControl operation. /// /// /// Container for the necessary parameters to execute the DescribeRoutingControl operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeRoutingControl /// operation. /// REST API Reference for DescribeRoutingControl Operation public virtual IAsyncResult BeginDescribeRoutingControl(DescribeRoutingControlRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRoutingControlRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRoutingControlResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeRoutingControl operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeRoutingControl. /// /// Returns a DescribeRoutingControlResult from Route53RecoveryControlConfig. /// REST API Reference for DescribeRoutingControl Operation public virtual DescribeRoutingControlResponse EndDescribeRoutingControl(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeSafetyRule /// /// Returns information about a safety rule. /// /// Container for the necessary parameters to execute the DescribeSafetyRule service method. /// /// The response from the DescribeSafetyRule service method, as returned by Route53RecoveryControlConfig. /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for DescribeSafetyRule Operation public virtual DescribeSafetyRuleResponse DescribeSafetyRule(DescribeSafetyRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSafetyRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSafetyRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeSafetyRule operation. /// /// /// Container for the necessary parameters to execute the DescribeSafetyRule operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeSafetyRule /// operation. /// REST API Reference for DescribeSafetyRule Operation public virtual IAsyncResult BeginDescribeSafetyRule(DescribeSafetyRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSafetyRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSafetyRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSafetyRule operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSafetyRule. /// /// Returns a DescribeSafetyRuleResult from Route53RecoveryControlConfig. /// REST API Reference for DescribeSafetyRule Operation public virtual DescribeSafetyRuleResponse EndDescribeSafetyRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAssociatedRoute53HealthChecks /// /// Returns an array of all Amazon Route 53 health checks associated with a specific routing /// control. /// /// Container for the necessary parameters to execute the ListAssociatedRoute53HealthChecks service method. /// /// The response from the ListAssociatedRoute53HealthChecks service method, as returned by Route53RecoveryControlConfig. /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for ListAssociatedRoute53HealthChecks Operation public virtual ListAssociatedRoute53HealthChecksResponse ListAssociatedRoute53HealthChecks(ListAssociatedRoute53HealthChecksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedRoute53HealthChecksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedRoute53HealthChecksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAssociatedRoute53HealthChecks operation. /// /// /// Container for the necessary parameters to execute the ListAssociatedRoute53HealthChecks operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAssociatedRoute53HealthChecks /// operation. /// REST API Reference for ListAssociatedRoute53HealthChecks Operation public virtual IAsyncResult BeginListAssociatedRoute53HealthChecks(ListAssociatedRoute53HealthChecksRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedRoute53HealthChecksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedRoute53HealthChecksResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAssociatedRoute53HealthChecks operation. /// /// /// The IAsyncResult returned by the call to BeginListAssociatedRoute53HealthChecks. /// /// Returns a ListAssociatedRoute53HealthChecksResult from Route53RecoveryControlConfig. /// REST API Reference for ListAssociatedRoute53HealthChecks Operation public virtual ListAssociatedRoute53HealthChecksResponse EndListAssociatedRoute53HealthChecks(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListClusters /// /// Returns an array of all the clusters in an account. /// /// Container for the necessary parameters to execute the ListClusters service method. /// /// The response from the ListClusters service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for ListClusters Operation public virtual ListClustersResponse ListClusters(ListClustersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListClustersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClustersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListClusters operation. /// /// /// Container for the necessary parameters to execute the ListClusters operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListClusters /// operation. /// REST API Reference for ListClusters Operation public virtual IAsyncResult BeginListClusters(ListClustersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListClustersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClustersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListClusters operation. /// /// /// The IAsyncResult returned by the call to BeginListClusters. /// /// Returns a ListClustersResult from Route53RecoveryControlConfig. /// REST API Reference for ListClusters Operation public virtual ListClustersResponse EndListClusters(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListControlPanels /// /// Returns an array of control panels in an account or in a cluster. /// /// Container for the necessary parameters to execute the ListControlPanels service method. /// /// The response from the ListControlPanels service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for ListControlPanels Operation public virtual ListControlPanelsResponse ListControlPanels(ListControlPanelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListControlPanelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListControlPanelsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListControlPanels operation. /// /// /// Container for the necessary parameters to execute the ListControlPanels operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListControlPanels /// operation. /// REST API Reference for ListControlPanels Operation public virtual IAsyncResult BeginListControlPanels(ListControlPanelsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListControlPanelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListControlPanelsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListControlPanels operation. /// /// /// The IAsyncResult returned by the call to BeginListControlPanels. /// /// Returns a ListControlPanelsResult from Route53RecoveryControlConfig. /// REST API Reference for ListControlPanels Operation public virtual ListControlPanelsResponse EndListControlPanels(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListRoutingControls /// /// Returns an array of routing controls for a control panel. A routing control is an /// Amazon Route 53 Application Recovery Controller construct that has one of two states: /// ON and OFF. You can map the routing control state to the state of an Amazon Route /// 53 health check, which can be used to control routing. /// /// Container for the necessary parameters to execute the ListRoutingControls service method. /// /// The response from the ListRoutingControls service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for ListRoutingControls Operation public virtual ListRoutingControlsResponse ListRoutingControls(ListRoutingControlsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutingControlsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutingControlsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListRoutingControls operation. /// /// /// Container for the necessary parameters to execute the ListRoutingControls operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRoutingControls /// operation. /// REST API Reference for ListRoutingControls Operation public virtual IAsyncResult BeginListRoutingControls(ListRoutingControlsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutingControlsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutingControlsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRoutingControls operation. /// /// /// The IAsyncResult returned by the call to BeginListRoutingControls. /// /// Returns a ListRoutingControlsResult from Route53RecoveryControlConfig. /// REST API Reference for ListRoutingControls Operation public virtual ListRoutingControlsResponse EndListRoutingControls(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSafetyRules /// /// List the safety rules (the assertion rules and gating rules) that you've defined for /// the routing controls in a control panel. /// /// Container for the necessary parameters to execute the ListSafetyRules service method. /// /// The response from the ListSafetyRules service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for ListSafetyRules Operation public virtual ListSafetyRulesResponse ListSafetyRules(ListSafetyRulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSafetyRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSafetyRulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSafetyRules operation. /// /// /// Container for the necessary parameters to execute the ListSafetyRules operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSafetyRules /// operation. /// REST API Reference for ListSafetyRules Operation public virtual IAsyncResult BeginListSafetyRules(ListSafetyRulesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSafetyRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSafetyRulesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSafetyRules operation. /// /// /// The IAsyncResult returned by the call to BeginListSafetyRules. /// /// Returns a ListSafetyRulesResult from Route53RecoveryControlConfig. /// REST API Reference for ListSafetyRules Operation public virtual ListSafetyRulesResponse EndListSafetyRules(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Lists the tags for a resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by Route53RecoveryControlConfig. /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from Route53RecoveryControlConfig. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds a tag to a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by Route53RecoveryControlConfig. /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from Route53RecoveryControlConfig. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Removes a tag from a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by Route53RecoveryControlConfig. /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from Route53RecoveryControlConfig. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateControlPanel /// /// Updates a control panel. The only update you can make to a control panel is to change /// the name of the control panel. /// /// Container for the necessary parameters to execute the UpdateControlPanel service method. /// /// The response from the UpdateControlPanel service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 409 response - ConflictException. You might be using a predefined variable. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for UpdateControlPanel Operation public virtual UpdateControlPanelResponse UpdateControlPanel(UpdateControlPanelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateControlPanelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateControlPanelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateControlPanel operation. /// /// /// Container for the necessary parameters to execute the UpdateControlPanel operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateControlPanel /// operation. /// REST API Reference for UpdateControlPanel Operation public virtual IAsyncResult BeginUpdateControlPanel(UpdateControlPanelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateControlPanelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateControlPanelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateControlPanel operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateControlPanel. /// /// Returns a UpdateControlPanelResult from Route53RecoveryControlConfig. /// REST API Reference for UpdateControlPanel Operation public virtual UpdateControlPanelResponse EndUpdateControlPanel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateRoutingControl /// /// Updates a routing control. You can only update the name of the routing control. To /// get or update the routing control state, see the Recovery Cluster (data plane) API /// actions for Amazon Route 53 Application Recovery Controller. /// /// Container for the necessary parameters to execute the UpdateRoutingControl service method. /// /// The response from the UpdateRoutingControl service method, as returned by Route53RecoveryControlConfig. /// /// 403 response - You do not have sufficient access to perform this action. /// /// /// 409 response - ConflictException. You might be using a predefined variable. /// /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 429 response - LimitExceededException or TooManyRequestsException. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for UpdateRoutingControl Operation public virtual UpdateRoutingControlResponse UpdateRoutingControl(UpdateRoutingControlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoutingControlRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoutingControlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateRoutingControl operation. /// /// /// Container for the necessary parameters to execute the UpdateRoutingControl operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRoutingControl /// operation. /// REST API Reference for UpdateRoutingControl Operation public virtual IAsyncResult BeginUpdateRoutingControl(UpdateRoutingControlRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoutingControlRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoutingControlResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateRoutingControl operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateRoutingControl. /// /// Returns a UpdateRoutingControlResult from Route53RecoveryControlConfig. /// REST API Reference for UpdateRoutingControl Operation public virtual UpdateRoutingControlResponse EndUpdateRoutingControl(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateSafetyRule /// /// Update a safety rule (an assertion rule or gating rule). You can only update the name /// and the waiting period for a safety rule. To make other updates, delete the safety /// rule and create a new one. /// /// Container for the necessary parameters to execute the UpdateSafetyRule service method. /// /// The response from the UpdateSafetyRule service method, as returned by Route53RecoveryControlConfig. /// /// 500 response - InternalServiceError. Temporary service error. Retry the request. /// /// /// 404 response - MalformedQueryString. The query string contains a syntax error or resource /// not found. /// /// /// 400 response - Multiple causes. For example, you might have a malformed query string /// and input parameter might be out of range, or you might have used parameters together /// incorrectly. /// /// REST API Reference for UpdateSafetyRule Operation public virtual UpdateSafetyRuleResponse UpdateSafetyRule(UpdateSafetyRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSafetyRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSafetyRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateSafetyRule operation. /// /// /// Container for the necessary parameters to execute the UpdateSafetyRule operation on AmazonRoute53RecoveryControlConfigClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSafetyRule /// operation. /// REST API Reference for UpdateSafetyRule Operation public virtual IAsyncResult BeginUpdateSafetyRule(UpdateSafetyRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSafetyRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSafetyRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSafetyRule operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSafetyRule. /// /// Returns a UpdateSafetyRuleResult from Route53RecoveryControlConfig. /// REST API Reference for UpdateSafetyRule Operation public virtual UpdateSafetyRuleResponse EndUpdateSafetyRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }