File Explorer

/proc/2/root/var/runtime/node_modules/@aws-sdk/client-kafkaconnect/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.js55.3 KB · 1535 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 { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultKafkaConnectHttpAuthSchemeParametersProvider = 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: "kafkaconnect",            region: authParameters.region,        },        propertiesExtractor: (config, context) => ({            signingProperties: {                config,                context,            },        }),    };}const defaultKafkaConnectHttpAuthSchemeProvider = (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: "kafkaconnect",    });};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]],        ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]],        [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],        [e, [{ fn: f, argv: [h, "supportsDualStack"] }, 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://kafkaconnect.{Region}.{PartitionResult#dnsSuffix}", i],        ["https://kafkaconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        ["https://kafkaconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],        ["https://kafkaconnect-fips.{Region}.{PartitionResult#dnsSuffix}", i],        [a, "FIPS is enabled but this partition does not support FIPS"],        [a, "DualStack is enabled but this partition does not support DualStack"],        [a, "Invalid Configuration: Missing Region"]    ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([    -1, 1, -1,    0, 14, 3,    1, 4, r + 11,    2, 5, r + 11,    3, 8, 6,    4, 7, r + 4,    7, r + 5, r + 10,    4, 11, 9,    5, r + 4, 10,    6, r + 8, r + 9,    5, r + 5, 12,    6, 13, r + 7,    7, r + 6, r + 7,    3, r + 1, 15,    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 KafkaConnectServiceException extends ServiceException {    constructor(options) {        super(options);        Object.setPrototypeOf(this, KafkaConnectServiceException.prototype);    }} class BadRequestException extends KafkaConnectServiceException {    name = "BadRequestException";    $fault = "client";    constructor(opts) {        super({            name: "BadRequestException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, BadRequestException.prototype);    }}class ConflictException extends KafkaConnectServiceException {    name = "ConflictException";    $fault = "client";    constructor(opts) {        super({            name: "ConflictException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ConflictException.prototype);    }}class ForbiddenException extends KafkaConnectServiceException {    name = "ForbiddenException";    $fault = "client";    constructor(opts) {        super({            name: "ForbiddenException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ForbiddenException.prototype);    }}class InternalServerErrorException extends KafkaConnectServiceException {    name = "InternalServerErrorException";    $fault = "server";    constructor(opts) {        super({            name: "InternalServerErrorException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerErrorException.prototype);    }}class NotFoundException extends KafkaConnectServiceException {    name = "NotFoundException";    $fault = "client";    constructor(opts) {        super({            name: "NotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, NotFoundException.prototype);    }}class ServiceUnavailableException extends KafkaConnectServiceException {    name = "ServiceUnavailableException";    $fault = "server";    constructor(opts) {        super({            name: "ServiceUnavailableException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, ServiceUnavailableException.prototype);    }}class TooManyRequestsException extends KafkaConnectServiceException {    name = "TooManyRequestsException";    $fault = "client";    constructor(opts) {        super({            name: "TooManyRequestsException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, TooManyRequestsException.prototype);    }}class UnauthorizedException extends KafkaConnectServiceException {    name = "UnauthorizedException";    $fault = "client";    constructor(opts) {        super({            name: "UnauthorizedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, UnauthorizedException.prototype);    }} const _AKC = "ApacheKafkaCluster";const _AKCD = "ApacheKafkaClusterDescription";const _AS = "AutoScaling";const _ASD = "AutoScalingDescription";const _ASU = "AutoScalingUpdate";const _BRE = "BadRequestException";const _C = "Capacity";const _CC = "ConnectorConfiguration";const _CCP = "CreateCustomPlugin";const _CCPR = "CreateCustomPluginRequest";const _CCPRr = "CreateCustomPluginResponse";const _CCR = "CreateConnectorRequest";const _CCRr = "CreateConnectorResponse";const _CCU = "ConnectorConfigurationUpdate";const _CCr = "CreateConnector";const _CD = "CapacityDescription";const _CE = "ConflictException";const _COS = "ConnectorOperationStep";const _COSo = "ConnectorOperationSummary";const _CP = "CustomPlugin";const _CPD = "CustomPluginDescription";const _CPFD = "CustomPluginFileDescription";const _CPL = "CustomPluginLocation";const _CPLD = "CustomPluginLocationDescription";const _CPRS = "CustomPluginRevisionSummary";const _CPS = "CustomPluginSummary";const _CS = "ConnectorSummary";const _CU = "CapacityUpdate";const _CWC = "CreateWorkerConfiguration";const _CWCR = "CreateWorkerConfigurationRequest";const _CWCRr = "CreateWorkerConfigurationResponse";const _CWLLD = "CloudWatchLogsLogDelivery";const _CWLLDD = "CloudWatchLogsLogDeliveryDescription";const _DC = "DeleteConnector";const _DCO = "DescribeConnectorOperation";const _DCOR = "DescribeConnectorOperationRequest";const _DCORe = "DescribeConnectorOperationResponse";const _DCP = "DeleteCustomPlugin";const _DCPR = "DeleteCustomPluginRequest";const _DCPRe = "DeleteCustomPluginResponse";const _DCPRes = "DescribeCustomPluginRequest";const _DCPResc = "DescribeCustomPluginResponse";const _DCPe = "DescribeCustomPlugin";const _DCR = "DeleteConnectorRequest";const _DCRe = "DeleteConnectorResponse";const _DCRes = "DescribeConnectorRequest";const _DCResc = "DescribeConnectorResponse";const _DCe = "DescribeConnector";const _DWC = "DeleteWorkerConfiguration";const _DWCR = "DeleteWorkerConfigurationRequest";const _DWCRe = "DeleteWorkerConfigurationResponse";const _DWCRes = "DescribeWorkerConfigurationRequest";const _DWCResc = "DescribeWorkerConfigurationResponse";const _DWCe = "DescribeWorkerConfiguration";const _FE = "ForbiddenException";const _FLD = "FirehoseLogDelivery";const _FLDD = "FirehoseLogDeliveryDescription";const _ISEE = "InternalServerErrorException";const _KC = "KafkaCluster";const _KCCA = "KafkaClusterClientAuthentication";const _KCCAD = "KafkaClusterClientAuthenticationDescription";const _KCD = "KafkaClusterDescription";const _KCEIT = "KafkaClusterEncryptionInTransit";const _KCEITD = "KafkaClusterEncryptionInTransitDescription";const _LC = "ListConnectors";const _LCO = "ListConnectorOperations";const _LCOR = "ListConnectorOperationsRequest";const _LCORi = "ListConnectorOperationsResponse";const _LCP = "ListCustomPlugins";const _LCPR = "ListCustomPluginsRequest";const _LCPRi = "ListCustomPluginsResponse";const _LCR = "ListConnectorsRequest";const _LCRi = "ListConnectorsResponse";const _LD = "LogDelivery";const _LDD = "LogDeliveryDescription";const _LTFR = "ListTagsForResource";const _LTFRR = "ListTagsForResourceRequest";const _LTFRRi = "ListTagsForResourceResponse";const _LWC = "ListWorkerConfigurations";const _LWCR = "ListWorkerConfigurationsRequest";const _LWCRi = "ListWorkerConfigurationsResponse";const _NFE = "NotFoundException";const _P = "Plugin";const _PC = "ProvisionedCapacity";const _PCD = "ProvisionedCapacityDescription";const _PCU = "ProvisionedCapacityUpdate";const _PD = "PluginDescription";const _SD = "StateDescription";const _SIP = "ScaleInPolicy";const _SIPD = "ScaleInPolicyDescription";const _SIPU = "ScaleInPolicyUpdate";const _SL = "S3Location";const _SLD = "S3LocationDescription";const _SLDD = "S3LogDeliveryDescription";const _SLDo = "S3LogDelivery";const _SOP = "ScaleOutPolicy";const _SOPD = "ScaleOutPolicyDescription";const _SOPU = "ScaleOutPolicyUpdate";const _SUE = "ServiceUnavailableException";const _TMRE = "TooManyRequestsException";const _TR = "TagResource";const _TRR = "TagResourceRequest";const _TRRa = "TagResourceResponse";const _UC = "UpdateConnector";const _UCR = "UpdateConnectorRequest";const _UCRp = "UpdateConnectorResponse";const _UE = "UnauthorizedException";const _UR = "UntagResource";const _URR = "UntagResourceRequest";const _URRn = "UntagResourceResponse";const _V = "Vpc";const _VD = "VpcDescription";const _WC = "WorkerConfiguration";const _WCD = "WorkerConfigurationDescription";const _WCRD = "WorkerConfigurationRevisionDescription";const _WCRS = "WorkerConfigurationRevisionSummary";const _WCS = "WorkerConfigurationSummary";const _WLD = "WorkerLogDelivery";const _WLDD = "WorkerLogDeliveryDescription";const _WS = "WorkerSetting";const _aKC = "apacheKafkaCluster";const _aS = "autoScaling";const _aT = "authenticationType";const _b = "bucket";const _bA = "bucketArn";const _bS = "bootstrapServers";const _c = "client";const _cA = "connectorArn";const _cC = "connectorConfiguration";const _cD = "connectorDescription";const _cN = "connectorName";const _cNP = "connectorNamePrefix";const _cO = "connectorOperations";const _cOA = "connectorOperationArn";const _cOS = "connectorOperationState";const _cOT = "connectorOperationType";const _cP = "customPlugins";const _cPA = "customPluginArn";const _cPS = "customPluginState";const _cPu = "customPlugin";const _cS = "connectorState";const _cT = "creationTime";const _cTo = "contentType";const _cUP = "cpuUtilizationPercentage";const _cV = "currentVersion";const _cWL = "cloudWatchLogs";const _ca = "capacity";const _co = "connectors";const _cod = "code";const _d = "description";const _dS = "deliveryStream";const _e = "error";const _eI = "errorInfo";const _eT = "endTime";const _eTn = "encryptionType";const _en = "enabled";const _f = "firehose";const _fD = "fileDescription";const _fK = "fileKey";const _fM = "fileMd5";const _fS = "fileSize";const _h = "http";const _hE = "httpError";const _hQ = "httpQuery";const _kC = "kafkaCluster";const _kCCA = "kafkaClusterClientAuthentication";const _kCEIT = "kafkaClusterEncryptionInTransit";const _kCV = "kafkaConnectVersion";const _l = "location";const _lD = "logDelivery";const _lG = "logGroup";const _lOCOS = "__listOfConnectorOperationStep";const _lOCOSi = "__listOfConnectorOperationSummary";const _lOCPS = "__listOfCustomPluginSummary";const _lOCS = "__listOfConnectorSummary";const _lOP = "__listOfPlugin";const _lOPD = "__listOfPluginDescription";const _lOWCS = "__listOfWorkerConfigurationSummary";const _lR = "latestRevision";const _m = "message";const _mATC = "maxAutoscalingTaskCount";const _mC = "mcuCount";const _mR = "maxResults";const _mWC = "maxWorkerCount";const _mWCi = "minWorkerCount";const _n = "name";const _nP = "namePrefix";const _nT = "networkType";const _nTe = "nextToken";const _oCC = "originConnectorConfiguration";const _oS = "operationSteps";const _oV = "objectVersion";const _oWS = "originWorkerSetting";const _p = "plugins";const _pC = "provisionedCapacity";const _pFC = "propertiesFileContent";const _pr = "prefix";const _r = "revision";const _rA = "resourceArn";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kafkaconnect";const _sD = "stateDescription";const _sERA = "serviceExecutionRoleArn";const _sG = "securityGroups";const _sIP = "scaleInPolicy";const _sL = "s3Location";const _sOP = "scaleOutPolicy";const _sS = "__sensitiveString";const _sSt = "stepState";const _sT = "stepType";const _s_ = "s3";const _se = "server";const _su = "subnets";const _t = "tags";const _tCC = "targetConnectorConfiguration";const _tK = "tagKeys";const _tWS = "targetWorkerSetting";const _v = "vpc";const _wC = "workerConfiguration";const _wCA = "workerConfigurationArn";const _wCS = "workerConfigurationState";const _wCo = "workerConfigurations";const _wCor = "workerCount";const _wLD = "workerLogDelivery";const n0 = "com.amazonaws.kafkaconnect";const _s_registry = TypeRegistry.for(_s);var KafkaConnectServiceException$ = [-3, _s, "KafkaConnectServiceException", 0, [], []];_s_registry.registerError(KafkaConnectServiceException$, KafkaConnectServiceException);const n0_registry = TypeRegistry.for(n0);var BadRequestException$ = [-3, n0, _BRE,    { [_e]: _c, [_hE]: 400 },    [_m],    [0]];n0_registry.registerError(BadRequestException$, BadRequestException);var ConflictException$ = [-3, n0, _CE,    { [_e]: _c, [_hE]: 409 },    [_m],    [0]];n0_registry.registerError(ConflictException$, ConflictException);var ForbiddenException$ = [-3, n0, _FE,    { [_e]: _c, [_hE]: 403 },    [_m],    [0]];n0_registry.registerError(ForbiddenException$, ForbiddenException);var InternalServerErrorException$ = [-3, n0, _ISEE,    { [_e]: _se, [_hE]: 500 },    [_m],    [0]];n0_registry.registerError(InternalServerErrorException$, InternalServerErrorException);var NotFoundException$ = [-3, n0, _NFE,    { [_e]: _c, [_hE]: 404 },    [_m],    [0]];n0_registry.registerError(NotFoundException$, NotFoundException);var ServiceUnavailableException$ = [-3, n0, _SUE,    { [_e]: _se, [_hE]: 503 },    [_m],    [0]];n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);var TooManyRequestsException$ = [-3, n0, _TMRE,    { [_e]: _c, [_hE]: 429 },    [_m],    [0]];n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);var UnauthorizedException$ = [-3, n0, _UE,    { [_e]: _c, [_hE]: 401 },    [_m],    [0]];n0_registry.registerError(UnauthorizedException$, UnauthorizedException);const errorTypeRegistries = [    _s_registry,    n0_registry,];var __sensitiveString = [0, n0, _sS, 8, 0];var ApacheKafkaCluster$ = [3, n0, _AKC,    0,    [_bS, _v],    [0, () => Vpc$], 2];var ApacheKafkaClusterDescription$ = [3, n0, _AKCD,    0,    [_bS, _v],    [0, () => VpcDescription$]];var AutoScaling$ = [3, n0, _AS,    0,    [_mWC, _mC, _mWCi, _sIP, _sOP, _mATC],    [1, 1, 1, () => ScaleInPolicy$, () => ScaleOutPolicy$, 1], 3];var AutoScalingDescription$ = [3, n0, _ASD,    0,    [_mWC, _mC, _mWCi, _sIP, _sOP, _mATC],    [1, 1, 1, () => ScaleInPolicyDescription$, () => ScaleOutPolicyDescription$, 1]];var AutoScalingUpdate$ = [3, n0, _ASU,    0,    [_mWC, _mC, _mWCi, _sIP, _sOP, _mATC],    [1, 1, 1, () => ScaleInPolicyUpdate$, () => ScaleOutPolicyUpdate$, 1], 5];var Capacity$ = [3, n0, _C,    0,    [_aS, _pC],    [() => AutoScaling$, () => ProvisionedCapacity$]];var CapacityDescription$ = [3, n0, _CD,    0,    [_aS, _pC],    [() => AutoScalingDescription$, () => ProvisionedCapacityDescription$]];var CapacityUpdate$ = [3, n0, _CU,    0,    [_aS, _pC],    [() => AutoScalingUpdate$, () => ProvisionedCapacityUpdate$]];var CloudWatchLogsLogDelivery$ = [3, n0, _CWLLD,    0,    [_en, _lG],    [2, 0], 1];var CloudWatchLogsLogDeliveryDescription$ = [3, n0, _CWLLDD,    0,    [_en, _lG],    [2, 0]];var ConnectorOperationStep$ = [3, n0, _COS,    0,    [_sT, _sSt],    [0, 0]];var ConnectorOperationSummary$ = [3, n0, _COSo,    0,    [_cOA, _cOT, _cOS, _cT, _eT],    [0, 0, 0, 5, 5]];var ConnectorSummary$ = [3, n0, _CS,    0,    [_ca, _cA, _cD, _cN, _cS, _cT, _cV, _kC, _kCCA, _kCEIT, _kCV, _lD, _nT, _p, _sERA, _wC],    [() => CapacityDescription$, 0, 0, 0, 0, 5, 0, () => KafkaClusterDescription$, () => KafkaClusterClientAuthenticationDescription$, () => KafkaClusterEncryptionInTransitDescription$, 0, () => LogDeliveryDescription$, 0, () => __listOfPluginDescription, 0, () => WorkerConfigurationDescription$]];var CreateConnectorRequest$ = [3, n0, _CCR,    0,    [_ca, _cC, _cN, _kC, _kCCA, _kCEIT, _kCV, _p, _sERA, _cD, _lD, _nT, _wC, _t],    [() => Capacity$, [() => ConnectorConfiguration, 0], 0, () => KafkaCluster$, () => KafkaClusterClientAuthentication$, () => KafkaClusterEncryptionInTransit$, 0, () => __listOfPlugin, 0, 0, () => LogDelivery$, 0, () => WorkerConfiguration$, 128 | 0], 9];var CreateConnectorResponse$ = [3, n0, _CCRr,    0,    [_cA, _cN, _cS],    [0, 0, 0]];var CreateCustomPluginRequest$ = [3, n0, _CCPR,    0,    [_cTo, _l, _n, _d, _t],    [0, () => CustomPluginLocation$, 0, 0, 128 | 0], 3];var CreateCustomPluginResponse$ = [3, n0, _CCPRr,    0,    [_cPA, _cPS, _n, _r],    [0, 0, 0, 1]];var CreateWorkerConfigurationRequest$ = [3, n0, _CWCR,    0,    [_n, _pFC, _d, _t],    [0, [() => __sensitiveString, 0], 0, 128 | 0], 2];var CreateWorkerConfigurationResponse$ = [3, n0, _CWCRr,    0,    [_cT, _lR, _n, _wCA, _wCS],    [5, () => WorkerConfigurationRevisionSummary$, 0, 0, 0]];var CustomPlugin$ = [3, n0, _CP,    0,    [_cPA, _r],    [0, 1], 2];var CustomPluginDescription$ = [3, n0, _CPD,    0,    [_cPA, _r],    [0, 1]];var CustomPluginFileDescription$ = [3, n0, _CPFD,    0,    [_fM, _fS],    [0, 1]];var CustomPluginLocation$ = [3, n0, _CPL,    0,    [_sL],    [() => S3Location$], 1];var CustomPluginLocationDescription$ = [3, n0, _CPLD,    0,    [_sL],    [() => S3LocationDescription$]];var CustomPluginRevisionSummary$ = [3, n0, _CPRS,    0,    [_cTo, _cT, _d, _fD, _l, _r],    [0, 5, 0, () => CustomPluginFileDescription$, () => CustomPluginLocationDescription$, 1]];var CustomPluginSummary$ = [3, n0, _CPS,    0,    [_cT, _cPA, _cPS, _d, _lR, _n],    [5, 0, 0, 0, () => CustomPluginRevisionSummary$, 0]];var DeleteConnectorRequest$ = [3, n0, _DCR,    0,    [_cA, _cV],    [[0, 1], [0, { [_hQ]: _cV }]], 1];var DeleteConnectorResponse$ = [3, n0, _DCRe,    0,    [_cA, _cS],    [0, 0]];var DeleteCustomPluginRequest$ = [3, n0, _DCPR,    0,    [_cPA],    [[0, 1]], 1];var DeleteCustomPluginResponse$ = [3, n0, _DCPRe,    0,    [_cPA, _cPS],    [0, 0]];var DeleteWorkerConfigurationRequest$ = [3, n0, _DWCR,    0,    [_wCA],    [[0, 1]], 1];var DeleteWorkerConfigurationResponse$ = [3, n0, _DWCRe,    0,    [_wCA, _wCS],    [0, 0]];var DescribeConnectorOperationRequest$ = [3, n0, _DCOR,    0,    [_cOA],    [[0, 1]], 1];var DescribeConnectorOperationResponse$ = [3, n0, _DCORe,    0,    [_cA, _cOA, _cOS, _cOT, _oS, _oWS, _oCC, _tWS, _tCC, _eI, _cT, _eT],    [0, 0, 0, 0, () => __listOfConnectorOperationStep, () => WorkerSetting$, [() => ConnectorConfiguration, 0], () => WorkerSetting$, [() => ConnectorConfiguration, 0], () => StateDescription$, 5, 5]];var DescribeConnectorRequest$ = [3, n0, _DCRes,    0,    [_cA],    [[0, 1]], 1];var DescribeConnectorResponse$ = [3, n0, _DCResc,    0,    [_ca, _cA, _cC, _cD, _cN, _cS, _cT, _cV, _kC, _kCCA, _kCEIT, _kCV, _lD, _nT, _p, _sERA, _wC, _sD],    [() => CapacityDescription$, 0, [() => ConnectorConfiguration, 0], 0, 0, 0, 5, 0, () => KafkaClusterDescription$, () => KafkaClusterClientAuthenticationDescription$, () => KafkaClusterEncryptionInTransitDescription$, 0, () => LogDeliveryDescription$, 0, () => __listOfPluginDescription, 0, () => WorkerConfigurationDescription$, () => StateDescription$]];var DescribeCustomPluginRequest$ = [3, n0, _DCPRes,    0,    [_cPA],    [[0, 1]], 1];var DescribeCustomPluginResponse$ = [3, n0, _DCPResc,    0,    [_cT, _cPA, _cPS, _d, _lR, _n, _sD],    [5, 0, 0, 0, () => CustomPluginRevisionSummary$, 0, () => StateDescription$]];var DescribeWorkerConfigurationRequest$ = [3, n0, _DWCRes,    0,    [_wCA],    [[0, 1]], 1];var DescribeWorkerConfigurationResponse$ = [3, n0, _DWCResc,    0,    [_cT, _d, _lR, _n, _wCA, _wCS],    [5, 0, [() => WorkerConfigurationRevisionDescription$, 0], 0, 0, 0]];var FirehoseLogDelivery$ = [3, n0, _FLD,    0,    [_en, _dS],    [2, 0], 1];var FirehoseLogDeliveryDescription$ = [3, n0, _FLDD,    0,    [_dS, _en],    [0, 2]];var KafkaCluster$ = [3, n0, _KC,    0,    [_aKC],    [() => ApacheKafkaCluster$], 1];var KafkaClusterClientAuthentication$ = [3, n0, _KCCA,    0,    [_aT],    [0], 1];var KafkaClusterClientAuthenticationDescription$ = [3, n0, _KCCAD,    0,    [_aT],    [0]];var KafkaClusterDescription$ = [3, n0, _KCD,    0,    [_aKC],    [() => ApacheKafkaClusterDescription$]];var KafkaClusterEncryptionInTransit$ = [3, n0, _KCEIT,    0,    [_eTn],    [0], 1];var KafkaClusterEncryptionInTransitDescription$ = [3, n0, _KCEITD,    0,    [_eTn],    [0]];var ListConnectorOperationsRequest$ = [3, n0, _LCOR,    0,    [_cA, _mR, _nTe],    [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nTe }]], 1];var ListConnectorOperationsResponse$ = [3, n0, _LCORi,    0,    [_cO, _nTe],    [() => __listOfConnectorOperationSummary, 0]];var ListConnectorsRequest$ = [3, n0, _LCR,    0,    [_cNP, _mR, _nTe],    [[0, { [_hQ]: _cNP }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nTe }]]];var ListConnectorsResponse$ = [3, n0, _LCRi,    0,    [_co, _nTe],    [() => __listOfConnectorSummary, 0]];var ListCustomPluginsRequest$ = [3, n0, _LCPR,    0,    [_mR, _nTe, _nP],    [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nTe }], [0, { [_hQ]: _nP }]]];var ListCustomPluginsResponse$ = [3, n0, _LCPRi,    0,    [_cP, _nTe],    [() => __listOfCustomPluginSummary, 0]];var ListTagsForResourceRequest$ = [3, n0, _LTFRR,    0,    [_rA],    [[0, 1]], 1];var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,    0,    [_t],    [128 | 0]];var ListWorkerConfigurationsRequest$ = [3, n0, _LWCR,    0,    [_mR, _nTe, _nP],    [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nTe }], [0, { [_hQ]: _nP }]]];var ListWorkerConfigurationsResponse$ = [3, n0, _LWCRi,    0,    [_nTe, _wCo],    [0, () => __listOfWorkerConfigurationSummary]];var LogDelivery$ = [3, n0, _LD,    0,    [_wLD],    [() => WorkerLogDelivery$], 1];var LogDeliveryDescription$ = [3, n0, _LDD,    0,    [_wLD],    [() => WorkerLogDeliveryDescription$]];var Plugin$ = [3, n0, _P,    0,    [_cPu],    [() => CustomPlugin$], 1];var PluginDescription$ = [3, n0, _PD,    0,    [_cPu],    [() => CustomPluginDescription$]];var ProvisionedCapacity$ = [3, n0, _PC,    0,    [_mC, _wCor],    [1, 1], 2];var ProvisionedCapacityDescription$ = [3, n0, _PCD,    0,    [_mC, _wCor],    [1, 1]];var ProvisionedCapacityUpdate$ = [3, n0, _PCU,    0,    [_mC, _wCor],    [1, 1], 2];var S3Location$ = [3, n0, _SL,    0,    [_bA, _fK, _oV],    [0, 0, 0], 2];var S3LocationDescription$ = [3, n0, _SLD,    0,    [_bA, _fK, _oV],    [0, 0, 0]];var S3LogDelivery$ = [3, n0, _SLDo,    0,    [_en, _b, _pr],    [2, 0, 0], 1];var S3LogDeliveryDescription$ = [3, n0, _SLDD,    0,    [_b, _en, _pr],    [0, 2, 0]];var ScaleInPolicy$ = [3, n0, _SIP,    0,    [_cUP],    [1], 1];var ScaleInPolicyDescription$ = [3, n0, _SIPD,    0,    [_cUP],    [1]];var ScaleInPolicyUpdate$ = [3, n0, _SIPU,    0,    [_cUP],    [1], 1];var ScaleOutPolicy$ = [3, n0, _SOP,    0,    [_cUP],    [1], 1];var ScaleOutPolicyDescription$ = [3, n0, _SOPD,    0,    [_cUP],    [1]];var ScaleOutPolicyUpdate$ = [3, n0, _SOPU,    0,    [_cUP],    [1], 1];var StateDescription$ = [3, n0, _SD,    0,    [_cod, _m],    [0, 0]];var TagResourceRequest$ = [3, n0, _TRR,    0,    [_rA, _t],    [[0, 1], 128 | 0], 2];var TagResourceResponse$ = [3, n0, _TRRa,    0,    [],    []];var UntagResourceRequest$ = [3, n0, _URR,    0,    [_rA, _tK],    [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2];var UntagResourceResponse$ = [3, n0, _URRn,    0,    [],    []];var UpdateConnectorRequest$ = [3, n0, _UCR,    0,    [_cA, _cV, _ca, _cC],    [[0, 1], [0, { [_hQ]: _cV }], () => CapacityUpdate$, [() => ConnectorConfigurationUpdate, 0]], 2];var UpdateConnectorResponse$ = [3, n0, _UCRp,    0,    [_cA, _cS, _cOA],    [0, 0, 0]];var Vpc$ = [3, n0, _V,    0,    [_su, _sG],    [64 | 0, 64 | 0], 1];var VpcDescription$ = [3, n0, _VD,    0,    [_sG, _su],    [64 | 0, 64 | 0]];var WorkerConfiguration$ = [3, n0, _WC,    0,    [_r, _wCA],    [1, 0], 2];var WorkerConfigurationDescription$ = [3, n0, _WCD,    0,    [_r, _wCA],    [1, 0]];var WorkerConfigurationRevisionDescription$ = [3, n0, _WCRD,    0,    [_cT, _d, _pFC, _r],    [5, 0, [() => __sensitiveString, 0], 1]];var WorkerConfigurationRevisionSummary$ = [3, n0, _WCRS,    0,    [_cT, _d, _r],    [5, 0, 1]];var WorkerConfigurationSummary$ = [3, n0, _WCS,    0,    [_cT, _d, _lR, _n, _wCA, _wCS],    [5, 0, () => WorkerConfigurationRevisionSummary$, 0, 0, 0]];var WorkerLogDelivery$ = [3, n0, _WLD,    0,    [_cWL, _f, _s_],    [() => CloudWatchLogsLogDelivery$, () => FirehoseLogDelivery$, () => S3LogDelivery$]];var WorkerLogDeliveryDescription$ = [3, n0, _WLDD,    0,    [_cWL, _f, _s_],    [() => CloudWatchLogsLogDeliveryDescription$, () => FirehoseLogDeliveryDescription$, () => S3LogDeliveryDescription$]];var WorkerSetting$ = [3, n0, _WS,    0,    [_ca],    [() => CapacityDescription$]];var __listOfConnectorOperationStep = [1, n0, _lOCOS,    0, () => ConnectorOperationStep$];var __listOfConnectorOperationSummary = [1, n0, _lOCOSi,    0, () => ConnectorOperationSummary$];var __listOfConnectorSummary = [1, n0, _lOCS,    0, () => ConnectorSummary$];var __listOfCustomPluginSummary = [1, n0, _lOCPS,    0, () => CustomPluginSummary$];var __listOfPlugin = [1, n0, _lOP,    0, () => Plugin$];var __listOfPluginDescription = [1, n0, _lOPD,    0, () => PluginDescription$];var __listOfWorkerConfigurationSummary = [1, n0, _lOWCS,    0, () => WorkerConfigurationSummary$];var ConnectorConfiguration = [2, n0, _CC,    8, 0, 0];var ConnectorConfigurationUpdate = [2, n0, _CCU,    8, 0, 0];var CreateConnector$ = [9, n0, _CCr,    { [_h]: ["POST", "/v1/connectors", 200] }, () => CreateConnectorRequest$, () => CreateConnectorResponse$];var CreateCustomPlugin$ = [9, n0, _CCP,    { [_h]: ["POST", "/v1/custom-plugins", 200] }, () => CreateCustomPluginRequest$, () => CreateCustomPluginResponse$];var CreateWorkerConfiguration$ = [9, n0, _CWC,    { [_h]: ["POST", "/v1/worker-configurations", 200] }, () => CreateWorkerConfigurationRequest$, () => CreateWorkerConfigurationResponse$];var DeleteConnector$ = [9, n0, _DC,    { [_h]: ["DELETE", "/v1/connectors/{connectorArn}", 200] }, () => DeleteConnectorRequest$, () => DeleteConnectorResponse$];var DeleteCustomPlugin$ = [9, n0, _DCP,    { [_h]: ["DELETE", "/v1/custom-plugins/{customPluginArn}", 200] }, () => DeleteCustomPluginRequest$, () => DeleteCustomPluginResponse$];var DeleteWorkerConfiguration$ = [9, n0, _DWC,    { [_h]: ["DELETE", "/v1/worker-configurations/{workerConfigurationArn}", 200] }, () => DeleteWorkerConfigurationRequest$, () => DeleteWorkerConfigurationResponse$];var DescribeConnector$ = [9, n0, _DCe,    { [_h]: ["GET", "/v1/connectors/{connectorArn}", 200] }, () => DescribeConnectorRequest$, () => DescribeConnectorResponse$];var DescribeConnectorOperation$ = [9, n0, _DCO,    { [_h]: ["GET", "/v1/connectorOperations/{connectorOperationArn}", 200] }, () => DescribeConnectorOperationRequest$, () => DescribeConnectorOperationResponse$];var DescribeCustomPlugin$ = [9, n0, _DCPe,    { [_h]: ["GET", "/v1/custom-plugins/{customPluginArn}", 200] }, () => DescribeCustomPluginRequest$, () => DescribeCustomPluginResponse$];var DescribeWorkerConfiguration$ = [9, n0, _DWCe,    { [_h]: ["GET", "/v1/worker-configurations/{workerConfigurationArn}", 200] }, () => DescribeWorkerConfigurationRequest$, () => DescribeWorkerConfigurationResponse$];var ListConnectorOperations$ = [9, n0, _LCO,    { [_h]: ["GET", "/v1/connectors/{connectorArn}/operations", 200] }, () => ListConnectorOperationsRequest$, () => ListConnectorOperationsResponse$];var ListConnectors$ = [9, n0, _LC,    { [_h]: ["GET", "/v1/connectors", 200] }, () => ListConnectorsRequest$, () => ListConnectorsResponse$];var ListCustomPlugins$ = [9, n0, _LCP,    { [_h]: ["GET", "/v1/custom-plugins", 200] }, () => ListCustomPluginsRequest$, () => ListCustomPluginsResponse$];var ListTagsForResource$ = [9, n0, _LTFR,    { [_h]: ["GET", "/v1/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$];var ListWorkerConfigurations$ = [9, n0, _LWC,    { [_h]: ["GET", "/v1/worker-configurations", 200] }, () => ListWorkerConfigurationsRequest$, () => ListWorkerConfigurationsResponse$];var TagResource$ = [9, n0, _TR,    { [_h]: ["POST", "/v1/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$];var UntagResource$ = [9, n0, _UR,    { [_h]: ["DELETE", "/v1/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$];var UpdateConnector$ = [9, n0, _UC,    { [_h]: ["PUT", "/v1/connectors/{connectorArn}", 200] }, () => UpdateConnectorRequest$, () => UpdateConnectorResponse$]; const getRuntimeConfig$1 = (config) => {    return {        apiVersion: "2021-09-14",        base64Decoder: config?.base64Decoder ?? fromBase64,        base64Encoder: config?.base64Encoder ?? toBase64,        disableHostPrefix: config?.disableHostPrefix ?? false,        endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,        extensions: config?.extensions ?? [],        httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultKafkaConnectHttpAuthSchemeProvider,        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 ?? AwsRestJsonProtocol,        protocolSettings: config?.protocolSettings ?? {            defaultNamespace: "com.amazonaws.kafkaconnect",            errorTypeRegistries,            version: "2021-09-14",            serviceTarget: "KafkaConnect",        },        serviceId: config?.serviceId ?? "KafkaConnect",        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 KafkaConnectClient 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: defaultKafkaConnectHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} const command = makeBuilder(commonParams, "KafkaConnect", "KafkaConnectClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class CreateConnectorCommand extends command(_ep0, _mw0, "CreateConnector", CreateConnector$) {} class CreateCustomPluginCommand extends command(_ep0, _mw0, "CreateCustomPlugin", CreateCustomPlugin$) {} class CreateWorkerConfigurationCommand extends command(_ep0, _mw0, "CreateWorkerConfiguration", CreateWorkerConfiguration$) {} class DeleteConnectorCommand extends command(_ep0, _mw0, "DeleteConnector", DeleteConnector$) {} class DeleteCustomPluginCommand extends command(_ep0, _mw0, "DeleteCustomPlugin", DeleteCustomPlugin$) {} class DeleteWorkerConfigurationCommand extends command(_ep0, _mw0, "DeleteWorkerConfiguration", DeleteWorkerConfiguration$) {} class DescribeConnectorCommand extends command(_ep0, _mw0, "DescribeConnector", DescribeConnector$) {} class DescribeConnectorOperationCommand extends command(_ep0, _mw0, "DescribeConnectorOperation", DescribeConnectorOperation$) {} class DescribeCustomPluginCommand extends command(_ep0, _mw0, "DescribeCustomPlugin", DescribeCustomPlugin$) {} class DescribeWorkerConfigurationCommand extends command(_ep0, _mw0, "DescribeWorkerConfiguration", DescribeWorkerConfiguration$) {} class ListConnectorOperationsCommand extends command(_ep0, _mw0, "ListConnectorOperations", ListConnectorOperations$) {} class ListConnectorsCommand extends command(_ep0, _mw0, "ListConnectors", ListConnectors$) {} class ListCustomPluginsCommand extends command(_ep0, _mw0, "ListCustomPlugins", ListCustomPlugins$) {} class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {} class ListWorkerConfigurationsCommand extends command(_ep0, _mw0, "ListWorkerConfigurations", ListWorkerConfigurations$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} class UpdateConnectorCommand extends command(_ep0, _mw0, "UpdateConnector", UpdateConnector$) {} const paginateListConnectorOperations = createPaginator(KafkaConnectClient, ListConnectorOperationsCommand, "nextToken", "nextToken", "maxResults"); const paginateListConnectors = createPaginator(KafkaConnectClient, ListConnectorsCommand, "nextToken", "nextToken", "maxResults"); const paginateListCustomPlugins = createPaginator(KafkaConnectClient, ListCustomPluginsCommand, "nextToken", "nextToken", "maxResults"); const paginateListWorkerConfigurations = createPaginator(KafkaConnectClient, ListWorkerConfigurationsCommand, "nextToken", "nextToken", "maxResults"); const commands = {    CreateConnectorCommand,    CreateCustomPluginCommand,    CreateWorkerConfigurationCommand,    DeleteConnectorCommand,    DeleteCustomPluginCommand,    DeleteWorkerConfigurationCommand,    DescribeConnectorCommand,    DescribeConnectorOperationCommand,    DescribeCustomPluginCommand,    DescribeWorkerConfigurationCommand,    ListConnectorOperationsCommand,    ListConnectorsCommand,    ListCustomPluginsCommand,    ListTagsForResourceCommand,    ListWorkerConfigurationsCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateConnectorCommand,};const paginators = {    paginateListConnectorOperations,    paginateListConnectors,    paginateListCustomPlugins,    paginateListWorkerConfigurations,};class KafkaConnect extends KafkaConnectClient {}createAggregatedClient(commands, KafkaConnect, { paginators }); const ConnectorOperationStepState = {    CANCELLED: "CANCELLED",    COMPLETED: "COMPLETED",    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    PENDING: "PENDING",};const ConnectorOperationStepType = {    FINALIZE_UPDATE: "FINALIZE_UPDATE",    INITIALIZE_UPDATE: "INITIALIZE_UPDATE",    UPDATE_CONNECTOR_CONFIGURATION: "UPDATE_CONNECTOR_CONFIGURATION",    UPDATE_WORKER_SETTING: "UPDATE_WORKER_SETTING",    VALIDATE_UPDATE: "VALIDATE_UPDATE",};const ConnectorOperationState = {    PENDING: "PENDING",    ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE",    ROLLBACK_FAILED: "ROLLBACK_FAILED",    ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",    UPDATE_COMPLETE: "UPDATE_COMPLETE",    UPDATE_FAILED: "UPDATE_FAILED",    UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",};const ConnectorOperationType = {    ISOLATE_CONNECTOR: "ISOLATE_CONNECTOR",    RESTORE_CONNECTOR: "RESTORE_CONNECTOR",    UPDATE_CONNECTOR_CONFIGURATION: "UPDATE_CONNECTOR_CONFIGURATION",    UPDATE_WORKER_SETTING: "UPDATE_WORKER_SETTING",};const ConnectorState = {    CREATING: "CREATING",    DELETING: "DELETING",    FAILED: "FAILED",    RUNNING: "RUNNING",    UPDATING: "UPDATING",};const KafkaClusterClientAuthenticationType = {    IAM: "IAM",    NONE: "NONE",};const KafkaClusterEncryptionInTransitType = {    PLAINTEXT: "PLAINTEXT",    TLS: "TLS",};const NetworkType = {    DUAL: "DUAL",    IPV4: "IPV4",};const CustomPluginState = {    ACTIVE: "ACTIVE",    CREATE_FAILED: "CREATE_FAILED",    CREATING: "CREATING",    DELETING: "DELETING",    UPDATE_FAILED: "UPDATE_FAILED",    UPDATING: "UPDATING",};const CustomPluginContentType = {    JAR: "JAR",    ZIP: "ZIP",};const WorkerConfigurationState = {    ACTIVE: "ACTIVE",    DELETING: "DELETING",}; exports.ApacheKafkaCluster$ = ApacheKafkaCluster$;exports.ApacheKafkaClusterDescription$ = ApacheKafkaClusterDescription$;exports.AutoScaling$ = AutoScaling$;exports.AutoScalingDescription$ = AutoScalingDescription$;exports.AutoScalingUpdate$ = AutoScalingUpdate$;exports.BadRequestException = BadRequestException;exports.BadRequestException$ = BadRequestException$;exports.Capacity$ = Capacity$;exports.CapacityDescription$ = CapacityDescription$;exports.CapacityUpdate$ = CapacityUpdate$;exports.CloudWatchLogsLogDelivery$ = CloudWatchLogsLogDelivery$;exports.CloudWatchLogsLogDeliveryDescription$ = CloudWatchLogsLogDeliveryDescription$;exports.ConflictException = ConflictException;exports.ConflictException$ = ConflictException$;exports.ConnectorOperationState = ConnectorOperationState;exports.ConnectorOperationStep$ = ConnectorOperationStep$;exports.ConnectorOperationStepState = ConnectorOperationStepState;exports.ConnectorOperationStepType = ConnectorOperationStepType;exports.ConnectorOperationSummary$ = ConnectorOperationSummary$;exports.ConnectorOperationType = ConnectorOperationType;exports.ConnectorState = ConnectorState;exports.ConnectorSummary$ = ConnectorSummary$;exports.CreateConnector$ = CreateConnector$;exports.CreateConnectorCommand = CreateConnectorCommand;exports.CreateConnectorRequest$ = CreateConnectorRequest$;exports.CreateConnectorResponse$ = CreateConnectorResponse$;exports.CreateCustomPlugin$ = CreateCustomPlugin$;exports.CreateCustomPluginCommand = CreateCustomPluginCommand;exports.CreateCustomPluginRequest$ = CreateCustomPluginRequest$;exports.CreateCustomPluginResponse$ = CreateCustomPluginResponse$;exports.CreateWorkerConfiguration$ = CreateWorkerConfiguration$;exports.CreateWorkerConfigurationCommand = CreateWorkerConfigurationCommand;exports.CreateWorkerConfigurationRequest$ = CreateWorkerConfigurationRequest$;exports.CreateWorkerConfigurationResponse$ = CreateWorkerConfigurationResponse$;exports.CustomPlugin$ = CustomPlugin$;exports.CustomPluginContentType = CustomPluginContentType;exports.CustomPluginDescription$ = CustomPluginDescription$;exports.CustomPluginFileDescription$ = CustomPluginFileDescription$;exports.CustomPluginLocation$ = CustomPluginLocation$;exports.CustomPluginLocationDescription$ = CustomPluginLocationDescription$;exports.CustomPluginRevisionSummary$ = CustomPluginRevisionSummary$;exports.CustomPluginState = CustomPluginState;exports.CustomPluginSummary$ = CustomPluginSummary$;exports.DeleteConnector$ = DeleteConnector$;exports.DeleteConnectorCommand = DeleteConnectorCommand;exports.DeleteConnectorRequest$ = DeleteConnectorRequest$;exports.DeleteConnectorResponse$ = DeleteConnectorResponse$;exports.DeleteCustomPlugin$ = DeleteCustomPlugin$;exports.DeleteCustomPluginCommand = DeleteCustomPluginCommand;exports.DeleteCustomPluginRequest$ = DeleteCustomPluginRequest$;exports.DeleteCustomPluginResponse$ = DeleteCustomPluginResponse$;exports.DeleteWorkerConfiguration$ = DeleteWorkerConfiguration$;exports.DeleteWorkerConfigurationCommand = DeleteWorkerConfigurationCommand;exports.DeleteWorkerConfigurationRequest$ = DeleteWorkerConfigurationRequest$;exports.DeleteWorkerConfigurationResponse$ = DeleteWorkerConfigurationResponse$;exports.DescribeConnector$ = DescribeConnector$;exports.DescribeConnectorCommand = DescribeConnectorCommand;exports.DescribeConnectorOperation$ = DescribeConnectorOperation$;exports.DescribeConnectorOperationCommand = DescribeConnectorOperationCommand;exports.DescribeConnectorOperationRequest$ = DescribeConnectorOperationRequest$;exports.DescribeConnectorOperationResponse$ = DescribeConnectorOperationResponse$;exports.DescribeConnectorRequest$ = DescribeConnectorRequest$;exports.DescribeConnectorResponse$ = DescribeConnectorResponse$;exports.DescribeCustomPlugin$ = DescribeCustomPlugin$;exports.DescribeCustomPluginCommand = DescribeCustomPluginCommand;exports.DescribeCustomPluginRequest$ = DescribeCustomPluginRequest$;exports.DescribeCustomPluginResponse$ = DescribeCustomPluginResponse$;exports.DescribeWorkerConfiguration$ = DescribeWorkerConfiguration$;exports.DescribeWorkerConfigurationCommand = DescribeWorkerConfigurationCommand;exports.DescribeWorkerConfigurationRequest$ = DescribeWorkerConfigurationRequest$;exports.DescribeWorkerConfigurationResponse$ = DescribeWorkerConfigurationResponse$;exports.FirehoseLogDelivery$ = FirehoseLogDelivery$;exports.FirehoseLogDeliveryDescription$ = FirehoseLogDeliveryDescription$;exports.ForbiddenException = ForbiddenException;exports.ForbiddenException$ = ForbiddenException$;exports.InternalServerErrorException = InternalServerErrorException;exports.InternalServerErrorException$ = InternalServerErrorException$;exports.KafkaCluster$ = KafkaCluster$;exports.KafkaClusterClientAuthentication$ = KafkaClusterClientAuthentication$;exports.KafkaClusterClientAuthenticationDescription$ = KafkaClusterClientAuthenticationDescription$;exports.KafkaClusterClientAuthenticationType = KafkaClusterClientAuthenticationType;exports.KafkaClusterDescription$ = KafkaClusterDescription$;exports.KafkaClusterEncryptionInTransit$ = KafkaClusterEncryptionInTransit$;exports.KafkaClusterEncryptionInTransitDescription$ = KafkaClusterEncryptionInTransitDescription$;exports.KafkaClusterEncryptionInTransitType = KafkaClusterEncryptionInTransitType;exports.KafkaConnect = KafkaConnect;exports.KafkaConnectClient = KafkaConnectClient;exports.KafkaConnectServiceException = KafkaConnectServiceException;exports.KafkaConnectServiceException$ = KafkaConnectServiceException$;exports.ListConnectorOperations$ = ListConnectorOperations$;exports.ListConnectorOperationsCommand = ListConnectorOperationsCommand;exports.ListConnectorOperationsRequest$ = ListConnectorOperationsRequest$;exports.ListConnectorOperationsResponse$ = ListConnectorOperationsResponse$;exports.ListConnectors$ = ListConnectors$;exports.ListConnectorsCommand = ListConnectorsCommand;exports.ListConnectorsRequest$ = ListConnectorsRequest$;exports.ListConnectorsResponse$ = ListConnectorsResponse$;exports.ListCustomPlugins$ = ListCustomPlugins$;exports.ListCustomPluginsCommand = ListCustomPluginsCommand;exports.ListCustomPluginsRequest$ = ListCustomPluginsRequest$;exports.ListCustomPluginsResponse$ = ListCustomPluginsResponse$;exports.ListTagsForResource$ = ListTagsForResource$;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;exports.ListWorkerConfigurations$ = ListWorkerConfigurations$;exports.ListWorkerConfigurationsCommand = ListWorkerConfigurationsCommand;exports.ListWorkerConfigurationsRequest$ = ListWorkerConfigurationsRequest$;exports.ListWorkerConfigurationsResponse$ = ListWorkerConfigurationsResponse$;exports.LogDelivery$ = LogDelivery$;exports.LogDeliveryDescription$ = LogDeliveryDescription$;exports.NetworkType = NetworkType;exports.NotFoundException = NotFoundException;exports.NotFoundException$ = NotFoundException$;exports.Plugin$ = Plugin$;exports.PluginDescription$ = PluginDescription$;exports.ProvisionedCapacity$ = ProvisionedCapacity$;exports.ProvisionedCapacityDescription$ = ProvisionedCapacityDescription$;exports.ProvisionedCapacityUpdate$ = ProvisionedCapacityUpdate$;exports.S3Location$ = S3Location$;exports.S3LocationDescription$ = S3LocationDescription$;exports.S3LogDelivery$ = S3LogDelivery$;exports.S3LogDeliveryDescription$ = S3LogDeliveryDescription$;exports.ScaleInPolicy$ = ScaleInPolicy$;exports.ScaleInPolicyDescription$ = ScaleInPolicyDescription$;exports.ScaleInPolicyUpdate$ = ScaleInPolicyUpdate$;exports.ScaleOutPolicy$ = ScaleOutPolicy$;exports.ScaleOutPolicyDescription$ = ScaleOutPolicyDescription$;exports.ScaleOutPolicyUpdate$ = ScaleOutPolicyUpdate$;exports.ServiceUnavailableException = ServiceUnavailableException;exports.ServiceUnavailableException$ = ServiceUnavailableException$;exports.StateDescription$ = StateDescription$;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceRequest$ = TagResourceRequest$;exports.TagResourceResponse$ = TagResourceResponse$;exports.TooManyRequestsException = TooManyRequestsException;exports.TooManyRequestsException$ = TooManyRequestsException$;exports.UnauthorizedException = UnauthorizedException;exports.UnauthorizedException$ = UnauthorizedException$;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceRequest$ = UntagResourceRequest$;exports.UntagResourceResponse$ = UntagResourceResponse$;exports.UpdateConnector$ = UpdateConnector$;exports.UpdateConnectorCommand = UpdateConnectorCommand;exports.UpdateConnectorRequest$ = UpdateConnectorRequest$;exports.UpdateConnectorResponse$ = UpdateConnectorResponse$;exports.Vpc$ = Vpc$;exports.VpcDescription$ = VpcDescription$;exports.WorkerConfiguration$ = WorkerConfiguration$;exports.WorkerConfigurationDescription$ = WorkerConfigurationDescription$;exports.WorkerConfigurationRevisionDescription$ = WorkerConfigurationRevisionDescription$;exports.WorkerConfigurationRevisionSummary$ = WorkerConfigurationRevisionSummary$;exports.WorkerConfigurationState = WorkerConfigurationState;exports.WorkerConfigurationSummary$ = WorkerConfigurationSummary$;exports.WorkerLogDelivery$ = WorkerLogDelivery$;exports.WorkerLogDeliveryDescription$ = WorkerLogDeliveryDescription$;exports.WorkerSetting$ = WorkerSetting$;exports.errorTypeRegistries = errorTypeRegistries;exports.paginateListConnectorOperations = paginateListConnectorOperations;exports.paginateListConnectors = paginateListConnectors;exports.paginateListCustomPlugins = paginateListCustomPlugins;exports.paginateListWorkerConfigurations = paginateListWorkerConfigurations;