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 |
Resets the personal meeting PIN for the specified user on an Amazon Chime account. Returns the User object with the updated personal meeting PIN.
Synopsis
- data ResetPersonalPIN = ResetPersonalPIN' {}
- newResetPersonalPIN :: Text -> Text -> ResetPersonalPIN
- resetPersonalPIN_accountId :: Lens' ResetPersonalPIN Text
- resetPersonalPIN_userId :: Lens' ResetPersonalPIN Text
- data ResetPersonalPINResponse = ResetPersonalPINResponse' {
- user :: Maybe User
- httpStatus :: Int
- newResetPersonalPINResponse :: Int -> ResetPersonalPINResponse
- resetPersonalPINResponse_user :: Lens' ResetPersonalPINResponse (Maybe User)
- resetPersonalPINResponse_httpStatus :: Lens' ResetPersonalPINResponse Int
Creating a Request
data ResetPersonalPIN Source #
See: newResetPersonalPIN
smart constructor.
Instances
Create a value of ResetPersonalPIN
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:ResetPersonalPIN'
, resetPersonalPIN_accountId
- The Amazon Chime account ID.
$sel:userId:ResetPersonalPIN'
, resetPersonalPIN_userId
- The user ID.
Request Lenses
resetPersonalPIN_accountId :: Lens' ResetPersonalPIN Text Source #
The Amazon Chime account ID.
resetPersonalPIN_userId :: Lens' ResetPersonalPIN Text Source #
The user ID.
Destructuring the Response
data ResetPersonalPINResponse Source #
See: newResetPersonalPINResponse
smart constructor.
ResetPersonalPINResponse' | |
|
Instances
newResetPersonalPINResponse Source #
Create a value of ResetPersonalPINResponse
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:user:ResetPersonalPINResponse'
, resetPersonalPINResponse_user
- The user details and new personal meeting PIN.
$sel:httpStatus:ResetPersonalPINResponse'
, resetPersonalPINResponse_httpStatus
- The response's http status code.
Response Lenses
resetPersonalPINResponse_user :: Lens' ResetPersonalPINResponse (Maybe User) Source #
The user details and new personal meeting PIN.
resetPersonalPINResponse_httpStatus :: Lens' ResetPersonalPINResponse Int Source #
The response's http status code.