update_map
async
¶
update_map(
map_name: ResourceName,
*,
config_overrides: Optional[AsyncLocationClientConfig] = None,
pricing_plan: Optional[PricingPlan] = None,
description: Optional[ResourceDescription] = None,
configuration_update: Optional[MapConfigurationUpdate] = None,
) -> UpdateMapResponse
This operation is no longer current and may be deprecated in the future. We recommend upgrading to the Maps API V2 unless you require The Maps API version 2 has a simplified interface that can be used without creating or managing map resources. If you are using an AWS SDK or the AWS CLI, note that the Maps API version 2 is found under Since Start your version 2 API journey with the Maps V2 API Reference or the Developer Guide.Grab data.
UpdateMap is part of a previous Amazon Location Service Maps API (version 1) which has been superseded by a more intuitive, powerful, and complete API (version 2).geo-maps or geo_maps, not under location.Grab is not yet fully supported in Maps API version 2, we recommend you continue using API version 1 when using Grab.
Updates the specified properties of a given map resource.
Parameters:
-
map_name(ResourceName) –The name of the map 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 map resource.
-
configuration_update(Optional[MapConfigurationUpdate], default:None) –Updates the parts of the map configuration that can be updated, including the political view.
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/async_location.py
2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 | |