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

Contents

Description

Associates a contact with a given address book.

Synopsis

Creating a Request

associateContactWithAddressBook Source #

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

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

data AssociateContactWithAddressBook Source #

See: associateContactWithAddressBook smart constructor.

Instances

Eq AssociateContactWithAddressBook Source # 
Data AssociateContactWithAddressBook Source # 

Methods

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

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

toConstr :: AssociateContactWithAddressBook -> Constr #

dataTypeOf :: AssociateContactWithAddressBook -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateContactWithAddressBook Source # 
Show AssociateContactWithAddressBook Source # 
Generic AssociateContactWithAddressBook Source # 
Hashable AssociateContactWithAddressBook Source # 
ToJSON AssociateContactWithAddressBook Source # 
NFData AssociateContactWithAddressBook Source # 
AWSRequest AssociateContactWithAddressBook Source # 
ToHeaders AssociateContactWithAddressBook Source # 
ToPath AssociateContactWithAddressBook Source # 
ToQuery AssociateContactWithAddressBook Source # 
type Rep AssociateContactWithAddressBook Source # 
type Rep AssociateContactWithAddressBook = D1 * (MetaData "AssociateContactWithAddressBook" "Network.AWS.AlexaBusiness.AssociateContactWithAddressBook" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" False) (C1 * (MetaCons "AssociateContactWithAddressBook'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_acwabContactARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_acwabAddressBookARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs AssociateContactWithAddressBook Source # 

Request Lenses

acwabContactARN :: Lens' AssociateContactWithAddressBook Text Source #

The ARN of the contact to associate with an address book.

acwabAddressBookARN :: Lens' AssociateContactWithAddressBook Text Source #

The ARN of the address book with which to associate the contact.

Destructuring the Response

associateContactWithAddressBookResponse Source #

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

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

data AssociateContactWithAddressBookResponse Source #

Instances

Eq AssociateContactWithAddressBookResponse Source # 
Data AssociateContactWithAddressBookResponse Source # 

Methods

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

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

toConstr :: AssociateContactWithAddressBookResponse -> Constr #

dataTypeOf :: AssociateContactWithAddressBookResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateContactWithAddressBookResponse Source # 
Show AssociateContactWithAddressBookResponse Source # 
Generic AssociateContactWithAddressBookResponse Source # 
NFData AssociateContactWithAddressBookResponse Source # 
type Rep AssociateContactWithAddressBookResponse Source # 
type Rep AssociateContactWithAddressBookResponse = D1 * (MetaData "AssociateContactWithAddressBookResponse" "Network.AWS.AlexaBusiness.AssociateContactWithAddressBook" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" True) (C1 * (MetaCons "AssociateContactWithAddressBookResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_acwabrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses