@aws-sdk/client-billing 3.927.0 → 3.928.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 +494 -613
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/BillingClient.js +2 -0
- package/dist-es/commands/AssociateSourceViewsCommand.js +3 -9
- package/dist-es/commands/CreateBillingViewCommand.js +3 -10
- package/dist-es/commands/DeleteBillingViewCommand.js +3 -9
- package/dist-es/commands/DisassociateSourceViewsCommand.js +3 -9
- package/dist-es/commands/GetBillingViewCommand.js +3 -10
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
- package/dist-es/commands/ListBillingViewsCommand.js +3 -10
- package/dist-es/commands/ListSourceViewsForBillingViewCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateBillingViewCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -31
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +451 -0
- package/dist-types/BillingClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -24
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +68 -0
- package/dist-types/ts3.4/BillingClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -18
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +74 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_0.js +0 -473
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -110
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -149
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class BillingClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,14 +110,14 @@ class BillingClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class BillingServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let BillingServiceException$1 = class BillingServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, BillingServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
|
-
class AccessDeniedException extends BillingServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends BillingServiceException$1 {
|
|
122
121
|
name = "AccessDeniedException";
|
|
123
122
|
$fault = "client";
|
|
124
123
|
constructor(opts) {
|
|
@@ -129,8 +128,8 @@ class AccessDeniedException extends BillingServiceException {
|
|
|
129
128
|
});
|
|
130
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
130
|
}
|
|
132
|
-
}
|
|
133
|
-
class BillingViewHealthStatusException extends BillingServiceException {
|
|
131
|
+
};
|
|
132
|
+
let BillingViewHealthStatusException$1 = class BillingViewHealthStatusException extends BillingServiceException$1 {
|
|
134
133
|
name = "BillingViewHealthStatusException";
|
|
135
134
|
$fault = "client";
|
|
136
135
|
constructor(opts) {
|
|
@@ -141,8 +140,8 @@ class BillingViewHealthStatusException extends BillingServiceException {
|
|
|
141
140
|
});
|
|
142
141
|
Object.setPrototypeOf(this, BillingViewHealthStatusException.prototype);
|
|
143
142
|
}
|
|
144
|
-
}
|
|
145
|
-
class ConflictException extends BillingServiceException {
|
|
143
|
+
};
|
|
144
|
+
let ConflictException$1 = class ConflictException extends BillingServiceException$1 {
|
|
146
145
|
name = "ConflictException";
|
|
147
146
|
$fault = "client";
|
|
148
147
|
resourceId;
|
|
@@ -157,8 +156,8 @@ class ConflictException extends BillingServiceException {
|
|
|
157
156
|
this.resourceId = opts.resourceId;
|
|
158
157
|
this.resourceType = opts.resourceType;
|
|
159
158
|
}
|
|
160
|
-
}
|
|
161
|
-
class InternalServerException extends BillingServiceException {
|
|
159
|
+
};
|
|
160
|
+
let InternalServerException$1 = class InternalServerException extends BillingServiceException$1 {
|
|
162
161
|
name = "InternalServerException";
|
|
163
162
|
$fault = "server";
|
|
164
163
|
constructor(opts) {
|
|
@@ -169,8 +168,8 @@ class InternalServerException extends BillingServiceException {
|
|
|
169
168
|
});
|
|
170
169
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
171
170
|
}
|
|
172
|
-
}
|
|
173
|
-
class ResourceNotFoundException extends BillingServiceException {
|
|
171
|
+
};
|
|
172
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends BillingServiceException$1 {
|
|
174
173
|
name = "ResourceNotFoundException";
|
|
175
174
|
$fault = "client";
|
|
176
175
|
resourceId;
|
|
@@ -185,8 +184,8 @@ class ResourceNotFoundException extends BillingServiceException {
|
|
|
185
184
|
this.resourceId = opts.resourceId;
|
|
186
185
|
this.resourceType = opts.resourceType;
|
|
187
186
|
}
|
|
188
|
-
}
|
|
189
|
-
class ServiceQuotaExceededException extends BillingServiceException {
|
|
187
|
+
};
|
|
188
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends BillingServiceException$1 {
|
|
190
189
|
name = "ServiceQuotaExceededException";
|
|
191
190
|
$fault = "client";
|
|
192
191
|
resourceId;
|
|
@@ -205,8 +204,8 @@ class ServiceQuotaExceededException extends BillingServiceException {
|
|
|
205
204
|
this.serviceCode = opts.serviceCode;
|
|
206
205
|
this.quotaCode = opts.quotaCode;
|
|
207
206
|
}
|
|
208
|
-
}
|
|
209
|
-
class ThrottlingException extends BillingServiceException {
|
|
207
|
+
};
|
|
208
|
+
let ThrottlingException$1 = class ThrottlingException extends BillingServiceException$1 {
|
|
210
209
|
name = "ThrottlingException";
|
|
211
210
|
$fault = "client";
|
|
212
211
|
constructor(opts) {
|
|
@@ -217,14 +216,14 @@ class ThrottlingException extends BillingServiceException {
|
|
|
217
216
|
});
|
|
218
217
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
219
218
|
}
|
|
220
|
-
}
|
|
219
|
+
};
|
|
221
220
|
const ValidationExceptionReason = {
|
|
222
221
|
CANNOT_PARSE: "cannotParse",
|
|
223
222
|
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
224
223
|
OTHER: "other",
|
|
225
224
|
UNKNOWN_OPERATION: "unknownOperation",
|
|
226
225
|
};
|
|
227
|
-
class ValidationException extends BillingServiceException {
|
|
226
|
+
let ValidationException$1 = class ValidationException extends BillingServiceException$1 {
|
|
228
227
|
name = "ValidationException";
|
|
229
228
|
$fault = "client";
|
|
230
229
|
reason;
|
|
@@ -239,7 +238,7 @@ class ValidationException extends BillingServiceException {
|
|
|
239
238
|
this.reason = opts.reason;
|
|
240
239
|
this.fieldList = opts.fieldList;
|
|
241
240
|
}
|
|
242
|
-
}
|
|
241
|
+
};
|
|
243
242
|
const Dimension = {
|
|
244
243
|
LINKED_ACCOUNT: "LINKED_ACCOUNT",
|
|
245
244
|
};
|
|
@@ -264,515 +263,458 @@ const BillingViewStatusReason = {
|
|
|
264
263
|
SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING",
|
|
265
264
|
VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT",
|
|
266
265
|
};
|
|
267
|
-
const CreateBillingViewRequestFilterSensitiveLog = (obj) => ({
|
|
268
|
-
...obj,
|
|
269
|
-
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
270
|
-
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
271
|
-
});
|
|
272
|
-
const BillingViewElementFilterSensitiveLog = (obj) => ({
|
|
273
|
-
...obj,
|
|
274
|
-
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
275
|
-
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
276
|
-
});
|
|
277
|
-
const GetBillingViewResponseFilterSensitiveLog = (obj) => ({
|
|
278
|
-
...obj,
|
|
279
|
-
...(obj.billingView && { billingView: BillingViewElementFilterSensitiveLog(obj.billingView) }),
|
|
280
|
-
});
|
|
281
|
-
const BillingViewListElementFilterSensitiveLog = (obj) => ({
|
|
282
|
-
...obj,
|
|
283
|
-
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
284
|
-
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
285
|
-
});
|
|
286
|
-
const ListBillingViewsResponseFilterSensitiveLog = (obj) => ({
|
|
287
|
-
...obj,
|
|
288
|
-
...(obj.billingViews && {
|
|
289
|
-
billingViews: obj.billingViews.map((item) => BillingViewListElementFilterSensitiveLog(item)),
|
|
290
|
-
}),
|
|
291
|
-
});
|
|
292
|
-
const UpdateBillingViewRequestFilterSensitiveLog = (obj) => ({
|
|
293
|
-
...obj,
|
|
294
|
-
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
295
|
-
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
296
|
-
});
|
|
297
266
|
|
|
298
|
-
const
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
const
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
const
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
const
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
const
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
const
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
const
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
const
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
const
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
const
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
const
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
const
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
const
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
const
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
const
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
const
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
const throwDefaultError = smithyClient.withBaseException(BillingServiceException);
|
|
740
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
741
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
742
|
-
const contents = {
|
|
743
|
-
protocol,
|
|
744
|
-
hostname,
|
|
745
|
-
port,
|
|
746
|
-
method: "POST",
|
|
747
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
748
|
-
headers,
|
|
749
|
-
};
|
|
750
|
-
if (body !== undefined) {
|
|
751
|
-
contents.body = body;
|
|
752
|
-
}
|
|
753
|
-
return new protocolHttp.HttpRequest(contents);
|
|
754
|
-
};
|
|
755
|
-
function sharedHeaders(operation) {
|
|
756
|
-
return {
|
|
757
|
-
"content-type": "application/x-amz-json-1.0",
|
|
758
|
-
"x-amz-target": `AWSBilling.${operation}`,
|
|
759
|
-
};
|
|
760
|
-
}
|
|
267
|
+
const _ADE = "AccessDeniedException";
|
|
268
|
+
const _ASV = "AssociateSourceViews";
|
|
269
|
+
const _ASVR = "AssociateSourceViewsRequest";
|
|
270
|
+
const _ASVRs = "AssociateSourceViewsResponse";
|
|
271
|
+
const _ATR = "ActiveTimeRange";
|
|
272
|
+
const _BVD = "BillingViewDescription";
|
|
273
|
+
const _BVE = "BillingViewElement";
|
|
274
|
+
const _BVHS = "BillingViewHealthStatus";
|
|
275
|
+
const _BVHSE = "BillingViewHealthStatusException";
|
|
276
|
+
const _BVL = "BillingViewList";
|
|
277
|
+
const _BVLE = "BillingViewListElement";
|
|
278
|
+
const _BVN = "BillingViewName";
|
|
279
|
+
const _CBV = "CreateBillingView";
|
|
280
|
+
const _CBVR = "CreateBillingViewRequest";
|
|
281
|
+
const _CBVRr = "CreateBillingViewResponse";
|
|
282
|
+
const _CE = "ConflictException";
|
|
283
|
+
const _DBV = "DeleteBillingView";
|
|
284
|
+
const _DBVR = "DeleteBillingViewRequest";
|
|
285
|
+
const _DBVRe = "DeleteBillingViewResponse";
|
|
286
|
+
const _DSV = "DisassociateSourceViews";
|
|
287
|
+
const _DSVR = "DisassociateSourceViewsRequest";
|
|
288
|
+
const _DSVRi = "DisassociateSourceViewsResponse";
|
|
289
|
+
const _DV = "DimensionValues";
|
|
290
|
+
const _E = "Expression";
|
|
291
|
+
const _GBV = "GetBillingView";
|
|
292
|
+
const _GBVR = "GetBillingViewRequest";
|
|
293
|
+
const _GBVRe = "GetBillingViewResponse";
|
|
294
|
+
const _GRP = "GetResourcePolicy";
|
|
295
|
+
const _GRPR = "GetResourcePolicyRequest";
|
|
296
|
+
const _GRPRe = "GetResourcePolicyResponse";
|
|
297
|
+
const _ISE = "InternalServerException";
|
|
298
|
+
const _LBV = "ListBillingViews";
|
|
299
|
+
const _LBVR = "ListBillingViewsRequest";
|
|
300
|
+
const _LBVRi = "ListBillingViewsResponse";
|
|
301
|
+
const _LSVFBV = "ListSourceViewsForBillingView";
|
|
302
|
+
const _LSVFBVR = "ListSourceViewsForBillingViewRequest";
|
|
303
|
+
const _LSVFBVRi = "ListSourceViewsForBillingViewResponse";
|
|
304
|
+
const _LTFR = "ListTagsForResource";
|
|
305
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
306
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
307
|
+
const _RNFE = "ResourceNotFoundException";
|
|
308
|
+
const _RT = "ResourceTag";
|
|
309
|
+
const _RTL = "ResourceTagList";
|
|
310
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
311
|
+
const _TE = "ThrottlingException";
|
|
312
|
+
const _TR = "TimeRange";
|
|
313
|
+
const _TRR = "TagResourceRequest";
|
|
314
|
+
const _TRRa = "TagResourceResponse";
|
|
315
|
+
const _TRa = "TagResource";
|
|
316
|
+
const _TV = "TagValues";
|
|
317
|
+
const _UBV = "UpdateBillingView";
|
|
318
|
+
const _UBVR = "UpdateBillingViewRequest";
|
|
319
|
+
const _UBVRp = "UpdateBillingViewResponse";
|
|
320
|
+
const _UR = "UntagResource";
|
|
321
|
+
const _URR = "UntagResourceRequest";
|
|
322
|
+
const _URRn = "UntagResourceResponse";
|
|
323
|
+
const _VE = "ValidationException";
|
|
324
|
+
const _VEF = "ValidationExceptionField";
|
|
325
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
326
|
+
const _XACT = "X-Amzn-Client-Token";
|
|
327
|
+
const _a = "arn";
|
|
328
|
+
const _aAI = "activeAfterInclusive";
|
|
329
|
+
const _aBI = "activeBeforeInclusive";
|
|
330
|
+
const _aQE = "awsQueryError";
|
|
331
|
+
const _aTR = "activeTimeRange";
|
|
332
|
+
const _ar = "arns";
|
|
333
|
+
const _bDI = "beginDateInclusive";
|
|
334
|
+
const _bV = "billingView";
|
|
335
|
+
const _bVT = "billingViewType";
|
|
336
|
+
const _bVTi = "billingViewTypes";
|
|
337
|
+
const _bVi = "billingViews";
|
|
338
|
+
const _c = "client";
|
|
339
|
+
const _cA = "createdAt";
|
|
340
|
+
const _cT = "clientToken";
|
|
341
|
+
const _d = "description";
|
|
342
|
+
const _dFE = "dataFilterExpression";
|
|
343
|
+
const _dVC = "derivedViewCount";
|
|
344
|
+
const _di = "dimensions";
|
|
345
|
+
const _e = "error";
|
|
346
|
+
const _eDI = "endDateInclusive";
|
|
347
|
+
const _f = "force";
|
|
348
|
+
const _fL = "fieldList";
|
|
349
|
+
const _h = "http";
|
|
350
|
+
const _hE = "httpError";
|
|
351
|
+
const _hH = "httpHeader";
|
|
352
|
+
const _hS = "healthStatus";
|
|
353
|
+
const _iT = "idempotencyToken";
|
|
354
|
+
const _k = "key";
|
|
355
|
+
const _m = "message";
|
|
356
|
+
const _mR = "maxResults";
|
|
357
|
+
const _n = "name";
|
|
358
|
+
const _nT = "nextToken";
|
|
359
|
+
const _oAI = "ownerAccountId";
|
|
360
|
+
const _p = "policy";
|
|
361
|
+
const _qC = "quotaCode";
|
|
362
|
+
const _r = "reason";
|
|
363
|
+
const _rA = "resourceArn";
|
|
364
|
+
const _rI = "resourceId";
|
|
365
|
+
const _rT = "resourceType";
|
|
366
|
+
const _rTK = "resourceTagKeys";
|
|
367
|
+
const _rTe = "resourceTags";
|
|
368
|
+
const _s = "server";
|
|
369
|
+
const _sAI = "sourceAccountId";
|
|
370
|
+
const _sC = "statusCode";
|
|
371
|
+
const _sCe = "serviceCode";
|
|
372
|
+
const _sR = "statusReasons";
|
|
373
|
+
const _sV = "sourceViews";
|
|
374
|
+
const _sVC = "sourceViewCount";
|
|
375
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.billing";
|
|
376
|
+
const _t = "tags";
|
|
377
|
+
const _tR = "timeRange";
|
|
378
|
+
const _uA = "updatedAt";
|
|
379
|
+
const _v = "values";
|
|
380
|
+
const _vDLUA = "viewDefinitionLastUpdatedAt";
|
|
381
|
+
const _va = "value";
|
|
382
|
+
const n0 = "com.amazonaws.billing";
|
|
383
|
+
var BillingViewDescription = [0, n0, _BVD, 8, 0];
|
|
384
|
+
var BillingViewName = [0, n0, _BVN, 8, 0];
|
|
385
|
+
var AccessDeniedException = [
|
|
386
|
+
-3,
|
|
387
|
+
n0,
|
|
388
|
+
_ADE,
|
|
389
|
+
{
|
|
390
|
+
[_e]: _c,
|
|
391
|
+
[_hE]: 403,
|
|
392
|
+
[_aQE]: [`BillingAccessDenied`, 403],
|
|
393
|
+
},
|
|
394
|
+
[_m],
|
|
395
|
+
[0],
|
|
396
|
+
];
|
|
397
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
398
|
+
var ActiveTimeRange = [3, n0, _ATR, 0, [_aAI, _aBI], [4, 4]];
|
|
399
|
+
var AssociateSourceViewsRequest = [3, n0, _ASVR, 0, [_a, _sV], [0, 64 | 0]];
|
|
400
|
+
var AssociateSourceViewsResponse = [3, n0, _ASVRs, 0, [_a], [0]];
|
|
401
|
+
var BillingViewElement = [
|
|
402
|
+
3,
|
|
403
|
+
n0,
|
|
404
|
+
_BVE,
|
|
405
|
+
0,
|
|
406
|
+
[_a, _n, _d, _bVT, _oAI, _sAI, _dFE, _cA, _uA, _dVC, _sVC, _vDLUA, _hS],
|
|
407
|
+
[
|
|
408
|
+
0,
|
|
409
|
+
[() => BillingViewName, 0],
|
|
410
|
+
[() => BillingViewDescription, 0],
|
|
411
|
+
0,
|
|
412
|
+
0,
|
|
413
|
+
0,
|
|
414
|
+
() => Expression,
|
|
415
|
+
4,
|
|
416
|
+
4,
|
|
417
|
+
1,
|
|
418
|
+
1,
|
|
419
|
+
4,
|
|
420
|
+
() => BillingViewHealthStatus,
|
|
421
|
+
],
|
|
422
|
+
];
|
|
423
|
+
var BillingViewHealthStatus = [3, n0, _BVHS, 0, [_sC, _sR], [0, 64 | 0]];
|
|
424
|
+
var BillingViewHealthStatusException = [
|
|
425
|
+
-3,
|
|
426
|
+
n0,
|
|
427
|
+
_BVHSE,
|
|
428
|
+
{
|
|
429
|
+
[_e]: _c,
|
|
430
|
+
[_hE]: 400,
|
|
431
|
+
},
|
|
432
|
+
[_m],
|
|
433
|
+
[0],
|
|
434
|
+
];
|
|
435
|
+
schema.TypeRegistry.for(n0).registerError(BillingViewHealthStatusException, BillingViewHealthStatusException$1);
|
|
436
|
+
var BillingViewListElement = [
|
|
437
|
+
3,
|
|
438
|
+
n0,
|
|
439
|
+
_BVLE,
|
|
440
|
+
0,
|
|
441
|
+
[_a, _n, _d, _oAI, _sAI, _bVT, _hS],
|
|
442
|
+
[0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => BillingViewHealthStatus],
|
|
443
|
+
];
|
|
444
|
+
var ConflictException = [
|
|
445
|
+
-3,
|
|
446
|
+
n0,
|
|
447
|
+
_CE,
|
|
448
|
+
{
|
|
449
|
+
[_e]: _c,
|
|
450
|
+
[_hE]: 409,
|
|
451
|
+
[_aQE]: [`BillingConflict`, 409],
|
|
452
|
+
},
|
|
453
|
+
[_m, _rI, _rT],
|
|
454
|
+
[0, 0, 0],
|
|
455
|
+
];
|
|
456
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
457
|
+
var CreateBillingViewRequest = [
|
|
458
|
+
3,
|
|
459
|
+
n0,
|
|
460
|
+
_CBVR,
|
|
461
|
+
0,
|
|
462
|
+
[_n, _d, _sV, _dFE, _cT, _rTe],
|
|
463
|
+
[
|
|
464
|
+
[() => BillingViewName, 0],
|
|
465
|
+
[() => BillingViewDescription, 0],
|
|
466
|
+
64 | 0,
|
|
467
|
+
() => Expression,
|
|
468
|
+
[
|
|
469
|
+
0,
|
|
470
|
+
{
|
|
471
|
+
[_hH]: _XACT,
|
|
472
|
+
[_iT]: 1,
|
|
473
|
+
},
|
|
474
|
+
],
|
|
475
|
+
() => ResourceTagList,
|
|
476
|
+
],
|
|
477
|
+
];
|
|
478
|
+
var CreateBillingViewResponse = [3, n0, _CBVRr, 0, [_a, _cA], [0, 4]];
|
|
479
|
+
var DeleteBillingViewRequest = [3, n0, _DBVR, 0, [_a, _f], [0, 2]];
|
|
480
|
+
var DeleteBillingViewResponse = [3, n0, _DBVRe, 0, [_a], [0]];
|
|
481
|
+
var DimensionValues = [3, n0, _DV, 0, [_k, _v], [0, 64 | 0]];
|
|
482
|
+
var DisassociateSourceViewsRequest = [3, n0, _DSVR, 0, [_a, _sV], [0, 64 | 0]];
|
|
483
|
+
var DisassociateSourceViewsResponse = [3, n0, _DSVRi, 0, [_a], [0]];
|
|
484
|
+
var Expression = [
|
|
485
|
+
3,
|
|
486
|
+
n0,
|
|
487
|
+
_E,
|
|
488
|
+
0,
|
|
489
|
+
[_di, _t, _tR],
|
|
490
|
+
[() => DimensionValues, () => TagValues, () => TimeRange],
|
|
491
|
+
];
|
|
492
|
+
var GetBillingViewRequest = [3, n0, _GBVR, 0, [_a], [0]];
|
|
493
|
+
var GetBillingViewResponse = [3, n0, _GBVRe, 0, [_bV], [[() => BillingViewElement, 0]]];
|
|
494
|
+
var GetResourcePolicyRequest = [3, n0, _GRPR, 0, [_rA], [0]];
|
|
495
|
+
var GetResourcePolicyResponse = [3, n0, _GRPRe, 0, [_rA, _p], [0, 0]];
|
|
496
|
+
var InternalServerException = [
|
|
497
|
+
-3,
|
|
498
|
+
n0,
|
|
499
|
+
_ISE,
|
|
500
|
+
{
|
|
501
|
+
[_e]: _s,
|
|
502
|
+
[_hE]: 500,
|
|
503
|
+
[_aQE]: [`BillingInternalServer`, 500],
|
|
504
|
+
},
|
|
505
|
+
[_m],
|
|
506
|
+
[0],
|
|
507
|
+
];
|
|
508
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
509
|
+
var ListBillingViewsRequest = [
|
|
510
|
+
3,
|
|
511
|
+
n0,
|
|
512
|
+
_LBVR,
|
|
513
|
+
0,
|
|
514
|
+
[_aTR, _ar, _bVTi, _oAI, _sAI, _mR, _nT],
|
|
515
|
+
[() => ActiveTimeRange, 64 | 0, 64 | 0, 0, 0, 1, 0],
|
|
516
|
+
];
|
|
517
|
+
var ListBillingViewsResponse = [
|
|
518
|
+
3,
|
|
519
|
+
n0,
|
|
520
|
+
_LBVRi,
|
|
521
|
+
0,
|
|
522
|
+
[_bVi, _nT],
|
|
523
|
+
[[() => BillingViewList, 0], 0],
|
|
524
|
+
];
|
|
525
|
+
var ListSourceViewsForBillingViewRequest = [
|
|
526
|
+
3,
|
|
527
|
+
n0,
|
|
528
|
+
_LSVFBVR,
|
|
529
|
+
0,
|
|
530
|
+
[_a, _mR, _nT],
|
|
531
|
+
[0, 1, 0],
|
|
532
|
+
];
|
|
533
|
+
var ListSourceViewsForBillingViewResponse = [
|
|
534
|
+
3,
|
|
535
|
+
n0,
|
|
536
|
+
_LSVFBVRi,
|
|
537
|
+
0,
|
|
538
|
+
[_sV, _nT],
|
|
539
|
+
[64 | 0, 0],
|
|
540
|
+
];
|
|
541
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [0]];
|
|
542
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_rTe], [() => ResourceTagList]];
|
|
543
|
+
var ResourceNotFoundException = [
|
|
544
|
+
-3,
|
|
545
|
+
n0,
|
|
546
|
+
_RNFE,
|
|
547
|
+
{
|
|
548
|
+
[_e]: _c,
|
|
549
|
+
[_hE]: 404,
|
|
550
|
+
[_aQE]: [`BillingResourceNotFound`, 404],
|
|
551
|
+
},
|
|
552
|
+
[_m, _rI, _rT],
|
|
553
|
+
[0, 0, 0],
|
|
554
|
+
];
|
|
555
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
556
|
+
var ResourceTag = [3, n0, _RT, 0, [_k, _va], [0, 0]];
|
|
557
|
+
var ServiceQuotaExceededException = [
|
|
558
|
+
-3,
|
|
559
|
+
n0,
|
|
560
|
+
_SQEE,
|
|
561
|
+
{
|
|
562
|
+
[_e]: _c,
|
|
563
|
+
[_hE]: 402,
|
|
564
|
+
[_aQE]: [`BillingServiceQuotaExceeded`, 402],
|
|
565
|
+
},
|
|
566
|
+
[_m, _rI, _rT, _sCe, _qC],
|
|
567
|
+
[0, 0, 0, 0, 0],
|
|
568
|
+
];
|
|
569
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
570
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _rTe], [0, () => ResourceTagList]];
|
|
571
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
572
|
+
var TagValues = [3, n0, _TV, 0, [_k, _v], [0, 64 | 0]];
|
|
573
|
+
var ThrottlingException = [
|
|
574
|
+
-3,
|
|
575
|
+
n0,
|
|
576
|
+
_TE,
|
|
577
|
+
{
|
|
578
|
+
[_e]: _c,
|
|
579
|
+
[_hE]: 429,
|
|
580
|
+
[_aQE]: [`BillingThrottling`, 429],
|
|
581
|
+
},
|
|
582
|
+
[_m],
|
|
583
|
+
[0],
|
|
584
|
+
];
|
|
585
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
586
|
+
var TimeRange = [3, n0, _TR, 0, [_bDI, _eDI], [4, 4]];
|
|
587
|
+
var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _rTK], [0, 64 | 0]];
|
|
588
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
589
|
+
var UpdateBillingViewRequest = [
|
|
590
|
+
3,
|
|
591
|
+
n0,
|
|
592
|
+
_UBVR,
|
|
593
|
+
0,
|
|
594
|
+
[_a, _n, _d, _dFE],
|
|
595
|
+
[0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], () => Expression],
|
|
596
|
+
];
|
|
597
|
+
var UpdateBillingViewResponse = [3, n0, _UBVRp, 0, [_a, _uA], [0, 4]];
|
|
598
|
+
var ValidationException = [
|
|
599
|
+
-3,
|
|
600
|
+
n0,
|
|
601
|
+
_VE,
|
|
602
|
+
{
|
|
603
|
+
[_e]: _c,
|
|
604
|
+
[_hE]: 400,
|
|
605
|
+
[_aQE]: [`BillingValidation`, 400],
|
|
606
|
+
},
|
|
607
|
+
[_m, _r, _fL],
|
|
608
|
+
[0, 0, () => ValidationExceptionFieldList],
|
|
609
|
+
];
|
|
610
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
611
|
+
var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
612
|
+
var BillingServiceException = [-3, _sm, "BillingServiceException", 0, [], []];
|
|
613
|
+
schema.TypeRegistry.for(_sm).registerError(BillingServiceException, BillingServiceException$1);
|
|
614
|
+
var BillingViewList = [1, n0, _BVL, 0, [() => BillingViewListElement, 0]];
|
|
615
|
+
var ResourceTagList = [1, n0, _RTL, 0, () => ResourceTag];
|
|
616
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
617
|
+
var AssociateSourceViews = [
|
|
618
|
+
9,
|
|
619
|
+
n0,
|
|
620
|
+
_ASV,
|
|
621
|
+
2,
|
|
622
|
+
() => AssociateSourceViewsRequest,
|
|
623
|
+
() => AssociateSourceViewsResponse,
|
|
624
|
+
];
|
|
625
|
+
var CreateBillingView = [
|
|
626
|
+
9,
|
|
627
|
+
n0,
|
|
628
|
+
_CBV,
|
|
629
|
+
2,
|
|
630
|
+
() => CreateBillingViewRequest,
|
|
631
|
+
() => CreateBillingViewResponse,
|
|
632
|
+
];
|
|
633
|
+
var DeleteBillingView = [
|
|
634
|
+
9,
|
|
635
|
+
n0,
|
|
636
|
+
_DBV,
|
|
637
|
+
2,
|
|
638
|
+
() => DeleteBillingViewRequest,
|
|
639
|
+
() => DeleteBillingViewResponse,
|
|
640
|
+
];
|
|
641
|
+
var DisassociateSourceViews = [
|
|
642
|
+
9,
|
|
643
|
+
n0,
|
|
644
|
+
_DSV,
|
|
645
|
+
2,
|
|
646
|
+
() => DisassociateSourceViewsRequest,
|
|
647
|
+
() => DisassociateSourceViewsResponse,
|
|
648
|
+
];
|
|
649
|
+
var GetBillingView = [
|
|
650
|
+
9,
|
|
651
|
+
n0,
|
|
652
|
+
_GBV,
|
|
653
|
+
0,
|
|
654
|
+
() => GetBillingViewRequest,
|
|
655
|
+
() => GetBillingViewResponse,
|
|
656
|
+
];
|
|
657
|
+
var GetResourcePolicy = [
|
|
658
|
+
9,
|
|
659
|
+
n0,
|
|
660
|
+
_GRP,
|
|
661
|
+
0,
|
|
662
|
+
() => GetResourcePolicyRequest,
|
|
663
|
+
() => GetResourcePolicyResponse,
|
|
664
|
+
];
|
|
665
|
+
var ListBillingViews = [
|
|
666
|
+
9,
|
|
667
|
+
n0,
|
|
668
|
+
_LBV,
|
|
669
|
+
{
|
|
670
|
+
[_h]: ["POST", "/", 200],
|
|
671
|
+
},
|
|
672
|
+
() => ListBillingViewsRequest,
|
|
673
|
+
() => ListBillingViewsResponse,
|
|
674
|
+
];
|
|
675
|
+
var ListSourceViewsForBillingView = [
|
|
676
|
+
9,
|
|
677
|
+
n0,
|
|
678
|
+
_LSVFBV,
|
|
679
|
+
0,
|
|
680
|
+
() => ListSourceViewsForBillingViewRequest,
|
|
681
|
+
() => ListSourceViewsForBillingViewResponse,
|
|
682
|
+
];
|
|
683
|
+
var ListTagsForResource = [
|
|
684
|
+
9,
|
|
685
|
+
n0,
|
|
686
|
+
_LTFR,
|
|
687
|
+
0,
|
|
688
|
+
() => ListTagsForResourceRequest,
|
|
689
|
+
() => ListTagsForResourceResponse,
|
|
690
|
+
];
|
|
691
|
+
var TagResource = [9, n0, _TRa, 0, () => TagResourceRequest, () => TagResourceResponse];
|
|
692
|
+
var UntagResource = [
|
|
693
|
+
9,
|
|
694
|
+
n0,
|
|
695
|
+
_UR,
|
|
696
|
+
0,
|
|
697
|
+
() => UntagResourceRequest,
|
|
698
|
+
() => UntagResourceResponse,
|
|
699
|
+
];
|
|
700
|
+
var UpdateBillingView = [
|
|
701
|
+
9,
|
|
702
|
+
n0,
|
|
703
|
+
_UBV,
|
|
704
|
+
2,
|
|
705
|
+
() => UpdateBillingViewRequest,
|
|
706
|
+
() => UpdateBillingViewResponse,
|
|
707
|
+
];
|
|
761
708
|
|
|
762
709
|
class AssociateSourceViewsCommand extends smithyClient.Command
|
|
763
710
|
.classBuilder()
|
|
764
711
|
.ep(commonParams)
|
|
765
712
|
.m(function (Command, cs, config, o) {
|
|
766
|
-
return [
|
|
767
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
768
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
769
|
-
];
|
|
713
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
770
714
|
})
|
|
771
715
|
.s("AWSBilling", "AssociateSourceViews", {})
|
|
772
716
|
.n("BillingClient", "AssociateSourceViewsCommand")
|
|
773
|
-
.
|
|
774
|
-
.ser(se_AssociateSourceViewsCommand)
|
|
775
|
-
.de(de_AssociateSourceViewsCommand)
|
|
717
|
+
.sc(AssociateSourceViews)
|
|
776
718
|
.build() {
|
|
777
719
|
}
|
|
778
720
|
|
|
@@ -780,16 +722,11 @@ class CreateBillingViewCommand extends smithyClient.Command
|
|
|
780
722
|
.classBuilder()
|
|
781
723
|
.ep(commonParams)
|
|
782
724
|
.m(function (Command, cs, config, o) {
|
|
783
|
-
return [
|
|
784
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
785
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
786
|
-
];
|
|
725
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
787
726
|
})
|
|
788
727
|
.s("AWSBilling", "CreateBillingView", {})
|
|
789
728
|
.n("BillingClient", "CreateBillingViewCommand")
|
|
790
|
-
.
|
|
791
|
-
.ser(se_CreateBillingViewCommand)
|
|
792
|
-
.de(de_CreateBillingViewCommand)
|
|
729
|
+
.sc(CreateBillingView)
|
|
793
730
|
.build() {
|
|
794
731
|
}
|
|
795
732
|
|
|
@@ -797,16 +734,11 @@ class DeleteBillingViewCommand extends smithyClient.Command
|
|
|
797
734
|
.classBuilder()
|
|
798
735
|
.ep(commonParams)
|
|
799
736
|
.m(function (Command, cs, config, o) {
|
|
800
|
-
return [
|
|
801
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
802
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
803
|
-
];
|
|
737
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
804
738
|
})
|
|
805
739
|
.s("AWSBilling", "DeleteBillingView", {})
|
|
806
740
|
.n("BillingClient", "DeleteBillingViewCommand")
|
|
807
|
-
.
|
|
808
|
-
.ser(se_DeleteBillingViewCommand)
|
|
809
|
-
.de(de_DeleteBillingViewCommand)
|
|
741
|
+
.sc(DeleteBillingView)
|
|
810
742
|
.build() {
|
|
811
743
|
}
|
|
812
744
|
|
|
@@ -814,16 +746,11 @@ class DisassociateSourceViewsCommand extends smithyClient.Command
|
|
|
814
746
|
.classBuilder()
|
|
815
747
|
.ep(commonParams)
|
|
816
748
|
.m(function (Command, cs, config, o) {
|
|
817
|
-
return [
|
|
818
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
819
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
820
|
-
];
|
|
749
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
821
750
|
})
|
|
822
751
|
.s("AWSBilling", "DisassociateSourceViews", {})
|
|
823
752
|
.n("BillingClient", "DisassociateSourceViewsCommand")
|
|
824
|
-
.
|
|
825
|
-
.ser(se_DisassociateSourceViewsCommand)
|
|
826
|
-
.de(de_DisassociateSourceViewsCommand)
|
|
753
|
+
.sc(DisassociateSourceViews)
|
|
827
754
|
.build() {
|
|
828
755
|
}
|
|
829
756
|
|
|
@@ -831,16 +758,11 @@ class GetBillingViewCommand extends smithyClient.Command
|
|
|
831
758
|
.classBuilder()
|
|
832
759
|
.ep(commonParams)
|
|
833
760
|
.m(function (Command, cs, config, o) {
|
|
834
|
-
return [
|
|
835
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
836
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
837
|
-
];
|
|
761
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
838
762
|
})
|
|
839
763
|
.s("AWSBilling", "GetBillingView", {})
|
|
840
764
|
.n("BillingClient", "GetBillingViewCommand")
|
|
841
|
-
.
|
|
842
|
-
.ser(se_GetBillingViewCommand)
|
|
843
|
-
.de(de_GetBillingViewCommand)
|
|
765
|
+
.sc(GetBillingView)
|
|
844
766
|
.build() {
|
|
845
767
|
}
|
|
846
768
|
|
|
@@ -848,16 +770,11 @@ class GetResourcePolicyCommand extends smithyClient.Command
|
|
|
848
770
|
.classBuilder()
|
|
849
771
|
.ep(commonParams)
|
|
850
772
|
.m(function (Command, cs, config, o) {
|
|
851
|
-
return [
|
|
852
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
853
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
854
|
-
];
|
|
773
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
855
774
|
})
|
|
856
775
|
.s("AWSBilling", "GetResourcePolicy", {})
|
|
857
776
|
.n("BillingClient", "GetResourcePolicyCommand")
|
|
858
|
-
.
|
|
859
|
-
.ser(se_GetResourcePolicyCommand)
|
|
860
|
-
.de(de_GetResourcePolicyCommand)
|
|
777
|
+
.sc(GetResourcePolicy)
|
|
861
778
|
.build() {
|
|
862
779
|
}
|
|
863
780
|
|
|
@@ -865,16 +782,11 @@ class ListBillingViewsCommand extends smithyClient.Command
|
|
|
865
782
|
.classBuilder()
|
|
866
783
|
.ep(commonParams)
|
|
867
784
|
.m(function (Command, cs, config, o) {
|
|
868
|
-
return [
|
|
869
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
870
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
871
|
-
];
|
|
785
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
872
786
|
})
|
|
873
787
|
.s("AWSBilling", "ListBillingViews", {})
|
|
874
788
|
.n("BillingClient", "ListBillingViewsCommand")
|
|
875
|
-
.
|
|
876
|
-
.ser(se_ListBillingViewsCommand)
|
|
877
|
-
.de(de_ListBillingViewsCommand)
|
|
789
|
+
.sc(ListBillingViews)
|
|
878
790
|
.build() {
|
|
879
791
|
}
|
|
880
792
|
|
|
@@ -882,16 +794,11 @@ class ListSourceViewsForBillingViewCommand extends smithyClient.Command
|
|
|
882
794
|
.classBuilder()
|
|
883
795
|
.ep(commonParams)
|
|
884
796
|
.m(function (Command, cs, config, o) {
|
|
885
|
-
return [
|
|
886
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
887
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
888
|
-
];
|
|
797
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
889
798
|
})
|
|
890
799
|
.s("AWSBilling", "ListSourceViewsForBillingView", {})
|
|
891
800
|
.n("BillingClient", "ListSourceViewsForBillingViewCommand")
|
|
892
|
-
.
|
|
893
|
-
.ser(se_ListSourceViewsForBillingViewCommand)
|
|
894
|
-
.de(de_ListSourceViewsForBillingViewCommand)
|
|
801
|
+
.sc(ListSourceViewsForBillingView)
|
|
895
802
|
.build() {
|
|
896
803
|
}
|
|
897
804
|
|
|
@@ -899,16 +806,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
899
806
|
.classBuilder()
|
|
900
807
|
.ep(commonParams)
|
|
901
808
|
.m(function (Command, cs, config, o) {
|
|
902
|
-
return [
|
|
903
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
904
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
905
|
-
];
|
|
809
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
906
810
|
})
|
|
907
811
|
.s("AWSBilling", "ListTagsForResource", {})
|
|
908
812
|
.n("BillingClient", "ListTagsForResourceCommand")
|
|
909
|
-
.
|
|
910
|
-
.ser(se_ListTagsForResourceCommand)
|
|
911
|
-
.de(de_ListTagsForResourceCommand)
|
|
813
|
+
.sc(ListTagsForResource)
|
|
912
814
|
.build() {
|
|
913
815
|
}
|
|
914
816
|
|
|
@@ -916,16 +818,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
916
818
|
.classBuilder()
|
|
917
819
|
.ep(commonParams)
|
|
918
820
|
.m(function (Command, cs, config, o) {
|
|
919
|
-
return [
|
|
920
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
921
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
922
|
-
];
|
|
821
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
923
822
|
})
|
|
924
823
|
.s("AWSBilling", "TagResource", {})
|
|
925
824
|
.n("BillingClient", "TagResourceCommand")
|
|
926
|
-
.
|
|
927
|
-
.ser(se_TagResourceCommand)
|
|
928
|
-
.de(de_TagResourceCommand)
|
|
825
|
+
.sc(TagResource)
|
|
929
826
|
.build() {
|
|
930
827
|
}
|
|
931
828
|
|
|
@@ -933,16 +830,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
933
830
|
.classBuilder()
|
|
934
831
|
.ep(commonParams)
|
|
935
832
|
.m(function (Command, cs, config, o) {
|
|
936
|
-
return [
|
|
937
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
938
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
939
|
-
];
|
|
833
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
940
834
|
})
|
|
941
835
|
.s("AWSBilling", "UntagResource", {})
|
|
942
836
|
.n("BillingClient", "UntagResourceCommand")
|
|
943
|
-
.
|
|
944
|
-
.ser(se_UntagResourceCommand)
|
|
945
|
-
.de(de_UntagResourceCommand)
|
|
837
|
+
.sc(UntagResource)
|
|
946
838
|
.build() {
|
|
947
839
|
}
|
|
948
840
|
|
|
@@ -950,16 +842,11 @@ class UpdateBillingViewCommand extends smithyClient.Command
|
|
|
950
842
|
.classBuilder()
|
|
951
843
|
.ep(commonParams)
|
|
952
844
|
.m(function (Command, cs, config, o) {
|
|
953
|
-
return [
|
|
954
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
955
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
956
|
-
];
|
|
845
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
957
846
|
})
|
|
958
847
|
.s("AWSBilling", "UpdateBillingView", {})
|
|
959
848
|
.n("BillingClient", "UpdateBillingViewCommand")
|
|
960
|
-
.
|
|
961
|
-
.ser(se_UpdateBillingViewCommand)
|
|
962
|
-
.de(de_UpdateBillingViewCommand)
|
|
849
|
+
.sc(UpdateBillingView)
|
|
963
850
|
.build() {
|
|
964
851
|
}
|
|
965
852
|
|
|
@@ -993,39 +880,33 @@ Object.defineProperty(exports, "__Client", {
|
|
|
993
880
|
enumerable: true,
|
|
994
881
|
get: function () { return smithyClient.Client; }
|
|
995
882
|
});
|
|
996
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
883
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
997
884
|
exports.AssociateSourceViewsCommand = AssociateSourceViewsCommand;
|
|
998
885
|
exports.Billing = Billing;
|
|
999
886
|
exports.BillingClient = BillingClient;
|
|
1000
|
-
exports.BillingServiceException = BillingServiceException;
|
|
1001
|
-
exports.
|
|
1002
|
-
exports.BillingViewHealthStatusException = BillingViewHealthStatusException;
|
|
1003
|
-
exports.BillingViewListElementFilterSensitiveLog = BillingViewListElementFilterSensitiveLog;
|
|
887
|
+
exports.BillingServiceException = BillingServiceException$1;
|
|
888
|
+
exports.BillingViewHealthStatusException = BillingViewHealthStatusException$1;
|
|
1004
889
|
exports.BillingViewStatus = BillingViewStatus;
|
|
1005
890
|
exports.BillingViewStatusReason = BillingViewStatusReason;
|
|
1006
891
|
exports.BillingViewType = BillingViewType;
|
|
1007
|
-
exports.ConflictException = ConflictException;
|
|
892
|
+
exports.ConflictException = ConflictException$1;
|
|
1008
893
|
exports.CreateBillingViewCommand = CreateBillingViewCommand;
|
|
1009
|
-
exports.CreateBillingViewRequestFilterSensitiveLog = CreateBillingViewRequestFilterSensitiveLog;
|
|
1010
894
|
exports.DeleteBillingViewCommand = DeleteBillingViewCommand;
|
|
1011
895
|
exports.Dimension = Dimension;
|
|
1012
896
|
exports.DisassociateSourceViewsCommand = DisassociateSourceViewsCommand;
|
|
1013
897
|
exports.GetBillingViewCommand = GetBillingViewCommand;
|
|
1014
|
-
exports.GetBillingViewResponseFilterSensitiveLog = GetBillingViewResponseFilterSensitiveLog;
|
|
1015
898
|
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
1016
|
-
exports.InternalServerException = InternalServerException;
|
|
899
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1017
900
|
exports.ListBillingViewsCommand = ListBillingViewsCommand;
|
|
1018
|
-
exports.ListBillingViewsResponseFilterSensitiveLog = ListBillingViewsResponseFilterSensitiveLog;
|
|
1019
901
|
exports.ListSourceViewsForBillingViewCommand = ListSourceViewsForBillingViewCommand;
|
|
1020
902
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1021
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1022
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
903
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
904
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1023
905
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1024
|
-
exports.ThrottlingException = ThrottlingException;
|
|
906
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1025
907
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1026
908
|
exports.UpdateBillingViewCommand = UpdateBillingViewCommand;
|
|
1027
|
-
exports.
|
|
1028
|
-
exports.ValidationException = ValidationException;
|
|
909
|
+
exports.ValidationException = ValidationException$1;
|
|
1029
910
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1030
911
|
exports.paginateListBillingViews = paginateListBillingViews;
|
|
1031
912
|
exports.paginateListSourceViewsForBillingView = paginateListSourceViewsForBillingView;
|