@aws-sdk/client-budgets 3.169.0 → 3.170.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 (48) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/Budgets.d.ts +430 -120
  3. package/dist-types/ts3.4/BudgetsClient.d.ts +267 -96
  4. package/dist-types/ts3.4/commands/CreateBudgetActionCommand.d.ts +38 -17
  5. package/dist-types/ts3.4/commands/CreateBudgetCommand.d.ts +34 -17
  6. package/dist-types/ts3.4/commands/CreateNotificationCommand.d.ts +38 -17
  7. package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +37 -17
  8. package/dist-types/ts3.4/commands/DeleteBudgetActionCommand.d.ts +38 -17
  9. package/dist-types/ts3.4/commands/DeleteBudgetCommand.d.ts +34 -17
  10. package/dist-types/ts3.4/commands/DeleteNotificationCommand.d.ts +38 -17
  11. package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +37 -17
  12. package/dist-types/ts3.4/commands/DescribeBudgetActionCommand.d.ts +41 -17
  13. package/dist-types/ts3.4/commands/DescribeBudgetActionHistoriesCommand.d.ts +41 -17
  14. package/dist-types/ts3.4/commands/DescribeBudgetActionsForAccountCommand.d.ts +41 -17
  15. package/dist-types/ts3.4/commands/DescribeBudgetActionsForBudgetCommand.d.ts +41 -17
  16. package/dist-types/ts3.4/commands/DescribeBudgetCommand.d.ts +37 -17
  17. package/dist-types/ts3.4/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +41 -17
  18. package/dist-types/ts3.4/commands/DescribeBudgetPerformanceHistoryCommand.d.ts +41 -17
  19. package/dist-types/ts3.4/commands/DescribeBudgetsCommand.d.ts +37 -17
  20. package/dist-types/ts3.4/commands/DescribeNotificationsForBudgetCommand.d.ts +41 -17
  21. package/dist-types/ts3.4/commands/DescribeSubscribersForNotificationCommand.d.ts +41 -17
  22. package/dist-types/ts3.4/commands/ExecuteBudgetActionCommand.d.ts +38 -17
  23. package/dist-types/ts3.4/commands/UpdateBudgetActionCommand.d.ts +38 -17
  24. package/dist-types/ts3.4/commands/UpdateBudgetCommand.d.ts +34 -17
  25. package/dist-types/ts3.4/commands/UpdateNotificationCommand.d.ts +38 -17
  26. package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +37 -17
  27. package/dist-types/ts3.4/commands/index.d.ts +23 -23
  28. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  29. package/dist-types/ts3.4/index.d.ts +6 -6
  30. package/dist-types/ts3.4/models/BudgetsServiceException.d.ts +8 -6
  31. package/dist-types/ts3.4/models/index.d.ts +1 -1
  32. package/dist-types/ts3.4/models/models_0.d.ts +975 -906
  33. package/dist-types/ts3.4/pagination/DescribeBudgetActionHistoriesPaginator.d.ts +11 -4
  34. package/dist-types/ts3.4/pagination/DescribeBudgetActionsForAccountPaginator.d.ts +11 -4
  35. package/dist-types/ts3.4/pagination/DescribeBudgetActionsForBudgetPaginator.d.ts +11 -4
  36. package/dist-types/ts3.4/pagination/DescribeBudgetNotificationsForAccountPaginator.d.ts +11 -4
  37. package/dist-types/ts3.4/pagination/DescribeBudgetPerformanceHistoryPaginator.d.ts +11 -4
  38. package/dist-types/ts3.4/pagination/DescribeBudgetsPaginator.d.ts +11 -4
  39. package/dist-types/ts3.4/pagination/DescribeNotificationsForBudgetPaginator.d.ts +11 -4
  40. package/dist-types/ts3.4/pagination/DescribeSubscribersForNotificationPaginator.d.ts +11 -4
  41. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  42. package/dist-types/ts3.4/pagination/index.d.ts +9 -9
  43. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +281 -71
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  48. package/package.json +34 -34
@@ -1,906 +1,975 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { BudgetsServiceException as __BaseException } from "./BudgetsServiceException";
3
-
4
- export declare class AccessDeniedException extends __BaseException {
5
- readonly name: "AccessDeniedException";
6
- readonly $fault: "client";
7
-
8
- Message?: string;
9
-
10
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
11
- }
12
- export declare enum ThresholdType {
13
- ABSOLUTE_VALUE = "ABSOLUTE_VALUE",
14
- PERCENTAGE = "PERCENTAGE"
15
- }
16
-
17
- export interface ActionThreshold {
18
-
19
- ActionThresholdValue: number | undefined;
20
-
21
- ActionThresholdType: ThresholdType | string | undefined;
22
- }
23
- export declare enum ActionType {
24
- IAM = "APPLY_IAM_POLICY",
25
- SCP = "APPLY_SCP_POLICY",
26
- SSM = "RUN_SSM_DOCUMENTS"
27
- }
28
- export declare enum ApprovalModel {
29
- AUTO = "AUTOMATIC",
30
- MANUAL = "MANUAL"
31
- }
32
-
33
- export interface IamActionDefinition {
34
-
35
- PolicyArn: string | undefined;
36
-
37
- Roles?: string[];
38
-
39
- Groups?: string[];
40
-
41
- Users?: string[];
42
- }
43
-
44
- export interface ScpActionDefinition {
45
-
46
- PolicyId: string | undefined;
47
-
48
- TargetIds: string[] | undefined;
49
- }
50
- export declare enum ActionSubType {
51
- STOP_EC2 = "STOP_EC2_INSTANCES",
52
- STOP_RDS = "STOP_RDS_INSTANCES"
53
- }
54
-
55
- export interface SsmActionDefinition {
56
-
57
- ActionSubType: ActionSubType | string | undefined;
58
-
59
- Region: string | undefined;
60
-
61
- InstanceIds: string[] | undefined;
62
- }
63
-
64
- export interface Definition {
65
-
66
- IamActionDefinition?: IamActionDefinition;
67
-
68
- ScpActionDefinition?: ScpActionDefinition;
69
-
70
- SsmActionDefinition?: SsmActionDefinition;
71
- }
72
- export declare enum NotificationType {
73
- ACTUAL = "ACTUAL",
74
- FORECASTED = "FORECASTED"
75
- }
76
- export declare enum ActionStatus {
77
- Execution_Failure = "EXECUTION_FAILURE",
78
- Execution_In_Progress = "EXECUTION_IN_PROGRESS",
79
- Execution_Success = "EXECUTION_SUCCESS",
80
- Pending = "PENDING",
81
- Reset_Failure = "RESET_FAILURE",
82
- Reset_In_Progress = "RESET_IN_PROGRESS",
83
- Reverse_Failure = "REVERSE_FAILURE",
84
- Reverse_In_Progress = "REVERSE_IN_PROGRESS",
85
- Reverse_Success = "REVERSE_SUCCESS",
86
- Standby = "STANDBY"
87
- }
88
- export declare enum SubscriptionType {
89
- EMAIL = "EMAIL",
90
- SNS = "SNS"
91
- }
92
-
93
- export interface Subscriber {
94
-
95
- SubscriptionType: SubscriptionType | string | undefined;
96
-
97
- Address: string | undefined;
98
- }
99
-
100
- export interface Action {
101
-
102
- ActionId: string | undefined;
103
-
104
- BudgetName: string | undefined;
105
-
106
- NotificationType: NotificationType | string | undefined;
107
-
108
- ActionType: ActionType | string | undefined;
109
-
110
- ActionThreshold: ActionThreshold | undefined;
111
-
112
- Definition: Definition | undefined;
113
-
114
- ExecutionRoleArn: string | undefined;
115
-
116
- ApprovalModel: ApprovalModel | string | undefined;
117
-
118
- Status: ActionStatus | string | undefined;
119
-
120
- Subscribers: Subscriber[] | undefined;
121
- }
122
-
123
- export interface ActionHistoryDetails {
124
-
125
- Message: string | undefined;
126
-
127
- Action: Action | undefined;
128
- }
129
- export declare enum EventType {
130
- CreateAction = "CREATE_ACTION",
131
- DeleteAction = "DELETE_ACTION",
132
- ExecuteAction = "EXECUTE_ACTION",
133
- System = "SYSTEM",
134
- UpdateAction = "UPDATE_ACTION"
135
- }
136
-
137
- export interface ActionHistory {
138
-
139
- Timestamp: Date | undefined;
140
-
141
- Status: ActionStatus | string | undefined;
142
-
143
- EventType: EventType | string | undefined;
144
-
145
- ActionHistoryDetails: ActionHistoryDetails | undefined;
146
- }
147
- export declare enum AutoAdjustType {
148
- FORECAST = "FORECAST",
149
- HISTORICAL = "HISTORICAL"
150
- }
151
-
152
- export interface HistoricalOptions {
153
-
154
- BudgetAdjustmentPeriod: number | undefined;
155
-
156
- LookBackAvailablePeriods?: number;
157
- }
158
-
159
- export interface AutoAdjustData {
160
-
161
- AutoAdjustType: AutoAdjustType | string | undefined;
162
-
163
- HistoricalOptions?: HistoricalOptions;
164
-
165
- LastAutoAdjustTime?: Date;
166
- }
167
-
168
- export interface Spend {
169
-
170
- Amount: string | undefined;
171
-
172
- Unit: string | undefined;
173
- }
174
- export declare enum BudgetType {
175
- Cost = "COST",
176
- RICoverage = "RI_COVERAGE",
177
- RIUtilization = "RI_UTILIZATION",
178
- SPCoverage = "SAVINGS_PLANS_COVERAGE",
179
- SPUtilization = "SAVINGS_PLANS_UTILIZATION",
180
- Usage = "USAGE"
181
- }
182
-
183
- export interface CalculatedSpend {
184
-
185
- ActualSpend: Spend | undefined;
186
-
187
- ForecastedSpend?: Spend;
188
- }
189
-
190
- export interface CostTypes {
191
-
192
- IncludeTax?: boolean;
193
-
194
- IncludeSubscription?: boolean;
195
-
196
- UseBlended?: boolean;
197
-
198
- IncludeRefund?: boolean;
199
-
200
- IncludeCredit?: boolean;
201
-
202
- IncludeUpfront?: boolean;
203
-
204
- IncludeRecurring?: boolean;
205
-
206
- IncludeOtherSubscription?: boolean;
207
-
208
- IncludeSupport?: boolean;
209
-
210
- IncludeDiscount?: boolean;
211
-
212
- UseAmortized?: boolean;
213
- }
214
-
215
- export interface TimePeriod {
216
-
217
- Start?: Date;
218
-
219
- End?: Date;
220
- }
221
- export declare enum TimeUnit {
222
- ANNUALLY = "ANNUALLY",
223
- DAILY = "DAILY",
224
- MONTHLY = "MONTHLY",
225
- QUARTERLY = "QUARTERLY"
226
- }
227
-
228
- export interface Budget {
229
-
230
- BudgetName: string | undefined;
231
-
232
- BudgetLimit?: Spend;
233
-
234
- PlannedBudgetLimits?: Record<string, Spend>;
235
-
236
- CostFilters?: Record<string, string[]>;
237
-
238
- CostTypes?: CostTypes;
239
-
240
- TimeUnit: TimeUnit | string | undefined;
241
-
242
- TimePeriod?: TimePeriod;
243
-
244
- CalculatedSpend?: CalculatedSpend;
245
-
246
- BudgetType: BudgetType | string | undefined;
247
-
248
- LastUpdatedTime?: Date;
249
-
250
- AutoAdjustData?: AutoAdjustData;
251
- }
252
- export declare enum ComparisonOperator {
253
- EQUAL_TO = "EQUAL_TO",
254
- GREATER_THAN = "GREATER_THAN",
255
- LESS_THAN = "LESS_THAN"
256
- }
257
- export declare enum NotificationState {
258
- ALARM = "ALARM",
259
- OK = "OK"
260
- }
261
-
262
- export interface Notification {
263
-
264
- NotificationType: NotificationType | string | undefined;
265
-
266
- ComparisonOperator: ComparisonOperator | string | undefined;
267
-
268
- Threshold: number | undefined;
269
-
270
- ThresholdType?: ThresholdType | string;
271
-
272
- NotificationState?: NotificationState | string;
273
- }
274
-
275
- export interface NotificationWithSubscribers {
276
-
277
- Notification: Notification | undefined;
278
-
279
- Subscribers: Subscriber[] | undefined;
280
- }
281
-
282
- export interface CreateBudgetRequest {
283
-
284
- AccountId: string | undefined;
285
-
286
- Budget: Budget | undefined;
287
-
288
- NotificationsWithSubscribers?: NotificationWithSubscribers[];
289
- }
290
-
291
- export interface CreateBudgetResponse {
292
- }
293
-
294
- export declare class CreationLimitExceededException extends __BaseException {
295
- readonly name: "CreationLimitExceededException";
296
- readonly $fault: "client";
297
-
298
- Message?: string;
299
-
300
- constructor(opts: __ExceptionOptionType<CreationLimitExceededException, __BaseException>);
301
- }
302
-
303
- export declare class DuplicateRecordException extends __BaseException {
304
- readonly name: "DuplicateRecordException";
305
- readonly $fault: "client";
306
-
307
- Message?: string;
308
-
309
- constructor(opts: __ExceptionOptionType<DuplicateRecordException, __BaseException>);
310
- }
311
-
312
- export declare class InternalErrorException extends __BaseException {
313
- readonly name: "InternalErrorException";
314
- readonly $fault: "server";
315
-
316
- Message?: string;
317
-
318
- constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
319
- }
320
-
321
- export declare class InvalidParameterException extends __BaseException {
322
- readonly name: "InvalidParameterException";
323
- readonly $fault: "client";
324
-
325
- Message?: string;
326
-
327
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
328
- }
329
-
330
- export declare class ThrottlingException extends __BaseException {
331
- readonly name: "ThrottlingException";
332
- readonly $fault: "client";
333
-
334
- Message?: string;
335
-
336
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
337
- }
338
- export interface CreateBudgetActionRequest {
339
-
340
- AccountId: string | undefined;
341
-
342
- BudgetName: string | undefined;
343
-
344
- NotificationType: NotificationType | string | undefined;
345
-
346
- ActionType: ActionType | string | undefined;
347
-
348
- ActionThreshold: ActionThreshold | undefined;
349
-
350
- Definition: Definition | undefined;
351
-
352
- ExecutionRoleArn: string | undefined;
353
-
354
- ApprovalModel: ApprovalModel | string | undefined;
355
-
356
- Subscribers: Subscriber[] | undefined;
357
- }
358
- export interface CreateBudgetActionResponse {
359
-
360
- AccountId: string | undefined;
361
-
362
- BudgetName: string | undefined;
363
-
364
- ActionId: string | undefined;
365
- }
366
-
367
- export declare class NotFoundException extends __BaseException {
368
- readonly name: "NotFoundException";
369
- readonly $fault: "client";
370
-
371
- Message?: string;
372
-
373
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
374
- }
375
-
376
- export interface CreateNotificationRequest {
377
-
378
- AccountId: string | undefined;
379
-
380
- BudgetName: string | undefined;
381
-
382
- Notification: Notification | undefined;
383
-
384
- Subscribers: Subscriber[] | undefined;
385
- }
386
-
387
- export interface CreateNotificationResponse {
388
- }
389
-
390
- export interface CreateSubscriberRequest {
391
-
392
- AccountId: string | undefined;
393
-
394
- BudgetName: string | undefined;
395
-
396
- Notification: Notification | undefined;
397
-
398
- Subscriber: Subscriber | undefined;
399
- }
400
-
401
- export interface CreateSubscriberResponse {
402
- }
403
-
404
- export interface DeleteBudgetRequest {
405
-
406
- AccountId: string | undefined;
407
-
408
- BudgetName: string | undefined;
409
- }
410
-
411
- export interface DeleteBudgetResponse {
412
- }
413
- export interface DeleteBudgetActionRequest {
414
-
415
- AccountId: string | undefined;
416
-
417
- BudgetName: string | undefined;
418
-
419
- ActionId: string | undefined;
420
- }
421
- export interface DeleteBudgetActionResponse {
422
-
423
- AccountId: string | undefined;
424
-
425
- BudgetName: string | undefined;
426
-
427
- Action: Action | undefined;
428
- }
429
-
430
- export declare class ResourceLockedException extends __BaseException {
431
- readonly name: "ResourceLockedException";
432
- readonly $fault: "client";
433
-
434
- Message?: string;
435
-
436
- constructor(opts: __ExceptionOptionType<ResourceLockedException, __BaseException>);
437
- }
438
-
439
- export interface DeleteNotificationRequest {
440
-
441
- AccountId: string | undefined;
442
-
443
- BudgetName: string | undefined;
444
-
445
- Notification: Notification | undefined;
446
- }
447
-
448
- export interface DeleteNotificationResponse {
449
- }
450
-
451
- export interface DeleteSubscriberRequest {
452
-
453
- AccountId: string | undefined;
454
-
455
- BudgetName: string | undefined;
456
-
457
- Notification: Notification | undefined;
458
-
459
- Subscriber: Subscriber | undefined;
460
- }
461
-
462
- export interface DeleteSubscriberResponse {
463
- }
464
-
465
- export interface DescribeBudgetRequest {
466
-
467
- AccountId: string | undefined;
468
-
469
- BudgetName: string | undefined;
470
- }
471
-
472
- export interface DescribeBudgetResponse {
473
-
474
- Budget?: Budget;
475
- }
476
- export interface DescribeBudgetActionRequest {
477
-
478
- AccountId: string | undefined;
479
-
480
- BudgetName: string | undefined;
481
-
482
- ActionId: string | undefined;
483
- }
484
- export interface DescribeBudgetActionResponse {
485
-
486
- AccountId: string | undefined;
487
-
488
- BudgetName: string | undefined;
489
-
490
- Action: Action | undefined;
491
- }
492
- export interface DescribeBudgetActionHistoriesRequest {
493
-
494
- AccountId: string | undefined;
495
-
496
- BudgetName: string | undefined;
497
-
498
- ActionId: string | undefined;
499
-
500
- TimePeriod?: TimePeriod;
501
-
502
- MaxResults?: number;
503
-
504
- NextToken?: string;
505
- }
506
- export interface DescribeBudgetActionHistoriesResponse {
507
-
508
- ActionHistories: ActionHistory[] | undefined;
509
-
510
- NextToken?: string;
511
- }
512
-
513
- export declare class InvalidNextTokenException extends __BaseException {
514
- readonly name: "InvalidNextTokenException";
515
- readonly $fault: "client";
516
-
517
- Message?: string;
518
-
519
- constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
520
- }
521
- export interface DescribeBudgetActionsForAccountRequest {
522
-
523
- AccountId: string | undefined;
524
-
525
- MaxResults?: number;
526
-
527
- NextToken?: string;
528
- }
529
- export interface DescribeBudgetActionsForAccountResponse {
530
-
531
- Actions: Action[] | undefined;
532
-
533
- NextToken?: string;
534
- }
535
- export interface DescribeBudgetActionsForBudgetRequest {
536
-
537
- AccountId: string | undefined;
538
-
539
- BudgetName: string | undefined;
540
-
541
- MaxResults?: number;
542
-
543
- NextToken?: string;
544
- }
545
- export interface DescribeBudgetActionsForBudgetResponse {
546
-
547
- Actions: Action[] | undefined;
548
-
549
- NextToken?: string;
550
- }
551
- export interface DescribeBudgetNotificationsForAccountRequest {
552
-
553
- AccountId: string | undefined;
554
-
555
- MaxResults?: number;
556
-
557
- NextToken?: string;
558
- }
559
-
560
- export interface BudgetNotificationsForAccount {
561
-
562
- Notifications?: Notification[];
563
-
564
- BudgetName?: string;
565
- }
566
- export interface DescribeBudgetNotificationsForAccountResponse {
567
-
568
- BudgetNotificationsForAccount?: BudgetNotificationsForAccount[];
569
-
570
- NextToken?: string;
571
- }
572
-
573
- export declare class ExpiredNextTokenException extends __BaseException {
574
- readonly name: "ExpiredNextTokenException";
575
- readonly $fault: "client";
576
-
577
- Message?: string;
578
-
579
- constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
580
- }
581
- export interface DescribeBudgetPerformanceHistoryRequest {
582
-
583
- AccountId: string | undefined;
584
-
585
- BudgetName: string | undefined;
586
-
587
- TimePeriod?: TimePeriod;
588
-
589
- MaxResults?: number;
590
-
591
- NextToken?: string;
592
- }
593
-
594
- export interface BudgetedAndActualAmounts {
595
-
596
- BudgetedAmount?: Spend;
597
-
598
- ActualAmount?: Spend;
599
-
600
- TimePeriod?: TimePeriod;
601
- }
602
-
603
- export interface BudgetPerformanceHistory {
604
-
605
- BudgetName?: string;
606
-
607
- BudgetType?: BudgetType | string;
608
-
609
- CostFilters?: Record<string, string[]>;
610
-
611
- CostTypes?: CostTypes;
612
-
613
- TimeUnit?: TimeUnit | string;
614
-
615
- BudgetedAndActualAmountsList?: BudgetedAndActualAmounts[];
616
- }
617
- export interface DescribeBudgetPerformanceHistoryResponse {
618
-
619
- BudgetPerformanceHistory?: BudgetPerformanceHistory;
620
-
621
- NextToken?: string;
622
- }
623
-
624
- export interface DescribeBudgetsRequest {
625
-
626
- AccountId: string | undefined;
627
-
628
- MaxResults?: number;
629
-
630
- NextToken?: string;
631
- }
632
-
633
- export interface DescribeBudgetsResponse {
634
-
635
- Budgets?: Budget[];
636
-
637
- NextToken?: string;
638
- }
639
-
640
- export interface DescribeNotificationsForBudgetRequest {
641
-
642
- AccountId: string | undefined;
643
-
644
- BudgetName: string | undefined;
645
-
646
- MaxResults?: number;
647
-
648
- NextToken?: string;
649
- }
650
-
651
- export interface DescribeNotificationsForBudgetResponse {
652
-
653
- Notifications?: Notification[];
654
-
655
- NextToken?: string;
656
- }
657
-
658
- export interface DescribeSubscribersForNotificationRequest {
659
-
660
- AccountId: string | undefined;
661
-
662
- BudgetName: string | undefined;
663
-
664
- Notification: Notification | undefined;
665
-
666
- MaxResults?: number;
667
-
668
- NextToken?: string;
669
- }
670
-
671
- export interface DescribeSubscribersForNotificationResponse {
672
-
673
- Subscribers?: Subscriber[];
674
-
675
- NextToken?: string;
676
- }
677
- export declare enum ExecutionType {
678
- ApproveBudgetAction = "APPROVE_BUDGET_ACTION",
679
- ResetBudgetAction = "RESET_BUDGET_ACTION",
680
- RetryBudgetAction = "RETRY_BUDGET_ACTION",
681
- ReverseBudgetAction = "REVERSE_BUDGET_ACTION"
682
- }
683
- export interface ExecuteBudgetActionRequest {
684
-
685
- AccountId: string | undefined;
686
-
687
- BudgetName: string | undefined;
688
-
689
- ActionId: string | undefined;
690
-
691
- ExecutionType: ExecutionType | string | undefined;
692
- }
693
- export interface ExecuteBudgetActionResponse {
694
-
695
- AccountId: string | undefined;
696
-
697
- BudgetName: string | undefined;
698
-
699
- ActionId: string | undefined;
700
-
701
- ExecutionType: ExecutionType | string | undefined;
702
- }
703
-
704
- export interface UpdateBudgetRequest {
705
-
706
- AccountId: string | undefined;
707
-
708
- NewBudget: Budget | undefined;
709
- }
710
-
711
- export interface UpdateBudgetResponse {
712
- }
713
- export interface UpdateBudgetActionRequest {
714
-
715
- AccountId: string | undefined;
716
-
717
- BudgetName: string | undefined;
718
-
719
- ActionId: string | undefined;
720
-
721
- NotificationType?: NotificationType | string;
722
-
723
- ActionThreshold?: ActionThreshold;
724
-
725
- Definition?: Definition;
726
-
727
- ExecutionRoleArn?: string;
728
-
729
- ApprovalModel?: ApprovalModel | string;
730
-
731
- Subscribers?: Subscriber[];
732
- }
733
- export interface UpdateBudgetActionResponse {
734
-
735
- AccountId: string | undefined;
736
-
737
- BudgetName: string | undefined;
738
-
739
- OldAction: Action | undefined;
740
-
741
- NewAction: Action | undefined;
742
- }
743
-
744
- export interface UpdateNotificationRequest {
745
-
746
- AccountId: string | undefined;
747
-
748
- BudgetName: string | undefined;
749
-
750
- OldNotification: Notification | undefined;
751
-
752
- NewNotification: Notification | undefined;
753
- }
754
-
755
- export interface UpdateNotificationResponse {
756
- }
757
-
758
- export interface UpdateSubscriberRequest {
759
-
760
- AccountId: string | undefined;
761
-
762
- BudgetName: string | undefined;
763
-
764
- Notification: Notification | undefined;
765
-
766
- OldSubscriber: Subscriber | undefined;
767
-
768
- NewSubscriber: Subscriber | undefined;
769
- }
770
-
771
- export interface UpdateSubscriberResponse {
772
- }
773
-
774
- export declare const ActionThresholdFilterSensitiveLog: (obj: ActionThreshold) => any;
775
-
776
- export declare const IamActionDefinitionFilterSensitiveLog: (obj: IamActionDefinition) => any;
777
-
778
- export declare const ScpActionDefinitionFilterSensitiveLog: (obj: ScpActionDefinition) => any;
779
-
780
- export declare const SsmActionDefinitionFilterSensitiveLog: (obj: SsmActionDefinition) => any;
781
-
782
- export declare const DefinitionFilterSensitiveLog: (obj: Definition) => any;
783
-
784
- export declare const SubscriberFilterSensitiveLog: (obj: Subscriber) => any;
785
-
786
- export declare const ActionFilterSensitiveLog: (obj: Action) => any;
787
-
788
- export declare const ActionHistoryDetailsFilterSensitiveLog: (obj: ActionHistoryDetails) => any;
789
-
790
- export declare const ActionHistoryFilterSensitiveLog: (obj: ActionHistory) => any;
791
-
792
- export declare const HistoricalOptionsFilterSensitiveLog: (obj: HistoricalOptions) => any;
793
-
794
- export declare const AutoAdjustDataFilterSensitiveLog: (obj: AutoAdjustData) => any;
795
-
796
- export declare const SpendFilterSensitiveLog: (obj: Spend) => any;
797
-
798
- export declare const CalculatedSpendFilterSensitiveLog: (obj: CalculatedSpend) => any;
799
-
800
- export declare const CostTypesFilterSensitiveLog: (obj: CostTypes) => any;
801
-
802
- export declare const TimePeriodFilterSensitiveLog: (obj: TimePeriod) => any;
803
-
804
- export declare const BudgetFilterSensitiveLog: (obj: Budget) => any;
805
-
806
- export declare const NotificationFilterSensitiveLog: (obj: Notification) => any;
807
-
808
- export declare const NotificationWithSubscribersFilterSensitiveLog: (obj: NotificationWithSubscribers) => any;
809
-
810
- export declare const CreateBudgetRequestFilterSensitiveLog: (obj: CreateBudgetRequest) => any;
811
-
812
- export declare const CreateBudgetResponseFilterSensitiveLog: (obj: CreateBudgetResponse) => any;
813
-
814
- export declare const CreateBudgetActionRequestFilterSensitiveLog: (obj: CreateBudgetActionRequest) => any;
815
-
816
- export declare const CreateBudgetActionResponseFilterSensitiveLog: (obj: CreateBudgetActionResponse) => any;
817
-
818
- export declare const CreateNotificationRequestFilterSensitiveLog: (obj: CreateNotificationRequest) => any;
819
-
820
- export declare const CreateNotificationResponseFilterSensitiveLog: (obj: CreateNotificationResponse) => any;
821
-
822
- export declare const CreateSubscriberRequestFilterSensitiveLog: (obj: CreateSubscriberRequest) => any;
823
-
824
- export declare const CreateSubscriberResponseFilterSensitiveLog: (obj: CreateSubscriberResponse) => any;
825
-
826
- export declare const DeleteBudgetRequestFilterSensitiveLog: (obj: DeleteBudgetRequest) => any;
827
-
828
- export declare const DeleteBudgetResponseFilterSensitiveLog: (obj: DeleteBudgetResponse) => any;
829
-
830
- export declare const DeleteBudgetActionRequestFilterSensitiveLog: (obj: DeleteBudgetActionRequest) => any;
831
-
832
- export declare const DeleteBudgetActionResponseFilterSensitiveLog: (obj: DeleteBudgetActionResponse) => any;
833
-
834
- export declare const DeleteNotificationRequestFilterSensitiveLog: (obj: DeleteNotificationRequest) => any;
835
-
836
- export declare const DeleteNotificationResponseFilterSensitiveLog: (obj: DeleteNotificationResponse) => any;
837
-
838
- export declare const DeleteSubscriberRequestFilterSensitiveLog: (obj: DeleteSubscriberRequest) => any;
839
-
840
- export declare const DeleteSubscriberResponseFilterSensitiveLog: (obj: DeleteSubscriberResponse) => any;
841
-
842
- export declare const DescribeBudgetRequestFilterSensitiveLog: (obj: DescribeBudgetRequest) => any;
843
-
844
- export declare const DescribeBudgetResponseFilterSensitiveLog: (obj: DescribeBudgetResponse) => any;
845
-
846
- export declare const DescribeBudgetActionRequestFilterSensitiveLog: (obj: DescribeBudgetActionRequest) => any;
847
-
848
- export declare const DescribeBudgetActionResponseFilterSensitiveLog: (obj: DescribeBudgetActionResponse) => any;
849
-
850
- export declare const DescribeBudgetActionHistoriesRequestFilterSensitiveLog: (obj: DescribeBudgetActionHistoriesRequest) => any;
851
-
852
- export declare const DescribeBudgetActionHistoriesResponseFilterSensitiveLog: (obj: DescribeBudgetActionHistoriesResponse) => any;
853
-
854
- export declare const DescribeBudgetActionsForAccountRequestFilterSensitiveLog: (obj: DescribeBudgetActionsForAccountRequest) => any;
855
-
856
- export declare const DescribeBudgetActionsForAccountResponseFilterSensitiveLog: (obj: DescribeBudgetActionsForAccountResponse) => any;
857
-
858
- export declare const DescribeBudgetActionsForBudgetRequestFilterSensitiveLog: (obj: DescribeBudgetActionsForBudgetRequest) => any;
859
-
860
- export declare const DescribeBudgetActionsForBudgetResponseFilterSensitiveLog: (obj: DescribeBudgetActionsForBudgetResponse) => any;
861
-
862
- export declare const DescribeBudgetNotificationsForAccountRequestFilterSensitiveLog: (obj: DescribeBudgetNotificationsForAccountRequest) => any;
863
-
864
- export declare const BudgetNotificationsForAccountFilterSensitiveLog: (obj: BudgetNotificationsForAccount) => any;
865
-
866
- export declare const DescribeBudgetNotificationsForAccountResponseFilterSensitiveLog: (obj: DescribeBudgetNotificationsForAccountResponse) => any;
867
-
868
- export declare const DescribeBudgetPerformanceHistoryRequestFilterSensitiveLog: (obj: DescribeBudgetPerformanceHistoryRequest) => any;
869
-
870
- export declare const BudgetedAndActualAmountsFilterSensitiveLog: (obj: BudgetedAndActualAmounts) => any;
871
-
872
- export declare const BudgetPerformanceHistoryFilterSensitiveLog: (obj: BudgetPerformanceHistory) => any;
873
-
874
- export declare const DescribeBudgetPerformanceHistoryResponseFilterSensitiveLog: (obj: DescribeBudgetPerformanceHistoryResponse) => any;
875
-
876
- export declare const DescribeBudgetsRequestFilterSensitiveLog: (obj: DescribeBudgetsRequest) => any;
877
-
878
- export declare const DescribeBudgetsResponseFilterSensitiveLog: (obj: DescribeBudgetsResponse) => any;
879
-
880
- export declare const DescribeNotificationsForBudgetRequestFilterSensitiveLog: (obj: DescribeNotificationsForBudgetRequest) => any;
881
-
882
- export declare const DescribeNotificationsForBudgetResponseFilterSensitiveLog: (obj: DescribeNotificationsForBudgetResponse) => any;
883
-
884
- export declare const DescribeSubscribersForNotificationRequestFilterSensitiveLog: (obj: DescribeSubscribersForNotificationRequest) => any;
885
-
886
- export declare const DescribeSubscribersForNotificationResponseFilterSensitiveLog: (obj: DescribeSubscribersForNotificationResponse) => any;
887
-
888
- export declare const ExecuteBudgetActionRequestFilterSensitiveLog: (obj: ExecuteBudgetActionRequest) => any;
889
-
890
- export declare const ExecuteBudgetActionResponseFilterSensitiveLog: (obj: ExecuteBudgetActionResponse) => any;
891
-
892
- export declare const UpdateBudgetRequestFilterSensitiveLog: (obj: UpdateBudgetRequest) => any;
893
-
894
- export declare const UpdateBudgetResponseFilterSensitiveLog: (obj: UpdateBudgetResponse) => any;
895
-
896
- export declare const UpdateBudgetActionRequestFilterSensitiveLog: (obj: UpdateBudgetActionRequest) => any;
897
-
898
- export declare const UpdateBudgetActionResponseFilterSensitiveLog: (obj: UpdateBudgetActionResponse) => any;
899
-
900
- export declare const UpdateNotificationRequestFilterSensitiveLog: (obj: UpdateNotificationRequest) => any;
901
-
902
- export declare const UpdateNotificationResponseFilterSensitiveLog: (obj: UpdateNotificationResponse) => any;
903
-
904
- export declare const UpdateSubscriberRequestFilterSensitiveLog: (obj: UpdateSubscriberRequest) => any;
905
-
906
- export declare const UpdateSubscriberResponseFilterSensitiveLog: (obj: UpdateSubscriberResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { BudgetsServiceException as __BaseException } from "./BudgetsServiceException";
3
+
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ Message?: string;
9
+
10
+ constructor(
11
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
12
+ );
13
+ }
14
+ export declare enum ThresholdType {
15
+ ABSOLUTE_VALUE = "ABSOLUTE_VALUE",
16
+ PERCENTAGE = "PERCENTAGE",
17
+ }
18
+
19
+ export interface ActionThreshold {
20
+ ActionThresholdValue: number | undefined;
21
+
22
+ ActionThresholdType: ThresholdType | string | undefined;
23
+ }
24
+ export declare enum ActionType {
25
+ IAM = "APPLY_IAM_POLICY",
26
+ SCP = "APPLY_SCP_POLICY",
27
+ SSM = "RUN_SSM_DOCUMENTS",
28
+ }
29
+ export declare enum ApprovalModel {
30
+ AUTO = "AUTOMATIC",
31
+ MANUAL = "MANUAL",
32
+ }
33
+
34
+ export interface IamActionDefinition {
35
+ PolicyArn: string | undefined;
36
+
37
+ Roles?: string[];
38
+
39
+ Groups?: string[];
40
+
41
+ Users?: string[];
42
+ }
43
+
44
+ export interface ScpActionDefinition {
45
+ PolicyId: string | undefined;
46
+
47
+ TargetIds: string[] | undefined;
48
+ }
49
+ export declare enum ActionSubType {
50
+ STOP_EC2 = "STOP_EC2_INSTANCES",
51
+ STOP_RDS = "STOP_RDS_INSTANCES",
52
+ }
53
+
54
+ export interface SsmActionDefinition {
55
+ ActionSubType: ActionSubType | string | undefined;
56
+
57
+ Region: string | undefined;
58
+
59
+ InstanceIds: string[] | undefined;
60
+ }
61
+
62
+ export interface Definition {
63
+ IamActionDefinition?: IamActionDefinition;
64
+
65
+ ScpActionDefinition?: ScpActionDefinition;
66
+
67
+ SsmActionDefinition?: SsmActionDefinition;
68
+ }
69
+ export declare enum NotificationType {
70
+ ACTUAL = "ACTUAL",
71
+ FORECASTED = "FORECASTED",
72
+ }
73
+ export declare enum ActionStatus {
74
+ Execution_Failure = "EXECUTION_FAILURE",
75
+ Execution_In_Progress = "EXECUTION_IN_PROGRESS",
76
+ Execution_Success = "EXECUTION_SUCCESS",
77
+ Pending = "PENDING",
78
+ Reset_Failure = "RESET_FAILURE",
79
+ Reset_In_Progress = "RESET_IN_PROGRESS",
80
+ Reverse_Failure = "REVERSE_FAILURE",
81
+ Reverse_In_Progress = "REVERSE_IN_PROGRESS",
82
+ Reverse_Success = "REVERSE_SUCCESS",
83
+ Standby = "STANDBY",
84
+ }
85
+ export declare enum SubscriptionType {
86
+ EMAIL = "EMAIL",
87
+ SNS = "SNS",
88
+ }
89
+
90
+ export interface Subscriber {
91
+ SubscriptionType: SubscriptionType | string | undefined;
92
+
93
+ Address: string | undefined;
94
+ }
95
+
96
+ export interface Action {
97
+ ActionId: string | undefined;
98
+
99
+ BudgetName: string | undefined;
100
+
101
+ NotificationType: NotificationType | string | undefined;
102
+
103
+ ActionType: ActionType | string | undefined;
104
+
105
+ ActionThreshold: ActionThreshold | undefined;
106
+
107
+ Definition: Definition | undefined;
108
+
109
+ ExecutionRoleArn: string | undefined;
110
+
111
+ ApprovalModel: ApprovalModel | string | undefined;
112
+
113
+ Status: ActionStatus | string | undefined;
114
+
115
+ Subscribers: Subscriber[] | undefined;
116
+ }
117
+
118
+ export interface ActionHistoryDetails {
119
+ Message: string | undefined;
120
+
121
+ Action: Action | undefined;
122
+ }
123
+ export declare enum EventType {
124
+ CreateAction = "CREATE_ACTION",
125
+ DeleteAction = "DELETE_ACTION",
126
+ ExecuteAction = "EXECUTE_ACTION",
127
+ System = "SYSTEM",
128
+ UpdateAction = "UPDATE_ACTION",
129
+ }
130
+
131
+ export interface ActionHistory {
132
+ Timestamp: Date | undefined;
133
+
134
+ Status: ActionStatus | string | undefined;
135
+
136
+ EventType: EventType | string | undefined;
137
+
138
+ ActionHistoryDetails: ActionHistoryDetails | undefined;
139
+ }
140
+ export declare enum AutoAdjustType {
141
+ FORECAST = "FORECAST",
142
+ HISTORICAL = "HISTORICAL",
143
+ }
144
+
145
+ export interface HistoricalOptions {
146
+ BudgetAdjustmentPeriod: number | undefined;
147
+
148
+ LookBackAvailablePeriods?: number;
149
+ }
150
+
151
+ export interface AutoAdjustData {
152
+ AutoAdjustType: AutoAdjustType | string | undefined;
153
+
154
+ HistoricalOptions?: HistoricalOptions;
155
+
156
+ LastAutoAdjustTime?: Date;
157
+ }
158
+
159
+ export interface Spend {
160
+ Amount: string | undefined;
161
+
162
+ Unit: string | undefined;
163
+ }
164
+ export declare enum BudgetType {
165
+ Cost = "COST",
166
+ RICoverage = "RI_COVERAGE",
167
+ RIUtilization = "RI_UTILIZATION",
168
+ SPCoverage = "SAVINGS_PLANS_COVERAGE",
169
+ SPUtilization = "SAVINGS_PLANS_UTILIZATION",
170
+ Usage = "USAGE",
171
+ }
172
+
173
+ export interface CalculatedSpend {
174
+ ActualSpend: Spend | undefined;
175
+
176
+ ForecastedSpend?: Spend;
177
+ }
178
+
179
+ export interface CostTypes {
180
+ IncludeTax?: boolean;
181
+
182
+ IncludeSubscription?: boolean;
183
+
184
+ UseBlended?: boolean;
185
+
186
+ IncludeRefund?: boolean;
187
+
188
+ IncludeCredit?: boolean;
189
+
190
+ IncludeUpfront?: boolean;
191
+
192
+ IncludeRecurring?: boolean;
193
+
194
+ IncludeOtherSubscription?: boolean;
195
+
196
+ IncludeSupport?: boolean;
197
+
198
+ IncludeDiscount?: boolean;
199
+
200
+ UseAmortized?: boolean;
201
+ }
202
+
203
+ export interface TimePeriod {
204
+ Start?: Date;
205
+
206
+ End?: Date;
207
+ }
208
+ export declare enum TimeUnit {
209
+ ANNUALLY = "ANNUALLY",
210
+ DAILY = "DAILY",
211
+ MONTHLY = "MONTHLY",
212
+ QUARTERLY = "QUARTERLY",
213
+ }
214
+
215
+ export interface Budget {
216
+ BudgetName: string | undefined;
217
+
218
+ BudgetLimit?: Spend;
219
+
220
+ PlannedBudgetLimits?: Record<string, Spend>;
221
+
222
+ CostFilters?: Record<string, string[]>;
223
+
224
+ CostTypes?: CostTypes;
225
+
226
+ TimeUnit: TimeUnit | string | undefined;
227
+
228
+ TimePeriod?: TimePeriod;
229
+
230
+ CalculatedSpend?: CalculatedSpend;
231
+
232
+ BudgetType: BudgetType | string | undefined;
233
+
234
+ LastUpdatedTime?: Date;
235
+
236
+ AutoAdjustData?: AutoAdjustData;
237
+ }
238
+ export declare enum ComparisonOperator {
239
+ EQUAL_TO = "EQUAL_TO",
240
+ GREATER_THAN = "GREATER_THAN",
241
+ LESS_THAN = "LESS_THAN",
242
+ }
243
+ export declare enum NotificationState {
244
+ ALARM = "ALARM",
245
+ OK = "OK",
246
+ }
247
+
248
+ export interface Notification {
249
+ NotificationType: NotificationType | string | undefined;
250
+
251
+ ComparisonOperator: ComparisonOperator | string | undefined;
252
+
253
+ Threshold: number | undefined;
254
+
255
+ ThresholdType?: ThresholdType | string;
256
+
257
+ NotificationState?: NotificationState | string;
258
+ }
259
+
260
+ export interface NotificationWithSubscribers {
261
+ Notification: Notification | undefined;
262
+
263
+ Subscribers: Subscriber[] | undefined;
264
+ }
265
+
266
+ export interface CreateBudgetRequest {
267
+ AccountId: string | undefined;
268
+
269
+ Budget: Budget | undefined;
270
+
271
+ NotificationsWithSubscribers?: NotificationWithSubscribers[];
272
+ }
273
+
274
+ export interface CreateBudgetResponse {}
275
+
276
+ export declare class CreationLimitExceededException extends __BaseException {
277
+ readonly name: "CreationLimitExceededException";
278
+ readonly $fault: "client";
279
+
280
+ Message?: string;
281
+
282
+ constructor(
283
+ opts: __ExceptionOptionType<CreationLimitExceededException, __BaseException>
284
+ );
285
+ }
286
+
287
+ export declare class DuplicateRecordException extends __BaseException {
288
+ readonly name: "DuplicateRecordException";
289
+ readonly $fault: "client";
290
+
291
+ Message?: string;
292
+
293
+ constructor(
294
+ opts: __ExceptionOptionType<DuplicateRecordException, __BaseException>
295
+ );
296
+ }
297
+
298
+ export declare class InternalErrorException extends __BaseException {
299
+ readonly name: "InternalErrorException";
300
+ readonly $fault: "server";
301
+
302
+ Message?: string;
303
+
304
+ constructor(
305
+ opts: __ExceptionOptionType<InternalErrorException, __BaseException>
306
+ );
307
+ }
308
+
309
+ export declare class InvalidParameterException extends __BaseException {
310
+ readonly name: "InvalidParameterException";
311
+ readonly $fault: "client";
312
+
313
+ Message?: string;
314
+
315
+ constructor(
316
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
317
+ );
318
+ }
319
+
320
+ export declare class ThrottlingException extends __BaseException {
321
+ readonly name: "ThrottlingException";
322
+ readonly $fault: "client";
323
+
324
+ Message?: string;
325
+
326
+ constructor(
327
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
328
+ );
329
+ }
330
+ export interface CreateBudgetActionRequest {
331
+ AccountId: string | undefined;
332
+
333
+ BudgetName: string | undefined;
334
+
335
+ NotificationType: NotificationType | string | undefined;
336
+
337
+ ActionType: ActionType | string | undefined;
338
+
339
+ ActionThreshold: ActionThreshold | undefined;
340
+
341
+ Definition: Definition | undefined;
342
+
343
+ ExecutionRoleArn: string | undefined;
344
+
345
+ ApprovalModel: ApprovalModel | string | undefined;
346
+
347
+ Subscribers: Subscriber[] | undefined;
348
+ }
349
+ export interface CreateBudgetActionResponse {
350
+ AccountId: string | undefined;
351
+
352
+ BudgetName: string | undefined;
353
+
354
+ ActionId: string | undefined;
355
+ }
356
+
357
+ export declare class NotFoundException extends __BaseException {
358
+ readonly name: "NotFoundException";
359
+ readonly $fault: "client";
360
+
361
+ Message?: string;
362
+
363
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
364
+ }
365
+
366
+ export interface CreateNotificationRequest {
367
+ AccountId: string | undefined;
368
+
369
+ BudgetName: string | undefined;
370
+
371
+ Notification: Notification | undefined;
372
+
373
+ Subscribers: Subscriber[] | undefined;
374
+ }
375
+
376
+ export interface CreateNotificationResponse {}
377
+
378
+ export interface CreateSubscriberRequest {
379
+ AccountId: string | undefined;
380
+
381
+ BudgetName: string | undefined;
382
+
383
+ Notification: Notification | undefined;
384
+
385
+ Subscriber: Subscriber | undefined;
386
+ }
387
+
388
+ export interface CreateSubscriberResponse {}
389
+
390
+ export interface DeleteBudgetRequest {
391
+ AccountId: string | undefined;
392
+
393
+ BudgetName: string | undefined;
394
+ }
395
+
396
+ export interface DeleteBudgetResponse {}
397
+ export interface DeleteBudgetActionRequest {
398
+ AccountId: string | undefined;
399
+
400
+ BudgetName: string | undefined;
401
+
402
+ ActionId: string | undefined;
403
+ }
404
+ export interface DeleteBudgetActionResponse {
405
+ AccountId: string | undefined;
406
+
407
+ BudgetName: string | undefined;
408
+
409
+ Action: Action | undefined;
410
+ }
411
+
412
+ export declare class ResourceLockedException extends __BaseException {
413
+ readonly name: "ResourceLockedException";
414
+ readonly $fault: "client";
415
+
416
+ Message?: string;
417
+
418
+ constructor(
419
+ opts: __ExceptionOptionType<ResourceLockedException, __BaseException>
420
+ );
421
+ }
422
+
423
+ export interface DeleteNotificationRequest {
424
+ AccountId: string | undefined;
425
+
426
+ BudgetName: string | undefined;
427
+
428
+ Notification: Notification | undefined;
429
+ }
430
+
431
+ export interface DeleteNotificationResponse {}
432
+
433
+ export interface DeleteSubscriberRequest {
434
+ AccountId: string | undefined;
435
+
436
+ BudgetName: string | undefined;
437
+
438
+ Notification: Notification | undefined;
439
+
440
+ Subscriber: Subscriber | undefined;
441
+ }
442
+
443
+ export interface DeleteSubscriberResponse {}
444
+
445
+ export interface DescribeBudgetRequest {
446
+ AccountId: string | undefined;
447
+
448
+ BudgetName: string | undefined;
449
+ }
450
+
451
+ export interface DescribeBudgetResponse {
452
+ Budget?: Budget;
453
+ }
454
+ export interface DescribeBudgetActionRequest {
455
+ AccountId: string | undefined;
456
+
457
+ BudgetName: string | undefined;
458
+
459
+ ActionId: string | undefined;
460
+ }
461
+ export interface DescribeBudgetActionResponse {
462
+ AccountId: string | undefined;
463
+
464
+ BudgetName: string | undefined;
465
+
466
+ Action: Action | undefined;
467
+ }
468
+ export interface DescribeBudgetActionHistoriesRequest {
469
+ AccountId: string | undefined;
470
+
471
+ BudgetName: string | undefined;
472
+
473
+ ActionId: string | undefined;
474
+
475
+ TimePeriod?: TimePeriod;
476
+
477
+ MaxResults?: number;
478
+
479
+ NextToken?: string;
480
+ }
481
+ export interface DescribeBudgetActionHistoriesResponse {
482
+ ActionHistories: ActionHistory[] | undefined;
483
+
484
+ NextToken?: string;
485
+ }
486
+
487
+ export declare class InvalidNextTokenException extends __BaseException {
488
+ readonly name: "InvalidNextTokenException";
489
+ readonly $fault: "client";
490
+
491
+ Message?: string;
492
+
493
+ constructor(
494
+ opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
495
+ );
496
+ }
497
+ export interface DescribeBudgetActionsForAccountRequest {
498
+ AccountId: string | undefined;
499
+
500
+ MaxResults?: number;
501
+
502
+ NextToken?: string;
503
+ }
504
+ export interface DescribeBudgetActionsForAccountResponse {
505
+ Actions: Action[] | undefined;
506
+
507
+ NextToken?: string;
508
+ }
509
+ export interface DescribeBudgetActionsForBudgetRequest {
510
+ AccountId: string | undefined;
511
+
512
+ BudgetName: string | undefined;
513
+
514
+ MaxResults?: number;
515
+
516
+ NextToken?: string;
517
+ }
518
+ export interface DescribeBudgetActionsForBudgetResponse {
519
+ Actions: Action[] | undefined;
520
+
521
+ NextToken?: string;
522
+ }
523
+ export interface DescribeBudgetNotificationsForAccountRequest {
524
+ AccountId: string | undefined;
525
+
526
+ MaxResults?: number;
527
+
528
+ NextToken?: string;
529
+ }
530
+
531
+ export interface BudgetNotificationsForAccount {
532
+ Notifications?: Notification[];
533
+
534
+ BudgetName?: string;
535
+ }
536
+ export interface DescribeBudgetNotificationsForAccountResponse {
537
+ BudgetNotificationsForAccount?: BudgetNotificationsForAccount[];
538
+
539
+ NextToken?: string;
540
+ }
541
+
542
+ export declare class ExpiredNextTokenException extends __BaseException {
543
+ readonly name: "ExpiredNextTokenException";
544
+ readonly $fault: "client";
545
+
546
+ Message?: string;
547
+
548
+ constructor(
549
+ opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>
550
+ );
551
+ }
552
+ export interface DescribeBudgetPerformanceHistoryRequest {
553
+ AccountId: string | undefined;
554
+
555
+ BudgetName: string | undefined;
556
+
557
+ TimePeriod?: TimePeriod;
558
+
559
+ MaxResults?: number;
560
+
561
+ NextToken?: string;
562
+ }
563
+
564
+ export interface BudgetedAndActualAmounts {
565
+ BudgetedAmount?: Spend;
566
+
567
+ ActualAmount?: Spend;
568
+
569
+ TimePeriod?: TimePeriod;
570
+ }
571
+
572
+ export interface BudgetPerformanceHistory {
573
+ BudgetName?: string;
574
+
575
+ BudgetType?: BudgetType | string;
576
+
577
+ CostFilters?: Record<string, string[]>;
578
+
579
+ CostTypes?: CostTypes;
580
+
581
+ TimeUnit?: TimeUnit | string;
582
+
583
+ BudgetedAndActualAmountsList?: BudgetedAndActualAmounts[];
584
+ }
585
+ export interface DescribeBudgetPerformanceHistoryResponse {
586
+ BudgetPerformanceHistory?: BudgetPerformanceHistory;
587
+
588
+ NextToken?: string;
589
+ }
590
+
591
+ export interface DescribeBudgetsRequest {
592
+ AccountId: string | undefined;
593
+
594
+ MaxResults?: number;
595
+
596
+ NextToken?: string;
597
+ }
598
+
599
+ export interface DescribeBudgetsResponse {
600
+ Budgets?: Budget[];
601
+
602
+ NextToken?: string;
603
+ }
604
+
605
+ export interface DescribeNotificationsForBudgetRequest {
606
+ AccountId: string | undefined;
607
+
608
+ BudgetName: string | undefined;
609
+
610
+ MaxResults?: number;
611
+
612
+ NextToken?: string;
613
+ }
614
+
615
+ export interface DescribeNotificationsForBudgetResponse {
616
+ Notifications?: Notification[];
617
+
618
+ NextToken?: string;
619
+ }
620
+
621
+ export interface DescribeSubscribersForNotificationRequest {
622
+ AccountId: string | undefined;
623
+
624
+ BudgetName: string | undefined;
625
+
626
+ Notification: Notification | undefined;
627
+
628
+ MaxResults?: number;
629
+
630
+ NextToken?: string;
631
+ }
632
+
633
+ export interface DescribeSubscribersForNotificationResponse {
634
+ Subscribers?: Subscriber[];
635
+
636
+ NextToken?: string;
637
+ }
638
+ export declare enum ExecutionType {
639
+ ApproveBudgetAction = "APPROVE_BUDGET_ACTION",
640
+ ResetBudgetAction = "RESET_BUDGET_ACTION",
641
+ RetryBudgetAction = "RETRY_BUDGET_ACTION",
642
+ ReverseBudgetAction = "REVERSE_BUDGET_ACTION",
643
+ }
644
+ export interface ExecuteBudgetActionRequest {
645
+ AccountId: string | undefined;
646
+
647
+ BudgetName: string | undefined;
648
+
649
+ ActionId: string | undefined;
650
+
651
+ ExecutionType: ExecutionType | string | undefined;
652
+ }
653
+ export interface ExecuteBudgetActionResponse {
654
+ AccountId: string | undefined;
655
+
656
+ BudgetName: string | undefined;
657
+
658
+ ActionId: string | undefined;
659
+
660
+ ExecutionType: ExecutionType | string | undefined;
661
+ }
662
+
663
+ export interface UpdateBudgetRequest {
664
+ AccountId: string | undefined;
665
+
666
+ NewBudget: Budget | undefined;
667
+ }
668
+
669
+ export interface UpdateBudgetResponse {}
670
+ export interface UpdateBudgetActionRequest {
671
+ AccountId: string | undefined;
672
+
673
+ BudgetName: string | undefined;
674
+
675
+ ActionId: string | undefined;
676
+
677
+ NotificationType?: NotificationType | string;
678
+
679
+ ActionThreshold?: ActionThreshold;
680
+
681
+ Definition?: Definition;
682
+
683
+ ExecutionRoleArn?: string;
684
+
685
+ ApprovalModel?: ApprovalModel | string;
686
+
687
+ Subscribers?: Subscriber[];
688
+ }
689
+ export interface UpdateBudgetActionResponse {
690
+ AccountId: string | undefined;
691
+
692
+ BudgetName: string | undefined;
693
+
694
+ OldAction: Action | undefined;
695
+
696
+ NewAction: Action | undefined;
697
+ }
698
+
699
+ export interface UpdateNotificationRequest {
700
+ AccountId: string | undefined;
701
+
702
+ BudgetName: string | undefined;
703
+
704
+ OldNotification: Notification | undefined;
705
+
706
+ NewNotification: Notification | undefined;
707
+ }
708
+
709
+ export interface UpdateNotificationResponse {}
710
+
711
+ export interface UpdateSubscriberRequest {
712
+ AccountId: string | undefined;
713
+
714
+ BudgetName: string | undefined;
715
+
716
+ Notification: Notification | undefined;
717
+
718
+ OldSubscriber: Subscriber | undefined;
719
+
720
+ NewSubscriber: Subscriber | undefined;
721
+ }
722
+
723
+ export interface UpdateSubscriberResponse {}
724
+
725
+ export declare const ActionThresholdFilterSensitiveLog: (
726
+ obj: ActionThreshold
727
+ ) => any;
728
+
729
+ export declare const IamActionDefinitionFilterSensitiveLog: (
730
+ obj: IamActionDefinition
731
+ ) => any;
732
+
733
+ export declare const ScpActionDefinitionFilterSensitiveLog: (
734
+ obj: ScpActionDefinition
735
+ ) => any;
736
+
737
+ export declare const SsmActionDefinitionFilterSensitiveLog: (
738
+ obj: SsmActionDefinition
739
+ ) => any;
740
+
741
+ export declare const DefinitionFilterSensitiveLog: (obj: Definition) => any;
742
+
743
+ export declare const SubscriberFilterSensitiveLog: (obj: Subscriber) => any;
744
+
745
+ export declare const ActionFilterSensitiveLog: (obj: Action) => any;
746
+
747
+ export declare const ActionHistoryDetailsFilterSensitiveLog: (
748
+ obj: ActionHistoryDetails
749
+ ) => any;
750
+
751
+ export declare const ActionHistoryFilterSensitiveLog: (
752
+ obj: ActionHistory
753
+ ) => any;
754
+
755
+ export declare const HistoricalOptionsFilterSensitiveLog: (
756
+ obj: HistoricalOptions
757
+ ) => any;
758
+
759
+ export declare const AutoAdjustDataFilterSensitiveLog: (
760
+ obj: AutoAdjustData
761
+ ) => any;
762
+
763
+ export declare const SpendFilterSensitiveLog: (obj: Spend) => any;
764
+
765
+ export declare const CalculatedSpendFilterSensitiveLog: (
766
+ obj: CalculatedSpend
767
+ ) => any;
768
+
769
+ export declare const CostTypesFilterSensitiveLog: (obj: CostTypes) => any;
770
+
771
+ export declare const TimePeriodFilterSensitiveLog: (obj: TimePeriod) => any;
772
+
773
+ export declare const BudgetFilterSensitiveLog: (obj: Budget) => any;
774
+
775
+ export declare const NotificationFilterSensitiveLog: (obj: Notification) => any;
776
+
777
+ export declare const NotificationWithSubscribersFilterSensitiveLog: (
778
+ obj: NotificationWithSubscribers
779
+ ) => any;
780
+
781
+ export declare const CreateBudgetRequestFilterSensitiveLog: (
782
+ obj: CreateBudgetRequest
783
+ ) => any;
784
+
785
+ export declare const CreateBudgetResponseFilterSensitiveLog: (
786
+ obj: CreateBudgetResponse
787
+ ) => any;
788
+
789
+ export declare const CreateBudgetActionRequestFilterSensitiveLog: (
790
+ obj: CreateBudgetActionRequest
791
+ ) => any;
792
+
793
+ export declare const CreateBudgetActionResponseFilterSensitiveLog: (
794
+ obj: CreateBudgetActionResponse
795
+ ) => any;
796
+
797
+ export declare const CreateNotificationRequestFilterSensitiveLog: (
798
+ obj: CreateNotificationRequest
799
+ ) => any;
800
+
801
+ export declare const CreateNotificationResponseFilterSensitiveLog: (
802
+ obj: CreateNotificationResponse
803
+ ) => any;
804
+
805
+ export declare const CreateSubscriberRequestFilterSensitiveLog: (
806
+ obj: CreateSubscriberRequest
807
+ ) => any;
808
+
809
+ export declare const CreateSubscriberResponseFilterSensitiveLog: (
810
+ obj: CreateSubscriberResponse
811
+ ) => any;
812
+
813
+ export declare const DeleteBudgetRequestFilterSensitiveLog: (
814
+ obj: DeleteBudgetRequest
815
+ ) => any;
816
+
817
+ export declare const DeleteBudgetResponseFilterSensitiveLog: (
818
+ obj: DeleteBudgetResponse
819
+ ) => any;
820
+
821
+ export declare const DeleteBudgetActionRequestFilterSensitiveLog: (
822
+ obj: DeleteBudgetActionRequest
823
+ ) => any;
824
+
825
+ export declare const DeleteBudgetActionResponseFilterSensitiveLog: (
826
+ obj: DeleteBudgetActionResponse
827
+ ) => any;
828
+
829
+ export declare const DeleteNotificationRequestFilterSensitiveLog: (
830
+ obj: DeleteNotificationRequest
831
+ ) => any;
832
+
833
+ export declare const DeleteNotificationResponseFilterSensitiveLog: (
834
+ obj: DeleteNotificationResponse
835
+ ) => any;
836
+
837
+ export declare const DeleteSubscriberRequestFilterSensitiveLog: (
838
+ obj: DeleteSubscriberRequest
839
+ ) => any;
840
+
841
+ export declare const DeleteSubscriberResponseFilterSensitiveLog: (
842
+ obj: DeleteSubscriberResponse
843
+ ) => any;
844
+
845
+ export declare const DescribeBudgetRequestFilterSensitiveLog: (
846
+ obj: DescribeBudgetRequest
847
+ ) => any;
848
+
849
+ export declare const DescribeBudgetResponseFilterSensitiveLog: (
850
+ obj: DescribeBudgetResponse
851
+ ) => any;
852
+
853
+ export declare const DescribeBudgetActionRequestFilterSensitiveLog: (
854
+ obj: DescribeBudgetActionRequest
855
+ ) => any;
856
+
857
+ export declare const DescribeBudgetActionResponseFilterSensitiveLog: (
858
+ obj: DescribeBudgetActionResponse
859
+ ) => any;
860
+
861
+ export declare const DescribeBudgetActionHistoriesRequestFilterSensitiveLog: (
862
+ obj: DescribeBudgetActionHistoriesRequest
863
+ ) => any;
864
+
865
+ export declare const DescribeBudgetActionHistoriesResponseFilterSensitiveLog: (
866
+ obj: DescribeBudgetActionHistoriesResponse
867
+ ) => any;
868
+
869
+ export declare const DescribeBudgetActionsForAccountRequestFilterSensitiveLog: (
870
+ obj: DescribeBudgetActionsForAccountRequest
871
+ ) => any;
872
+
873
+ export declare const DescribeBudgetActionsForAccountResponseFilterSensitiveLog: (
874
+ obj: DescribeBudgetActionsForAccountResponse
875
+ ) => any;
876
+
877
+ export declare const DescribeBudgetActionsForBudgetRequestFilterSensitiveLog: (
878
+ obj: DescribeBudgetActionsForBudgetRequest
879
+ ) => any;
880
+
881
+ export declare const DescribeBudgetActionsForBudgetResponseFilterSensitiveLog: (
882
+ obj: DescribeBudgetActionsForBudgetResponse
883
+ ) => any;
884
+
885
+ export declare const DescribeBudgetNotificationsForAccountRequestFilterSensitiveLog: (
886
+ obj: DescribeBudgetNotificationsForAccountRequest
887
+ ) => any;
888
+
889
+ export declare const BudgetNotificationsForAccountFilterSensitiveLog: (
890
+ obj: BudgetNotificationsForAccount
891
+ ) => any;
892
+
893
+ export declare const DescribeBudgetNotificationsForAccountResponseFilterSensitiveLog: (
894
+ obj: DescribeBudgetNotificationsForAccountResponse
895
+ ) => any;
896
+
897
+ export declare const DescribeBudgetPerformanceHistoryRequestFilterSensitiveLog: (
898
+ obj: DescribeBudgetPerformanceHistoryRequest
899
+ ) => any;
900
+
901
+ export declare const BudgetedAndActualAmountsFilterSensitiveLog: (
902
+ obj: BudgetedAndActualAmounts
903
+ ) => any;
904
+
905
+ export declare const BudgetPerformanceHistoryFilterSensitiveLog: (
906
+ obj: BudgetPerformanceHistory
907
+ ) => any;
908
+
909
+ export declare const DescribeBudgetPerformanceHistoryResponseFilterSensitiveLog: (
910
+ obj: DescribeBudgetPerformanceHistoryResponse
911
+ ) => any;
912
+
913
+ export declare const DescribeBudgetsRequestFilterSensitiveLog: (
914
+ obj: DescribeBudgetsRequest
915
+ ) => any;
916
+
917
+ export declare const DescribeBudgetsResponseFilterSensitiveLog: (
918
+ obj: DescribeBudgetsResponse
919
+ ) => any;
920
+
921
+ export declare const DescribeNotificationsForBudgetRequestFilterSensitiveLog: (
922
+ obj: DescribeNotificationsForBudgetRequest
923
+ ) => any;
924
+
925
+ export declare const DescribeNotificationsForBudgetResponseFilterSensitiveLog: (
926
+ obj: DescribeNotificationsForBudgetResponse
927
+ ) => any;
928
+
929
+ export declare const DescribeSubscribersForNotificationRequestFilterSensitiveLog: (
930
+ obj: DescribeSubscribersForNotificationRequest
931
+ ) => any;
932
+
933
+ export declare const DescribeSubscribersForNotificationResponseFilterSensitiveLog: (
934
+ obj: DescribeSubscribersForNotificationResponse
935
+ ) => any;
936
+
937
+ export declare const ExecuteBudgetActionRequestFilterSensitiveLog: (
938
+ obj: ExecuteBudgetActionRequest
939
+ ) => any;
940
+
941
+ export declare const ExecuteBudgetActionResponseFilterSensitiveLog: (
942
+ obj: ExecuteBudgetActionResponse
943
+ ) => any;
944
+
945
+ export declare const UpdateBudgetRequestFilterSensitiveLog: (
946
+ obj: UpdateBudgetRequest
947
+ ) => any;
948
+
949
+ export declare const UpdateBudgetResponseFilterSensitiveLog: (
950
+ obj: UpdateBudgetResponse
951
+ ) => any;
952
+
953
+ export declare const UpdateBudgetActionRequestFilterSensitiveLog: (
954
+ obj: UpdateBudgetActionRequest
955
+ ) => any;
956
+
957
+ export declare const UpdateBudgetActionResponseFilterSensitiveLog: (
958
+ obj: UpdateBudgetActionResponse
959
+ ) => any;
960
+
961
+ export declare const UpdateNotificationRequestFilterSensitiveLog: (
962
+ obj: UpdateNotificationRequest
963
+ ) => any;
964
+
965
+ export declare const UpdateNotificationResponseFilterSensitiveLog: (
966
+ obj: UpdateNotificationResponse
967
+ ) => any;
968
+
969
+ export declare const UpdateSubscriberRequestFilterSensitiveLog: (
970
+ obj: UpdateSubscriberRequest
971
+ ) => any;
972
+
973
+ export declare const UpdateSubscriberResponseFilterSensitiveLog: (
974
+ obj: UpdateSubscriberResponse
975
+ ) => any;