amazonka-cloudtrail-1.4.0: Amazon CloudTrail SDK.

Copyright(c) 2013-2016 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.ListTags

Contents

Description

Lists the tags for the specified trail or trails in the current region.

Lists the tags for the trail in the current region.

Synopsis

Creating a Request

listTags :: ListTags Source

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

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

Request Lenses

ltNextToken :: Lens' ListTags (Maybe Text) Source

Reserved for future use.

ltResourceIdList :: Lens' ListTags [Text] Source

Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is 'arn:aws:cloudtrail:us-east-1:123456789012:trail\/MyTrail'.

Destructuring the Response

listTagsResponse Source

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

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

data ListTagsResponse Source

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

See: listTagsResponse smart constructor.

Response Lenses

ltrsNextToken :: Lens' ListTagsResponse (Maybe Text) Source

Reserved for future use.

ltrsResponseStatus :: Lens' ListTagsResponse Int Source

The response status code.