Smaws_Client_Budgets.Typestype nonrec values = value listtype nonrec users = user listThe type of a notification. It must be ACTUAL or FORECASTED.
The comparison operator of a notification. Currently, the service supports the following operators:
GREATER_THAN, LESS_THAN, EQUAL_TO
type nonrec notification = {notification_state : notification_state option;Specifies whether this notification is in alarm. If a budget notification is in the ALARM state, you passed the set threshold for the budget.
threshold_type : threshold_type option;The type of threshold for a notification. For ABSOLUTE_VALUE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend. For example, if you have a budget for 200 dollars and you have a PERCENTAGE threshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.
threshold : notification_threshold;The threshold that's associated with a notification. Thresholds are always a percentage, and many customers find value being alerted between 50% - 200% of the budgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted amount.
*)comparison_operator : comparison_operator;The comparison that's used for this notification.
*)notification_type : notification_type;Specifies whether the notification is for how much you have spent (ACTUAL) or for how much that you're forecasted to spend (FORECASTED).
}A notification that's associated with a budget. A budget can have up to ten notifications.
Each notification must have at least one subscriber. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.
For example, if you have a budget for 200 dollars and you want to be notified when you go over 160 dollars, create a notification with the following parameters:
ACTUALthresholdType of PERCENTAGEcomparisonOperator of GREATER_THANthreshold of 80The subscription type of the subscriber. It can be SMS or EMAIL.
type nonrec subscriber = {address : subscriber_address;The address that Amazon Web Services sends budget notifications to, either an SNS topic or an email.
When you create a subscriber, the value of Address can't contain line breaks.
subscription_type : subscription_type;The type of notification that Amazon Web Services sends to a subscriber.
*)}The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon SNS topic or an email address.
For example, an email subscriber has the following parameters:
subscriptionType of EMAILaddress of example@example.comtype nonrec update_subscriber_request = {new_subscriber : subscriber;The updated subscriber that is associated with a budget notification.
*)old_subscriber : subscriber;The previous subscriber that is associated with a budget notification.
*)notification : notification;The notification whose subscriber you want to update.
*)budget_name : budget_name;The name of the budget whose subscriber you want to update.
*)account_id : account_id;The accountId that is associated with the budget whose subscriber you want to update.
}Request of UpdateSubscriber
The number of API requests has exceeded the maximum allowed API request throttling limit for the account.
We can’t locate the resource that you specified.
An error on the client occurred. Typically, the cause is an invalid input value.
An error on the server occurred during the processing of your request. Try again later.
The budget name already exists. Budget names must be unique within an account.
You are not authorized to use this operation with the given parameters.
type nonrec update_notification_request = {new_notification : notification;The updated notification to be associated with a budget.
*)old_notification : notification;The previous notification that is associated with a budget.
*)budget_name : budget_name;The name of the budget whose notification you want to update.
*)account_id : account_id;The accountId that is associated with the budget whose notification you want to update.
}Request of UpdateNotification
type nonrec spend = {unit_ : unit_value;The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.
*)amount : numeric_value;The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.
*)}The amount of cost or usage that's measured for a budget.
Cost example: A Spend for 3 USD of costs has the following parameters:
Amount of 3Unit of USDUsage example: A Spend for 3 GB of S3 usage has the following parameters:
Amount of 3Unit of GBtype nonrec planned_budget_limits = (generic_string * spend) listtype nonrec dimension_values = dimension_value listtype nonrec cost_filters = (generic_string * dimension_values) listA map that represents the cost filters that are applied to the budget.
type nonrec cost_types = {use_amortized : nullable_boolean option;Specifies whether a budget uses the amortized rate.
The default value is false.
include_discount : nullable_boolean option;Specifies whether a budget includes discounts.
The default value is true.
include_support : nullable_boolean option;Specifies whether a budget includes support subscription fees.
The default value is true.
include_other_subscription : nullable_boolean option;Specifies whether a budget includes non-RI subscription costs.
The default value is true.
include_recurring : nullable_boolean option;Specifies whether a budget includes recurring fees such as monthly RI fees.
The default value is true.
include_upfront : nullable_boolean option;Specifies whether a budget includes upfront RI costs.
The default value is true.
include_credit : nullable_boolean option;Specifies whether a budget includes credits.
The default value is true.
include_refund : nullable_boolean option;Specifies whether a budget includes refunds.
The default value is true.
use_blended : nullable_boolean option;Specifies whether a budget uses a blended rate.
The default value is false.
include_subscription : nullable_boolean option;Specifies whether a budget includes subscriptions.
The default value is true.
include_tax : nullable_boolean option;Specifies whether a budget includes taxes.
The default value is true.
}The types of cost that are included in a COST budget, such as tax and subscriptions.
USAGE, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, and SAVINGS_PLANS_COVERAGE budgets don't have CostTypes.
The time unit of the budget, such as MONTHLY or QUARTERLY.
type nonrec time_period = {end_ : generic_timestamp option;The end date for a budget. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.
After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers. You can change your end date with the UpdateBudget operation.
start : generic_timestamp option;The start date for a budget. If you created your budget and didn't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, ANNUALLY, or CUSTOM). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, Amazon Web Services set your start date to 01/01/18 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.
You can change your start date with the UpdateBudget operation.
}The period of time that's covered by a budget. The period has a start date and an end date. The start date must come before the end date. There are no restrictions on the end date.
type nonrec calculated_spend = {forecasted_spend : spend option;The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.
*)actual_spend : spend;The amount of cost, usage, RI units, or Savings Plans units that you used.
*)}The spend objects that are associated with this budget. The actualSpend tracks how much you've used, cost, usage, RI units, or Savings Plans units and the forecastedSpend tracks how much that you're predicted to spend based on your historical usage profile.
For example, if it's the 20th of the month and you have spent 50 dollars on Amazon EC2, your actualSpend is 50 USD, and your forecastedSpend is 75 USD.
The type of a budget. It must be one of the following types:
COST, USAGE, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, or SAVINGS_PLANS_COVERAGE.
type nonrec historical_options = {look_back_available_periods : adjustment_period option;The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current BudgetLimit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit.
For example, if you set BudgetAdjustmentPeriod as 4 quarters, but your account had no cost data in the first quarter, then only the last three quarters are included in the calculation. In this scenario, LookBackAvailablePeriods returns 3.
You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the BudgetAdjustmentPeriod and your historical cost data.
budget_adjustment_period : adjustment_period;The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. The maximum value depends on the TimeUnit granularity of the budget:
DAILY granularity, the maximum value is 60.MONTHLY granularity, the maximum value is 12.QUARTERLY granularity, the maximum value is 4.ANNUALLY granularity, the maximum value is 1.}The parameters that define or describe the historical data that your auto-adjusting budget is based on.
type nonrec auto_adjust_data = {last_auto_adjust_time : generic_timestamp option;The last time that your budget was auto-adjusted.
*)historical_options : historical_options option;The parameters that define or describe the historical data that your auto-adjusting budget is based on.
*)auto_adjust_type : auto_adjust_type;The string that defines whether your budget auto-adjusts based on historical or forecasted data.
*)}The parameters that determine the budget amount for an auto-adjusting budget.
type nonrec dimension = | COST_CATEGORY_NAME| TAG_KEY| RESERVATION_MODIFIED| PAYMENT_OPTION| SAVINGS_PLAN_ARN| SAVINGS_PLANS_TYPE| RIGHTSIZING_TYPE| RESOURCE_ID| RESERVATION_ID| BILLING_ENTITY| INSTANCE_TYPE_FAMILY| CACHE_ENGINE| DATABASE_ENGINE| DEPLOYMENT_OPTION| INVOICING_ENTITY| LEGAL_ENTITY_NAME| SUBSCRIPTION_ID| PLATFORM| SCOPE| TENANCY| OPERATING_SYSTEM| RECORD_TYPE| USAGE_TYPE_GROUP| USAGE_TYPE| SERVICE_CODE| SERVICE| REGION| PURCHASE_TYPE| OPERATION| LINKED_ACCOUNT_NAME| LINKED_ACCOUNT| INSTANCE_TYPE| AZtype nonrec match_options = match_option listtype nonrec expression_dimension_values = {match_options : match_options option;The match options that you can use to filter your results. You can specify only one of these values in the array.
*)values : values;The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.
*)key : dimension;The name of the dimension that you want to filter on.
*)}Contains the specifications for the filters to use for your request.
type nonrec tag_values = {match_options : match_options option;The match options that you can use to filter your results.
*)values : values option;The specific value of the tag.
*)key : tag_key option;The key for the tag.
*)}The values that are available for a tag.
type nonrec cost_category_values = {match_options : match_options option;The match options that you can use to filter your results.
*)values : values option;The specific value of the cost category.
*)key : cost_category_name option;The unique name of the cost category.
*)}The cost category values used for filtering the costs.
type expression = {cost_categories : cost_category_values option;The filter that's based on CostCategoryValues.
*)dimensions : expression_dimension_values option;The specific Dimension to use for Expression.
*)not : expression option;Return results that don't match a Dimension object.
*)and_ : expressions option;Return results that match both Dimension objects.
*)or : expressions option;Return results that match either Dimension object.
*)}Use Expression to filter in various Budgets APIs.
and expressions = expression listtype nonrec metrics = metric listtype nonrec health_status = {last_updated_time : generic_timestamp option;status_reason : health_status_reason option;The reason for the current status.
BILLING_VIEW_NO_ACCESS: The billing view resource does not grant billing:GetBillingViewData permission to this account.BILLING_VIEW_UNHEALTHY: The billing view associated with the budget is unhealthy.FILTER_INVALID: The filter contains reference to an account you do not have access to.MULTI_YEAR_HISTORICAL_DATA_DISABLED: The budget is not being updated. Enable multi-year historical data in your Cost Management preferences.status : health_status_value option;The current status of the billing view resource.
*)}Provides information about the current operational state of a billing view resource, including its ability to access and update based on its associated billing view.
type nonrec budget = {health_status : health_status option;The current operational state of a Billing View derived resource.
*)billing_view_arn : billing_view_arn option;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.
*)metrics : metrics option;The definition for how the budget data is aggregated.
*)filter_expression : expression option;The filtering dimensions for the budget and their corresponding values.
*)auto_adjust_data : auto_adjust_data option;The parameters that determine the budget amount for an auto-adjusting budget.
*)last_updated_time : generic_timestamp option;The last time that you updated this budget.
*)budget_type : budget_type;Specifies whether this budget tracks costs, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage.
*)calculated_spend : calculated_spend option;The actual and forecasted cost or usage that the budget tracks.
*)time_period : time_period option;The period of time that's covered by a budget. You set the start date and end date. The start date must come before the end date. The end date must come before 06/15/87 00:00 UTC.
If you create your budget and don't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, ANNUALLY, or CUSTOM). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, Amazon Web Services set your start date to 01/01/18 00:00 UTC. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.
You can change either date with the UpdateBudget operation.
After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers.
*)time_unit : time_unit;The length of time until a budget resets the actual and forecasted spend.
*)cost_types : cost_types option;The types of costs that are included in this COST budget.
USAGE, RI_UTILIZATION, RI_COVERAGE, SAVINGS_PLANS_UTILIZATION, and SAVINGS_PLANS_COVERAGE budgets do not have CostTypes.
cost_filters : cost_filters option;The cost filters, such as Region, Service, LinkedAccount, Tag, or CostCategory, that are applied to a budget.
Amazon Web Services Budgets supports the following services as a Service filter for RI budgets:
planned_budget_limits : planned_budget_limits option;A map containing multiple BudgetLimit, including current or future limits.
PlannedBudgetLimits is available for cost or usage budget and supports both monthly and quarterly TimeUnit.
For monthly budgets, provide 12 months of PlannedBudgetLimits values. This must start from the current month and include the next 11 months. The key is the start of the month, UTC in epoch seconds.
For quarterly budgets, provide four quarters of PlannedBudgetLimits value entries in standard calendar quarter increments. This must start from the current quarter and include the next three quarters. The key is the start of the quarter, UTC in epoch seconds.
If the planned budget expires before 12 months for monthly or four quarters for quarterly, provide the PlannedBudgetLimits values only for the remaining periods.
If the budget begins at a date in the future, provide PlannedBudgetLimits values from the start date of the budget.
After all of the BudgetLimit values in PlannedBudgetLimits are used, the budget continues to use the last limit as the BudgetLimit. At that point, the planned budget provides the same experience as a fixed budget.
DescribeBudget and DescribeBudgets response along with PlannedBudgetLimits also contain BudgetLimit representing the current month or quarter limit present in PlannedBudgetLimits. This only applies to budgets that are created with PlannedBudgetLimits. Budgets that are created without PlannedBudgetLimits only contain BudgetLimit. They don't contain PlannedBudgetLimits.
budget_limit : spend option;The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget.
BudgetLimit is required for cost or usage budgets, but optional for RI or Savings Plans utilization or coverage budgets. RI and Savings Plans utilization or coverage budgets default to 100. This is the only valid value for RI or Savings Plans utilization or coverage budgets. You can't use BudgetLimit with PlannedBudgetLimits for CreateBudget and UpdateBudget actions.
budget_name : budget_name;The name of a budget. The name must be unique within an account. The : and ] characters, and the "/action/" substring, aren't allowed in [BudgetName]. Budget names are validated for content. Names that contain phone numbers, URLs, or email addresses combined with certain terms may be rejected.
}Represents the output of the CreateBudget operation. The content consists of the detailed metadata and data file information, and the current status of the budget object.
This is the Amazon Resource Name (ARN) pattern for a budget:
arn:aws:budgets::AccountId:budget/budgetName
type nonrec update_budget_request = {new_budget : budget;The budget that you want to update your budget to.
*)account_id : account_id;The accountId that is associated with the budget that you want to update.
}Request of UpdateBudget
type nonrec action_threshold = {action_threshold_type : threshold_type;action_threshold_value : notification_threshold;}The trigger threshold of the action.
type nonrec roles = role listtype nonrec groups = group listtype nonrec iam_action_definition = {users : users option;A list of users to be attached. There must be at least one user.
*)groups : groups option;A list of groups to be attached. There must be at least one group.
*)roles : roles option;A list of roles to be attached. There must be at least one role.
*)policy_arn : policy_arn;The Amazon Resource Name (ARN) of the policy to be attached.
*)}The Identity and Access Management (IAM) action definition details.
type nonrec target_ids = target_id listtype nonrec scp_action_definition = {target_ids : target_ids;A list of target IDs.
*)policy_id : policy_id;The policy ID attached.
*)}The service control policies (SCP) action definition details.
type nonrec instance_ids = instance_id listtype nonrec ssm_action_definition = {instance_ids : instance_ids;The EC2 and RDS instance IDs.
*)region : region;The Region to run the SSM document.
*)action_sub_type : action_sub_type;The action subType.
*)}The Amazon Web Services Systems Manager (SSM) action definition details.
type nonrec definition = {ssm_action_definition : ssm_action_definition option;The Amazon Web Services Systems Manager (SSM) action definition details.
*)scp_action_definition : scp_action_definition option;The service control policies (SCPs) action definition details.
*)iam_action_definition : iam_action_definition option;The Identity and Access Management (IAM) action definition details.
*)}Specifies all of the type-specific parameters.
type nonrec subscribers = subscriber listtype nonrec action = {subscribers : subscribers;status : action_status;The status of the action.
*)approval_model : approval_model;This specifies if the action needs manual or automatic approval.
*)execution_role_arn : role_arn;The role passed for action execution and reversion. Roles and actions must be in the same account.
*)definition : definition;Where you specify all of the type-specific parameters.
*)action_threshold : action_threshold;The trigger threshold of the action.
*)action_type : action_type;The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
*)notification_type : notification_type;budget_name : budget_name;action_id : action_id;A system-generated universally unique identifier (UUID) for the action.
*)}A budget action resource.
type nonrec update_budget_action_response = {new_action : action;The updated action resource information.
*)old_action : action;The previous action resource information.
*)budget_name : budget_name;account_id : account_id;}type nonrec update_budget_action_request = {subscribers : subscribers option;approval_model : approval_model option;This specifies if the action needs manual or automatic approval.
*)execution_role_arn : role_arn option;The role passed for action execution and reversion. Roles and actions must be in the same account.
*)definition : definition option;action_threshold : action_threshold option;notification_type : notification_type option;action_id : action_id;A system-generated universally unique identifier (UUID) for the action.
*)budget_name : budget_name;account_id : account_id;}The request was received and recognized by the server, but the server rejected that particular method for the requested resource.
You've reached a Service Quota limit on this resource.
The billing view status must be HEALTHY to perform this action. Try again when the status is HEALTHY.
type nonrec resource_tag_key_list = resource_tag_key listtype nonrec untag_resource_request = {resource_tag_keys : resource_tag_key_list;The key that's associated with the tag.
*)resource_ar_n : amazon_resource_name;The unique identifier for the resource.
*)}type nonrec resource_tag = {value : resource_tag_value;The value that's associated with the tag.
*)key : resource_tag_key;The key that's associated with the tag.
*)}The tag structure that contains a tag key and value.
type nonrec resource_tag_list = resource_tag listtype nonrec tag_resource_request = {resource_ar_n : amazon_resource_name;The unique identifier for the resource.
*)}type nonrec notifications = notification listtype nonrec notification_with_subscribers = {subscribers : subscribers;A list of subscribers who are subscribed to this notification.
*)notification : notification;The notification that's associated with a budget.
*)}A notification with subscribers. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.
type nonrec notification_with_subscribers_list =
notification_with_subscribers listThe pagination token is invalid.
The pagination token expired.
type nonrec execute_budget_action_response = {execution_type : execution_type;The type of execution.
*)action_id : action_id;A system-generated universally unique identifier (UUID) for the action.
*)budget_name : budget_name;account_id : account_id;}type nonrec execute_budget_action_request = {execution_type : execution_type;The type of execution.
*)action_id : action_id;A system-generated universally unique identifier (UUID) for the action.
*)budget_name : budget_name;account_id : account_id;}type nonrec describe_subscribers_for_notification_response = {next_token : generic_string option;The pagination token in the service response that indicates the next set of results that you can retrieve.
*)subscribers : subscribers option;A list of subscribers that are associated with a notification.
*)}Response of DescribeSubscribersForNotification
type nonrec describe_subscribers_for_notification_request = {next_token : generic_string option;The pagination token that you include in your request to indicate the next set of results that you want to retrieve.
*)max_results : max_results option;An optional integer that represents how many entries a paginated response contains.
*)notification : notification;The notification whose subscribers you want to list.
*)budget_name : budget_name;The name of the budget whose subscribers you want descriptions of.
*)account_id : account_id;The accountId that is associated with the budget whose subscribers you want descriptions of.
}Request of DescribeSubscribersForNotification
type nonrec describe_notifications_for_budget_response = {next_token : generic_string option;The pagination token in the service response that indicates the next set of results that you can retrieve.
*)notifications : notifications option;A list of notifications that are associated with a budget.
*)}Response of GetNotificationsForBudget
type nonrec describe_notifications_for_budget_request = {next_token : generic_string option;The pagination token that you include in your request to indicate the next set of results that you want to retrieve.
*)max_results : max_results option;An optional integer that represents how many entries a paginated response contains.
*)budget_name : budget_name;The name of the budget whose notifications you want descriptions of.
*)account_id : account_id;The accountId that is associated with the budget whose notifications you want descriptions of.
}Request of DescribeNotificationsForBudget
type nonrec budgets = budget listtype nonrec describe_budgets_response = {next_token : generic_string option;The pagination token in the service response that indicates the next set of results that you can retrieve.
*)budgets : budgets option;A list of budgets.
*)}Response of DescribeBudgets
type nonrec describe_budgets_request = {show_filter_expression : nullable_boolean option;Specifies whether the response includes the filter expression associated with the budgets. By showing the filter expression, you can see detailed filtering logic applied to the budgets, such as Amazon Web Services services or tags that are being tracked.
*)next_token : generic_string option;The pagination token that you include in your request to indicate the next set of results that you want to retrieve.
*)max_results : max_results_describe_budgets option;An integer that represents how many budgets a paginated response contains. The default is 100.
*)account_id : account_id;The accountId that is associated with the budgets that you want to describe.
}Request of DescribeBudgets
Response of DescribeBudget
type nonrec describe_budget_request = {show_filter_expression : nullable_boolean option;Specifies whether the response includes the filter expression associated with the budget. By showing the filter expression, you can see detailed filtering logic applied to the budget, such as Amazon Web Services services or tags that are being tracked.
*)budget_name : budget_name;The name of the budget that you want a description of.
*)account_id : account_id;The accountId that is associated with the budget that you want a description of.
}Request of DescribeBudget
type nonrec budgeted_and_actual_amounts = {time_period : time_period option;The time period that's covered by this budget comparison.
*)actual_amount : spend option;Your actual costs or usage for a budget period.
*)budgeted_amount : spend option;The amount of cost or usage that you created the budget for.
*)}The amount of cost or usage that you created the budget for, compared to your actual costs or usage.
type nonrec budgeted_and_actual_amounts_list = budgeted_and_actual_amounts listtype nonrec budget_performance_history = {metrics : metrics option;The definition for how the budget data is aggregated.
*)filter_expression : expression option;The filtering dimensions for the budget and their corresponding values.
*)budgeted_and_actual_amounts_list : budgeted_and_actual_amounts_list option;A list of amounts of cost or usage that you created budgets for, which are compared to your actual costs or usage.
*)billing_view_arn : billing_view_arn option;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.
*)time_unit : time_unit option;cost_types : cost_types option;The history of the cost types for a budget during the specified time period.
*)cost_filters : cost_filters option;The history of the cost filters for a budget during the specified time period.
*)budget_type : budget_type option;budget_name : budget_name option;}A history of the state of a budget at the end of the budget's specified time period.
type nonrec describe_budget_performance_history_response = {next_token : generic_string option;budget_performance_history : budget_performance_history option;The history of how often the budget has gone into an ALARM state.
For DAILY budgets, the history saves the state of the budget for the last 60 days. For MONTHLY budgets, the history saves the state of the budget for the current month plus the last 12 months. For QUARTERLY budgets, the history saves the state of the budget for the last four quarters.
}type nonrec describe_budget_performance_history_request = {next_token : generic_string option;max_results : max_results option;time_period : time_period option;Retrieves how often the budget went into an ALARM state for the specified time period.
budget_name : budget_name;account_id : account_id;}type nonrec budget_notifications_for_account = {budget_name : budget_name option;notifications : notifications option;}The budget name and associated notifications for an account.
type nonrec budget_notifications_for_account_list =
budget_notifications_for_account listtype nonrec describe_budget_notifications_for_account_response = {next_token : generic_string option;budget_notifications_for_account : budget_notifications_for_account_list option;A list of budget names and associated notifications for an account.
*)}type nonrec describe_budget_notifications_for_account_request = {next_token : generic_string option;max_results : max_results_budget_notifications option;An integer that represents how many budgets a paginated response contains. The default is 50.
*)account_id : account_id;}type nonrec actions = action listtype nonrec describe_budget_actions_for_budget_response = {next_token : generic_string option;actions : actions;A list of the budget action resources information.
*)}type nonrec describe_budget_actions_for_budget_request = {next_token : generic_string option;max_results : max_results option;budget_name : budget_name;account_id : account_id;}type nonrec describe_budget_actions_for_account_response = {next_token : generic_string option;actions : actions;A list of the budget action resources information.
*)}type nonrec describe_budget_actions_for_account_request = {next_token : generic_string option;max_results : max_results option;account_id : account_id;}type nonrec describe_budget_action_response = {action : action;A budget action resource.
*)budget_name : budget_name;account_id : account_id;}type nonrec describe_budget_action_request = {action_id : action_id;A system-generated universally unique identifier (UUID) for the action.
*)budget_name : budget_name;account_id : account_id;}type nonrec action_history_details = {action : action;The budget action resource.
*)message : generic_string;}The description of the details for the event.
type nonrec action_history = {action_history_details : action_history_details;The description of the details for the event.
*)event_type : event_type;This distinguishes between whether the events are triggered by the user or are generated by the system.
*)status : action_status;The status of action at the time of the event.
*)timestamp : generic_timestamp;}The historical records for a budget action.
type nonrec action_histories = action_history listtype nonrec describe_budget_action_histories_response = {next_token : generic_string option;action_histories : action_histories;The historical record of the budget action resource.
*)}type nonrec describe_budget_action_histories_request = {next_token : generic_string option;max_results : max_results option;time_period : time_period option;action_id : action_id;A system-generated universally unique identifier (UUID) for the action.
*)budget_name : budget_name;account_id : account_id;}type nonrec delete_subscriber_request = {subscriber : subscriber;The subscriber that you want to delete.
*)notification : notification;The notification whose subscriber you want to delete.
*)budget_name : budget_name;The name of the budget whose subscriber you want to delete.
*)account_id : account_id;The accountId that is associated with the budget whose subscriber you want to delete.
}Request of DeleteSubscriber
type nonrec delete_notification_request = {notification : notification;The notification that you want to delete.
*)budget_name : budget_name;The name of the budget whose notification you want to delete.
*)account_id : account_id;The accountId that is associated with the budget whose notification you want to delete.
}Request of DeleteNotification
type nonrec delete_budget_request = {budget_name : budget_name;The name of the budget that you want to delete.
*)account_id : account_id;The accountId that is associated with the budget that you want to delete.
}Request of DeleteBudget
type nonrec delete_budget_action_response = {action : action;budget_name : budget_name;account_id : account_id;}type nonrec delete_budget_action_request = {action_id : action_id;A system-generated universally unique identifier (UUID) for the action.
*)budget_name : budget_name;account_id : account_id;}You've exceeded the notification or subscriber limit.
type nonrec create_subscriber_request = {subscriber : subscriber;The subscriber that you want to associate with a budget notification.
*)notification : notification;The notification that you want to create a subscriber for.
*)budget_name : budget_name;The name of the budget that you want to subscribe to. Budget names must be unique within an account.
*)account_id : account_id;The accountId that is associated with the budget that you want to create a subscriber for.
}Request of CreateSubscriber
type nonrec create_notification_request = {subscribers : subscribers;A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.
*)notification : notification;The notification that you want to create.
*)budget_name : budget_name;The name of the budget that you want Amazon Web Services to notify you about. Budget names must be unique within an account.
*)account_id : account_id;The accountId that is associated with the budget that you want to create a notification for.
}Request of CreateNotification
type nonrec create_budget_request = {notifications_with_subscribers : notification_with_subscribers_list option;A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget call, Amazon Web Services creates the notifications and subscribers for you.
budget : budget;The budget object that you want to create.
*)account_id : account_id;The accountId that is associated with the budget.
}Request of CreateBudget
type nonrec create_budget_action_response = {action_id : action_id;A system-generated universally unique identifier (UUID) for the action.
*)budget_name : budget_name;account_id : account_id;}type nonrec create_budget_action_request = {subscribers : subscribers;approval_model : approval_model;This specifies if the action needs manual or automatic approval.
*)execution_role_arn : role_arn;The role passed for action execution and reversion. Roles and actions must be in the same account.
*)definition : definition;action_threshold : action_threshold;action_type : action_type;The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
*)notification_type : notification_type;budget_name : budget_name;account_id : account_id;}