Copyright | (c) 2013-2021 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 |
Removes tags from a directory.
Synopsis
- data RemoveTagsFromResource = RemoveTagsFromResource' {
- resourceId :: Text
- tagKeys :: [Text]
- newRemoveTagsFromResource :: Text -> RemoveTagsFromResource
- removeTagsFromResource_resourceId :: Lens' RemoveTagsFromResource Text
- removeTagsFromResource_tagKeys :: Lens' RemoveTagsFromResource [Text]
- data RemoveTagsFromResourceResponse = RemoveTagsFromResourceResponse' {
- httpStatus :: Int
- newRemoveTagsFromResourceResponse :: Int -> RemoveTagsFromResourceResponse
- removeTagsFromResourceResponse_httpStatus :: Lens' RemoveTagsFromResourceResponse Int
Creating a Request
data RemoveTagsFromResource Source #
See: newRemoveTagsFromResource
smart constructor.
RemoveTagsFromResource' | |
|
Instances
newRemoveTagsFromResource Source #
Create a value of RemoveTagsFromResource
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:resourceId:RemoveTagsFromResource'
, removeTagsFromResource_resourceId
- Identifier (ID) of the directory from which to remove the tag.
$sel:tagKeys:RemoveTagsFromResource'
, removeTagsFromResource_tagKeys
- The tag key (name) of the tag to be removed.
Request Lenses
removeTagsFromResource_resourceId :: Lens' RemoveTagsFromResource Text Source #
Identifier (ID) of the directory from which to remove the tag.
removeTagsFromResource_tagKeys :: Lens' RemoveTagsFromResource [Text] Source #
The tag key (name) of the tag to be removed.
Destructuring the Response
data RemoveTagsFromResourceResponse Source #
See: newRemoveTagsFromResourceResponse
smart constructor.
RemoveTagsFromResourceResponse' | |
|
Instances
Eq RemoveTagsFromResourceResponse Source # | |
Read RemoveTagsFromResourceResponse Source # | |
Show RemoveTagsFromResourceResponse Source # | |
Generic RemoveTagsFromResourceResponse Source # | |
NFData RemoveTagsFromResourceResponse Source # | |
Defined in Amazonka.DirectoryService.RemoveTagsFromResource rnf :: RemoveTagsFromResourceResponse -> () # | |
type Rep RemoveTagsFromResourceResponse Source # | |
Defined in Amazonka.DirectoryService.RemoveTagsFromResource type Rep RemoveTagsFromResourceResponse = D1 ('MetaData "RemoveTagsFromResourceResponse" "Amazonka.DirectoryService.RemoveTagsFromResource" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "RemoveTagsFromResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRemoveTagsFromResourceResponse Source #
Create a value of RemoveTagsFromResourceResponse
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:RemoveTagsFromResourceResponse'
, removeTagsFromResourceResponse_httpStatus
- The response's http status code.
Response Lenses
removeTagsFromResourceResponse_httpStatus :: Lens' RemoveTagsFromResourceResponse Int Source #
The response's http status code.