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 |
Removes a tag or set of tags from an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
Synopsis
- data UntagResource = UntagResource' {
- resourceArn :: Text
- tagKeys :: [Text]
- newUntagResource :: Text -> UntagResource
- untagResource_resourceArn :: Lens' UntagResource Text
- untagResource_tagKeys :: Lens' UntagResource [Text]
- data UntagResourceResponse = UntagResourceResponse' {
- httpStatus :: Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- untagResourceResponse_httpStatus :: 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 to remove tags from. The
resource must be active (not in the DELETING
state), and must be owned
by the account ID included in the request.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The tag or set of tags to remove from the resource. All tag keys in the
request must be unique.
Request Lenses
untagResource_resourceArn :: Lens' UntagResource Text Source #
The Amazon Resource Name (ARN) of the resource to remove tags from. The
resource must be active (not in the DELETING
state), and must be owned
by the account ID included in the request.
untagResource_tagKeys :: Lens' UntagResource [Text] Source #
The tag or set of tags to remove from the resource. All tag keys in the request must be unique.
Destructuring the Response
data UntagResourceResponse Source #
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.