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

Contents

Description

Deletes a contact by the contact ARN.

Synopsis

Creating a Request

deleteContact Source #

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

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

data DeleteContact Source #

See: deleteContact smart constructor.

Instances

Eq DeleteContact Source # 
Data DeleteContact Source # 

Methods

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

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

toConstr :: DeleteContact -> Constr #

dataTypeOf :: DeleteContact -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteContact Source # 
Show DeleteContact Source # 
Generic DeleteContact Source # 

Associated Types

type Rep DeleteContact :: * -> * #

Hashable DeleteContact Source # 
ToJSON DeleteContact Source # 
NFData DeleteContact Source # 

Methods

rnf :: DeleteContact -> () #

AWSRequest DeleteContact Source # 
ToHeaders DeleteContact Source # 
ToPath DeleteContact Source # 
ToQuery DeleteContact Source # 
type Rep DeleteContact Source # 
type Rep DeleteContact = D1 * (MetaData "DeleteContact" "Network.AWS.AlexaBusiness.DeleteContact" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" True) (C1 * (MetaCons "DeleteContact'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dcContactARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteContact Source # 

Request Lenses

dcContactARN :: Lens' DeleteContact Text Source #

The ARN of the contact to delete.

Destructuring the Response

deleteContactResponse Source #

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

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

data DeleteContactResponse Source #

See: deleteContactResponse smart constructor.

Instances

Eq DeleteContactResponse Source # 
Data DeleteContactResponse Source # 

Methods

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

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

toConstr :: DeleteContactResponse -> Constr #

dataTypeOf :: DeleteContactResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteContactResponse Source # 
Show DeleteContactResponse Source # 
Generic DeleteContactResponse Source # 
NFData DeleteContactResponse Source # 

Methods

rnf :: DeleteContactResponse -> () #

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

Response Lenses

dcrsResponseStatus :: Lens' DeleteContactResponse Int Source #

  • - | The response status code.