@aws-sdk/client-budgets 3.888.0 → 3.891.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.
Files changed (31) hide show
  1. package/dist-cjs/index.js +3 -1
  2. package/dist-es/models/models_0.js +2 -0
  3. package/dist-types/commands/CreateBudgetActionCommand.d.ts +2 -0
  4. package/dist-types/commands/CreateBudgetCommand.d.ts +4 -2
  5. package/dist-types/commands/CreateNotificationCommand.d.ts +2 -0
  6. package/dist-types/commands/CreateSubscriberCommand.d.ts +2 -0
  7. package/dist-types/commands/DeleteBudgetActionCommand.d.ts +2 -0
  8. package/dist-types/commands/DeleteBudgetCommand.d.ts +2 -0
  9. package/dist-types/commands/DeleteNotificationCommand.d.ts +2 -0
  10. package/dist-types/commands/DeleteSubscriberCommand.d.ts +2 -0
  11. package/dist-types/commands/DescribeBudgetActionCommand.d.ts +2 -0
  12. package/dist-types/commands/DescribeBudgetActionHistoriesCommand.d.ts +2 -0
  13. package/dist-types/commands/DescribeBudgetActionsForAccountCommand.d.ts +2 -0
  14. package/dist-types/commands/DescribeBudgetActionsForBudgetCommand.d.ts +2 -0
  15. package/dist-types/commands/DescribeBudgetCommand.d.ts +4 -2
  16. package/dist-types/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +2 -0
  17. package/dist-types/commands/DescribeBudgetPerformanceHistoryCommand.d.ts +3 -1
  18. package/dist-types/commands/DescribeBudgetsCommand.d.ts +4 -2
  19. package/dist-types/commands/DescribeNotificationsForBudgetCommand.d.ts +2 -0
  20. package/dist-types/commands/DescribeSubscribersForNotificationCommand.d.ts +2 -0
  21. package/dist-types/commands/ExecuteBudgetActionCommand.d.ts +2 -0
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  23. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  24. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  25. package/dist-types/commands/UpdateBudgetActionCommand.d.ts +2 -0
  26. package/dist-types/commands/UpdateBudgetCommand.d.ts +4 -2
  27. package/dist-types/commands/UpdateNotificationCommand.d.ts +2 -0
  28. package/dist-types/commands/UpdateSubscriberCommand.d.ts +2 -0
  29. package/dist-types/models/models_0.d.ts +8 -2
  30. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  31. package/package.json +19 -19
package/dist-cjs/index.js CHANGED
@@ -411,7 +411,8 @@ var HealthStatusValue = {
411
411
  var HealthStatusReason = {
412
412
  BILLING_VIEW_NO_ACCESS: "BILLING_VIEW_NO_ACCESS",
413
413
  BILLING_VIEW_UNHEALTHY: "BILLING_VIEW_UNHEALTHY",
414
- FILTER_INVALID: "FILTER_INVALID"
414
+ FILTER_INVALID: "FILTER_INVALID",
415
+ MULTI_YEAR_HISTORICAL_DATA_DISABLED: "MULTI_YEAR_HISTORICAL_DATA_DISABLED"
415
416
  };
416
417
  var Metric = {
417
418
  AMORTIZED_COST: "AmortizedCost",
@@ -425,6 +426,7 @@ var Metric = {
425
426
  };
426
427
  var TimeUnit = {
427
428
  ANNUALLY: "ANNUALLY",
429
+ CUSTOM: "CUSTOM",
428
430
  DAILY: "DAILY",
429
431
  MONTHLY: "MONTHLY",
430
432
  QUARTERLY: "QUARTERLY"
@@ -123,6 +123,7 @@ export const HealthStatusReason = {
123
123
  BILLING_VIEW_NO_ACCESS: "BILLING_VIEW_NO_ACCESS",
124
124
  BILLING_VIEW_UNHEALTHY: "BILLING_VIEW_UNHEALTHY",
125
125
  FILTER_INVALID: "FILTER_INVALID",
126
+ MULTI_YEAR_HISTORICAL_DATA_DISABLED: "MULTI_YEAR_HISTORICAL_DATA_DISABLED",
126
127
  };
127
128
  export const Metric = {
128
129
  AMORTIZED_COST: "AmortizedCost",
@@ -136,6 +137,7 @@ export const Metric = {
136
137
  };
137
138
  export const TimeUnit = {
138
139
  ANNUALLY: "ANNUALLY",
140
+ CUSTOM: "CUSTOM",
139
141
  DAILY: "DAILY",
140
142
  MONTHLY: "MONTHLY",
141
143
  QUARTERLY: "QUARTERLY",
@@ -35,6 +35,8 @@ declare const CreateBudgetActionCommand_base: {
35
35
  * ```javascript
36
36
  * import { BudgetsClient, CreateBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import
37
37
  * // const { BudgetsClient, CreateBudgetActionCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
38
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
39
+ * const config = {}; // type is BudgetsClientConfig
38
40
  * const client = new BudgetsClient(config);
39
41
  * const input = { // CreateBudgetActionRequest
40
42
  * AccountId: "STRING_VALUE", // required
@@ -45,6 +45,8 @@ declare const CreateBudgetCommand_base: {
45
45
  * ```javascript
46
46
  * import { BudgetsClient, CreateBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
47
47
  * // const { BudgetsClient, CreateBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
48
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
49
+ * const config = {}; // type is BudgetsClientConfig
48
50
  * const client = new BudgetsClient(config);
49
51
  * const input = { // CreateBudgetRequest
50
52
  * AccountId: "STRING_VALUE", // required
@@ -78,7 +80,7 @@ declare const CreateBudgetCommand_base: {
78
80
  * IncludeDiscount: true || false,
79
81
  * UseAmortized: true || false,
80
82
  * },
81
- * TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY", // required
83
+ * TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY" || "CUSTOM", // required
82
84
  * TimePeriod: { // TimePeriod
83
85
  * Start: new Date("TIMESTAMP"),
84
86
  * End: new Date("TIMESTAMP"),
@@ -176,7 +178,7 @@ declare const CreateBudgetCommand_base: {
176
178
  * BillingViewArn: "STRING_VALUE",
177
179
  * HealthStatus: { // HealthStatus
178
180
  * Status: "HEALTHY" || "UNHEALTHY",
179
- * StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
181
+ * StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID" || "MULTI_YEAR_HISTORICAL_DATA_DISABLED",
180
182
  * LastUpdatedTime: new Date("TIMESTAMP"),
181
183
  * },
182
184
  * },
@@ -33,6 +33,8 @@ declare const CreateNotificationCommand_base: {
33
33
  * ```javascript
34
34
  * import { BudgetsClient, CreateNotificationCommand } from "@aws-sdk/client-budgets"; // ES Modules import
35
35
  * // const { BudgetsClient, CreateNotificationCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
36
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
37
+ * const config = {}; // type is BudgetsClientConfig
36
38
  * const client = new BudgetsClient(config);
37
39
  * const input = { // CreateNotificationRequest
38
40
  * AccountId: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const CreateSubscriberCommand_base: {
33
33
  * ```javascript
34
34
  * import { BudgetsClient, CreateSubscriberCommand } from "@aws-sdk/client-budgets"; // ES Modules import
35
35
  * // const { BudgetsClient, CreateSubscriberCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
36
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
37
+ * const config = {}; // type is BudgetsClientConfig
36
38
  * const client = new BudgetsClient(config);
37
39
  * const input = { // CreateSubscriberRequest
38
40
  * AccountId: "STRING_VALUE", // required
@@ -35,6 +35,8 @@ declare const DeleteBudgetActionCommand_base: {
35
35
  * ```javascript
36
36
  * import { BudgetsClient, DeleteBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import
37
37
  * // const { BudgetsClient, DeleteBudgetActionCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
38
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
39
+ * const config = {}; // type is BudgetsClientConfig
38
40
  * const client = new BudgetsClient(config);
39
41
  * const input = { // DeleteBudgetActionRequest
40
42
  * AccountId: "STRING_VALUE", // required
@@ -36,6 +36,8 @@ declare const DeleteBudgetCommand_base: {
36
36
  * ```javascript
37
37
  * import { BudgetsClient, DeleteBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
38
38
  * // const { BudgetsClient, DeleteBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
39
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
40
+ * const config = {}; // type is BudgetsClientConfig
39
41
  * const client = new BudgetsClient(config);
40
42
  * const input = { // DeleteBudgetRequest
41
43
  * AccountId: "STRING_VALUE", // required
@@ -36,6 +36,8 @@ declare const DeleteNotificationCommand_base: {
36
36
  * ```javascript
37
37
  * import { BudgetsClient, DeleteNotificationCommand } from "@aws-sdk/client-budgets"; // ES Modules import
38
38
  * // const { BudgetsClient, DeleteNotificationCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
39
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
40
+ * const config = {}; // type is BudgetsClientConfig
39
41
  * const client = new BudgetsClient(config);
40
42
  * const input = { // DeleteNotificationRequest
41
43
  * AccountId: "STRING_VALUE", // required
@@ -36,6 +36,8 @@ declare const DeleteSubscriberCommand_base: {
36
36
  * ```javascript
37
37
  * import { BudgetsClient, DeleteSubscriberCommand } from "@aws-sdk/client-budgets"; // ES Modules import
38
38
  * // const { BudgetsClient, DeleteSubscriberCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
39
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
40
+ * const config = {}; // type is BudgetsClientConfig
39
41
  * const client = new BudgetsClient(config);
40
42
  * const input = { // DeleteSubscriberRequest
41
43
  * AccountId: "STRING_VALUE", // required
@@ -35,6 +35,8 @@ declare const DescribeBudgetActionCommand_base: {
35
35
  * ```javascript
36
36
  * import { BudgetsClient, DescribeBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import
37
37
  * // const { BudgetsClient, DescribeBudgetActionCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
38
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
39
+ * const config = {}; // type is BudgetsClientConfig
38
40
  * const client = new BudgetsClient(config);
39
41
  * const input = { // DescribeBudgetActionRequest
40
42
  * AccountId: "STRING_VALUE", // required
@@ -35,6 +35,8 @@ declare const DescribeBudgetActionHistoriesCommand_base: {
35
35
  * ```javascript
36
36
  * import { BudgetsClient, DescribeBudgetActionHistoriesCommand } from "@aws-sdk/client-budgets"; // ES Modules import
37
37
  * // const { BudgetsClient, DescribeBudgetActionHistoriesCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
38
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
39
+ * const config = {}; // type is BudgetsClientConfig
38
40
  * const client = new BudgetsClient(config);
39
41
  * const input = { // DescribeBudgetActionHistoriesRequest
40
42
  * AccountId: "STRING_VALUE", // required
@@ -35,6 +35,8 @@ declare const DescribeBudgetActionsForAccountCommand_base: {
35
35
  * ```javascript
36
36
  * import { BudgetsClient, DescribeBudgetActionsForAccountCommand } from "@aws-sdk/client-budgets"; // ES Modules import
37
37
  * // const { BudgetsClient, DescribeBudgetActionsForAccountCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
38
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
39
+ * const config = {}; // type is BudgetsClientConfig
38
40
  * const client = new BudgetsClient(config);
39
41
  * const input = { // DescribeBudgetActionsForAccountRequest
40
42
  * AccountId: "STRING_VALUE", // required
@@ -35,6 +35,8 @@ declare const DescribeBudgetActionsForBudgetCommand_base: {
35
35
  * ```javascript
36
36
  * import { BudgetsClient, DescribeBudgetActionsForBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
37
37
  * // const { BudgetsClient, DescribeBudgetActionsForBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
38
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
39
+ * const config = {}; // type is BudgetsClientConfig
38
40
  * const client = new BudgetsClient(config);
39
41
  * const input = { // DescribeBudgetActionsForBudgetRequest
40
42
  * AccountId: "STRING_VALUE", // required
@@ -37,6 +37,8 @@ declare const DescribeBudgetCommand_base: {
37
37
  * ```javascript
38
38
  * import { BudgetsClient, DescribeBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
39
39
  * // const { BudgetsClient, DescribeBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
40
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
41
+ * const config = {}; // type is BudgetsClientConfig
40
42
  * const client = new BudgetsClient(config);
41
43
  * const input = { // DescribeBudgetRequest
42
44
  * AccountId: "STRING_VALUE", // required
@@ -76,7 +78,7 @@ declare const DescribeBudgetCommand_base: {
76
78
  * // IncludeDiscount: true || false,
77
79
  * // UseAmortized: true || false,
78
80
  * // },
79
- * // TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY", // required
81
+ * // TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY" || "CUSTOM", // required
80
82
  * // TimePeriod: { // TimePeriod
81
83
  * // Start: new Date("TIMESTAMP"),
82
84
  * // End: new Date("TIMESTAMP"),
@@ -174,7 +176,7 @@ declare const DescribeBudgetCommand_base: {
174
176
  * // BillingViewArn: "STRING_VALUE",
175
177
  * // HealthStatus: { // HealthStatus
176
178
  * // Status: "HEALTHY" || "UNHEALTHY",
177
- * // StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
179
+ * // StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID" || "MULTI_YEAR_HISTORICAL_DATA_DISABLED",
178
180
  * // LastUpdatedTime: new Date("TIMESTAMP"),
179
181
  * // },
180
182
  * // },
@@ -33,6 +33,8 @@ declare const DescribeBudgetNotificationsForAccountCommand_base: {
33
33
  * ```javascript
34
34
  * import { BudgetsClient, DescribeBudgetNotificationsForAccountCommand } from "@aws-sdk/client-budgets"; // ES Modules import
35
35
  * // const { BudgetsClient, DescribeBudgetNotificationsForAccountCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
36
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
37
+ * const config = {}; // type is BudgetsClientConfig
36
38
  * const client = new BudgetsClient(config);
37
39
  * const input = { // DescribeBudgetNotificationsForAccountRequest
38
40
  * AccountId: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const DescribeBudgetPerformanceHistoryCommand_base: {
33
33
  * ```javascript
34
34
  * import { BudgetsClient, DescribeBudgetPerformanceHistoryCommand } from "@aws-sdk/client-budgets"; // ES Modules import
35
35
  * // const { BudgetsClient, DescribeBudgetPerformanceHistoryCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
36
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
37
+ * const config = {}; // type is BudgetsClientConfig
36
38
  * const client = new BudgetsClient(config);
37
39
  * const input = { // DescribeBudgetPerformanceHistoryRequest
38
40
  * AccountId: "STRING_VALUE", // required
@@ -68,7 +70,7 @@ declare const DescribeBudgetPerformanceHistoryCommand_base: {
68
70
  * // IncludeDiscount: true || false,
69
71
  * // UseAmortized: true || false,
70
72
  * // },
71
- * // TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY",
73
+ * // TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY" || "CUSTOM",
72
74
  * // BillingViewArn: "STRING_VALUE",
73
75
  * // BudgetedAndActualAmountsList: [ // BudgetedAndActualAmountsList
74
76
  * // { // BudgetedAndActualAmounts
@@ -37,6 +37,8 @@ declare const DescribeBudgetsCommand_base: {
37
37
  * ```javascript
38
38
  * import { BudgetsClient, DescribeBudgetsCommand } from "@aws-sdk/client-budgets"; // ES Modules import
39
39
  * // const { BudgetsClient, DescribeBudgetsCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
40
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
41
+ * const config = {}; // type is BudgetsClientConfig
40
42
  * const client = new BudgetsClient(config);
41
43
  * const input = { // DescribeBudgetsRequest
42
44
  * AccountId: "STRING_VALUE", // required
@@ -78,7 +80,7 @@ declare const DescribeBudgetsCommand_base: {
78
80
  * // IncludeDiscount: true || false,
79
81
  * // UseAmortized: true || false,
80
82
  * // },
81
- * // TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY", // required
83
+ * // TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY" || "CUSTOM", // required
82
84
  * // TimePeriod: { // TimePeriod
83
85
  * // Start: new Date("TIMESTAMP"),
84
86
  * // End: new Date("TIMESTAMP"),
@@ -176,7 +178,7 @@ declare const DescribeBudgetsCommand_base: {
176
178
  * // BillingViewArn: "STRING_VALUE",
177
179
  * // HealthStatus: { // HealthStatus
178
180
  * // Status: "HEALTHY" || "UNHEALTHY",
179
- * // StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
181
+ * // StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID" || "MULTI_YEAR_HISTORICAL_DATA_DISABLED",
180
182
  * // LastUpdatedTime: new Date("TIMESTAMP"),
181
183
  * // },
182
184
  * // },
@@ -33,6 +33,8 @@ declare const DescribeNotificationsForBudgetCommand_base: {
33
33
  * ```javascript
34
34
  * import { BudgetsClient, DescribeNotificationsForBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
35
35
  * // const { BudgetsClient, DescribeNotificationsForBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
36
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
37
+ * const config = {}; // type is BudgetsClientConfig
36
38
  * const client = new BudgetsClient(config);
37
39
  * const input = { // DescribeNotificationsForBudgetRequest
38
40
  * AccountId: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const DescribeSubscribersForNotificationCommand_base: {
33
33
  * ```javascript
34
34
  * import { BudgetsClient, DescribeSubscribersForNotificationCommand } from "@aws-sdk/client-budgets"; // ES Modules import
35
35
  * // const { BudgetsClient, DescribeSubscribersForNotificationCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
36
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
37
+ * const config = {}; // type is BudgetsClientConfig
36
38
  * const client = new BudgetsClient(config);
37
39
  * const input = { // DescribeSubscribersForNotificationRequest
38
40
  * AccountId: "STRING_VALUE", // required
@@ -35,6 +35,8 @@ declare const ExecuteBudgetActionCommand_base: {
35
35
  * ```javascript
36
36
  * import { BudgetsClient, ExecuteBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import
37
37
  * // const { BudgetsClient, ExecuteBudgetActionCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
38
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
39
+ * const config = {}; // type is BudgetsClientConfig
38
40
  * const client = new BudgetsClient(config);
39
41
  * const input = { // ExecuteBudgetActionRequest
40
42
  * AccountId: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const ListTagsForResourceCommand_base: {
33
33
  * ```javascript
34
34
  * import { BudgetsClient, ListTagsForResourceCommand } from "@aws-sdk/client-budgets"; // ES Modules import
35
35
  * // const { BudgetsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
36
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
37
+ * const config = {}; // type is BudgetsClientConfig
36
38
  * const client = new BudgetsClient(config);
37
39
  * const input = { // ListTagsForResourceRequest
38
40
  * ResourceARN: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const TagResourceCommand_base: {
33
33
  * ```javascript
34
34
  * import { BudgetsClient, TagResourceCommand } from "@aws-sdk/client-budgets"; // ES Modules import
35
35
  * // const { BudgetsClient, TagResourceCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
36
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
37
+ * const config = {}; // type is BudgetsClientConfig
36
38
  * const client = new BudgetsClient(config);
37
39
  * const input = { // TagResourceRequest
38
40
  * ResourceARN: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const UntagResourceCommand_base: {
33
33
  * ```javascript
34
34
  * import { BudgetsClient, UntagResourceCommand } from "@aws-sdk/client-budgets"; // ES Modules import
35
35
  * // const { BudgetsClient, UntagResourceCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
36
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
37
+ * const config = {}; // type is BudgetsClientConfig
36
38
  * const client = new BudgetsClient(config);
37
39
  * const input = { // UntagResourceRequest
38
40
  * ResourceARN: "STRING_VALUE", // required
@@ -35,6 +35,8 @@ declare const UpdateBudgetActionCommand_base: {
35
35
  * ```javascript
36
36
  * import { BudgetsClient, UpdateBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import
37
37
  * // const { BudgetsClient, UpdateBudgetActionCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
38
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
39
+ * const config = {}; // type is BudgetsClientConfig
38
40
  * const client = new BudgetsClient(config);
39
41
  * const input = { // UpdateBudgetActionRequest
40
42
  * AccountId: "STRING_VALUE", // required
@@ -45,6 +45,8 @@ declare const UpdateBudgetCommand_base: {
45
45
  * ```javascript
46
46
  * import { BudgetsClient, UpdateBudgetCommand } from "@aws-sdk/client-budgets"; // ES Modules import
47
47
  * // const { BudgetsClient, UpdateBudgetCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
48
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
49
+ * const config = {}; // type is BudgetsClientConfig
48
50
  * const client = new BudgetsClient(config);
49
51
  * const input = { // UpdateBudgetRequest
50
52
  * AccountId: "STRING_VALUE", // required
@@ -78,7 +80,7 @@ declare const UpdateBudgetCommand_base: {
78
80
  * IncludeDiscount: true || false,
79
81
  * UseAmortized: true || false,
80
82
  * },
81
- * TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY", // required
83
+ * TimeUnit: "DAILY" || "MONTHLY" || "QUARTERLY" || "ANNUALLY" || "CUSTOM", // required
82
84
  * TimePeriod: { // TimePeriod
83
85
  * Start: new Date("TIMESTAMP"),
84
86
  * End: new Date("TIMESTAMP"),
@@ -176,7 +178,7 @@ declare const UpdateBudgetCommand_base: {
176
178
  * BillingViewArn: "STRING_VALUE",
177
179
  * HealthStatus: { // HealthStatus
178
180
  * Status: "HEALTHY" || "UNHEALTHY",
179
- * StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID",
181
+ * StatusReason: "BILLING_VIEW_NO_ACCESS" || "BILLING_VIEW_UNHEALTHY" || "FILTER_INVALID" || "MULTI_YEAR_HISTORICAL_DATA_DISABLED",
180
182
  * LastUpdatedTime: new Date("TIMESTAMP"),
181
183
  * },
182
184
  * },
@@ -33,6 +33,8 @@ declare const UpdateNotificationCommand_base: {
33
33
  * ```javascript
34
34
  * import { BudgetsClient, UpdateNotificationCommand } from "@aws-sdk/client-budgets"; // ES Modules import
35
35
  * // const { BudgetsClient, UpdateNotificationCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
36
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
37
+ * const config = {}; // type is BudgetsClientConfig
36
38
  * const client = new BudgetsClient(config);
37
39
  * const input = { // UpdateNotificationRequest
38
40
  * AccountId: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const UpdateSubscriberCommand_base: {
33
33
  * ```javascript
34
34
  * import { BudgetsClient, UpdateSubscriberCommand } from "@aws-sdk/client-budgets"; // ES Modules import
35
35
  * // const { BudgetsClient, UpdateSubscriberCommand } = require("@aws-sdk/client-budgets"); // CommonJS import
36
+ * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets";
37
+ * const config = {}; // type is BudgetsClientConfig
36
38
  * const client = new BudgetsClient(config);
37
39
  * const input = { // UpdateSubscriberRequest
38
40
  * AccountId: "STRING_VALUE", // required
@@ -747,6 +747,7 @@ export declare const HealthStatusReason: {
747
747
  readonly BILLING_VIEW_NO_ACCESS: "BILLING_VIEW_NO_ACCESS";
748
748
  readonly BILLING_VIEW_UNHEALTHY: "BILLING_VIEW_UNHEALTHY";
749
749
  readonly FILTER_INVALID: "FILTER_INVALID";
750
+ readonly MULTI_YEAR_HISTORICAL_DATA_DISABLED: "MULTI_YEAR_HISTORICAL_DATA_DISABLED";
750
751
  };
751
752
  /**
752
753
  * @public
@@ -781,6 +782,10 @@ export interface HealthStatus {
781
782
  * <code>FILTER_INVALID</code>: The filter contains reference to an account you
782
783
  * do not have access to.</p>
783
784
  * </li>
785
+ * <li>
786
+ * <p>
787
+ * <code>MULTI_YEAR_HISTORICAL_DATA_DISABLED</code>: The budget is not being updated. Enable multi-year historical data in your Cost Management preferences.</p>
788
+ * </li>
784
789
  * </ul>
785
790
  * @public
786
791
  */
@@ -819,7 +824,7 @@ export interface TimePeriod {
819
824
  /**
820
825
  * <p>The start date for a budget. If you created your budget and didn't specify a start
821
826
  * date, Amazon Web Services defaults to the start of your chosen time period (DAILY,
822
- * MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24,
827
+ * MONTHLY, QUARTERLY, ANNUALLY, or CUSTOM). For example, if you created your budget on January 24,
823
828
  * 2018, chose <code>DAILY</code>, and didn't set a start date, Amazon Web Services set your
824
829
  * start date to <code>01/24/18 00:00 UTC</code>. If you chose <code>MONTHLY</code>,
825
830
  * Amazon Web Services set your start date to <code>01/01/18 00:00 UTC</code>. The
@@ -845,6 +850,7 @@ export interface TimePeriod {
845
850
  */
846
851
  export declare const TimeUnit: {
847
852
  readonly ANNUALLY: "ANNUALLY";
853
+ readonly CUSTOM: "CUSTOM";
848
854
  readonly DAILY: "DAILY";
849
855
  readonly MONTHLY: "MONTHLY";
850
856
  readonly QUARTERLY: "QUARTERLY";
@@ -2379,7 +2385,7 @@ export interface Budget {
2379
2385
  * start date must come before the end date. The end date must come before <code>06/15/87
2380
2386
  * 00:00 UTC</code>. </p>
2381
2387
  * <p>If you create your budget and don't specify a start date, Amazon Web Services defaults
2382
- * to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For
2388
+ * to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, ANNUALLY, or CUSTOM). For
2383
2389
  * example, if you created your budget on January 24, 2018, chose <code>DAILY</code>, and
2384
2390
  * didn't set a start date, Amazon Web Services set your start date to <code>01/24/18 00:00
2385
2391
  * UTC</code>. If you chose <code>MONTHLY</code>, Amazon Web Services set your start
@@ -229,6 +229,7 @@ export declare const HealthStatusReason: {
229
229
  readonly BILLING_VIEW_NO_ACCESS: "BILLING_VIEW_NO_ACCESS";
230
230
  readonly BILLING_VIEW_UNHEALTHY: "BILLING_VIEW_UNHEALTHY";
231
231
  readonly FILTER_INVALID: "FILTER_INVALID";
232
+ readonly MULTI_YEAR_HISTORICAL_DATA_DISABLED: "MULTI_YEAR_HISTORICAL_DATA_DISABLED";
232
233
  };
233
234
  export type HealthStatusReason =
234
235
  (typeof HealthStatusReason)[keyof typeof HealthStatusReason];
@@ -254,6 +255,7 @@ export interface TimePeriod {
254
255
  }
255
256
  export declare const TimeUnit: {
256
257
  readonly ANNUALLY: "ANNUALLY";
258
+ readonly CUSTOM: "CUSTOM";
257
259
  readonly DAILY: "DAILY";
258
260
  readonly MONTHLY: "MONTHLY";
259
261
  readonly QUARTERLY: "QUARTERLY";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-budgets",
3
3
  "description": "AWS SDK for JavaScript Budgets Client for Node.js, Browser and React Native",
4
- "version": "3.888.0",
4
+ "version": "3.891.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-budgets",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.888.0",
24
- "@aws-sdk/credential-provider-node": "3.888.0",
25
- "@aws-sdk/middleware-host-header": "3.887.0",
26
- "@aws-sdk/middleware-logger": "3.887.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.887.0",
28
- "@aws-sdk/middleware-user-agent": "3.888.0",
29
- "@aws-sdk/region-config-resolver": "3.887.0",
23
+ "@aws-sdk/core": "3.890.0",
24
+ "@aws-sdk/credential-provider-node": "3.891.0",
25
+ "@aws-sdk/middleware-host-header": "3.891.0",
26
+ "@aws-sdk/middleware-logger": "3.891.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.891.0",
28
+ "@aws-sdk/middleware-user-agent": "3.891.0",
29
+ "@aws-sdk/region-config-resolver": "3.890.0",
30
30
  "@aws-sdk/types": "3.887.0",
31
- "@aws-sdk/util-endpoints": "3.887.0",
31
+ "@aws-sdk/util-endpoints": "3.891.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.887.0",
33
- "@aws-sdk/util-user-agent-node": "3.888.0",
34
- "@smithy/config-resolver": "^4.2.1",
33
+ "@aws-sdk/util-user-agent-node": "3.891.0",
34
+ "@smithy/config-resolver": "^4.2.2",
35
35
  "@smithy/core": "^3.11.0",
36
36
  "@smithy/fetch-http-handler": "^5.2.1",
37
37
  "@smithy/hash-node": "^4.1.1",
38
38
  "@smithy/invalid-dependency": "^4.1.1",
39
39
  "@smithy/middleware-content-length": "^4.1.1",
40
- "@smithy/middleware-endpoint": "^4.2.1",
41
- "@smithy/middleware-retry": "^4.2.1",
40
+ "@smithy/middleware-endpoint": "^4.2.2",
41
+ "@smithy/middleware-retry": "^4.2.3",
42
42
  "@smithy/middleware-serde": "^4.1.1",
43
43
  "@smithy/middleware-stack": "^4.1.1",
44
- "@smithy/node-config-provider": "^4.2.1",
44
+ "@smithy/node-config-provider": "^4.2.2",
45
45
  "@smithy/node-http-handler": "^4.2.1",
46
46
  "@smithy/protocol-http": "^5.2.1",
47
- "@smithy/smithy-client": "^4.6.1",
47
+ "@smithy/smithy-client": "^4.6.2",
48
48
  "@smithy/types": "^4.5.0",
49
49
  "@smithy/url-parser": "^4.1.1",
50
50
  "@smithy/util-base64": "^4.1.0",
51
51
  "@smithy/util-body-length-browser": "^4.1.0",
52
52
  "@smithy/util-body-length-node": "^4.1.0",
53
- "@smithy/util-defaults-mode-browser": "^4.1.1",
54
- "@smithy/util-defaults-mode-node": "^4.1.1",
55
- "@smithy/util-endpoints": "^3.1.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.1.2",
54
+ "@smithy/util-defaults-mode-node": "^4.1.2",
55
+ "@smithy/util-endpoints": "^3.1.2",
56
56
  "@smithy/util-middleware": "^4.1.1",
57
- "@smithy/util-retry": "^4.1.1",
57
+ "@smithy/util-retry": "^4.1.2",
58
58
  "@smithy/util-utf8": "^4.1.0",
59
59
  "tslib": "^2.6.2"
60
60
  },