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 monitor definitions for your account. You can filter using a list of cost anomaly monitor Amazon Resource Names (ARNs).
Synopsis
- data GetAnomalyMonitors = GetAnomalyMonitors' {
- nextPageToken :: Maybe Text
- monitorArnList :: Maybe [Text]
- maxResults :: Maybe Int
- newGetAnomalyMonitors :: GetAnomalyMonitors
- getAnomalyMonitors_nextPageToken :: Lens' GetAnomalyMonitors (Maybe Text)
- getAnomalyMonitors_monitorArnList :: Lens' GetAnomalyMonitors (Maybe [Text])
- getAnomalyMonitors_maxResults :: Lens' GetAnomalyMonitors (Maybe Int)
- data GetAnomalyMonitorsResponse = GetAnomalyMonitorsResponse' {}
- newGetAnomalyMonitorsResponse :: Int -> GetAnomalyMonitorsResponse
- getAnomalyMonitorsResponse_nextPageToken :: Lens' GetAnomalyMonitorsResponse (Maybe Text)
- getAnomalyMonitorsResponse_httpStatus :: Lens' GetAnomalyMonitorsResponse Int
- getAnomalyMonitorsResponse_anomalyMonitors :: Lens' GetAnomalyMonitorsResponse [AnomalyMonitor]
Creating a Request
data GetAnomalyMonitors Source #
See: newGetAnomalyMonitors
smart constructor.
GetAnomalyMonitors' | |
|
Instances
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.
GetAnomalyMonitorsResponse' | |
|
Instances
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_httpStatus :: Lens' GetAnomalyMonitorsResponse Int Source #
The response's http status code.
getAnomalyMonitorsResponse_anomalyMonitors :: Lens' GetAnomalyMonitorsResponse [AnomalyMonitor] Source #
A list of cost anomaly monitors that includes the detailed metadata for each monitor.