- SEE ALSO
- BUGS and CONTRIBUTIONS
Paws::CloudWatchLogs::DescribeLogStreams - Arguments for method DescribeLogStreams on Paws::CloudWatchLogs
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.
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
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.
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
The name of the log group.
The prefix to match.
LastEventTime,you cannot specify this parameter.
The token for the next set of items to return. (You received this token from a previous call.)
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
If you order the results by event time, you cannot specify the
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:
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