| 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 |
Amazonka.Discovery.DeleteTags
Description
Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
Synopsis
- data DeleteTags = DeleteTags' {
- tags :: Maybe [Tag]
- configurationIds :: [Text]
- newDeleteTags :: DeleteTags
- deleteTags_tags :: Lens' DeleteTags (Maybe [Tag])
- deleteTags_configurationIds :: Lens' DeleteTags [Text]
- data DeleteTagsResponse = DeleteTagsResponse' {
- httpStatus :: Int
- newDeleteTagsResponse :: Int -> DeleteTagsResponse
- deleteTagsResponse_httpStatus :: Lens' DeleteTagsResponse Int
Creating a Request
data DeleteTags Source #
See: newDeleteTags smart constructor.
Constructors
| DeleteTags' | |
Fields
| |
Instances
newDeleteTags :: DeleteTags Source #
Create a value of DeleteTags 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:tags:DeleteTags', deleteTags_tags - Tags that you want to delete from one or more configuration items.
Specify the tags that you want to delete in a key-value format. For
example:
{"key": "serverType", "value": "webServer"}$sel:configurationIds:DeleteTags', deleteTags_configurationIds - A list of configuration items with tags that you want to delete.
Request Lenses
deleteTags_tags :: Lens' DeleteTags (Maybe [Tag]) Source #
Tags that you want to delete from one or more configuration items. Specify the tags that you want to delete in a key-value format. For example:
{"key": "serverType", "value": "webServer"}deleteTags_configurationIds :: Lens' DeleteTags [Text] Source #
A list of configuration items with tags that you want to delete.
Destructuring the Response
data DeleteTagsResponse Source #
See: newDeleteTagsResponse smart constructor.
Constructors
| DeleteTagsResponse' | |
Fields
| |
Instances
newDeleteTagsResponse Source #
Arguments
| :: Int | |
| -> DeleteTagsResponse |
Create a value of DeleteTagsResponse 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:DeleteTagsResponse', deleteTagsResponse_httpStatus - The response's http status code.
Response Lenses
deleteTagsResponse_httpStatus :: Lens' DeleteTagsResponse Int Source #
The response's http status code.