Amazon.Pinpoint.AmazonPinpointClient.UpdateSegmentAsync C# (CSharp) Метод

UpdateSegmentAsync() публичный Метод

Initiates the asynchronous execution of the UpdateSegment operation.
public UpdateSegmentAsync ( UpdateSegmentRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Pinpoint.Model.UpdateSegmentRequest Container for the necessary parameters to execute the UpdateSegment operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<UpdateSegmentResponse> UpdateSegmentAsync(UpdateSegmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new UpdateSegmentRequestMarshaller();
            var unmarshaller = UpdateSegmentResponseUnmarshaller.Instance;

            return InvokeAsync<UpdateSegmentRequest,UpdateSegmentResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonPinpointClient