amazonka-cognito-idp-1.6.0: Amazon Cognito Identity Provider SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CognitoIdentityProvider.GetGroup

Contents

Description

Gets a group.

Requires developer credentials.

Synopsis

Creating a Request

getGroup Source #

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:

data GetGroup Source #

See: getGroup smart constructor.

Instances

Eq GetGroup Source # 
Data GetGroup Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetGroup -> c GetGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetGroup #

toConstr :: GetGroup -> Constr #

dataTypeOf :: GetGroup -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetGroup) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetGroup) #

gmapT :: (forall b. Data b => b -> b) -> GetGroup -> GetGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetGroup -> m GetGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetGroup -> m GetGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetGroup -> m GetGroup #

Read GetGroup Source # 
Show GetGroup Source # 
Generic GetGroup Source # 

Associated Types

type Rep GetGroup :: * -> * #

Methods

from :: GetGroup -> Rep GetGroup x #

to :: Rep GetGroup x -> GetGroup #

Hashable GetGroup Source # 

Methods

hashWithSalt :: Int -> GetGroup -> Int #

hash :: GetGroup -> Int #

ToJSON GetGroup Source # 
NFData GetGroup Source # 

Methods

rnf :: GetGroup -> () #

AWSRequest GetGroup Source # 
ToHeaders GetGroup Source # 

Methods

toHeaders :: GetGroup -> [Header] #

ToPath GetGroup Source # 
ToQuery GetGroup Source # 
type Rep GetGroup Source # 
type Rep GetGroup = D1 * (MetaData "GetGroup" "Network.AWS.CognitoIdentityProvider.GetGroup" "amazonka-cognito-idp-1.6.0-JhJp6CX0k821Z1WSNBuBfd" False) (C1 * (MetaCons "GetGroup'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ggGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ggUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetGroup Source # 

Request Lenses

ggGroupName :: Lens' GetGroup Text Source #

The name of the group.

ggUserPoolId :: Lens' GetGroup Text Source #

The user pool ID for the user pool.

Destructuring the Response

getGroupResponse Source #

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:

data GetGroupResponse Source #

See: getGroupResponse smart constructor.

Instances

Eq GetGroupResponse Source # 
Data GetGroupResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetGroupResponse -> c GetGroupResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetGroupResponse #

toConstr :: GetGroupResponse -> Constr #

dataTypeOf :: GetGroupResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetGroupResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetGroupResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetGroupResponse -> GetGroupResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetGroupResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetGroupResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetGroupResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetGroupResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetGroupResponse -> m GetGroupResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetGroupResponse -> m GetGroupResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetGroupResponse -> m GetGroupResponse #

Read GetGroupResponse Source # 
Show GetGroupResponse Source # 
Generic GetGroupResponse Source # 
NFData GetGroupResponse Source # 

Methods

rnf :: GetGroupResponse -> () #

type Rep GetGroupResponse Source # 
type Rep GetGroupResponse = D1 * (MetaData "GetGroupResponse" "Network.AWS.CognitoIdentityProvider.GetGroup" "amazonka-cognito-idp-1.6.0-JhJp6CX0k821Z1WSNBuBfd" False) (C1 * (MetaCons "GetGroupResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ggrsGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe GroupType))) (S1 * (MetaSel (Just Symbol "_ggrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

ggrsGroup :: Lens' GetGroupResponse (Maybe GroupType) Source #

The group object for the group.

ggrsResponseStatus :: Lens' GetGroupResponse Int Source #

  • - | The response status code.