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