Amazon.DataPipeline.AmazonDataPipelineClient.GetPipelineDefinitionAsync C# (CSharp) Method

GetPipelineDefinitionAsync() public method

Initiates the asynchronous execution of the GetPipelineDefinition operation.
public GetPipelineDefinitionAsync ( GetPipelineDefinitionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.DataPipeline.Model.GetPipelineDefinitionRequest Container for the necessary parameters to execute the GetPipelineDefinition operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetPipelineDefinitionResponse> GetPipelineDefinitionAsync(GetPipelineDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetPipelineDefinitionRequestMarshaller();
            var unmarshaller = GetPipelineDefinitionResponseUnmarshaller.Instance;

            return InvokeAsync<GetPipelineDefinitionRequest,GetPipelineDefinitionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }