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

Description

Updates an existing cost anomaly monitor subscription.

Synopsis

Creating a Request

data UpdateAnomalySubscription Source #

See: newUpdateAnomalySubscription smart constructor.

Constructors

UpdateAnomalySubscription' 

Fields

Instances

Instances details
Eq UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

Read UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

Show UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

Generic UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

Associated Types

type Rep UpdateAnomalySubscription :: Type -> Type #

NFData UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

Hashable UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

ToJSON UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

AWSRequest UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

ToHeaders UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

ToPath UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

ToQuery UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

type Rep UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

type Rep UpdateAnomalySubscription = D1 ('MetaData "UpdateAnomalySubscription" "Amazonka.CostExplorer.UpdateAnomalySubscription" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "UpdateAnomalySubscription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "subscriptionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "frequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AnomalySubscriptionFrequency)) :*: S1 ('MetaSel ('Just "threshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: (S1 ('MetaSel ('Just "monitorArnList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "subscribers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Subscriber])) :*: S1 ('MetaSel ('Just "subscriptionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateAnomalySubscription Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

newUpdateAnomalySubscription Source #

Create a value of UpdateAnomalySubscription 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:subscriptionName:UpdateAnomalySubscription', updateAnomalySubscription_subscriptionName - The new name of the subscription.

$sel:frequency:UpdateAnomalySubscription', updateAnomalySubscription_frequency - The update to the frequency value that subscribers receive notifications.

$sel:threshold:UpdateAnomalySubscription', updateAnomalySubscription_threshold - The update to the threshold value for receiving notifications.

$sel:monitorArnList:UpdateAnomalySubscription', updateAnomalySubscription_monitorArnList - A list of cost anomaly monitor ARNs.

$sel:subscribers:UpdateAnomalySubscription', updateAnomalySubscription_subscribers - The update to the subscriber list.

$sel:subscriptionArn:UpdateAnomalySubscription', updateAnomalySubscription_subscriptionArn - A cost anomaly subscription Amazon Resource Name (ARN).

Request Lenses

updateAnomalySubscription_frequency :: Lens' UpdateAnomalySubscription (Maybe AnomalySubscriptionFrequency) Source #

The update to the frequency value that subscribers receive notifications.

updateAnomalySubscription_threshold :: Lens' UpdateAnomalySubscription (Maybe Double) Source #

The update to the threshold value for receiving notifications.

updateAnomalySubscription_subscriptionArn :: Lens' UpdateAnomalySubscription Text Source #

A cost anomaly subscription Amazon Resource Name (ARN).

Destructuring the Response

data UpdateAnomalySubscriptionResponse Source #

See: newUpdateAnomalySubscriptionResponse smart constructor.

Constructors

UpdateAnomalySubscriptionResponse' 

Fields

Instances

Instances details
Eq UpdateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

Read UpdateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

Show UpdateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

Generic UpdateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

Associated Types

type Rep UpdateAnomalySubscriptionResponse :: Type -> Type #

NFData UpdateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

type Rep UpdateAnomalySubscriptionResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalySubscription

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

newUpdateAnomalySubscriptionResponse Source #

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

$sel:subscriptionArn:UpdateAnomalySubscription', updateAnomalySubscriptionResponse_subscriptionArn - A cost anomaly subscription ARN.

Response Lenses