UNPKG

failure-lambda

Version:

Failure injection for AWS Lambda - chaos engineering made simple

2,008 lines (1,994 loc) 91.9 kB
#!/usr/bin/env node import { awsEndpointFunctions, defaultProvider } from "./chunk-5O7KUBNU.js"; import "./chunk-DLNZVS3G.js"; import { createAggregatedClient } from "./chunk-V4BSKZG7.js"; import { AwsRestJsonProtocol } from "./chunk-ZJL5KTIU.js"; import { AwsSdkSigV4Signer, Client, Command, DEFAULT_RETRY_MODE, DefaultIdentityProviderConfig, EndpointCache, Hash, NODE_APP_ID_CONFIG_OPTIONS, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NoOpLogger, ServiceException, TypeRegistry, calculateBodyLength, createDefaultUserAgentProvider, createPaginator, customEndpointFunctions, emitWarningIfUnsupportedVersion, emitWarningIfUnsupportedVersion2, getAwsRegionExtensionConfiguration, getContentLengthPlugin, getDefaultExtensionConfiguration, getEndpointPlugin, getHostHeaderPlugin, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpHandlerExtensionConfiguration, getHttpSigningPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getRetryPlugin, getSchemaSerdePlugin, getSmithyContext, getUserAgentPlugin, loadConfigsForDefaultMode, normalizeProvider, resolveAwsRegionExtensionConfiguration, resolveAwsSdkSigV4Config, resolveDefaultRuntimeConfig, resolveDefaultsModeConfig, resolveEndpoint, resolveEndpointConfig, resolveHostHeaderConfig, resolveHttpHandlerRuntimeConfig, resolveRegionConfig, resolveRetryConfig, resolveUserAgentConfig } from "./chunk-762XZWE7.js"; import { loadConfig, parseUrl } from "./chunk-2345QE66.js"; import "./chunk-LILC4PLL.js"; import "./chunk-52D4AVIU.js"; import "./chunk-VSWURCYJ.js"; import { NodeHttpHandler, fromBase64, streamCollector, toBase64 } from "./chunk-W3M6RT2M.js"; import "./chunk-XDZ73E2B.js"; import { fromUtf8, toUtf8 } from "./chunk-VACN7GDP.js"; import "./chunk-S6KKH4HA.js"; import "./chunk-M4AFYEP7.js"; import "./chunk-UT3JLF3M.js"; // node_modules/@aws-sdk/client-appconfig/dist-es/auth/httpAuthSchemeProvider.js var defaultAppConfigHttpAuthSchemeParametersProvider = 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: "appconfig", region: authParameters.region }, propertiesExtractor: (config, context) => ({ signingProperties: { config, context } }) }; } var defaultAppConfigHttpAuthSchemeProvider = (authParameters) => { const options = []; switch (authParameters.operation) { default: { options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); } } return options; }; var resolveHttpAuthSchemeConfig = (config) => { const config_0 = resolveAwsSdkSigV4Config(config); return Object.assign(config_0, { authSchemePreference: normalizeProvider(config.authSchemePreference ?? []) }); }; // node_modules/@aws-sdk/client-appconfig/dist-es/endpoint/EndpointParameters.js var resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "appconfig" }); }; var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } }; // node_modules/@aws-sdk/client-appconfig/package.json var package_default = { name: "@aws-sdk/client-appconfig", description: "AWS SDK for JavaScript Appconfig Client for Node.js, Browser and React Native", version: "3.995.0", scripts: { build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", "build:cjs": "node ../../scripts/compilation/inline client-appconfig", "build:es": "tsc -p tsconfig.es.json", "build:include:deps": 'yarn g:turbo run build -F="$npm_package_name"', "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", clean: "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", "extract:docs": "api-extractor run --local", "generate:client": "node ../../scripts/generate-clients/single-service --solo appconfig", "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs" }, main: "./dist-cjs/index.js", types: "./dist-types/index.d.ts", module: "./dist-es/index.js", sideEffects: false, dependencies: { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.973.11", "@aws-sdk/credential-provider-node": "^3.972.10", "@aws-sdk/middleware-host-header": "^3.972.3", "@aws-sdk/middleware-logger": "^3.972.3", "@aws-sdk/middleware-recursion-detection": "^3.972.3", "@aws-sdk/middleware-user-agent": "^3.972.11", "@aws-sdk/region-config-resolver": "^3.972.3", "@aws-sdk/types": "^3.973.1", "@aws-sdk/util-endpoints": "3.995.0", "@aws-sdk/util-user-agent-browser": "^3.972.3", "@aws-sdk/util-user-agent-node": "^3.972.10", "@smithy/config-resolver": "^4.4.6", "@smithy/core": "^3.23.2", "@smithy/fetch-http-handler": "^5.3.9", "@smithy/hash-node": "^4.2.8", "@smithy/invalid-dependency": "^4.2.8", "@smithy/middleware-content-length": "^4.2.8", "@smithy/middleware-endpoint": "^4.4.16", "@smithy/middleware-retry": "^4.4.33", "@smithy/middleware-serde": "^4.2.9", "@smithy/middleware-stack": "^4.2.8", "@smithy/node-config-provider": "^4.3.8", "@smithy/node-http-handler": "^4.4.10", "@smithy/protocol-http": "^5.3.8", "@smithy/smithy-client": "^4.11.5", "@smithy/types": "^4.12.0", "@smithy/url-parser": "^4.2.8", "@smithy/util-base64": "^4.3.0", "@smithy/util-body-length-browser": "^4.2.0", "@smithy/util-body-length-node": "^4.2.1", "@smithy/util-defaults-mode-browser": "^4.3.32", "@smithy/util-defaults-mode-node": "^4.2.35", "@smithy/util-endpoints": "^3.2.8", "@smithy/util-middleware": "^4.2.8", "@smithy/util-retry": "^4.2.8", "@smithy/util-stream": "^4.5.12", "@smithy/util-utf8": "^4.2.0", "@smithy/util-waiter": "^4.2.8", tslib: "^2.6.2" }, devDependencies: { "@tsconfig/node20": "20.1.8", "@types/node": "^20.14.8", concurrently: "7.0.0", "downlevel-dts": "0.10.1", premove: "4.0.0", typescript: "~5.8.3" }, engines: { node: ">=20.0.0" }, typesVersions: { "<4.0": { "dist-types/*": [ "dist-types/ts3.4/*" ] } }, files: [ "dist-*/**" ], author: { name: "AWS SDK for JavaScript Team", url: "https://aws.amazon.com/javascript/" }, license: "Apache-2.0", browser: { "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" }, "react-native": { "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" }, homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-appconfig", repository: { type: "git", url: "https://github.com/aws/aws-sdk-js-v3.git", directory: "clients/client-appconfig" } }; // node_modules/@aws-sdk/client-appconfig/dist-es/endpoint/ruleset.js var u = "required"; var v = "fn"; var w = "argv"; var x = "ref"; var a = true; var b = "isSet"; var c = "booleanEquals"; var d = "error"; var e = "endpoint"; var f = "tree"; var g = "PartitionResult"; var h = "stringEquals"; var i = { [u]: false, "type": "string" }; var j = { [u]: true, "default": false, "type": "boolean" }; var k = { [x]: "Endpoint" }; var l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }; var m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }; var n = {}; var o = { [x]: "Region" }; var p = { [v]: "getAttr", [w]: [{ [x]: g }, "supportsFIPS"] }; var q = { [v]: c, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: g }, "supportsDualStack"] }] }; var r = [l]; var s = [m]; var t = [o]; var _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, p] }, q], rules: [{ endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [p, a] }], rules: [{ conditions: [{ [v]: h, [w]: [o, "us-gov-east-1"] }], endpoint: { url: "https://appconfig.us-gov-east-1.amazonaws.com", properties: n, headers: n }, type: e }, { conditions: [{ [v]: h, [w]: [o, "us-gov-west-1"] }], endpoint: { url: "https://appconfig.us-gov-west-1.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://appconfig-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://appconfig.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] }; var ruleSet = _data; // node_modules/@aws-sdk/client-appconfig/dist-es/endpoint/endpointResolver.js var cache = new EndpointCache({ size: 50, params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"] }); var defaultEndpointResolver = (endpointParams, context = {}) => { return cache.get(endpointParams, () => resolveEndpoint(ruleSet, { endpointParams, logger: context.logger })); }; customEndpointFunctions.aws = awsEndpointFunctions; // node_modules/@aws-sdk/client-appconfig/dist-es/models/AppConfigServiceException.js var AppConfigServiceException = class _AppConfigServiceException extends ServiceException { constructor(options) { super(options); Object.setPrototypeOf(this, _AppConfigServiceException.prototype); } }; // node_modules/@aws-sdk/client-appconfig/dist-es/models/errors.js var BadRequestException = class _BadRequestException extends AppConfigServiceException { name = "BadRequestException"; $fault = "client"; Message; Reason; Details; constructor(opts) { super({ name: "BadRequestException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _BadRequestException.prototype); this.Message = opts.Message; this.Reason = opts.Reason; this.Details = opts.Details; } }; var InternalServerException = class _InternalServerException extends AppConfigServiceException { name = "InternalServerException"; $fault = "server"; Message; constructor(opts) { super({ name: "InternalServerException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalServerException.prototype); this.Message = opts.Message; } }; var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends AppConfigServiceException { name = "ServiceQuotaExceededException"; $fault = "client"; Message; constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); this.Message = opts.Message; } }; var ResourceNotFoundException = class _ResourceNotFoundException extends AppConfigServiceException { name = "ResourceNotFoundException"; $fault = "client"; Message; ResourceName; constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); this.Message = opts.Message; this.ResourceName = opts.ResourceName; } }; var ConflictException = class _ConflictException extends AppConfigServiceException { name = "ConflictException"; $fault = "client"; Message; constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictException.prototype); this.Message = opts.Message; } }; var PayloadTooLargeException = class _PayloadTooLargeException extends AppConfigServiceException { name = "PayloadTooLargeException"; $fault = "client"; Message; Measure; Limit; Size; constructor(opts) { super({ name: "PayloadTooLargeException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _PayloadTooLargeException.prototype); this.Message = opts.Message; this.Measure = opts.Measure; this.Limit = opts.Limit; this.Size = opts.Size; } }; // node_modules/@aws-sdk/client-appconfig/dist-es/schemas/schemas_0.js var _A = "Action"; var _AA = "AlarmArn"; var _AE = "AppliedExtension"; var _AEp = "AppliedExtensions"; var _AI = "ActionInvocation"; var _AI_ = "Application-Id"; var _AIc = "ActionInvocations"; var _AIp = "ApplicationId"; var _AL = "ActionList"; var _ALp = "ApplicationList"; var _AM = "ActionsMap"; var _AN = "ActionName"; var _AR = "AllowRevert"; var _ARA = "AlarmRoleArn"; var _AR_ = "Allow-Revert"; var _AS = "AccountSettings"; var _Ac = "Actions"; var _Ap = "Application"; var _App = "Applications"; var _Ar = "Arn"; var _B = "Blob"; var _BRD = "BadRequestDetails"; var _BRE = "BadRequestException"; var _C = "Configuration"; var _CA = "CompletedAt"; var _CAR = "CreateApplicationRequest"; var _CAr = "CreateApplication"; var _CCP = "CreateConfigurationProfile"; var _CCPR = "CreateConfigurationProfileRequest"; var _CCV = "ClientConfigurationVersion"; var _CDS = "CreateDeploymentStrategy"; var _CDSR = "CreateDeploymentStrategyRequest"; var _CE = "ConflictException"; var _CEA = "CreateExtensionAssociation"; var _CEAR = "CreateExtensionAssociationRequest"; var _CER = "CreateEnvironmentRequest"; var _CERr = "CreateExtensionRequest"; var _CEr = "CreateEnvironment"; var _CEre = "CreateExtension"; var _CHCV = "CreateHostedConfigurationVersion"; var _CHCVR = "CreateHostedConfigurationVersionRequest"; var _CI = "ClientId"; var _CLU = "ConfigurationLocationUri"; var _CN = "ConfigurationName"; var _CP = "ConfigurationProfile"; var _CPI = "ConfigurationProfileId"; var _CPI_ = "Configuration-Profile-Id"; var _CPS = "ConfigurationProfileSummary"; var _CPSL = "ConfigurationProfileSummaryList"; var _CPo = "ConfigurationProfiles"; var _CT = "ContentType"; var _CT_ = "Content-Type"; var _CV = "ConfigurationVersion"; var _CV_ = "Configuration-Version"; var _Co = "Content"; var _Con = "Constraint"; var _D = "Details"; var _DA = "DeleteApplication"; var _DAR = "DeleteApplicationRequest"; var _DCP = "DeleteConfigurationProfile"; var _DCPR = "DeleteConfigurationProfileRequest"; var _DDIM = "DeploymentDurationInMinutes"; var _DDS = "DeleteDeploymentStrategy"; var _DDSR = "DeleteDeploymentStrategyRequest"; var _DE = "DeploymentEvent"; var _DEA = "DeleteExtensionAssociation"; var _DEAR = "DeleteExtensionAssociationRequest"; var _DEP = "DynamicExtensionParameters"; var _DER = "DeleteEnvironmentRequest"; var _DERe = "DeleteExtensionRequest"; var _DEe = "DeploymentEvents"; var _DEel = "DeleteEnvironment"; var _DEele = "DeleteExtension"; var _DHCV = "DeleteHostedConfigurationVersion"; var _DHCVR = "DeleteHostedConfigurationVersionRequest"; var _DL = "DeploymentList"; var _DN = "DeploymentNumber"; var _DP = "DeletionProtection"; var _DPC = "DeletionProtectionCheck"; var _DPM = "DynamicParameterMap"; var _DPS = "DeletionProtectionSettings"; var _DS = "DeploymentStrategies"; var _DSI = "DeploymentStrategyId"; var _DSL = "DeploymentStrategyList"; var _DSe = "DeploymentStrategy"; var _DSep = "DeploymentSummary"; var _De = "Description"; var _Dep = "Deployment"; var _Depl = "Deployments"; var _Dy = "Dynamic"; var _E = "Enabled"; var _EA = "ExtensionAssociation"; var _EAI = "ExtensionAssociationId"; var _EAS = "ExtensionAssociationSummary"; var _EASx = "ExtensionAssociationSummaries"; var _EAx = "ExtensionArn"; var _EAxt = "ExtensionAssociations"; var _EC = "ErrorCode"; var _EI = "ExtensionIdentifier"; var _EIn = "EnvironmentId"; var _EIx = "ExtensionId"; var _EL = "EventLog"; var _ELn = "EnvironmentList"; var _EM = "ErrorMessage"; var _ES = "ExtensionSummary"; var _ESx = "ExtensionSummaries"; var _ET = "EventType"; var _EVN = "ExtensionVersionNumber"; var _En = "Environment"; var _Env = "Environments"; var _Ex = "Extension"; var _Ext = "Extensions"; var _FBTIM = "FinalBakeTimeInMinutes"; var _GA = "GetApplication"; var _GAR = "GetApplicationRequest"; var _GAS = "GetAccountSettings"; var _GC = "GetConfiguration"; var _GCP = "GetConfigurationProfile"; var _GCPR = "GetConfigurationProfileRequest"; var _GCR = "GetConfigurationRequest"; var _GD = "GetDeployment"; var _GDR = "GetDeploymentRequest"; var _GDS = "GetDeploymentStrategy"; var _GDSR = "GetDeploymentStrategyRequest"; var _GE = "GetEnvironment"; var _GEA = "GetExtensionAssociation"; var _GEAR = "GetExtensionAssociationRequest"; var _GER = "GetEnvironmentRequest"; var _GERe = "GetExtensionRequest"; var _GEe = "GetExtension"; var _GF = "GrowthFactor"; var _GHCV = "GetHostedConfigurationVersion"; var _GHCVR = "GetHostedConfigurationVersionRequest"; var _GT = "GrowthType"; var _HCV = "HostedConfigurationVersion"; var _HCVS = "HostedConfigurationVersionSummary"; var _HCVSL = "HostedConfigurationVersionSummaryList"; var _HCVo = "HostedConfigurationVersions"; var _I = "Id"; var _IC = "InvalidConfiguration"; var _ICD = "InvalidConfigurationDetail"; var _ICDL = "InvalidConfigurationDetailList"; var _II = "InvocationId"; var _ISE = "InternalServerException"; var _It = "Items"; var _KKA = "KmsKeyArn"; var _KKI = "KmsKeyIdentifier"; var _L = "Limit"; var _LA = "ListApplications"; var _LAR = "ListApplicationsRequest"; var _LCP = "ListConfigurationProfiles"; var _LCPR = "ListConfigurationProfilesRequest"; var _LD = "ListDeployments"; var _LDR = "ListDeploymentsRequest"; var _LDS = "ListDeploymentStrategies"; var _LDSR = "ListDeploymentStrategiesRequest"; var _LE = "ListEnvironments"; var _LEA = "ListExtensionAssociations"; var _LEAR = "ListExtensionAssociationsRequest"; var _LER = "ListEnvironmentsRequest"; var _LERi = "ListExtensionsRequest"; var _LEi = "ListExtensions"; var _LHCV = "ListHostedConfigurationVersions"; var _LHCVR = "ListHostedConfigurationVersionsRequest"; var _LTFR = "ListTagsForResource"; var _LTFRR = "ListTagsForResourceRequest"; var _LU = "LocationUri"; var _LVN = "LatestVersionNumber"; var _LVN_ = "Latest-Version-Number"; var _Lo = "Location"; var _M = "Message"; var _ML = "MonitorList"; var _MR = "MaxResults"; var _Me = "Measure"; var _Mo = "Monitors"; var _Mon = "Monitor"; var _N = "Name"; var _NT = "NextToken"; var _OA = "OccurredAt"; var _P = "Parameters"; var _PC = "PercentageComplete"; var _PM = "ParameterMap"; var _PPIM = "ProtectionPeriodInMinutes"; var _PTLE = "PayloadTooLargeException"; var _Pa = "Parameter"; var _R = "Reason"; var _RA = "RoleArn"; var _RAe = "ResourceArn"; var _RI = "ResourceIdentifier"; var _RN = "ResourceName"; var _RNFE = "ResourceNotFoundException"; var _RRA = "RetrievalRoleArn"; var _RT = "ReplicateTo"; var _RTe = "ResourceTags"; var _Re = "Required"; var _S = "Size"; var _SA = "StartedAt"; var _SD = "StartDeployment"; var _SDR = "StartDeploymentRequest"; var _SDRt = "StopDeploymentRequest"; var _SDt = "StopDeployment"; var _SQEE = "ServiceQuotaExceededException"; var _SWLBA = "StringWithLengthBetween0And32768"; var _St = "State"; var _T = "Type"; var _TB = "TriggeredBy"; var _TK = "TagKeys"; var _TR = "TagResource"; var _TRR = "TagResourceRequest"; var _Ta = "Tags"; var _U = "Uri"; var _UA = "UpdateApplication"; var _UAR = "UpdateApplicationRequest"; var _UAS = "UpdateAccountSettings"; var _UASR = "UpdateAccountSettingsRequest"; var _UCP = "UpdateConfigurationProfile"; var _UCPR = "UpdateConfigurationProfileRequest"; var _UDS = "UpdateDeploymentStrategy"; var _UDSR = "UpdateDeploymentStrategyRequest"; var _UE = "UpdateEnvironment"; var _UEA = "UpdateExtensionAssociation"; var _UEAR = "UpdateExtensionAssociationRequest"; var _UER = "UpdateEnvironmentRequest"; var _UERp = "UpdateExtensionRequest"; var _UEp = "UpdateExtension"; var _UR = "UntagResource"; var _URR = "UntagResourceRequest"; var _V = "Validators"; var _VC = "ValidateConfiguration"; var _VCR = "ValidateConfigurationRequest"; var _VL = "VersionLabel"; var _VLa = "ValidatorList"; var _VN = "VersionNumber"; var _VN_ = "Version-Number"; var _VT = "ValidatorTypes"; var _Va = "Value"; var _Val = "Validator"; var _c = "client"; var _ccv = "client_configuration_version"; var _ci = "client_id"; var _cv = "configuration_version"; var _e = "error"; var _ei = "extension_identifier"; var _evn = "extension_version_number"; var _h = "http"; var _hE = "httpError"; var _hH = "httpHeader"; var _hQ = "httpQuery"; var _mr = "max_results"; var _n = "name"; var _nt = "next_token"; var _ri = "resource_identifier"; var _s = "smithy.ts.sdk.synthetic.com.amazonaws.appconfig"; var _se = "server"; var _t = "type"; var _tK = "tagKeys"; var _v = "version"; var _vl = "version_label"; var _vn = "version_number"; var _xadpc = "x-amzn-deletion-protection-check"; var n0 = "com.amazonaws.appconfig"; var _s_registry = TypeRegistry.for(_s); var AppConfigServiceException$ = [-3, _s, "AppConfigServiceException", 0, [], []]; _s_registry.registerError(AppConfigServiceException$, AppConfigServiceException); var n0_registry = TypeRegistry.for(n0); var BadRequestException$ = [ -3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_M, _R, _D], [0, 0, () => BadRequestDetails$] ]; n0_registry.registerError(BadRequestException$, BadRequestException); var ConflictException$ = [ -3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0] ]; n0_registry.registerError(ConflictException$, ConflictException); var InternalServerException$ = [ -3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_M], [0] ]; n0_registry.registerError(InternalServerException$, InternalServerException); var PayloadTooLargeException$ = [ -3, n0, _PTLE, { [_e]: _c, [_hE]: 413 }, [_M, _Me, _L, _S], [0, 0, 1, 1] ]; n0_registry.registerError(PayloadTooLargeException$, PayloadTooLargeException); var ResourceNotFoundException$ = [ -3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _RN], [0, 0] ]; n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException); var ServiceQuotaExceededException$ = [ -3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0] ]; n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException); var errorTypeRegistries = [ _s_registry, n0_registry ]; var _Blob = [0, n0, _B, 8, 21]; var StringWithLengthBetween0And32768 = [0, n0, _SWLBA, 8, 0]; var AccountSettings$ = [ 3, n0, _AS, 0, [_DP], [() => DeletionProtectionSettings$] ]; var Action$ = [ 3, n0, _A, 0, [_N, _De, _U, _RA], [0, 0, 0, 0] ]; var ActionInvocation$ = [ 3, n0, _AI, 0, [_EI, _AN, _U, _RA, _EM, _EC, _II], [0, 0, 0, 0, 0, 0, 0] ]; var Application$ = [ 3, n0, _Ap, 0, [_I, _N, _De], [0, 0, 0] ]; var Applications$ = [ 3, n0, _App, 0, [_It, _NT], [() => ApplicationList, 0] ]; var AppliedExtension$ = [ 3, n0, _AE, 0, [_EIx, _EAI, _VN, _P], [0, 0, 1, 128 | 0] ]; var Configuration$ = [ 3, n0, _C, 0, [_Co, _CV, _CT], [[() => _Blob, 16], [0, { [_hH]: _CV_ }], [0, { [_hH]: _CT_ }]] ]; var ConfigurationProfile$ = [ 3, n0, _CP, 0, [_AIp, _I, _N, _De, _LU, _RRA, _V, _T, _KKA, _KKI], [0, 0, 0, 0, 0, 0, [() => ValidatorList, 0], 0, 0, 0] ]; var ConfigurationProfiles$ = [ 3, n0, _CPo, 0, [_It, _NT], [() => ConfigurationProfileSummaryList, 0] ]; var ConfigurationProfileSummary$ = [ 3, n0, _CPS, 0, [_AIp, _I, _N, _LU, _VT, _T], [0, 0, 0, 0, 64 | 0, 0] ]; var CreateApplicationRequest$ = [ 3, n0, _CAR, 0, [_N, _De, _Ta], [0, 0, 128 | 0], 1 ]; var CreateConfigurationProfileRequest$ = [ 3, n0, _CCPR, 0, [_AIp, _N, _LU, _De, _RRA, _V, _Ta, _T, _KKI], [[0, 1], 0, 0, 0, 0, [() => ValidatorList, 0], 128 | 0, 0, 0], 3 ]; var CreateDeploymentStrategyRequest$ = [ 3, n0, _CDSR, 0, [_N, _DDIM, _GF, _De, _FBTIM, _GT, _RT, _Ta], [0, 1, 1, 0, 1, 0, 0, 128 | 0], 3 ]; var CreateEnvironmentRequest$ = [ 3, n0, _CER, 0, [_AIp, _N, _De, _Mo, _Ta], [[0, 1], 0, 0, () => MonitorList, 128 | 0], 2 ]; var CreateExtensionAssociationRequest$ = [ 3, n0, _CEAR, 0, [_EI, _RI, _EVN, _P, _Ta], [0, 0, 1, 128 | 0, 128 | 0], 2 ]; var CreateExtensionRequest$ = [ 3, n0, _CERr, 0, [_N, _Ac, _De, _P, _Ta, _LVN], [0, () => ActionsMap, 0, () => ParameterMap, 128 | 0, [1, { [_hH]: _LVN_ }]], 2 ]; var CreateHostedConfigurationVersionRequest$ = [ 3, n0, _CHCVR, 0, [_AIp, _CPI, _Co, _CT, _De, _LVN, _VL], [[0, 1], [0, 1], [() => _Blob, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _De }], [1, { [_hH]: _LVN_ }], [0, { [_hH]: _VL }]], 4 ]; var DeleteApplicationRequest$ = [ 3, n0, _DAR, 0, [_AIp], [[0, 1]], 1 ]; var DeleteConfigurationProfileRequest$ = [ 3, n0, _DCPR, 0, [_AIp, _CPI, _DPC], [[0, 1], [0, 1], [0, { [_hH]: _xadpc }]], 2 ]; var DeleteDeploymentStrategyRequest$ = [ 3, n0, _DDSR, 0, [_DSI], [[0, 1]], 1 ]; var DeleteEnvironmentRequest$ = [ 3, n0, _DER, 0, [_EIn, _AIp, _DPC], [[0, 1], [0, 1], [0, { [_hH]: _xadpc }]], 2 ]; var DeleteExtensionAssociationRequest$ = [ 3, n0, _DEAR, 0, [_EAI], [[0, 1]], 1 ]; var DeleteExtensionRequest$ = [ 3, n0, _DERe, 0, [_EI, _VN], [[0, 1], [1, { [_hQ]: _v }]], 1 ]; var DeleteHostedConfigurationVersionRequest$ = [ 3, n0, _DHCVR, 0, [_AIp, _CPI, _VN], [[0, 1], [0, 1], [1, 1]], 3 ]; var DeletionProtectionSettings$ = [ 3, n0, _DPS, 0, [_E, _PPIM], [2, 1] ]; var Deployment$ = [ 3, n0, _Dep, 0, [_AIp, _EIn, _DSI, _CPI, _DN, _CN, _CLU, _CV, _De, _DDIM, _GT, _GF, _FBTIM, _St, _EL, _PC, _SA, _CA, _AEp, _KKA, _KKI, _VL], [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, () => DeploymentEvents, 1, 5, 5, () => AppliedExtensions, 0, 0, 0] ]; var DeploymentEvent$ = [ 3, n0, _DE, 0, [_ET, _TB, _De, _AIc, _OA], [0, 0, 0, () => ActionInvocations, 5] ]; var Deployments$ = [ 3, n0, _Depl, 0, [_It, _NT], [() => DeploymentList, 0] ]; var DeploymentStrategies$ = [ 3, n0, _DS, 0, [_It, _NT], [() => DeploymentStrategyList, 0] ]; var DeploymentStrategy$ = [ 3, n0, _DSe, 0, [_I, _N, _De, _DDIM, _GT, _GF, _FBTIM, _RT], [0, 0, 0, 1, 0, 1, 1, 0] ]; var DeploymentSummary$ = [ 3, n0, _DSep, 0, [_DN, _CN, _CV, _DDIM, _GT, _GF, _FBTIM, _St, _PC, _SA, _CA, _VL], [1, 0, 0, 1, 0, 1, 1, 0, 1, 5, 5, 0] ]; var Environment$ = [ 3, n0, _En, 0, [_AIp, _I, _N, _De, _St, _Mo], [0, 0, 0, 0, 0, () => MonitorList] ]; var Environments$ = [ 3, n0, _Env, 0, [_It, _NT], [() => EnvironmentList, 0] ]; var Extension$ = [ 3, n0, _Ex, 0, [_I, _N, _VN, _Ar, _De, _Ac, _P], [0, 0, 1, 0, 0, () => ActionsMap, () => ParameterMap] ]; var ExtensionAssociation$ = [ 3, n0, _EA, 0, [_I, _EAx, _RAe, _Ar, _P, _EVN], [0, 0, 0, 0, 128 | 0, 1] ]; var ExtensionAssociations$ = [ 3, n0, _EAxt, 0, [_It, _NT], [() => ExtensionAssociationSummaries, 0] ]; var ExtensionAssociationSummary$ = [ 3, n0, _EAS, 0, [_I, _EAx, _RAe], [0, 0, 0] ]; var Extensions$ = [ 3, n0, _Ext, 0, [_It, _NT], [() => ExtensionSummaries, 0] ]; var ExtensionSummary$ = [ 3, n0, _ES, 0, [_I, _N, _VN, _Ar, _De], [0, 0, 1, 0, 0] ]; var GetApplicationRequest$ = [ 3, n0, _GAR, 0, [_AIp], [[0, 1]], 1 ]; var GetConfigurationProfileRequest$ = [ 3, n0, _GCPR, 0, [_AIp, _CPI], [[0, 1], [0, 1]], 2 ]; var GetConfigurationRequest$ = [ 3, n0, _GCR, 0, [_Ap, _En, _C, _CI, _CCV], [[0, 1], [0, 1], [0, 1], [0, { [_hQ]: _ci }], [0, { [_hQ]: _ccv }]], 4 ]; var GetDeploymentRequest$ = [ 3, n0, _GDR, 0, [_AIp, _EIn, _DN], [[0, 1], [0, 1], [1, 1]], 3 ]; var GetDeploymentStrategyRequest$ = [ 3, n0, _GDSR, 0, [_DSI], [[0, 1]], 1 ]; var GetEnvironmentRequest$ = [ 3, n0, _GER, 0, [_AIp, _EIn], [[0, 1], [0, 1]], 2 ]; var GetExtensionAssociationRequest$ = [ 3, n0, _GEAR, 0, [_EAI], [[0, 1]], 1 ]; var GetExtensionRequest$ = [ 3, n0, _GERe, 0, [_EI, _VN], [[0, 1], [1, { [_hQ]: _vn }]], 1 ]; var GetHostedConfigurationVersionRequest$ = [ 3, n0, _GHCVR, 0, [_AIp, _CPI, _VN], [[0, 1], [0, 1], [1, 1]], 3 ]; var HostedConfigurationVersion$ = [ 3, n0, _HCV, 0, [_AIp, _CPI, _VN, _De, _Co, _CT, _VL, _KKA], [[0, { [_hH]: _AI_ }], [0, { [_hH]: _CPI_ }], [1, { [_hH]: _VN_ }], [0, { [_hH]: _De }], [() => _Blob, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _VL }], [0, { [_hH]: _KKA }]] ]; var HostedConfigurationVersions$ = [ 3, n0, _HCVo, 0, [_It, _NT], [() => HostedConfigurationVersionSummaryList, 0] ]; var HostedConfigurationVersionSummary$ = [ 3, n0, _HCVS, 0, [_AIp, _CPI, _VN, _De, _CT, _VL, _KKA], [0, 0, 1, 0, 0, 0, 0] ]; var InvalidConfigurationDetail$ = [ 3, n0, _ICD, 0, [_Con, _Lo, _R, _T, _Va], [0, 0, 0, 0, 0] ]; var ListApplicationsRequest$ = [ 3, n0, _LAR, 0, [_MR, _NT], [[1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }]] ]; var ListConfigurationProfilesRequest$ = [ 3, n0, _LCPR, 0, [_AIp, _MR, _NT, _T], [[0, 1], [1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }], [0, { [_hQ]: _t }]], 1 ]; var ListDeploymentsRequest$ = [ 3, n0, _LDR, 0, [_AIp, _EIn, _MR, _NT], [[0, 1], [0, 1], [1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }]], 2 ]; var ListDeploymentStrategiesRequest$ = [ 3, n0, _LDSR, 0, [_MR, _NT], [[1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }]] ]; var ListEnvironmentsRequest$ = [ 3, n0, _LER, 0, [_AIp, _MR, _NT], [[0, 1], [1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }]], 1 ]; var ListExtensionAssociationsRequest$ = [ 3, n0, _LEAR, 0, [_RI, _EI, _EVN, _MR, _NT], [[0, { [_hQ]: _ri }], [0, { [_hQ]: _ei }], [1, { [_hQ]: _evn }], [1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }]] ]; var ListExtensionsRequest$ = [ 3, n0, _LERi, 0, [_MR, _NT, _N], [[1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }], [0, { [_hQ]: _n }]] ]; var ListHostedConfigurationVersionsRequest$ = [ 3, n0, _LHCVR, 0, [_AIp, _CPI, _MR, _NT, _VL], [[0, 1], [0, 1], [1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }], [0, { [_hQ]: _vl }]], 2 ]; var ListTagsForResourceRequest$ = [ 3, n0, _LTFRR, 0, [_RAe], [[0, 1]], 1 ]; var Monitor$ = [ 3, n0, _Mon, 0, [_AA, _ARA], [0, 0], 1 ]; var Parameter$ = [ 3, n0, _Pa, 0, [_De, _Re, _Dy], [0, 2, 2] ]; var ResourceTags$ = [ 3, n0, _RTe, 0, [_Ta], [128 | 0] ]; var StartDeploymentRequest$ = [ 3, n0, _SDR, 0, [_AIp, _EIn, _DSI, _CPI, _CV, _De, _Ta, _KKI, _DEP], [[0, 1], [0, 1], 0, 0, 0, 0, 128 | 0, 0, [() => DynamicParameterMap, 0]], 5 ]; var StopDeploymentRequest$ = [ 3, n0, _SDRt, 0, [_AIp, _EIn, _DN, _AR], [[0, 1], [0, 1], [1, 1], [2, { [_hH]: _AR_ }]], 3 ]; var TagResourceRequest$ = [ 3, n0, _TRR, 0, [_RAe, _Ta], [[0, 1], 128 | 0], 2 ]; var UntagResourceRequest$ = [ 3, n0, _URR, 0, [_RAe, _TK], [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2 ]; var UpdateAccountSettingsRequest$ = [ 3, n0, _UASR, 0, [_DP], [() => DeletionProtectionSettings$] ]; var UpdateApplicationRequest$ = [ 3, n0, _UAR, 0, [_AIp, _N, _De], [[0, 1], 0, 0], 1 ]; var UpdateConfigurationProfileRequest$ = [ 3, n0, _UCPR, 0, [_AIp, _CPI, _N, _De, _RRA, _V, _KKI], [[0, 1], [0, 1], 0, 0, 0, [() => ValidatorList, 0], 0], 2 ]; var UpdateDeploymentStrategyRequest$ = [ 3, n0, _UDSR, 0, [_DSI, _De, _DDIM, _FBTIM, _GF, _GT], [[0, 1], 0, 1, 1, 1, 0], 1 ]; var UpdateEnvironmentRequest$ = [ 3, n0, _UER, 0, [_AIp, _EIn, _N, _De, _Mo], [[0, 1], [0, 1], 0, 0, () => MonitorList], 2 ]; var UpdateExtensionAssociationRequest$ = [ 3, n0, _UEAR, 0, [_EAI, _P], [[0, 1], 128 | 0], 1 ]; var UpdateExtensionRequest$ = [ 3, n0, _UERp, 0, [_EI, _De, _Ac, _P, _VN], [[0, 1], 0, () => ActionsMap, () => ParameterMap, 1], 1 ]; var ValidateConfigurationRequest$ = [ 3, n0, _VCR, 0, [_AIp, _CPI, _CV], [[0, 1], [0, 1], [0, { [_hQ]: _cv }]], 3 ]; var Validator$ = [ 3, n0, _Val, 0, [_T, _Co], [0, [() => StringWithLengthBetween0And32768, 0]], 2 ]; var __Unit = "unit"; var ActionInvocations = [ 1, n0, _AIc, 0, () => ActionInvocation$ ]; var ActionList = [ 1, n0, _AL, 0, () => Action$ ]; var ApplicationList = [ 1, n0, _ALp, 0, () => Application$ ]; var AppliedExtensions = [ 1, n0, _AEp, 0, () => AppliedExtension$ ]; var ConfigurationProfileSummaryList = [ 1, n0, _CPSL, 0, () => ConfigurationProfileSummary$ ]; var DeploymentEvents = [ 1, n0, _DEe, 0, () => DeploymentEvent$ ]; var DeploymentList = [ 1, n0, _DL, 0, () => DeploymentSummary$ ]; var DeploymentStrategyList = [ 1, n0, _DSL, 0, () => DeploymentStrategy$ ]; var EnvironmentList = [ 1, n0, _ELn, 0, () => Environment$ ]; var ExtensionAssociationSummaries = [ 1, n0, _EASx, 0, () => ExtensionAssociationSummary$ ]; var ExtensionSummaries = [ 1, n0, _ESx, 0, () => ExtensionSummary$ ]; var HostedConfigurationVersionSummaryList = [ 1, n0, _HCVSL, 0, () => HostedConfigurationVersionSummary$ ]; var InvalidConfigurationDetailList = [ 1, n0, _ICDL, 0, () => InvalidConfigurationDetail$ ]; var MonitorList = [ 1, n0, _ML, 0, () => Monitor$ ]; var TagKeyList = 64 | 0; var ValidatorList = [ 1, n0, _VLa, 0, [ () => Validator$, 0 ] ]; var ValidatorTypeList = 64 | 0; var ActionsMap = [ 2, n0, _AM, 0, 0, () => ActionList ]; var DynamicParameterMap = [ 2, n0, _DPM, 8, 0, 0 ]; var ParameterMap = [ 2, n0, _PM, 0, 0, () => Parameter$ ]; var ParameterValueMap = 128 | 0; var TagMap = 128 | 0; var BadRequestDetails$ = [ 4, n0, _BRD, 0, [_IC], [() => InvalidConfigurationDetailList] ]; var CreateApplication$ = [ 9, n0, _CAr, { [_h]: ["POST", "/applications", 201] }, () => CreateApplicationRequest$, () => Application$ ]; var CreateConfigurationProfile$ = [ 9, n0, _CCP, { [_h]: ["POST", "/applications/{ApplicationId}/configurationprofiles", 201] }, () => CreateConfigurationProfileRequest$, () => ConfigurationProfile$ ]; var CreateDeploymentStrategy$ = [ 9, n0, _CDS, { [_h]: ["POST", "/deploymentstrategies", 201] }, () => CreateDeploymentStrategyRequest$, () => DeploymentStrategy$ ]; var CreateEnvironment$ = [ 9, n0, _CEr, { [_h]: ["POST", "/applications/{ApplicationId}/environments", 201] }, () => CreateEnvironmentRequest$, () => Environment$ ]; var CreateExtension$ = [ 9, n0, _CEre, { [_h]: ["POST", "/extensions", 201] }, () => CreateExtensionRequest$, () => Extension$ ]; var CreateExtensionAssociation$ = [ 9, n0, _CEA, { [_h]: ["POST", "/extensionassociations", 201] }, () => CreateExtensionAssociationRequest$, () => ExtensionAssociation$ ]; var CreateHostedConfigurationVersion$ = [ 9, n0, _CHCV, { [_h]: ["POST", "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions", 201] }, () => CreateHostedConfigurationVersionRequest$, () => HostedConfigurationVersion$ ]; var DeleteApplication$ = [ 9, n0, _DA, { [_h]: ["DELETE", "/applications/{ApplicationId}", 204] }, () => DeleteApplicationRequest$, () => __Unit ]; var DeleteConfigurationProfile$ = [ 9, n0, _DCP, { [_h]: ["DELETE", "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", 204] }, () => DeleteConfigurationProfileRequest$, () => __Unit ]; var DeleteDeploymentStrategy$ = [ 9, n0, _DDS, { [_h]: ["DELETE", "/deployementstrategies/{DeploymentStrategyId}", 204] }, () => DeleteDeploymentStrategyRequest$, () => __Unit ]; var DeleteEnvironment$ = [ 9, n0, _DEel, { [_h]: ["DELETE", "/applications/{ApplicationId}/environments/{EnvironmentId}", 204] }, () => DeleteEnvironmentRequest$, () => __Unit ]; var DeleteExtension$ = [ 9, n0, _DEele, { [_h]: ["DELETE", "/extensions/{ExtensionIdentifier}", 204] }, () => DeleteExtensionRequest$, () => __Unit ]; var DeleteExtensionAssociation$ = [ 9, n0, _DEA, { [_h]: ["DELETE", "/extensionassociations/{ExtensionAssociationId}", 204] }, () => DeleteExtensionAssociationRequest$, () => __Unit ]; var DeleteHostedConfigurationVersion$ = [ 9, n0, _DHCV, { [_h]: ["DELETE", "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}", 204] }, () => DeleteHostedConfigurationVersionRequest$, () => __Unit ]; var GetAccountSettings$ = [ 9, n0, _GAS, { [_h]: ["GET", "/settings", 200] }, () => __Unit, () => AccountSettings$ ]; var GetApplication$ = [ 9, n0, _GA, { [_h]: ["GET", "/applications/{ApplicationId}", 200] }, () => GetApplicationRequest$, () => Application$ ]; var GetConfiguration$ = [ 9, n0, _GC, { [_h]: ["GET", "/applications/{Application}/environments/{Environment}/configurations/{Configuration}", 200] }, () => GetConfigurationRequest$, () => Configuration$ ]; var GetConfigurationProfile$ = [ 9, n0, _GCP, { [_h]: ["GET", "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", 200] }, () => GetConfigurationProfileRequest$, () => ConfigurationProfile$ ]; var GetDeployment$ = [ 9, n0, _GD, { [_h]: ["GET", "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}", 200] }, () => GetDeploymentRequest$, () => Deployment$ ]; var GetDeploymentStrategy$ = [ 9, n0, _GDS, { [_h]: ["GET", "/deploymentstrategies/{DeploymentStrategyId}", 200] }, () => GetDeploymentStrategyRequest$, () => DeploymentStrategy$ ]; var GetEnvironment$ = [ 9, n0, _GE, { [_h]: ["GET", "/applications/{ApplicationId}/environments/{EnvironmentId}", 200] }, () => GetEnvironmentRequest$, () => Environment$ ]; var GetExtension$ = [ 9, n0, _GEe, { [_h]: ["GET", "/extensions/{ExtensionIdentifier}", 200] }, () => GetExtensionRequest$, () => Extension$ ]; var GetExtensionAssociation$ = [ 9, n0, _GEA, { [_h]: ["GET", "/extensionassociations/{ExtensionAssociationId}", 200] }, () => GetExtensionAssociationRequest$, () => ExtensionAssociation$ ]; var GetHostedConfigurationVersion$ = [ 9, n0, _GHCV, { [_h]: ["GET", "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}", 200] }, () => GetHostedConfigurationVersionRequest$, () => HostedConfigurationVersion$ ]; var ListApplications$ = [ 9, n0, _LA, { [_h]: ["GET", "/applications", 200] }, () => ListApplicationsRequest$, () => Applications$ ]; var ListConfigurationProfiles$ = [ 9, n0, _LCP, { [_h]: ["GET", "/applications/{ApplicationId}/configurationprofiles", 200] }, () => ListConfigurationProfilesRequest$, () => ConfigurationProfiles$ ]; var ListDeployments$ = [ 9, n0, _LD, { [_h]: ["GET", "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments", 200] }, () => ListDeploymentsRequest$, () => Deployments$ ]; var ListDeploymentStrategies$ = [ 9, n0, _LDS, { [_h]: ["GET", "/deploymentstrategies", 200] }, () => ListDeploymentStrategiesRequest$, () => DeploymentStrategies$ ]; var ListEnvironments$ = [ 9, n0, _LE, { [_h]: ["GET", "/applications/{ApplicationId}/environments", 200] }, () => ListEnvironmentsRequest$, () => Environments$ ]; var ListExtensionAssociations$ = [ 9, n0, _LEA, { [_h]: ["GET", "/extensionassociations", 200] }, () => ListExtensionAssociationsRequest$, () => ExtensionAssociations$ ]; var ListExtensions$ = [ 9, n0, _LEi, { [_h]: ["GET", "/extensions", 200] }, () => ListExtensionsRequest$, () => Extensions$ ]; var ListHostedConfigurationVersions$ = [ 9, n0, _LHCV, { [_h]: ["GET", "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions", 200] }, () => ListHostedConfigurationVersionsRequest$, () => HostedConfigurationVersions$ ]; var ListTagsForResource$ = [ 9, n0, _LTFR, { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ResourceTags$ ]; var StartDeployment$ = [ 9, n0, _SD, { [_h]: ["POST", "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments", 201] }, () => StartDeploymentRequest$, () => Deployment$ ]; var StopDeployment$ = [ 9, n0, _SDt, { [_h]: ["DELETE", "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}", 202] }, () => StopDeploymentRequest$, () => Deployment$ ]; var TagResource$ = [ 9, n0, _TR, { [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () => TagResourceRequest$, () => __Unit ]; var UntagResource$ = [ 9, n0, _UR, { [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => UntagResourceRequest$, () => __Unit ]; var UpdateAccountSettings$ = [ 9, n0, _UAS, { [_h]: ["PATCH", "/settings", 200] }, () => UpdateAccountSettingsRequest$, () => AccountSettings$ ]; var UpdateApplication$ = [ 9, n0, _UA, { [_h]: ["PATCH", "/applications/{ApplicationId}", 200] }, () => UpdateApplicationRequest$, () => Application$ ]; var UpdateConfigurationProfile$ = [ 9, n0, _UCP, { [_h]: ["PATCH", "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", 200] }, () => UpdateConfigurationProfileRequest$, () => ConfigurationProfile$ ]; var UpdateDeploymentStrategy$ = [ 9, n0, _UDS, { [_h]: ["PATCH", "/deploymentstrategies/{DeploymentStrategyId}", 200] }, () => UpdateDeploymentStrategyRequest$, () => DeploymentStrategy$ ]; var UpdateEnvironment$ = [ 9, n0, _UE, { [_h]: ["PATCH", "/applications/{ApplicationId}/environments/{EnvironmentId}", 200] }, () => UpdateEnvironmentRequest$, () => Environment$ ]; var UpdateExtension$ = [ 9, n0, _UEp, { [_h]: ["PATCH", "/extensions/{ExtensionIdentifier}", 200] }, () => UpdateExtensionRequest$, () => Extension$ ]; var UpdateExtensionAssociation$ = [ 9, n0, _UEA, { [_h]: ["PATCH", "/extensionassociations/{ExtensionAssociationId}", 200] }, () => UpdateExtensionAssociationRequest$, () => ExtensionAssociation$ ]; var ValidateConfiguration$ = [ 9, n0, _VC, { [_h]: ["POST", "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators", 204] }, () => ValidateConfigurationRequest$, () => __Unit ]; // node_modules/@aws-sdk/client-appconfig/dist-es/runtimeConfig.shared.js var getRuntimeConfig = (config) => { return { apiVersion: "2019-10-09", base64Decoder: config?.base64Decoder ?? fromBase64, base64Encoder: config?.base64Encoder ?? toBase64, disableHostPrefix: config?.disableHostPrefix ?? false, endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, extensions: config?.extensions ?? [], httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultAppConfigHttpAuthSchemeProvider, 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.appconfig", errorTypeRegistries, version: "2019-10-09", serviceTarget: "AmazonAppConfig" }, serviceId: config?.serviceId ?? "AppConfig", urlParser: config?.urlParser ?? parseUrl, utf8Decoder: config?.utf8Decoder ?? fromUtf8, utf8Encoder: config?.utf8Encoder ?? toUtf8 }; }; // node_modules/@aws-sdk/client-appconfig/dist-es/runtimeConfig.js var getRuntimeConfig2 = (config) => { emitWarningIfUnsupportedVersion2(process.version); const defaultsMode = resolveDefaultsModeConfig(config); const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); const clientSharedValues = getRuntimeConfig(config); emitWarningIfUnsupportedVersion(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: package_default.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), sha256: config?.sha256 ?? Hash.bind(null, "sha256"), 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) }; }; // node_modules/@aws-sdk/client-appconfig/dist-es/auth/httpAuthExtensionConfiguration.js var 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; } }; }; var resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() }; }; // node_modules/@aws-sdk/client-appconfig/dist-es/runtimeExtensions.js var 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)); }; // node_modules/@aws-sdk/client-appconfig/dist-es/AppConfigClient.js var AppConfigClient = class extends Client { config; constructor(...[configuration]) { const _config_0 = getRuntimeConfig2(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);