File Explorer

/proc/2/root/var/runtime/node_modules/@aws-sdk/client-backupsearch/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.js38.4 KB · 1065 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 defaultBackupSearchHttpAuthSchemeParametersProvider = 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: "backup-search",            region: authParameters.region,        },        propertiesExtractor: (config, context) => ({            signingProperties: {                config,                context,            },        }),    };}const defaultBackupSearchHttpAuthSchemeProvider = (authParameters) => {    const options = [];    switch (authParameters.operation) {        default: {            options.push(createAwsAuthSigv4HttpAuthOption(authParameters));        }    }    return options;};const resolveHttpAuthSchemeConfig = (config) => {    const config_0 = resolveAwsSdkSigV4Config(config);    return Object.assign(config_0, {        authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),    });}; const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "backup-search",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },}; var version = "3.1104.0";var packageInfo = {	version: version}; const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];const _data = {    conditions: [        [a, [b]],        [a, c],        ["aws.partition", c, "PartitionResult"],        ["booleanEquals", [{ ref: "UseFIPS" }, true]]    ],    results: [        [-1],        [-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],        [b, {}],        ["https://backup-search-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],        ["https://backup-search.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],        [-1, "Invalid Configuration: Missing Region"]    ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([    -1, 1, -1,    0, 6, 3,    1, 4, r + 5,    2, 5, r + 5,    3, r + 3, r + 4,    3, r + 1, r + 2,]);const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); const cache = new EndpointCache({    size: 50,    params: ["Endpoint", "Region", "UseFIPS"],});const defaultEndpointResolver = (endpointParams, context = {}) => {    return cache.get(endpointParams, () => decideEndpoint(bdd, {        endpointParams: endpointParams,        logger: context.logger,    }));};customEndpointFunctions.aws = awsEndpointFunctions; class BackupSearchServiceException extends ServiceException {    constructor(options) {        super(options);        Object.setPrototypeOf(this, BackupSearchServiceException.prototype);    }} class AccessDeniedException extends BackupSearchServiceException {    name = "AccessDeniedException";    $fault = "client";    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);    }}class ConflictException extends BackupSearchServiceException {    name = "ConflictException";    $fault = "client";    resourceId;    resourceType;    constructor(opts) {        super({            name: "ConflictException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ConflictException.prototype);        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;    }}class InternalServerException extends BackupSearchServiceException {    name = "InternalServerException";    $fault = "server";    $retryable = {};    retryAfterSeconds;    constructor(opts) {        super({            name: "InternalServerException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerException.prototype);        this.retryAfterSeconds = opts.retryAfterSeconds;    }}class ResourceNotFoundException extends BackupSearchServiceException {    name = "ResourceNotFoundException";    $fault = "client";    resourceId;    resourceType;    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;    }}class ThrottlingException extends BackupSearchServiceException {    name = "ThrottlingException";    $fault = "client";    $retryable = {        throttling: true,    };    serviceCode;    quotaCode;    retryAfterSeconds;    constructor(opts) {        super({            name: "ThrottlingException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ThrottlingException.prototype);        this.serviceCode = opts.serviceCode;        this.quotaCode = opts.quotaCode;        this.retryAfterSeconds = opts.retryAfterSeconds;    }}class ValidationException extends BackupSearchServiceException {    name = "ValidationException";    $fault = "client";    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);    }}class ServiceQuotaExceededException extends BackupSearchServiceException {    name = "ServiceQuotaExceededException";    $fault = "client";    resourceId;    resourceType;    serviceCode;    quotaCode;    constructor(opts) {        super({            name: "ServiceQuotaExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;        this.serviceCode = opts.serviceCode;        this.quotaCode = opts.quotaCode;    }} const _ADE = "AccessDeniedException";const _BCT = "BackupCreationTime";const _BCTF = "BackupCreationTimeFilter";const _BRA = "BackupResourceArn";const _BRAa = "BackupResourceArns";const _BRCT = "BackupResourceCreationTime";const _BRT = "BackupResourceTypes";const _BRTa = "BackupResourceTags";const _BS = "ByStatus";const _BVN = "BackupVaultName";const _CA = "CreatedAfter";const _CB = "CreatedBefore";const _CE = "ConflictException";const _CSP = "CurrentSearchProgress";const _CT = "CreationTimes";const _CTl = "ClientToken";const _CTo = "CompletionTime";const _CTr = "CreationTime";const _DB = "DestinationBucket";const _DP = "DestinationPrefix";const _EBSIF = "EBSItemFilter";const _EBSIFt = "EBSItemFilters";const _EBSRI = "EBSResultItem";const _EJ = "ExportJobs";const _EJA = "ExportJobArn";const _EJI = "ExportJobIdentifier";const _EJS = "ExportJobSummary";const _EJSx = "ExportJobSummaries";const _EKA = "EncryptionKeyArn";const _ES = "ExportSpecification";const _ET = "ETags";const _ETa = "ETag";const _FP = "FilePath";const _FPi = "FilePaths";const _FS = "FileSize";const _FSI = "FileSystemIdentifier";const _GSJ = "GetSearchJob";const _GSJI = "GetSearchJobInput";const _GSJO = "GetSearchJobOutput";const _GSREJ = "GetSearchResultExportJob";const _GSREJI = "GetSearchResultExportJobInput";const _GSREJO = "GetSearchResultExportJobOutput";const _ICT = "IndexCreationTime";const _IF = "ItemFilters";const _IMC = "ItemsMatchedCount";const _ISC = "ItemsScannedCount";const _ISE = "InternalServerException";const _LC = "LongCondition";const _LCL = "LongConditionList";const _LMT = "LastModificationTimes";const _LMTa = "LastModifiedTime";const _LSJ = "ListSearchJobs";const _LSJB = "ListSearchJobBackups";const _LSJBI = "ListSearchJobBackupsInput";const _LSJBO = "ListSearchJobBackupsOutput";const _LSJI = "ListSearchJobsInput";const _LSJO = "ListSearchJobsOutput";const _LSJR = "ListSearchJobResults";const _LSJRI = "ListSearchJobResultsInput";const _LSJRO = "ListSearchJobResultsOutput";const _LSREJ = "ListSearchResultExportJobs";const _LSREJI = "ListSearchResultExportJobsInput";const _LSREJO = "ListSearchResultExportJobsOutput";const _LTFR = "ListTagsForResource";const _LTFRR = "ListTagsForResourceRequest";const _LTFRRi = "ListTagsForResourceResponse";const _MR = "MaxResults";const _N = "Name";const _NT = "NextToken";const _O = "Operator";const _OK = "ObjectKey";const _OKb = "ObjectKeys";const _OS = "ObjectSize";const _R = "Results";const _RA = "Retry-After";const _RAe = "ResourceArn";const _RAo = "RoleArn";const _RI = "ResultItem";const _RNFE = "ResourceNotFoundException";const _RPSC = "RecoveryPointsScannedCount";const _RT = "ResourceType";const _S = "Sizes";const _SC = "StringCondition";const _SCL = "StringConditionList";const _SES = "S3ExportSpecification";const _SIF = "S3ItemFilters";const _SIFt = "S3ItemFilter";const _SJ = "SearchJobs";const _SJA = "SearchJobArn";const _SJBR = "SearchJobBackupsResult";const _SJBRe = "SearchJobBackupsResults";const _SJI = "SearchJobIdentifier";const _SJS = "SearchJobSummary";const _SM = "StatusMessage";const _SQEE = "ServiceQuotaExceededException";const _SRA = "SourceResourceArn";const _SRAo = "SourceResourceArns";const _SRI = "S3ResultItem";const _SS = "SearchScope";const _SSJ = "StartSearchJob";const _SSJI = "StartSearchJobInput";const _SSJIt = "StopSearchJobInput";const _SSJO = "StartSearchJobOutput";const _SSJOt = "StopSearchJobOutput";const _SSJt = "StopSearchJob";const _SSREJ = "StartSearchResultExportJob";const _SSREJI = "StartSearchResultExportJobInput";const _SSREJO = "StartSearchResultExportJobOutput";const _SSS = "SearchScopeSummary";const _St = "Status";const _T = "Tags";const _TC = "TimeCondition";const _TCL = "TimeConditionList";const _TE = "ThrottlingException";const _TITSC = "TotalItemsToScanCount";const _TK = "TagKeys";const _TM = "TagMap";const _TR = "TagResource";const _TRPTSC = "TotalRecoveryPointsToScanCount";const _TRR = "TagResourceRequest";const _TRRa = "TagResourceResponse";const _UR = "UntagResource";const _URR = "UntagResourceRequest";const _URRn = "UntagResourceResponse";const _V = "Value";const _VE = "ValidationException";const _VI = "VersionIds";const _VIe = "VersionId";const _c = "client";const _e = "error";const _h = "http";const _hE = "httpError";const _hH = "httpHeader";const _hQ = "httpQuery";const _m = "message";const _mR = "maxResults";const _nT = "nextToken";const _qC = "quotaCode";const _rAS = "retryAfterSeconds";const _rI = "resourceId";const _rT = "resourceType";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.backupsearch";const _sC = "serviceCode";const _sES = "s3ExportSpecification";const _se = "server";const _sp = "sparse";const _tK = "tagKeys";const n0 = "com.amazonaws.backupsearch";const _s_registry = TypeRegistry.for(_s);var BackupSearchServiceException$ = [-3, _s, "BackupSearchServiceException", 0, [], []];_s_registry.registerError(BackupSearchServiceException$, BackupSearchServiceException);const n0_registry = TypeRegistry.for(n0);var AccessDeniedException$ = [-3, n0, _ADE,    { [_e]: _c, [_hE]: 403 },    [_m],    [0], 1];n0_registry.registerError(AccessDeniedException$, AccessDeniedException);var ConflictException$ = [-3, n0, _CE,    { [_e]: _c, [_hE]: 409 },    [_m, _rI, _rT],    [0, 0, 0], 3];n0_registry.registerError(ConflictException$, ConflictException);var InternalServerException$ = [-3, n0, _ISE,    { [_e]: _se, [_hE]: 500 },    [_m, _rAS],    [0, [1, { [_hH]: _RA }]], 1];n0_registry.registerError(InternalServerException$, InternalServerException);var ResourceNotFoundException$ = [-3, n0, _RNFE,    { [_e]: _c, [_hE]: 404 },    [_m, _rI, _rT],    [0, 0, 0], 3];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);var ServiceQuotaExceededException$ = [-3, n0, _SQEE,    { [_e]: _c, [_hE]: 402 },    [_m, _rI, _rT, _sC, _qC],    [0, 0, 0, 0, 0], 5];n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);var ThrottlingException$ = [-3, n0, _TE,    { [_e]: _c, [_hE]: 429 },    [_m, _sC, _qC, _rAS],    [0, 0, 0, [1, { [_hH]: _RA }]], 1];n0_registry.registerError(ThrottlingException$, ThrottlingException);var ValidationException$ = [-3, n0, _VE,    { [_e]: _c, [_hE]: 400 },    [_m],    [0], 1];n0_registry.registerError(ValidationException$, ValidationException);const errorTypeRegistries = [    _s_registry,    n0_registry,];var FilePath = [0, n0, _FP, 8, 0];var ObjectKey = [0, n0, _OK, 8, 0];var BackupCreationTimeFilter$ = [3, n0, _BCTF,    0,    [_CA, _CB],    [4, 4]];var CurrentSearchProgress$ = [3, n0, _CSP,    0,    [_RPSC, _ISC, _IMC],    [1, 1, 1]];var EBSItemFilter$ = [3, n0, _EBSIF,    0,    [_FPi, _S, _CT, _LMT],    [() => StringConditionList, () => LongConditionList, () => TimeConditionList, () => TimeConditionList]];var EBSResultItem$ = [3, n0, _EBSRI,    0,    [_BRA, _SRA, _BVN, _FSI, _FP, _FS, _CTr, _LMTa],    [0, 0, 0, 0, [() => FilePath, 0], 1, 4, 4]];var ExportJobSummary$ = [3, n0, _EJS,    0,    [_EJI, _EJA, _St, _CTr, _CTo, _SM, _SJA],    [0, 0, 0, 4, 4, 0, 0], 1];var GetSearchJobInput$ = [3, n0, _GSJI,    0,    [_SJI],    [[0, 1]], 1];var GetSearchJobOutput$ = [3, n0, _GSJO,    0,    [_St, _SS, _IF, _CTr, _SJI, _SJA, _N, _SSS, _CSP, _SM, _EKA, _CTo],    [0, [() => SearchScope$, 0], () => ItemFilters$, 4, 0, 0, 0, () => SearchScopeSummary$, () => CurrentSearchProgress$, 0, 0, 4], 6];var GetSearchResultExportJobInput$ = [3, n0, _GSREJI,    0,    [_EJI],    [[0, 1]], 1];var GetSearchResultExportJobOutput$ = [3, n0, _GSREJO,    0,    [_EJI, _EJA, _St, _CTr, _CTo, _SM, _ES, _SJA],    [0, 0, 0, 4, 4, 0, () => ExportSpecification$, 0], 1];var ItemFilters$ = [3, n0, _IF,    0,    [_SIF, _EBSIFt],    [() => S3ItemFilters, () => EBSItemFilters]];var ListSearchJobBackupsInput$ = [3, n0, _LSJBI,    0,    [_SJI, _NT, _MR],    [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1];var ListSearchJobBackupsOutput$ = [3, n0, _LSJBO,    0,    [_R, _NT],    [() => SearchJobBackupsResults, 0], 1];var ListSearchJobResultsInput$ = [3, n0, _LSJRI,    0,    [_SJI, _NT, _MR],    [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1];var ListSearchJobResultsOutput$ = [3, n0, _LSJRO,    0,    [_R, _NT],    [[() => Results, 0], 0], 1];var ListSearchJobsInput$ = [3, n0, _LSJI,    0,    [_BS, _NT, _MR],    [[0, { [_hQ]: _St }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]];var ListSearchJobsOutput$ = [3, n0, _LSJO,    0,    [_SJ, _NT],    [() => SearchJobs, 0], 1];var ListSearchResultExportJobsInput$ = [3, n0, _LSREJI,    0,    [_St, _SJI, _NT, _MR],    [[0, { [_hQ]: _St }], [0, { [_hQ]: _SJI }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]]];var ListSearchResultExportJobsOutput$ = [3, n0, _LSREJO,    0,    [_EJ, _NT],    [() => ExportJobSummaries, 0], 1];var ListTagsForResourceRequest$ = [3, n0, _LTFRR,    0,    [_RAe],    [[0, 1]], 1];var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,    0,    [_T],    [[() => TagMap, 0]]];var LongCondition$ = [3, n0, _LC,    0,    [_V, _O],    [1, 0], 1];var S3ExportSpecification$ = [3, n0, _SES,    0,    [_DB, _DP],    [0, 0], 1];var S3ItemFilter$ = [3, n0, _SIFt,    0,    [_OKb, _S, _CT, _VI, _ET],    [() => StringConditionList, () => LongConditionList, () => TimeConditionList, () => StringConditionList, () => StringConditionList]];var S3ResultItem$ = [3, n0, _SRI,    0,    [_BRA, _SRA, _BVN, _OK, _OS, _CTr, _ETa, _VIe],    [0, 0, 0, [() => ObjectKey, 0], 1, 4, 0, 0]];var SearchJobBackupsResult$ = [3, n0, _SJBR,    0,    [_St, _SM, _RT, _BRA, _SRA, _ICT, _BCT],    [0, 0, 0, 0, 0, 4, 4]];var SearchJobSummary$ = [3, n0, _SJS,    0,    [_SJI, _SJA, _N, _St, _CTr, _CTo, _SSS, _SM],    [0, 0, 0, 0, 4, 4, () => SearchScopeSummary$, 0]];var SearchScope$ = [3, n0, _SS,    0,    [_BRT, _BRCT, _SRAo, _BRAa, _BRTa],    [64 | 0, () => BackupCreationTimeFilter$, 64 | 0, 64 | 0, [() => TagMap, 0]], 1];var SearchScopeSummary$ = [3, n0, _SSS,    0,    [_TRPTSC, _TITSC],    [1, 1]];var StartSearchJobInput$ = [3, n0, _SSJI,    0,    [_SS, _T, _N, _EKA, _CTl, _IF],    [[() => SearchScope$, 0], [() => TagMap, 0], 0, 0, 0, () => ItemFilters$], 1];var StartSearchJobOutput$ = [3, n0, _SSJO,    0,    [_SJA, _CTr, _SJI],    [0, 4, 0]];var StartSearchResultExportJobInput$ = [3, n0, _SSREJI,    0,    [_SJI, _ES, _CTl, _T, _RAo],    [0, () => ExportSpecification$, 0, [() => TagMap, 0], 0], 2];var StartSearchResultExportJobOutput$ = [3, n0, _SSREJO,    0,    [_EJI, _EJA],    [0, 0], 1];var StopSearchJobInput$ = [3, n0, _SSJIt,    0,    [_SJI],    [[0, 1]], 1];var StopSearchJobOutput$ = [3, n0, _SSJOt,    0,    [],    []];var StringCondition$ = [3, n0, _SC,    0,    [_V, _O],    [0, 0], 1];var TagResourceRequest$ = [3, n0, _TRR,    0,    [_RAe, _T],    [[0, 1], [() => TagMap, 0]], 2];var TagResourceResponse$ = [3, n0, _TRRa,    0,    [],    []];var TimeCondition$ = [3, n0, _TC,    0,    [_V, _O],    [4, 0], 1];var UntagResourceRequest$ = [3, n0, _URR,    0,    [_RAe, _TK],    [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2];var UntagResourceResponse$ = [3, n0, _URRn,    0,    [],    []];var EBSItemFilters = [1, n0, _EBSIFt,    0, () => EBSItemFilter$];var ExportJobSummaries = [1, n0, _EJSx,    0, () => ExportJobSummary$];var LongConditionList = [1, n0, _LCL,    0, () => LongCondition$];var Results = [1, n0, _R,    0, [() => ResultItem$,        0]];var S3ItemFilters = [1, n0, _SIF,    0, () => S3ItemFilter$];var SearchJobBackupsResults = [1, n0, _SJBRe,    0, () => SearchJobBackupsResult$];var SearchJobs = [1, n0, _SJ,    0, () => SearchJobSummary$];var StringConditionList = [1, n0, _SCL,    0, () => StringCondition$];var TimeConditionList = [1, n0, _TCL,    0, () => TimeCondition$];var TagMap = [2, n0, _TM,    { [_sp]: 1 }, 0, 0];var ExportSpecification$ = [4, n0, _ES,    0,    [_sES],    [() => S3ExportSpecification$]];var ResultItem$ = [4, n0, _RI,    0,    [_SRI, _EBSRI],    [[() => S3ResultItem$, 0], [() => EBSResultItem$, 0]]];var GetSearchJob$ = [9, n0, _GSJ,    { [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}", 200] }, () => GetSearchJobInput$, () => GetSearchJobOutput$];var GetSearchResultExportJob$ = [9, n0, _GSREJ,    { [_h]: ["GET", "/export-search-jobs/{ExportJobIdentifier}", 200] }, () => GetSearchResultExportJobInput$, () => GetSearchResultExportJobOutput$];var ListSearchJobBackups$ = [9, n0, _LSJB,    { [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}/backups", 200] }, () => ListSearchJobBackupsInput$, () => ListSearchJobBackupsOutput$];var ListSearchJobResults$ = [9, n0, _LSJR,    { [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}/search-results", 200] }, () => ListSearchJobResultsInput$, () => ListSearchJobResultsOutput$];var ListSearchJobs$ = [9, n0, _LSJ,    { [_h]: ["GET", "/search-jobs", 200] }, () => ListSearchJobsInput$, () => ListSearchJobsOutput$];var ListSearchResultExportJobs$ = [9, n0, _LSREJ,    { [_h]: ["GET", "/export-search-jobs", 200] }, () => ListSearchResultExportJobsInput$, () => ListSearchResultExportJobsOutput$];var ListTagsForResource$ = [9, n0, _LTFR,    { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$];var StartSearchJob$ = [9, n0, _SSJ,    { [_h]: ["PUT", "/search-jobs", 200] }, () => StartSearchJobInput$, () => StartSearchJobOutput$];var StartSearchResultExportJob$ = [9, n0, _SSREJ,    { [_h]: ["PUT", "/export-search-jobs", 200] }, () => StartSearchResultExportJobInput$, () => StartSearchResultExportJobOutput$];var StopSearchJob$ = [9, n0, _SSJt,    { [_h]: ["PUT", "/search-jobs/{SearchJobIdentifier}/actions/cancel", 200] }, () => StopSearchJobInput$, () => StopSearchJobOutput$];var TagResource$ = [9, n0, _TR,    { [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$];var UntagResource$ = [9, n0, _UR,    { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$]; const getRuntimeConfig$1 = (config) => {    return {        apiVersion: "2018-05-10",        base64Decoder: config?.base64Decoder ?? fromBase64,        base64Encoder: config?.base64Encoder ?? toBase64,        disableHostPrefix: config?.disableHostPrefix ?? false,        endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,        extensions: config?.extensions ?? [],        httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultBackupSearchHttpAuthSchemeProvider,        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.backupsearch",            errorTypeRegistries,            version: "2018-05-10",            serviceTarget: "CryoBackupSearchService",        },        serviceId: config?.serviceId ?? "BackupSearch",        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 BackupSearchClient 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: defaultBackupSearchHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} const command = makeBuilder(commonParams, "CryoBackupSearchService", "BackupSearchClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class GetSearchJobCommand extends command(_ep0, _mw0, "GetSearchJob", GetSearchJob$) {} class GetSearchResultExportJobCommand extends command(_ep0, _mw0, "GetSearchResultExportJob", GetSearchResultExportJob$) {} class ListSearchJobBackupsCommand extends command(_ep0, _mw0, "ListSearchJobBackups", ListSearchJobBackups$) {} class ListSearchJobResultsCommand extends command(_ep0, _mw0, "ListSearchJobResults", ListSearchJobResults$) {} class ListSearchJobsCommand extends command(_ep0, _mw0, "ListSearchJobs", ListSearchJobs$) {} class ListSearchResultExportJobsCommand extends command(_ep0, _mw0, "ListSearchResultExportJobs", ListSearchResultExportJobs$) {} class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {} class StartSearchJobCommand extends command(_ep0, _mw0, "StartSearchJob", StartSearchJob$) {} class StartSearchResultExportJobCommand extends command(_ep0, _mw0, "StartSearchResultExportJob", StartSearchResultExportJob$) {} class StopSearchJobCommand extends command(_ep0, _mw0, "StopSearchJob", StopSearchJob$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} const paginateListSearchJobBackups = createPaginator(BackupSearchClient, ListSearchJobBackupsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSearchJobResults = createPaginator(BackupSearchClient, ListSearchJobResultsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSearchJobs = createPaginator(BackupSearchClient, ListSearchJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListSearchResultExportJobs = createPaginator(BackupSearchClient, ListSearchResultExportJobsCommand, "NextToken", "NextToken", "MaxResults"); const commands = {    GetSearchJobCommand,    GetSearchResultExportJobCommand,    ListSearchJobBackupsCommand,    ListSearchJobResultsCommand,    ListSearchJobsCommand,    ListSearchResultExportJobsCommand,    ListTagsForResourceCommand,    StartSearchJobCommand,    StartSearchResultExportJobCommand,    StopSearchJobCommand,    TagResourceCommand,    UntagResourceCommand,};const paginators = {    paginateListSearchJobBackups,    paginateListSearchJobResults,    paginateListSearchJobs,    paginateListSearchResultExportJobs,};class BackupSearch extends BackupSearchClient {}createAggregatedClient(commands, BackupSearch, { paginators }); const ResourceType = {    EBS: "EBS",    S3: "S3",};const SearchJobState = {    COMPLETED: "COMPLETED",    FAILED: "FAILED",    RUNNING: "RUNNING",    STOPPED: "STOPPED",    STOPPING: "STOPPING",};const TimeConditionOperator = {    EQUALS_TO: "EQUALS_TO",    GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO",    LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO",    NOT_EQUALS_TO: "NOT_EQUALS_TO",};const StringConditionOperator = {    BEGINS_WITH: "BEGINS_WITH",    CONTAINS: "CONTAINS",    DOES_NOT_BEGIN_WITH: "DOES_NOT_BEGIN_WITH",    DOES_NOT_CONTAIN: "DOES_NOT_CONTAIN",    DOES_NOT_END_WITH: "DOES_NOT_END_WITH",    ENDS_WITH: "ENDS_WITH",    EQUALS_TO: "EQUALS_TO",    NOT_EQUALS_TO: "NOT_EQUALS_TO",};const LongConditionOperator = {    EQUALS_TO: "EQUALS_TO",    GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO",    LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO",    NOT_EQUALS_TO: "NOT_EQUALS_TO",};const ExportJobStatus = {    COMPLETED: "COMPLETED",    FAILED: "FAILED",    RUNNING: "RUNNING",}; exports.AccessDeniedException = AccessDeniedException;exports.AccessDeniedException$ = AccessDeniedException$;exports.BackupCreationTimeFilter$ = BackupCreationTimeFilter$;exports.BackupSearch = BackupSearch;exports.BackupSearchClient = BackupSearchClient;exports.BackupSearchServiceException = BackupSearchServiceException;exports.BackupSearchServiceException$ = BackupSearchServiceException$;exports.ConflictException = ConflictException;exports.ConflictException$ = ConflictException$;exports.CurrentSearchProgress$ = CurrentSearchProgress$;exports.EBSItemFilter$ = EBSItemFilter$;exports.EBSResultItem$ = EBSResultItem$;exports.ExportJobStatus = ExportJobStatus;exports.ExportJobSummary$ = ExportJobSummary$;exports.ExportSpecification$ = ExportSpecification$;exports.GetSearchJob$ = GetSearchJob$;exports.GetSearchJobCommand = GetSearchJobCommand;exports.GetSearchJobInput$ = GetSearchJobInput$;exports.GetSearchJobOutput$ = GetSearchJobOutput$;exports.GetSearchResultExportJob$ = GetSearchResultExportJob$;exports.GetSearchResultExportJobCommand = GetSearchResultExportJobCommand;exports.GetSearchResultExportJobInput$ = GetSearchResultExportJobInput$;exports.GetSearchResultExportJobOutput$ = GetSearchResultExportJobOutput$;exports.InternalServerException = InternalServerException;exports.InternalServerException$ = InternalServerException$;exports.ItemFilters$ = ItemFilters$;exports.ListSearchJobBackups$ = ListSearchJobBackups$;exports.ListSearchJobBackupsCommand = ListSearchJobBackupsCommand;exports.ListSearchJobBackupsInput$ = ListSearchJobBackupsInput$;exports.ListSearchJobBackupsOutput$ = ListSearchJobBackupsOutput$;exports.ListSearchJobResults$ = ListSearchJobResults$;exports.ListSearchJobResultsCommand = ListSearchJobResultsCommand;exports.ListSearchJobResultsInput$ = ListSearchJobResultsInput$;exports.ListSearchJobResultsOutput$ = ListSearchJobResultsOutput$;exports.ListSearchJobs$ = ListSearchJobs$;exports.ListSearchJobsCommand = ListSearchJobsCommand;exports.ListSearchJobsInput$ = ListSearchJobsInput$;exports.ListSearchJobsOutput$ = ListSearchJobsOutput$;exports.ListSearchResultExportJobs$ = ListSearchResultExportJobs$;exports.ListSearchResultExportJobsCommand = ListSearchResultExportJobsCommand;exports.ListSearchResultExportJobsInput$ = ListSearchResultExportJobsInput$;exports.ListSearchResultExportJobsOutput$ = ListSearchResultExportJobsOutput$;exports.ListTagsForResource$ = ListTagsForResource$;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;exports.LongCondition$ = LongCondition$;exports.LongConditionOperator = LongConditionOperator;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.ResourceType = ResourceType;exports.ResultItem$ = ResultItem$;exports.S3ExportSpecification$ = S3ExportSpecification$;exports.S3ItemFilter$ = S3ItemFilter$;exports.S3ResultItem$ = S3ResultItem$;exports.SearchJobBackupsResult$ = SearchJobBackupsResult$;exports.SearchJobState = SearchJobState;exports.SearchJobSummary$ = SearchJobSummary$;exports.SearchScope$ = SearchScope$;exports.SearchScopeSummary$ = SearchScopeSummary$;exports.ServiceQuotaExceededException = ServiceQuotaExceededException;exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;exports.StartSearchJob$ = StartSearchJob$;exports.StartSearchJobCommand = StartSearchJobCommand;exports.StartSearchJobInput$ = StartSearchJobInput$;exports.StartSearchJobOutput$ = StartSearchJobOutput$;exports.StartSearchResultExportJob$ = StartSearchResultExportJob$;exports.StartSearchResultExportJobCommand = StartSearchResultExportJobCommand;exports.StartSearchResultExportJobInput$ = StartSearchResultExportJobInput$;exports.StartSearchResultExportJobOutput$ = StartSearchResultExportJobOutput$;exports.StopSearchJob$ = StopSearchJob$;exports.StopSearchJobCommand = StopSearchJobCommand;exports.StopSearchJobInput$ = StopSearchJobInput$;exports.StopSearchJobOutput$ = StopSearchJobOutput$;exports.StringCondition$ = StringCondition$;exports.StringConditionOperator = StringConditionOperator;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceRequest$ = TagResourceRequest$;exports.TagResourceResponse$ = TagResourceResponse$;exports.ThrottlingException = ThrottlingException;exports.ThrottlingException$ = ThrottlingException$;exports.TimeCondition$ = TimeCondition$;exports.TimeConditionOperator = TimeConditionOperator;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceRequest$ = UntagResourceRequest$;exports.UntagResourceResponse$ = UntagResourceResponse$;exports.ValidationException = ValidationException;exports.ValidationException$ = ValidationException$;exports.errorTypeRegistries = errorTypeRegistries;exports.paginateListSearchJobBackups = paginateListSearchJobBackups;exports.paginateListSearchJobResults = paginateListSearchJobResults;exports.paginateListSearchJobs = paginateListSearchJobs;exports.paginateListSearchResultExportJobs = paginateListSearchResultExportJobs;