list_connections
async
¶
list_connections(
*,
config_overrides: Optional[AsyncAppRunnerClientConfig] = None,
connection_name: Optional[ConnectionName] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListConnectionsResponse
Returns a list of App Runner connections that are associated with your Amazon Web Services account.
Parameters:
-
connection_name(Optional[ConnectionName], default:None) –If specified, only this connection is returned. If not specified, the result isn't filtered by name.
-
max_results(Optional[MaxResults], default:None) –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. -
next_token(Optional[NextToken], default:None) –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.
Raises:
-
InternalServiceErrorException–An unexpected service exception occurred.
-
InvalidRequestException–One or more input parameters aren't valid. Refer to the API action's document page, correct the input parameters, and try the action again.
-
UnknownServiceError–The service returned an error code this client does not model.