class Aws::CloudWatchLogs::Types::GetLogEventsRequest
@note When making an API call, you may pass GetLogEventsRequest
data as a hash: { log_group_name: "LogGroupName", # required log_stream_name: "LogStreamName", # required start_time: 1, end_time: 1, next_token: "NextToken", limit: 1, start_from_head: false, }
@!attribute [rw] log_group_name
The name of the log group. @return [String]
@!attribute [rw] log_stream_name
The name of the log stream. @return [String]
@!attribute [rw] start_time
The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp equal to this time or later than this time are included. Events with a timestamp earlier than this time are not included. @return [Integer]
@!attribute [rw] end_time
The end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp equal to or later than this time are not included. @return [Integer]
@!attribute [rw] next_token
The token for the next set of items to return. (You received this token from a previous call.) @return [String]
@!attribute [rw] limit
The maximum number of log events returned. If you don't specify a value, the maximum is as many log events as can fit in a response size of 1 MB, up to 10,000 log events. @return [Integer]
@!attribute [rw] start_from_head
If the value is true, the earliest log events are returned first. If the value is false, the latest log events are returned first. The default value is false. If you are using a previous `nextForwardToken` value as the `nextToken` in this operation, you must specify `true` for `startFromHead`. @return [Boolean]
@see docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsRequest AWS API Documentation
Constants
- SENSITIVE