Lightsail.Paginator.
GetRelationalDatabases
¶paginator = client.get_paginator('get_relational_databases')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Lightsail.Client.get_relational_databases()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
A token to specify where to start paginating. This is the NextToken
from a previous response.
{
'relationalDatabases': [
{
'name': 'string',
'arn': 'string',
'supportCode': 'string',
'createdAt': datetime(2015, 1, 1),
'location': {
'availabilityZone': 'string',
'regionName': 'us-east-1'|'us-east-2'|'us-west-1'|'us-west-2'|'eu-west-1'|'eu-west-2'|'eu-west-3'|'eu-central-1'|'ca-central-1'|'ap-south-1'|'ap-southeast-1'|'ap-southeast-2'|'ap-northeast-1'|'ap-northeast-2'|'eu-north-1'
},
'resourceType': 'ContainerService'|'Instance'|'StaticIp'|'KeyPair'|'InstanceSnapshot'|'Domain'|'PeeredVpc'|'LoadBalancer'|'LoadBalancerTlsCertificate'|'Disk'|'DiskSnapshot'|'RelationalDatabase'|'RelationalDatabaseSnapshot'|'ExportSnapshotRecord'|'CloudFormationStackRecord'|'Alarm'|'ContactMethod'|'Distribution'|'Certificate'|'Bucket',
'tags': [
{
'key': 'string',
'value': 'string'
},
],
'relationalDatabaseBlueprintId': 'string',
'relationalDatabaseBundleId': 'string',
'masterDatabaseName': 'string',
'hardware': {
'cpuCount': 123,
'diskSizeInGb': 123,
'ramSizeInGb': ...
},
'state': 'string',
'secondaryAvailabilityZone': 'string',
'backupRetentionEnabled': True|False,
'pendingModifiedValues': {
'masterUserPassword': 'string',
'engineVersion': 'string',
'backupRetentionEnabled': True|False
},
'engine': 'string',
'engineVersion': 'string',
'latestRestorableTime': datetime(2015, 1, 1),
'masterUsername': 'string',
'parameterApplyStatus': 'string',
'preferredBackupWindow': 'string',
'preferredMaintenanceWindow': 'string',
'publiclyAccessible': True|False,
'masterEndpoint': {
'port': 123,
'address': 'string'
},
'pendingMaintenanceActions': [
{
'action': 'string',
'description': 'string',
'currentApplyDate': datetime(2015, 1, 1)
},
],
'caCertificateIdentifier': 'string'
},
],
'NextToken': 'string'
}
Response Structure
An object describing the result of your get relational databases request.
Describes a database.
The unique name of the database resource in Lightsail.
The Amazon Resource Name (ARN) of the database.
The support code for the database. Include this code in your email to support when you have questions about a database in Lightsail. This code enables our support team to look up your Lightsail information more easily.
The timestamp when the database was created. Formatted in Unix time.
The Region name and Availability Zone where the database is located.
The Availability Zone. Follows the format us-east-2a
(case-sensitive).
The Amazon Web Services Region name.
The Lightsail resource type for the database (for example, RelationalDatabase
).
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
Describes a tag key and optional value assigned to an Amazon Lightsail resource.
For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
The key of the tag.
Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @
The value of the tag.
Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @
The blueprint ID for the database. A blueprint describes the major engine version of a database.
The bundle ID for the database. A bundle describes the performance specifications for your database.
The name of the master database created when the Lightsail database resource is created.
Describes the hardware of the database.
The number of vCPUs for the database.
The size of the disk for the database.
The amount of RAM in GB for the database.
Describes the current state of the database.
Describes the secondary Availability Zone of a high availability database.
The secondary database is used for failover support of a high availability database.
A Boolean value indicating whether automated backup retention is enabled for the database.
Describes pending database value modifications.
The password for the master user of the database.
The database engine version.
A Boolean value indicating whether automated backup retention is enabled.
The database software (for example, MySQL
).
The database engine version (for example, 5.7.23
).
The latest point in time to which the database can be restored. Formatted in Unix time.
The master user name of the database.
The status of parameter updates for the database.
The daily time range during which automated backups are created for the database (for example, 16:00-16:30
).
The weekly time range during which system maintenance can occur on the database.
In the format ddd:hh24:mi-ddd:hh24:mi
. For example, Tue:17:00-Tue:17:30
.
A Boolean value indicating whether the database is publicly accessible.
The master endpoint for the database.
Specifies the port that the database is listening on.
Specifies the DNS address of the database.
Describes the pending maintenance actions for the database.
Describes a pending database maintenance action.
The type of pending database maintenance action.
Additional detail about the pending database maintenance action.
The effective date of the pending database maintenance action.
The certificate associated with the database.
A token to resume pagination.