Module Values.GetArchiveResponseSource

The response containing details of the requested archive.

Sourcetype nonrec t = {
  1. archiveId : ArchiveIdString.t option;
    (*

    The unique identifier of the archive.

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

    The unique name assigned to the archive.

    *)
  3. archiveArn : ArchiveArn.t option;
    (*

    The Amazon Resource Name (ARN) of the archive.

    *)
  4. archiveState : ArchiveState.t option;
    (*

    The current state of the archive: ACTIVE – The archive is ready and available for use. PENDING_DELETION – The archive has been marked for deletion and will be permanently deleted in 30 days. No further modifications can be made in this state.

    *)
  5. retention : ArchiveRetention.t option;
    (*

    The retention period for emails in this archive.

    *)
  6. createdTimestamp : Timestamp.t option;
    (*

    The timestamp of when the archive was created.

    *)
  7. lastUpdatedTimestamp : Timestamp.t option;
    (*

    The timestamp of when the archive was modified.

    *)
  8. kmsKeyArn : KmsKeyArn.t option;
    (*

    The Amazon Resource Name (ARN) of the KMS key used to encrypt the archive.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ThrottlingException of ThrottlingException.t
  4. | `ValidationException of ValidationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?archiveId:??? -> ?archiveName:??? -> ?archiveArn:??? -> ?archiveState:??? -> ?retention:??? -> ?createdTimestamp:??? -> ?lastUpdatedTimestamp:??? -> ?kmsKeyArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ArchiveIdString.t | `Structure of (string * [> `Enum of string ]) list | `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