@aws-sdk/client-billing 3.987.0 → 3.989.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 +31 -607
- package/dist-cjs/models/BillingServiceException.js +12 -0
- package/dist-cjs/models/errors.js +128 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +423 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +58 -52
- package/dist-types/schemas/schemas_0.d.ts +15 -8
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -8
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var BillingServiceException = require('./models/BillingServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,535 +113,6 @@ class BillingClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class BillingServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, BillingServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class AccessDeniedException extends BillingServiceException {
|
|
121
|
-
name = "AccessDeniedException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "AccessDeniedException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
class BillingViewHealthStatusException extends BillingServiceException {
|
|
133
|
-
name = "BillingViewHealthStatusException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "BillingViewHealthStatusException",
|
|
138
|
-
$fault: "client",
|
|
139
|
-
...opts,
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, BillingViewHealthStatusException.prototype);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
class ConflictException extends BillingServiceException {
|
|
145
|
-
name = "ConflictException";
|
|
146
|
-
$fault = "client";
|
|
147
|
-
resourceId;
|
|
148
|
-
resourceType;
|
|
149
|
-
constructor(opts) {
|
|
150
|
-
super({
|
|
151
|
-
name: "ConflictException",
|
|
152
|
-
$fault: "client",
|
|
153
|
-
...opts,
|
|
154
|
-
});
|
|
155
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
156
|
-
this.resourceId = opts.resourceId;
|
|
157
|
-
this.resourceType = opts.resourceType;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
class InternalServerException extends BillingServiceException {
|
|
161
|
-
name = "InternalServerException";
|
|
162
|
-
$fault = "server";
|
|
163
|
-
constructor(opts) {
|
|
164
|
-
super({
|
|
165
|
-
name: "InternalServerException",
|
|
166
|
-
$fault: "server",
|
|
167
|
-
...opts,
|
|
168
|
-
});
|
|
169
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
class ResourceNotFoundException extends BillingServiceException {
|
|
173
|
-
name = "ResourceNotFoundException";
|
|
174
|
-
$fault = "client";
|
|
175
|
-
resourceId;
|
|
176
|
-
resourceType;
|
|
177
|
-
constructor(opts) {
|
|
178
|
-
super({
|
|
179
|
-
name: "ResourceNotFoundException",
|
|
180
|
-
$fault: "client",
|
|
181
|
-
...opts,
|
|
182
|
-
});
|
|
183
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
184
|
-
this.resourceId = opts.resourceId;
|
|
185
|
-
this.resourceType = opts.resourceType;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
class ServiceQuotaExceededException extends BillingServiceException {
|
|
189
|
-
name = "ServiceQuotaExceededException";
|
|
190
|
-
$fault = "client";
|
|
191
|
-
resourceId;
|
|
192
|
-
resourceType;
|
|
193
|
-
serviceCode;
|
|
194
|
-
quotaCode;
|
|
195
|
-
constructor(opts) {
|
|
196
|
-
super({
|
|
197
|
-
name: "ServiceQuotaExceededException",
|
|
198
|
-
$fault: "client",
|
|
199
|
-
...opts,
|
|
200
|
-
});
|
|
201
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
202
|
-
this.resourceId = opts.resourceId;
|
|
203
|
-
this.resourceType = opts.resourceType;
|
|
204
|
-
this.serviceCode = opts.serviceCode;
|
|
205
|
-
this.quotaCode = opts.quotaCode;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
class ThrottlingException extends BillingServiceException {
|
|
209
|
-
name = "ThrottlingException";
|
|
210
|
-
$fault = "client";
|
|
211
|
-
constructor(opts) {
|
|
212
|
-
super({
|
|
213
|
-
name: "ThrottlingException",
|
|
214
|
-
$fault: "client",
|
|
215
|
-
...opts,
|
|
216
|
-
});
|
|
217
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
class ValidationException extends BillingServiceException {
|
|
221
|
-
name = "ValidationException";
|
|
222
|
-
$fault = "client";
|
|
223
|
-
reason;
|
|
224
|
-
fieldList;
|
|
225
|
-
constructor(opts) {
|
|
226
|
-
super({
|
|
227
|
-
name: "ValidationException",
|
|
228
|
-
$fault: "client",
|
|
229
|
-
...opts,
|
|
230
|
-
});
|
|
231
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
232
|
-
this.reason = opts.reason;
|
|
233
|
-
this.fieldList = opts.fieldList;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
const _ADE = "AccessDeniedException";
|
|
238
|
-
const _ASV = "AssociateSourceViews";
|
|
239
|
-
const _ASVR = "AssociateSourceViewsRequest";
|
|
240
|
-
const _ASVRs = "AssociateSourceViewsResponse";
|
|
241
|
-
const _ATR = "ActiveTimeRange";
|
|
242
|
-
const _BVD = "BillingViewDescription";
|
|
243
|
-
const _BVE = "BillingViewElement";
|
|
244
|
-
const _BVHS = "BillingViewHealthStatus";
|
|
245
|
-
const _BVHSE = "BillingViewHealthStatusException";
|
|
246
|
-
const _BVL = "BillingViewList";
|
|
247
|
-
const _BVLE = "BillingViewListElement";
|
|
248
|
-
const _BVN = "BillingViewName";
|
|
249
|
-
const _CBV = "CreateBillingView";
|
|
250
|
-
const _CBVR = "CreateBillingViewRequest";
|
|
251
|
-
const _CBVRr = "CreateBillingViewResponse";
|
|
252
|
-
const _CCV = "CostCategoryValues";
|
|
253
|
-
const _CE = "ConflictException";
|
|
254
|
-
const _DBV = "DeleteBillingView";
|
|
255
|
-
const _DBVR = "DeleteBillingViewRequest";
|
|
256
|
-
const _DBVRe = "DeleteBillingViewResponse";
|
|
257
|
-
const _DSV = "DisassociateSourceViews";
|
|
258
|
-
const _DSVR = "DisassociateSourceViewsRequest";
|
|
259
|
-
const _DSVRi = "DisassociateSourceViewsResponse";
|
|
260
|
-
const _DV = "DimensionValues";
|
|
261
|
-
const _E = "Expression";
|
|
262
|
-
const _GBV = "GetBillingView";
|
|
263
|
-
const _GBVR = "GetBillingViewRequest";
|
|
264
|
-
const _GBVRe = "GetBillingViewResponse";
|
|
265
|
-
const _GRP = "GetResourcePolicy";
|
|
266
|
-
const _GRPR = "GetResourcePolicyRequest";
|
|
267
|
-
const _GRPRe = "GetResourcePolicyResponse";
|
|
268
|
-
const _ISE = "InternalServerException";
|
|
269
|
-
const _LBV = "ListBillingViews";
|
|
270
|
-
const _LBVR = "ListBillingViewsRequest";
|
|
271
|
-
const _LBVRi = "ListBillingViewsResponse";
|
|
272
|
-
const _LSVFBV = "ListSourceViewsForBillingView";
|
|
273
|
-
const _LSVFBVR = "ListSourceViewsForBillingViewRequest";
|
|
274
|
-
const _LSVFBVRi = "ListSourceViewsForBillingViewResponse";
|
|
275
|
-
const _LTFR = "ListTagsForResource";
|
|
276
|
-
const _LTFRR = "ListTagsForResourceRequest";
|
|
277
|
-
const _LTFRRi = "ListTagsForResourceResponse";
|
|
278
|
-
const _RNFE = "ResourceNotFoundException";
|
|
279
|
-
const _RT = "ResourceTag";
|
|
280
|
-
const _RTL = "ResourceTagList";
|
|
281
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
282
|
-
const _SS = "StringSearch";
|
|
283
|
-
const _SSt = "StringSearches";
|
|
284
|
-
const _TE = "ThrottlingException";
|
|
285
|
-
const _TR = "TimeRange";
|
|
286
|
-
const _TRR = "TagResourceRequest";
|
|
287
|
-
const _TRRa = "TagResourceResponse";
|
|
288
|
-
const _TRa = "TagResource";
|
|
289
|
-
const _TV = "TagValues";
|
|
290
|
-
const _UBV = "UpdateBillingView";
|
|
291
|
-
const _UBVR = "UpdateBillingViewRequest";
|
|
292
|
-
const _UBVRp = "UpdateBillingViewResponse";
|
|
293
|
-
const _UR = "UntagResource";
|
|
294
|
-
const _URR = "UntagResourceRequest";
|
|
295
|
-
const _URRn = "UntagResourceResponse";
|
|
296
|
-
const _VE = "ValidationException";
|
|
297
|
-
const _VEF = "ValidationExceptionField";
|
|
298
|
-
const _VEFL = "ValidationExceptionFieldList";
|
|
299
|
-
const _XACT = "X-Amzn-Client-Token";
|
|
300
|
-
const _a = "arn";
|
|
301
|
-
const _aAI = "activeAfterInclusive";
|
|
302
|
-
const _aBI = "activeBeforeInclusive";
|
|
303
|
-
const _aQE = "awsQueryError";
|
|
304
|
-
const _aTR = "activeTimeRange";
|
|
305
|
-
const _ar = "arns";
|
|
306
|
-
const _bDI = "beginDateInclusive";
|
|
307
|
-
const _bV = "billingView";
|
|
308
|
-
const _bVT = "billingViewType";
|
|
309
|
-
const _bVTi = "billingViewTypes";
|
|
310
|
-
const _bVi = "billingViews";
|
|
311
|
-
const _c = "client";
|
|
312
|
-
const _cA = "createdAt";
|
|
313
|
-
const _cC = "costCategories";
|
|
314
|
-
const _cT = "clientToken";
|
|
315
|
-
const _d = "description";
|
|
316
|
-
const _dFE = "dataFilterExpression";
|
|
317
|
-
const _dVC = "derivedViewCount";
|
|
318
|
-
const _di = "dimensions";
|
|
319
|
-
const _e = "error";
|
|
320
|
-
const _eDI = "endDateInclusive";
|
|
321
|
-
const _f = "force";
|
|
322
|
-
const _fL = "fieldList";
|
|
323
|
-
const _h = "http";
|
|
324
|
-
const _hE = "httpError";
|
|
325
|
-
const _hH = "httpHeader";
|
|
326
|
-
const _hS = "healthStatus";
|
|
327
|
-
const _iT = "idempotencyToken";
|
|
328
|
-
const _k = "key";
|
|
329
|
-
const _m = "message";
|
|
330
|
-
const _mR = "maxResults";
|
|
331
|
-
const _n = "name";
|
|
332
|
-
const _nT = "nextToken";
|
|
333
|
-
const _na = "names";
|
|
334
|
-
const _oAI = "ownerAccountId";
|
|
335
|
-
const _p = "policy";
|
|
336
|
-
const _qC = "quotaCode";
|
|
337
|
-
const _r = "reason";
|
|
338
|
-
const _rA = "resourceArn";
|
|
339
|
-
const _rI = "resourceId";
|
|
340
|
-
const _rT = "resourceType";
|
|
341
|
-
const _rTK = "resourceTagKeys";
|
|
342
|
-
const _rTe = "resourceTags";
|
|
343
|
-
const _s = "server";
|
|
344
|
-
const _sAI = "sourceAccountId";
|
|
345
|
-
const _sC = "statusCode";
|
|
346
|
-
const _sCe = "serviceCode";
|
|
347
|
-
const _sO = "searchOption";
|
|
348
|
-
const _sR = "statusReasons";
|
|
349
|
-
const _sV = "sourceViews";
|
|
350
|
-
const _sVC = "sourceViewCount";
|
|
351
|
-
const _sVe = "searchValue";
|
|
352
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.billing";
|
|
353
|
-
const _t = "tags";
|
|
354
|
-
const _tR = "timeRange";
|
|
355
|
-
const _uA = "updatedAt";
|
|
356
|
-
const _v = "values";
|
|
357
|
-
const _vDLUA = "viewDefinitionLastUpdatedAt";
|
|
358
|
-
const _va = "value";
|
|
359
|
-
const n0 = "com.amazonaws.billing";
|
|
360
|
-
var BillingViewDescription = [0, n0, _BVD, 8, 0];
|
|
361
|
-
var BillingViewName = [0, n0, _BVN, 8, 0];
|
|
362
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
363
|
-
{ [_aQE]: [`BillingAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
|
|
364
|
-
[_m],
|
|
365
|
-
[0], 1
|
|
366
|
-
];
|
|
367
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
368
|
-
var ActiveTimeRange$ = [3, n0, _ATR,
|
|
369
|
-
0,
|
|
370
|
-
[_aAI, _aBI],
|
|
371
|
-
[4, 4], 2
|
|
372
|
-
];
|
|
373
|
-
var AssociateSourceViewsRequest$ = [3, n0, _ASVR,
|
|
374
|
-
0,
|
|
375
|
-
[_a, _sV],
|
|
376
|
-
[0, 64 | 0], 2
|
|
377
|
-
];
|
|
378
|
-
var AssociateSourceViewsResponse$ = [3, n0, _ASVRs,
|
|
379
|
-
0,
|
|
380
|
-
[_a],
|
|
381
|
-
[0], 1
|
|
382
|
-
];
|
|
383
|
-
var BillingViewElement$ = [3, n0, _BVE,
|
|
384
|
-
0,
|
|
385
|
-
[_a, _n, _d, _bVT, _oAI, _sAI, _dFE, _cA, _uA, _dVC, _sVC, _vDLUA, _hS],
|
|
386
|
-
[0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => Expression$, 4, 4, 1, 1, 4, () => BillingViewHealthStatus$]
|
|
387
|
-
];
|
|
388
|
-
var BillingViewHealthStatus$ = [3, n0, _BVHS,
|
|
389
|
-
0,
|
|
390
|
-
[_sC, _sR],
|
|
391
|
-
[0, 64 | 0]
|
|
392
|
-
];
|
|
393
|
-
var BillingViewHealthStatusException$ = [-3, n0, _BVHSE,
|
|
394
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
395
|
-
[_m],
|
|
396
|
-
[0], 1
|
|
397
|
-
];
|
|
398
|
-
schema.TypeRegistry.for(n0).registerError(BillingViewHealthStatusException$, BillingViewHealthStatusException);
|
|
399
|
-
var BillingViewListElement$ = [3, n0, _BVLE,
|
|
400
|
-
0,
|
|
401
|
-
[_a, _n, _d, _oAI, _sAI, _bVT, _hS],
|
|
402
|
-
[0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => BillingViewHealthStatus$]
|
|
403
|
-
];
|
|
404
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
405
|
-
{ [_aQE]: [`BillingConflict`, 409], [_e]: _c, [_hE]: 409 },
|
|
406
|
-
[_m, _rI, _rT],
|
|
407
|
-
[0, 0, 0], 3
|
|
408
|
-
];
|
|
409
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
410
|
-
var CostCategoryValues$ = [3, n0, _CCV,
|
|
411
|
-
0,
|
|
412
|
-
[_k, _v],
|
|
413
|
-
[0, 64 | 0], 2
|
|
414
|
-
];
|
|
415
|
-
var CreateBillingViewRequest$ = [3, n0, _CBVR,
|
|
416
|
-
0,
|
|
417
|
-
[_n, _sV, _d, _dFE, _cT, _rTe],
|
|
418
|
-
[[() => BillingViewName, 0], 64 | 0, [() => BillingViewDescription, 0], () => Expression$, [0, { [_hH]: _XACT, [_iT]: 1 }], () => ResourceTagList], 2
|
|
419
|
-
];
|
|
420
|
-
var CreateBillingViewResponse$ = [3, n0, _CBVRr,
|
|
421
|
-
0,
|
|
422
|
-
[_a, _cA],
|
|
423
|
-
[0, 4], 1
|
|
424
|
-
];
|
|
425
|
-
var DeleteBillingViewRequest$ = [3, n0, _DBVR,
|
|
426
|
-
0,
|
|
427
|
-
[_a, _f],
|
|
428
|
-
[0, 2], 1
|
|
429
|
-
];
|
|
430
|
-
var DeleteBillingViewResponse$ = [3, n0, _DBVRe,
|
|
431
|
-
0,
|
|
432
|
-
[_a],
|
|
433
|
-
[0], 1
|
|
434
|
-
];
|
|
435
|
-
var DimensionValues$ = [3, n0, _DV,
|
|
436
|
-
0,
|
|
437
|
-
[_k, _v],
|
|
438
|
-
[0, 64 | 0], 2
|
|
439
|
-
];
|
|
440
|
-
var DisassociateSourceViewsRequest$ = [3, n0, _DSVR,
|
|
441
|
-
0,
|
|
442
|
-
[_a, _sV],
|
|
443
|
-
[0, 64 | 0], 2
|
|
444
|
-
];
|
|
445
|
-
var DisassociateSourceViewsResponse$ = [3, n0, _DSVRi,
|
|
446
|
-
0,
|
|
447
|
-
[_a],
|
|
448
|
-
[0], 1
|
|
449
|
-
];
|
|
450
|
-
var Expression$ = [3, n0, _E,
|
|
451
|
-
0,
|
|
452
|
-
[_di, _t, _cC, _tR],
|
|
453
|
-
[() => DimensionValues$, () => TagValues$, () => CostCategoryValues$, () => TimeRange$]
|
|
454
|
-
];
|
|
455
|
-
var GetBillingViewRequest$ = [3, n0, _GBVR,
|
|
456
|
-
0,
|
|
457
|
-
[_a],
|
|
458
|
-
[0], 1
|
|
459
|
-
];
|
|
460
|
-
var GetBillingViewResponse$ = [3, n0, _GBVRe,
|
|
461
|
-
0,
|
|
462
|
-
[_bV],
|
|
463
|
-
[[() => BillingViewElement$, 0]], 1
|
|
464
|
-
];
|
|
465
|
-
var GetResourcePolicyRequest$ = [3, n0, _GRPR,
|
|
466
|
-
0,
|
|
467
|
-
[_rA],
|
|
468
|
-
[0], 1
|
|
469
|
-
];
|
|
470
|
-
var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
|
|
471
|
-
0,
|
|
472
|
-
[_rA, _p],
|
|
473
|
-
[0, 0], 1
|
|
474
|
-
];
|
|
475
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
476
|
-
{ [_aQE]: [`BillingInternalServer`, 500], [_e]: _s, [_hE]: 500 },
|
|
477
|
-
[_m],
|
|
478
|
-
[0], 1
|
|
479
|
-
];
|
|
480
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
481
|
-
var ListBillingViewsRequest$ = [3, n0, _LBVR,
|
|
482
|
-
0,
|
|
483
|
-
[_aTR, _ar, _bVTi, _na, _oAI, _sAI, _mR, _nT],
|
|
484
|
-
[() => ActiveTimeRange$, 64 | 0, 64 | 0, () => StringSearches, 0, 0, 1, 0]
|
|
485
|
-
];
|
|
486
|
-
var ListBillingViewsResponse$ = [3, n0, _LBVRi,
|
|
487
|
-
0,
|
|
488
|
-
[_bVi, _nT],
|
|
489
|
-
[[() => BillingViewList, 0], 0], 1
|
|
490
|
-
];
|
|
491
|
-
var ListSourceViewsForBillingViewRequest$ = [3, n0, _LSVFBVR,
|
|
492
|
-
0,
|
|
493
|
-
[_a, _mR, _nT],
|
|
494
|
-
[0, 1, 0], 1
|
|
495
|
-
];
|
|
496
|
-
var ListSourceViewsForBillingViewResponse$ = [3, n0, _LSVFBVRi,
|
|
497
|
-
0,
|
|
498
|
-
[_sV, _nT],
|
|
499
|
-
[64 | 0, 0], 1
|
|
500
|
-
];
|
|
501
|
-
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
502
|
-
0,
|
|
503
|
-
[_rA],
|
|
504
|
-
[0], 1
|
|
505
|
-
];
|
|
506
|
-
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
507
|
-
0,
|
|
508
|
-
[_rTe],
|
|
509
|
-
[() => ResourceTagList]
|
|
510
|
-
];
|
|
511
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
512
|
-
{ [_aQE]: [`BillingResourceNotFound`, 404], [_e]: _c, [_hE]: 404 },
|
|
513
|
-
[_m, _rI, _rT],
|
|
514
|
-
[0, 0, 0], 3
|
|
515
|
-
];
|
|
516
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
517
|
-
var ResourceTag$ = [3, n0, _RT,
|
|
518
|
-
0,
|
|
519
|
-
[_k, _va],
|
|
520
|
-
[0, 0], 1
|
|
521
|
-
];
|
|
522
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
523
|
-
{ [_aQE]: [`BillingServiceQuotaExceeded`, 402], [_e]: _c, [_hE]: 402 },
|
|
524
|
-
[_m, _rI, _rT, _sCe, _qC],
|
|
525
|
-
[0, 0, 0, 0, 0], 5
|
|
526
|
-
];
|
|
527
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
528
|
-
var StringSearch$ = [3, n0, _SS,
|
|
529
|
-
0,
|
|
530
|
-
[_sO, _sVe],
|
|
531
|
-
[0, 0], 2
|
|
532
|
-
];
|
|
533
|
-
var TagResourceRequest$ = [3, n0, _TRR,
|
|
534
|
-
0,
|
|
535
|
-
[_rA, _rTe],
|
|
536
|
-
[0, () => ResourceTagList], 2
|
|
537
|
-
];
|
|
538
|
-
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
539
|
-
0,
|
|
540
|
-
[],
|
|
541
|
-
[]
|
|
542
|
-
];
|
|
543
|
-
var TagValues$ = [3, n0, _TV,
|
|
544
|
-
0,
|
|
545
|
-
[_k, _v],
|
|
546
|
-
[0, 64 | 0], 2
|
|
547
|
-
];
|
|
548
|
-
var ThrottlingException$ = [-3, n0, _TE,
|
|
549
|
-
{ [_aQE]: [`BillingThrottling`, 429], [_e]: _c, [_hE]: 429 },
|
|
550
|
-
[_m],
|
|
551
|
-
[0], 1
|
|
552
|
-
];
|
|
553
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
554
|
-
var TimeRange$ = [3, n0, _TR,
|
|
555
|
-
0,
|
|
556
|
-
[_bDI, _eDI],
|
|
557
|
-
[4, 4]
|
|
558
|
-
];
|
|
559
|
-
var UntagResourceRequest$ = [3, n0, _URR,
|
|
560
|
-
0,
|
|
561
|
-
[_rA, _rTK],
|
|
562
|
-
[0, 64 | 0], 2
|
|
563
|
-
];
|
|
564
|
-
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
565
|
-
0,
|
|
566
|
-
[],
|
|
567
|
-
[]
|
|
568
|
-
];
|
|
569
|
-
var UpdateBillingViewRequest$ = [3, n0, _UBVR,
|
|
570
|
-
0,
|
|
571
|
-
[_a, _n, _d, _dFE],
|
|
572
|
-
[0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], () => Expression$], 1
|
|
573
|
-
];
|
|
574
|
-
var UpdateBillingViewResponse$ = [3, n0, _UBVRp,
|
|
575
|
-
0,
|
|
576
|
-
[_a, _uA],
|
|
577
|
-
[0, 4], 1
|
|
578
|
-
];
|
|
579
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
580
|
-
{ [_aQE]: [`BillingValidation`, 400], [_e]: _c, [_hE]: 400 },
|
|
581
|
-
[_m, _r, _fL],
|
|
582
|
-
[0, 0, () => ValidationExceptionFieldList], 2
|
|
583
|
-
];
|
|
584
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
585
|
-
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
586
|
-
0,
|
|
587
|
-
[_n, _m],
|
|
588
|
-
[0, 0], 2
|
|
589
|
-
];
|
|
590
|
-
var BillingServiceException$ = [-3, _sm, "BillingServiceException", 0, [], []];
|
|
591
|
-
schema.TypeRegistry.for(_sm).registerError(BillingServiceException$, BillingServiceException);
|
|
592
|
-
var BillingViewList = [1, n0, _BVL,
|
|
593
|
-
0, [() => BillingViewListElement$,
|
|
594
|
-
0]
|
|
595
|
-
];
|
|
596
|
-
var ResourceTagList = [1, n0, _RTL,
|
|
597
|
-
0, () => ResourceTag$
|
|
598
|
-
];
|
|
599
|
-
var StringSearches = [1, n0, _SSt,
|
|
600
|
-
0, () => StringSearch$
|
|
601
|
-
];
|
|
602
|
-
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
603
|
-
0, () => ValidationExceptionField$
|
|
604
|
-
];
|
|
605
|
-
var AssociateSourceViews$ = [9, n0, _ASV,
|
|
606
|
-
2, () => AssociateSourceViewsRequest$, () => AssociateSourceViewsResponse$
|
|
607
|
-
];
|
|
608
|
-
var CreateBillingView$ = [9, n0, _CBV,
|
|
609
|
-
2, () => CreateBillingViewRequest$, () => CreateBillingViewResponse$
|
|
610
|
-
];
|
|
611
|
-
var DeleteBillingView$ = [9, n0, _DBV,
|
|
612
|
-
2, () => DeleteBillingViewRequest$, () => DeleteBillingViewResponse$
|
|
613
|
-
];
|
|
614
|
-
var DisassociateSourceViews$ = [9, n0, _DSV,
|
|
615
|
-
2, () => DisassociateSourceViewsRequest$, () => DisassociateSourceViewsResponse$
|
|
616
|
-
];
|
|
617
|
-
var GetBillingView$ = [9, n0, _GBV,
|
|
618
|
-
0, () => GetBillingViewRequest$, () => GetBillingViewResponse$
|
|
619
|
-
];
|
|
620
|
-
var GetResourcePolicy$ = [9, n0, _GRP,
|
|
621
|
-
0, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
|
|
622
|
-
];
|
|
623
|
-
var ListBillingViews$ = [9, n0, _LBV,
|
|
624
|
-
{ [_h]: ["POST", "/", 200] }, () => ListBillingViewsRequest$, () => ListBillingViewsResponse$
|
|
625
|
-
];
|
|
626
|
-
var ListSourceViewsForBillingView$ = [9, n0, _LSVFBV,
|
|
627
|
-
0, () => ListSourceViewsForBillingViewRequest$, () => ListSourceViewsForBillingViewResponse$
|
|
628
|
-
];
|
|
629
|
-
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
630
|
-
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
631
|
-
];
|
|
632
|
-
var TagResource$ = [9, n0, _TRa,
|
|
633
|
-
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
634
|
-
];
|
|
635
|
-
var UntagResource$ = [9, n0, _UR,
|
|
636
|
-
0, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
637
|
-
];
|
|
638
|
-
var UpdateBillingView$ = [9, n0, _UBV,
|
|
639
|
-
2, () => UpdateBillingViewRequest$, () => UpdateBillingViewResponse$
|
|
640
|
-
];
|
|
641
|
-
|
|
642
116
|
class AssociateSourceViewsCommand extends smithyClient.Command
|
|
643
117
|
.classBuilder()
|
|
644
118
|
.ep(commonParams)
|
|
@@ -647,7 +121,7 @@ class AssociateSourceViewsCommand extends smithyClient.Command
|
|
|
647
121
|
})
|
|
648
122
|
.s("AWSBilling", "AssociateSourceViews", {})
|
|
649
123
|
.n("BillingClient", "AssociateSourceViewsCommand")
|
|
650
|
-
.sc(AssociateSourceViews$)
|
|
124
|
+
.sc(schemas_0.AssociateSourceViews$)
|
|
651
125
|
.build() {
|
|
652
126
|
}
|
|
653
127
|
|
|
@@ -659,7 +133,7 @@ class CreateBillingViewCommand extends smithyClient.Command
|
|
|
659
133
|
})
|
|
660
134
|
.s("AWSBilling", "CreateBillingView", {})
|
|
661
135
|
.n("BillingClient", "CreateBillingViewCommand")
|
|
662
|
-
.sc(CreateBillingView$)
|
|
136
|
+
.sc(schemas_0.CreateBillingView$)
|
|
663
137
|
.build() {
|
|
664
138
|
}
|
|
665
139
|
|
|
@@ -671,7 +145,7 @@ class DeleteBillingViewCommand extends smithyClient.Command
|
|
|
671
145
|
})
|
|
672
146
|
.s("AWSBilling", "DeleteBillingView", {})
|
|
673
147
|
.n("BillingClient", "DeleteBillingViewCommand")
|
|
674
|
-
.sc(DeleteBillingView$)
|
|
148
|
+
.sc(schemas_0.DeleteBillingView$)
|
|
675
149
|
.build() {
|
|
676
150
|
}
|
|
677
151
|
|
|
@@ -683,7 +157,7 @@ class DisassociateSourceViewsCommand extends smithyClient.Command
|
|
|
683
157
|
})
|
|
684
158
|
.s("AWSBilling", "DisassociateSourceViews", {})
|
|
685
159
|
.n("BillingClient", "DisassociateSourceViewsCommand")
|
|
686
|
-
.sc(DisassociateSourceViews$)
|
|
160
|
+
.sc(schemas_0.DisassociateSourceViews$)
|
|
687
161
|
.build() {
|
|
688
162
|
}
|
|
689
163
|
|
|
@@ -695,7 +169,7 @@ class GetBillingViewCommand extends smithyClient.Command
|
|
|
695
169
|
})
|
|
696
170
|
.s("AWSBilling", "GetBillingView", {})
|
|
697
171
|
.n("BillingClient", "GetBillingViewCommand")
|
|
698
|
-
.sc(GetBillingView$)
|
|
172
|
+
.sc(schemas_0.GetBillingView$)
|
|
699
173
|
.build() {
|
|
700
174
|
}
|
|
701
175
|
|
|
@@ -707,7 +181,7 @@ class GetResourcePolicyCommand extends smithyClient.Command
|
|
|
707
181
|
})
|
|
708
182
|
.s("AWSBilling", "GetResourcePolicy", {})
|
|
709
183
|
.n("BillingClient", "GetResourcePolicyCommand")
|
|
710
|
-
.sc(GetResourcePolicy$)
|
|
184
|
+
.sc(schemas_0.GetResourcePolicy$)
|
|
711
185
|
.build() {
|
|
712
186
|
}
|
|
713
187
|
|
|
@@ -719,7 +193,7 @@ class ListBillingViewsCommand extends smithyClient.Command
|
|
|
719
193
|
})
|
|
720
194
|
.s("AWSBilling", "ListBillingViews", {})
|
|
721
195
|
.n("BillingClient", "ListBillingViewsCommand")
|
|
722
|
-
.sc(ListBillingViews$)
|
|
196
|
+
.sc(schemas_0.ListBillingViews$)
|
|
723
197
|
.build() {
|
|
724
198
|
}
|
|
725
199
|
|
|
@@ -731,7 +205,7 @@ class ListSourceViewsForBillingViewCommand extends smithyClient.Command
|
|
|
731
205
|
})
|
|
732
206
|
.s("AWSBilling", "ListSourceViewsForBillingView", {})
|
|
733
207
|
.n("BillingClient", "ListSourceViewsForBillingViewCommand")
|
|
734
|
-
.sc(ListSourceViewsForBillingView$)
|
|
208
|
+
.sc(schemas_0.ListSourceViewsForBillingView$)
|
|
735
209
|
.build() {
|
|
736
210
|
}
|
|
737
211
|
|
|
@@ -743,7 +217,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
743
217
|
})
|
|
744
218
|
.s("AWSBilling", "ListTagsForResource", {})
|
|
745
219
|
.n("BillingClient", "ListTagsForResourceCommand")
|
|
746
|
-
.sc(ListTagsForResource$)
|
|
220
|
+
.sc(schemas_0.ListTagsForResource$)
|
|
747
221
|
.build() {
|
|
748
222
|
}
|
|
749
223
|
|
|
@@ -755,7 +229,7 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
755
229
|
})
|
|
756
230
|
.s("AWSBilling", "TagResource", {})
|
|
757
231
|
.n("BillingClient", "TagResourceCommand")
|
|
758
|
-
.sc(TagResource$)
|
|
232
|
+
.sc(schemas_0.TagResource$)
|
|
759
233
|
.build() {
|
|
760
234
|
}
|
|
761
235
|
|
|
@@ -767,7 +241,7 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
767
241
|
})
|
|
768
242
|
.s("AWSBilling", "UntagResource", {})
|
|
769
243
|
.n("BillingClient", "UntagResourceCommand")
|
|
770
|
-
.sc(UntagResource$)
|
|
244
|
+
.sc(schemas_0.UntagResource$)
|
|
771
245
|
.build() {
|
|
772
246
|
}
|
|
773
247
|
|
|
@@ -779,7 +253,7 @@ class UpdateBillingViewCommand extends smithyClient.Command
|
|
|
779
253
|
})
|
|
780
254
|
.s("AWSBilling", "UpdateBillingView", {})
|
|
781
255
|
.n("BillingClient", "UpdateBillingViewCommand")
|
|
782
|
-
.sc(UpdateBillingView$)
|
|
256
|
+
.sc(schemas_0.UpdateBillingView$)
|
|
783
257
|
.build() {
|
|
784
258
|
}
|
|
785
259
|
|
|
@@ -853,91 +327,41 @@ Object.defineProperty(exports, "__Client", {
|
|
|
853
327
|
enumerable: true,
|
|
854
328
|
get: function () { return smithyClient.Client; }
|
|
855
329
|
});
|
|
856
|
-
exports
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
330
|
+
Object.defineProperty(exports, "BillingServiceException", {
|
|
331
|
+
enumerable: true,
|
|
332
|
+
get: function () { return BillingServiceException.BillingServiceException; }
|
|
333
|
+
});
|
|
860
334
|
exports.AssociateSourceViewsCommand = AssociateSourceViewsCommand;
|
|
861
|
-
exports.AssociateSourceViewsRequest$ = AssociateSourceViewsRequest$;
|
|
862
|
-
exports.AssociateSourceViewsResponse$ = AssociateSourceViewsResponse$;
|
|
863
335
|
exports.Billing = Billing;
|
|
864
336
|
exports.BillingClient = BillingClient;
|
|
865
|
-
exports.BillingServiceException = BillingServiceException;
|
|
866
|
-
exports.BillingServiceException$ = BillingServiceException$;
|
|
867
|
-
exports.BillingViewElement$ = BillingViewElement$;
|
|
868
|
-
exports.BillingViewHealthStatus$ = BillingViewHealthStatus$;
|
|
869
|
-
exports.BillingViewHealthStatusException = BillingViewHealthStatusException;
|
|
870
|
-
exports.BillingViewHealthStatusException$ = BillingViewHealthStatusException$;
|
|
871
|
-
exports.BillingViewListElement$ = BillingViewListElement$;
|
|
872
337
|
exports.BillingViewStatus = BillingViewStatus;
|
|
873
338
|
exports.BillingViewStatusReason = BillingViewStatusReason;
|
|
874
339
|
exports.BillingViewType = BillingViewType;
|
|
875
|
-
exports.ConflictException = ConflictException;
|
|
876
|
-
exports.ConflictException$ = ConflictException$;
|
|
877
|
-
exports.CostCategoryValues$ = CostCategoryValues$;
|
|
878
|
-
exports.CreateBillingView$ = CreateBillingView$;
|
|
879
340
|
exports.CreateBillingViewCommand = CreateBillingViewCommand;
|
|
880
|
-
exports.CreateBillingViewRequest$ = CreateBillingViewRequest$;
|
|
881
|
-
exports.CreateBillingViewResponse$ = CreateBillingViewResponse$;
|
|
882
|
-
exports.DeleteBillingView$ = DeleteBillingView$;
|
|
883
341
|
exports.DeleteBillingViewCommand = DeleteBillingViewCommand;
|
|
884
|
-
exports.DeleteBillingViewRequest$ = DeleteBillingViewRequest$;
|
|
885
|
-
exports.DeleteBillingViewResponse$ = DeleteBillingViewResponse$;
|
|
886
342
|
exports.Dimension = Dimension;
|
|
887
|
-
exports.DimensionValues$ = DimensionValues$;
|
|
888
|
-
exports.DisassociateSourceViews$ = DisassociateSourceViews$;
|
|
889
343
|
exports.DisassociateSourceViewsCommand = DisassociateSourceViewsCommand;
|
|
890
|
-
exports.DisassociateSourceViewsRequest$ = DisassociateSourceViewsRequest$;
|
|
891
|
-
exports.DisassociateSourceViewsResponse$ = DisassociateSourceViewsResponse$;
|
|
892
|
-
exports.Expression$ = Expression$;
|
|
893
|
-
exports.GetBillingView$ = GetBillingView$;
|
|
894
344
|
exports.GetBillingViewCommand = GetBillingViewCommand;
|
|
895
|
-
exports.GetBillingViewRequest$ = GetBillingViewRequest$;
|
|
896
|
-
exports.GetBillingViewResponse$ = GetBillingViewResponse$;
|
|
897
|
-
exports.GetResourcePolicy$ = GetResourcePolicy$;
|
|
898
345
|
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
899
|
-
exports.GetResourcePolicyRequest$ = GetResourcePolicyRequest$;
|
|
900
|
-
exports.GetResourcePolicyResponse$ = GetResourcePolicyResponse$;
|
|
901
|
-
exports.InternalServerException = InternalServerException;
|
|
902
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
903
|
-
exports.ListBillingViews$ = ListBillingViews$;
|
|
904
346
|
exports.ListBillingViewsCommand = ListBillingViewsCommand;
|
|
905
|
-
exports.ListBillingViewsRequest$ = ListBillingViewsRequest$;
|
|
906
|
-
exports.ListBillingViewsResponse$ = ListBillingViewsResponse$;
|
|
907
|
-
exports.ListSourceViewsForBillingView$ = ListSourceViewsForBillingView$;
|
|
908
347
|
exports.ListSourceViewsForBillingViewCommand = ListSourceViewsForBillingViewCommand;
|
|
909
|
-
exports.ListSourceViewsForBillingViewRequest$ = ListSourceViewsForBillingViewRequest$;
|
|
910
|
-
exports.ListSourceViewsForBillingViewResponse$ = ListSourceViewsForBillingViewResponse$;
|
|
911
|
-
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
912
348
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
913
|
-
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
914
|
-
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
915
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
916
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
917
|
-
exports.ResourceTag$ = ResourceTag$;
|
|
918
349
|
exports.SearchOption = SearchOption;
|
|
919
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
920
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
921
|
-
exports.StringSearch$ = StringSearch$;
|
|
922
|
-
exports.TagResource$ = TagResource$;
|
|
923
350
|
exports.TagResourceCommand = TagResourceCommand;
|
|
924
|
-
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
925
|
-
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
926
|
-
exports.TagValues$ = TagValues$;
|
|
927
|
-
exports.ThrottlingException = ThrottlingException;
|
|
928
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
929
|
-
exports.TimeRange$ = TimeRange$;
|
|
930
|
-
exports.UntagResource$ = UntagResource$;
|
|
931
351
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
932
|
-
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
933
|
-
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
934
|
-
exports.UpdateBillingView$ = UpdateBillingView$;
|
|
935
352
|
exports.UpdateBillingViewCommand = UpdateBillingViewCommand;
|
|
936
|
-
exports.UpdateBillingViewRequest$ = UpdateBillingViewRequest$;
|
|
937
|
-
exports.UpdateBillingViewResponse$ = UpdateBillingViewResponse$;
|
|
938
|
-
exports.ValidationException = ValidationException;
|
|
939
|
-
exports.ValidationException$ = ValidationException$;
|
|
940
|
-
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
941
353
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
942
354
|
exports.paginateListBillingViews = paginateListBillingViews;
|
|
943
355
|
exports.paginateListSourceViewsForBillingView = paginateListSourceViewsForBillingView;
|
|
356
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
357
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
358
|
+
enumerable: true,
|
|
359
|
+
get: function () { return schemas_0[k]; }
|
|
360
|
+
});
|
|
361
|
+
});
|
|
362
|
+
Object.keys(errors).forEach(function (k) {
|
|
363
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
364
|
+
enumerable: true,
|
|
365
|
+
get: function () { return errors[k]; }
|
|
366
|
+
});
|
|
367
|
+
});
|