Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves the cost anomaly subscription objects for your account. You can filter using a list of cost anomaly monitor Amazon Resource Names (ARNs).
Synopsis
- data GetAnomalySubscriptions = GetAnomalySubscriptions' {
- subscriptionArnList :: Maybe [Text]
- nextPageToken :: Maybe Text
- maxResults :: Maybe Int
- monitorArn :: Maybe Text
- newGetAnomalySubscriptions :: GetAnomalySubscriptions
- getAnomalySubscriptions_subscriptionArnList :: Lens' GetAnomalySubscriptions (Maybe [Text])
- getAnomalySubscriptions_nextPageToken :: Lens' GetAnomalySubscriptions (Maybe Text)
- getAnomalySubscriptions_maxResults :: Lens' GetAnomalySubscriptions (Maybe Int)
- getAnomalySubscriptions_monitorArn :: Lens' GetAnomalySubscriptions (Maybe Text)
- data GetAnomalySubscriptionsResponse = GetAnomalySubscriptionsResponse' {}
- newGetAnomalySubscriptionsResponse :: Int -> GetAnomalySubscriptionsResponse
- getAnomalySubscriptionsResponse_nextPageToken :: Lens' GetAnomalySubscriptionsResponse (Maybe Text)
- getAnomalySubscriptionsResponse_httpStatus :: Lens' GetAnomalySubscriptionsResponse Int
- getAnomalySubscriptionsResponse_anomalySubscriptions :: Lens' GetAnomalySubscriptionsResponse [AnomalySubscription]
Creating a Request
data GetAnomalySubscriptions Source #
See: newGetAnomalySubscriptions
smart constructor.
GetAnomalySubscriptions' | |
|
Instances
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_subscriptionArnList :: Lens' GetAnomalySubscriptions (Maybe [Text]) Source #
A list of cost anomaly subscription ARNs.
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.
getAnomalySubscriptions_monitorArn :: Lens' GetAnomalySubscriptions (Maybe Text) Source #
Cost anomaly monitor ARNs.
Destructuring the Response
data GetAnomalySubscriptionsResponse Source #
See: newGetAnomalySubscriptionsResponse
smart constructor.
GetAnomalySubscriptionsResponse' | |
|
Instances
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_httpStatus :: Lens' GetAnomalySubscriptionsResponse Int Source #
The response's http status code.
getAnomalySubscriptionsResponse_anomalySubscriptions :: Lens' GetAnomalySubscriptionsResponse [AnomalySubscription] Source #
A list of cost anomaly subscriptions that includes the detailed metadata for each one.