update_custom_routing_accelerator
async
¶
update_custom_routing_accelerator(
accelerator_arn: GenericString,
*,
config_overrides: Optional[AsyncGlobalAcceleratorClientConfig] = None,
name: Optional[GenericString] = None,
ip_address_type: Optional[IpAddressType] = None,
ip_addresses: Optional[IpAddresses] = None,
enabled: Optional[GenericBoolean] = None,
) -> UpdateCustomRoutingAcceleratorResponse
Update a custom routing accelerator.
Parameters:
-
accelerator_arn(GenericString) –The Amazon Resource Name (ARN) of the accelerator to update.
-
name(Optional[GenericString], default:None) –The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.
-
ip_address_type(Optional[IpAddressType], default:None) –The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
-
ip_addresses(Optional[IpAddresses], default:None) –The IP addresses for an accelerator.
-
enabled(Optional[GenericBoolean], default:None) –Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
Raises:
-
AcceleratorNotFoundException–The accelerator that you specified doesn't exist.
-
ConflictException–You can't use both of those options.
-
InternalServiceErrorException–There was an internal error for Global Accelerator.
-
InvalidArgumentException–An argument that you specified is invalid.
-
TransactionInProgressException–There's already a transaction in progress. Another transaction can't be processed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_global_accelerator/_services/async_global_accelerator.py
3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 | |