Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Regenerates the security token for a bot.
Synopsis
- data RegenerateSecurityToken = RegenerateSecurityToken' {}
- newRegenerateSecurityToken :: Text -> Text -> RegenerateSecurityToken
- regenerateSecurityToken_accountId :: Lens' RegenerateSecurityToken Text
- regenerateSecurityToken_botId :: Lens' RegenerateSecurityToken Text
- data RegenerateSecurityTokenResponse = RegenerateSecurityTokenResponse' {
- bot :: Maybe Bot
- httpStatus :: Int
- newRegenerateSecurityTokenResponse :: Int -> RegenerateSecurityTokenResponse
- regenerateSecurityTokenResponse_bot :: Lens' RegenerateSecurityTokenResponse (Maybe Bot)
- regenerateSecurityTokenResponse_httpStatus :: Lens' RegenerateSecurityTokenResponse Int
Creating a Request
data RegenerateSecurityToken Source #
See: newRegenerateSecurityToken
smart constructor.
Instances
newRegenerateSecurityToken Source #
:: Text | |
-> Text | |
-> RegenerateSecurityToken |
Create a value of RegenerateSecurityToken
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:RegenerateSecurityToken'
, regenerateSecurityToken_accountId
- The Amazon Chime account ID.
$sel:botId:RegenerateSecurityToken'
, regenerateSecurityToken_botId
- The bot ID.
Request Lenses
regenerateSecurityToken_accountId :: Lens' RegenerateSecurityToken Text Source #
The Amazon Chime account ID.
regenerateSecurityToken_botId :: Lens' RegenerateSecurityToken Text Source #
The bot ID.
Destructuring the Response
data RegenerateSecurityTokenResponse Source #
See: newRegenerateSecurityTokenResponse
smart constructor.
RegenerateSecurityTokenResponse' | |
|
Instances
Eq RegenerateSecurityTokenResponse Source # | |
Show RegenerateSecurityTokenResponse Source # | |
Defined in Amazonka.Chime.RegenerateSecurityToken | |
Generic RegenerateSecurityTokenResponse Source # | |
NFData RegenerateSecurityTokenResponse Source # | |
Defined in Amazonka.Chime.RegenerateSecurityToken rnf :: RegenerateSecurityTokenResponse -> () # | |
type Rep RegenerateSecurityTokenResponse Source # | |
Defined in Amazonka.Chime.RegenerateSecurityToken type Rep RegenerateSecurityTokenResponse = D1 ('MetaData "RegenerateSecurityTokenResponse" "Amazonka.Chime.RegenerateSecurityToken" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "RegenerateSecurityTokenResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRegenerateSecurityTokenResponse Source #
Create a value of RegenerateSecurityTokenResponse
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:RegenerateSecurityTokenResponse'
, regenerateSecurityTokenResponse_bot
- Undocumented member.
$sel:httpStatus:RegenerateSecurityTokenResponse'
, regenerateSecurityTokenResponse_httpStatus
- The response's http status code.
Response Lenses
regenerateSecurityTokenResponse_bot :: Lens' RegenerateSecurityTokenResponse (Maybe Bot) Source #
Undocumented member.
regenerateSecurityTokenResponse_httpStatus :: Lens' RegenerateSecurityTokenResponse Int Source #
The response's http status code.