| 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.ListTagsLogGroup
Description
Lists the tags for the specified log group.
Synopsis
- data ListTagsLogGroup = ListTagsLogGroup' {
- logGroupName :: Text
- newListTagsLogGroup :: Text -> ListTagsLogGroup
- listTagsLogGroup_logGroupName :: Lens' ListTagsLogGroup Text
- data ListTagsLogGroupResponse = ListTagsLogGroupResponse' {}
- newListTagsLogGroupResponse :: Int -> ListTagsLogGroupResponse
- listTagsLogGroupResponse_tags :: Lens' ListTagsLogGroupResponse (Maybe (HashMap Text Text))
- listTagsLogGroupResponse_httpStatus :: Lens' ListTagsLogGroupResponse Int
Creating a Request
data ListTagsLogGroup Source #
See: newListTagsLogGroup smart constructor.
Constructors
| ListTagsLogGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListTagsLogGroup |
Create a value of ListTagsLogGroup 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:ListTagsLogGroup', listTagsLogGroup_logGroupName - The name of the log group.
Request Lenses
listTagsLogGroup_logGroupName :: Lens' ListTagsLogGroup Text Source #
The name of the log group.
Destructuring the Response
data ListTagsLogGroupResponse Source #
See: newListTagsLogGroupResponse smart constructor.
Constructors
| ListTagsLogGroupResponse' | |
Instances
newListTagsLogGroupResponse Source #
Create a value of ListTagsLogGroupResponse 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:tags:ListTagsLogGroupResponse', listTagsLogGroupResponse_tags - The tags for the log group.
$sel:httpStatus:ListTagsLogGroupResponse', listTagsLogGroupResponse_httpStatus - The response's http status code.
Response Lenses
listTagsLogGroupResponse_tags :: Lens' ListTagsLogGroupResponse (Maybe (HashMap Text Text)) Source #
The tags for the log group.
listTagsLogGroupResponse_httpStatus :: Lens' ListTagsLogGroupResponse Int Source #
The response's http status code.