Module Values.ProtectedResourceSource

A structure that contains information about a backed-up resource.

Sourcetype nonrec t = {
  1. resourceArn : ARN.t option;
    (*

    An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

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

    The type of Amazon Web Services resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.

    *)
  3. lastBackupTime : string option;
    (*

    The date and time a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of LastBackupTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    *)
  4. resourceName : string option;
    (*

    The non-unique name of the resource that belongs to the specified backup.

    *)
  5. lastBackupVaultArn : ARN.t option;
    (*

    The ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.

    *)
  6. lastRecoveryPointArn : ARN.t option;
    (*

    The ARN (Amazon Resource Name) of the most recent recovery point.

    *)
}
Sourceval make : ?resourceArn:??? -> ?resourceType:??? -> ?lastBackupTime:??? -> ?resourceName:??? -> ?lastBackupVaultArn:??? -> ?lastRecoveryPointArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ARN.t | `Timestamp of string ]) 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