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 |
List services with summaries of detail data.
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
- 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.
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
- A token to indicate the location of the next service in the array of
services, after the list of services that was previously requested.
$sel:maxResults:ListServices'
, listServices_maxResults
- The maximum number of services to list.
Request Lenses
listServices_nextToken :: Lens' ListServices (Maybe Text) Source #
A token to indicate the location of the next service in the array of services, after the list of services that was previously requested.
listServices_maxResults :: Lens' ListServices (Maybe Natural) Source #
The maximum number of services to list.
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
- A token to indicate 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 to indicate 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.