Module Smaws_Client_CloudTrail.GetTrailStatus

val request : Smaws_Lib.Context.t -> get_trail_status_request -> (get_trail_status_response, [> Smaws_Lib.Protocols.AwsJson.error | `CloudTrailARNInvalidException of cloud_trail_arn_invalid_exception | `InvalidTrailNameException of invalid_trail_name_exception | `OperationNotPermittedException of operation_not_permitted_exception | `TrailNotFoundException of trail_not_found_exception | `UnsupportedOperationException of unsupported_operation_exception ]) Stdlib.result

Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single Region. To return trail status from all Regions, you must call the operation on each Region.