Returns a JSON-formatted list of information about the specified trail. Fields include information such as delivery errors, Amazon SNS and Amazon S3 errors, and times that logging started and stopped for each trail.
Declaration Syntax
C# |
GetTrailStatusResponse GetTrailStatus( GetTrailStatusRequest getTrailStatusRequest )
Parameters
- getTrailStatusRequest (GetTrailStatusRequest)
- Container for the necessary parameters to execute the GetTrailStatus service method on AmazonCloudTrail.
Return Value
The response from the GetTrailStatus service method, as returned by AmazonCloudTrail.
Exceptions
Exception | Condition |
---|---|
InvalidTrailNameException | |
TrailNotFoundException |