Class: Aws::CostExplorer::Types::GetAnomaliesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CostExplorer::Types::GetAnomaliesRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-costexplorer/types.rb
Overview
When making an API call, you may pass GetAnomaliesRequest data as a 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,
}
Constant Summary collapse
- SENSITIVE =
[]
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.
1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 1857 class GetAnomaliesRequest < Struct.new( :monitor_arn, :date_interval, :feedback, :total_impact, :next_page_token, :max_results) SENSITIVE = [] include Aws::Structure end |
#feedback ⇒ String
Filters anomaly results by the feedback field on the anomaly object.
1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 1857 class GetAnomaliesRequest < Struct.new( :monitor_arn, :date_interval, :feedback, :total_impact, :next_page_token, :max_results) SENSITIVE = [] include Aws::Structure end |
#max_results ⇒ Integer
The number of entries a paginated response contains.
1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 1857 class GetAnomaliesRequest < Struct.new( :monitor_arn, :date_interval, :feedback, :total_impact, :next_page_token, :max_results) SENSITIVE = [] include Aws::Structure end |
#monitor_arn ⇒ String
Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 1857 class GetAnomaliesRequest < Struct.new( :monitor_arn, :date_interval, :feedback, :total_impact, :next_page_token, :max_results) SENSITIVE = [] include Aws::Structure end |
#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.
1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 1857 class GetAnomaliesRequest < Struct.new( :monitor_arn, :date_interval, :feedback, :total_impact, :next_page_token, :max_results) SENSITIVE = [] include Aws::Structure end |
#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.
1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 1857 class GetAnomaliesRequest < Struct.new( :monitor_arn, :date_interval, :feedback, :total_impact, :next_page_token, :max_results) SENSITIVE = [] include Aws::Structure end |