Amazon.RDS.AmazonRDSClient.PromoteReadReplicaDBClusterAsync C# (CSharp) Method

PromoteReadReplicaDBClusterAsync() public method

Initiates the asynchronous execution of the PromoteReadReplicaDBCluster operation.
public PromoteReadReplicaDBClusterAsync ( PromoteReadReplicaDBClusterRequest request, System cancellationToken = default(CancellationToken) ) : Task
request PromoteReadReplicaDBClusterRequest Container for the necessary parameters to execute the PromoteReadReplicaDBCluster operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<PromoteReadReplicaDBClusterResponse> PromoteReadReplicaDBClusterAsync(PromoteReadReplicaDBClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new PromoteReadReplicaDBClusterRequestMarshaller();
            var unmarshaller = PromoteReadReplicaDBClusterResponseUnmarshaller.Instance;

            return InvokeAsync<PromoteReadReplicaDBClusterRequest,PromoteReadReplicaDBClusterResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonRDSClient