Lightsail.Paginator.
GetExportSnapshotRecords
¶paginator = client.get_paginator('get_export_snapshot_records')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Lightsail.Client.get_export_snapshot_records()
.
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.
{
'exportSnapshotRecords': [
{
'name': 'string',
'arn': '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',
'state': 'Started'|'Succeeded'|'Failed',
'sourceInfo': {
'resourceType': 'InstanceSnapshot'|'DiskSnapshot',
'createdAt': datetime(2015, 1, 1),
'name': 'string',
'arn': 'string',
'fromResourceName': 'string',
'fromResourceArn': 'string',
'instanceSnapshotInfo': {
'fromBundleId': 'string',
'fromBlueprintId': 'string',
'fromDiskInfo': [
{
'name': 'string',
'path': 'string',
'sizeInGb': 123,
'isSystemDisk': True|False
},
]
},
'diskSnapshotInfo': {
'sizeInGb': 123
}
},
'destinationInfo': {
'id': 'string',
'service': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
A list of objects describing the export snapshot records.
Describes an export snapshot record.
The export snapshot record name.
The Amazon Resource Name (ARN) of the export snapshot record.
The date when the export snapshot record was created.
The AWS Region and Availability Zone where the export snapshot record is located.
The Availability Zone. Follows the format us-east-2a
(case-sensitive).
The Amazon Web Services Region name.
The Lightsail resource type (e.g., ExportSnapshotRecord
).
The state of the export snapshot record.
A list of objects describing the source of the export snapshot record.
The Lightsail resource type (e.g., InstanceSnapshot
or DiskSnapshot
).
The date when the source instance or disk snapshot was created.
The name of the source instance or disk snapshot.
The Amazon Resource Name (ARN) of the source instance or disk snapshot.
The name of the snapshot's source instance or disk.
The Amazon Resource Name (ARN) of the snapshot's source instance or disk.
A list of objects describing an instance snapshot.
The bundle ID from which the source instance was created (e.g., micro_1_0
).
The blueprint ID from which the source instance (e.g., os_debian_8_3
).
A list of objects describing the disks that were attached to the source instance.
Describes a disk.
The disk name.
The disk path.
The size of the disk in GB (e.g., 32
).
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
A list of objects describing a disk snapshot.
The size of the disk in GB (e.g., 32
).
A list of objects describing the destination of the export snapshot record.
The ID of the resource created at the destination.
The destination service of the record.
A token to resume pagination.