libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Show UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Generic UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Associated Types

type Rep UpdateContact :: Type -> Type #

NFData UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Methods

rnf :: UpdateContact -> () #

Hashable UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

ToJSON UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

AWSRequest UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Associated Types

type AWSResponse 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

type Rep UpdateContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

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

Defined in Amazonka.AlexaBusiness.UpdateContact

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:

$sel:lastName:UpdateContact', updateContact_lastName - The updated last name of the contact.

$sel:phoneNumbers:UpdateContact', updateContact_phoneNumbers - The list of phone numbers for the contact.

$sel:phoneNumber: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.

$sel:sipAddresses:UpdateContact', updateContact_sipAddresses - The list of SIP addresses for the contact.

$sel:firstName:UpdateContact', updateContact_firstName - The updated first name of the contact.

$sel:displayName:UpdateContact', updateContact_displayName - The updated display name of the contact.

$sel:contactArn:UpdateContact', updateContact_contactArn - The ARN of the contact to update.

Request Lenses

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

The updated last name of the contact.

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

The list of phone numbers for 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_sipAddresses :: Lens' UpdateContact (Maybe [SipAddress]) Source #

The list of SIP addresses for the contact.

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

The updated first name of the contact.

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

The updated display name of 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
Eq UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Read UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Show UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Generic UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Associated Types

type Rep UpdateContactResponse :: Type -> Type #

NFData UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

Methods

rnf :: UpdateContactResponse -> () #

type Rep UpdateContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateContact

type Rep UpdateContactResponse = D1 ('MetaData "UpdateContactResponse" "Amazonka.AlexaBusiness.UpdateContact" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" '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