amazonka-glacier-2.0: Amazon Glacier SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glacier.Types.VaultNotificationConfig

Description

 
Synopsis

Documentation

data VaultNotificationConfig Source #

Represents a vault's notification configuration.

See: newVaultNotificationConfig smart constructor.

Constructors

VaultNotificationConfig' 

Fields

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

  • sNSTopic :: Maybe Text

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

Instances

Instances details
FromJSON VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

ToJSON 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 #

Read VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Show VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

NFData VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Methods

rnf :: VaultNotificationConfig -> () #

Eq VaultNotificationConfig Source # 
Instance details

Defined in Amazonka.Glacier.Types.VaultNotificationConfig

Hashable 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" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "VaultNotificationConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "sNSTopic") '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: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.

$sel:sNSTopic:VaultNotificationConfig', vaultNotificationConfig_sNSTopic - 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.

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

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