Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves group resource details.
Synopsis
- data GetGroup = GetGroup' {}
- newGetGroup :: GetGroup
- getGroup_groupARN :: Lens' GetGroup (Maybe Text)
- getGroup_groupName :: Lens' GetGroup (Maybe Text)
- data GetGroupResponse = GetGroupResponse' {
- group' :: Maybe Group
- httpStatus :: Int
- newGetGroupResponse :: Int -> GetGroupResponse
- getGroupResponse_group :: Lens' GetGroupResponse (Maybe Group)
- getGroupResponse_httpStatus :: Lens' GetGroupResponse Int
Creating a Request
See: newGetGroup
smart constructor.
Instances
newGetGroup :: GetGroup Source #
Create a value of GetGroup
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:
GetGroup
, getGroup_groupARN
- The ARN of the group that was generated on creation.
GetGroup
, getGroup_groupName
- The case-sensitive name of the group.
Request Lenses
getGroup_groupARN :: Lens' GetGroup (Maybe Text) Source #
The ARN of the group that was generated on creation.
Destructuring the Response
data GetGroupResponse Source #
See: newGetGroupResponse
smart constructor.
GetGroupResponse' | |
|
Instances
Create a value of GetGroupResponse
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:group':GetGroupResponse'
, getGroupResponse_group
- The group that was requested. Contains the name of the group, the ARN of
the group, the filter expression, and the insight configuration assigned
to the group.
GetGroupResponse
, getGroupResponse_httpStatus
- The response's http status code.
Response Lenses
getGroupResponse_group :: Lens' GetGroupResponse (Maybe Group) Source #
The group that was requested. Contains the name of the group, the ARN of the group, the filter expression, and the insight configuration assigned to the group.
getGroupResponse_httpStatus :: Lens' GetGroupResponse Int Source #
The response's http status code.