list_sites
async
¶
list_sites(
*,
config_overrides: Optional[AsyncOutpostsClientConfig] = None,
next_token: Optional[Token] = None,
max_results: Optional[MaxResults1000] = None,
operating_address_country_code_filter: Optional[CountryCodeList] = None,
operating_address_state_or_region_filter: Optional[StateOrRegionList] = None,
operating_address_city_filter: Optional[CityList] = None,
) -> ListSitesOutput
Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.
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:
-
operating_address_country_code_filter(Optional[CountryCodeList], default:None) –Filters the results by country code.
-
operating_address_state_or_region_filter(Optional[StateOrRegionList], default:None) –Filters the results by state or region.
-
operating_address_city_filter(Optional[CityList], default:None) –Filters the results by city.
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
2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 | |