Module Values.CreateBudgetActionRequestSource

Creates a budget action.

Sourcetype nonrec t = {
  1. accountId : AccountId.t;
  2. budgetName : BudgetName.t;
  3. notificationType : NotificationType.t;
  4. actionType : ActionType.t;
    (*

    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.

    *)
  5. actionThreshold : ActionThreshold.t;
  6. definition : Definition.t;
  7. executionRoleArn : RoleArn.t;
    (*

    The role passed for action execution and reversion. Roles and actions must be in the same account.

    *)
  8. approvalModel : ApprovalModel.t;
    (*

    This specifies if the action needs manual or automatic approval.

    *)
  9. subscribers : Subscribers.t;
  10. resourceTags : ResourceTagList.t option;
    (*

    An optional list of tags to associate with the specified budget action. Each tag consists of a key and a value, and each key must be unique for the resource.

    *)
}
Sourceval context_ : string
Sourceval make : ?resourceTags:??? -> accountId:AccountId.t -> budgetName:BudgetName.t -> notificationType:NotificationType.t -> actionType:ActionType.t -> actionThreshold:ActionThreshold.t -> definition:Definition.t -> executionRoleArn:RoleArn.t -> approvalModel:ApprovalModel.t -> subscribers:Subscribers.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of SubscriberAddress.t ]) list ] list | `String of AccountId.t | `Structure of (string * [> `Double of NotificationThreshold.t | `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `String of Role.t ] list | `String of PolicyArn.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t