update_event_bus
async
¶
update_event_bus(
*,
config_overrides: Optional[AsyncEventBridgeClientConfig] = None,
name: Optional[EventBusName] = None,
kms_key_identifier: Optional[KmsKeyIdentifier] = None,
description: Optional[EventBusDescription] = None,
dead_letter_config: Optional[DeadLetterConfig] = None,
log_config: Optional[LogConfig] = None,
) -> UpdateEventBusResponse
Updates the specified event bus.
Parameters:
-
name(Optional[EventBusName], default:None) –The name of the event bus.
-
kms_key_identifier(Optional[KmsKeyIdentifier], default:None) –The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt events on the event bus.
For more information, see Identify and view keys in the Key Management Service Developer Guide.
Schema discovery is not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:
-
You call
CreateDiscovereron an event bus set to use a customer managed key for encryption. -
You call
UpdatedEventBusto set a customer managed key on an event bus with schema discovery enabled.
To enable schema discovery on an event bus, choose to use an Amazon Web Services owned key. For more information, see Encrypting events in the Amazon EventBridge User Guide.
If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well.
For more information, see Encrypting archives in the Amazon EventBridge User Guide.
-
-
description(Optional[EventBusDescription], default:None) –The event bus description.
-
log_config(Optional[LogConfig], default:None) –The logging configuration settings for the event bus.
For more information, see Configuring logs for event buses in the EventBridge User Guide.
Raises:
-
ConcurrentModificationException–There is concurrent modification on a rule, target, archive, or replay.
-
InternalException–This exception occurs due to unexpected causes.
-
OperationDisabledException–The operation you are attempting is not available in this region.
-
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
3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 | |