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 |
Moves a phone number from the Deletion queue back into the phone number Inventory.
Synopsis
- data RestorePhoneNumber = RestorePhoneNumber' {}
- newRestorePhoneNumber :: Text -> RestorePhoneNumber
- restorePhoneNumber_phoneNumberId :: Lens' RestorePhoneNumber Text
- data RestorePhoneNumberResponse = RestorePhoneNumberResponse' {}
- newRestorePhoneNumberResponse :: Int -> RestorePhoneNumberResponse
- restorePhoneNumberResponse_phoneNumber :: Lens' RestorePhoneNumberResponse (Maybe PhoneNumber)
- restorePhoneNumberResponse_httpStatus :: Lens' RestorePhoneNumberResponse Int
Creating a Request
data RestorePhoneNumber Source #
See: newRestorePhoneNumber
smart constructor.
RestorePhoneNumber' | |
|
Instances
newRestorePhoneNumber Source #
Create a value of RestorePhoneNumber
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:phoneNumberId:RestorePhoneNumber'
, restorePhoneNumber_phoneNumberId
- The phone number.
Request Lenses
restorePhoneNumber_phoneNumberId :: Lens' RestorePhoneNumber Text Source #
The phone number.
Destructuring the Response
data RestorePhoneNumberResponse Source #
See: newRestorePhoneNumberResponse
smart constructor.
RestorePhoneNumberResponse' | |
|
Instances
newRestorePhoneNumberResponse Source #
Create a value of RestorePhoneNumberResponse
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:phoneNumber:RestorePhoneNumberResponse'
, restorePhoneNumberResponse_phoneNumber
- The phone number details.
$sel:httpStatus:RestorePhoneNumberResponse'
, restorePhoneNumberResponse_httpStatus
- The response's http status code.
Response Lenses
restorePhoneNumberResponse_phoneNumber :: Lens' RestorePhoneNumberResponse (Maybe PhoneNumber) Source #
The phone number details.
restorePhoneNumberResponse_httpStatus :: Lens' RestorePhoneNumberResponse Int Source #
The response's http status code.