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

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

Read AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

Show 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 #

NFData AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

Hashable AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

ToJSON AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

AWSRequest 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

type Rep AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

type Rep AssociateContactWithAddressBook = D1 ('MetaData "AssociateContactWithAddressBook" "Amazonka.AlexaBusiness.AssociateContactWithAddressBook" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "AssociateContactWithAddressBook'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "addressBookArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AssociateContactWithAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

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:

$sel:contactArn:AssociateContactWithAddressBook', associateContactWithAddressBook_contactArn - The ARN of the contact to associate with an address book.

$sel:addressBookArn: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
Eq 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

Generic AssociateContactWithAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.AssociateContactWithAddressBook

NFData 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" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" '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