| 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 |
Amazonka.CognitoIdentityProvider.GetGroup
Description
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.
Constructors
| GetGroup' | |
Fields
| |
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:
GetGroup, getGroup_groupName - The name of the group.
GetGroup, getGroup_userPoolId - The user pool ID for the user pool.
Request Lenses
Destructuring the Response
data GetGroupResponse Source #
See: newGetGroupResponse smart constructor.
Constructors
| GetGroupResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetGroupResponse |
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.