| Copyright | (c) 2013-2017 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 |
| Language | Haskell2010 |
Network.AWS.CognitoIdentityProvider.GetGroup
Description
Gets a group.
Requires developer credentials.
- getGroup :: Text -> Text -> GetGroup
- data GetGroup
- ggGroupName :: Lens' GetGroup Text
- ggUserPoolId :: Lens' GetGroup Text
- getGroupResponse :: Int -> GetGroupResponse
- data GetGroupResponse
- ggrsGroup :: Lens' GetGroupResponse (Maybe GroupType)
- ggrsResponseStatus :: Lens' GetGroupResponse Int
Creating a Request
Creates a value of GetGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ggGroupName- The name of the group.ggUserPoolId- The user pool ID for the user pool.
See: getGroup smart constructor.
Instances
Request Lenses
Destructuring the Response
Arguments
| :: Int | |
| -> GetGroupResponse |
Creates a value of GetGroupResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ggrsGroup- The group object for the group.ggrsResponseStatus- -- | The response status code.
data GetGroupResponse Source #
See: getGroupResponse smart constructor.
Response Lenses
ggrsResponseStatus :: Lens' GetGroupResponse Int Source #
- - | The response status code.