list_outposts
¶
list_outposts(
*,
config_overrides: Optional[OutpostsClientConfig] = 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/outposts.py
2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 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 | |