@aws-sdk/client-budgets 3.489.0 → 3.495.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.
- package/dist-cjs/Budgets.js +1 -57
- package/dist-cjs/BudgetsClient.js +1 -43
- package/dist-cjs/commands/CreateBudgetActionCommand.js +1 -29
- package/dist-cjs/commands/CreateBudgetCommand.js +1 -29
- package/dist-cjs/commands/CreateNotificationCommand.js +1 -29
- package/dist-cjs/commands/CreateSubscriberCommand.js +1 -29
- package/dist-cjs/commands/DeleteBudgetActionCommand.js +1 -29
- package/dist-cjs/commands/DeleteBudgetCommand.js +1 -28
- package/dist-cjs/commands/DeleteNotificationCommand.js +1 -28
- package/dist-cjs/commands/DeleteSubscriberCommand.js +1 -29
- package/dist-cjs/commands/DescribeBudgetActionCommand.js +1 -29
- package/dist-cjs/commands/DescribeBudgetActionHistoriesCommand.js +1 -29
- package/dist-cjs/commands/DescribeBudgetActionsForAccountCommand.js +1 -29
- package/dist-cjs/commands/DescribeBudgetActionsForBudgetCommand.js +1 -29
- package/dist-cjs/commands/DescribeBudgetCommand.js +1 -28
- package/dist-cjs/commands/DescribeBudgetNotificationsForAccountCommand.js +1 -28
- package/dist-cjs/commands/DescribeBudgetPerformanceHistoryCommand.js +1 -28
- package/dist-cjs/commands/DescribeBudgetsCommand.js +1 -28
- package/dist-cjs/commands/DescribeNotificationsForBudgetCommand.js +1 -28
- package/dist-cjs/commands/DescribeSubscribersForNotificationCommand.js +1 -29
- package/dist-cjs/commands/ExecuteBudgetActionCommand.js +1 -28
- package/dist-cjs/commands/UpdateBudgetActionCommand.js +1 -29
- package/dist-cjs/commands/UpdateBudgetCommand.js +1 -28
- package/dist-cjs/commands/UpdateNotificationCommand.js +1 -28
- package/dist-cjs/commands/UpdateSubscriberCommand.js +1 -29
- package/dist-cjs/commands/index.js +1 -26
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2840 -11
- package/dist-cjs/models/BudgetsServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -317
- package/dist-cjs/pagination/DescribeBudgetActionHistoriesPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeBudgetActionsForAccountPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeBudgetActionsForBudgetPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeBudgetNotificationsForAccountPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeBudgetPerformanceHistoryPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeBudgetsPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeNotificationsForBudgetPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeSubscribersForNotificationPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/index.js +1 -12
- package/dist-cjs/protocols/Aws_json1_1.js +1 -1819
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,2841 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
ActionFilterSensitiveLog: () => ActionFilterSensitiveLog,
|
|
26
|
+
ActionHistoryDetailsFilterSensitiveLog: () => ActionHistoryDetailsFilterSensitiveLog,
|
|
27
|
+
ActionHistoryFilterSensitiveLog: () => ActionHistoryFilterSensitiveLog,
|
|
28
|
+
ActionStatus: () => ActionStatus,
|
|
29
|
+
ActionSubType: () => ActionSubType,
|
|
30
|
+
ActionType: () => ActionType,
|
|
31
|
+
ApprovalModel: () => ApprovalModel,
|
|
32
|
+
AutoAdjustType: () => AutoAdjustType,
|
|
33
|
+
BudgetType: () => BudgetType,
|
|
34
|
+
Budgets: () => Budgets,
|
|
35
|
+
BudgetsClient: () => BudgetsClient,
|
|
36
|
+
BudgetsServiceException: () => BudgetsServiceException,
|
|
37
|
+
ComparisonOperator: () => ComparisonOperator,
|
|
38
|
+
CreateBudgetActionCommand: () => CreateBudgetActionCommand,
|
|
39
|
+
CreateBudgetActionRequestFilterSensitiveLog: () => CreateBudgetActionRequestFilterSensitiveLog,
|
|
40
|
+
CreateBudgetCommand: () => CreateBudgetCommand,
|
|
41
|
+
CreateBudgetRequestFilterSensitiveLog: () => CreateBudgetRequestFilterSensitiveLog,
|
|
42
|
+
CreateNotificationCommand: () => CreateNotificationCommand,
|
|
43
|
+
CreateNotificationRequestFilterSensitiveLog: () => CreateNotificationRequestFilterSensitiveLog,
|
|
44
|
+
CreateSubscriberCommand: () => CreateSubscriberCommand,
|
|
45
|
+
CreateSubscriberRequestFilterSensitiveLog: () => CreateSubscriberRequestFilterSensitiveLog,
|
|
46
|
+
CreationLimitExceededException: () => CreationLimitExceededException,
|
|
47
|
+
DeleteBudgetActionCommand: () => DeleteBudgetActionCommand,
|
|
48
|
+
DeleteBudgetActionResponseFilterSensitiveLog: () => DeleteBudgetActionResponseFilterSensitiveLog,
|
|
49
|
+
DeleteBudgetCommand: () => DeleteBudgetCommand,
|
|
50
|
+
DeleteNotificationCommand: () => DeleteNotificationCommand,
|
|
51
|
+
DeleteSubscriberCommand: () => DeleteSubscriberCommand,
|
|
52
|
+
DeleteSubscriberRequestFilterSensitiveLog: () => DeleteSubscriberRequestFilterSensitiveLog,
|
|
53
|
+
DescribeBudgetActionCommand: () => DescribeBudgetActionCommand,
|
|
54
|
+
DescribeBudgetActionHistoriesCommand: () => DescribeBudgetActionHistoriesCommand,
|
|
55
|
+
DescribeBudgetActionHistoriesResponseFilterSensitiveLog: () => DescribeBudgetActionHistoriesResponseFilterSensitiveLog,
|
|
56
|
+
DescribeBudgetActionResponseFilterSensitiveLog: () => DescribeBudgetActionResponseFilterSensitiveLog,
|
|
57
|
+
DescribeBudgetActionsForAccountCommand: () => DescribeBudgetActionsForAccountCommand,
|
|
58
|
+
DescribeBudgetActionsForAccountResponseFilterSensitiveLog: () => DescribeBudgetActionsForAccountResponseFilterSensitiveLog,
|
|
59
|
+
DescribeBudgetActionsForBudgetCommand: () => DescribeBudgetActionsForBudgetCommand,
|
|
60
|
+
DescribeBudgetActionsForBudgetResponseFilterSensitiveLog: () => DescribeBudgetActionsForBudgetResponseFilterSensitiveLog,
|
|
61
|
+
DescribeBudgetCommand: () => DescribeBudgetCommand,
|
|
62
|
+
DescribeBudgetNotificationsForAccountCommand: () => DescribeBudgetNotificationsForAccountCommand,
|
|
63
|
+
DescribeBudgetPerformanceHistoryCommand: () => DescribeBudgetPerformanceHistoryCommand,
|
|
64
|
+
DescribeBudgetsCommand: () => DescribeBudgetsCommand,
|
|
65
|
+
DescribeNotificationsForBudgetCommand: () => DescribeNotificationsForBudgetCommand,
|
|
66
|
+
DescribeSubscribersForNotificationCommand: () => DescribeSubscribersForNotificationCommand,
|
|
67
|
+
DescribeSubscribersForNotificationResponseFilterSensitiveLog: () => DescribeSubscribersForNotificationResponseFilterSensitiveLog,
|
|
68
|
+
DuplicateRecordException: () => DuplicateRecordException,
|
|
69
|
+
EventType: () => EventType,
|
|
70
|
+
ExecuteBudgetActionCommand: () => ExecuteBudgetActionCommand,
|
|
71
|
+
ExecutionType: () => ExecutionType,
|
|
72
|
+
ExpiredNextTokenException: () => ExpiredNextTokenException,
|
|
73
|
+
InternalErrorException: () => InternalErrorException,
|
|
74
|
+
InvalidNextTokenException: () => InvalidNextTokenException,
|
|
75
|
+
InvalidParameterException: () => InvalidParameterException,
|
|
76
|
+
NotFoundException: () => NotFoundException,
|
|
77
|
+
NotificationState: () => NotificationState,
|
|
78
|
+
NotificationType: () => NotificationType,
|
|
79
|
+
NotificationWithSubscribersFilterSensitiveLog: () => NotificationWithSubscribersFilterSensitiveLog,
|
|
80
|
+
ResourceLockedException: () => ResourceLockedException,
|
|
81
|
+
SubscriberFilterSensitiveLog: () => SubscriberFilterSensitiveLog,
|
|
82
|
+
SubscriptionType: () => SubscriptionType,
|
|
83
|
+
ThresholdType: () => ThresholdType,
|
|
84
|
+
ThrottlingException: () => ThrottlingException,
|
|
85
|
+
TimeUnit: () => TimeUnit,
|
|
86
|
+
UpdateBudgetActionCommand: () => UpdateBudgetActionCommand,
|
|
87
|
+
UpdateBudgetActionRequestFilterSensitiveLog: () => UpdateBudgetActionRequestFilterSensitiveLog,
|
|
88
|
+
UpdateBudgetActionResponseFilterSensitiveLog: () => UpdateBudgetActionResponseFilterSensitiveLog,
|
|
89
|
+
UpdateBudgetCommand: () => UpdateBudgetCommand,
|
|
90
|
+
UpdateNotificationCommand: () => UpdateNotificationCommand,
|
|
91
|
+
UpdateSubscriberCommand: () => UpdateSubscriberCommand,
|
|
92
|
+
UpdateSubscriberRequestFilterSensitiveLog: () => UpdateSubscriberRequestFilterSensitiveLog,
|
|
93
|
+
__Client: () => import_smithy_client.Client,
|
|
94
|
+
paginateDescribeBudgetActionHistories: () => paginateDescribeBudgetActionHistories,
|
|
95
|
+
paginateDescribeBudgetActionsForAccount: () => paginateDescribeBudgetActionsForAccount,
|
|
96
|
+
paginateDescribeBudgetActionsForBudget: () => paginateDescribeBudgetActionsForBudget,
|
|
97
|
+
paginateDescribeBudgetNotificationsForAccount: () => paginateDescribeBudgetNotificationsForAccount,
|
|
98
|
+
paginateDescribeBudgetPerformanceHistory: () => paginateDescribeBudgetPerformanceHistory,
|
|
99
|
+
paginateDescribeBudgets: () => paginateDescribeBudgets,
|
|
100
|
+
paginateDescribeNotificationsForBudget: () => paginateDescribeNotificationsForBudget,
|
|
101
|
+
paginateDescribeSubscribersForNotification: () => paginateDescribeSubscribersForNotification
|
|
102
|
+
});
|
|
103
|
+
module.exports = __toCommonJS(src_exports);
|
|
104
|
+
|
|
105
|
+
// src/BudgetsClient.ts
|
|
106
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
107
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
108
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
109
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
110
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
111
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
112
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
113
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
114
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
// src/endpoint/EndpointParameters.ts
|
|
118
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
119
|
+
return {
|
|
120
|
+
...options,
|
|
121
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
122
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
123
|
+
defaultSigningName: "budgets"
|
|
124
|
+
};
|
|
125
|
+
}, "resolveClientEndpointParameters");
|
|
126
|
+
var commonParams = {
|
|
127
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
128
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
129
|
+
Region: { type: "builtInParams", name: "region" },
|
|
130
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
// src/BudgetsClient.ts
|
|
134
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
135
|
+
|
|
136
|
+
// src/runtimeExtensions.ts
|
|
137
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
138
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
139
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
140
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
141
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
142
|
+
const extensionConfiguration = {
|
|
143
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
144
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
145
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
146
|
+
};
|
|
147
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
148
|
+
return {
|
|
149
|
+
...runtimeConfig,
|
|
150
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
151
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
152
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
153
|
+
};
|
|
154
|
+
}, "resolveRuntimeExtensions");
|
|
155
|
+
|
|
156
|
+
// src/BudgetsClient.ts
|
|
157
|
+
var _BudgetsClient = class _BudgetsClient extends import_smithy_client.Client {
|
|
158
|
+
constructor(...[configuration]) {
|
|
159
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
160
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
161
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
162
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
163
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
164
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
165
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
166
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
167
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
168
|
+
super(_config_8);
|
|
169
|
+
this.config = _config_8;
|
|
170
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
171
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
172
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
173
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
174
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
175
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
176
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
180
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
181
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
182
|
+
*/
|
|
183
|
+
destroy() {
|
|
184
|
+
super.destroy();
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
__name(_BudgetsClient, "BudgetsClient");
|
|
188
|
+
var BudgetsClient = _BudgetsClient;
|
|
189
|
+
|
|
190
|
+
// src/Budgets.ts
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
// src/commands/CreateBudgetActionCommand.ts
|
|
194
|
+
|
|
195
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
196
|
+
|
|
197
|
+
var import_types = require("@smithy/types");
|
|
198
|
+
|
|
199
|
+
// src/models/models_0.ts
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
// src/models/BudgetsServiceException.ts
|
|
203
|
+
|
|
204
|
+
var _BudgetsServiceException = class _BudgetsServiceException extends import_smithy_client.ServiceException {
|
|
205
|
+
/**
|
|
206
|
+
* @internal
|
|
207
|
+
*/
|
|
208
|
+
constructor(options) {
|
|
209
|
+
super(options);
|
|
210
|
+
Object.setPrototypeOf(this, _BudgetsServiceException.prototype);
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
__name(_BudgetsServiceException, "BudgetsServiceException");
|
|
214
|
+
var BudgetsServiceException = _BudgetsServiceException;
|
|
215
|
+
|
|
216
|
+
// src/models/models_0.ts
|
|
217
|
+
var _AccessDeniedException = class _AccessDeniedException extends BudgetsServiceException {
|
|
218
|
+
/**
|
|
219
|
+
* @internal
|
|
220
|
+
*/
|
|
221
|
+
constructor(opts) {
|
|
222
|
+
super({
|
|
223
|
+
name: "AccessDeniedException",
|
|
224
|
+
$fault: "client",
|
|
225
|
+
...opts
|
|
226
|
+
});
|
|
227
|
+
this.name = "AccessDeniedException";
|
|
228
|
+
this.$fault = "client";
|
|
229
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
230
|
+
this.Message = opts.Message;
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
234
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
235
|
+
var ThresholdType = {
|
|
236
|
+
ABSOLUTE_VALUE: "ABSOLUTE_VALUE",
|
|
237
|
+
PERCENTAGE: "PERCENTAGE"
|
|
238
|
+
};
|
|
239
|
+
var ActionType = {
|
|
240
|
+
IAM: "APPLY_IAM_POLICY",
|
|
241
|
+
SCP: "APPLY_SCP_POLICY",
|
|
242
|
+
SSM: "RUN_SSM_DOCUMENTS"
|
|
243
|
+
};
|
|
244
|
+
var ApprovalModel = {
|
|
245
|
+
AUTO: "AUTOMATIC",
|
|
246
|
+
MANUAL: "MANUAL"
|
|
247
|
+
};
|
|
248
|
+
var ActionSubType = {
|
|
249
|
+
STOP_EC2: "STOP_EC2_INSTANCES",
|
|
250
|
+
STOP_RDS: "STOP_RDS_INSTANCES"
|
|
251
|
+
};
|
|
252
|
+
var NotificationType = {
|
|
253
|
+
ACTUAL: "ACTUAL",
|
|
254
|
+
FORECASTED: "FORECASTED"
|
|
255
|
+
};
|
|
256
|
+
var ActionStatus = {
|
|
257
|
+
Execution_Failure: "EXECUTION_FAILURE",
|
|
258
|
+
Execution_In_Progress: "EXECUTION_IN_PROGRESS",
|
|
259
|
+
Execution_Success: "EXECUTION_SUCCESS",
|
|
260
|
+
Pending: "PENDING",
|
|
261
|
+
Reset_Failure: "RESET_FAILURE",
|
|
262
|
+
Reset_In_Progress: "RESET_IN_PROGRESS",
|
|
263
|
+
Reverse_Failure: "REVERSE_FAILURE",
|
|
264
|
+
Reverse_In_Progress: "REVERSE_IN_PROGRESS",
|
|
265
|
+
Reverse_Success: "REVERSE_SUCCESS",
|
|
266
|
+
Standby: "STANDBY"
|
|
267
|
+
};
|
|
268
|
+
var SubscriptionType = {
|
|
269
|
+
EMAIL: "EMAIL",
|
|
270
|
+
SNS: "SNS"
|
|
271
|
+
};
|
|
272
|
+
var EventType = {
|
|
273
|
+
CreateAction: "CREATE_ACTION",
|
|
274
|
+
DeleteAction: "DELETE_ACTION",
|
|
275
|
+
ExecuteAction: "EXECUTE_ACTION",
|
|
276
|
+
System: "SYSTEM",
|
|
277
|
+
UpdateAction: "UPDATE_ACTION"
|
|
278
|
+
};
|
|
279
|
+
var AutoAdjustType = {
|
|
280
|
+
FORECAST: "FORECAST",
|
|
281
|
+
HISTORICAL: "HISTORICAL"
|
|
282
|
+
};
|
|
283
|
+
var BudgetType = {
|
|
284
|
+
Cost: "COST",
|
|
285
|
+
RICoverage: "RI_COVERAGE",
|
|
286
|
+
RIUtilization: "RI_UTILIZATION",
|
|
287
|
+
SPCoverage: "SAVINGS_PLANS_COVERAGE",
|
|
288
|
+
SPUtilization: "SAVINGS_PLANS_UTILIZATION",
|
|
289
|
+
Usage: "USAGE"
|
|
290
|
+
};
|
|
291
|
+
var TimeUnit = {
|
|
292
|
+
ANNUALLY: "ANNUALLY",
|
|
293
|
+
DAILY: "DAILY",
|
|
294
|
+
MONTHLY: "MONTHLY",
|
|
295
|
+
QUARTERLY: "QUARTERLY"
|
|
296
|
+
};
|
|
297
|
+
var ComparisonOperator = {
|
|
298
|
+
EQUAL_TO: "EQUAL_TO",
|
|
299
|
+
GREATER_THAN: "GREATER_THAN",
|
|
300
|
+
LESS_THAN: "LESS_THAN"
|
|
301
|
+
};
|
|
302
|
+
var NotificationState = {
|
|
303
|
+
ALARM: "ALARM",
|
|
304
|
+
OK: "OK"
|
|
305
|
+
};
|
|
306
|
+
var _CreationLimitExceededException = class _CreationLimitExceededException extends BudgetsServiceException {
|
|
307
|
+
/**
|
|
308
|
+
* @internal
|
|
309
|
+
*/
|
|
310
|
+
constructor(opts) {
|
|
311
|
+
super({
|
|
312
|
+
name: "CreationLimitExceededException",
|
|
313
|
+
$fault: "client",
|
|
314
|
+
...opts
|
|
315
|
+
});
|
|
316
|
+
this.name = "CreationLimitExceededException";
|
|
317
|
+
this.$fault = "client";
|
|
318
|
+
Object.setPrototypeOf(this, _CreationLimitExceededException.prototype);
|
|
319
|
+
this.Message = opts.Message;
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
__name(_CreationLimitExceededException, "CreationLimitExceededException");
|
|
323
|
+
var CreationLimitExceededException = _CreationLimitExceededException;
|
|
324
|
+
var _DuplicateRecordException = class _DuplicateRecordException extends BudgetsServiceException {
|
|
325
|
+
/**
|
|
326
|
+
* @internal
|
|
327
|
+
*/
|
|
328
|
+
constructor(opts) {
|
|
329
|
+
super({
|
|
330
|
+
name: "DuplicateRecordException",
|
|
331
|
+
$fault: "client",
|
|
332
|
+
...opts
|
|
333
|
+
});
|
|
334
|
+
this.name = "DuplicateRecordException";
|
|
335
|
+
this.$fault = "client";
|
|
336
|
+
Object.setPrototypeOf(this, _DuplicateRecordException.prototype);
|
|
337
|
+
this.Message = opts.Message;
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
__name(_DuplicateRecordException, "DuplicateRecordException");
|
|
341
|
+
var DuplicateRecordException = _DuplicateRecordException;
|
|
342
|
+
var _InternalErrorException = class _InternalErrorException extends BudgetsServiceException {
|
|
343
|
+
/**
|
|
344
|
+
* @internal
|
|
345
|
+
*/
|
|
346
|
+
constructor(opts) {
|
|
347
|
+
super({
|
|
348
|
+
name: "InternalErrorException",
|
|
349
|
+
$fault: "server",
|
|
350
|
+
...opts
|
|
351
|
+
});
|
|
352
|
+
this.name = "InternalErrorException";
|
|
353
|
+
this.$fault = "server";
|
|
354
|
+
Object.setPrototypeOf(this, _InternalErrorException.prototype);
|
|
355
|
+
this.Message = opts.Message;
|
|
356
|
+
}
|
|
357
|
+
};
|
|
358
|
+
__name(_InternalErrorException, "InternalErrorException");
|
|
359
|
+
var InternalErrorException = _InternalErrorException;
|
|
360
|
+
var _InvalidParameterException = class _InvalidParameterException extends BudgetsServiceException {
|
|
361
|
+
/**
|
|
362
|
+
* @internal
|
|
363
|
+
*/
|
|
364
|
+
constructor(opts) {
|
|
365
|
+
super({
|
|
366
|
+
name: "InvalidParameterException",
|
|
367
|
+
$fault: "client",
|
|
368
|
+
...opts
|
|
369
|
+
});
|
|
370
|
+
this.name = "InvalidParameterException";
|
|
371
|
+
this.$fault = "client";
|
|
372
|
+
Object.setPrototypeOf(this, _InvalidParameterException.prototype);
|
|
373
|
+
this.Message = opts.Message;
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
__name(_InvalidParameterException, "InvalidParameterException");
|
|
377
|
+
var InvalidParameterException = _InvalidParameterException;
|
|
378
|
+
var _ThrottlingException = class _ThrottlingException extends BudgetsServiceException {
|
|
379
|
+
/**
|
|
380
|
+
* @internal
|
|
381
|
+
*/
|
|
382
|
+
constructor(opts) {
|
|
383
|
+
super({
|
|
384
|
+
name: "ThrottlingException",
|
|
385
|
+
$fault: "client",
|
|
386
|
+
...opts
|
|
387
|
+
});
|
|
388
|
+
this.name = "ThrottlingException";
|
|
389
|
+
this.$fault = "client";
|
|
390
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
391
|
+
this.Message = opts.Message;
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
395
|
+
var ThrottlingException = _ThrottlingException;
|
|
396
|
+
var _NotFoundException = class _NotFoundException extends BudgetsServiceException {
|
|
397
|
+
/**
|
|
398
|
+
* @internal
|
|
399
|
+
*/
|
|
400
|
+
constructor(opts) {
|
|
401
|
+
super({
|
|
402
|
+
name: "NotFoundException",
|
|
403
|
+
$fault: "client",
|
|
404
|
+
...opts
|
|
405
|
+
});
|
|
406
|
+
this.name = "NotFoundException";
|
|
407
|
+
this.$fault = "client";
|
|
408
|
+
Object.setPrototypeOf(this, _NotFoundException.prototype);
|
|
409
|
+
this.Message = opts.Message;
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
__name(_NotFoundException, "NotFoundException");
|
|
413
|
+
var NotFoundException = _NotFoundException;
|
|
414
|
+
var _ResourceLockedException = class _ResourceLockedException extends BudgetsServiceException {
|
|
415
|
+
/**
|
|
416
|
+
* @internal
|
|
417
|
+
*/
|
|
418
|
+
constructor(opts) {
|
|
419
|
+
super({
|
|
420
|
+
name: "ResourceLockedException",
|
|
421
|
+
$fault: "client",
|
|
422
|
+
...opts
|
|
423
|
+
});
|
|
424
|
+
this.name = "ResourceLockedException";
|
|
425
|
+
this.$fault = "client";
|
|
426
|
+
Object.setPrototypeOf(this, _ResourceLockedException.prototype);
|
|
427
|
+
this.Message = opts.Message;
|
|
428
|
+
}
|
|
429
|
+
};
|
|
430
|
+
__name(_ResourceLockedException, "ResourceLockedException");
|
|
431
|
+
var ResourceLockedException = _ResourceLockedException;
|
|
432
|
+
var _InvalidNextTokenException = class _InvalidNextTokenException extends BudgetsServiceException {
|
|
433
|
+
/**
|
|
434
|
+
* @internal
|
|
435
|
+
*/
|
|
436
|
+
constructor(opts) {
|
|
437
|
+
super({
|
|
438
|
+
name: "InvalidNextTokenException",
|
|
439
|
+
$fault: "client",
|
|
440
|
+
...opts
|
|
441
|
+
});
|
|
442
|
+
this.name = "InvalidNextTokenException";
|
|
443
|
+
this.$fault = "client";
|
|
444
|
+
Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);
|
|
445
|
+
this.Message = opts.Message;
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
__name(_InvalidNextTokenException, "InvalidNextTokenException");
|
|
449
|
+
var InvalidNextTokenException = _InvalidNextTokenException;
|
|
450
|
+
var _ExpiredNextTokenException = class _ExpiredNextTokenException extends BudgetsServiceException {
|
|
451
|
+
/**
|
|
452
|
+
* @internal
|
|
453
|
+
*/
|
|
454
|
+
constructor(opts) {
|
|
455
|
+
super({
|
|
456
|
+
name: "ExpiredNextTokenException",
|
|
457
|
+
$fault: "client",
|
|
458
|
+
...opts
|
|
459
|
+
});
|
|
460
|
+
this.name = "ExpiredNextTokenException";
|
|
461
|
+
this.$fault = "client";
|
|
462
|
+
Object.setPrototypeOf(this, _ExpiredNextTokenException.prototype);
|
|
463
|
+
this.Message = opts.Message;
|
|
464
|
+
}
|
|
465
|
+
};
|
|
466
|
+
__name(_ExpiredNextTokenException, "ExpiredNextTokenException");
|
|
467
|
+
var ExpiredNextTokenException = _ExpiredNextTokenException;
|
|
468
|
+
var ExecutionType = {
|
|
469
|
+
ApproveBudgetAction: "APPROVE_BUDGET_ACTION",
|
|
470
|
+
ResetBudgetAction: "RESET_BUDGET_ACTION",
|
|
471
|
+
RetryBudgetAction: "RETRY_BUDGET_ACTION",
|
|
472
|
+
ReverseBudgetAction: "REVERSE_BUDGET_ACTION"
|
|
473
|
+
};
|
|
474
|
+
var SubscriberFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
475
|
+
...obj,
|
|
476
|
+
...obj.Address && { Address: import_smithy_client.SENSITIVE_STRING }
|
|
477
|
+
}), "SubscriberFilterSensitiveLog");
|
|
478
|
+
var ActionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
479
|
+
...obj,
|
|
480
|
+
...obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }
|
|
481
|
+
}), "ActionFilterSensitiveLog");
|
|
482
|
+
var ActionHistoryDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
483
|
+
...obj,
|
|
484
|
+
...obj.Action && { Action: ActionFilterSensitiveLog(obj.Action) }
|
|
485
|
+
}), "ActionHistoryDetailsFilterSensitiveLog");
|
|
486
|
+
var ActionHistoryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
487
|
+
...obj,
|
|
488
|
+
...obj.ActionHistoryDetails && {
|
|
489
|
+
ActionHistoryDetails: ActionHistoryDetailsFilterSensitiveLog(obj.ActionHistoryDetails)
|
|
490
|
+
}
|
|
491
|
+
}), "ActionHistoryFilterSensitiveLog");
|
|
492
|
+
var NotificationWithSubscribersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
493
|
+
...obj,
|
|
494
|
+
...obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }
|
|
495
|
+
}), "NotificationWithSubscribersFilterSensitiveLog");
|
|
496
|
+
var CreateBudgetRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
497
|
+
...obj
|
|
498
|
+
}), "CreateBudgetRequestFilterSensitiveLog");
|
|
499
|
+
var CreateBudgetActionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
500
|
+
...obj,
|
|
501
|
+
...obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }
|
|
502
|
+
}), "CreateBudgetActionRequestFilterSensitiveLog");
|
|
503
|
+
var CreateNotificationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
504
|
+
...obj,
|
|
505
|
+
...obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }
|
|
506
|
+
}), "CreateNotificationRequestFilterSensitiveLog");
|
|
507
|
+
var CreateSubscriberRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
508
|
+
...obj,
|
|
509
|
+
...obj.Subscriber && { Subscriber: SubscriberFilterSensitiveLog(obj.Subscriber) }
|
|
510
|
+
}), "CreateSubscriberRequestFilterSensitiveLog");
|
|
511
|
+
var DeleteBudgetActionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
512
|
+
...obj,
|
|
513
|
+
...obj.Action && { Action: ActionFilterSensitiveLog(obj.Action) }
|
|
514
|
+
}), "DeleteBudgetActionResponseFilterSensitiveLog");
|
|
515
|
+
var DeleteSubscriberRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
516
|
+
...obj,
|
|
517
|
+
...obj.Subscriber && { Subscriber: SubscriberFilterSensitiveLog(obj.Subscriber) }
|
|
518
|
+
}), "DeleteSubscriberRequestFilterSensitiveLog");
|
|
519
|
+
var DescribeBudgetActionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
520
|
+
...obj,
|
|
521
|
+
...obj.Action && { Action: ActionFilterSensitiveLog(obj.Action) }
|
|
522
|
+
}), "DescribeBudgetActionResponseFilterSensitiveLog");
|
|
523
|
+
var DescribeBudgetActionHistoriesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
524
|
+
...obj
|
|
525
|
+
}), "DescribeBudgetActionHistoriesResponseFilterSensitiveLog");
|
|
526
|
+
var DescribeBudgetActionsForAccountResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
527
|
+
...obj
|
|
528
|
+
}), "DescribeBudgetActionsForAccountResponseFilterSensitiveLog");
|
|
529
|
+
var DescribeBudgetActionsForBudgetResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
530
|
+
...obj
|
|
531
|
+
}), "DescribeBudgetActionsForBudgetResponseFilterSensitiveLog");
|
|
532
|
+
var DescribeSubscribersForNotificationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
533
|
+
...obj,
|
|
534
|
+
...obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }
|
|
535
|
+
}), "DescribeSubscribersForNotificationResponseFilterSensitiveLog");
|
|
536
|
+
var UpdateBudgetActionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
537
|
+
...obj,
|
|
538
|
+
...obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }
|
|
539
|
+
}), "UpdateBudgetActionRequestFilterSensitiveLog");
|
|
540
|
+
var UpdateBudgetActionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
541
|
+
...obj,
|
|
542
|
+
...obj.OldAction && { OldAction: ActionFilterSensitiveLog(obj.OldAction) },
|
|
543
|
+
...obj.NewAction && { NewAction: ActionFilterSensitiveLog(obj.NewAction) }
|
|
544
|
+
}), "UpdateBudgetActionResponseFilterSensitiveLog");
|
|
545
|
+
var UpdateSubscriberRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
546
|
+
...obj,
|
|
547
|
+
...obj.OldSubscriber && { OldSubscriber: SubscriberFilterSensitiveLog(obj.OldSubscriber) },
|
|
548
|
+
...obj.NewSubscriber && { NewSubscriber: SubscriberFilterSensitiveLog(obj.NewSubscriber) }
|
|
549
|
+
}), "UpdateSubscriberRequestFilterSensitiveLog");
|
|
550
|
+
|
|
551
|
+
// src/protocols/Aws_json1_1.ts
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
var se_CreateBudgetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
555
|
+
const headers = sharedHeaders("CreateBudget");
|
|
556
|
+
let body;
|
|
557
|
+
body = JSON.stringify(se_CreateBudgetRequest(input, context));
|
|
558
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
559
|
+
}, "se_CreateBudgetCommand");
|
|
560
|
+
var se_CreateBudgetActionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
561
|
+
const headers = sharedHeaders("CreateBudgetAction");
|
|
562
|
+
let body;
|
|
563
|
+
body = JSON.stringify(se_CreateBudgetActionRequest(input, context));
|
|
564
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
565
|
+
}, "se_CreateBudgetActionCommand");
|
|
566
|
+
var se_CreateNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
567
|
+
const headers = sharedHeaders("CreateNotification");
|
|
568
|
+
let body;
|
|
569
|
+
body = JSON.stringify(se_CreateNotificationRequest(input, context));
|
|
570
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
571
|
+
}, "se_CreateNotificationCommand");
|
|
572
|
+
var se_CreateSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
573
|
+
const headers = sharedHeaders("CreateSubscriber");
|
|
574
|
+
let body;
|
|
575
|
+
body = JSON.stringify(se_CreateSubscriberRequest(input, context));
|
|
576
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
577
|
+
}, "se_CreateSubscriberCommand");
|
|
578
|
+
var se_DeleteBudgetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
579
|
+
const headers = sharedHeaders("DeleteBudget");
|
|
580
|
+
let body;
|
|
581
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
582
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
583
|
+
}, "se_DeleteBudgetCommand");
|
|
584
|
+
var se_DeleteBudgetActionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
585
|
+
const headers = sharedHeaders("DeleteBudgetAction");
|
|
586
|
+
let body;
|
|
587
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
588
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
589
|
+
}, "se_DeleteBudgetActionCommand");
|
|
590
|
+
var se_DeleteNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
591
|
+
const headers = sharedHeaders("DeleteNotification");
|
|
592
|
+
let body;
|
|
593
|
+
body = JSON.stringify(se_DeleteNotificationRequest(input, context));
|
|
594
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
595
|
+
}, "se_DeleteNotificationCommand");
|
|
596
|
+
var se_DeleteSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
597
|
+
const headers = sharedHeaders("DeleteSubscriber");
|
|
598
|
+
let body;
|
|
599
|
+
body = JSON.stringify(se_DeleteSubscriberRequest(input, context));
|
|
600
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
601
|
+
}, "se_DeleteSubscriberCommand");
|
|
602
|
+
var se_DescribeBudgetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
603
|
+
const headers = sharedHeaders("DescribeBudget");
|
|
604
|
+
let body;
|
|
605
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
606
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
607
|
+
}, "se_DescribeBudgetCommand");
|
|
608
|
+
var se_DescribeBudgetActionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
609
|
+
const headers = sharedHeaders("DescribeBudgetAction");
|
|
610
|
+
let body;
|
|
611
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
612
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
613
|
+
}, "se_DescribeBudgetActionCommand");
|
|
614
|
+
var se_DescribeBudgetActionHistoriesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
615
|
+
const headers = sharedHeaders("DescribeBudgetActionHistories");
|
|
616
|
+
let body;
|
|
617
|
+
body = JSON.stringify(se_DescribeBudgetActionHistoriesRequest(input, context));
|
|
618
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
619
|
+
}, "se_DescribeBudgetActionHistoriesCommand");
|
|
620
|
+
var se_DescribeBudgetActionsForAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
621
|
+
const headers = sharedHeaders("DescribeBudgetActionsForAccount");
|
|
622
|
+
let body;
|
|
623
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
624
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
625
|
+
}, "se_DescribeBudgetActionsForAccountCommand");
|
|
626
|
+
var se_DescribeBudgetActionsForBudgetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
627
|
+
const headers = sharedHeaders("DescribeBudgetActionsForBudget");
|
|
628
|
+
let body;
|
|
629
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
630
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
631
|
+
}, "se_DescribeBudgetActionsForBudgetCommand");
|
|
632
|
+
var se_DescribeBudgetNotificationsForAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
633
|
+
const headers = sharedHeaders("DescribeBudgetNotificationsForAccount");
|
|
634
|
+
let body;
|
|
635
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
636
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
637
|
+
}, "se_DescribeBudgetNotificationsForAccountCommand");
|
|
638
|
+
var se_DescribeBudgetPerformanceHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
639
|
+
const headers = sharedHeaders("DescribeBudgetPerformanceHistory");
|
|
640
|
+
let body;
|
|
641
|
+
body = JSON.stringify(se_DescribeBudgetPerformanceHistoryRequest(input, context));
|
|
642
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
643
|
+
}, "se_DescribeBudgetPerformanceHistoryCommand");
|
|
644
|
+
var se_DescribeBudgetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
645
|
+
const headers = sharedHeaders("DescribeBudgets");
|
|
646
|
+
let body;
|
|
647
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
648
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
649
|
+
}, "se_DescribeBudgetsCommand");
|
|
650
|
+
var se_DescribeNotificationsForBudgetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
651
|
+
const headers = sharedHeaders("DescribeNotificationsForBudget");
|
|
652
|
+
let body;
|
|
653
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
654
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
655
|
+
}, "se_DescribeNotificationsForBudgetCommand");
|
|
656
|
+
var se_DescribeSubscribersForNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
657
|
+
const headers = sharedHeaders("DescribeSubscribersForNotification");
|
|
658
|
+
let body;
|
|
659
|
+
body = JSON.stringify(se_DescribeSubscribersForNotificationRequest(input, context));
|
|
660
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
661
|
+
}, "se_DescribeSubscribersForNotificationCommand");
|
|
662
|
+
var se_ExecuteBudgetActionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
663
|
+
const headers = sharedHeaders("ExecuteBudgetAction");
|
|
664
|
+
let body;
|
|
665
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
666
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
667
|
+
}, "se_ExecuteBudgetActionCommand");
|
|
668
|
+
var se_UpdateBudgetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
669
|
+
const headers = sharedHeaders("UpdateBudget");
|
|
670
|
+
let body;
|
|
671
|
+
body = JSON.stringify(se_UpdateBudgetRequest(input, context));
|
|
672
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
673
|
+
}, "se_UpdateBudgetCommand");
|
|
674
|
+
var se_UpdateBudgetActionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
675
|
+
const headers = sharedHeaders("UpdateBudgetAction");
|
|
676
|
+
let body;
|
|
677
|
+
body = JSON.stringify(se_UpdateBudgetActionRequest(input, context));
|
|
678
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
679
|
+
}, "se_UpdateBudgetActionCommand");
|
|
680
|
+
var se_UpdateNotificationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
681
|
+
const headers = sharedHeaders("UpdateNotification");
|
|
682
|
+
let body;
|
|
683
|
+
body = JSON.stringify(se_UpdateNotificationRequest(input, context));
|
|
684
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
685
|
+
}, "se_UpdateNotificationCommand");
|
|
686
|
+
var se_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
687
|
+
const headers = sharedHeaders("UpdateSubscriber");
|
|
688
|
+
let body;
|
|
689
|
+
body = JSON.stringify(se_UpdateSubscriberRequest(input, context));
|
|
690
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
691
|
+
}, "se_UpdateSubscriberCommand");
|
|
692
|
+
var de_CreateBudgetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
693
|
+
if (output.statusCode >= 300) {
|
|
694
|
+
return de_CreateBudgetCommandError(output, context);
|
|
695
|
+
}
|
|
696
|
+
const data = await parseBody(output.body, context);
|
|
697
|
+
let contents = {};
|
|
698
|
+
contents = (0, import_smithy_client._json)(data);
|
|
699
|
+
const response = {
|
|
700
|
+
$metadata: deserializeMetadata(output),
|
|
701
|
+
...contents
|
|
702
|
+
};
|
|
703
|
+
return response;
|
|
704
|
+
}, "de_CreateBudgetCommand");
|
|
705
|
+
var de_CreateBudgetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
706
|
+
const parsedOutput = {
|
|
707
|
+
...output,
|
|
708
|
+
body: await parseErrorBody(output.body, context)
|
|
709
|
+
};
|
|
710
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
711
|
+
switch (errorCode) {
|
|
712
|
+
case "AccessDeniedException":
|
|
713
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
714
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
715
|
+
case "CreationLimitExceededException":
|
|
716
|
+
case "com.amazonaws.budgets#CreationLimitExceededException":
|
|
717
|
+
throw await de_CreationLimitExceededExceptionRes(parsedOutput, context);
|
|
718
|
+
case "DuplicateRecordException":
|
|
719
|
+
case "com.amazonaws.budgets#DuplicateRecordException":
|
|
720
|
+
throw await de_DuplicateRecordExceptionRes(parsedOutput, context);
|
|
721
|
+
case "InternalErrorException":
|
|
722
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
723
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
724
|
+
case "InvalidParameterException":
|
|
725
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
726
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
727
|
+
case "ThrottlingException":
|
|
728
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
729
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
730
|
+
default:
|
|
731
|
+
const parsedBody = parsedOutput.body;
|
|
732
|
+
return throwDefaultError({
|
|
733
|
+
output,
|
|
734
|
+
parsedBody,
|
|
735
|
+
errorCode
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
}, "de_CreateBudgetCommandError");
|
|
739
|
+
var de_CreateBudgetActionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
740
|
+
if (output.statusCode >= 300) {
|
|
741
|
+
return de_CreateBudgetActionCommandError(output, context);
|
|
742
|
+
}
|
|
743
|
+
const data = await parseBody(output.body, context);
|
|
744
|
+
let contents = {};
|
|
745
|
+
contents = (0, import_smithy_client._json)(data);
|
|
746
|
+
const response = {
|
|
747
|
+
$metadata: deserializeMetadata(output),
|
|
748
|
+
...contents
|
|
749
|
+
};
|
|
750
|
+
return response;
|
|
751
|
+
}, "de_CreateBudgetActionCommand");
|
|
752
|
+
var de_CreateBudgetActionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
753
|
+
const parsedOutput = {
|
|
754
|
+
...output,
|
|
755
|
+
body: await parseErrorBody(output.body, context)
|
|
756
|
+
};
|
|
757
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
758
|
+
switch (errorCode) {
|
|
759
|
+
case "AccessDeniedException":
|
|
760
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
761
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
762
|
+
case "CreationLimitExceededException":
|
|
763
|
+
case "com.amazonaws.budgets#CreationLimitExceededException":
|
|
764
|
+
throw await de_CreationLimitExceededExceptionRes(parsedOutput, context);
|
|
765
|
+
case "DuplicateRecordException":
|
|
766
|
+
case "com.amazonaws.budgets#DuplicateRecordException":
|
|
767
|
+
throw await de_DuplicateRecordExceptionRes(parsedOutput, context);
|
|
768
|
+
case "InternalErrorException":
|
|
769
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
770
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
771
|
+
case "InvalidParameterException":
|
|
772
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
773
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
774
|
+
case "NotFoundException":
|
|
775
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
776
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
777
|
+
case "ThrottlingException":
|
|
778
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
779
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
780
|
+
default:
|
|
781
|
+
const parsedBody = parsedOutput.body;
|
|
782
|
+
return throwDefaultError({
|
|
783
|
+
output,
|
|
784
|
+
parsedBody,
|
|
785
|
+
errorCode
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
}, "de_CreateBudgetActionCommandError");
|
|
789
|
+
var de_CreateNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
790
|
+
if (output.statusCode >= 300) {
|
|
791
|
+
return de_CreateNotificationCommandError(output, context);
|
|
792
|
+
}
|
|
793
|
+
const data = await parseBody(output.body, context);
|
|
794
|
+
let contents = {};
|
|
795
|
+
contents = (0, import_smithy_client._json)(data);
|
|
796
|
+
const response = {
|
|
797
|
+
$metadata: deserializeMetadata(output),
|
|
798
|
+
...contents
|
|
799
|
+
};
|
|
800
|
+
return response;
|
|
801
|
+
}, "de_CreateNotificationCommand");
|
|
802
|
+
var de_CreateNotificationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
803
|
+
const parsedOutput = {
|
|
804
|
+
...output,
|
|
805
|
+
body: await parseErrorBody(output.body, context)
|
|
806
|
+
};
|
|
807
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
808
|
+
switch (errorCode) {
|
|
809
|
+
case "AccessDeniedException":
|
|
810
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
811
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
812
|
+
case "CreationLimitExceededException":
|
|
813
|
+
case "com.amazonaws.budgets#CreationLimitExceededException":
|
|
814
|
+
throw await de_CreationLimitExceededExceptionRes(parsedOutput, context);
|
|
815
|
+
case "DuplicateRecordException":
|
|
816
|
+
case "com.amazonaws.budgets#DuplicateRecordException":
|
|
817
|
+
throw await de_DuplicateRecordExceptionRes(parsedOutput, context);
|
|
818
|
+
case "InternalErrorException":
|
|
819
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
820
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
821
|
+
case "InvalidParameterException":
|
|
822
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
823
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
824
|
+
case "NotFoundException":
|
|
825
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
826
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
827
|
+
case "ThrottlingException":
|
|
828
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
829
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
830
|
+
default:
|
|
831
|
+
const parsedBody = parsedOutput.body;
|
|
832
|
+
return throwDefaultError({
|
|
833
|
+
output,
|
|
834
|
+
parsedBody,
|
|
835
|
+
errorCode
|
|
836
|
+
});
|
|
837
|
+
}
|
|
838
|
+
}, "de_CreateNotificationCommandError");
|
|
839
|
+
var de_CreateSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
840
|
+
if (output.statusCode >= 300) {
|
|
841
|
+
return de_CreateSubscriberCommandError(output, context);
|
|
842
|
+
}
|
|
843
|
+
const data = await parseBody(output.body, context);
|
|
844
|
+
let contents = {};
|
|
845
|
+
contents = (0, import_smithy_client._json)(data);
|
|
846
|
+
const response = {
|
|
847
|
+
$metadata: deserializeMetadata(output),
|
|
848
|
+
...contents
|
|
849
|
+
};
|
|
850
|
+
return response;
|
|
851
|
+
}, "de_CreateSubscriberCommand");
|
|
852
|
+
var de_CreateSubscriberCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
853
|
+
const parsedOutput = {
|
|
854
|
+
...output,
|
|
855
|
+
body: await parseErrorBody(output.body, context)
|
|
856
|
+
};
|
|
857
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
858
|
+
switch (errorCode) {
|
|
859
|
+
case "AccessDeniedException":
|
|
860
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
861
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
862
|
+
case "CreationLimitExceededException":
|
|
863
|
+
case "com.amazonaws.budgets#CreationLimitExceededException":
|
|
864
|
+
throw await de_CreationLimitExceededExceptionRes(parsedOutput, context);
|
|
865
|
+
case "DuplicateRecordException":
|
|
866
|
+
case "com.amazonaws.budgets#DuplicateRecordException":
|
|
867
|
+
throw await de_DuplicateRecordExceptionRes(parsedOutput, context);
|
|
868
|
+
case "InternalErrorException":
|
|
869
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
870
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
871
|
+
case "InvalidParameterException":
|
|
872
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
873
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
874
|
+
case "NotFoundException":
|
|
875
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
876
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
877
|
+
case "ThrottlingException":
|
|
878
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
879
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
880
|
+
default:
|
|
881
|
+
const parsedBody = parsedOutput.body;
|
|
882
|
+
return throwDefaultError({
|
|
883
|
+
output,
|
|
884
|
+
parsedBody,
|
|
885
|
+
errorCode
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
}, "de_CreateSubscriberCommandError");
|
|
889
|
+
var de_DeleteBudgetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
890
|
+
if (output.statusCode >= 300) {
|
|
891
|
+
return de_DeleteBudgetCommandError(output, context);
|
|
892
|
+
}
|
|
893
|
+
const data = await parseBody(output.body, context);
|
|
894
|
+
let contents = {};
|
|
895
|
+
contents = (0, import_smithy_client._json)(data);
|
|
896
|
+
const response = {
|
|
897
|
+
$metadata: deserializeMetadata(output),
|
|
898
|
+
...contents
|
|
899
|
+
};
|
|
900
|
+
return response;
|
|
901
|
+
}, "de_DeleteBudgetCommand");
|
|
902
|
+
var de_DeleteBudgetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
903
|
+
const parsedOutput = {
|
|
904
|
+
...output,
|
|
905
|
+
body: await parseErrorBody(output.body, context)
|
|
906
|
+
};
|
|
907
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
908
|
+
switch (errorCode) {
|
|
909
|
+
case "AccessDeniedException":
|
|
910
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
911
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
912
|
+
case "InternalErrorException":
|
|
913
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
914
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
915
|
+
case "InvalidParameterException":
|
|
916
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
917
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
918
|
+
case "NotFoundException":
|
|
919
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
920
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
921
|
+
case "ThrottlingException":
|
|
922
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
923
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
924
|
+
default:
|
|
925
|
+
const parsedBody = parsedOutput.body;
|
|
926
|
+
return throwDefaultError({
|
|
927
|
+
output,
|
|
928
|
+
parsedBody,
|
|
929
|
+
errorCode
|
|
930
|
+
});
|
|
931
|
+
}
|
|
932
|
+
}, "de_DeleteBudgetCommandError");
|
|
933
|
+
var de_DeleteBudgetActionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
934
|
+
if (output.statusCode >= 300) {
|
|
935
|
+
return de_DeleteBudgetActionCommandError(output, context);
|
|
936
|
+
}
|
|
937
|
+
const data = await parseBody(output.body, context);
|
|
938
|
+
let contents = {};
|
|
939
|
+
contents = de_DeleteBudgetActionResponse(data, context);
|
|
940
|
+
const response = {
|
|
941
|
+
$metadata: deserializeMetadata(output),
|
|
942
|
+
...contents
|
|
943
|
+
};
|
|
944
|
+
return response;
|
|
945
|
+
}, "de_DeleteBudgetActionCommand");
|
|
946
|
+
var de_DeleteBudgetActionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
947
|
+
const parsedOutput = {
|
|
948
|
+
...output,
|
|
949
|
+
body: await parseErrorBody(output.body, context)
|
|
950
|
+
};
|
|
951
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
952
|
+
switch (errorCode) {
|
|
953
|
+
case "AccessDeniedException":
|
|
954
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
955
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
956
|
+
case "InternalErrorException":
|
|
957
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
958
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
959
|
+
case "InvalidParameterException":
|
|
960
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
961
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
962
|
+
case "NotFoundException":
|
|
963
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
964
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
965
|
+
case "ResourceLockedException":
|
|
966
|
+
case "com.amazonaws.budgets#ResourceLockedException":
|
|
967
|
+
throw await de_ResourceLockedExceptionRes(parsedOutput, context);
|
|
968
|
+
case "ThrottlingException":
|
|
969
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
970
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
971
|
+
default:
|
|
972
|
+
const parsedBody = parsedOutput.body;
|
|
973
|
+
return throwDefaultError({
|
|
974
|
+
output,
|
|
975
|
+
parsedBody,
|
|
976
|
+
errorCode
|
|
977
|
+
});
|
|
978
|
+
}
|
|
979
|
+
}, "de_DeleteBudgetActionCommandError");
|
|
980
|
+
var de_DeleteNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
981
|
+
if (output.statusCode >= 300) {
|
|
982
|
+
return de_DeleteNotificationCommandError(output, context);
|
|
983
|
+
}
|
|
984
|
+
const data = await parseBody(output.body, context);
|
|
985
|
+
let contents = {};
|
|
986
|
+
contents = (0, import_smithy_client._json)(data);
|
|
987
|
+
const response = {
|
|
988
|
+
$metadata: deserializeMetadata(output),
|
|
989
|
+
...contents
|
|
990
|
+
};
|
|
991
|
+
return response;
|
|
992
|
+
}, "de_DeleteNotificationCommand");
|
|
993
|
+
var de_DeleteNotificationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
994
|
+
const parsedOutput = {
|
|
995
|
+
...output,
|
|
996
|
+
body: await parseErrorBody(output.body, context)
|
|
997
|
+
};
|
|
998
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
999
|
+
switch (errorCode) {
|
|
1000
|
+
case "AccessDeniedException":
|
|
1001
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1002
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1003
|
+
case "InternalErrorException":
|
|
1004
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1005
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1006
|
+
case "InvalidParameterException":
|
|
1007
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1008
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1009
|
+
case "NotFoundException":
|
|
1010
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1011
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1012
|
+
case "ThrottlingException":
|
|
1013
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1014
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1015
|
+
default:
|
|
1016
|
+
const parsedBody = parsedOutput.body;
|
|
1017
|
+
return throwDefaultError({
|
|
1018
|
+
output,
|
|
1019
|
+
parsedBody,
|
|
1020
|
+
errorCode
|
|
1021
|
+
});
|
|
1022
|
+
}
|
|
1023
|
+
}, "de_DeleteNotificationCommandError");
|
|
1024
|
+
var de_DeleteSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1025
|
+
if (output.statusCode >= 300) {
|
|
1026
|
+
return de_DeleteSubscriberCommandError(output, context);
|
|
1027
|
+
}
|
|
1028
|
+
const data = await parseBody(output.body, context);
|
|
1029
|
+
let contents = {};
|
|
1030
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1031
|
+
const response = {
|
|
1032
|
+
$metadata: deserializeMetadata(output),
|
|
1033
|
+
...contents
|
|
1034
|
+
};
|
|
1035
|
+
return response;
|
|
1036
|
+
}, "de_DeleteSubscriberCommand");
|
|
1037
|
+
var de_DeleteSubscriberCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1038
|
+
const parsedOutput = {
|
|
1039
|
+
...output,
|
|
1040
|
+
body: await parseErrorBody(output.body, context)
|
|
1041
|
+
};
|
|
1042
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1043
|
+
switch (errorCode) {
|
|
1044
|
+
case "AccessDeniedException":
|
|
1045
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1046
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1047
|
+
case "InternalErrorException":
|
|
1048
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1049
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1050
|
+
case "InvalidParameterException":
|
|
1051
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1052
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1053
|
+
case "NotFoundException":
|
|
1054
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1055
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1056
|
+
case "ThrottlingException":
|
|
1057
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1058
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1059
|
+
default:
|
|
1060
|
+
const parsedBody = parsedOutput.body;
|
|
1061
|
+
return throwDefaultError({
|
|
1062
|
+
output,
|
|
1063
|
+
parsedBody,
|
|
1064
|
+
errorCode
|
|
1065
|
+
});
|
|
1066
|
+
}
|
|
1067
|
+
}, "de_DeleteSubscriberCommandError");
|
|
1068
|
+
var de_DescribeBudgetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1069
|
+
if (output.statusCode >= 300) {
|
|
1070
|
+
return de_DescribeBudgetCommandError(output, context);
|
|
1071
|
+
}
|
|
1072
|
+
const data = await parseBody(output.body, context);
|
|
1073
|
+
let contents = {};
|
|
1074
|
+
contents = de_DescribeBudgetResponse(data, context);
|
|
1075
|
+
const response = {
|
|
1076
|
+
$metadata: deserializeMetadata(output),
|
|
1077
|
+
...contents
|
|
1078
|
+
};
|
|
1079
|
+
return response;
|
|
1080
|
+
}, "de_DescribeBudgetCommand");
|
|
1081
|
+
var de_DescribeBudgetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1082
|
+
const parsedOutput = {
|
|
1083
|
+
...output,
|
|
1084
|
+
body: await parseErrorBody(output.body, context)
|
|
1085
|
+
};
|
|
1086
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1087
|
+
switch (errorCode) {
|
|
1088
|
+
case "AccessDeniedException":
|
|
1089
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1090
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1091
|
+
case "InternalErrorException":
|
|
1092
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1093
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1094
|
+
case "InvalidParameterException":
|
|
1095
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1096
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1097
|
+
case "NotFoundException":
|
|
1098
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1099
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1100
|
+
case "ThrottlingException":
|
|
1101
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1102
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1103
|
+
default:
|
|
1104
|
+
const parsedBody = parsedOutput.body;
|
|
1105
|
+
return throwDefaultError({
|
|
1106
|
+
output,
|
|
1107
|
+
parsedBody,
|
|
1108
|
+
errorCode
|
|
1109
|
+
});
|
|
1110
|
+
}
|
|
1111
|
+
}, "de_DescribeBudgetCommandError");
|
|
1112
|
+
var de_DescribeBudgetActionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1113
|
+
if (output.statusCode >= 300) {
|
|
1114
|
+
return de_DescribeBudgetActionCommandError(output, context);
|
|
1115
|
+
}
|
|
1116
|
+
const data = await parseBody(output.body, context);
|
|
1117
|
+
let contents = {};
|
|
1118
|
+
contents = de_DescribeBudgetActionResponse(data, context);
|
|
1119
|
+
const response = {
|
|
1120
|
+
$metadata: deserializeMetadata(output),
|
|
1121
|
+
...contents
|
|
1122
|
+
};
|
|
1123
|
+
return response;
|
|
1124
|
+
}, "de_DescribeBudgetActionCommand");
|
|
1125
|
+
var de_DescribeBudgetActionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1126
|
+
const parsedOutput = {
|
|
1127
|
+
...output,
|
|
1128
|
+
body: await parseErrorBody(output.body, context)
|
|
1129
|
+
};
|
|
1130
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1131
|
+
switch (errorCode) {
|
|
1132
|
+
case "AccessDeniedException":
|
|
1133
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1134
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1135
|
+
case "InternalErrorException":
|
|
1136
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1137
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1138
|
+
case "InvalidParameterException":
|
|
1139
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1140
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1141
|
+
case "NotFoundException":
|
|
1142
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1143
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1144
|
+
case "ThrottlingException":
|
|
1145
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1146
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1147
|
+
default:
|
|
1148
|
+
const parsedBody = parsedOutput.body;
|
|
1149
|
+
return throwDefaultError({
|
|
1150
|
+
output,
|
|
1151
|
+
parsedBody,
|
|
1152
|
+
errorCode
|
|
1153
|
+
});
|
|
1154
|
+
}
|
|
1155
|
+
}, "de_DescribeBudgetActionCommandError");
|
|
1156
|
+
var de_DescribeBudgetActionHistoriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1157
|
+
if (output.statusCode >= 300) {
|
|
1158
|
+
return de_DescribeBudgetActionHistoriesCommandError(output, context);
|
|
1159
|
+
}
|
|
1160
|
+
const data = await parseBody(output.body, context);
|
|
1161
|
+
let contents = {};
|
|
1162
|
+
contents = de_DescribeBudgetActionHistoriesResponse(data, context);
|
|
1163
|
+
const response = {
|
|
1164
|
+
$metadata: deserializeMetadata(output),
|
|
1165
|
+
...contents
|
|
1166
|
+
};
|
|
1167
|
+
return response;
|
|
1168
|
+
}, "de_DescribeBudgetActionHistoriesCommand");
|
|
1169
|
+
var de_DescribeBudgetActionHistoriesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1170
|
+
const parsedOutput = {
|
|
1171
|
+
...output,
|
|
1172
|
+
body: await parseErrorBody(output.body, context)
|
|
1173
|
+
};
|
|
1174
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1175
|
+
switch (errorCode) {
|
|
1176
|
+
case "AccessDeniedException":
|
|
1177
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1178
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1179
|
+
case "InternalErrorException":
|
|
1180
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1181
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1182
|
+
case "InvalidNextTokenException":
|
|
1183
|
+
case "com.amazonaws.budgets#InvalidNextTokenException":
|
|
1184
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1185
|
+
case "InvalidParameterException":
|
|
1186
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1187
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1188
|
+
case "NotFoundException":
|
|
1189
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1190
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1191
|
+
case "ThrottlingException":
|
|
1192
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1193
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1194
|
+
default:
|
|
1195
|
+
const parsedBody = parsedOutput.body;
|
|
1196
|
+
return throwDefaultError({
|
|
1197
|
+
output,
|
|
1198
|
+
parsedBody,
|
|
1199
|
+
errorCode
|
|
1200
|
+
});
|
|
1201
|
+
}
|
|
1202
|
+
}, "de_DescribeBudgetActionHistoriesCommandError");
|
|
1203
|
+
var de_DescribeBudgetActionsForAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1204
|
+
if (output.statusCode >= 300) {
|
|
1205
|
+
return de_DescribeBudgetActionsForAccountCommandError(output, context);
|
|
1206
|
+
}
|
|
1207
|
+
const data = await parseBody(output.body, context);
|
|
1208
|
+
let contents = {};
|
|
1209
|
+
contents = de_DescribeBudgetActionsForAccountResponse(data, context);
|
|
1210
|
+
const response = {
|
|
1211
|
+
$metadata: deserializeMetadata(output),
|
|
1212
|
+
...contents
|
|
1213
|
+
};
|
|
1214
|
+
return response;
|
|
1215
|
+
}, "de_DescribeBudgetActionsForAccountCommand");
|
|
1216
|
+
var de_DescribeBudgetActionsForAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1217
|
+
const parsedOutput = {
|
|
1218
|
+
...output,
|
|
1219
|
+
body: await parseErrorBody(output.body, context)
|
|
1220
|
+
};
|
|
1221
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1222
|
+
switch (errorCode) {
|
|
1223
|
+
case "AccessDeniedException":
|
|
1224
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1225
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1226
|
+
case "InternalErrorException":
|
|
1227
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1228
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1229
|
+
case "InvalidNextTokenException":
|
|
1230
|
+
case "com.amazonaws.budgets#InvalidNextTokenException":
|
|
1231
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1232
|
+
case "InvalidParameterException":
|
|
1233
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1234
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1235
|
+
case "ThrottlingException":
|
|
1236
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1237
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1238
|
+
default:
|
|
1239
|
+
const parsedBody = parsedOutput.body;
|
|
1240
|
+
return throwDefaultError({
|
|
1241
|
+
output,
|
|
1242
|
+
parsedBody,
|
|
1243
|
+
errorCode
|
|
1244
|
+
});
|
|
1245
|
+
}
|
|
1246
|
+
}, "de_DescribeBudgetActionsForAccountCommandError");
|
|
1247
|
+
var de_DescribeBudgetActionsForBudgetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1248
|
+
if (output.statusCode >= 300) {
|
|
1249
|
+
return de_DescribeBudgetActionsForBudgetCommandError(output, context);
|
|
1250
|
+
}
|
|
1251
|
+
const data = await parseBody(output.body, context);
|
|
1252
|
+
let contents = {};
|
|
1253
|
+
contents = de_DescribeBudgetActionsForBudgetResponse(data, context);
|
|
1254
|
+
const response = {
|
|
1255
|
+
$metadata: deserializeMetadata(output),
|
|
1256
|
+
...contents
|
|
1257
|
+
};
|
|
1258
|
+
return response;
|
|
1259
|
+
}, "de_DescribeBudgetActionsForBudgetCommand");
|
|
1260
|
+
var de_DescribeBudgetActionsForBudgetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1261
|
+
const parsedOutput = {
|
|
1262
|
+
...output,
|
|
1263
|
+
body: await parseErrorBody(output.body, context)
|
|
1264
|
+
};
|
|
1265
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1266
|
+
switch (errorCode) {
|
|
1267
|
+
case "AccessDeniedException":
|
|
1268
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1269
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1270
|
+
case "InternalErrorException":
|
|
1271
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1272
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1273
|
+
case "InvalidNextTokenException":
|
|
1274
|
+
case "com.amazonaws.budgets#InvalidNextTokenException":
|
|
1275
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1276
|
+
case "InvalidParameterException":
|
|
1277
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1278
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1279
|
+
case "NotFoundException":
|
|
1280
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1281
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1282
|
+
case "ThrottlingException":
|
|
1283
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1284
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1285
|
+
default:
|
|
1286
|
+
const parsedBody = parsedOutput.body;
|
|
1287
|
+
return throwDefaultError({
|
|
1288
|
+
output,
|
|
1289
|
+
parsedBody,
|
|
1290
|
+
errorCode
|
|
1291
|
+
});
|
|
1292
|
+
}
|
|
1293
|
+
}, "de_DescribeBudgetActionsForBudgetCommandError");
|
|
1294
|
+
var de_DescribeBudgetNotificationsForAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1295
|
+
if (output.statusCode >= 300) {
|
|
1296
|
+
return de_DescribeBudgetNotificationsForAccountCommandError(output, context);
|
|
1297
|
+
}
|
|
1298
|
+
const data = await parseBody(output.body, context);
|
|
1299
|
+
let contents = {};
|
|
1300
|
+
contents = de_DescribeBudgetNotificationsForAccountResponse(data, context);
|
|
1301
|
+
const response = {
|
|
1302
|
+
$metadata: deserializeMetadata(output),
|
|
1303
|
+
...contents
|
|
1304
|
+
};
|
|
1305
|
+
return response;
|
|
1306
|
+
}, "de_DescribeBudgetNotificationsForAccountCommand");
|
|
1307
|
+
var de_DescribeBudgetNotificationsForAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1308
|
+
const parsedOutput = {
|
|
1309
|
+
...output,
|
|
1310
|
+
body: await parseErrorBody(output.body, context)
|
|
1311
|
+
};
|
|
1312
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1313
|
+
switch (errorCode) {
|
|
1314
|
+
case "AccessDeniedException":
|
|
1315
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1316
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1317
|
+
case "ExpiredNextTokenException":
|
|
1318
|
+
case "com.amazonaws.budgets#ExpiredNextTokenException":
|
|
1319
|
+
throw await de_ExpiredNextTokenExceptionRes(parsedOutput, context);
|
|
1320
|
+
case "InternalErrorException":
|
|
1321
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1322
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1323
|
+
case "InvalidNextTokenException":
|
|
1324
|
+
case "com.amazonaws.budgets#InvalidNextTokenException":
|
|
1325
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1326
|
+
case "InvalidParameterException":
|
|
1327
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1328
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1329
|
+
case "NotFoundException":
|
|
1330
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1331
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1332
|
+
case "ThrottlingException":
|
|
1333
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1334
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1335
|
+
default:
|
|
1336
|
+
const parsedBody = parsedOutput.body;
|
|
1337
|
+
return throwDefaultError({
|
|
1338
|
+
output,
|
|
1339
|
+
parsedBody,
|
|
1340
|
+
errorCode
|
|
1341
|
+
});
|
|
1342
|
+
}
|
|
1343
|
+
}, "de_DescribeBudgetNotificationsForAccountCommandError");
|
|
1344
|
+
var de_DescribeBudgetPerformanceHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1345
|
+
if (output.statusCode >= 300) {
|
|
1346
|
+
return de_DescribeBudgetPerformanceHistoryCommandError(output, context);
|
|
1347
|
+
}
|
|
1348
|
+
const data = await parseBody(output.body, context);
|
|
1349
|
+
let contents = {};
|
|
1350
|
+
contents = de_DescribeBudgetPerformanceHistoryResponse(data, context);
|
|
1351
|
+
const response = {
|
|
1352
|
+
$metadata: deserializeMetadata(output),
|
|
1353
|
+
...contents
|
|
1354
|
+
};
|
|
1355
|
+
return response;
|
|
1356
|
+
}, "de_DescribeBudgetPerformanceHistoryCommand");
|
|
1357
|
+
var de_DescribeBudgetPerformanceHistoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1358
|
+
const parsedOutput = {
|
|
1359
|
+
...output,
|
|
1360
|
+
body: await parseErrorBody(output.body, context)
|
|
1361
|
+
};
|
|
1362
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1363
|
+
switch (errorCode) {
|
|
1364
|
+
case "AccessDeniedException":
|
|
1365
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1366
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1367
|
+
case "ExpiredNextTokenException":
|
|
1368
|
+
case "com.amazonaws.budgets#ExpiredNextTokenException":
|
|
1369
|
+
throw await de_ExpiredNextTokenExceptionRes(parsedOutput, context);
|
|
1370
|
+
case "InternalErrorException":
|
|
1371
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1372
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1373
|
+
case "InvalidNextTokenException":
|
|
1374
|
+
case "com.amazonaws.budgets#InvalidNextTokenException":
|
|
1375
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1376
|
+
case "InvalidParameterException":
|
|
1377
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1378
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1379
|
+
case "NotFoundException":
|
|
1380
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1381
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1382
|
+
case "ThrottlingException":
|
|
1383
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1384
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1385
|
+
default:
|
|
1386
|
+
const parsedBody = parsedOutput.body;
|
|
1387
|
+
return throwDefaultError({
|
|
1388
|
+
output,
|
|
1389
|
+
parsedBody,
|
|
1390
|
+
errorCode
|
|
1391
|
+
});
|
|
1392
|
+
}
|
|
1393
|
+
}, "de_DescribeBudgetPerformanceHistoryCommandError");
|
|
1394
|
+
var de_DescribeBudgetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1395
|
+
if (output.statusCode >= 300) {
|
|
1396
|
+
return de_DescribeBudgetsCommandError(output, context);
|
|
1397
|
+
}
|
|
1398
|
+
const data = await parseBody(output.body, context);
|
|
1399
|
+
let contents = {};
|
|
1400
|
+
contents = de_DescribeBudgetsResponse(data, context);
|
|
1401
|
+
const response = {
|
|
1402
|
+
$metadata: deserializeMetadata(output),
|
|
1403
|
+
...contents
|
|
1404
|
+
};
|
|
1405
|
+
return response;
|
|
1406
|
+
}, "de_DescribeBudgetsCommand");
|
|
1407
|
+
var de_DescribeBudgetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1408
|
+
const parsedOutput = {
|
|
1409
|
+
...output,
|
|
1410
|
+
body: await parseErrorBody(output.body, context)
|
|
1411
|
+
};
|
|
1412
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1413
|
+
switch (errorCode) {
|
|
1414
|
+
case "AccessDeniedException":
|
|
1415
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1416
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1417
|
+
case "ExpiredNextTokenException":
|
|
1418
|
+
case "com.amazonaws.budgets#ExpiredNextTokenException":
|
|
1419
|
+
throw await de_ExpiredNextTokenExceptionRes(parsedOutput, context);
|
|
1420
|
+
case "InternalErrorException":
|
|
1421
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1422
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1423
|
+
case "InvalidNextTokenException":
|
|
1424
|
+
case "com.amazonaws.budgets#InvalidNextTokenException":
|
|
1425
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1426
|
+
case "InvalidParameterException":
|
|
1427
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1428
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1429
|
+
case "NotFoundException":
|
|
1430
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1431
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1432
|
+
case "ThrottlingException":
|
|
1433
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1434
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1435
|
+
default:
|
|
1436
|
+
const parsedBody = parsedOutput.body;
|
|
1437
|
+
return throwDefaultError({
|
|
1438
|
+
output,
|
|
1439
|
+
parsedBody,
|
|
1440
|
+
errorCode
|
|
1441
|
+
});
|
|
1442
|
+
}
|
|
1443
|
+
}, "de_DescribeBudgetsCommandError");
|
|
1444
|
+
var de_DescribeNotificationsForBudgetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1445
|
+
if (output.statusCode >= 300) {
|
|
1446
|
+
return de_DescribeNotificationsForBudgetCommandError(output, context);
|
|
1447
|
+
}
|
|
1448
|
+
const data = await parseBody(output.body, context);
|
|
1449
|
+
let contents = {};
|
|
1450
|
+
contents = de_DescribeNotificationsForBudgetResponse(data, context);
|
|
1451
|
+
const response = {
|
|
1452
|
+
$metadata: deserializeMetadata(output),
|
|
1453
|
+
...contents
|
|
1454
|
+
};
|
|
1455
|
+
return response;
|
|
1456
|
+
}, "de_DescribeNotificationsForBudgetCommand");
|
|
1457
|
+
var de_DescribeNotificationsForBudgetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1458
|
+
const parsedOutput = {
|
|
1459
|
+
...output,
|
|
1460
|
+
body: await parseErrorBody(output.body, context)
|
|
1461
|
+
};
|
|
1462
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1463
|
+
switch (errorCode) {
|
|
1464
|
+
case "AccessDeniedException":
|
|
1465
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1466
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1467
|
+
case "ExpiredNextTokenException":
|
|
1468
|
+
case "com.amazonaws.budgets#ExpiredNextTokenException":
|
|
1469
|
+
throw await de_ExpiredNextTokenExceptionRes(parsedOutput, context);
|
|
1470
|
+
case "InternalErrorException":
|
|
1471
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1472
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1473
|
+
case "InvalidNextTokenException":
|
|
1474
|
+
case "com.amazonaws.budgets#InvalidNextTokenException":
|
|
1475
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1476
|
+
case "InvalidParameterException":
|
|
1477
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1478
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1479
|
+
case "NotFoundException":
|
|
1480
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1481
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1482
|
+
case "ThrottlingException":
|
|
1483
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1484
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1485
|
+
default:
|
|
1486
|
+
const parsedBody = parsedOutput.body;
|
|
1487
|
+
return throwDefaultError({
|
|
1488
|
+
output,
|
|
1489
|
+
parsedBody,
|
|
1490
|
+
errorCode
|
|
1491
|
+
});
|
|
1492
|
+
}
|
|
1493
|
+
}, "de_DescribeNotificationsForBudgetCommandError");
|
|
1494
|
+
var de_DescribeSubscribersForNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1495
|
+
if (output.statusCode >= 300) {
|
|
1496
|
+
return de_DescribeSubscribersForNotificationCommandError(output, context);
|
|
1497
|
+
}
|
|
1498
|
+
const data = await parseBody(output.body, context);
|
|
1499
|
+
let contents = {};
|
|
1500
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1501
|
+
const response = {
|
|
1502
|
+
$metadata: deserializeMetadata(output),
|
|
1503
|
+
...contents
|
|
1504
|
+
};
|
|
1505
|
+
return response;
|
|
1506
|
+
}, "de_DescribeSubscribersForNotificationCommand");
|
|
1507
|
+
var de_DescribeSubscribersForNotificationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1508
|
+
const parsedOutput = {
|
|
1509
|
+
...output,
|
|
1510
|
+
body: await parseErrorBody(output.body, context)
|
|
1511
|
+
};
|
|
1512
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1513
|
+
switch (errorCode) {
|
|
1514
|
+
case "AccessDeniedException":
|
|
1515
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1516
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1517
|
+
case "ExpiredNextTokenException":
|
|
1518
|
+
case "com.amazonaws.budgets#ExpiredNextTokenException":
|
|
1519
|
+
throw await de_ExpiredNextTokenExceptionRes(parsedOutput, context);
|
|
1520
|
+
case "InternalErrorException":
|
|
1521
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1522
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1523
|
+
case "InvalidNextTokenException":
|
|
1524
|
+
case "com.amazonaws.budgets#InvalidNextTokenException":
|
|
1525
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1526
|
+
case "InvalidParameterException":
|
|
1527
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1528
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1529
|
+
case "NotFoundException":
|
|
1530
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1531
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1532
|
+
case "ThrottlingException":
|
|
1533
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1534
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1535
|
+
default:
|
|
1536
|
+
const parsedBody = parsedOutput.body;
|
|
1537
|
+
return throwDefaultError({
|
|
1538
|
+
output,
|
|
1539
|
+
parsedBody,
|
|
1540
|
+
errorCode
|
|
1541
|
+
});
|
|
1542
|
+
}
|
|
1543
|
+
}, "de_DescribeSubscribersForNotificationCommandError");
|
|
1544
|
+
var de_ExecuteBudgetActionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1545
|
+
if (output.statusCode >= 300) {
|
|
1546
|
+
return de_ExecuteBudgetActionCommandError(output, context);
|
|
1547
|
+
}
|
|
1548
|
+
const data = await parseBody(output.body, context);
|
|
1549
|
+
let contents = {};
|
|
1550
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1551
|
+
const response = {
|
|
1552
|
+
$metadata: deserializeMetadata(output),
|
|
1553
|
+
...contents
|
|
1554
|
+
};
|
|
1555
|
+
return response;
|
|
1556
|
+
}, "de_ExecuteBudgetActionCommand");
|
|
1557
|
+
var de_ExecuteBudgetActionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1558
|
+
const parsedOutput = {
|
|
1559
|
+
...output,
|
|
1560
|
+
body: await parseErrorBody(output.body, context)
|
|
1561
|
+
};
|
|
1562
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1563
|
+
switch (errorCode) {
|
|
1564
|
+
case "AccessDeniedException":
|
|
1565
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1566
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1567
|
+
case "InternalErrorException":
|
|
1568
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1569
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1570
|
+
case "InvalidParameterException":
|
|
1571
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1572
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1573
|
+
case "NotFoundException":
|
|
1574
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1575
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1576
|
+
case "ResourceLockedException":
|
|
1577
|
+
case "com.amazonaws.budgets#ResourceLockedException":
|
|
1578
|
+
throw await de_ResourceLockedExceptionRes(parsedOutput, context);
|
|
1579
|
+
case "ThrottlingException":
|
|
1580
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1581
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1582
|
+
default:
|
|
1583
|
+
const parsedBody = parsedOutput.body;
|
|
1584
|
+
return throwDefaultError({
|
|
1585
|
+
output,
|
|
1586
|
+
parsedBody,
|
|
1587
|
+
errorCode
|
|
1588
|
+
});
|
|
1589
|
+
}
|
|
1590
|
+
}, "de_ExecuteBudgetActionCommandError");
|
|
1591
|
+
var de_UpdateBudgetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1592
|
+
if (output.statusCode >= 300) {
|
|
1593
|
+
return de_UpdateBudgetCommandError(output, context);
|
|
1594
|
+
}
|
|
1595
|
+
const data = await parseBody(output.body, context);
|
|
1596
|
+
let contents = {};
|
|
1597
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1598
|
+
const response = {
|
|
1599
|
+
$metadata: deserializeMetadata(output),
|
|
1600
|
+
...contents
|
|
1601
|
+
};
|
|
1602
|
+
return response;
|
|
1603
|
+
}, "de_UpdateBudgetCommand");
|
|
1604
|
+
var de_UpdateBudgetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1605
|
+
const parsedOutput = {
|
|
1606
|
+
...output,
|
|
1607
|
+
body: await parseErrorBody(output.body, context)
|
|
1608
|
+
};
|
|
1609
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1610
|
+
switch (errorCode) {
|
|
1611
|
+
case "AccessDeniedException":
|
|
1612
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1613
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1614
|
+
case "InternalErrorException":
|
|
1615
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1616
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1617
|
+
case "InvalidParameterException":
|
|
1618
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1619
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1620
|
+
case "NotFoundException":
|
|
1621
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1622
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1623
|
+
case "ThrottlingException":
|
|
1624
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1625
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1626
|
+
default:
|
|
1627
|
+
const parsedBody = parsedOutput.body;
|
|
1628
|
+
return throwDefaultError({
|
|
1629
|
+
output,
|
|
1630
|
+
parsedBody,
|
|
1631
|
+
errorCode
|
|
1632
|
+
});
|
|
1633
|
+
}
|
|
1634
|
+
}, "de_UpdateBudgetCommandError");
|
|
1635
|
+
var de_UpdateBudgetActionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1636
|
+
if (output.statusCode >= 300) {
|
|
1637
|
+
return de_UpdateBudgetActionCommandError(output, context);
|
|
1638
|
+
}
|
|
1639
|
+
const data = await parseBody(output.body, context);
|
|
1640
|
+
let contents = {};
|
|
1641
|
+
contents = de_UpdateBudgetActionResponse(data, context);
|
|
1642
|
+
const response = {
|
|
1643
|
+
$metadata: deserializeMetadata(output),
|
|
1644
|
+
...contents
|
|
1645
|
+
};
|
|
1646
|
+
return response;
|
|
1647
|
+
}, "de_UpdateBudgetActionCommand");
|
|
1648
|
+
var de_UpdateBudgetActionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1649
|
+
const parsedOutput = {
|
|
1650
|
+
...output,
|
|
1651
|
+
body: await parseErrorBody(output.body, context)
|
|
1652
|
+
};
|
|
1653
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1654
|
+
switch (errorCode) {
|
|
1655
|
+
case "AccessDeniedException":
|
|
1656
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1657
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1658
|
+
case "InternalErrorException":
|
|
1659
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1660
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1661
|
+
case "InvalidParameterException":
|
|
1662
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1663
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1664
|
+
case "NotFoundException":
|
|
1665
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1666
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1667
|
+
case "ResourceLockedException":
|
|
1668
|
+
case "com.amazonaws.budgets#ResourceLockedException":
|
|
1669
|
+
throw await de_ResourceLockedExceptionRes(parsedOutput, context);
|
|
1670
|
+
case "ThrottlingException":
|
|
1671
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1672
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1673
|
+
default:
|
|
1674
|
+
const parsedBody = parsedOutput.body;
|
|
1675
|
+
return throwDefaultError({
|
|
1676
|
+
output,
|
|
1677
|
+
parsedBody,
|
|
1678
|
+
errorCode
|
|
1679
|
+
});
|
|
1680
|
+
}
|
|
1681
|
+
}, "de_UpdateBudgetActionCommandError");
|
|
1682
|
+
var de_UpdateNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1683
|
+
if (output.statusCode >= 300) {
|
|
1684
|
+
return de_UpdateNotificationCommandError(output, context);
|
|
1685
|
+
}
|
|
1686
|
+
const data = await parseBody(output.body, context);
|
|
1687
|
+
let contents = {};
|
|
1688
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1689
|
+
const response = {
|
|
1690
|
+
$metadata: deserializeMetadata(output),
|
|
1691
|
+
...contents
|
|
1692
|
+
};
|
|
1693
|
+
return response;
|
|
1694
|
+
}, "de_UpdateNotificationCommand");
|
|
1695
|
+
var de_UpdateNotificationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1696
|
+
const parsedOutput = {
|
|
1697
|
+
...output,
|
|
1698
|
+
body: await parseErrorBody(output.body, context)
|
|
1699
|
+
};
|
|
1700
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1701
|
+
switch (errorCode) {
|
|
1702
|
+
case "AccessDeniedException":
|
|
1703
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1704
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1705
|
+
case "DuplicateRecordException":
|
|
1706
|
+
case "com.amazonaws.budgets#DuplicateRecordException":
|
|
1707
|
+
throw await de_DuplicateRecordExceptionRes(parsedOutput, context);
|
|
1708
|
+
case "InternalErrorException":
|
|
1709
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1710
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1711
|
+
case "InvalidParameterException":
|
|
1712
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1713
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1714
|
+
case "NotFoundException":
|
|
1715
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1716
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1717
|
+
case "ThrottlingException":
|
|
1718
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1719
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1720
|
+
default:
|
|
1721
|
+
const parsedBody = parsedOutput.body;
|
|
1722
|
+
return throwDefaultError({
|
|
1723
|
+
output,
|
|
1724
|
+
parsedBody,
|
|
1725
|
+
errorCode
|
|
1726
|
+
});
|
|
1727
|
+
}
|
|
1728
|
+
}, "de_UpdateNotificationCommandError");
|
|
1729
|
+
var de_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1730
|
+
if (output.statusCode >= 300) {
|
|
1731
|
+
return de_UpdateSubscriberCommandError(output, context);
|
|
1732
|
+
}
|
|
1733
|
+
const data = await parseBody(output.body, context);
|
|
1734
|
+
let contents = {};
|
|
1735
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1736
|
+
const response = {
|
|
1737
|
+
$metadata: deserializeMetadata(output),
|
|
1738
|
+
...contents
|
|
1739
|
+
};
|
|
1740
|
+
return response;
|
|
1741
|
+
}, "de_UpdateSubscriberCommand");
|
|
1742
|
+
var de_UpdateSubscriberCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1743
|
+
const parsedOutput = {
|
|
1744
|
+
...output,
|
|
1745
|
+
body: await parseErrorBody(output.body, context)
|
|
1746
|
+
};
|
|
1747
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1748
|
+
switch (errorCode) {
|
|
1749
|
+
case "AccessDeniedException":
|
|
1750
|
+
case "com.amazonaws.budgets#AccessDeniedException":
|
|
1751
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1752
|
+
case "DuplicateRecordException":
|
|
1753
|
+
case "com.amazonaws.budgets#DuplicateRecordException":
|
|
1754
|
+
throw await de_DuplicateRecordExceptionRes(parsedOutput, context);
|
|
1755
|
+
case "InternalErrorException":
|
|
1756
|
+
case "com.amazonaws.budgets#InternalErrorException":
|
|
1757
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1758
|
+
case "InvalidParameterException":
|
|
1759
|
+
case "com.amazonaws.budgets#InvalidParameterException":
|
|
1760
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1761
|
+
case "NotFoundException":
|
|
1762
|
+
case "com.amazonaws.budgets#NotFoundException":
|
|
1763
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1764
|
+
case "ThrottlingException":
|
|
1765
|
+
case "com.amazonaws.budgets#ThrottlingException":
|
|
1766
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1767
|
+
default:
|
|
1768
|
+
const parsedBody = parsedOutput.body;
|
|
1769
|
+
return throwDefaultError({
|
|
1770
|
+
output,
|
|
1771
|
+
parsedBody,
|
|
1772
|
+
errorCode
|
|
1773
|
+
});
|
|
1774
|
+
}
|
|
1775
|
+
}, "de_UpdateSubscriberCommandError");
|
|
1776
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1777
|
+
const body = parsedOutput.body;
|
|
1778
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1779
|
+
const exception = new AccessDeniedException({
|
|
1780
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1781
|
+
...deserialized
|
|
1782
|
+
});
|
|
1783
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1784
|
+
}, "de_AccessDeniedExceptionRes");
|
|
1785
|
+
var de_CreationLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1786
|
+
const body = parsedOutput.body;
|
|
1787
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1788
|
+
const exception = new CreationLimitExceededException({
|
|
1789
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1790
|
+
...deserialized
|
|
1791
|
+
});
|
|
1792
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1793
|
+
}, "de_CreationLimitExceededExceptionRes");
|
|
1794
|
+
var de_DuplicateRecordExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1795
|
+
const body = parsedOutput.body;
|
|
1796
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1797
|
+
const exception = new DuplicateRecordException({
|
|
1798
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1799
|
+
...deserialized
|
|
1800
|
+
});
|
|
1801
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1802
|
+
}, "de_DuplicateRecordExceptionRes");
|
|
1803
|
+
var de_ExpiredNextTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1804
|
+
const body = parsedOutput.body;
|
|
1805
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1806
|
+
const exception = new ExpiredNextTokenException({
|
|
1807
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1808
|
+
...deserialized
|
|
1809
|
+
});
|
|
1810
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1811
|
+
}, "de_ExpiredNextTokenExceptionRes");
|
|
1812
|
+
var de_InternalErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1813
|
+
const body = parsedOutput.body;
|
|
1814
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1815
|
+
const exception = new InternalErrorException({
|
|
1816
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1817
|
+
...deserialized
|
|
1818
|
+
});
|
|
1819
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1820
|
+
}, "de_InternalErrorExceptionRes");
|
|
1821
|
+
var de_InvalidNextTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1822
|
+
const body = parsedOutput.body;
|
|
1823
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1824
|
+
const exception = new InvalidNextTokenException({
|
|
1825
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1826
|
+
...deserialized
|
|
1827
|
+
});
|
|
1828
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1829
|
+
}, "de_InvalidNextTokenExceptionRes");
|
|
1830
|
+
var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1831
|
+
const body = parsedOutput.body;
|
|
1832
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1833
|
+
const exception = new InvalidParameterException({
|
|
1834
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1835
|
+
...deserialized
|
|
1836
|
+
});
|
|
1837
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1838
|
+
}, "de_InvalidParameterExceptionRes");
|
|
1839
|
+
var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1840
|
+
const body = parsedOutput.body;
|
|
1841
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1842
|
+
const exception = new NotFoundException({
|
|
1843
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1844
|
+
...deserialized
|
|
1845
|
+
});
|
|
1846
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1847
|
+
}, "de_NotFoundExceptionRes");
|
|
1848
|
+
var de_ResourceLockedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1849
|
+
const body = parsedOutput.body;
|
|
1850
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1851
|
+
const exception = new ResourceLockedException({
|
|
1852
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1853
|
+
...deserialized
|
|
1854
|
+
});
|
|
1855
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1856
|
+
}, "de_ResourceLockedExceptionRes");
|
|
1857
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1858
|
+
const body = parsedOutput.body;
|
|
1859
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1860
|
+
const exception = new ThrottlingException({
|
|
1861
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1862
|
+
...deserialized
|
|
1863
|
+
});
|
|
1864
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1865
|
+
}, "de_ThrottlingExceptionRes");
|
|
1866
|
+
var se_ActionThreshold = /* @__PURE__ */ __name((input, context) => {
|
|
1867
|
+
return (0, import_smithy_client.take)(input, {
|
|
1868
|
+
ActionThresholdType: [],
|
|
1869
|
+
ActionThresholdValue: import_smithy_client.serializeFloat
|
|
1870
|
+
});
|
|
1871
|
+
}, "se_ActionThreshold");
|
|
1872
|
+
var se_AutoAdjustData = /* @__PURE__ */ __name((input, context) => {
|
|
1873
|
+
return (0, import_smithy_client.take)(input, {
|
|
1874
|
+
AutoAdjustType: [],
|
|
1875
|
+
HistoricalOptions: import_smithy_client._json,
|
|
1876
|
+
LastAutoAdjustTime: (_) => Math.round(_.getTime() / 1e3)
|
|
1877
|
+
});
|
|
1878
|
+
}, "se_AutoAdjustData");
|
|
1879
|
+
var se_Budget = /* @__PURE__ */ __name((input, context) => {
|
|
1880
|
+
return (0, import_smithy_client.take)(input, {
|
|
1881
|
+
AutoAdjustData: (_) => se_AutoAdjustData(_, context),
|
|
1882
|
+
BudgetLimit: import_smithy_client._json,
|
|
1883
|
+
BudgetName: [],
|
|
1884
|
+
BudgetType: [],
|
|
1885
|
+
CalculatedSpend: import_smithy_client._json,
|
|
1886
|
+
CostFilters: import_smithy_client._json,
|
|
1887
|
+
CostTypes: import_smithy_client._json,
|
|
1888
|
+
LastUpdatedTime: (_) => Math.round(_.getTime() / 1e3),
|
|
1889
|
+
PlannedBudgetLimits: import_smithy_client._json,
|
|
1890
|
+
TimePeriod: (_) => se_TimePeriod(_, context),
|
|
1891
|
+
TimeUnit: []
|
|
1892
|
+
});
|
|
1893
|
+
}, "se_Budget");
|
|
1894
|
+
var se_CreateBudgetActionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1895
|
+
return (0, import_smithy_client.take)(input, {
|
|
1896
|
+
AccountId: [],
|
|
1897
|
+
ActionThreshold: (_) => se_ActionThreshold(_, context),
|
|
1898
|
+
ActionType: [],
|
|
1899
|
+
ApprovalModel: [],
|
|
1900
|
+
BudgetName: [],
|
|
1901
|
+
Definition: import_smithy_client._json,
|
|
1902
|
+
ExecutionRoleArn: [],
|
|
1903
|
+
NotificationType: [],
|
|
1904
|
+
Subscribers: import_smithy_client._json
|
|
1905
|
+
});
|
|
1906
|
+
}, "se_CreateBudgetActionRequest");
|
|
1907
|
+
var se_CreateBudgetRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1908
|
+
return (0, import_smithy_client.take)(input, {
|
|
1909
|
+
AccountId: [],
|
|
1910
|
+
Budget: (_) => se_Budget(_, context),
|
|
1911
|
+
NotificationsWithSubscribers: (_) => se_NotificationWithSubscribersList(_, context)
|
|
1912
|
+
});
|
|
1913
|
+
}, "se_CreateBudgetRequest");
|
|
1914
|
+
var se_CreateNotificationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1915
|
+
return (0, import_smithy_client.take)(input, {
|
|
1916
|
+
AccountId: [],
|
|
1917
|
+
BudgetName: [],
|
|
1918
|
+
Notification: (_) => se_Notification(_, context),
|
|
1919
|
+
Subscribers: import_smithy_client._json
|
|
1920
|
+
});
|
|
1921
|
+
}, "se_CreateNotificationRequest");
|
|
1922
|
+
var se_CreateSubscriberRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1923
|
+
return (0, import_smithy_client.take)(input, {
|
|
1924
|
+
AccountId: [],
|
|
1925
|
+
BudgetName: [],
|
|
1926
|
+
Notification: (_) => se_Notification(_, context),
|
|
1927
|
+
Subscriber: import_smithy_client._json
|
|
1928
|
+
});
|
|
1929
|
+
}, "se_CreateSubscriberRequest");
|
|
1930
|
+
var se_DeleteNotificationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1931
|
+
return (0, import_smithy_client.take)(input, {
|
|
1932
|
+
AccountId: [],
|
|
1933
|
+
BudgetName: [],
|
|
1934
|
+
Notification: (_) => se_Notification(_, context)
|
|
1935
|
+
});
|
|
1936
|
+
}, "se_DeleteNotificationRequest");
|
|
1937
|
+
var se_DeleteSubscriberRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1938
|
+
return (0, import_smithy_client.take)(input, {
|
|
1939
|
+
AccountId: [],
|
|
1940
|
+
BudgetName: [],
|
|
1941
|
+
Notification: (_) => se_Notification(_, context),
|
|
1942
|
+
Subscriber: import_smithy_client._json
|
|
1943
|
+
});
|
|
1944
|
+
}, "se_DeleteSubscriberRequest");
|
|
1945
|
+
var se_DescribeBudgetActionHistoriesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1946
|
+
return (0, import_smithy_client.take)(input, {
|
|
1947
|
+
AccountId: [],
|
|
1948
|
+
ActionId: [],
|
|
1949
|
+
BudgetName: [],
|
|
1950
|
+
MaxResults: [],
|
|
1951
|
+
NextToken: [],
|
|
1952
|
+
TimePeriod: (_) => se_TimePeriod(_, context)
|
|
1953
|
+
});
|
|
1954
|
+
}, "se_DescribeBudgetActionHistoriesRequest");
|
|
1955
|
+
var se_DescribeBudgetPerformanceHistoryRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1956
|
+
return (0, import_smithy_client.take)(input, {
|
|
1957
|
+
AccountId: [],
|
|
1958
|
+
BudgetName: [],
|
|
1959
|
+
MaxResults: [],
|
|
1960
|
+
NextToken: [],
|
|
1961
|
+
TimePeriod: (_) => se_TimePeriod(_, context)
|
|
1962
|
+
});
|
|
1963
|
+
}, "se_DescribeBudgetPerformanceHistoryRequest");
|
|
1964
|
+
var se_DescribeSubscribersForNotificationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1965
|
+
return (0, import_smithy_client.take)(input, {
|
|
1966
|
+
AccountId: [],
|
|
1967
|
+
BudgetName: [],
|
|
1968
|
+
MaxResults: [],
|
|
1969
|
+
NextToken: [],
|
|
1970
|
+
Notification: (_) => se_Notification(_, context)
|
|
1971
|
+
});
|
|
1972
|
+
}, "se_DescribeSubscribersForNotificationRequest");
|
|
1973
|
+
var se_Notification = /* @__PURE__ */ __name((input, context) => {
|
|
1974
|
+
return (0, import_smithy_client.take)(input, {
|
|
1975
|
+
ComparisonOperator: [],
|
|
1976
|
+
NotificationState: [],
|
|
1977
|
+
NotificationType: [],
|
|
1978
|
+
Threshold: import_smithy_client.serializeFloat,
|
|
1979
|
+
ThresholdType: []
|
|
1980
|
+
});
|
|
1981
|
+
}, "se_Notification");
|
|
1982
|
+
var se_NotificationWithSubscribers = /* @__PURE__ */ __name((input, context) => {
|
|
1983
|
+
return (0, import_smithy_client.take)(input, {
|
|
1984
|
+
Notification: (_) => se_Notification(_, context),
|
|
1985
|
+
Subscribers: import_smithy_client._json
|
|
1986
|
+
});
|
|
1987
|
+
}, "se_NotificationWithSubscribers");
|
|
1988
|
+
var se_NotificationWithSubscribersList = /* @__PURE__ */ __name((input, context) => {
|
|
1989
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
1990
|
+
return se_NotificationWithSubscribers(entry, context);
|
|
1991
|
+
});
|
|
1992
|
+
}, "se_NotificationWithSubscribersList");
|
|
1993
|
+
var se_TimePeriod = /* @__PURE__ */ __name((input, context) => {
|
|
1994
|
+
return (0, import_smithy_client.take)(input, {
|
|
1995
|
+
End: (_) => Math.round(_.getTime() / 1e3),
|
|
1996
|
+
Start: (_) => Math.round(_.getTime() / 1e3)
|
|
1997
|
+
});
|
|
1998
|
+
}, "se_TimePeriod");
|
|
1999
|
+
var se_UpdateBudgetActionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2000
|
+
return (0, import_smithy_client.take)(input, {
|
|
2001
|
+
AccountId: [],
|
|
2002
|
+
ActionId: [],
|
|
2003
|
+
ActionThreshold: (_) => se_ActionThreshold(_, context),
|
|
2004
|
+
ApprovalModel: [],
|
|
2005
|
+
BudgetName: [],
|
|
2006
|
+
Definition: import_smithy_client._json,
|
|
2007
|
+
ExecutionRoleArn: [],
|
|
2008
|
+
NotificationType: [],
|
|
2009
|
+
Subscribers: import_smithy_client._json
|
|
2010
|
+
});
|
|
2011
|
+
}, "se_UpdateBudgetActionRequest");
|
|
2012
|
+
var se_UpdateBudgetRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2013
|
+
return (0, import_smithy_client.take)(input, {
|
|
2014
|
+
AccountId: [],
|
|
2015
|
+
NewBudget: (_) => se_Budget(_, context)
|
|
2016
|
+
});
|
|
2017
|
+
}, "se_UpdateBudgetRequest");
|
|
2018
|
+
var se_UpdateNotificationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2019
|
+
return (0, import_smithy_client.take)(input, {
|
|
2020
|
+
AccountId: [],
|
|
2021
|
+
BudgetName: [],
|
|
2022
|
+
NewNotification: (_) => se_Notification(_, context),
|
|
2023
|
+
OldNotification: (_) => se_Notification(_, context)
|
|
2024
|
+
});
|
|
2025
|
+
}, "se_UpdateNotificationRequest");
|
|
2026
|
+
var se_UpdateSubscriberRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2027
|
+
return (0, import_smithy_client.take)(input, {
|
|
2028
|
+
AccountId: [],
|
|
2029
|
+
BudgetName: [],
|
|
2030
|
+
NewSubscriber: import_smithy_client._json,
|
|
2031
|
+
Notification: (_) => se_Notification(_, context),
|
|
2032
|
+
OldSubscriber: import_smithy_client._json
|
|
2033
|
+
});
|
|
2034
|
+
}, "se_UpdateSubscriberRequest");
|
|
2035
|
+
var de_Action = /* @__PURE__ */ __name((output, context) => {
|
|
2036
|
+
return (0, import_smithy_client.take)(output, {
|
|
2037
|
+
ActionId: import_smithy_client.expectString,
|
|
2038
|
+
ActionThreshold: (_) => de_ActionThreshold(_, context),
|
|
2039
|
+
ActionType: import_smithy_client.expectString,
|
|
2040
|
+
ApprovalModel: import_smithy_client.expectString,
|
|
2041
|
+
BudgetName: import_smithy_client.expectString,
|
|
2042
|
+
Definition: import_smithy_client._json,
|
|
2043
|
+
ExecutionRoleArn: import_smithy_client.expectString,
|
|
2044
|
+
NotificationType: import_smithy_client.expectString,
|
|
2045
|
+
Status: import_smithy_client.expectString,
|
|
2046
|
+
Subscribers: import_smithy_client._json
|
|
2047
|
+
});
|
|
2048
|
+
}, "de_Action");
|
|
2049
|
+
var de_ActionHistories = /* @__PURE__ */ __name((output, context) => {
|
|
2050
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2051
|
+
return de_ActionHistory(entry, context);
|
|
2052
|
+
});
|
|
2053
|
+
return retVal;
|
|
2054
|
+
}, "de_ActionHistories");
|
|
2055
|
+
var de_ActionHistory = /* @__PURE__ */ __name((output, context) => {
|
|
2056
|
+
return (0, import_smithy_client.take)(output, {
|
|
2057
|
+
ActionHistoryDetails: (_) => de_ActionHistoryDetails(_, context),
|
|
2058
|
+
EventType: import_smithy_client.expectString,
|
|
2059
|
+
Status: import_smithy_client.expectString,
|
|
2060
|
+
Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2061
|
+
});
|
|
2062
|
+
}, "de_ActionHistory");
|
|
2063
|
+
var de_ActionHistoryDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2064
|
+
return (0, import_smithy_client.take)(output, {
|
|
2065
|
+
Action: (_) => de_Action(_, context),
|
|
2066
|
+
Message: import_smithy_client.expectString
|
|
2067
|
+
});
|
|
2068
|
+
}, "de_ActionHistoryDetails");
|
|
2069
|
+
var de_Actions = /* @__PURE__ */ __name((output, context) => {
|
|
2070
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2071
|
+
return de_Action(entry, context);
|
|
2072
|
+
});
|
|
2073
|
+
return retVal;
|
|
2074
|
+
}, "de_Actions");
|
|
2075
|
+
var de_ActionThreshold = /* @__PURE__ */ __name((output, context) => {
|
|
2076
|
+
return (0, import_smithy_client.take)(output, {
|
|
2077
|
+
ActionThresholdType: import_smithy_client.expectString,
|
|
2078
|
+
ActionThresholdValue: import_smithy_client.limitedParseDouble
|
|
2079
|
+
});
|
|
2080
|
+
}, "de_ActionThreshold");
|
|
2081
|
+
var de_AutoAdjustData = /* @__PURE__ */ __name((output, context) => {
|
|
2082
|
+
return (0, import_smithy_client.take)(output, {
|
|
2083
|
+
AutoAdjustType: import_smithy_client.expectString,
|
|
2084
|
+
HistoricalOptions: import_smithy_client._json,
|
|
2085
|
+
LastAutoAdjustTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2086
|
+
});
|
|
2087
|
+
}, "de_AutoAdjustData");
|
|
2088
|
+
var de_Budget = /* @__PURE__ */ __name((output, context) => {
|
|
2089
|
+
return (0, import_smithy_client.take)(output, {
|
|
2090
|
+
AutoAdjustData: (_) => de_AutoAdjustData(_, context),
|
|
2091
|
+
BudgetLimit: import_smithy_client._json,
|
|
2092
|
+
BudgetName: import_smithy_client.expectString,
|
|
2093
|
+
BudgetType: import_smithy_client.expectString,
|
|
2094
|
+
CalculatedSpend: import_smithy_client._json,
|
|
2095
|
+
CostFilters: import_smithy_client._json,
|
|
2096
|
+
CostTypes: import_smithy_client._json,
|
|
2097
|
+
LastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2098
|
+
PlannedBudgetLimits: import_smithy_client._json,
|
|
2099
|
+
TimePeriod: (_) => de_TimePeriod(_, context),
|
|
2100
|
+
TimeUnit: import_smithy_client.expectString
|
|
2101
|
+
});
|
|
2102
|
+
}, "de_Budget");
|
|
2103
|
+
var de_BudgetedAndActualAmounts = /* @__PURE__ */ __name((output, context) => {
|
|
2104
|
+
return (0, import_smithy_client.take)(output, {
|
|
2105
|
+
ActualAmount: import_smithy_client._json,
|
|
2106
|
+
BudgetedAmount: import_smithy_client._json,
|
|
2107
|
+
TimePeriod: (_) => de_TimePeriod(_, context)
|
|
2108
|
+
});
|
|
2109
|
+
}, "de_BudgetedAndActualAmounts");
|
|
2110
|
+
var de_BudgetedAndActualAmountsList = /* @__PURE__ */ __name((output, context) => {
|
|
2111
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2112
|
+
return de_BudgetedAndActualAmounts(entry, context);
|
|
2113
|
+
});
|
|
2114
|
+
return retVal;
|
|
2115
|
+
}, "de_BudgetedAndActualAmountsList");
|
|
2116
|
+
var de_BudgetNotificationsForAccount = /* @__PURE__ */ __name((output, context) => {
|
|
2117
|
+
return (0, import_smithy_client.take)(output, {
|
|
2118
|
+
BudgetName: import_smithy_client.expectString,
|
|
2119
|
+
Notifications: (_) => de_Notifications(_, context)
|
|
2120
|
+
});
|
|
2121
|
+
}, "de_BudgetNotificationsForAccount");
|
|
2122
|
+
var de_BudgetNotificationsForAccountList = /* @__PURE__ */ __name((output, context) => {
|
|
2123
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2124
|
+
return de_BudgetNotificationsForAccount(entry, context);
|
|
2125
|
+
});
|
|
2126
|
+
return retVal;
|
|
2127
|
+
}, "de_BudgetNotificationsForAccountList");
|
|
2128
|
+
var de_BudgetPerformanceHistory = /* @__PURE__ */ __name((output, context) => {
|
|
2129
|
+
return (0, import_smithy_client.take)(output, {
|
|
2130
|
+
BudgetName: import_smithy_client.expectString,
|
|
2131
|
+
BudgetType: import_smithy_client.expectString,
|
|
2132
|
+
BudgetedAndActualAmountsList: (_) => de_BudgetedAndActualAmountsList(_, context),
|
|
2133
|
+
CostFilters: import_smithy_client._json,
|
|
2134
|
+
CostTypes: import_smithy_client._json,
|
|
2135
|
+
TimeUnit: import_smithy_client.expectString
|
|
2136
|
+
});
|
|
2137
|
+
}, "de_BudgetPerformanceHistory");
|
|
2138
|
+
var de_Budgets = /* @__PURE__ */ __name((output, context) => {
|
|
2139
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2140
|
+
return de_Budget(entry, context);
|
|
2141
|
+
});
|
|
2142
|
+
return retVal;
|
|
2143
|
+
}, "de_Budgets");
|
|
2144
|
+
var de_DeleteBudgetActionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2145
|
+
return (0, import_smithy_client.take)(output, {
|
|
2146
|
+
AccountId: import_smithy_client.expectString,
|
|
2147
|
+
Action: (_) => de_Action(_, context),
|
|
2148
|
+
BudgetName: import_smithy_client.expectString
|
|
2149
|
+
});
|
|
2150
|
+
}, "de_DeleteBudgetActionResponse");
|
|
2151
|
+
var de_DescribeBudgetActionHistoriesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2152
|
+
return (0, import_smithy_client.take)(output, {
|
|
2153
|
+
ActionHistories: (_) => de_ActionHistories(_, context),
|
|
2154
|
+
NextToken: import_smithy_client.expectString
|
|
2155
|
+
});
|
|
2156
|
+
}, "de_DescribeBudgetActionHistoriesResponse");
|
|
2157
|
+
var de_DescribeBudgetActionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2158
|
+
return (0, import_smithy_client.take)(output, {
|
|
2159
|
+
AccountId: import_smithy_client.expectString,
|
|
2160
|
+
Action: (_) => de_Action(_, context),
|
|
2161
|
+
BudgetName: import_smithy_client.expectString
|
|
2162
|
+
});
|
|
2163
|
+
}, "de_DescribeBudgetActionResponse");
|
|
2164
|
+
var de_DescribeBudgetActionsForAccountResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2165
|
+
return (0, import_smithy_client.take)(output, {
|
|
2166
|
+
Actions: (_) => de_Actions(_, context),
|
|
2167
|
+
NextToken: import_smithy_client.expectString
|
|
2168
|
+
});
|
|
2169
|
+
}, "de_DescribeBudgetActionsForAccountResponse");
|
|
2170
|
+
var de_DescribeBudgetActionsForBudgetResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2171
|
+
return (0, import_smithy_client.take)(output, {
|
|
2172
|
+
Actions: (_) => de_Actions(_, context),
|
|
2173
|
+
NextToken: import_smithy_client.expectString
|
|
2174
|
+
});
|
|
2175
|
+
}, "de_DescribeBudgetActionsForBudgetResponse");
|
|
2176
|
+
var de_DescribeBudgetNotificationsForAccountResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2177
|
+
return (0, import_smithy_client.take)(output, {
|
|
2178
|
+
BudgetNotificationsForAccount: (_) => de_BudgetNotificationsForAccountList(_, context),
|
|
2179
|
+
NextToken: import_smithy_client.expectString
|
|
2180
|
+
});
|
|
2181
|
+
}, "de_DescribeBudgetNotificationsForAccountResponse");
|
|
2182
|
+
var de_DescribeBudgetPerformanceHistoryResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2183
|
+
return (0, import_smithy_client.take)(output, {
|
|
2184
|
+
BudgetPerformanceHistory: (_) => de_BudgetPerformanceHistory(_, context),
|
|
2185
|
+
NextToken: import_smithy_client.expectString
|
|
2186
|
+
});
|
|
2187
|
+
}, "de_DescribeBudgetPerformanceHistoryResponse");
|
|
2188
|
+
var de_DescribeBudgetResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2189
|
+
return (0, import_smithy_client.take)(output, {
|
|
2190
|
+
Budget: (_) => de_Budget(_, context)
|
|
2191
|
+
});
|
|
2192
|
+
}, "de_DescribeBudgetResponse");
|
|
2193
|
+
var de_DescribeBudgetsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2194
|
+
return (0, import_smithy_client.take)(output, {
|
|
2195
|
+
Budgets: (_) => de_Budgets(_, context),
|
|
2196
|
+
NextToken: import_smithy_client.expectString
|
|
2197
|
+
});
|
|
2198
|
+
}, "de_DescribeBudgetsResponse");
|
|
2199
|
+
var de_DescribeNotificationsForBudgetResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2200
|
+
return (0, import_smithy_client.take)(output, {
|
|
2201
|
+
NextToken: import_smithy_client.expectString,
|
|
2202
|
+
Notifications: (_) => de_Notifications(_, context)
|
|
2203
|
+
});
|
|
2204
|
+
}, "de_DescribeNotificationsForBudgetResponse");
|
|
2205
|
+
var de_Notification = /* @__PURE__ */ __name((output, context) => {
|
|
2206
|
+
return (0, import_smithy_client.take)(output, {
|
|
2207
|
+
ComparisonOperator: import_smithy_client.expectString,
|
|
2208
|
+
NotificationState: import_smithy_client.expectString,
|
|
2209
|
+
NotificationType: import_smithy_client.expectString,
|
|
2210
|
+
Threshold: import_smithy_client.limitedParseDouble,
|
|
2211
|
+
ThresholdType: import_smithy_client.expectString
|
|
2212
|
+
});
|
|
2213
|
+
}, "de_Notification");
|
|
2214
|
+
var de_Notifications = /* @__PURE__ */ __name((output, context) => {
|
|
2215
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2216
|
+
return de_Notification(entry, context);
|
|
2217
|
+
});
|
|
2218
|
+
return retVal;
|
|
2219
|
+
}, "de_Notifications");
|
|
2220
|
+
var de_TimePeriod = /* @__PURE__ */ __name((output, context) => {
|
|
2221
|
+
return (0, import_smithy_client.take)(output, {
|
|
2222
|
+
End: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2223
|
+
Start: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2224
|
+
});
|
|
2225
|
+
}, "de_TimePeriod");
|
|
2226
|
+
var de_UpdateBudgetActionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2227
|
+
return (0, import_smithy_client.take)(output, {
|
|
2228
|
+
AccountId: import_smithy_client.expectString,
|
|
2229
|
+
BudgetName: import_smithy_client.expectString,
|
|
2230
|
+
NewAction: (_) => de_Action(_, context),
|
|
2231
|
+
OldAction: (_) => de_Action(_, context)
|
|
2232
|
+
});
|
|
2233
|
+
}, "de_UpdateBudgetActionResponse");
|
|
2234
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2235
|
+
httpStatusCode: output.statusCode,
|
|
2236
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2237
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2238
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2239
|
+
}), "deserializeMetadata");
|
|
2240
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2241
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(BudgetsServiceException);
|
|
2242
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
2243
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2244
|
+
const contents = {
|
|
2245
|
+
protocol,
|
|
2246
|
+
hostname,
|
|
2247
|
+
port,
|
|
2248
|
+
method: "POST",
|
|
2249
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
2250
|
+
headers
|
|
2251
|
+
};
|
|
2252
|
+
if (resolvedHostname !== void 0) {
|
|
2253
|
+
contents.hostname = resolvedHostname;
|
|
2254
|
+
}
|
|
2255
|
+
if (body !== void 0) {
|
|
2256
|
+
contents.body = body;
|
|
2257
|
+
}
|
|
2258
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
2259
|
+
}, "buildHttpRpcRequest");
|
|
2260
|
+
function sharedHeaders(operation) {
|
|
2261
|
+
return {
|
|
2262
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2263
|
+
"x-amz-target": `AWSBudgetServiceGateway.${operation}`
|
|
2264
|
+
};
|
|
2265
|
+
}
|
|
2266
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
2267
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2268
|
+
if (encoded.length) {
|
|
2269
|
+
return JSON.parse(encoded);
|
|
2270
|
+
}
|
|
2271
|
+
return {};
|
|
2272
|
+
}), "parseBody");
|
|
2273
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2274
|
+
const value = await parseBody(errorBody, context);
|
|
2275
|
+
value.message = value.message ?? value.Message;
|
|
2276
|
+
return value;
|
|
2277
|
+
}, "parseErrorBody");
|
|
2278
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2279
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2280
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2281
|
+
let cleanValue = rawValue;
|
|
2282
|
+
if (typeof cleanValue === "number") {
|
|
2283
|
+
cleanValue = cleanValue.toString();
|
|
2284
|
+
}
|
|
2285
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2286
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2287
|
+
}
|
|
2288
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2289
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2290
|
+
}
|
|
2291
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2292
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2293
|
+
}
|
|
2294
|
+
return cleanValue;
|
|
2295
|
+
}, "sanitizeErrorCode");
|
|
2296
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2297
|
+
if (headerKey !== void 0) {
|
|
2298
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2299
|
+
}
|
|
2300
|
+
if (data.code !== void 0) {
|
|
2301
|
+
return sanitizeErrorCode(data.code);
|
|
2302
|
+
}
|
|
2303
|
+
if (data["__type"] !== void 0) {
|
|
2304
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2305
|
+
}
|
|
2306
|
+
}, "loadRestJsonErrorCode");
|
|
2307
|
+
|
|
2308
|
+
// src/commands/CreateBudgetActionCommand.ts
|
|
2309
|
+
var _CreateBudgetActionCommand = class _CreateBudgetActionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2310
|
+
...commonParams
|
|
2311
|
+
}).m(function(Command, cs, config, o) {
|
|
2312
|
+
return [
|
|
2313
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2314
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2315
|
+
];
|
|
2316
|
+
}).s("AWSBudgetServiceGateway", "CreateBudgetAction", {}).n("BudgetsClient", "CreateBudgetActionCommand").f(CreateBudgetActionRequestFilterSensitiveLog, void 0).ser(se_CreateBudgetActionCommand).de(de_CreateBudgetActionCommand).build() {
|
|
2317
|
+
};
|
|
2318
|
+
__name(_CreateBudgetActionCommand, "CreateBudgetActionCommand");
|
|
2319
|
+
var CreateBudgetActionCommand = _CreateBudgetActionCommand;
|
|
2320
|
+
|
|
2321
|
+
// src/commands/CreateBudgetCommand.ts
|
|
2322
|
+
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
var _CreateBudgetCommand = class _CreateBudgetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2327
|
+
...commonParams
|
|
2328
|
+
}).m(function(Command, cs, config, o) {
|
|
2329
|
+
return [
|
|
2330
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2331
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2332
|
+
];
|
|
2333
|
+
}).s("AWSBudgetServiceGateway", "CreateBudget", {}).n("BudgetsClient", "CreateBudgetCommand").f(CreateBudgetRequestFilterSensitiveLog, void 0).ser(se_CreateBudgetCommand).de(de_CreateBudgetCommand).build() {
|
|
2334
|
+
};
|
|
2335
|
+
__name(_CreateBudgetCommand, "CreateBudgetCommand");
|
|
2336
|
+
var CreateBudgetCommand = _CreateBudgetCommand;
|
|
2337
|
+
|
|
2338
|
+
// src/commands/CreateNotificationCommand.ts
|
|
2339
|
+
|
|
2340
|
+
|
|
2341
|
+
|
|
2342
|
+
|
|
2343
|
+
var _CreateNotificationCommand = class _CreateNotificationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2344
|
+
...commonParams
|
|
2345
|
+
}).m(function(Command, cs, config, o) {
|
|
2346
|
+
return [
|
|
2347
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2348
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2349
|
+
];
|
|
2350
|
+
}).s("AWSBudgetServiceGateway", "CreateNotification", {}).n("BudgetsClient", "CreateNotificationCommand").f(CreateNotificationRequestFilterSensitiveLog, void 0).ser(se_CreateNotificationCommand).de(de_CreateNotificationCommand).build() {
|
|
2351
|
+
};
|
|
2352
|
+
__name(_CreateNotificationCommand, "CreateNotificationCommand");
|
|
2353
|
+
var CreateNotificationCommand = _CreateNotificationCommand;
|
|
2354
|
+
|
|
2355
|
+
// src/commands/CreateSubscriberCommand.ts
|
|
2356
|
+
|
|
2357
|
+
|
|
2358
|
+
|
|
2359
|
+
|
|
2360
|
+
var _CreateSubscriberCommand = class _CreateSubscriberCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2361
|
+
...commonParams
|
|
2362
|
+
}).m(function(Command, cs, config, o) {
|
|
2363
|
+
return [
|
|
2364
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2365
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2366
|
+
];
|
|
2367
|
+
}).s("AWSBudgetServiceGateway", "CreateSubscriber", {}).n("BudgetsClient", "CreateSubscriberCommand").f(CreateSubscriberRequestFilterSensitiveLog, void 0).ser(se_CreateSubscriberCommand).de(de_CreateSubscriberCommand).build() {
|
|
2368
|
+
};
|
|
2369
|
+
__name(_CreateSubscriberCommand, "CreateSubscriberCommand");
|
|
2370
|
+
var CreateSubscriberCommand = _CreateSubscriberCommand;
|
|
2371
|
+
|
|
2372
|
+
// src/commands/DeleteBudgetActionCommand.ts
|
|
2373
|
+
|
|
2374
|
+
|
|
2375
|
+
|
|
2376
|
+
|
|
2377
|
+
var _DeleteBudgetActionCommand = class _DeleteBudgetActionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2378
|
+
...commonParams
|
|
2379
|
+
}).m(function(Command, cs, config, o) {
|
|
2380
|
+
return [
|
|
2381
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2382
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2383
|
+
];
|
|
2384
|
+
}).s("AWSBudgetServiceGateway", "DeleteBudgetAction", {}).n("BudgetsClient", "DeleteBudgetActionCommand").f(void 0, DeleteBudgetActionResponseFilterSensitiveLog).ser(se_DeleteBudgetActionCommand).de(de_DeleteBudgetActionCommand).build() {
|
|
2385
|
+
};
|
|
2386
|
+
__name(_DeleteBudgetActionCommand, "DeleteBudgetActionCommand");
|
|
2387
|
+
var DeleteBudgetActionCommand = _DeleteBudgetActionCommand;
|
|
2388
|
+
|
|
2389
|
+
// src/commands/DeleteBudgetCommand.ts
|
|
2390
|
+
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
var _DeleteBudgetCommand = class _DeleteBudgetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2395
|
+
...commonParams
|
|
2396
|
+
}).m(function(Command, cs, config, o) {
|
|
2397
|
+
return [
|
|
2398
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2399
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2400
|
+
];
|
|
2401
|
+
}).s("AWSBudgetServiceGateway", "DeleteBudget", {}).n("BudgetsClient", "DeleteBudgetCommand").f(void 0, void 0).ser(se_DeleteBudgetCommand).de(de_DeleteBudgetCommand).build() {
|
|
2402
|
+
};
|
|
2403
|
+
__name(_DeleteBudgetCommand, "DeleteBudgetCommand");
|
|
2404
|
+
var DeleteBudgetCommand = _DeleteBudgetCommand;
|
|
2405
|
+
|
|
2406
|
+
// src/commands/DeleteNotificationCommand.ts
|
|
2407
|
+
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
|
|
2411
|
+
var _DeleteNotificationCommand = class _DeleteNotificationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2412
|
+
...commonParams
|
|
2413
|
+
}).m(function(Command, cs, config, o) {
|
|
2414
|
+
return [
|
|
2415
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2416
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2417
|
+
];
|
|
2418
|
+
}).s("AWSBudgetServiceGateway", "DeleteNotification", {}).n("BudgetsClient", "DeleteNotificationCommand").f(void 0, void 0).ser(se_DeleteNotificationCommand).de(de_DeleteNotificationCommand).build() {
|
|
2419
|
+
};
|
|
2420
|
+
__name(_DeleteNotificationCommand, "DeleteNotificationCommand");
|
|
2421
|
+
var DeleteNotificationCommand = _DeleteNotificationCommand;
|
|
2422
|
+
|
|
2423
|
+
// src/commands/DeleteSubscriberCommand.ts
|
|
2424
|
+
|
|
2425
|
+
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
var _DeleteSubscriberCommand = class _DeleteSubscriberCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2429
|
+
...commonParams
|
|
2430
|
+
}).m(function(Command, cs, config, o) {
|
|
2431
|
+
return [
|
|
2432
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2433
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2434
|
+
];
|
|
2435
|
+
}).s("AWSBudgetServiceGateway", "DeleteSubscriber", {}).n("BudgetsClient", "DeleteSubscriberCommand").f(DeleteSubscriberRequestFilterSensitiveLog, void 0).ser(se_DeleteSubscriberCommand).de(de_DeleteSubscriberCommand).build() {
|
|
2436
|
+
};
|
|
2437
|
+
__name(_DeleteSubscriberCommand, "DeleteSubscriberCommand");
|
|
2438
|
+
var DeleteSubscriberCommand = _DeleteSubscriberCommand;
|
|
2439
|
+
|
|
2440
|
+
// src/commands/DescribeBudgetActionCommand.ts
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
|
|
2445
|
+
var _DescribeBudgetActionCommand = class _DescribeBudgetActionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2446
|
+
...commonParams
|
|
2447
|
+
}).m(function(Command, cs, config, o) {
|
|
2448
|
+
return [
|
|
2449
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2450
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2451
|
+
];
|
|
2452
|
+
}).s("AWSBudgetServiceGateway", "DescribeBudgetAction", {}).n("BudgetsClient", "DescribeBudgetActionCommand").f(void 0, DescribeBudgetActionResponseFilterSensitiveLog).ser(se_DescribeBudgetActionCommand).de(de_DescribeBudgetActionCommand).build() {
|
|
2453
|
+
};
|
|
2454
|
+
__name(_DescribeBudgetActionCommand, "DescribeBudgetActionCommand");
|
|
2455
|
+
var DescribeBudgetActionCommand = _DescribeBudgetActionCommand;
|
|
2456
|
+
|
|
2457
|
+
// src/commands/DescribeBudgetActionHistoriesCommand.ts
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
var _DescribeBudgetActionHistoriesCommand = class _DescribeBudgetActionHistoriesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2463
|
+
...commonParams
|
|
2464
|
+
}).m(function(Command, cs, config, o) {
|
|
2465
|
+
return [
|
|
2466
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2467
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2468
|
+
];
|
|
2469
|
+
}).s("AWSBudgetServiceGateway", "DescribeBudgetActionHistories", {}).n("BudgetsClient", "DescribeBudgetActionHistoriesCommand").f(void 0, DescribeBudgetActionHistoriesResponseFilterSensitiveLog).ser(se_DescribeBudgetActionHistoriesCommand).de(de_DescribeBudgetActionHistoriesCommand).build() {
|
|
2470
|
+
};
|
|
2471
|
+
__name(_DescribeBudgetActionHistoriesCommand, "DescribeBudgetActionHistoriesCommand");
|
|
2472
|
+
var DescribeBudgetActionHistoriesCommand = _DescribeBudgetActionHistoriesCommand;
|
|
2473
|
+
|
|
2474
|
+
// src/commands/DescribeBudgetActionsForAccountCommand.ts
|
|
2475
|
+
|
|
2476
|
+
|
|
2477
|
+
|
|
2478
|
+
|
|
2479
|
+
var _DescribeBudgetActionsForAccountCommand = class _DescribeBudgetActionsForAccountCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2480
|
+
...commonParams
|
|
2481
|
+
}).m(function(Command, cs, config, o) {
|
|
2482
|
+
return [
|
|
2483
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2484
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2485
|
+
];
|
|
2486
|
+
}).s("AWSBudgetServiceGateway", "DescribeBudgetActionsForAccount", {}).n("BudgetsClient", "DescribeBudgetActionsForAccountCommand").f(void 0, DescribeBudgetActionsForAccountResponseFilterSensitiveLog).ser(se_DescribeBudgetActionsForAccountCommand).de(de_DescribeBudgetActionsForAccountCommand).build() {
|
|
2487
|
+
};
|
|
2488
|
+
__name(_DescribeBudgetActionsForAccountCommand, "DescribeBudgetActionsForAccountCommand");
|
|
2489
|
+
var DescribeBudgetActionsForAccountCommand = _DescribeBudgetActionsForAccountCommand;
|
|
2490
|
+
|
|
2491
|
+
// src/commands/DescribeBudgetActionsForBudgetCommand.ts
|
|
2492
|
+
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
|
|
2496
|
+
var _DescribeBudgetActionsForBudgetCommand = class _DescribeBudgetActionsForBudgetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2497
|
+
...commonParams
|
|
2498
|
+
}).m(function(Command, cs, config, o) {
|
|
2499
|
+
return [
|
|
2500
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2501
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2502
|
+
];
|
|
2503
|
+
}).s("AWSBudgetServiceGateway", "DescribeBudgetActionsForBudget", {}).n("BudgetsClient", "DescribeBudgetActionsForBudgetCommand").f(void 0, DescribeBudgetActionsForBudgetResponseFilterSensitiveLog).ser(se_DescribeBudgetActionsForBudgetCommand).de(de_DescribeBudgetActionsForBudgetCommand).build() {
|
|
2504
|
+
};
|
|
2505
|
+
__name(_DescribeBudgetActionsForBudgetCommand, "DescribeBudgetActionsForBudgetCommand");
|
|
2506
|
+
var DescribeBudgetActionsForBudgetCommand = _DescribeBudgetActionsForBudgetCommand;
|
|
2507
|
+
|
|
2508
|
+
// src/commands/DescribeBudgetCommand.ts
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
var _DescribeBudgetCommand = class _DescribeBudgetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2514
|
+
...commonParams
|
|
2515
|
+
}).m(function(Command, cs, config, o) {
|
|
2516
|
+
return [
|
|
2517
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2518
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2519
|
+
];
|
|
2520
|
+
}).s("AWSBudgetServiceGateway", "DescribeBudget", {}).n("BudgetsClient", "DescribeBudgetCommand").f(void 0, void 0).ser(se_DescribeBudgetCommand).de(de_DescribeBudgetCommand).build() {
|
|
2521
|
+
};
|
|
2522
|
+
__name(_DescribeBudgetCommand, "DescribeBudgetCommand");
|
|
2523
|
+
var DescribeBudgetCommand = _DescribeBudgetCommand;
|
|
2524
|
+
|
|
2525
|
+
// src/commands/DescribeBudgetNotificationsForAccountCommand.ts
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
var _DescribeBudgetNotificationsForAccountCommand = class _DescribeBudgetNotificationsForAccountCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2531
|
+
...commonParams
|
|
2532
|
+
}).m(function(Command, cs, config, o) {
|
|
2533
|
+
return [
|
|
2534
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2535
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2536
|
+
];
|
|
2537
|
+
}).s("AWSBudgetServiceGateway", "DescribeBudgetNotificationsForAccount", {}).n("BudgetsClient", "DescribeBudgetNotificationsForAccountCommand").f(void 0, void 0).ser(se_DescribeBudgetNotificationsForAccountCommand).de(de_DescribeBudgetNotificationsForAccountCommand).build() {
|
|
2538
|
+
};
|
|
2539
|
+
__name(_DescribeBudgetNotificationsForAccountCommand, "DescribeBudgetNotificationsForAccountCommand");
|
|
2540
|
+
var DescribeBudgetNotificationsForAccountCommand = _DescribeBudgetNotificationsForAccountCommand;
|
|
2541
|
+
|
|
2542
|
+
// src/commands/DescribeBudgetPerformanceHistoryCommand.ts
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
var _DescribeBudgetPerformanceHistoryCommand = class _DescribeBudgetPerformanceHistoryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2548
|
+
...commonParams
|
|
2549
|
+
}).m(function(Command, cs, config, o) {
|
|
2550
|
+
return [
|
|
2551
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2552
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2553
|
+
];
|
|
2554
|
+
}).s("AWSBudgetServiceGateway", "DescribeBudgetPerformanceHistory", {}).n("BudgetsClient", "DescribeBudgetPerformanceHistoryCommand").f(void 0, void 0).ser(se_DescribeBudgetPerformanceHistoryCommand).de(de_DescribeBudgetPerformanceHistoryCommand).build() {
|
|
2555
|
+
};
|
|
2556
|
+
__name(_DescribeBudgetPerformanceHistoryCommand, "DescribeBudgetPerformanceHistoryCommand");
|
|
2557
|
+
var DescribeBudgetPerformanceHistoryCommand = _DescribeBudgetPerformanceHistoryCommand;
|
|
2558
|
+
|
|
2559
|
+
// src/commands/DescribeBudgetsCommand.ts
|
|
2560
|
+
|
|
2561
|
+
|
|
2562
|
+
|
|
2563
|
+
|
|
2564
|
+
var _DescribeBudgetsCommand = class _DescribeBudgetsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2565
|
+
...commonParams
|
|
2566
|
+
}).m(function(Command, cs, config, o) {
|
|
2567
|
+
return [
|
|
2568
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2569
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2570
|
+
];
|
|
2571
|
+
}).s("AWSBudgetServiceGateway", "DescribeBudgets", {}).n("BudgetsClient", "DescribeBudgetsCommand").f(void 0, void 0).ser(se_DescribeBudgetsCommand).de(de_DescribeBudgetsCommand).build() {
|
|
2572
|
+
};
|
|
2573
|
+
__name(_DescribeBudgetsCommand, "DescribeBudgetsCommand");
|
|
2574
|
+
var DescribeBudgetsCommand = _DescribeBudgetsCommand;
|
|
2575
|
+
|
|
2576
|
+
// src/commands/DescribeNotificationsForBudgetCommand.ts
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
var _DescribeNotificationsForBudgetCommand = class _DescribeNotificationsForBudgetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2582
|
+
...commonParams
|
|
2583
|
+
}).m(function(Command, cs, config, o) {
|
|
2584
|
+
return [
|
|
2585
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2586
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2587
|
+
];
|
|
2588
|
+
}).s("AWSBudgetServiceGateway", "DescribeNotificationsForBudget", {}).n("BudgetsClient", "DescribeNotificationsForBudgetCommand").f(void 0, void 0).ser(se_DescribeNotificationsForBudgetCommand).de(de_DescribeNotificationsForBudgetCommand).build() {
|
|
2589
|
+
};
|
|
2590
|
+
__name(_DescribeNotificationsForBudgetCommand, "DescribeNotificationsForBudgetCommand");
|
|
2591
|
+
var DescribeNotificationsForBudgetCommand = _DescribeNotificationsForBudgetCommand;
|
|
2592
|
+
|
|
2593
|
+
// src/commands/DescribeSubscribersForNotificationCommand.ts
|
|
2594
|
+
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
var _DescribeSubscribersForNotificationCommand = class _DescribeSubscribersForNotificationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2599
|
+
...commonParams
|
|
2600
|
+
}).m(function(Command, cs, config, o) {
|
|
2601
|
+
return [
|
|
2602
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2603
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2604
|
+
];
|
|
2605
|
+
}).s("AWSBudgetServiceGateway", "DescribeSubscribersForNotification", {}).n("BudgetsClient", "DescribeSubscribersForNotificationCommand").f(void 0, DescribeSubscribersForNotificationResponseFilterSensitiveLog).ser(se_DescribeSubscribersForNotificationCommand).de(de_DescribeSubscribersForNotificationCommand).build() {
|
|
2606
|
+
};
|
|
2607
|
+
__name(_DescribeSubscribersForNotificationCommand, "DescribeSubscribersForNotificationCommand");
|
|
2608
|
+
var DescribeSubscribersForNotificationCommand = _DescribeSubscribersForNotificationCommand;
|
|
2609
|
+
|
|
2610
|
+
// src/commands/ExecuteBudgetActionCommand.ts
|
|
2611
|
+
|
|
2612
|
+
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
var _ExecuteBudgetActionCommand = class _ExecuteBudgetActionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2616
|
+
...commonParams
|
|
2617
|
+
}).m(function(Command, cs, config, o) {
|
|
2618
|
+
return [
|
|
2619
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2620
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2621
|
+
];
|
|
2622
|
+
}).s("AWSBudgetServiceGateway", "ExecuteBudgetAction", {}).n("BudgetsClient", "ExecuteBudgetActionCommand").f(void 0, void 0).ser(se_ExecuteBudgetActionCommand).de(de_ExecuteBudgetActionCommand).build() {
|
|
2623
|
+
};
|
|
2624
|
+
__name(_ExecuteBudgetActionCommand, "ExecuteBudgetActionCommand");
|
|
2625
|
+
var ExecuteBudgetActionCommand = _ExecuteBudgetActionCommand;
|
|
2626
|
+
|
|
2627
|
+
// src/commands/UpdateBudgetActionCommand.ts
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
|
|
2631
|
+
|
|
2632
|
+
var _UpdateBudgetActionCommand = class _UpdateBudgetActionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2633
|
+
...commonParams
|
|
2634
|
+
}).m(function(Command, cs, config, o) {
|
|
2635
|
+
return [
|
|
2636
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2637
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2638
|
+
];
|
|
2639
|
+
}).s("AWSBudgetServiceGateway", "UpdateBudgetAction", {}).n("BudgetsClient", "UpdateBudgetActionCommand").f(UpdateBudgetActionRequestFilterSensitiveLog, UpdateBudgetActionResponseFilterSensitiveLog).ser(se_UpdateBudgetActionCommand).de(de_UpdateBudgetActionCommand).build() {
|
|
2640
|
+
};
|
|
2641
|
+
__name(_UpdateBudgetActionCommand, "UpdateBudgetActionCommand");
|
|
2642
|
+
var UpdateBudgetActionCommand = _UpdateBudgetActionCommand;
|
|
2643
|
+
|
|
2644
|
+
// src/commands/UpdateBudgetCommand.ts
|
|
2645
|
+
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
var _UpdateBudgetCommand = class _UpdateBudgetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2650
|
+
...commonParams
|
|
2651
|
+
}).m(function(Command, cs, config, o) {
|
|
2652
|
+
return [
|
|
2653
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2654
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2655
|
+
];
|
|
2656
|
+
}).s("AWSBudgetServiceGateway", "UpdateBudget", {}).n("BudgetsClient", "UpdateBudgetCommand").f(void 0, void 0).ser(se_UpdateBudgetCommand).de(de_UpdateBudgetCommand).build() {
|
|
2657
|
+
};
|
|
2658
|
+
__name(_UpdateBudgetCommand, "UpdateBudgetCommand");
|
|
2659
|
+
var UpdateBudgetCommand = _UpdateBudgetCommand;
|
|
2660
|
+
|
|
2661
|
+
// src/commands/UpdateNotificationCommand.ts
|
|
2662
|
+
|
|
2663
|
+
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
var _UpdateNotificationCommand = class _UpdateNotificationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2667
|
+
...commonParams
|
|
2668
|
+
}).m(function(Command, cs, config, o) {
|
|
2669
|
+
return [
|
|
2670
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2671
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2672
|
+
];
|
|
2673
|
+
}).s("AWSBudgetServiceGateway", "UpdateNotification", {}).n("BudgetsClient", "UpdateNotificationCommand").f(void 0, void 0).ser(se_UpdateNotificationCommand).de(de_UpdateNotificationCommand).build() {
|
|
2674
|
+
};
|
|
2675
|
+
__name(_UpdateNotificationCommand, "UpdateNotificationCommand");
|
|
2676
|
+
var UpdateNotificationCommand = _UpdateNotificationCommand;
|
|
2677
|
+
|
|
2678
|
+
// src/commands/UpdateSubscriberCommand.ts
|
|
2679
|
+
|
|
2680
|
+
|
|
2681
|
+
|
|
2682
|
+
|
|
2683
|
+
var _UpdateSubscriberCommand = class _UpdateSubscriberCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2684
|
+
...commonParams
|
|
2685
|
+
}).m(function(Command, cs, config, o) {
|
|
2686
|
+
return [
|
|
2687
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2688
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2689
|
+
];
|
|
2690
|
+
}).s("AWSBudgetServiceGateway", "UpdateSubscriber", {}).n("BudgetsClient", "UpdateSubscriberCommand").f(UpdateSubscriberRequestFilterSensitiveLog, void 0).ser(se_UpdateSubscriberCommand).de(de_UpdateSubscriberCommand).build() {
|
|
2691
|
+
};
|
|
2692
|
+
__name(_UpdateSubscriberCommand, "UpdateSubscriberCommand");
|
|
2693
|
+
var UpdateSubscriberCommand = _UpdateSubscriberCommand;
|
|
2694
|
+
|
|
2695
|
+
// src/Budgets.ts
|
|
2696
|
+
var commands = {
|
|
2697
|
+
CreateBudgetCommand,
|
|
2698
|
+
CreateBudgetActionCommand,
|
|
2699
|
+
CreateNotificationCommand,
|
|
2700
|
+
CreateSubscriberCommand,
|
|
2701
|
+
DeleteBudgetCommand,
|
|
2702
|
+
DeleteBudgetActionCommand,
|
|
2703
|
+
DeleteNotificationCommand,
|
|
2704
|
+
DeleteSubscriberCommand,
|
|
2705
|
+
DescribeBudgetCommand,
|
|
2706
|
+
DescribeBudgetActionCommand,
|
|
2707
|
+
DescribeBudgetActionHistoriesCommand,
|
|
2708
|
+
DescribeBudgetActionsForAccountCommand,
|
|
2709
|
+
DescribeBudgetActionsForBudgetCommand,
|
|
2710
|
+
DescribeBudgetNotificationsForAccountCommand,
|
|
2711
|
+
DescribeBudgetPerformanceHistoryCommand,
|
|
2712
|
+
DescribeBudgetsCommand,
|
|
2713
|
+
DescribeNotificationsForBudgetCommand,
|
|
2714
|
+
DescribeSubscribersForNotificationCommand,
|
|
2715
|
+
ExecuteBudgetActionCommand,
|
|
2716
|
+
UpdateBudgetCommand,
|
|
2717
|
+
UpdateBudgetActionCommand,
|
|
2718
|
+
UpdateNotificationCommand,
|
|
2719
|
+
UpdateSubscriberCommand
|
|
2720
|
+
};
|
|
2721
|
+
var _Budgets = class _Budgets extends BudgetsClient {
|
|
2722
|
+
};
|
|
2723
|
+
__name(_Budgets, "Budgets");
|
|
2724
|
+
var Budgets = _Budgets;
|
|
2725
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Budgets);
|
|
2726
|
+
|
|
2727
|
+
// src/pagination/DescribeBudgetActionHistoriesPaginator.ts
|
|
2728
|
+
var import_core = require("@smithy/core");
|
|
2729
|
+
var paginateDescribeBudgetActionHistories = (0, import_core.createPaginator)(BudgetsClient, DescribeBudgetActionHistoriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2730
|
+
|
|
2731
|
+
// src/pagination/DescribeBudgetActionsForAccountPaginator.ts
|
|
2732
|
+
|
|
2733
|
+
var paginateDescribeBudgetActionsForAccount = (0, import_core.createPaginator)(BudgetsClient, DescribeBudgetActionsForAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
2734
|
+
|
|
2735
|
+
// src/pagination/DescribeBudgetActionsForBudgetPaginator.ts
|
|
2736
|
+
|
|
2737
|
+
var paginateDescribeBudgetActionsForBudget = (0, import_core.createPaginator)(BudgetsClient, DescribeBudgetActionsForBudgetCommand, "NextToken", "NextToken", "MaxResults");
|
|
2738
|
+
|
|
2739
|
+
// src/pagination/DescribeBudgetNotificationsForAccountPaginator.ts
|
|
2740
|
+
|
|
2741
|
+
var paginateDescribeBudgetNotificationsForAccount = (0, import_core.createPaginator)(BudgetsClient, DescribeBudgetNotificationsForAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
2742
|
+
|
|
2743
|
+
// src/pagination/DescribeBudgetPerformanceHistoryPaginator.ts
|
|
2744
|
+
|
|
2745
|
+
var paginateDescribeBudgetPerformanceHistory = (0, import_core.createPaginator)(BudgetsClient, DescribeBudgetPerformanceHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
2746
|
+
|
|
2747
|
+
// src/pagination/DescribeBudgetsPaginator.ts
|
|
2748
|
+
|
|
2749
|
+
var paginateDescribeBudgets = (0, import_core.createPaginator)(BudgetsClient, DescribeBudgetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2750
|
+
|
|
2751
|
+
// src/pagination/DescribeNotificationsForBudgetPaginator.ts
|
|
2752
|
+
|
|
2753
|
+
var paginateDescribeNotificationsForBudget = (0, import_core.createPaginator)(BudgetsClient, DescribeNotificationsForBudgetCommand, "NextToken", "NextToken", "MaxResults");
|
|
2754
|
+
|
|
2755
|
+
// src/pagination/DescribeSubscribersForNotificationPaginator.ts
|
|
2756
|
+
|
|
2757
|
+
var paginateDescribeSubscribersForNotification = (0, import_core.createPaginator)(BudgetsClient, DescribeSubscribersForNotificationCommand, "NextToken", "NextToken", "MaxResults");
|
|
2758
|
+
|
|
2759
|
+
// src/index.ts
|
|
2760
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
2761
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2762
|
+
0 && (module.exports = {
|
|
2763
|
+
AccessDeniedException,
|
|
2764
|
+
ActionFilterSensitiveLog,
|
|
2765
|
+
ActionHistoryDetailsFilterSensitiveLog,
|
|
2766
|
+
ActionHistoryFilterSensitiveLog,
|
|
2767
|
+
ActionStatus,
|
|
2768
|
+
ActionSubType,
|
|
2769
|
+
ActionType,
|
|
2770
|
+
ApprovalModel,
|
|
2771
|
+
AutoAdjustType,
|
|
2772
|
+
BudgetType,
|
|
2773
|
+
Budgets,
|
|
2774
|
+
BudgetsClient,
|
|
2775
|
+
BudgetsServiceException,
|
|
2776
|
+
ComparisonOperator,
|
|
2777
|
+
CreateBudgetActionCommand,
|
|
2778
|
+
CreateBudgetActionRequestFilterSensitiveLog,
|
|
2779
|
+
CreateBudgetCommand,
|
|
2780
|
+
CreateBudgetRequestFilterSensitiveLog,
|
|
2781
|
+
CreateNotificationCommand,
|
|
2782
|
+
CreateNotificationRequestFilterSensitiveLog,
|
|
2783
|
+
CreateSubscriberCommand,
|
|
2784
|
+
CreateSubscriberRequestFilterSensitiveLog,
|
|
2785
|
+
CreationLimitExceededException,
|
|
2786
|
+
DeleteBudgetActionCommand,
|
|
2787
|
+
DeleteBudgetActionResponseFilterSensitiveLog,
|
|
2788
|
+
DeleteBudgetCommand,
|
|
2789
|
+
DeleteNotificationCommand,
|
|
2790
|
+
DeleteSubscriberCommand,
|
|
2791
|
+
DeleteSubscriberRequestFilterSensitiveLog,
|
|
2792
|
+
DescribeBudgetActionCommand,
|
|
2793
|
+
DescribeBudgetActionHistoriesCommand,
|
|
2794
|
+
DescribeBudgetActionHistoriesResponseFilterSensitiveLog,
|
|
2795
|
+
DescribeBudgetActionResponseFilterSensitiveLog,
|
|
2796
|
+
DescribeBudgetActionsForAccountCommand,
|
|
2797
|
+
DescribeBudgetActionsForAccountResponseFilterSensitiveLog,
|
|
2798
|
+
DescribeBudgetActionsForBudgetCommand,
|
|
2799
|
+
DescribeBudgetActionsForBudgetResponseFilterSensitiveLog,
|
|
2800
|
+
DescribeBudgetCommand,
|
|
2801
|
+
DescribeBudgetNotificationsForAccountCommand,
|
|
2802
|
+
DescribeBudgetPerformanceHistoryCommand,
|
|
2803
|
+
DescribeBudgetsCommand,
|
|
2804
|
+
DescribeNotificationsForBudgetCommand,
|
|
2805
|
+
DescribeSubscribersForNotificationCommand,
|
|
2806
|
+
DescribeSubscribersForNotificationResponseFilterSensitiveLog,
|
|
2807
|
+
DuplicateRecordException,
|
|
2808
|
+
EventType,
|
|
2809
|
+
ExecuteBudgetActionCommand,
|
|
2810
|
+
ExecutionType,
|
|
2811
|
+
ExpiredNextTokenException,
|
|
2812
|
+
InternalErrorException,
|
|
2813
|
+
InvalidNextTokenException,
|
|
2814
|
+
InvalidParameterException,
|
|
2815
|
+
NotFoundException,
|
|
2816
|
+
NotificationState,
|
|
2817
|
+
NotificationType,
|
|
2818
|
+
NotificationWithSubscribersFilterSensitiveLog,
|
|
2819
|
+
ResourceLockedException,
|
|
2820
|
+
SubscriberFilterSensitiveLog,
|
|
2821
|
+
SubscriptionType,
|
|
2822
|
+
ThresholdType,
|
|
2823
|
+
ThrottlingException,
|
|
2824
|
+
TimeUnit,
|
|
2825
|
+
UpdateBudgetActionCommand,
|
|
2826
|
+
UpdateBudgetActionRequestFilterSensitiveLog,
|
|
2827
|
+
UpdateBudgetActionResponseFilterSensitiveLog,
|
|
2828
|
+
UpdateBudgetCommand,
|
|
2829
|
+
UpdateNotificationCommand,
|
|
2830
|
+
UpdateSubscriberCommand,
|
|
2831
|
+
UpdateSubscriberRequestFilterSensitiveLog,
|
|
2832
|
+
__Client,
|
|
2833
|
+
paginateDescribeBudgetActionHistories,
|
|
2834
|
+
paginateDescribeBudgetActionsForAccount,
|
|
2835
|
+
paginateDescribeBudgetActionsForBudget,
|
|
2836
|
+
paginateDescribeBudgetNotificationsForAccount,
|
|
2837
|
+
paginateDescribeBudgetPerformanceHistory,
|
|
2838
|
+
paginateDescribeBudgets,
|
|
2839
|
+
paginateDescribeNotificationsForBudget,
|
|
2840
|
+
paginateDescribeSubscribersForNotification
|
|
2841
|
+
});
|