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 |
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.
UntagLogGroup' | |
|
Instances
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.
Instances
Eq UntagLogGroupResponse Source # | |
Defined in Amazonka.CloudWatchLogs.UntagLogGroup (==) :: UntagLogGroupResponse -> UntagLogGroupResponse -> Bool # (/=) :: UntagLogGroupResponse -> UntagLogGroupResponse -> Bool # | |
Read UntagLogGroupResponse Source # | |
Show UntagLogGroupResponse Source # | |
Defined in Amazonka.CloudWatchLogs.UntagLogGroup showsPrec :: Int -> UntagLogGroupResponse -> ShowS # show :: UntagLogGroupResponse -> String # showList :: [UntagLogGroupResponse] -> ShowS # | |
Generic UntagLogGroupResponse Source # | |
Defined in Amazonka.CloudWatchLogs.UntagLogGroup type Rep UntagLogGroupResponse :: Type -> Type # | |
NFData UntagLogGroupResponse Source # | |
Defined in Amazonka.CloudWatchLogs.UntagLogGroup rnf :: UntagLogGroupResponse -> () # | |
type Rep UntagLogGroupResponse Source # | |
Defined in Amazonka.CloudWatchLogs.UntagLogGroup |
newUntagLogGroupResponse :: UntagLogGroupResponse Source #
Create a value of UntagLogGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.