AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Retrieves all of the cost anomalies detected on your account during the time period that's specified by the DateInterval object. Anomalies are available for up to 90 days.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetAnomaliesAsync.

Namespace: Amazon.CostExplorer
Assembly: AWSSDK.CostExplorer.dll
Version: 3.x.y.z

Syntax

C#
public virtual GetAnomaliesResponse GetAnomalies(
         GetAnomaliesRequest request
)

Parameters

request
Type: Amazon.CostExplorer.Model.GetAnomaliesRequest

Container for the necessary parameters to execute the GetAnomalies service method.

Return Value


The response from the GetAnomalies service method, as returned by CostExplorer.

Exceptions

ExceptionCondition
InvalidNextTokenException The pagination token is invalid. Try again without a pagination token.
LimitExceededException You made too many calls in a short period of time. Try again later.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also