| 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.ListConnections
Description
Returns a list of App Runner connections that are associated with your Amazon Web Services account.
Synopsis
- data ListConnections = ListConnections' {}
- newListConnections :: ListConnections
- listConnections_connectionName :: Lens' ListConnections (Maybe Text)
- listConnections_maxResults :: Lens' ListConnections (Maybe Natural)
- listConnections_nextToken :: Lens' ListConnections (Maybe Text)
- data ListConnectionsResponse = ListConnectionsResponse' {}
- newListConnectionsResponse :: Int -> ListConnectionsResponse
- listConnectionsResponse_nextToken :: Lens' ListConnectionsResponse (Maybe Text)
- listConnectionsResponse_httpStatus :: Lens' ListConnectionsResponse Int
- listConnectionsResponse_connectionSummaryList :: Lens' ListConnectionsResponse [ConnectionSummary]
Creating a Request
data ListConnections Source #
See: newListConnections smart constructor.
Constructors
| ListConnections' | |
Fields
| |
Instances
newListConnections :: ListConnections Source #
Create a value of ListConnections 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:
ListConnections, listConnections_connectionName - If specified, only this connection is returned. If not specified, the
result isn't filtered by name.
$sel:maxResults:ListConnections', listConnections_maxResults - The maximum number of results to include in each response (result page).
Used for a paginated request.
If you don't specify MaxResults, the request retrieves all available
results in a single response.
ListConnections, listConnections_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
listConnections_connectionName :: Lens' ListConnections (Maybe Text) Source #
If specified, only this connection is returned. If not specified, the result isn't filtered by name.
listConnections_maxResults :: Lens' ListConnections (Maybe Natural) Source #
The maximum number of results to include in each response (result page). Used for a paginated request.
If you don't specify MaxResults, the request retrieves all available
results in a single response.
listConnections_nextToken :: Lens' ListConnections (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 ListConnectionsResponse Source #
See: newListConnectionsResponse smart constructor.
Constructors
| ListConnectionsResponse' | |
Fields
| |
Instances
newListConnectionsResponse Source #
Create a value of ListConnectionsResponse 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:
ListConnections, listConnectionsResponse_nextToken - The token that you can pass in a subsequent request to get the next
result page. Returned in a paginated request.
$sel:httpStatus:ListConnectionsResponse', listConnectionsResponse_httpStatus - The response's http status code.
$sel:connectionSummaryList:ListConnectionsResponse', listConnectionsResponse_connectionSummaryList - A list of summary information records for connections. In a paginated
request, the request returns up to MaxResults records for each call.
Response Lenses
listConnectionsResponse_nextToken :: Lens' ListConnectionsResponse (Maybe Text) Source #
The token that you can pass in a subsequent request to get the next result page. Returned in a paginated request.
listConnectionsResponse_httpStatus :: Lens' ListConnectionsResponse Int Source #
The response's http status code.
listConnectionsResponse_connectionSummaryList :: Lens' ListConnectionsResponse [ConnectionSummary] Source #
A list of summary information records for connections. In a paginated
request, the request returns up to MaxResults records for each call.