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 |
Disassociates the primary provisioned phone number from the specified Amazon Chime user.
Synopsis
- data DisassociatePhoneNumberFromUser = DisassociatePhoneNumberFromUser' {}
- newDisassociatePhoneNumberFromUser :: Text -> Text -> DisassociatePhoneNumberFromUser
- disassociatePhoneNumberFromUser_accountId :: Lens' DisassociatePhoneNumberFromUser Text
- disassociatePhoneNumberFromUser_userId :: Lens' DisassociatePhoneNumberFromUser Text
- data DisassociatePhoneNumberFromUserResponse = DisassociatePhoneNumberFromUserResponse' {
- httpStatus :: Int
- newDisassociatePhoneNumberFromUserResponse :: Int -> DisassociatePhoneNumberFromUserResponse
- disassociatePhoneNumberFromUserResponse_httpStatus :: Lens' DisassociatePhoneNumberFromUserResponse Int
Creating a Request
data DisassociatePhoneNumberFromUser Source #
See: newDisassociatePhoneNumberFromUser
smart constructor.
Instances
newDisassociatePhoneNumberFromUser Source #
Create a value of DisassociatePhoneNumberFromUser
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:DisassociatePhoneNumberFromUser'
, disassociatePhoneNumberFromUser_accountId
- The Amazon Chime account ID.
$sel:userId:DisassociatePhoneNumberFromUser'
, disassociatePhoneNumberFromUser_userId
- The user ID.
Request Lenses
disassociatePhoneNumberFromUser_accountId :: Lens' DisassociatePhoneNumberFromUser Text Source #
The Amazon Chime account ID.
disassociatePhoneNumberFromUser_userId :: Lens' DisassociatePhoneNumberFromUser Text Source #
The user ID.
Destructuring the Response
data DisassociatePhoneNumberFromUserResponse Source #
See: newDisassociatePhoneNumberFromUserResponse
smart constructor.
DisassociatePhoneNumberFromUserResponse' | |
|
Instances
newDisassociatePhoneNumberFromUserResponse Source #
Create a value of DisassociatePhoneNumberFromUserResponse
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:httpStatus:DisassociatePhoneNumberFromUserResponse'
, disassociatePhoneNumberFromUserResponse_httpStatus
- The response's http status code.
Response Lenses
disassociatePhoneNumberFromUserResponse_httpStatus :: Lens' DisassociatePhoneNumberFromUserResponse Int Source #
The response's http status code.