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

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Read GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Show 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 #

NFData GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Methods

rnf :: GetAnomalySubscriptions -> () #

Hashable GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

ToJSON GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

AWSRequest 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

type Rep GetAnomalySubscriptions Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

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

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

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

$sel:nextPageToken: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:maxResults:GetAnomalySubscriptions', getAnomalySubscriptions_maxResults - The number of entries a paginated response contains.

$sel:monitorArn:GetAnomalySubscriptions', getAnomalySubscriptions_monitorArn - Cost anomaly monitor ARNs.

Request Lenses

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.

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

The number of entries a paginated response contains.

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

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Read GetAnomalySubscriptionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Show GetAnomalySubscriptionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Generic GetAnomalySubscriptionsResponse Source # 
Instance details

Defined in Amazonka.CostExplorer.GetAnomalySubscriptions

Associated Types

type Rep GetAnomalySubscriptionsResponse :: Type -> Type #

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

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