@aws-sdk/client-budgets 3.296.0 → 3.298.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 (84) hide show
  1. package/dist-cjs/commands/CreateBudgetActionCommand.js +1 -1
  2. package/dist-cjs/commands/CreateBudgetCommand.js +1 -1
  3. package/dist-cjs/commands/CreateNotificationCommand.js +1 -1
  4. package/dist-cjs/commands/CreateSubscriberCommand.js +1 -1
  5. package/dist-cjs/commands/DeleteBudgetActionCommand.js +1 -1
  6. package/dist-cjs/commands/DeleteBudgetCommand.js +2 -3
  7. package/dist-cjs/commands/DeleteNotificationCommand.js +2 -3
  8. package/dist-cjs/commands/DeleteSubscriberCommand.js +1 -1
  9. package/dist-cjs/commands/DescribeBudgetActionCommand.js +1 -1
  10. package/dist-cjs/commands/DescribeBudgetActionHistoriesCommand.js +1 -1
  11. package/dist-cjs/commands/DescribeBudgetActionsForAccountCommand.js +1 -1
  12. package/dist-cjs/commands/DescribeBudgetActionsForBudgetCommand.js +1 -1
  13. package/dist-cjs/commands/DescribeBudgetCommand.js +2 -3
  14. package/dist-cjs/commands/DescribeBudgetNotificationsForAccountCommand.js +2 -3
  15. package/dist-cjs/commands/DescribeBudgetPerformanceHistoryCommand.js +2 -3
  16. package/dist-cjs/commands/DescribeBudgetsCommand.js +2 -3
  17. package/dist-cjs/commands/DescribeNotificationsForBudgetCommand.js +2 -3
  18. package/dist-cjs/commands/DescribeSubscribersForNotificationCommand.js +1 -1
  19. package/dist-cjs/commands/ExecuteBudgetActionCommand.js +2 -3
  20. package/dist-cjs/commands/UpdateBudgetCommand.js +2 -3
  21. package/dist-cjs/commands/UpdateNotificationCommand.js +2 -3
  22. package/dist-cjs/commands/UpdateSubscriberCommand.js +1 -1
  23. package/dist-cjs/models/models_0.js +1 -194
  24. package/dist-es/commands/CreateBudgetActionCommand.js +2 -2
  25. package/dist-es/commands/CreateBudgetCommand.js +2 -2
  26. package/dist-es/commands/CreateNotificationCommand.js +2 -2
  27. package/dist-es/commands/CreateSubscriberCommand.js +2 -2
  28. package/dist-es/commands/DeleteBudgetActionCommand.js +2 -2
  29. package/dist-es/commands/DeleteBudgetCommand.js +2 -3
  30. package/dist-es/commands/DeleteNotificationCommand.js +2 -3
  31. package/dist-es/commands/DeleteSubscriberCommand.js +2 -2
  32. package/dist-es/commands/DescribeBudgetActionCommand.js +2 -2
  33. package/dist-es/commands/DescribeBudgetActionHistoriesCommand.js +2 -2
  34. package/dist-es/commands/DescribeBudgetActionsForAccountCommand.js +2 -2
  35. package/dist-es/commands/DescribeBudgetActionsForBudgetCommand.js +2 -2
  36. package/dist-es/commands/DescribeBudgetCommand.js +2 -3
  37. package/dist-es/commands/DescribeBudgetNotificationsForAccountCommand.js +2 -3
  38. package/dist-es/commands/DescribeBudgetPerformanceHistoryCommand.js +2 -3
  39. package/dist-es/commands/DescribeBudgetsCommand.js +2 -3
  40. package/dist-es/commands/DescribeNotificationsForBudgetCommand.js +2 -3
  41. package/dist-es/commands/DescribeSubscribersForNotificationCommand.js +2 -2
  42. package/dist-es/commands/ExecuteBudgetActionCommand.js +2 -3
  43. package/dist-es/commands/UpdateBudgetCommand.js +2 -3
  44. package/dist-es/commands/UpdateNotificationCommand.js +2 -3
  45. package/dist-es/commands/UpdateSubscriberCommand.js +2 -2
  46. package/dist-es/models/models_0.js +0 -144
  47. package/dist-types/Budgets.d.ts +24 -0
  48. package/dist-types/BudgetsClient.d.ts +24 -4
  49. package/dist-types/commands/CreateBudgetActionCommand.d.ts +16 -0
  50. package/dist-types/commands/CreateBudgetCommand.d.ts +16 -0
  51. package/dist-types/commands/CreateNotificationCommand.d.ts +16 -0
  52. package/dist-types/commands/CreateSubscriberCommand.d.ts +16 -0
  53. package/dist-types/commands/DeleteBudgetActionCommand.d.ts +16 -0
  54. package/dist-types/commands/DeleteBudgetCommand.d.ts +16 -0
  55. package/dist-types/commands/DeleteNotificationCommand.d.ts +16 -0
  56. package/dist-types/commands/DeleteSubscriberCommand.d.ts +16 -0
  57. package/dist-types/commands/DescribeBudgetActionCommand.d.ts +16 -0
  58. package/dist-types/commands/DescribeBudgetActionHistoriesCommand.d.ts +16 -0
  59. package/dist-types/commands/DescribeBudgetActionsForAccountCommand.d.ts +16 -0
  60. package/dist-types/commands/DescribeBudgetActionsForBudgetCommand.d.ts +16 -0
  61. package/dist-types/commands/DescribeBudgetCommand.d.ts +16 -0
  62. package/dist-types/commands/DescribeBudgetNotificationsForAccountCommand.d.ts +16 -0
  63. package/dist-types/commands/DescribeBudgetPerformanceHistoryCommand.d.ts +16 -0
  64. package/dist-types/commands/DescribeBudgetsCommand.d.ts +16 -0
  65. package/dist-types/commands/DescribeNotificationsForBudgetCommand.d.ts +16 -0
  66. package/dist-types/commands/DescribeSubscribersForNotificationCommand.d.ts +16 -0
  67. package/dist-types/commands/ExecuteBudgetActionCommand.d.ts +16 -0
  68. package/dist-types/commands/UpdateBudgetActionCommand.d.ts +16 -0
  69. package/dist-types/commands/UpdateBudgetCommand.d.ts +16 -0
  70. package/dist-types/commands/UpdateNotificationCommand.d.ts +16 -0
  71. package/dist-types/commands/UpdateSubscriberCommand.d.ts +16 -0
  72. package/dist-types/models/BudgetsServiceException.d.ts +2 -0
  73. package/dist-types/models/models_0.d.ts +159 -192
  74. package/dist-types/pagination/DescribeBudgetActionHistoriesPaginator.d.ts +3 -0
  75. package/dist-types/pagination/DescribeBudgetActionsForAccountPaginator.d.ts +3 -0
  76. package/dist-types/pagination/DescribeBudgetActionsForBudgetPaginator.d.ts +3 -0
  77. package/dist-types/pagination/DescribeBudgetNotificationsForAccountPaginator.d.ts +3 -0
  78. package/dist-types/pagination/DescribeBudgetPerformanceHistoryPaginator.d.ts +3 -0
  79. package/dist-types/pagination/DescribeBudgetsPaginator.d.ts +3 -0
  80. package/dist-types/pagination/DescribeNotificationsForBudgetPaginator.d.ts +3 -0
  81. package/dist-types/pagination/DescribeSubscribersForNotificationPaginator.d.ts +3 -0
  82. package/dist-types/pagination/Interfaces.d.ts +3 -0
  83. package/dist-types/ts3.4/models/models_0.d.ts +0 -132
  84. package/package.json +4 -3
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
5
5
  import { UpdateBudgetActionRequest, UpdateBudgetActionResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateBudgetActionCommand}.
8
10
  */
9
11
  export interface UpdateBudgetActionCommandInput extends UpdateBudgetActionRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateBudgetActionCommand}.
13
17
  */
14
18
  export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>
18
23
  * Updates a budget action.
19
24
  * </p>
@@ -27,6 +32,8 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param UpdateBudgetActionCommandInput - {@link UpdateBudgetActionCommandInput}
36
+ * @returns {@link UpdateBudgetActionCommandOutput}
30
37
  * @see {@link UpdateBudgetActionCommandInput} for command's `input` shape.
31
38
  * @see {@link UpdateBudgetActionCommandOutput} for command's `response` shape.
32
39
  * @see {@link BudgetsClientResolvedConfig | config} for BudgetsClient's `config` shape.
@@ -57,11 +64,20 @@ export interface UpdateBudgetActionCommandOutput extends UpdateBudgetActionRespo
57
64
  export declare class UpdateBudgetActionCommand extends $Command<UpdateBudgetActionCommandInput, UpdateBudgetActionCommandOutput, BudgetsClientResolvedConfig> {
58
65
  readonly input: UpdateBudgetActionCommandInput;
59
66
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
60
70
  constructor(input: UpdateBudgetActionCommandInput);
61
71
  /**
62
72
  * @internal
63
73
  */
64
74
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateBudgetActionCommandInput, UpdateBudgetActionCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
65
78
  private serialize;
79
+ /**
80
+ * @internal
81
+ */
66
82
  private deserialize;
67
83
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
5
5
  import { UpdateBudgetRequest, UpdateBudgetResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateBudgetCommand}.
8
10
  */
9
11
  export interface UpdateBudgetCommandInput extends UpdateBudgetRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateBudgetCommand}.
13
17
  */
14
18
  export interface UpdateBudgetCommandOutput extends UpdateBudgetResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Updates a budget. You can change every part of a budget except for the <code>budgetName</code> and the <code>calculatedSpend</code>. When you modify a budget, the <code>calculatedSpend</code> drops to zero until Amazon Web Services has new usage data to use for forecasting.</p>
18
23
  * <important>
19
24
  * <p>Only one of <code>BudgetLimit</code> or <code>PlannedBudgetLimits</code> can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the <code>BudgetLimit</code> syntax. For <code>PlannedBudgetLimits</code>, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_budgets_UpdateBudget.html#API_UpdateBudget_Examples">Examples</a> section. </p>
@@ -28,6 +33,8 @@ export interface UpdateBudgetCommandOutput extends UpdateBudgetResponse, __Metad
28
33
  * const response = await client.send(command);
29
34
  * ```
30
35
  *
36
+ * @param UpdateBudgetCommandInput - {@link UpdateBudgetCommandInput}
37
+ * @returns {@link UpdateBudgetCommandOutput}
31
38
  * @see {@link UpdateBudgetCommandInput} for command's `input` shape.
32
39
  * @see {@link UpdateBudgetCommandOutput} for command's `response` shape.
33
40
  * @see {@link BudgetsClientResolvedConfig | config} for BudgetsClient's `config` shape.
@@ -54,11 +61,20 @@ export interface UpdateBudgetCommandOutput extends UpdateBudgetResponse, __Metad
54
61
  export declare class UpdateBudgetCommand extends $Command<UpdateBudgetCommandInput, UpdateBudgetCommandOutput, BudgetsClientResolvedConfig> {
55
62
  readonly input: UpdateBudgetCommandInput;
56
63
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
57
67
  constructor(input: UpdateBudgetCommandInput);
58
68
  /**
59
69
  * @internal
60
70
  */
61
71
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateBudgetCommandInput, UpdateBudgetCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
62
75
  private serialize;
76
+ /**
77
+ * @internal
78
+ */
63
79
  private deserialize;
64
80
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
5
5
  import { UpdateNotificationRequest, UpdateNotificationResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateNotificationCommand}.
8
10
  */
9
11
  export interface UpdateNotificationCommandInput extends UpdateNotificationRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateNotificationCommand}.
13
17
  */
14
18
  export interface UpdateNotificationCommandOutput extends UpdateNotificationResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Updates a notification.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UpdateNotificationCommandOutput extends UpdateNotificationRespo
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UpdateNotificationCommandInput - {@link UpdateNotificationCommandInput}
34
+ * @returns {@link UpdateNotificationCommandOutput}
28
35
  * @see {@link UpdateNotificationCommandInput} for command's `input` shape.
29
36
  * @see {@link UpdateNotificationCommandOutput} for command's `response` shape.
30
37
  * @see {@link BudgetsClientResolvedConfig | config} for BudgetsClient's `config` shape.
@@ -54,11 +61,20 @@ export interface UpdateNotificationCommandOutput extends UpdateNotificationRespo
54
61
  export declare class UpdateNotificationCommand extends $Command<UpdateNotificationCommandInput, UpdateNotificationCommandOutput, BudgetsClientResolvedConfig> {
55
62
  readonly input: UpdateNotificationCommandInput;
56
63
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
57
67
  constructor(input: UpdateNotificationCommandInput);
58
68
  /**
59
69
  * @internal
60
70
  */
61
71
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateNotificationCommandInput, UpdateNotificationCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
62
75
  private serialize;
76
+ /**
77
+ * @internal
78
+ */
63
79
  private deserialize;
64
80
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { BudgetsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BudgetsClient";
5
5
  import { UpdateSubscriberRequest, UpdateSubscriberResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateSubscriberCommand}.
8
10
  */
9
11
  export interface UpdateSubscriberCommandInput extends UpdateSubscriberRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateSubscriberCommand}.
13
17
  */
14
18
  export interface UpdateSubscriberCommandOutput extends UpdateSubscriberResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Updates a subscriber.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UpdateSubscriberCommandOutput extends UpdateSubscriberResponse,
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UpdateSubscriberCommandInput - {@link UpdateSubscriberCommandInput}
34
+ * @returns {@link UpdateSubscriberCommandOutput}
28
35
  * @see {@link UpdateSubscriberCommandInput} for command's `input` shape.
29
36
  * @see {@link UpdateSubscriberCommandOutput} for command's `response` shape.
30
37
  * @see {@link BudgetsClientResolvedConfig | config} for BudgetsClient's `config` shape.
@@ -54,11 +61,20 @@ export interface UpdateSubscriberCommandOutput extends UpdateSubscriberResponse,
54
61
  export declare class UpdateSubscriberCommand extends $Command<UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput, BudgetsClientResolvedConfig> {
55
62
  readonly input: UpdateSubscriberCommandInput;
56
63
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
57
67
  constructor(input: UpdateSubscriberCommandInput);
58
68
  /**
59
69
  * @internal
60
70
  */
61
71
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
62
75
  private serialize;
76
+ /**
77
+ * @internal
78
+ */
63
79
  private deserialize;
64
80
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from Budgets service.
4
6
  */
5
7
  export declare class BudgetsServiceException extends __ServiceException {