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 one or more tags from the specified resource. This operation is supported in storage gateways of all types.
Synopsis
- data RemoveTagsFromResource = RemoveTagsFromResource' {
- resourceARN :: Text
- tagKeys :: [Text]
- newRemoveTagsFromResource :: Text -> RemoveTagsFromResource
- removeTagsFromResource_resourceARN :: Lens' RemoveTagsFromResource Text
- removeTagsFromResource_tagKeys :: Lens' RemoveTagsFromResource [Text]
- data RemoveTagsFromResourceResponse = RemoveTagsFromResourceResponse' {
- resourceARN :: Maybe Text
- httpStatus :: Int
- newRemoveTagsFromResourceResponse :: Int -> RemoveTagsFromResourceResponse
- removeTagsFromResourceResponse_resourceARN :: Lens' RemoveTagsFromResourceResponse (Maybe Text)
- removeTagsFromResourceResponse_httpStatus :: Lens' RemoveTagsFromResourceResponse Int
Creating a Request
data RemoveTagsFromResource Source #
RemoveTagsFromResourceInput
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:resourceARN:RemoveTagsFromResource'
, removeTagsFromResource_resourceARN
- The Amazon Resource Name (ARN) of the resource you want to remove the
tags from.
$sel:tagKeys:RemoveTagsFromResource'
, removeTagsFromResource_tagKeys
- The keys of the tags you want to remove from the specified resource. A
tag is composed of a key-value pair.
Request Lenses
removeTagsFromResource_resourceARN :: Lens' RemoveTagsFromResource Text Source #
The Amazon Resource Name (ARN) of the resource you want to remove the tags from.
removeTagsFromResource_tagKeys :: Lens' RemoveTagsFromResource [Text] Source #
The keys of the tags you want to remove from the specified resource. A tag is composed of a key-value pair.
Destructuring the Response
data RemoveTagsFromResourceResponse Source #
RemoveTagsFromResourceOutput
See: newRemoveTagsFromResourceResponse
smart constructor.
RemoveTagsFromResourceResponse' | |
|
Instances
Eq RemoveTagsFromResourceResponse Source # | |
Read RemoveTagsFromResourceResponse Source # | |
Show RemoveTagsFromResourceResponse Source # | |
Generic RemoveTagsFromResourceResponse Source # | |
NFData RemoveTagsFromResourceResponse Source # | |
Defined in Amazonka.StorageGateway.RemoveTagsFromResource rnf :: RemoveTagsFromResourceResponse -> () # | |
type Rep RemoveTagsFromResourceResponse Source # | |
Defined in Amazonka.StorageGateway.RemoveTagsFromResource type Rep RemoveTagsFromResourceResponse = D1 ('MetaData "RemoveTagsFromResourceResponse" "Amazonka.StorageGateway.RemoveTagsFromResource" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "RemoveTagsFromResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:resourceARN:RemoveTagsFromResource'
, removeTagsFromResourceResponse_resourceARN
- The Amazon Resource Name (ARN) of the resource that the tags were
removed from.
$sel:httpStatus:RemoveTagsFromResourceResponse'
, removeTagsFromResourceResponse_httpStatus
- The response's http status code.
Response Lenses
removeTagsFromResourceResponse_resourceARN :: Lens' RemoveTagsFromResourceResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resource that the tags were removed from.
removeTagsFromResourceResponse_httpStatus :: Lens' RemoveTagsFromResourceResponse Int Source #
The response's http status code.