Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Starts the recording of AWS API calls and log file delivery for a trail.
See: AWS API Reference for StartLogging.
Creating a Request
:: Text | |
-> StartLogging |
Creates a value of StartLogging
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StartLogging Source
The request to CloudTrail to start logging AWS API calls for an account.
See: startLogging
smart constructor.
Request Lenses
sName :: Lens' StartLogging Text Source
The name of the trail for which CloudTrail logs AWS API calls.
Destructuring the Response
Creates a value of StartLoggingResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StartLoggingResponse Source
Returns the objects or data listed below if successful. Otherwise, returns an error.
See: startLoggingResponse
smart constructor.
Response Lenses
srsResponseStatus :: Lens' StartLoggingResponse Int Source
The response status code.