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 |
Amazonka.Config.UntagResource
Description
Deletes specified 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 :: UntagResourceResponse
Creating a Request
data UntagResource Source #
See: newUntagResource
smart constructor.
Constructors
UntagResource' | |
Fields
|
Instances
Arguments
:: Text | |
-> NonEmpty 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) that identifies the resource for which to
list the tags. Currently, the supported resources are ConfigRule
,
ConfigurationAggregator
and AggregatorAuthorization
.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The keys of the tags to be removed.
Request Lenses
untagResource_resourceArn :: Lens' UntagResource Text Source #
The Amazon Resource Name (ARN) that identifies the resource for which to
list the tags. Currently, the supported resources are ConfigRule
,
ConfigurationAggregator
and AggregatorAuthorization
.
untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text) Source #
The keys of the tags to be removed.
Destructuring the Response
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Constructors
UntagResourceResponse' | |
Instances
newUntagResourceResponse :: UntagResourceResponse Source #
Create a value of UntagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.