libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax
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.DAX.Types.NotificationConfiguration

Description

 
Synopsis

Documentation

data NotificationConfiguration Source #

Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).

See: newNotificationConfiguration smart constructor.

Constructors

NotificationConfiguration' 

Fields

  • topicStatus :: Maybe Text

    The current state of the topic. A value of “active” means that notifications will be sent to the topic. A value of “inactive” means that notifications will not be sent to the topic.

  • topicArn :: Maybe Text

    The Amazon Resource Name (ARN) that identifies the topic.

Instances

Instances details
Eq NotificationConfiguration Source # 
Instance details

Defined in Amazonka.DAX.Types.NotificationConfiguration

Read NotificationConfiguration Source # 
Instance details

Defined in Amazonka.DAX.Types.NotificationConfiguration

Show NotificationConfiguration Source # 
Instance details

Defined in Amazonka.DAX.Types.NotificationConfiguration

Generic NotificationConfiguration Source # 
Instance details

Defined in Amazonka.DAX.Types.NotificationConfiguration

Associated Types

type Rep NotificationConfiguration :: Type -> Type #

NFData NotificationConfiguration Source # 
Instance details

Defined in Amazonka.DAX.Types.NotificationConfiguration

Hashable NotificationConfiguration Source # 
Instance details

Defined in Amazonka.DAX.Types.NotificationConfiguration

FromJSON NotificationConfiguration Source # 
Instance details

Defined in Amazonka.DAX.Types.NotificationConfiguration

type Rep NotificationConfiguration Source # 
Instance details

Defined in Amazonka.DAX.Types.NotificationConfiguration

type Rep NotificationConfiguration = D1 ('MetaData "NotificationConfiguration" "Amazonka.DAX.Types.NotificationConfiguration" "libZSservicesZSamazonka-dynamodb-daxZSamazonka-dynamodb-dax" 'False) (C1 ('MetaCons "NotificationConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newNotificationConfiguration :: NotificationConfiguration Source #

Create a value of NotificationConfiguration 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:topicStatus:NotificationConfiguration', notificationConfiguration_topicStatus - The current state of the topic. A value of “active” means that notifications will be sent to the topic. A value of “inactive” means that notifications will not be sent to the topic.

$sel:topicArn:NotificationConfiguration', notificationConfiguration_topicArn - The Amazon Resource Name (ARN) that identifies the topic.

notificationConfiguration_topicStatus :: Lens' NotificationConfiguration (Maybe Text) Source #

The current state of the topic. A value of “active” means that notifications will be sent to the topic. A value of “inactive” means that notifications will not be sent to the topic.

notificationConfiguration_topicArn :: Lens' NotificationConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) that identifies the topic.