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 details for the specified phone number order, such as the order creation timestamp, phone numbers in E.164 format, product type, and order status.
Synopsis
- data GetPhoneNumberOrder = GetPhoneNumberOrder' {}
- newGetPhoneNumberOrder :: Text -> GetPhoneNumberOrder
- getPhoneNumberOrder_phoneNumberOrderId :: Lens' GetPhoneNumberOrder Text
- data GetPhoneNumberOrderResponse = GetPhoneNumberOrderResponse' {}
- newGetPhoneNumberOrderResponse :: Int -> GetPhoneNumberOrderResponse
- getPhoneNumberOrderResponse_phoneNumberOrder :: Lens' GetPhoneNumberOrderResponse (Maybe PhoneNumberOrder)
- getPhoneNumberOrderResponse_httpStatus :: Lens' GetPhoneNumberOrderResponse Int
Creating a Request
data GetPhoneNumberOrder Source #
See: newGetPhoneNumberOrder
smart constructor.
GetPhoneNumberOrder' | |
|
Instances
newGetPhoneNumberOrder Source #
Create a value of GetPhoneNumberOrder
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:phoneNumberOrderId:GetPhoneNumberOrder'
, getPhoneNumberOrder_phoneNumberOrderId
- The ID for the phone number order.
Request Lenses
getPhoneNumberOrder_phoneNumberOrderId :: Lens' GetPhoneNumberOrder Text Source #
The ID for the phone number order.
Destructuring the Response
data GetPhoneNumberOrderResponse Source #
See: newGetPhoneNumberOrderResponse
smart constructor.
GetPhoneNumberOrderResponse' | |
|
Instances
newGetPhoneNumberOrderResponse Source #
Create a value of GetPhoneNumberOrderResponse
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:phoneNumberOrder:GetPhoneNumberOrderResponse'
, getPhoneNumberOrderResponse_phoneNumberOrder
- The phone number order details.
$sel:httpStatus:GetPhoneNumberOrderResponse'
, getPhoneNumberOrderResponse_httpStatus
- The response's http status code.
Response Lenses
getPhoneNumberOrderResponse_phoneNumberOrder :: Lens' GetPhoneNumberOrderResponse (Maybe PhoneNumberOrder) Source #
The phone number order details.
getPhoneNumberOrderResponse_httpStatus :: Lens' GetPhoneNumberOrderResponse Int Source #
The response's http status code.