Lightsail.Paginator.
GetRelationalDatabaseSnapshots
¶paginator = client.get_paginator('get_relational_database_snapshots')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Lightsail.Client.get_relational_database_snapshots()
.
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.
{
'relationalDatabaseSnapshots': [
{
'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'
},
],
'engine': 'string',
'engineVersion': 'string',
'sizeInGb': 123,
'state': 'string',
'fromRelationalDatabaseName': 'string',
'fromRelationalDatabaseArn': 'string',
'fromRelationalDatabaseBundleId': 'string',
'fromRelationalDatabaseBlueprintId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
An object describing the result of your get relational database snapshots request.
Describes a database snapshot.
The name of the database snapshot.
The Amazon Resource Name (ARN) of the database snapshot.
The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
The timestamp when the database snapshot was created.
The Region name and Availability Zone where the database snapshot is located.
The Availability Zone. Follows the format us-east-2a
(case-sensitive).
The Amazon Web Services Region name.
The Lightsail resource type.
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 software of the database snapshot (for example, MySQL
)
The database engine version for the database snapshot (for example, 5.7.23
).
The size of the disk in GB (for example, 32
) for the database snapshot.
The state of the database snapshot.
The name of the source database from which the database snapshot was created.
The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
The bundle ID of the database from which the database snapshot was created.
The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
A token to resume pagination.