Copyright | (c) 2013-2016 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 |
Lists the tags for the specified trail or trails in the current region.
Lists the tags for the trail in the current region.
- listTags :: ListTags
- data ListTags
- ltNextToken :: Lens' ListTags (Maybe Text)
- ltResourceIdList :: Lens' ListTags [Text]
- listTagsResponse :: Int -> ListTagsResponse
- data ListTagsResponse
- ltrsNextToken :: Lens' ListTagsResponse (Maybe Text)
- ltrsResourceTagList :: Lens' ListTagsResponse [ResourceTag]
- ltrsResponseStatus :: Lens' ListTagsResponse Int
Creating a Request
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:
Specifies a list of trail tags to return.
See: listTags
smart constructor.
Request Lenses
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
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.
ltrsResourceTagList :: Lens' ListTagsResponse [ResourceTag] Source
Undocumented member.
ltrsResponseStatus :: Lens' ListTagsResponse Int Source
The response status code.