list_outposts
async
¶
list_outposts(
*,
config_overrides: Optional[AsyncOutpostsClientConfig] = None,
next_token: Optional[Token] = None,
max_results: Optional[MaxResults1000] = None,
life_cycle_status_filter: Optional[LifeCycleStatusList] = None,
availability_zone_filter: Optional[AvailabilityZoneList] = None,
availability_zone_id_filter: Optional[AvailabilityZoneIdList] = None,
) -> ListOutpostsOutput
Lists the Outposts for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
Parameters:
-
life_cycle_status_filter(Optional[LifeCycleStatusList], default:None) –Filters the results by the lifecycle status.
-
availability_zone_filter(Optional[AvailabilityZoneList], default:None) –Filters the results by Availability Zone (for example,
us-east-1a). -
availability_zone_id_filter(Optional[AvailabilityZoneIdList], default:None) –Filters the results by AZ ID (for example,
use1-az1).
Raises:
-
AccessDeniedException–You do not have permission to perform this operation.
-
InternalServerException–An internal error has occurred.
-
ValidationException–A parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_outposts/_services/async_outposts.py
2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 | |