| 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.Proton.ListServices
Description
List services with summaries of detail data.
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
- httpStatus :: Int
- services :: [ServiceSummary]
- newListServicesResponse :: Int -> ListServicesResponse
- listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text)
- listServicesResponse_httpStatus :: Lens' ListServicesResponse Int
- listServicesResponse_services :: Lens' ListServicesResponse [ServiceSummary]
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 services to list.
ListServices, listServices_nextToken - A token that indicates the location of the next service in the array of
services, after the list of services that was previously requested.
Request Lenses
listServices_maxResults :: Lens' ListServices (Maybe Natural) Source #
The maximum number of services to list.
listServices_nextToken :: Lens' ListServices (Maybe Text) Source #
A token that indicates the location of the next service in the array of services, after the list of services that was previously requested.
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 - A token that indicates the location of the next service in the array of
services, after the current requested list of services.
$sel:httpStatus:ListServicesResponse', listServicesResponse_httpStatus - The response's http status code.
$sel:services:ListServicesResponse', listServicesResponse_services - An array of services with summaries of detail data.
Response Lenses
listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text) Source #
A token that indicates the location of the next service in the array of services, after the current requested list of services.
listServicesResponse_httpStatus :: Lens' ListServicesResponse Int Source #
The response's http status code.
listServicesResponse_services :: Lens' ListServicesResponse [ServiceSummary] Source #
An array of services with summaries of detail data.