File Explorer

/var/runtime/node_modules/@aws-sdk/client-billing/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

index.js54.3 KB · 1495 lines
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");const { Command: $Command } = require("@smithy/core/client");exports.$Command = $Command;exports.__Client = Client;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");const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");const { defaultProvider } = require("@aws-sdk/credential-provider-node");const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultBillingHttpAuthSchemeParametersProvider = async (config, context, input) => {    return {        operation: getSmithyContext(context).operation,        region: await normalizeProvider(config.region)() || (() => {            throw new Error("expected `region` to be configured for `aws.auth#sigv4`");        })(),    };};function createAwsAuthSigv4HttpAuthOption(authParameters) {    return {        schemeId: "aws.auth#sigv4",        signingProperties: {            name: "billing",            region: authParameters.region,        },        propertiesExtractor: (config, context) => ({            signingProperties: {                config,                context,            },        }),    };}const defaultBillingHttpAuthSchemeProvider = (authParameters) => {    const options = [];    switch (authParameters.operation) {        default: {            options.push(createAwsAuthSigv4HttpAuthOption(authParameters));        }    }    return options;};const resolveHttpAuthSchemeConfig = (config) => {    const config_0 = resolveAwsSdkSigV4Config(config);    return Object.assign(config_0, {        authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),    });}; const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "billing",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; var version = "3.1104.0";var packageInfo = {	version: version}; const l = "ref";const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "sigv4", h = { [l]: "Endpoint" }, i = { [l]: d }, j = { "authSchemes": [{ "name": g, "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, k = [{ [l]: "Region" }];const _data = {    conditions: [        [c, [h]],        [c, k],        ["aws.partition", k, d],        [e, [{ [l]: "UseFIPS" }, b]],        ["stringEquals", [{ fn: f, argv: [i, "name"] }, "aws"]],        [e, [{ [l]: "UseDualStack" }, b]],        [e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]],        [e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]]    ],    results: [        [a],        [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],        [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],        [h, {}],        ["https://billing.us-east-1.api.aws", { authSchemes: [{ name: g, signingRegion: "us-east-1" }] }],        ["https://billing-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", j],        [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],        ["https://billing-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", j],        [a, "FIPS is enabled but this partition does not support FIPS"],        ["https://billing.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", j],        [a, "DualStack is enabled but this partition does not support DualStack"],        ["https://billing.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", j],        [a, "Invalid Configuration: Missing Region"]    ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([    -1, 1, -1,    0, 13, 3,    1, 4, r + 12,    2, 5, r + 12,    3, 9, 6,    4, r + 4, 7,    5, 8, r + 11,    6, r + 9, r + 10,    5, 11, 10,    7, r + 7, r + 8,    6, 12, r + 6,    7, r + 5, r + 6,    3, r + 1, 14,    5, r + 2, r + 3,]);const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); const cache = new EndpointCache({    size: 50,    params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],});const defaultEndpointResolver = (endpointParams, context = {}) => {    return cache.get(endpointParams, () => decideEndpoint(bdd, {        endpointParams: endpointParams,        logger: context.logger,    }));};customEndpointFunctions.aws = awsEndpointFunctions; class BillingServiceException extends ServiceException {    constructor(options) {        super(options);        Object.setPrototypeOf(this, BillingServiceException.prototype);    }} class AccessDeniedException extends BillingServiceException {    name = "AccessDeniedException";    $fault = "client";    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);    }}class BillingViewHealthStatusException extends BillingServiceException {    name = "BillingViewHealthStatusException";    $fault = "client";    constructor(opts) {        super({            name: "BillingViewHealthStatusException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, BillingViewHealthStatusException.prototype);    }}class ConflictException extends BillingServiceException {    name = "ConflictException";    $fault = "client";    resourceId;    resourceType;    constructor(opts) {        super({            name: "ConflictException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ConflictException.prototype);        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;    }}class InternalServerException extends BillingServiceException {    name = "InternalServerException";    $fault = "server";    constructor(opts) {        super({            name: "InternalServerException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerException.prototype);    }}class ResourceNotFoundException extends BillingServiceException {    name = "ResourceNotFoundException";    $fault = "client";    resourceId;    resourceType;    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;    }}class ServiceQuotaExceededException extends BillingServiceException {    name = "ServiceQuotaExceededException";    $fault = "client";    resourceId;    resourceType;    serviceCode;    quotaCode;    constructor(opts) {        super({            name: "ServiceQuotaExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;        this.serviceCode = opts.serviceCode;        this.quotaCode = opts.quotaCode;    }}class ThrottlingException extends BillingServiceException {    name = "ThrottlingException";    $fault = "client";    constructor(opts) {        super({            name: "ThrottlingException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ThrottlingException.prototype);    }}class ValidationException extends BillingServiceException {    name = "ValidationException";    $fault = "client";    reason;    fieldList;    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);        this.reason = opts.reason;        this.fieldList = opts.fieldList;    }} const _A = "Amount";const _AC = "AdditionalCharge";const _ACL = "AdditionalChargeList";const _ADE = "AccessDeniedException";const _ASV = "AssociateSourceViews";const _ASVR = "AssociateSourceViewsRequest";const _ASVRs = "AssociateSourceViewsResponse";const _ATR = "ActiveTimeRange";const _BFF = "BillingFeatureFilter";const _BFFi = "BillingFeatureFilters";const _BP = "BillingPeriod";const _BPFK = "BillingPreferenceForKey";const _BPPK = "BillingPreferencesPerKey";const _BPS = "BillingPreferenceSummary";const _BPi = "BillingPreferences";const _BVD = "BillingViewDescription";const _BVE = "BillingViewElement";const _BVHS = "BillingViewHealthStatus";const _BVHSE = "BillingViewHealthStatusException";const _BVL = "BillingViewList";const _BVLE = "BillingViewListElement";const _BVN = "BillingViewName";const _CA = "ChargeAccount";const _CAHE = "CreditAllocationHistoryEntry";const _CAHL = "CreditAllocationHistoryList";const _CAL = "ChargeAccountList";const _CALo = "ContractAccountList";const _CAo = "ContractAccount";const _CBV = "CreateBillingView";const _CBVR = "CreateBillingViewRequest";const _CBVRr = "CreateBillingViewResponse";const _CCV = "CostCategoryValues";const _CD = "CreditData";const _CDL = "CreditDataList";const _CE = "ConflictException";const _DBV = "DeleteBillingView";const _DBVR = "DeleteBillingViewRequest";const _DBVRe = "DeleteBillingViewResponse";const _DSV = "DisassociateSourceViews";const _DSVR = "DisassociateSourceViewsRequest";const _DSVRi = "DisassociateSourceViewsResponse";const _DV = "DimensionValues";const _E = "Expression";const _ESTP = "EnterpriseSupportTimePeriod";const _GBP = "GetBillingPreferences";const _GBPR = "GetBillingPreferencesRequest";const _GBPRe = "GetBillingPreferencesResponse";const _GBV = "GetBillingView";const _GBVR = "GetBillingViewRequest";const _GBVRe = "GetBillingViewResponse";const _GC = "GetCredits";const _GCAH = "GetCreditAllocationHistory";const _GCAHR = "GetCreditAllocationHistoryRequest";const _GCAHRe = "GetCreditAllocationHistoryResponse";const _GCR = "GetCreditsRequest";const _GCRe = "GetCreditsResponse";const _GESCD = "GetEnterpriseSupportContractDetails";const _GESCDR = "GetEnterpriseSupportContractDetailsRequest";const _GESCDRe = "GetEnterpriseSupportContractDetailsResponse";const _GESCS = "GetEnterpriseSupportChargeSummary";const _GESCSR = "GetEnterpriseSupportChargeSummaryRequest";const _GESCSRe = "GetEnterpriseSupportChargeSummaryResponse";const _GRP = "GetResourcePolicy";const _GRPR = "GetResourcePolicyRequest";const _GRPRe = "GetResourcePolicyResponse";const _ISE = "InternalServerException";const _LAC = "LinkedAccountCharge";const _LACL = "LinkedAccountChargeList";const _LBV = "ListBillingViews";const _LBVR = "ListBillingViewsRequest";const _LBVRi = "ListBillingViewsResponse";const _LESLAC = "ListEnterpriseSupportLinkedAccountCharges";const _LESLACR = "ListEnterpriseSupportLinkedAccountChargesRequest";const _LESLACRi = "ListEnterpriseSupportLinkedAccountChargesResponse";const _LSVFBV = "ListSourceViewsForBillingView";const _LSVFBVR = "ListSourceViewsForBillingViewRequest";const _LSVFBVRi = "ListSourceViewsForBillingViewResponse";const _LTFR = "ListTagsForResource";const _LTFRR = "ListTagsForResourceRequest";const _LTFRRi = "ListTagsForResourceResponse";const _PP = "PricingPlan";const _PPL = "PricingPlanList";const _PPT = "PricingPlanTier";const _PPTL = "PricingPlanTierList";const _RC = "RedeemCredits";const _RCR = "RedeemCreditsRequest";const _RCRe = "RedeemCreditsResponse";const _RNFE = "ResourceNotFoundException";const _RT = "ResourceTag";const _RTL = "ResourceTagList";const _SLAU = "ServiceLevelAccountUsage";const _SLAUL = "ServiceLevelAccountUsageList";const _SQEE = "ServiceQuotaExceededException";const _SS = "StringSearch";const _SSt = "StringSearches";const _TE = "ThrottlingException";const _TPL = "TimePeriodList";const _TR = "TimeRange";const _TRR = "TagResourceRequest";const _TRRa = "TagResourceResponse";const _TRa = "TagResource";const _TV = "TagValues";const _UBP = "UpdateBillingPreferences";const _UBPR = "UpdateBillingPreferencesRequest";const _UBPRp = "UpdateBillingPreferencesResponse";const _UBV = "UpdateBillingView";const _UBVR = "UpdateBillingViewRequest";const _UBVRp = "UpdateBillingViewResponse";const _UR = "UntagResource";const _URR = "UntagResourceRequest";const _URRn = "UntagResourceResponse";const _VE = "ValidationException";const _VEF = "ValidationExceptionField";const _VEFL = "ValidationExceptionFieldList";const _XACT = "X-Amzn-Client-Token";const _a = "amount";const _aAI = "activeAfterInclusive";const _aBI = "activeBeforeInclusive";const _aCA = "aggregateChargesAdjustment";const _aHCSE = "accountHasCreditSharingEnabled";const _aI = "accountId";const _aN = "accountName";const _aPN = "applicableProductNames";const _aPOAC = "additionalPercentageOfAggregateCharges";const _aQE = "awsQueryError";const _aSC = "additionalSupportCharge";const _aSEUS = "additionalSupportEligibleUsageSpend";const _aSN = "appliedServiceName";const _aT = "applicationType";const _aTR = "activeTimeRange";const _aTc = "accountType";const _ar = "arn";const _arn = "arns";const _bC = "baseCharge";const _bD = "beginDate";const _bDI = "beginDateInclusive";const _bDi = "billDate";const _bM = "billingMonth";const _bP = "billingPeriod";const _bPED = "billingPeriodEndDate";const _bPPK = "billingPreferencesPerKey";const _bPSD = "billingPeriodStartDate";const _bPi = "billingPreferences";const _bS = "billableSeconds";const _bV = "billingView";const _bVT = "billingViewType";const _bVTi = "billingViewTypes";const _bVi = "billingViews";const _c = "client";const _cA = "currencyAmount";const _cAHL = "creditAllocationHistoryList";const _cAr = "createdAt";const _cAre = "creditAmount";const _cC = "currencyCode";const _cCA = "costCategoryArn";const _cCV = "creditConsoleVisibility";const _cCo = "costCategories";const _cI = "creditId";const _cP = "chargePercentage";const _cPAI = "contractPayerAccountIds";const _cPAIh = "chargedPayerAccountIds";const _cS = "creditStatus";const _cST = "creditSharingType";const _cT = "chargeType";const _cTl = "clientToken";const _cTr = "creditType";const _cr = "credits";const _d = "description";const _dATMC = "discountAppliesToMinimumCharge";const _dFE = "dataFilterExpression";const _dVC = "derivedViewCount";const _di = "dimensions";const _e = "error";const _eA = "estimatedAmount";const _eD = "endDate";const _eDI = "endDateInclusive";const _eDx = "exhaustDate";const _f = "feature";const _fL = "fieldList";const _fM = "failedMonths";const _fe = "features";const _fi = "filters";const _fo = "force";const _h = "http";const _hE = "httpError";const _hH = "httpHeader";const _hS = "healthStatus";const _i = "incremental";const _iA = "initialAmount";const _iC = "incrementCharge";const _iCA = "isContractActive";const _iE = "isEstimated";const _iEB = "isEstimatedBill";const _iG = "isGdn";const _iT = "idempotencyToken";const _in = "increment";const _k = "key";const _lA = "linkedAccount";const _lTP = "linkedTimePeriods";const _m = "message";const _mC = "minimumCharge";const _mR = "maxResults";const _mo = "month";const _n = "name";const _nT = "nextToken";const _na = "names";const _oAI = "ownerAccountId";const _p = "policy";const _pAF = "payerAccountFlag";const _pAI = "payerAccountId";const _pC = "promoCode";const _pDP = "planDiscountPercent";const _pP = "pricingPlans";const _pPI = "pricingPlanId";const _pR = "partialResults";const _pTA = "purchaseTypeApplications";const _pTSES = "proratedTotalSupportEligibleSpend";const _qC = "quotaCode";const _r = "reason";const _rA = "remainingAmount";const _rAe = "resourceArn";const _rI = "resourceId";const _rN = "ruleName";const _rT = "resourceType";const _rTK = "resourceTagKeys";const _rTe = "resourceTags";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.billing";const _sA = "shareableAccounts";const _sAI = "sourceAccountId";const _sAM = "supportAllocationMethod";const _sC = "serviceCode";const _sCP = "supportChargePercentage";const _sCt = "statusCode";const _sCu = "supportCharge";const _sD = "startDate";const _sDu = "supportDiscount";const _sEPP = "supportEffectivePricingPlan";const _sESBS = "supportEligibleSpendByService";const _sO = "searchOption";const _sPSD = "supportProrateStartDate";const _sR = "statusReasons";const _sRIASD = "supportReservedInstanceAmortizationStartDate";const _sRITM = "supportReservedInstanceTreatmentMethod";const _sSPASD = "supportSavingsPlansAmortizationStartDate";const _sSPTM = "supportSavingsPlansTreatmentMethod";const _sTP = "subscriptionTimePeriods";const _sV = "sourceViews";const _sVC = "sourceViewCount";const _sVe = "searchValue";const _se = "server";const _t = "tags";const _tM = "tierMinimum";const _tMi = "tierMaximum";const _tR = "timeRange";const _tS = "totalSeconds";const _tSC = "totalSupportCharge";const _tSERIS = "totalSupportEligibleReservedInstanceSpend";const _tSES = "totalSupportEligibleSpend";const _tSESPS = "totalSupportEligibleSavingsPlanSpend";const _tSEUS = "totalSupportEligibleUsageSpend";const _ti = "tiers";const _tie = "tiered";const _uA = "updatedAt";const _v = "value";const _vDLUA = "viewDefinitionLastUpdatedAt";const _va = "values";const _y = "year";const n0 = "com.amazonaws.billing";const _s_registry = TypeRegistry.for(_s);var BillingServiceException$ = [-3, _s, "BillingServiceException", 0, [], []];_s_registry.registerError(BillingServiceException$, BillingServiceException);const n0_registry = TypeRegistry.for(n0);var AccessDeniedException$ = [-3, n0, _ADE,    { [_aQE]: [`BillingAccessDenied`, 403], [_e]: _c, [_hE]: 403 },    [_m],    [0], 1];n0_registry.registerError(AccessDeniedException$, AccessDeniedException);var BillingViewHealthStatusException$ = [-3, n0, _BVHSE,    { [_e]: _c, [_hE]: 400 },    [_m],    [0], 1];n0_registry.registerError(BillingViewHealthStatusException$, BillingViewHealthStatusException);var ConflictException$ = [-3, n0, _CE,    { [_aQE]: [`BillingConflict`, 409], [_e]: _c, [_hE]: 409 },    [_m, _rI, _rT],    [0, 0, 0], 3];n0_registry.registerError(ConflictException$, ConflictException);var InternalServerException$ = [-3, n0, _ISE,    { [_aQE]: [`BillingInternalServer`, 500], [_e]: _se, [_hE]: 500 },    [_m],    [0], 1];n0_registry.registerError(InternalServerException$, InternalServerException);var ResourceNotFoundException$ = [-3, n0, _RNFE,    { [_aQE]: [`BillingResourceNotFound`, 404], [_e]: _c, [_hE]: 404 },    [_m, _rI, _rT],    [0, 0, 0], 3];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);var ServiceQuotaExceededException$ = [-3, n0, _SQEE,    { [_aQE]: [`BillingServiceQuotaExceeded`, 402], [_e]: _c, [_hE]: 402 },    [_m, _rI, _rT, _sC, _qC],    [0, 0, 0, 0, 0], 5];n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);var ThrottlingException$ = [-3, n0, _TE,    { [_aQE]: [`BillingThrottling`, 429], [_e]: _c, [_hE]: 429 },    [_m],    [0], 1];n0_registry.registerError(ThrottlingException$, ThrottlingException);var ValidationException$ = [-3, n0, _VE,    { [_aQE]: [`BillingValidation`, 400], [_e]: _c, [_hE]: 400 },    [_m, _r, _fL],    [0, 0, () => ValidationExceptionFieldList], 2];n0_registry.registerError(ValidationException$, ValidationException);const errorTypeRegistries = [    _s_registry,    n0_registry,];var BillingViewDescription = [0, n0, _BVD, 8, 0];var BillingViewName = [0, n0, _BVN, 8, 0];var ActiveTimeRange$ = [3, n0, _ATR,    0,    [_aAI, _aBI],    [4, 4], 2];var AdditionalCharge$ = [3, n0, _AC,    0,    [_d, _a, _cT],    [0, 0, 0], 1];var Amount$ = [3, n0, _A,    0,    [_cC, _cA],    [0, 0], 2];var AssociateSourceViewsRequest$ = [3, n0, _ASVR,    0,    [_ar, _sV],    [0, 64 | 0], 2];var AssociateSourceViewsResponse$ = [3, n0, _ASVRs,    0,    [_ar],    [0], 1];var BillingFeatureFilter$ = [3, n0, _BFF,    0,    [_n, _v],    [0, 64 | 0]];var BillingPeriod$ = [3, n0, _BP,    0,    [_y, _mo],    [1, 1], 2];var BillingPreferenceForKey$ = [3, n0, _BPFK,    0,    [_k, _v],    [0, 0], 2];var BillingPreferenceSummary$ = [3, n0, _BPS,    0,    [_f, _k, _v, _aN, _aI, _bP],    [0, 0, 0, 0, 0, () => BillingPeriod$], 3];var BillingViewElement$ = [3, n0, _BVE,    0,    [_ar, _n, _d, _bVT, _oAI, _sAI, _dFE, _cAr, _uA, _dVC, _sVC, _vDLUA, _hS],    [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => Expression$, 4, 4, 1, 1, 4, () => BillingViewHealthStatus$]];var BillingViewHealthStatus$ = [3, n0, _BVHS,    0,    [_sCt, _sR],    [0, 64 | 0]];var BillingViewListElement$ = [3, n0, _BVLE,    0,    [_ar, _n, _d, _oAI, _sAI, _bVT, _hS],    [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => BillingViewHealthStatus$]];var ChargeAccount$ = [3, n0, _CA,    0,    [_aI, _cP],    [0, 0], 2];var ContractAccount$ = [3, n0, _CAo,    0,    [_aI, _iG],    [0, 2], 2];var CostCategoryValues$ = [3, n0, _CCV,    0,    [_k, _va],    [0, 64 | 0], 2];var CreateBillingViewRequest$ = [3, n0, _CBVR,    0,    [_n, _sV, _d, _dFE, _cTl, _rTe],    [[() => BillingViewName, 0], 64 | 0, [() => BillingViewDescription, 0], () => Expression$, [0, { [_hH]: _XACT, [_iT]: 1 }], () => ResourceTagList], 2];var CreateBillingViewResponse$ = [3, n0, _CBVRr,    0,    [_ar, _cAr],    [0, 4], 1];var CreditAllocationHistoryEntry$ = [3, n0, _CAHE,    0,    [_cI, _cAre, _aI, _aSN, _bM, _iEB, _d],    [0, () => Amount$, 0, 0, 0, 2, 0], 6];var CreditData$ = [3, n0, _CD,    0,    [_cI, _aI, _cTr, _iA, _rA, _d, _sD, _eA, _aPN, _eD, _eDx, _aT, _sA, _aHCSE, _cCV, _cST, _cCA, _rN, _cS, _pTA],    [0, 0, 0, () => Amount$, () => Amount$, 0, 4, () => Amount$, 64 | 0, 4, 4, 0, 64 | 0, 2, 0, 0, 0, 0, 0, 64 | 0], 7];var DeleteBillingViewRequest$ = [3, n0, _DBVR,    0,    [_ar, _fo],    [0, 2], 1];var DeleteBillingViewResponse$ = [3, n0, _DBVRe,    0,    [_ar],    [0], 1];var DimensionValues$ = [3, n0, _DV,    0,    [_k, _va],    [0, 64 | 0], 2];var DisassociateSourceViewsRequest$ = [3, n0, _DSVR,    0,    [_ar, _sV],    [0, 64 | 0], 2];var DisassociateSourceViewsResponse$ = [3, n0, _DSVRi,    0,    [_ar],    [0], 1];var EnterpriseSupportTimePeriod$ = [3, n0, _ESTP,    0,    [_bD, _eD],    [4, 4], 1];var Expression$ = [3, n0, _E,    0,    [_di, _t, _cCo, _tR],    [() => DimensionValues$, () => TagValues$, () => CostCategoryValues$, () => TimeRange$]];var GetBillingPreferencesRequest$ = [3, n0, _GBPR,    0,    [_fe, _nT, _mR, _fi],    [64 | 0, 0, 1, () => BillingFeatureFilters], 1];var GetBillingPreferencesResponse$ = [3, n0, _GBPRe,    0,    [_bPi, _nT],    [() => BillingPreferences, 0], 1];var GetBillingViewRequest$ = [3, n0, _GBVR,    0,    [_ar],    [0], 1];var GetBillingViewResponse$ = [3, n0, _GBVRe,    0,    [_bV],    [[() => BillingViewElement$, 0]], 1];var GetCreditAllocationHistoryRequest$ = [3, n0, _GCAHR,    0,    [_aI, _sD, _eD, _cI, _nT, _mR],    [0, 4, 4, 1, 0, 1], 3];var GetCreditAllocationHistoryResponse$ = [3, n0, _GCAHRe,    0,    [_pR, _cAHL, _fM, _nT],    [2, () => CreditAllocationHistoryList, 64 | 0, 0], 1];var GetCreditsRequest$ = [3, n0, _GCR,    0,    [_aI, _sD, _eD, _pAF],    [0, 4, 4, 2], 2];var GetCreditsResponse$ = [3, n0, _GCRe,    0,    [_cr],    [() => CreditDataList]];var GetEnterpriseSupportChargeSummaryRequest$ = [3, n0, _GESCSR,    0,    [_bM],    [0], 1];var GetEnterpriseSupportChargeSummaryResponse$ = [3, n0, _GESCSRe,    0,    [_pAI, _bM, _bPSD, _bPED, _iE, _bDi, _sCu, _tSC, _sDu, _tSES, _tSEUS, _tSERIS, _tSESPS, _sCP, _sEPP],    [0, 0, 4, 4, 2, 4, 0, 0, 0, 0, 0, 0, 0, 0, () => PricingPlan$], 15];var GetEnterpriseSupportContractDetailsRequest$ = [3, n0, _GESCDR,    0,    [_bM],    [0], 1];var GetEnterpriseSupportContractDetailsResponse$ = [3, n0, _GESCDRe,    0,    [_sAM, _cPAI, _cPAIh, _pP, _iCA, _sRIASD, _sRITM, _sSPASD, _sSPTM, _sPSD, _aSC, _aSEUS],    [0, () => ContractAccountList, () => ChargeAccountList, () => PricingPlanList, 2, 4, 0, 4, 0, 4, () => AdditionalChargeList, () => AdditionalChargeList], 4];var GetResourcePolicyRequest$ = [3, n0, _GRPR,    0,    [_rAe],    [0], 1];var GetResourcePolicyResponse$ = [3, n0, _GRPRe,    0,    [_rAe, _p],    [0, 0], 1];var LinkedAccountCharge$ = [3, n0, _LAC,    0,    [_aI, _pAI, _bS, _tS, _tSES, _pTSES, _aTc, _lTP, _sTP, _tSERIS, _tSESPS, _sESBS],    [0, 0, 1, 1, 0, 0, 0, () => TimePeriodList, () => TimePeriodList, 0, 0, () => ServiceLevelAccountUsageList], 6];var ListBillingViewsRequest$ = [3, n0, _LBVR,    0,    [_aTR, _arn, _bVTi, _na, _oAI, _sAI, _mR, _nT],    [() => ActiveTimeRange$, 64 | 0, 64 | 0, () => StringSearches, 0, 0, 1, 0]];var ListBillingViewsResponse$ = [3, n0, _LBVRi,    0,    [_bVi, _nT],    [[() => BillingViewList, 0], 0], 1];var ListEnterpriseSupportLinkedAccountChargesRequest$ = [3, n0, _LESLACR,    0,    [_bM, _aI, _mR, _nT],    [0, 0, 1, 0], 1];var ListEnterpriseSupportLinkedAccountChargesResponse$ = [3, n0, _LESLACRi,    0,    [_lA, _nT],    [() => LinkedAccountChargeList, 0], 1];var ListSourceViewsForBillingViewRequest$ = [3, n0, _LSVFBVR,    0,    [_ar, _mR, _nT],    [0, 1, 0], 1];var ListSourceViewsForBillingViewResponse$ = [3, n0, _LSVFBVRi,    0,    [_sV, _nT],    [64 | 0, 0], 1];var ListTagsForResourceRequest$ = [3, n0, _LTFRR,    0,    [_rAe],    [0], 1];var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,    0,    [_rTe],    [() => ResourceTagList]];var PricingPlan$ = [3, n0, _PP,    0,    [_ti, _pPI, _n, _d, _sD, _eD, _pDP, _dATMC, _mC, _tie],    [() => PricingPlanTierList, 0, 0, 0, 4, 4, 0, 2, 0, 0], 1];var PricingPlanTier$ = [3, n0, _PPT,    0,    [_tM, _bC, _aPOAC, _aCA, _i, _tMi, _in, _iC],    [0, 0, 0, 0, 2, 0, 0, 0], 5];var RedeemCreditsRequest$ = [3, n0, _RCR,    0,    [_pC],    [0], 1];var RedeemCreditsResponse$ = [3, n0, _RCRe,    0,    [],    []];var ResourceTag$ = [3, n0, _RT,    0,    [_k, _v],    [0, 0], 1];var ServiceLevelAccountUsage$ = [3, n0, _SLAU,    0,    [_sC, _tSES],    [0, 0]];var StringSearch$ = [3, n0, _SS,    0,    [_sO, _sVe],    [0, 0], 2];var TagResourceRequest$ = [3, n0, _TRR,    0,    [_rAe, _rTe],    [0, () => ResourceTagList], 2];var TagResourceResponse$ = [3, n0, _TRRa,    0,    [],    []];var TagValues$ = [3, n0, _TV,    0,    [_k, _va],    [0, 64 | 0], 2];var TimeRange$ = [3, n0, _TR,    0,    [_bDI, _eDI],    [4, 4]];var UntagResourceRequest$ = [3, n0, _URR,    0,    [_rAe, _rTK],    [0, 64 | 0], 2];var UntagResourceResponse$ = [3, n0, _URRn,    0,    [],    []];var UpdateBillingPreferencesRequest$ = [3, n0, _UBPR,    0,    [_f, _bPPK],    [0, () => BillingPreferencesPerKey], 2];var UpdateBillingPreferencesResponse$ = [3, n0, _UBPRp,    0,    [],    []];var UpdateBillingViewRequest$ = [3, n0, _UBVR,    0,    [_ar, _n, _d, _dFE],    [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], () => Expression$], 1];var UpdateBillingViewResponse$ = [3, n0, _UBVRp,    0,    [_ar, _uA],    [0, 4], 1];var ValidationExceptionField$ = [3, n0, _VEF,    0,    [_n, _m],    [0, 0], 2];var AdditionalChargeList = [1, n0, _ACL,    0, () => AdditionalCharge$];var BillingFeatureFilters = [1, n0, _BFFi,    0, () => BillingFeatureFilter$];var BillingPreferences = [1, n0, _BPi,    0, () => BillingPreferenceSummary$];var BillingPreferencesPerKey = [1, n0, _BPPK,    0, () => BillingPreferenceForKey$];var BillingViewList = [1, n0, _BVL,    0, [() => BillingViewListElement$,        0]];var ChargeAccountList = [1, n0, _CAL,    0, () => ChargeAccount$];var ContractAccountList = [1, n0, _CALo,    0, () => ContractAccount$];var CreditAllocationHistoryList = [1, n0, _CAHL,    0, () => CreditAllocationHistoryEntry$];var CreditDataList = [1, n0, _CDL,    0, () => CreditData$];var LinkedAccountChargeList = [1, n0, _LACL,    0, () => LinkedAccountCharge$];var PricingPlanList = [1, n0, _PPL,    0, () => PricingPlan$];var PricingPlanTierList = [1, n0, _PPTL,    0, () => PricingPlanTier$];var ResourceTagList = [1, n0, _RTL,    0, () => ResourceTag$];var ServiceLevelAccountUsageList = [1, n0, _SLAUL,    0, () => ServiceLevelAccountUsage$];var StringSearches = [1, n0, _SSt,    0, () => StringSearch$];var TimePeriodList = [1, n0, _TPL,    0, () => EnterpriseSupportTimePeriod$];var ValidationExceptionFieldList = [1, n0, _VEFL,    0, () => ValidationExceptionField$];var AssociateSourceViews$ = [9, n0, _ASV,    2, () => AssociateSourceViewsRequest$, () => AssociateSourceViewsResponse$];var CreateBillingView$ = [9, n0, _CBV,    2, () => CreateBillingViewRequest$, () => CreateBillingViewResponse$];var DeleteBillingView$ = [9, n0, _DBV,    2, () => DeleteBillingViewRequest$, () => DeleteBillingViewResponse$];var DisassociateSourceViews$ = [9, n0, _DSV,    2, () => DisassociateSourceViewsRequest$, () => DisassociateSourceViewsResponse$];var GetBillingPreferences$ = [9, n0, _GBP,    0, () => GetBillingPreferencesRequest$, () => GetBillingPreferencesResponse$];var GetBillingView$ = [9, n0, _GBV,    0, () => GetBillingViewRequest$, () => GetBillingViewResponse$];var GetCreditAllocationHistory$ = [9, n0, _GCAH,    0, () => GetCreditAllocationHistoryRequest$, () => GetCreditAllocationHistoryResponse$];var GetCredits$ = [9, n0, _GC,    0, () => GetCreditsRequest$, () => GetCreditsResponse$];var GetEnterpriseSupportChargeSummary$ = [9, n0, _GESCS,    0, () => GetEnterpriseSupportChargeSummaryRequest$, () => GetEnterpriseSupportChargeSummaryResponse$];var GetEnterpriseSupportContractDetails$ = [9, n0, _GESCD,    0, () => GetEnterpriseSupportContractDetailsRequest$, () => GetEnterpriseSupportContractDetailsResponse$];var GetResourcePolicy$ = [9, n0, _GRP,    0, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$];var ListBillingViews$ = [9, n0, _LBV,    { [_h]: ["POST", "/", 200] }, () => ListBillingViewsRequest$, () => ListBillingViewsResponse$];var ListEnterpriseSupportLinkedAccountCharges$ = [9, n0, _LESLAC,    0, () => ListEnterpriseSupportLinkedAccountChargesRequest$, () => ListEnterpriseSupportLinkedAccountChargesResponse$];var ListSourceViewsForBillingView$ = [9, n0, _LSVFBV,    0, () => ListSourceViewsForBillingViewRequest$, () => ListSourceViewsForBillingViewResponse$];var ListTagsForResource$ = [9, n0, _LTFR,    0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$];var RedeemCredits$ = [9, n0, _RC,    0, () => RedeemCreditsRequest$, () => RedeemCreditsResponse$];var TagResource$ = [9, n0, _TRa,    0, () => TagResourceRequest$, () => TagResourceResponse$];var UntagResource$ = [9, n0, _UR,    0, () => UntagResourceRequest$, () => UntagResourceResponse$];var UpdateBillingPreferences$ = [9, n0, _UBP,    0, () => UpdateBillingPreferencesRequest$, () => UpdateBillingPreferencesResponse$];var UpdateBillingView$ = [9, n0, _UBV,    2, () => UpdateBillingViewRequest$, () => UpdateBillingViewResponse$]; const getRuntimeConfig$1 = (config) => {    return {        apiVersion: "2023-09-07",        base64Decoder: config?.base64Decoder ?? fromBase64,        base64Encoder: config?.base64Encoder ?? toBase64,        disableHostPrefix: config?.disableHostPrefix ?? false,        endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,        extensions: config?.extensions ?? [],        httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultBillingHttpAuthSchemeProvider,        httpAuthSchemes: config?.httpAuthSchemes ?? [            {                schemeId: "aws.auth#sigv4",                identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),                signer: new AwsSdkSigV4Signer(),            },        ],        logger: config?.logger ?? new NoOpLogger(),        protocol: config?.protocol ?? AwsJson1_0Protocol,        protocolSettings: config?.protocolSettings ?? {            defaultNamespace: "com.amazonaws.billing",            errorTypeRegistries,            version: "2023-09-07",            serviceTarget: "AWSBilling",        },        serviceId: config?.serviceId ?? "Billing",        sha256: config?.sha256 ?? Sha256,        urlParser: config?.urlParser ?? parseUrl,        utf8Decoder: config?.utf8Decoder ?? fromUtf8,        utf8Encoder: config?.utf8Encoder ?? toUtf8,    };}; const getRuntimeConfig = (config) => {    emitWarningIfUnsupportedVersion(process.version);    const defaultsMode = resolveDefaultsModeConfig(config);    const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);    const clientSharedValues = getRuntimeConfig$1(config);    emitWarningIfUnsupportedVersion$1(process.version);    const loaderConfig = {        profile: config?.profile,        logger: clientSharedValues.logger,    };    return {        ...clientSharedValues,        ...config,        runtime: "node",        defaultsMode,        authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),        bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,        credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,        defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),        maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),        region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),        requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),        retryMode: config?.retryMode ??            loadConfig({                ...NODE_RETRY_MODE_CONFIG_OPTIONS,                default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,            }, config),        streamCollector: config?.streamCollector ?? streamCollector,        useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),        useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),        userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),    };}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => {    const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;    let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;    let _credentials = runtimeConfig.credentials;    return {        setHttpAuthScheme(httpAuthScheme) {            const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);            if (index === -1) {                _httpAuthSchemes.push(httpAuthScheme);            }            else {                _httpAuthSchemes.splice(index, 1, httpAuthScheme);            }        },        httpAuthSchemes() {            return _httpAuthSchemes;        },        setHttpAuthSchemeProvider(httpAuthSchemeProvider) {            _httpAuthSchemeProvider = httpAuthSchemeProvider;        },        httpAuthSchemeProvider() {            return _httpAuthSchemeProvider;        },        setCredentials(credentials) {            _credentials = credentials;        },        credentials() {            return _credentials;        },    };};const resolveHttpAuthRuntimeConfig = (config) => {    return {        httpAuthSchemes: config.httpAuthSchemes(),        httpAuthSchemeProvider: config.httpAuthSchemeProvider(),        credentials: config.credentials(),    };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => {    const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class BillingClient extends Client {    config;    constructor(...[configuration]) {        const _config_0 = getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = resolveUserAgentConfig(_config_1);        const _config_3 = resolveRetryConfig(_config_2);        const _config_4 = resolveRegionConfig(_config_3);        const _config_5 = resolveHostHeaderConfig(_config_4);        const _config_6 = resolveEndpointConfig(_config_5);        const _config_7 = resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(getSchemaSerdePlugin(this.config));        this.middlewareStack.use(getUserAgentPlugin(this.config));        this.middlewareStack.use(getRetryPlugin(this.config));        this.middlewareStack.use(getContentLengthPlugin(this.config));        this.middlewareStack.use(getHostHeaderPlugin(this.config));        this.middlewareStack.use(getLoggerPlugin(this.config));        this.middlewareStack.use(getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: defaultBillingHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} const command = makeBuilder(commonParams, "AWSBilling", "BillingClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class AssociateSourceViewsCommand extends command(_ep0, _mw0, "AssociateSourceViews", AssociateSourceViews$) {} class CreateBillingViewCommand extends command(_ep0, _mw0, "CreateBillingView", CreateBillingView$) {} class DeleteBillingViewCommand extends command(_ep0, _mw0, "DeleteBillingView", DeleteBillingView$) {} class DisassociateSourceViewsCommand extends command(_ep0, _mw0, "DisassociateSourceViews", DisassociateSourceViews$) {} class GetBillingPreferencesCommand extends command(_ep0, _mw0, "GetBillingPreferences", GetBillingPreferences$) {} class GetBillingViewCommand extends command(_ep0, _mw0, "GetBillingView", GetBillingView$) {} class GetCreditAllocationHistoryCommand extends command(_ep0, _mw0, "GetCreditAllocationHistory", GetCreditAllocationHistory$) {} class GetCreditsCommand extends command(_ep0, _mw0, "GetCredits", GetCredits$) {} class GetEnterpriseSupportChargeSummaryCommand extends command(_ep0, _mw0, "GetEnterpriseSupportChargeSummary", GetEnterpriseSupportChargeSummary$) {} class GetEnterpriseSupportContractDetailsCommand extends command(_ep0, _mw0, "GetEnterpriseSupportContractDetails", GetEnterpriseSupportContractDetails$) {} class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {} class ListBillingViewsCommand extends command(_ep0, _mw0, "ListBillingViews", ListBillingViews$) {} class ListEnterpriseSupportLinkedAccountChargesCommand extends command(_ep0, _mw0, "ListEnterpriseSupportLinkedAccountCharges", ListEnterpriseSupportLinkedAccountCharges$) {} class ListSourceViewsForBillingViewCommand extends command(_ep0, _mw0, "ListSourceViewsForBillingView", ListSourceViewsForBillingView$) {} class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {} class RedeemCreditsCommand extends command(_ep0, _mw0, "RedeemCredits", RedeemCredits$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} class UpdateBillingPreferencesCommand extends command(_ep0, _mw0, "UpdateBillingPreferences", UpdateBillingPreferences$) {} class UpdateBillingViewCommand extends command(_ep0, _mw0, "UpdateBillingView", UpdateBillingView$) {} const paginateGetCreditAllocationHistory = createPaginator(BillingClient, GetCreditAllocationHistoryCommand, "nextToken", "nextToken", "maxResults"); const paginateListBillingViews = createPaginator(BillingClient, ListBillingViewsCommand, "nextToken", "nextToken", "maxResults"); const paginateListEnterpriseSupportLinkedAccountCharges = createPaginator(BillingClient, ListEnterpriseSupportLinkedAccountChargesCommand, "nextToken", "nextToken", "maxResults"); const paginateListSourceViewsForBillingView = createPaginator(BillingClient, ListSourceViewsForBillingViewCommand, "nextToken", "nextToken", "maxResults"); const commands = {    AssociateSourceViewsCommand,    CreateBillingViewCommand,    DeleteBillingViewCommand,    DisassociateSourceViewsCommand,    GetBillingPreferencesCommand,    GetBillingViewCommand,    GetCreditAllocationHistoryCommand,    GetCreditsCommand,    GetEnterpriseSupportChargeSummaryCommand,    GetEnterpriseSupportContractDetailsCommand,    GetResourcePolicyCommand,    ListBillingViewsCommand,    ListEnterpriseSupportLinkedAccountChargesCommand,    ListSourceViewsForBillingViewCommand,    ListTagsForResourceCommand,    RedeemCreditsCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateBillingPreferencesCommand,    UpdateBillingViewCommand,};const paginators = {    paginateGetCreditAllocationHistory,    paginateListBillingViews,    paginateListEnterpriseSupportLinkedAccountCharges,    paginateListSourceViewsForBillingView,};class Billing extends BillingClient {}createAggregatedClient(commands, Billing, { paginators }); const ApplicationType = {    AFTER_DISCOUNTS: "AFTER_DISCOUNTS",    BEFORE_CROSS_SERVICE_DISCOUNTS: "BEFORE_CROSS_SERVICE_DISCOUNTS",};const ValidationExceptionReason = {    CANNOT_PARSE: "cannotParse",    FIELD_VALIDATION_FAILED: "fieldValidationFailed",    OTHER: "other",    UNKNOWN_OPERATION: "unknownOperation",};const Dimension = {    LINKED_ACCOUNT: "LINKED_ACCOUNT",};const BillingFeature = {    BILLING_ALERTS: "BILLING_ALERTS",    CREDIT_LEVEL_SHARING: "CREDIT_LEVEL_SHARING",    CREDIT_PREFERENCE_OPTIONS: "CREDIT_PREFERENCE_OPTIONS",    CREDIT_SHARING: "CREDIT_SHARING",    CREDIT_SHARING_HISTORY: "CREDIT_SHARING_HISTORY",    RI_SHARING: "RI_SHARING",    RI_SHARING_HISTORY: "RI_SHARING_HISTORY",};const BillingFeatureFilterName = {    PREFERENCE_KEY: "PREFERENCE_KEY",};const PreferenceValue = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",};const BillingViewType = {    BILLING_GROUP: "BILLING_GROUP",    BILLING_TRANSFER: "BILLING_TRANSFER",    BILLING_TRANSFER_SHOWBACK: "BILLING_TRANSFER_SHOWBACK",    CUSTOM: "CUSTOM",    PRIMARY: "PRIMARY",};const BillingViewStatus = {    CREATING: "CREATING",    HEALTHY: "HEALTHY",    UNHEALTHY: "UNHEALTHY",    UPDATING: "UPDATING",};const BillingViewStatusReason = {    AGGREGATE_SOURCE: "AGGREGATE_SOURCE",    CYCLIC_DEPENDENCY: "CYCLIC_DEPENDENCY",    SOURCE_VIEW_ACCESS_DENIED: "SOURCE_VIEW_ACCESS_DENIED",    SOURCE_VIEW_DEPTH_EXCEEDED: "SOURCE_VIEW_DEPTH_EXCEEDED",    SOURCE_VIEW_NOT_FOUND: "SOURCE_VIEW_NOT_FOUND",    SOURCE_VIEW_UNHEALTHY: "SOURCE_VIEW_UNHEALTHY",    SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING",    VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT",};const CreditSharingType = {    COST_CATEGORY_RULE: "COST_CATEGORY_RULE",    CUSTOM: "CUSTOM",    DEFAULT: "DEFAULT",    DISABLED: "DISABLED",};const CreditStatus = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",};const SearchOption = {    STARTS_WITH: "STARTS_WITH",}; exports.AccessDeniedException = AccessDeniedException;exports.AccessDeniedException$ = AccessDeniedException$;exports.ActiveTimeRange$ = ActiveTimeRange$;exports.AdditionalCharge$ = AdditionalCharge$;exports.Amount$ = Amount$;exports.ApplicationType = ApplicationType;exports.AssociateSourceViews$ = AssociateSourceViews$;exports.AssociateSourceViewsCommand = AssociateSourceViewsCommand;exports.AssociateSourceViewsRequest$ = AssociateSourceViewsRequest$;exports.AssociateSourceViewsResponse$ = AssociateSourceViewsResponse$;exports.Billing = Billing;exports.BillingClient = BillingClient;exports.BillingFeature = BillingFeature;exports.BillingFeatureFilter$ = BillingFeatureFilter$;exports.BillingFeatureFilterName = BillingFeatureFilterName;exports.BillingPeriod$ = BillingPeriod$;exports.BillingPreferenceForKey$ = BillingPreferenceForKey$;exports.BillingPreferenceSummary$ = BillingPreferenceSummary$;exports.BillingServiceException = BillingServiceException;exports.BillingServiceException$ = BillingServiceException$;exports.BillingViewElement$ = BillingViewElement$;exports.BillingViewHealthStatus$ = BillingViewHealthStatus$;exports.BillingViewHealthStatusException = BillingViewHealthStatusException;exports.BillingViewHealthStatusException$ = BillingViewHealthStatusException$;exports.BillingViewListElement$ = BillingViewListElement$;exports.BillingViewStatus = BillingViewStatus;exports.BillingViewStatusReason = BillingViewStatusReason;exports.BillingViewType = BillingViewType;exports.ChargeAccount$ = ChargeAccount$;exports.ConflictException = ConflictException;exports.ConflictException$ = ConflictException$;exports.ContractAccount$ = ContractAccount$;exports.CostCategoryValues$ = CostCategoryValues$;exports.CreateBillingView$ = CreateBillingView$;exports.CreateBillingViewCommand = CreateBillingViewCommand;exports.CreateBillingViewRequest$ = CreateBillingViewRequest$;exports.CreateBillingViewResponse$ = CreateBillingViewResponse$;exports.CreditAllocationHistoryEntry$ = CreditAllocationHistoryEntry$;exports.CreditData$ = CreditData$;exports.CreditSharingType = CreditSharingType;exports.CreditStatus = CreditStatus;exports.DeleteBillingView$ = DeleteBillingView$;exports.DeleteBillingViewCommand = DeleteBillingViewCommand;exports.DeleteBillingViewRequest$ = DeleteBillingViewRequest$;exports.DeleteBillingViewResponse$ = DeleteBillingViewResponse$;exports.Dimension = Dimension;exports.DimensionValues$ = DimensionValues$;exports.DisassociateSourceViews$ = DisassociateSourceViews$;exports.DisassociateSourceViewsCommand = DisassociateSourceViewsCommand;exports.DisassociateSourceViewsRequest$ = DisassociateSourceViewsRequest$;exports.DisassociateSourceViewsResponse$ = DisassociateSourceViewsResponse$;exports.EnterpriseSupportTimePeriod$ = EnterpriseSupportTimePeriod$;exports.Expression$ = Expression$;exports.GetBillingPreferences$ = GetBillingPreferences$;exports.GetBillingPreferencesCommand = GetBillingPreferencesCommand;exports.GetBillingPreferencesRequest$ = GetBillingPreferencesRequest$;exports.GetBillingPreferencesResponse$ = GetBillingPreferencesResponse$;exports.GetBillingView$ = GetBillingView$;exports.GetBillingViewCommand = GetBillingViewCommand;exports.GetBillingViewRequest$ = GetBillingViewRequest$;exports.GetBillingViewResponse$ = GetBillingViewResponse$;exports.GetCreditAllocationHistory$ = GetCreditAllocationHistory$;exports.GetCreditAllocationHistoryCommand = GetCreditAllocationHistoryCommand;exports.GetCreditAllocationHistoryRequest$ = GetCreditAllocationHistoryRequest$;exports.GetCreditAllocationHistoryResponse$ = GetCreditAllocationHistoryResponse$;exports.GetCredits$ = GetCredits$;exports.GetCreditsCommand = GetCreditsCommand;exports.GetCreditsRequest$ = GetCreditsRequest$;exports.GetCreditsResponse$ = GetCreditsResponse$;exports.GetEnterpriseSupportChargeSummary$ = GetEnterpriseSupportChargeSummary$;exports.GetEnterpriseSupportChargeSummaryCommand = GetEnterpriseSupportChargeSummaryCommand;exports.GetEnterpriseSupportChargeSummaryRequest$ = GetEnterpriseSupportChargeSummaryRequest$;exports.GetEnterpriseSupportChargeSummaryResponse$ = GetEnterpriseSupportChargeSummaryResponse$;exports.GetEnterpriseSupportContractDetails$ = GetEnterpriseSupportContractDetails$;exports.GetEnterpriseSupportContractDetailsCommand = GetEnterpriseSupportContractDetailsCommand;exports.GetEnterpriseSupportContractDetailsRequest$ = GetEnterpriseSupportContractDetailsRequest$;exports.GetEnterpriseSupportContractDetailsResponse$ = GetEnterpriseSupportContractDetailsResponse$;exports.GetResourcePolicy$ = GetResourcePolicy$;exports.GetResourcePolicyCommand = GetResourcePolicyCommand;exports.GetResourcePolicyRequest$ = GetResourcePolicyRequest$;exports.GetResourcePolicyResponse$ = GetResourcePolicyResponse$;exports.InternalServerException = InternalServerException;exports.InternalServerException$ = InternalServerException$;exports.LinkedAccountCharge$ = LinkedAccountCharge$;exports.ListBillingViews$ = ListBillingViews$;exports.ListBillingViewsCommand = ListBillingViewsCommand;exports.ListBillingViewsRequest$ = ListBillingViewsRequest$;exports.ListBillingViewsResponse$ = ListBillingViewsResponse$;exports.ListEnterpriseSupportLinkedAccountCharges$ = ListEnterpriseSupportLinkedAccountCharges$;exports.ListEnterpriseSupportLinkedAccountChargesCommand = ListEnterpriseSupportLinkedAccountChargesCommand;exports.ListEnterpriseSupportLinkedAccountChargesRequest$ = ListEnterpriseSupportLinkedAccountChargesRequest$;exports.ListEnterpriseSupportLinkedAccountChargesResponse$ = ListEnterpriseSupportLinkedAccountChargesResponse$;exports.ListSourceViewsForBillingView$ = ListSourceViewsForBillingView$;exports.ListSourceViewsForBillingViewCommand = ListSourceViewsForBillingViewCommand;exports.ListSourceViewsForBillingViewRequest$ = ListSourceViewsForBillingViewRequest$;exports.ListSourceViewsForBillingViewResponse$ = ListSourceViewsForBillingViewResponse$;exports.ListTagsForResource$ = ListTagsForResource$;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;exports.PreferenceValue = PreferenceValue;exports.PricingPlan$ = PricingPlan$;exports.PricingPlanTier$ = PricingPlanTier$;exports.RedeemCredits$ = RedeemCredits$;exports.RedeemCreditsCommand = RedeemCreditsCommand;exports.RedeemCreditsRequest$ = RedeemCreditsRequest$;exports.RedeemCreditsResponse$ = RedeemCreditsResponse$;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.ResourceTag$ = ResourceTag$;exports.SearchOption = SearchOption;exports.ServiceLevelAccountUsage$ = ServiceLevelAccountUsage$;exports.ServiceQuotaExceededException = ServiceQuotaExceededException;exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;exports.StringSearch$ = StringSearch$;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceRequest$ = TagResourceRequest$;exports.TagResourceResponse$ = TagResourceResponse$;exports.TagValues$ = TagValues$;exports.ThrottlingException = ThrottlingException;exports.ThrottlingException$ = ThrottlingException$;exports.TimeRange$ = TimeRange$;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceRequest$ = UntagResourceRequest$;exports.UntagResourceResponse$ = UntagResourceResponse$;exports.UpdateBillingPreferences$ = UpdateBillingPreferences$;exports.UpdateBillingPreferencesCommand = UpdateBillingPreferencesCommand;exports.UpdateBillingPreferencesRequest$ = UpdateBillingPreferencesRequest$;exports.UpdateBillingPreferencesResponse$ = UpdateBillingPreferencesResponse$;exports.UpdateBillingView$ = UpdateBillingView$;exports.UpdateBillingViewCommand = UpdateBillingViewCommand;exports.UpdateBillingViewRequest$ = UpdateBillingViewRequest$;exports.UpdateBillingViewResponse$ = UpdateBillingViewResponse$;exports.ValidationException = ValidationException;exports.ValidationException$ = ValidationException$;exports.ValidationExceptionField$ = ValidationExceptionField$;exports.ValidationExceptionReason = ValidationExceptionReason;exports.errorTypeRegistries = errorTypeRegistries;exports.paginateGetCreditAllocationHistory = paginateGetCreditAllocationHistory;exports.paginateListBillingViews = paginateListBillingViews;exports.paginateListEnterpriseSupportLinkedAccountCharges = paginateListEnterpriseSupportLinkedAccountCharges;exports.paginateListSourceViewsForBillingView = paginateListSourceViewsForBillingView;