@aws-sdk/client-budgets 3.1075.0 → 3.1076.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/index.js +1315 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -62
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/BudgetsServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -169
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -919
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultBudgetsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "budgets",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultBudgetsHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,1138 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const n = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = "sigv4", i = { [n]: "Endpoint" }, j = { [n]: d }, k = { "fn": f, "argv": [j, "name"] }, l = { "authSchemes": [{ "name": h, "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, m = [{ [n]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [i]],
|
|
79
|
+
[c, m],
|
|
80
|
+
["aws.partition", m, d],
|
|
81
|
+
[e, [{ [n]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ fn: f, argv: [j, "supportsFIPS"] }, b]],
|
|
83
|
+
[e, [{ [n]: "UseDualStack" }, b]],
|
|
84
|
+
[g, [k, "aws-iso-b"]],
|
|
85
|
+
[g, [k, "aws-iso-e"]],
|
|
86
|
+
[g, [k, "aws"]],
|
|
87
|
+
[g, [k, "aws-iso-f"]],
|
|
88
|
+
[g, [k, "aws-eusc"]],
|
|
89
|
+
[e, [{ fn: f, argv: [j, "supportsDualStack"] }, b]]
|
|
90
|
+
],
|
|
91
|
+
results: [
|
|
92
|
+
[a],
|
|
93
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
94
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
95
|
+
[i, {}],
|
|
96
|
+
["https://budgets.us-east-1.api.aws", { authSchemes: [{ name: h, signingRegion: "us-east-1" }] }],
|
|
97
|
+
["https://budgets.global.sc2s.sgov.gov", { authSchemes: [{ name: h, signingRegion: "us-isob-east-1" }] }],
|
|
98
|
+
["https://budgets.global.cloud.adc-e.uk", { authSchemes: [{ name: h, signingRegion: "eu-isoe-west-1" }] }],
|
|
99
|
+
["https://budgets.global.csp.hci.ic.gov", { authSchemes: [{ name: h, signingRegion: "us-isof-south-1" }] }],
|
|
100
|
+
["https://budgets.eusc-de-east-1.api.amazonwebservices.eu", { authSchemes: [{ name: h, signingRegion: "eusc-de-east-1" }] }],
|
|
101
|
+
["https://budgets-fips.{PartitionResult#dualStackDnsSuffix}", l],
|
|
102
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
103
|
+
["https://budgets-fips.{PartitionResult#dnsSuffix}", l],
|
|
104
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
105
|
+
["https://budgets.{PartitionResult#dualStackDnsSuffix}", l],
|
|
106
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
107
|
+
["https://budgets.{PartitionResult#dnsSuffix}", l],
|
|
108
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
109
|
+
]
|
|
110
|
+
};
|
|
111
|
+
const root = 2;
|
|
112
|
+
const r = 100_000_000;
|
|
113
|
+
const nodes = new Int32Array([
|
|
114
|
+
-1, 1, -1,
|
|
115
|
+
0, 18, 3,
|
|
116
|
+
1, 4, r + 16,
|
|
117
|
+
2, 5, r + 16,
|
|
118
|
+
3, 14, 6,
|
|
119
|
+
5, 11, 7,
|
|
120
|
+
6, r + 5, 8,
|
|
121
|
+
7, r + 6, 9,
|
|
122
|
+
9, r + 7, 10,
|
|
123
|
+
10, r + 8, r + 15,
|
|
124
|
+
8, r + 4, 12,
|
|
125
|
+
10, r + 8, 13,
|
|
126
|
+
11, r + 13, r + 14,
|
|
127
|
+
4, 16, 15,
|
|
128
|
+
5, r + 10, r + 12,
|
|
129
|
+
5, 17, r + 11,
|
|
130
|
+
11, r + 9, r + 10,
|
|
131
|
+
3, r + 1, 19,
|
|
132
|
+
5, r + 2, r + 3,
|
|
133
|
+
]);
|
|
134
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
135
|
+
|
|
136
|
+
const cache = new EndpointCache({
|
|
137
|
+
size: 50,
|
|
138
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
139
|
+
});
|
|
140
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
141
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
142
|
+
endpointParams: endpointParams,
|
|
143
|
+
logger: context.logger,
|
|
144
|
+
}));
|
|
145
|
+
};
|
|
146
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
147
|
+
|
|
148
|
+
class BudgetsServiceException extends ServiceException {
|
|
149
|
+
constructor(options) {
|
|
150
|
+
super(options);
|
|
151
|
+
Object.setPrototypeOf(this, BudgetsServiceException.prototype);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
class AccessDeniedException extends BudgetsServiceException {
|
|
156
|
+
name = "AccessDeniedException";
|
|
157
|
+
$fault = "client";
|
|
158
|
+
Message;
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "AccessDeniedException",
|
|
162
|
+
$fault: "client",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
166
|
+
this.Message = opts.Message;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
class BillingViewHealthStatusException extends BudgetsServiceException {
|
|
170
|
+
name = "BillingViewHealthStatusException";
|
|
171
|
+
$fault = "client";
|
|
172
|
+
Message;
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "BillingViewHealthStatusException",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, BillingViewHealthStatusException.prototype);
|
|
180
|
+
this.Message = opts.Message;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
class CreationLimitExceededException extends BudgetsServiceException {
|
|
184
|
+
name = "CreationLimitExceededException";
|
|
185
|
+
$fault = "client";
|
|
186
|
+
Message;
|
|
187
|
+
constructor(opts) {
|
|
188
|
+
super({
|
|
189
|
+
name: "CreationLimitExceededException",
|
|
190
|
+
$fault: "client",
|
|
191
|
+
...opts,
|
|
192
|
+
});
|
|
193
|
+
Object.setPrototypeOf(this, CreationLimitExceededException.prototype);
|
|
194
|
+
this.Message = opts.Message;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
class DuplicateRecordException extends BudgetsServiceException {
|
|
198
|
+
name = "DuplicateRecordException";
|
|
199
|
+
$fault = "client";
|
|
200
|
+
Message;
|
|
201
|
+
constructor(opts) {
|
|
202
|
+
super({
|
|
203
|
+
name: "DuplicateRecordException",
|
|
204
|
+
$fault: "client",
|
|
205
|
+
...opts,
|
|
206
|
+
});
|
|
207
|
+
Object.setPrototypeOf(this, DuplicateRecordException.prototype);
|
|
208
|
+
this.Message = opts.Message;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
class InternalErrorException extends BudgetsServiceException {
|
|
212
|
+
name = "InternalErrorException";
|
|
213
|
+
$fault = "server";
|
|
214
|
+
Message;
|
|
215
|
+
constructor(opts) {
|
|
216
|
+
super({
|
|
217
|
+
name: "InternalErrorException",
|
|
218
|
+
$fault: "server",
|
|
219
|
+
...opts,
|
|
220
|
+
});
|
|
221
|
+
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
222
|
+
this.Message = opts.Message;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
class InvalidParameterException extends BudgetsServiceException {
|
|
226
|
+
name = "InvalidParameterException";
|
|
227
|
+
$fault = "client";
|
|
228
|
+
Message;
|
|
229
|
+
constructor(opts) {
|
|
230
|
+
super({
|
|
231
|
+
name: "InvalidParameterException",
|
|
232
|
+
$fault: "client",
|
|
233
|
+
...opts,
|
|
234
|
+
});
|
|
235
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
236
|
+
this.Message = opts.Message;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
class NotFoundException extends BudgetsServiceException {
|
|
240
|
+
name = "NotFoundException";
|
|
241
|
+
$fault = "client";
|
|
242
|
+
Message;
|
|
243
|
+
constructor(opts) {
|
|
244
|
+
super({
|
|
245
|
+
name: "NotFoundException",
|
|
246
|
+
$fault: "client",
|
|
247
|
+
...opts,
|
|
248
|
+
});
|
|
249
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
250
|
+
this.Message = opts.Message;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
class ServiceQuotaExceededException extends BudgetsServiceException {
|
|
254
|
+
name = "ServiceQuotaExceededException";
|
|
255
|
+
$fault = "client";
|
|
256
|
+
Message;
|
|
257
|
+
constructor(opts) {
|
|
258
|
+
super({
|
|
259
|
+
name: "ServiceQuotaExceededException",
|
|
260
|
+
$fault: "client",
|
|
261
|
+
...opts,
|
|
262
|
+
});
|
|
263
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
264
|
+
this.Message = opts.Message;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
class ThrottlingException extends BudgetsServiceException {
|
|
268
|
+
name = "ThrottlingException";
|
|
269
|
+
$fault = "client";
|
|
270
|
+
Message;
|
|
271
|
+
constructor(opts) {
|
|
272
|
+
super({
|
|
273
|
+
name: "ThrottlingException",
|
|
274
|
+
$fault: "client",
|
|
275
|
+
...opts,
|
|
276
|
+
});
|
|
277
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
278
|
+
this.Message = opts.Message;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
class ResourceLockedException extends BudgetsServiceException {
|
|
282
|
+
name = "ResourceLockedException";
|
|
283
|
+
$fault = "client";
|
|
284
|
+
Message;
|
|
285
|
+
constructor(opts) {
|
|
286
|
+
super({
|
|
287
|
+
name: "ResourceLockedException",
|
|
288
|
+
$fault: "client",
|
|
289
|
+
...opts,
|
|
290
|
+
});
|
|
291
|
+
Object.setPrototypeOf(this, ResourceLockedException.prototype);
|
|
292
|
+
this.Message = opts.Message;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
class InvalidNextTokenException extends BudgetsServiceException {
|
|
296
|
+
name = "InvalidNextTokenException";
|
|
297
|
+
$fault = "client";
|
|
298
|
+
Message;
|
|
299
|
+
constructor(opts) {
|
|
300
|
+
super({
|
|
301
|
+
name: "InvalidNextTokenException",
|
|
302
|
+
$fault: "client",
|
|
303
|
+
...opts,
|
|
304
|
+
});
|
|
305
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
306
|
+
this.Message = opts.Message;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
class ExpiredNextTokenException extends BudgetsServiceException {
|
|
310
|
+
name = "ExpiredNextTokenException";
|
|
311
|
+
$fault = "client";
|
|
312
|
+
Message;
|
|
313
|
+
constructor(opts) {
|
|
314
|
+
super({
|
|
315
|
+
name: "ExpiredNextTokenException",
|
|
316
|
+
$fault: "client",
|
|
317
|
+
...opts,
|
|
318
|
+
});
|
|
319
|
+
Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
|
|
320
|
+
this.Message = opts.Message;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
const _A = "Action";
|
|
325
|
+
const _AA = "ActualAmount";
|
|
326
|
+
const _AAD = "AutoAdjustData";
|
|
327
|
+
const _AAT = "AutoAdjustType";
|
|
328
|
+
const _ADE = "AccessDeniedException";
|
|
329
|
+
const _AH = "ActionHistory";
|
|
330
|
+
const _AHD = "ActionHistoryDetails";
|
|
331
|
+
const _AHc = "ActionHistories";
|
|
332
|
+
const _AI = "ActionId";
|
|
333
|
+
const _AIc = "AccountId";
|
|
334
|
+
const _AM = "ApprovalModel";
|
|
335
|
+
const _AS = "ActualSpend";
|
|
336
|
+
const _AST = "ActionSubType";
|
|
337
|
+
const _AT = "ActionType";
|
|
338
|
+
const _ATT = "ActionThresholdType";
|
|
339
|
+
const _ATV = "ActionThresholdValue";
|
|
340
|
+
const _ATc = "ActionThreshold";
|
|
341
|
+
const _Ac = "Actions";
|
|
342
|
+
const _Ad = "Address";
|
|
343
|
+
const _Am = "Amount";
|
|
344
|
+
const _An = "And";
|
|
345
|
+
const _B = "Budget";
|
|
346
|
+
const _BA = "BudgetedAmount";
|
|
347
|
+
const _BAAA = "BudgetedAndActualAmounts";
|
|
348
|
+
const _BAAAL = "BudgetedAndActualAmountsList";
|
|
349
|
+
const _BAP = "BudgetAdjustmentPeriod";
|
|
350
|
+
const _BL = "BudgetLimit";
|
|
351
|
+
const _BN = "BudgetName";
|
|
352
|
+
const _BNFA = "BudgetNotificationsForAccount";
|
|
353
|
+
const _BNFAL = "BudgetNotificationsForAccountList";
|
|
354
|
+
const _BPH = "BudgetPerformanceHistory";
|
|
355
|
+
const _BT = "BudgetType";
|
|
356
|
+
const _BVA = "BillingViewArn";
|
|
357
|
+
const _BVHSE = "BillingViewHealthStatusException";
|
|
358
|
+
const _Bu = "Budgets";
|
|
359
|
+
const _CB = "CreateBudget";
|
|
360
|
+
const _CBA = "CreateBudgetAction";
|
|
361
|
+
const _CBAR = "CreateBudgetActionRequest";
|
|
362
|
+
const _CBARr = "CreateBudgetActionResponse";
|
|
363
|
+
const _CBR = "CreateBudgetRequest";
|
|
364
|
+
const _CBRr = "CreateBudgetResponse";
|
|
365
|
+
const _CC = "CostCategories";
|
|
366
|
+
const _CCV = "CostCategoryValues";
|
|
367
|
+
const _CF = "CostFilters";
|
|
368
|
+
const _CLEE = "CreationLimitExceededException";
|
|
369
|
+
const _CN = "CreateNotification";
|
|
370
|
+
const _CNR = "CreateNotificationRequest";
|
|
371
|
+
const _CNRr = "CreateNotificationResponse";
|
|
372
|
+
const _CO = "ComparisonOperator";
|
|
373
|
+
const _CS = "CalculatedSpend";
|
|
374
|
+
const _CSR = "CreateSubscriberRequest";
|
|
375
|
+
const _CSRr = "CreateSubscriberResponse";
|
|
376
|
+
const _CSr = "CreateSubscriber";
|
|
377
|
+
const _CT = "CostTypes";
|
|
378
|
+
const _D = "Definition";
|
|
379
|
+
const _DB = "DeleteBudget";
|
|
380
|
+
const _DBA = "DeleteBudgetAction";
|
|
381
|
+
const _DBAFA = "DescribeBudgetActionsForAccount";
|
|
382
|
+
const _DBAFAR = "DescribeBudgetActionsForAccountRequest";
|
|
383
|
+
const _DBAFARe = "DescribeBudgetActionsForAccountResponse";
|
|
384
|
+
const _DBAFB = "DescribeBudgetActionsForBudget";
|
|
385
|
+
const _DBAFBR = "DescribeBudgetActionsForBudgetRequest";
|
|
386
|
+
const _DBAFBRe = "DescribeBudgetActionsForBudgetResponse";
|
|
387
|
+
const _DBAH = "DescribeBudgetActionHistories";
|
|
388
|
+
const _DBAHR = "DescribeBudgetActionHistoriesRequest";
|
|
389
|
+
const _DBAHRe = "DescribeBudgetActionHistoriesResponse";
|
|
390
|
+
const _DBAR = "DeleteBudgetActionRequest";
|
|
391
|
+
const _DBARe = "DeleteBudgetActionResponse";
|
|
392
|
+
const _DBARes = "DescribeBudgetActionRequest";
|
|
393
|
+
const _DBAResc = "DescribeBudgetActionResponse";
|
|
394
|
+
const _DBAe = "DescribeBudgetAction";
|
|
395
|
+
const _DBNFA = "DescribeBudgetNotificationsForAccount";
|
|
396
|
+
const _DBNFAR = "DescribeBudgetNotificationsForAccountRequest";
|
|
397
|
+
const _DBNFARe = "DescribeBudgetNotificationsForAccountResponse";
|
|
398
|
+
const _DBPH = "DescribeBudgetPerformanceHistory";
|
|
399
|
+
const _DBPHR = "DescribeBudgetPerformanceHistoryRequest";
|
|
400
|
+
const _DBPHRe = "DescribeBudgetPerformanceHistoryResponse";
|
|
401
|
+
const _DBR = "DeleteBudgetRequest";
|
|
402
|
+
const _DBRe = "DeleteBudgetResponse";
|
|
403
|
+
const _DBRes = "DescribeBudgetRequest";
|
|
404
|
+
const _DBResc = "DescribeBudgetResponse";
|
|
405
|
+
const _DBRescr = "DescribeBudgetsRequest";
|
|
406
|
+
const _DBRescri = "DescribeBudgetsResponse";
|
|
407
|
+
const _DBe = "DescribeBudget";
|
|
408
|
+
const _DBes = "DescribeBudgets";
|
|
409
|
+
const _DN = "DeleteNotification";
|
|
410
|
+
const _DNFB = "DescribeNotificationsForBudget";
|
|
411
|
+
const _DNFBR = "DescribeNotificationsForBudgetRequest";
|
|
412
|
+
const _DNFBRe = "DescribeNotificationsForBudgetResponse";
|
|
413
|
+
const _DNR = "DeleteNotificationRequest";
|
|
414
|
+
const _DNRe = "DeleteNotificationResponse";
|
|
415
|
+
const _DRE = "DuplicateRecordException";
|
|
416
|
+
const _DS = "DeleteSubscriber";
|
|
417
|
+
const _DSFN = "DescribeSubscribersForNotification";
|
|
418
|
+
const _DSFNR = "DescribeSubscribersForNotificationRequest";
|
|
419
|
+
const _DSFNRe = "DescribeSubscribersForNotificationResponse";
|
|
420
|
+
const _DSR = "DeleteSubscriberRequest";
|
|
421
|
+
const _DSRe = "DeleteSubscriberResponse";
|
|
422
|
+
const _Di = "Dimensions";
|
|
423
|
+
const _E = "Expression";
|
|
424
|
+
const _EBA = "ExecuteBudgetAction";
|
|
425
|
+
const _EBAR = "ExecuteBudgetActionRequest";
|
|
426
|
+
const _EBARx = "ExecuteBudgetActionResponse";
|
|
427
|
+
const _EDV = "ExpressionDimensionValues";
|
|
428
|
+
const _ENTE = "ExpiredNextTokenException";
|
|
429
|
+
const _ERA = "ExecutionRoleArn";
|
|
430
|
+
const _ET = "EventType";
|
|
431
|
+
const _ETx = "ExecutionType";
|
|
432
|
+
const _En = "End";
|
|
433
|
+
const _Ex = "Expressions";
|
|
434
|
+
const _FE = "FilterExpression";
|
|
435
|
+
const _FS = "ForecastedSpend";
|
|
436
|
+
const _G = "Groups";
|
|
437
|
+
const _HO = "HistoricalOptions";
|
|
438
|
+
const _HS = "HealthStatus";
|
|
439
|
+
const _IAD = "IamActionDefinition";
|
|
440
|
+
const _IC = "IncludeCredit";
|
|
441
|
+
const _ID = "IncludeDiscount";
|
|
442
|
+
const _IEE = "InternalErrorException";
|
|
443
|
+
const _II = "InstanceIds";
|
|
444
|
+
const _INTE = "InvalidNextTokenException";
|
|
445
|
+
const _IOS = "IncludeOtherSubscription";
|
|
446
|
+
const _IPE = "InvalidParameterException";
|
|
447
|
+
const _IR = "IncludeRefund";
|
|
448
|
+
const _IRn = "IncludeRecurring";
|
|
449
|
+
const _IS = "IncludeSubscription";
|
|
450
|
+
const _ISn = "IncludeSupport";
|
|
451
|
+
const _IT = "IncludeTax";
|
|
452
|
+
const _IU = "IncludeUpfront";
|
|
453
|
+
const _K = "Key";
|
|
454
|
+
const _LAAT = "LastAutoAdjustTime";
|
|
455
|
+
const _LBAP = "LookBackAvailablePeriods";
|
|
456
|
+
const _LTFR = "ListTagsForResource";
|
|
457
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
458
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
459
|
+
const _LUT = "LastUpdatedTime";
|
|
460
|
+
const _M = "Message";
|
|
461
|
+
const _MO = "MatchOptions";
|
|
462
|
+
const _MR = "MaxResults";
|
|
463
|
+
const _Me = "Metrics";
|
|
464
|
+
const _N = "Notifications";
|
|
465
|
+
const _NA = "NewAction";
|
|
466
|
+
const _NB = "NewBudget";
|
|
467
|
+
const _NFE = "NotFoundException";
|
|
468
|
+
const _NN = "NewNotification";
|
|
469
|
+
const _NS = "NotificationState";
|
|
470
|
+
const _NSe = "NewSubscriber";
|
|
471
|
+
const _NT = "NotificationType";
|
|
472
|
+
const _NTe = "NextToken";
|
|
473
|
+
const _NWS = "NotificationsWithSubscribers";
|
|
474
|
+
const _NWSL = "NotificationWithSubscribersList";
|
|
475
|
+
const _NWSo = "NotificationWithSubscribers";
|
|
476
|
+
const _No = "Notification";
|
|
477
|
+
const _Not = "Not";
|
|
478
|
+
const _O = "Or";
|
|
479
|
+
const _OA = "OldAction";
|
|
480
|
+
const _ON = "OldNotification";
|
|
481
|
+
const _OS = "OldSubscriber";
|
|
482
|
+
const _PA = "PolicyArn";
|
|
483
|
+
const _PBL = "PlannedBudgetLimits";
|
|
484
|
+
const _PI = "PolicyId";
|
|
485
|
+
const _R = "Roles";
|
|
486
|
+
const _RARN = "ResourceARN";
|
|
487
|
+
const _RLE = "ResourceLockedException";
|
|
488
|
+
const _RT = "ResourceTags";
|
|
489
|
+
const _RTK = "ResourceTagKeys";
|
|
490
|
+
const _RTL = "ResourceTagList";
|
|
491
|
+
const _RTe = "ResourceTag";
|
|
492
|
+
const _Re = "Region";
|
|
493
|
+
const _S = "Status";
|
|
494
|
+
const _SA = "SubscriberAddress";
|
|
495
|
+
const _SAD = "ScpActionDefinition";
|
|
496
|
+
const _SADs = "SsmActionDefinition";
|
|
497
|
+
const _SFE = "ShowFilterExpression";
|
|
498
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
499
|
+
const _SR = "StatusReason";
|
|
500
|
+
const _ST = "SubscriptionType";
|
|
501
|
+
const _Sp = "Spend";
|
|
502
|
+
const _St = "Start";
|
|
503
|
+
const _Su = "Subscribers";
|
|
504
|
+
const _Sub = "Subscriber";
|
|
505
|
+
const _T = "Timestamp";
|
|
506
|
+
const _TE = "ThrottlingException";
|
|
507
|
+
const _TI = "TargetIds";
|
|
508
|
+
const _TP = "TimePeriod";
|
|
509
|
+
const _TR = "TagResource";
|
|
510
|
+
const _TRR = "TagResourceRequest";
|
|
511
|
+
const _TRRa = "TagResourceResponse";
|
|
512
|
+
const _TT = "ThresholdType";
|
|
513
|
+
const _TU = "TimeUnit";
|
|
514
|
+
const _TV = "TagValues";
|
|
515
|
+
const _Ta = "Tags";
|
|
516
|
+
const _Th = "Threshold";
|
|
517
|
+
const _U = "Users";
|
|
518
|
+
const _UA = "UseAmortized";
|
|
519
|
+
const _UB = "UseBlended";
|
|
520
|
+
const _UBA = "UpdateBudgetAction";
|
|
521
|
+
const _UBAR = "UpdateBudgetActionRequest";
|
|
522
|
+
const _UBARp = "UpdateBudgetActionResponse";
|
|
523
|
+
const _UBR = "UpdateBudgetRequest";
|
|
524
|
+
const _UBRp = "UpdateBudgetResponse";
|
|
525
|
+
const _UBp = "UpdateBudget";
|
|
526
|
+
const _UN = "UpdateNotification";
|
|
527
|
+
const _UNR = "UpdateNotificationRequest";
|
|
528
|
+
const _UNRp = "UpdateNotificationResponse";
|
|
529
|
+
const _UR = "UntagResource";
|
|
530
|
+
const _URR = "UntagResourceRequest";
|
|
531
|
+
const _URRn = "UntagResourceResponse";
|
|
532
|
+
const _US = "UpdateSubscriber";
|
|
533
|
+
const _USR = "UpdateSubscriberRequest";
|
|
534
|
+
const _USRp = "UpdateSubscriberResponse";
|
|
535
|
+
const _Un = "Unit";
|
|
536
|
+
const _V = "Values";
|
|
537
|
+
const _Va = "Value";
|
|
538
|
+
const _c = "client";
|
|
539
|
+
const _e = "error";
|
|
540
|
+
const _hE = "httpError";
|
|
541
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.budgets";
|
|
542
|
+
const _se = "server";
|
|
543
|
+
const n0 = "com.amazonaws.budgets";
|
|
544
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
545
|
+
var BudgetsServiceException$ = [-3, _s, "BudgetsServiceException", 0, [], []];
|
|
546
|
+
_s_registry.registerError(BudgetsServiceException$, BudgetsServiceException);
|
|
547
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
548
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
549
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
550
|
+
[_M],
|
|
551
|
+
[0]
|
|
552
|
+
];
|
|
553
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
554
|
+
var BillingViewHealthStatusException$ = [-3, n0, _BVHSE,
|
|
555
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
556
|
+
[_M],
|
|
557
|
+
[0]
|
|
558
|
+
];
|
|
559
|
+
n0_registry.registerError(BillingViewHealthStatusException$, BillingViewHealthStatusException);
|
|
560
|
+
var CreationLimitExceededException$ = [-3, n0, _CLEE,
|
|
561
|
+
{ [_e]: _c, [_hE]: 405 },
|
|
562
|
+
[_M],
|
|
563
|
+
[0]
|
|
564
|
+
];
|
|
565
|
+
n0_registry.registerError(CreationLimitExceededException$, CreationLimitExceededException);
|
|
566
|
+
var DuplicateRecordException$ = [-3, n0, _DRE,
|
|
567
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
568
|
+
[_M],
|
|
569
|
+
[0]
|
|
570
|
+
];
|
|
571
|
+
n0_registry.registerError(DuplicateRecordException$, DuplicateRecordException);
|
|
572
|
+
var ExpiredNextTokenException$ = [-3, n0, _ENTE,
|
|
573
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
574
|
+
[_M],
|
|
575
|
+
[0]
|
|
576
|
+
];
|
|
577
|
+
n0_registry.registerError(ExpiredNextTokenException$, ExpiredNextTokenException);
|
|
578
|
+
var InternalErrorException$ = [-3, n0, _IEE,
|
|
579
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
580
|
+
[_M],
|
|
581
|
+
[0]
|
|
582
|
+
];
|
|
583
|
+
n0_registry.registerError(InternalErrorException$, InternalErrorException);
|
|
584
|
+
var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
585
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
586
|
+
[_M],
|
|
587
|
+
[0]
|
|
588
|
+
];
|
|
589
|
+
n0_registry.registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
590
|
+
var InvalidParameterException$ = [-3, n0, _IPE,
|
|
591
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
592
|
+
[_M],
|
|
593
|
+
[0]
|
|
594
|
+
];
|
|
595
|
+
n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
|
|
596
|
+
var NotFoundException$ = [-3, n0, _NFE,
|
|
597
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
598
|
+
[_M],
|
|
599
|
+
[0]
|
|
600
|
+
];
|
|
601
|
+
n0_registry.registerError(NotFoundException$, NotFoundException);
|
|
602
|
+
var ResourceLockedException$ = [-3, n0, _RLE,
|
|
603
|
+
{ [_e]: _c, [_hE]: 423 },
|
|
604
|
+
[_M],
|
|
605
|
+
[0]
|
|
606
|
+
];
|
|
607
|
+
n0_registry.registerError(ResourceLockedException$, ResourceLockedException);
|
|
608
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
609
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
610
|
+
[_M],
|
|
611
|
+
[0]
|
|
612
|
+
];
|
|
613
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
614
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
615
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
616
|
+
[_M],
|
|
617
|
+
[0]
|
|
618
|
+
];
|
|
619
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
620
|
+
const errorTypeRegistries = [
|
|
621
|
+
_s_registry,
|
|
622
|
+
n0_registry,
|
|
623
|
+
];
|
|
624
|
+
var SubscriberAddress = [0, n0, _SA, 8, 0];
|
|
625
|
+
var Action$ = [3, n0, _A,
|
|
626
|
+
0,
|
|
627
|
+
[_AI, _BN, _NT, _AT, _ATc, _D, _ERA, _AM, _S, _Su],
|
|
628
|
+
[0, 0, 0, 0, () => ActionThreshold$, () => Definition$, 0, 0, 0, [() => Subscribers, 0]], 10
|
|
629
|
+
];
|
|
630
|
+
var ActionHistory$ = [3, n0, _AH,
|
|
631
|
+
0,
|
|
632
|
+
[_T, _S, _ET, _AHD],
|
|
633
|
+
[4, 0, 0, [() => ActionHistoryDetails$, 0]], 4
|
|
634
|
+
];
|
|
635
|
+
var ActionHistoryDetails$ = [3, n0, _AHD,
|
|
636
|
+
0,
|
|
637
|
+
[_M, _A],
|
|
638
|
+
[0, [() => Action$, 0]], 2
|
|
639
|
+
];
|
|
640
|
+
var ActionThreshold$ = [3, n0, _ATc,
|
|
641
|
+
0,
|
|
642
|
+
[_ATV, _ATT],
|
|
643
|
+
[1, 0], 2
|
|
644
|
+
];
|
|
645
|
+
var AutoAdjustData$ = [3, n0, _AAD,
|
|
646
|
+
0,
|
|
647
|
+
[_AAT, _HO, _LAAT],
|
|
648
|
+
[0, () => HistoricalOptions$, 4], 1
|
|
649
|
+
];
|
|
650
|
+
var Budget$ = [3, n0, _B,
|
|
651
|
+
0,
|
|
652
|
+
[_BN, _TU, _BT, _BL, _PBL, _CF, _CT, _TP, _CS, _LUT, _AAD, _FE, _Me, _BVA, _HS],
|
|
653
|
+
[0, 0, 0, () => Spend$, () => PlannedBudgetLimits, [2, n0, _CF, 0, 0, 64 | 0], () => CostTypes$, () => TimePeriod$, () => CalculatedSpend$, 4, () => AutoAdjustData$, () => Expression$, 64 | 0, 0, () => HealthStatus$], 3
|
|
654
|
+
];
|
|
655
|
+
var BudgetedAndActualAmounts$ = [3, n0, _BAAA,
|
|
656
|
+
0,
|
|
657
|
+
[_BA, _AA, _TP],
|
|
658
|
+
[() => Spend$, () => Spend$, () => TimePeriod$]
|
|
659
|
+
];
|
|
660
|
+
var BudgetNotificationsForAccount$ = [3, n0, _BNFA,
|
|
661
|
+
0,
|
|
662
|
+
[_N, _BN],
|
|
663
|
+
[() => Notifications, 0]
|
|
664
|
+
];
|
|
665
|
+
var BudgetPerformanceHistory$ = [3, n0, _BPH,
|
|
666
|
+
0,
|
|
667
|
+
[_BN, _BT, _CF, _CT, _TU, _BVA, _BAAAL, _FE, _Me],
|
|
668
|
+
[0, 0, [2, n0, _CF, 0, 0, 64 | 0], () => CostTypes$, 0, 0, () => BudgetedAndActualAmountsList, () => Expression$, 64 | 0]
|
|
669
|
+
];
|
|
670
|
+
var CalculatedSpend$ = [3, n0, _CS,
|
|
671
|
+
0,
|
|
672
|
+
[_AS, _FS],
|
|
673
|
+
[() => Spend$, () => Spend$], 1
|
|
674
|
+
];
|
|
675
|
+
var CostCategoryValues$ = [3, n0, _CCV,
|
|
676
|
+
0,
|
|
677
|
+
[_K, _V, _MO],
|
|
678
|
+
[0, 64 | 0, 64 | 0]
|
|
679
|
+
];
|
|
680
|
+
var CostTypes$ = [3, n0, _CT,
|
|
681
|
+
0,
|
|
682
|
+
[_IT, _IS, _UB, _IR, _IC, _IU, _IRn, _IOS, _ISn, _ID, _UA],
|
|
683
|
+
[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
|
|
684
|
+
];
|
|
685
|
+
var CreateBudgetActionRequest$ = [3, n0, _CBAR,
|
|
686
|
+
0,
|
|
687
|
+
[_AIc, _BN, _NT, _AT, _ATc, _D, _ERA, _AM, _Su, _RT],
|
|
688
|
+
[0, 0, 0, 0, () => ActionThreshold$, () => Definition$, 0, 0, [() => Subscribers, 0], () => ResourceTagList], 9
|
|
689
|
+
];
|
|
690
|
+
var CreateBudgetActionResponse$ = [3, n0, _CBARr,
|
|
691
|
+
0,
|
|
692
|
+
[_AIc, _BN, _AI],
|
|
693
|
+
[0, 0, 0], 3
|
|
694
|
+
];
|
|
695
|
+
var CreateBudgetRequest$ = [3, n0, _CBR,
|
|
696
|
+
0,
|
|
697
|
+
[_AIc, _B, _NWS, _RT],
|
|
698
|
+
[0, () => Budget$, [() => NotificationWithSubscribersList, 0], () => ResourceTagList], 2
|
|
699
|
+
];
|
|
700
|
+
var CreateBudgetResponse$ = [3, n0, _CBRr,
|
|
701
|
+
0,
|
|
702
|
+
[],
|
|
703
|
+
[]
|
|
704
|
+
];
|
|
705
|
+
var CreateNotificationRequest$ = [3, n0, _CNR,
|
|
706
|
+
0,
|
|
707
|
+
[_AIc, _BN, _No, _Su],
|
|
708
|
+
[0, 0, () => Notification$, [() => Subscribers, 0]], 4
|
|
709
|
+
];
|
|
710
|
+
var CreateNotificationResponse$ = [3, n0, _CNRr,
|
|
711
|
+
0,
|
|
712
|
+
[],
|
|
713
|
+
[]
|
|
714
|
+
];
|
|
715
|
+
var CreateSubscriberRequest$ = [3, n0, _CSR,
|
|
716
|
+
0,
|
|
717
|
+
[_AIc, _BN, _No, _Sub],
|
|
718
|
+
[0, 0, () => Notification$, [() => Subscriber$, 0]], 4
|
|
719
|
+
];
|
|
720
|
+
var CreateSubscriberResponse$ = [3, n0, _CSRr,
|
|
721
|
+
0,
|
|
722
|
+
[],
|
|
723
|
+
[]
|
|
724
|
+
];
|
|
725
|
+
var Definition$ = [3, n0, _D,
|
|
726
|
+
0,
|
|
727
|
+
[_IAD, _SAD, _SADs],
|
|
728
|
+
[() => IamActionDefinition$, () => ScpActionDefinition$, () => SsmActionDefinition$]
|
|
729
|
+
];
|
|
730
|
+
var DeleteBudgetActionRequest$ = [3, n0, _DBAR,
|
|
731
|
+
0,
|
|
732
|
+
[_AIc, _BN, _AI],
|
|
733
|
+
[0, 0, 0], 3
|
|
734
|
+
];
|
|
735
|
+
var DeleteBudgetActionResponse$ = [3, n0, _DBARe,
|
|
736
|
+
0,
|
|
737
|
+
[_AIc, _BN, _A],
|
|
738
|
+
[0, 0, [() => Action$, 0]], 3
|
|
739
|
+
];
|
|
740
|
+
var DeleteBudgetRequest$ = [3, n0, _DBR,
|
|
741
|
+
0,
|
|
742
|
+
[_AIc, _BN],
|
|
743
|
+
[0, 0], 2
|
|
744
|
+
];
|
|
745
|
+
var DeleteBudgetResponse$ = [3, n0, _DBRe,
|
|
746
|
+
0,
|
|
747
|
+
[],
|
|
748
|
+
[]
|
|
749
|
+
];
|
|
750
|
+
var DeleteNotificationRequest$ = [3, n0, _DNR,
|
|
751
|
+
0,
|
|
752
|
+
[_AIc, _BN, _No],
|
|
753
|
+
[0, 0, () => Notification$], 3
|
|
754
|
+
];
|
|
755
|
+
var DeleteNotificationResponse$ = [3, n0, _DNRe,
|
|
756
|
+
0,
|
|
757
|
+
[],
|
|
758
|
+
[]
|
|
759
|
+
];
|
|
760
|
+
var DeleteSubscriberRequest$ = [3, n0, _DSR,
|
|
761
|
+
0,
|
|
762
|
+
[_AIc, _BN, _No, _Sub],
|
|
763
|
+
[0, 0, () => Notification$, [() => Subscriber$, 0]], 4
|
|
764
|
+
];
|
|
765
|
+
var DeleteSubscriberResponse$ = [3, n0, _DSRe,
|
|
766
|
+
0,
|
|
767
|
+
[],
|
|
768
|
+
[]
|
|
769
|
+
];
|
|
770
|
+
var DescribeBudgetActionHistoriesRequest$ = [3, n0, _DBAHR,
|
|
771
|
+
0,
|
|
772
|
+
[_AIc, _BN, _AI, _TP, _MR, _NTe],
|
|
773
|
+
[0, 0, 0, () => TimePeriod$, 1, 0], 3
|
|
774
|
+
];
|
|
775
|
+
var DescribeBudgetActionHistoriesResponse$ = [3, n0, _DBAHRe,
|
|
776
|
+
0,
|
|
777
|
+
[_AHc, _NTe],
|
|
778
|
+
[[() => ActionHistories, 0], 0], 1
|
|
779
|
+
];
|
|
780
|
+
var DescribeBudgetActionRequest$ = [3, n0, _DBARes,
|
|
781
|
+
0,
|
|
782
|
+
[_AIc, _BN, _AI],
|
|
783
|
+
[0, 0, 0], 3
|
|
784
|
+
];
|
|
785
|
+
var DescribeBudgetActionResponse$ = [3, n0, _DBAResc,
|
|
786
|
+
0,
|
|
787
|
+
[_AIc, _BN, _A],
|
|
788
|
+
[0, 0, [() => Action$, 0]], 3
|
|
789
|
+
];
|
|
790
|
+
var DescribeBudgetActionsForAccountRequest$ = [3, n0, _DBAFAR,
|
|
791
|
+
0,
|
|
792
|
+
[_AIc, _MR, _NTe],
|
|
793
|
+
[0, 1, 0], 1
|
|
794
|
+
];
|
|
795
|
+
var DescribeBudgetActionsForAccountResponse$ = [3, n0, _DBAFARe,
|
|
796
|
+
0,
|
|
797
|
+
[_Ac, _NTe],
|
|
798
|
+
[[() => Actions, 0], 0], 1
|
|
799
|
+
];
|
|
800
|
+
var DescribeBudgetActionsForBudgetRequest$ = [3, n0, _DBAFBR,
|
|
801
|
+
0,
|
|
802
|
+
[_AIc, _BN, _MR, _NTe],
|
|
803
|
+
[0, 0, 1, 0], 2
|
|
804
|
+
];
|
|
805
|
+
var DescribeBudgetActionsForBudgetResponse$ = [3, n0, _DBAFBRe,
|
|
806
|
+
0,
|
|
807
|
+
[_Ac, _NTe],
|
|
808
|
+
[[() => Actions, 0], 0], 1
|
|
809
|
+
];
|
|
810
|
+
var DescribeBudgetNotificationsForAccountRequest$ = [3, n0, _DBNFAR,
|
|
811
|
+
0,
|
|
812
|
+
[_AIc, _MR, _NTe],
|
|
813
|
+
[0, 1, 0], 1
|
|
814
|
+
];
|
|
815
|
+
var DescribeBudgetNotificationsForAccountResponse$ = [3, n0, _DBNFARe,
|
|
816
|
+
0,
|
|
817
|
+
[_BNFA, _NTe],
|
|
818
|
+
[() => BudgetNotificationsForAccountList, 0]
|
|
819
|
+
];
|
|
820
|
+
var DescribeBudgetPerformanceHistoryRequest$ = [3, n0, _DBPHR,
|
|
821
|
+
0,
|
|
822
|
+
[_AIc, _BN, _TP, _MR, _NTe],
|
|
823
|
+
[0, 0, () => TimePeriod$, 1, 0], 2
|
|
824
|
+
];
|
|
825
|
+
var DescribeBudgetPerformanceHistoryResponse$ = [3, n0, _DBPHRe,
|
|
826
|
+
0,
|
|
827
|
+
[_BPH, _NTe],
|
|
828
|
+
[() => BudgetPerformanceHistory$, 0]
|
|
829
|
+
];
|
|
830
|
+
var DescribeBudgetRequest$ = [3, n0, _DBRes,
|
|
831
|
+
0,
|
|
832
|
+
[_AIc, _BN, _SFE],
|
|
833
|
+
[0, 0, 2], 2
|
|
834
|
+
];
|
|
835
|
+
var DescribeBudgetResponse$ = [3, n0, _DBResc,
|
|
836
|
+
0,
|
|
837
|
+
[_B],
|
|
838
|
+
[() => Budget$]
|
|
839
|
+
];
|
|
840
|
+
var DescribeBudgetsRequest$ = [3, n0, _DBRescr,
|
|
841
|
+
0,
|
|
842
|
+
[_AIc, _MR, _NTe, _SFE],
|
|
843
|
+
[0, 1, 0, 2], 1
|
|
844
|
+
];
|
|
845
|
+
var DescribeBudgetsResponse$ = [3, n0, _DBRescri,
|
|
846
|
+
0,
|
|
847
|
+
[_Bu, _NTe],
|
|
848
|
+
[() => Budgets$1, 0]
|
|
849
|
+
];
|
|
850
|
+
var DescribeNotificationsForBudgetRequest$ = [3, n0, _DNFBR,
|
|
851
|
+
0,
|
|
852
|
+
[_AIc, _BN, _MR, _NTe],
|
|
853
|
+
[0, 0, 1, 0], 2
|
|
854
|
+
];
|
|
855
|
+
var DescribeNotificationsForBudgetResponse$ = [3, n0, _DNFBRe,
|
|
856
|
+
0,
|
|
857
|
+
[_N, _NTe],
|
|
858
|
+
[() => Notifications, 0]
|
|
859
|
+
];
|
|
860
|
+
var DescribeSubscribersForNotificationRequest$ = [3, n0, _DSFNR,
|
|
861
|
+
0,
|
|
862
|
+
[_AIc, _BN, _No, _MR, _NTe],
|
|
863
|
+
[0, 0, () => Notification$, 1, 0], 3
|
|
864
|
+
];
|
|
865
|
+
var DescribeSubscribersForNotificationResponse$ = [3, n0, _DSFNRe,
|
|
866
|
+
0,
|
|
867
|
+
[_Su, _NTe],
|
|
868
|
+
[[() => Subscribers, 0], 0]
|
|
869
|
+
];
|
|
870
|
+
var ExecuteBudgetActionRequest$ = [3, n0, _EBAR,
|
|
871
|
+
0,
|
|
872
|
+
[_AIc, _BN, _AI, _ETx],
|
|
873
|
+
[0, 0, 0, 0], 4
|
|
874
|
+
];
|
|
875
|
+
var ExecuteBudgetActionResponse$ = [3, n0, _EBARx,
|
|
876
|
+
0,
|
|
877
|
+
[_AIc, _BN, _AI, _ETx],
|
|
878
|
+
[0, 0, 0, 0], 4
|
|
879
|
+
];
|
|
880
|
+
var Expression$ = [3, n0, _E,
|
|
881
|
+
0,
|
|
882
|
+
[_O, _An, _Not, _Di, _Ta, _CC],
|
|
883
|
+
[() => Expressions, () => Expressions, () => Expression$, () => ExpressionDimensionValues$, () => TagValues$, () => CostCategoryValues$]
|
|
884
|
+
];
|
|
885
|
+
var ExpressionDimensionValues$ = [3, n0, _EDV,
|
|
886
|
+
0,
|
|
887
|
+
[_K, _V, _MO],
|
|
888
|
+
[0, 64 | 0, 64 | 0], 2
|
|
889
|
+
];
|
|
890
|
+
var HealthStatus$ = [3, n0, _HS,
|
|
891
|
+
0,
|
|
892
|
+
[_S, _SR, _LUT],
|
|
893
|
+
[0, 0, 4]
|
|
894
|
+
];
|
|
895
|
+
var HistoricalOptions$ = [3, n0, _HO,
|
|
896
|
+
0,
|
|
897
|
+
[_BAP, _LBAP],
|
|
898
|
+
[1, 1], 1
|
|
899
|
+
];
|
|
900
|
+
var IamActionDefinition$ = [3, n0, _IAD,
|
|
901
|
+
0,
|
|
902
|
+
[_PA, _R, _G, _U],
|
|
903
|
+
[0, 64 | 0, 64 | 0, 64 | 0], 1
|
|
904
|
+
];
|
|
905
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
906
|
+
0,
|
|
907
|
+
[_RARN],
|
|
908
|
+
[0], 1
|
|
909
|
+
];
|
|
910
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
911
|
+
0,
|
|
912
|
+
[_RT],
|
|
913
|
+
[() => ResourceTagList]
|
|
914
|
+
];
|
|
915
|
+
var Notification$ = [3, n0, _No,
|
|
916
|
+
0,
|
|
917
|
+
[_NT, _CO, _Th, _TT, _NS],
|
|
918
|
+
[0, 0, 1, 0, 0], 3
|
|
919
|
+
];
|
|
920
|
+
var NotificationWithSubscribers$ = [3, n0, _NWSo,
|
|
921
|
+
0,
|
|
922
|
+
[_No, _Su],
|
|
923
|
+
[() => Notification$, [() => Subscribers, 0]], 2
|
|
924
|
+
];
|
|
925
|
+
var ResourceTag$ = [3, n0, _RTe,
|
|
926
|
+
0,
|
|
927
|
+
[_K, _Va],
|
|
928
|
+
[0, 0], 2
|
|
929
|
+
];
|
|
930
|
+
var ScpActionDefinition$ = [3, n0, _SAD,
|
|
931
|
+
0,
|
|
932
|
+
[_PI, _TI],
|
|
933
|
+
[0, 64 | 0], 2
|
|
934
|
+
];
|
|
935
|
+
var Spend$ = [3, n0, _Sp,
|
|
936
|
+
0,
|
|
937
|
+
[_Am, _Un],
|
|
938
|
+
[0, 0], 2
|
|
939
|
+
];
|
|
940
|
+
var SsmActionDefinition$ = [3, n0, _SADs,
|
|
941
|
+
0,
|
|
942
|
+
[_AST, _Re, _II],
|
|
943
|
+
[0, 0, 64 | 0], 3
|
|
944
|
+
];
|
|
945
|
+
var Subscriber$ = [3, n0, _Sub,
|
|
946
|
+
0,
|
|
947
|
+
[_ST, _Ad],
|
|
948
|
+
[0, [() => SubscriberAddress, 0]], 2
|
|
949
|
+
];
|
|
950
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
951
|
+
0,
|
|
952
|
+
[_RARN, _RT],
|
|
953
|
+
[0, () => ResourceTagList], 2
|
|
954
|
+
];
|
|
955
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
956
|
+
0,
|
|
957
|
+
[],
|
|
958
|
+
[]
|
|
959
|
+
];
|
|
960
|
+
var TagValues$ = [3, n0, _TV,
|
|
961
|
+
0,
|
|
962
|
+
[_K, _V, _MO],
|
|
963
|
+
[0, 64 | 0, 64 | 0]
|
|
964
|
+
];
|
|
965
|
+
var TimePeriod$ = [3, n0, _TP,
|
|
966
|
+
0,
|
|
967
|
+
[_St, _En],
|
|
968
|
+
[4, 4]
|
|
969
|
+
];
|
|
970
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
971
|
+
0,
|
|
972
|
+
[_RARN, _RTK],
|
|
973
|
+
[0, 64 | 0], 2
|
|
974
|
+
];
|
|
975
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
976
|
+
0,
|
|
977
|
+
[],
|
|
978
|
+
[]
|
|
979
|
+
];
|
|
980
|
+
var UpdateBudgetActionRequest$ = [3, n0, _UBAR,
|
|
981
|
+
0,
|
|
982
|
+
[_AIc, _BN, _AI, _NT, _ATc, _D, _ERA, _AM, _Su],
|
|
983
|
+
[0, 0, 0, 0, () => ActionThreshold$, () => Definition$, 0, 0, [() => Subscribers, 0]], 3
|
|
984
|
+
];
|
|
985
|
+
var UpdateBudgetActionResponse$ = [3, n0, _UBARp,
|
|
986
|
+
0,
|
|
987
|
+
[_AIc, _BN, _OA, _NA],
|
|
988
|
+
[0, 0, [() => Action$, 0], [() => Action$, 0]], 4
|
|
989
|
+
];
|
|
990
|
+
var UpdateBudgetRequest$ = [3, n0, _UBR,
|
|
991
|
+
0,
|
|
992
|
+
[_AIc, _NB],
|
|
993
|
+
[0, () => Budget$], 2
|
|
994
|
+
];
|
|
995
|
+
var UpdateBudgetResponse$ = [3, n0, _UBRp,
|
|
996
|
+
0,
|
|
997
|
+
[],
|
|
998
|
+
[]
|
|
999
|
+
];
|
|
1000
|
+
var UpdateNotificationRequest$ = [3, n0, _UNR,
|
|
1001
|
+
0,
|
|
1002
|
+
[_AIc, _BN, _ON, _NN],
|
|
1003
|
+
[0, 0, () => Notification$, () => Notification$], 4
|
|
1004
|
+
];
|
|
1005
|
+
var UpdateNotificationResponse$ = [3, n0, _UNRp,
|
|
1006
|
+
0,
|
|
1007
|
+
[],
|
|
1008
|
+
[]
|
|
1009
|
+
];
|
|
1010
|
+
var UpdateSubscriberRequest$ = [3, n0, _USR,
|
|
1011
|
+
0,
|
|
1012
|
+
[_AIc, _BN, _No, _OS, _NSe],
|
|
1013
|
+
[0, 0, () => Notification$, [() => Subscriber$, 0], [() => Subscriber$, 0]], 5
|
|
1014
|
+
];
|
|
1015
|
+
var UpdateSubscriberResponse$ = [3, n0, _USRp,
|
|
1016
|
+
0,
|
|
1017
|
+
[],
|
|
1018
|
+
[]
|
|
1019
|
+
];
|
|
1020
|
+
var ActionHistories = [1, n0, _AHc,
|
|
1021
|
+
0, [() => ActionHistory$,
|
|
1022
|
+
0]
|
|
1023
|
+
];
|
|
1024
|
+
var Actions = [1, n0, _Ac,
|
|
1025
|
+
0, [() => Action$,
|
|
1026
|
+
0]
|
|
1027
|
+
];
|
|
1028
|
+
var BudgetedAndActualAmountsList = [1, n0, _BAAAL,
|
|
1029
|
+
0, () => BudgetedAndActualAmounts$
|
|
1030
|
+
];
|
|
1031
|
+
var BudgetNotificationsForAccountList = [1, n0, _BNFAL,
|
|
1032
|
+
0, () => BudgetNotificationsForAccount$
|
|
1033
|
+
];
|
|
1034
|
+
var Budgets$1 = [1, n0, _Bu,
|
|
1035
|
+
0, () => Budget$
|
|
1036
|
+
];
|
|
1037
|
+
var Expressions = [1, n0, _Ex,
|
|
1038
|
+
0, () => Expression$
|
|
1039
|
+
];
|
|
1040
|
+
var Notifications = [1, n0, _N,
|
|
1041
|
+
0, () => Notification$
|
|
1042
|
+
];
|
|
1043
|
+
var NotificationWithSubscribersList = [1, n0, _NWSL,
|
|
1044
|
+
0, [() => NotificationWithSubscribers$,
|
|
1045
|
+
0]
|
|
1046
|
+
];
|
|
1047
|
+
var ResourceTagList = [1, n0, _RTL,
|
|
1048
|
+
0, () => ResourceTag$
|
|
1049
|
+
];
|
|
1050
|
+
var Subscribers = [1, n0, _Su,
|
|
1051
|
+
0, [() => Subscriber$,
|
|
1052
|
+
0]
|
|
1053
|
+
];
|
|
1054
|
+
var PlannedBudgetLimits = [2, n0, _PBL,
|
|
1055
|
+
0, 0, () => Spend$
|
|
1056
|
+
];
|
|
1057
|
+
var CreateBudget$ = [9, n0, _CB,
|
|
1058
|
+
0, () => CreateBudgetRequest$, () => CreateBudgetResponse$
|
|
1059
|
+
];
|
|
1060
|
+
var CreateBudgetAction$ = [9, n0, _CBA,
|
|
1061
|
+
0, () => CreateBudgetActionRequest$, () => CreateBudgetActionResponse$
|
|
1062
|
+
];
|
|
1063
|
+
var CreateNotification$ = [9, n0, _CN,
|
|
1064
|
+
0, () => CreateNotificationRequest$, () => CreateNotificationResponse$
|
|
1065
|
+
];
|
|
1066
|
+
var CreateSubscriber$ = [9, n0, _CSr,
|
|
1067
|
+
0, () => CreateSubscriberRequest$, () => CreateSubscriberResponse$
|
|
1068
|
+
];
|
|
1069
|
+
var DeleteBudget$ = [9, n0, _DB,
|
|
1070
|
+
0, () => DeleteBudgetRequest$, () => DeleteBudgetResponse$
|
|
1071
|
+
];
|
|
1072
|
+
var DeleteBudgetAction$ = [9, n0, _DBA,
|
|
1073
|
+
0, () => DeleteBudgetActionRequest$, () => DeleteBudgetActionResponse$
|
|
1074
|
+
];
|
|
1075
|
+
var DeleteNotification$ = [9, n0, _DN,
|
|
1076
|
+
0, () => DeleteNotificationRequest$, () => DeleteNotificationResponse$
|
|
1077
|
+
];
|
|
1078
|
+
var DeleteSubscriber$ = [9, n0, _DS,
|
|
1079
|
+
0, () => DeleteSubscriberRequest$, () => DeleteSubscriberResponse$
|
|
1080
|
+
];
|
|
1081
|
+
var DescribeBudget$ = [9, n0, _DBe,
|
|
1082
|
+
0, () => DescribeBudgetRequest$, () => DescribeBudgetResponse$
|
|
1083
|
+
];
|
|
1084
|
+
var DescribeBudgetAction$ = [9, n0, _DBAe,
|
|
1085
|
+
0, () => DescribeBudgetActionRequest$, () => DescribeBudgetActionResponse$
|
|
1086
|
+
];
|
|
1087
|
+
var DescribeBudgetActionHistories$ = [9, n0, _DBAH,
|
|
1088
|
+
0, () => DescribeBudgetActionHistoriesRequest$, () => DescribeBudgetActionHistoriesResponse$
|
|
1089
|
+
];
|
|
1090
|
+
var DescribeBudgetActionsForAccount$ = [9, n0, _DBAFA,
|
|
1091
|
+
0, () => DescribeBudgetActionsForAccountRequest$, () => DescribeBudgetActionsForAccountResponse$
|
|
1092
|
+
];
|
|
1093
|
+
var DescribeBudgetActionsForBudget$ = [9, n0, _DBAFB,
|
|
1094
|
+
0, () => DescribeBudgetActionsForBudgetRequest$, () => DescribeBudgetActionsForBudgetResponse$
|
|
1095
|
+
];
|
|
1096
|
+
var DescribeBudgetNotificationsForAccount$ = [9, n0, _DBNFA,
|
|
1097
|
+
0, () => DescribeBudgetNotificationsForAccountRequest$, () => DescribeBudgetNotificationsForAccountResponse$
|
|
1098
|
+
];
|
|
1099
|
+
var DescribeBudgetPerformanceHistory$ = [9, n0, _DBPH,
|
|
1100
|
+
0, () => DescribeBudgetPerformanceHistoryRequest$, () => DescribeBudgetPerformanceHistoryResponse$
|
|
1101
|
+
];
|
|
1102
|
+
var DescribeBudgets$ = [9, n0, _DBes,
|
|
1103
|
+
0, () => DescribeBudgetsRequest$, () => DescribeBudgetsResponse$
|
|
1104
|
+
];
|
|
1105
|
+
var DescribeNotificationsForBudget$ = [9, n0, _DNFB,
|
|
1106
|
+
0, () => DescribeNotificationsForBudgetRequest$, () => DescribeNotificationsForBudgetResponse$
|
|
1107
|
+
];
|
|
1108
|
+
var DescribeSubscribersForNotification$ = [9, n0, _DSFN,
|
|
1109
|
+
0, () => DescribeSubscribersForNotificationRequest$, () => DescribeSubscribersForNotificationResponse$
|
|
1110
|
+
];
|
|
1111
|
+
var ExecuteBudgetAction$ = [9, n0, _EBA,
|
|
1112
|
+
0, () => ExecuteBudgetActionRequest$, () => ExecuteBudgetActionResponse$
|
|
1113
|
+
];
|
|
1114
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
1115
|
+
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
1116
|
+
];
|
|
1117
|
+
var TagResource$ = [9, n0, _TR,
|
|
1118
|
+
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
1119
|
+
];
|
|
1120
|
+
var UntagResource$ = [9, n0, _UR,
|
|
1121
|
+
0, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
1122
|
+
];
|
|
1123
|
+
var UpdateBudget$ = [9, n0, _UBp,
|
|
1124
|
+
0, () => UpdateBudgetRequest$, () => UpdateBudgetResponse$
|
|
1125
|
+
];
|
|
1126
|
+
var UpdateBudgetAction$ = [9, n0, _UBA,
|
|
1127
|
+
0, () => UpdateBudgetActionRequest$, () => UpdateBudgetActionResponse$
|
|
1128
|
+
];
|
|
1129
|
+
var UpdateNotification$ = [9, n0, _UN,
|
|
1130
|
+
0, () => UpdateNotificationRequest$, () => UpdateNotificationResponse$
|
|
1131
|
+
];
|
|
1132
|
+
var UpdateSubscriber$ = [9, n0, _US,
|
|
1133
|
+
0, () => UpdateSubscriberRequest$, () => UpdateSubscriberResponse$
|
|
1134
|
+
];
|
|
1135
|
+
|
|
1136
|
+
const getRuntimeConfig$1 = (config) => {
|
|
1137
|
+
return {
|
|
1138
|
+
apiVersion: "2016-10-20",
|
|
1139
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
1140
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
1141
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
1142
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
1143
|
+
extensions: config?.extensions ?? [],
|
|
1144
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultBudgetsHttpAuthSchemeProvider,
|
|
1145
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
1146
|
+
{
|
|
1147
|
+
schemeId: "aws.auth#sigv4",
|
|
1148
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
1149
|
+
signer: new AwsSdkSigV4Signer(),
|
|
1150
|
+
},
|
|
1151
|
+
],
|
|
1152
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
1153
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
1154
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
1155
|
+
defaultNamespace: "com.amazonaws.budgets",
|
|
1156
|
+
errorTypeRegistries,
|
|
1157
|
+
version: "2016-10-20",
|
|
1158
|
+
serviceTarget: "AWSBudgetServiceGateway",
|
|
1159
|
+
},
|
|
1160
|
+
serviceId: config?.serviceId ?? "Budgets",
|
|
1161
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
1162
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1163
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
const getRuntimeConfig = (config) => {
|
|
1168
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
1169
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
1170
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
1171
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
1172
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
1173
|
+
const loaderConfig = {
|
|
1174
|
+
profile: config?.profile,
|
|
1175
|
+
logger: clientSharedValues.logger,
|
|
1176
|
+
};
|
|
1177
|
+
return {
|
|
1178
|
+
...clientSharedValues,
|
|
1179
|
+
...config,
|
|
1180
|
+
runtime: "node",
|
|
1181
|
+
defaultsMode,
|
|
1182
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
1183
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
1184
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1185
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
1186
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1187
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1188
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1189
|
+
retryMode: config?.retryMode ??
|
|
1190
|
+
loadConfig({
|
|
1191
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1192
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1193
|
+
}, config),
|
|
1194
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1195
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1196
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1197
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1198
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
1199
|
+
};
|
|
1200
|
+
};
|
|
1201
|
+
|
|
34
1202
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
1203
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
1204
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -625,53 +1793,185 @@ const ExecutionType = {
|
|
|
625
1793
|
ReverseBudgetAction: "REVERSE_BUDGET_ACTION",
|
|
626
1794
|
};
|
|
627
1795
|
|
|
1796
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1797
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1798
|
+
exports.Action$ = Action$;
|
|
1799
|
+
exports.ActionHistory$ = ActionHistory$;
|
|
1800
|
+
exports.ActionHistoryDetails$ = ActionHistoryDetails$;
|
|
628
1801
|
exports.ActionStatus = ActionStatus;
|
|
629
1802
|
exports.ActionSubType = ActionSubType;
|
|
1803
|
+
exports.ActionThreshold$ = ActionThreshold$;
|
|
630
1804
|
exports.ActionType = ActionType;
|
|
631
1805
|
exports.ApprovalModel = ApprovalModel;
|
|
1806
|
+
exports.AutoAdjustData$ = AutoAdjustData$;
|
|
632
1807
|
exports.AutoAdjustType = AutoAdjustType;
|
|
1808
|
+
exports.BillingViewHealthStatusException = BillingViewHealthStatusException;
|
|
1809
|
+
exports.BillingViewHealthStatusException$ = BillingViewHealthStatusException$;
|
|
1810
|
+
exports.Budget$ = Budget$;
|
|
1811
|
+
exports.BudgetNotificationsForAccount$ = BudgetNotificationsForAccount$;
|
|
1812
|
+
exports.BudgetPerformanceHistory$ = BudgetPerformanceHistory$;
|
|
633
1813
|
exports.BudgetType = BudgetType;
|
|
1814
|
+
exports.BudgetedAndActualAmounts$ = BudgetedAndActualAmounts$;
|
|
634
1815
|
exports.Budgets = Budgets;
|
|
635
1816
|
exports.BudgetsClient = BudgetsClient;
|
|
1817
|
+
exports.BudgetsServiceException = BudgetsServiceException;
|
|
1818
|
+
exports.BudgetsServiceException$ = BudgetsServiceException$;
|
|
1819
|
+
exports.CalculatedSpend$ = CalculatedSpend$;
|
|
636
1820
|
exports.ComparisonOperator = ComparisonOperator;
|
|
1821
|
+
exports.CostCategoryValues$ = CostCategoryValues$;
|
|
1822
|
+
exports.CostTypes$ = CostTypes$;
|
|
1823
|
+
exports.CreateBudget$ = CreateBudget$;
|
|
1824
|
+
exports.CreateBudgetAction$ = CreateBudgetAction$;
|
|
637
1825
|
exports.CreateBudgetActionCommand = CreateBudgetActionCommand;
|
|
1826
|
+
exports.CreateBudgetActionRequest$ = CreateBudgetActionRequest$;
|
|
1827
|
+
exports.CreateBudgetActionResponse$ = CreateBudgetActionResponse$;
|
|
638
1828
|
exports.CreateBudgetCommand = CreateBudgetCommand;
|
|
1829
|
+
exports.CreateBudgetRequest$ = CreateBudgetRequest$;
|
|
1830
|
+
exports.CreateBudgetResponse$ = CreateBudgetResponse$;
|
|
1831
|
+
exports.CreateNotification$ = CreateNotification$;
|
|
639
1832
|
exports.CreateNotificationCommand = CreateNotificationCommand;
|
|
1833
|
+
exports.CreateNotificationRequest$ = CreateNotificationRequest$;
|
|
1834
|
+
exports.CreateNotificationResponse$ = CreateNotificationResponse$;
|
|
1835
|
+
exports.CreateSubscriber$ = CreateSubscriber$;
|
|
640
1836
|
exports.CreateSubscriberCommand = CreateSubscriberCommand;
|
|
1837
|
+
exports.CreateSubscriberRequest$ = CreateSubscriberRequest$;
|
|
1838
|
+
exports.CreateSubscriberResponse$ = CreateSubscriberResponse$;
|
|
1839
|
+
exports.CreationLimitExceededException = CreationLimitExceededException;
|
|
1840
|
+
exports.CreationLimitExceededException$ = CreationLimitExceededException$;
|
|
1841
|
+
exports.Definition$ = Definition$;
|
|
1842
|
+
exports.DeleteBudget$ = DeleteBudget$;
|
|
1843
|
+
exports.DeleteBudgetAction$ = DeleteBudgetAction$;
|
|
641
1844
|
exports.DeleteBudgetActionCommand = DeleteBudgetActionCommand;
|
|
1845
|
+
exports.DeleteBudgetActionRequest$ = DeleteBudgetActionRequest$;
|
|
1846
|
+
exports.DeleteBudgetActionResponse$ = DeleteBudgetActionResponse$;
|
|
642
1847
|
exports.DeleteBudgetCommand = DeleteBudgetCommand;
|
|
1848
|
+
exports.DeleteBudgetRequest$ = DeleteBudgetRequest$;
|
|
1849
|
+
exports.DeleteBudgetResponse$ = DeleteBudgetResponse$;
|
|
1850
|
+
exports.DeleteNotification$ = DeleteNotification$;
|
|
643
1851
|
exports.DeleteNotificationCommand = DeleteNotificationCommand;
|
|
1852
|
+
exports.DeleteNotificationRequest$ = DeleteNotificationRequest$;
|
|
1853
|
+
exports.DeleteNotificationResponse$ = DeleteNotificationResponse$;
|
|
1854
|
+
exports.DeleteSubscriber$ = DeleteSubscriber$;
|
|
644
1855
|
exports.DeleteSubscriberCommand = DeleteSubscriberCommand;
|
|
1856
|
+
exports.DeleteSubscriberRequest$ = DeleteSubscriberRequest$;
|
|
1857
|
+
exports.DeleteSubscriberResponse$ = DeleteSubscriberResponse$;
|
|
1858
|
+
exports.DescribeBudget$ = DescribeBudget$;
|
|
1859
|
+
exports.DescribeBudgetAction$ = DescribeBudgetAction$;
|
|
645
1860
|
exports.DescribeBudgetActionCommand = DescribeBudgetActionCommand;
|
|
1861
|
+
exports.DescribeBudgetActionHistories$ = DescribeBudgetActionHistories$;
|
|
646
1862
|
exports.DescribeBudgetActionHistoriesCommand = DescribeBudgetActionHistoriesCommand;
|
|
1863
|
+
exports.DescribeBudgetActionHistoriesRequest$ = DescribeBudgetActionHistoriesRequest$;
|
|
1864
|
+
exports.DescribeBudgetActionHistoriesResponse$ = DescribeBudgetActionHistoriesResponse$;
|
|
1865
|
+
exports.DescribeBudgetActionRequest$ = DescribeBudgetActionRequest$;
|
|
1866
|
+
exports.DescribeBudgetActionResponse$ = DescribeBudgetActionResponse$;
|
|
1867
|
+
exports.DescribeBudgetActionsForAccount$ = DescribeBudgetActionsForAccount$;
|
|
647
1868
|
exports.DescribeBudgetActionsForAccountCommand = DescribeBudgetActionsForAccountCommand;
|
|
1869
|
+
exports.DescribeBudgetActionsForAccountRequest$ = DescribeBudgetActionsForAccountRequest$;
|
|
1870
|
+
exports.DescribeBudgetActionsForAccountResponse$ = DescribeBudgetActionsForAccountResponse$;
|
|
1871
|
+
exports.DescribeBudgetActionsForBudget$ = DescribeBudgetActionsForBudget$;
|
|
648
1872
|
exports.DescribeBudgetActionsForBudgetCommand = DescribeBudgetActionsForBudgetCommand;
|
|
1873
|
+
exports.DescribeBudgetActionsForBudgetRequest$ = DescribeBudgetActionsForBudgetRequest$;
|
|
1874
|
+
exports.DescribeBudgetActionsForBudgetResponse$ = DescribeBudgetActionsForBudgetResponse$;
|
|
649
1875
|
exports.DescribeBudgetCommand = DescribeBudgetCommand;
|
|
1876
|
+
exports.DescribeBudgetNotificationsForAccount$ = DescribeBudgetNotificationsForAccount$;
|
|
650
1877
|
exports.DescribeBudgetNotificationsForAccountCommand = DescribeBudgetNotificationsForAccountCommand;
|
|
1878
|
+
exports.DescribeBudgetNotificationsForAccountRequest$ = DescribeBudgetNotificationsForAccountRequest$;
|
|
1879
|
+
exports.DescribeBudgetNotificationsForAccountResponse$ = DescribeBudgetNotificationsForAccountResponse$;
|
|
1880
|
+
exports.DescribeBudgetPerformanceHistory$ = DescribeBudgetPerformanceHistory$;
|
|
651
1881
|
exports.DescribeBudgetPerformanceHistoryCommand = DescribeBudgetPerformanceHistoryCommand;
|
|
1882
|
+
exports.DescribeBudgetPerformanceHistoryRequest$ = DescribeBudgetPerformanceHistoryRequest$;
|
|
1883
|
+
exports.DescribeBudgetPerformanceHistoryResponse$ = DescribeBudgetPerformanceHistoryResponse$;
|
|
1884
|
+
exports.DescribeBudgetRequest$ = DescribeBudgetRequest$;
|
|
1885
|
+
exports.DescribeBudgetResponse$ = DescribeBudgetResponse$;
|
|
1886
|
+
exports.DescribeBudgets$ = DescribeBudgets$;
|
|
652
1887
|
exports.DescribeBudgetsCommand = DescribeBudgetsCommand;
|
|
1888
|
+
exports.DescribeBudgetsRequest$ = DescribeBudgetsRequest$;
|
|
1889
|
+
exports.DescribeBudgetsResponse$ = DescribeBudgetsResponse$;
|
|
1890
|
+
exports.DescribeNotificationsForBudget$ = DescribeNotificationsForBudget$;
|
|
653
1891
|
exports.DescribeNotificationsForBudgetCommand = DescribeNotificationsForBudgetCommand;
|
|
1892
|
+
exports.DescribeNotificationsForBudgetRequest$ = DescribeNotificationsForBudgetRequest$;
|
|
1893
|
+
exports.DescribeNotificationsForBudgetResponse$ = DescribeNotificationsForBudgetResponse$;
|
|
1894
|
+
exports.DescribeSubscribersForNotification$ = DescribeSubscribersForNotification$;
|
|
654
1895
|
exports.DescribeSubscribersForNotificationCommand = DescribeSubscribersForNotificationCommand;
|
|
1896
|
+
exports.DescribeSubscribersForNotificationRequest$ = DescribeSubscribersForNotificationRequest$;
|
|
1897
|
+
exports.DescribeSubscribersForNotificationResponse$ = DescribeSubscribersForNotificationResponse$;
|
|
655
1898
|
exports.Dimension = Dimension;
|
|
1899
|
+
exports.DuplicateRecordException = DuplicateRecordException;
|
|
1900
|
+
exports.DuplicateRecordException$ = DuplicateRecordException$;
|
|
656
1901
|
exports.EventType = EventType;
|
|
1902
|
+
exports.ExecuteBudgetAction$ = ExecuteBudgetAction$;
|
|
657
1903
|
exports.ExecuteBudgetActionCommand = ExecuteBudgetActionCommand;
|
|
1904
|
+
exports.ExecuteBudgetActionRequest$ = ExecuteBudgetActionRequest$;
|
|
1905
|
+
exports.ExecuteBudgetActionResponse$ = ExecuteBudgetActionResponse$;
|
|
658
1906
|
exports.ExecutionType = ExecutionType;
|
|
1907
|
+
exports.ExpiredNextTokenException = ExpiredNextTokenException;
|
|
1908
|
+
exports.ExpiredNextTokenException$ = ExpiredNextTokenException$;
|
|
1909
|
+
exports.Expression$ = Expression$;
|
|
1910
|
+
exports.ExpressionDimensionValues$ = ExpressionDimensionValues$;
|
|
1911
|
+
exports.HealthStatus$ = HealthStatus$;
|
|
659
1912
|
exports.HealthStatusReason = HealthStatusReason;
|
|
660
1913
|
exports.HealthStatusValue = HealthStatusValue;
|
|
1914
|
+
exports.HistoricalOptions$ = HistoricalOptions$;
|
|
1915
|
+
exports.IamActionDefinition$ = IamActionDefinition$;
|
|
1916
|
+
exports.InternalErrorException = InternalErrorException;
|
|
1917
|
+
exports.InternalErrorException$ = InternalErrorException$;
|
|
1918
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
1919
|
+
exports.InvalidNextTokenException$ = InvalidNextTokenException$;
|
|
1920
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
1921
|
+
exports.InvalidParameterException$ = InvalidParameterException$;
|
|
1922
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
661
1923
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1924
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1925
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
662
1926
|
exports.MatchOption = MatchOption;
|
|
663
1927
|
exports.Metric = Metric;
|
|
1928
|
+
exports.NotFoundException = NotFoundException;
|
|
1929
|
+
exports.NotFoundException$ = NotFoundException$;
|
|
1930
|
+
exports.Notification$ = Notification$;
|
|
664
1931
|
exports.NotificationState = NotificationState;
|
|
665
1932
|
exports.NotificationType = NotificationType;
|
|
1933
|
+
exports.NotificationWithSubscribers$ = NotificationWithSubscribers$;
|
|
1934
|
+
exports.ResourceLockedException = ResourceLockedException;
|
|
1935
|
+
exports.ResourceLockedException$ = ResourceLockedException$;
|
|
1936
|
+
exports.ResourceTag$ = ResourceTag$;
|
|
1937
|
+
exports.ScpActionDefinition$ = ScpActionDefinition$;
|
|
1938
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1939
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
1940
|
+
exports.Spend$ = Spend$;
|
|
1941
|
+
exports.SsmActionDefinition$ = SsmActionDefinition$;
|
|
1942
|
+
exports.Subscriber$ = Subscriber$;
|
|
666
1943
|
exports.SubscriptionType = SubscriptionType;
|
|
1944
|
+
exports.TagResource$ = TagResource$;
|
|
667
1945
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1946
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1947
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1948
|
+
exports.TagValues$ = TagValues$;
|
|
668
1949
|
exports.ThresholdType = ThresholdType;
|
|
1950
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1951
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1952
|
+
exports.TimePeriod$ = TimePeriod$;
|
|
669
1953
|
exports.TimeUnit = TimeUnit;
|
|
1954
|
+
exports.UntagResource$ = UntagResource$;
|
|
670
1955
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1956
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1957
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1958
|
+
exports.UpdateBudget$ = UpdateBudget$;
|
|
1959
|
+
exports.UpdateBudgetAction$ = UpdateBudgetAction$;
|
|
671
1960
|
exports.UpdateBudgetActionCommand = UpdateBudgetActionCommand;
|
|
1961
|
+
exports.UpdateBudgetActionRequest$ = UpdateBudgetActionRequest$;
|
|
1962
|
+
exports.UpdateBudgetActionResponse$ = UpdateBudgetActionResponse$;
|
|
672
1963
|
exports.UpdateBudgetCommand = UpdateBudgetCommand;
|
|
1964
|
+
exports.UpdateBudgetRequest$ = UpdateBudgetRequest$;
|
|
1965
|
+
exports.UpdateBudgetResponse$ = UpdateBudgetResponse$;
|
|
1966
|
+
exports.UpdateNotification$ = UpdateNotification$;
|
|
673
1967
|
exports.UpdateNotificationCommand = UpdateNotificationCommand;
|
|
1968
|
+
exports.UpdateNotificationRequest$ = UpdateNotificationRequest$;
|
|
1969
|
+
exports.UpdateNotificationResponse$ = UpdateNotificationResponse$;
|
|
1970
|
+
exports.UpdateSubscriber$ = UpdateSubscriber$;
|
|
674
1971
|
exports.UpdateSubscriberCommand = UpdateSubscriberCommand;
|
|
1972
|
+
exports.UpdateSubscriberRequest$ = UpdateSubscriberRequest$;
|
|
1973
|
+
exports.UpdateSubscriberResponse$ = UpdateSubscriberResponse$;
|
|
1974
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
675
1975
|
exports.paginateDescribeBudgetActionHistories = paginateDescribeBudgetActionHistories;
|
|
676
1976
|
exports.paginateDescribeBudgetActionsForAccount = paginateDescribeBudgetActionsForAccount;
|
|
677
1977
|
exports.paginateDescribeBudgetActionsForBudget = paginateDescribeBudgetActionsForBudget;
|