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

Description

Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.

Synopsis

Creating a Request

data UnsubscribeFromEvent Source #

See: newUnsubscribeFromEvent smart constructor.

Constructors

UnsubscribeFromEvent' 

Fields

  • resourceArn :: Text

    The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.

  • event :: InspectorEvent

    The event for which you want to stop receiving SNS notifications.

  • topicArn :: Text

    The ARN of the SNS topic to which SNS notifications are sent.

Instances

Instances details
Eq UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

Read UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

Show UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

Generic UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

Associated Types

type Rep UnsubscribeFromEvent :: Type -> Type #

NFData UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

Methods

rnf :: UnsubscribeFromEvent -> () #

Hashable UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

ToJSON UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

AWSRequest UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

Associated Types

type AWSResponse UnsubscribeFromEvent #

ToHeaders UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

ToPath UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

ToQuery UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

type Rep UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

type Rep UnsubscribeFromEvent = D1 ('MetaData "UnsubscribeFromEvent" "Amazonka.Inspector.UnsubscribeFromEvent" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "UnsubscribeFromEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InspectorEvent) :*: S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UnsubscribeFromEvent Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

newUnsubscribeFromEvent Source #

Create a value of UnsubscribeFromEvent 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:UnsubscribeFromEvent', unsubscribeFromEvent_resourceArn - The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.

$sel:event:UnsubscribeFromEvent', unsubscribeFromEvent_event - The event for which you want to stop receiving SNS notifications.

$sel:topicArn:UnsubscribeFromEvent', unsubscribeFromEvent_topicArn - The ARN of the SNS topic to which SNS notifications are sent.

Request Lenses

unsubscribeFromEvent_resourceArn :: Lens' UnsubscribeFromEvent Text Source #

The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.

unsubscribeFromEvent_event :: Lens' UnsubscribeFromEvent InspectorEvent Source #

The event for which you want to stop receiving SNS notifications.

unsubscribeFromEvent_topicArn :: Lens' UnsubscribeFromEvent Text Source #

The ARN of the SNS topic to which SNS notifications are sent.

Destructuring the Response

data UnsubscribeFromEventResponse Source #

See: newUnsubscribeFromEventResponse smart constructor.

Instances

Instances details
Eq UnsubscribeFromEventResponse Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

Read UnsubscribeFromEventResponse Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

Show UnsubscribeFromEventResponse Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

Generic UnsubscribeFromEventResponse Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

Associated Types

type Rep UnsubscribeFromEventResponse :: Type -> Type #

NFData UnsubscribeFromEventResponse Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

type Rep UnsubscribeFromEventResponse Source # 
Instance details

Defined in Amazonka.Inspector.UnsubscribeFromEvent

type Rep UnsubscribeFromEventResponse = D1 ('MetaData "UnsubscribeFromEventResponse" "Amazonka.Inspector.UnsubscribeFromEvent" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "UnsubscribeFromEventResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUnsubscribeFromEventResponse :: UnsubscribeFromEventResponse Source #

Create a value of UnsubscribeFromEventResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.