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

DeleteSegmentAsync() public method

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

            return InvokeAsync<DeleteSegmentRequest,DeleteSegmentResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonPinpointClient