@aws-sdk/client-budgets 3.782.0 → 3.793.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,16 @@ declare const UpdateBudgetCommand_base: {
29
29
  /**
30
30
  * <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>
31
31
  * <important>
32
- * <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>
32
+ * <p>Only one of <code>BudgetLimit</code> or <code>PlannedBudgetLimits</code> can be present in
33
+ * the syntax at one time. Use the syntax that matches your case. The Request Syntax
34
+ * section shows the <code>BudgetLimit</code> syntax. For <code>PlannedBudgetLimits</code>,
35
+ * 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>
36
+ * <p>Similarly, only one set of filter and metric selections can be present in the syntax
37
+ * at one time. Either <code>FilterExpression</code> and <code>Metrics</code> or
38
+ * <code>CostFilters</code> and <code>CostTypes</code>, not both or a different
39
+ * combination. We recommend using <code>FilterExpression</code> and <code>Metrics</code>
40
+ * as they provide more flexible and powerful filtering capabilities. The Request Syntax
41
+ * section shows the <code>FilterExpression</code>/<code>Metrics</code> syntax.</p>
33
42
  * </important>
34
43
  * @example
35
44
  * Use a bare-bones client and the command you need to make an API call.
@@ -94,6 +103,76 @@ declare const UpdateBudgetCommand_base: {
94
103
  * },
95
104
  * LastAutoAdjustTime: new Date("TIMESTAMP"),
96
105
  * },
106
+ * FilterExpression: { // Expression
107
+ * Or: [ // Expressions
108
+ * {
109
+ * Or: [
110
+ * "<Expression>",
111
+ * ],
112
+ * And: [
113
+ * "<Expression>",
114
+ * ],
115
+ * Not: "<Expression>",
116
+ * Dimensions: { // ExpressionDimensionValues
117
+ * Key: "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", // required
118
+ * Values: [ // Values // required
119
+ * "STRING_VALUE",
120
+ * ],
121
+ * MatchOptions: [ // MatchOptions
122
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "GREATER_THAN_OR_EQUAL" || "CASE_SENSITIVE" || "CASE_INSENSITIVE",
123
+ * ],
124
+ * },
125
+ * Tags: { // TagValues
126
+ * Key: "STRING_VALUE",
127
+ * Values: [
128
+ * "STRING_VALUE",
129
+ * ],
130
+ * MatchOptions: [
131
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "GREATER_THAN_OR_EQUAL" || "CASE_SENSITIVE" || "CASE_INSENSITIVE",
132
+ * ],
133
+ * },
134
+ * CostCategories: { // CostCategoryValues
135
+ * Key: "STRING_VALUE",
136
+ * Values: [
137
+ * "STRING_VALUE",
138
+ * ],
139
+ * MatchOptions: [
140
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "GREATER_THAN_OR_EQUAL" || "CASE_SENSITIVE" || "CASE_INSENSITIVE",
141
+ * ],
142
+ * },
143
+ * },
144
+ * ],
145
+ * And: [
146
+ * "<Expression>",
147
+ * ],
148
+ * Not: "<Expression>",
149
+ * Dimensions: {
150
+ * Key: "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", // required
151
+ * Values: [ // required
152
+ * "STRING_VALUE",
153
+ * ],
154
+ * MatchOptions: [
155
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "GREATER_THAN_OR_EQUAL" || "CASE_SENSITIVE" || "CASE_INSENSITIVE",
156
+ * ],
157
+ * },
158
+ * Tags: {
159
+ * Key: "STRING_VALUE",
160
+ * Values: [
161
+ * "STRING_VALUE",
162
+ * ],
163
+ * MatchOptions: [
164
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "GREATER_THAN_OR_EQUAL" || "CASE_SENSITIVE" || "CASE_INSENSITIVE",
165
+ * ],
166
+ * },
167
+ * CostCategories: {
168
+ * Key: "STRING_VALUE",
169
+ * Values: "<Values>",
170
+ * MatchOptions: "<MatchOptions>",
171
+ * },
172
+ * },
173
+ * Metrics: [ // Metrics
174
+ * "BlendedCost" || "UnblendedCost" || "AmortizedCost" || "NetUnblendedCost" || "NetAmortizedCost" || "UsageQuantity" || "NormalizedUsageAmount" || "Hours",
175
+ * ],
97
176
  * },
98
177
  * };
99
178
  * const command = new UpdateBudgetCommand(input);