amazonka-cost-explorer-2.0: Amazon Cost Explorer Service 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.CostExplorer.Types.Subscriber

Description

 
Synopsis

Documentation

data Subscriber Source #

The recipient of AnomalySubscription notifications.

See: newSubscriber smart constructor.

Constructors

Subscriber' 

Fields

Instances

Instances details
FromJSON Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

ToJSON Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

Generic Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

Associated Types

type Rep Subscriber :: Type -> Type #

Read Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

Show Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

NFData Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

Methods

rnf :: Subscriber -> () #

Eq Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

Hashable Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

type Rep Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

type Rep Subscriber = D1 ('MetaData "Subscriber" "Amazonka.CostExplorer.Types.Subscriber" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "Subscriber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubscriberStatus)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubscriberType)))))

newSubscriber :: Subscriber Source #

Create a value of Subscriber 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:address:Subscriber', subscriber_address - The email address or SNS Amazon Resource Name (ARN). This depends on the Type.

$sel:status:Subscriber', subscriber_status - Indicates if the subscriber accepts the notifications.

$sel:type':Subscriber', subscriber_type - The notification delivery channel.

subscriber_address :: Lens' Subscriber (Maybe Text) Source #

The email address or SNS Amazon Resource Name (ARN). This depends on the Type.

subscriber_status :: Lens' Subscriber (Maybe SubscriberStatus) Source #

Indicates if the subscriber accepts the notifications.

subscriber_type :: Lens' Subscriber (Maybe SubscriberType) Source #

The notification delivery channel.