Amazon.DynamoDBv2.AmazonDynamoDBStreamsClient.GetShardIteratorAsync C# (CSharp) Method

GetShardIteratorAsync() public method

Initiates the asynchronous execution of the GetShardIterator operation.
public GetShardIteratorAsync ( GetShardIteratorRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.DynamoDBv2.Model.GetShardIteratorRequest Container for the necessary parameters to execute the GetShardIterator operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetShardIteratorResponse> GetShardIteratorAsync(GetShardIteratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetShardIteratorRequestMarshaller();
            var unmarshaller = GetShardIteratorResponseUnmarshaller.Instance;

            return InvokeAsync<GetShardIteratorRequest,GetShardIteratorResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }