View source: R/costexplorer_operations.R
costexplorer_get_cost_forecast | R Documentation |
Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period that you select, based on your past costs.
See https://www.paws-r-sdk.com/docs/costexplorer_get_cost_forecast/ for full documentation.
costexplorer_get_cost_forecast(
TimePeriod,
Metric,
Granularity,
Filter = NULL,
BillingViewArn = NULL,
PredictionIntervalLevel = NULL
)
TimePeriod |
[required] The period of time that you want the forecast to cover. The start date must be equal to or no later than the current date to avoid a validation error. |
Metric |
[required] Which metric Cost Explorer uses to create your forecast. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill?. Valid values for a
|
Granularity |
[required] How granular you want the forecast to be. You can get 3 months of
The |
Filter |
The filters that you want to use to filter your forecast. The
|
BillingViewArn |
The Amazon Resource Name (ARN) that uniquely identifies a specific billing view. The ARN is used to specify which particular billing view you want to interact with or retrieve information from when making API calls related to Amazon Web Services Billing and Cost Management features. The BillingViewArn can be retrieved by calling the ListBillingViews API. |
PredictionIntervalLevel |
Cost Explorer always returns the mean forecast as a single point. You can request a prediction interval around the mean by specifying a confidence level. The higher the confidence level, the more confident Cost Explorer is about the actual value falling in the prediction interval. Higher confidence levels result in wider prediction intervals. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.