update_place_index
¶
update_place_index(
index_name: ResourceName,
*,
config_overrides: Optional[LocationClientConfig] = None,
pricing_plan: Optional[PricingPlan] = None,
description: Optional[ResourceDescription] = None,
data_source_configuration: Optional[DataSourceConfiguration] = None,
) -> UpdatePlaceIndexResponse
This operation is no longer current and may be deprecated in the future. We recommend you upgrade to the Places API V2 unless you require Grab data. The Places API version 2 has a simplified interface that can be used without creating or managing place index resources. If you are using an Amazon Web Services SDK or the Amazon Web Services CLI, note that the Places API version 2 is found under Since Grab is not yet fully supported in Places API version 2, we recommend you continue using API version 1 when using Grab. Start your version 2 API journey with the Places V2 API Reference or the Developer Guide.
UpdatePlaceIndex is part of a previous Amazon Location Service Places API (version 1) which has been superseded by a more intuitive, powerful, and complete API (version 2).geo-places or geo_places, not under location.
Updates the specified properties of a given place index resource.
Parameters:
-
index_name(ResourceName) –The name of the place index resource to update.
-
pricing_plan(Optional[PricingPlan], default:None) –No longer used. If included, the only allowed value is
RequestBasedUsage. -
description(Optional[ResourceDescription], default:None) –Updates the description for the place index resource.
-
data_source_configuration(Optional[DataSourceConfiguration], default:None) –Updates the data storage option for the place index resource.
Raises:
-
AccessDeniedException–The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
-
InternalServerException–The request has failed to process because of an unknown server error, exception, or failure.
-
ResourceNotFoundException–The resource that you've entered was not found in your AWS account.
-
ThrottlingException–The request was denied because of request throttling.
-
ValidationException–The input failed to meet the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_location/_services/location.py
2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 | |