get_relational_database_log_streams

get_relational_database_log_streams(**kwargs)

Returns a list of available log streams for a specific database in Amazon Lightsail.

See also: AWS API Documentation

Request Syntax

response = client.get_relational_database_log_streams(
    relationalDatabaseName='string'
)
Parameters
relationalDatabaseName (string) --

[REQUIRED]

The name of your database for which to get log streams.

Return type
dict
Returns
Response Syntax
{
    'logStreams': [
        'string',
    ]
}

Response Structure

  • (dict) --
    • logStreams (list) --

      An object describing the result of your get relational database log streams request.

      • (string) --

Exceptions

  • Lightsail.Client.exceptions.ServiceException
  • Lightsail.Client.exceptions.InvalidInputException
  • Lightsail.Client.exceptions.NotFoundException
  • Lightsail.Client.exceptions.OperationFailureException
  • Lightsail.Client.exceptions.AccessDeniedException
  • Lightsail.Client.exceptions.AccountSetupInProgressException
  • Lightsail.Client.exceptions.UnauthenticatedException