File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-billingconductor/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.js32.7 KB · 789 lines
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var BillingconductorServiceException = require('./models/BillingconductorServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "billingconductor",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; 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(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class BillingconductorClient extends client.Client {    config;    constructor(...[configuration]) {        const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = client$1.resolveUserAgentConfig(_config_1);        const _config_3 = retry.resolveRetryConfig(_config_2);        const _config_4 = config.resolveRegionConfig(_config_3);        const _config_5 = client$1.resolveHostHeaderConfig(_config_4);        const _config_6 = endpoints.resolveEndpointConfig(_config_5);        const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));        this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));        this.middlewareStack.use(retry.getRetryPlugin(this.config));        this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));        this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));        this.middlewareStack.use(client$1.getLoggerPlugin(this.config));        this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultBillingconductorHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class AssociateAccountsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "AssociateAccounts", {})    .n("BillingconductorClient", "AssociateAccountsCommand")    .sc(schemas_0.AssociateAccounts$)    .build() {} class AssociatePricingRulesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "AssociatePricingRules", {})    .n("BillingconductorClient", "AssociatePricingRulesCommand")    .sc(schemas_0.AssociatePricingRules$)    .build() {} class BatchAssociateResourcesToCustomLineItemCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "BatchAssociateResourcesToCustomLineItem", {})    .n("BillingconductorClient", "BatchAssociateResourcesToCustomLineItemCommand")    .sc(schemas_0.BatchAssociateResourcesToCustomLineItem$)    .build() {} class BatchDisassociateResourcesFromCustomLineItemCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "BatchDisassociateResourcesFromCustomLineItem", {})    .n("BillingconductorClient", "BatchDisassociateResourcesFromCustomLineItemCommand")    .sc(schemas_0.BatchDisassociateResourcesFromCustomLineItem$)    .build() {} class CreateBillingGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "CreateBillingGroup", {})    .n("BillingconductorClient", "CreateBillingGroupCommand")    .sc(schemas_0.CreateBillingGroup$)    .build() {} class CreateCustomLineItemCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "CreateCustomLineItem", {})    .n("BillingconductorClient", "CreateCustomLineItemCommand")    .sc(schemas_0.CreateCustomLineItem$)    .build() {} class CreatePricingPlanCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "CreatePricingPlan", {})    .n("BillingconductorClient", "CreatePricingPlanCommand")    .sc(schemas_0.CreatePricingPlan$)    .build() {} class CreatePricingRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "CreatePricingRule", {})    .n("BillingconductorClient", "CreatePricingRuleCommand")    .sc(schemas_0.CreatePricingRule$)    .build() {} class DeleteBillingGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "DeleteBillingGroup", {})    .n("BillingconductorClient", "DeleteBillingGroupCommand")    .sc(schemas_0.DeleteBillingGroup$)    .build() {} class DeleteCustomLineItemCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "DeleteCustomLineItem", {})    .n("BillingconductorClient", "DeleteCustomLineItemCommand")    .sc(schemas_0.DeleteCustomLineItem$)    .build() {} class DeletePricingPlanCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "DeletePricingPlan", {})    .n("BillingconductorClient", "DeletePricingPlanCommand")    .sc(schemas_0.DeletePricingPlan$)    .build() {} class DeletePricingRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "DeletePricingRule", {})    .n("BillingconductorClient", "DeletePricingRuleCommand")    .sc(schemas_0.DeletePricingRule$)    .build() {} class DisassociateAccountsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "DisassociateAccounts", {})    .n("BillingconductorClient", "DisassociateAccountsCommand")    .sc(schemas_0.DisassociateAccounts$)    .build() {} class DisassociatePricingRulesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "DisassociatePricingRules", {})    .n("BillingconductorClient", "DisassociatePricingRulesCommand")    .sc(schemas_0.DisassociatePricingRules$)    .build() {} class GetBillingGroupCostReportCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "GetBillingGroupCostReport", {})    .n("BillingconductorClient", "GetBillingGroupCostReportCommand")    .sc(schemas_0.GetBillingGroupCostReport$)    .build() {} class ListAccountAssociationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "ListAccountAssociations", {})    .n("BillingconductorClient", "ListAccountAssociationsCommand")    .sc(schemas_0.ListAccountAssociations$)    .build() {} class ListBillingGroupCostReportsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "ListBillingGroupCostReports", {})    .n("BillingconductorClient", "ListBillingGroupCostReportsCommand")    .sc(schemas_0.ListBillingGroupCostReports$)    .build() {} class ListBillingGroupsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "ListBillingGroups", {})    .n("BillingconductorClient", "ListBillingGroupsCommand")    .sc(schemas_0.ListBillingGroups$)    .build() {} class ListCustomLineItemsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "ListCustomLineItems", {})    .n("BillingconductorClient", "ListCustomLineItemsCommand")    .sc(schemas_0.ListCustomLineItems$)    .build() {} class ListCustomLineItemVersionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "ListCustomLineItemVersions", {})    .n("BillingconductorClient", "ListCustomLineItemVersionsCommand")    .sc(schemas_0.ListCustomLineItemVersions$)    .build() {} class ListPricingPlansAssociatedWithPricingRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "ListPricingPlansAssociatedWithPricingRule", {})    .n("BillingconductorClient", "ListPricingPlansAssociatedWithPricingRuleCommand")    .sc(schemas_0.ListPricingPlansAssociatedWithPricingRule$)    .build() {} class ListPricingPlansCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "ListPricingPlans", {})    .n("BillingconductorClient", "ListPricingPlansCommand")    .sc(schemas_0.ListPricingPlans$)    .build() {} class ListPricingRulesAssociatedToPricingPlanCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "ListPricingRulesAssociatedToPricingPlan", {})    .n("BillingconductorClient", "ListPricingRulesAssociatedToPricingPlanCommand")    .sc(schemas_0.ListPricingRulesAssociatedToPricingPlan$)    .build() {} class ListPricingRulesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "ListPricingRules", {})    .n("BillingconductorClient", "ListPricingRulesCommand")    .sc(schemas_0.ListPricingRules$)    .build() {} class ListResourcesAssociatedToCustomLineItemCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "ListResourcesAssociatedToCustomLineItem", {})    .n("BillingconductorClient", "ListResourcesAssociatedToCustomLineItemCommand")    .sc(schemas_0.ListResourcesAssociatedToCustomLineItem$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "ListTagsForResource", {})    .n("BillingconductorClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "TagResource", {})    .n("BillingconductorClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "UntagResource", {})    .n("BillingconductorClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateBillingGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "UpdateBillingGroup", {})    .n("BillingconductorClient", "UpdateBillingGroupCommand")    .sc(schemas_0.UpdateBillingGroup$)    .build() {} class UpdateCustomLineItemCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "UpdateCustomLineItem", {})    .n("BillingconductorClient", "UpdateCustomLineItemCommand")    .sc(schemas_0.UpdateCustomLineItem$)    .build() {} class UpdatePricingPlanCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "UpdatePricingPlan", {})    .n("BillingconductorClient", "UpdatePricingPlanCommand")    .sc(schemas_0.UpdatePricingPlan$)    .build() {} class UpdatePricingRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSBillingConductor", "UpdatePricingRule", {})    .n("BillingconductorClient", "UpdatePricingRuleCommand")    .sc(schemas_0.UpdatePricingRule$)    .build() {} const paginateGetBillingGroupCostReport = core.createPaginator(BillingconductorClient, GetBillingGroupCostReportCommand, "NextToken", "NextToken", "MaxResults"); const paginateListAccountAssociations = core.createPaginator(BillingconductorClient, ListAccountAssociationsCommand, "NextToken", "NextToken", ""); const paginateListBillingGroupCostReports = core.createPaginator(BillingconductorClient, ListBillingGroupCostReportsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListBillingGroups = core.createPaginator(BillingconductorClient, ListBillingGroupsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListCustomLineItems = core.createPaginator(BillingconductorClient, ListCustomLineItemsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListCustomLineItemVersions = core.createPaginator(BillingconductorClient, ListCustomLineItemVersionsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPricingPlansAssociatedWithPricingRule = core.createPaginator(BillingconductorClient, ListPricingPlansAssociatedWithPricingRuleCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPricingPlans = core.createPaginator(BillingconductorClient, ListPricingPlansCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPricingRulesAssociatedToPricingPlan = core.createPaginator(BillingconductorClient, ListPricingRulesAssociatedToPricingPlanCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPricingRules = core.createPaginator(BillingconductorClient, ListPricingRulesCommand, "NextToken", "NextToken", "MaxResults"); const paginateListResourcesAssociatedToCustomLineItem = core.createPaginator(BillingconductorClient, ListResourcesAssociatedToCustomLineItemCommand, "NextToken", "NextToken", "MaxResults"); const commands = {    AssociateAccountsCommand,    AssociatePricingRulesCommand,    BatchAssociateResourcesToCustomLineItemCommand,    BatchDisassociateResourcesFromCustomLineItemCommand,    CreateBillingGroupCommand,    CreateCustomLineItemCommand,    CreatePricingPlanCommand,    CreatePricingRuleCommand,    DeleteBillingGroupCommand,    DeleteCustomLineItemCommand,    DeletePricingPlanCommand,    DeletePricingRuleCommand,    DisassociateAccountsCommand,    DisassociatePricingRulesCommand,    GetBillingGroupCostReportCommand,    ListAccountAssociationsCommand,    ListBillingGroupCostReportsCommand,    ListBillingGroupsCommand,    ListCustomLineItemsCommand,    ListCustomLineItemVersionsCommand,    ListPricingPlansCommand,    ListPricingPlansAssociatedWithPricingRuleCommand,    ListPricingRulesCommand,    ListPricingRulesAssociatedToPricingPlanCommand,    ListResourcesAssociatedToCustomLineItemCommand,    ListTagsForResourceCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateBillingGroupCommand,    UpdateCustomLineItemCommand,    UpdatePricingPlanCommand,    UpdatePricingRuleCommand,};const paginators = {    paginateGetBillingGroupCostReport,    paginateListAccountAssociations,    paginateListBillingGroupCostReports,    paginateListBillingGroups,    paginateListCustomLineItems,    paginateListCustomLineItemVersions,    paginateListPricingPlans,    paginateListPricingPlansAssociatedWithPricingRule,    paginateListPricingRules,    paginateListPricingRulesAssociatedToPricingPlan,    paginateListResourcesAssociatedToCustomLineItem,};class Billingconductor extends BillingconductorClient {}client.createAggregatedClient(commands, Billingconductor, { paginators }); const ConflictExceptionReason = {    PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT: "PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT",    PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT: "PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT",    PRICING_RULE_IN_PRICING_PLAN_CONFLICT: "PRICING_RULE_IN_PRICING_PLAN_CONFLICT",    RESOURCE_NAME_CONFLICT: "RESOURCE_NAME_CONFLICT",    WRITE_CONFLICT_RETRY: "WRITE_CONFLICT_RETRY",};const ValidationExceptionReason = {    ACCOUNTS_ALREADY_ASSOCIATED: "ACCOUNTS_ALREADY_ASSOCIATED",    ACCOUNTS_NOT_ASSOCIATED: "ACCOUNTS_NOT_ASSOCIATED",    BILLING_GROUP_ALREADY_EXIST_IN_CURRENT_BILLING_PERIOD: "BILLING_GROUP_ALREADY_EXIST_IN_CURRENT_BILLING_PERIOD",    CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP: "CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP",    CANNOT_PARSE: "CANNOT_PARSE",    CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS: "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS",    DUPLICATE_ACCOUNT: "DUPLICATE_ACCOUNT",    DUPLICATE_PRICINGRULE_ARNS: "DUPLICATE_PRICINGRULE_ARNS",    FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",    ILLEGAL_ACCOUNTS: "ILLEGAL_ACCOUNTS",    ILLEGAL_ACCOUNT_ID: "ILLEGAL_ACCOUNT_ID",    ILLEGAL_BILLING_ENTITY: "ILLEGAL_BILLING_ENTITY",    ILLEGAL_BILLING_GROUP_PRICING_PLAN: "ILLEGAL_BILLING_GROUP_PRICING_PLAN",    ILLEGAL_BILLING_GROUP_TYPE: "ILLEGAL_BILLING_GROUP_TYPE",    ILLEGAL_BILLING_PERIOD: "ILLEGAL_BILLING_PERIOD",    ILLEGAL_BILLING_PERIOD_RANGE: "ILLEGAL_BILLING_PERIOD_RANGE",    ILLEGAL_CHARGE_DETAILS: "ILLEGAL_CHARGE_DETAILS",    ILLEGAL_CHILD_ASSOCIATE_RESOURCE: "ILLEGAL_CHILD_ASSOCIATE_RESOURCE",    ILLEGAL_COMPUTATION_RULE: "ILLEGAL_COMPUTATION_RULE",    ILLEGAL_CUSTOMLINEITEM: "ILLEGAL_CUSTOMLINEITEM",    ILLEGAL_CUSTOMLINEITEM_MODIFICATION: "ILLEGAL_CUSTOMLINEITEM_MODIFICATION",    ILLEGAL_CUSTOMLINEITEM_UPDATE: "ILLEGAL_CUSTOMLINEITEM_UPDATE",    ILLEGAL_ENDED_BILLINGGROUP: "ILLEGAL_ENDED_BILLINGGROUP",    ILLEGAL_EXPRESSION: "ILLEGAL_EXPRESSION",    ILLEGAL_LINE_ITEM_FILTER: "ILLEGAL_LINE_ITEM_FILTER",    ILLEGAL_MODIFIER_PERCENTAGE: "ILLEGAL_MODIFIER_PERCENTAGE",    ILLEGAL_OPERATION: "ILLEGAL_OPERATION",    ILLEGAL_PRIMARY_ACCOUNT: "ILLEGAL_PRIMARY_ACCOUNT",    ILLEGAL_RESOURCE_ARNS: "ILLEGAL_RESOURCE_ARNS",    ILLEGAL_SCOPE: "ILLEGAL_SCOPE",    ILLEGAL_SERVICE: "ILLEGAL_SERVICE",    ILLEGAL_TIERING_INPUT: "ILLEGAL_TIERING_INPUT",    ILLEGAL_TYPE: "ILLEGAL_TYPE",    ILLEGAL_UPDATE_CHARGE_DETAILS: "ILLEGAL_UPDATE_CHARGE_DETAILS",    ILLEGAL_USAGE_TYPE: "ILLEGAL_USAGE_TYPE",    INVALID_ARN: "INVALID_ARN",    INVALID_BILLINGVIEW_ARN: "INVALID_BILLINGVIEW_ARN",    INVALID_BILLING_GROUP: "INVALID_BILLING_GROUP",    INVALID_BILLING_GROUP_STATUS: "INVALID_BILLING_GROUP_STATUS",    INVALID_BILLING_PERIOD_FOR_OPERATION: "INVALID_BILLING_PERIOD_FOR_OPERATION",    INVALID_FILTER: "INVALID_FILTER",    INVALID_SKU_COMBO: "INVALID_SKU_COMBO",    INVALID_TIME_RANGE: "INVALID_TIME_RANGE",    MISMATCHED_BILLINGGROUP_ARN: "MISMATCHED_BILLINGGROUP_ARN",    MISMATCHED_BILLINGVIEW_ARN: "MISMATCHED_BILLINGVIEW_ARN",    MISMATCHED_CUSTOMLINEITEM_ARN: "MISMATCHED_CUSTOMLINEITEM_ARN",    MISMATCHED_PRICINGPLAN_ARN: "MISMATCHED_PRICINGPLAN_ARN",    MISMATCHED_PRICINGRULE_ARN: "MISMATCHED_PRICINGRULE_ARN",    MISSING_BILLINGGROUP: "MISSING_BILLINGGROUP",    MISSING_COSTCATEGORY: "MISSING_COSTCATEGORY",    MISSING_CUSTOMLINEITEM: "MISSING_CUSTOMLINEITEM",    MISSING_LINKED_ACCOUNT_IDS: "MISSING_LINKED_ACCOUNT_IDS",    MISSING_PRICINGPLAN: "MISSING_PRICINGPLAN",    MISSING_PRICING_PLAN_ARN: "MISSING_PRICING_PLAN_ARN",    MULTIPLE_LINKED_ACCOUNT_IDS: "MULTIPLE_LINKED_ACCOUNT_IDS",    MULTIPLE_PRICING_PLAN_ARN: "MULTIPLE_PRICING_PLAN_ARN",    OTHER: "OTHER",    PRICINGRULES_ALREADY_ASSOCIATED: "PRICINGRULES_ALREADY_ASSOCIATED",    PRICINGRULES_NOT_ASSOCIATED: "PRICINGRULES_NOT_ASSOCIATED",    PRICINGRULES_NOT_EXIST: "PRICINGRULES_NOT_EXIST",    PRIMARY_CANNOT_DISASSOCIATE: "PRIMARY_CANNOT_DISASSOCIATE",    PRIMARY_NOT_ASSOCIATED: "PRIMARY_NOT_ASSOCIATED",    TOO_MANY_ACCOUNTS_IN_REQUEST: "TOO_MANY_ACCOUNTS_IN_REQUEST",    TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS: "TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS",    TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST: "TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST",    UNKNOWN_OPERATION: "UNKNOWN_OPERATION",};const AssociateResourceErrorReason = {    ILLEGAL_CUSTOMLINEITEM: "ILLEGAL_CUSTOMLINEITEM",    INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION",    INVALID_ARN: "INVALID_ARN",    INVALID_BILLING_PERIOD_RANGE: "INVALID_BILLING_PERIOD_RANGE",    SERVICE_LIMIT_EXCEEDED: "SERVICE_LIMIT_EXCEEDED",};const BillingGroupType = {    STANDARD: "STANDARD",    TRANSFER_BILLING: "TRANSFER_BILLING",};const SearchOption = {    STARTS_WITH: "STARTS_WITH",};const BillingGroupStatus = {    ACTIVE: "ACTIVE",    PENDING: "PENDING",    PRIMARY_ACCOUNT_MISSING: "PRIMARY_ACCOUNT_MISSING",};const LineItemFilterAttributeName = {    LINE_ITEM_TYPE: "LINE_ITEM_TYPE",    SERVICE: "SERVICE",};const MatchOption = {    EQUAL: "EQUAL",    NOT_EQUAL: "NOT_EQUAL",};const LineItemFilterValue = {    SAVINGS_PLAN_NEGATION: "SAVINGS_PLAN_NEGATION",};const CustomLineItemType = {    CREDIT: "CREDIT",    FEE: "FEE",};const ComputationRuleEnum = {    CONSOLIDATED: "CONSOLIDATED",    ITEMIZED: "ITEMIZED",};const CurrencyCode = {    CNY: "CNY",    USD: "USD",};const CustomLineItemRelationship = {    CHILD: "CHILD",    PARENT: "PARENT",};const GroupByAttributeName = {    BILLING_PERIOD: "BILLING_PERIOD",    PRODUCT_NAME: "PRODUCT_NAME",};const PricingRuleScope = {    BILLING_ENTITY: "BILLING_ENTITY",    GLOBAL: "GLOBAL",    SERVICE: "SERVICE",    SKU: "SKU",};const PricingRuleType = {    DISCOUNT: "DISCOUNT",    MARKUP: "MARKUP",    TIERING: "TIERING",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.BillingconductorServiceException = BillingconductorServiceException.BillingconductorServiceException;exports.AssociateAccountsCommand = AssociateAccountsCommand;exports.AssociatePricingRulesCommand = AssociatePricingRulesCommand;exports.AssociateResourceErrorReason = AssociateResourceErrorReason;exports.BatchAssociateResourcesToCustomLineItemCommand = BatchAssociateResourcesToCustomLineItemCommand;exports.BatchDisassociateResourcesFromCustomLineItemCommand = BatchDisassociateResourcesFromCustomLineItemCommand;exports.BillingGroupStatus = BillingGroupStatus;exports.BillingGroupType = BillingGroupType;exports.Billingconductor = Billingconductor;exports.BillingconductorClient = BillingconductorClient;exports.ComputationRuleEnum = ComputationRuleEnum;exports.ConflictExceptionReason = ConflictExceptionReason;exports.CreateBillingGroupCommand = CreateBillingGroupCommand;exports.CreateCustomLineItemCommand = CreateCustomLineItemCommand;exports.CreatePricingPlanCommand = CreatePricingPlanCommand;exports.CreatePricingRuleCommand = CreatePricingRuleCommand;exports.CurrencyCode = CurrencyCode;exports.CustomLineItemRelationship = CustomLineItemRelationship;exports.CustomLineItemType = CustomLineItemType;exports.DeleteBillingGroupCommand = DeleteBillingGroupCommand;exports.DeleteCustomLineItemCommand = DeleteCustomLineItemCommand;exports.DeletePricingPlanCommand = DeletePricingPlanCommand;exports.DeletePricingRuleCommand = DeletePricingRuleCommand;exports.DisassociateAccountsCommand = DisassociateAccountsCommand;exports.DisassociatePricingRulesCommand = DisassociatePricingRulesCommand;exports.GetBillingGroupCostReportCommand = GetBillingGroupCostReportCommand;exports.GroupByAttributeName = GroupByAttributeName;exports.LineItemFilterAttributeName = LineItemFilterAttributeName;exports.LineItemFilterValue = LineItemFilterValue;exports.ListAccountAssociationsCommand = ListAccountAssociationsCommand;exports.ListBillingGroupCostReportsCommand = ListBillingGroupCostReportsCommand;exports.ListBillingGroupsCommand = ListBillingGroupsCommand;exports.ListCustomLineItemVersionsCommand = ListCustomLineItemVersionsCommand;exports.ListCustomLineItemsCommand = ListCustomLineItemsCommand;exports.ListPricingPlansAssociatedWithPricingRuleCommand = ListPricingPlansAssociatedWithPricingRuleCommand;exports.ListPricingPlansCommand = ListPricingPlansCommand;exports.ListPricingRulesAssociatedToPricingPlanCommand = ListPricingRulesAssociatedToPricingPlanCommand;exports.ListPricingRulesCommand = ListPricingRulesCommand;exports.ListResourcesAssociatedToCustomLineItemCommand = ListResourcesAssociatedToCustomLineItemCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.MatchOption = MatchOption;exports.PricingRuleScope = PricingRuleScope;exports.PricingRuleType = PricingRuleType;exports.SearchOption = SearchOption;exports.TagResourceCommand = TagResourceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateBillingGroupCommand = UpdateBillingGroupCommand;exports.UpdateCustomLineItemCommand = UpdateCustomLineItemCommand;exports.UpdatePricingPlanCommand = UpdatePricingPlanCommand;exports.UpdatePricingRuleCommand = UpdatePricingRuleCommand;exports.ValidationExceptionReason = ValidationExceptionReason;exports.paginateGetBillingGroupCostReport = paginateGetBillingGroupCostReport;exports.paginateListAccountAssociations = paginateListAccountAssociations;exports.paginateListBillingGroupCostReports = paginateListBillingGroupCostReports;exports.paginateListBillingGroups = paginateListBillingGroups;exports.paginateListCustomLineItemVersions = paginateListCustomLineItemVersions;exports.paginateListCustomLineItems = paginateListCustomLineItems;exports.paginateListPricingPlans = paginateListPricingPlans;exports.paginateListPricingPlansAssociatedWithPricingRule = paginateListPricingPlansAssociatedWithPricingRule;exports.paginateListPricingRules = paginateListPricingRules;exports.paginateListPricingRulesAssociatedToPricingPlan = paginateListPricingRulesAssociatedToPricingPlan;exports.paginateListResourcesAssociatedToCustomLineItem = paginateListResourcesAssociatedToCustomLineItem;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: schemas_0['__proto__']    }); Object.keys(schemas_0).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: errors['__proto__']    }); Object.keys(errors).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});