Deletes a trail.
Declaration Syntax
C# |
public DeleteTrailResponse DeleteTrail( DeleteTrailRequest deleteTrailRequest )
Parameters
- deleteTrailRequest (DeleteTrailRequest)
- Container for the necessary parameters to execute the DeleteTrail service method on AmazonCloudTrail.
Return Value
The response from the DeleteTrail service method, as returned by AmazonCloudTrail.
Exceptions
Exception | Condition |
---|---|
InvalidTrailNameException | |
TrailNotFoundException |