@aws-sdk/client-billingconductor 3.1075.0 → 3.1077.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 CHANGED
@@ -1,21 +1,58 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
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 { resolveHttpAuthSchemeConfig, defaultBillingconductorHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { AssociateAccounts$, AssociatePricingRules$, BatchAssociateResourcesToCustomLineItem$, BatchDisassociateResourcesFromCustomLineItem$, CreateBillingGroup$, CreateCustomLineItem$, CreatePricingPlan$, CreatePricingRule$, DeleteBillingGroup$, DeleteCustomLineItem$, DeletePricingPlan$, DeletePricingRule$, DisassociateAccounts$, DisassociatePricingRules$, GetBillingGroupCostReport$, ListAccountAssociations$, ListBillingGroupCostReports$, ListBillingGroups$, ListCustomLineItems$, ListCustomLineItemVersions$, ListPricingPlansAssociatedWithPricingRule$, ListPricingPlans$, ListPricingRulesAssociatedToPricingPlan$, ListPricingRules$, ListResourcesAssociatedToCustomLineItem$, ListTagsForResource$, TagResource$, UntagResource$, UpdateBillingGroup$, UpdateCustomLineItem$, UpdatePricingPlan$, UpdatePricingRule$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { BillingconductorServiceException } = require("./models/BillingconductorServiceException");
18
- exports.BillingconductorServiceException = BillingconductorServiceException;
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, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
17
+
18
+ const defaultBillingconductorHttpAuthSchemeParametersProvider = async (config, context, input) => {
19
+ return {
20
+ operation: getSmithyContext(context).operation,
21
+ region: await normalizeProvider(config.region)() || (() => {
22
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
23
+ })(),
24
+ };
25
+ };
26
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
+ return {
28
+ schemeId: "aws.auth#sigv4",
29
+ signingProperties: {
30
+ name: "billingconductor",
31
+ region: authParameters.region,
32
+ },
33
+ propertiesExtractor: (config, context) => ({
34
+ signingProperties: {
35
+ config,
36
+ context,
37
+ },
38
+ }),
39
+ };
40
+ }
41
+ const defaultBillingconductorHttpAuthSchemeProvider = (authParameters) => {
42
+ const options = [];
43
+ switch (authParameters.operation) {
44
+ default: {
45
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ const resolveHttpAuthSchemeConfig = (config) => {
51
+ const config_0 = resolveAwsSdkSigV4Config(config);
52
+ return Object.assign(config_0, {
53
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
54
+ });
55
+ };
19
56
 
20
57
  const resolveClientEndpointParameters = (options) => {
21
58
  return Object.assign(options, {
@@ -31,6 +68,1328 @@ const commonParams = {
31
68
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
69
  };
33
70
 
71
+ var version = "3.1076.0";
72
+ var packageInfo = {
73
+ version: version};
74
+
75
+ const k = "ref";
76
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
77
+ const _data = {
78
+ conditions: [
79
+ [c, [g]],
80
+ [c, j],
81
+ ["aws.partition", j, d],
82
+ [e, [{ [k]: "UseFIPS" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
84
+ [e, [{ [k]: "UseDualStack" }, b]],
85
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
86
+ ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws"]]
87
+ ],
88
+ results: [
89
+ [a],
90
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
91
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
92
+ [g, i],
93
+ ["https://billingconductor.us-east-1.amazonaws.com", { authSchemes: [{ name: "sigv4", signingName: "billingconductor", signingRegion: "us-east-1" }] }],
94
+ ["https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
95
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
96
+ ["https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", i],
97
+ [a, "FIPS is enabled but this partition does not support FIPS"],
98
+ ["https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
99
+ [a, "DualStack is enabled but this partition does not support DualStack"],
100
+ ["https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", i],
101
+ [a, "Invalid Configuration: Missing Region"]
102
+ ]
103
+ };
104
+ const root = 2;
105
+ const r = 100_000_000;
106
+ const nodes = new Int32Array([
107
+ -1, 1, -1,
108
+ 0, 13, 3,
109
+ 1, 4, r + 12,
110
+ 2, 5, r + 12,
111
+ 3, 9, 6,
112
+ 5, 8, 7,
113
+ 7, r + 4, r + 11,
114
+ 6, r + 9, r + 10,
115
+ 4, 11, 10,
116
+ 5, r + 6, r + 8,
117
+ 5, 12, r + 7,
118
+ 6, r + 5, r + 6,
119
+ 3, r + 1, 14,
120
+ 5, r + 2, r + 3,
121
+ ]);
122
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
123
+
124
+ const cache = new EndpointCache({
125
+ size: 50,
126
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
127
+ });
128
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
129
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
130
+ endpointParams: endpointParams,
131
+ logger: context.logger,
132
+ }));
133
+ };
134
+ customEndpointFunctions.aws = awsEndpointFunctions;
135
+
136
+ class BillingconductorServiceException extends ServiceException {
137
+ constructor(options) {
138
+ super(options);
139
+ Object.setPrototypeOf(this, BillingconductorServiceException.prototype);
140
+ }
141
+ }
142
+
143
+ class AccessDeniedException extends BillingconductorServiceException {
144
+ name = "AccessDeniedException";
145
+ $fault = "client";
146
+ Message;
147
+ constructor(opts) {
148
+ super({
149
+ name: "AccessDeniedException",
150
+ $fault: "client",
151
+ ...opts,
152
+ });
153
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
154
+ this.Message = opts.Message;
155
+ }
156
+ }
157
+ class ConflictException extends BillingconductorServiceException {
158
+ name = "ConflictException";
159
+ $fault = "client";
160
+ Message;
161
+ ResourceId;
162
+ ResourceType;
163
+ Reason;
164
+ constructor(opts) {
165
+ super({
166
+ name: "ConflictException",
167
+ $fault: "client",
168
+ ...opts,
169
+ });
170
+ Object.setPrototypeOf(this, ConflictException.prototype);
171
+ this.Message = opts.Message;
172
+ this.ResourceId = opts.ResourceId;
173
+ this.ResourceType = opts.ResourceType;
174
+ this.Reason = opts.Reason;
175
+ }
176
+ }
177
+ class InternalServerException extends BillingconductorServiceException {
178
+ name = "InternalServerException";
179
+ $fault = "server";
180
+ Message;
181
+ RetryAfterSeconds;
182
+ constructor(opts) {
183
+ super({
184
+ name: "InternalServerException",
185
+ $fault: "server",
186
+ ...opts,
187
+ });
188
+ Object.setPrototypeOf(this, InternalServerException.prototype);
189
+ this.Message = opts.Message;
190
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
191
+ }
192
+ }
193
+ class ResourceNotFoundException extends BillingconductorServiceException {
194
+ name = "ResourceNotFoundException";
195
+ $fault = "client";
196
+ Message;
197
+ ResourceId;
198
+ ResourceType;
199
+ constructor(opts) {
200
+ super({
201
+ name: "ResourceNotFoundException",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
206
+ this.Message = opts.Message;
207
+ this.ResourceId = opts.ResourceId;
208
+ this.ResourceType = opts.ResourceType;
209
+ }
210
+ }
211
+ class ServiceLimitExceededException extends BillingconductorServiceException {
212
+ name = "ServiceLimitExceededException";
213
+ $fault = "client";
214
+ Message;
215
+ ResourceId;
216
+ ResourceType;
217
+ LimitCode;
218
+ ServiceCode;
219
+ constructor(opts) {
220
+ super({
221
+ name: "ServiceLimitExceededException",
222
+ $fault: "client",
223
+ ...opts,
224
+ });
225
+ Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
226
+ this.Message = opts.Message;
227
+ this.ResourceId = opts.ResourceId;
228
+ this.ResourceType = opts.ResourceType;
229
+ this.LimitCode = opts.LimitCode;
230
+ this.ServiceCode = opts.ServiceCode;
231
+ }
232
+ }
233
+ class ThrottlingException extends BillingconductorServiceException {
234
+ name = "ThrottlingException";
235
+ $fault = "client";
236
+ Message;
237
+ RetryAfterSeconds;
238
+ constructor(opts) {
239
+ super({
240
+ name: "ThrottlingException",
241
+ $fault: "client",
242
+ ...opts,
243
+ });
244
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
245
+ this.Message = opts.Message;
246
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
247
+ }
248
+ }
249
+ class ValidationException extends BillingconductorServiceException {
250
+ name = "ValidationException";
251
+ $fault = "client";
252
+ Message;
253
+ Reason;
254
+ Fields;
255
+ constructor(opts) {
256
+ super({
257
+ name: "ValidationException",
258
+ $fault: "client",
259
+ ...opts,
260
+ });
261
+ Object.setPrototypeOf(this, ValidationException.prototype);
262
+ this.Message = opts.Message;
263
+ this.Reason = opts.Reason;
264
+ this.Fields = opts.Fields;
265
+ }
266
+ }
267
+
268
+ const _A = "Arn";
269
+ const _AA = "AutoAssociate";
270
+ const _AAI = "AssociateAccountsInput";
271
+ const _AAL = "AccountAssociationsList";
272
+ const _AALE = "AccountAssociationsListElement";
273
+ const _AAO = "AssociateAccountsOutput";
274
+ const _AAs = "AssociateAccounts";
275
+ const _ADE = "AccessDeniedException";
276
+ const _AE = "AccountEmail";
277
+ const _AG = "AccountGrouping";
278
+ const _AI = "AccountId";
279
+ const _AIc = "AccountIds";
280
+ const _AL = "AttributesList";
281
+ const _AN = "AccountName";
282
+ const _APPC = "AssociatedPricingPlanCount";
283
+ const _APR = "AssociatePricingRules";
284
+ const _APRI = "AssociatePricingRulesInput";
285
+ const _APRO = "AssociatePricingRulesOutput";
286
+ const _AR = "AssociatedResources";
287
+ const _ARE = "AssociateResourceError";
288
+ const _ARRE = "AssociateResourceResponseElement";
289
+ const _ARRL = "AssociateResourcesResponseList";
290
+ const _AS = "AssociationSize";
291
+ const _AV = "AssociatedValues";
292
+ const _AVt = "AttributeValues";
293
+ const _AWSC = "AWSCost";
294
+ const _Ac = "Activated";
295
+ const _Ar = "Arns";
296
+ const _As = "Association";
297
+ const _At = "Attribute";
298
+ const _Att = "Attributes";
299
+ const _BARTCLI = "BatchAssociateResourcesToCustomLineItem";
300
+ const _BARTCLII = "BatchAssociateResourcesToCustomLineItemInput";
301
+ const _BARTCLIO = "BatchAssociateResourcesToCustomLineItemOutput";
302
+ const _BDRFCLI = "BatchDisassociateResourcesFromCustomLineItem";
303
+ const _BDRFCLII = "BatchDisassociateResourcesFromCustomLineItemInput";
304
+ const _BDRFCLIO = "BatchDisassociateResourcesFromCustomLineItemOutput";
305
+ const _BE = "BillingEntity";
306
+ const _BG = "BillingGroups";
307
+ const _BGA = "BillingGroupArn";
308
+ const _BGAi = "BillingGroupArns";
309
+ const _BGCR = "BillingGroupCostReports";
310
+ const _BGCRE = "BillingGroupCostReportElement";
311
+ const _BGCRL = "BillingGroupCostReportList";
312
+ const _BGCRR = "BillingGroupCostReportResults";
313
+ const _BGCRRE = "BillingGroupCostReportResultElement";
314
+ const _BGCRRL = "BillingGroupCostReportResultsList";
315
+ const _BGD = "BillingGroupDescription";
316
+ const _BGL = "BillingGroupList";
317
+ const _BGLE = "BillingGroupListElement";
318
+ const _BGN = "BillingGroupName";
319
+ const _BGT = "BillingGroupType";
320
+ const _BGTi = "BillingGroupTypes";
321
+ const _BP = "BillingPeriod";
322
+ const _BPR = "BillingPeriodRange";
323
+ const _C = "Currency";
324
+ const _CBG = "CreateBillingGroup";
325
+ const _CBGI = "CreateBillingGroupInput";
326
+ const _CBGO = "CreateBillingGroupOutput";
327
+ const _CC = "CurrencyCode";
328
+ const _CCLI = "CreateCustomLineItem";
329
+ const _CCLII = "CreateCustomLineItemInput";
330
+ const _CCLIO = "CreateCustomLineItemOutput";
331
+ const _CD = "ChargeDetails";
332
+ const _CE = "ConflictException";
333
+ const _CFTC = "CreateFreeTierConfig";
334
+ const _CLI = "CustomLineItems";
335
+ const _CLIBPR = "CustomLineItemBillingPeriodRange";
336
+ const _CLICD = "CustomLineItemChargeDetails";
337
+ const _CLID = "CustomLineItemDescription";
338
+ const _CLIFCD = "CustomLineItemFlatChargeDetails";
339
+ const _CLIL = "CustomLineItemList";
340
+ const _CLILE = "CustomLineItemListElement";
341
+ const _CLIN = "CustomLineItemName";
342
+ const _CLINL = "CustomLineItemNameList";
343
+ const _CLIPCD = "CustomLineItemPercentageChargeDetails";
344
+ const _CLIV = "CustomLineItemVersions";
345
+ const _CLIVL = "CustomLineItemVersionList";
346
+ const _CLIVLE = "CustomLineItemVersionListElement";
347
+ const _CP = "ComputationPreference";
348
+ const _CPP = "CreatePricingPlan";
349
+ const _CPPI = "CreatePricingPlanInput";
350
+ const _CPPO = "CreatePricingPlanOutput";
351
+ const _CPR = "CreatePricingRule";
352
+ const _CPRI = "CreatePricingRuleInput";
353
+ const _CPRO = "CreatePricingRuleOutput";
354
+ const _CR = "ComputationRule";
355
+ const _CT = "CreationTime";
356
+ const _CTI = "CreateTieringInput";
357
+ const _CTl = "ClientToken";
358
+ const _CV = "ChargeValue";
359
+ const _D = "Description";
360
+ const _DA = "DisassociateAccounts";
361
+ const _DAI = "DisassociateAccountsInput";
362
+ const _DAO = "DisassociateAccountsOutput";
363
+ const _DBG = "DeleteBillingGroup";
364
+ const _DBGI = "DeleteBillingGroupInput";
365
+ const _DBGO = "DeleteBillingGroupOutput";
366
+ const _DCLI = "DeleteCustomLineItem";
367
+ const _DCLII = "DeleteCustomLineItemInput";
368
+ const _DCLIO = "DeleteCustomLineItemOutput";
369
+ const _DPP = "DeletePricingPlan";
370
+ const _DPPI = "DeletePricingPlanInput";
371
+ const _DPPO = "DeletePricingPlanOutput";
372
+ const _DPR = "DeletePricingRule";
373
+ const _DPRI = "DeletePricingRuleInput";
374
+ const _DPRIi = "DisassociatePricingRulesInput";
375
+ const _DPRO = "DeletePricingRuleOutput";
376
+ const _DPROi = "DisassociatePricingRulesOutput";
377
+ const _DPRi = "DisassociatePricingRules";
378
+ const _DRRE = "DisassociateResourceResponseElement";
379
+ const _DRRL = "DisassociateResourcesResponseList";
380
+ const _E = "Error";
381
+ const _EBP = "EndBillingPeriod";
382
+ const _EEBP = "ExclusiveEndBillingPeriod";
383
+ const _F = "Fields";
384
+ const _FAR = "FailedAssociatedResources";
385
+ const _FDR = "FailedDisassociatedResources";
386
+ const _FT = "FreeTier";
387
+ const _FTC = "FreeTierConfig";
388
+ const _Fi = "Filters";
389
+ const _Fl = "Flat";
390
+ const _GB = "GroupBy";
391
+ const _GBGCR = "GetBillingGroupCostReport";
392
+ const _GBGCRI = "GetBillingGroupCostReportInput";
393
+ const _GBGCRO = "GetBillingGroupCostReportOutput";
394
+ const _ISBP = "InclusiveStartBillingPeriod";
395
+ const _ISE = "InternalServerException";
396
+ const _K = "Key";
397
+ const _LA = "LinkedAccounts";
398
+ const _LAA = "ListAccountAssociations";
399
+ const _LAAF = "ListAccountAssociationsFilter";
400
+ const _LAAI = "ListAccountAssociationsInput";
401
+ const _LAAO = "ListAccountAssociationsOutput";
402
+ const _LAI = "LinkedAccountIds";
403
+ const _LBG = "ListBillingGroups";
404
+ const _LBGAG = "ListBillingGroupAccountGrouping";
405
+ const _LBGCR = "ListBillingGroupCostReports";
406
+ const _LBGCRF = "ListBillingGroupCostReportsFilter";
407
+ const _LBGCRI = "ListBillingGroupCostReportsInput";
408
+ const _LBGCRO = "ListBillingGroupCostReportsOutput";
409
+ const _LBGF = "ListBillingGroupsFilter";
410
+ const _LBGI = "ListBillingGroupsInput";
411
+ const _LBGO = "ListBillingGroupsOutput";
412
+ const _LC = "LimitCode";
413
+ const _LCLI = "ListCustomLineItems";
414
+ const _LCLICD = "ListCustomLineItemChargeDetails";
415
+ const _LCLIF = "ListCustomLineItemsFilter";
416
+ const _LCLIFCD = "ListCustomLineItemFlatChargeDetails";
417
+ const _LCLII = "ListCustomLineItemsInput";
418
+ const _LCLIO = "ListCustomLineItemsOutput";
419
+ const _LCLIPCD = "ListCustomLineItemPercentageChargeDetails";
420
+ const _LCLIV = "ListCustomLineItemVersions";
421
+ const _LCLIVBPRF = "ListCustomLineItemVersionsBillingPeriodRangeFilter";
422
+ const _LCLIVF = "ListCustomLineItemVersionsFilter";
423
+ const _LCLIVI = "ListCustomLineItemVersionsInput";
424
+ const _LCLIVO = "ListCustomLineItemVersionsOutput";
425
+ const _LIF = "LineItemFilters";
426
+ const _LIFL = "LineItemFiltersList";
427
+ const _LIFi = "LineItemFilter";
428
+ const _LMT = "LastModifiedTime";
429
+ const _LPP = "ListPricingPlans";
430
+ const _LPPAWPR = "ListPricingPlansAssociatedWithPricingRule";
431
+ const _LPPAWPRI = "ListPricingPlansAssociatedWithPricingRuleInput";
432
+ const _LPPAWPRO = "ListPricingPlansAssociatedWithPricingRuleOutput";
433
+ const _LPPF = "ListPricingPlansFilter";
434
+ const _LPPI = "ListPricingPlansInput";
435
+ const _LPPO = "ListPricingPlansOutput";
436
+ const _LPR = "ListPricingRules";
437
+ const _LPRATPP = "ListPricingRulesAssociatedToPricingPlan";
438
+ const _LPRATPPI = "ListPricingRulesAssociatedToPricingPlanInput";
439
+ const _LPRATPPO = "ListPricingRulesAssociatedToPricingPlanOutput";
440
+ const _LPRF = "ListPricingRulesFilter";
441
+ const _LPRI = "ListPricingRulesInput";
442
+ const _LPRO = "ListPricingRulesOutput";
443
+ const _LRATCLI = "ListResourcesAssociatedToCustomLineItem";
444
+ const _LRATCLIF = "ListResourcesAssociatedToCustomLineItemFilter";
445
+ const _LRATCLII = "ListResourcesAssociatedToCustomLineItemInput";
446
+ const _LRATCLIO = "ListResourcesAssociatedToCustomLineItemOutput";
447
+ const _LRATCLIRE = "ListResourcesAssociatedToCustomLineItemResponseElement";
448
+ const _LRATCLIRL = "ListResourcesAssociatedToCustomLineItemResponseList";
449
+ const _LTFR = "ListTagsForResource";
450
+ const _LTFRR = "ListTagsForResourceRequest";
451
+ const _LTFRRi = "ListTagsForResourceResponse";
452
+ const _M = "Message";
453
+ const _MO = "MatchOption";
454
+ const _MP = "MarginPercentage";
455
+ const _MPo = "ModifierPercentage";
456
+ const _MR = "MaxResults";
457
+ const _Ma = "Margin";
458
+ const _N = "Name";
459
+ const _NT = "NextToken";
460
+ const _Na = "Names";
461
+ const _O = "Operation";
462
+ const _P = "Percentage";
463
+ const _PAI = "PrimaryAccountId";
464
+ const _PAIr = "PrimaryAccountIds";
465
+ const _PC = "ProformaCost";
466
+ const _PCr = "ProductCode";
467
+ const _PD = "PresentationDetails";
468
+ const _PO = "PresentationObject";
469
+ const _PP = "PricingPlan";
470
+ const _PPA = "PricingPlanArn";
471
+ const _PPAr = "PricingPlanArns";
472
+ const _PPD = "PricingPlanDescription";
473
+ const _PPL = "PricingPlanList";
474
+ const _PPLE = "PricingPlanListElement";
475
+ const _PPN = "PricingPlanName";
476
+ const _PPr = "PricingPlans";
477
+ const _PR = "PricingRules";
478
+ const _PRA = "PricingRuleArns";
479
+ const _PRAr = "PricingRuleArn";
480
+ const _PRD = "PricingRuleDescription";
481
+ const _PRL = "PricingRuleList";
482
+ const _PRLE = "PricingRuleListElement";
483
+ const _PRN = "PricingRuleName";
484
+ const _PV = "PercentageValue";
485
+ const _R = "Reason";
486
+ const _RA = "Retry-After";
487
+ const _RAS = "RetryAfterSeconds";
488
+ const _RAe = "ResourceArns";
489
+ const _RAes = "ResourceArn";
490
+ const _RI = "ResourceId";
491
+ const _RNFE = "ResourceNotFoundException";
492
+ const _RT = "ResourceType";
493
+ const _RTA = "ResponsibilityTransferArn";
494
+ const _RTAe = "ResponsibilityTransferArns";
495
+ const _Re = "Relationship";
496
+ const _S = "Size";
497
+ const _SAR = "SuccessfullyAssociatedResources";
498
+ const _SBP = "StartBillingPeriod";
499
+ const _SC = "ServiceCode";
500
+ const _SDR = "SuccessfullyDisassociatedResources";
501
+ const _SLEE = "ServiceLimitExceededException";
502
+ const _SO = "SearchOption";
503
+ const _SR = "StatusReason";
504
+ const _SS = "StringSearch";
505
+ const _SSt = "StringSearches";
506
+ const _ST = "StartTime";
507
+ const _SV = "SearchValue";
508
+ const _Sc = "Scope";
509
+ const _Se = "Service";
510
+ const _St = "Status";
511
+ const _Sta = "Statuses";
512
+ const _T = "Tags";
513
+ const _TA = "TargetArn";
514
+ const _TE = "ThrottlingException";
515
+ const _TK = "TagKeys";
516
+ const _TR = "TagResource";
517
+ const _TRR = "TagResourceRequest";
518
+ const _TRRa = "TagResourceResponse";
519
+ const _Ti = "Tiering";
520
+ const _Ty = "Type";
521
+ const _UBG = "UpdateBillingGroup";
522
+ const _UBGAG = "UpdateBillingGroupAccountGrouping";
523
+ const _UBGI = "UpdateBillingGroupInput";
524
+ const _UBGO = "UpdateBillingGroupOutput";
525
+ const _UCLI = "UpdateCustomLineItem";
526
+ const _UCLICD = "UpdateCustomLineItemChargeDetails";
527
+ const _UCLIFCD = "UpdateCustomLineItemFlatChargeDetails";
528
+ const _UCLII = "UpdateCustomLineItemInput";
529
+ const _UCLIO = "UpdateCustomLineItemOutput";
530
+ const _UCLIPCD = "UpdateCustomLineItemPercentageChargeDetails";
531
+ const _UFTC = "UpdateFreeTierConfig";
532
+ const _UPP = "UpdatePricingPlan";
533
+ const _UPPI = "UpdatePricingPlanInput";
534
+ const _UPPO = "UpdatePricingPlanOutput";
535
+ const _UPR = "UpdatePricingRule";
536
+ const _UPRI = "UpdatePricingRuleInput";
537
+ const _UPRO = "UpdatePricingRuleOutput";
538
+ const _UR = "UntagResource";
539
+ const _URR = "UntagResourceRequest";
540
+ const _URRn = "UntagResourceResponse";
541
+ const _UT = "UsageType";
542
+ const _UTI = "UpdateTieringInput";
543
+ const _V = "Value";
544
+ const _VE = "ValidationException";
545
+ const _VEF = "ValidationExceptionField";
546
+ const _VEFL = "ValidationExceptionFieldList";
547
+ const _Va = "Values";
548
+ const _XACT = "X-Amzn-Client-Token";
549
+ const _c = "client";
550
+ const _e = "error";
551
+ const _h = "http";
552
+ const _hE = "httpError";
553
+ const _hH = "httpHeader";
554
+ const _hQ = "httpQuery";
555
+ const _iT = "idempotencyToken";
556
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.billingconductor";
557
+ const _se = "server";
558
+ const _tK = "tagKeys";
559
+ const n0 = "com.amazonaws.billingconductor";
560
+ const _s_registry = TypeRegistry.for(_s);
561
+ var BillingconductorServiceException$ = [-3, _s, "BillingconductorServiceException", 0, [], []];
562
+ _s_registry.registerError(BillingconductorServiceException$, BillingconductorServiceException);
563
+ const n0_registry = TypeRegistry.for(n0);
564
+ var AccessDeniedException$ = [-3, n0, _ADE,
565
+ { [_e]: _c, [_hE]: 403 },
566
+ [_M],
567
+ [0], 1
568
+ ];
569
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
570
+ var ConflictException$ = [-3, n0, _CE,
571
+ { [_e]: _c, [_hE]: 409 },
572
+ [_M, _RI, _RT, _R],
573
+ [0, 0, 0, 0], 3
574
+ ];
575
+ n0_registry.registerError(ConflictException$, ConflictException);
576
+ var InternalServerException$ = [-3, n0, _ISE,
577
+ { [_e]: _se, [_hE]: 500 },
578
+ [_M, _RAS],
579
+ [0, [1, { [_hH]: _RA }]], 1
580
+ ];
581
+ n0_registry.registerError(InternalServerException$, InternalServerException);
582
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
583
+ { [_e]: _c, [_hE]: 404 },
584
+ [_M, _RI, _RT],
585
+ [0, 0, 0], 3
586
+ ];
587
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
588
+ var ServiceLimitExceededException$ = [-3, n0, _SLEE,
589
+ { [_e]: _c, [_hE]: 402 },
590
+ [_M, _LC, _SC, _RI, _RT],
591
+ [0, 0, 0, 0, 0], 3
592
+ ];
593
+ n0_registry.registerError(ServiceLimitExceededException$, ServiceLimitExceededException);
594
+ var ThrottlingException$ = [-3, n0, _TE,
595
+ { [_e]: _c, [_hE]: 429 },
596
+ [_M, _RAS],
597
+ [0, [1, { [_hH]: _RA }]], 1
598
+ ];
599
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
600
+ var ValidationException$ = [-3, n0, _VE,
601
+ { [_e]: _c, [_hE]: 400 },
602
+ [_M, _R, _F],
603
+ [0, 0, () => ValidationExceptionFieldList], 1
604
+ ];
605
+ n0_registry.registerError(ValidationException$, ValidationException);
606
+ const errorTypeRegistries = [
607
+ _s_registry,
608
+ n0_registry,
609
+ ];
610
+ var AccountEmail = [0, n0, _AE, 8, 0];
611
+ var AccountName = [0, n0, _AN, 8, 0];
612
+ var BillingGroupDescription = [0, n0, _BGD, 8, 0];
613
+ var BillingGroupName = [0, n0, _BGN, 8, 0];
614
+ var CustomLineItemDescription = [0, n0, _CLID, 8, 0];
615
+ var CustomLineItemName = [0, n0, _CLIN, 8, 0];
616
+ var PricingPlanDescription = [0, n0, _PPD, 8, 0];
617
+ var PricingPlanName = [0, n0, _PPN, 8, 0];
618
+ var PricingRuleDescription = [0, n0, _PRD, 8, 0];
619
+ var PricingRuleName = [0, n0, _PRN, 8, 0];
620
+ var AccountAssociationsListElement$ = [3, n0, _AALE,
621
+ 0,
622
+ [_AI, _BGA, _AN, _AE],
623
+ [0, 0, [() => AccountName, 0], [() => AccountEmail, 0]]
624
+ ];
625
+ var AccountGrouping$ = [3, n0, _AG,
626
+ 0,
627
+ [_LAI, _AA, _RTA],
628
+ [64 | 0, 2, 0]
629
+ ];
630
+ var AssociateAccountsInput$ = [3, n0, _AAI,
631
+ 0,
632
+ [_A, _AIc],
633
+ [0, 64 | 0], 2
634
+ ];
635
+ var AssociateAccountsOutput$ = [3, n0, _AAO,
636
+ 0,
637
+ [_A],
638
+ [0]
639
+ ];
640
+ var AssociatePricingRulesInput$ = [3, n0, _APRI,
641
+ 0,
642
+ [_A, _PRA],
643
+ [0, 64 | 0], 2
644
+ ];
645
+ var AssociatePricingRulesOutput$ = [3, n0, _APRO,
646
+ 0,
647
+ [_A],
648
+ [0]
649
+ ];
650
+ var AssociateResourceError$ = [3, n0, _ARE,
651
+ 0,
652
+ [_M, _R],
653
+ [0, 0]
654
+ ];
655
+ var AssociateResourceResponseElement$ = [3, n0, _ARRE,
656
+ 0,
657
+ [_A, _E],
658
+ [0, () => AssociateResourceError$]
659
+ ];
660
+ var Attribute$ = [3, n0, _At,
661
+ 0,
662
+ [_K, _V],
663
+ [0, 0]
664
+ ];
665
+ var BatchAssociateResourcesToCustomLineItemInput$ = [3, n0, _BARTCLII,
666
+ 0,
667
+ [_TA, _RAe, _BPR],
668
+ [0, 64 | 0, () => CustomLineItemBillingPeriodRange$], 2
669
+ ];
670
+ var BatchAssociateResourcesToCustomLineItemOutput$ = [3, n0, _BARTCLIO,
671
+ 0,
672
+ [_SAR, _FAR],
673
+ [() => AssociateResourcesResponseList, () => AssociateResourcesResponseList]
674
+ ];
675
+ var BatchDisassociateResourcesFromCustomLineItemInput$ = [3, n0, _BDRFCLII,
676
+ 0,
677
+ [_TA, _RAe, _BPR],
678
+ [0, 64 | 0, () => CustomLineItemBillingPeriodRange$], 2
679
+ ];
680
+ var BatchDisassociateResourcesFromCustomLineItemOutput$ = [3, n0, _BDRFCLIO,
681
+ 0,
682
+ [_SDR, _FDR],
683
+ [() => DisassociateResourcesResponseList, () => DisassociateResourcesResponseList]
684
+ ];
685
+ var BillingGroupCostReportElement$ = [3, n0, _BGCRE,
686
+ 0,
687
+ [_A, _AWSC, _PC, _Ma, _MP, _C],
688
+ [0, 0, 0, 0, 0, 0]
689
+ ];
690
+ var BillingGroupCostReportResultElement$ = [3, n0, _BGCRRE,
691
+ 0,
692
+ [_A, _AWSC, _PC, _Ma, _MP, _C, _Att],
693
+ [0, 0, 0, 0, 0, 0, () => AttributesList]
694
+ ];
695
+ var BillingGroupListElement$ = [3, n0, _BGLE,
696
+ 0,
697
+ [_N, _A, _D, _PAI, _CP, _S, _CT, _LMT, _St, _SR, _AG, _BGT],
698
+ [[() => BillingGroupName, 0], 0, [() => BillingGroupDescription, 0], 0, () => ComputationPreference$, 1, 1, 1, 0, 0, () => ListBillingGroupAccountGrouping$, 0]
699
+ ];
700
+ var BillingPeriodRange$ = [3, n0, _BPR,
701
+ 0,
702
+ [_ISBP, _EEBP],
703
+ [0, 0], 2
704
+ ];
705
+ var ComputationPreference$ = [3, n0, _CP,
706
+ 0,
707
+ [_PPA],
708
+ [0], 1
709
+ ];
710
+ var CreateBillingGroupInput$ = [3, n0, _CBGI,
711
+ 0,
712
+ [_N, _AG, _CP, _CTl, _PAI, _D, _T],
713
+ [[() => BillingGroupName, 0], () => AccountGrouping$, () => ComputationPreference$, [0, { [_hH]: _XACT, [_iT]: 1 }], 0, [() => BillingGroupDescription, 0], 128 | 0], 3
714
+ ];
715
+ var CreateBillingGroupOutput$ = [3, n0, _CBGO,
716
+ 0,
717
+ [_A],
718
+ [0]
719
+ ];
720
+ var CreateCustomLineItemInput$ = [3, n0, _CCLII,
721
+ 0,
722
+ [_N, _D, _BGA, _CD, _CTl, _BPR, _T, _AI, _CR, _PD],
723
+ [[() => CustomLineItemName, 0], [() => CustomLineItemDescription, 0], 0, () => CustomLineItemChargeDetails$, [0, { [_hH]: _XACT, [_iT]: 1 }], () => CustomLineItemBillingPeriodRange$, 128 | 0, 0, 0, () => PresentationObject$], 4
724
+ ];
725
+ var CreateCustomLineItemOutput$ = [3, n0, _CCLIO,
726
+ 0,
727
+ [_A],
728
+ [0]
729
+ ];
730
+ var CreateFreeTierConfig$ = [3, n0, _CFTC,
731
+ 0,
732
+ [_Ac],
733
+ [2], 1
734
+ ];
735
+ var CreatePricingPlanInput$ = [3, n0, _CPPI,
736
+ 0,
737
+ [_N, _CTl, _D, _PRA, _T],
738
+ [[() => PricingPlanName, 0], [0, { [_hH]: _XACT, [_iT]: 1 }], [() => PricingPlanDescription, 0], 64 | 0, 128 | 0], 1
739
+ ];
740
+ var CreatePricingPlanOutput$ = [3, n0, _CPPO,
741
+ 0,
742
+ [_A],
743
+ [0]
744
+ ];
745
+ var CreatePricingRuleInput$ = [3, n0, _CPRI,
746
+ 0,
747
+ [_N, _Sc, _Ty, _CTl, _D, _MPo, _Se, _T, _BE, _Ti, _UT, _O],
748
+ [[() => PricingRuleName, 0], 0, 0, [0, { [_hH]: _XACT, [_iT]: 1 }], [() => PricingRuleDescription, 0], 1, 0, 128 | 0, 0, () => CreateTieringInput$, 0, 0], 3
749
+ ];
750
+ var CreatePricingRuleOutput$ = [3, n0, _CPRO,
751
+ 0,
752
+ [_A],
753
+ [0]
754
+ ];
755
+ var CreateTieringInput$ = [3, n0, _CTI,
756
+ 0,
757
+ [_FT],
758
+ [() => CreateFreeTierConfig$], 1
759
+ ];
760
+ var CustomLineItemBillingPeriodRange$ = [3, n0, _CLIBPR,
761
+ 0,
762
+ [_ISBP, _EEBP],
763
+ [0, 0], 1
764
+ ];
765
+ var CustomLineItemChargeDetails$ = [3, n0, _CLICD,
766
+ 0,
767
+ [_Ty, _Fl, _P, _LIF],
768
+ [0, () => CustomLineItemFlatChargeDetails$, () => CustomLineItemPercentageChargeDetails$, () => LineItemFiltersList], 1
769
+ ];
770
+ var CustomLineItemFlatChargeDetails$ = [3, n0, _CLIFCD,
771
+ 0,
772
+ [_CV],
773
+ [1], 1
774
+ ];
775
+ var CustomLineItemListElement$ = [3, n0, _CLILE,
776
+ 0,
777
+ [_A, _N, _CD, _CC, _D, _PCr, _BGA, _CT, _LMT, _AS, _AI, _CR, _PD],
778
+ [0, [() => CustomLineItemName, 0], () => ListCustomLineItemChargeDetails$, 0, [() => CustomLineItemDescription, 0], 0, 0, 1, 1, 1, 0, 0, () => PresentationObject$]
779
+ ];
780
+ var CustomLineItemPercentageChargeDetails$ = [3, n0, _CLIPCD,
781
+ 0,
782
+ [_PV, _AV],
783
+ [1, 64 | 0], 1
784
+ ];
785
+ var CustomLineItemVersionListElement$ = [3, n0, _CLIVLE,
786
+ 0,
787
+ [_N, _CD, _CC, _D, _PCr, _BGA, _CT, _LMT, _AS, _SBP, _EBP, _A, _ST, _AI, _CR, _PD],
788
+ [[() => CustomLineItemName, 0], () => ListCustomLineItemChargeDetails$, 0, [() => CustomLineItemDescription, 0], 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, () => PresentationObject$]
789
+ ];
790
+ var DeleteBillingGroupInput$ = [3, n0, _DBGI,
791
+ 0,
792
+ [_A],
793
+ [0], 1
794
+ ];
795
+ var DeleteBillingGroupOutput$ = [3, n0, _DBGO,
796
+ 0,
797
+ [_A],
798
+ [0]
799
+ ];
800
+ var DeleteCustomLineItemInput$ = [3, n0, _DCLII,
801
+ 0,
802
+ [_A, _BPR],
803
+ [0, () => CustomLineItemBillingPeriodRange$], 1
804
+ ];
805
+ var DeleteCustomLineItemOutput$ = [3, n0, _DCLIO,
806
+ 0,
807
+ [_A],
808
+ [0]
809
+ ];
810
+ var DeletePricingPlanInput$ = [3, n0, _DPPI,
811
+ 0,
812
+ [_A],
813
+ [0], 1
814
+ ];
815
+ var DeletePricingPlanOutput$ = [3, n0, _DPPO,
816
+ 0,
817
+ [_A],
818
+ [0]
819
+ ];
820
+ var DeletePricingRuleInput$ = [3, n0, _DPRI,
821
+ 0,
822
+ [_A],
823
+ [0], 1
824
+ ];
825
+ var DeletePricingRuleOutput$ = [3, n0, _DPRO,
826
+ 0,
827
+ [_A],
828
+ [0]
829
+ ];
830
+ var DisassociateAccountsInput$ = [3, n0, _DAI,
831
+ 0,
832
+ [_A, _AIc],
833
+ [0, 64 | 0], 2
834
+ ];
835
+ var DisassociateAccountsOutput$ = [3, n0, _DAO,
836
+ 0,
837
+ [_A],
838
+ [0]
839
+ ];
840
+ var DisassociatePricingRulesInput$ = [3, n0, _DPRIi,
841
+ 0,
842
+ [_A, _PRA],
843
+ [0, 64 | 0], 2
844
+ ];
845
+ var DisassociatePricingRulesOutput$ = [3, n0, _DPROi,
846
+ 0,
847
+ [_A],
848
+ [0]
849
+ ];
850
+ var DisassociateResourceResponseElement$ = [3, n0, _DRRE,
851
+ 0,
852
+ [_A, _E],
853
+ [0, () => AssociateResourceError$]
854
+ ];
855
+ var FreeTierConfig$ = [3, n0, _FTC,
856
+ 0,
857
+ [_Ac],
858
+ [2], 1
859
+ ];
860
+ var GetBillingGroupCostReportInput$ = [3, n0, _GBGCRI,
861
+ 0,
862
+ [_A, _BPR, _GB, _MR, _NT],
863
+ [0, () => BillingPeriodRange$, 64 | 0, 1, 0], 1
864
+ ];
865
+ var GetBillingGroupCostReportOutput$ = [3, n0, _GBGCRO,
866
+ 0,
867
+ [_BGCRR, _NT],
868
+ [() => BillingGroupCostReportResultsList, 0]
869
+ ];
870
+ var LineItemFilter$ = [3, n0, _LIFi,
871
+ 0,
872
+ [_At, _MO, _Va, _AVt],
873
+ [0, 0, 64 | 0, 64 | 0], 2
874
+ ];
875
+ var ListAccountAssociationsFilter$ = [3, n0, _LAAF,
876
+ 0,
877
+ [_As, _AI, _AIc],
878
+ [0, 0, 64 | 0]
879
+ ];
880
+ var ListAccountAssociationsInput$ = [3, n0, _LAAI,
881
+ 0,
882
+ [_BP, _Fi, _NT],
883
+ [0, () => ListAccountAssociationsFilter$, 0]
884
+ ];
885
+ var ListAccountAssociationsOutput$ = [3, n0, _LAAO,
886
+ 0,
887
+ [_LA, _NT],
888
+ [[() => AccountAssociationsList, 0], 0]
889
+ ];
890
+ var ListBillingGroupAccountGrouping$ = [3, n0, _LBGAG,
891
+ 0,
892
+ [_AA, _RTA],
893
+ [2, 0]
894
+ ];
895
+ var ListBillingGroupCostReportsFilter$ = [3, n0, _LBGCRF,
896
+ 0,
897
+ [_BGAi],
898
+ [64 | 0]
899
+ ];
900
+ var ListBillingGroupCostReportsInput$ = [3, n0, _LBGCRI,
901
+ 0,
902
+ [_BP, _MR, _NT, _Fi],
903
+ [0, 1, 0, () => ListBillingGroupCostReportsFilter$]
904
+ ];
905
+ var ListBillingGroupCostReportsOutput$ = [3, n0, _LBGCRO,
906
+ 0,
907
+ [_BGCR, _NT],
908
+ [() => BillingGroupCostReportList, 0]
909
+ ];
910
+ var ListBillingGroupsFilter$ = [3, n0, _LBGF,
911
+ 0,
912
+ [_Ar, _PP, _Sta, _AA, _PAIr, _BGTi, _Na, _RTAe],
913
+ [64 | 0, 0, 64 | 0, 2, 64 | 0, 64 | 0, () => StringSearches, 64 | 0]
914
+ ];
915
+ var ListBillingGroupsInput$ = [3, n0, _LBGI,
916
+ 0,
917
+ [_BP, _MR, _NT, _Fi],
918
+ [0, 1, 0, () => ListBillingGroupsFilter$]
919
+ ];
920
+ var ListBillingGroupsOutput$ = [3, n0, _LBGO,
921
+ 0,
922
+ [_BG, _NT],
923
+ [[() => BillingGroupList, 0], 0]
924
+ ];
925
+ var ListCustomLineItemChargeDetails$ = [3, n0, _LCLICD,
926
+ 0,
927
+ [_Ty, _Fl, _P, _LIF],
928
+ [0, () => ListCustomLineItemFlatChargeDetails$, () => ListCustomLineItemPercentageChargeDetails$, () => LineItemFiltersList], 1
929
+ ];
930
+ var ListCustomLineItemFlatChargeDetails$ = [3, n0, _LCLIFCD,
931
+ 0,
932
+ [_CV],
933
+ [1], 1
934
+ ];
935
+ var ListCustomLineItemPercentageChargeDetails$ = [3, n0, _LCLIPCD,
936
+ 0,
937
+ [_PV],
938
+ [1], 1
939
+ ];
940
+ var ListCustomLineItemsFilter$ = [3, n0, _LCLIF,
941
+ 0,
942
+ [_Na, _BG, _Ar, _AIc],
943
+ [[() => CustomLineItemNameList, 0], 64 | 0, 64 | 0, 64 | 0]
944
+ ];
945
+ var ListCustomLineItemsInput$ = [3, n0, _LCLII,
946
+ 0,
947
+ [_BP, _MR, _NT, _Fi],
948
+ [0, 1, 0, [() => ListCustomLineItemsFilter$, 0]]
949
+ ];
950
+ var ListCustomLineItemsOutput$ = [3, n0, _LCLIO,
951
+ 0,
952
+ [_CLI, _NT],
953
+ [[() => CustomLineItemList, 0], 0]
954
+ ];
955
+ var ListCustomLineItemVersionsBillingPeriodRangeFilter$ = [3, n0, _LCLIVBPRF,
956
+ 0,
957
+ [_SBP, _EBP],
958
+ [0, 0]
959
+ ];
960
+ var ListCustomLineItemVersionsFilter$ = [3, n0, _LCLIVF,
961
+ 0,
962
+ [_BPR],
963
+ [() => ListCustomLineItemVersionsBillingPeriodRangeFilter$]
964
+ ];
965
+ var ListCustomLineItemVersionsInput$ = [3, n0, _LCLIVI,
966
+ 0,
967
+ [_A, _MR, _NT, _Fi],
968
+ [0, 1, 0, () => ListCustomLineItemVersionsFilter$], 1
969
+ ];
970
+ var ListCustomLineItemVersionsOutput$ = [3, n0, _LCLIVO,
971
+ 0,
972
+ [_CLIV, _NT],
973
+ [[() => CustomLineItemVersionList, 0], 0]
974
+ ];
975
+ var ListPricingPlansAssociatedWithPricingRuleInput$ = [3, n0, _LPPAWPRI,
976
+ 0,
977
+ [_PRAr, _BP, _MR, _NT],
978
+ [0, 0, 1, 0], 1
979
+ ];
980
+ var ListPricingPlansAssociatedWithPricingRuleOutput$ = [3, n0, _LPPAWPRO,
981
+ 0,
982
+ [_BP, _PRAr, _PPAr, _NT],
983
+ [0, 0, 64 | 0, 0]
984
+ ];
985
+ var ListPricingPlansFilter$ = [3, n0, _LPPF,
986
+ 0,
987
+ [_Ar],
988
+ [64 | 0]
989
+ ];
990
+ var ListPricingPlansInput$ = [3, n0, _LPPI,
991
+ 0,
992
+ [_BP, _Fi, _MR, _NT],
993
+ [0, () => ListPricingPlansFilter$, 1, 0]
994
+ ];
995
+ var ListPricingPlansOutput$ = [3, n0, _LPPO,
996
+ 0,
997
+ [_BP, _PPr, _NT],
998
+ [0, [() => PricingPlanList, 0], 0]
999
+ ];
1000
+ var ListPricingRulesAssociatedToPricingPlanInput$ = [3, n0, _LPRATPPI,
1001
+ 0,
1002
+ [_PPA, _BP, _MR, _NT],
1003
+ [0, 0, 1, 0], 1
1004
+ ];
1005
+ var ListPricingRulesAssociatedToPricingPlanOutput$ = [3, n0, _LPRATPPO,
1006
+ 0,
1007
+ [_BP, _PPA, _PRA, _NT],
1008
+ [0, 0, 64 | 0, 0]
1009
+ ];
1010
+ var ListPricingRulesFilter$ = [3, n0, _LPRF,
1011
+ 0,
1012
+ [_Ar],
1013
+ [64 | 0]
1014
+ ];
1015
+ var ListPricingRulesInput$ = [3, n0, _LPRI,
1016
+ 0,
1017
+ [_BP, _Fi, _MR, _NT],
1018
+ [0, () => ListPricingRulesFilter$, 1, 0]
1019
+ ];
1020
+ var ListPricingRulesOutput$ = [3, n0, _LPRO,
1021
+ 0,
1022
+ [_BP, _PR, _NT],
1023
+ [0, [() => PricingRuleList, 0], 0]
1024
+ ];
1025
+ var ListResourcesAssociatedToCustomLineItemFilter$ = [3, n0, _LRATCLIF,
1026
+ 0,
1027
+ [_Re],
1028
+ [0]
1029
+ ];
1030
+ var ListResourcesAssociatedToCustomLineItemInput$ = [3, n0, _LRATCLII,
1031
+ 0,
1032
+ [_A, _BP, _MR, _NT, _Fi],
1033
+ [0, 0, 1, 0, () => ListResourcesAssociatedToCustomLineItemFilter$], 1
1034
+ ];
1035
+ var ListResourcesAssociatedToCustomLineItemOutput$ = [3, n0, _LRATCLIO,
1036
+ 0,
1037
+ [_A, _AR, _NT],
1038
+ [0, () => ListResourcesAssociatedToCustomLineItemResponseList, 0]
1039
+ ];
1040
+ var ListResourcesAssociatedToCustomLineItemResponseElement$ = [3, n0, _LRATCLIRE,
1041
+ 0,
1042
+ [_A, _Re, _EBP],
1043
+ [0, 0, 0]
1044
+ ];
1045
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
1046
+ 0,
1047
+ [_RAes],
1048
+ [[0, 1]], 1
1049
+ ];
1050
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
1051
+ 0,
1052
+ [_T],
1053
+ [128 | 0]
1054
+ ];
1055
+ var PresentationObject$ = [3, n0, _PO,
1056
+ 0,
1057
+ [_Se],
1058
+ [0], 1
1059
+ ];
1060
+ var PricingPlanListElement$ = [3, n0, _PPLE,
1061
+ 0,
1062
+ [_N, _A, _D, _S, _CT, _LMT],
1063
+ [[() => PricingPlanName, 0], 0, [() => PricingPlanDescription, 0], 1, 1, 1]
1064
+ ];
1065
+ var PricingRuleListElement$ = [3, n0, _PRLE,
1066
+ 0,
1067
+ [_N, _A, _D, _Sc, _Ty, _MPo, _Se, _APPC, _CT, _LMT, _BE, _Ti, _UT, _O],
1068
+ [[() => PricingRuleName, 0], 0, [() => PricingRuleDescription, 0], 0, 0, 1, 0, 1, 1, 1, 0, () => Tiering$, 0, 0]
1069
+ ];
1070
+ var StringSearch$ = [3, n0, _SS,
1071
+ 0,
1072
+ [_SO, _SV],
1073
+ [0, 0], 2
1074
+ ];
1075
+ var TagResourceRequest$ = [3, n0, _TRR,
1076
+ 0,
1077
+ [_RAes, _T],
1078
+ [[0, 1], 128 | 0], 2
1079
+ ];
1080
+ var TagResourceResponse$ = [3, n0, _TRRa,
1081
+ 0,
1082
+ [],
1083
+ []
1084
+ ];
1085
+ var Tiering$ = [3, n0, _Ti,
1086
+ 0,
1087
+ [_FT],
1088
+ [() => FreeTierConfig$], 1
1089
+ ];
1090
+ var UntagResourceRequest$ = [3, n0, _URR,
1091
+ 0,
1092
+ [_RAes, _TK],
1093
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
1094
+ ];
1095
+ var UntagResourceResponse$ = [3, n0, _URRn,
1096
+ 0,
1097
+ [],
1098
+ []
1099
+ ];
1100
+ var UpdateBillingGroupAccountGrouping$ = [3, n0, _UBGAG,
1101
+ 0,
1102
+ [_AA, _RTA],
1103
+ [2, 0]
1104
+ ];
1105
+ var UpdateBillingGroupInput$ = [3, n0, _UBGI,
1106
+ 0,
1107
+ [_A, _N, _St, _CP, _D, _AG],
1108
+ [0, [() => BillingGroupName, 0], 0, () => ComputationPreference$, [() => BillingGroupDescription, 0], () => UpdateBillingGroupAccountGrouping$], 1
1109
+ ];
1110
+ var UpdateBillingGroupOutput$ = [3, n0, _UBGO,
1111
+ 0,
1112
+ [_A, _N, _D, _PAI, _PPA, _S, _LMT, _St, _SR, _AG],
1113
+ [0, [() => BillingGroupName, 0], [() => BillingGroupDescription, 0], 0, 0, 1, 1, 0, 0, () => UpdateBillingGroupAccountGrouping$]
1114
+ ];
1115
+ var UpdateCustomLineItemChargeDetails$ = [3, n0, _UCLICD,
1116
+ 0,
1117
+ [_Fl, _P, _LIF],
1118
+ [() => UpdateCustomLineItemFlatChargeDetails$, () => UpdateCustomLineItemPercentageChargeDetails$, () => LineItemFiltersList]
1119
+ ];
1120
+ var UpdateCustomLineItemFlatChargeDetails$ = [3, n0, _UCLIFCD,
1121
+ 0,
1122
+ [_CV],
1123
+ [1], 1
1124
+ ];
1125
+ var UpdateCustomLineItemInput$ = [3, n0, _UCLII,
1126
+ 0,
1127
+ [_A, _N, _D, _CD, _BPR],
1128
+ [0, [() => CustomLineItemName, 0], [() => CustomLineItemDescription, 0], () => UpdateCustomLineItemChargeDetails$, () => CustomLineItemBillingPeriodRange$], 1
1129
+ ];
1130
+ var UpdateCustomLineItemOutput$ = [3, n0, _UCLIO,
1131
+ 0,
1132
+ [_A, _BGA, _N, _D, _CD, _LMT, _AS],
1133
+ [0, 0, [() => CustomLineItemName, 0], [() => CustomLineItemDescription, 0], () => ListCustomLineItemChargeDetails$, 1, 1]
1134
+ ];
1135
+ var UpdateCustomLineItemPercentageChargeDetails$ = [3, n0, _UCLIPCD,
1136
+ 0,
1137
+ [_PV],
1138
+ [1], 1
1139
+ ];
1140
+ var UpdateFreeTierConfig$ = [3, n0, _UFTC,
1141
+ 0,
1142
+ [_Ac],
1143
+ [2], 1
1144
+ ];
1145
+ var UpdatePricingPlanInput$ = [3, n0, _UPPI,
1146
+ 0,
1147
+ [_A, _N, _D],
1148
+ [0, [() => PricingPlanName, 0], [() => PricingPlanDescription, 0]], 1
1149
+ ];
1150
+ var UpdatePricingPlanOutput$ = [3, n0, _UPPO,
1151
+ 0,
1152
+ [_A, _N, _D, _S, _LMT],
1153
+ [0, [() => PricingPlanName, 0], [() => PricingPlanDescription, 0], 1, 1]
1154
+ ];
1155
+ var UpdatePricingRuleInput$ = [3, n0, _UPRI,
1156
+ 0,
1157
+ [_A, _N, _D, _Ty, _MPo, _Ti],
1158
+ [0, [() => PricingRuleName, 0], [() => PricingRuleDescription, 0], 0, 1, () => UpdateTieringInput$], 1
1159
+ ];
1160
+ var UpdatePricingRuleOutput$ = [3, n0, _UPRO,
1161
+ 0,
1162
+ [_A, _N, _D, _Sc, _Ty, _MPo, _Se, _APPC, _LMT, _BE, _Ti, _UT, _O],
1163
+ [0, [() => PricingRuleName, 0], [() => PricingRuleDescription, 0], 0, 0, 1, 0, 1, 1, 0, () => UpdateTieringInput$, 0, 0]
1164
+ ];
1165
+ var UpdateTieringInput$ = [3, n0, _UTI,
1166
+ 0,
1167
+ [_FT],
1168
+ [() => UpdateFreeTierConfig$], 1
1169
+ ];
1170
+ var ValidationExceptionField$ = [3, n0, _VEF,
1171
+ 0,
1172
+ [_N, _M],
1173
+ [0, 0], 2
1174
+ ];
1175
+ var AccountAssociationsList = [1, n0, _AAL,
1176
+ 0, [() => AccountAssociationsListElement$,
1177
+ 0]
1178
+ ];
1179
+ var AssociateResourcesResponseList = [1, n0, _ARRL,
1180
+ 0, () => AssociateResourceResponseElement$
1181
+ ];
1182
+ var AttributesList = [1, n0, _AL,
1183
+ 0, () => Attribute$
1184
+ ];
1185
+ var BillingGroupCostReportList = [1, n0, _BGCRL,
1186
+ 0, () => BillingGroupCostReportElement$
1187
+ ];
1188
+ var BillingGroupCostReportResultsList = [1, n0, _BGCRRL,
1189
+ 0, () => BillingGroupCostReportResultElement$
1190
+ ];
1191
+ var BillingGroupList = [1, n0, _BGL,
1192
+ 0, [() => BillingGroupListElement$,
1193
+ 0]
1194
+ ];
1195
+ var CustomLineItemList = [1, n0, _CLIL,
1196
+ 0, [() => CustomLineItemListElement$,
1197
+ 0]
1198
+ ];
1199
+ var CustomLineItemNameList = [1, n0, _CLINL,
1200
+ 0, [() => CustomLineItemName,
1201
+ 0]
1202
+ ];
1203
+ var CustomLineItemVersionList = [1, n0, _CLIVL,
1204
+ 0, [() => CustomLineItemVersionListElement$,
1205
+ 0]
1206
+ ];
1207
+ var DisassociateResourcesResponseList = [1, n0, _DRRL,
1208
+ 0, () => DisassociateResourceResponseElement$
1209
+ ];
1210
+ var LineItemFiltersList = [1, n0, _LIFL,
1211
+ 0, () => LineItemFilter$
1212
+ ];
1213
+ var ListResourcesAssociatedToCustomLineItemResponseList = [1, n0, _LRATCLIRL,
1214
+ 0, () => ListResourcesAssociatedToCustomLineItemResponseElement$
1215
+ ];
1216
+ var PricingPlanList = [1, n0, _PPL,
1217
+ 0, [() => PricingPlanListElement$,
1218
+ 0]
1219
+ ];
1220
+ var PricingRuleList = [1, n0, _PRL,
1221
+ 0, [() => PricingRuleListElement$,
1222
+ 0]
1223
+ ];
1224
+ var StringSearches = [1, n0, _SSt,
1225
+ 0, () => StringSearch$
1226
+ ];
1227
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
1228
+ 0, () => ValidationExceptionField$
1229
+ ];
1230
+ var AssociateAccounts$ = [9, n0, _AAs,
1231
+ { [_h]: ["POST", "/associate-accounts", 200] }, () => AssociateAccountsInput$, () => AssociateAccountsOutput$
1232
+ ];
1233
+ var AssociatePricingRules$ = [9, n0, _APR,
1234
+ { [_h]: ["PUT", "/associate-pricing-rules", 200] }, () => AssociatePricingRulesInput$, () => AssociatePricingRulesOutput$
1235
+ ];
1236
+ var BatchAssociateResourcesToCustomLineItem$ = [9, n0, _BARTCLI,
1237
+ { [_h]: ["PUT", "/batch-associate-resources-to-custom-line-item", 200] }, () => BatchAssociateResourcesToCustomLineItemInput$, () => BatchAssociateResourcesToCustomLineItemOutput$
1238
+ ];
1239
+ var BatchDisassociateResourcesFromCustomLineItem$ = [9, n0, _BDRFCLI,
1240
+ { [_h]: ["PUT", "/batch-disassociate-resources-from-custom-line-item", 200] }, () => BatchDisassociateResourcesFromCustomLineItemInput$, () => BatchDisassociateResourcesFromCustomLineItemOutput$
1241
+ ];
1242
+ var CreateBillingGroup$ = [9, n0, _CBG,
1243
+ { [_h]: ["POST", "/create-billing-group", 200] }, () => CreateBillingGroupInput$, () => CreateBillingGroupOutput$
1244
+ ];
1245
+ var CreateCustomLineItem$ = [9, n0, _CCLI,
1246
+ { [_h]: ["POST", "/create-custom-line-item", 200] }, () => CreateCustomLineItemInput$, () => CreateCustomLineItemOutput$
1247
+ ];
1248
+ var CreatePricingPlan$ = [9, n0, _CPP,
1249
+ { [_h]: ["POST", "/create-pricing-plan", 200] }, () => CreatePricingPlanInput$, () => CreatePricingPlanOutput$
1250
+ ];
1251
+ var CreatePricingRule$ = [9, n0, _CPR,
1252
+ { [_h]: ["POST", "/create-pricing-rule", 200] }, () => CreatePricingRuleInput$, () => CreatePricingRuleOutput$
1253
+ ];
1254
+ var DeleteBillingGroup$ = [9, n0, _DBG,
1255
+ { [_h]: ["POST", "/delete-billing-group", 200] }, () => DeleteBillingGroupInput$, () => DeleteBillingGroupOutput$
1256
+ ];
1257
+ var DeleteCustomLineItem$ = [9, n0, _DCLI,
1258
+ { [_h]: ["POST", "/delete-custom-line-item", 200] }, () => DeleteCustomLineItemInput$, () => DeleteCustomLineItemOutput$
1259
+ ];
1260
+ var DeletePricingPlan$ = [9, n0, _DPP,
1261
+ { [_h]: ["POST", "/delete-pricing-plan", 200] }, () => DeletePricingPlanInput$, () => DeletePricingPlanOutput$
1262
+ ];
1263
+ var DeletePricingRule$ = [9, n0, _DPR,
1264
+ { [_h]: ["POST", "/delete-pricing-rule", 200] }, () => DeletePricingRuleInput$, () => DeletePricingRuleOutput$
1265
+ ];
1266
+ var DisassociateAccounts$ = [9, n0, _DA,
1267
+ { [_h]: ["POST", "/disassociate-accounts", 200] }, () => DisassociateAccountsInput$, () => DisassociateAccountsOutput$
1268
+ ];
1269
+ var DisassociatePricingRules$ = [9, n0, _DPRi,
1270
+ { [_h]: ["PUT", "/disassociate-pricing-rules", 200] }, () => DisassociatePricingRulesInput$, () => DisassociatePricingRulesOutput$
1271
+ ];
1272
+ var GetBillingGroupCostReport$ = [9, n0, _GBGCR,
1273
+ { [_h]: ["POST", "/get-billing-group-cost-report", 200] }, () => GetBillingGroupCostReportInput$, () => GetBillingGroupCostReportOutput$
1274
+ ];
1275
+ var ListAccountAssociations$ = [9, n0, _LAA,
1276
+ { [_h]: ["POST", "/list-account-associations", 200] }, () => ListAccountAssociationsInput$, () => ListAccountAssociationsOutput$
1277
+ ];
1278
+ var ListBillingGroupCostReports$ = [9, n0, _LBGCR,
1279
+ { [_h]: ["POST", "/list-billing-group-cost-reports", 200] }, () => ListBillingGroupCostReportsInput$, () => ListBillingGroupCostReportsOutput$
1280
+ ];
1281
+ var ListBillingGroups$ = [9, n0, _LBG,
1282
+ { [_h]: ["POST", "/list-billing-groups", 200] }, () => ListBillingGroupsInput$, () => ListBillingGroupsOutput$
1283
+ ];
1284
+ var ListCustomLineItems$ = [9, n0, _LCLI,
1285
+ { [_h]: ["POST", "/list-custom-line-items", 200] }, () => ListCustomLineItemsInput$, () => ListCustomLineItemsOutput$
1286
+ ];
1287
+ var ListCustomLineItemVersions$ = [9, n0, _LCLIV,
1288
+ { [_h]: ["POST", "/list-custom-line-item-versions", 200] }, () => ListCustomLineItemVersionsInput$, () => ListCustomLineItemVersionsOutput$
1289
+ ];
1290
+ var ListPricingPlans$ = [9, n0, _LPP,
1291
+ { [_h]: ["POST", "/list-pricing-plans", 200] }, () => ListPricingPlansInput$, () => ListPricingPlansOutput$
1292
+ ];
1293
+ var ListPricingPlansAssociatedWithPricingRule$ = [9, n0, _LPPAWPR,
1294
+ { [_h]: ["POST", "/list-pricing-plans-associated-with-pricing-rule", 200] }, () => ListPricingPlansAssociatedWithPricingRuleInput$, () => ListPricingPlansAssociatedWithPricingRuleOutput$
1295
+ ];
1296
+ var ListPricingRules$ = [9, n0, _LPR,
1297
+ { [_h]: ["POST", "/list-pricing-rules", 200] }, () => ListPricingRulesInput$, () => ListPricingRulesOutput$
1298
+ ];
1299
+ var ListPricingRulesAssociatedToPricingPlan$ = [9, n0, _LPRATPP,
1300
+ { [_h]: ["POST", "/list-pricing-rules-associated-to-pricing-plan", 200] }, () => ListPricingRulesAssociatedToPricingPlanInput$, () => ListPricingRulesAssociatedToPricingPlanOutput$
1301
+ ];
1302
+ var ListResourcesAssociatedToCustomLineItem$ = [9, n0, _LRATCLI,
1303
+ { [_h]: ["POST", "/list-resources-associated-to-custom-line-item", 200] }, () => ListResourcesAssociatedToCustomLineItemInput$, () => ListResourcesAssociatedToCustomLineItemOutput$
1304
+ ];
1305
+ var ListTagsForResource$ = [9, n0, _LTFR,
1306
+ { [_h]: ["GET", "/tags/{ResourceArn}", 204] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
1307
+ ];
1308
+ var TagResource$ = [9, n0, _TR,
1309
+ { [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () => TagResourceRequest$, () => TagResourceResponse$
1310
+ ];
1311
+ var UntagResource$ = [9, n0, _UR,
1312
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => UntagResourceRequest$, () => UntagResourceResponse$
1313
+ ];
1314
+ var UpdateBillingGroup$ = [9, n0, _UBG,
1315
+ { [_h]: ["POST", "/update-billing-group", 200] }, () => UpdateBillingGroupInput$, () => UpdateBillingGroupOutput$
1316
+ ];
1317
+ var UpdateCustomLineItem$ = [9, n0, _UCLI,
1318
+ { [_h]: ["POST", "/update-custom-line-item", 200] }, () => UpdateCustomLineItemInput$, () => UpdateCustomLineItemOutput$
1319
+ ];
1320
+ var UpdatePricingPlan$ = [9, n0, _UPP,
1321
+ { [_h]: ["PUT", "/update-pricing-plan", 200] }, () => UpdatePricingPlanInput$, () => UpdatePricingPlanOutput$
1322
+ ];
1323
+ var UpdatePricingRule$ = [9, n0, _UPR,
1324
+ { [_h]: ["PUT", "/update-pricing-rule", 200] }, () => UpdatePricingRuleInput$, () => UpdatePricingRuleOutput$
1325
+ ];
1326
+
1327
+ const getRuntimeConfig$1 = (config) => {
1328
+ return {
1329
+ apiVersion: "2021-07-30",
1330
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1331
+ base64Encoder: config?.base64Encoder ?? toBase64,
1332
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1333
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1334
+ extensions: config?.extensions ?? [],
1335
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultBillingconductorHttpAuthSchemeProvider,
1336
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1337
+ {
1338
+ schemeId: "aws.auth#sigv4",
1339
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1340
+ signer: new AwsSdkSigV4Signer(),
1341
+ },
1342
+ ],
1343
+ logger: config?.logger ?? new NoOpLogger(),
1344
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1345
+ protocolSettings: config?.protocolSettings ?? {
1346
+ defaultNamespace: "com.amazonaws.billingconductor",
1347
+ errorTypeRegistries,
1348
+ version: "2021-07-30",
1349
+ serviceTarget: "AWSBillingConductor",
1350
+ },
1351
+ serviceId: config?.serviceId ?? "billingconductor",
1352
+ sha256: config?.sha256 ?? Sha256,
1353
+ urlParser: config?.urlParser ?? parseUrl,
1354
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1355
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1356
+ };
1357
+ };
1358
+
1359
+ const getRuntimeConfig = (config) => {
1360
+ emitWarningIfUnsupportedVersion(process.version);
1361
+ const defaultsMode = resolveDefaultsModeConfig(config);
1362
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1363
+ const clientSharedValues = getRuntimeConfig$1(config);
1364
+ emitWarningIfUnsupportedVersion$1(process.version);
1365
+ const loaderConfig = {
1366
+ profile: config?.profile,
1367
+ logger: clientSharedValues.logger,
1368
+ };
1369
+ return {
1370
+ ...clientSharedValues,
1371
+ ...config,
1372
+ runtime: "node",
1373
+ defaultsMode,
1374
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1375
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1376
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1377
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1378
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1379
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1380
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1381
+ retryMode: config?.retryMode ??
1382
+ loadConfig({
1383
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1384
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1385
+ }, config),
1386
+ streamCollector: config?.streamCollector ?? streamCollector,
1387
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1388
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1389
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1390
+ };
1391
+ };
1392
+
34
1393
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1394
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1395
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -705,56 +2064,216 @@ const PricingRuleType = {
705
2064
  TIERING: "TIERING",
706
2065
  };
707
2066
 
2067
+ exports.AccessDeniedException = AccessDeniedException;
2068
+ exports.AccessDeniedException$ = AccessDeniedException$;
2069
+ exports.AccountAssociationsListElement$ = AccountAssociationsListElement$;
2070
+ exports.AccountGrouping$ = AccountGrouping$;
2071
+ exports.AssociateAccounts$ = AssociateAccounts$;
708
2072
  exports.AssociateAccountsCommand = AssociateAccountsCommand;
2073
+ exports.AssociateAccountsInput$ = AssociateAccountsInput$;
2074
+ exports.AssociateAccountsOutput$ = AssociateAccountsOutput$;
2075
+ exports.AssociatePricingRules$ = AssociatePricingRules$;
709
2076
  exports.AssociatePricingRulesCommand = AssociatePricingRulesCommand;
2077
+ exports.AssociatePricingRulesInput$ = AssociatePricingRulesInput$;
2078
+ exports.AssociatePricingRulesOutput$ = AssociatePricingRulesOutput$;
2079
+ exports.AssociateResourceError$ = AssociateResourceError$;
710
2080
  exports.AssociateResourceErrorReason = AssociateResourceErrorReason;
2081
+ exports.AssociateResourceResponseElement$ = AssociateResourceResponseElement$;
2082
+ exports.Attribute$ = Attribute$;
2083
+ exports.BatchAssociateResourcesToCustomLineItem$ = BatchAssociateResourcesToCustomLineItem$;
711
2084
  exports.BatchAssociateResourcesToCustomLineItemCommand = BatchAssociateResourcesToCustomLineItemCommand;
2085
+ exports.BatchAssociateResourcesToCustomLineItemInput$ = BatchAssociateResourcesToCustomLineItemInput$;
2086
+ exports.BatchAssociateResourcesToCustomLineItemOutput$ = BatchAssociateResourcesToCustomLineItemOutput$;
2087
+ exports.BatchDisassociateResourcesFromCustomLineItem$ = BatchDisassociateResourcesFromCustomLineItem$;
712
2088
  exports.BatchDisassociateResourcesFromCustomLineItemCommand = BatchDisassociateResourcesFromCustomLineItemCommand;
2089
+ exports.BatchDisassociateResourcesFromCustomLineItemInput$ = BatchDisassociateResourcesFromCustomLineItemInput$;
2090
+ exports.BatchDisassociateResourcesFromCustomLineItemOutput$ = BatchDisassociateResourcesFromCustomLineItemOutput$;
2091
+ exports.BillingGroupCostReportElement$ = BillingGroupCostReportElement$;
2092
+ exports.BillingGroupCostReportResultElement$ = BillingGroupCostReportResultElement$;
2093
+ exports.BillingGroupListElement$ = BillingGroupListElement$;
713
2094
  exports.BillingGroupStatus = BillingGroupStatus;
714
2095
  exports.BillingGroupType = BillingGroupType;
2096
+ exports.BillingPeriodRange$ = BillingPeriodRange$;
715
2097
  exports.Billingconductor = Billingconductor;
716
2098
  exports.BillingconductorClient = BillingconductorClient;
2099
+ exports.BillingconductorServiceException = BillingconductorServiceException;
2100
+ exports.BillingconductorServiceException$ = BillingconductorServiceException$;
2101
+ exports.ComputationPreference$ = ComputationPreference$;
717
2102
  exports.ComputationRuleEnum = ComputationRuleEnum;
2103
+ exports.ConflictException = ConflictException;
2104
+ exports.ConflictException$ = ConflictException$;
718
2105
  exports.ConflictExceptionReason = ConflictExceptionReason;
2106
+ exports.CreateBillingGroup$ = CreateBillingGroup$;
719
2107
  exports.CreateBillingGroupCommand = CreateBillingGroupCommand;
2108
+ exports.CreateBillingGroupInput$ = CreateBillingGroupInput$;
2109
+ exports.CreateBillingGroupOutput$ = CreateBillingGroupOutput$;
2110
+ exports.CreateCustomLineItem$ = CreateCustomLineItem$;
720
2111
  exports.CreateCustomLineItemCommand = CreateCustomLineItemCommand;
2112
+ exports.CreateCustomLineItemInput$ = CreateCustomLineItemInput$;
2113
+ exports.CreateCustomLineItemOutput$ = CreateCustomLineItemOutput$;
2114
+ exports.CreateFreeTierConfig$ = CreateFreeTierConfig$;
2115
+ exports.CreatePricingPlan$ = CreatePricingPlan$;
721
2116
  exports.CreatePricingPlanCommand = CreatePricingPlanCommand;
2117
+ exports.CreatePricingPlanInput$ = CreatePricingPlanInput$;
2118
+ exports.CreatePricingPlanOutput$ = CreatePricingPlanOutput$;
2119
+ exports.CreatePricingRule$ = CreatePricingRule$;
722
2120
  exports.CreatePricingRuleCommand = CreatePricingRuleCommand;
2121
+ exports.CreatePricingRuleInput$ = CreatePricingRuleInput$;
2122
+ exports.CreatePricingRuleOutput$ = CreatePricingRuleOutput$;
2123
+ exports.CreateTieringInput$ = CreateTieringInput$;
723
2124
  exports.CurrencyCode = CurrencyCode;
2125
+ exports.CustomLineItemBillingPeriodRange$ = CustomLineItemBillingPeriodRange$;
2126
+ exports.CustomLineItemChargeDetails$ = CustomLineItemChargeDetails$;
2127
+ exports.CustomLineItemFlatChargeDetails$ = CustomLineItemFlatChargeDetails$;
2128
+ exports.CustomLineItemListElement$ = CustomLineItemListElement$;
2129
+ exports.CustomLineItemPercentageChargeDetails$ = CustomLineItemPercentageChargeDetails$;
724
2130
  exports.CustomLineItemRelationship = CustomLineItemRelationship;
725
2131
  exports.CustomLineItemType = CustomLineItemType;
2132
+ exports.CustomLineItemVersionListElement$ = CustomLineItemVersionListElement$;
2133
+ exports.DeleteBillingGroup$ = DeleteBillingGroup$;
726
2134
  exports.DeleteBillingGroupCommand = DeleteBillingGroupCommand;
2135
+ exports.DeleteBillingGroupInput$ = DeleteBillingGroupInput$;
2136
+ exports.DeleteBillingGroupOutput$ = DeleteBillingGroupOutput$;
2137
+ exports.DeleteCustomLineItem$ = DeleteCustomLineItem$;
727
2138
  exports.DeleteCustomLineItemCommand = DeleteCustomLineItemCommand;
2139
+ exports.DeleteCustomLineItemInput$ = DeleteCustomLineItemInput$;
2140
+ exports.DeleteCustomLineItemOutput$ = DeleteCustomLineItemOutput$;
2141
+ exports.DeletePricingPlan$ = DeletePricingPlan$;
728
2142
  exports.DeletePricingPlanCommand = DeletePricingPlanCommand;
2143
+ exports.DeletePricingPlanInput$ = DeletePricingPlanInput$;
2144
+ exports.DeletePricingPlanOutput$ = DeletePricingPlanOutput$;
2145
+ exports.DeletePricingRule$ = DeletePricingRule$;
729
2146
  exports.DeletePricingRuleCommand = DeletePricingRuleCommand;
2147
+ exports.DeletePricingRuleInput$ = DeletePricingRuleInput$;
2148
+ exports.DeletePricingRuleOutput$ = DeletePricingRuleOutput$;
2149
+ exports.DisassociateAccounts$ = DisassociateAccounts$;
730
2150
  exports.DisassociateAccountsCommand = DisassociateAccountsCommand;
2151
+ exports.DisassociateAccountsInput$ = DisassociateAccountsInput$;
2152
+ exports.DisassociateAccountsOutput$ = DisassociateAccountsOutput$;
2153
+ exports.DisassociatePricingRules$ = DisassociatePricingRules$;
731
2154
  exports.DisassociatePricingRulesCommand = DisassociatePricingRulesCommand;
2155
+ exports.DisassociatePricingRulesInput$ = DisassociatePricingRulesInput$;
2156
+ exports.DisassociatePricingRulesOutput$ = DisassociatePricingRulesOutput$;
2157
+ exports.DisassociateResourceResponseElement$ = DisassociateResourceResponseElement$;
2158
+ exports.FreeTierConfig$ = FreeTierConfig$;
2159
+ exports.GetBillingGroupCostReport$ = GetBillingGroupCostReport$;
732
2160
  exports.GetBillingGroupCostReportCommand = GetBillingGroupCostReportCommand;
2161
+ exports.GetBillingGroupCostReportInput$ = GetBillingGroupCostReportInput$;
2162
+ exports.GetBillingGroupCostReportOutput$ = GetBillingGroupCostReportOutput$;
733
2163
  exports.GroupByAttributeName = GroupByAttributeName;
2164
+ exports.InternalServerException = InternalServerException;
2165
+ exports.InternalServerException$ = InternalServerException$;
2166
+ exports.LineItemFilter$ = LineItemFilter$;
734
2167
  exports.LineItemFilterAttributeName = LineItemFilterAttributeName;
735
2168
  exports.LineItemFilterValue = LineItemFilterValue;
2169
+ exports.ListAccountAssociations$ = ListAccountAssociations$;
736
2170
  exports.ListAccountAssociationsCommand = ListAccountAssociationsCommand;
2171
+ exports.ListAccountAssociationsFilter$ = ListAccountAssociationsFilter$;
2172
+ exports.ListAccountAssociationsInput$ = ListAccountAssociationsInput$;
2173
+ exports.ListAccountAssociationsOutput$ = ListAccountAssociationsOutput$;
2174
+ exports.ListBillingGroupAccountGrouping$ = ListBillingGroupAccountGrouping$;
2175
+ exports.ListBillingGroupCostReports$ = ListBillingGroupCostReports$;
737
2176
  exports.ListBillingGroupCostReportsCommand = ListBillingGroupCostReportsCommand;
2177
+ exports.ListBillingGroupCostReportsFilter$ = ListBillingGroupCostReportsFilter$;
2178
+ exports.ListBillingGroupCostReportsInput$ = ListBillingGroupCostReportsInput$;
2179
+ exports.ListBillingGroupCostReportsOutput$ = ListBillingGroupCostReportsOutput$;
2180
+ exports.ListBillingGroups$ = ListBillingGroups$;
738
2181
  exports.ListBillingGroupsCommand = ListBillingGroupsCommand;
2182
+ exports.ListBillingGroupsFilter$ = ListBillingGroupsFilter$;
2183
+ exports.ListBillingGroupsInput$ = ListBillingGroupsInput$;
2184
+ exports.ListBillingGroupsOutput$ = ListBillingGroupsOutput$;
2185
+ exports.ListCustomLineItemChargeDetails$ = ListCustomLineItemChargeDetails$;
2186
+ exports.ListCustomLineItemFlatChargeDetails$ = ListCustomLineItemFlatChargeDetails$;
2187
+ exports.ListCustomLineItemPercentageChargeDetails$ = ListCustomLineItemPercentageChargeDetails$;
2188
+ exports.ListCustomLineItemVersions$ = ListCustomLineItemVersions$;
2189
+ exports.ListCustomLineItemVersionsBillingPeriodRangeFilter$ = ListCustomLineItemVersionsBillingPeriodRangeFilter$;
739
2190
  exports.ListCustomLineItemVersionsCommand = ListCustomLineItemVersionsCommand;
2191
+ exports.ListCustomLineItemVersionsFilter$ = ListCustomLineItemVersionsFilter$;
2192
+ exports.ListCustomLineItemVersionsInput$ = ListCustomLineItemVersionsInput$;
2193
+ exports.ListCustomLineItemVersionsOutput$ = ListCustomLineItemVersionsOutput$;
2194
+ exports.ListCustomLineItems$ = ListCustomLineItems$;
740
2195
  exports.ListCustomLineItemsCommand = ListCustomLineItemsCommand;
2196
+ exports.ListCustomLineItemsFilter$ = ListCustomLineItemsFilter$;
2197
+ exports.ListCustomLineItemsInput$ = ListCustomLineItemsInput$;
2198
+ exports.ListCustomLineItemsOutput$ = ListCustomLineItemsOutput$;
2199
+ exports.ListPricingPlans$ = ListPricingPlans$;
2200
+ exports.ListPricingPlansAssociatedWithPricingRule$ = ListPricingPlansAssociatedWithPricingRule$;
741
2201
  exports.ListPricingPlansAssociatedWithPricingRuleCommand = ListPricingPlansAssociatedWithPricingRuleCommand;
2202
+ exports.ListPricingPlansAssociatedWithPricingRuleInput$ = ListPricingPlansAssociatedWithPricingRuleInput$;
2203
+ exports.ListPricingPlansAssociatedWithPricingRuleOutput$ = ListPricingPlansAssociatedWithPricingRuleOutput$;
742
2204
  exports.ListPricingPlansCommand = ListPricingPlansCommand;
2205
+ exports.ListPricingPlansFilter$ = ListPricingPlansFilter$;
2206
+ exports.ListPricingPlansInput$ = ListPricingPlansInput$;
2207
+ exports.ListPricingPlansOutput$ = ListPricingPlansOutput$;
2208
+ exports.ListPricingRules$ = ListPricingRules$;
2209
+ exports.ListPricingRulesAssociatedToPricingPlan$ = ListPricingRulesAssociatedToPricingPlan$;
743
2210
  exports.ListPricingRulesAssociatedToPricingPlanCommand = ListPricingRulesAssociatedToPricingPlanCommand;
2211
+ exports.ListPricingRulesAssociatedToPricingPlanInput$ = ListPricingRulesAssociatedToPricingPlanInput$;
2212
+ exports.ListPricingRulesAssociatedToPricingPlanOutput$ = ListPricingRulesAssociatedToPricingPlanOutput$;
744
2213
  exports.ListPricingRulesCommand = ListPricingRulesCommand;
2214
+ exports.ListPricingRulesFilter$ = ListPricingRulesFilter$;
2215
+ exports.ListPricingRulesInput$ = ListPricingRulesInput$;
2216
+ exports.ListPricingRulesOutput$ = ListPricingRulesOutput$;
2217
+ exports.ListResourcesAssociatedToCustomLineItem$ = ListResourcesAssociatedToCustomLineItem$;
745
2218
  exports.ListResourcesAssociatedToCustomLineItemCommand = ListResourcesAssociatedToCustomLineItemCommand;
2219
+ exports.ListResourcesAssociatedToCustomLineItemFilter$ = ListResourcesAssociatedToCustomLineItemFilter$;
2220
+ exports.ListResourcesAssociatedToCustomLineItemInput$ = ListResourcesAssociatedToCustomLineItemInput$;
2221
+ exports.ListResourcesAssociatedToCustomLineItemOutput$ = ListResourcesAssociatedToCustomLineItemOutput$;
2222
+ exports.ListResourcesAssociatedToCustomLineItemResponseElement$ = ListResourcesAssociatedToCustomLineItemResponseElement$;
2223
+ exports.ListTagsForResource$ = ListTagsForResource$;
746
2224
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2225
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
2226
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
747
2227
  exports.MatchOption = MatchOption;
2228
+ exports.PresentationObject$ = PresentationObject$;
2229
+ exports.PricingPlanListElement$ = PricingPlanListElement$;
2230
+ exports.PricingRuleListElement$ = PricingRuleListElement$;
748
2231
  exports.PricingRuleScope = PricingRuleScope;
749
2232
  exports.PricingRuleType = PricingRuleType;
2233
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2234
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
750
2235
  exports.SearchOption = SearchOption;
2236
+ exports.ServiceLimitExceededException = ServiceLimitExceededException;
2237
+ exports.ServiceLimitExceededException$ = ServiceLimitExceededException$;
2238
+ exports.StringSearch$ = StringSearch$;
2239
+ exports.TagResource$ = TagResource$;
751
2240
  exports.TagResourceCommand = TagResourceCommand;
2241
+ exports.TagResourceRequest$ = TagResourceRequest$;
2242
+ exports.TagResourceResponse$ = TagResourceResponse$;
2243
+ exports.ThrottlingException = ThrottlingException;
2244
+ exports.ThrottlingException$ = ThrottlingException$;
2245
+ exports.Tiering$ = Tiering$;
2246
+ exports.UntagResource$ = UntagResource$;
752
2247
  exports.UntagResourceCommand = UntagResourceCommand;
2248
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
2249
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
2250
+ exports.UpdateBillingGroup$ = UpdateBillingGroup$;
2251
+ exports.UpdateBillingGroupAccountGrouping$ = UpdateBillingGroupAccountGrouping$;
753
2252
  exports.UpdateBillingGroupCommand = UpdateBillingGroupCommand;
2253
+ exports.UpdateBillingGroupInput$ = UpdateBillingGroupInput$;
2254
+ exports.UpdateBillingGroupOutput$ = UpdateBillingGroupOutput$;
2255
+ exports.UpdateCustomLineItem$ = UpdateCustomLineItem$;
2256
+ exports.UpdateCustomLineItemChargeDetails$ = UpdateCustomLineItemChargeDetails$;
754
2257
  exports.UpdateCustomLineItemCommand = UpdateCustomLineItemCommand;
2258
+ exports.UpdateCustomLineItemFlatChargeDetails$ = UpdateCustomLineItemFlatChargeDetails$;
2259
+ exports.UpdateCustomLineItemInput$ = UpdateCustomLineItemInput$;
2260
+ exports.UpdateCustomLineItemOutput$ = UpdateCustomLineItemOutput$;
2261
+ exports.UpdateCustomLineItemPercentageChargeDetails$ = UpdateCustomLineItemPercentageChargeDetails$;
2262
+ exports.UpdateFreeTierConfig$ = UpdateFreeTierConfig$;
2263
+ exports.UpdatePricingPlan$ = UpdatePricingPlan$;
755
2264
  exports.UpdatePricingPlanCommand = UpdatePricingPlanCommand;
2265
+ exports.UpdatePricingPlanInput$ = UpdatePricingPlanInput$;
2266
+ exports.UpdatePricingPlanOutput$ = UpdatePricingPlanOutput$;
2267
+ exports.UpdatePricingRule$ = UpdatePricingRule$;
756
2268
  exports.UpdatePricingRuleCommand = UpdatePricingRuleCommand;
2269
+ exports.UpdatePricingRuleInput$ = UpdatePricingRuleInput$;
2270
+ exports.UpdatePricingRuleOutput$ = UpdatePricingRuleOutput$;
2271
+ exports.UpdateTieringInput$ = UpdateTieringInput$;
2272
+ exports.ValidationException = ValidationException;
2273
+ exports.ValidationException$ = ValidationException$;
2274
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
757
2275
  exports.ValidationExceptionReason = ValidationExceptionReason;
2276
+ exports.errorTypeRegistries = errorTypeRegistries;
758
2277
  exports.paginateGetBillingGroupCostReport = paginateGetBillingGroupCostReport;
759
2278
  exports.paginateListAccountAssociations = paginateListAccountAssociations;
760
2279
  exports.paginateListBillingGroupCostReports = paginateListBillingGroupCostReports;