NAME

Paws::CloudWatchLogs::DescribeLogStreams - Arguments for method DescribeLogStreams on Paws::CloudWatchLogs

DESCRIPTION

This class represents the parameters used for calling the method DescribeLogStreams on the Amazon CloudWatch Logs service. Use the attributes of this class as arguments to method DescribeLogStreams.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeLogStreams.

SYNOPSIS

    my $logs = Paws->service('CloudWatchLogs');
    my $DescribeLogStreamsResponse = $logs->DescribeLogStreams(
      LogGroupName        => 'MyLogGroupName',
      Descending          => 1,                    # OPTIONAL
      Limit               => 1,                    # OPTIONAL
      LogStreamNamePrefix => 'MyLogStreamName',    # OPTIONAL
      NextToken           => 'MyNextToken',        # OPTIONAL
      OrderBy             => 'LogStreamName',      # OPTIONAL
    );

    # Results:
    my $LogStreams = $DescribeLogStreamsResponse->LogStreams;
    my $NextToken  = $DescribeLogStreamsResponse->NextToken;

    # Returns a L<Paws::CloudWatchLogs::DescribeLogStreamsResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/logs/DescribeLogStreams

ATTRIBUTES

Descending => Bool

If the value is true, results are returned in descending order. If the value is to false, results are returned in ascending order. The default value is false.

Limit => Int

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

REQUIRED LogGroupName => Str

The name of the log group.

LogStreamNamePrefix => Str

The prefix to match.

If orderBy is LastEventTime,you cannot specify this parameter.

NextToken => Str

The token for the next set of items to return. (You received this token from a previous call.)

OrderBy => Str

If the value is LogStreamName, the results are ordered by log stream name. If the value is LastEventTime, the results are ordered by the event time. The default value is LogStreamName.

If you order the results by event time, you cannot specify the logStreamNamePrefix parameter.

lastEventTimestamp represents the time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. lastEventTimeStamp updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but may take longer in some rare situations.

Valid values are: "LogStreamName", "LastEventTime"

SEE ALSO

This class forms part of Paws, documenting arguments for method DescribeLogStreams in Paws::CloudWatchLogs

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues