Amazon.Lambda.AmazonLambdaClient.GetEventSourceMappingAsync C# (CSharp) Method

GetEventSourceMappingAsync() public method

Initiates the asynchronous execution of the GetEventSourceMapping operation.
public GetEventSourceMappingAsync ( Amazon.Lambda.Model.GetEventSourceMappingRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Lambda.Model.GetEventSourceMappingRequest Container for the necessary parameters to execute the GetEventSourceMapping operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetEventSourceMappingResponse> GetEventSourceMappingAsync(GetEventSourceMappingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetEventSourceMappingRequestMarshaller();
            var unmarshaller = GetEventSourceMappingResponseUnmarshaller.Instance;

            return InvokeAsync<GetEventSourceMappingRequest,GetEventSourceMappingResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonLambdaClient::GetEventSourceMappingAsync ( Amazon.Lambda.Model.GetEventSourceMappingRequest request, GetEventSourceMappingResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonLambdaClient