Module Values.GetAutoSnapshotsResultSource

Returns the available automatic snapshots for an instance or disk. For more information, see the Amazon Lightsail Developer Guide.

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

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

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

    The resource type of the automatic snapshot. The possible values are Instance, and Disk.

    *)
  3. autoSnapshots : AutoSnapshotDetailsList.t option;
    (*

    An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InvalidInputException of InvalidInputException.t
  3. | `NotFoundException of NotFoundException.t
  4. | `OperationFailureException of OperationFailureException.t
  5. | `RegionSetupInProgressException of RegionSetupInProgressException.t
  6. | `ServiceException of ServiceException.t
  7. | `UnauthenticatedException of UnauthenticatedException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?resourceName:??? -> ?resourceType:??? -> ?autoSnapshots:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InvalidInputException of InvalidInputException.t | `NotFoundException of NotFoundException.t | `OperationFailureException of OperationFailureException.t | `RegionSetupInProgressException of RegionSetupInProgressException.t | `ServiceException of ServiceException.t | `UnauthenticatedException of UnauthenticatedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InvalidInputException of InvalidInputException.t | `NotFoundException of NotFoundException.t | `OperationFailureException of OperationFailureException.t | `RegionSetupInProgressException of RegionSetupInProgressException.t | `ServiceException of ServiceException.t | `UnauthenticatedException of UnauthenticatedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ] list | `String of String_.t | `Timestamp of IsoDate.t ]) list ] list | `String of ResourceName.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