@humain/humain-code 0.4.8 → 0.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/dist/bundle/agent-monitor.js +1 -1
- package/dist/bundle/chunks/{anthropic-messages-YMPB2HJ7.js → anthropic-messages-UNHXXOD4.js} +3 -3
- package/dist/bundle/chunks/{azure-openai-responses-PDHOT7UC.js → azure-openai-responses-4QRYJCC2.js} +2 -2
- package/dist/bundle/chunks/bedrock-converse-stream.js +109 -92
- package/dist/bundle/chunks/{chunk-GNOKILVU.js → chunk-2QTTNAD4.js} +3385 -3947
- package/dist/bundle/chunks/{chunk-II2442A2.js → chunk-5CDES42D.js} +1 -1
- package/dist/bundle/chunks/{chunk-IMR3ZJM5.js → chunk-5XD3DHYL.js} +1 -1
- package/dist/bundle/chunks/{chunk-RXHSJSYY.js → chunk-6KAMTNN3.js} +1 -1
- package/dist/bundle/chunks/chunk-76X5KOIA.js +28 -0
- package/dist/bundle/chunks/{chunk-KRMTBTWU.js → chunk-77EWF2NW.js} +1 -1
- package/dist/bundle/chunks/{chunk-SKIP6KJV.js → chunk-7Z5MWPYE.js} +1 -1
- package/dist/bundle/chunks/{chunk-PBBQBIHY.js → chunk-AS2Y2MO6.js} +37 -37
- package/dist/bundle/chunks/{chunk-TIAXGIMN.js → chunk-AUFEF24K.js} +10 -10
- package/dist/bundle/chunks/{chunk-ILRBME2Y.js → chunk-BCF7KZ3R.js} +757 -745
- package/dist/bundle/chunks/{chunk-WPLW452J.js → chunk-DZ5C66IU.js} +1 -1
- package/dist/bundle/chunks/{chunk-2W5PWUPO.js → chunk-EDKZRYWJ.js} +2 -2
- package/dist/bundle/chunks/{chunk-W2QRCQBX.js → chunk-FF26YENK.js} +3 -4
- package/dist/bundle/chunks/{chunk-UZ5FVVCP.js → chunk-HMWAH7ZY.js} +1 -1
- package/dist/bundle/chunks/{chunk-F7UMX5BV.js → chunk-HSDTSUZE.js} +13 -2
- package/dist/bundle/chunks/chunk-I2ZWZAIV.js +751 -0
- package/dist/bundle/chunks/{chunk-GUUAEK6G.js → chunk-LCOHFEZZ.js} +1 -1
- package/dist/bundle/chunks/chunk-MVYV6MJY.js +23 -0
- package/dist/bundle/chunks/{chunk-Z5LYSSTY.js → chunk-QSPDLT2R.js} +2 -2
- package/dist/bundle/chunks/{chunk-UBQSONVR.js → chunk-R5VIAWGA.js} +103 -145
- package/dist/bundle/chunks/{chunk-YURQPD6Y.js → chunk-RYC5BYVE.js} +1 -2
- package/dist/bundle/chunks/{chunk-ROSZII6E.js → chunk-V5ZF7Q7L.js} +1 -1
- package/dist/bundle/chunks/chunk-VEYTRNQC.js +5 -0
- package/dist/bundle/chunks/{chunk-LQ4S7CRR.js → chunk-VYIIPF57.js} +1 -1
- package/dist/bundle/chunks/chunk-WBJN6PEI.js +43 -0
- package/dist/bundle/chunks/{chunk-SWRU4BOC.js → chunk-XGO43DKL.js} +1 -1
- package/dist/bundle/chunks/{chunk-PMISFIBM.js → chunk-XMHLSV3I.js} +1 -1
- package/dist/bundle/chunks/{chunk-3E4SMILM.js → chunk-YJBE3IGR.js} +14 -14
- package/dist/bundle/chunks/{chunk-OTXURGIO.js → chunk-YKZGL4MB.js} +1 -1
- package/dist/bundle/chunks/chunk-Z33NNMNB.js +6 -0
- package/dist/bundle/chunks/{cli-ZKT34WPW.js → cli-5ACW3WND.js} +2 -2
- package/dist/bundle/chunks/{cloudflare-workers-ai-system-one-YPOLSCPT.js → cloudflare-workers-ai-system-one-FZ3UQCZ7.js} +1 -1
- package/dist/bundle/chunks/{compat-J5FTRJ6S.js → compat-TQKA4I7M.js} +3 -3
- package/dist/bundle/chunks/{dist-N7XDUAAO.js → dist-VNSMKBZ6.js} +3 -3
- package/dist/bundle/chunks/{dist-6FQCCUSC.js → dist-WHC67QRM.js} +1077 -912
- package/dist/bundle/chunks/dist-cjs-RL2OCAP2.js +179 -0
- package/dist/bundle/chunks/{easter-egg-3d-5KKDWEIA.js → easter-egg-3d-3L3IKAT6.js} +1 -1
- package/dist/bundle/chunks/{esm-NCUV2DF7.js → esm-763X2IA7.js} +1 -1
- package/dist/bundle/chunks/event-streams-R5OECII4.js +2 -0
- package/dist/bundle/chunks/{execute-OSBDNQU5.js → execute-4X6G65NZ.js} +1 -1
- package/dist/bundle/chunks/{extract-56PXVZVW.js → extract-DLZ425VI.js} +4 -4
- package/dist/bundle/chunks/github-copilot.js +32 -31
- package/dist/bundle/chunks/{google-generative-ai-TS4ZE2RO.js → google-generative-ai-JD2FVOIX.js} +2 -2
- package/dist/bundle/chunks/{google-vertex-MJK2SMNE.js → google-vertex-PFBMDCBW.js} +3 -3
- package/dist/bundle/chunks/host-4J7H7KDS.js +2 -0
- package/dist/bundle/chunks/{llama-cpp-classify-5KAR326J.js → llama-cpp-classify-AGCW7HYN.js} +1 -1
- package/dist/bundle/chunks/{mistral-conversations-XA2ZGSAH.js → mistral-conversations-D74NZ65O.js} +2 -2
- package/dist/bundle/chunks/{node-XGNY74WT.js → node-W47VUEGE.js} +1 -1
- package/dist/bundle/chunks/{openai-codex-responses-Y6NRWMOI.js → openai-codex-responses-JAAA7MSS.js} +3 -3
- package/dist/bundle/chunks/{openai-completions-FY77MIZH.js → openai-completions-PGPMGQPU.js} +34 -33
- package/dist/bundle/chunks/{openai-decisions-MKH4OJHH.js → openai-decisions-QQ4MEABI.js} +1 -1
- package/dist/bundle/chunks/openai-responses-FG2R2M4L.js +23 -0
- package/dist/bundle/chunks/{openrouter-images-R3QMMLPH.js → openrouter-images-NTBP3UUE.js} +1 -1
- package/dist/bundle/chunks/{pi-messages-LYJZPRST.js → pi-messages-JD4O7KIP.js} +1 -1
- package/dist/bundle/chunks/{runtime-JFLZUNYP.js → runtime-SI76JZNE.js} +1 -1
- package/dist/bundle/chunks/{typesafe-system-one-PAYJECQK.js → typesafe-system-one-TTC7YCO3.js} +1 -1
- package/dist/bundle/chunks/virtual-modules-ID2GA4GE.js +5 -0
- package/dist/bundle/cli-runtime.js +3 -3
- package/dist/bundle/flow/assets/contract.json +1 -1
- package/dist/bundle/flow/package.json +1 -1
- package/dist/bundle/index.js +17 -17
- package/dist/bundle/rpc-entry.js +3 -2
- package/dist/core/account-reporting.d.ts +109 -0
- package/dist/core/account-reporting.d.ts.map +1 -0
- package/dist/core/account-reporting.js +328 -0
- package/dist/core/account-reporting.js.map +1 -0
- package/dist/core/agent-session.d.ts +22 -2
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +131 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/anthropic-account-reporting.d.ts +76 -0
- package/dist/core/anthropic-account-reporting.d.ts.map +1 -0
- package/dist/core/anthropic-account-reporting.js +380 -0
- package/dist/core/anthropic-account-reporting.js.map +1 -0
- package/dist/core/bedrock-account-reporting.d.ts +82 -0
- package/dist/core/bedrock-account-reporting.d.ts.map +1 -0
- package/dist/core/bedrock-account-reporting.js +402 -0
- package/dist/core/bedrock-account-reporting.js.map +1 -0
- package/dist/core/model-runtime.d.ts +17 -0
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +64 -10
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/oauth-account-pool.d.ts +4 -0
- package/dist/core/oauth-account-pool.d.ts.map +1 -1
- package/dist/core/oauth-account-pool.js +10 -3
- package/dist/core/oauth-account-pool.js.map +1 -1
- package/dist/humain/bedrock-provider/vendor/index.bundle.mjs +353 -29
- package/dist/humain/flow-accounts-host.d.ts +120 -0
- package/dist/humain/flow-accounts-host.d.ts.map +1 -0
- package/dist/humain/flow-accounts-host.js +346 -0
- package/dist/humain/flow-accounts-host.js.map +1 -0
- package/dist/humain/flow-command.d.ts +28 -0
- package/dist/humain/flow-command.d.ts.map +1 -0
- package/dist/humain/flow-command.js +226 -0
- package/dist/humain/flow-command.js.map +1 -0
- package/dist/humain/flow-loader.d.ts +4 -2
- package/dist/humain/flow-loader.d.ts.map +1 -1
- package/dist/humain/flow-loader.js +120 -91
- package/dist/humain/flow-loader.js.map +1 -1
- package/dist/humain/node-account-failure.d.ts +18 -0
- package/dist/humain/node-account-failure.d.ts.map +1 -0
- package/dist/humain/node-account-failure.js +73 -0
- package/dist/humain/node-account-failure.js.map +1 -0
- package/dist/humain/node-account-fallback.d.ts +85 -0
- package/dist/humain/node-account-fallback.d.ts.map +1 -0
- package/dist/humain/node-account-fallback.js +175 -0
- package/dist/humain/node-account-fallback.js.map +1 -0
- package/dist/humain/node-http.d.ts.map +1 -1
- package/dist/humain/node-http.js +11 -0
- package/dist/humain/node-http.js.map +1 -1
- package/dist/humain/node-provider.d.ts +4 -0
- package/dist/humain/node-provider.d.ts.map +1 -1
- package/dist/humain/node-provider.js +11 -0
- package/dist/humain/node-provider.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/modes/interactive/components/login-dialog.d.ts +2 -0
- package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
- package/dist/modes/interactive/components/login-dialog.js +5 -0
- package/dist/modes/interactive/components/login-dialog.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +26 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +242 -19
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/docs/flow-profiles.md +57 -5
- package/docs/flow.md +130 -45
- package/docs/providers.md +37 -0
- package/npm-shrinkwrap.json +48 -6
- package/package.json +3 -2
- package/dist/bundle/chunks/chunk-AKA7HNO3.js +0 -4
- package/dist/bundle/chunks/chunk-JYWVRJYG.js +0 -6
- package/dist/bundle/chunks/chunk-MEIYGK5O.js +0 -6
- package/dist/bundle/chunks/chunk-PYU5BR3Z.js +0 -27
- package/dist/bundle/chunks/event-streams-CGCQQL5M.js +0 -2
- package/dist/bundle/chunks/host-2ARI7PQ5.js +0 -2
- package/dist/bundle/chunks/openai-responses-LNSCERKH.js +0 -23
- package/dist/bundle/chunks/virtual-modules-TT2VTOSY.js +0 -5
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
2
|
+
import{client_exports as client_exports2,dist_es_exports,httpAuthSchemes_exports,init_client as init_client2,init_dist_es,init_httpAuthSchemes,init_protocols,init_protocols2,init_retry,protocols_exports,protocols_exports2,require_dist_cjs,require_dist_cjs2,retry_exports}from"./chunk-I2ZWZAIV.js";import{checksum_exports,client_exports,config_exports,endpoints_exports,init_checksum,init_client,init_config,init_endpoints,init_schema,init_serde,schema_exports,serde_exports}from"./chunk-R5VIAWGA.js";
|
|
3
|
+
import{__commonJS,__require,__toCommonJS}from"./chunk-JXWJOIH4.js";var require_compressStream=__commonJS({"node_modules/@smithy/middleware-compression/dist-cjs/compressStream.js"(exports){var{createGzip}=__require("node:zlib");exports.compressStream=async body=>body.pipe(createGzip())}});var require_compressString=__commonJS({"node_modules/@smithy/middleware-compression/dist-cjs/compressString.js"(exports){var{promisify}=__require("node:util"),{gzip}=__require("node:zlib"),{toUint8Array}=(init_serde(),__toCommonJS(serde_exports)),gzipAsync=promisify(gzip);exports.compressString=async body=>{try{let compressedBuffer=await gzipAsync(toUint8Array(body||""));return toUint8Array(compressedBuffer)}catch(err){throw new Error("Failure during compression: "+err.message)}}}});var require_dist_cjs3=__commonJS({"node_modules/@smithy/middleware-compression/dist-cjs/index.js"(exports){var{booleanSelector,SelectorType,numberSelector}=(init_config(),__toCommonJS(config_exports)),{setFeature}=(init_dist_es(),__toCommonJS(dist_es_exports)),{HttpRequest}=(init_protocols(),__toCommonJS(protocols_exports)),{compressStream}=require_compressStream(),{compressString}=require_compressString(),{isArrayBuffer}=(init_serde(),__toCommonJS(serde_exports)),{normalizeProvider}=(init_client(),__toCommonJS(client_exports)),
|
|
4
|
+
NODE_DISABLE_REQUEST_COMPRESSION_ENV_NAME="AWS_DISABLE_REQUEST_COMPRESSION",NODE_DISABLE_REQUEST_COMPRESSION_INI_NAME="disable_request_compression",DEFAULT_DISABLE_REQUEST_COMPRESSION=!1,NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS={environmentVariableSelector:env=>booleanSelector(env,NODE_DISABLE_REQUEST_COMPRESSION_ENV_NAME,SelectorType.ENV),configFileSelector:profile=>booleanSelector(profile,NODE_DISABLE_REQUEST_COMPRESSION_INI_NAME,SelectorType.CONFIG),default:DEFAULT_DISABLE_REQUEST_COMPRESSION},
|
|
5
|
+
NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_ENV_NAME="AWS_REQUEST_MIN_COMPRESSION_SIZE_BYTES",NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_INI_NAME="request_min_compression_size_bytes",DEFAULT_NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES=10240,NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS={environmentVariableSelector:env=>numberSelector(env,NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_ENV_NAME,SelectorType.ENV),configFileSelector:profile=>numberSelector(profile,NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_INI_NAME,
|
|
6
|
+
SelectorType.CONFIG),default:DEFAULT_NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES},CompressionAlgorithm;(function(CompressionAlgorithm2){CompressionAlgorithm2.GZIP="gzip"})(CompressionAlgorithm||(CompressionAlgorithm={}));var CLIENT_SUPPORTED_ALGORITHMS=[CompressionAlgorithm.GZIP],isStreaming=body=>body!==void 0&&typeof body!="string"&&!ArrayBuffer.isView(body)&&!isArrayBuffer(body),compressionMiddleware=(config,middlewareConfig)=>(next,context)=>async args=>{if(!HttpRequest.isInstance(args.request)||
|
|
7
|
+
await config.disableRequestCompression())return next(args);let{request}=args,{body,headers}=request,{encodings,streamRequiresLength}=middlewareConfig,updatedBody=body,updatedHeaders=headers;for(let algorithm of encodings)if(CLIENT_SUPPORTED_ALGORITHMS.includes(algorithm)){let isRequestCompressed=!1;if(isStreaming(body))if(!streamRequiresLength)updatedBody=await compressStream(body),isRequestCompressed=!0;else throw new Error("Compression is not supported for streaming blobs that require a length\
|
|
8
|
+
.");else{let bodyLength=config.bodyLengthChecker(body),requestMinCompressionSizeBytes=await config.requestMinCompressionSizeBytes();bodyLength&&bodyLength>=requestMinCompressionSizeBytes&&(updatedBody=await compressString(body),isRequestCompressed=!0)}if(isRequestCompressed){headers["content-encoding"]?updatedHeaders={...headers,"content-encoding":`${headers["content-encoding"]}, ${algorithm}`}:updatedHeaders={...headers,"content-encoding":algorithm},updatedHeaders["content-encoding"].includes("\
|
|
9
|
+
gzip")&&setFeature(context,"GZIP_REQUEST_COMPRESSION","L");break}}return next({...args,request:{...request,body:updatedBody,headers:updatedHeaders}})},compressionMiddlewareOptions={name:"compressionMiddleware",step:"build",tags:["REQUEST_BODY_COMPRESSION","GZIP"],override:!0,priority:"high"},getCompressionPlugin=(config,middlewareConfig)=>({applyToStack:clientStack=>{clientStack.add(compressionMiddleware(config,middlewareConfig),compressionMiddlewareOptions)}}),resolveCompressionConfig=input=>{let{
|
|
10
|
+
disableRequestCompression,requestMinCompressionSizeBytes:_requestMinCompressionSizeBytes}=input;return Object.assign(input,{disableRequestCompression:normalizeProvider(disableRequestCompression),requestMinCompressionSizeBytes:async()=>{let requestMinCompressionSizeBytes=await normalizeProvider(_requestMinCompressionSizeBytes)();if(requestMinCompressionSizeBytes<0||requestMinCompressionSizeBytes>10485760)throw new RangeError(`The value for requestMinCompressionSizeBytes must be between 0 and 1048\
|
|
11
|
+
5760 inclusive. The provided value ${requestMinCompressionSizeBytes} is outside this range."`);return requestMinCompressionSizeBytes}})};exports.DEFAULT_DISABLE_REQUEST_COMPRESSION=DEFAULT_DISABLE_REQUEST_COMPRESSION;exports.DEFAULT_NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES=DEFAULT_NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES;exports.NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS=NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS;exports.NODE_DISABLE_REQUEST_COMPRESSION_ENV_NAME=NODE_DISABLE_REQUEST_COMPRESSION_ENV_NAME;
|
|
12
|
+
exports.NODE_DISABLE_REQUEST_COMPRESSION_INI_NAME=NODE_DISABLE_REQUEST_COMPRESSION_INI_NAME;exports.NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS=NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS;exports.NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_ENV_NAME=NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_ENV_NAME;exports.NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_INI_NAME=NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_INI_NAME;exports.compressionMiddleware=compressionMiddleware;exports.compressionMiddlewareOptions=
|
|
13
|
+
compressionMiddlewareOptions;exports.getCompressionPlugin=getCompressionPlugin;exports.resolveCompressionConfig=resolveCompressionConfig}});var require_dist_cjs4=__commonJS({"node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js"(exports){var{awsEndpointFunctions,emitWarningIfUnsupportedVersion:emitWarningIfUnsupportedVersion$1,createDefaultUserAgentProvider,NODE_APP_ID_CONFIG_OPTIONS,getAwsRegionExtensionConfiguration,resolveAwsRegionExtensionConfiguration,resolveUserAgentConfig,resolveHostHeaderConfig,getUserAgentPlugin,getHostHeaderPlugin,getLoggerPlugin,getRecursionDetectionPlugin}=(init_client2(),__toCommonJS(client_exports2)),
|
|
14
|
+
{getHttpAuthSchemeEndpointRuleSetPlugin,DefaultIdentityProviderConfig,getHttpSigningPlugin,createPaginator}=(init_dist_es(),__toCommonJS(dist_es_exports)),{normalizeProvider,getSmithyContext,ServiceException,NoOpLogger,emitWarningIfUnsupportedVersion,loadConfigsForDefaultMode,getDefaultExtensionConfiguration,resolveDefaultRuntimeConfig,Client,makeBuilder,createWaiter,checkExceptions,WaiterState,createAggregatedClient}=(init_client(),__toCommonJS(client_exports)),{Command:$Command}=(init_client(),__toCommonJS(client_exports));
|
|
15
|
+
exports.$Command=$Command;exports.__Client=Client;var{resolveDefaultsModeConfig,loadConfig,NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,NODE_REGION_CONFIG_OPTIONS,NODE_REGION_CONFIG_FILE_OPTIONS,resolveRegionConfig}=(init_config(),__toCommonJS(config_exports)),{BinaryDecisionDiagram,EndpointCache,decideEndpoint,customEndpointFunctions,resolveEndpointConfig,getEndpointPlugin}=(init_endpoints(),__toCommonJS(endpoints_exports)),{parseUrl,getHttpHandlerExtensionConfiguration,
|
|
16
|
+
resolveHttpHandlerRuntimeConfig,getContentLengthPlugin}=(init_protocols(),__toCommonJS(protocols_exports)),{DEFAULT_RETRY_MODE,NODE_RETRY_MODE_CONFIG_OPTIONS,NODE_MAX_ATTEMPT_CONFIG_OPTIONS,resolveRetryConfig,getRetryPlugin}=(init_retry(),__toCommonJS(retry_exports)),{TypeRegistry,getSchemaSerdePlugin}=(init_schema(),__toCommonJS(schema_exports)),{NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS,NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS,resolveCompressionConfig,getCompressionPlugin}=require_dist_cjs3(),
|
|
17
|
+
{resolveAwsSdkSigV4Config,AwsSdkSigV4Signer,NODE_AUTH_SCHEME_PREFERENCE_OPTIONS}=(init_httpAuthSchemes(),__toCommonJS(httpAuthSchemes_exports)),{defaultProvider}=require_dist_cjs2(),{toUtf8,fromUtf8,toBase64,fromBase64,calculateBodyLength}=(init_serde(),__toCommonJS(serde_exports)),{streamCollector,NodeHttpHandler}=require_dist_cjs(),{AwsJson1_0Protocol}=(init_protocols2(),__toCommonJS(protocols_exports2)),{Sha256}=(init_checksum(),__toCommonJS(checksum_exports)),defaultCloudWatchHttpAuthSchemeParametersProvider=async(config,context,input)=>({
|
|
18
|
+
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:"monitoring",region:authParameters.region},propertiesExtractor:(config,context)=>({signingProperties:{config,context}})}}var defaultCloudWatchHttpAuthSchemeProvider=authParameters=>{let options=[];switch(authParameters.
|
|
19
|
+
operation){default:options.push(createAwsAuthSigv4HttpAuthOption(authParameters))}return options},resolveHttpAuthSchemeConfig=config=>{let config_0=resolveAwsSdkSigV4Config(config);return Object.assign(config_0,{authSchemePreference:normalizeProvider(config.authSchemePreference??[])})},resolveClientEndpointParameters=options=>Object.assign(options,{useDualstackEndpoint:options.useDualstackEndpoint??!1,useFipsEndpoint:options.useFipsEndpoint??!1,defaultSigningName:"monitoring"}),commonParams={UseFIPS:{
|
|
20
|
+
type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},version="3.1145.0",packageInfo={version},k="ref",a=-1,b=!0,c="isSet",d="PartitionResult",e="booleanEquals",f="getAttr",g={[k]:"Endpoint"},h={[k]:d},i={},j=[{[k]:"Region"}],_data={conditions:[[c,[g]],[c,j],["aws.partition",j,d],[e,[{[k]:"UseFIPS"},b]],[e,[{[k]:"UseDualStack"},b]],["stringEquals",[{
|
|
21
|
+
fn:f,argv:[h,"name"]},"aws-us-gov"]],[e,[{fn:f,argv:[h,"supportsFIPS"]},b]],[e,[{fn:f,argv:[h,"supportsDualStack"]},b]]],results:[[a],[a,"Invalid Configuration: FIPS and custom endpoint are not supported"],[a,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[g,i],["https://monitoring.{Region}.{PartitionResult#dnsSuffix}",i],["https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}",i],["https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",i],[a,
|
|
22
|
+
"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}",i],[a,"FIPS is enabled but this partition does not support FIPS"],[a,"DualStack is enabled but this partition does not support DualStack"],[a,"Invalid Configuration: Missing Region"]]},root=2,r=1e8,nodes=new Int32Array([-1,1,-1,0,14,3,1,4,r+11,2,5,r+11,3,8,6,4,7,r+4,7,r+5,r+10,4,11,9,5,r+4,10,6,r+8,r+9,5,r+5,12,6,13,r+7,7,r+6,r+7,3,r+1,15,4,r+2,r+3]),
|
|
23
|
+
bdd=BinaryDecisionDiagram.from(nodes,root,_data.conditions,_data.results),cache=new EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),defaultEndpointResolver=(endpointParams,context={})=>cache.get(endpointParams,()=>decideEndpoint(bdd,{endpointParams,logger:context.logger}));customEndpointFunctions.aws=awsEndpointFunctions;var CloudWatchServiceException=class _CloudWatchServiceException extends ServiceException{constructor(options){super(options),Object.setPrototypeOf(
|
|
24
|
+
this,_CloudWatchServiceException.prototype)}},ConflictException=class _ConflictException extends CloudWatchServiceException{name="ConflictException";$fault="client";Message;constructor(opts){super({name:"ConflictException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ConflictException.prototype),this.Message=opts.Message}},KmsAccessDeniedException=class _KmsAccessDeniedException extends CloudWatchServiceException{name="KmsAccessDeniedException";$fault="client";Message;constructor(opts){
|
|
25
|
+
super({name:"KmsAccessDeniedException",$fault:"client",...opts}),Object.setPrototypeOf(this,_KmsAccessDeniedException.prototype),this.Message=opts.Message}},KmsKeyDisabledException=class _KmsKeyDisabledException extends CloudWatchServiceException{name="KmsKeyDisabledException";$fault="client";Message;constructor(opts){super({name:"KmsKeyDisabledException",$fault:"client",...opts}),Object.setPrototypeOf(this,_KmsKeyDisabledException.prototype),this.Message=opts.Message}},KmsKeyNotFoundException=class _KmsKeyNotFoundException extends CloudWatchServiceException{name="\
|
|
26
|
+
KmsKeyNotFoundException";$fault="client";Message;constructor(opts){super({name:"KmsKeyNotFoundException",$fault:"client",...opts}),Object.setPrototypeOf(this,_KmsKeyNotFoundException.prototype),this.Message=opts.Message}},ResourceNotFoundException=class _ResourceNotFoundException extends CloudWatchServiceException{name="ResourceNotFoundException";$fault="client";ResourceType;ResourceId;Message;constructor(opts){super({name:"ResourceNotFoundException",$fault:"client",...opts}),Object.setPrototypeOf(
|
|
27
|
+
this,_ResourceNotFoundException.prototype),this.ResourceType=opts.ResourceType,this.ResourceId=opts.ResourceId,this.Message=opts.Message}},ConcurrentModificationException=class _ConcurrentModificationException extends CloudWatchServiceException{name="ConcurrentModificationException";$fault="client";Message;constructor(opts){super({name:"ConcurrentModificationException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ConcurrentModificationException.prototype),this.Message=opts.Message}},DashboardInvalidInputError=class _DashboardInvalidInputError extends CloudWatchServiceException{name="\
|
|
28
|
+
DashboardInvalidInputError";$fault="client";dashboardValidationMessages;constructor(opts){super({name:"DashboardInvalidInputError",$fault:"client",...opts}),Object.setPrototypeOf(this,_DashboardInvalidInputError.prototype),this.dashboardValidationMessages=opts.dashboardValidationMessages}},DashboardNotFoundError=class _DashboardNotFoundError extends CloudWatchServiceException{name="DashboardNotFoundError";$fault="client";constructor(opts){super({name:"DashboardNotFoundError",$fault:"client",...opts}),
|
|
29
|
+
Object.setPrototypeOf(this,_DashboardNotFoundError.prototype)}},ResourceConflict=class _ResourceConflict extends CloudWatchServiceException{name="ResourceConflict";$fault="client";constructor(opts){super({name:"ResourceConflict",$fault:"client",...opts}),Object.setPrototypeOf(this,_ResourceConflict.prototype)}},ResourceNotFound=class _ResourceNotFound extends CloudWatchServiceException{name="ResourceNotFound";$fault="client";constructor(opts){super({name:"ResourceNotFound",$fault:"client",...opts}),
|
|
30
|
+
Object.setPrototypeOf(this,_ResourceNotFound.prototype)}},InternalServiceFault=class _InternalServiceFault extends CloudWatchServiceException{name="InternalServiceFault";$fault="server";Message;constructor(opts){super({name:"InternalServiceFault",$fault:"server",...opts}),Object.setPrototypeOf(this,_InternalServiceFault.prototype),this.Message=opts.Message}},InvalidParameterCombinationException=class _InvalidParameterCombinationException extends CloudWatchServiceException{name="InvalidParameterC\
|
|
31
|
+
ombinationException";$fault="client";constructor(opts){super({name:"InvalidParameterCombinationException",$fault:"client",...opts}),Object.setPrototypeOf(this,_InvalidParameterCombinationException.prototype)}},InvalidParameterValueException=class _InvalidParameterValueException extends CloudWatchServiceException{name="InvalidParameterValueException";$fault="client";constructor(opts){super({name:"InvalidParameterValueException",$fault:"client",...opts}),Object.setPrototypeOf(this,_InvalidParameterValueException.
|
|
32
|
+
prototype)}},MissingRequiredParameterException=class _MissingRequiredParameterException extends CloudWatchServiceException{name="MissingRequiredParameterException";$fault="client";constructor(opts){super({name:"MissingRequiredParameterException",$fault:"client",...opts}),Object.setPrototypeOf(this,_MissingRequiredParameterException.prototype)}},InvalidNextToken=class _InvalidNextToken extends CloudWatchServiceException{name="InvalidNextToken";$fault="client";constructor(opts){super({name:"Invali\
|
|
33
|
+
dNextToken",$fault:"client",...opts}),Object.setPrototypeOf(this,_InvalidNextToken.prototype)}},LimitExceededException=class _LimitExceededException extends CloudWatchServiceException{name="LimitExceededException";$fault="client";Message;constructor(opts){super({name:"LimitExceededException",$fault:"client",...opts}),Object.setPrototypeOf(this,_LimitExceededException.prototype),this.Message=opts.Message}},LimitExceededFault=class _LimitExceededFault extends CloudWatchServiceException{name="Limit\
|
|
34
|
+
ExceededFault";$fault="client";constructor(opts){super({name:"LimitExceededFault",$fault:"client",...opts}),Object.setPrototypeOf(this,_LimitExceededFault.prototype)}},InvalidFormatFault=class _InvalidFormatFault extends CloudWatchServiceException{name="InvalidFormatFault";$fault="client";constructor(opts){super({name:"InvalidFormatFault",$fault:"client",...opts}),Object.setPrototypeOf(this,_InvalidFormatFault.prototype)}},ValidationException=class _ValidationException extends CloudWatchServiceException{name="\
|
|
35
|
+
ValidationException";$fault="client";constructor(opts){super({name:"ValidationException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ValidationException.prototype)}},_A="Average",_AA="AlarmActions",_AAV="ApproximateAggregateValue",_AAl="AlarmArn",_AC="AlarmContributor",_ACA="AlarmContributorAttributes",_ACI="AlarmContributorId",_ACUT="AlarmConfigurationUpdatedTimestamp",_ACl="AlarmContributors",_AD="AnomalyDetector",_ADC="AnomalyDetectorConfiguration",_ADETR="AnomalyDetectorExcludedTim\
|
|
36
|
+
eRanges",_ADI="AnomalyDetectorId",_ADIn="AnomalyDetectorIds",_ADKK="AssociateDatasetKmsKey",_ADKKI="AssociateDatasetKmsKeyInput",_ADKKO="AssociateDatasetKmsKeyOutput",_ADT="AnomalyDetectorTypes",_ADl="AlarmDescription",_ADn="AnomalyDetectors",_AE="ActionsEnabled",_AEg="AggregationExpression",_AHI="AlarmHistoryItem",_AHIl="AlarmHistoryItems",_AI="AccountId",_ALLC="ActionLogLineCount",_ALLRA="ActionLogLineRoleArn",_AMRA="AlarmMuteRuleArn",_AMRN="AlarmMuteRuleName",_AMRS="AlarmMuteRuleSummary",_AMRSl="\
|
|
37
|
+
AlarmMuteRuleSummaries",_AN="AlarmName",_ANP="AlarmNamePrefix",_ANl="AlarmNames",_AOTL="ApplyOnTransformedLogs",_AP="ActionPrefix",_APQLC="AlarmPromQLCriteria",_AR="AlarmRule",_AS="ActionsSuppressor",_ASB="ActionsSuppressedBy",_ASEP="ActionsSuppressorExtensionPeriod",_ASR="ActionsSuppressedReason",_ASWP="ActionsSuppressorWaitPeriod",_ASd="AdditionalStatistics",_ASg="AggregationStatistic",_AT="AlarmType",_ATl="AlarmTypes",_AUC="ApproximateUniqueCount",_AV="AggregateValue",_AVp="ApproximateValue",
|
|
38
|
+
_Ar="Arn",_At="Attributes",_BF="BatchFailures",_C="Configuration",_CA="ContributorAttributes",_CAo="CompositeAlarm",_CAom="CompositeAlarms",_CAr="CreatedAt",_CD="CreationDate",_CE="ConflictException",_CI="ContributorId",_CME="ConcurrentModificationException",_CO="ComparisonOperator",_COAN="ChildrenOfAlarmName",_CRMC="CreateResourceMetricsConfiguration",_CRMCI="CreateResourceMetricsConfigurationInput",_CRMCO="CreateResourceMetricsConfigurationOutput",_Co="Contributors",_Cod="Code",_Cou="Counts",_D="\
|
|
39
|
+
Dimensions",_DA="DashboardArn",_DAA="DisableAlarmActions",_DAAI="DisableAlarmActionsInput",_DAC="DescribeAlarmContributors",_DACI="DescribeAlarmContributorsInput",_DACO="DescribeAlarmContributorsOutput",_DAD="DeleteAnomalyDetector",_DADI="DeleteAnomalyDetectorInput",_DADIe="DescribeAnomalyDetectorsInput",_DADO="DeleteAnomalyDetectorOutput",_DADOe="DescribeAnomalyDetectorsOutput",_DADe="DescribeAnomalyDetectors",_DAFM="DescribeAlarmsForMetric",_DAFMI="DescribeAlarmsForMetricInput",_DAFMO="Describ\
|
|
40
|
+
eAlarmsForMetricOutput",_DAH="DescribeAlarmHistory",_DAHI="DescribeAlarmHistoryInput",_DAHO="DescribeAlarmHistoryOutput",_DAI="DeleteAlarmsInput",_DAIe="DescribeAlarmsInput",_DAMR="DeleteAlarmMuteRule",_DAMRI="DeleteAlarmMuteRuleInput",_DAO="DescribeAlarmsOutput",_DAe="DeleteAlarms",_DAes="DescribeAlarms",_DB="DashboardBody",_DD="DeleteDashboards",_DDI="DeleteDashboardsInput",_DDKK="DisassociateDatasetKmsKey",_DDKKI="DisassociateDatasetKmsKeyInput",_DDKKO="DisassociateDatasetKmsKeyOutput",_DDO="\
|
|
41
|
+
DeleteDashboardsOutput",_DE="DashboardEntry",_DEa="DashboardEntries",_DF="DimensionFilter",_DFi="DimensionFilters",_DI="DatasetIdentifier",_DIIE="DashboardInvalidInputError",_DIR="DeleteInsightRules",_DIRI="DeleteInsightRulesInput",_DIRIe="DescribeInsightRulesInput",_DIRIi="DisableInsightRulesInput",_DIRO="DeleteInsightRulesOutput",_DIROe="DescribeInsightRulesOutput",_DIROi="DisableInsightRulesOutput",_DIRe="DescribeInsightRules",_DIRi="DisableInsightRules",_DIa="DatasetId",_DMS="DeleteMetricStr\
|
|
42
|
+
eam",_DMSI="DeleteMetricStreamInput",_DMSO="DeleteMetricStreamOutput",_DN="DashboardName",_DNFE="DashboardNotFoundError",_DNP="DashboardNamePrefix",_DNa="DashboardNames",_DP="DataPath",_DRMC="DeleteResourceMetricsConfiguration",_DRMCI="DeleteResourceMetricsConfigurationInput",_DRMCO="DeleteResourceMetricsConfigurationOutput",_DTA="DatapointsToAlarm",_DVM="DashboardValidationMessage",_DVMa="DashboardValidationMessages",_Da="Datapoint",_Dat="Datapoints",_De="Description",_Def="Definition",_Di="Dim\
|
|
43
|
+
ension",_Du="Duration",_E="Entity",_EAA="EnableAlarmActions",_EAAI="EnableAlarmActionsInput",_EC="EvaluationCriteria",_ED="ExpireDate",_EDn="EndDate",_EF="ExcludeFilters",_EI="EvaluationInterval",_EIR="EnableInsightRules",_EIRI="EnableInsightRulesInput",_EIRO="EnableInsightRulesOutput",_ELSCP="EvaluateLowSampleCountPercentile",_EMD="EntityMetricData",_EMDL="EntityMetricDataList",_EP="EvaluationPeriods",_ES="ExtendedStatistics",_ESv="EvaluationState",_ESx="ExtendedStatistic",_ET="EndTime",_ETO="E\
|
|
44
|
+
ndTimeOffset",_ETR="ExcludedTimeRanges",_ETx="ExceptionType",_EW="EvaluationWindow",_En="Entries",_Ex="Expression",_F="Failures",_FA="FirehoseArn",_FC="FailureCode",_FD="FailureDescription",_FR="FailureResource",_GAMR="GetAlarmMuteRule",_GAMRI="GetAlarmMuteRuleInput",_GAMRO="GetAlarmMuteRuleOutput",_GD="GetDashboard",_GDI="GetDashboardInput",_GDIe="GetDatasetInput",_GDO="GetDashboardOutput",_GDOe="GetDatasetOutput",_GDe="GetDataset",_GIRR="GetInsightRuleReport",_GIRRI="GetInsightRuleReportInput",
|
|
45
|
+
_GIRRO="GetInsightRuleReportOutput",_GMD="GetMetricData",_GMDI="GetMetricDataInput",_GMDO="GetMetricDataOutput",_GMS="GetMetricStatistics",_GMSI="GetMetricStatisticsInput",_GMSIe="GetMetricStreamInput",_GMSO="GetMetricStatisticsOutput",_GMSOe="GetMetricStreamOutput",_GMSe="GetMetricStream",_GMWI="GetMetricWidgetImage",_GMWII="GetMetricWidgetImageInput",_GMWIO="GetMetricWidgetImageOutput",_GOTE="GetOTelEnrichment",_GOTEI="GetOTelEnrichmentInput",_GOTEO="GetOTelEnrichmentOutput",_GRMC="GetResource\
|
|
46
|
+
MetricsConfiguration",_GRMCI="GetResourceMetricsConfigurationInput",_GRMCO="GetResourceMetricsConfigurationOutput",_HD="HistoryData",_HIT="HistoryItemType",_HS="HistorySummary",_I="Id",_IDA="InsufficientDataActions",_IF="IncludeFilters",_IFF="InvalidFormatFault",_ILA="IncludeLinkedAccounts",_ILAM="IncludeLinkedAccountsMetrics",_IM="IncludeMetrics",_INT="InvalidNextToken",_IPCE="InvalidParameterCombinationException",_IPVE="InvalidParameterValueException",_IR="InsightRules",_IRC="InsightRuleContri\
|
|
47
|
+
butor",_IRCD="InsightRuleContributorDatapoint",_IRCDn="InsightRuleContributorDatapoints",_IRCn="InsightRuleContributors",_IRMD="InsightRuleMetricDatapoint",_IRMDn="InsightRuleMetricDatapoints",_IRn="InsightRule",_ISF="InternalServiceFault",_K="Keys",_KA="KeyAttributes",_KADE="KmsAccessDeniedException",_KKA="KmsKeyArn",_KKDE="KmsKeyDisabledException",_KKNFE="KmsKeyNotFoundException",_KL="KeyLabels",_Ke="Key",_L="Label",_LA="LogAlarms",_LAMR="ListAlarmMuteRules",_LAMRI="ListAlarmMuteRulesInput",_LAMRO="\
|
|
48
|
+
ListAlarmMuteRulesOutput",_LAo="LogAlarm",_LD="ListDashboards",_LDI="ListDashboardsInput",_LDO="ListDashboardsOutput",_LEE="LimitExceededException",_LEF="LimitExceededFault",_LGI="LogGroupIdentifiers",_LM="LastModified",_LMI="ListMetricsInput",_LMIR="ListManagedInsightRules",_LMIRI="ListManagedInsightRulesInput",_LMIRO="ListManagedInsightRulesOutput",_LMO="ListMetricsOutput",_LMS="ListMetricStreams",_LMSI="ListMetricStreamsInput",_LMSO="ListMetricStreamsOutput",_LMi="ListMetrics",_LO="LabelOptio\
|
|
49
|
+
ns",_LTFR="ListTagsForResource",_LTFRI="ListTagsForResourceInput",_LTFRO="ListTagsForResourceOutput",_LUD="LastUpdateDate",_LUT="LastUpdatedTimestamp",_M="Message",_MA="MetricAlarms",_MAe="MetricAlarm",_MC="MetricCharacteristics",_MCC="MaxContributorCount",_MCV="MaxContributorValue",_MD="MetricData",_MDQ="MetricDataQueries",_MDQe="MetricDataQuery",_MDR="MetricDataResults",_MDRM="MetricDataResultMessages",_MDRe="MetricDataResult",_MDa="MaxDatapoints",_MDe="MetricDatapoints",_MDes="MessageData",_MDet="\
|
|
50
|
+
MetricDatum",_MMAD="MetricMathAnomalyDetector",_MN="MetricName",_MNe="MetricNames",_MR="MaxRecords",_MRD="ManagedRuleDescription",_MRDa="ManagedRuleDescriptions",_MRPE="MissingRequiredParameterException",_MRS="ManagedRuleState",_MRa="MaxResults",_MRan="ManagedRule",_MRana="ManagedRules",_MS="MetricSelections",_MSE="MetricStreamEntry",_MSEe="MetricStreamEntries",_MSF="MetricStreamFilter",_MSFe="MetricStreamFilters",_MSSC="MetricStreamStatisticsConfiguration",_MSSCe="MetricStreamStatisticsConfigur\
|
|
51
|
+
ations",_MSSIM="MetricStreamStatisticsIncludeMetrics",_MSSM="MetricStreamStatisticsMetric",_MSe="MetricStat",_MT="MuteType",_MTe="MetricTimezone",_MTu="MuteTargets",_MW="MetricWidget",_MWI="MetricWidgetImage",_Ma="Maximum",_Me="Metrics",_Mes="Messages",_Met="Metric",_Mi="Minimum",_N="Namespace",_NT="NextToken",_Na="Name",_Nam="Names",_OA="OwningAccount",_OAw="OwningAccounts",_OB="OrderBy",_OF="OutputFormat",_OKA="OKActions",_OSEAWUPE="OnlyStartEvaluatingAfterWarmUpPeriodEnds",_OTEMS="OTelEnrichm\
|
|
52
|
+
entMetricSelector",_OTEMSL="OTelEnrichmentMetricSelectorList",_P="Period",_PAD="PutAnomalyDetector",_PADI="PutAnomalyDetectorInput",_PADO="PutAnomalyDetectorOutput",_PAMR="PutAlarmMuteRule",_PAMRI="PutAlarmMuteRuleInput",_PCA="PutCompositeAlarm",_PCAI="PutCompositeAlarmInput",_PD="PutDashboard",_PDI="PutDashboardInput",_PDO="PutDashboardOutput",_PF="PartialFailure",_PIR="PutInsightRule",_PIRI="PutInsightRuleInput",_PIRO="PutInsightRuleOutput",_PLA="PutLogAlarm",_PLAI="PutLogAlarmInput",_PMA="Put\
|
|
53
|
+
MetricAlarm",_PMAI="PutMetricAlarmInput",_PMD="PutMetricData",_PMDI="PutMetricDataInput",_PMIR="PutManagedInsightRules",_PMIRI="PutManagedInsightRulesInput",_PMIRO="PutManagedInsightRulesOutput",_PMS="PutMetricStream",_PMSI="PutMetricStreamInput",_PMSO="PutMetricStreamOutput",_POAN="ParentsOfAlarmName",_PP="PendingPeriod",_PQLC="PromQLCriteria",_PS="PeriodicSpikes",_Q="Query",_QARN="QueryARN",_QRTA="QueryResultsToAlarm",_QRTE="QueryResultsToEvaluate",_QS="QueryString",_R="Rule",_RA="ResourceArn",
|
|
54
|
+
_RARN="ResourceARN",_RAe="RecentlyActive",_RAo="RoleArn",_RC="ResourceConflict",_RD="ReturnData",_RDu="RuleDefinition",_RI="ResourceId",_RMC="ResourceMetricsConfiguration",_RMS="ResourceMetricSelection",_RMSL="ResourceMetricSelectionList",_RN="RuleNames",_RNF="ResourceNotFound",_RNFE="ResourceNotFoundException",_RNu="RuleName",_RP="RecoveryPeriod",_RS="RuleState",_RT="ResourceType",_Ra="Range",_S="Status",_SAS="SetAlarmState",_SASI="SetAlarmStateInput",_SB="ScanBy",_SC="SampleCount",_SCc="Schedu\
|
|
55
|
+
leConfiguration",_SCt="StatisticsConfigurations",_SCta="StatusCode",_SD="StartDate",_SE="ScheduleExpression",_SEV="StrictEntityValidation",_SMAD="SingleMetricAnomalyDetector",_SMS="StartMetricStreams",_SMSI="StartMetricStreamsInput",_SMSIt="StopMetricStreamsInput",_SMSO="StartMetricStreamsOutput",_SMSOt="StopMetricStreamsOutput",_SMSt="StopMetricStreams",_SOTE="StartOTelEnrichment",_SOTEI="StartOTelEnrichmentInput",_SOTEIt="StopOTelEnrichmentInput",_SOTEO="StartOTelEnrichmentOutput",_SOTEOt="Sto\
|
|
56
|
+
pOTelEnrichmentOutput",_SOTEt="StopOTelEnrichment",_SQC="ScheduledQueryConfiguration",_SQRARN="ScheduledQueryRoleARN",_SR="StateReason",_SRD="StateReasonData",_SRt="StorageResolution",_SS="StatisticSet",_ST="StartTime",_STO="StartTimeOffset",_STT="StateTransitionedTimestamp",_SUT="StateUpdatedTimestamp",_SV="StateValue",_SVt="StatisticValues",_SW="SlidingWindow",_Sc="Schema",_Sch="Schedule",_Si="Size",_St="Stat",_Sta="Statistic",_Stat="Statistics",_State="State",_Statu="Statuses",_Su="Sum",_T="T\
|
|
57
|
+
imestamp",_TK="TagKeys",_TL="TagList",_TMD="TreatMissingData",_TMI="ThresholdMetricId",_TN="TemplateName",_TR="TagResource",_TRI="TagResourceInput",_TRO="TagResourceOutput",_Ta="Tags",_Tag="Tag",_Th="Threshold",_Ti="Timezone",_Tim="Timestamps",_U="Unit",_UA="UpdatedAt",_UC="UniqueContributors",_UOTE="UpdateOTelEnrichment",_UOTEI="UpdateOTelEnrichmentInput",_UOTEO="UpdateOTelEnrichmentOutput",_UR="UntagResource",_URI="UntagResourceInput",_URMC="UpdateResourceMetricsConfiguration",_URMCI="UpdateRe\
|
|
58
|
+
sourceMetricsConfigurationInput",_URMCO="UpdateResourceMetricsConfigurationOutput",_URO="UntagResourceOutput",_V="Value",_VE="ValidationException",_Va="Values",_WCW="WallClockWindow",_WUC="WarmUpConfiguration",_WUPDIM="WarmUpPeriodDurationInMinutes",_aQE="awsQueryError",_c="client",_dVM="dashboardValidationMessages",_e="error",_hE="httpError",_m="message",_s="smithy.ts.sdk.synthetic.com.amazonaws.cloudwatch",_se="server",n0="com.amazonaws.cloudwatch",_s_registry=new TypeRegistry(_s),CloudWatchServiceException$=[
|
|
59
|
+
-3,_s,"CloudWatchServiceException",0,[],[]];_s_registry.registerError(CloudWatchServiceException$,CloudWatchServiceException);var n0_registry=new TypeRegistry(n0),ConcurrentModificationException$=[-3,n0,_CME,{[_aQE]:["ConcurrentModificationException",429],[_e]:_c,[_hE]:429},[_M],[0]];n0_registry.registerError(ConcurrentModificationException$,ConcurrentModificationException);var ConflictException$=[-3,n0,_CE,{[_e]:_c,[_hE]:409},[_M],[0]];n0_registry.registerError(ConflictException$,ConflictException);
|
|
60
|
+
var DashboardInvalidInputError$=[-3,n0,_DIIE,{[_aQE]:["InvalidParameterInput",400],[_e]:_c,[_hE]:400},[_m,_dVM],[0,()=>DashboardValidationMessages]];n0_registry.registerError(DashboardInvalidInputError$,DashboardInvalidInputError);var DashboardNotFoundError$=[-3,n0,_DNFE,{[_aQE]:["ResourceNotFound",404],[_e]:_c,[_hE]:404},[_m],[0]];n0_registry.registerError(DashboardNotFoundError$,DashboardNotFoundError);var InternalServiceFault$=[-3,n0,_ISF,{[_aQE]:["InternalServiceError",500],[_e]:_se,[_hE]:500},
|
|
61
|
+
[_M],[0]];n0_registry.registerError(InternalServiceFault$,InternalServiceFault);var InvalidFormatFault$=[-3,n0,_IFF,{[_aQE]:["InvalidFormat",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(InvalidFormatFault$,InvalidFormatFault);var InvalidNextToken$=[-3,n0,_INT,{[_aQE]:["InvalidNextToken",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(InvalidNextToken$,InvalidNextToken);var InvalidParameterCombinationException$=[-3,n0,_IPCE,{[_aQE]:["InvalidParameterCombination",400],[_e]:_c,
|
|
62
|
+
[_hE]:400},[_m],[0]];n0_registry.registerError(InvalidParameterCombinationException$,InvalidParameterCombinationException);var InvalidParameterValueException$=[-3,n0,_IPVE,{[_aQE]:["InvalidParameterValue",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(InvalidParameterValueException$,InvalidParameterValueException);var KmsAccessDeniedException$=[-3,n0,_KADE,{[_e]:_c},[_M],[0],1];n0_registry.registerError(KmsAccessDeniedException$,KmsAccessDeniedException);var KmsKeyDisabledException$=[
|
|
63
|
+
-3,n0,_KKDE,{[_e]:_c},[_M],[0],1];n0_registry.registerError(KmsKeyDisabledException$,KmsKeyDisabledException);var KmsKeyNotFoundException$=[-3,n0,_KKNFE,{[_e]:_c},[_M],[0],1];n0_registry.registerError(KmsKeyNotFoundException$,KmsKeyNotFoundException);var LimitExceededException$=[-3,n0,_LEE,{[_aQE]:["LimitExceededException",400],[_e]:_c,[_hE]:400},[_M],[0]];n0_registry.registerError(LimitExceededException$,LimitExceededException);var LimitExceededFault$=[-3,n0,_LEF,{[_aQE]:["LimitExceeded",400],[_e]:_c,
|
|
64
|
+
[_hE]:400},[_m],[0]];n0_registry.registerError(LimitExceededFault$,LimitExceededFault);var MissingRequiredParameterException$=[-3,n0,_MRPE,{[_aQE]:["MissingParameter",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(MissingRequiredParameterException$,MissingRequiredParameterException);var ResourceConflict$=[-3,n0,_RC,{[_aQE]:["ResourceConflict",409],[_e]:_c,[_hE]:409},[_m],[0]];n0_registry.registerError(ResourceConflict$,ResourceConflict);var ResourceNotFound$=[-3,n0,_RNF,{[_aQE]:["Re\
|
|
65
|
+
sourceNotFound",404],[_e]:_c,[_hE]:404},[_m],[0]];n0_registry.registerError(ResourceNotFound$,ResourceNotFound);var ResourceNotFoundException$=[-3,n0,_RNFE,{[_aQE]:["ResourceNotFoundException",404],[_e]:_c,[_hE]:404},[_RT,_RI,_M],[0,0,0]];n0_registry.registerError(ResourceNotFoundException$,ResourceNotFoundException);var ValidationException$=[-3,n0,_VE,{[_aQE]:["ValidationError",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(ValidationException$,ValidationException);var errorTypeRegistries=[
|
|
66
|
+
_s_registry,n0_registry],AlarmContributor$=[3,n0,_AC,0,[_CI,_CA,_SR,_STT],[0,128,0,4],3],AlarmHistoryItem$=[3,n0,_AHI,0,[_AN,_ACI,_AT,_T,_HIT,_HS,_HD,_ACA],[0,0,0,4,0,0,0,128]],AlarmMuteRuleSummary$=[3,n0,_AMRS,0,[_AMRA,_ED,_S,_MT,_LUT],[0,4,0,0,4]],AlarmPromQLCriteria$=[3,n0,_APQLC,0,[_Q,_PP,_RP],[0,1,1],1],AnomalyDetector$=[3,n0,_AD,0,[_ADI,_N,_MN,_D,_St,_C,_SV,_MC,_SMAD,_MMAD],[0,0,0,()=>Dimensions,0,()=>AnomalyDetectorConfiguration$,0,()=>MetricCharacteristics$,()=>SingleMetricAnomalyDetector$,
|
|
67
|
+
()=>MetricMathAnomalyDetector$]],AnomalyDetectorConfiguration$=[3,n0,_ADC,0,[_ETR,_MTe],[()=>AnomalyDetectorExcludedTimeRanges,0]],AssociateDatasetKmsKeyInput$=[3,n0,_ADKKI,0,[_DI,_KKA],[0,0],2],AssociateDatasetKmsKeyOutput$=[3,n0,_ADKKO,0,[],[]],CompositeAlarm$=[3,n0,_CAo,0,[_AE,_AA,_AAl,_ACUT,_ADl,_AN,_AR,_IDA,_OKA,_SR,_SRD,_SUT,_SV,_STT,_ASB,_ASR,_AS,_ASWP,_ASEP],[2,64,0,4,0,0,0,64,64,0,0,4,0,4,0,0,0,1,1]],CreateResourceMetricsConfigurationInput$=[3,n0,_CRMCI,0,[_RA,_MS],[0,()=>ResourceMetricSelectionList],
|
|
68
|
+
1],CreateResourceMetricsConfigurationOutput$=[3,n0,_CRMCO,0,[_RMC],[()=>ResourceMetricsConfiguration$],1],DashboardEntry$=[3,n0,_DE,0,[_DN,_DA,_LM,_Si],[0,0,4,1]],DashboardValidationMessage$=[3,n0,_DVM,0,[_DP,_M],[0,0]],Datapoint$=[3,n0,_Da,0,[_T,_SC,_A,_Su,_Mi,_Ma,_U,_ES],[4,1,1,1,1,1,0,129]],DeleteAlarmMuteRuleInput$=[3,n0,_DAMRI,0,[_AMRN],[0],1],DeleteAlarmsInput$=[3,n0,_DAI,0,[_ANl],[64],1],DeleteAnomalyDetectorInput$=[3,n0,_DADI,0,[_ADI,_N,_MN,_D,_St,_SMAD,_MMAD],[0,0,0,()=>Dimensions,0,()=>SingleMetricAnomalyDetector$,
|
|
69
|
+
()=>MetricMathAnomalyDetector$]],DeleteAnomalyDetectorOutput$=[3,n0,_DADO,0,[],[]],DeleteDashboardsInput$=[3,n0,_DDI,0,[_DNa],[64],1],DeleteDashboardsOutput$=[3,n0,_DDO,0,[],[]],DeleteInsightRulesInput$=[3,n0,_DIRI,0,[_RN],[64],1],DeleteInsightRulesOutput$=[3,n0,_DIRO,0,[_F],[()=>BatchFailures]],DeleteMetricStreamInput$=[3,n0,_DMSI,0,[_Na],[0],1],DeleteMetricStreamOutput$=[3,n0,_DMSO,0,[],[]],DeleteResourceMetricsConfigurationInput$=[3,n0,_DRMCI,0,[_RA],[0],1],DeleteResourceMetricsConfigurationOutput$=[
|
|
70
|
+
3,n0,_DRMCO,0,[],[]],DescribeAlarmContributorsInput$=[3,n0,_DACI,0,[_AN,_NT],[0,0],1],DescribeAlarmContributorsOutput$=[3,n0,_DACO,0,[_ACl,_NT],[()=>AlarmContributors,0],1],DescribeAlarmHistoryInput$=[3,n0,_DAHI,0,[_AN,_ACI,_ATl,_HIT,_SD,_EDn,_MR,_NT,_SB],[0,0,64,0,4,4,1,0,0]],DescribeAlarmHistoryOutput$=[3,n0,_DAHO,0,[_AHIl,_NT],[()=>AlarmHistoryItems,0]],DescribeAlarmsForMetricInput$=[3,n0,_DAFMI,0,[_MN,_N,_Sta,_ESx,_D,_P,_U],[0,0,0,0,()=>Dimensions,1,0],2],DescribeAlarmsForMetricOutput$=[3,n0,
|
|
71
|
+
_DAFMO,0,[_MA],[()=>MetricAlarms]],DescribeAlarmsInput$=[3,n0,_DAIe,0,[_ANl,_ANP,_ATl,_COAN,_POAN,_SV,_AP,_MR,_NT],[64,0,64,0,0,0,0,1,0]],DescribeAlarmsOutput$=[3,n0,_DAO,0,[_CAom,_MA,_LA,_NT],[()=>CompositeAlarms,()=>MetricAlarms,()=>LogAlarms,0]],DescribeAnomalyDetectorsInput$=[3,n0,_DADIe,0,[_ADIn,_NT,_MRa,_N,_MN,_D,_ADT],[64,0,1,0,0,()=>Dimensions,64]],DescribeAnomalyDetectorsOutput$=[3,n0,_DADOe,0,[_ADn,_NT],[()=>AnomalyDetectors,0]],DescribeInsightRulesInput$=[3,n0,_DIRIe,0,[_NT,_MRa],[0,1]],
|
|
72
|
+
DescribeInsightRulesOutput$=[3,n0,_DIROe,0,[_NT,_IR],[0,()=>InsightRules]],Dimension$=[3,n0,_Di,0,[_Na,_V],[0,0],2],DimensionFilter$=[3,n0,_DF,0,[_Na,_V],[0,0],1],DisableAlarmActionsInput$=[3,n0,_DAAI,0,[_ANl],[64],1],DisableInsightRulesInput$=[3,n0,_DIRIi,0,[_RN],[64],1],DisableInsightRulesOutput$=[3,n0,_DIROi,0,[_F],[()=>BatchFailures]],DisassociateDatasetKmsKeyInput$=[3,n0,_DDKKI,0,[_DI],[0],1],DisassociateDatasetKmsKeyOutput$=[3,n0,_DDKKO,0,[],[]],EnableAlarmActionsInput$=[3,n0,_EAAI,0,[_ANl],
|
|
73
|
+
[64],1],EnableInsightRulesInput$=[3,n0,_EIRI,0,[_RN],[64],1],EnableInsightRulesOutput$=[3,n0,_EIRO,0,[_F],[()=>BatchFailures]],Entity$=[3,n0,_E,0,[_KA,_At],[128,128]],EntityMetricData$=[3,n0,_EMD,0,[_E,_MD],[()=>Entity$,()=>MetricData]],GetAlarmMuteRuleInput$=[3,n0,_GAMRI,0,[_AMRN],[0],1],GetAlarmMuteRuleOutput$=[3,n0,_GAMRO,0,[_Na,_AMRA,_De,_R,_MTu,_SD,_ED,_S,_LUT,_MT],[0,0,0,()=>Rule$,()=>MuteTargets$,4,4,0,4,0]],GetDashboardInput$=[3,n0,_GDI,0,[_DN],[0],1],GetDashboardOutput$=[3,n0,_GDO,0,[_DA,
|
|
74
|
+
_DB,_DN],[0,0,0]],GetDatasetInput$=[3,n0,_GDIe,0,[_DI],[0],1],GetDatasetOutput$=[3,n0,_GDOe,0,[_DIa,_Ar,_KKA],[0,0,0],2],GetInsightRuleReportInput$=[3,n0,_GIRRI,0,[_RNu,_ST,_ET,_P,_MCC,_Me,_OB],[0,4,4,1,1,64,0],4],GetInsightRuleReportOutput$=[3,n0,_GIRRO,0,[_KL,_ASg,_AV,_AUC,_Co,_MDe],[64,0,1,1,()=>InsightRuleContributors,()=>InsightRuleMetricDatapoints]],GetMetricDataInput$=[3,n0,_GMDI,0,[_MDQ,_ST,_ET,_NT,_SB,_MDa,_LO],[()=>MetricDataQueries,4,4,0,0,1,()=>LabelOptions$],3],GetMetricDataOutput$=[
|
|
75
|
+
3,n0,_GMDO,0,[_MDR,_NT,_Mes],[()=>MetricDataResults,0,()=>MetricDataResultMessages]],GetMetricStatisticsInput$=[3,n0,_GMSI,0,[_N,_MN,_ST,_ET,_P,_D,_Stat,_ES,_U],[0,0,4,4,1,()=>Dimensions,64,64,0],5],GetMetricStatisticsOutput$=[3,n0,_GMSO,0,[_L,_Dat],[0,()=>Datapoints]],GetMetricStreamInput$=[3,n0,_GMSIe,0,[_Na],[0],1],GetMetricStreamOutput$=[3,n0,_GMSOe,0,[_Ar,_Na,_IF,_EF,_FA,_RAo,_State,_CD,_LUD,_OF,_SCt,_ILAM],[0,0,()=>MetricStreamFilters,()=>MetricStreamFilters,0,0,0,4,4,0,()=>MetricStreamStatisticsConfigurations,
|
|
76
|
+
2]],GetMetricWidgetImageInput$=[3,n0,_GMWII,0,[_MW,_OF],[0,0],1],GetMetricWidgetImageOutput$=[3,n0,_GMWIO,0,[_MWI],[21]],GetOTelEnrichmentInput$=[3,n0,_GOTEI,0,[],[]],GetOTelEnrichmentOutput$=[3,n0,_GOTEO,0,[_S,_IF,_EF,_CAr,_UA],[0,()=>OTelEnrichmentMetricSelectorList,()=>OTelEnrichmentMetricSelectorList,4,4],1],GetResourceMetricsConfigurationInput$=[3,n0,_GRMCI,0,[_RA],[0],1],GetResourceMetricsConfigurationOutput$=[3,n0,_GRMCO,0,[_RMC],[()=>ResourceMetricsConfiguration$],1],InsightRule$=[3,n0,_IRn,
|
|
77
|
+
0,[_Na,_State,_Sc,_Def,_MRan,_AOTL],[0,0,0,0,2,2],4],InsightRuleContributor$=[3,n0,_IRC,0,[_K,_AAV,_Dat],[64,1,()=>InsightRuleContributorDatapoints],3],InsightRuleContributorDatapoint$=[3,n0,_IRCD,0,[_T,_AVp],[4,1],2],InsightRuleMetricDatapoint$=[3,n0,_IRMD,0,[_T,_UC,_MCV,_SC,_A,_Su,_Mi,_Ma],[4,1,1,1,1,1,1,1],1],LabelOptions$=[3,n0,_LO,0,[_Ti],[0]],ListAlarmMuteRulesInput$=[3,n0,_LAMRI,0,[_AN,_Statu,_MR,_NT],[0,64,1,0]],ListAlarmMuteRulesOutput$=[3,n0,_LAMRO,0,[_AMRSl,_NT],[()=>AlarmMuteRuleSummaries,
|
|
78
|
+
0]],ListDashboardsInput$=[3,n0,_LDI,0,[_DNP,_NT],[0,0]],ListDashboardsOutput$=[3,n0,_LDO,0,[_DEa,_NT],[()=>DashboardEntries,0]],ListManagedInsightRulesInput$=[3,n0,_LMIRI,0,[_RARN,_NT,_MRa],[0,0,1],1],ListManagedInsightRulesOutput$=[3,n0,_LMIRO,0,[_MRana,_NT],[()=>ManagedRuleDescriptions,0]],ListMetricsInput$=[3,n0,_LMI,0,[_N,_MN,_D,_NT,_RAe,_ILA,_OA],[0,0,()=>DimensionFilters,0,0,2,0]],ListMetricsOutput$=[3,n0,_LMO,0,[_Me,_NT,_OAw],[()=>Metrics,0,64]],ListMetricStreamsInput$=[3,n0,_LMSI,0,[_NT,
|
|
79
|
+
_MRa],[0,1]],ListMetricStreamsOutput$=[3,n0,_LMSO,0,[_NT,_En],[0,()=>MetricStreamEntries]],ListTagsForResourceInput$=[3,n0,_LTFRI,0,[_RARN],[0],1],ListTagsForResourceOutput$=[3,n0,_LTFRO,0,[_Ta],[()=>TagList]],LogAlarm$=[3,n0,_LAo,0,[_AN,_AAl,_ADl,_ACUT,_AE,_OKA,_AA,_IDA,_SV,_SR,_SRD,_SUT,_SQC,_QRTE,_QRTA,_Th,_CO,_TMD,_STT,_ESv,_ALLC,_ALLRA,_WUC],[0,0,0,4,2,64,64,64,0,0,0,4,()=>ScheduledQueryConfiguration$,1,1,1,0,0,4,0,1,0,()=>WarmUpConfiguration$]],ManagedRule$=[3,n0,_MRan,0,[_TN,_RARN,_Ta],[0,
|
|
80
|
+
0,()=>TagList],2],ManagedRuleDescription$=[3,n0,_MRD,0,[_TN,_RARN,_RS],[0,0,()=>ManagedRuleState$]],ManagedRuleState$=[3,n0,_MRS,0,[_RNu,_State],[0,0],2],MessageData$=[3,n0,_MDes,0,[_Cod,_V],[0,0]],Metric$=[3,n0,_Met,0,[_N,_MN,_D],[0,0,()=>Dimensions]],MetricAlarm$=[3,n0,_MAe,0,[_AN,_AAl,_ADl,_ACUT,_AE,_OKA,_AA,_IDA,_SV,_SR,_SRD,_SUT,_MN,_N,_Sta,_ESx,_D,_P,_U,_EP,_DTA,_Th,_CO,_TMD,_ELSCP,_Me,_TMI,_ESv,_STT,_EW,_WUC,_EC,_EI],[0,0,0,4,2,64,64,64,0,0,0,4,0,0,0,0,()=>Dimensions,1,0,1,1,1,0,0,0,()=>MetricDataQueries,
|
|
81
|
+
0,0,4,()=>EvaluationWindow$,()=>WarmUpConfiguration$,()=>EvaluationCriteria$,1]],MetricCharacteristics$=[3,n0,_MC,0,[_PS],[2]],MetricDataQuery$=[3,n0,_MDQe,0,[_I,_MSe,_Ex,_L,_RD,_P,_AI],[0,()=>MetricStat$,0,0,2,1,0],1],MetricDataResult$=[3,n0,_MDRe,0,[_I,_L,_Tim,_Va,_SCta,_Mes],[0,0,68,65,0,()=>MetricDataResultMessages]],MetricDatum$=[3,n0,_MDet,0,[_MN,_D,_T,_V,_SVt,_Va,_Cou,_U,_SRt],[0,()=>Dimensions,4,1,()=>StatisticSet$,65,65,0,1],1],MetricMathAnomalyDetector$=[3,n0,_MMAD,0,[_MDQ],[()=>MetricDataQueries]],
|
|
82
|
+
MetricStat$=[3,n0,_MSe,0,[_Met,_P,_St,_U],[()=>Metric$,1,0,0],3],MetricStreamEntry$=[3,n0,_MSE,0,[_Ar,_CD,_LUD,_Na,_FA,_State,_OF],[0,4,4,0,0,0,0]],MetricStreamFilter$=[3,n0,_MSF,0,[_N,_MNe],[0,64]],MetricStreamStatisticsConfiguration$=[3,n0,_MSSC,0,[_IM,_ASd],[()=>MetricStreamStatisticsIncludeMetrics,64],2],MetricStreamStatisticsMetric$=[3,n0,_MSSM,0,[_N,_MN],[0,0],2],MuteTargets$=[3,n0,_MTu,0,[_ANl],[64],1],OTelEnrichmentMetricSelector$=[3,n0,_OTEMS,0,[_N,_MNe],[0,64],1],PartialFailure$=[3,n0,
|
|
83
|
+
_PF,0,[_FR,_ETx,_FC,_FD],[0,0,0,0]],PutAlarmMuteRuleInput$=[3,n0,_PAMRI,0,[_Na,_R,_De,_MTu,_Ta,_SD,_ED],[0,()=>Rule$,0,()=>MuteTargets$,()=>TagList,4,4],2],PutAnomalyDetectorInput$=[3,n0,_PADI,0,[_N,_MN,_D,_St,_C,_MC,_SMAD,_MMAD],[0,0,()=>Dimensions,0,()=>AnomalyDetectorConfiguration$,()=>MetricCharacteristics$,()=>SingleMetricAnomalyDetector$,()=>MetricMathAnomalyDetector$]],PutAnomalyDetectorOutput$=[3,n0,_PADO,0,[_ADI],[0]],PutCompositeAlarmInput$=[3,n0,_PCAI,0,[_AN,_AR,_AE,_AA,_ADl,_IDA,_OKA,
|
|
84
|
+
_Ta,_AS,_ASWP,_ASEP],[0,0,2,64,0,64,64,()=>TagList,0,1,1],2],PutDashboardInput$=[3,n0,_PDI,0,[_DN,_DB,_Ta],[0,0,()=>TagList],2],PutDashboardOutput$=[3,n0,_PDO,0,[_DVMa],[()=>DashboardValidationMessages]],PutInsightRuleInput$=[3,n0,_PIRI,0,[_RNu,_RDu,_RS,_Ta,_AOTL],[0,0,0,()=>TagList,2],2],PutInsightRuleOutput$=[3,n0,_PIRO,0,[],[]],PutLogAlarmInput$=[3,n0,_PLAI,0,[_AN,_SQC,_QRTE,_QRTA,_Th,_CO,_ADl,_ALLC,_ALLRA,_AE,_OKA,_AA,_IDA,_TMD,_Ta,_WUC],[0,()=>ScheduledQueryConfiguration$,1,1,1,0,0,1,0,2,64,
|
|
85
|
+
64,64,0,()=>TagList,()=>WarmUpConfiguration$],6],PutManagedInsightRulesInput$=[3,n0,_PMIRI,0,[_MRana],[()=>ManagedRules],1],PutManagedInsightRulesOutput$=[3,n0,_PMIRO,0,[_F],[()=>BatchFailures]],PutMetricAlarmInput$=[3,n0,_PMAI,0,[_AN,_ADl,_AE,_OKA,_AA,_IDA,_MN,_N,_Sta,_ESx,_D,_P,_U,_EP,_DTA,_Th,_CO,_TMD,_ELSCP,_Me,_Ta,_TMI,_EW,_WUC,_EC,_EI],[0,0,2,64,64,64,0,0,0,0,()=>Dimensions,1,0,1,1,1,0,0,0,()=>MetricDataQueries,()=>TagList,0,()=>EvaluationWindow$,()=>WarmUpConfiguration$,()=>EvaluationCriteria$,
|
|
86
|
+
1],1],PutMetricDataInput$=[3,n0,_PMDI,0,[_N,_MD,_EMD,_SEV],[0,()=>MetricData,()=>EntityMetricDataList,2],1],PutMetricStreamInput$=[3,n0,_PMSI,0,[_Na,_FA,_RAo,_OF,_IF,_EF,_Ta,_SCt,_ILAM],[0,0,0,0,()=>MetricStreamFilters,()=>MetricStreamFilters,()=>TagList,()=>MetricStreamStatisticsConfigurations,2],4],PutMetricStreamOutput$=[3,n0,_PMSO,0,[_Ar],[0]],Range$=[3,n0,_Ra,0,[_ST,_ET],[4,4],2],ResourceMetricsConfiguration$=[3,n0,_RMC,0,[_RA,_CAr,_UA,_MS],[0,4,4,()=>ResourceMetricSelectionList],3],ResourceMetricSelection$=[
|
|
87
|
+
3,n0,_RMS,0,[_IM],[64],1],Rule$=[3,n0,_R,0,[_Sch],[()=>Schedule$],1],Schedule$=[3,n0,_Sch,0,[_Ex,_Du,_Ti],[0,0,0],2],ScheduleConfiguration$=[3,n0,_SCc,0,[_SE,_STO,_ETO],[0,1,1],2],ScheduledQueryConfiguration$=[3,n0,_SQC,0,[_QS,_SQRARN,_SCc,_AEg,_LGI,_QARN,_Ta],[0,0,()=>ScheduleConfiguration$,0,64,0,()=>TagList],4],SetAlarmStateInput$=[3,n0,_SASI,0,[_AN,_SV,_SR,_SRD],[0,0,0,0],3],SingleMetricAnomalyDetector$=[3,n0,_SMAD,0,[_AI,_N,_MN,_D,_St],[0,0,0,()=>Dimensions,0]],SlidingWindow$=[3,n0,_SW,0,[],
|
|
88
|
+
[]],StartMetricStreamsInput$=[3,n0,_SMSI,0,[_Nam],[64],1],StartMetricStreamsOutput$=[3,n0,_SMSO,0,[],[]],StartOTelEnrichmentInput$=[3,n0,_SOTEI,0,[_IF,_EF],[()=>OTelEnrichmentMetricSelectorList,()=>OTelEnrichmentMetricSelectorList]],StartOTelEnrichmentOutput$=[3,n0,_SOTEO,0,[_IF,_EF,_CAr,_UA],[()=>OTelEnrichmentMetricSelectorList,()=>OTelEnrichmentMetricSelectorList,4,4]],StatisticSet$=[3,n0,_SS,0,[_SC,_Su,_Mi,_Ma],[1,1,1,1],4],StopMetricStreamsInput$=[3,n0,_SMSIt,0,[_Nam],[64],1],StopMetricStreamsOutput$=[
|
|
89
|
+
3,n0,_SMSOt,0,[],[]],StopOTelEnrichmentInput$=[3,n0,_SOTEIt,0,[],[]],StopOTelEnrichmentOutput$=[3,n0,_SOTEOt,0,[],[]],Tag$=[3,n0,_Tag,0,[_Ke,_V],[0,0],2],TagResourceInput$=[3,n0,_TRI,0,[_RARN,_Ta],[0,()=>TagList],2],TagResourceOutput$=[3,n0,_TRO,0,[],[]],UntagResourceInput$=[3,n0,_URI,0,[_RARN,_TK],[0,64],2],UntagResourceOutput$=[3,n0,_URO,0,[],[]],UpdateOTelEnrichmentInput$=[3,n0,_UOTEI,0,[_IF,_EF],[()=>OTelEnrichmentMetricSelectorList,()=>OTelEnrichmentMetricSelectorList]],UpdateOTelEnrichmentOutput$=[
|
|
90
|
+
3,n0,_UOTEO,0,[_IF,_EF,_CAr,_UA],[()=>OTelEnrichmentMetricSelectorList,()=>OTelEnrichmentMetricSelectorList,4,4]],UpdateResourceMetricsConfigurationInput$=[3,n0,_URMCI,0,[_RA,_MS],[0,()=>ResourceMetricSelectionList],1],UpdateResourceMetricsConfigurationOutput$=[3,n0,_URMCO,0,[_RMC],[()=>ResourceMetricsConfiguration$],1],WallClockWindow$=[3,n0,_WCW,0,[_Ti],[0]],WarmUpConfiguration$=[3,n0,_WUC,0,[_WUPDIM,_OSEAWUPE],[1,2],1],__Unit="unit",AlarmContributors=[1,n0,_ACl,0,()=>AlarmContributor$],AlarmHistoryItems=[
|
|
91
|
+
1,n0,_AHIl,0,()=>AlarmHistoryItem$],AlarmMuteRuleSummaries=[1,n0,_AMRSl,0,()=>AlarmMuteRuleSummary$],AnomalyDetectorExcludedTimeRanges=[1,n0,_ADETR,0,()=>Range$],AnomalyDetectors=[1,n0,_ADn,0,()=>AnomalyDetector$],BatchFailures=[1,n0,_BF,0,()=>PartialFailure$],CompositeAlarms=[1,n0,_CAom,0,()=>CompositeAlarm$],DashboardEntries=[1,n0,_DEa,0,()=>DashboardEntry$],DashboardValidationMessages=[1,n0,_DVMa,0,()=>DashboardValidationMessage$],Datapoints=[1,n0,_Dat,0,()=>Datapoint$],DimensionFilters=[1,n0,
|
|
92
|
+
_DFi,0,()=>DimensionFilter$],Dimensions=[1,n0,_D,0,()=>Dimension$],EntityMetricDataList=[1,n0,_EMDL,0,()=>EntityMetricData$],InsightRuleContributorDatapoints=[1,n0,_IRCDn,0,()=>InsightRuleContributorDatapoint$],InsightRuleContributors=[1,n0,_IRCn,0,()=>InsightRuleContributor$],InsightRuleMetricDatapoints=[1,n0,_IRMDn,0,()=>InsightRuleMetricDatapoint$],InsightRules=[1,n0,_IR,0,()=>InsightRule$],LogAlarms=[1,n0,_LA,0,()=>LogAlarm$],ManagedRuleDescriptions=[1,n0,_MRDa,0,()=>ManagedRuleDescription$],
|
|
93
|
+
ManagedRules=[1,n0,_MRana,0,()=>ManagedRule$],MetricAlarms=[1,n0,_MA,0,()=>MetricAlarm$],MetricData=[1,n0,_MD,0,()=>MetricDatum$],MetricDataQueries=[1,n0,_MDQ,0,()=>MetricDataQuery$],MetricDataResultMessages=[1,n0,_MDRM,0,()=>MessageData$],MetricDataResults=[1,n0,_MDR,0,()=>MetricDataResult$],Metrics=[1,n0,_Me,0,()=>Metric$],MetricStreamEntries=[1,n0,_MSEe,0,()=>MetricStreamEntry$],MetricStreamFilters=[1,n0,_MSFe,0,()=>MetricStreamFilter$],MetricStreamStatisticsConfigurations=[1,n0,_MSSCe,0,()=>MetricStreamStatisticsConfiguration$],
|
|
94
|
+
MetricStreamStatisticsIncludeMetrics=[1,n0,_MSSIM,0,()=>MetricStreamStatisticsMetric$],OTelEnrichmentMetricSelectorList=[1,n0,_OTEMSL,0,()=>OTelEnrichmentMetricSelector$],ResourceMetricSelectionList=[1,n0,_RMSL,0,()=>ResourceMetricSelection$],TagList=[1,n0,_TL,0,()=>Tag$],EvaluationCriteria$=[4,n0,_EC,0,[_PQLC],[()=>AlarmPromQLCriteria$]],EvaluationWindow$=[4,n0,_EW,0,[_WCW,_SW],[()=>WallClockWindow$,()=>SlidingWindow$]],AssociateDatasetKmsKey$=[9,n0,_ADKK,0,()=>AssociateDatasetKmsKeyInput$,()=>AssociateDatasetKmsKeyOutput$],
|
|
95
|
+
CreateResourceMetricsConfiguration$=[9,n0,_CRMC,0,()=>CreateResourceMetricsConfigurationInput$,()=>CreateResourceMetricsConfigurationOutput$],DeleteAlarmMuteRule$=[9,n0,_DAMR,0,()=>DeleteAlarmMuteRuleInput$,()=>__Unit],DeleteAlarms$=[9,n0,_DAe,0,()=>DeleteAlarmsInput$,()=>__Unit],DeleteAnomalyDetector$=[9,n0,_DAD,0,()=>DeleteAnomalyDetectorInput$,()=>DeleteAnomalyDetectorOutput$],DeleteDashboards$=[9,n0,_DD,0,()=>DeleteDashboardsInput$,()=>DeleteDashboardsOutput$],DeleteInsightRules$=[9,n0,_DIR,
|
|
96
|
+
0,()=>DeleteInsightRulesInput$,()=>DeleteInsightRulesOutput$],DeleteMetricStream$=[9,n0,_DMS,0,()=>DeleteMetricStreamInput$,()=>DeleteMetricStreamOutput$],DeleteResourceMetricsConfiguration$=[9,n0,_DRMC,0,()=>DeleteResourceMetricsConfigurationInput$,()=>DeleteResourceMetricsConfigurationOutput$],DescribeAlarmContributors$=[9,n0,_DAC,0,()=>DescribeAlarmContributorsInput$,()=>DescribeAlarmContributorsOutput$],DescribeAlarmHistory$=[9,n0,_DAH,0,()=>DescribeAlarmHistoryInput$,()=>DescribeAlarmHistoryOutput$],
|
|
97
|
+
DescribeAlarms$=[9,n0,_DAes,0,()=>DescribeAlarmsInput$,()=>DescribeAlarmsOutput$],DescribeAlarmsForMetric$=[9,n0,_DAFM,0,()=>DescribeAlarmsForMetricInput$,()=>DescribeAlarmsForMetricOutput$],DescribeAnomalyDetectors$=[9,n0,_DADe,0,()=>DescribeAnomalyDetectorsInput$,()=>DescribeAnomalyDetectorsOutput$],DescribeInsightRules$=[9,n0,_DIRe,0,()=>DescribeInsightRulesInput$,()=>DescribeInsightRulesOutput$],DisableAlarmActions$=[9,n0,_DAA,0,()=>DisableAlarmActionsInput$,()=>__Unit],DisableInsightRules$=[
|
|
98
|
+
9,n0,_DIRi,0,()=>DisableInsightRulesInput$,()=>DisableInsightRulesOutput$],DisassociateDatasetKmsKey$=[9,n0,_DDKK,2,()=>DisassociateDatasetKmsKeyInput$,()=>DisassociateDatasetKmsKeyOutput$],EnableAlarmActions$=[9,n0,_EAA,0,()=>EnableAlarmActionsInput$,()=>__Unit],EnableInsightRules$=[9,n0,_EIR,0,()=>EnableInsightRulesInput$,()=>EnableInsightRulesOutput$],GetAlarmMuteRule$=[9,n0,_GAMR,0,()=>GetAlarmMuteRuleInput$,()=>GetAlarmMuteRuleOutput$],GetDashboard$=[9,n0,_GD,0,()=>GetDashboardInput$,()=>GetDashboardOutput$],
|
|
99
|
+
GetDataset$=[9,n0,_GDe,0,()=>GetDatasetInput$,()=>GetDatasetOutput$],GetInsightRuleReport$=[9,n0,_GIRR,0,()=>GetInsightRuleReportInput$,()=>GetInsightRuleReportOutput$],GetMetricData$=[9,n0,_GMD,0,()=>GetMetricDataInput$,()=>GetMetricDataOutput$],GetMetricStatistics$=[9,n0,_GMS,0,()=>GetMetricStatisticsInput$,()=>GetMetricStatisticsOutput$],GetMetricStream$=[9,n0,_GMSe,0,()=>GetMetricStreamInput$,()=>GetMetricStreamOutput$],GetMetricWidgetImage$=[9,n0,_GMWI,0,()=>GetMetricWidgetImageInput$,()=>GetMetricWidgetImageOutput$],
|
|
100
|
+
GetOTelEnrichment$=[9,n0,_GOTE,0,()=>GetOTelEnrichmentInput$,()=>GetOTelEnrichmentOutput$],GetResourceMetricsConfiguration$=[9,n0,_GRMC,0,()=>GetResourceMetricsConfigurationInput$,()=>GetResourceMetricsConfigurationOutput$],ListAlarmMuteRules$=[9,n0,_LAMR,0,()=>ListAlarmMuteRulesInput$,()=>ListAlarmMuteRulesOutput$],ListDashboards$=[9,n0,_LD,0,()=>ListDashboardsInput$,()=>ListDashboardsOutput$],ListManagedInsightRules$=[9,n0,_LMIR,0,()=>ListManagedInsightRulesInput$,()=>ListManagedInsightRulesOutput$],
|
|
101
|
+
ListMetrics$=[9,n0,_LMi,0,()=>ListMetricsInput$,()=>ListMetricsOutput$],ListMetricStreams$=[9,n0,_LMS,0,()=>ListMetricStreamsInput$,()=>ListMetricStreamsOutput$],ListTagsForResource$=[9,n0,_LTFR,0,()=>ListTagsForResourceInput$,()=>ListTagsForResourceOutput$],PutAlarmMuteRule$=[9,n0,_PAMR,0,()=>PutAlarmMuteRuleInput$,()=>__Unit],PutAnomalyDetector$=[9,n0,_PAD,0,()=>PutAnomalyDetectorInput$,()=>PutAnomalyDetectorOutput$],PutCompositeAlarm$=[9,n0,_PCA,0,()=>PutCompositeAlarmInput$,()=>__Unit],PutDashboard$=[
|
|
102
|
+
9,n0,_PD,0,()=>PutDashboardInput$,()=>PutDashboardOutput$],PutInsightRule$=[9,n0,_PIR,0,()=>PutInsightRuleInput$,()=>PutInsightRuleOutput$],PutLogAlarm$=[9,n0,_PLA,0,()=>PutLogAlarmInput$,()=>__Unit],PutManagedInsightRules$=[9,n0,_PMIR,0,()=>PutManagedInsightRulesInput$,()=>PutManagedInsightRulesOutput$],PutMetricAlarm$=[9,n0,_PMA,0,()=>PutMetricAlarmInput$,()=>__Unit],PutMetricData$=[9,n0,_PMD,0,()=>PutMetricDataInput$,()=>__Unit],PutMetricStream$=[9,n0,_PMS,0,()=>PutMetricStreamInput$,()=>PutMetricStreamOutput$],
|
|
103
|
+
SetAlarmState$=[9,n0,_SAS,0,()=>SetAlarmStateInput$,()=>__Unit],StartMetricStreams$=[9,n0,_SMS,0,()=>StartMetricStreamsInput$,()=>StartMetricStreamsOutput$],StartOTelEnrichment$=[9,n0,_SOTE,0,()=>StartOTelEnrichmentInput$,()=>StartOTelEnrichmentOutput$],StopMetricStreams$=[9,n0,_SMSt,0,()=>StopMetricStreamsInput$,()=>StopMetricStreamsOutput$],StopOTelEnrichment$=[9,n0,_SOTEt,0,()=>StopOTelEnrichmentInput$,()=>StopOTelEnrichmentOutput$],TagResource$=[9,n0,_TR,0,()=>TagResourceInput$,()=>TagResourceOutput$],
|
|
104
|
+
UntagResource$=[9,n0,_UR,0,()=>UntagResourceInput$,()=>UntagResourceOutput$],UpdateOTelEnrichment$=[9,n0,_UOTE,0,()=>UpdateOTelEnrichmentInput$,()=>UpdateOTelEnrichmentOutput$],UpdateResourceMetricsConfiguration$=[9,n0,_URMC,0,()=>UpdateResourceMetricsConfigurationInput$,()=>UpdateResourceMetricsConfigurationOutput$],getRuntimeConfig$1=config=>({apiVersion:"2010-08-01",base64Decoder:config?.base64Decoder??fromBase64,base64Encoder:config?.base64Encoder??toBase64,disableHostPrefix:config?.disableHostPrefix??
|
|
105
|
+
!1,endpointProvider:config?.endpointProvider??defaultEndpointResolver,extensions:config?.extensions??[],httpAuthSchemeProvider:config?.httpAuthSchemeProvider??defaultCloudWatchHttpAuthSchemeProvider,httpAuthSchemes:config?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:ipc=>ipc.getIdentityProvider("aws.auth#sigv4"),signer:new AwsSdkSigV4Signer}],logger:config?.logger??new NoOpLogger,protocol:config?.protocol??AwsJson1_0Protocol,protocolSettings:config?.protocolSettings??{defaultNamespace:"\
|
|
106
|
+
com.amazonaws.cloudwatch",errorTypeRegistries,xmlNamespace:"http://monitoring.amazonaws.com/doc/2010-08-01/",version:"2010-08-01",serviceTarget:"GraniteServiceVersion20100801",awsQueryCompatible:!0},serviceId:config?.serviceId??"CloudWatch",sha256:config?.sha256??Sha256,urlParser:config?.urlParser??parseUrl,utf8Decoder:config?.utf8Decoder??fromUtf8,utf8Encoder:config?.utf8Encoder??toUtf8}),getRuntimeConfig=config=>{emitWarningIfUnsupportedVersion(process.version);let defaultsMode=resolveDefaultsModeConfig(
|
|
107
|
+
config),defaultConfigProvider=()=>defaultsMode().then(loadConfigsForDefaultMode),clientSharedValues=getRuntimeConfig$1(config);emitWarningIfUnsupportedVersion$1(process.version);let 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?.
|
|
108
|
+
credentialDefaultProvider??defaultProvider,defaultUserAgentProvider:config?.defaultUserAgentProvider??createDefaultUserAgentProvider({serviceId:clientSharedValues.serviceId,clientVersion:packageInfo.version}),disableRequestCompression:config?.disableRequestCompression??loadConfig(NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS,config),maxAttempts:config?.maxAttempts??loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS,config),region:config?.region??loadConfig(NODE_REGION_CONFIG_OPTIONS,{...NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
109
|
+
...loaderConfig}),requestHandler:NodeHttpHandler.create(config?.requestHandler??defaultConfigProvider),requestMinCompressionSizeBytes:config?.requestMinCompressionSizeBytes??loadConfig(NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS,config),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??
|
|
110
|
+
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)}},getHttpAuthExtensionConfiguration=runtimeConfig=>{let _httpAuthSchemes=runtimeConfig.httpAuthSchemes,_httpAuthSchemeProvider=runtimeConfig.httpAuthSchemeProvider,_credentials=runtimeConfig.credentials;return{setHttpAuthScheme(httpAuthScheme){
|
|
111
|
+
let index=_httpAuthSchemes.findIndex(scheme=>scheme.schemeId===httpAuthScheme.schemeId);index===-1?_httpAuthSchemes.push(httpAuthScheme):_httpAuthSchemes.splice(index,1,httpAuthScheme)},httpAuthSchemes(){return _httpAuthSchemes},setHttpAuthSchemeProvider(httpAuthSchemeProvider){_httpAuthSchemeProvider=httpAuthSchemeProvider},httpAuthSchemeProvider(){return _httpAuthSchemeProvider},setCredentials(credentials){_credentials=credentials},credentials(){return _credentials}}},resolveHttpAuthRuntimeConfig=config=>({
|
|
112
|
+
httpAuthSchemes:config.httpAuthSchemes(),httpAuthSchemeProvider:config.httpAuthSchemeProvider(),credentials:config.credentials()}),resolveRuntimeExtensions=(runtimeConfig,extensions)=>{let extensionConfiguration=Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig),getDefaultExtensionConfiguration(runtimeConfig),getHttpHandlerExtensionConfiguration(runtimeConfig),getHttpAuthExtensionConfiguration(runtimeConfig));return extensions.forEach(extension=>extension.configure(extensionConfiguration)),
|
|
113
|
+
Object.assign(runtimeConfig,resolveAwsRegionExtensionConfiguration(extensionConfiguration),resolveDefaultRuntimeConfig(extensionConfiguration),resolveHttpHandlerRuntimeConfig(extensionConfiguration),resolveHttpAuthRuntimeConfig(extensionConfiguration))},CloudWatchClient=class extends Client{config;constructor(...[configuration]){let _config_0=getRuntimeConfig(configuration||{});super(_config_0),this.initConfig=_config_0;let _config_1=resolveClientEndpointParameters(_config_0),_config_2=resolveUserAgentConfig(
|
|
114
|
+
_config_1),_config_3=resolveRetryConfig(_config_2),_config_4=resolveRegionConfig(_config_3),_config_5=resolveHostHeaderConfig(_config_4),_config_6=resolveEndpointConfig(_config_5),_config_7=resolveHttpAuthSchemeConfig(_config_6),_config_8=resolveCompressionConfig(_config_7),_config_9=resolveRuntimeExtensions(_config_8,configuration?.extensions||[]);this.config=_config_9,this.middlewareStack.use(getSchemaSerdePlugin(this.config)),this.middlewareStack.use(getUserAgentPlugin(this.config)),this.middlewareStack.
|
|
115
|
+
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:defaultCloudWatchHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async config=>new DefaultIdentityProviderConfig(
|
|
116
|
+
{"aws.auth#sigv4":config.credentials})})),this.middlewareStack.use(getHttpSigningPlugin(this.config))}destroy(){super.destroy()}},command=makeBuilder(commonParams,"GraniteServiceVersion20100801","CloudWatchClient",getEndpointPlugin),_ep0={},_mw0=(Command,cs,config,o)=>[],_mw1=(Command,cs,config,o)=>[getCompressionPlugin(config,{encodings:["gzip"]})],AssociateDatasetKmsKeyCommand=class extends command(_ep0,_mw0,"AssociateDatasetKmsKey",AssociateDatasetKmsKey$){},CreateResourceMetricsConfigurationCommand=class extends command(
|
|
117
|
+
_ep0,_mw0,"CreateResourceMetricsConfiguration",CreateResourceMetricsConfiguration$){},DeleteAlarmMuteRuleCommand=class extends command(_ep0,_mw0,"DeleteAlarmMuteRule",DeleteAlarmMuteRule$){},DeleteAlarmsCommand=class extends command(_ep0,_mw0,"DeleteAlarms",DeleteAlarms$){},DeleteAnomalyDetectorCommand=class extends command(_ep0,_mw0,"DeleteAnomalyDetector",DeleteAnomalyDetector$){},DeleteDashboardsCommand=class extends command(_ep0,_mw0,"DeleteDashboards",DeleteDashboards$){},DeleteInsightRulesCommand=class extends command(
|
|
118
|
+
_ep0,_mw0,"DeleteInsightRules",DeleteInsightRules$){},DeleteMetricStreamCommand=class extends command(_ep0,_mw0,"DeleteMetricStream",DeleteMetricStream$){},DeleteResourceMetricsConfigurationCommand=class extends command(_ep0,_mw0,"DeleteResourceMetricsConfiguration",DeleteResourceMetricsConfiguration$){},DescribeAlarmContributorsCommand=class extends command(_ep0,_mw0,"DescribeAlarmContributors",DescribeAlarmContributors$){},DescribeAlarmHistoryCommand=class extends command(_ep0,_mw0,"DescribeAl\
|
|
119
|
+
armHistory",DescribeAlarmHistory$){},DescribeAlarmsCommand=class extends command(_ep0,_mw0,"DescribeAlarms",DescribeAlarms$){},DescribeAlarmsForMetricCommand=class extends command(_ep0,_mw0,"DescribeAlarmsForMetric",DescribeAlarmsForMetric$){},DescribeAnomalyDetectorsCommand=class extends command(_ep0,_mw0,"DescribeAnomalyDetectors",DescribeAnomalyDetectors$){},DescribeInsightRulesCommand=class extends command(_ep0,_mw0,"DescribeInsightRules",DescribeInsightRules$){},DisableAlarmActionsCommand=class extends command(
|
|
120
|
+
_ep0,_mw0,"DisableAlarmActions",DisableAlarmActions$){},DisableInsightRulesCommand=class extends command(_ep0,_mw0,"DisableInsightRules",DisableInsightRules$){},DisassociateDatasetKmsKeyCommand=class extends command(_ep0,_mw0,"DisassociateDatasetKmsKey",DisassociateDatasetKmsKey$){},EnableAlarmActionsCommand=class extends command(_ep0,_mw0,"EnableAlarmActions",EnableAlarmActions$){},EnableInsightRulesCommand=class extends command(_ep0,_mw0,"EnableInsightRules",EnableInsightRules$){},GetAlarmMuteRuleCommand=class extends command(
|
|
121
|
+
_ep0,_mw0,"GetAlarmMuteRule",GetAlarmMuteRule$){},GetDashboardCommand=class extends command(_ep0,_mw0,"GetDashboard",GetDashboard$){},GetDatasetCommand=class extends command(_ep0,_mw0,"GetDataset",GetDataset$){},GetInsightRuleReportCommand=class extends command(_ep0,_mw0,"GetInsightRuleReport",GetInsightRuleReport$){},GetMetricDataCommand=class extends command(_ep0,_mw0,"GetMetricData",GetMetricData$){},GetMetricStatisticsCommand=class extends command(_ep0,_mw0,"GetMetricStatistics",GetMetricStatistics$){},
|
|
122
|
+
GetMetricStreamCommand=class extends command(_ep0,_mw0,"GetMetricStream",GetMetricStream$){},GetMetricWidgetImageCommand=class extends command(_ep0,_mw0,"GetMetricWidgetImage",GetMetricWidgetImage$){},GetOTelEnrichmentCommand=class extends command(_ep0,_mw0,"GetOTelEnrichment",GetOTelEnrichment$){},GetResourceMetricsConfigurationCommand=class extends command(_ep0,_mw0,"GetResourceMetricsConfiguration",GetResourceMetricsConfiguration$){},ListAlarmMuteRulesCommand=class extends command(_ep0,_mw0,"\
|
|
123
|
+
ListAlarmMuteRules",ListAlarmMuteRules$){},ListDashboardsCommand=class extends command(_ep0,_mw0,"ListDashboards",ListDashboards$){},ListManagedInsightRulesCommand=class extends command(_ep0,_mw0,"ListManagedInsightRules",ListManagedInsightRules$){},ListMetricsCommand=class extends command(_ep0,_mw0,"ListMetrics",ListMetrics$){},ListMetricStreamsCommand=class extends command(_ep0,_mw0,"ListMetricStreams",ListMetricStreams$){},ListTagsForResourceCommand=class extends command(_ep0,_mw0,"ListTagsFo\
|
|
124
|
+
rResource",ListTagsForResource$){},PutAlarmMuteRuleCommand=class extends command(_ep0,_mw0,"PutAlarmMuteRule",PutAlarmMuteRule$){},PutAnomalyDetectorCommand=class extends command(_ep0,_mw0,"PutAnomalyDetector",PutAnomalyDetector$){},PutCompositeAlarmCommand=class extends command(_ep0,_mw0,"PutCompositeAlarm",PutCompositeAlarm$){},PutDashboardCommand=class extends command(_ep0,_mw0,"PutDashboard",PutDashboard$){},PutInsightRuleCommand=class extends command(_ep0,_mw0,"PutInsightRule",PutInsightRule$){},
|
|
125
|
+
PutLogAlarmCommand=class extends command(_ep0,_mw0,"PutLogAlarm",PutLogAlarm$){},PutManagedInsightRulesCommand=class extends command(_ep0,_mw0,"PutManagedInsightRules",PutManagedInsightRules$){},PutMetricAlarmCommand=class extends command(_ep0,_mw0,"PutMetricAlarm",PutMetricAlarm$){},PutMetricDataCommand=class extends command(_ep0,_mw1,"PutMetricData",PutMetricData$){},PutMetricStreamCommand=class extends command(_ep0,_mw0,"PutMetricStream",PutMetricStream$){},SetAlarmStateCommand=class extends command(
|
|
126
|
+
_ep0,_mw0,"SetAlarmState",SetAlarmState$){},StartMetricStreamsCommand=class extends command(_ep0,_mw0,"StartMetricStreams",StartMetricStreams$){},StartOTelEnrichmentCommand=class extends command(_ep0,_mw0,"StartOTelEnrichment",StartOTelEnrichment$){},StopMetricStreamsCommand=class extends command(_ep0,_mw0,"StopMetricStreams",StopMetricStreams$){},StopOTelEnrichmentCommand=class extends command(_ep0,_mw0,"StopOTelEnrichment",StopOTelEnrichment$){},TagResourceCommand=class extends command(_ep0,_mw0,
|
|
127
|
+
"TagResource",TagResource$){},UntagResourceCommand=class extends command(_ep0,_mw0,"UntagResource",UntagResource$){},UpdateOTelEnrichmentCommand=class extends command(_ep0,_mw0,"UpdateOTelEnrichment",UpdateOTelEnrichment$){},UpdateResourceMetricsConfigurationCommand=class extends command(_ep0,_mw0,"UpdateResourceMetricsConfiguration",UpdateResourceMetricsConfiguration$){},paginateDescribeAlarmHistory=createPaginator(CloudWatchClient,DescribeAlarmHistoryCommand,"NextToken","NextToken","MaxRecords"),
|
|
128
|
+
paginateDescribeAlarms=createPaginator(CloudWatchClient,DescribeAlarmsCommand,"NextToken","NextToken","MaxRecords"),paginateDescribeAnomalyDetectors=createPaginator(CloudWatchClient,DescribeAnomalyDetectorsCommand,"NextToken","NextToken","MaxResults"),paginateDescribeInsightRules=createPaginator(CloudWatchClient,DescribeInsightRulesCommand,"NextToken","NextToken","MaxResults"),paginateGetMetricData=createPaginator(CloudWatchClient,GetMetricDataCommand,"NextToken","NextToken","MaxDatapoints"),paginateListAlarmMuteRules=createPaginator(
|
|
129
|
+
CloudWatchClient,ListAlarmMuteRulesCommand,"NextToken","NextToken","MaxRecords"),paginateListDashboards=createPaginator(CloudWatchClient,ListDashboardsCommand,"NextToken","NextToken",""),paginateListManagedInsightRules=createPaginator(CloudWatchClient,ListManagedInsightRulesCommand,"NextToken","NextToken","MaxResults"),paginateListMetrics=createPaginator(CloudWatchClient,ListMetricsCommand,"NextToken","NextToken",""),paginateListMetricStreams=createPaginator(CloudWatchClient,ListMetricStreamsCommand,
|
|
130
|
+
"NextToken","NextToken","MaxResults"),checkState$3=async(client,input)=>{let reason;try{let result=await client.send(new DescribeAlarmsCommand(input));reason=result;try{if([].concat(...result.MetricAlarms).length>0==!0)return{state:WaiterState.SUCCESS,reason}}catch{}}catch(exception){reason=exception}return{state:WaiterState.RETRY,reason}},waitForAlarmExists=async(params,input)=>createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState$3),waitUntilAlarmExists=async(params,input)=>{let result=await createWaiter(
|
|
131
|
+
{...{minDelay:5,maxDelay:120},...params},input,checkState$3);return checkExceptions(result)},checkState$2=async(client,input)=>{let reason;try{return reason=await client.send(new GetAlarmMuteRuleCommand(input)),{state:WaiterState.SUCCESS,reason}}catch(exception){if(reason=exception,exception.name==="ResourceNotFoundException")return{state:WaiterState.RETRY,reason}}return{state:WaiterState.RETRY,reason}},waitForAlarmMuteRuleExists=async(params,input)=>createWaiter({...{minDelay:5,maxDelay:120},...params},
|
|
132
|
+
input,checkState$2),waitUntilAlarmMuteRuleExists=async(params,input)=>{let result=await createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState$2);return checkExceptions(result)},checkState$1=async(client,input)=>{let reason;try{let result=await client.send(new DescribeAlarmsCommand(input));reason=result;try{if([].concat(...result.CompositeAlarms).length>0==!0)return{state:WaiterState.SUCCESS,reason}}catch{}}catch(exception){reason=exception}return{state:WaiterState.RETRY,reason}},
|
|
133
|
+
waitForCompositeAlarmExists=async(params,input)=>createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState$1),waitUntilCompositeAlarmExists=async(params,input)=>{let result=await createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState$1);return checkExceptions(result)},checkState=async(client,input)=>{let reason;try{let result=await client.send(new DescribeAlarmsCommand(input));reason=result;try{if([].concat(...result.LogAlarms).length>0==!0)return{state:WaiterState.SUCCESS,
|
|
134
|
+
reason}}catch{}}catch(exception){reason=exception}return{state:WaiterState.RETRY,reason}},waitForLogAlarmExists=async(params,input)=>createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState),waitUntilLogAlarmExists=async(params,input)=>{let result=await createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState);return checkExceptions(result)},commands={AssociateDatasetKmsKeyCommand,CreateResourceMetricsConfigurationCommand,DeleteAlarmMuteRuleCommand,DeleteAlarmsCommand,
|
|
135
|
+
DeleteAnomalyDetectorCommand,DeleteDashboardsCommand,DeleteInsightRulesCommand,DeleteMetricStreamCommand,DeleteResourceMetricsConfigurationCommand,DescribeAlarmContributorsCommand,DescribeAlarmHistoryCommand,DescribeAlarmsCommand,DescribeAlarmsForMetricCommand,DescribeAnomalyDetectorsCommand,DescribeInsightRulesCommand,DisableAlarmActionsCommand,DisableInsightRulesCommand,DisassociateDatasetKmsKeyCommand,EnableAlarmActionsCommand,EnableInsightRulesCommand,GetAlarmMuteRuleCommand,GetDashboardCommand,
|
|
136
|
+
GetDatasetCommand,GetInsightRuleReportCommand,GetMetricDataCommand,GetMetricStatisticsCommand,GetMetricStreamCommand,GetMetricWidgetImageCommand,GetOTelEnrichmentCommand,GetResourceMetricsConfigurationCommand,ListAlarmMuteRulesCommand,ListDashboardsCommand,ListManagedInsightRulesCommand,ListMetricsCommand,ListMetricStreamsCommand,ListTagsForResourceCommand,PutAlarmMuteRuleCommand,PutAnomalyDetectorCommand,PutCompositeAlarmCommand,PutDashboardCommand,PutInsightRuleCommand,PutLogAlarmCommand,PutManagedInsightRulesCommand,
|
|
137
|
+
PutMetricAlarmCommand,PutMetricDataCommand,PutMetricStreamCommand,SetAlarmStateCommand,StartMetricStreamsCommand,StartOTelEnrichmentCommand,StopMetricStreamsCommand,StopOTelEnrichmentCommand,TagResourceCommand,UntagResourceCommand,UpdateOTelEnrichmentCommand,UpdateResourceMetricsConfigurationCommand},paginators={paginateDescribeAlarmHistory,paginateDescribeAlarms,paginateDescribeAnomalyDetectors,paginateDescribeInsightRules,paginateGetMetricData,paginateListAlarmMuteRules,paginateListDashboards,
|
|
138
|
+
paginateListManagedInsightRules,paginateListMetrics,paginateListMetricStreams},waiters={waitUntilAlarmExists,waitUntilCompositeAlarmExists,waitUntilLogAlarmExists,waitUntilAlarmMuteRuleExists},CloudWatch=class extends CloudWatchClient{};createAggregatedClient(commands,CloudWatch,{paginators,waiters});var ActionsSuppressedBy={Alarm:"Alarm",ExtensionPeriod:"ExtensionPeriod",WaitPeriod:"WaitPeriod"},AlarmType={CompositeAlarm:"CompositeAlarm",LogAlarm:"LogAlarm",MetricAlarm:"MetricAlarm"},HistoryItemType={
|
|
139
|
+
Action:"Action",AlarmContributorAction:"AlarmContributorAction",AlarmContributorStateUpdate:"AlarmContributorStateUpdate",ConfigurationUpdate:"ConfigurationUpdate",StateUpdate:"StateUpdate"},AlarmMuteRuleStatus={ACTIVE:"ACTIVE",EXPIRED:"EXPIRED",SCHEDULED:"SCHEDULED"},StandardUnit={Bits:"Bits",Bits_Second:"Bits/Second",Bytes:"Bytes",Bytes_Second:"Bytes/Second",Count:"Count",Count_Second:"Count/Second",Gigabits:"Gigabits",Gigabits_Second:"Gigabits/Second",Gigabytes:"Gigabytes",Gigabytes_Second:"G\
|
|
140
|
+
igabytes/Second",Kilobits:"Kilobits",Kilobits_Second:"Kilobits/Second",Kilobytes:"Kilobytes",Kilobytes_Second:"Kilobytes/Second",Megabits:"Megabits",Megabits_Second:"Megabits/Second",Megabytes:"Megabytes",Megabytes_Second:"Megabytes/Second",Microseconds:"Microseconds",Milliseconds:"Milliseconds",None:"None",Percent:"Percent",Seconds:"Seconds",Terabits:"Terabits",Terabits_Second:"Terabits/Second",Terabytes:"Terabytes",Terabytes_Second:"Terabytes/Second"},AnomalyDetectorStateValue={PENDING_TRAINING:"\
|
|
141
|
+
PENDING_TRAINING",TRAINED:"TRAINED",TRAINED_INSUFFICIENT_DATA:"TRAINED_INSUFFICIENT_DATA"},AnomalyDetectorType={METRIC_MATH:"METRIC_MATH",SINGLE_METRIC:"SINGLE_METRIC"},ComparisonOperator={GreaterThanOrEqualToThreshold:"GreaterThanOrEqualToThreshold",GreaterThanThreshold:"GreaterThanThreshold",GreaterThanUpperThreshold:"GreaterThanUpperThreshold",LessThanLowerOrGreaterThanUpperThreshold:"LessThanLowerOrGreaterThanUpperThreshold",LessThanLowerThreshold:"LessThanLowerThreshold",LessThanOrEqualToThreshold:"\
|
|
142
|
+
LessThanOrEqualToThreshold",LessThanThreshold:"LessThanThreshold"},StateValue={ALARM:"ALARM",INSUFFICIENT_DATA:"INSUFFICIENT_DATA",OK:"OK"},ScanBy={TIMESTAMP_ASCENDING:"TimestampAscending",TIMESTAMP_DESCENDING:"TimestampDescending"},EvaluationState={EVALUATION_ERROR:"EVALUATION_ERROR",EVALUATION_FAILURE:"EVALUATION_FAILURE",PARTIAL_DATA:"PARTIAL_DATA"},Statistic={Average:"Average",Maximum:"Maximum",Minimum:"Minimum",SampleCount:"SampleCount",Sum:"Sum"},StatusCode={COMPLETE:"Complete",FORBIDDEN:"\
|
|
143
|
+
Forbidden",INTERNAL_ERROR:"InternalError",PARTIAL_DATA:"PartialData"},MetricStreamOutputFormat={JSON:"json",OPEN_TELEMETRY_0_7:"opentelemetry0.7",OPEN_TELEMETRY_1_0:"opentelemetry1.0"},OTelEnrichmentStatus={RUNNING:"Running",STOPPED:"Stopped"},RecentlyActive={PT3H:"PT3H"};exports.ActionsSuppressedBy=ActionsSuppressedBy;exports.AlarmContributor$=AlarmContributor$;exports.AlarmHistoryItem$=AlarmHistoryItem$;exports.AlarmMuteRuleStatus=AlarmMuteRuleStatus;exports.AlarmMuteRuleSummary$=AlarmMuteRuleSummary$;
|
|
144
|
+
exports.AlarmPromQLCriteria$=AlarmPromQLCriteria$;exports.AlarmType=AlarmType;exports.AnomalyDetector$=AnomalyDetector$;exports.AnomalyDetectorConfiguration$=AnomalyDetectorConfiguration$;exports.AnomalyDetectorStateValue=AnomalyDetectorStateValue;exports.AnomalyDetectorType=AnomalyDetectorType;exports.AssociateDatasetKmsKey$=AssociateDatasetKmsKey$;exports.AssociateDatasetKmsKeyCommand=AssociateDatasetKmsKeyCommand;exports.AssociateDatasetKmsKeyInput$=AssociateDatasetKmsKeyInput$;exports.AssociateDatasetKmsKeyOutput$=
|
|
145
|
+
AssociateDatasetKmsKeyOutput$;exports.CloudWatch=CloudWatch;exports.CloudWatchClient=CloudWatchClient;exports.CloudWatchServiceException=CloudWatchServiceException;exports.CloudWatchServiceException$=CloudWatchServiceException$;exports.ComparisonOperator=ComparisonOperator;exports.CompositeAlarm$=CompositeAlarm$;exports.ConcurrentModificationException=ConcurrentModificationException;exports.ConcurrentModificationException$=ConcurrentModificationException$;exports.ConflictException=ConflictException;
|
|
146
|
+
exports.ConflictException$=ConflictException$;exports.CreateResourceMetricsConfiguration$=CreateResourceMetricsConfiguration$;exports.CreateResourceMetricsConfigurationCommand=CreateResourceMetricsConfigurationCommand;exports.CreateResourceMetricsConfigurationInput$=CreateResourceMetricsConfigurationInput$;exports.CreateResourceMetricsConfigurationOutput$=CreateResourceMetricsConfigurationOutput$;exports.DashboardEntry$=DashboardEntry$;exports.DashboardInvalidInputError=DashboardInvalidInputError;
|
|
147
|
+
exports.DashboardInvalidInputError$=DashboardInvalidInputError$;exports.DashboardNotFoundError=DashboardNotFoundError;exports.DashboardNotFoundError$=DashboardNotFoundError$;exports.DashboardValidationMessage$=DashboardValidationMessage$;exports.Datapoint$=Datapoint$;exports.DeleteAlarmMuteRule$=DeleteAlarmMuteRule$;exports.DeleteAlarmMuteRuleCommand=DeleteAlarmMuteRuleCommand;exports.DeleteAlarmMuteRuleInput$=DeleteAlarmMuteRuleInput$;exports.DeleteAlarms$=DeleteAlarms$;exports.DeleteAlarmsCommand=
|
|
148
|
+
DeleteAlarmsCommand;exports.DeleteAlarmsInput$=DeleteAlarmsInput$;exports.DeleteAnomalyDetector$=DeleteAnomalyDetector$;exports.DeleteAnomalyDetectorCommand=DeleteAnomalyDetectorCommand;exports.DeleteAnomalyDetectorInput$=DeleteAnomalyDetectorInput$;exports.DeleteAnomalyDetectorOutput$=DeleteAnomalyDetectorOutput$;exports.DeleteDashboards$=DeleteDashboards$;exports.DeleteDashboardsCommand=DeleteDashboardsCommand;exports.DeleteDashboardsInput$=DeleteDashboardsInput$;exports.DeleteDashboardsOutput$=
|
|
149
|
+
DeleteDashboardsOutput$;exports.DeleteInsightRules$=DeleteInsightRules$;exports.DeleteInsightRulesCommand=DeleteInsightRulesCommand;exports.DeleteInsightRulesInput$=DeleteInsightRulesInput$;exports.DeleteInsightRulesOutput$=DeleteInsightRulesOutput$;exports.DeleteMetricStream$=DeleteMetricStream$;exports.DeleteMetricStreamCommand=DeleteMetricStreamCommand;exports.DeleteMetricStreamInput$=DeleteMetricStreamInput$;exports.DeleteMetricStreamOutput$=DeleteMetricStreamOutput$;exports.DeleteResourceMetricsConfiguration$=
|
|
150
|
+
DeleteResourceMetricsConfiguration$;exports.DeleteResourceMetricsConfigurationCommand=DeleteResourceMetricsConfigurationCommand;exports.DeleteResourceMetricsConfigurationInput$=DeleteResourceMetricsConfigurationInput$;exports.DeleteResourceMetricsConfigurationOutput$=DeleteResourceMetricsConfigurationOutput$;exports.DescribeAlarmContributors$=DescribeAlarmContributors$;exports.DescribeAlarmContributorsCommand=DescribeAlarmContributorsCommand;exports.DescribeAlarmContributorsInput$=DescribeAlarmContributorsInput$;
|
|
151
|
+
exports.DescribeAlarmContributorsOutput$=DescribeAlarmContributorsOutput$;exports.DescribeAlarmHistory$=DescribeAlarmHistory$;exports.DescribeAlarmHistoryCommand=DescribeAlarmHistoryCommand;exports.DescribeAlarmHistoryInput$=DescribeAlarmHistoryInput$;exports.DescribeAlarmHistoryOutput$=DescribeAlarmHistoryOutput$;exports.DescribeAlarms$=DescribeAlarms$;exports.DescribeAlarmsCommand=DescribeAlarmsCommand;exports.DescribeAlarmsForMetric$=DescribeAlarmsForMetric$;exports.DescribeAlarmsForMetricCommand=
|
|
152
|
+
DescribeAlarmsForMetricCommand;exports.DescribeAlarmsForMetricInput$=DescribeAlarmsForMetricInput$;exports.DescribeAlarmsForMetricOutput$=DescribeAlarmsForMetricOutput$;exports.DescribeAlarmsInput$=DescribeAlarmsInput$;exports.DescribeAlarmsOutput$=DescribeAlarmsOutput$;exports.DescribeAnomalyDetectors$=DescribeAnomalyDetectors$;exports.DescribeAnomalyDetectorsCommand=DescribeAnomalyDetectorsCommand;exports.DescribeAnomalyDetectorsInput$=DescribeAnomalyDetectorsInput$;exports.DescribeAnomalyDetectorsOutput$=
|
|
153
|
+
DescribeAnomalyDetectorsOutput$;exports.DescribeInsightRules$=DescribeInsightRules$;exports.DescribeInsightRulesCommand=DescribeInsightRulesCommand;exports.DescribeInsightRulesInput$=DescribeInsightRulesInput$;exports.DescribeInsightRulesOutput$=DescribeInsightRulesOutput$;exports.Dimension$=Dimension$;exports.DimensionFilter$=DimensionFilter$;exports.DisableAlarmActions$=DisableAlarmActions$;exports.DisableAlarmActionsCommand=DisableAlarmActionsCommand;exports.DisableAlarmActionsInput$=DisableAlarmActionsInput$;
|
|
154
|
+
exports.DisableInsightRules$=DisableInsightRules$;exports.DisableInsightRulesCommand=DisableInsightRulesCommand;exports.DisableInsightRulesInput$=DisableInsightRulesInput$;exports.DisableInsightRulesOutput$=DisableInsightRulesOutput$;exports.DisassociateDatasetKmsKey$=DisassociateDatasetKmsKey$;exports.DisassociateDatasetKmsKeyCommand=DisassociateDatasetKmsKeyCommand;exports.DisassociateDatasetKmsKeyInput$=DisassociateDatasetKmsKeyInput$;exports.DisassociateDatasetKmsKeyOutput$=DisassociateDatasetKmsKeyOutput$;
|
|
155
|
+
exports.EnableAlarmActions$=EnableAlarmActions$;exports.EnableAlarmActionsCommand=EnableAlarmActionsCommand;exports.EnableAlarmActionsInput$=EnableAlarmActionsInput$;exports.EnableInsightRules$=EnableInsightRules$;exports.EnableInsightRulesCommand=EnableInsightRulesCommand;exports.EnableInsightRulesInput$=EnableInsightRulesInput$;exports.EnableInsightRulesOutput$=EnableInsightRulesOutput$;exports.Entity$=Entity$;exports.EntityMetricData$=EntityMetricData$;exports.EvaluationCriteria$=EvaluationCriteria$;
|
|
156
|
+
exports.EvaluationState=EvaluationState;exports.EvaluationWindow$=EvaluationWindow$;exports.GetAlarmMuteRule$=GetAlarmMuteRule$;exports.GetAlarmMuteRuleCommand=GetAlarmMuteRuleCommand;exports.GetAlarmMuteRuleInput$=GetAlarmMuteRuleInput$;exports.GetAlarmMuteRuleOutput$=GetAlarmMuteRuleOutput$;exports.GetDashboard$=GetDashboard$;exports.GetDashboardCommand=GetDashboardCommand;exports.GetDashboardInput$=GetDashboardInput$;exports.GetDashboardOutput$=GetDashboardOutput$;exports.GetDataset$=GetDataset$;
|
|
157
|
+
exports.GetDatasetCommand=GetDatasetCommand;exports.GetDatasetInput$=GetDatasetInput$;exports.GetDatasetOutput$=GetDatasetOutput$;exports.GetInsightRuleReport$=GetInsightRuleReport$;exports.GetInsightRuleReportCommand=GetInsightRuleReportCommand;exports.GetInsightRuleReportInput$=GetInsightRuleReportInput$;exports.GetInsightRuleReportOutput$=GetInsightRuleReportOutput$;exports.GetMetricData$=GetMetricData$;exports.GetMetricDataCommand=GetMetricDataCommand;exports.GetMetricDataInput$=GetMetricDataInput$;
|
|
158
|
+
exports.GetMetricDataOutput$=GetMetricDataOutput$;exports.GetMetricStatistics$=GetMetricStatistics$;exports.GetMetricStatisticsCommand=GetMetricStatisticsCommand;exports.GetMetricStatisticsInput$=GetMetricStatisticsInput$;exports.GetMetricStatisticsOutput$=GetMetricStatisticsOutput$;exports.GetMetricStream$=GetMetricStream$;exports.GetMetricStreamCommand=GetMetricStreamCommand;exports.GetMetricStreamInput$=GetMetricStreamInput$;exports.GetMetricStreamOutput$=GetMetricStreamOutput$;exports.GetMetricWidgetImage$=
|
|
159
|
+
GetMetricWidgetImage$;exports.GetMetricWidgetImageCommand=GetMetricWidgetImageCommand;exports.GetMetricWidgetImageInput$=GetMetricWidgetImageInput$;exports.GetMetricWidgetImageOutput$=GetMetricWidgetImageOutput$;exports.GetOTelEnrichment$=GetOTelEnrichment$;exports.GetOTelEnrichmentCommand=GetOTelEnrichmentCommand;exports.GetOTelEnrichmentInput$=GetOTelEnrichmentInput$;exports.GetOTelEnrichmentOutput$=GetOTelEnrichmentOutput$;exports.GetResourceMetricsConfiguration$=GetResourceMetricsConfiguration$;
|
|
160
|
+
exports.GetResourceMetricsConfigurationCommand=GetResourceMetricsConfigurationCommand;exports.GetResourceMetricsConfigurationInput$=GetResourceMetricsConfigurationInput$;exports.GetResourceMetricsConfigurationOutput$=GetResourceMetricsConfigurationOutput$;exports.HistoryItemType=HistoryItemType;exports.InsightRule$=InsightRule$;exports.InsightRuleContributor$=InsightRuleContributor$;exports.InsightRuleContributorDatapoint$=InsightRuleContributorDatapoint$;exports.InsightRuleMetricDatapoint$=InsightRuleMetricDatapoint$;
|
|
161
|
+
exports.InternalServiceFault=InternalServiceFault;exports.InternalServiceFault$=InternalServiceFault$;exports.InvalidFormatFault=InvalidFormatFault;exports.InvalidFormatFault$=InvalidFormatFault$;exports.InvalidNextToken=InvalidNextToken;exports.InvalidNextToken$=InvalidNextToken$;exports.InvalidParameterCombinationException=InvalidParameterCombinationException;exports.InvalidParameterCombinationException$=InvalidParameterCombinationException$;exports.InvalidParameterValueException=InvalidParameterValueException;
|
|
162
|
+
exports.InvalidParameterValueException$=InvalidParameterValueException$;exports.KmsAccessDeniedException=KmsAccessDeniedException;exports.KmsAccessDeniedException$=KmsAccessDeniedException$;exports.KmsKeyDisabledException=KmsKeyDisabledException;exports.KmsKeyDisabledException$=KmsKeyDisabledException$;exports.KmsKeyNotFoundException=KmsKeyNotFoundException;exports.KmsKeyNotFoundException$=KmsKeyNotFoundException$;exports.LabelOptions$=LabelOptions$;exports.LimitExceededException=LimitExceededException;
|
|
163
|
+
exports.LimitExceededException$=LimitExceededException$;exports.LimitExceededFault=LimitExceededFault;exports.LimitExceededFault$=LimitExceededFault$;exports.ListAlarmMuteRules$=ListAlarmMuteRules$;exports.ListAlarmMuteRulesCommand=ListAlarmMuteRulesCommand;exports.ListAlarmMuteRulesInput$=ListAlarmMuteRulesInput$;exports.ListAlarmMuteRulesOutput$=ListAlarmMuteRulesOutput$;exports.ListDashboards$=ListDashboards$;exports.ListDashboardsCommand=ListDashboardsCommand;exports.ListDashboardsInput$=ListDashboardsInput$;
|
|
164
|
+
exports.ListDashboardsOutput$=ListDashboardsOutput$;exports.ListManagedInsightRules$=ListManagedInsightRules$;exports.ListManagedInsightRulesCommand=ListManagedInsightRulesCommand;exports.ListManagedInsightRulesInput$=ListManagedInsightRulesInput$;exports.ListManagedInsightRulesOutput$=ListManagedInsightRulesOutput$;exports.ListMetricStreams$=ListMetricStreams$;exports.ListMetricStreamsCommand=ListMetricStreamsCommand;exports.ListMetricStreamsInput$=ListMetricStreamsInput$;exports.ListMetricStreamsOutput$=
|
|
165
|
+
ListMetricStreamsOutput$;exports.ListMetrics$=ListMetrics$;exports.ListMetricsCommand=ListMetricsCommand;exports.ListMetricsInput$=ListMetricsInput$;exports.ListMetricsOutput$=ListMetricsOutput$;exports.ListTagsForResource$=ListTagsForResource$;exports.ListTagsForResourceCommand=ListTagsForResourceCommand;exports.ListTagsForResourceInput$=ListTagsForResourceInput$;exports.ListTagsForResourceOutput$=ListTagsForResourceOutput$;exports.LogAlarm$=LogAlarm$;exports.ManagedRule$=ManagedRule$;exports.ManagedRuleDescription$=
|
|
166
|
+
ManagedRuleDescription$;exports.ManagedRuleState$=ManagedRuleState$;exports.MessageData$=MessageData$;exports.Metric$=Metric$;exports.MetricAlarm$=MetricAlarm$;exports.MetricCharacteristics$=MetricCharacteristics$;exports.MetricDataQuery$=MetricDataQuery$;exports.MetricDataResult$=MetricDataResult$;exports.MetricDatum$=MetricDatum$;exports.MetricMathAnomalyDetector$=MetricMathAnomalyDetector$;exports.MetricStat$=MetricStat$;exports.MetricStreamEntry$=MetricStreamEntry$;exports.MetricStreamFilter$=
|
|
167
|
+
MetricStreamFilter$;exports.MetricStreamOutputFormat=MetricStreamOutputFormat;exports.MetricStreamStatisticsConfiguration$=MetricStreamStatisticsConfiguration$;exports.MetricStreamStatisticsMetric$=MetricStreamStatisticsMetric$;exports.MissingRequiredParameterException=MissingRequiredParameterException;exports.MissingRequiredParameterException$=MissingRequiredParameterException$;exports.MuteTargets$=MuteTargets$;exports.OTelEnrichmentMetricSelector$=OTelEnrichmentMetricSelector$;exports.OTelEnrichmentStatus=
|
|
168
|
+
OTelEnrichmentStatus;exports.PartialFailure$=PartialFailure$;exports.PutAlarmMuteRule$=PutAlarmMuteRule$;exports.PutAlarmMuteRuleCommand=PutAlarmMuteRuleCommand;exports.PutAlarmMuteRuleInput$=PutAlarmMuteRuleInput$;exports.PutAnomalyDetector$=PutAnomalyDetector$;exports.PutAnomalyDetectorCommand=PutAnomalyDetectorCommand;exports.PutAnomalyDetectorInput$=PutAnomalyDetectorInput$;exports.PutAnomalyDetectorOutput$=PutAnomalyDetectorOutput$;exports.PutCompositeAlarm$=PutCompositeAlarm$;exports.PutCompositeAlarmCommand=
|
|
169
|
+
PutCompositeAlarmCommand;exports.PutCompositeAlarmInput$=PutCompositeAlarmInput$;exports.PutDashboard$=PutDashboard$;exports.PutDashboardCommand=PutDashboardCommand;exports.PutDashboardInput$=PutDashboardInput$;exports.PutDashboardOutput$=PutDashboardOutput$;exports.PutInsightRule$=PutInsightRule$;exports.PutInsightRuleCommand=PutInsightRuleCommand;exports.PutInsightRuleInput$=PutInsightRuleInput$;exports.PutInsightRuleOutput$=PutInsightRuleOutput$;exports.PutLogAlarm$=PutLogAlarm$;exports.PutLogAlarmCommand=
|
|
170
|
+
PutLogAlarmCommand;exports.PutLogAlarmInput$=PutLogAlarmInput$;exports.PutManagedInsightRules$=PutManagedInsightRules$;exports.PutManagedInsightRulesCommand=PutManagedInsightRulesCommand;exports.PutManagedInsightRulesInput$=PutManagedInsightRulesInput$;exports.PutManagedInsightRulesOutput$=PutManagedInsightRulesOutput$;exports.PutMetricAlarm$=PutMetricAlarm$;exports.PutMetricAlarmCommand=PutMetricAlarmCommand;exports.PutMetricAlarmInput$=PutMetricAlarmInput$;exports.PutMetricData$=PutMetricData$;
|
|
171
|
+
exports.PutMetricDataCommand=PutMetricDataCommand;exports.PutMetricDataInput$=PutMetricDataInput$;exports.PutMetricStream$=PutMetricStream$;exports.PutMetricStreamCommand=PutMetricStreamCommand;exports.PutMetricStreamInput$=PutMetricStreamInput$;exports.PutMetricStreamOutput$=PutMetricStreamOutput$;exports.Range$=Range$;exports.RecentlyActive=RecentlyActive;exports.ResourceConflict=ResourceConflict;exports.ResourceConflict$=ResourceConflict$;exports.ResourceMetricSelection$=ResourceMetricSelection$;
|
|
172
|
+
exports.ResourceMetricsConfiguration$=ResourceMetricsConfiguration$;exports.ResourceNotFound=ResourceNotFound;exports.ResourceNotFound$=ResourceNotFound$;exports.ResourceNotFoundException=ResourceNotFoundException;exports.ResourceNotFoundException$=ResourceNotFoundException$;exports.Rule$=Rule$;exports.ScanBy=ScanBy;exports.Schedule$=Schedule$;exports.ScheduleConfiguration$=ScheduleConfiguration$;exports.ScheduledQueryConfiguration$=ScheduledQueryConfiguration$;exports.SetAlarmState$=SetAlarmState$;
|
|
173
|
+
exports.SetAlarmStateCommand=SetAlarmStateCommand;exports.SetAlarmStateInput$=SetAlarmStateInput$;exports.SingleMetricAnomalyDetector$=SingleMetricAnomalyDetector$;exports.SlidingWindow$=SlidingWindow$;exports.StandardUnit=StandardUnit;exports.StartMetricStreams$=StartMetricStreams$;exports.StartMetricStreamsCommand=StartMetricStreamsCommand;exports.StartMetricStreamsInput$=StartMetricStreamsInput$;exports.StartMetricStreamsOutput$=StartMetricStreamsOutput$;exports.StartOTelEnrichment$=StartOTelEnrichment$;
|
|
174
|
+
exports.StartOTelEnrichmentCommand=StartOTelEnrichmentCommand;exports.StartOTelEnrichmentInput$=StartOTelEnrichmentInput$;exports.StartOTelEnrichmentOutput$=StartOTelEnrichmentOutput$;exports.StateValue=StateValue;exports.Statistic=Statistic;exports.StatisticSet$=StatisticSet$;exports.StatusCode=StatusCode;exports.StopMetricStreams$=StopMetricStreams$;exports.StopMetricStreamsCommand=StopMetricStreamsCommand;exports.StopMetricStreamsInput$=StopMetricStreamsInput$;exports.StopMetricStreamsOutput$=
|
|
175
|
+
StopMetricStreamsOutput$;exports.StopOTelEnrichment$=StopOTelEnrichment$;exports.StopOTelEnrichmentCommand=StopOTelEnrichmentCommand;exports.StopOTelEnrichmentInput$=StopOTelEnrichmentInput$;exports.StopOTelEnrichmentOutput$=StopOTelEnrichmentOutput$;exports.Tag$=Tag$;exports.TagResource$=TagResource$;exports.TagResourceCommand=TagResourceCommand;exports.TagResourceInput$=TagResourceInput$;exports.TagResourceOutput$=TagResourceOutput$;exports.UntagResource$=UntagResource$;exports.UntagResourceCommand=
|
|
176
|
+
UntagResourceCommand;exports.UntagResourceInput$=UntagResourceInput$;exports.UntagResourceOutput$=UntagResourceOutput$;exports.UpdateOTelEnrichment$=UpdateOTelEnrichment$;exports.UpdateOTelEnrichmentCommand=UpdateOTelEnrichmentCommand;exports.UpdateOTelEnrichmentInput$=UpdateOTelEnrichmentInput$;exports.UpdateOTelEnrichmentOutput$=UpdateOTelEnrichmentOutput$;exports.UpdateResourceMetricsConfiguration$=UpdateResourceMetricsConfiguration$;exports.UpdateResourceMetricsConfigurationCommand=UpdateResourceMetricsConfigurationCommand;
|
|
177
|
+
exports.UpdateResourceMetricsConfigurationInput$=UpdateResourceMetricsConfigurationInput$;exports.UpdateResourceMetricsConfigurationOutput$=UpdateResourceMetricsConfigurationOutput$;exports.ValidationException=ValidationException;exports.ValidationException$=ValidationException$;exports.WallClockWindow$=WallClockWindow$;exports.WarmUpConfiguration$=WarmUpConfiguration$;exports.errorTypeRegistries=errorTypeRegistries;exports.paginateDescribeAlarmHistory=paginateDescribeAlarmHistory;exports.paginateDescribeAlarms=
|
|
178
|
+
paginateDescribeAlarms;exports.paginateDescribeAnomalyDetectors=paginateDescribeAnomalyDetectors;exports.paginateDescribeInsightRules=paginateDescribeInsightRules;exports.paginateGetMetricData=paginateGetMetricData;exports.paginateListAlarmMuteRules=paginateListAlarmMuteRules;exports.paginateListDashboards=paginateListDashboards;exports.paginateListManagedInsightRules=paginateListManagedInsightRules;exports.paginateListMetricStreams=paginateListMetricStreams;exports.paginateListMetrics=paginateListMetrics;
|
|
179
|
+
exports.waitForAlarmExists=waitForAlarmExists;exports.waitForAlarmMuteRuleExists=waitForAlarmMuteRuleExists;exports.waitForCompositeAlarmExists=waitForCompositeAlarmExists;exports.waitForLogAlarmExists=waitForLogAlarmExists;exports.waitUntilAlarmExists=waitUntilAlarmExists;exports.waitUntilAlarmMuteRuleExists=waitUntilAlarmMuteRuleExists;exports.waitUntilCompositeAlarmExists=waitUntilCompositeAlarmExists;exports.waitUntilLogAlarmExists=waitUntilLogAlarmExists}});export default require_dist_cjs4();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
2
|
-
import{ARMIN_HEIGHT,ARMIN_WIDTH,isArminPixel}from"./chunk-
|
|
2
|
+
import{ARMIN_HEIGHT,ARMIN_WIDTH,isArminPixel}from"./chunk-LCOHFEZZ.js";import{backgroundAnsi,colorToRgb,foregroundAnsi,formatKeyText,getKeybindings,indexedColor,rgbColor,theme,visibleWidth}from"./chunk-VYIIPF57.js";import"./chunk-SCIGZFN5.js";import"./chunk-YJBE3IGR.js";import"./chunk-JXWJOIH4.js";var DEPTH=.7,FLY_START=.1,FLY_DURATION=1.3,START_SCALE=.1;function createModel(columns,rows,pixel,options){let blocks=[];for(let row=0;row<rows;row++)for(let column=0;column<columns;column++){let color=pixel(column,row);color&&blocks.push({home:[column,row,0],color})}return{columns,rows,blocks,cameraDistance:options.cameraDistance,radius:Math.hypot(columns/2,rows/2,1+DEPTH/2),widthShare:options.widthShare,puzzleMoves:random=>options.puzzleMoves(random,blocks.length),origin:options.origin}}var CORAL=[
|
|
3
3
|
228,138,122],BLUE=[79,142,179],YELLOW=[234,182,93],PI_LOGO_PIXELS=["ccc.","b.c.","bb.y","b..y"],PI_LOGO_COLORS={c:CORAL,b:BLUE,y:YELLOW};function piLogoModel(origin){return createModel(4,4,(column,row)=>PI_LOGO_COLORS[PI_LOGO_PIXELS[row][column]],{cameraDistance:10,widthShare:.35,puzzleMoves:random=>random<.4?2:1,origin})}function arminModel(color){return createModel(ARMIN_WIDTH,ARMIN_HEIGHT,(column,row)=>isArminPixel(column,row)?color:void 0,{cameraDistance:80,widthShare:.45,puzzleMoves:(random,blockCount)=>Math.
|
|
4
4
|
round(blockCount*(.03+random*.04)),origin:void 0})}var PUZZLE_START=FLY_START+FLY_DURATION+3,PUZZLE_STEP=.3,PUZZLE_STEPS=12,PUZZLE_RETURN=1,PUZZLE_HOLD=.6,PUZZLE_CYCLE=PUZZLE_STEP*PUZZLE_STEPS+PUZZLE_RETURN+PUZZLE_HOLD,PUZZLE_MOVES=[[1,0,0],[-1,0,0],[0,1,0],[0,-1,0],[1,0,0],[-1,0,0],[0,1,0],[0,-1,0],[0,0,1],[0,0,-1]];function shuffleSteps(model,cycle){let{columns,rows}=model,positions=model.blocks.map(block=>block.home),steps=[positions],lastMoved=new Set,random=cycle*7919+1,next=()=>hash(random++),
|
|
5
5
|
key=([x,y,z])=>((z+1)*rows+y)*columns+x;for(let step=0;step<PUZZLE_STEPS;step++){let occupied=new Set(positions.map(key)),nextPositions=[...positions],moved=new Set,moveCount=model.puzzleMoves(next());for(let move=0;move<moveCount;move++){let candidates=[];for(let block=0;block<positions.length;block++){if(moved.has(block))continue;let[x,y,z]=positions[block];for(let[dx,dy,dz]of PUZZLE_MOVES){let target=[x+dx,y+dy,z+dz];target[0]<0||target[0]>=columns||target[1]<0||target[1]>=rows||target[2]<-1||
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
2
|
-
import{compile,init_dist,is,require_canvas,require_lib}from"./chunk-
|
|
2
|
+
import{compile,init_dist,is,require_canvas,require_lib}from"./chunk-FF26YENK.js";import{__export,__toESM}from"./chunk-JXWJOIH4.js";var CHANGED=Symbol("changed"),CLASS_LIST=Symbol("classList"),CUSTOM_ELEMENTS=Symbol("CustomElements"),CONTENT=Symbol("content"),DATASET=Symbol("dataset"),DOCTYPE=Symbol("doctype"),DOM_PARSER=Symbol("DOMParser"),END=Symbol("end"),EVENT_TARGET=Symbol("EventTarget"),GLOBALS=Symbol("globals"),IMAGE=Symbol("image"),MIME=Symbol("mime"),MUTATION_OBSERVER=Symbol("MutationObserver"),NEXT=Symbol("next"),OWNER_ELEMENT=Symbol("ownerElement"),PREV=Symbol("prev"),PRIVATE=Symbol("private"),SHEET=Symbol("sheet"),
|
|
3
3
|
START=Symbol("start"),STYLE=Symbol("style"),UPGRADE=Symbol("upgrade"),VALUE=Symbol("value");var esm_exports3={};__export(esm_exports3,{DefaultHandler:()=>DomHandler,DomHandler:()=>DomHandler,DomUtils:()=>esm_exports2,ElementType:()=>esm_exports,Parser:()=>Parser,QuoteType:()=>QuoteType,Tokenizer:()=>Tokenizer,createDocumentStream:()=>createDocumentStream,createDomStream:()=>createDomStream,getFeed:()=>getFeed,parseDOM:()=>parseDOM,parseDocument:()=>parseDocument,parseFeed:()=>parseFeed});var _a,decodeMap=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fromCodePoint=(_a=String.fromCodePoint)!==null&&_a!==void 0?_a:(codePoint=>{let output="";return codePoint>65535&&(codePoint-=65536,output+=String.fromCharCode(codePoint>>>10&
|
|
4
4
|
1023|55296),codePoint=56320|codePoint&1023),output+=String.fromCharCode(codePoint),output});function replaceCodePoint(codePoint){var _a3;return codePoint>=55296&&codePoint<=57343||codePoint>1114111?65533:(_a3=decodeMap.get(codePoint))!==null&&_a3!==void 0?_a3:codePoint}function decodeBase64(input){let binary=typeof atob=="function"?atob(input):typeof Buffer.from=="function"?Buffer.from(input,"base64").toString("binary"):new Buffer(input,"base64").toString("binary"),evenLength=binary.length&-2,out=new Uint16Array(evenLength/2);for(let index=0,outIndex=0;index<evenLength;index+=2){let lo=binary.charCodeAt(index),hi=binary.charCodeAt(index+1);out[outIndex++]=lo|hi<<8}return out}var htmlDecodeTree=decodeBase64("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZAB\
|
|
5
5
|
lADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkR\
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
2
|
+
import{EventStreamCodec,EventStreamMarshaller,EventStreamMarshaller2,EventStreamSerde,HeaderMarshaller,Int64,MessageDecoderStream,MessageEncoderStream,SmithyMessageDecoderStream,SmithyMessageEncoderStream,eventStreamSerdeProvider,eventStreamSerdeProvider2,getChunkedStream,getMessageUnmarshaller,getUnmarshalledStream,init_event_streams,iterableToReadableStream,readableStreamToIterable,resolveEventStreamSerdeConfig}from"./chunk-WBJN6PEI.js";import"./chunk-R5VIAWGA.js";import"./chunk-JXWJOIH4.js";init_event_streams();export{EventStreamCodec,EventStreamMarshaller2 as EventStreamMarshaller,EventStreamSerde,HeaderMarshaller,Int64,MessageDecoderStream,MessageEncoderStream,SmithyMessageDecoderStream,SmithyMessageEncoderStream,EventStreamMarshaller as UniversalEventStreamMarshaller,eventStreamSerdeProvider2 as eventStreamSerdeProvider,getChunkedStream,getMessageUnmarshaller,getUnmarshalledStream,iterableToReadableStream,readableStreamToIterable,resolveEventStreamSerdeConfig,eventStreamSerdeProvider as universalEventStreamSerdeProvider};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
2
|
-
import{Bm25Ranker,CODEMODE_DOCS_PATH,CODEMODE_STORE_ENTRY_TYPE,DEFAULT_TOOL_SEARCH_LIMIT,combineUsage,createToolSearchDocument,getCodemodeCallableTools,parseCodemodeSource,renderToolSample,toCodemodeDeclaration,toCodemodeIdentifier}from"./chunk-
|
|
2
|
+
import{Bm25Ranker,CODEMODE_DOCS_PATH,CODEMODE_STORE_ENTRY_TYPE,DEFAULT_TOOL_SEARCH_LIMIT,combineUsage,createToolSearchDocument,getCodemodeCallableTools,parseCodemodeSource,renderToolSample,toCodemodeDeclaration,toCodemodeIdentifier}from"./chunk-QSPDLT2R.js";import{formatSize,writeOutputFile}from"./chunk-XMHLSV3I.js";import"./chunk-VYIIPF57.js";import"./chunk-SCIGZFN5.js";import{getCodemodeWorkerSpecifier,getQuickJSWasmPath}from"./chunk-YJBE3IGR.js";import"./chunk-BHM75BJJ.js";
|
|
3
3
|
import"./chunk-JXWJOIH4.js";import{Worker}from"node:worker_threads";import{readFile}from"node:fs/promises";import{createRequire}from"node:module";var modules=new Map;function loadQuickJSWasm(path){let resolved=path??createRequire(import.meta.url).resolve("quickjs-wasi/quickjs.wasm"),module=modules.get(resolved);if(!module){let{WebAssembly}=globalThis;module=readFile(resolved).then(bytes=>WebAssembly.compile(bytes)).catch(error=>{throw modules.delete(resolved),error}),modules.set(resolved,module)}return module}function isWorkerToHostMessage(value){if(typeof value!="object"||value===null)return!1;let type=value.type;return type==="call"||type==="output"||type==="done"||type==="crash"}var DEFAULT_TIMEOUT_MS=3e5,IDENTIFIER=/^[A-Za-z_$][A-Za-z0-9_$]*$/,RESERVED_GLOBALS=new Set(["tools","ALL_TOOLS","console","text","image","exit","globalThis","store","load"]);function errorMessage(error){return error instanceof Error?error.message:String(error)}function serializeStore(store){let serialized={};for(let[key,value]of Object.entries(store??{})){let json=JSON.stringify(value);json!==void 0&&(serialized[key]=json)}return serialized}var BridgeError=class extends Error{};function parseBridgeJson(json,what){
|
|
4
4
|
try{return JSON.parse(json)}catch{throw new BridgeError(`${what} is not valid JSON`)}}function parseStoreWrites(json){let entries=parseBridgeJson(json,"store writes");if(!Array.isArray(entries))throw new BridgeError("store writes are not an array");let writes={set:{},delete:[]};for(let entry of entries){if(!Array.isArray(entry)||typeof entry[0]!="string"||(entry.length===2?typeof entry[1]!="string":entry.length!==1))throw new BridgeError("store writes contain a malformed entry");let[key,value]=entry;
|
|
5
5
|
value===void 0?writes.delete.push(key):writes.set[key]=parseBridgeJson(value,`store value for ${JSON.stringify(key)}`)}return writes}function parseScriptError(json){let parsed=parseBridgeJson(json,"script error");if(typeof parsed!="object"||parsed===null)throw new BridgeError("script error is not an object");let{name,message,stack}=parsed;if(typeof message!="string"||name!==void 0&&typeof name!="string"||stack!==void 0&&typeof stack!="string")throw new BridgeError("script error is malformed");return{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
2
2
|
import{CredentialResolutionError,DEFAULT_MODEL,activityMonitor,askPerplexity,assertAuthFetchUrl,authFetchRedirectGuard,checkGhAvailable,extractGitHub,extractWithFirecrawl,extractWithKagi,extractWithOllama,extractWithParallel,extractWithParallelMcp,extractWithQuerit,extractWithSearch1API,extractWithTinyFish,fetchGeminiApi,fetchRemoteUrl,formatSeconds,getApiKey,getBrowserCookiesForHosts,getLastBrowserCookieDiagnostic,getUploadBase,getVersionedApiBase,getWebSearchConfigPath,hasCredentialSource,isFirecrawlAvailable,
|
|
3
3
|
isGatewayConfigured,isGeminiAdcAvailable,isGeminiApiAvailable,isGeminiApiAvailableWithVideo,isGeminiWebAvailable,isKagiExtractAvailable,isLoopbackHostname,isOllamaFetchAvailable,isParallelAvailable,isPerplexityAvailable,isQueritAvailable,isSearch1APIAvailable,isTimeoutError,isTinyFishAvailable,loadFetchContentDomainPolicy,loadSsrfConfig,mapFfmpegError,pLimit,queryGeminiApiWithInlineData,queryGeminiApiWithVideo,queryWithCookies,readExecError,redactCredential,redactGeminiApiResponse,resolveCredential,
|
|
4
|
-
showGhHint,trimErrorText,validateRemoteUrl}from"./chunk-
|
|
4
|
+
showGhHint,trimErrorText,validateRemoteUrl}from"./chunk-HMWAH7ZY.js";import"./chunk-V5ZF7Q7L.js";import"./chunk-YJBE3IGR.js";import"./chunk-YKZGL4MB.js";import"./chunk-DBL35X7L.js";import"./chunk-GVVRXZHN.js";import"./chunk-DZ5C66IU.js";import"./chunk-RYC5BYVE.js";import"./chunk-VEYTRNQC.js";import"./chunk-QMUIATLD.js";import"./chunk-BHM75BJJ.js";import"./chunk-JXWJOIH4.js";import{existsSync as existsSync9,readFileSync as readFileSync9}from"node:fs";function extractRSCContent(html){if(!html.includes("self.__next_f.push"))return null;let chunkMap=new Map,scriptRegex=/<script>self\.__next_f\.push\(\[1,"([\s\S]*?)"\]\)<\/script>/g;for(let match of html.matchAll(scriptRegex)){let content2;try{content2=JSON.parse('"'+match[1]+'"')}catch{continue}for(let line of content2.split(`
|
|
5
5
|
`)){if(!line.trim())continue;let colonIdx=line.indexOf(":");if(colonIdx<=0||colonIdx>4)continue;let id=line.slice(0,colonIdx);if(!/^[0-9a-f]+$/i.test(id))continue;let payload=line.slice(colonIdx+1);if(!payload)continue;let existing=chunkMap.get(id);(!existing||payload.length>existing.length)&&chunkMap.set(id,payload)}}if(chunkMap.size===0)return null;let title=html.match(/<title[^>]*>([^<]+)<\/title>/)?.[1]?.split("|")[0]?.trim()||"",parsedCache=new Map;function getParsedChunk(id){if(parsedCache.
|
|
6
6
|
has(id))return parsedCache.get(id);let chunk=chunkMap.get(id);if(!chunk||!chunk.startsWith("["))return parsedCache.set(id,null),null;try{let parsed=JSON.parse(chunk);return parsedCache.set(id,parsed),parsed}catch{return parsedCache.set(id,null),null}}let visitedRefs=new Set;function extractNode(node,ctx={inTable:!1,inCode:!1}){if(node==null)return"";if(typeof node=="string"){let refMatch=node.match(/^\$L([0-9a-f]+)$/i);if(refMatch){let refId=refMatch[1];if(visitedRefs.has(refId))return"";visitedRefs.
|
|
7
7
|
add(refId);let refNode=getParsedChunk(refId),result=refNode?extractNode(refNode,ctx):"";return visitedRefs.delete(refId),result}return!ctx.inCode&&(node==="$undefined"||node==="$"||/^\$[A-Z]/.test(node))?"":node.trim()?node:""}if(typeof node=="number")return String(node);if(typeof node=="boolean"||!Array.isArray(node))return"";if(node[0]==="$"&&typeof node[1]=="string"){let tag=node[1],props=node[3]||{};if(["script","style","svg","path","circle","link","meta","template","button","input","nav","f\
|
|
@@ -264,7 +264,7 @@ pieces.join(""))}function sanitizeInlineDataUris(text,sourcePath){let state={nex
|
|
|
264
264
|
`Invalid config in ${WEB_SEARCH_CONFIG_PATH}: expected a JSON object`);let fetchConfig=raw.fetch;if(fetchConfig===void 0)return DEFAULT_TIMEOUT_MS3;if(!fetchConfig||typeof fetchConfig!="object"||Array.isArray(fetchConfig))throw new Error(`fetch in ${WEB_SEARCH_CONFIG_PATH} must be an object`);let value=fetchConfig.timeout;if(value===void 0)return DEFAULT_TIMEOUT_MS3;if(typeof value!="number"||!Number.isFinite(value)||value<=0)throw new Error(`Invalid fetch.timeout in ${WEB_SEARCH_CONFIG_PATH}: e\
|
|
265
265
|
xpected a positive finite number of seconds, got ${JSON.stringify(value)}`);let timeoutMs=Math.ceil(value*1e3);if(!Number.isSafeInteger(timeoutMs)||timeoutMs<1||timeoutMs>MAX_CONFIGURED_TIMEOUT_MS)throw new Error(`Invalid fetch.timeout in ${WEB_SEARCH_CONFIG_PATH}: converted timeout must be a finite safe integer from 1 through ${MAX_CONFIGURED_TIMEOUT_MS} milliseconds`);return Math.max(1,timeoutMs)}var NON_RECOVERABLE_ERRORS=["Unsupported content type","Response too large","PDF extraction is dis\
|
|
266
266
|
abled","Image fetching is disabled"],MIN_USEFUL_CONTENT=500,SUPPORTED_IMAGE_TYPES=new Set(["image/png","image/jpeg","image/webp","image/gif"]),FETCH_PROVIDERS=["http","firecrawl","crawl4ai","jina","tinyfish","search1api","querit","kagi","ollama","parallel","parallel-mcp","brightdata","gemini"],DEFAULT_FETCH_PROVIDER_ORDER=["http","firecrawl","crawl4ai","jina","tinyfish","search1api","querit","kagi","ollama","parallel","brightdata","gemini"],REMOTE_HOSTED_FETCH_PROVIDERS=new Set(["jina","tinyfish",
|
|
267
|
-
"search1api","querit","kagi","ollama","parallel","parallel-mcp","brightdata","gemini"]);function isDefuddleConsoleError(args){let prefix=args[0];return prefix==="Defuddle"||typeof prefix=="string"&&/^Defuddle(?:\s|:)/.test(prefix)}async function extractWithDefuddle(text,url){let{Defuddle}=await import("./node-
|
|
267
|
+
"search1api","querit","kagi","ollama","parallel","parallel-mcp","brightdata","gemini"]);function isDefuddleConsoleError(args){let prefix=args[0];return prefix==="Defuddle"||typeof prefix=="string"&&/^Defuddle(?:\s|:)/.test(prefix)}async function extractWithDefuddle(text,url){let{Defuddle}=await import("./node-W47VUEGE.js"),{parseHTML}=await import("./esm-763X2IA7.js"),{document}=parseHTML(text);Object.defineProperty(document,"location",{value:new URL(url),configurable:!0});let processingError,
|
|
268
268
|
originalConsoleError=console.error;console.error=(...args)=>{if(isDefuddleConsoleError(args)){args[0]==="Defuddle"&&args[1]==="Error processing document:"&&(processingError=args[2]);return}originalConsoleError(...args)};let resultPromise;try{resultPromise=Defuddle(document,url,{markdown:!0,useAsync:!1})}finally{console.error=originalConsoleError}let result=await resultPromise;if(processingError!==void 0)throw new Error(`Defuddle failed to process document: ${errorMessage5(processingError)}`);return typeof result.
|
|
269
269
|
content=="string"?{title:result.title,content:result.content}:null}function loadSsrfAllowRanges(){return loadSsrfConfig().allowRanges}function errorMessage5(err){return err instanceof Error?err.message:String(err)}function isConfigParseError(err){return errorMessage5(err).startsWith("Failed to parse ")}function isAbortError3(err){return errorMessage5(err).toLowerCase().includes("abort")}function isAbortException2(err){return err instanceof DOMException&&(err.name==="AbortError"||err.name==="Time\
|
|
270
270
|
outError")}function isRedirectPolicyError(message){return message.startsWith("Authenticated fetch refused cross-origin redirect")||message.startsWith("Blocked internal ")||message.startsWith("Blocked hostname by fetch_content domain policy")||message.startsWith("Hostname not allowed by fetch_content domain policy")||message.startsWith("Too many redirects fetching ")||message==="Only HTTP and HTTPS URLs can be fetched remotely"||message==="URL must include a hostname"||message.startsWith("Failed \
|
|
@@ -334,7 +334,7 @@ mode!=="raw")return activityMonitor.logComplete(activityId,response.status),{url
|
|
|
334
334
|
logComplete(activityId,response.status),{url,title:"",content:"",error:"PDF extraction is disabled by pdf.enabled",mimeType,status:response.status};let maxResponseSize=(pdfConfig?.maxSizeMB??5)*1024*1024;if(contentLengthHeader){let contentLength=Number.parseInt(contentLengthHeader,10);if(Number.isFinite(contentLength)&&contentLength>maxResponseSize)return activityMonitor.logComplete(activityId,response.status),{url,title:"",content:"",error:pdfConfig?pdfSizeLimitError(pdfConfig.maxSizeMB).message:
|
|
335
335
|
`Response too large (${Math.round(contentLength/1024/1024)}MB)`}}if(options?.mode==="raw"){if(!isTextContentType(contentType))return activityMonitor.logComplete(activityId,response.status),{url,title:"",content:"",error:`Unsupported content type in raw mode: ${mimeType||"missing"}`,mimeType,status:response.status};let text2=await readTextResponseWithLimit(response,maxResponseSize);return activityMonitor.logComplete(activityId,response.status),{url,title:extractTextTitle(text2,url),content:text2,
|
|
336
336
|
error:null,mimeType,status:response.status}}if(SUPPORTED_IMAGE_TYPES.has(mimeType)){let disabled=imageGateError();if(disabled)return activityMonitor.logComplete(activityId,response.status),{url,title:"",content:"",error:disabled,mimeType,status:response.status};if(options?.rejectDirectImages)return activityMonitor.logComplete(activityId,response.status),{url,title:"",content:"",error:options.rejectDirectImages,mimeType,status:response.status};try{let buffer=await readResponseBufferWithLimit(response,
|
|
337
|
-
maxResponseSize,()=>responseSizeLimitError(maxResponseSize)),{resizeImage}=await import("./host-
|
|
337
|
+
maxResponseSize,()=>responseSizeLimitError(maxResponseSize)),{resizeImage}=await import("./host-4J7H7KDS.js"),resized=await resizeImage(new Uint8Array(buffer),mimeType,{maxWidth:2e3,maxHeight:2e3});if(activityMonitor.logComplete(activityId,response.status),!resized)return{url,title:"",content:"",error:`Could not decode image: ${mimeType}`,mimeType,status:response.status};let title=new URL(response.url||url).pathname.split("/").pop()||url;return{url,title,content:`Image fetched (${resized.
|
|
338
338
|
width}\xD7${resized.height}, ${resized.mimeType})`,error:null,thumbnail:{data:resized.data,mimeType:resized.mimeType},mimeType:resized.mimeType,status:response.status}}catch(err){let message=errorMessage5(err);return activityMonitor.logError(activityId,message),{url,title:"",content:"",error:message,mimeType,status:response.status}}}if(isPDFContent&&pdfConfig)try{let buffer=await readPDFResponseBuffer(response,pdfConfig.maxSizeMB);if(signal?.aborted)return abortedResult(url);let result=await extractPDFToMarkdown(
|
|
339
339
|
buffer,url,{signal});return activityMonitor.logComplete(activityId,response.status),{url,title:result.title,content:options?.mode==="answer"?result.content:`PDF extracted and saved to: ${result.outputPath}
|
|
340
340
|
|
|
@@ -344,7 +344,7 @@ includes("image/")||contentType.includes("audio/")||contentType.includes("video/
|
|
|
344
344
|
logComplete(activityId,response.status),{url,title:"",content:"",error:`HTTP ${response.status}: Blocked by Cloudflare challenge page`,status:response.status};if(!isHTML){activityMonitor.logComplete(activityId,response.status);let title=extractTextTitle(text,url);if(mimeType!=="text/markdown"&&mimeType!=="text/x-markdown")return{url,title,content:text,error:null};let declaredLinks2=discoverDeclaredWebLinks(null,response.headers.get("link"),response.url||url),markdown2={url,title,content:appendDeclaredWebLinks(
|
|
345
345
|
text,declaredLinks2),error:null,declaredLinks:declaredLinks2};if(!preferMarkdown||text.trim().length>=MIN_USEFUL_CONTENT)return markdown2;let normal=await extractViaHttp(url,Math.max(1,timeoutMs-(Date.now()-startedAt)),signal,options,!1);return signal?.aborted||isNonRecoverableHttpError(normal.error)||normal.status===404||normal.status===410||isAbortError3(normal.error)||normal.content.trim()!==appendDeclaredWebLinks("",normal.declaredLinks??[]).trim()||!markdown2.content.trim()?normal:{...normal,
|
|
346
346
|
...markdown2,error:"Extracted content appears incomplete"+(normal.error?`
|
|
347
|
-
Browser retry failed: ${normal.error}`:"")}}let{parseHTML}=await import("./esm-
|
|
347
|
+
Browser retry failed: ${normal.error}`:"")}}let{parseHTML}=await import("./esm-763X2IA7.js"),{document}=parseHTML(text),documentTitle=document.title?.trim()??"",declaredLinks=discoverDeclaredWebLinks(document,response.headers.get("link"),response.url||url),{Readability}=await import("./readability-4ONZTBJO.js"),article=new Readability(document).parse();if(!article){let rscResult=extractRSCContent(text);if(rscResult&&rscResult.content.length>=MIN_USEFUL_CONTENT)return activityMonitor.logComplete(
|
|
348
348
|
activityId,response.status),{url,title:rscResult.title,content:appendDeclaredWebLinks(rscResult.content,declaredLinks),error:null,declaredLinks};controller.signal.throwIfAborted();let defuddleResult=await extractWithDefuddle(text,response.url||url);if(controller.signal.throwIfAborted(),defuddleResult&&defuddleResult.content.length>=MIN_USEFUL_CONTENT)return activityMonitor.logComplete(activityId,response.status),{url,title:documentTitle||defuddleResult.title,content:appendDeclaredWebLinks(defuddleResult.
|
|
349
349
|
content,declaredLinks),error:null,declaredLinks};activityMonitor.logComplete(activityId,response.status);let errorMsg=isLikelyJSRendered(text)?"Page appears to be JavaScript-rendered (content loads dynamically)":"Could not extract readable content from HTML structure";return{url,title:documentTitle,content:appendDeclaredWebLinks("",declaredLinks),error:errorMsg,declaredLinks}}if(typeof article.content!="string")throw new Error("Readability returned invalid article content");let markdown=(await getTurndown()).
|
|
350
350
|
turndown(article.content);if(activityMonitor.logComplete(activityId,response.status),markdown.length<MIN_USEFUL_CONTENT){let rscResult=extractRSCContent(text);if(rscResult&&rscResult.content.length>=MIN_USEFUL_CONTENT)return{url,title:rscResult.title,content:appendDeclaredWebLinks(rscResult.content,declaredLinks),error:null,declaredLinks};controller.signal.throwIfAborted();let defuddleResult=await extractWithDefuddle(text,response.url||url);return controller.signal.throwIfAborted(),defuddleResult&&
|