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

Description

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

Synopsis

Creating a Request

data GetAnomalySubscriptions Source #

See: newGetAnomalySubscriptions smart constructor.

Constructors

GetAnomalySubscriptions' 

Fields

Instances

Instances details
ToJSON GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

ToHeaders GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

ToPath GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

ToQuery GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

AWSRequest GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Generic GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Associated Types

type Rep GetAnomalySubscriptions :: Type -> Type #

Read GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Show GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

NFData GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Methods

rnf :: GetAnomalySubscriptions -> () #

Eq GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Hashable GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

type AWSResponse GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

type Rep GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

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

newGetAnomalySubscriptions :: GetAnomalySubscriptions Source #

Create a value of GetAnomalySubscriptions 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:GetAnomalySubscriptions', getAnomalySubscriptions_maxResults - The number of entries a paginated response contains.

GetAnomalySubscriptions, getAnomalySubscriptions_monitorArn - Cost anomaly monitor ARNs.

GetAnomalySubscriptions, getAnomalySubscriptions_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:subscriptionArnList:GetAnomalySubscriptions', getAnomalySubscriptions_subscriptionArnList - A list of cost anomaly subscription ARNs.

Request Lenses

getAnomalySubscriptions_maxResults :: Lens' GetAnomalySubscriptions (Maybe Int) Source #

The number of entries a paginated response contains.

getAnomalySubscriptions_nextPageToken :: Lens' GetAnomalySubscriptions (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 GetAnomalySubscriptionsResponse Source #

See: newGetAnomalySubscriptionsResponse smart constructor.

Constructors

GetAnomalySubscriptionsResponse' 

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.

  • anomalySubscriptions :: [AnomalySubscription]

    A list of cost anomaly subscriptions that includes the detailed metadata for each one.

Instances

Instances details
Generic GetAnomalySubscriptionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Associated Types

type Rep GetAnomalySubscriptionsResponse :: Type -> Type #

Read GetAnomalySubscriptionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Show GetAnomalySubscriptionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

NFData GetAnomalySubscriptionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Eq GetAnomalySubscriptionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

type Rep GetAnomalySubscriptionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

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

newGetAnomalySubscriptionsResponse Source #

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

GetAnomalySubscriptions, getAnomalySubscriptionsResponse_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:GetAnomalySubscriptionsResponse', getAnomalySubscriptionsResponse_httpStatus - The response's http status code.

$sel:anomalySubscriptions:GetAnomalySubscriptionsResponse', getAnomalySubscriptionsResponse_anomalySubscriptions - A list of cost anomaly subscriptions that includes the detailed metadata for each one.

Response Lenses

getAnomalySubscriptionsResponse_nextPageToken :: Lens' GetAnomalySubscriptionsResponse (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.

getAnomalySubscriptionsResponse_anomalySubscriptions :: Lens' GetAnomalySubscriptionsResponse [AnomalySubscription] Source #

A list of cost anomaly subscriptions that includes the detailed metadata for each one.