You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CostExplorer::Types::GetAnomaliesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CostExplorer::Types::GetAnomaliesRequest
- Defined in:
- (unknown)
Overview
When passing GetAnomaliesRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
monitor_arn: "GenericString",
date_interval: { # required
start_date: "YearMonthDay", # required
end_date: "YearMonthDay",
},
feedback: "YES", # accepts YES, NO, PLANNED_ACTIVITY
total_impact: {
numeric_operator: "EQUAL", # required, accepts EQUAL, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, BETWEEN
start_value: 1.0, # required
end_value: 1.0,
},
next_page_token: "NextPageToken",
max_results: 1,
}
Instance Attribute Summary collapse
-
#date_interval ⇒ Types::AnomalyDateInterval
Assigns the start and end dates for retrieving cost anomalies.
-
#feedback ⇒ String
Filters anomaly results by the feedback field on the anomaly object.
-
#max_results ⇒ Integer
The number of entries a paginated response contains.
-
#monitor_arn ⇒ String
Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
-
#next_page_token ⇒ String
The token to retrieve the next set of results.
-
#total_impact ⇒ Types::TotalImpactFilter
Filters anomaly results by the total impact field on the anomaly object.
Instance Attribute Details
#date_interval ⇒ Types::AnomalyDateInterval
Assigns the start and end dates for retrieving cost anomalies. The
returned anomaly object will have an AnomalyEndDate
in the specified
time range.
#feedback ⇒ String
Filters anomaly results by the feedback field on the anomaly object.
Possible values:
- YES
- NO
- PLANNED_ACTIVITY
#max_results ⇒ Integer
The number of entries a paginated response contains.
#monitor_arn ⇒ String
Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
#next_page_token ⇒ String
The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.
#total_impact ⇒ Types::TotalImpactFilter
Filters anomaly results by the total impact field on the anomaly object.
For example, you can filter anomalies GREATER_THAN 200.00
to retrieve
anomalies, with an estimated dollar impact greater than 200.