libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer
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.CostExplorer.Types.Subscriber

Description

 
Synopsis

Documentation

data Subscriber Source #

The recipient of AnomalySubscription notifications.

See: newSubscriber smart constructor.

Constructors

Subscriber' 

Fields

Instances

Instances details
Eq Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

Read Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

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

NFData Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

Methods

rnf :: Subscriber -> () #

Hashable Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

ToJSON Subscriber Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Subscriber

FromJSON 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" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "Subscriber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubscriberStatus)) :*: (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:status:Subscriber', subscriber_status - Indicates if the subscriber accepts the notifications.

$sel:address:Subscriber', subscriber_address - The email address or SNS Amazon Resource Name (ARN). This depends on the Type.

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

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

Indicates if the subscriber accepts the notifications.

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

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

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

The notification delivery channel.