EventBridgeV2 / Client / delete_event_bus
delete_event_bus¶
- EventBridgeV2.Client.delete_event_bus(**kwargs)¶
Deletes an event bus. Deletion is asynchronous: the bus moves to DELETING and disappears when complete (see the EventBusDeleted waiter). A bus with subscribers or event sources cannot be deleted.
See also: AWS API Documentation
Request Syntax
response = client.delete_event_bus( EventBusArn='string' )
- Parameters:
EventBusArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies an event bus.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
EventBridgeV2.Client.exceptions.AccessDeniedExceptionEventBridgeV2.Client.exceptions.ResourceNotFoundExceptionEventBridgeV2.Client.exceptions.ThrottlingExceptionEventBridgeV2.Client.exceptions.InvalidInputExceptionEventBridgeV2.Client.exceptions.InternalExceptionEventBridgeV2.Client.exceptions.ConcurrentModificationExceptionEventBridgeV2.Client.exceptions.InvalidStateExceptionEventBridgeV2.Client.exceptions.ResourceInUseException