Module Values.CreateArchiveResponseSource

Creates an archive of events with the specified settings. When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events. Replayed events are not sent to an archive. If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well. For more information, see Encrypting archives in the Amazon EventBridge User Guide.

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

    The ARN of the archive that was created.

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

    The state of the archive that was created.

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

    The reason that the archive is in the state.

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

    The time at which the archive was created.

    *)
}
Sourcetype nonrec error = [
  1. | `ConcurrentModificationException of ConcurrentModificationException.t
  2. | `InternalException of InternalException.t
  3. | `InvalidEventPatternException of InvalidEventPatternException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?archiveArn:??? -> ?state:??? -> ?stateReason:??? -> ?creationTime:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConcurrentModificationException of unit | `InternalException of unit | `InvalidEventPatternException of unit | `LimitExceededException of unit | `ResourceAlreadyExistsException of unit | `ResourceNotFoundException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConcurrentModificationException of unit | `InternalException of unit | `InvalidEventPatternException of unit | `LimitExceededException 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 | `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