amazonka-alexa-business-2.0: Amazon Alexa For Business SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AlexaBusiness.UpdateContact

Description

Updates the contact details by the contact ARN.

Synopsis

Creating a Request

data UpdateContact Source #

See: newUpdateContact smart constructor.

Constructors

UpdateContact' 

Fields

Instances

Instances details
ToJSON UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

ToHeaders UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

ToPath UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

ToQuery UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

AWSRequest UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Associated Types

type AWSResponse UpdateContact #

Generic UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Associated Types

type Rep UpdateContact :: Type -> Type #

Show UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

NFData UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Methods

rnf :: UpdateContact -> () #

Eq UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Hashable UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

type AWSResponse UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

type Rep UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

type Rep UpdateContact = D1 ('MetaData "UpdateContact" "Amazonka.AlexaBusiness.UpdateContact" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "UpdateContact'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "firstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "phoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumber]))) :*: (S1 ('MetaSel ('Just "sipAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SipAddress])) :*: S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateContact Source #

Create a value of UpdateContact with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateContact, updateContact_displayName - The updated display name of the contact.

UpdateContact, updateContact_firstName - The updated first name of the contact.

UpdateContact, updateContact_lastName - The updated last name of the contact.

UpdateContact, updateContact_phoneNumber - The updated phone number of the contact. The phone number type defaults to WORK. You can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.

UpdateContact, updateContact_phoneNumbers - The list of phone numbers for the contact.

UpdateContact, updateContact_sipAddresses - The list of SIP addresses for the contact.

UpdateContact, updateContact_contactArn - The ARN of the contact to update.

Request Lenses

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

The updated display name of the contact.

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

The updated first name of the contact.

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

The updated last name of the contact.

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

The updated phone number of the contact. The phone number type defaults to WORK. You can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.

updateContact_phoneNumbers :: Lens' UpdateContact (Maybe [PhoneNumber]) Source #

The list of phone numbers for the contact.

updateContact_sipAddresses :: Lens' UpdateContact (Maybe [SipAddress]) Source #

The list of SIP addresses for the contact.

updateContact_contactArn :: Lens' UpdateContact Text Source #

The ARN of the contact to update.

Destructuring the Response

data UpdateContactResponse Source #

See: newUpdateContactResponse smart constructor.

Constructors

UpdateContactResponse' 

Fields

Instances

Instances details
Generic UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Associated Types

type Rep UpdateContactResponse :: Type -> Type #

Read UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Show UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

NFData UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Methods

rnf :: UpdateContactResponse -> () #

Eq UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

type Rep UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

type Rep UpdateContactResponse = D1 ('MetaData "UpdateContactResponse" "Amazonka.AlexaBusiness.UpdateContact" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "UpdateContactResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateContactResponse Source #

Create a value of UpdateContactResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateContactResponse', updateContactResponse_httpStatus - The response's http status code.

Response Lenses