Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.CloudWatchEvents.DeleteEventBus
Description
Deletes the specified custom event bus or partner event bus. All rules associated with this event bus need to be deleted. You can't delete your account's default event bus.
Synopsis
Creating a Request
data DeleteEventBus Source #
See: newDeleteEventBus
smart constructor.
Constructors
DeleteEventBus' | |
Instances
Arguments
:: Text | |
-> DeleteEventBus |
Create a value of DeleteEventBus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:DeleteEventBus'
, deleteEventBus_name
- The name of the event bus to delete.
Request Lenses
deleteEventBus_name :: Lens' DeleteEventBus Text Source #
The name of the event bus to delete.
Destructuring the Response
data DeleteEventBusResponse Source #
See: newDeleteEventBusResponse
smart constructor.
Constructors
DeleteEventBusResponse' | |
Instances
newDeleteEventBusResponse :: DeleteEventBusResponse Source #
Create a value of DeleteEventBusResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.