list_connections
¶
list_connections(
*,
config_overrides: Optional[CodeConnectionsClientConfig] = None,
provider_type_filter: Optional[ProviderType] = None,
host_arn_filter: Optional[HostArn] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListConnectionsOutput
Lists the connections associated with your account.
Parameters:
-
provider_type_filter(Optional[ProviderType], default:None) –Filters the list of connections to those associated with a specified provider, such as Bitbucket.
-
host_arn_filter(Optional[HostArn], default:None) –Filters the list of connections to those associated with a specified host.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
next_token(Optional[NextToken], default:None) –The token that was returned from the previous
ListConnectionscall, which can be used to return the next set of connections in the list.
Raises:
-
ResourceNotFoundException–Resource not found. Verify the connection resource ARN and try again.
-
UnknownServiceError–The service returned an error code this client does not model.