AWS SDK for .NET Documentation
StopLogging Method (stopLoggingRequest)
AmazonAmazon.CloudTrailAmazonCloudTrailStopLogging(StopLoggingRequest) Did this page help you?   Yes   No    Tell us about it...

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.

Declaration Syntax
C#
StopLoggingResponse StopLogging(
	StopLoggingRequest stopLoggingRequest
)
Parameters
stopLoggingRequest (StopLoggingRequest)
Container for the necessary parameters to execute the StopLogging service method on AmazonCloudTrail.
Return Value
The response from the StopLogging service method, as returned by AmazonCloudTrail.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)