amazonka-cloudwatch-events-2.0: Amazon EventBridge SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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' 

Fields

  • name :: Text

    The name of the event bus to delete.

Instances

Instances details
ToJSON DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

ToHeaders DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

ToPath DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

ToQuery DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

AWSRequest DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

Associated Types

type AWSResponse DeleteEventBus #

Generic DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

Associated Types

type Rep DeleteEventBus :: Type -> Type #

Read DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

Show DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

NFData DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

Methods

rnf :: DeleteEventBus -> () #

Eq DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

Hashable DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

type AWSResponse DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

type Rep DeleteEventBus Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

type Rep DeleteEventBus = D1 ('MetaData "DeleteEventBus" "Amazonka.CloudWatchEvents.DeleteEventBus" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "DeleteEventBus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteEventBus Source #

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:

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.

Instances

Instances details
Generic DeleteEventBusResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

Associated Types

type Rep DeleteEventBusResponse :: Type -> Type #

Read DeleteEventBusResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

Show DeleteEventBusResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

NFData DeleteEventBusResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

Methods

rnf :: DeleteEventBusResponse -> () #

Eq DeleteEventBusResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

type Rep DeleteEventBusResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeleteEventBus

type Rep DeleteEventBusResponse = D1 ('MetaData "DeleteEventBusResponse" "Amazonka.CloudWatchEvents.DeleteEventBus" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "DeleteEventBusResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteEventBusResponse :: DeleteEventBusResponse Source #

Create a value of DeleteEventBusResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.