update_custom_routing_accelerator
¶
update_custom_routing_accelerator(
accelerator_arn: GenericString,
*,
config_overrides: Optional[GlobalAcceleratorClientConfig] = 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/global_accelerator.py
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 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 | |