Module Values.LegalHoldSource

A legal hold is an administrative tool that helps prevent backups from being deleted while under a hold. While the hold is in place, backups under a hold cannot be deleted and lifecycle policies that would alter the backup status (such as transition to cold storage) are delayed until the legal hold is removed. A backup can have more than one legal hold. Legal holds are applied to one or more backups (also known as recovery points). These backups can be filtered by resource types and by resource IDs.

Sourcetype nonrec t = {
  1. title : string option;
    (*

    The title of a legal hold.

    *)
  2. status : LegalHoldStatus.t option;
    (*

    The status of the legal hold.

    *)
  3. description : string option;
    (*

    The description of a legal hold.

    *)
  4. legalHoldId : string option;
    (*

    The ID of the legal hold.

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

    The Amazon Resource Name (ARN) of the legal hold; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

    *)
  6. creationDate : string option;
    (*

    The time when the legal hold was created.

    *)
  7. cancellationDate : string option;
    (*

    The time when the legal hold was cancelled.

    *)
}
Sourceval make : ?title:??? -> ?status:??? -> ?description:??? -> ?legalHoldId:??? -> ?legalHoldArn:??? -> ?creationDate:??? -> ?cancellationDate:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of string | `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