Amazon.Kinesis.AmazonKinesisClient.MergeShardsAsync C# (CSharp) Method

MergeShardsAsync() public method

Initiates the asynchronous execution of the MergeShards operation.
public MergeShardsAsync ( MergeShardsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Kinesis.Model.MergeShardsRequest Container for the necessary parameters to execute the MergeShards operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<MergeShardsResponse> MergeShardsAsync(MergeShardsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new MergeShardsRequestMarshaller();
            var unmarshaller = MergeShardsResponseUnmarshaller.Instance;

            return InvokeAsync<MergeShardsRequest,MergeShardsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonKinesisClient::MergeShardsAsync ( MergeShardsRequest request, MergeShardsResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonKinesisClient