C# Class Amazon.CloudWatchLogs.Model.GetLogEventsRequest

Container for the parameters to the GetLogEvents operation. Lists log events from the specified log stream. You can list all the log events or filter using a time range.

By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events). If the results include tokens, there are more log events available. You can get additional log events by specifying one of the tokens in a subsequent call.

Inheritance: AmazonCloudWatchLogsRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
GetLogEventsRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

GetLogEventsRequest ( string logGroupName, string logStreamName ) : System

Instantiates GetLogEventsRequest with the parameterized properties

Private Methods

Method Description
IsSetEndTime ( ) : bool
IsSetLimit ( ) : bool
IsSetLogGroupName ( ) : bool
IsSetLogStreamName ( ) : bool
IsSetNextToken ( ) : bool
IsSetStartFromHead ( ) : bool
IsSetStartTime ( ) : bool

Method Details

GetLogEventsRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public GetLogEventsRequest ( ) : System
return System

GetLogEventsRequest() public method

Instantiates GetLogEventsRequest with the parameterized properties
public GetLogEventsRequest ( string logGroupName, string logStreamName ) : System
logGroupName string The name of the log group.
logStreamName string The name of the log stream.
return System