Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.CloudTrail.RemoveTags
Description
Removes the specified tags from a trail.
Creating a Request
Arguments
:: Text | |
-> RemoveTags |
Creates a value of RemoveTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtTagsList
- Specifies a list of tags to be removed.rtResourceId
- Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
data RemoveTags #
Specifies the tags to remove from a trail.
See: removeTags
smart constructor.
Instances
Request Lenses
rtTagsList :: Lens' RemoveTags [Tag] #
Specifies a list of tags to be removed.
rtResourceId :: Lens' RemoveTags Text #
Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
Destructuring the Response
Arguments
:: Int | |
-> RemoveTagsResponse |
Creates a value of RemoveTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtrsResponseStatus
- -- | The response status code.
data RemoveTagsResponse #
Returns the objects or data listed below if successful. Otherwise, returns an error.
See: removeTagsResponse
smart constructor.
Response Lenses
rtrsResponseStatus :: Lens' RemoveTagsResponse Int #
- - | The response status code.