Values.GetTrailStatusResponseSourceReturns the objects or data listed below if successful. Otherwise, returns an error.
type nonrec t = {isLogging : Boolean.t option;Whether the CloudTrail trail is currently logging Amazon Web Services API calls.
*)latestDeliveryError : String_.t option;Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket. For more information, see Error Responses in the Amazon S3 API Reference. This error occurs only when there is a problem with the destination S3 bucket, and does not occur for requests that time out. To resolve the issue, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call UpdateTrail to specify the new bucket.
*)latestNotificationError : String_.t option;Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification. For more information about Amazon SNS errors, see the Amazon SNS Developer Guide.
*)latestDeliveryTime : Date.t option;Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.
*)latestNotificationTime : Date.t option;Specifies the date and time of the most recent Amazon SNS notification that CloudTrail has written a new log file to an account's Amazon S3 bucket.
*)startLoggingTime : Date.t option;Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.
*)stopLoggingTime : Date.t option;Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.
*)latestCloudWatchLogsDeliveryError : String_.t option;Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
*)latestCloudWatchLogsDeliveryTime : Date.t option;Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
*)latestDigestDeliveryTime : Date.t option;Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.
*)latestDigestDeliveryError : String_.t option;Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket. For more information, see Error Responses in the Amazon S3 API Reference. This error occurs only when there is a problem with the destination S3 bucket, and does not occur for requests that time out. To resolve the issue, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call UpdateTrail to specify the new bucket.
*)latestDeliveryAttemptTime : String_.t option;This field is no longer in use.
*)latestNotificationAttemptTime : String_.t option;This field is no longer in use.
*)latestNotificationAttemptSucceeded : String_.t option;This field is no longer in use.
*)latestDeliveryAttemptSucceeded : String_.t option;This field is no longer in use.
*)timeLoggingStarted : String_.t option;This field is no longer in use.
*)timeLoggingStopped : String_.t option;This field is no longer in use.
*)}type nonrec error = [ | `CloudTrailARNInvalidException of CloudTrailARNInvalidException.t| `InvalidTrailNameException of InvalidTrailNameException.t| `OperationNotPermittedException of OperationNotPermittedException.t| `TrailNotFoundException of TrailNotFoundException.t| `UnsupportedOperationException of UnsupportedOperationException.t| `Unknown_operation_error of string * string option ]val make :
?isLogging:??? ->
?latestDeliveryError:??? ->
?latestNotificationError:??? ->
?latestDeliveryTime:??? ->
?latestNotificationTime:??? ->
?startLoggingTime:??? ->
?stopLoggingTime:??? ->
?latestCloudWatchLogsDeliveryError:??? ->
?latestCloudWatchLogsDeliveryTime:??? ->
?latestDigestDeliveryTime:??? ->
?latestDigestDeliveryError:??? ->
?latestDeliveryAttemptTime:??? ->
?latestNotificationAttemptTime:??? ->
?latestNotificationAttemptSucceeded:??? ->
?latestDeliveryAttemptSucceeded:??? ->
?timeLoggingStarted:??? ->
?timeLoggingStopped:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `CloudTrailARNInvalidException of unit
| `InvalidTrailNameException of unit
| `OperationNotPermittedException of unit
| `TrailNotFoundException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of unit ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `CloudTrailARNInvalidException of unit
| `InvalidTrailNameException of unit
| `OperationNotPermittedException of unit
| `TrailNotFoundException of unit
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of unit ]