amazonka-cognito-idp-1.6.1: 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.DeleteGroup

Contents

Description

Deletes a group. Currently only groups with no members can be deleted.

Requires developer credentials.

Synopsis

Creating a Request

deleteGroup Source #

Creates a value of DeleteGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DeleteGroup Source #

See: deleteGroup smart constructor.

Instances
Eq DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Data DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Methods

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

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

toConstr :: DeleteGroup -> Constr #

dataTypeOf :: DeleteGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Show DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Generic DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Associated Types

type Rep DeleteGroup :: Type -> Type #

Hashable DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

ToJSON DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

AWSRequest DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Associated Types

type Rs DeleteGroup :: Type #

ToHeaders DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Methods

toHeaders :: DeleteGroup -> [Header] #

ToPath DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

ToQuery DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

NFData DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Methods

rnf :: DeleteGroup -> () #

type Rep DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

type Rep DeleteGroup = D1 (MetaData "DeleteGroup" "Network.AWS.CognitoIdentityProvider.DeleteGroup" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "DeleteGroup'" PrefixI True) (S1 (MetaSel (Just "_dgGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dgUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Request Lenses

dgGroupName :: Lens' DeleteGroup Text Source #

The name of the group.

dgUserPoolId :: Lens' DeleteGroup Text Source #

The user pool ID for the user pool.

Destructuring the Response

deleteGroupResponse :: DeleteGroupResponse Source #

Creates a value of DeleteGroupResponse with the minimum fields required to make a request.

data DeleteGroupResponse Source #

See: deleteGroupResponse smart constructor.

Instances
Eq DeleteGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Data DeleteGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Methods

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

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

toConstr :: DeleteGroupResponse -> Constr #

dataTypeOf :: DeleteGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Show DeleteGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Generic DeleteGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Associated Types

type Rep DeleteGroupResponse :: Type -> Type #

NFData DeleteGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Methods

rnf :: DeleteGroupResponse -> () #

type Rep DeleteGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

type Rep DeleteGroupResponse = D1 (MetaData "DeleteGroupResponse" "Network.AWS.CognitoIdentityProvider.DeleteGroup" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "DeleteGroupResponse'" PrefixI False) (U1 :: Type -> Type))