@ Override public java . util . concurrent . Future < GetShardIteratorResult > getShardIteratorAsync ( String streamName , String shardId , String shardIteratorType , String startingSequenceNumber , com . amazonaws . handlers . AsyncHandler < GetShardIteratorRequest , GetShardIteratorResult > asyncHandler ) { return getShardIteratorAsync ( new GetShardIteratorRequest ( ) . withStreamName ( streamName ) . withShardId ( shardId ) . withShardIteratorType ( shardIteratorType ) . withStartingSequenceNumber ( startingSequenceNumber ) , asyncHandler ) ; }
Simplified method form for invoking the GetShardIterator operation with an AsyncHandler .