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

Description

Associates a contact with a given address book.

Synopsis

Creating a Request

data AssociateContactWithAddressBook Source #

See: newAssociateContactWithAddressBook smart constructor.

Constructors

AssociateContactWithAddressBook' 

Fields

  • contactArn :: Text

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

  • addressBookArn :: Text

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

Instances

Instances details
ToJSON AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

ToHeaders AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

ToPath AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

ToQuery AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

AWSRequest AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

Generic AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

Associated Types

type Rep AssociateContactWithAddressBook :: Type -> Type #

Read AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

Show AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

NFData AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

Eq AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

Hashable AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

type AWSResponse AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

type Rep AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

type Rep AssociateContactWithAddressBook = D1 ('MetaData "AssociateContactWithAddressBook" "Amazonka.AlexaBusiness.AssociateContactWithAddressBook" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "AssociateContactWithAddressBook'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "addressBookArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAssociateContactWithAddressBook Source #

Create a value of AssociateContactWithAddressBook 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:

AssociateContactWithAddressBook, associateContactWithAddressBook_contactArn - The ARN of the contact to associate with an address book.

AssociateContactWithAddressBook, associateContactWithAddressBook_addressBookArn - The ARN of the address book with which to associate the contact.

Request Lenses

associateContactWithAddressBook_contactArn :: Lens' AssociateContactWithAddressBook Text Source #

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

associateContactWithAddressBook_addressBookArn :: Lens' AssociateContactWithAddressBook Text Source #

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

Destructuring the Response

data AssociateContactWithAddressBookResponse Source #

Constructors

AssociateContactWithAddressBookResponse' 

Fields

Instances

Instances details
Generic AssociateContactWithAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

Read AssociateContactWithAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

Show AssociateContactWithAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

NFData AssociateContactWithAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

Eq AssociateContactWithAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

type Rep AssociateContactWithAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

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

newAssociateContactWithAddressBookResponse Source #

Create a value of AssociateContactWithAddressBookResponse 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:AssociateContactWithAddressBookResponse', associateContactWithAddressBookResponse_httpStatus - The response's http status code.

Response Lenses