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

Description

 
Synopsis

Documentation

data Subscription Source #

This data type is used as a response element in the ListEventSubscriptions action.

See: newSubscription smart constructor.

Constructors

Subscription' 

Fields

Instances

Instances details
Eq Subscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.Subscription

Read Subscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.Subscription

Show Subscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.Subscription

Generic Subscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.Subscription

Associated Types

type Rep Subscription :: Type -> Type #

NFData Subscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.Subscription

Methods

rnf :: Subscription -> () #

Hashable Subscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.Subscription

FromJSON Subscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.Subscription

type Rep Subscription Source # 
Instance details

Defined in Amazonka.Inspector.Types.Subscription

type Rep Subscription = D1 ('MetaData "Subscription" "Amazonka.Inspector.Types.Subscription" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "Subscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventSubscriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty EventSubscription)))))

newSubscription Source #

Create a value of Subscription 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:resourceArn:Subscription', subscription_resourceArn - The ARN of the assessment template that is used during the event for which the SNS notification is sent.

$sel:topicArn:Subscription', subscription_topicArn - The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.

$sel:eventSubscriptions:Subscription', subscription_eventSubscriptions - The list of existing event subscriptions.

subscription_resourceArn :: Lens' Subscription Text Source #

The ARN of the assessment template that is used during the event for which the SNS notification is sent.

subscription_topicArn :: Lens' Subscription Text Source #

The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.