Amazon.OpsWorks.AmazonOpsWorksClient.CreateDeploymentAsync C# (CSharp) Méthode

CreateDeploymentAsync() public méthode

Initiates the asynchronous execution of the CreateDeployment operation.
public CreateDeploymentAsync ( CreateDeploymentRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorks.Model.CreateDeploymentRequest Container for the necessary parameters to execute the CreateDeployment operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Résultat Task
        public Task<CreateDeploymentResponse> CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateDeploymentRequestMarshaller();
            var unmarshaller = CreateDeploymentResponseUnmarshaller.Instance;

            return InvokeAsync<CreateDeploymentRequest,CreateDeploymentResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonOpsWorksClient