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

Description

Retrieves details for the specified bot, such as bot email address, bot type, status, and display name.

Synopsis

Creating a Request

data GetBot Source #

See: newGetBot smart constructor.

Constructors

GetBot' 

Fields

Instances

Instances details
Eq GetBot Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Methods

(==) :: GetBot -> GetBot -> Bool #

(/=) :: GetBot -> GetBot -> Bool #

Read GetBot Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Show GetBot Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Generic GetBot Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Associated Types

type Rep GetBot :: Type -> Type #

Methods

from :: GetBot -> Rep GetBot x #

to :: Rep GetBot x -> GetBot #

NFData GetBot Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Methods

rnf :: GetBot -> () #

Hashable GetBot Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Methods

hashWithSalt :: Int -> GetBot -> Int #

hash :: GetBot -> Int #

AWSRequest GetBot Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Associated Types

type AWSResponse GetBot #

ToHeaders GetBot Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Methods

toHeaders :: GetBot -> [Header] #

ToPath GetBot Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Methods

toPath :: GetBot -> ByteString #

ToQuery GetBot Source # 
Instance details

Defined in Amazonka.Chime.GetBot

type Rep GetBot Source # 
Instance details

Defined in Amazonka.Chime.GetBot

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

Defined in Amazonka.Chime.GetBot

newGetBot Source #

Create a value of GetBot 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:accountId:GetBot', getBot_accountId - The Amazon Chime account ID.

$sel:botId:GetBot', getBot_botId - The bot ID.

Request Lenses

getBot_accountId :: Lens' GetBot Text Source #

The Amazon Chime account ID.

Destructuring the Response

data GetBotResponse Source #

See: newGetBotResponse smart constructor.

Constructors

GetBotResponse' 

Fields

Instances

Instances details
Eq GetBotResponse Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Show GetBotResponse Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Generic GetBotResponse Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Associated Types

type Rep GetBotResponse :: Type -> Type #

NFData GetBotResponse Source # 
Instance details

Defined in Amazonka.Chime.GetBot

Methods

rnf :: GetBotResponse -> () #

type Rep GetBotResponse Source # 
Instance details

Defined in Amazonka.Chime.GetBot

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

newGetBotResponse Source #

Create a value of GetBotResponse 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:GetBotResponse', getBotResponse_bot - The chat bot details.

$sel:httpStatus:GetBotResponse', getBotResponse_httpStatus - The response's http status code.

Response Lenses

getBotResponse_httpStatus :: Lens' GetBotResponse Int Source #

The response's http status code.