![]() |
![]()
| ![]() |
![]()
NAMEPaws::CloudWatchLogs::DescribeLogStreams - Arguments for method DescribeLogStreams on Paws::CloudWatchLogs DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESDescending => BoolIf 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 => IntThe maximum number of items returned. If you don't specify a value, the default is up to 50 items. REQUIRED LogGroupName => StrThe name of the log group. LogStreamNamePrefix => StrThe prefix to match. If "orderBy" is "LastEventTime", you cannot specify this parameter. NextToken => StrThe token for the next set of items to return. (You received this token from a previous call.) OrderBy => StrIf 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 in rare situations might take longer. Valid values are: "LogStreamName", "LastEventTime" SEE ALSOThis class forms part of Paws, documenting arguments for method DescribeLogStreams in Paws::CloudWatchLogs BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|