Amazon.Pinpoint.AmazonPinpointClient.GetSegmentVersionsAsync C# (CSharp) Method

GetSegmentVersionsAsync() public method

Initiates the asynchronous execution of the GetSegmentVersions operation.
public GetSegmentVersionsAsync ( GetSegmentVersionsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Pinpoint.Model.GetSegmentVersionsRequest Container for the necessary parameters to execute the GetSegmentVersions operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetSegmentVersionsResponse> GetSegmentVersionsAsync(GetSegmentVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetSegmentVersionsRequestMarshaller();
            var unmarshaller = GetSegmentVersionsResponseUnmarshaller.Instance;

            return InvokeAsync<GetSegmentVersionsRequest,GetSegmentVersionsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonPinpointClient