| 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.AppRunner.ListServices
Description
Returns a list of running App Runner services in your Amazon Web Services account.
Synopsis
- data ListServices = ListServices' {}
- newListServices :: ListServices
- listServices_maxResults :: Lens' ListServices (Maybe Natural)
- listServices_nextToken :: Lens' ListServices (Maybe Text)
- 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.
Constructors
| ListServices' | |
Fields
| |
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 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.
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.
Request Lenses
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.
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.
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 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.