File Explorer

/var/runtime/node_modules/@aws-sdk/client-freetier/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.js25.9 KB · 703 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 defaultFreeTierHttpAuthSchemeParametersProvider = 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: "freetier",            region: authParameters.region,        },        propertiesExtractor: (config, context) => ({            signingProperties: {                config,                context,            },        }),    };}const defaultFreeTierHttpAuthSchemeProvider = (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, {        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "freetier",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },}; var version = "3.1104.0";var packageInfo = {	version: version}; const n = "ref";const a = true, b = "isSet", c = "PartitionResult", d = "booleanEquals", e = "getAttr", f = "stringEquals", g = "sigv4", h = "freetier", i = { [n]: "Endpoint" }, j = { [n]: c }, k = { [n]: "Region" }, l = {}, m = [k];const _data = {    conditions: [        [b, [i]],        [b, m],        ["aws.partition", m, c],        [d, [{ [n]: "UseFIPS" }, a]],        [d, [{ fn: e, argv: [j, "supportsFIPS"] }, a]],        [f, [{ fn: e, argv: [j, "name"] }, "aws"]],        [f, [k, "aws-cn-global"]],        [d, [{ fn: e, argv: [j, "supportsDualStack"] }, a]]    ],    results: [        [-1],        [-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],        [i, l],        ["https://freetier-fips.{Region}.api.aws", l],        [-1, "FIPS is enabled but this partition does not support FIPS"],        ["https://freetier.us-east-1.api.aws", { authSchemes: [{ name: g, signingName: h, signingRegion: "us-east-1" }] }],        ["https://freetier-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", l],        ["https://freetier.cn-northwest-1.api.amazonwebservices.com.cn", { authSchemes: [{ name: g, signingName: h, signingRegion: "cn-northwest-1" }] }],        ["https://freetier.{Region}.{PartitionResult#dualStackDnsSuffix}", l],        ["https://freetier-fips.{Region}.{PartitionResult#dnsSuffix}", l],        ["https://freetier.{Region}.{PartitionResult#dnsSuffix}", l],        [-1, "Invalid Configuration: Missing Region"]    ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([    -1, 1, -1,    0, 12, 3,    1, 4, r + 11,    2, 5, r + 11,    3, 9, 6,    5, r + 5, 7,    6, r + 7, 8,    7, r + 8, r + 10,    4, 10, r + 4,    5, r + 3, 11,    7, r + 6, r + 9,    3, r + 1, r + 2,]);const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); const cache = new EndpointCache({    size: 50,    params: ["Endpoint", "Region", "UseFIPS"],});const defaultEndpointResolver = (endpointParams, context = {}) => {    return cache.get(endpointParams, () => decideEndpoint(bdd, {        endpointParams: endpointParams,        logger: context.logger,    }));};customEndpointFunctions.aws = awsEndpointFunctions; class FreeTierServiceException extends ServiceException {    constructor(options) {        super(options);        Object.setPrototypeOf(this, FreeTierServiceException.prototype);    }} class AccessDeniedException extends FreeTierServiceException {    name = "AccessDeniedException";    $fault = "client";    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);    }}class InternalServerException extends FreeTierServiceException {    name = "InternalServerException";    $fault = "server";    constructor(opts) {        super({            name: "InternalServerException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerException.prototype);    }}class ResourceNotFoundException extends FreeTierServiceException {    name = "ResourceNotFoundException";    $fault = "client";    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);    }}class ThrottlingException extends FreeTierServiceException {    name = "ThrottlingException";    $fault = "client";    constructor(opts) {        super({            name: "ThrottlingException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ThrottlingException.prototype);    }}class ValidationException extends FreeTierServiceException {    name = "ValidationException";    $fault = "client";    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);    }} const _A = "And";const _ADE = "AccessDeniedException";const _AR = "ActivityReward";const _AS = "ActivitySummary";const _Ac = "Activities";const _D = "Dimensions";const _DV = "DimensionValues";const _E = "Expression";const _Ex = "Expressions";const _FTU = "FreeTierUsage";const _FTUr = "FreeTierUsages";const _GAA = "GetAccountActivity";const _GAAR = "GetAccountActivityRequest";const _GAARe = "GetAccountActivityResponse";const _GAPS = "GetAccountPlanState";const _GAPSR = "GetAccountPlanStateRequest";const _GAPSRe = "GetAccountPlanStateResponse";const _GFTU = "GetFreeTierUsage";const _GFTUR = "GetFreeTierUsageRequest";const _GFTURe = "GetFreeTierUsageResponse";const _ISE = "InternalServerException";const _K = "Key";const _LAA = "ListAccountActivities";const _LAAR = "ListAccountActivitiesRequest";const _LAARi = "ListAccountActivitiesResponse";const _MA = "MonetaryAmount";const _MO = "MatchOptions";const _N = "Not";const _O = "Or";const _RNFE = "ResourceNotFoundException";const _TE = "ThrottlingException";const _UAP = "UpgradeAccountPlan";const _UAPR = "UpgradeAccountPlanRequest";const _UAPRp = "UpgradeAccountPlanResponse";const _V = "Values";const _VE = "ValidationException";const _a = "activities";const _aI = "activityId";const _aIc = "accountId";const _aPED = "accountPlanExpirationDate";const _aPRC = "accountPlanRemainingCredits";const _aPS = "accountPlanStatus";const _aPT = "accountPlanType";const _aUA = "actualUsageAmount";const _am = "amount";const _c = "client";const _cA = "completedAt";const _cr = "credit";const _d = "description";const _e = "error";const _eA = "expiresAt";const _eTTCIM = "estimatedTimeToCompleteInMinutes";const _f = "filter";const _fAS = "filterActivityStatuses";const _fTT = "freeTierType";const _fTU = "freeTierUsages";const _fUA = "forecastedUsageAmount";const _hE = "httpError";const _iU = "instructionsUrl";const _l = "limit";const _lC = "languageCode";const _m = "message";const _mR = "maxResults";const _nT = "nextToken";const _o = "operation";const _r = "reward";const _re = "region";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.freetier";const _sA = "startedAt";const _se = "server";const _ser = "service";const _st = "status";const _t = "title";const _u = "unit";const _uT = "usageType";const n0 = "com.amazonaws.freetier";const _s_registry = TypeRegistry.for(_s);var FreeTierServiceException$ = [-3, _s, "FreeTierServiceException", 0, [], []];_s_registry.registerError(FreeTierServiceException$, FreeTierServiceException);const n0_registry = TypeRegistry.for(n0);var AccessDeniedException$ = [-3, n0, _ADE,    { [_e]: _c, [_hE]: 403 },    [_m],    [0], 1];n0_registry.registerError(AccessDeniedException$, AccessDeniedException);var InternalServerException$ = [-3, n0, _ISE,    { [_e]: _se, [_hE]: 500 },    [_m],    [0], 1];n0_registry.registerError(InternalServerException$, InternalServerException);var ResourceNotFoundException$ = [-3, n0, _RNFE,    { [_e]: _c, [_hE]: 404 },    [_m],    [0], 1];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);var ThrottlingException$ = [-3, n0, _TE,    { [_e]: _c, [_hE]: 429 },    [_m],    [0], 1];n0_registry.registerError(ThrottlingException$, ThrottlingException);var ValidationException$ = [-3, n0, _VE,    { [_e]: _c, [_hE]: 400 },    [_m],    [0], 1];n0_registry.registerError(ValidationException$, ValidationException);const errorTypeRegistries = [    _s_registry,    n0_registry,];var ActivitySummary$ = [3, n0, _AS,    0,    [_aI, _t, _r, _st],    [0, 0, () => ActivityReward$, 0], 4];var DimensionValues$ = [3, n0, _DV,    0,    [_K, _V, _MO],    [0, 64 | 0, 64 | 0], 3];var Expression$ = [3, n0, _E,    0,    [_O, _A, _N, _D],    [() => Expressions, () => Expressions, () => Expression$, () => DimensionValues$]];var FreeTierUsage$ = [3, n0, _FTU,    0,    [_ser, _o, _uT, _re, _aUA, _fUA, _l, _u, _d, _fTT],    [0, 0, 0, 0, 1, 1, 1, 0, 0, 0]];var GetAccountActivityRequest$ = [3, n0, _GAAR,    0,    [_aI, _lC],    [0, 0], 1];var GetAccountActivityResponse$ = [3, n0, _GAARe,    0,    [_aI, _t, _d, _st, _iU, _r, _eTTCIM, _eA, _sA, _cA],    [0, 0, 0, 0, 0, () => ActivityReward$, 1, 5, 5, 5], 6];var GetAccountPlanStateRequest$ = [3, n0, _GAPSR,    0,    [],    []];var GetAccountPlanStateResponse$ = [3, n0, _GAPSRe,    0,    [_aIc, _aPT, _aPS, _aPRC, _aPED],    [0, 0, 0, () => MonetaryAmount$, 5], 3];var GetFreeTierUsageRequest$ = [3, n0, _GFTUR,    0,    [_f, _mR, _nT],    [() => Expression$, 1, 0]];var GetFreeTierUsageResponse$ = [3, n0, _GFTURe,    0,    [_fTU, _nT],    [() => FreeTierUsages, 0], 1];var ListAccountActivitiesRequest$ = [3, n0, _LAAR,    0,    [_fAS, _nT, _mR, _lC],    [64 | 0, 0, 1, 0]];var ListAccountActivitiesResponse$ = [3, n0, _LAARi,    0,    [_a, _nT],    [() => Activities, 0], 1];var MonetaryAmount$ = [3, n0, _MA,    0,    [_am, _u],    [1, 0], 2];var UpgradeAccountPlanRequest$ = [3, n0, _UAPR,    0,    [_aPT],    [0], 1];var UpgradeAccountPlanResponse$ = [3, n0, _UAPRp,    0,    [_aIc, _aPT, _aPS],    [0, 0, 0], 3];var Activities = [1, n0, _Ac,    0, () => ActivitySummary$];var Expressions = [1, n0, _Ex,    0, () => Expression$];var FreeTierUsages = [1, n0, _FTUr,    0, () => FreeTierUsage$];var ActivityReward$ = [4, n0, _AR,    0,    [_cr],    [() => MonetaryAmount$]];var GetAccountActivity$ = [9, n0, _GAA,    0, () => GetAccountActivityRequest$, () => GetAccountActivityResponse$];var GetAccountPlanState$ = [9, n0, _GAPS,    0, () => GetAccountPlanStateRequest$, () => GetAccountPlanStateResponse$];var GetFreeTierUsage$ = [9, n0, _GFTU,    0, () => GetFreeTierUsageRequest$, () => GetFreeTierUsageResponse$];var ListAccountActivities$ = [9, n0, _LAA,    0, () => ListAccountActivitiesRequest$, () => ListAccountActivitiesResponse$];var UpgradeAccountPlan$ = [9, n0, _UAP,    0, () => UpgradeAccountPlanRequest$, () => UpgradeAccountPlanResponse$]; 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 ?? defaultFreeTierHttpAuthSchemeProvider,        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.freetier",            errorTypeRegistries,            version: "2023-09-07",            serviceTarget: "AWSFreeTierService",        },        serviceId: config?.serviceId ?? "FreeTier",        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 FreeTierClient 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: defaultFreeTierHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} const command = makeBuilder(commonParams, "AWSFreeTierService", "FreeTierClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class GetAccountActivityCommand extends command(_ep0, _mw0, "GetAccountActivity", GetAccountActivity$) {} class GetAccountPlanStateCommand extends command(_ep0, _mw0, "GetAccountPlanState", GetAccountPlanState$) {} class GetFreeTierUsageCommand extends command(_ep0, _mw0, "GetFreeTierUsage", GetFreeTierUsage$) {} class ListAccountActivitiesCommand extends command(_ep0, _mw0, "ListAccountActivities", ListAccountActivities$) {} class UpgradeAccountPlanCommand extends command(_ep0, _mw0, "UpgradeAccountPlan", UpgradeAccountPlan$) {} const paginateGetFreeTierUsage = createPaginator(FreeTierClient, GetFreeTierUsageCommand, "nextToken", "nextToken", "maxResults"); const paginateListAccountActivities = createPaginator(FreeTierClient, ListAccountActivitiesCommand, "nextToken", "nextToken", "maxResults"); const commands = {    GetAccountActivityCommand,    GetAccountPlanStateCommand,    GetFreeTierUsageCommand,    ListAccountActivitiesCommand,    UpgradeAccountPlanCommand,};const paginators = {    paginateGetFreeTierUsage,    paginateListAccountActivities,};class FreeTier extends FreeTierClient {}createAggregatedClient(commands, FreeTier, { paginators }); const AccountPlanStatus = {    ACTIVE: "ACTIVE",    EXPIRED: "EXPIRED",    NOT_STARTED: "NOT_STARTED",};const AccountPlanType = {    FREE: "FREE",    PAID: "PAID",};const CurrencyCode = {    USD: "USD",};const ActivityStatus = {    COMPLETED: "COMPLETED",    EXPIRING: "EXPIRING",    IN_PROGRESS: "IN_PROGRESS",    NOT_STARTED: "NOT_STARTED",};const LanguageCode = {    DE_DE: "de-DE",    EN_GB: "en-GB",    EN_US: "en-US",    ES_ES: "es-ES",    FR_FR: "fr-FR",    ID_ID: "id-ID",    IT_IT: "it-IT",    JA_JP: "ja-JP",    KO_KR: "ko-KR",    PT_PT: "pt-PT",    TR_TR: "tr-TR",    ZH_CN: "zh-CN",    ZH_TW: "zh-TW",};const Dimension = {    DESCRIPTION: "DESCRIPTION",    FREE_TIER_TYPE: "FREE_TIER_TYPE",    OPERATION: "OPERATION",    REGION: "REGION",    SERVICE: "SERVICE",    USAGE_PERCENTAGE: "USAGE_PERCENTAGE",    USAGE_TYPE: "USAGE_TYPE",};const MatchOption = {    CONTAINS: "CONTAINS",    ENDS_WITH: "ENDS_WITH",    EQUALS: "EQUALS",    GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",    STARTS_WITH: "STARTS_WITH",}; exports.AccessDeniedException = AccessDeniedException;exports.AccessDeniedException$ = AccessDeniedException$;exports.AccountPlanStatus = AccountPlanStatus;exports.AccountPlanType = AccountPlanType;exports.ActivityReward$ = ActivityReward$;exports.ActivityStatus = ActivityStatus;exports.ActivitySummary$ = ActivitySummary$;exports.CurrencyCode = CurrencyCode;exports.Dimension = Dimension;exports.DimensionValues$ = DimensionValues$;exports.Expression$ = Expression$;exports.FreeTier = FreeTier;exports.FreeTierClient = FreeTierClient;exports.FreeTierServiceException = FreeTierServiceException;exports.FreeTierServiceException$ = FreeTierServiceException$;exports.FreeTierUsage$ = FreeTierUsage$;exports.GetAccountActivity$ = GetAccountActivity$;exports.GetAccountActivityCommand = GetAccountActivityCommand;exports.GetAccountActivityRequest$ = GetAccountActivityRequest$;exports.GetAccountActivityResponse$ = GetAccountActivityResponse$;exports.GetAccountPlanState$ = GetAccountPlanState$;exports.GetAccountPlanStateCommand = GetAccountPlanStateCommand;exports.GetAccountPlanStateRequest$ = GetAccountPlanStateRequest$;exports.GetAccountPlanStateResponse$ = GetAccountPlanStateResponse$;exports.GetFreeTierUsage$ = GetFreeTierUsage$;exports.GetFreeTierUsageCommand = GetFreeTierUsageCommand;exports.GetFreeTierUsageRequest$ = GetFreeTierUsageRequest$;exports.GetFreeTierUsageResponse$ = GetFreeTierUsageResponse$;exports.InternalServerException = InternalServerException;exports.InternalServerException$ = InternalServerException$;exports.LanguageCode = LanguageCode;exports.ListAccountActivities$ = ListAccountActivities$;exports.ListAccountActivitiesCommand = ListAccountActivitiesCommand;exports.ListAccountActivitiesRequest$ = ListAccountActivitiesRequest$;exports.ListAccountActivitiesResponse$ = ListAccountActivitiesResponse$;exports.MatchOption = MatchOption;exports.MonetaryAmount$ = MonetaryAmount$;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.ThrottlingException = ThrottlingException;exports.ThrottlingException$ = ThrottlingException$;exports.UpgradeAccountPlan$ = UpgradeAccountPlan$;exports.UpgradeAccountPlanCommand = UpgradeAccountPlanCommand;exports.UpgradeAccountPlanRequest$ = UpgradeAccountPlanRequest$;exports.UpgradeAccountPlanResponse$ = UpgradeAccountPlanResponse$;exports.ValidationException = ValidationException;exports.ValidationException$ = ValidationException$;exports.errorTypeRegistries = errorTypeRegistries;exports.paginateGetFreeTierUsage = paginateGetFreeTierUsage;exports.paginateListAccountActivities = paginateListAccountActivities;