update_endpoint
async
¶
update_endpoint(
name: EndpointName,
*,
config_overrides: Optional[AsyncEventBridgeClientConfig] = None,
description: Optional[EndpointDescription] = None,
routing_config: Optional[RoutingConfig] = None,
replication_config: Optional[ReplicationConfig] = None,
event_buses: Optional[EndpointEventBusList] = None,
role_arn: Optional[IamRoleArn] = None,
) -> UpdateEndpointResponse
Update an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide .
Parameters:
-
name(EndpointName) –The name of the endpoint you want to update.
-
description(Optional[EndpointDescription], default:None) –A description for the endpoint.
-
routing_config(Optional[RoutingConfig], default:None) –Configure the routing policy, including the health check and secondary Region.
-
replication_config(Optional[ReplicationConfig], default:None) –Whether event replication was enabled or disabled by this request.
-
event_buses(Optional[EndpointEventBusList], default:None) –Define event buses used for replication.
-
role_arn(Optional[IamRoleArn], default:None) –The ARN of the role used by event replication for this request.
Raises:
-
ConcurrentModificationException–There is concurrent modification on a rule, target, archive, or replay.
-
InternalException–This exception occurs due to unexpected causes.
-
ResourceNotFoundException–An entity that you specified does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_eventbridge/_services/async_event_bridge.py
3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 | |