| 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.StorageGateway.RemoveTagsFromResource
Description
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.
Constructors
| RemoveTagsFromResource' | |
Fields
| |
Instances
newRemoveTagsFromResource Source #
Arguments
| :: Text | |
| -> RemoveTagsFromResource |
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:
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.
Constructors
| RemoveTagsFromResourceResponse' | |
Fields
| |
Instances
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:
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.