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

Description

Retrieves the cost anomaly monitor definitions for your account. You can filter using a list of cost anomaly monitor Amazon Resource Names (ARNs).

Synopsis

Creating a Request

data GetAnomalyMonitors Source #

See: newGetAnomalyMonitors smart constructor.

Constructors

GetAnomalyMonitors' 

Fields

  • maxResults :: Maybe Int

    The number of entries that a paginated response contains.

  • monitorArnList :: Maybe [Text]

    A list of cost anomaly monitor ARNs.

  • nextPageToken :: Maybe Text

    The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

Instances

Instances details
ToJSON GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

ToHeaders GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

ToPath GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

ToQuery GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

AWSRequest GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Associated Types

type AWSResponse GetAnomalyMonitors #

Generic GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Associated Types

type Rep GetAnomalyMonitors :: Type -> Type #

Read GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Show GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

NFData GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Methods

rnf :: GetAnomalyMonitors -> () #

Eq GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Hashable GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

type AWSResponse GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

type Rep GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

type Rep GetAnomalyMonitors = D1 ('MetaData "GetAnomalyMonitors" "Amazonka.CostExplorer.GetAnomalyMonitors" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "GetAnomalyMonitors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "monitorArnList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newGetAnomalyMonitors :: GetAnomalyMonitors Source #

Create a value of GetAnomalyMonitors 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:maxResults:GetAnomalyMonitors', getAnomalyMonitors_maxResults - The number of entries that a paginated response contains.

GetAnomalyMonitors, getAnomalyMonitors_monitorArnList - A list of cost anomaly monitor ARNs.

GetAnomalyMonitors, getAnomalyMonitors_nextPageToken - The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

Request Lenses

getAnomalyMonitors_maxResults :: Lens' GetAnomalyMonitors (Maybe Int) Source #

The number of entries that a paginated response contains.

getAnomalyMonitors_monitorArnList :: Lens' GetAnomalyMonitors (Maybe [Text]) Source #

A list of cost anomaly monitor ARNs.

getAnomalyMonitors_nextPageToken :: Lens' GetAnomalyMonitors (Maybe Text) Source #

The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

Destructuring the Response

data GetAnomalyMonitorsResponse Source #

See: newGetAnomalyMonitorsResponse smart constructor.

Constructors

GetAnomalyMonitorsResponse' 

Fields

  • nextPageToken :: Maybe Text

    The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

  • httpStatus :: Int

    The response's http status code.

  • anomalyMonitors :: [AnomalyMonitor]

    A list of cost anomaly monitors that includes the detailed metadata for each monitor.

Instances

Instances details
Generic GetAnomalyMonitorsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Associated Types

type Rep GetAnomalyMonitorsResponse :: Type -> Type #

Read GetAnomalyMonitorsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Show GetAnomalyMonitorsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

NFData GetAnomalyMonitorsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Eq GetAnomalyMonitorsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

type Rep GetAnomalyMonitorsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

type Rep GetAnomalyMonitorsResponse = D1 ('MetaData "GetAnomalyMonitorsResponse" "Amazonka.CostExplorer.GetAnomalyMonitors" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "GetAnomalyMonitorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "anomalyMonitors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AnomalyMonitor]))))

newGetAnomalyMonitorsResponse Source #

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

GetAnomalyMonitors, getAnomalyMonitorsResponse_nextPageToken - The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

$sel:httpStatus:GetAnomalyMonitorsResponse', getAnomalyMonitorsResponse_httpStatus - The response's http status code.

$sel:anomalyMonitors:GetAnomalyMonitorsResponse', getAnomalyMonitorsResponse_anomalyMonitors - A list of cost anomaly monitors that includes the detailed metadata for each monitor.

Response Lenses

getAnomalyMonitorsResponse_nextPageToken :: Lens' GetAnomalyMonitorsResponse (Maybe Text) Source #

The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

getAnomalyMonitorsResponse_anomalyMonitors :: Lens' GetAnomalyMonitorsResponse [AnomalyMonitor] Source #

A list of cost anomaly monitors that includes the detailed metadata for each monitor.