Module Values.DescribeArchiveResponseSource

Retrieves details about an archive.

Sourcetype nonrec t = {
  1. archiveArn : ArchiveArn.t option;
    (*

    The ARN of the archive.

    *)
  2. archiveName : ArchiveName.t option;
    (*

    The name of the archive.

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

    The ARN of the event source associated with the archive.

    *)
  4. description : ArchiveDescription.t option;
    (*

    The description of the archive.

    *)
  5. eventPattern : EventPattern.t option;
    (*

    The event pattern used to filter events sent to the archive.

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

    The state of the archive.

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

    The reason that the archive is in the state.

    *)
  8. kmsKeyIdentifier : KmsKeyIdentifier.t option;
    (*

    The identifier of the KMS customer managed key for EventBridge to use to encrypt this archive, if one has been specified. For more information, see Encrypting archives in the Amazon EventBridge User Guide.

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

    The number of days to retain events for in the archive.

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

    The size of the archive in bytes.

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

    The number of events in the archive.

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

    The time at which the archive was created.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalException of InternalException.t
  2. | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?archiveArn:??? -> ?archiveName:??? -> ?eventSourceArn:??? -> ?description:??? -> ?eventPattern:??? -> ?state:??? -> ?stateReason:??? -> ?kmsKeyIdentifier:??? -> ?retentionDays:??? -> ?sizeBytes:??? -> ?eventCount:??? -> ?creationTime:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalException of unit | `ResourceAlreadyExistsException of unit | `ResourceNotFoundException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalException of unit | `ResourceAlreadyExistsException of unit | `ResourceNotFoundException of unit | `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 | `Integer of RetentionDays.t | `Long of Long.t | `String of ArchiveArn.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