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 names and codes for the services integrated with Service Quotas.
This operation returns paginated results.
Synopsis
- data ListServices = ListServices' {}
- newListServices :: ListServices
- listServices_nextToken :: Lens' ListServices (Maybe Text)
- listServices_maxResults :: Lens' ListServices (Maybe Natural)
- data ListServicesResponse = ListServicesResponse' {
- nextToken :: Maybe Text
- services :: Maybe [ServiceInfo]
- httpStatus :: Int
- newListServicesResponse :: Int -> ListServicesResponse
- listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text)
- listServicesResponse_services :: Lens' ListServicesResponse (Maybe [ServiceInfo])
- listServicesResponse_httpStatus :: Lens' ListServicesResponse Int
Creating a Request
data ListServices Source #
See: newListServices
smart constructor.
Instances
newListServices :: ListServices Source #
Create a value of ListServices
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:ListServices'
, listServices_nextToken
- The token for the next page of results.
$sel:maxResults:ListServices'
, listServices_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, if any, make another call with the token returned
from this call.
Request Lenses
listServices_nextToken :: Lens' ListServices (Maybe Text) Source #
The token for the next page of results.
listServices_maxResults :: Lens' ListServices (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve the remaining results, if any, make another call with the token returned from this call.
Destructuring the Response
data ListServicesResponse Source #
See: newListServicesResponse
smart constructor.
ListServicesResponse' | |
|
Instances
newListServicesResponse Source #
Create a value of ListServicesResponse
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:ListServices'
, listServicesResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:services:ListServicesResponse'
, listServicesResponse_services
- Information about the services.
$sel:httpStatus:ListServicesResponse'
, listServicesResponse_httpStatus
- The response's http status code.
Response Lenses
listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
listServicesResponse_services :: Lens' ListServicesResponse (Maybe [ServiceInfo]) Source #
Information about the services.
listServicesResponse_httpStatus :: Lens' ListServicesResponse Int Source #
The response's http status code.