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.DeleteGroup

Contents

Description

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

Requires developer credentials.

Synopsis

Creating a Request

deleteGroup #

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 #

See: deleteGroup smart constructor.

Instances
Eq DeleteGroup # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Data DeleteGroup # 
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 # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Show DeleteGroup # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Generic DeleteGroup # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Associated Types

type Rep DeleteGroup :: * -> * #

Hashable DeleteGroup # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

ToJSON DeleteGroup # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

AWSRequest DeleteGroup # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Associated Types

type Rs DeleteGroup :: * #

ToHeaders DeleteGroup # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Methods

toHeaders :: DeleteGroup -> [Header] #

ToPath DeleteGroup # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

ToQuery DeleteGroup # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

NFData DeleteGroup # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Methods

rnf :: DeleteGroup -> () #

type Rep DeleteGroup # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

type Rep DeleteGroup = D1 (MetaData "DeleteGroup" "Network.AWS.CognitoIdentityProvider.DeleteGroup" "amazonka-cognito-idp-1.6.0-7SljkxAhdrGDTNozW2RuYv" 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 # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Request Lenses

dgGroupName :: Lens' DeleteGroup Text #

The name of the group.

dgUserPoolId :: Lens' DeleteGroup Text #

The user pool ID for the user pool.

Destructuring the Response

deleteGroupResponse :: DeleteGroupResponse #

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

data DeleteGroupResponse #

See: deleteGroupResponse smart constructor.

Instances
Eq DeleteGroupResponse # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Data DeleteGroupResponse # 
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 # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Show DeleteGroupResponse # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Generic DeleteGroupResponse # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Associated Types

type Rep DeleteGroupResponse :: * -> * #

NFData DeleteGroupResponse # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

Methods

rnf :: DeleteGroupResponse -> () #

type Rep DeleteGroupResponse # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteGroup

type Rep DeleteGroupResponse = D1 (MetaData "DeleteGroupResponse" "Network.AWS.CognitoIdentityProvider.DeleteGroup" "amazonka-cognito-idp-1.6.0-7SljkxAhdrGDTNozW2RuYv" False) (C1 (MetaCons "DeleteGroupResponse'" PrefixI False) (U1 :: * -> *))