list_hosts
async
¶
list_hosts(
*,
config_overrides: Optional[AsyncCodeConnectionsClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListHostsOutput
Lists the hosts associated with your account.
Parameters:
-
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
ListHostscall, which can be used to return the next set of hosts in the list.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codeconnections/_services/async_code_connections.py
1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 | |