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

Description

Updates the status of the specified bot, such as starting or stopping the bot from running in your Amazon Chime Enterprise account.

Synopsis

Creating a Request

data UpdateBot Source #

See: newUpdateBot smart constructor.

Constructors

UpdateBot' 

Fields

Instances

Instances details
Eq UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Read UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Show UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Generic UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Associated Types

type Rep UpdateBot :: Type -> Type #

NFData UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Methods

rnf :: UpdateBot -> () #

Hashable UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

ToJSON UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

AWSRequest UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Associated Types

type AWSResponse UpdateBot #

ToHeaders UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Methods

toHeaders :: UpdateBot -> [Header] #

ToPath UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

ToQuery UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

type Rep UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

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

Defined in Amazonka.Chime.UpdateBot

newUpdateBot Source #

Create a value of UpdateBot 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:disabled:UpdateBot', updateBot_disabled - When true, stops the specified bot from running in your account.

$sel:accountId:UpdateBot', updateBot_accountId - The Amazon Chime account ID.

$sel:botId:UpdateBot', updateBot_botId - The bot ID.

Request Lenses

updateBot_disabled :: Lens' UpdateBot (Maybe Bool) Source #

When true, stops the specified bot from running in your account.

updateBot_accountId :: Lens' UpdateBot Text Source #

The Amazon Chime account ID.

Destructuring the Response

data UpdateBotResponse Source #

See: newUpdateBotResponse smart constructor.

Constructors

UpdateBotResponse' 

Fields

Instances

Instances details
Eq UpdateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Show UpdateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Generic UpdateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Associated Types

type Rep UpdateBotResponse :: Type -> Type #

NFData UpdateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Methods

rnf :: UpdateBotResponse -> () #

type Rep UpdateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

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

newUpdateBotResponse Source #

Create a value of UpdateBotResponse 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:UpdateBotResponse', updateBotResponse_bot - The updated bot details.

$sel:httpStatus:UpdateBotResponse', updateBotResponse_httpStatus - The response's http status code.

Response Lenses

updateBotResponse_httpStatus :: Lens' UpdateBotResponse Int Source #

The response's http status code.