| 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.CostExplorer.UntagResource
Description
Removes one or more tags from a resource. Specify only tag keys in your request. Don't specify the value.
Synopsis
- data UntagResource = UntagResource' {
- resourceArn :: Text
- resourceTagKeys :: [Text]
- newUntagResource :: Text -> UntagResource
- untagResource_resourceArn :: Lens' UntagResource Text
- untagResource_resourceTagKeys :: 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:
$sel:resourceArn:UntagResource', untagResource_resourceArn - The Amazon Resource Name (ARN) of the resource. For a list of supported
resources, see
ResourceTag.
$sel:resourceTagKeys:UntagResource', untagResource_resourceTagKeys - A list of tag keys associated with tags that need to be removed from the
resource. If you specify a tag key that doesn't exist, it's ignored.
Although the maximum number of array members is 200, user-tag maximum is
50. The remaining are reserved for Amazon Web Services use.
Request Lenses
untagResource_resourceArn :: Lens' UntagResource Text Source #
The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.
untagResource_resourceTagKeys :: Lens' UntagResource [Text] Source #
A list of tag keys associated with tags that need to be removed from the resource. If you specify a tag key that doesn't exist, it's ignored. Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.
Destructuring the Response
data UntagResourceResponse Source #
See: newUntagResourceResponse smart constructor.
Constructors
| UntagResourceResponse' | |
Fields
| |
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.