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 |
Lists the phone number orders for the administrator's Amazon Chime account.
Synopsis
- data ListPhoneNumberOrders = ListPhoneNumberOrders' {}
- newListPhoneNumberOrders :: ListPhoneNumberOrders
- listPhoneNumberOrders_nextToken :: Lens' ListPhoneNumberOrders (Maybe Text)
- listPhoneNumberOrders_maxResults :: Lens' ListPhoneNumberOrders (Maybe Natural)
- data ListPhoneNumberOrdersResponse = ListPhoneNumberOrdersResponse' {}
- newListPhoneNumberOrdersResponse :: Int -> ListPhoneNumberOrdersResponse
- listPhoneNumberOrdersResponse_phoneNumberOrders :: Lens' ListPhoneNumberOrdersResponse (Maybe [PhoneNumberOrder])
- listPhoneNumberOrdersResponse_nextToken :: Lens' ListPhoneNumberOrdersResponse (Maybe Text)
- listPhoneNumberOrdersResponse_httpStatus :: Lens' ListPhoneNumberOrdersResponse Int
Creating a Request
data ListPhoneNumberOrders Source #
See: newListPhoneNumberOrders
smart constructor.
Instances
newListPhoneNumberOrders :: ListPhoneNumberOrders Source #
Create a value of ListPhoneNumberOrders
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:nextToken:ListPhoneNumberOrders'
, listPhoneNumberOrders_nextToken
- The token to use to retrieve the next page of results.
$sel:maxResults:ListPhoneNumberOrders'
, listPhoneNumberOrders_maxResults
- The maximum number of results to return in a single call.
Request Lenses
listPhoneNumberOrders_nextToken :: Lens' ListPhoneNumberOrders (Maybe Text) Source #
The token to use to retrieve the next page of results.
listPhoneNumberOrders_maxResults :: Lens' ListPhoneNumberOrders (Maybe Natural) Source #
The maximum number of results to return in a single call.
Destructuring the Response
data ListPhoneNumberOrdersResponse Source #
See: newListPhoneNumberOrdersResponse
smart constructor.
ListPhoneNumberOrdersResponse' | |
|
Instances
newListPhoneNumberOrdersResponse Source #
Create a value of ListPhoneNumberOrdersResponse
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:phoneNumberOrders:ListPhoneNumberOrdersResponse'
, listPhoneNumberOrdersResponse_phoneNumberOrders
- The phone number order details.
$sel:nextToken:ListPhoneNumberOrders'
, listPhoneNumberOrdersResponse_nextToken
- The token to use to retrieve the next page of results.
$sel:httpStatus:ListPhoneNumberOrdersResponse'
, listPhoneNumberOrdersResponse_httpStatus
- The response's http status code.
Response Lenses
listPhoneNumberOrdersResponse_phoneNumberOrders :: Lens' ListPhoneNumberOrdersResponse (Maybe [PhoneNumberOrder]) Source #
The phone number order details.
listPhoneNumberOrdersResponse_nextToken :: Lens' ListPhoneNumberOrdersResponse (Maybe Text) Source #
The token to use to retrieve the next page of results.
listPhoneNumberOrdersResponse_httpStatus :: Lens' ListPhoneNumberOrdersResponse Int Source #
The response's http status code.