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.DeactivateEventSource

Description

You can use this operation to temporarily stop receiving events from the specified partner event source. The matching event bus is not deleted.

When you deactivate a partner event source, the source goes into PENDING state. If it remains in PENDING state for more than two weeks, it is deleted.

To activate a deactivated partner event source, use ActivateEventSource.

Synopsis

Creating a Request

data DeactivateEventSource Source #

See: newDeactivateEventSource smart constructor.

Constructors

DeactivateEventSource' 

Fields

  • name :: Text

    The name of the partner event source to deactivate.

Instances

Instances details
ToJSON DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

ToHeaders DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

ToPath DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

ToQuery DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

AWSRequest DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Associated Types

type AWSResponse DeactivateEventSource #

Generic DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Associated Types

type Rep DeactivateEventSource :: Type -> Type #

Read DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Show DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

NFData DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Methods

rnf :: DeactivateEventSource -> () #

Eq DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Hashable DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

type AWSResponse DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

type Rep DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

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

newDeactivateEventSource Source #

Create a value of DeactivateEventSource 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:

DeactivateEventSource, deactivateEventSource_name - The name of the partner event source to deactivate.

Request Lenses

deactivateEventSource_name :: Lens' DeactivateEventSource Text Source #

The name of the partner event source to deactivate.

Destructuring the Response

data DeactivateEventSourceResponse Source #

See: newDeactivateEventSourceResponse smart constructor.

Instances

Instances details
Generic DeactivateEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Associated Types

type Rep DeactivateEventSourceResponse :: Type -> Type #

Read DeactivateEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Show DeactivateEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

NFData DeactivateEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Eq DeactivateEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

type Rep DeactivateEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

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

newDeactivateEventSourceResponse :: DeactivateEventSourceResponse Source #

Create a value of DeactivateEventSourceResponse with all optional fields omitted.

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