libZSservicesZSamazonka-glacierZSamazonka-glacier
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.Glacier.Types.VaultNotificationConfig

Description

 
Synopsis

Documentation

data VaultNotificationConfig Source #

Represents a vault's notification configuration.

See: newVaultNotificationConfig smart constructor.

Constructors

VaultNotificationConfig' 

Fields

  • sNSTopic :: Maybe Text

    The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).

  • events :: Maybe [Text]

    A list of one or more events for which Amazon S3 Glacier will send a notification to the specified Amazon SNS topic.

Instances

Instances details
Eq VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Read VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Show VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Generic VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Associated Types

type Rep VaultNotificationConfig :: Type -> Type #

NFData VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Methods

rnf :: VaultNotificationConfig -> () #

Hashable VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

ToJSON VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

FromJSON VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

type Rep VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

type Rep VaultNotificationConfig = D1 ('MetaData "VaultNotificationConfig" "Amazonka.Glacier.Types.VaultNotificationConfig" "libZSservicesZSamazonka-glacierZSamazonka-glacier" 'False) (C1 ('MetaCons "VaultNotificationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sNSTopic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newVaultNotificationConfig :: VaultNotificationConfig Source #

Create a value of VaultNotificationConfig 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:sNSTopic:VaultNotificationConfig', vaultNotificationConfig_sNSTopic - The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).

$sel:events:VaultNotificationConfig', vaultNotificationConfig_events - A list of one or more events for which Amazon S3 Glacier will send a notification to the specified Amazon SNS topic.

vaultNotificationConfig_sNSTopic :: Lens' VaultNotificationConfig (Maybe Text) Source #

The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name (ARN).

vaultNotificationConfig_events :: Lens' VaultNotificationConfig (Maybe [Text]) Source #

A list of one or more events for which Amazon S3 Glacier will send a notification to the specified Amazon SNS topic.