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

Description

Creates a new cost anomaly detection monitor with the requested type and monitor specification.

Synopsis

Creating a Request

data CreateAnomalyMonitor Source #

See: newCreateAnomalyMonitor smart constructor.

Constructors

CreateAnomalyMonitor' 

Fields

Instances

Instances details
Eq CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

Read CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

Show CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

Generic CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

Associated Types

type Rep CreateAnomalyMonitor :: Type -> Type #

NFData CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

Methods

rnf :: CreateAnomalyMonitor -> () #

Hashable CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

ToJSON CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

AWSRequest CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

Associated Types

type AWSResponse CreateAnomalyMonitor #

ToHeaders CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

ToPath CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

ToQuery CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

type Rep CreateAnomalyMonitor Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

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

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

newCreateAnomalyMonitor Source #

Create a value of CreateAnomalyMonitor 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:anomalyMonitor:CreateAnomalyMonitor', createAnomalyMonitor_anomalyMonitor - The cost anomaly detection monitor object that you want to create.

Request Lenses

createAnomalyMonitor_anomalyMonitor :: Lens' CreateAnomalyMonitor AnomalyMonitor Source #

The cost anomaly detection monitor object that you want to create.

Destructuring the Response

data CreateAnomalyMonitorResponse Source #

See: newCreateAnomalyMonitorResponse smart constructor.

Constructors

CreateAnomalyMonitorResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • monitorArn :: Text

    The unique identifier of your newly created cost anomaly detection monitor.

Instances

Instances details
Eq CreateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

Read CreateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

Show CreateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

Generic CreateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

Associated Types

type Rep CreateAnomalyMonitorResponse :: Type -> Type #

NFData CreateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

type Rep CreateAnomalyMonitorResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.CreateAnomalyMonitor

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

newCreateAnomalyMonitorResponse Source #

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

$sel:monitorArn:CreateAnomalyMonitorResponse', createAnomalyMonitorResponse_monitorArn - The unique identifier of your newly created cost anomaly detection monitor.

Response Lenses

createAnomalyMonitorResponse_monitorArn :: Lens' CreateAnomalyMonitorResponse Text Source #

The unique identifier of your newly created cost anomaly detection monitor.