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.
Interface for accessing CostExplorer The Cost Explorer API allows you to programmatically query your cost and usage data. You can query for aggregated data such as total monthly costs or total daily usage. You can also query for granular data, such as the number of daily write operations for Amazon DynamoDB database tables in your production environment.
The Cost Explorer API provides the following endpoint:
For information about costs associated with the Cost Explorer API, see AWS Cost Management Pricing.
public interface IAmazonCostExplorer IAmazonService, IDisposable
The IAmazonCostExplorer type exposes the following members
Retrieves cost and usage metrics for your account. You can specify which cost and
usage-related metric, such as
GetDimensionValuesoperation. Master accounts in an organization in AWS Organizations have access to all member accounts.
Initiates the asynchronous execution of the GetCostAndUsage operation.
Retrieves all available filter values for a specified filter over a period of time. You can search the dimension values for an arbitrary string.
Initiates the asynchronous execution of the GetDimensionValues operation.
Retrieves the reservation coverage for your account. This allows you to see how much of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service, or Amazon Redshift usage is covered by a reservation. An organization's master account can see the coverage of the associated member accounts. For any time period, you can filter data about reservation usage by the following dimensions:
To determine valid values for a dimension, use the
Initiates the asynchronous execution of the GetReservationCoverage operation.
Gets recommendations for which reservations to purchase. These recommendations could help you reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing.
AWS generates your recommendations by identifying your On-Demand usage during a specific time period and collecting your usage into categories that are eligible for a reservation. After AWS has these categories, it simulates every combination of reservations in each category of usage to identify the best number of each type of RI to purchase to maximize your estimated savings.
For example, AWS automatically aggregates your EC2 Linux, shared tenancy, and c4 family
usage in the US West (Oregon) Region and recommends that you buy size-flexible regional
reservations to apply to the c4 family usage. AWS recommends the smallest size instance
in an instance family. This makes it easier to purchase a size-flexible RI. AWS also
shows the equal number of normalized units so that you can purchase any instance size
that you want. For this example, your RI recommendation would be for
Initiates the asynchronous execution of the GetReservationPurchaseRecommendation operation.
Retrieves the reservation utilization for your account. Master accounts in an organization
have access to member accounts. You can filter data by dimensions in a time period.
You can use
Initiates the asynchronous execution of the GetReservationUtilization operation.
Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string.
Initiates the asynchronous execution of the GetTags operation.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms