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 |
This action removes a tag from an Amazon FSx resource.
Synopsis
- data UntagResource = UntagResource' {
- resourceARN :: Text
- tagKeys :: NonEmpty Text
- newUntagResource :: Text -> NonEmpty Text -> UntagResource
- untagResource_resourceARN :: Lens' UntagResource Text
- untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text)
- data UntagResourceResponse = UntagResourceResponse' {
- httpStatus :: Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
Creating a Request
data UntagResource Source #
The request object for UntagResource
action.
See: newUntagResource
smart constructor.
UntagResource' | |
|
Instances
Create a value of UntagResource
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:
UntagResource
, untagResource_resourceARN
- The ARN of the Amazon FSx resource to untag.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- A list of keys of tags on the resource to untag. In case the tag key
doesn't exist, the call will still succeed to be idempotent.
Request Lenses
untagResource_resourceARN :: Lens' UntagResource Text Source #
The ARN of the Amazon FSx resource to untag.
untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text) Source #
A list of keys of tags on the resource to untag. In case the tag key doesn't exist, the call will still succeed to be idempotent.
Destructuring the Response
data UntagResourceResponse Source #
The response object for UntagResource
action.
See: newUntagResourceResponse
smart constructor.
UntagResourceResponse' | |
|
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
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:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
Response Lenses
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int Source #
The response's http status code.