list_connections
async
¶
list_connections(
*,
config_overrides: Optional[AsyncCodeConnectionsClientConfig] = None,
host_arn_filter: Optional[HostArn] = None,
provider_type_filter: Optional[ProviderType] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListConnectionsOutput
Lists the connections associated with your account.
Parameters:
-
host_arn_filter(Optional[HostArn], default:None) –Filters the list of connections to those associated with a specified host.
-
provider_type_filter(Optional[ProviderType], default:None) –Filters the list of connections to those associated with a specified provider, such as Bitbucket.
-
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.
Source code in docs_src/capo_codeconnections/_services/async_code_connections.py
1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 | |