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 a tag or tags from a 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' {}
- newUntagResourceResponse :: Int -> UntagResourceResponse
- untagResourceResponse_requestId :: Lens' UntagResourceResponse (Maybe Text)
- untagResourceResponse_status :: Lens' UntagResourceResponse Int
Creating a Request
data UntagResource Source #
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:
$sel:resourceArn:UntagResource'
, untagResource_resourceArn
- The Amazon Resource Name (ARN) of the resource that you want to untag.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The keys of the key-value pairs for the resource tag or tags assigned to
the resource.
Request Lenses
untagResource_resourceArn :: Lens' UntagResource Text Source #
The Amazon Resource Name (ARN) of the resource that you want to untag.
untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text) Source #
The keys of the key-value pairs for the resource tag or tags assigned to the resource.
Destructuring the Response
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
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:requestId:UntagResourceResponse'
, untagResourceResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:status:UntagResourceResponse'
, untagResourceResponse_status
- The HTTP status of the request.
Response Lenses
untagResourceResponse_requestId :: Lens' UntagResourceResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
untagResourceResponse_status :: Lens' UntagResourceResponse Int Source #
The HTTP status of the request.