@aws-sdk/client-budgets 3.428.0 → 3.430.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.
@@ -43,7 +43,7 @@ export interface ActionThreshold {
43
43
  * @public
44
44
  * <p> The type of threshold for a notification.</p>
45
45
  */
46
- ActionThresholdType: ThresholdType | string | undefined;
46
+ ActionThresholdType: ThresholdType | undefined;
47
47
  }
48
48
  /**
49
49
  * @public
@@ -133,7 +133,7 @@ export interface SsmActionDefinition {
133
133
  * @public
134
134
  * <p>The action subType. </p>
135
135
  */
136
- ActionSubType: ActionSubType | string | undefined;
136
+ ActionSubType: ActionSubType | undefined;
137
137
  /**
138
138
  * @public
139
139
  * <p>The Region to run the SSM document. </p>
@@ -230,7 +230,7 @@ export interface Subscriber {
230
230
  * @public
231
231
  * <p>The type of notification that Amazon Web Services sends to a subscriber.</p>
232
232
  */
233
- SubscriptionType: SubscriptionType | string | undefined;
233
+ SubscriptionType: SubscriptionType | undefined;
234
234
  /**
235
235
  * @public
236
236
  * <p>The address that Amazon Web Services sends budget notifications to, either an SNS topic or an email.</p>
@@ -258,13 +258,13 @@ export interface Action {
258
258
  * @public
259
259
  * <p> The type of a notification. It must be ACTUAL or FORECASTED.</p>
260
260
  */
261
- NotificationType: NotificationType | string | undefined;
261
+ NotificationType: NotificationType | undefined;
262
262
  /**
263
263
  * @public
264
264
  * <p>The type of action. This defines the type of tasks that can be carried out by this action.
265
265
  * This field also determines the format for definition. </p>
266
266
  */
267
- ActionType: ActionType | string | undefined;
267
+ ActionType: ActionType | undefined;
268
268
  /**
269
269
  * @public
270
270
  * <p>The trigger threshold of the action. </p>
@@ -285,12 +285,12 @@ export interface Action {
285
285
  * @public
286
286
  * <p>This specifies if the action needs manual or automatic approval. </p>
287
287
  */
288
- ApprovalModel: ApprovalModel | string | undefined;
288
+ ApprovalModel: ApprovalModel | undefined;
289
289
  /**
290
290
  * @public
291
291
  * <p>The status of the action. </p>
292
292
  */
293
- Status: ActionStatus | string | undefined;
293
+ Status: ActionStatus | undefined;
294
294
  /**
295
295
  * @public
296
296
  * <p> A list of subscribers.</p>
@@ -342,13 +342,13 @@ export interface ActionHistory {
342
342
  * @public
343
343
  * <p>The status of action at the time of the event. </p>
344
344
  */
345
- Status: ActionStatus | string | undefined;
345
+ Status: ActionStatus | undefined;
346
346
  /**
347
347
  * @public
348
348
  * <p>This distinguishes between whether the events are triggered by the user or are generated by
349
349
  * the system. </p>
350
350
  */
351
- EventType: EventType | string | undefined;
351
+ EventType: EventType | undefined;
352
352
  /**
353
353
  * @public
354
354
  * <p>The description of the details for the event. </p>
@@ -408,7 +408,7 @@ export interface AutoAdjustData {
408
408
  * @public
409
409
  * <p>The string that defines whether your budget auto-adjusts based on historical or forecasted data.</p>
410
410
  */
411
- AutoAdjustType: AutoAdjustType | string | undefined;
411
+ AutoAdjustType: AutoAdjustType | undefined;
412
412
  /**
413
413
  * @public
414
414
  * <p>The parameters that define or describe the historical data that your auto-adjusting budget is based on.</p>
@@ -703,7 +703,7 @@ export interface Budget {
703
703
  * @public
704
704
  * <p>The length of time until a budget resets the actual and forecasted spend.</p>
705
705
  */
706
- TimeUnit: TimeUnit | string | undefined;
706
+ TimeUnit: TimeUnit | undefined;
707
707
  /**
708
708
  * @public
709
709
  * <p>The period of time that's covered by a budget. You setthe start date and end date. The start
@@ -731,7 +731,7 @@ export interface Budget {
731
731
  * <p>Specifies whether this budget tracks costs, usage, RI utilization, RI coverage, Savings
732
732
  * Plans utilization, or Savings Plans coverage.</p>
733
733
  */
734
- BudgetType: BudgetType | string | undefined;
734
+ BudgetType: BudgetType | undefined;
735
735
  /**
736
736
  * @public
737
737
  * <p>The last time that you updated this budget.</p>
@@ -798,12 +798,12 @@ export interface Notification {
798
798
  * <p>Specifies whether the notification is for how much you have spent (<code>ACTUAL</code>) or
799
799
  * for how much that you're forecasted to spend (<code>FORECASTED</code>).</p>
800
800
  */
801
- NotificationType: NotificationType | string | undefined;
801
+ NotificationType: NotificationType | undefined;
802
802
  /**
803
803
  * @public
804
804
  * <p>The comparison that's used for this notification.</p>
805
805
  */
806
- ComparisonOperator: ComparisonOperator | string | undefined;
806
+ ComparisonOperator: ComparisonOperator | undefined;
807
807
  /**
808
808
  * @public
809
809
  * <p>The threshold that's associated with a notification. Thresholds are always a percentage, and
@@ -815,13 +815,13 @@ export interface Notification {
815
815
  * @public
816
816
  * <p>The type of threshold for a notification. For <code>ABSOLUTE_VALUE</code> thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For <code>PERCENTAGE</code> thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend. For example, if you have a budget for 200 dollars and you have a <code>PERCENTAGE</code> threshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.</p>
817
817
  */
818
- ThresholdType?: ThresholdType | string;
818
+ ThresholdType?: ThresholdType;
819
819
  /**
820
820
  * @public
821
821
  * <p>Specifies whether this notification is in alarm. If a budget notification is in the
822
822
  * <code>ALARM</code> state, you passed the set threshold for the budget.</p>
823
823
  */
824
- NotificationState?: NotificationState | string;
824
+ NotificationState?: NotificationState;
825
825
  }
826
826
  /**
827
827
  * @public
@@ -971,14 +971,14 @@ export interface CreateBudgetActionRequest {
971
971
  * @public
972
972
  * <p> The type of a notification. It must be ACTUAL or FORECASTED.</p>
973
973
  */
974
- NotificationType: NotificationType | string | undefined;
974
+ NotificationType: NotificationType | undefined;
975
975
  /**
976
976
  * @public
977
977
  * <p>
978
978
  * The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
979
979
  * </p>
980
980
  */
981
- ActionType: ActionType | string | undefined;
981
+ ActionType: ActionType | undefined;
982
982
  /**
983
983
  * @public
984
984
  * <p>The trigger threshold of the action. </p>
@@ -1002,7 +1002,7 @@ export interface CreateBudgetActionRequest {
1002
1002
  * This specifies if the action needs manual or automatic approval.
1003
1003
  * </p>
1004
1004
  */
1005
- ApprovalModel: ApprovalModel | string | undefined;
1005
+ ApprovalModel: ApprovalModel | undefined;
1006
1006
  /**
1007
1007
  * @public
1008
1008
  * <p> A list of subscribers.</p>
@@ -1625,7 +1625,7 @@ export interface BudgetPerformanceHistory {
1625
1625
  * <p>
1626
1626
  * <code>COST</code>, <code>USAGE</code>, <code>RI_UTILIZATION</code>, <code>RI_COVERAGE</code>, <code>SAVINGS_PLANS_UTILIZATION</code>, or <code>SAVINGS_PLANS_COVERAGE</code>.</p>
1627
1627
  */
1628
- BudgetType?: BudgetType | string;
1628
+ BudgetType?: BudgetType;
1629
1629
  /**
1630
1630
  * @public
1631
1631
  * <p>The history of the cost filters for a budget during the specified time period.</p>
@@ -1640,7 +1640,7 @@ export interface BudgetPerformanceHistory {
1640
1640
  * @public
1641
1641
  * <p> The time unit of the budget, such as MONTHLY or QUARTERLY.</p>
1642
1642
  */
1643
- TimeUnit?: TimeUnit | string;
1643
+ TimeUnit?: TimeUnit;
1644
1644
  /**
1645
1645
  * @public
1646
1646
  * <p>A list of amounts of cost or usage that you created budgets for, which are compared to your
@@ -1835,7 +1835,7 @@ export interface ExecuteBudgetActionRequest {
1835
1835
  * The type of execution.
1836
1836
  * </p>
1837
1837
  */
1838
- ExecutionType: ExecutionType | string | undefined;
1838
+ ExecutionType: ExecutionType | undefined;
1839
1839
  }
1840
1840
  /**
1841
1841
  * @public
@@ -1865,7 +1865,7 @@ export interface ExecuteBudgetActionResponse {
1865
1865
  * The type of execution.
1866
1866
  * </p>
1867
1867
  */
1868
- ExecutionType: ExecutionType | string | undefined;
1868
+ ExecutionType: ExecutionType | undefined;
1869
1869
  }
1870
1870
  /**
1871
1871
  * @public
@@ -1915,7 +1915,7 @@ export interface UpdateBudgetActionRequest {
1915
1915
  * @public
1916
1916
  * <p> The type of a notification. It must be ACTUAL or FORECASTED.</p>
1917
1917
  */
1918
- NotificationType?: NotificationType | string;
1918
+ NotificationType?: NotificationType;
1919
1919
  /**
1920
1920
  * @public
1921
1921
  * <p>The trigger threshold of the action. </p>
@@ -1939,7 +1939,7 @@ export interface UpdateBudgetActionRequest {
1939
1939
  * This specifies if the action needs manual or automatic approval.
1940
1940
  * </p>
1941
1941
  */
1942
- ApprovalModel?: ApprovalModel | string;
1942
+ ApprovalModel?: ApprovalModel;
1943
1943
  /**
1944
1944
  * @public
1945
1945
  * <p> A list of subscribers.</p>
@@ -15,7 +15,7 @@ export declare const ThresholdType: {
15
15
  export type ThresholdType = (typeof ThresholdType)[keyof typeof ThresholdType];
16
16
  export interface ActionThreshold {
17
17
  ActionThresholdValue: number | undefined;
18
- ActionThresholdType: ThresholdType | string | undefined;
18
+ ActionThresholdType: ThresholdType | undefined;
19
19
  }
20
20
  export declare const ActionType: {
21
21
  readonly IAM: "APPLY_IAM_POLICY";
@@ -44,7 +44,7 @@ export declare const ActionSubType: {
44
44
  };
45
45
  export type ActionSubType = (typeof ActionSubType)[keyof typeof ActionSubType];
46
46
  export interface SsmActionDefinition {
47
- ActionSubType: ActionSubType | string | undefined;
47
+ ActionSubType: ActionSubType | undefined;
48
48
  Region: string | undefined;
49
49
  InstanceIds: string[] | undefined;
50
50
  }
@@ -79,19 +79,19 @@ export declare const SubscriptionType: {
79
79
  export type SubscriptionType =
80
80
  (typeof SubscriptionType)[keyof typeof SubscriptionType];
81
81
  export interface Subscriber {
82
- SubscriptionType: SubscriptionType | string | undefined;
82
+ SubscriptionType: SubscriptionType | undefined;
83
83
  Address: string | undefined;
84
84
  }
85
85
  export interface Action {
86
86
  ActionId: string | undefined;
87
87
  BudgetName: string | undefined;
88
- NotificationType: NotificationType | string | undefined;
89
- ActionType: ActionType | string | undefined;
88
+ NotificationType: NotificationType | undefined;
89
+ ActionType: ActionType | undefined;
90
90
  ActionThreshold: ActionThreshold | undefined;
91
91
  Definition: Definition | undefined;
92
92
  ExecutionRoleArn: string | undefined;
93
- ApprovalModel: ApprovalModel | string | undefined;
94
- Status: ActionStatus | string | undefined;
93
+ ApprovalModel: ApprovalModel | undefined;
94
+ Status: ActionStatus | undefined;
95
95
  Subscribers: Subscriber[] | undefined;
96
96
  }
97
97
  export interface ActionHistoryDetails {
@@ -108,8 +108,8 @@ export declare const EventType: {
108
108
  export type EventType = (typeof EventType)[keyof typeof EventType];
109
109
  export interface ActionHistory {
110
110
  Timestamp: Date | undefined;
111
- Status: ActionStatus | string | undefined;
112
- EventType: EventType | string | undefined;
111
+ Status: ActionStatus | undefined;
112
+ EventType: EventType | undefined;
113
113
  ActionHistoryDetails: ActionHistoryDetails | undefined;
114
114
  }
115
115
  export declare const AutoAdjustType: {
@@ -123,7 +123,7 @@ export interface HistoricalOptions {
123
123
  LookBackAvailablePeriods?: number;
124
124
  }
125
125
  export interface AutoAdjustData {
126
- AutoAdjustType: AutoAdjustType | string | undefined;
126
+ AutoAdjustType: AutoAdjustType | undefined;
127
127
  HistoricalOptions?: HistoricalOptions;
128
128
  LastAutoAdjustTime?: Date;
129
129
  }
@@ -174,10 +174,10 @@ export interface Budget {
174
174
  PlannedBudgetLimits?: Record<string, Spend>;
175
175
  CostFilters?: Record<string, string[]>;
176
176
  CostTypes?: CostTypes;
177
- TimeUnit: TimeUnit | string | undefined;
177
+ TimeUnit: TimeUnit | undefined;
178
178
  TimePeriod?: TimePeriod;
179
179
  CalculatedSpend?: CalculatedSpend;
180
- BudgetType: BudgetType | string | undefined;
180
+ BudgetType: BudgetType | undefined;
181
181
  LastUpdatedTime?: Date;
182
182
  AutoAdjustData?: AutoAdjustData;
183
183
  }
@@ -195,11 +195,11 @@ export declare const NotificationState: {
195
195
  export type NotificationState =
196
196
  (typeof NotificationState)[keyof typeof NotificationState];
197
197
  export interface Notification {
198
- NotificationType: NotificationType | string | undefined;
199
- ComparisonOperator: ComparisonOperator | string | undefined;
198
+ NotificationType: NotificationType | undefined;
199
+ ComparisonOperator: ComparisonOperator | undefined;
200
200
  Threshold: number | undefined;
201
- ThresholdType?: ThresholdType | string;
202
- NotificationState?: NotificationState | string;
201
+ ThresholdType?: ThresholdType;
202
+ NotificationState?: NotificationState;
203
203
  }
204
204
  export interface NotificationWithSubscribers {
205
205
  Notification: Notification | undefined;
@@ -254,12 +254,12 @@ export declare class ThrottlingException extends __BaseException {
254
254
  export interface CreateBudgetActionRequest {
255
255
  AccountId: string | undefined;
256
256
  BudgetName: string | undefined;
257
- NotificationType: NotificationType | string | undefined;
258
- ActionType: ActionType | string | undefined;
257
+ NotificationType: NotificationType | undefined;
258
+ ActionType: ActionType | undefined;
259
259
  ActionThreshold: ActionThreshold | undefined;
260
260
  Definition: Definition | undefined;
261
261
  ExecutionRoleArn: string | undefined;
262
- ApprovalModel: ApprovalModel | string | undefined;
262
+ ApprovalModel: ApprovalModel | undefined;
263
263
  Subscribers: Subscriber[] | undefined;
264
264
  }
265
265
  export interface CreateBudgetActionResponse {
@@ -414,10 +414,10 @@ export interface BudgetedAndActualAmounts {
414
414
  }
415
415
  export interface BudgetPerformanceHistory {
416
416
  BudgetName?: string;
417
- BudgetType?: BudgetType | string;
417
+ BudgetType?: BudgetType;
418
418
  CostFilters?: Record<string, string[]>;
419
419
  CostTypes?: CostTypes;
420
- TimeUnit?: TimeUnit | string;
420
+ TimeUnit?: TimeUnit;
421
421
  BudgetedAndActualAmountsList?: BudgetedAndActualAmounts[];
422
422
  }
423
423
  export interface DescribeBudgetPerformanceHistoryResponse {
@@ -465,13 +465,13 @@ export interface ExecuteBudgetActionRequest {
465
465
  AccountId: string | undefined;
466
466
  BudgetName: string | undefined;
467
467
  ActionId: string | undefined;
468
- ExecutionType: ExecutionType | string | undefined;
468
+ ExecutionType: ExecutionType | undefined;
469
469
  }
470
470
  export interface ExecuteBudgetActionResponse {
471
471
  AccountId: string | undefined;
472
472
  BudgetName: string | undefined;
473
473
  ActionId: string | undefined;
474
- ExecutionType: ExecutionType | string | undefined;
474
+ ExecutionType: ExecutionType | undefined;
475
475
  }
476
476
  export interface UpdateBudgetRequest {
477
477
  AccountId: string | undefined;
@@ -482,11 +482,11 @@ export interface UpdateBudgetActionRequest {
482
482
  AccountId: string | undefined;
483
483
  BudgetName: string | undefined;
484
484
  ActionId: string | undefined;
485
- NotificationType?: NotificationType | string;
485
+ NotificationType?: NotificationType;
486
486
  ActionThreshold?: ActionThreshold;
487
487
  Definition?: Definition;
488
488
  ExecutionRoleArn?: string;
489
- ApprovalModel?: ApprovalModel | string;
489
+ ApprovalModel?: ApprovalModel;
490
490
  Subscribers?: Subscriber[];
491
491
  }
492
492
  export interface UpdateBudgetActionResponse {
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.428.0",
4
+ "version": "3.430.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"