amazonka-cloudtrail-1.3.5: Amazon CloudTrail SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudTrail.StopLogging

Contents

Description

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.

See: AWS API Reference for StopLogging.

Synopsis

Creating a Request

stopLogging Source

Arguments

:: Text

slName

-> StopLogging 

Creates a value of StopLogging with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

slName :: Lens' StopLogging Text Source

Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging AWS API calls. The format of a trail ARN is 'arn:aws:cloudtrail:us-east-1:123456789012:trail\/MyTrail'.

Destructuring the Response

stopLoggingResponse Source

Creates a value of StopLoggingResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data StopLoggingResponse Source

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: stopLoggingResponse smart constructor.

Response Lenses