Module Values.InstanceSnapshotSource

Describes an instance snapshot.

Sourcetype nonrec t = {
  1. name : ResourceName.t option;
    (*

    The name of the snapshot.

    *)
  2. arn : NonEmptyString.t option;
    (*

    The Amazon Resource Name (ARN) of the snapshot (arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).

    *)
  3. supportCode : String_.t option;
    (*

    The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

    *)
  4. createdAt : IsoDate.t option;
    (*

    The timestamp when the snapshot was created (1479907467.024).

    *)
  5. location : ResourceLocation.t option;
    (*

    The region name and Availability Zone where you created the snapshot.

    *)
  6. resourceType : ResourceType.t option;
    (*

    The type of resource (usually InstanceSnapshot).

    *)
  7. tags : TagList.t option;
    (*

    The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

    *)
  8. state : InstanceSnapshotState.t option;
    (*

    The state the snapshot is in.

    *)
  9. progress : String_.t option;
    (*

    The progress of the snapshot. This is populated only for disk snapshots, and is null for instance snapshots.

    *)
  10. fromAttachedDisks : DiskList.t option;
    (*

    An array of disk objects containing information about all block storage disks.

    *)
  11. fromInstanceName : ResourceName.t option;
    (*

    The instance from which the snapshot was created.

    *)
  12. fromInstanceArn : NonEmptyString.t option;
    (*

    The Amazon Resource Name (ARN) of the instance from which the snapshot was created (arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).

    *)
  13. fromBlueprintId : String_.t option;
    (*

    The blueprint ID from which you created the snapshot (amazon_linux_2023). A blueprint is a virtual private server (or instance) image used to create instances quickly.

    *)
  14. fromBundleId : String_.t option;
    (*

    The bundle ID from which you created the snapshot (micro_x_x).

    *)
  15. isFromAutoSnapshot : Boolean.t option;
    (*

    A Boolean value indicating whether the snapshot was created from an automatic snapshot.

    *)
  16. sizeInGb : Integer.t option;
    (*

    The size in GB of the SSD.

    *)
}
Sourceval make : ?name:??? -> ?arn:??? -> ?supportCode:??? -> ?createdAt:??? -> ?location:??? -> ?resourceType:??? -> ?tags:??? -> ?state:??? -> ?progress:??? -> ?fromAttachedDisks:??? -> ?fromInstanceName:??? -> ?fromInstanceArn:??? -> ?fromBlueprintId:??? -> ?fromBundleId:??? -> ?isFromAutoSnapshot:??? -> ?sizeInGb:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of TagKey.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of IsoDate.t ]) list ] list | `String of ResourceName.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of IsoDate.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t