Class: Aws::CostExplorer::Types::GetAnomaliesRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-costexplorer/types.rb

Overview

Note:

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

Instance Attribute Details

#date_intervalTypes::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

#feedbackString

Filters anomaly results by the feedback field on the anomaly object.

Returns:

  • (String)


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_resultsInteger

The number of entries a paginated response contains.

Returns:

  • (Integer)


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_arnString

Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).

Returns:

  • (String)


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_tokenString

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.

Returns:

  • (String)


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_impactTypes::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