| 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 |
Network.AWS.CloudTrail.DescribeTrails
Description
Retrieves settings for the trail associated with the current region for your account.
See: AWS API Reference for DescribeTrails.
Creating a Request
describeTrails :: DescribeTrails Source
Creates a value of DescribeTrails with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeTrails Source
Returns information about the trail.
See: describeTrails smart constructor.
Instances
Request Lenses
dtTrailNameList :: Lens' DescribeTrails [Text] Source
The trail returned.
Destructuring the Response
Arguments
| :: Int | |
| -> DescribeTrailsResponse |
Creates a value of DescribeTrailsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeTrailsResponse Source
Returns the objects or data listed below if successful. Otherwise, returns an error.
See: describeTrailsResponse smart constructor.
Response Lenses
dtrsTrailList :: Lens' DescribeTrailsResponse [Trail] Source
The list of trails.
dtrsResponseStatus :: Lens' DescribeTrailsResponse Int Source
The response status code.