Suspends the recording of AWS API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording.

C# |
StopLoggingResponse StopLogging( StopLoggingRequest stopLoggingRequest )

- stopLoggingRequest (StopLoggingRequest)
- Container for the necessary parameters to execute the StopLogging service method on AmazonCloudTrail.

The response from the StopLogging service method, as returned by AmazonCloudTrail.

Exception | Condition |
---|---|
InvalidTrailNameException | |
TrailNotFoundException |