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.
Container for the parameters to the GetCostAndUsage operation.
Retrieve cost and usage metrics for your account. You can specify which cost and usage-related
metric, such as
UsageQuantity, that you
want the request to return. You can also filter and group your data by various dimensions,
AZ, in a specific time range. See the
GetDimensionValues action for a complete list of the valid dimensions.
Master accounts in an organization have access to all member accounts.
public class GetCostAndUsageRequest : AmazonCostExplorerRequest IAmazonWebServiceRequest
The GetCostAndUsageRequest type exposes the following members
Gets and sets the property Filter.
Filters AWS costs by different dimensions. For example, you can specify
Gets and sets the property Granularity.
Sets the AWS cost granularity to
Gets and sets the property GroupBy.
You can group AWS costs using up to two different groups, either dimensions, tag keys, or both.
When you group by tag key, you get all tag values, including empty strings.
Valid values are
Gets and sets the property Metrics.
Which metrics are returned in the query. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill?.
Valid values are
If you return the
Gets and sets the property NextPageToken.
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.
Gets and sets the property TimePeriod.
Sets the start and end dates for retrieving AWS costs. The start date is inclusive,
but the end date is exclusive. For example, if
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