Module Smaws_Client_Budgets

Budgets client library built on EIO.

Types

module Types : sig ... end

Builders

val make_update_subscriber_response : unit -> unit
val make_notification : ?notification_state:Types.notification_state -> ?threshold_type:Types.threshold_type -> threshold:Types.notification_threshold -> comparison_operator:Types.comparison_operator -> notification_type:Types.notification_type -> unit -> Types.notification
val make_subscriber : address:Types.subscriber_address -> subscription_type:Types.subscription_type -> unit -> Types.subscriber
val make_update_subscriber_request : new_subscriber:Types.subscriber -> old_subscriber:Types.subscriber -> notification:Types.notification -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.update_subscriber_request
val make_update_notification_response : unit -> unit
val make_update_notification_request : new_notification:Types.notification -> old_notification:Types.notification -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.update_notification_request
val make_update_budget_response : unit -> unit
val make_spend : unit_:Types.unit_value -> amount:Types.numeric_value -> unit -> Types.spend
val make_cost_types : ?use_amortized:Types.nullable_boolean -> ?include_discount:Types.nullable_boolean -> ?include_support:Types.nullable_boolean -> ?include_other_subscription:Types.nullable_boolean -> ?include_recurring:Types.nullable_boolean -> ?include_upfront:Types.nullable_boolean -> ?include_credit:Types.nullable_boolean -> ?include_refund:Types.nullable_boolean -> ?use_blended:Types.nullable_boolean -> ?include_subscription:Types.nullable_boolean -> ?include_tax:Types.nullable_boolean -> unit -> Types.cost_types
val make_time_period : ?end_:Types.generic_timestamp -> ?start:Types.generic_timestamp -> unit -> Types.time_period
val make_calculated_spend : ?forecasted_spend:Types.spend -> actual_spend:Types.spend -> unit -> Types.calculated_spend
val make_historical_options : ?look_back_available_periods:Types.adjustment_period -> budget_adjustment_period:Types.adjustment_period -> unit -> Types.historical_options
val make_auto_adjust_data : ?last_auto_adjust_time:Types.generic_timestamp -> ?historical_options:Types.historical_options -> auto_adjust_type:Types.auto_adjust_type -> unit -> Types.auto_adjust_data
val make_expression_dimension_values : ?match_options:Types.match_options -> values:Types.values -> key:Types.dimension -> unit -> Types.expression_dimension_values
val make_tag_values : ?match_options:Types.match_options -> ?values:Types.values -> ?key:Types.tag_key -> unit -> Types.tag_values
val make_cost_category_values : ?match_options:Types.match_options -> ?values:Types.values -> ?key:Types.cost_category_name -> unit -> Types.cost_category_values
val make_expression : ?cost_categories:Types.cost_category_values -> ?tags:Types.tag_values -> ?dimensions:Types.expression_dimension_values -> ?not:Types.expression -> ?and_:Types.expressions -> ?or:Types.expressions -> unit -> Types.expression
val make_health_status : ?last_updated_time:Types.generic_timestamp -> ?status_reason:Types.health_status_reason -> ?status:Types.health_status_value -> unit -> Types.health_status
val make_budget : ?health_status:Types.health_status -> ?billing_view_arn:Types.billing_view_arn -> ?metrics:Types.metrics -> ?filter_expression:Types.expression -> ?auto_adjust_data:Types.auto_adjust_data -> ?last_updated_time:Types.generic_timestamp -> ?calculated_spend:Types.calculated_spend -> ?time_period:Types.time_period -> ?cost_types:Types.cost_types -> ?cost_filters:Types.cost_filters -> ?planned_budget_limits:Types.planned_budget_limits -> ?budget_limit:Types.spend -> budget_type:Types.budget_type -> time_unit:Types.time_unit -> budget_name:Types.budget_name -> unit -> Types.budget
val make_update_budget_request : new_budget:Types.budget -> account_id:Types.account_id -> unit -> Types.update_budget_request
val make_action_threshold : action_threshold_type:Types.threshold_type -> action_threshold_value:Types.notification_threshold -> unit -> Types.action_threshold
val make_iam_action_definition : ?users:Types.users -> ?groups:Types.groups -> ?roles:Types.roles -> policy_arn:Types.policy_arn -> unit -> Types.iam_action_definition
val make_scp_action_definition : target_ids:Types.target_ids -> policy_id:Types.policy_id -> unit -> Types.scp_action_definition
val make_ssm_action_definition : instance_ids:Types.instance_ids -> region:Types.region -> action_sub_type:Types.action_sub_type -> unit -> Types.ssm_action_definition
val make_definition : ?ssm_action_definition:Types.ssm_action_definition -> ?scp_action_definition:Types.scp_action_definition -> ?iam_action_definition:Types.iam_action_definition -> unit -> Types.definition
val make_action : subscribers:Types.subscribers -> status:Types.action_status -> approval_model:Types.approval_model -> execution_role_arn:Types.role_arn -> definition:Types.definition -> action_threshold:Types.action_threshold -> action_type:Types.action_type -> notification_type:Types.notification_type -> budget_name:Types.budget_name -> action_id:Types.action_id -> unit -> Types.action
val make_update_budget_action_response : new_action:Types.action -> old_action:Types.action -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.update_budget_action_response
val make_update_budget_action_request : ?subscribers:Types.subscribers -> ?approval_model:Types.approval_model -> ?execution_role_arn:Types.role_arn -> ?definition:Types.definition -> ?action_threshold:Types.action_threshold -> ?notification_type:Types.notification_type -> action_id:Types.action_id -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.update_budget_action_request
val make_untag_resource_response : unit -> unit
val make_untag_resource_request : resource_tag_keys:Types.resource_tag_key_list -> resource_ar_n:Types.amazon_resource_name -> unit -> Types.untag_resource_request
val make_tag_resource_response : unit -> unit
val make_resource_tag : value:Types.resource_tag_value -> key:Types.resource_tag_key -> unit -> Types.resource_tag
val make_tag_resource_request : resource_tags:Types.resource_tag_list -> resource_ar_n:Types.amazon_resource_name -> unit -> Types.tag_resource_request
val make_notification_with_subscribers : subscribers:Types.subscribers -> notification:Types.notification -> unit -> Types.notification_with_subscribers
val make_list_tags_for_resource_response : ?resource_tags:Types.resource_tag_list -> unit -> Types.list_tags_for_resource_response
val make_list_tags_for_resource_request : resource_ar_n:Types.amazon_resource_name -> unit -> Types.list_tags_for_resource_request
val make_execute_budget_action_response : execution_type:Types.execution_type -> action_id:Types.action_id -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.execute_budget_action_response
val make_execute_budget_action_request : execution_type:Types.execution_type -> action_id:Types.action_id -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.execute_budget_action_request
val make_describe_subscribers_for_notification_response : ?next_token:Types.generic_string -> ?subscribers:Types.subscribers -> unit -> Types.describe_subscribers_for_notification_response
val make_describe_subscribers_for_notification_request : ?next_token:Types.generic_string -> ?max_results:Types.max_results -> notification:Types.notification -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.describe_subscribers_for_notification_request
val make_describe_notifications_for_budget_response : ?next_token:Types.generic_string -> ?notifications:Types.notifications -> unit -> Types.describe_notifications_for_budget_response
val make_describe_notifications_for_budget_request : ?next_token:Types.generic_string -> ?max_results:Types.max_results -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.describe_notifications_for_budget_request
val make_describe_budgets_response : ?next_token:Types.generic_string -> ?budgets:Types.budgets -> unit -> Types.describe_budgets_response
val make_describe_budgets_request : ?show_filter_expression:Types.nullable_boolean -> ?next_token:Types.generic_string -> ?max_results:Types.max_results_describe_budgets -> account_id:Types.account_id -> unit -> Types.describe_budgets_request
val make_describe_budget_response : ?budget:Types.budget -> unit -> Types.describe_budget_response
val make_describe_budget_request : ?show_filter_expression:Types.nullable_boolean -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.describe_budget_request
val make_budgeted_and_actual_amounts : ?time_period:Types.time_period -> ?actual_amount:Types.spend -> ?budgeted_amount:Types.spend -> unit -> Types.budgeted_and_actual_amounts
val make_budget_performance_history : ?metrics:Types.metrics -> ?filter_expression:Types.expression -> ?budgeted_and_actual_amounts_list:Types.budgeted_and_actual_amounts_list -> ?billing_view_arn:Types.billing_view_arn -> ?time_unit:Types.time_unit -> ?cost_types:Types.cost_types -> ?cost_filters:Types.cost_filters -> ?budget_type:Types.budget_type -> ?budget_name:Types.budget_name -> unit -> Types.budget_performance_history
val make_describe_budget_performance_history_response : ?next_token:Types.generic_string -> ?budget_performance_history:Types.budget_performance_history -> unit -> Types.describe_budget_performance_history_response
val make_describe_budget_performance_history_request : ?next_token:Types.generic_string -> ?max_results:Types.max_results -> ?time_period:Types.time_period -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.describe_budget_performance_history_request
val make_budget_notifications_for_account : ?budget_name:Types.budget_name -> ?notifications:Types.notifications -> unit -> Types.budget_notifications_for_account
val make_describe_budget_notifications_for_account_response : ?next_token:Types.generic_string -> ?budget_notifications_for_account:Types.budget_notifications_for_account_list -> unit -> Types.describe_budget_notifications_for_account_response
val make_describe_budget_notifications_for_account_request : ?next_token:Types.generic_string -> ?max_results:Types.max_results_budget_notifications -> account_id:Types.account_id -> unit -> Types.describe_budget_notifications_for_account_request
val make_describe_budget_actions_for_budget_response : ?next_token:Types.generic_string -> actions:Types.actions -> unit -> Types.describe_budget_actions_for_budget_response
val make_describe_budget_actions_for_budget_request : ?next_token:Types.generic_string -> ?max_results:Types.max_results -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.describe_budget_actions_for_budget_request
val make_describe_budget_actions_for_account_response : ?next_token:Types.generic_string -> actions:Types.actions -> unit -> Types.describe_budget_actions_for_account_response
val make_describe_budget_actions_for_account_request : ?next_token:Types.generic_string -> ?max_results:Types.max_results -> account_id:Types.account_id -> unit -> Types.describe_budget_actions_for_account_request
val make_describe_budget_action_response : action:Types.action -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.describe_budget_action_response
val make_describe_budget_action_request : action_id:Types.action_id -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.describe_budget_action_request
val make_action_history_details : action:Types.action -> message:Types.generic_string -> unit -> Types.action_history_details
val make_action_history : action_history_details:Types.action_history_details -> event_type:Types.event_type -> status:Types.action_status -> timestamp:Types.generic_timestamp -> unit -> Types.action_history
val make_describe_budget_action_histories_response : ?next_token:Types.generic_string -> action_histories:Types.action_histories -> unit -> Types.describe_budget_action_histories_response
val make_describe_budget_action_histories_request : ?next_token:Types.generic_string -> ?max_results:Types.max_results -> ?time_period:Types.time_period -> action_id:Types.action_id -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.describe_budget_action_histories_request
val make_delete_subscriber_response : unit -> unit
val make_delete_subscriber_request : subscriber:Types.subscriber -> notification:Types.notification -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.delete_subscriber_request
val make_delete_notification_response : unit -> unit
val make_delete_notification_request : notification:Types.notification -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.delete_notification_request
val make_delete_budget_response : unit -> unit
val make_delete_budget_request : budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.delete_budget_request
val make_delete_budget_action_response : action:Types.action -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.delete_budget_action_response
val make_delete_budget_action_request : action_id:Types.action_id -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.delete_budget_action_request
val make_create_subscriber_response : unit -> unit
val make_create_subscriber_request : subscriber:Types.subscriber -> notification:Types.notification -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.create_subscriber_request
val make_create_notification_response : unit -> unit
val make_create_notification_request : subscribers:Types.subscribers -> notification:Types.notification -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.create_notification_request
val make_create_budget_response : unit -> unit
val make_create_budget_request : ?resource_tags:Types.resource_tag_list -> ?notifications_with_subscribers:Types.notification_with_subscribers_list -> budget:Types.budget -> account_id:Types.account_id -> unit -> Types.create_budget_request
val make_create_budget_action_response : action_id:Types.action_id -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.create_budget_action_response
val make_create_budget_action_request : ?resource_tags:Types.resource_tag_list -> subscribers:Types.subscribers -> approval_model:Types.approval_model -> execution_role_arn:Types.role_arn -> definition:Types.definition -> action_threshold:Types.action_threshold -> action_type:Types.action_type -> notification_type:Types.notification_type -> budget_name:Types.budget_name -> account_id:Types.account_id -> unit -> Types.create_budget_action_request

Operations

module CreateBudget : sig ... end

Creates a budget and, if included, notifications and subscribers.

module CreateBudgetAction : sig ... end

Creates a budget action.

module CreateNotification : sig ... end

Creates a notification. You must create the budget before you create the associated notification.

module CreateSubscriber : sig ... end

Creates a subscriber. You must create the associated budget and notification before you create the subscriber.

module DeleteBudget : sig ... end

Deletes a budget. You can delete your budget at any time.

module DeleteBudgetAction : sig ... end

Deletes a budget action.

module DeleteNotification : sig ... end

Deletes a notification.

module DeleteSubscriber : sig ... end

Deletes a subscriber.

module DescribeBudget : sig ... end

Describes a budget.

module DescribeBudgetAction : sig ... end

Describes a budget action detail.

module DescribeBudgetActionHistories : sig ... end

Describes a budget action history detail.

module DescribeBudgetActionsForAccount : sig ... end

Describes all of the budget actions for an account.

module DescribeBudgetActionsForBudget : sig ... end

Describes all of the budget actions for a budget.

Lists the budget names and notifications that are associated with an account.

Describes the history for DAILY, MONTHLY, and QUARTERLY budgets. Budget history isn't available for ANNUAL budgets.

module DescribeBudgets : sig ... end

Lists the budgets that are associated with an account.

module DescribeNotificationsForBudget : sig ... end

Lists the notifications that are associated with a budget.

Lists the subscribers that are associated with a notification.

module ExecuteBudgetAction : sig ... end

Executes a budget action.

module ListTagsForResource : sig ... end

Lists tags associated with a budget or budget action resource.

module TagResource : sig ... end

Creates tags for a budget or budget action resource.

module UntagResource : sig ... end

Deletes tags associated with a budget or budget action resource.

module UpdateBudget : sig ... end

Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When you modify a budget, the calculatedSpend drops to zero until Amazon Web Services has new usage data to use for forecasting.

module UpdateBudgetAction : sig ... end

Updates a budget action.

module UpdateNotification : sig ... end

Updates a notification.

module UpdateSubscriber : sig ... end
module Json_serializers : sig ... end
module Json_deserializers : sig ... end