| 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.CloudWatchLogs.UntagLogGroup
Description
Removes the specified tags from the specified log group.
To list the tags for a log group, use ListTagsLogGroup. To add tags, use TagLogGroup.
CloudWatch Logs doesn’t support IAM policies that prevent users from
assigning specified tags to log groups using the
aws:Resource/key-name or aws:TagKeys condition keys.
Synopsis
- data UntagLogGroup = UntagLogGroup' {
- logGroupName :: Text
- tags :: NonEmpty Text
- newUntagLogGroup :: Text -> NonEmpty Text -> UntagLogGroup
- untagLogGroup_logGroupName :: Lens' UntagLogGroup Text
- untagLogGroup_tags :: Lens' UntagLogGroup (NonEmpty Text)
- data UntagLogGroupResponse = UntagLogGroupResponse' {
- newUntagLogGroupResponse :: UntagLogGroupResponse
Creating a Request
data UntagLogGroup Source #
See: newUntagLogGroup smart constructor.
Constructors
| UntagLogGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> NonEmpty Text | |
| -> UntagLogGroup |
Create a value of UntagLogGroup 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:logGroupName:UntagLogGroup', untagLogGroup_logGroupName - The name of the log group.
$sel:tags:UntagLogGroup', untagLogGroup_tags - The tag keys. The corresponding tags are removed from the log group.
Request Lenses
untagLogGroup_logGroupName :: Lens' UntagLogGroup Text Source #
The name of the log group.
untagLogGroup_tags :: Lens' UntagLogGroup (NonEmpty Text) Source #
The tag keys. The corresponding tags are removed from the log group.
Destructuring the Response
data UntagLogGroupResponse Source #
See: newUntagLogGroupResponse smart constructor.
Constructors
| UntagLogGroupResponse' | |
Instances
newUntagLogGroupResponse :: UntagLogGroupResponse Source #
Create a value of UntagLogGroupResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.