/** * <p> * Returns an array of stream ARNs associated with the current account and endpoint. If the <code>TableName</code> * parameter is present, then <code>ListStreams</code> will return only the streams ARNs for that table. * </p> * <note> * <p> * You can call <code>ListStreams</code> at a maximum rate of 5 times per second. * </p> * </note> * * @param listStreamsRequest * Represents the input of a <code>ListStreams</code> operation. * @return Result of the ListStreams operation returned by the service. * @throws ResourceNotFoundException * The operation tried to access a nonexistent stream. * @throws InternalServerErrorException * An error occurred on the server side. * @sample AmazonDynamoDBStreams.ListStreams * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/ListStreams" target="_top">AWS * API Documentation</a> */ @Override public ListStreamsResult listStreams(ListStreamsRequest request) { request = beforeClientExecution(request); return executeListStreams(request); }
/** * <p> * Returns an array of stream ARNs associated with the current account and endpoint. If the <code>TableName</code> * parameter is present, then <code>ListStreams</code> will return only the streams ARNs for that table. * </p> * <note> * <p> * You can call <code>ListStreams</code> at a maximum rate of 5 times per second. * </p> * </note> * * @param listStreamsRequest * Represents the input of a <code>ListStreams</code> operation. * @return Result of the ListStreams operation returned by the service. * @throws ResourceNotFoundException * The operation tried to access a nonexistent stream. * @throws InternalServerErrorException * An error occurred on the server side. * @sample AmazonDynamoDBStreams.ListStreams * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/ListStreams" target="_top">AWS * API Documentation</a> */ @Override public ListStreamsResult listStreams(ListStreamsRequest request) { request = beforeClientExecution(request); return executeListStreams(request); }