libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Read DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Show DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Generic DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Associated Types

type Rep DeactivateEventSource :: Type -> Type #

NFData DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Methods

rnf :: DeactivateEventSource -> () #

Hashable DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

ToJSON DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

AWSRequest DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Associated Types

type AWSResponse 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

type Rep DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

type Rep DeactivateEventSource = D1 ('MetaData "DeactivateEventSource" "Amazonka.CloudWatchEvents.DeactivateEventSource" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "DeactivateEventSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeactivateEventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

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:

$sel:name: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
Eq DeactivateEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Read DeactivateEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Show DeactivateEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Generic DeactivateEventSourceResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.DeactivateEventSource

Associated Types

type Rep DeactivateEventSourceResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" '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.