list_sites
¶
list_sites(
*,
config_overrides: Optional[OutpostsClientConfig] = 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/outposts.py
2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 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 | |