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

Description

Adds a subscription to a cost anomaly detection monitor. You can use each subscription to define subscribers with email or SNS notifications. Email subscribers can set a dollar threshold and a time frequency for receiving notifications.

Synopsis

Creating a Request

data CreateAnomalySubscription Source #

See: newCreateAnomalySubscription smart constructor.

Constructors

CreateAnomalySubscription' 

Fields

Instances

Instances details
Eq CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

Read CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

Show CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

Generic CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

Associated Types

type Rep CreateAnomalySubscription :: Type -> Type #

NFData CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

Hashable CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

ToJSON CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

AWSRequest CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

ToHeaders CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

ToPath CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

ToQuery CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

type Rep CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

type Rep CreateAnomalySubscription = D1 ('MetaData "CreateAnomalySubscription" "Amazonka.CostExplorer.CreateAnomalySubscription" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "CreateAnomalySubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "anomalySubscription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AnomalySubscription)))
type AWSResponse CreateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

newCreateAnomalySubscription Source #

Create a value of CreateAnomalySubscription 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:anomalySubscription:CreateAnomalySubscription', createAnomalySubscription_anomalySubscription - The cost anomaly subscription object that you want to create.

Request Lenses

createAnomalySubscription_anomalySubscription :: Lens' CreateAnomalySubscription AnomalySubscription Source #

The cost anomaly subscription object that you want to create.

Destructuring the Response

data CreateAnomalySubscriptionResponse Source #

See: newCreateAnomalySubscriptionResponse smart constructor.

Constructors

CreateAnomalySubscriptionResponse' 

Fields

Instances

Instances details
Eq CreateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

Read CreateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

Show CreateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

Generic CreateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

Associated Types

type Rep CreateAnomalySubscriptionResponse :: Type -> Type #

NFData CreateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

type Rep CreateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalySubscription

type Rep CreateAnomalySubscriptionResponse = D1 ('MetaData "CreateAnomalySubscriptionResponse" "Amazonka.CostExplorer.CreateAnomalySubscription" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "CreateAnomalySubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateAnomalySubscriptionResponse Source #

Create a value of CreateAnomalySubscriptionResponse 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:httpStatus:CreateAnomalySubscriptionResponse', createAnomalySubscriptionResponse_httpStatus - The response's http status code.

$sel:subscriptionArn:CreateAnomalySubscriptionResponse', createAnomalySubscriptionResponse_subscriptionArn - The unique identifier of your newly created cost anomaly subscription.

Response Lenses

createAnomalySubscriptionResponse_subscriptionArn :: Lens' CreateAnomalySubscriptionResponse Text Source #

The unique identifier of your newly created cost anomaly subscription.