libZSservicesZSamazonka-inspectorZSamazonka-inspector
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.Inspector.Types.EventSubscription

Description

 
Synopsis

Documentation

data EventSubscription Source #

This data type is used in the Subscription data type.

See: newEventSubscription smart constructor.

Constructors

EventSubscription' 

Fields

Instances

Instances details
Eq EventSubscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.EventSubscription

Read EventSubscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.EventSubscription

Show EventSubscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.EventSubscription

Generic EventSubscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.EventSubscription

Associated Types

type Rep EventSubscription :: Type -> Type #

NFData EventSubscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.EventSubscription

Methods

rnf :: EventSubscription -> () #

Hashable EventSubscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.EventSubscription

FromJSON EventSubscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.EventSubscription

type Rep EventSubscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.EventSubscription

type Rep EventSubscription = D1 ('MetaData "EventSubscription" "Amazonka.Inspector.Types.EventSubscription" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "EventSubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InspectorEvent) :*: S1 ('MetaSel ('Just "subscribedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))

newEventSubscription Source #

Create a value of EventSubscription 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:event:EventSubscription', eventSubscription_event - The event for which Amazon Simple Notification Service (SNS) notifications are sent.

$sel:subscribedAt:EventSubscription', eventSubscription_subscribedAt - The time at which SubscribeToEvent is called.

eventSubscription_event :: Lens' EventSubscription InspectorEvent Source #

The event for which Amazon Simple Notification Service (SNS) notifications are sent.

eventSubscription_subscribedAt :: Lens' EventSubscription UTCTime Source #

The time at which SubscribeToEvent is called.