library/src/main/java/com/kdgregory/aws/utils/cloudwatch/CloudWatchLogsUtil.java
/**
     *
     *  Retrieves all log streams that match a given prefix, handling pagination.
     *
     *  @param  client          The service client.
     *  @param  groupName       The name of the log group containing the stream.
     *  @param  prefix          The stream name prefix. Pass null or an empty string
     *                          to retrieve all strems in the group.
     *
     *  @return A list of the streams matching that prefix in the specified group.
     *          Will be empty if the group does not exist.
     */
Retrieves all log streams that match a given prefix, handling pagination.
@param  client          The service client.
@param  groupName       The name of the log group containing the stream.
@param  prefix          The stream name prefix. Pass null or an empty string
to retrieve all strems in the group.

@return A list of the streams matching that prefix in the specified group.
Will be empty if the group does not exist.
Retrieves all log streams that match a given prefix handling pagination . @param client The service client . @param groupName The name of the log group containing the stream . @param prefix The stream name prefix . Pass null or an empty string to retrieve all strems in the group . @return A list of the streams matching that prefix in the specified group . Will be empty if the group does not exist .
public static List<LogStream> describeLogStreams(AWSLogs client, String groupName, String prefix)
    {
        List<LogStream> result = new ArrayList<LogStream>();
        for (LogStream stream : new DescribeLogStreamIterable(client, groupName, prefix))
        {
            result.add(stream);
        }
        return result;
    }
public static List < LogStream > describeLogStreams ( AWSLogs client , String groupName , String prefix ) { List < LogStream > result = new ArrayList < LogStream > ( ) ; for ( LogStream stream : new DescribeLogStreamIterable ( client , groupName , prefix ) ) { result . add ( stream ) ; } return result ; }
Retrieves all log streams that match a given prefix, handling pagination.
Retrieves all log streams that match a given prefix handling pagination .