NAME
Paws::Lightsail::GetRelationalDatabaseLogEvents - Arguments for method GetRelationalDatabaseLogEvents on Paws::Lightsail
DESCRIPTION
This class represents the parameters used for calling the method GetRelationalDatabaseLogEvents on the Amazon Lightsail service. Use the attributes of this class as arguments to method GetRelationalDatabaseLogEvents.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetRelationalDatabaseLogEvents.
SYNOPSIS
my $lightsail = Paws->service('Lightsail');
my $GetRelationalDatabaseLogEventsResult =
$lightsail->GetRelationalDatabaseLogEvents(
LogStreamName => 'Mystring',
RelationalDatabaseName => 'MyResourceName',
EndTime => '1970-01-01T01:00:00', # OPTIONAL
PageToken => 'Mystring', # OPTIONAL
StartFromHead => 1, # OPTIONAL
StartTime => '1970-01-01T01:00:00', # OPTIONAL
);
# Results:
my $NextBackwardToken =
$GetRelationalDatabaseLogEventsResult->NextBackwardToken;
my $NextForwardToken =
$GetRelationalDatabaseLogEventsResult->NextForwardToken;
my $ResourceLogEvents =
$GetRelationalDatabaseLogEventsResult->ResourceLogEvents;
# Returns a L<Paws::Lightsail::GetRelationalDatabaseLogEventsResult> 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/lightsail/GetRelationalDatabaseLogEvents
ATTRIBUTES
EndTime => Str
The end of the time interval from which to get log events.
Constraints:
Specified in Coordinated Universal 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.
REQUIRED LogStreamName => Str
The name of the log stream.
Use the get relational database log streams
operation to get a list of available log streams.
PageToken => Str
The token to advance to the next or previous page of results from your request.
To get a page token, perform an initial GetRelationalDatabaseLogEvents
request. If your results are paginated, the response will return a next forward token and/or next backward token that you can specify as the page token in a subsequent request.
REQUIRED RelationalDatabaseName => Str
The name of your database for which to get log events.
StartFromHead => Bool
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.
For PostgreSQL, the default value of false
is the only option available.
StartTime => Str
The start of the time interval from which to get log events.
Constraints:
Specified in Coordinated Universal 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.
SEE ALSO
This class forms part of Paws, documenting arguments for method GetRelationalDatabaseLogEvents in Paws::Lightsail
BUGS and CONTRIBUTIONS
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