import { _ResourceLocation, _UnmarshalledResourceLocation } from "./_ResourceLocation"; import { _Tag, _UnmarshalledTag } from "./_Tag"; /** *
Describes a database snapshot.
*/ export interface _RelationalDatabaseSnapshot { /** *The name of the database snapshot.
*/ name?: string; /** *The Amazon Resource Name (ARN) of the database snapshot.
*/ arn?: string; /** *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.
*/ supportCode?: string; /** *The timestamp when the database snapshot was created.
*/ createdAt?: Date | string | number; /** *The Region name and Availability Zone where the database snapshot is located.
*/ location?: _ResourceLocation; /** *The Lightsail resource type.
*/ resourceType?: "Instance" | "StaticIp" | "KeyPair" | "InstanceSnapshot" | "Domain" | "PeeredVpc" | "LoadBalancer" | "LoadBalancerTlsCertificate" | "Disk" | "DiskSnapshot" | "RelationalDatabase" | "RelationalDatabaseSnapshot" | "ExportSnapshotRecord" | "CloudFormationStackRecord" | string; /** *The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
*/ tags?: Array<_Tag> | Iterable<_Tag>; /** *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.
*/ state?: string; /** *The name of the source database from which the database snapshot was created.
*/ fromRelationalDatabaseName?: string; /** *The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
*/ fromRelationalDatabaseArn?: string; /** *The bundle ID of the database from which the database snapshot was created.
*/ fromRelationalDatabaseBundleId?: string; /** *The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
*/ fromRelationalDatabaseBlueprintId?: string; } export interface _UnmarshalledRelationalDatabaseSnapshot extends _RelationalDatabaseSnapshot { /** *The timestamp when the database snapshot was created.
*/ createdAt?: Date; /** *The Region name and Availability Zone where the database snapshot is located.
*/ location?: _UnmarshalledResourceLocation; /** *The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
*/ tags?: Array<_UnmarshalledTag>; }