libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.CreateBot

Description

Creates a bot for an Amazon Chime Enterprise account.

Synopsis

Creating a Request

data CreateBot Source #

See: newCreateBot smart constructor.

Constructors

CreateBot' 

Fields

Instances

Instances details
Eq CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

Show CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

Generic CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

Associated Types

type Rep CreateBot :: Type -> Type #

NFData CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

Methods

rnf :: CreateBot -> () #

Hashable CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

ToJSON CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

AWSRequest CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

Associated Types

type AWSResponse CreateBot #

ToHeaders CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

Methods

toHeaders :: CreateBot -> [Header] #

ToPath CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

ToQuery CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

type Rep CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

type Rep CreateBot = D1 ('MetaData "CreateBot" "Amazonka.Chime.CreateBot" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "CreateBot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateBot Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

newCreateBot Source #

Create a value of CreateBot 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:domain:CreateBot', createBot_domain - The domain of the Amazon Chime Enterprise account.

$sel:displayName:CreateBot', createBot_displayName - The bot display name.

$sel:accountId:CreateBot', createBot_accountId - The Amazon Chime account ID.

Request Lenses

createBot_domain :: Lens' CreateBot (Maybe Text) Source #

The domain of the Amazon Chime Enterprise account.

createBot_accountId :: Lens' CreateBot Text Source #

The Amazon Chime account ID.

Destructuring the Response

data CreateBotResponse Source #

See: newCreateBotResponse smart constructor.

Constructors

CreateBotResponse' 

Fields

Instances

Instances details
Eq CreateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

Show CreateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

Generic CreateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

Associated Types

type Rep CreateBotResponse :: Type -> Type #

NFData CreateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

Methods

rnf :: CreateBotResponse -> () #

type Rep CreateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateBot

type Rep CreateBotResponse = D1 ('MetaData "CreateBotResponse" "Amazonka.Chime.CreateBot" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "CreateBotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateBotResponse Source #

Create a value of CreateBotResponse 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:bot:CreateBotResponse', createBotResponse_bot - The bot details.

$sel:httpStatus:CreateBotResponse', createBotResponse_httpStatus - The response's http status code.

Response Lenses

createBotResponse_httpStatus :: Lens' CreateBotResponse Int Source #

The response's http status code.