| 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.XRay.UntagResource
Description
Removes tags from an Amazon Web Services X-Ray group or sampling rule.
You cannot edit or delete system tags (those with an aws: prefix).
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.
Constructors
| UntagResource' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UntagResource |
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 Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
$sel:tagKeys:UntagResource', untagResource_tagKeys - Keys for one or more tags that you want to remove from an X-Ray group or
sampling rule.
Request Lenses
untagResource_resourceARN :: Lens' UntagResource Text Source #
The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
untagResource_tagKeys :: Lens' UntagResource [Text] Source #
Keys for one or more tags that you want to remove from an X-Ray group or sampling rule.
Destructuring the Response
data UntagResourceResponse Source #
See: newUntagResourceResponse smart constructor.
Constructors
| UntagResourceResponse' | |
Fields
| |
Instances
newUntagResourceResponse Source #
Arguments
| :: Int | |
| -> UntagResourceResponse |
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:
UntagResourceResponse, untagResourceResponse_httpStatus - The response's http status code.
Response Lenses
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int Source #
The response's http status code.