File Explorer

/proc/2/root/proc/self/task/4/root/var/runtime/node_modules/@aws-sdk/client-dax/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.js58.4 KB · 1684 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 } = 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_1Protocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultDAXHttpAuthSchemeParametersProvider = 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: "dax",            region: authParameters.region,        },        propertiesExtractor: (config, context) => ({            signingProperties: {                config,                context,            },        }),    };}const defaultDAXHttpAuthSchemeProvider = (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: "dax",    });};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 k = "ref";const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];const _data = {    conditions: [        [c, [g]],        [c, j],        ["aws.partition", j, d],        [e, [{ [k]: "UseFIPS" }, b]],        [e, [{ [k]: "UseDualStack" }, b]],        [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],        [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]    ],    results: [        [a],        [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],        [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],        [g, i],        ["https://dax-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],        ["https://dax-fips.{Region}.{PartitionResult#dnsSuffix}", i],        [a, "FIPS is enabled but this partition does not support FIPS"],        ["https://dax.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "DualStack is enabled but this partition does not support DualStack"],        ["https://dax.{Region}.{PartitionResult#dnsSuffix}", i],        [a, "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, 8, 6,    4, 7, r + 10,    5, r + 8, r + 9,    4, 10, 9,    6, r + 6, r + 7,    5, 11, r + 5,    6, r + 4, r + 5,    3, r + 1, 13,    4, 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 DAXServiceException extends ServiceException {    constructor(options) {        super(options);        Object.setPrototypeOf(this, DAXServiceException.prototype);    }} class ClusterAlreadyExistsFault extends DAXServiceException {    name = "ClusterAlreadyExistsFault";    $fault = "client";    constructor(opts) {        super({            name: "ClusterAlreadyExistsFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ClusterAlreadyExistsFault.prototype);    }}class ClusterQuotaForCustomerExceededFault extends DAXServiceException {    name = "ClusterQuotaForCustomerExceededFault";    $fault = "client";    constructor(opts) {        super({            name: "ClusterQuotaForCustomerExceededFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ClusterQuotaForCustomerExceededFault.prototype);    }}class InsufficientClusterCapacityFault extends DAXServiceException {    name = "InsufficientClusterCapacityFault";    $fault = "client";    constructor(opts) {        super({            name: "InsufficientClusterCapacityFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, InsufficientClusterCapacityFault.prototype);    }}class InvalidClusterStateFault extends DAXServiceException {    name = "InvalidClusterStateFault";    $fault = "client";    constructor(opts) {        super({            name: "InvalidClusterStateFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, InvalidClusterStateFault.prototype);    }}class InvalidParameterCombinationException extends DAXServiceException {    name = "InvalidParameterCombinationException";    $fault = "client";    constructor(opts) {        super({            name: "InvalidParameterCombinationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);    }}class InvalidParameterGroupStateFault extends DAXServiceException {    name = "InvalidParameterGroupStateFault";    $fault = "client";    constructor(opts) {        super({            name: "InvalidParameterGroupStateFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, InvalidParameterGroupStateFault.prototype);    }}class InvalidParameterValueException extends DAXServiceException {    name = "InvalidParameterValueException";    $fault = "client";    constructor(opts) {        super({            name: "InvalidParameterValueException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, InvalidParameterValueException.prototype);    }}class InvalidVPCNetworkStateFault extends DAXServiceException {    name = "InvalidVPCNetworkStateFault";    $fault = "client";    constructor(opts) {        super({            name: "InvalidVPCNetworkStateFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, InvalidVPCNetworkStateFault.prototype);    }}class NodeQuotaForClusterExceededFault extends DAXServiceException {    name = "NodeQuotaForClusterExceededFault";    $fault = "client";    constructor(opts) {        super({            name: "NodeQuotaForClusterExceededFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, NodeQuotaForClusterExceededFault.prototype);    }}class NodeQuotaForCustomerExceededFault extends DAXServiceException {    name = "NodeQuotaForCustomerExceededFault";    $fault = "client";    constructor(opts) {        super({            name: "NodeQuotaForCustomerExceededFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, NodeQuotaForCustomerExceededFault.prototype);    }}class ParameterGroupNotFoundFault extends DAXServiceException {    name = "ParameterGroupNotFoundFault";    $fault = "client";    constructor(opts) {        super({            name: "ParameterGroupNotFoundFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ParameterGroupNotFoundFault.prototype);    }}class ServiceLinkedRoleNotFoundFault extends DAXServiceException {    name = "ServiceLinkedRoleNotFoundFault";    $fault = "client";    constructor(opts) {        super({            name: "ServiceLinkedRoleNotFoundFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ServiceLinkedRoleNotFoundFault.prototype);    }}class ServiceQuotaExceededException extends DAXServiceException {    name = "ServiceQuotaExceededException";    $fault = "client";    constructor(opts) {        super({            name: "ServiceQuotaExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);    }}class SubnetGroupNotFoundFault extends DAXServiceException {    name = "SubnetGroupNotFoundFault";    $fault = "client";    constructor(opts) {        super({            name: "SubnetGroupNotFoundFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, SubnetGroupNotFoundFault.prototype);    }}class TagQuotaPerResourceExceeded extends DAXServiceException {    name = "TagQuotaPerResourceExceeded";    $fault = "client";    constructor(opts) {        super({            name: "TagQuotaPerResourceExceeded",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, TagQuotaPerResourceExceeded.prototype);    }}class ParameterGroupAlreadyExistsFault extends DAXServiceException {    name = "ParameterGroupAlreadyExistsFault";    $fault = "client";    constructor(opts) {        super({            name: "ParameterGroupAlreadyExistsFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ParameterGroupAlreadyExistsFault.prototype);    }}class ParameterGroupQuotaExceededFault extends DAXServiceException {    name = "ParameterGroupQuotaExceededFault";    $fault = "client";    constructor(opts) {        super({            name: "ParameterGroupQuotaExceededFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ParameterGroupQuotaExceededFault.prototype);    }}class InvalidSubnet extends DAXServiceException {    name = "InvalidSubnet";    $fault = "client";    constructor(opts) {        super({            name: "InvalidSubnet",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, InvalidSubnet.prototype);    }}class SubnetGroupAlreadyExistsFault extends DAXServiceException {    name = "SubnetGroupAlreadyExistsFault";    $fault = "client";    constructor(opts) {        super({            name: "SubnetGroupAlreadyExistsFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, SubnetGroupAlreadyExistsFault.prototype);    }}class SubnetGroupQuotaExceededFault extends DAXServiceException {    name = "SubnetGroupQuotaExceededFault";    $fault = "client";    constructor(opts) {        super({            name: "SubnetGroupQuotaExceededFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, SubnetGroupQuotaExceededFault.prototype);    }}class SubnetNotAllowedFault extends DAXServiceException {    name = "SubnetNotAllowedFault";    $fault = "client";    constructor(opts) {        super({            name: "SubnetNotAllowedFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, SubnetNotAllowedFault.prototype);    }}class SubnetQuotaExceededFault extends DAXServiceException {    name = "SubnetQuotaExceededFault";    $fault = "client";    constructor(opts) {        super({            name: "SubnetQuotaExceededFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, SubnetQuotaExceededFault.prototype);    }}class ClusterNotFoundFault extends DAXServiceException {    name = "ClusterNotFoundFault";    $fault = "client";    constructor(opts) {        super({            name: "ClusterNotFoundFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ClusterNotFoundFault.prototype);    }}class NodeNotFoundFault extends DAXServiceException {    name = "NodeNotFoundFault";    $fault = "client";    constructor(opts) {        super({            name: "NodeNotFoundFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, NodeNotFoundFault.prototype);    }}class SubnetGroupInUseFault extends DAXServiceException {    name = "SubnetGroupInUseFault";    $fault = "client";    constructor(opts) {        super({            name: "SubnetGroupInUseFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, SubnetGroupInUseFault.prototype);    }}class InvalidARNFault extends DAXServiceException {    name = "InvalidARNFault";    $fault = "client";    constructor(opts) {        super({            name: "InvalidARNFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, InvalidARNFault.prototype);    }}class TagNotFoundFault extends DAXServiceException {    name = "TagNotFoundFault";    $fault = "client";    constructor(opts) {        super({            name: "TagNotFoundFault",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, TagNotFoundFault.prototype);    }}class SubnetInUse extends DAXServiceException {    name = "SubnetInUse";    $fault = "client";    constructor(opts) {        super({            name: "SubnetInUse",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, SubnetInUse.prototype);    }} const _A = "Address";const _AN = "ActiveNodes";const _AV = "AllowedValues";const _AZ = "AvailabilityZones";const _AZv = "AvailabilityZone";const _C = "Cluster";const _CA = "ClusterArn";const _CAEF = "ClusterAlreadyExistsFault";const _CC = "CreateCluster";const _CCR = "CreateClusterRequest";const _CCRr = "CreateClusterResponse";const _CDE = "ClusterDiscoveryEndpoint";const _CEET = "ClusterEndpointEncryptionType";const _CL = "ClusterList";const _CN = "ClusterName";const _CNFF = "ClusterNotFoundFault";const _CNl = "ClusterNames";const _CPG = "CreateParameterGroup";const _CPGR = "CreateParameterGroupRequest";const _CPGRr = "CreateParameterGroupResponse";const _CQFCEF = "ClusterQuotaForCustomerExceededFault";const _CSG = "CreateSubnetGroup";const _CSGR = "CreateSubnetGroupRequest";const _CSGRr = "CreateSubnetGroupResponse";const _CT = "ChangeType";const _Cl = "Clusters";const _D = "Description";const _DC = "DeleteCluster";const _DCR = "DeleteClusterRequest";const _DCRe = "DeleteClusterResponse";const _DCRes = "DescribeClustersRequest";const _DCResc = "DescribeClustersResponse";const _DCe = "DescribeClusters";const _DDP = "DescribeDefaultParameters";const _DDPR = "DescribeDefaultParametersRequest";const _DDPRe = "DescribeDefaultParametersResponse";const _DE = "DescribeEvents";const _DER = "DescribeEventsRequest";const _DERe = "DescribeEventsResponse";const _DM = "DeletionMessage";const _DP = "DescribeParameters";const _DPG = "DeleteParameterGroup";const _DPGR = "DeleteParameterGroupRequest";const _DPGRe = "DeleteParameterGroupResponse";const _DPGRes = "DescribeParameterGroupsRequest";const _DPGResc = "DescribeParameterGroupsResponse";const _DPGe = "DescribeParameterGroups";const _DPR = "DescribeParametersRequest";const _DPRe = "DescribeParametersResponse";const _DRF = "DecreaseReplicationFactor";const _DRFR = "DecreaseReplicationFactorRequest";const _DRFRe = "DecreaseReplicationFactorResponse";const _DSG = "DeleteSubnetGroup";const _DSGR = "DeleteSubnetGroupRequest";const _DSGRe = "DeleteSubnetGroupResponse";const _DSGRes = "DescribeSubnetGroupsRequest";const _DSGResc = "DescribeSubnetGroupsResponse";const _DSGe = "DescribeSubnetGroups";const _DT = "DataType";const _Da = "Date";const _Du = "Duration";const _E = "Events";const _EL = "EventList";const _ET = "EndTime";const _En = "Endpoint";const _Ena = "Enabled";const _Ev = "Event";const _IARNF = "InvalidARNFault";const _ICCF = "InsufficientClusterCapacityFault";const _ICSF = "InvalidClusterStateFault";const _IM = "IsModifiable";const _IPCE = "InvalidParameterCombinationException";const _IPGSF = "InvalidParameterGroupStateFault";const _IPVE = "InvalidParameterValueException";const _IRA = "IamRoleArn";const _IRF = "IncreaseReplicationFactor";const _IRFR = "IncreaseReplicationFactorRequest";const _IRFRn = "IncreaseReplicationFactorResponse";const _IS = "InvalidSubnet";const _IVPCNSF = "InvalidVPCNetworkStateFault";const _K = "Key";const _LT = "ListTags";const _LTR = "ListTagsRequest";const _LTRi = "ListTagsResponse";const _M = "Message";const _MR = "MaxResults";const _N = "Nodes";const _NC = "NotificationConfiguration";const _NCT = "NodeCreateTime";const _NI = "NodeId";const _NITR = "NodeIdsToRemove";const _NITRo = "NodeIdsToReboot";const _NL = "NodeList";const _NNFF = "NodeNotFoundFault";const _NQFCEF = "NodeQuotaForClusterExceededFault";const _NQFCEFo = "NodeQuotaForCustomerExceededFault";const _NRF = "NewReplicationFactor";const _NS = "NodeStatus";const _NT = "NodeType";const _NTA = "NotificationTopicArn";const _NTS = "NotificationTopicStatus";const _NTSV = "NodeTypeSpecificValue";const _NTSVL = "NodeTypeSpecificValueList";const _NTSVo = "NodeTypeSpecificValues";const _NTe = "NetworkType";const _NTex = "NextToken";const _No = "Node";const _P = "Parameters";const _PAS = "ParameterApplyStatus";const _PG = "ParameterGroup";const _PGAEF = "ParameterGroupAlreadyExistsFault";const _PGL = "ParameterGroupList";const _PGN = "ParameterGroupName";const _PGNFF = "ParameterGroupNotFoundFault";const _PGNa = "ParameterGroupNames";const _PGQEF = "ParameterGroupQuotaExceededFault";const _PGS = "ParameterGroupStatus";const _PGa = "ParameterGroups";const _PL = "ParameterList";const _PMW = "PreferredMaintenanceWindow";const _PN = "ParameterName";const _PNV = "ParameterNameValue";const _PNVL = "ParameterNameValueList";const _PNVa = "ParameterNameValues";const _PT = "ParameterType";const _PV = "ParameterValue";const _Pa = "Parameter";const _Po = "Port";const _RF = "ReplicationFactor";const _RN = "ResourceName";const _RNR = "RebootNodeRequest";const _RNRe = "RebootNodeResponse";const _RNe = "RebootNode";const _S = "Status";const _SAZ = "SubnetAvailabilityZone";const _SG = "SubnetGroup";const _SGAEF = "SubnetGroupAlreadyExistsFault";const _SGI = "SecurityGroupIds";const _SGIUF = "SubnetGroupInUseFault";const _SGIe = "SecurityGroupIdentifier";const _SGL = "SubnetGroupList";const _SGM = "SecurityGroupMembership";const _SGML = "SecurityGroupMembershipList";const _SGN = "SubnetGroupName";const _SGNFF = "SubnetGroupNotFoundFault";const _SGNu = "SubnetGroupNames";const _SGQEF = "SubnetGroupQuotaExceededFault";const _SGe = "SecurityGroups";const _SGu = "SubnetGroups";const _SI = "SubnetIds";const _SIU = "SubnetInUse";const _SIu = "SubnetIdentifier";const _SL = "SubnetList";const _SLRNFF = "ServiceLinkedRoleNotFoundFault";const _SN = "SourceName";const _SNAF = "SubnetNotAllowedFault";const _SNT = "SupportedNetworkTypes";const _SQEE = "ServiceQuotaExceededException";const _SQEF = "SubnetQuotaExceededFault";const _SSED = "SSEDescription";const _SSES = "SSESpecification";const _ST = "SourceType";const _STt = "StartTime";const _So = "Source";const _Su = "Subnet";const _Sub = "Subnets";const _T = "Tags";const _TA = "TopicArn";const _TK = "TagKeys";const _TL = "TagList";const _TN = "TotalNodes";const _TNFF = "TagNotFoundFault";const _TQPRE = "TagQuotaPerResourceExceeded";const _TR = "TagResource";const _TRR = "TagResourceRequest";const _TRRa = "TagResourceResponse";const _TS = "TopicStatus";const _Ta = "Tag";const _UC = "UpdateCluster";const _UCR = "UpdateClusterRequest";const _UCRp = "UpdateClusterResponse";const _UPG = "UpdateParameterGroup";const _UPGR = "UpdateParameterGroupRequest";const _UPGRp = "UpdateParameterGroupResponse";const _UR = "UntagResource";const _URL = "URL";const _URR = "UntagResourceRequest";const _URRn = "UntagResourceResponse";const _USG = "UpdateSubnetGroup";const _USGR = "UpdateSubnetGroupRequest";const _USGRp = "UpdateSubnetGroupResponse";const _V = "Value";const _VI = "VpcId";const _aQE = "awsQueryError";const _c = "client";const _e = "error";const _hE = "httpError";const _m = "message";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dax";const n0 = "com.amazonaws.dax";const _s_registry = TypeRegistry.for(_s);var DAXServiceException$ = [-3, _s, "DAXServiceException", 0, [], []];_s_registry.registerError(DAXServiceException$, DAXServiceException);const n0_registry = TypeRegistry.for(n0);var ClusterAlreadyExistsFault$ = [-3, n0, _CAEF,    { [_aQE]: [`ClusterAlreadyExists`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(ClusterAlreadyExistsFault$, ClusterAlreadyExistsFault);var ClusterNotFoundFault$ = [-3, n0, _CNFF,    { [_aQE]: [`ClusterNotFound`, 404], [_e]: _c, [_hE]: 404 },    [_m],    [0]];n0_registry.registerError(ClusterNotFoundFault$, ClusterNotFoundFault);var ClusterQuotaForCustomerExceededFault$ = [-3, n0, _CQFCEF,    { [_aQE]: [`ClusterQuotaForCustomerExceeded`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(ClusterQuotaForCustomerExceededFault$, ClusterQuotaForCustomerExceededFault);var InsufficientClusterCapacityFault$ = [-3, n0, _ICCF,    { [_aQE]: [`InsufficientClusterCapacity`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(InsufficientClusterCapacityFault$, InsufficientClusterCapacityFault);var InvalidARNFault$ = [-3, n0, _IARNF,    { [_aQE]: [`InvalidARN`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(InvalidARNFault$, InvalidARNFault);var InvalidClusterStateFault$ = [-3, n0, _ICSF,    { [_aQE]: [`InvalidClusterState`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(InvalidClusterStateFault$, InvalidClusterStateFault);var InvalidParameterCombinationException$ = [-3, n0, _IPCE,    { [_aQE]: [`InvalidParameterCombination`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(InvalidParameterCombinationException$, InvalidParameterCombinationException);var InvalidParameterGroupStateFault$ = [-3, n0, _IPGSF,    { [_aQE]: [`InvalidParameterGroupState`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(InvalidParameterGroupStateFault$, InvalidParameterGroupStateFault);var InvalidParameterValueException$ = [-3, n0, _IPVE,    { [_aQE]: [`InvalidParameterValue`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(InvalidParameterValueException$, InvalidParameterValueException);var InvalidSubnet$ = [-3, n0, _IS,    { [_aQE]: [`InvalidSubnet`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(InvalidSubnet$, InvalidSubnet);var InvalidVPCNetworkStateFault$ = [-3, n0, _IVPCNSF,    { [_aQE]: [`InvalidVPCNetworkStateFault`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(InvalidVPCNetworkStateFault$, InvalidVPCNetworkStateFault);var NodeNotFoundFault$ = [-3, n0, _NNFF,    { [_aQE]: [`NodeNotFound`, 404], [_e]: _c, [_hE]: 404 },    [_m],    [0]];n0_registry.registerError(NodeNotFoundFault$, NodeNotFoundFault);var NodeQuotaForClusterExceededFault$ = [-3, n0, _NQFCEF,    { [_aQE]: [`NodeQuotaForClusterExceeded`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(NodeQuotaForClusterExceededFault$, NodeQuotaForClusterExceededFault);var NodeQuotaForCustomerExceededFault$ = [-3, n0, _NQFCEFo,    { [_aQE]: [`NodeQuotaForCustomerExceeded`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(NodeQuotaForCustomerExceededFault$, NodeQuotaForCustomerExceededFault);var ParameterGroupAlreadyExistsFault$ = [-3, n0, _PGAEF,    { [_aQE]: [`ParameterGroupAlreadyExists`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(ParameterGroupAlreadyExistsFault$, ParameterGroupAlreadyExistsFault);var ParameterGroupNotFoundFault$ = [-3, n0, _PGNFF,    { [_aQE]: [`ParameterGroupNotFound`, 404], [_e]: _c, [_hE]: 404 },    [_m],    [0]];n0_registry.registerError(ParameterGroupNotFoundFault$, ParameterGroupNotFoundFault);var ParameterGroupQuotaExceededFault$ = [-3, n0, _PGQEF,    { [_aQE]: [`ParameterGroupQuotaExceeded`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(ParameterGroupQuotaExceededFault$, ParameterGroupQuotaExceededFault);var ServiceLinkedRoleNotFoundFault$ = [-3, n0, _SLRNFF,    { [_aQE]: [`ServiceLinkedRoleNotFoundFault`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(ServiceLinkedRoleNotFoundFault$, ServiceLinkedRoleNotFoundFault);var ServiceQuotaExceededException$ = [-3, n0, _SQEE,    { [_aQE]: [`ServiceQuotaExceeded`, 402], [_e]: _c, [_hE]: 402 },    [],    []];n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);var SubnetGroupAlreadyExistsFault$ = [-3, n0, _SGAEF,    { [_aQE]: [`SubnetGroupAlreadyExists`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(SubnetGroupAlreadyExistsFault$, SubnetGroupAlreadyExistsFault);var SubnetGroupInUseFault$ = [-3, n0, _SGIUF,    { [_aQE]: [`SubnetGroupInUse`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(SubnetGroupInUseFault$, SubnetGroupInUseFault);var SubnetGroupNotFoundFault$ = [-3, n0, _SGNFF,    { [_aQE]: [`SubnetGroupNotFoundFault`, 404], [_e]: _c, [_hE]: 404 },    [_m],    [0]];n0_registry.registerError(SubnetGroupNotFoundFault$, SubnetGroupNotFoundFault);var SubnetGroupQuotaExceededFault$ = [-3, n0, _SGQEF,    { [_aQE]: [`SubnetGroupQuotaExceeded`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(SubnetGroupQuotaExceededFault$, SubnetGroupQuotaExceededFault);var SubnetInUse$ = [-3, n0, _SIU,    { [_aQE]: [`SubnetInUse`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(SubnetInUse$, SubnetInUse);var SubnetNotAllowedFault$ = [-3, n0, _SNAF,    { [_aQE]: [`SubnetNotAllowedFault`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(SubnetNotAllowedFault$, SubnetNotAllowedFault);var SubnetQuotaExceededFault$ = [-3, n0, _SQEF,    { [_aQE]: [`SubnetQuotaExceededFault`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(SubnetQuotaExceededFault$, SubnetQuotaExceededFault);var TagNotFoundFault$ = [-3, n0, _TNFF,    { [_aQE]: [`TagNotFound`, 404], [_e]: _c, [_hE]: 404 },    [_m],    [0]];n0_registry.registerError(TagNotFoundFault$, TagNotFoundFault);var TagQuotaPerResourceExceeded$ = [-3, n0, _TQPRE,    { [_aQE]: [`TagQuotaPerResourceExceeded`, 400], [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(TagQuotaPerResourceExceeded$, TagQuotaPerResourceExceeded);const errorTypeRegistries = [    _s_registry,    n0_registry,];var Cluster$ = [3, n0, _C,    0,    [_CN, _D, _CA, _TN, _AN, _NT, _S, _CDE, _NITR, _N, _PMW, _NC, _SG, _SGe, _IRA, _PG, _SSED, _CEET, _NTe],    [0, 0, 0, 1, 1, 0, 0, () => Endpoint$, 64 | 0, () => NodeList, 0, () => NotificationConfiguration$, 0, () => SecurityGroupMembershipList, 0, () => ParameterGroupStatus$, () => SSEDescription$, 0, 0]];var CreateClusterRequest$ = [3, n0, _CCR,    0,    [_CN, _NT, _RF, _IRA, _D, _AZ, _SGN, _SGI, _PMW, _NTA, _PGN, _T, _SSES, _CEET, _NTe],    [0, 0, 1, 0, 0, 64 | 0, 0, 64 | 0, 0, 0, 0, () => TagList, () => SSESpecification$, 0, 0], 4];var CreateClusterResponse$ = [3, n0, _CCRr,    0,    [_C],    [() => Cluster$]];var CreateParameterGroupRequest$ = [3, n0, _CPGR,    0,    [_PGN, _D],    [0, 0], 1];var CreateParameterGroupResponse$ = [3, n0, _CPGRr,    0,    [_PG],    [() => ParameterGroup$]];var CreateSubnetGroupRequest$ = [3, n0, _CSGR,    0,    [_SGN, _SI, _D],    [0, 64 | 0, 0], 2];var CreateSubnetGroupResponse$ = [3, n0, _CSGRr,    0,    [_SG],    [() => SubnetGroup$]];var DecreaseReplicationFactorRequest$ = [3, n0, _DRFR,    0,    [_CN, _NRF, _AZ, _NITR],    [0, 1, 64 | 0, 64 | 0], 2];var DecreaseReplicationFactorResponse$ = [3, n0, _DRFRe,    0,    [_C],    [() => Cluster$]];var DeleteClusterRequest$ = [3, n0, _DCR,    0,    [_CN],    [0], 1];var DeleteClusterResponse$ = [3, n0, _DCRe,    0,    [_C],    [() => Cluster$]];var DeleteParameterGroupRequest$ = [3, n0, _DPGR,    0,    [_PGN],    [0], 1];var DeleteParameterGroupResponse$ = [3, n0, _DPGRe,    0,    [_DM],    [0]];var DeleteSubnetGroupRequest$ = [3, n0, _DSGR,    0,    [_SGN],    [0], 1];var DeleteSubnetGroupResponse$ = [3, n0, _DSGRe,    0,    [_DM],    [0]];var DescribeClustersRequest$ = [3, n0, _DCRes,    0,    [_CNl, _MR, _NTex],    [64 | 0, 1, 0]];var DescribeClustersResponse$ = [3, n0, _DCResc,    0,    [_NTex, _Cl],    [0, () => ClusterList]];var DescribeDefaultParametersRequest$ = [3, n0, _DDPR,    0,    [_MR, _NTex],    [1, 0]];var DescribeDefaultParametersResponse$ = [3, n0, _DDPRe,    0,    [_NTex, _P],    [0, () => ParameterList]];var DescribeEventsRequest$ = [3, n0, _DER,    0,    [_SN, _ST, _STt, _ET, _Du, _MR, _NTex],    [0, 0, 4, 4, 1, 1, 0]];var DescribeEventsResponse$ = [3, n0, _DERe,    0,    [_NTex, _E],    [0, () => EventList]];var DescribeParameterGroupsRequest$ = [3, n0, _DPGRes,    0,    [_PGNa, _MR, _NTex],    [64 | 0, 1, 0]];var DescribeParameterGroupsResponse$ = [3, n0, _DPGResc,    0,    [_NTex, _PGa],    [0, () => ParameterGroupList]];var DescribeParametersRequest$ = [3, n0, _DPR,    0,    [_PGN, _So, _MR, _NTex],    [0, 0, 1, 0], 1];var DescribeParametersResponse$ = [3, n0, _DPRe,    0,    [_NTex, _P],    [0, () => ParameterList]];var DescribeSubnetGroupsRequest$ = [3, n0, _DSGRes,    0,    [_SGNu, _MR, _NTex],    [64 | 0, 1, 0]];var DescribeSubnetGroupsResponse$ = [3, n0, _DSGResc,    0,    [_NTex, _SGu],    [0, () => SubnetGroupList]];var Endpoint$ = [3, n0, _En,    0,    [_A, _Po, _URL],    [0, 1, 0]];var Event$ = [3, n0, _Ev,    0,    [_SN, _ST, _M, _Da],    [0, 0, 0, 4]];var IncreaseReplicationFactorRequest$ = [3, n0, _IRFR,    0,    [_CN, _NRF, _AZ],    [0, 1, 64 | 0], 2];var IncreaseReplicationFactorResponse$ = [3, n0, _IRFRn,    0,    [_C],    [() => Cluster$]];var ListTagsRequest$ = [3, n0, _LTR,    0,    [_RN, _NTex],    [0, 0], 1];var ListTagsResponse$ = [3, n0, _LTRi,    0,    [_T, _NTex],    [() => TagList, 0]];var Node$ = [3, n0, _No,    0,    [_NI, _En, _NCT, _AZv, _NS, _PGS],    [0, () => Endpoint$, 4, 0, 0, 0]];var NodeTypeSpecificValue$ = [3, n0, _NTSV,    0,    [_NT, _V],    [0, 0]];var NotificationConfiguration$ = [3, n0, _NC,    0,    [_TA, _TS],    [0, 0]];var Parameter$ = [3, n0, _Pa,    0,    [_PN, _PT, _PV, _NTSVo, _D, _So, _DT, _AV, _IM, _CT],    [0, 0, 0, () => NodeTypeSpecificValueList, 0, 0, 0, 0, 0, 0]];var ParameterGroup$ = [3, n0, _PG,    0,    [_PGN, _D],    [0, 0]];var ParameterGroupStatus$ = [3, n0, _PGS,    0,    [_PGN, _PAS, _NITRo],    [0, 0, 64 | 0]];var ParameterNameValue$ = [3, n0, _PNV,    0,    [_PN, _PV],    [0, 0]];var RebootNodeRequest$ = [3, n0, _RNR,    0,    [_CN, _NI],    [0, 0], 2];var RebootNodeResponse$ = [3, n0, _RNRe,    0,    [_C],    [() => Cluster$]];var SecurityGroupMembership$ = [3, n0, _SGM,    0,    [_SGIe, _S],    [0, 0]];var SSEDescription$ = [3, n0, _SSED,    0,    [_S],    [0]];var SSESpecification$ = [3, n0, _SSES,    0,    [_Ena],    [2], 1];var Subnet$ = [3, n0, _Su,    0,    [_SIu, _SAZ, _SNT],    [0, 0, 64 | 0]];var SubnetGroup$ = [3, n0, _SG,    0,    [_SGN, _D, _VI, _Sub, _SNT],    [0, 0, 0, () => SubnetList, 64 | 0]];var Tag$ = [3, n0, _Ta,    0,    [_K, _V],    [0, 0]];var TagResourceRequest$ = [3, n0, _TRR,    0,    [_RN, _T],    [0, () => TagList], 2];var TagResourceResponse$ = [3, n0, _TRRa,    0,    [_T],    [() => TagList]];var UntagResourceRequest$ = [3, n0, _URR,    0,    [_RN, _TK],    [0, 64 | 0], 2];var UntagResourceResponse$ = [3, n0, _URRn,    0,    [_T],    [() => TagList]];var UpdateClusterRequest$ = [3, n0, _UCR,    0,    [_CN, _D, _PMW, _NTA, _NTS, _PGN, _SGI],    [0, 0, 0, 0, 0, 0, 64 | 0], 1];var UpdateClusterResponse$ = [3, n0, _UCRp,    0,    [_C],    [() => Cluster$]];var UpdateParameterGroupRequest$ = [3, n0, _UPGR,    0,    [_PGN, _PNVa],    [0, () => ParameterNameValueList], 2];var UpdateParameterGroupResponse$ = [3, n0, _UPGRp,    0,    [_PG],    [() => ParameterGroup$]];var UpdateSubnetGroupRequest$ = [3, n0, _USGR,    0,    [_SGN, _D, _SI],    [0, 0, 64 | 0], 1];var UpdateSubnetGroupResponse$ = [3, n0, _USGRp,    0,    [_SG],    [() => SubnetGroup$]];var ClusterList = [1, n0, _CL,    0, () => Cluster$];var EventList = [1, n0, _EL,    0, () => Event$];var NodeList = [1, n0, _NL,    0, () => Node$];var NodeTypeSpecificValueList = [1, n0, _NTSVL,    0, () => NodeTypeSpecificValue$];var ParameterGroupList = [1, n0, _PGL,    0, () => ParameterGroup$];var ParameterList = [1, n0, _PL,    0, () => Parameter$];var ParameterNameValueList = [1, n0, _PNVL,    0, () => ParameterNameValue$];var SecurityGroupMembershipList = [1, n0, _SGML,    0, () => SecurityGroupMembership$];var SubnetGroupList = [1, n0, _SGL,    0, () => SubnetGroup$];var SubnetList = [1, n0, _SL,    0, () => Subnet$];var TagList = [1, n0, _TL,    0, () => Tag$];var CreateCluster$ = [9, n0, _CC,    0, () => CreateClusterRequest$, () => CreateClusterResponse$];var CreateParameterGroup$ = [9, n0, _CPG,    0, () => CreateParameterGroupRequest$, () => CreateParameterGroupResponse$];var CreateSubnetGroup$ = [9, n0, _CSG,    0, () => CreateSubnetGroupRequest$, () => CreateSubnetGroupResponse$];var DecreaseReplicationFactor$ = [9, n0, _DRF,    0, () => DecreaseReplicationFactorRequest$, () => DecreaseReplicationFactorResponse$];var DeleteCluster$ = [9, n0, _DC,    0, () => DeleteClusterRequest$, () => DeleteClusterResponse$];var DeleteParameterGroup$ = [9, n0, _DPG,    0, () => DeleteParameterGroupRequest$, () => DeleteParameterGroupResponse$];var DeleteSubnetGroup$ = [9, n0, _DSG,    0, () => DeleteSubnetGroupRequest$, () => DeleteSubnetGroupResponse$];var DescribeClusters$ = [9, n0, _DCe,    0, () => DescribeClustersRequest$, () => DescribeClustersResponse$];var DescribeDefaultParameters$ = [9, n0, _DDP,    0, () => DescribeDefaultParametersRequest$, () => DescribeDefaultParametersResponse$];var DescribeEvents$ = [9, n0, _DE,    0, () => DescribeEventsRequest$, () => DescribeEventsResponse$];var DescribeParameterGroups$ = [9, n0, _DPGe,    0, () => DescribeParameterGroupsRequest$, () => DescribeParameterGroupsResponse$];var DescribeParameters$ = [9, n0, _DP,    0, () => DescribeParametersRequest$, () => DescribeParametersResponse$];var DescribeSubnetGroups$ = [9, n0, _DSGe,    0, () => DescribeSubnetGroupsRequest$, () => DescribeSubnetGroupsResponse$];var IncreaseReplicationFactor$ = [9, n0, _IRF,    0, () => IncreaseReplicationFactorRequest$, () => IncreaseReplicationFactorResponse$];var ListTags$ = [9, n0, _LT,    0, () => ListTagsRequest$, () => ListTagsResponse$];var RebootNode$ = [9, n0, _RNe,    0, () => RebootNodeRequest$, () => RebootNodeResponse$];var TagResource$ = [9, n0, _TR,    0, () => TagResourceRequest$, () => TagResourceResponse$];var UntagResource$ = [9, n0, _UR,    0, () => UntagResourceRequest$, () => UntagResourceResponse$];var UpdateCluster$ = [9, n0, _UC,    0, () => UpdateClusterRequest$, () => UpdateClusterResponse$];var UpdateParameterGroup$ = [9, n0, _UPG,    0, () => UpdateParameterGroupRequest$, () => UpdateParameterGroupResponse$];var UpdateSubnetGroup$ = [9, n0, _USG,    0, () => UpdateSubnetGroupRequest$, () => UpdateSubnetGroupResponse$]; const getRuntimeConfig$1 = (config) => {    return {        apiVersion: "2017-04-19",        base64Decoder: config?.base64Decoder ?? fromBase64,        base64Encoder: config?.base64Encoder ?? toBase64,        disableHostPrefix: config?.disableHostPrefix ?? false,        endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,        extensions: config?.extensions ?? [],        httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultDAXHttpAuthSchemeProvider,        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_1Protocol,        protocolSettings: config?.protocolSettings ?? {            defaultNamespace: "com.amazonaws.dax",            errorTypeRegistries,            xmlNamespace: "http://dax.amazonaws.com/doc/2017-04-19/",            version: "2017-04-19",            serviceTarget: "AmazonDAXV3",        },        serviceId: config?.serviceId ?? "DAX",        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 DAXClient 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: defaultDAXHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} const command = makeBuilder(commonParams, "AmazonDAXV3", "DAXClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class CreateClusterCommand extends command(_ep0, _mw0, "CreateCluster", CreateCluster$) {} class CreateParameterGroupCommand extends command(_ep0, _mw0, "CreateParameterGroup", CreateParameterGroup$) {} class CreateSubnetGroupCommand extends command(_ep0, _mw0, "CreateSubnetGroup", CreateSubnetGroup$) {} class DecreaseReplicationFactorCommand extends command(_ep0, _mw0, "DecreaseReplicationFactor", DecreaseReplicationFactor$) {} class DeleteClusterCommand extends command(_ep0, _mw0, "DeleteCluster", DeleteCluster$) {} class DeleteParameterGroupCommand extends command(_ep0, _mw0, "DeleteParameterGroup", DeleteParameterGroup$) {} class DeleteSubnetGroupCommand extends command(_ep0, _mw0, "DeleteSubnetGroup", DeleteSubnetGroup$) {} class DescribeClustersCommand extends command(_ep0, _mw0, "DescribeClusters", DescribeClusters$) {} class DescribeDefaultParametersCommand extends command(_ep0, _mw0, "DescribeDefaultParameters", DescribeDefaultParameters$) {} class DescribeEventsCommand extends command(_ep0, _mw0, "DescribeEvents", DescribeEvents$) {} class DescribeParameterGroupsCommand extends command(_ep0, _mw0, "DescribeParameterGroups", DescribeParameterGroups$) {} class DescribeParametersCommand extends command(_ep0, _mw0, "DescribeParameters", DescribeParameters$) {} class DescribeSubnetGroupsCommand extends command(_ep0, _mw0, "DescribeSubnetGroups", DescribeSubnetGroups$) {} class IncreaseReplicationFactorCommand extends command(_ep0, _mw0, "IncreaseReplicationFactor", IncreaseReplicationFactor$) {} class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {} class RebootNodeCommand extends command(_ep0, _mw0, "RebootNode", RebootNode$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} class UpdateClusterCommand extends command(_ep0, _mw0, "UpdateCluster", UpdateCluster$) {} class UpdateParameterGroupCommand extends command(_ep0, _mw0, "UpdateParameterGroup", UpdateParameterGroup$) {} class UpdateSubnetGroupCommand extends command(_ep0, _mw0, "UpdateSubnetGroup", UpdateSubnetGroup$) {} const commands = {    CreateClusterCommand,    CreateParameterGroupCommand,    CreateSubnetGroupCommand,    DecreaseReplicationFactorCommand,    DeleteClusterCommand,    DeleteParameterGroupCommand,    DeleteSubnetGroupCommand,    DescribeClustersCommand,    DescribeDefaultParametersCommand,    DescribeEventsCommand,    DescribeParameterGroupsCommand,    DescribeParametersCommand,    DescribeSubnetGroupsCommand,    IncreaseReplicationFactorCommand,    ListTagsCommand,    RebootNodeCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateClusterCommand,    UpdateParameterGroupCommand,    UpdateSubnetGroupCommand,};class DAX extends DAXClient {}createAggregatedClient(commands, DAX); const ClusterEndpointEncryptionType = {    NONE: "NONE",    TLS: "TLS",};const NetworkType = {    DUAL_STACK: "dual_stack",    IPV4: "ipv4",    IPV6: "ipv6",};const SSEStatus = {    DISABLED: "DISABLED",    DISABLING: "DISABLING",    ENABLED: "ENABLED",    ENABLING: "ENABLING",};const ChangeType = {    IMMEDIATE: "IMMEDIATE",    REQUIRES_REBOOT: "REQUIRES_REBOOT",};const IsModifiable = {    CONDITIONAL: "CONDITIONAL",    FALSE: "FALSE",    TRUE: "TRUE",};const ParameterType = {    DEFAULT: "DEFAULT",    NODE_TYPE_SPECIFIC: "NODE_TYPE_SPECIFIC",};const SourceType = {    CLUSTER: "CLUSTER",    PARAMETER_GROUP: "PARAMETER_GROUP",    SUBNET_GROUP: "SUBNET_GROUP",}; exports.ChangeType = ChangeType;exports.Cluster$ = Cluster$;exports.ClusterAlreadyExistsFault = ClusterAlreadyExistsFault;exports.ClusterAlreadyExistsFault$ = ClusterAlreadyExistsFault$;exports.ClusterEndpointEncryptionType = ClusterEndpointEncryptionType;exports.ClusterNotFoundFault = ClusterNotFoundFault;exports.ClusterNotFoundFault$ = ClusterNotFoundFault$;exports.ClusterQuotaForCustomerExceededFault = ClusterQuotaForCustomerExceededFault;exports.ClusterQuotaForCustomerExceededFault$ = ClusterQuotaForCustomerExceededFault$;exports.CreateCluster$ = CreateCluster$;exports.CreateClusterCommand = CreateClusterCommand;exports.CreateClusterRequest$ = CreateClusterRequest$;exports.CreateClusterResponse$ = CreateClusterResponse$;exports.CreateParameterGroup$ = CreateParameterGroup$;exports.CreateParameterGroupCommand = CreateParameterGroupCommand;exports.CreateParameterGroupRequest$ = CreateParameterGroupRequest$;exports.CreateParameterGroupResponse$ = CreateParameterGroupResponse$;exports.CreateSubnetGroup$ = CreateSubnetGroup$;exports.CreateSubnetGroupCommand = CreateSubnetGroupCommand;exports.CreateSubnetGroupRequest$ = CreateSubnetGroupRequest$;exports.CreateSubnetGroupResponse$ = CreateSubnetGroupResponse$;exports.DAX = DAX;exports.DAXClient = DAXClient;exports.DAXServiceException = DAXServiceException;exports.DAXServiceException$ = DAXServiceException$;exports.DecreaseReplicationFactor$ = DecreaseReplicationFactor$;exports.DecreaseReplicationFactorCommand = DecreaseReplicationFactorCommand;exports.DecreaseReplicationFactorRequest$ = DecreaseReplicationFactorRequest$;exports.DecreaseReplicationFactorResponse$ = DecreaseReplicationFactorResponse$;exports.DeleteCluster$ = DeleteCluster$;exports.DeleteClusterCommand = DeleteClusterCommand;exports.DeleteClusterRequest$ = DeleteClusterRequest$;exports.DeleteClusterResponse$ = DeleteClusterResponse$;exports.DeleteParameterGroup$ = DeleteParameterGroup$;exports.DeleteParameterGroupCommand = DeleteParameterGroupCommand;exports.DeleteParameterGroupRequest$ = DeleteParameterGroupRequest$;exports.DeleteParameterGroupResponse$ = DeleteParameterGroupResponse$;exports.DeleteSubnetGroup$ = DeleteSubnetGroup$;exports.DeleteSubnetGroupCommand = DeleteSubnetGroupCommand;exports.DeleteSubnetGroupRequest$ = DeleteSubnetGroupRequest$;exports.DeleteSubnetGroupResponse$ = DeleteSubnetGroupResponse$;exports.DescribeClusters$ = DescribeClusters$;exports.DescribeClustersCommand = DescribeClustersCommand;exports.DescribeClustersRequest$ = DescribeClustersRequest$;exports.DescribeClustersResponse$ = DescribeClustersResponse$;exports.DescribeDefaultParameters$ = DescribeDefaultParameters$;exports.DescribeDefaultParametersCommand = DescribeDefaultParametersCommand;exports.DescribeDefaultParametersRequest$ = DescribeDefaultParametersRequest$;exports.DescribeDefaultParametersResponse$ = DescribeDefaultParametersResponse$;exports.DescribeEvents$ = DescribeEvents$;exports.DescribeEventsCommand = DescribeEventsCommand;exports.DescribeEventsRequest$ = DescribeEventsRequest$;exports.DescribeEventsResponse$ = DescribeEventsResponse$;exports.DescribeParameterGroups$ = DescribeParameterGroups$;exports.DescribeParameterGroupsCommand = DescribeParameterGroupsCommand;exports.DescribeParameterGroupsRequest$ = DescribeParameterGroupsRequest$;exports.DescribeParameterGroupsResponse$ = DescribeParameterGroupsResponse$;exports.DescribeParameters$ = DescribeParameters$;exports.DescribeParametersCommand = DescribeParametersCommand;exports.DescribeParametersRequest$ = DescribeParametersRequest$;exports.DescribeParametersResponse$ = DescribeParametersResponse$;exports.DescribeSubnetGroups$ = DescribeSubnetGroups$;exports.DescribeSubnetGroupsCommand = DescribeSubnetGroupsCommand;exports.DescribeSubnetGroupsRequest$ = DescribeSubnetGroupsRequest$;exports.DescribeSubnetGroupsResponse$ = DescribeSubnetGroupsResponse$;exports.Endpoint$ = Endpoint$;exports.Event$ = Event$;exports.IncreaseReplicationFactor$ = IncreaseReplicationFactor$;exports.IncreaseReplicationFactorCommand = IncreaseReplicationFactorCommand;exports.IncreaseReplicationFactorRequest$ = IncreaseReplicationFactorRequest$;exports.IncreaseReplicationFactorResponse$ = IncreaseReplicationFactorResponse$;exports.InsufficientClusterCapacityFault = InsufficientClusterCapacityFault;exports.InsufficientClusterCapacityFault$ = InsufficientClusterCapacityFault$;exports.InvalidARNFault = InvalidARNFault;exports.InvalidARNFault$ = InvalidARNFault$;exports.InvalidClusterStateFault = InvalidClusterStateFault;exports.InvalidClusterStateFault$ = InvalidClusterStateFault$;exports.InvalidParameterCombinationException = InvalidParameterCombinationException;exports.InvalidParameterCombinationException$ = InvalidParameterCombinationException$;exports.InvalidParameterGroupStateFault = InvalidParameterGroupStateFault;exports.InvalidParameterGroupStateFault$ = InvalidParameterGroupStateFault$;exports.InvalidParameterValueException = InvalidParameterValueException;exports.InvalidParameterValueException$ = InvalidParameterValueException$;exports.InvalidSubnet = InvalidSubnet;exports.InvalidSubnet$ = InvalidSubnet$;exports.InvalidVPCNetworkStateFault = InvalidVPCNetworkStateFault;exports.InvalidVPCNetworkStateFault$ = InvalidVPCNetworkStateFault$;exports.IsModifiable = IsModifiable;exports.ListTags$ = ListTags$;exports.ListTagsCommand = ListTagsCommand;exports.ListTagsRequest$ = ListTagsRequest$;exports.ListTagsResponse$ = ListTagsResponse$;exports.NetworkType = NetworkType;exports.Node$ = Node$;exports.NodeNotFoundFault = NodeNotFoundFault;exports.NodeNotFoundFault$ = NodeNotFoundFault$;exports.NodeQuotaForClusterExceededFault = NodeQuotaForClusterExceededFault;exports.NodeQuotaForClusterExceededFault$ = NodeQuotaForClusterExceededFault$;exports.NodeQuotaForCustomerExceededFault = NodeQuotaForCustomerExceededFault;exports.NodeQuotaForCustomerExceededFault$ = NodeQuotaForCustomerExceededFault$;exports.NodeTypeSpecificValue$ = NodeTypeSpecificValue$;exports.NotificationConfiguration$ = NotificationConfiguration$;exports.Parameter$ = Parameter$;exports.ParameterGroup$ = ParameterGroup$;exports.ParameterGroupAlreadyExistsFault = ParameterGroupAlreadyExistsFault;exports.ParameterGroupAlreadyExistsFault$ = ParameterGroupAlreadyExistsFault$;exports.ParameterGroupNotFoundFault = ParameterGroupNotFoundFault;exports.ParameterGroupNotFoundFault$ = ParameterGroupNotFoundFault$;exports.ParameterGroupQuotaExceededFault = ParameterGroupQuotaExceededFault;exports.ParameterGroupQuotaExceededFault$ = ParameterGroupQuotaExceededFault$;exports.ParameterGroupStatus$ = ParameterGroupStatus$;exports.ParameterNameValue$ = ParameterNameValue$;exports.ParameterType = ParameterType;exports.RebootNode$ = RebootNode$;exports.RebootNodeCommand = RebootNodeCommand;exports.RebootNodeRequest$ = RebootNodeRequest$;exports.RebootNodeResponse$ = RebootNodeResponse$;exports.SSEDescription$ = SSEDescription$;exports.SSESpecification$ = SSESpecification$;exports.SSEStatus = SSEStatus;exports.SecurityGroupMembership$ = SecurityGroupMembership$;exports.ServiceLinkedRoleNotFoundFault = ServiceLinkedRoleNotFoundFault;exports.ServiceLinkedRoleNotFoundFault$ = ServiceLinkedRoleNotFoundFault$;exports.ServiceQuotaExceededException = ServiceQuotaExceededException;exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;exports.SourceType = SourceType;exports.Subnet$ = Subnet$;exports.SubnetGroup$ = SubnetGroup$;exports.SubnetGroupAlreadyExistsFault = SubnetGroupAlreadyExistsFault;exports.SubnetGroupAlreadyExistsFault$ = SubnetGroupAlreadyExistsFault$;exports.SubnetGroupInUseFault = SubnetGroupInUseFault;exports.SubnetGroupInUseFault$ = SubnetGroupInUseFault$;exports.SubnetGroupNotFoundFault = SubnetGroupNotFoundFault;exports.SubnetGroupNotFoundFault$ = SubnetGroupNotFoundFault$;exports.SubnetGroupQuotaExceededFault = SubnetGroupQuotaExceededFault;exports.SubnetGroupQuotaExceededFault$ = SubnetGroupQuotaExceededFault$;exports.SubnetInUse = SubnetInUse;exports.SubnetInUse$ = SubnetInUse$;exports.SubnetNotAllowedFault = SubnetNotAllowedFault;exports.SubnetNotAllowedFault$ = SubnetNotAllowedFault$;exports.SubnetQuotaExceededFault = SubnetQuotaExceededFault;exports.SubnetQuotaExceededFault$ = SubnetQuotaExceededFault$;exports.Tag$ = Tag$;exports.TagNotFoundFault = TagNotFoundFault;exports.TagNotFoundFault$ = TagNotFoundFault$;exports.TagQuotaPerResourceExceeded = TagQuotaPerResourceExceeded;exports.TagQuotaPerResourceExceeded$ = TagQuotaPerResourceExceeded$;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceRequest$ = TagResourceRequest$;exports.TagResourceResponse$ = TagResourceResponse$;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceRequest$ = UntagResourceRequest$;exports.UntagResourceResponse$ = UntagResourceResponse$;exports.UpdateCluster$ = UpdateCluster$;exports.UpdateClusterCommand = UpdateClusterCommand;exports.UpdateClusterRequest$ = UpdateClusterRequest$;exports.UpdateClusterResponse$ = UpdateClusterResponse$;exports.UpdateParameterGroup$ = UpdateParameterGroup$;exports.UpdateParameterGroupCommand = UpdateParameterGroupCommand;exports.UpdateParameterGroupRequest$ = UpdateParameterGroupRequest$;exports.UpdateParameterGroupResponse$ = UpdateParameterGroupResponse$;exports.UpdateSubnetGroup$ = UpdateSubnetGroup$;exports.UpdateSubnetGroupCommand = UpdateSubnetGroupCommand;exports.UpdateSubnetGroupRequest$ = UpdateSubnetGroupRequest$;exports.UpdateSubnetGroupResponse$ = UpdateSubnetGroupResponse$;exports.errorTypeRegistries = errorTypeRegistries;