Amazon.OpsWorks.AmazonOpsWorksClient.CreateLayerAsync C# (CSharp) Method

CreateLayerAsync() public method

Initiates the asynchronous execution of the CreateLayer operation.
public CreateLayerAsync ( CreateLayerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorks.Model.CreateLayerRequest Container for the necessary parameters to execute the CreateLayer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<CreateLayerResponse> CreateLayerAsync(CreateLayerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateLayerRequestMarshaller();
            var unmarshaller = CreateLayerResponseUnmarshaller.Instance;

            return InvokeAsync<CreateLayerRequest,CreateLayerResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonOpsWorksClient