File Explorer

/proc/self/task/7/root/var/runtime/node_modules/@aws-sdk/client-dlm/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.js35.2 KB · 1010 lines
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");const { Command: $Command } = require("@smithy/core/client");exports.$Command = $Command;exports.__Client = Client;const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");const { defaultProvider } = require("@aws-sdk/credential-provider-node");const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultDLMHttpAuthSchemeParametersProvider = 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: "dlm",            region: authParameters.region,        },        propertiesExtractor: (config, context) => ({            signingProperties: {                config,                context,            },        }),    };}const defaultDLMHttpAuthSchemeProvider = (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: "dlm",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; var version = "3.1104.0";var packageInfo = {	version: version}; const k = "ref";const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];const _data = {    conditions: [        [c, [g]],        [c, j],        ["aws.partition", j, d],        [e, [{ [k]: "UseFIPS" }, b]],        [e, [{ [k]: "UseDualStack" }, b]],        [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],        [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],        ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]    ],    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://dlm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],        ["https://dlm.{Region}.amazonaws.com", i],        ["https://dlm-fips.{Region}.{PartitionResult#dnsSuffix}", i],        [a, "FIPS is enabled but this partition does not support FIPS"],        ["https://dlm.{Region}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "DualStack is enabled but this partition does not support DualStack"],        ["https://dlm.{Region}.{PartitionResult#dnsSuffix}", i],        [a, "Invalid Configuration: Missing Region"]    ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([    -1, 1, -1,    0, 13, 3,    1, 4, r + 12,    2, 5, r + 12,    3, 8, 6,    4, 7, r + 11,    5, r + 9, r + 10,    4, 11, 9,    6, 10, r + 8,    7, r + 6, r + 7,    5, 12, r + 5,    6, r + 4, r + 5,    3, r + 1, 14,    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 DLMServiceException extends ServiceException {    constructor(options) {        super(options);        Object.setPrototypeOf(this, DLMServiceException.prototype);    }} class InternalServerException extends DLMServiceException {    name = "InternalServerException";    $fault = "server";    Message;    Code;    constructor(opts) {        super({            name: "InternalServerException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerException.prototype);        this.Message = opts.Message;        this.Code = opts.Code;    }}class InvalidRequestException extends DLMServiceException {    name = "InvalidRequestException";    $fault = "client";    Message;    Code;    RequiredParameters;    MutuallyExclusiveParameters;    constructor(opts) {        super({            name: "InvalidRequestException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, InvalidRequestException.prototype);        this.Message = opts.Message;        this.Code = opts.Code;        this.RequiredParameters = opts.RequiredParameters;        this.MutuallyExclusiveParameters = opts.MutuallyExclusiveParameters;    }}class LimitExceededException extends DLMServiceException {    name = "LimitExceededException";    $fault = "client";    Message;    Code;    ResourceType;    constructor(opts) {        super({            name: "LimitExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, LimitExceededException.prototype);        this.Message = opts.Message;        this.Code = opts.Code;        this.ResourceType = opts.ResourceType;    }}class ResourceNotFoundException extends DLMServiceException {    name = "ResourceNotFoundException";    $fault = "client";    Message;    Code;    ResourceType;    ResourceIds;    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);        this.Message = opts.Message;        this.Code = opts.Code;        this.ResourceType = opts.ResourceType;        this.ResourceIds = opts.ResourceIds;    }} const _A = "Action";const _AL = "ActionList";const _AR = "ArchiveRule";const _ARR = "ArchiveRetainRule";const _AZ = "AvailabilityZones";const _AZI = "AvailabilityZoneIds";const _Ac = "Actions";const _C = "Code";const _CA = "CmkArn";const _CE = "CronExpression";const _CI = "CreateInterval";const _CLP = "CreateLifecyclePolicy";const _CLPR = "CreateLifecyclePolicyRequest";const _CLPRr = "CreateLifecyclePolicyResponse";const _CR = "CreateRule";const _CRC = "CrossRegionCopy";const _CRCA = "CrossRegionCopyAction";const _CRCAL = "CrossRegionCopyActionList";const _CRCDR = "CrossRegionCopyDeprecateRule";const _CRCR = "CrossRegionCopyRule";const _CRCRR = "CrossRegionCopyRetainRule";const _CRCRr = "CrossRegionCopyRules";const _CRCT = "CrossRegionCopyTargets";const _CRCTL = "CrossRegionCopyTargetList";const _CRCTr = "CrossRegionCopyTarget";const _CT = "CopyTags";const _Co = "Count";const _D = "Description";const _DC = "DateCreated";const _DLP = "DeleteLifecyclePolicy";const _DLPR = "DeleteLifecyclePolicyRequest";const _DLPRe = "DeleteLifecyclePolicyResponse";const _DM = "DateModified";const _DP = "DefaultPolicy";const _DPT = "DefaultPolicyType";const _DR = "DeprecateRule";const _DRe = "DescriptionRegex";const _E = "Exclusions";const _EBV = "ExcludeBootVolumes";const _EBVx = "ExcludeBootVolume";const _EC = "EncryptionConfiguration";const _ED = "ExtendDeletion";const _EDVT = "ExcludeDataVolumeTags";const _EDVTL = "ExcludeDataVolumeTagList";const _EH = "ExecutionHandler";const _EHS = "ExecutionHandlerService";const _EOOSF = "ExecuteOperationOnScriptFailure";const _EP = "EventParameters";const _ERA = "ExecutionRoleArn";const _ES = "EventSource";const _ET = "EventType";const _ETL = "ExcludeTagsList";const _ETx = "ExcludeTags";const _ETxe = "ExecutionTimeout";const _EVT = "ExcludeVolumeTypes";const _En = "Encrypted";const _FRR = "FastRestoreRule";const _GLP = "GetLifecyclePolicies";const _GLPR = "GetLifecyclePoliciesRequest";const _GLPRe = "GetLifecyclePoliciesResponse";const _GLPRet = "GetLifecyclePolicyRequest";const _GLPReti = "GetLifecyclePolicyResponse";const _GLPe = "GetLifecyclePolicy";const _I = "Interval";const _IRE = "InvalidRequestException";const _ISE = "InternalServerException";const _IU = "IntervalUnit";const _K = "Key";const _L = "Location";const _LEE = "LimitExceededException";const _LP = "LifecyclePolicy";const _LPS = "LifecyclePolicySummary";const _LPSL = "LifecyclePolicySummaryList";const _LTFR = "ListTagsForResource";const _LTFRR = "ListTagsForResourceRequest";const _LTFRRi = "ListTagsForResourceResponse";const _M = "Message";const _MEP = "MutuallyExclusiveParameters";const _MRC = "MaximumRetryCount";const _N = "Name";const _NR = "NoReboot";const _P = "Parameters";const _PA = "PolicyArn";const _PD = "PolicyDetails";const _PI = "PolicyId";const _PIo = "PolicyIds";const _PL = "PolicyLanguage";const _PT = "PolicyType";const _Po = "Policies";const _Pol = "Policy";const _RA = "ResourceArn";const _RAT = "RetentionArchiveTier";const _RI = "ResourceIds";const _RIe = "RetainInterval";const _RL = "ResourceLocations";const _RNFE = "ResourceNotFoundException";const _RP = "RequiredParameters";const _RR = "RetainRule";const _RT = "ResourceType";const _RTe = "ResourceTypes";const _S = "State";const _SL = "ScheduleList";const _SLc = "ScriptsList";const _SM = "StatusMessage";const _SO = "SnapshotOwner";const _SR = "ShareRules";const _SRh = "ShareRule";const _Sc = "Scripts";const _Sch = "Schedules";const _Sche = "Schedule";const _Scr = "Script";const _St = "Stages";const _T = "Tags";const _TA = "TargetAccounts";const _TK = "TagKeys";const _TR = "TargetRegion";const _TRR = "TagResourceRequest";const _TRRa = "TagResourceResponse";const _TRa = "TagResource";const _TT = "TargetTags";const _TTA = "TagsToAdd";const _TTAL = "TagsToAddList";const _TTL = "TargetTagList";const _Ta = "Target";const _Tag = "Tag";const _Ti = "Times";const _Ty = "Type";const _UI = "UnshareInterval";const _UIU = "UnshareIntervalUnit";const _ULP = "UpdateLifecyclePolicy";const _ULPR = "UpdateLifecyclePolicyRequest";const _ULPRp = "UpdateLifecyclePolicyResponse";const _UR = "UntagResource";const _URR = "UntagResourceRequest";const _URRn = "UntagResourceResponse";const _V = "Value";const _VT = "VariableTags";const _VTL = "VariableTagsList";const _c = "client";const _dPT = "defaultPolicyType";const _e = "error";const _h = "http";const _hE = "httpError";const _hQ = "httpQuery";const _pI = "policyIds";const _rT = "resourceTypes";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dlm";const _se = "server";const _st = "state";const _tK = "tagKeys";const _tT = "targetTags";const _tTA = "tagsToAdd";const n0 = "com.amazonaws.dlm";const _s_registry = TypeRegistry.for(_s);var DLMServiceException$ = [-3, _s, "DLMServiceException", 0, [], []];_s_registry.registerError(DLMServiceException$, DLMServiceException);const n0_registry = TypeRegistry.for(n0);var InternalServerException$ = [-3, n0, _ISE,    { [_e]: _se, [_hE]: 500 },    [_M, _C],    [0, 0]];n0_registry.registerError(InternalServerException$, InternalServerException);var InvalidRequestException$ = [-3, n0, _IRE,    { [_e]: _c, [_hE]: 400 },    [_M, _C, _RP, _MEP],    [0, 0, 64 | 0, 64 | 0]];n0_registry.registerError(InvalidRequestException$, InvalidRequestException);var LimitExceededException$ = [-3, n0, _LEE,    { [_e]: _c, [_hE]: 429 },    [_M, _C, _RT],    [0, 0, 0]];n0_registry.registerError(LimitExceededException$, LimitExceededException);var ResourceNotFoundException$ = [-3, n0, _RNFE,    { [_e]: _c, [_hE]: 404 },    [_M, _C, _RT, _RI],    [0, 0, 0, 64 | 0]];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);const errorTypeRegistries = [    _s_registry,    n0_registry,];var Action$ = [3, n0, _A,    0,    [_N, _CRC],    [0, () => CrossRegionCopyActionList], 2];var ArchiveRetainRule$ = [3, n0, _ARR,    0,    [_RAT],    [() => RetentionArchiveTier$], 1];var ArchiveRule$ = [3, n0, _AR,    0,    [_RR],    [() => ArchiveRetainRule$], 1];var CreateLifecyclePolicyRequest$ = [3, n0, _CLPR,    0,    [_ERA, _D, _S, _PD, _T, _DP, _CI, _RIe, _CT, _ED, _CRCT, _E],    [0, 0, 0, () => PolicyDetails$, 128 | 0, 0, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions$], 3];var CreateLifecyclePolicyResponse$ = [3, n0, _CLPRr,    0,    [_PI],    [0]];var CreateRule$ = [3, n0, _CR,    0,    [_L, _I, _IU, _Ti, _CE, _Sc],    [0, 1, 0, 64 | 0, 0, () => ScriptsList]];var CrossRegionCopyAction$ = [3, n0, _CRCA,    0,    [_Ta, _EC, _RR],    [0, () => EncryptionConfiguration$, () => CrossRegionCopyRetainRule$], 2];var CrossRegionCopyDeprecateRule$ = [3, n0, _CRCDR,    0,    [_I, _IU],    [1, 0]];var CrossRegionCopyRetainRule$ = [3, n0, _CRCRR,    0,    [_I, _IU],    [1, 0]];var CrossRegionCopyRule$ = [3, n0, _CRCR,    0,    [_En, _TR, _Ta, _CA, _CT, _RR, _DR],    [2, 0, 0, 0, 2, () => CrossRegionCopyRetainRule$, () => CrossRegionCopyDeprecateRule$], 1];var CrossRegionCopyTarget$ = [3, n0, _CRCTr,    0,    [_TR],    [0]];var DeleteLifecyclePolicyRequest$ = [3, n0, _DLPR,    0,    [_PI],    [[0, 1]], 1];var DeleteLifecyclePolicyResponse$ = [3, n0, _DLPRe,    0,    [],    []];var DeprecateRule$ = [3, n0, _DR,    0,    [_Co, _I, _IU],    [1, 1, 0]];var EncryptionConfiguration$ = [3, n0, _EC,    0,    [_En, _CA],    [2, 0], 1];var EventParameters$ = [3, n0, _EP,    0,    [_ET, _SO, _DRe],    [0, 64 | 0, 0], 3];var EventSource$ = [3, n0, _ES,    0,    [_Ty, _P],    [0, () => EventParameters$], 1];var Exclusions$ = [3, n0, _E,    0,    [_EBV, _EVT, _ETx],    [2, 64 | 0, () => ExcludeTagsList]];var FastRestoreRule$ = [3, n0, _FRR,    0,    [_Co, _I, _IU, _AZ, _AZI],    [1, 1, 0, 64 | 0, 64 | 0]];var GetLifecyclePoliciesRequest$ = [3, n0, _GLPR,    0,    [_PIo, _S, _RTe, _TT, _TTA, _DPT],    [[64 | 0, { [_hQ]: _pI }], [0, { [_hQ]: _st }], [64 | 0, { [_hQ]: _rT }], [64 | 0, { [_hQ]: _tT }], [64 | 0, { [_hQ]: _tTA }], [0, { [_hQ]: _dPT }]]];var GetLifecyclePoliciesResponse$ = [3, n0, _GLPRe,    0,    [_Po],    [() => LifecyclePolicySummaryList]];var GetLifecyclePolicyRequest$ = [3, n0, _GLPRet,    0,    [_PI],    [[0, 1]], 1];var GetLifecyclePolicyResponse$ = [3, n0, _GLPReti,    0,    [_Pol],    [() => LifecyclePolicy$]];var LifecyclePolicy$ = [3, n0, _LP,    0,    [_PI, _D, _S, _SM, _ERA, _DC, _DM, _PD, _T, _PA, _DP],    [0, 0, 0, 0, 0, 5, 5, () => PolicyDetails$, 128 | 0, 0, 2]];var LifecyclePolicySummary$ = [3, n0, _LPS,    0,    [_PI, _D, _S, _T, _PT, _DP],    [0, 0, 0, 128 | 0, 0, 2]];var ListTagsForResourceRequest$ = [3, n0, _LTFRR,    0,    [_RA],    [[0, 1]], 1];var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,    0,    [_T],    [128 | 0]];var _Parameters$ = [3, n0, _P,    0,    [_EBVx, _NR, _EDVT],    [2, 2, () => ExcludeDataVolumeTagList]];var PolicyDetails$ = [3, n0, _PD,    0,    [_PT, _RTe, _RL, _TT, _Sch, _P, _ES, _Ac, _PL, _RT, _CI, _RIe, _CT, _CRCT, _ED, _E],    [0, 64 | 0, 64 | 0, () => TargetTagList, () => ScheduleList, () => _Parameters$, () => EventSource$, () => ActionList, 0, 0, 1, 1, 2, () => CrossRegionCopyTargetList, 2, () => Exclusions$]];var RetainRule$ = [3, n0, _RR,    0,    [_Co, _I, _IU],    [1, 1, 0]];var RetentionArchiveTier$ = [3, n0, _RAT,    0,    [_Co, _I, _IU],    [1, 1, 0]];var Schedule$ = [3, n0, _Sche,    0,    [_N, _CT, _TTA, _VT, _CR, _RR, _FRR, _CRCRr, _SR, _DR, _AR],    [0, 2, () => TagsToAddList, () => VariableTagsList, () => CreateRule$, () => RetainRule$, () => FastRestoreRule$, () => CrossRegionCopyRules, () => ShareRules, () => DeprecateRule$, () => ArchiveRule$]];var Script$ = [3, n0, _Scr,    0,    [_EH, _St, _EHS, _EOOSF, _ETxe, _MRC],    [0, 64 | 0, 0, 2, 1, 1], 1];var ShareRule$ = [3, n0, _SRh,    0,    [_TA, _UI, _UIU],    [64 | 0, 1, 0], 1];var Tag$ = [3, n0, _Tag,    0,    [_K, _V],    [0, 0], 2];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 UpdateLifecyclePolicyRequest$ = [3, n0, _ULPR,    0,    [_PI, _ERA, _S, _D, _PD, _CI, _RIe, _CT, _ED, _CRCT, _E],    [[0, 1], 0, 0, 0, () => PolicyDetails$, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions$], 1];var UpdateLifecyclePolicyResponse$ = [3, n0, _ULPRp,    0,    [],    []];var ActionList = [1, n0, _AL,    0, () => Action$];var CrossRegionCopyActionList = [1, n0, _CRCAL,    0, () => CrossRegionCopyAction$];var CrossRegionCopyRules = [1, n0, _CRCRr,    0, () => CrossRegionCopyRule$];var CrossRegionCopyTargetList = [1, n0, _CRCTL,    0, () => CrossRegionCopyTarget$];var ExcludeDataVolumeTagList = [1, n0, _EDVTL,    0, () => Tag$];var ExcludeTagsList = [1, n0, _ETL,    0, () => Tag$];var LifecyclePolicySummaryList = [1, n0, _LPSL,    0, () => LifecyclePolicySummary$];var ScheduleList = [1, n0, _SL,    0, () => Schedule$];var ScriptsList = [1, n0, _SLc,    0, () => Script$];var ShareRules = [1, n0, _SR,    0, () => ShareRule$];var TagsToAddList = [1, n0, _TTAL,    0, () => Tag$];var TargetTagList = [1, n0, _TTL,    0, () => Tag$];var VariableTagsList = [1, n0, _VTL,    0, () => Tag$];var CreateLifecyclePolicy$ = [9, n0, _CLP,    { [_h]: ["POST", "/policies", 200] }, () => CreateLifecyclePolicyRequest$, () => CreateLifecyclePolicyResponse$];var DeleteLifecyclePolicy$ = [9, n0, _DLP,    { [_h]: ["DELETE", "/policies/{PolicyId}", 200] }, () => DeleteLifecyclePolicyRequest$, () => DeleteLifecyclePolicyResponse$];var GetLifecyclePolicies$ = [9, n0, _GLP,    { [_h]: ["GET", "/policies", 200] }, () => GetLifecyclePoliciesRequest$, () => GetLifecyclePoliciesResponse$];var GetLifecyclePolicy$ = [9, n0, _GLPe,    { [_h]: ["GET", "/policies/{PolicyId}", 200] }, () => GetLifecyclePolicyRequest$, () => GetLifecyclePolicyResponse$];var ListTagsForResource$ = [9, n0, _LTFR,    { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$];var TagResource$ = [9, n0, _TRa,    { [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$];var UntagResource$ = [9, n0, _UR,    { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$];var UpdateLifecyclePolicy$ = [9, n0, _ULP,    { [_h]: ["PATCH", "/policies/{PolicyId}", 200] }, () => UpdateLifecyclePolicyRequest$, () => UpdateLifecyclePolicyResponse$]; const getRuntimeConfig$1 = (config) => {    return {        apiVersion: "2018-01-12",        base64Decoder: config?.base64Decoder ?? fromBase64,        base64Encoder: config?.base64Encoder ?? toBase64,        disableHostPrefix: config?.disableHostPrefix ?? false,        endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,        extensions: config?.extensions ?? [],        httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultDLMHttpAuthSchemeProvider,        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.dlm",            errorTypeRegistries,            version: "2018-01-12",            serviceTarget: "dlm_20180112",        },        serviceId: config?.serviceId ?? "DLM",        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 DLMClient 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: defaultDLMHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} const command = makeBuilder(commonParams, "dlm_20180112", "DLMClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class CreateLifecyclePolicyCommand extends command(_ep0, _mw0, "CreateLifecyclePolicy", CreateLifecyclePolicy$) {} class DeleteLifecyclePolicyCommand extends command(_ep0, _mw0, "DeleteLifecyclePolicy", DeleteLifecyclePolicy$) {} class GetLifecyclePoliciesCommand extends command(_ep0, _mw0, "GetLifecyclePolicies", GetLifecyclePolicies$) {} class GetLifecyclePolicyCommand extends command(_ep0, _mw0, "GetLifecyclePolicy", GetLifecyclePolicy$) {} class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} class UpdateLifecyclePolicyCommand extends command(_ep0, _mw0, "UpdateLifecyclePolicy", UpdateLifecyclePolicy$) {} const commands = {    CreateLifecyclePolicyCommand,    DeleteLifecyclePolicyCommand,    GetLifecyclePoliciesCommand,    GetLifecyclePolicyCommand,    ListTagsForResourceCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateLifecyclePolicyCommand,};class DLM extends DLMClient {}createAggregatedClient(commands, DLM); const RetentionIntervalUnitValues = {    DAYS: "DAYS",    MONTHS: "MONTHS",    WEEKS: "WEEKS",    YEARS: "YEARS",};const DefaultPolicyTypeValues = {    INSTANCE: "INSTANCE",    VOLUME: "VOLUME",};const EventTypeValues = {    SHARE_SNAPSHOT: "shareSnapshot",};const EventSourceValues = {    MANAGED_CWE: "MANAGED_CWE",};const PolicyLanguageValues = {    SIMPLIFIED: "SIMPLIFIED",    STANDARD: "STANDARD",};const PolicyTypeValues = {    EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT",    EVENT_BASED_POLICY: "EVENT_BASED_POLICY",    IMAGE_MANAGEMENT: "IMAGE_MANAGEMENT",};const ResourceLocationValues = {    CLOUD: "CLOUD",    LOCAL_ZONE: "LOCAL_ZONE",    OUTPOST: "OUTPOST",};const ResourceTypeValues = {    INSTANCE: "INSTANCE",    VOLUME: "VOLUME",};const IntervalUnitValues = {    HOURS: "HOURS",};const LocationValues = {    CLOUD: "CLOUD",    LOCAL_ZONE: "LOCAL_ZONE",    OUTPOST_LOCAL: "OUTPOST_LOCAL",};const ExecutionHandlerServiceValues = {    AWS_SYSTEMS_MANAGER: "AWS_SYSTEMS_MANAGER",};const StageValues = {    POST: "POST",    PRE: "PRE",};const SettablePolicyStateValues = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",};const DefaultPoliciesTypeValues = {    ALL: "ALL",    INSTANCE: "INSTANCE",    VOLUME: "VOLUME",};const GettablePolicyStateValues = {    DISABLED: "DISABLED",    ENABLED: "ENABLED",    ERROR: "ERROR",}; exports.Action$ = Action$;exports.ArchiveRetainRule$ = ArchiveRetainRule$;exports.ArchiveRule$ = ArchiveRule$;exports.CreateLifecyclePolicy$ = CreateLifecyclePolicy$;exports.CreateLifecyclePolicyCommand = CreateLifecyclePolicyCommand;exports.CreateLifecyclePolicyRequest$ = CreateLifecyclePolicyRequest$;exports.CreateLifecyclePolicyResponse$ = CreateLifecyclePolicyResponse$;exports.CreateRule$ = CreateRule$;exports.CrossRegionCopyAction$ = CrossRegionCopyAction$;exports.CrossRegionCopyDeprecateRule$ = CrossRegionCopyDeprecateRule$;exports.CrossRegionCopyRetainRule$ = CrossRegionCopyRetainRule$;exports.CrossRegionCopyRule$ = CrossRegionCopyRule$;exports.CrossRegionCopyTarget$ = CrossRegionCopyTarget$;exports.DLM = DLM;exports.DLMClient = DLMClient;exports.DLMServiceException = DLMServiceException;exports.DLMServiceException$ = DLMServiceException$;exports.DefaultPoliciesTypeValues = DefaultPoliciesTypeValues;exports.DefaultPolicyTypeValues = DefaultPolicyTypeValues;exports.DeleteLifecyclePolicy$ = DeleteLifecyclePolicy$;exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;exports.DeleteLifecyclePolicyRequest$ = DeleteLifecyclePolicyRequest$;exports.DeleteLifecyclePolicyResponse$ = DeleteLifecyclePolicyResponse$;exports.DeprecateRule$ = DeprecateRule$;exports.EncryptionConfiguration$ = EncryptionConfiguration$;exports.EventParameters$ = EventParameters$;exports.EventSource$ = EventSource$;exports.EventSourceValues = EventSourceValues;exports.EventTypeValues = EventTypeValues;exports.Exclusions$ = Exclusions$;exports.ExecutionHandlerServiceValues = ExecutionHandlerServiceValues;exports.FastRestoreRule$ = FastRestoreRule$;exports.GetLifecyclePolicies$ = GetLifecyclePolicies$;exports.GetLifecyclePoliciesCommand = GetLifecyclePoliciesCommand;exports.GetLifecyclePoliciesRequest$ = GetLifecyclePoliciesRequest$;exports.GetLifecyclePoliciesResponse$ = GetLifecyclePoliciesResponse$;exports.GetLifecyclePolicy$ = GetLifecyclePolicy$;exports.GetLifecyclePolicyCommand = GetLifecyclePolicyCommand;exports.GetLifecyclePolicyRequest$ = GetLifecyclePolicyRequest$;exports.GetLifecyclePolicyResponse$ = GetLifecyclePolicyResponse$;exports.GettablePolicyStateValues = GettablePolicyStateValues;exports.InternalServerException = InternalServerException;exports.InternalServerException$ = InternalServerException$;exports.IntervalUnitValues = IntervalUnitValues;exports.InvalidRequestException = InvalidRequestException;exports.InvalidRequestException$ = InvalidRequestException$;exports.LifecyclePolicy$ = LifecyclePolicy$;exports.LifecyclePolicySummary$ = LifecyclePolicySummary$;exports.LimitExceededException = LimitExceededException;exports.LimitExceededException$ = LimitExceededException$;exports.ListTagsForResource$ = ListTagsForResource$;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;exports.LocationValues = LocationValues;exports.PolicyDetails$ = PolicyDetails$;exports.PolicyLanguageValues = PolicyLanguageValues;exports.PolicyTypeValues = PolicyTypeValues;exports.ResourceLocationValues = ResourceLocationValues;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.ResourceTypeValues = ResourceTypeValues;exports.RetainRule$ = RetainRule$;exports.RetentionArchiveTier$ = RetentionArchiveTier$;exports.RetentionIntervalUnitValues = RetentionIntervalUnitValues;exports.Schedule$ = Schedule$;exports.Script$ = Script$;exports.SettablePolicyStateValues = SettablePolicyStateValues;exports.ShareRule$ = ShareRule$;exports.StageValues = StageValues;exports.Tag$ = Tag$;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceRequest$ = TagResourceRequest$;exports.TagResourceResponse$ = TagResourceResponse$;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceRequest$ = UntagResourceRequest$;exports.UntagResourceResponse$ = UntagResourceResponse$;exports.UpdateLifecyclePolicy$ = UpdateLifecyclePolicy$;exports.UpdateLifecyclePolicyCommand = UpdateLifecyclePolicyCommand;exports.UpdateLifecyclePolicyRequest$ = UpdateLifecyclePolicyRequest$;exports.UpdateLifecyclePolicyResponse$ = UpdateLifecyclePolicyResponse$;exports._Parameters$ = _Parameters$;exports.errorTypeRegistries = errorTypeRegistries;