Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Removes the specified tags from a trail or event data store.
Synopsis
- data RemoveTags = RemoveTags' {
- resourceId :: Text
- tagsList :: [Tag]
- newRemoveTags :: Text -> RemoveTags
- removeTags_resourceId :: Lens' RemoveTags Text
- removeTags_tagsList :: Lens' RemoveTags [Tag]
- data RemoveTagsResponse = RemoveTagsResponse' {
- httpStatus :: Int
- newRemoveTagsResponse :: Int -> RemoveTagsResponse
- removeTagsResponse_httpStatus :: Lens' RemoveTagsResponse Int
Creating a Request
data RemoveTags Source #
Specifies the tags to remove from a trail or event data store.
See: newRemoveTags
smart constructor.
RemoveTags' | |
|
Instances
:: Text | |
-> RemoveTags |
Create a value of RemoveTags
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
RemoveTags
, removeTags_resourceId
- Specifies the ARN of the trail or event data store from which tags
should be removed.
Example trail ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
Example event data store ARN format:
arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
RemoveTags
, removeTags_tagsList
- Specifies a list of tags to be removed.
Request Lenses
removeTags_resourceId :: Lens' RemoveTags Text Source #
Specifies the ARN of the trail or event data store from which tags should be removed.
Example trail ARN format:
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
Example event data store ARN format:
arn:aws:cloudtrail:us-east-2:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
removeTags_tagsList :: Lens' RemoveTags [Tag] Source #
Specifies a list of tags to be removed.
Destructuring the Response
data RemoveTagsResponse Source #
Returns the objects or data listed below if successful. Otherwise, returns an error.
See: newRemoveTagsResponse
smart constructor.
RemoveTagsResponse' | |
|
Instances
newRemoveTagsResponse Source #
Create a value of RemoveTagsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:RemoveTagsResponse'
, removeTagsResponse_httpStatus
- The response's http status code.
Response Lenses
removeTagsResponse_httpStatus :: Lens' RemoveTagsResponse Int Source #
The response's http status code.