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
 Declaration Syntax| C# | 
public GetTrailStatusResponse GetTrailStatus( GetTrailStatusRequest getTrailStatusRequest )
 Parameters
 Parameters- getTrailStatusRequest (GetTrailStatusRequest)
- Container for the necessary parameters to execute the GetTrailStatus service method on AmazonCloudTrail.
 Return Value
 Return ValueThe response from the GetTrailStatus service method, as returned by AmazonCloudTrail.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| InvalidTrailNameException | |
| TrailNotFoundException |