Module Values.ArchiveSource

An Archive object that contains details about an archive.

Sourcetype nonrec t = {
  1. archiveName : ArchiveName.t option;
    (*

    The name of the archive.

    *)
  2. eventSourceArn : EventBusArn.t option;
    (*

    The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.

    *)
  3. state : ArchiveState.t option;
    (*

    The current state of the archive.

    *)
  4. stateReason : ArchiveStateReason.t option;
    (*

    A description for the reason that the archive is in the current state.

    *)
  5. retentionDays : RetentionDays.t option;
    (*

    The number of days to retain events in the archive before they are deleted.

    *)
  6. sizeBytes : Long.t option;
    (*

    The size of the archive, in bytes.

    *)
  7. eventCount : Long.t option;
    (*

    The number of events in the archive.

    *)
  8. creationTime : Timestamp.t option;
    (*

    The time stamp for the time that the archive was created.

    *)
}
Sourceval make : ?archiveName:??? -> ?eventSourceArn:??? -> ?state:??? -> ?stateReason:??? -> ?retentionDays:??? -> ?sizeBytes:??? -> ?eventCount:??? -> ?creationTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of RetentionDays.t | `Long of Long.t | `String of ArchiveName.t | `Timestamp of Timestamp.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