Module Values.DescribeTrailsResponseSource

Returns the objects or data listed below if successful. Otherwise, returns an error.

Sourcetype nonrec t = {
  1. trailList : TrailList.t option;
    (*

    The list of trail objects. Trail objects with string values are only returned if values for the objects exist in a trail's configuration. For example, SNSTopicName and SNSTopicARN are only returned in results if a trail is configured to send SNS notifications. Similarly, KMSKeyId only appears in results if a trail's log files are encrypted with KMS customer managed keys.

    *)
}
Sourcetype nonrec error = [
  1. | `CloudTrailARNInvalidException of CloudTrailARNInvalidException.t
  2. | `InvalidTrailNameException of InvalidTrailNameException.t
  3. | `NoManagementAccountSLRExistsException of NoManagementAccountSLRExistsException.t
  4. | `OperationNotPermittedException of OperationNotPermittedException.t
  5. | `UnsupportedOperationException of UnsupportedOperationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?trailList:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `CloudTrailARNInvalidException of unit | `InvalidTrailNameException of unit | `NoManagementAccountSLRExistsException of unit | `OperationNotPermittedException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `CloudTrailARNInvalidException of unit | `InvalidTrailNameException of unit | `NoManagementAccountSLRExistsException of unit | `OperationNotPermittedException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t ]) list ] list ]) 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