| 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.ServiceQuotas.ListServices
Description
Lists the names and codes for the services integrated with Service Quotas.
This operation returns paginated results.
Synopsis
- data ListServices = ListServices' {}
- newListServices :: ListServices
- listServices_maxResults :: Lens' ListServices (Maybe Natural)
- listServices_nextToken :: Lens' ListServices (Maybe Text)
- 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.
Constructors
| ListServices' | |
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: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.
ListServices, listServices_nextToken - The token for the next page of results.
Request Lenses
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.
listServices_nextToken :: Lens' ListServices (Maybe Text) Source #
The token for the next page of results.
Destructuring the Response
data ListServicesResponse Source #
See: newListServicesResponse smart constructor.
Constructors
| ListServicesResponse' | |
Fields
| |
Instances
newListServicesResponse Source #
Arguments
| :: Int | |
| -> ListServicesResponse |
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:
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.