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 |
Deletes tags from a specified resource group.
Minimum permissions
To run this command, you must have the following permissions:
resource-groups:Untag
Synopsis
- data Untag = Untag' {}
- newUntag :: Text -> Untag
- untag_arn :: Lens' Untag Text
- untag_keys :: Lens' Untag [Text]
- data UntagResponse = UntagResponse' {}
- newUntagResponse :: Int -> UntagResponse
- untagResponse_arn :: Lens' UntagResponse (Maybe Text)
- untagResponse_keys :: Lens' UntagResponse (Maybe [Text])
- untagResponse_httpStatus :: Lens' UntagResponse Int
Creating a Request
See: newUntag
smart constructor.
Instances
Create a value of Untag
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:arn:Untag'
, untag_arn
- The ARN of the resource group from which to remove tags. The command
removed both the specified keys and any values associated with those
keys.
$sel:keys:Untag'
, untag_keys
- The keys of the tags to be removed.
Request Lenses
untag_arn :: Lens' Untag Text Source #
The ARN of the resource group from which to remove tags. The command removed both the specified keys and any values associated with those keys.
Destructuring the Response
data UntagResponse Source #
See: newUntagResponse
smart constructor.
Instances
Create a value of UntagResponse
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:arn:Untag'
, untagResponse_arn
- The ARN of the resource group from which tags have been removed.
$sel:keys:Untag'
, untagResponse_keys
- The keys of the tags that were removed.
$sel:httpStatus:UntagResponse'
, untagResponse_httpStatus
- The response's http status code.
Response Lenses
untagResponse_arn :: Lens' UntagResponse (Maybe Text) Source #
The ARN of the resource group from which tags have been removed.
untagResponse_keys :: Lens' UntagResponse (Maybe [Text]) Source #
The keys of the tags that were removed.
untagResponse_httpStatus :: Lens' UntagResponse Int Source #
The response's http status code.