Amazon.Redshift.AmazonRedshiftClient.CreateClusterAsync C# (CSharp) Метод

CreateClusterAsync() публичный Метод

Initiates the asynchronous execution of the CreateCluster operation.
public CreateClusterAsync ( CreateClusterRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Redshift.Model.CreateClusterRequest Container for the necessary parameters to execute the CreateCluster operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<CreateClusterResponse> CreateClusterAsync(CreateClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateClusterRequestMarshaller();
            var unmarshaller = CreateClusterResponseUnmarshaller.Instance;

            return InvokeAsync<CreateClusterRequest,CreateClusterResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonRedshiftClient