update_site_address
async
¶
update_site_address(
site_id: SiteId,
address_type: AddressType,
address: Address,
*,
config_overrides: Optional[AsyncOutpostsClientConfig] = None,
) -> UpdateSiteAddressOutput
Updates the address of the specified site.
You can't update a site address if there is an order in progress. You must wait for the order to complete or cancel the order.
You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated.
Parameters:
-
site_id(SiteId) –The ID or the Amazon Resource Name (ARN) of the site.
-
address_type(AddressType) –The type of the address.
-
address(Address) –The address for the site.
Raises:
-
AccessDeniedException–You do not have permission to perform this operation.
-
ConflictException–Updating or deleting this resource can cause an inconsistent state.
-
InternalServerException–An internal error has occurred.
-
NotFoundException–The specified request is not valid.
-
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
3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 | |