amazonka-alexa-business-1.6.0: Amazon Alexa For Business 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.AlexaBusiness.DeleteUser

Contents

Description

Deletes a specified user by user ARN and enrollment ARN.

Synopsis

Creating a Request

deleteUser Source #

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

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

  • duUserARN - The ARN of the user to delete in the organization. Required.
  • duEnrollmentId - The ARN of the user's enrollment in the organization. Required.

data DeleteUser Source #

See: deleteUser smart constructor.

Instances

Eq DeleteUser Source # 
Data DeleteUser Source # 

Methods

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

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

toConstr :: DeleteUser -> Constr #

dataTypeOf :: DeleteUser -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteUser Source # 
Show DeleteUser Source # 
Generic DeleteUser Source # 

Associated Types

type Rep DeleteUser :: * -> * #

Hashable DeleteUser Source # 
ToJSON DeleteUser Source # 
NFData DeleteUser Source # 

Methods

rnf :: DeleteUser -> () #

AWSRequest DeleteUser Source # 
ToHeaders DeleteUser Source # 

Methods

toHeaders :: DeleteUser -> [Header] #

ToPath DeleteUser Source # 
ToQuery DeleteUser Source # 
type Rep DeleteUser Source # 
type Rep DeleteUser = D1 * (MetaData "DeleteUser" "Network.AWS.AlexaBusiness.DeleteUser" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" False) (C1 * (MetaCons "DeleteUser'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_duUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_duEnrollmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DeleteUser Source # 

Request Lenses

duUserARN :: Lens' DeleteUser (Maybe Text) Source #

The ARN of the user to delete in the organization. Required.

duEnrollmentId :: Lens' DeleteUser Text Source #

The ARN of the user's enrollment in the organization. Required.

Destructuring the Response

deleteUserResponse Source #

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

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

data DeleteUserResponse Source #

See: deleteUserResponse smart constructor.

Instances

Eq DeleteUserResponse Source # 
Data DeleteUserResponse Source # 

Methods

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

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

toConstr :: DeleteUserResponse -> Constr #

dataTypeOf :: DeleteUserResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteUserResponse Source # 
Show DeleteUserResponse Source # 
Generic DeleteUserResponse Source # 
NFData DeleteUserResponse Source # 

Methods

rnf :: DeleteUserResponse -> () #

type Rep DeleteUserResponse Source # 
type Rep DeleteUserResponse = D1 * (MetaData "DeleteUserResponse" "Network.AWS.AlexaBusiness.DeleteUser" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" True) (C1 * (MetaCons "DeleteUserResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dursResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

dursResponseStatus :: Lens' DeleteUserResponse Int Source #

  • - | The response status code.