{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2016-10-20",
    "endpointPrefix":"budgets",
    "jsonVersion":"1.1",
    "protocol":"json",
    "protocols":["json"],
    "serviceAbbreviation":"AWSBudgets",
    "serviceFullName":"AWS Budgets",
    "serviceId":"Budgets",
    "signatureVersion":"v4",
    "targetPrefix":"AWSBudgetServiceGateway",
    "uid":"budgets-2016-10-20",
    "auth":["aws.auth#sigv4"]
  },
  "operations":{
    "CreateBudget":{
      "name":"CreateBudget",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateBudgetRequest"},
      "output":{"shape":"CreateBudgetResponse"},
      "errors":[
        {"shape":"InvalidParameterException"},
        {"shape":"BillingViewHealthStatusException"},
        {"shape":"InternalErrorException"},
        {"shape":"CreationLimitExceededException"},
        {"shape":"DuplicateRecordException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"NotFoundException"}
      ],
      "documentation":"<p>Creates a budget and, if included, notifications and subscribers. </p> <important> <p>Only one of <code>BudgetLimit</code> or <code>PlannedBudgetLimits</code> can be present in the syntax at one time. Use the syntax that matches your use case. The Request Syntax section shows the <code>BudgetLimit</code> syntax. For <code>PlannedBudgetLimits</code>, see the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_CreateBudget.html#API_CreateBudget_Examples\">Examples</a> section.</p> <p>Similarly, only one set of filter and metric selections can be present in the syntax at one time. Either <code>FilterExpression</code> and <code>Metrics</code> or <code>CostFilters</code> and <code>CostTypes</code>, not both or a different combination. We recommend using <code>FilterExpression</code> and <code>Metrics</code> as they provide more flexible and powerful filtering capabilities. The Request Syntax section shows the <code>FilterExpression</code>/<code>Metrics</code> syntax.</p> </important>"
    },
    "CreateBudgetAction":{
      "name":"CreateBudgetAction",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateBudgetActionRequest"},
      "output":{"shape":"CreateBudgetActionResponse"},
      "errors":[
        {"shape":"InvalidParameterException"},
        {"shape":"InternalErrorException"},
        {"shape":"CreationLimitExceededException"},
        {"shape":"DuplicateRecordException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "documentation":"<p> Creates a budget action. </p>"
    },
    "CreateNotification":{
      "name":"CreateNotification",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateNotificationRequest"},
      "output":{"shape":"CreateNotificationResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"CreationLimitExceededException"},
        {"shape":"DuplicateRecordException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Creates a notification. You must create the budget before you create the associated notification.</p>"
    },
    "CreateSubscriber":{
      "name":"CreateSubscriber",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateSubscriberRequest"},
      "output":{"shape":"CreateSubscriberResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"CreationLimitExceededException"},
        {"shape":"DuplicateRecordException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Creates a subscriber. You must create the associated budget and notification before you create the subscriber.</p>"
    },
    "DeleteBudget":{
      "name":"DeleteBudget",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteBudgetRequest"},
      "output":{"shape":"DeleteBudgetResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Deletes a budget. You can delete your budget at any time.</p> <important> <p>Deleting a budget also deletes the notifications and subscribers that are associated with that budget.</p> </important>"
    },
    "DeleteBudgetAction":{
      "name":"DeleteBudgetAction",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteBudgetActionRequest"},
      "output":{"shape":"DeleteBudgetActionResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceLockedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p> Deletes a budget action. </p>"
    },
    "DeleteNotification":{
      "name":"DeleteNotification",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteNotificationRequest"},
      "output":{"shape":"DeleteNotificationResponse"},
      "errors":[
        {"shape":"InvalidParameterException"},
        {"shape":"InternalErrorException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Deletes a notification.</p> <important> <p>Deleting a notification also deletes the subscribers that are associated with the notification.</p> </important>"
    },
    "DeleteSubscriber":{
      "name":"DeleteSubscriber",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteSubscriberRequest"},
      "output":{"shape":"DeleteSubscriberResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Deletes a subscriber.</p> <important> <p>Deleting the last subscriber to a notification also deletes the notification.</p> </important>"
    },
    "DescribeBudget":{
      "name":"DescribeBudget",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeBudgetRequest"},
      "output":{"shape":"DescribeBudgetResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Describes a budget.</p> <important> <p>The Request Syntax section shows the <code>BudgetLimit</code> syntax. For <code>PlannedBudgetLimits</code>, see the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_DescribeBudget.html#API_DescribeBudget_Examples\">Examples</a> section.</p> </important>"
    },
    "DescribeBudgetAction":{
      "name":"DescribeBudgetAction",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeBudgetActionRequest"},
      "output":{"shape":"DescribeBudgetActionResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p> Describes a budget action detail. </p>"
    },
    "DescribeBudgetActionHistories":{
      "name":"DescribeBudgetActionHistories",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeBudgetActionHistoriesRequest"},
      "output":{"shape":"DescribeBudgetActionHistoriesResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InvalidNextTokenException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p> Describes a budget action history detail. </p>"
    },
    "DescribeBudgetActionsForAccount":{
      "name":"DescribeBudgetActionsForAccount",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeBudgetActionsForAccountRequest"},
      "output":{"shape":"DescribeBudgetActionsForAccountResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InvalidNextTokenException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p> Describes all of the budget actions for an account. </p>"
    },
    "DescribeBudgetActionsForBudget":{
      "name":"DescribeBudgetActionsForBudget",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeBudgetActionsForBudgetRequest"},
      "output":{"shape":"DescribeBudgetActionsForBudgetResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InvalidNextTokenException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p> Describes all of the budget actions for a budget. </p>"
    },
    "DescribeBudgetNotificationsForAccount":{
      "name":"DescribeBudgetNotificationsForAccount",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeBudgetNotificationsForAccountRequest"},
      "output":{"shape":"DescribeBudgetNotificationsForAccountResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"InvalidNextTokenException"},
        {"shape":"ExpiredNextTokenException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p> Lists the budget names and notifications that are associated with an account. </p>"
    },
    "DescribeBudgetPerformanceHistory":{
      "name":"DescribeBudgetPerformanceHistory",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeBudgetPerformanceHistoryRequest"},
      "output":{"shape":"DescribeBudgetPerformanceHistoryResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"InvalidNextTokenException"},
        {"shape":"ExpiredNextTokenException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"BillingViewHealthStatusException"}
      ],
      "documentation":"<p>Describes the history for <code>DAILY</code>, <code>MONTHLY</code>, and <code>QUARTERLY</code> budgets. Budget history isn't available for <code>ANNUAL</code> budgets.</p>"
    },
    "DescribeBudgets":{
      "name":"DescribeBudgets",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeBudgetsRequest"},
      "output":{"shape":"DescribeBudgetsResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"InvalidNextTokenException"},
        {"shape":"ExpiredNextTokenException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Lists the budgets that are associated with an account.</p> <important> <p>The Request Syntax section shows the <code>BudgetLimit</code> syntax. For <code>PlannedBudgetLimits</code>, see the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_DescribeBudgets.html#API_DescribeBudgets_Examples\">Examples</a> section.</p> </important>"
    },
    "DescribeNotificationsForBudget":{
      "name":"DescribeNotificationsForBudget",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeNotificationsForBudgetRequest"},
      "output":{"shape":"DescribeNotificationsForBudgetResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"InvalidNextTokenException"},
        {"shape":"ExpiredNextTokenException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Lists the notifications that are associated with a budget.</p>"
    },
    "DescribeSubscribersForNotification":{
      "name":"DescribeSubscribersForNotification",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeSubscribersForNotificationRequest"},
      "output":{"shape":"DescribeSubscribersForNotificationResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"NotFoundException"},
        {"shape":"InvalidParameterException"},
        {"shape":"InvalidNextTokenException"},
        {"shape":"ExpiredNextTokenException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Lists the subscribers that are associated with a notification.</p>"
    },
    "ExecuteBudgetAction":{
      "name":"ExecuteBudgetAction",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ExecuteBudgetActionRequest"},
      "output":{"shape":"ExecuteBudgetActionResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceLockedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p> Executes a budget action. </p>"
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListTagsForResourceRequest"},
      "output":{"shape":"ListTagsForResourceResponse"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"}
      ],
      "documentation":"<p>Lists tags associated with a budget or budget action resource.</p>"
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"TagResourceRequest"},
      "output":{"shape":"TagResourceResponse"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"}
      ],
      "documentation":"<p>Creates tags for a budget or budget action resource.</p>"
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UntagResourceRequest"},
      "output":{"shape":"UntagResourceResponse"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"}
      ],
      "documentation":"<p>Deletes tags associated with a budget or budget action resource.</p>"
    },
    "UpdateBudget":{
      "name":"UpdateBudget",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateBudgetRequest"},
      "output":{"shape":"UpdateBudgetResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"BillingViewHealthStatusException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "documentation":"<p>Updates a budget. You can change every part of a budget except for the <code>budgetName</code> and the <code>calculatedSpend</code>. When you modify a budget, the <code>calculatedSpend</code> drops to zero until Amazon Web Services has new usage data to use for forecasting.</p> <important> <p>Only one of <code>BudgetLimit</code> or <code>PlannedBudgetLimits</code> can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the <code>BudgetLimit</code> syntax. For <code>PlannedBudgetLimits</code>, see the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_UpdateBudget.html#API_UpdateBudget_Examples\">Examples</a> section.</p> <p>Similarly, only one set of filter and metric selections can be present in the syntax at one time. Either <code>FilterExpression</code> and <code>Metrics</code> or <code>CostFilters</code> and <code>CostTypes</code>, not both or a different combination. We recommend using <code>FilterExpression</code> and <code>Metrics</code> as they provide more flexible and powerful filtering capabilities. The Request Syntax section shows the <code>FilterExpression</code>/<code>Metrics</code> syntax.</p> </important>"
    },
    "UpdateBudgetAction":{
      "name":"UpdateBudgetAction",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateBudgetActionRequest"},
      "output":{"shape":"UpdateBudgetActionResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceLockedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p> Updates a budget action. </p>"
    },
    "UpdateNotification":{
      "name":"UpdateNotification",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateNotificationRequest"},
      "output":{"shape":"UpdateNotificationResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"DuplicateRecordException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Updates a notification.</p>"
    },
    "UpdateSubscriber":{
      "name":"UpdateSubscriber",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateSubscriberRequest"},
      "output":{"shape":"UpdateSubscriberResponse"},
      "errors":[
        {"shape":"InternalErrorException"},
        {"shape":"InvalidParameterException"},
        {"shape":"NotFoundException"},
        {"shape":"DuplicateRecordException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"}
      ],
      "documentation":"<p>Updates a subscriber.</p>"
    }
  },
  "shapes":{
    "AccessDeniedException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p>You are not authorized to use this operation with the given parameters.</p>",
      "exception":true
    },
    "AccountId":{
      "type":"string",
      "documentation":"<p>The account ID of the user. It's a 12-digit number.</p>",
      "max":12,
      "min":12,
      "pattern":"\\d{12}"
    },
    "Action":{
      "type":"structure",
      "required":[
        "ActionId",
        "BudgetName",
        "NotificationType",
        "ActionType",
        "ActionThreshold",
        "Definition",
        "ExecutionRoleArn",
        "ApprovalModel",
        "Status",
        "Subscribers"
      ],
      "members":{
        "ActionId":{
          "shape":"ActionId",
          "documentation":"<p>A system-generated universally unique identifier (UUID) for the action. </p>"
        },
        "BudgetName":{"shape":"BudgetName"},
        "NotificationType":{"shape":"NotificationType"},
        "ActionType":{
          "shape":"ActionType",
          "documentation":"<p>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. </p>"
        },
        "ActionThreshold":{
          "shape":"ActionThreshold",
          "documentation":"<p>The trigger threshold of the action. </p>"
        },
        "Definition":{
          "shape":"Definition",
          "documentation":"<p>Where you specify all of the type-specific parameters. </p>"
        },
        "ExecutionRoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The role passed for action execution and reversion. Roles and actions must be in the same account. </p>"
        },
        "ApprovalModel":{
          "shape":"ApprovalModel",
          "documentation":"<p>This specifies if the action needs manual or automatic approval. </p>"
        },
        "Status":{
          "shape":"ActionStatus",
          "documentation":"<p>The status of the action. </p>"
        },
        "Subscribers":{"shape":"Subscribers"}
      },
      "documentation":"<p>A budget action resource. </p>"
    },
    "ActionHistories":{
      "type":"list",
      "member":{"shape":"ActionHistory"},
      "max":100,
      "min":0
    },
    "ActionHistory":{
      "type":"structure",
      "required":[
        "Timestamp",
        "Status",
        "EventType",
        "ActionHistoryDetails"
      ],
      "members":{
        "Timestamp":{"shape":"GenericTimestamp"},
        "Status":{
          "shape":"ActionStatus",
          "documentation":"<p>The status of action at the time of the event. </p>"
        },
        "EventType":{
          "shape":"EventType",
          "documentation":"<p>This distinguishes between whether the events are triggered by the user or are generated by the system. </p>"
        },
        "ActionHistoryDetails":{
          "shape":"ActionHistoryDetails",
          "documentation":"<p>The description of the details for the event. </p>"
        }
      },
      "documentation":"<p>The historical records for a budget action. </p>"
    },
    "ActionHistoryDetails":{
      "type":"structure",
      "required":[
        "Message",
        "Action"
      ],
      "members":{
        "Message":{"shape":"GenericString"},
        "Action":{
          "shape":"Action",
          "documentation":"<p>The budget action resource. </p>"
        }
      },
      "documentation":"<p>The description of the details for the event. </p>"
    },
    "ActionId":{
      "type":"string",
      "max":36,
      "min":36,
      "pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
    },
    "ActionStatus":{
      "type":"string",
      "enum":[
        "STANDBY",
        "PENDING",
        "EXECUTION_IN_PROGRESS",
        "EXECUTION_SUCCESS",
        "EXECUTION_FAILURE",
        "REVERSE_IN_PROGRESS",
        "REVERSE_SUCCESS",
        "REVERSE_FAILURE",
        "RESET_IN_PROGRESS",
        "RESET_FAILURE"
      ]
    },
    "ActionSubType":{
      "type":"string",
      "enum":[
        "STOP_EC2_INSTANCES",
        "STOP_RDS_INSTANCES"
      ]
    },
    "ActionThreshold":{
      "type":"structure",
      "required":[
        "ActionThresholdValue",
        "ActionThresholdType"
      ],
      "members":{
        "ActionThresholdValue":{"shape":"NotificationThreshold"},
        "ActionThresholdType":{"shape":"ThresholdType"}
      },
      "documentation":"<p>The trigger threshold of the action. </p>"
    },
    "ActionType":{
      "type":"string",
      "enum":[
        "APPLY_IAM_POLICY",
        "APPLY_SCP_POLICY",
        "RUN_SSM_DOCUMENTS"
      ]
    },
    "Actions":{
      "type":"list",
      "member":{"shape":"Action"},
      "max":100,
      "min":0
    },
    "AdjustmentPeriod":{
      "type":"integer",
      "box":true,
      "max":60,
      "min":1
    },
    "AmazonResourceName":{
      "type":"string",
      "max":1011,
      "min":1
    },
    "ApprovalModel":{
      "type":"string",
      "enum":[
        "AUTOMATIC",
        "MANUAL"
      ]
    },
    "AutoAdjustData":{
      "type":"structure",
      "required":["AutoAdjustType"],
      "members":{
        "AutoAdjustType":{
          "shape":"AutoAdjustType",
          "documentation":"<p>The string that defines whether your budget auto-adjusts based on historical or forecasted data.</p>"
        },
        "HistoricalOptions":{
          "shape":"HistoricalOptions",
          "documentation":"<p>The parameters that define or describe the historical data that your auto-adjusting budget is based on.</p>"
        },
        "LastAutoAdjustTime":{
          "shape":"GenericTimestamp",
          "documentation":"<p>The last time that your budget was auto-adjusted.</p>"
        }
      },
      "documentation":"<p>The parameters that determine the budget amount for an auto-adjusting budget.</p>"
    },
    "AutoAdjustType":{
      "type":"string",
      "enum":[
        "HISTORICAL",
        "FORECAST"
      ]
    },
    "BillingViewArn":{
      "type":"string",
      "max":2048,
      "min":20,
      "pattern":"^arn:aws[a-z-]*:(billing)::[0-9]{12}:billingview/[a-zA-Z0-9/:_\\+=\\.\\-@]{0,75}[a-zA-Z0-9]$"
    },
    "BillingViewHealthStatusException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p> The billing view status must be HEALTHY to perform this action. Try again when the status is HEALTHY. </p>",
      "exception":true
    },
    "Budget":{
      "type":"structure",
      "required":[
        "BudgetName",
        "TimeUnit",
        "BudgetType"
      ],
      "members":{
        "BudgetName":{
          "shape":"BudgetName",
          "documentation":"<p>The name of a budget. The name must be unique within an account. The <code>:</code> and <code>\\</code> characters, and the \"/action/\" substring, aren't allowed in <code>BudgetName</code>.</p> <p>Budget names are validated for content. Names that contain phone numbers, URLs, or email addresses combined with certain terms may be rejected.</p>"
        },
        "BudgetLimit":{
          "shape":"Spend",
          "documentation":"<p>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.</p> <p> <code>BudgetLimit</code> 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 <code>100</code>. This is the only valid value for RI or Savings Plans utilization or coverage budgets. You can't use <code>BudgetLimit</code> with <code>PlannedBudgetLimits</code> for <code>CreateBudget</code> and <code>UpdateBudget</code> actions. </p>"
        },
        "PlannedBudgetLimits":{
          "shape":"PlannedBudgetLimits",
          "documentation":"<p>A map containing multiple <code>BudgetLimit</code>, including current or future limits.</p> <p> <code>PlannedBudgetLimits</code> is available for cost or usage budget and supports both monthly and quarterly <code>TimeUnit</code>. </p> <p>For monthly budgets, provide 12 months of <code>PlannedBudgetLimits</code> values. This must start from the current month and include the next 11 months. The <code>key</code> is the start of the month, <code>UTC</code> in epoch seconds. </p> <p>For quarterly budgets, provide four quarters of <code>PlannedBudgetLimits</code> value entries in standard calendar quarter increments. This must start from the current quarter and include the next three quarters. The <code>key</code> is the start of the quarter, <code>UTC</code> in epoch seconds. </p> <p>If the planned budget expires before 12 months for monthly or four quarters for quarterly, provide the <code>PlannedBudgetLimits</code> values only for the remaining periods.</p> <p>If the budget begins at a date in the future, provide <code>PlannedBudgetLimits</code> values from the start date of the budget. </p> <p>After all of the <code>BudgetLimit</code> values in <code>PlannedBudgetLimits</code> are used, the budget continues to use the last limit as the <code>BudgetLimit</code>. At that point, the planned budget provides the same experience as a fixed budget. </p> <p> <code>DescribeBudget</code> and <code>DescribeBudgets</code> response along with <code>PlannedBudgetLimits</code> also contain <code>BudgetLimit</code> representing the current month or quarter limit present in <code>PlannedBudgetLimits</code>. This only applies to budgets that are created with <code>PlannedBudgetLimits</code>. Budgets that are created without <code>PlannedBudgetLimits</code> only contain <code>BudgetLimit</code>. They don't contain <code>PlannedBudgetLimits</code>.</p>"
        },
        "CostFilters":{
          "shape":"CostFilters",
          "documentation":"<p>The cost filters, such as <code>Region</code>, <code>Service</code>, <code>LinkedAccount</code>, <code>Tag</code>, or <code>CostCategory</code>, that are applied to a budget.</p> <p>Amazon Web Services Budgets supports the following services as a <code>Service</code> filter for RI budgets:</p> <ul> <li> <p>Amazon EC2</p> </li> <li> <p>Amazon Redshift</p> </li> <li> <p>Amazon Relational Database Service</p> </li> <li> <p>Amazon ElastiCache</p> </li> <li> <p>Amazon OpenSearch Service</p> </li> </ul>",
          "deprecated":true,
          "deprecatedMessage":"CostFilters lack support for newer dimensions and filtering options. Please consider using the new 'FilterExpression' field.",
          "deprecatedSince":"2025-04-18"
        },
        "CostTypes":{
          "shape":"CostTypes",
          "documentation":"<p>The types of costs that are included in this <code>COST</code> budget.</p> <p> <code>USAGE</code>, <code>RI_UTILIZATION</code>, <code>RI_COVERAGE</code>, <code>SAVINGS_PLANS_UTILIZATION</code>, and <code>SAVINGS_PLANS_COVERAGE</code> budgets do not have <code>CostTypes</code>.</p>",
          "deprecated":true,
          "deprecatedMessage":"CostTypes lack support for newer record type dimensions and filtering options. Please consider using the new 'Metrics' field.",
          "deprecatedSince":"2025-04-18"
        },
        "TimeUnit":{
          "shape":"TimeUnit",
          "documentation":"<p>The length of time until a budget resets the actual and forecasted spend.</p>"
        },
        "TimePeriod":{
          "shape":"TimePeriod",
          "documentation":"<p>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 <code>06/15/87 00:00 UTC</code>. </p> <p>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 <code>DAILY</code>, and didn't set a start date, Amazon Web Services set your start date to <code>01/24/18 00:00 UTC</code>. If you chose <code>MONTHLY</code>, Amazon Web Services set your start date to <code>01/01/18 00:00 UTC</code>. If you didn't specify an end date, Amazon Web Services set your end date to <code>06/15/87 00:00 UTC</code>. The defaults are the same for the Billing and Cost Management console and the API. </p> <p>You can change either date with the <code>UpdateBudget</code> operation.</p> <p>After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers.</p>"
        },
        "CalculatedSpend":{
          "shape":"CalculatedSpend",
          "documentation":"<p>The actual and forecasted cost or usage that the budget tracks.</p>"
        },
        "BudgetType":{
          "shape":"BudgetType",
          "documentation":"<p>Specifies whether this budget tracks costs, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage.</p>"
        },
        "LastUpdatedTime":{
          "shape":"GenericTimestamp",
          "documentation":"<p>The last time that you updated this budget.</p>"
        },
        "AutoAdjustData":{
          "shape":"AutoAdjustData",
          "documentation":"<p>The parameters that determine the budget amount for an auto-adjusting budget.</p>"
        },
        "FilterExpression":{
          "shape":"Expression",
          "documentation":"<p>The filtering dimensions for the budget and their corresponding values.</p>"
        },
        "Metrics":{
          "shape":"Metrics",
          "documentation":"<p>The definition for how the budget data is aggregated.</p>"
        },
        "BillingViewArn":{
          "shape":"BillingViewArn",
          "documentation":"<p>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.</p>"
        },
        "HealthStatus":{
          "shape":"HealthStatus",
          "documentation":"<p>The current operational state of a Billing View derived resource.</p>"
        }
      },
      "documentation":"<p>Represents the output of the <code>CreateBudget</code> operation. The content consists of the detailed metadata and data file information, and the current status of the <code>budget</code> object.</p> <p>This is the Amazon Resource Name (ARN) pattern for a budget: </p> <p> <code>arn:aws:budgets::AccountId:budget/budgetName</code> </p>"
    },
    "BudgetName":{
      "type":"string",
      "documentation":"<p> A string that represents the budget name. The \":\" and \"\\\" characters, and the \"/action/\" substring, aren't allowed.</p> <p>Budget names are validated for content. Names that contain phone numbers, URLs, or email addresses combined with certain terms may be rejected.</p>",
      "max":100,
      "min":1,
      "pattern":"^(?![^:\\\\]*/action/|(?i).*<script>.*</script>.*)[^:\\\\]+$"
    },
    "BudgetNotificationsForAccount":{
      "type":"structure",
      "members":{
        "Notifications":{"shape":"Notifications"},
        "BudgetName":{"shape":"BudgetName"}
      },
      "documentation":"<p> The budget name and associated notifications for an account. </p>"
    },
    "BudgetNotificationsForAccountList":{
      "type":"list",
      "member":{"shape":"BudgetNotificationsForAccount"},
      "max":1000
    },
    "BudgetPerformanceHistory":{
      "type":"structure",
      "members":{
        "BudgetName":{"shape":"BudgetName"},
        "BudgetType":{"shape":"BudgetType"},
        "CostFilters":{
          "shape":"CostFilters",
          "documentation":"<p>The history of the cost filters for a budget during the specified time period.</p>"
        },
        "CostTypes":{
          "shape":"CostTypes",
          "documentation":"<p>The history of the cost types for a budget during the specified time period.</p>"
        },
        "TimeUnit":{"shape":"TimeUnit"},
        "BillingViewArn":{
          "shape":"BillingViewArn",
          "documentation":"<p>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.</p>"
        },
        "BudgetedAndActualAmountsList":{
          "shape":"BudgetedAndActualAmountsList",
          "documentation":"<p>A list of amounts of cost or usage that you created budgets for, which are compared to your actual costs or usage.</p>"
        },
        "FilterExpression":{
          "shape":"Expression",
          "documentation":"<p>The filtering dimensions for the budget and their corresponding values.</p>"
        },
        "Metrics":{
          "shape":"Metrics",
          "documentation":"<p>The definition for how the budget data is aggregated.</p>"
        }
      },
      "documentation":"<p>A history of the state of a budget at the end of the budget's specified time period.</p>"
    },
    "BudgetType":{
      "type":"string",
      "documentation":"<p> The type of a budget. It must be one of the following types: </p> <p> <code>COST</code>, <code>USAGE</code>, <code>RI_UTILIZATION</code>, <code>RI_COVERAGE</code>, <code>SAVINGS_PLANS_UTILIZATION</code>, or <code>SAVINGS_PLANS_COVERAGE</code>.</p>",
      "enum":[
        "USAGE",
        "COST",
        "RI_UTILIZATION",
        "RI_COVERAGE",
        "SAVINGS_PLANS_UTILIZATION",
        "SAVINGS_PLANS_COVERAGE"
      ]
    },
    "BudgetedAndActualAmounts":{
      "type":"structure",
      "members":{
        "BudgetedAmount":{
          "shape":"Spend",
          "documentation":"<p>The amount of cost or usage that you created the budget for.</p>"
        },
        "ActualAmount":{
          "shape":"Spend",
          "documentation":"<p>Your actual costs or usage for a budget period.</p>"
        },
        "TimePeriod":{
          "shape":"TimePeriod",
          "documentation":"<p>The time period that's covered by this budget comparison.</p>"
        }
      },
      "documentation":"<p>The amount of cost or usage that you created the budget for, compared to your actual costs or usage.</p>"
    },
    "BudgetedAndActualAmountsList":{
      "type":"list",
      "member":{"shape":"BudgetedAndActualAmounts"}
    },
    "Budgets":{
      "type":"list",
      "member":{"shape":"Budget"},
      "documentation":"<p> A list of budgets.</p>"
    },
    "CalculatedSpend":{
      "type":"structure",
      "required":["ActualSpend"],
      "members":{
        "ActualSpend":{
          "shape":"Spend",
          "documentation":"<p>The amount of cost, usage, RI units, or Savings Plans units that you used.</p>"
        },
        "ForecastedSpend":{
          "shape":"Spend",
          "documentation":"<p>The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.</p>"
        }
      },
      "documentation":"<p>The spend objects that are associated with this budget. The <code>actualSpend</code> tracks how much you've used, cost, usage, RI units, or Savings Plans units and the <code>forecastedSpend</code> tracks how much that you're predicted to spend based on your historical usage profile.</p> <p>For example, if it's the 20th of the month and you have spent <code>50</code> dollars on Amazon EC2, your <code>actualSpend</code> is <code>50 USD</code>, and your <code>forecastedSpend</code> is <code>75 USD</code>.</p>"
    },
    "ComparisonOperator":{
      "type":"string",
      "documentation":"<p> The comparison operator of a notification. Currently, the service supports the following operators:</p> <p> <code>GREATER_THAN</code>, <code>LESS_THAN</code>, <code>EQUAL_TO</code> </p>",
      "enum":[
        "GREATER_THAN",
        "LESS_THAN",
        "EQUAL_TO"
      ]
    },
    "CostCategoryName":{"type":"string"},
    "CostCategoryValues":{
      "type":"structure",
      "members":{
        "Key":{
          "shape":"CostCategoryName",
          "documentation":"<p>The unique name of the cost category.</p>"
        },
        "Values":{
          "shape":"Values",
          "documentation":"<p>The specific value of the cost category.</p>"
        },
        "MatchOptions":{
          "shape":"MatchOptions",
          "documentation":"<p>The match options that you can use to filter your results. </p>"
        }
      },
      "documentation":"<p>The cost category values used for filtering the costs.</p>"
    },
    "CostFilters":{
      "type":"map",
      "key":{"shape":"GenericString"},
      "value":{"shape":"DimensionValues"},
      "documentation":"<p> A map that represents the cost filters that are applied to the budget.</p>"
    },
    "CostTypes":{
      "type":"structure",
      "members":{
        "IncludeTax":{
          "shape":"NullableBoolean",
          "documentation":"<p>Specifies whether a budget includes taxes.</p> <p>The default value is <code>true</code>.</p>"
        },
        "IncludeSubscription":{
          "shape":"NullableBoolean",
          "documentation":"<p>Specifies whether a budget includes subscriptions.</p> <p>The default value is <code>true</code>.</p>"
        },
        "UseBlended":{
          "shape":"NullableBoolean",
          "documentation":"<p>Specifies whether a budget uses a blended rate.</p> <p>The default value is <code>false</code>.</p>"
        },
        "IncludeRefund":{
          "shape":"NullableBoolean",
          "documentation":"<p>Specifies whether a budget includes refunds.</p> <p>The default value is <code>true</code>.</p>"
        },
        "IncludeCredit":{
          "shape":"NullableBoolean",
          "documentation":"<p>Specifies whether a budget includes credits.</p> <p>The default value is <code>true</code>.</p>"
        },
        "IncludeUpfront":{
          "shape":"NullableBoolean",
          "documentation":"<p>Specifies whether a budget includes upfront RI costs.</p> <p>The default value is <code>true</code>.</p>"
        },
        "IncludeRecurring":{
          "shape":"NullableBoolean",
          "documentation":"<p>Specifies whether a budget includes recurring fees such as monthly RI fees.</p> <p>The default value is <code>true</code>.</p>"
        },
        "IncludeOtherSubscription":{
          "shape":"NullableBoolean",
          "documentation":"<p>Specifies whether a budget includes non-RI subscription costs.</p> <p>The default value is <code>true</code>.</p>"
        },
        "IncludeSupport":{
          "shape":"NullableBoolean",
          "documentation":"<p>Specifies whether a budget includes support subscription fees.</p> <p>The default value is <code>true</code>.</p>"
        },
        "IncludeDiscount":{
          "shape":"NullableBoolean",
          "documentation":"<p>Specifies whether a budget includes discounts.</p> <p>The default value is <code>true</code>.</p>"
        },
        "UseAmortized":{
          "shape":"NullableBoolean",
          "documentation":"<p>Specifies whether a budget uses the amortized rate.</p> <p>The default value is <code>false</code>.</p>"
        }
      },
      "documentation":"<p>The types of cost that are included in a <code>COST</code> budget, such as tax and subscriptions.</p> <p> <code>USAGE</code>, <code>RI_UTILIZATION</code>, <code>RI_COVERAGE</code>, <code>SAVINGS_PLANS_UTILIZATION</code>, and <code>SAVINGS_PLANS_COVERAGE</code> budgets don't have <code>CostTypes</code>.</p>"
    },
    "CreateBudgetActionRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "NotificationType",
        "ActionType",
        "ActionThreshold",
        "Definition",
        "ExecutionRoleArn",
        "ApprovalModel",
        "Subscribers"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "NotificationType":{"shape":"NotificationType"},
        "ActionType":{
          "shape":"ActionType",
          "documentation":"<p> 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. </p>"
        },
        "ActionThreshold":{"shape":"ActionThreshold"},
        "Definition":{"shape":"Definition"},
        "ExecutionRoleArn":{
          "shape":"RoleArn",
          "documentation":"<p> The role passed for action execution and reversion. Roles and actions must be in the same account. </p>"
        },
        "ApprovalModel":{
          "shape":"ApprovalModel",
          "documentation":"<p> This specifies if the action needs manual or automatic approval. </p>"
        },
        "Subscribers":{"shape":"Subscribers"},
        "ResourceTags":{
          "shape":"ResourceTagList",
          "documentation":"<p>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.</p>"
        }
      }
    },
    "CreateBudgetActionResponse":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "ActionId"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "ActionId":{
          "shape":"ActionId",
          "documentation":"<p> A system-generated universally unique identifier (UUID) for the action. </p>"
        }
      }
    },
    "CreateBudgetRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "Budget"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget.</p>"
        },
        "Budget":{
          "shape":"Budget",
          "documentation":"<p>The budget object that you want to create.</p>"
        },
        "NotificationsWithSubscribers":{
          "shape":"NotificationWithSubscribersList",
          "documentation":"<p>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 <code>CreateBudget</code> call, Amazon Web Services creates the notifications and subscribers for you.</p>"
        },
        "ResourceTags":{
          "shape":"ResourceTagList",
          "documentation":"<p>An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.</p>"
        }
      },
      "documentation":"<p> Request of CreateBudget </p>"
    },
    "CreateBudgetResponse":{
      "type":"structure",
      "members":{},
      "documentation":"<p> Response of CreateBudget </p>"
    },
    "CreateNotificationRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "Notification",
        "Subscribers"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget that you want to create a notification for.</p>"
        },
        "BudgetName":{
          "shape":"BudgetName",
          "documentation":"<p>The name of the budget that you want Amazon Web Services to notify you about. Budget names must be unique within an account.</p>"
        },
        "Notification":{
          "shape":"Notification",
          "documentation":"<p>The notification that you want to create.</p>"
        },
        "Subscribers":{
          "shape":"Subscribers",
          "documentation":"<p>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.</p>"
        }
      },
      "documentation":"<p> Request of CreateNotification </p>"
    },
    "CreateNotificationResponse":{
      "type":"structure",
      "members":{},
      "documentation":"<p> Response of CreateNotification </p>"
    },
    "CreateSubscriberRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "Notification",
        "Subscriber"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget that you want to create a subscriber for.</p>"
        },
        "BudgetName":{
          "shape":"BudgetName",
          "documentation":"<p>The name of the budget that you want to subscribe to. Budget names must be unique within an account.</p>"
        },
        "Notification":{
          "shape":"Notification",
          "documentation":"<p>The notification that you want to create a subscriber for.</p>"
        },
        "Subscriber":{
          "shape":"Subscriber",
          "documentation":"<p>The subscriber that you want to associate with a budget notification.</p>"
        }
      },
      "documentation":"<p> Request of CreateSubscriber </p>"
    },
    "CreateSubscriberResponse":{
      "type":"structure",
      "members":{},
      "documentation":"<p> Response of CreateSubscriber </p>"
    },
    "CreationLimitExceededException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p>You've exceeded the notification or subscriber limit.</p>",
      "exception":true
    },
    "Definition":{
      "type":"structure",
      "members":{
        "IamActionDefinition":{
          "shape":"IamActionDefinition",
          "documentation":"<p>The Identity and Access Management (IAM) action definition details. </p>"
        },
        "ScpActionDefinition":{
          "shape":"ScpActionDefinition",
          "documentation":"<p>The service control policies (SCPs) action definition details. </p>"
        },
        "SsmActionDefinition":{
          "shape":"SsmActionDefinition",
          "documentation":"<p>The Amazon Web Services Systems Manager (SSM) action definition details. </p>"
        }
      },
      "documentation":"<p>Specifies all of the type-specific parameters. </p>"
    },
    "DeleteBudgetActionRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "ActionId"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "ActionId":{
          "shape":"ActionId",
          "documentation":"<p> A system-generated universally unique identifier (UUID) for the action. </p>"
        }
      }
    },
    "DeleteBudgetActionResponse":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "Action"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "Action":{"shape":"Action"}
      }
    },
    "DeleteBudgetRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget that you want to delete.</p>"
        },
        "BudgetName":{
          "shape":"BudgetName",
          "documentation":"<p>The name of the budget that you want to delete.</p>"
        }
      },
      "documentation":"<p> Request of DeleteBudget </p>"
    },
    "DeleteBudgetResponse":{
      "type":"structure",
      "members":{},
      "documentation":"<p> Response of DeleteBudget </p>"
    },
    "DeleteNotificationRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "Notification"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget whose notification you want to delete.</p>"
        },
        "BudgetName":{
          "shape":"BudgetName",
          "documentation":"<p>The name of the budget whose notification you want to delete.</p>"
        },
        "Notification":{
          "shape":"Notification",
          "documentation":"<p>The notification that you want to delete.</p>"
        }
      },
      "documentation":"<p> Request of DeleteNotification </p>"
    },
    "DeleteNotificationResponse":{
      "type":"structure",
      "members":{},
      "documentation":"<p> Response of DeleteNotification </p>"
    },
    "DeleteSubscriberRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "Notification",
        "Subscriber"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget whose subscriber you want to delete.</p>"
        },
        "BudgetName":{
          "shape":"BudgetName",
          "documentation":"<p>The name of the budget whose subscriber you want to delete.</p>"
        },
        "Notification":{
          "shape":"Notification",
          "documentation":"<p>The notification whose subscriber you want to delete.</p>"
        },
        "Subscriber":{
          "shape":"Subscriber",
          "documentation":"<p>The subscriber that you want to delete.</p>"
        }
      },
      "documentation":"<p> Request of DeleteSubscriber </p>"
    },
    "DeleteSubscriberResponse":{
      "type":"structure",
      "members":{},
      "documentation":"<p> Response of DeleteSubscriber </p>"
    },
    "DescribeBudgetActionHistoriesRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "ActionId"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "ActionId":{
          "shape":"ActionId",
          "documentation":"<p> A system-generated universally unique identifier (UUID) for the action. </p>"
        },
        "TimePeriod":{"shape":"TimePeriod"},
        "MaxResults":{"shape":"MaxResults"},
        "NextToken":{"shape":"GenericString"}
      }
    },
    "DescribeBudgetActionHistoriesResponse":{
      "type":"structure",
      "required":["ActionHistories"],
      "members":{
        "ActionHistories":{
          "shape":"ActionHistories",
          "documentation":"<p> The historical record of the budget action resource. </p>"
        },
        "NextToken":{"shape":"GenericString"}
      }
    },
    "DescribeBudgetActionRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "ActionId"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "ActionId":{
          "shape":"ActionId",
          "documentation":"<p> A system-generated universally unique identifier (UUID) for the action. </p>"
        }
      }
    },
    "DescribeBudgetActionResponse":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "Action"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "Action":{
          "shape":"Action",
          "documentation":"<p> A budget action resource. </p>"
        }
      }
    },
    "DescribeBudgetActionsForAccountRequest":{
      "type":"structure",
      "required":["AccountId"],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "MaxResults":{"shape":"MaxResults"},
        "NextToken":{"shape":"GenericString"}
      }
    },
    "DescribeBudgetActionsForAccountResponse":{
      "type":"structure",
      "required":["Actions"],
      "members":{
        "Actions":{
          "shape":"Actions",
          "documentation":"<p> A list of the budget action resources information. </p>"
        },
        "NextToken":{"shape":"GenericString"}
      }
    },
    "DescribeBudgetActionsForBudgetRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "MaxResults":{"shape":"MaxResults"},
        "NextToken":{"shape":"GenericString"}
      }
    },
    "DescribeBudgetActionsForBudgetResponse":{
      "type":"structure",
      "required":["Actions"],
      "members":{
        "Actions":{
          "shape":"Actions",
          "documentation":"<p> A list of the budget action resources information. </p>"
        },
        "NextToken":{"shape":"GenericString"}
      }
    },
    "DescribeBudgetNotificationsForAccountRequest":{
      "type":"structure",
      "required":["AccountId"],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "MaxResults":{
          "shape":"MaxResultsBudgetNotifications",
          "documentation":"<p> An integer that represents how many budgets a paginated response contains. The default is 50. </p>"
        },
        "NextToken":{"shape":"GenericString"}
      }
    },
    "DescribeBudgetNotificationsForAccountResponse":{
      "type":"structure",
      "members":{
        "BudgetNotificationsForAccount":{
          "shape":"BudgetNotificationsForAccountList",
          "documentation":"<p> A list of budget names and associated notifications for an account. </p>"
        },
        "NextToken":{"shape":"GenericString"}
      }
    },
    "DescribeBudgetPerformanceHistoryRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "TimePeriod":{
          "shape":"TimePeriod",
          "documentation":"<p>Retrieves how often the budget went into an <code>ALARM</code> state for the specified time period.</p>"
        },
        "MaxResults":{"shape":"MaxResults"},
        "NextToken":{"shape":"GenericString"}
      }
    },
    "DescribeBudgetPerformanceHistoryResponse":{
      "type":"structure",
      "members":{
        "BudgetPerformanceHistory":{
          "shape":"BudgetPerformanceHistory",
          "documentation":"<p>The history of how often the budget has gone into an <code>ALARM</code> state.</p> <p>For <code>DAILY</code> budgets, the history saves the state of the budget for the last 60 days. For <code>MONTHLY</code> budgets, the history saves the state of the budget for the current month plus the last 12 months. For <code>QUARTERLY</code> budgets, the history saves the state of the budget for the last four quarters.</p>"
        },
        "NextToken":{"shape":"GenericString"}
      }
    },
    "DescribeBudgetRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget that you want a description of.</p>"
        },
        "BudgetName":{
          "shape":"BudgetName",
          "documentation":"<p>The name of the budget that you want a description of.</p>"
        },
        "ShowFilterExpression":{
          "shape":"NullableBoolean",
          "documentation":"<p>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.</p>"
        }
      },
      "documentation":"<p> Request of DescribeBudget </p>"
    },
    "DescribeBudgetResponse":{
      "type":"structure",
      "members":{
        "Budget":{
          "shape":"Budget",
          "documentation":"<p>The description of the budget.</p>"
        }
      },
      "documentation":"<p> Response of DescribeBudget </p>"
    },
    "DescribeBudgetsRequest":{
      "type":"structure",
      "required":["AccountId"],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budgets that you want to describe.</p>"
        },
        "MaxResults":{
          "shape":"MaxResultsDescribeBudgets",
          "documentation":"<p>An integer that represents how many budgets a paginated response contains. The default is 100.</p>"
        },
        "NextToken":{
          "shape":"GenericString",
          "documentation":"<p>The pagination token that you include in your request to indicate the next set of results that you want to retrieve.</p>"
        },
        "ShowFilterExpression":{
          "shape":"NullableBoolean",
          "documentation":"<p>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.</p>"
        }
      },
      "documentation":"<p> Request of DescribeBudgets </p>"
    },
    "DescribeBudgetsResponse":{
      "type":"structure",
      "members":{
        "Budgets":{
          "shape":"Budgets",
          "documentation":"<p>A list of budgets.</p>"
        },
        "NextToken":{
          "shape":"GenericString",
          "documentation":"<p>The pagination token in the service response that indicates the next set of results that you can retrieve.</p>"
        }
      },
      "documentation":"<p> Response of DescribeBudgets </p>"
    },
    "DescribeNotificationsForBudgetRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget whose notifications you want descriptions of.</p>"
        },
        "BudgetName":{
          "shape":"BudgetName",
          "documentation":"<p>The name of the budget whose notifications you want descriptions of.</p>"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>An optional integer that represents how many entries a paginated response contains.</p>"
        },
        "NextToken":{
          "shape":"GenericString",
          "documentation":"<p>The pagination token that you include in your request to indicate the next set of results that you want to retrieve.</p>"
        }
      },
      "documentation":"<p> Request of DescribeNotificationsForBudget </p>"
    },
    "DescribeNotificationsForBudgetResponse":{
      "type":"structure",
      "members":{
        "Notifications":{
          "shape":"Notifications",
          "documentation":"<p>A list of notifications that are associated with a budget.</p>"
        },
        "NextToken":{
          "shape":"GenericString",
          "documentation":"<p>The pagination token in the service response that indicates the next set of results that you can retrieve.</p>"
        }
      },
      "documentation":"<p> Response of GetNotificationsForBudget </p>"
    },
    "DescribeSubscribersForNotificationRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "Notification"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget whose subscribers you want descriptions of.</p>"
        },
        "BudgetName":{
          "shape":"BudgetName",
          "documentation":"<p>The name of the budget whose subscribers you want descriptions of.</p>"
        },
        "Notification":{
          "shape":"Notification",
          "documentation":"<p>The notification whose subscribers you want to list.</p>"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>An optional integer that represents how many entries a paginated response contains.</p>"
        },
        "NextToken":{
          "shape":"GenericString",
          "documentation":"<p>The pagination token that you include in your request to indicate the next set of results that you want to retrieve.</p>"
        }
      },
      "documentation":"<p> Request of DescribeSubscribersForNotification </p>"
    },
    "DescribeSubscribersForNotificationResponse":{
      "type":"structure",
      "members":{
        "Subscribers":{
          "shape":"Subscribers",
          "documentation":"<p>A list of subscribers that are associated with a notification.</p>"
        },
        "NextToken":{
          "shape":"GenericString",
          "documentation":"<p>The pagination token in the service response that indicates the next set of results that you can retrieve.</p>"
        }
      },
      "documentation":"<p> Response of DescribeSubscribersForNotification </p>"
    },
    "Dimension":{
      "type":"string",
      "enum":[
        "AZ",
        "INSTANCE_TYPE",
        "LINKED_ACCOUNT",
        "LINKED_ACCOUNT_NAME",
        "OPERATION",
        "PURCHASE_TYPE",
        "REGION",
        "SERVICE",
        "SERVICE_CODE",
        "USAGE_TYPE",
        "USAGE_TYPE_GROUP",
        "RECORD_TYPE",
        "OPERATING_SYSTEM",
        "TENANCY",
        "SCOPE",
        "PLATFORM",
        "SUBSCRIPTION_ID",
        "LEGAL_ENTITY_NAME",
        "INVOICING_ENTITY",
        "DEPLOYMENT_OPTION",
        "DATABASE_ENGINE",
        "CACHE_ENGINE",
        "INSTANCE_TYPE_FAMILY",
        "BILLING_ENTITY",
        "RESERVATION_ID",
        "RESOURCE_ID",
        "RIGHTSIZING_TYPE",
        "SAVINGS_PLANS_TYPE",
        "SAVINGS_PLAN_ARN",
        "PAYMENT_OPTION",
        "RESERVATION_MODIFIED",
        "TAG_KEY",
        "COST_CATEGORY_NAME"
      ]
    },
    "DimensionValue":{
      "type":"string",
      "max":2147483647,
      "min":0,
      "pattern":"[\\S\\s]*"
    },
    "DimensionValues":{
      "type":"list",
      "member":{"shape":"DimensionValue"}
    },
    "DuplicateRecordException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p>The budget name already exists. Budget names must be unique within an account.</p>",
      "exception":true
    },
    "EventType":{
      "type":"string",
      "enum":[
        "SYSTEM",
        "CREATE_ACTION",
        "DELETE_ACTION",
        "UPDATE_ACTION",
        "EXECUTE_ACTION"
      ]
    },
    "ExecuteBudgetActionRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "ActionId",
        "ExecutionType"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "ActionId":{
          "shape":"ActionId",
          "documentation":"<p> A system-generated universally unique identifier (UUID) for the action. </p>"
        },
        "ExecutionType":{
          "shape":"ExecutionType",
          "documentation":"<p> The type of execution. </p>"
        }
      }
    },
    "ExecuteBudgetActionResponse":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "ActionId",
        "ExecutionType"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "ActionId":{
          "shape":"ActionId",
          "documentation":"<p> A system-generated universally unique identifier (UUID) for the action. </p>"
        },
        "ExecutionType":{
          "shape":"ExecutionType",
          "documentation":"<p> The type of execution. </p>"
        }
      }
    },
    "ExecutionType":{
      "type":"string",
      "enum":[
        "APPROVE_BUDGET_ACTION",
        "RETRY_BUDGET_ACTION",
        "REVERSE_BUDGET_ACTION",
        "RESET_BUDGET_ACTION"
      ]
    },
    "ExpiredNextTokenException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p>The pagination token expired.</p>",
      "exception":true
    },
    "Expression":{
      "type":"structure",
      "members":{
        "Or":{
          "shape":"Expressions",
          "documentation":"<p>Return results that match either Dimension object.</p>"
        },
        "And":{
          "shape":"Expressions",
          "documentation":"<p>Return results that match both Dimension objects.</p>"
        },
        "Not":{
          "shape":"Expression",
          "documentation":"<p>Return results that don't match a Dimension object.</p>"
        },
        "Dimensions":{
          "shape":"ExpressionDimensionValues",
          "documentation":"<p>The specific Dimension to use for Expression.</p>"
        },
        "Tags":{
          "shape":"TagValues",
          "documentation":"<p>The specific Tag to use for Expression.</p>"
        },
        "CostCategories":{
          "shape":"CostCategoryValues",
          "documentation":"<p>The filter that's based on CostCategoryValues.</p>"
        }
      },
      "documentation":"<p>Use Expression to filter in various Budgets APIs.</p>"
    },
    "ExpressionDimensionValues":{
      "type":"structure",
      "required":[
        "Key",
        "Values"
      ],
      "members":{
        "Key":{
          "shape":"Dimension",
          "documentation":"<p>The name of the dimension that you want to filter on.</p>"
        },
        "Values":{
          "shape":"Values",
          "documentation":"<p>The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.</p>"
        },
        "MatchOptions":{
          "shape":"MatchOptions",
          "documentation":"<p>The match options that you can use to filter your results. You can specify only one of these values in the array.</p>"
        }
      },
      "documentation":"<p>Contains the specifications for the filters to use for your request.</p>"
    },
    "Expressions":{
      "type":"list",
      "member":{"shape":"Expression"}
    },
    "GenericString":{
      "type":"string",
      "documentation":"<p> A generic string.</p>",
      "max":2147483647,
      "min":0,
      "pattern":".*"
    },
    "GenericTimestamp":{
      "type":"timestamp",
      "documentation":"<p> A generic time stamp. In Java, it's transformed to a <code>Date</code> object.</p>"
    },
    "Group":{
      "type":"string",
      "max":640,
      "min":1,
      "pattern":"^([\\u0021-\\u007F]+\\u002F)?[\\w+=,.@-]+$"
    },
    "Groups":{
      "type":"list",
      "member":{"shape":"Group"},
      "max":100,
      "min":1
    },
    "HealthStatus":{
      "type":"structure",
      "members":{
        "Status":{
          "shape":"HealthStatusValue",
          "documentation":"<p>The current status of the billing view resource.</p>"
        },
        "StatusReason":{
          "shape":"HealthStatusReason",
          "documentation":"<p>The reason for the current status.</p> <ul> <li> <p> <code>BILLING_VIEW_NO_ACCESS</code>: The billing view resource does not grant <code>billing:GetBillingViewData</code> permission to this account.</p> </li> <li> <p> <code>BILLING_VIEW_UNHEALTHY</code>: The billing view associated with the budget is unhealthy.</p> </li> <li> <p> <code>FILTER_INVALID</code>: The filter contains reference to an account you do not have access to.</p> </li> <li> <p> <code>MULTI_YEAR_HISTORICAL_DATA_DISABLED</code>: The budget is not being updated. Enable multi-year historical data in your Cost Management preferences.</p> </li> </ul>"
        },
        "LastUpdatedTime":{"shape":"GenericTimestamp"}
      },
      "documentation":"<p>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.</p>"
    },
    "HealthStatusReason":{
      "type":"string",
      "enum":[
        "BILLING_VIEW_NO_ACCESS",
        "BILLING_VIEW_UNHEALTHY",
        "FILTER_INVALID",
        "MULTI_YEAR_HISTORICAL_DATA_DISABLED"
      ]
    },
    "HealthStatusValue":{
      "type":"string",
      "enum":[
        "HEALTHY",
        "UNHEALTHY"
      ]
    },
    "HistoricalOptions":{
      "type":"structure",
      "required":["BudgetAdjustmentPeriod"],
      "members":{
        "BudgetAdjustmentPeriod":{
          "shape":"AdjustmentPeriod",
          "documentation":"<p>The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. The maximum value depends on the <code>TimeUnit</code> granularity of the budget:</p> <ul> <li> <p>For the <code>DAILY</code> granularity, the maximum value is <code>60</code>.</p> </li> <li> <p>For the <code>MONTHLY</code> granularity, the maximum value is <code>12</code>.</p> </li> <li> <p>For the <code>QUARTERLY</code> granularity, the maximum value is <code>4</code>.</p> </li> <li> <p>For the <code>ANNUALLY</code> granularity, the maximum value is <code>1</code>.</p> </li> </ul>"
        },
        "LookBackAvailablePeriods":{
          "shape":"AdjustmentPeriod",
          "documentation":"<p>The integer that describes how many budget periods in your <code>BudgetAdjustmentPeriod</code> are included in the calculation of your current <code>BudgetLimit</code>. If the first budget period in your <code>BudgetAdjustmentPeriod</code> has no cost data, then that budget period isn’t included in the average that determines your budget limit. </p> <p>For example, if you set <code>BudgetAdjustmentPeriod</code> as <code>4</code> 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, <code>LookBackAvailablePeriods</code> returns <code>3</code>. </p> <p>You can’t set your own <code>LookBackAvailablePeriods</code>. The value is automatically calculated from the <code>BudgetAdjustmentPeriod</code> and your historical cost data.</p>"
        }
      },
      "documentation":"<p>The parameters that define or describe the historical data that your auto-adjusting budget is based on.</p>"
    },
    "IamActionDefinition":{
      "type":"structure",
      "required":["PolicyArn"],
      "members":{
        "PolicyArn":{
          "shape":"PolicyArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the policy to be attached. </p>"
        },
        "Roles":{
          "shape":"Roles",
          "documentation":"<p>A list of roles to be attached. There must be at least one role. </p>"
        },
        "Groups":{
          "shape":"Groups",
          "documentation":"<p>A list of groups to be attached. There must be at least one group. </p>"
        },
        "Users":{
          "shape":"Users",
          "documentation":"<p>A list of users to be attached. There must be at least one user. </p>"
        }
      },
      "documentation":"<p>The Identity and Access Management (IAM) action definition details. </p>"
    },
    "InstanceId":{
      "type":"string",
      "max":63,
      "min":1,
      "pattern":"^i-(\\w{8}|\\w{17})$|^[a-zA-Z]([\\w-]{0,61}\\w)?$"
    },
    "InstanceIds":{
      "type":"list",
      "member":{"shape":"InstanceId"},
      "max":100,
      "min":1
    },
    "InternalErrorException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p>An error on the server occurred during the processing of your request. Try again later.</p>",
      "exception":true
    },
    "InvalidNextTokenException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p>The pagination token is invalid.</p>",
      "exception":true
    },
    "InvalidParameterException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p>An error on the client occurred. Typically, the cause is an invalid input value.</p>",
      "exception":true
    },
    "ListTagsForResourceRequest":{
      "type":"structure",
      "required":["ResourceARN"],
      "members":{
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The unique identifier for the resource.</p>"
        }
      }
    },
    "ListTagsForResourceResponse":{
      "type":"structure",
      "members":{
        "ResourceTags":{
          "shape":"ResourceTagList",
          "documentation":"<p>The tags associated with the resource.</p>"
        }
      }
    },
    "MatchOption":{
      "type":"string",
      "enum":[
        "EQUALS",
        "ABSENT",
        "STARTS_WITH",
        "ENDS_WITH",
        "CONTAINS",
        "GREATER_THAN_OR_EQUAL",
        "CASE_SENSITIVE",
        "CASE_INSENSITIVE"
      ]
    },
    "MatchOptions":{
      "type":"list",
      "member":{"shape":"MatchOption"}
    },
    "MaxResults":{
      "type":"integer",
      "documentation":"<p> An integer that represents how many entries a paginated response contains. The maximum is 100.</p>",
      "box":true,
      "max":100,
      "min":1
    },
    "MaxResultsBudgetNotifications":{
      "type":"integer",
      "box":true,
      "max":1000,
      "min":1
    },
    "MaxResultsDescribeBudgets":{
      "type":"integer",
      "box":true,
      "max":1000,
      "min":1
    },
    "Metric":{
      "type":"string",
      "enum":[
        "BlendedCost",
        "UnblendedCost",
        "AmortizedCost",
        "NetUnblendedCost",
        "NetAmortizedCost",
        "UsageQuantity",
        "NormalizedUsageAmount",
        "Hours"
      ]
    },
    "Metrics":{
      "type":"list",
      "member":{"shape":"Metric"},
      "max":1
    },
    "NotFoundException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p>We can’t locate the resource that you specified.</p>",
      "exception":true
    },
    "Notification":{
      "type":"structure",
      "required":[
        "NotificationType",
        "ComparisonOperator",
        "Threshold"
      ],
      "members":{
        "NotificationType":{
          "shape":"NotificationType",
          "documentation":"<p>Specifies whether the notification is for how much you have spent (<code>ACTUAL</code>) or for how much that you're forecasted to spend (<code>FORECASTED</code>).</p>"
        },
        "ComparisonOperator":{
          "shape":"ComparisonOperator",
          "documentation":"<p>The comparison that's used for this notification.</p>"
        },
        "Threshold":{
          "shape":"NotificationThreshold",
          "documentation":"<p>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.</p>"
        },
        "ThresholdType":{
          "shape":"ThresholdType",
          "documentation":"<p>The type of threshold for a notification. For <code>ABSOLUTE_VALUE</code> thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For <code>PERCENTAGE</code> 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 <code>PERCENTAGE</code> threshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.</p>"
        },
        "NotificationState":{
          "shape":"NotificationState",
          "documentation":"<p>Specifies whether this notification is in alarm. If a budget notification is in the <code>ALARM</code> state, you passed the set threshold for the budget.</p>"
        }
      },
      "documentation":"<p>A notification that's associated with a budget. A budget can have up to ten notifications. </p> <p>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.</p> <p>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:</p> <ul> <li> <p>A notificationType of <code>ACTUAL</code> </p> </li> <li> <p>A <code>thresholdType</code> of <code>PERCENTAGE</code> </p> </li> <li> <p>A <code>comparisonOperator</code> of <code>GREATER_THAN</code> </p> </li> <li> <p>A notification <code>threshold</code> of <code>80</code> </p> </li> </ul>"
    },
    "NotificationState":{
      "type":"string",
      "enum":[
        "OK",
        "ALARM"
      ]
    },
    "NotificationThreshold":{
      "type":"double",
      "documentation":"<p> The threshold of a notification.</p>",
      "max":15000000000000,
      "min":0
    },
    "NotificationType":{
      "type":"string",
      "documentation":"<p> The type of a notification. It must be ACTUAL or FORECASTED.</p>",
      "enum":[
        "ACTUAL",
        "FORECASTED"
      ]
    },
    "NotificationWithSubscribers":{
      "type":"structure",
      "required":[
        "Notification",
        "Subscribers"
      ],
      "members":{
        "Notification":{
          "shape":"Notification",
          "documentation":"<p>The notification that's associated with a budget.</p>"
        },
        "Subscribers":{
          "shape":"Subscribers",
          "documentation":"<p>A list of subscribers who are subscribed to this notification.</p>"
        }
      },
      "documentation":"<p>A notification with subscribers. A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.</p>"
    },
    "NotificationWithSubscribersList":{
      "type":"list",
      "member":{"shape":"NotificationWithSubscribers"},
      "documentation":"<p> A list of notifications, each with a list of subscribers.</p>",
      "max":10
    },
    "Notifications":{
      "type":"list",
      "member":{"shape":"Notification"},
      "documentation":"<p> A list of notifications.</p>"
    },
    "NullableBoolean":{
      "type":"boolean",
      "box":true
    },
    "NumericValue":{
      "type":"string",
      "documentation":"<p> A string that represents a numeric value.</p>",
      "max":2147483647,
      "min":1,
      "pattern":"([0-9]*\\.)?[0-9]+"
    },
    "PlannedBudgetLimits":{
      "type":"map",
      "key":{"shape":"GenericString"},
      "value":{"shape":"Spend"}
    },
    "PolicyArn":{
      "type":"string",
      "max":684,
      "min":25,
      "pattern":"^arn:aws(-eusc|-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::(\\d{12}|aws):policy(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
    },
    "PolicyId":{
      "type":"string",
      "max":130,
      "min":10,
      "pattern":"^p-[0-9a-zA-Z_]{8,128}$"
    },
    "Region":{
      "type":"string",
      "max":20,
      "min":9,
      "pattern":"^\\w{2,4}-\\w+(-\\w+)?-\\d$"
    },
    "ResourceLockedException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p>The request was received and recognized by the server, but the server rejected that particular method for the requested resource.</p>",
      "exception":true
    },
    "ResourceTag":{
      "type":"structure",
      "required":[
        "Key",
        "Value"
      ],
      "members":{
        "Key":{
          "shape":"ResourceTagKey",
          "documentation":"<p>The key that's associated with the tag.</p>"
        },
        "Value":{
          "shape":"ResourceTagValue",
          "documentation":"<p>The value that's associated with the tag.</p>"
        }
      },
      "documentation":"<p>The tag structure that contains a tag key and value.</p>"
    },
    "ResourceTagKey":{
      "type":"string",
      "max":128,
      "min":1
    },
    "ResourceTagKeyList":{
      "type":"list",
      "member":{"shape":"ResourceTagKey"},
      "max":200,
      "min":0
    },
    "ResourceTagList":{
      "type":"list",
      "member":{"shape":"ResourceTag"},
      "max":200,
      "min":0
    },
    "ResourceTagValue":{
      "type":"string",
      "max":256,
      "min":0
    },
    "Role":{
      "type":"string",
      "max":576,
      "min":1,
      "pattern":"^([\\u0021-\\u007F]+\\u002F)?[\\w+=,.@-]+$"
    },
    "RoleArn":{
      "type":"string",
      "max":618,
      "min":32,
      "pattern":"^arn:aws(-eusc|-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::\\d{12}:role(\\u002F[\\u0021-\\u007F]+\\u002F|\\u002F)[\\w+=,.@-]+$"
    },
    "Roles":{
      "type":"list",
      "member":{"shape":"Role"},
      "max":100,
      "min":1
    },
    "ScpActionDefinition":{
      "type":"structure",
      "required":[
        "PolicyId",
        "TargetIds"
      ],
      "members":{
        "PolicyId":{
          "shape":"PolicyId",
          "documentation":"<p>The policy ID attached. </p>"
        },
        "TargetIds":{
          "shape":"TargetIds",
          "documentation":"<p>A list of target IDs. </p>"
        }
      },
      "documentation":"<p>The service control policies (SCP) action definition details. </p>"
    },
    "ServiceQuotaExceededException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p>You've reached a Service Quota limit on this resource.</p>",
      "exception":true
    },
    "Spend":{
      "type":"structure",
      "required":[
        "Amount",
        "Unit"
      ],
      "members":{
        "Amount":{
          "shape":"NumericValue",
          "documentation":"<p>The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.</p>"
        },
        "Unit":{
          "shape":"UnitValue",
          "documentation":"<p>The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.</p>"
        }
      },
      "documentation":"<p>The amount of cost or usage that's measured for a budget.</p> <p> <i>Cost example:</i> A <code>Spend</code> for <code>3 USD</code> of costs has the following parameters:</p> <ul> <li> <p>An <code>Amount</code> of <code>3</code> </p> </li> <li> <p>A <code>Unit</code> of <code>USD</code> </p> </li> </ul> <p> <i>Usage example:</i> A <code>Spend</code> for <code>3 GB</code> of S3 usage has the following parameters:</p> <ul> <li> <p>An <code>Amount</code> of <code>3</code> </p> </li> <li> <p>A <code>Unit</code> of <code>GB</code> </p> </li> </ul>"
    },
    "SsmActionDefinition":{
      "type":"structure",
      "required":[
        "ActionSubType",
        "Region",
        "InstanceIds"
      ],
      "members":{
        "ActionSubType":{
          "shape":"ActionSubType",
          "documentation":"<p>The action subType. </p>"
        },
        "Region":{
          "shape":"Region",
          "documentation":"<p>The Region to run the SSM document. </p>"
        },
        "InstanceIds":{
          "shape":"InstanceIds",
          "documentation":"<p>The EC2 and RDS instance IDs. </p>"
        }
      },
      "documentation":"<p>The Amazon Web Services Systems Manager (SSM) action definition details. </p>"
    },
    "Subscriber":{
      "type":"structure",
      "required":[
        "SubscriptionType",
        "Address"
      ],
      "members":{
        "SubscriptionType":{
          "shape":"SubscriptionType",
          "documentation":"<p>The type of notification that Amazon Web Services sends to a subscriber.</p>"
        },
        "Address":{
          "shape":"SubscriberAddress",
          "documentation":"<p>The address that Amazon Web Services sends budget notifications to, either an SNS topic or an email.</p> <p>When you create a subscriber, the value of <code>Address</code> can't contain line breaks.</p>"
        }
      },
      "documentation":"<p>The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon SNS topic or an email address.</p> <p>For example, an email subscriber has the following parameters:</p> <ul> <li> <p>A <code>subscriptionType</code> of <code>EMAIL</code> </p> </li> <li> <p>An <code>address</code> of <code>example@example.com</code> </p> </li> </ul>"
    },
    "SubscriberAddress":{
      "type":"string",
      "documentation":"<p> A string that contains an email address or SNS topic for the subscriber's address.</p>",
      "max":2147483647,
      "min":1,
      "pattern":"(.*[\\n\\r\\t\\f\\ ]?)*",
      "sensitive":true
    },
    "Subscribers":{
      "type":"list",
      "member":{"shape":"Subscriber"},
      "documentation":"<p> A list of subscribers.</p>",
      "max":11,
      "min":1
    },
    "SubscriptionType":{
      "type":"string",
      "documentation":"<p> The subscription type of the subscriber. It can be SMS or EMAIL.</p>",
      "enum":[
        "SNS",
        "EMAIL"
      ]
    },
    "TagKey":{
      "type":"string",
      "max":1024,
      "min":0,
      "pattern":"[\\S\\s]*"
    },
    "TagResourceRequest":{
      "type":"structure",
      "required":[
        "ResourceARN",
        "ResourceTags"
      ],
      "members":{
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The unique identifier for the resource.</p>"
        },
        "ResourceTags":{
          "shape":"ResourceTagList",
          "documentation":"<p>The tags associated with the resource.</p>"
        }
      }
    },
    "TagResourceResponse":{
      "type":"structure",
      "members":{}
    },
    "TagValues":{
      "type":"structure",
      "members":{
        "Key":{
          "shape":"TagKey",
          "documentation":"<p>The key for the tag.</p>"
        },
        "Values":{
          "shape":"Values",
          "documentation":"<p>The specific value of the tag.</p>"
        },
        "MatchOptions":{
          "shape":"MatchOptions",
          "documentation":"<p>The match options that you can use to filter your results.</p>"
        }
      },
      "documentation":"<p>The values that are available for a tag.</p>"
    },
    "TargetId":{
      "type":"string",
      "max":68,
      "min":12,
      "pattern":"^(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}$)|(\\d{12})"
    },
    "TargetIds":{
      "type":"list",
      "member":{"shape":"TargetId"},
      "max":100,
      "min":1
    },
    "ThresholdType":{
      "type":"string",
      "documentation":"<p> The type of threshold for a notification.</p>",
      "enum":[
        "PERCENTAGE",
        "ABSOLUTE_VALUE"
      ]
    },
    "ThrottlingException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"errorMessage"}
      },
      "documentation":"<p>The number of API requests has exceeded the maximum allowed API request throttling limit for the account.</p>",
      "exception":true
    },
    "TimePeriod":{
      "type":"structure",
      "members":{
        "Start":{
          "shape":"GenericTimestamp",
          "documentation":"<p>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 <code>DAILY</code>, and didn't set a start date, Amazon Web Services set your start date to <code>01/24/18 00:00 UTC</code>. If you chose <code>MONTHLY</code>, Amazon Web Services set your start date to <code>01/01/18 00:00 UTC</code>. The defaults are the same for the Billing and Cost Management console and the API.</p> <p>You can change your start date with the <code>UpdateBudget</code> operation.</p>"
        },
        "End":{
          "shape":"GenericTimestamp",
          "documentation":"<p>The end date for a budget. If you didn't specify an end date, Amazon Web Services set your end date to <code>06/15/87 00:00 UTC</code>. The defaults are the same for the Billing and Cost Management console and the API.</p> <p>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 <code>UpdateBudget</code> operation.</p>"
        }
      },
      "documentation":"<p>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. </p>"
    },
    "TimeUnit":{
      "type":"string",
      "documentation":"<p> The time unit of the budget, such as MONTHLY or QUARTERLY.</p>",
      "enum":[
        "DAILY",
        "MONTHLY",
        "QUARTERLY",
        "ANNUALLY",
        "CUSTOM"
      ]
    },
    "UnitValue":{
      "type":"string",
      "documentation":"<p> A string that represents the spend unit of a budget. It can't be null or empty.</p>",
      "max":2147483647,
      "min":1,
      "pattern":".*"
    },
    "UntagResourceRequest":{
      "type":"structure",
      "required":[
        "ResourceARN",
        "ResourceTagKeys"
      ],
      "members":{
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The unique identifier for the resource.</p>"
        },
        "ResourceTagKeys":{
          "shape":"ResourceTagKeyList",
          "documentation":"<p>The key that's associated with the tag.</p>"
        }
      }
    },
    "UntagResourceResponse":{
      "type":"structure",
      "members":{}
    },
    "UpdateBudgetActionRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "ActionId"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "ActionId":{
          "shape":"ActionId",
          "documentation":"<p> A system-generated universally unique identifier (UUID) for the action. </p>"
        },
        "NotificationType":{"shape":"NotificationType"},
        "ActionThreshold":{"shape":"ActionThreshold"},
        "Definition":{"shape":"Definition"},
        "ExecutionRoleArn":{
          "shape":"RoleArn",
          "documentation":"<p> The role passed for action execution and reversion. Roles and actions must be in the same account. </p>"
        },
        "ApprovalModel":{
          "shape":"ApprovalModel",
          "documentation":"<p> This specifies if the action needs manual or automatic approval. </p>"
        },
        "Subscribers":{"shape":"Subscribers"}
      }
    },
    "UpdateBudgetActionResponse":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "OldAction",
        "NewAction"
      ],
      "members":{
        "AccountId":{"shape":"AccountId"},
        "BudgetName":{"shape":"BudgetName"},
        "OldAction":{
          "shape":"Action",
          "documentation":"<p> The previous action resource information. </p>"
        },
        "NewAction":{
          "shape":"Action",
          "documentation":"<p> The updated action resource information. </p>"
        }
      }
    },
    "UpdateBudgetRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "NewBudget"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget that you want to update.</p>"
        },
        "NewBudget":{
          "shape":"Budget",
          "documentation":"<p>The budget that you want to update your budget to.</p>"
        }
      },
      "documentation":"<p> Request of UpdateBudget </p>"
    },
    "UpdateBudgetResponse":{
      "type":"structure",
      "members":{},
      "documentation":"<p> Response of UpdateBudget </p>"
    },
    "UpdateNotificationRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "OldNotification",
        "NewNotification"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget whose notification you want to update.</p>"
        },
        "BudgetName":{
          "shape":"BudgetName",
          "documentation":"<p>The name of the budget whose notification you want to update.</p>"
        },
        "OldNotification":{
          "shape":"Notification",
          "documentation":"<p>The previous notification that is associated with a budget.</p>"
        },
        "NewNotification":{
          "shape":"Notification",
          "documentation":"<p>The updated notification to be associated with a budget.</p>"
        }
      },
      "documentation":"<p> Request of UpdateNotification </p>"
    },
    "UpdateNotificationResponse":{
      "type":"structure",
      "members":{},
      "documentation":"<p> Response of UpdateNotification </p>"
    },
    "UpdateSubscriberRequest":{
      "type":"structure",
      "required":[
        "AccountId",
        "BudgetName",
        "Notification",
        "OldSubscriber",
        "NewSubscriber"
      ],
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The <code>accountId</code> that is associated with the budget whose subscriber you want to update.</p>"
        },
        "BudgetName":{
          "shape":"BudgetName",
          "documentation":"<p>The name of the budget whose subscriber you want to update.</p>"
        },
        "Notification":{
          "shape":"Notification",
          "documentation":"<p>The notification whose subscriber you want to update.</p>"
        },
        "OldSubscriber":{
          "shape":"Subscriber",
          "documentation":"<p>The previous subscriber that is associated with a budget notification.</p>"
        },
        "NewSubscriber":{
          "shape":"Subscriber",
          "documentation":"<p>The updated subscriber that is associated with a budget notification.</p>"
        }
      },
      "documentation":"<p> Request of UpdateSubscriber </p>"
    },
    "UpdateSubscriberResponse":{
      "type":"structure",
      "members":{},
      "documentation":"<p> Response of UpdateSubscriber </p>"
    },
    "User":{
      "type":"string",
      "max":576,
      "min":1,
      "pattern":"^([\\u0021-\\u007F]+\\u002F)?[\\w+=,.@-]+$"
    },
    "Users":{
      "type":"list",
      "member":{"shape":"User"},
      "max":100,
      "min":1
    },
    "Value":{
      "type":"string",
      "max":1024,
      "min":0,
      "pattern":"[\\S\\s]*"
    },
    "Values":{
      "type":"list",
      "member":{"shape":"Value"},
      "min":1
    },
    "errorMessage":{
      "type":"string",
      "documentation":"<p>The error message the exception carries.</p>"
    }
  },
  "documentation":"<p>Use the Amazon Web Services Budgets API to plan your service usage, service costs, and instance reservations. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for the Amazon Web Services Budgets feature. </p> <p>Budgets provide you with a way to see the following information:</p> <ul> <li> <p>How close your plan is to your budgeted amount or to the free tier limits</p> </li> <li> <p>Your usage-to-date, including how much you've used of your Reserved Instances (RIs)</p> </li> <li> <p>Your current estimated charges from Amazon Web Services, and how much your predicted usage will accrue in charges by the end of the month</p> </li> <li> <p>How much of your budget has been used</p> </li> </ul> <p>Amazon Web Services updates your budget status several times a day. Budgets track your unblended costs, subscriptions, refunds, and RIs. You can create the following types of budgets:</p> <ul> <li> <p> <b>Cost budgets</b> - Plan how much you want to spend on a service.</p> </li> <li> <p> <b>Usage budgets</b> - Plan how much you want to use one or more services.</p> </li> <li> <p> <b>RI utilization budgets</b> - Define a utilization threshold, and receive alerts when your RI usage falls below that threshold. This lets you see if your RIs are unused or under-utilized.</p> </li> <li> <p> <b>RI coverage budgets</b> - Define a coverage threshold, and receive alerts when the number of your instance hours that are covered by RIs fall below that threshold. This lets you see how much of your instance usage is covered by a reservation.</p> </li> </ul> <p>Service Endpoint</p> <p>The Amazon Web Services Budgets API provides the following endpoint:</p> <ul> <li> <p>https://budgets.amazonaws.com</p> </li> </ul> <p>For information about costs that are associated with the Amazon Web Services Budgets API, see <a href=\"https://aws.amazon.com/aws-cost-management/pricing/\">Amazon Web Services Cost Management Pricing</a>.</p>"
}
