| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ChimeSdkVoice.UpdatePhoneNumber
Description
- - | Undocumented operation.
Synopsis
- data UpdatePhoneNumber = UpdatePhoneNumber' {}
- newUpdatePhoneNumber :: Text -> UpdatePhoneNumber
- updatePhoneNumber_callingName :: Lens' UpdatePhoneNumber (Maybe Text)
- updatePhoneNumber_productType :: Lens' UpdatePhoneNumber (Maybe PhoneNumberProductType)
- updatePhoneNumber_phoneNumberId :: Lens' UpdatePhoneNumber Text
- data UpdatePhoneNumberResponse = UpdatePhoneNumberResponse' {}
- newUpdatePhoneNumberResponse :: Int -> UpdatePhoneNumberResponse
- updatePhoneNumberResponse_phoneNumber :: Lens' UpdatePhoneNumberResponse (Maybe PhoneNumber)
- updatePhoneNumberResponse_httpStatus :: Lens' UpdatePhoneNumberResponse Int
Creating a Request
data UpdatePhoneNumber Source #
See: newUpdatePhoneNumber smart constructor.
Constructors
| UpdatePhoneNumber' | |
Fields | |
Instances
Arguments
| :: Text | |
| -> UpdatePhoneNumber |
Create a value of UpdatePhoneNumber 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:
UpdatePhoneNumber, updatePhoneNumber_callingName - Undocumented member.
UpdatePhoneNumber, updatePhoneNumber_productType - Undocumented member.
UpdatePhoneNumber, updatePhoneNumber_phoneNumberId - Undocumented member.
Request Lenses
updatePhoneNumber_callingName :: Lens' UpdatePhoneNumber (Maybe Text) Source #
Undocumented member.
updatePhoneNumber_productType :: Lens' UpdatePhoneNumber (Maybe PhoneNumberProductType) Source #
Undocumented member.
updatePhoneNumber_phoneNumberId :: Lens' UpdatePhoneNumber Text Source #
Undocumented member.
Destructuring the Response
data UpdatePhoneNumberResponse Source #
See: newUpdatePhoneNumberResponse smart constructor.
Constructors
| UpdatePhoneNumberResponse' | |
Fields
| |
Instances
newUpdatePhoneNumberResponse Source #
Create a value of UpdatePhoneNumberResponse 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:
UpdatePhoneNumberResponse, updatePhoneNumberResponse_phoneNumber - Undocumented member.
$sel:httpStatus:UpdatePhoneNumberResponse', updatePhoneNumberResponse_httpStatus - The response's http status code.
Response Lenses
updatePhoneNumberResponse_phoneNumber :: Lens' UpdatePhoneNumberResponse (Maybe PhoneNumber) Source #
Undocumented member.
updatePhoneNumberResponse_httpStatus :: Lens' UpdatePhoneNumberResponse Int Source #
The response's http status code.