v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14159650798.5 KB

Returns the available automatic snapshots for an instance or disk. For more information, see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots">Amazon Lightsail Developer Guide</a>.

post/#X-Amz-Target=Lightsail_20161128.GetAutoSnapshots

Headers

X-Amz-Target'Lightsail_20161128.GetAutoSnapshots' required

Request body

resourceNamestring required

The name of the source instance or disk from which to get automatic snapshot information.

Response

Success

resourceNamestring

The name of the source instance or disk for the automatic snapshots.

resourceType'ContainerService' | 'Instance' | 'StaticIp' | 'KeyPair' | 'InstanceSnapshot' | 'Domain' | 'PeeredVpc' | 'LoadBalancer' | 'LoadBalancerTlsCertificate' | 'Disk' | 'DiskSnapshot' | 'RelationalDatabase' | 'RelationalDatabaseSnapshot' | 'ExportSnapshotRecord' | 'CloudFormationStackRecord' | 'Alarm' | 'ContactMethod' | 'Distribution' | 'Certificate' | 'Bucket'

The resource type (e.g., <code>Instance</code> or <code>Disk</code>).