Skip to content

GetAnomaliesRequest

Source code in docs_src/capo_cost_explorer/types/get_anomalies_request.py
class GetAnomaliesRequest(TypedDict, closed=True):
    monitor_arn: NotRequired["capo_cost_explorer.types.generic_string.GenericString"]
    """<p>Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN). </p>"""
    date_interval: "capo_cost_explorer.types.anomaly_date_interval.AnomalyDateInterval"
    """<p>Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an <code>AnomalyEndDate</code> in the specified time range. </p>"""
    feedback: NotRequired[
        "capo_cost_explorer.types.anomaly_feedback_type.AnomalyFeedbackType"
    ]
    """<p>Filters anomaly results by the feedback field on the anomaly object. </p>"""
    total_impact: NotRequired[
        "capo_cost_explorer.types.total_impact_filter.TotalImpactFilter"
    ]
    """<p>Filters anomaly results by the total impact field on the anomaly object. For example, you can filter anomalies <code>GREATER_THAN 200.00</code> to retrieve anomalies, with an estimated dollar impact greater than 200. </p>"""
    next_page_token: NotRequired[
        "capo_cost_explorer.types.next_page_token.NextPageToken"
    ]
    """<p>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. </p>"""
    max_results: NotRequired["capo_cost_explorer.types.page_size.PageSize"]
    """<p>The number of entries a paginated response contains. </p>"""

date_interval instance-attribute

date_interval: 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 instance-attribute

feedback: NotRequired[AnomalyFeedbackType]

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

max_results instance-attribute

max_results: NotRequired[PageSize]

The number of entries a paginated response contains.

monitor_arn instance-attribute

monitor_arn: NotRequired[GenericString]

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

next_page_token instance-attribute

next_page_token: NotRequired[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.

total_impact instance-attribute

total_impact: NotRequired[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.