amazonka-chime-2.0: Amazon Chime 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.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
ToJSON UpdateBot Source # 
Instance details

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

AWSRequest UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Associated Types

type AWSResponse UpdateBot #

Generic UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Associated Types

type Rep UpdateBot :: Type -> Type #

Read UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Show UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

NFData UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Methods

rnf :: UpdateBot -> () #

Eq UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Hashable UpdateBot Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

type AWSResponse 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" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" '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))))

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:

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

UpdateBot, updateBot_accountId - The Amazon Chime account ID.

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

Defined in Amazonka.Chime.UpdateBot

Associated Types

type Rep UpdateBotResponse :: Type -> Type #

Show UpdateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

NFData UpdateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

Methods

rnf :: UpdateBotResponse -> () #

Eq UpdateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

type Rep UpdateBotResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateBot

type Rep UpdateBotResponse = D1 ('MetaData "UpdateBotResponse" "Amazonka.Chime.UpdateBot" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" '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.