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.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
ToJSON CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.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

AWSRequest CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Associated Types

type AWSResponse CreateAddressBook #

Generic CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Associated Types

type Rep CreateAddressBook :: Type -> Type #

Read CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Show CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

NFData CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Methods

rnf :: CreateAddressBook -> () #

Eq CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Hashable CreateAddressBook Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

type AWSResponse 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" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" '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))))

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.

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.

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
Generic CreateAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Associated Types

type Rep CreateAddressBookResponse :: Type -> Type #

Read CreateAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Show CreateAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

NFData CreateAddressBookResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateAddressBook

Eq 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" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" '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:

CreateAddressBookResponse, createAddressBookResponse_addressBookArn - The ARN of the newly created address book.

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

Response Lenses