Paws::Lightsail::GetRelationalDatabaseLogEvents - Arguments for method GetRelationalDatabaseLogEvents on Paws::Lightsail
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.
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
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.
1538424000
The name of the log stream.
Use the get relational database log streams operation to get a list of available log streams.
get relational database log streams
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.
GetRelationalDatabaseLogEvents
The name of your database for which to get log events.
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.
true
false
For PostgreSQL, the default value of false is the only option available.
The start of the time interval from which to get log events.
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.
This class forms part of Paws, documenting arguments for method GetRelationalDatabaseLogEvents in Paws::Lightsail
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.