Smaws_Client_CloudTrail.GetTrailStatus
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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `CloudTrailARNInvalidException of Types.cloud_trail_arn_invalid_exception
| `InvalidTrailNameException of Types.invalid_trail_name_exception
| `OperationNotPermittedException of Types.operation_not_permitted_exception
| `TrailNotFoundException of Types.trail_not_found_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ] ->
string
val request :
'http_type Smaws_Lib.Context.t ->
Types.get_trail_status_request ->
(Types.get_trail_status_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudTrailARNInvalidException of Types.cloud_trail_arn_invalid_exception
| `InvalidTrailNameException of Types.invalid_trail_name_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `TrailNotFoundException of Types.trail_not_found_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ])
Stdlib.result