Module Values_2.LockedSnapshotsInfoSource

Information about a locked snapshot.

Sourcetype nonrec t = {
  1. ownerId : Values_0.String_.t option;
    (*

    The account ID of the Amazon Web Services account that owns the snapshot.

    *)
  2. snapshotId : Values_0.String_.t option;
    (*

    The ID of the snapshot.

    *)
  3. lockState : Values_1.LockState.t option;
    (*

    The state of the snapshot lock. Valid states include: compliance-cooloff - The snapshot has been locked in compliance mode but it is still within the cooling-off period. The snapshot can't be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions. governance - The snapshot is locked in governance mode. The snapshot can't be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions. compliance - The snapshot is locked in compliance mode and the cooling-off period has expired. The snapshot can't be unlocked or deleted. The lock duration can only be increased by users with appropriate permissions. expired - The snapshot was locked in compliance or governance mode but the lock duration has expired. The snapshot is not locked and can be deleted.

    *)
  4. lockDuration : Values_1.RetentionPeriodResponseDays.t option;
    (*

    The period of time for which the snapshot is locked, in days.

    *)
  5. coolOffPeriod : Values_1.CoolOffPeriodResponseHours.t option;
    (*

    The compliance mode cooling-off period, in hours.

    *)
  6. coolOffPeriodExpiresOn : Values_0.MillisecondDateTime.t option;
    (*

    The date and time at which the compliance mode cooling-off period expires, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).

    *)
  7. lockCreatedOn : Values_0.MillisecondDateTime.t option;
    (*

    The date and time at which the snapshot was locked, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).

    *)
  8. lockDurationStartTime : Values_0.MillisecondDateTime.t option;
    (*

    The date and time at which the lock duration started, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ). If you lock a snapshot that is in the pending state, the lock duration starts only once the snapshot enters the completed state.

    *)
  9. lockExpiresOn : Values_0.MillisecondDateTime.t option;
    (*

    The date and time at which the lock will expire, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).

    *)
}
Sourceval make : ?ownerId:??? -> ?snapshotId:??? -> ?lockState:??? -> ?lockDuration:??? -> ?coolOffPeriod:??? -> ?coolOffPeriodExpiresOn:??? -> ?lockCreatedOn:??? -> ?lockDurationStartTime:??? -> ?lockExpiresOn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Values_1.RetentionPeriodResponseDays.t | `String of Values_0.String_.t | `Timestamp of Values_0.MillisecondDateTime.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