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

Description

Updates an existing cost anomaly monitor. The changes made are applied going forward, and doesn't change anomalies detected in the past.

Synopsis

Creating a Request

data UpdateAnomalyMonitor Source #

See: newUpdateAnomalyMonitor smart constructor.

Constructors

UpdateAnomalyMonitor' 

Fields

Instances

Instances details
ToJSON UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

ToHeaders UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

ToPath UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

ToQuery UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

AWSRequest UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

Associated Types

type AWSResponse UpdateAnomalyMonitor #

Generic UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

Associated Types

type Rep UpdateAnomalyMonitor :: Type -> Type #

Read UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

Show UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

NFData UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

Methods

rnf :: UpdateAnomalyMonitor -> () #

Eq UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

Hashable UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

type AWSResponse UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

type Rep UpdateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

type Rep UpdateAnomalyMonitor = D1 ('MetaData "UpdateAnomalyMonitor" "Amazonka.CostExplorer.UpdateAnomalyMonitor" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "UpdateAnomalyMonitor'" 'PrefixI 'True) (S1 ('MetaSel ('Just "monitorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "monitorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateAnomalyMonitor Source #

Create a value of UpdateAnomalyMonitor 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:

UpdateAnomalyMonitor, updateAnomalyMonitor_monitorName - The new name for the cost anomaly monitor.

UpdateAnomalyMonitor, updateAnomalyMonitor_monitorArn - Cost anomaly monitor Amazon Resource Names (ARNs).

Request Lenses

updateAnomalyMonitor_monitorName :: Lens' UpdateAnomalyMonitor (Maybe Text) Source #

The new name for the cost anomaly monitor.

updateAnomalyMonitor_monitorArn :: Lens' UpdateAnomalyMonitor Text Source #

Cost anomaly monitor Amazon Resource Names (ARNs).

Destructuring the Response

data UpdateAnomalyMonitorResponse Source #

See: newUpdateAnomalyMonitorResponse smart constructor.

Constructors

UpdateAnomalyMonitorResponse' 

Fields

Instances

Instances details
Generic UpdateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

Associated Types

type Rep UpdateAnomalyMonitorResponse :: Type -> Type #

Read UpdateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

Show UpdateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

NFData UpdateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

Eq UpdateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

type Rep UpdateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.UpdateAnomalyMonitor

type Rep UpdateAnomalyMonitorResponse = D1 ('MetaData "UpdateAnomalyMonitorResponse" "Amazonka.CostExplorer.UpdateAnomalyMonitor" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "UpdateAnomalyMonitorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "monitorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateAnomalyMonitorResponse Source #

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

UpdateAnomalyMonitor, updateAnomalyMonitorResponse_monitorArn - A cost anomaly monitor ARN.

Response Lenses