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.Types.EventSource

Description

 
Synopsis

Documentation

data EventSource Source #

A partner event source is created by an SaaS partner. If a customer creates a partner event bus that matches this event source, that Amazon Web Services account can receive events from the partner's applications or services.

See: newEventSource smart constructor.

Constructors

EventSource' 

Fields

  • creationTime :: Maybe POSIX

    The date and time the event source was created.

  • state :: Maybe EventSourceState

    The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.

  • arn :: Maybe Text

    The ARN of the event source.

  • createdBy :: Maybe Text

    The name of the partner that created the event source.

  • name :: Maybe Text

    The name of the event source.

  • expirationTime :: Maybe POSIX

    The date and time that the event source will expire, if the Amazon Web Services account doesn't create a matching event bus for it.

Instances

Instances details
Eq EventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventSource

Read EventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventSource

Show EventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventSource

Generic EventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventSource

Associated Types

type Rep EventSource :: Type -> Type #

NFData EventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventSource

Methods

rnf :: EventSource -> () #

Hashable EventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventSource

FromJSON EventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventSource

type Rep EventSource Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.EventSource

type Rep EventSource = D1 ('MetaData "EventSource" "Amazonka.CloudWatchEvents.Types.EventSource" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "EventSource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventSourceState)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "expirationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newEventSource :: EventSource Source #

Create a value of EventSource 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:creationTime:EventSource', eventSource_creationTime - The date and time the event source was created.

$sel:state:EventSource', eventSource_state - The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.

$sel:arn:EventSource', eventSource_arn - The ARN of the event source.

$sel:createdBy:EventSource', eventSource_createdBy - The name of the partner that created the event source.

$sel:name:EventSource', eventSource_name - The name of the event source.

$sel:expirationTime:EventSource', eventSource_expirationTime - The date and time that the event source will expire, if the Amazon Web Services account doesn't create a matching event bus for it.

eventSource_creationTime :: Lens' EventSource (Maybe UTCTime) Source #

The date and time the event source was created.

eventSource_state :: Lens' EventSource (Maybe EventSourceState) Source #

The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it is DELETED, you have created a matching event bus, but the event source has since been deleted.

eventSource_arn :: Lens' EventSource (Maybe Text) Source #

The ARN of the event source.

eventSource_createdBy :: Lens' EventSource (Maybe Text) Source #

The name of the partner that created the event source.

eventSource_name :: Lens' EventSource (Maybe Text) Source #

The name of the event source.

eventSource_expirationTime :: Lens' EventSource (Maybe UTCTime) Source #

The date and time that the event source will expire, if the Amazon Web Services account doesn't create a matching event bus for it.