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

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

  • monitorArnList :: Maybe [Text]

    A list of cost anomaly monitor ARNs.

  • maxResults :: Maybe Int

    The number of entries that a paginated response contains.

Instances

Instances details
Eq GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Read GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Show GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Generic GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Associated Types

type Rep GetAnomalyMonitors :: Type -> Type #

NFData GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Methods

rnf :: GetAnomalyMonitors -> () #

Hashable GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

ToJSON GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

AWSRequest GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Associated Types

type AWSResponse 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

type Rep GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

type Rep GetAnomalyMonitors = D1 ('MetaData "GetAnomalyMonitors" "Amazonka.CostExplorer.GetAnomalyMonitors" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "GetAnomalyMonitors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "monitorArnList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse GetAnomalyMonitors Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

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:nextPageToken: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.

$sel:monitorArnList:GetAnomalyMonitors', getAnomalyMonitors_monitorArnList - A list of cost anomaly monitor ARNs.

$sel:maxResults:GetAnomalyMonitors', getAnomalyMonitors_maxResults - The number of entries that a paginated response contains.

Request Lenses

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.

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

A list of cost anomaly monitor ARNs.

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

The number of entries that a paginated response contains.

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
Eq GetAnomalyMonitorsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Read GetAnomalyMonitorsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Show GetAnomalyMonitorsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Generic GetAnomalyMonitorsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalyMonitors

Associated Types

type Rep GetAnomalyMonitorsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" '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:

$sel:nextPageToken: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.