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 |
Returns a list of running App Runner services in your Amazon Web Services account.
Synopsis
- data ListServices = ListServices' {}
- newListServices :: ListServices
- listServices_nextToken :: Lens' ListServices (Maybe Text)
- listServices_maxResults :: Lens' ListServices (Maybe Natural)
- data ListServicesResponse = ListServicesResponse' {}
- newListServicesResponse :: Int -> ListServicesResponse
- listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text)
- listServicesResponse_httpStatus :: Lens' ListServicesResponse Int
- listServicesResponse_serviceSummaryList :: Lens' ListServicesResponse [ServiceSummary]
Creating a Request
data ListServices Source #
See: newListServices
smart constructor.
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:nextToken:ListServices'
, listServices_nextToken
- A token from a previous result page. Used for a paginated request. The
request retrieves the next result page. All other parameter values must
be identical to the ones specified in the initial request.
If you don't specify NextToken
, the request retrieves the first
result page.
$sel:maxResults:ListServices'
, listServices_maxResults
- The maximum number of results to include in each response (result page).
It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available
results in a single response.
Request Lenses
listServices_nextToken :: Lens' ListServices (Maybe Text) Source #
A token from a previous result page. Used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request.
If you don't specify NextToken
, the request retrieves the first
result page.
listServices_maxResults :: Lens' ListServices (Maybe Natural) Source #
The maximum number of results to include in each response (result page). It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available
results in a single response.
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 that you can pass in a subsequent request to get the next
result page. It's returned in a paginated request.
$sel:httpStatus:ListServicesResponse'
, listServicesResponse_httpStatus
- The response's http status code.
$sel:serviceSummaryList:ListServicesResponse'
, listServicesResponse_serviceSummaryList
- A list of service summary information records. In a paginated request,
the request returns up to MaxResults
records for each call.
Response Lenses
listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text) Source #
The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
listServicesResponse_httpStatus :: Lens' ListServicesResponse Int Source #
The response's http status code.
listServicesResponse_serviceSummaryList :: Lens' ListServicesResponse [ServiceSummary] Source #
A list of service summary information records. In a paginated request,
the request returns up to MaxResults
records for each call.