| 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.WorkSpaces.DeleteTags
Description
Deletes the specified tags from the specified WorkSpaces resource.
Synopsis
- data DeleteTags = DeleteTags' {
- resourceId :: Text
- tagKeys :: [Text]
- newDeleteTags :: Text -> DeleteTags
- deleteTags_resourceId :: Lens' DeleteTags Text
- deleteTags_tagKeys :: 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
Arguments
| :: Text | |
| -> DeleteTags |
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:
DeleteTags, deleteTags_resourceId - The identifier of the WorkSpaces resource. The supported resource types
are WorkSpaces, registered directories, images, custom bundles, IP
access control groups, and connection aliases.
$sel:tagKeys:DeleteTags', deleteTags_tagKeys - The tag keys.
Request Lenses
deleteTags_resourceId :: Lens' DeleteTags Text Source #
The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
deleteTags_tagKeys :: Lens' DeleteTags [Text] Source #
The tag keys.
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.