Class: Aws::Lightsail::Types::GetRelationalDatabaseLogEventsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::GetRelationalDatabaseLogEventsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lightsail/types.rb
Overview
When making an API call, you may pass GetRelationalDatabaseLogEventsRequest data as a hash:
{
relational_database_name: "ResourceName", # required
log_stream_name: "string", # required
start_time: Time.now,
end_time: Time.now,
start_from_head: false,
page_token: "string",
}
Instance Attribute Summary collapse
-
#end_time ⇒ Time
The end of the time interval from which to get log events.
-
#log_stream_name ⇒ String
The name of the log stream.
-
#page_token ⇒ String
A token used for advancing to a specific page of results for your ‘get relational database log events` request.
-
#relational_database_name ⇒ String
The name of your database for which to get log events.
-
#start_from_head ⇒ Boolean
Parameter to specify if the log should start from head or tail.
-
#start_time ⇒ Time
The start of the time interval from which to get log events.
Instance Attribute Details
#end_time ⇒ Time
The end of the time interval from which to get log events.
Constraints:
-
Specified in Universal Coordinated Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input ‘1538424000` as the end time.
4293 4294 4295 4296 4297 4298 4299 4300 4301 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4293 class GetRelationalDatabaseLogEventsRequest < Struct.new( :relational_database_name, :log_stream_name, :start_time, :end_time, :start_from_head, :page_token) include Aws::Structure end |
#log_stream_name ⇒ String
The name of the log stream.
Use the ‘get relational database log streams` operation to get a list of available log streams.
4293 4294 4295 4296 4297 4298 4299 4300 4301 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4293 class GetRelationalDatabaseLogEventsRequest < Struct.new( :relational_database_name, :log_stream_name, :start_time, :end_time, :start_from_head, :page_token) include Aws::Structure end |
#page_token ⇒ String
A token used for advancing to a specific page of results for your ‘get relational database log events` request.
4293 4294 4295 4296 4297 4298 4299 4300 4301 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4293 class GetRelationalDatabaseLogEventsRequest < Struct.new( :relational_database_name, :log_stream_name, :start_time, :end_time, :start_from_head, :page_token) include Aws::Structure end |
#relational_database_name ⇒ String
The name of your database for which to get log events.
4293 4294 4295 4296 4297 4298 4299 4300 4301 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4293 class GetRelationalDatabaseLogEventsRequest < Struct.new( :relational_database_name, :log_stream_name, :start_time, :end_time, :start_from_head, :page_token) include Aws::Structure end |
#start_from_head ⇒ Boolean
Parameter to specify if the log should start from head or tail. If ‘true` is specified, the log event starts from the head of the log. If `false` is specified, the log event starts from the tail of the log.
Default: ‘false`
4293 4294 4295 4296 4297 4298 4299 4300 4301 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4293 class GetRelationalDatabaseLogEventsRequest < Struct.new( :relational_database_name, :log_stream_name, :start_time, :end_time, :start_from_head, :page_token) include Aws::Structure end |
#start_time ⇒ Time
The start of the time interval from which to get log events.
Constraints:
-
Specified in Universal Coordinated Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input ‘1538424000` as the start time.
4293 4294 4295 4296 4297 4298 4299 4300 4301 |
# File 'lib/aws-sdk-lightsail/types.rb', line 4293 class GetRelationalDatabaseLogEventsRequest < Struct.new( :relational_database_name, :log_stream_name, :start_time, :end_time, :start_from_head, :page_token) include Aws::Structure end |