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 |
Gets a group.
Calling this action requires developer credentials.
Synopsis
- data GetGroup = GetGroup' {
- groupName :: Text
- userPoolId :: Text
- newGetGroup :: Text -> Text -> GetGroup
- getGroup_groupName :: Lens' GetGroup Text
- getGroup_userPoolId :: Lens' GetGroup Text
- data GetGroupResponse = GetGroupResponse' {
- group' :: Maybe GroupType
- httpStatus :: Int
- newGetGroupResponse :: Int -> GetGroupResponse
- getGroupResponse_group :: Lens' GetGroupResponse (Maybe GroupType)
- getGroupResponse_httpStatus :: Lens' GetGroupResponse Int
Creating a Request
See: newGetGroup
smart constructor.
GetGroup' | |
|
Instances
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:
$sel:groupName:GetGroup'
, getGroup_groupName
- The name of the group.
$sel:userPoolId:GetGroup'
, getGroup_userPoolId
- The user pool ID for the user pool.
Request Lenses
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 object for the group.
$sel:httpStatus:GetGroupResponse'
, getGroupResponse_httpStatus
- The response's http status code.
Response Lenses
getGroupResponse_group :: Lens' GetGroupResponse (Maybe GroupType) Source #
The group object for the group.
getGroupResponse_httpStatus :: Lens' GetGroupResponse Int Source #
The response's http status code.