amazonka-cloudtrail-1.3.3: 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.DescribeTrails

Contents

Description

Retrieves settings for the trail associated with the current region for your account.

See: AWS API Reference for DescribeTrails.

Synopsis

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:

Request Lenses

dtTrailNameList :: Lens' DescribeTrails [Text] Source

Specifies a list of trail names, trail ARNs, or both, of the trails to describe. The format of a trail ARN is 'arn:aws:cloudtrail:us-east-1:123456789012:trail\/MyTrail'. If an empty list is specified, information for the trail in the current region is returned.

Destructuring the Response

describeTrailsResponse Source

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:

Response Lenses

dtrsTrailList :: Lens' DescribeTrailsResponse [Trail] Source

The list of trail objects.