libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.AwsSnsTopicSubscription

Description

 
Synopsis

Documentation

data AwsSnsTopicSubscription Source #

A wrapper type for the attributes of an Amazon SNS subscription.

See: newAwsSnsTopicSubscription smart constructor.

Constructors

AwsSnsTopicSubscription' 

Fields

Instances

Instances details
Eq AwsSnsTopicSubscription Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsSnsTopicSubscription

Read AwsSnsTopicSubscription Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsSnsTopicSubscription

Show AwsSnsTopicSubscription Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsSnsTopicSubscription

Generic AwsSnsTopicSubscription Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsSnsTopicSubscription

Associated Types

type Rep AwsSnsTopicSubscription :: Type -> Type #

NFData AwsSnsTopicSubscription Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsSnsTopicSubscription

Methods

rnf :: AwsSnsTopicSubscription -> () #

Hashable AwsSnsTopicSubscription Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsSnsTopicSubscription

ToJSON AwsSnsTopicSubscription Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsSnsTopicSubscription

FromJSON AwsSnsTopicSubscription Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsSnsTopicSubscription

type Rep AwsSnsTopicSubscription Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsSnsTopicSubscription

type Rep AwsSnsTopicSubscription = D1 ('MetaData "AwsSnsTopicSubscription" "Amazonka.SecurityHub.Types.AwsSnsTopicSubscription" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsSnsTopicSubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAwsSnsTopicSubscription :: AwsSnsTopicSubscription Source #

Create a value of AwsSnsTopicSubscription 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:protocol:AwsSnsTopicSubscription', awsSnsTopicSubscription_protocol - The subscription's protocol.

$sel:endpoint:AwsSnsTopicSubscription', awsSnsTopicSubscription_endpoint - The subscription's endpoint (format depends on the protocol).

awsSnsTopicSubscription_endpoint :: Lens' AwsSnsTopicSubscription (Maybe Text) Source #

The subscription's endpoint (format depends on the protocol).