list_environment_vpcs
async
¶
list_environment_vpcs(
environment_identifier: EnvironmentId,
*,
config_overrides: Optional[AsyncMigrationHubRefactorSpacesClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListEnvironmentVpcsResponse
Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the environment.
Parameters:
-
environment_identifier(EnvironmentId) –The ID of the environment.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The request references a resource that does not exist.
-
ThrottlingException–Request was denied because the request was throttled.
-
ValidationException–The input does not satisfy the constraints specified by an Amazon Web Service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_migration_hub_refactor_spaces/_services/async_migration_hub_refactor_spaces.py
1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 | |