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 |
Retrieves information about a phone number.
Synopsis
- data PhoneNumberValidate = PhoneNumberValidate' {}
- newPhoneNumberValidate :: NumberValidateRequest -> PhoneNumberValidate
- phoneNumberValidate_numberValidateRequest :: Lens' PhoneNumberValidate NumberValidateRequest
- data PhoneNumberValidateResponse = PhoneNumberValidateResponse' {}
- newPhoneNumberValidateResponse :: Int -> NumberValidateResponse -> PhoneNumberValidateResponse
- phoneNumberValidateResponse_httpStatus :: Lens' PhoneNumberValidateResponse Int
- phoneNumberValidateResponse_numberValidateResponse :: Lens' PhoneNumberValidateResponse NumberValidateResponse
Creating a Request
data PhoneNumberValidate Source #
See: newPhoneNumberValidate
smart constructor.
Instances
newPhoneNumberValidate Source #
Create a value of PhoneNumberValidate
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:numberValidateRequest:PhoneNumberValidate'
, phoneNumberValidate_numberValidateRequest
- Undocumented member.
Request Lenses
phoneNumberValidate_numberValidateRequest :: Lens' PhoneNumberValidate NumberValidateRequest Source #
Undocumented member.
Destructuring the Response
data PhoneNumberValidateResponse Source #
See: newPhoneNumberValidateResponse
smart constructor.
PhoneNumberValidateResponse' | |
|
Instances
newPhoneNumberValidateResponse Source #
Create a value of PhoneNumberValidateResponse
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:PhoneNumberValidateResponse'
, phoneNumberValidateResponse_httpStatus
- The response's http status code.
$sel:numberValidateResponse:PhoneNumberValidateResponse'
, phoneNumberValidateResponse_numberValidateResponse
- Undocumented member.
Response Lenses
phoneNumberValidateResponse_httpStatus :: Lens' PhoneNumberValidateResponse Int Source #
The response's http status code.
phoneNumberValidateResponse_numberValidateResponse :: Lens' PhoneNumberValidateResponse NumberValidateResponse Source #
Undocumented member.