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

Description

Creates an address book with the specified details.

Synopsis

Creating a Request

data CreateAddressBook Source #

See: newCreateAddressBook smart constructor.

Constructors

CreateAddressBook' 

Fields

Instances

Instances details
Eq CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Read CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Show CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Generic CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Associated Types

type Rep CreateAddressBook :: Type -> Type #

NFData CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Methods

rnf :: CreateAddressBook -> () #

Hashable CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

ToJSON CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

AWSRequest CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Associated Types

type AWSResponse CreateAddressBook #

ToHeaders CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

ToPath CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

ToQuery CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

type Rep CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

type Rep CreateAddressBook = D1 ('MetaData "CreateAddressBook" "Amazonka.AlexaBusiness.CreateAddressBook" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "CreateAddressBook'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

newCreateAddressBook Source #

Create a value of CreateAddressBook 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:clientRequestToken:CreateAddressBook', createAddressBook_clientRequestToken - A unique, user-specified identifier for the request that ensures idempotency.

$sel:description:CreateAddressBook', createAddressBook_description - The description of the address book.

$sel:tags:CreateAddressBook', createAddressBook_tags - The tags to be added to the specified resource. Do not provide system tags.

$sel:name:CreateAddressBook', createAddressBook_name - The name of the address book.

Request Lenses

createAddressBook_clientRequestToken :: Lens' CreateAddressBook (Maybe Text) Source #

A unique, user-specified identifier for the request that ensures idempotency.

createAddressBook_description :: Lens' CreateAddressBook (Maybe Text) Source #

The description of the address book.

createAddressBook_tags :: Lens' CreateAddressBook (Maybe [Tag]) Source #

The tags to be added to the specified resource. Do not provide system tags.

createAddressBook_name :: Lens' CreateAddressBook Text Source #

The name of the address book.

Destructuring the Response

data CreateAddressBookResponse Source #

See: newCreateAddressBookResponse smart constructor.

Constructors

CreateAddressBookResponse' 

Fields

Instances

Instances details
Eq CreateAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Read CreateAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Show CreateAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Generic CreateAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Associated Types

type Rep CreateAddressBookResponse :: Type -> Type #

NFData CreateAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

type Rep CreateAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

type Rep CreateAddressBookResponse = D1 ('MetaData "CreateAddressBookResponse" "Amazonka.AlexaBusiness.CreateAddressBook" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "CreateAddressBookResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "addressBookArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateAddressBookResponse Source #

Create a value of CreateAddressBookResponse 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:addressBookArn:CreateAddressBookResponse', createAddressBookResponse_addressBookArn - The ARN of the newly created address book.

$sel:httpStatus:CreateAddressBookResponse', createAddressBookResponse_httpStatus - The response's http status code.

Response Lenses