Lightsail.Client.
get_relational_database_blueprints
(**kwargs)¶Returns a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database.
You can use a blueprint ID to create a new database that runs a specific database engine.
See also: AWS API Documentation
Request Syntax
response = client.get_relational_database_blueprints(
pageToken='string'
)
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetRelationalDatabaseBlueprints
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
{
'blueprints': [
{
'blueprintId': 'string',
'engine': 'mysql',
'engineVersion': 'string',
'engineDescription': 'string',
'engineVersionDescription': 'string',
'isEngineDefault': True|False
},
],
'nextPageToken': 'string'
}
Response Structure
An object describing the result of your get relational database blueprints request.
Describes a database image, or blueprint. A blueprint describes the major engine version of a database.
The ID for the database blueprint.
The database software of the database blueprint (for example, MySQL
).
The database engine version for the database blueprint (for example, 5.7.23
).
The description of the database engine for the database blueprint.
The description of the database engine version for the database blueprint.
A Boolean value indicating whether the engine version is the default for the database blueprint.
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetRelationalDatabaseBlueprints
request and specify the next page token using the pageToken
parameter.
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