amazonka-alexa-business-1.6.1: 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.UpdateContact

Contents

Description

Updates the contact details by the contact ARN.

Synopsis

Creating a Request

updateContact Source #

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

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

data UpdateContact Source #

See: updateContact smart constructor.

Instances
Eq UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Data UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Methods

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

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

toConstr :: UpdateContact -> Constr #

dataTypeOf :: UpdateContact -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Show UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Generic UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Associated Types

type Rep UpdateContact :: Type -> Type #

Hashable UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

ToJSON UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

AWSRequest UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Associated Types

type Rs UpdateContact :: Type #

ToHeaders UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

ToPath UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

ToQuery UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

NFData UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Methods

rnf :: UpdateContact -> () #

type Rep UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

type Rep UpdateContact = D1 (MetaData "UpdateContact" "Network.AWS.AlexaBusiness.UpdateContact" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" False) (C1 (MetaCons "UpdateContact'" PrefixI True) ((S1 (MetaSel (Just "_ucLastName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ucPhoneNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ucFirstName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ucDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ucContactARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateContact Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Request Lenses

ucLastName :: Lens' UpdateContact (Maybe Text) Source #

The updated last name of the contact.

ucPhoneNumber :: Lens' UpdateContact (Maybe Text) Source #

The updated phone number of the contact.

ucFirstName :: Lens' UpdateContact (Maybe Text) Source #

The updated first name of the contact.

ucDisplayName :: Lens' UpdateContact (Maybe Text) Source #

The updated display name of the contact.

ucContactARN :: Lens' UpdateContact Text Source #

The ARN of the contact to update.

Destructuring the Response

updateContactResponse Source #

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

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

data UpdateContactResponse Source #

See: updateContactResponse smart constructor.

Instances
Eq UpdateContactResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Data UpdateContactResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Methods

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

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

toConstr :: UpdateContactResponse -> Constr #

dataTypeOf :: UpdateContactResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateContactResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Show UpdateContactResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Generic UpdateContactResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Associated Types

type Rep UpdateContactResponse :: Type -> Type #

NFData UpdateContactResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

Methods

rnf :: UpdateContactResponse -> () #

type Rep UpdateContactResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.UpdateContact

type Rep UpdateContactResponse = D1 (MetaData "UpdateContactResponse" "Network.AWS.AlexaBusiness.UpdateContact" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" True) (C1 (MetaCons "UpdateContactResponse'" PrefixI True) (S1 (MetaSel (Just "_ucrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

ucrsResponseStatus :: Lens' UpdateContactResponse Int Source #

  • - | The response status code.