@humain/humain-code 0.4.9 → 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 +22 -0
- package/dist/bundle/agent-monitor.js +1 -1
- package/dist/bundle/chunks/bedrock-converse-stream.js +39 -45
- package/dist/bundle/chunks/{chunk-6FVNSW6B.js → chunk-2QTTNAD4.js} +3353 -3938
- 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-RBKDBF5G.js → chunk-AS2Y2MO6.js} +36 -36
- package/dist/bundle/chunks/{chunk-4LAKI5IL.js → chunk-AUFEF24K.js} +1 -1
- package/dist/bundle/chunks/{chunk-P4YMUUSK.js → chunk-BCF7KZ3R.js} +739 -730
- 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-Z5LYSSTY.js → chunk-QSPDLT2R.js} +2 -2
- package/dist/bundle/chunks/{chunk-UBQSONVR.js → chunk-R5VIAWGA.js} +103 -145
- package/dist/bundle/chunks/{chunk-EMYNPLY5.js → chunk-V5ZF7Q7L.js} +1 -1
- 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/{cli-ZKT34WPW.js → cli-5ACW3WND.js} +2 -2
- package/dist/bundle/chunks/{compat-HEUVP6UJ.js → compat-TQKA4I7M.js} +1 -1
- package/dist/bundle/chunks/{dist-NU2EIVT6.js → dist-WHC67QRM.js} +676 -550
- 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-PYRMDATF.js → extract-DLZ425VI.js} +4 -4
- package/dist/bundle/chunks/github-copilot.js +32 -31
- package/dist/bundle/chunks/{google-generative-ai-H2F5Y5H2.js → google-generative-ai-JD2FVOIX.js} +1 -1
- package/dist/bundle/chunks/{google-vertex-LFWD2AOO.js → google-vertex-PFBMDCBW.js} +1 -1
- package/dist/bundle/chunks/{host-6ZA6LK4C.js → host-4J7H7KDS.js} +1 -1
- package/dist/bundle/chunks/{node-XGNY74WT.js → node-W47VUEGE.js} +1 -1
- package/dist/bundle/chunks/{runtime-JFLZUNYP.js → runtime-SI76JZNE.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/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/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 +119 -37
- package/docs/providers.md +37 -0
- package/npm-shrinkwrap.json +48 -6
- package/package.json +3 -2
- package/dist/bundle/chunks/chunk-JOKJ3CEL.js +0 -27
- package/dist/bundle/chunks/event-streams-CGCQQL5M.js +0 -2
- package/dist/bundle/chunks/virtual-modules-NPWQ6NBS.js +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.4.10] - 2026-10-13
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added terminal-only `/flow setup` for provider connections, profile editing, tier and capability model choices, consented live checks, and review before saving. Profile and Node-fallback drafts stay in memory until Save; sign-in and global account changes persist immediately.
|
|
8
|
+
- Added read-only `/flow list` for recent runs in the current checkout, plus `/flow hide` and `/flow show` to control the widget without stopping work. Hidden widgets retain their final snapshot until the next run.
|
|
9
|
+
- Added consent-bound account usage refresh for Codex weekly allowance, Anthropic API rate-limit headers observed in the session, and regional Bedrock CloudWatch invocation and token totals. Reports distinguish unavailable, empty, partial and stale data; they are not billing totals or proof of model access.
|
|
10
|
+
- Added opt-in, ordered HUMAIN Node key fallback for recognized key and limit failures before output or tool execution. Fallback respects endpoint scope, Retry-After and per-key cooldowns; environment-only keys are not fallback targets.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Consolidated Flow slash commands under `/flow`: start work with `/flow run <goal>` and use `/flow help [command]` for static help. Old `/flow-*` and `/omsg` names have no aliases; bare `/flow` shows help and unknown subcommands never start work. Internal tools and `flow_*` RPC operations are unchanged.
|
|
15
|
+
- `/flow models` now edits the versioned profile store used by runs, with independent tier and capability primaries, ordered fallbacks and capability effort. Omitted fallbacks inherit; an explicit empty list disables automatic model switching. Failure recovery uses only applicable configured fallbacks. Previewed legacy conversion refuses settings it cannot preserve.
|
|
16
|
+
- All Flow monetary spending thresholds now warn instead of stopping work, including run, role, dispatch, recovery and Sentinel child thresholds. They are not financial safeguards. Spending history remains intact; persistence failures, safety checks and non-monetary limits still stop work where applicable.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Malformed `/flow continue` refusals now emit a terminal RPC settlement instead of leaving hosts waiting. Outcome notices distinguish stopped runs and unavailable checks, and retry choices exclude deterministic safety blocks and ineligible runs.
|
|
21
|
+
- Setup conflict reloads preserve newer unrelated profile settings while reapplying draft model choices. Node key labels are validated before saving.
|
|
22
|
+
- Bedrock sign-in distinguishes bearer API keys from AWS credentials and preserves the selected region with ambient credential resolution. Flow account dialogs honor cancellation.
|
|
23
|
+
- Account reporting isolates concurrent refresh scopes and replaces cancelled in-flight refreshes. Node fallback metadata read failures no longer interrupt agent completion handling.
|
|
24
|
+
|
|
3
25
|
## [0.4.9] - 2026-10-13
|
|
4
26
|
|
|
5
27
|
### Added
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
2
|
-
import{runAgentMonitorCommand}from"./chunks/chunk-
|
|
2
|
+
import{runAgentMonitorCommand}from"./chunks/chunk-AUFEF24K.js";import"./chunks/chunk-YJBE3IGR.js";import"./chunks/chunk-QMUIATLD.js";import"./chunks/chunk-BHM75BJJ.js";import"./chunks/chunk-JXWJOIH4.js";process.exitCode=await runAgentMonitorCommand(process.env);
|
|
@@ -58,9 +58,9 @@ has no value member.`)}getMemberSchema(memberName){let struct2=this.getSchema();
|
|
|
58
58
|
buffer[k5]=v}catch{}return buffer}getEventStreamMember(){if(this.isStructSchema()){for(let[memberName,memberSchema]of this.structIterator())if(memberSchema.isStreaming()&&memberSchema.isStructSchema())return memberName}return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw new Error("@smithy/core/schema - cannot iterate non-struct schema.");let struct2=this.getSchema(),z=struct2[4].length,it=struct2[anno.it];if(it&&z===it.length){yield*it;return}it=Array(z);for(let i5=0;i5<
|
|
59
59
|
z;++i5){let k5=struct2[4][i5],v=member([struct2[5][i5],0],k5);yield it[i5]=[k5,v]}struct2[anno.it]=it}};isMemberSchema=sc=>Array.isArray(sc)&&sc.length===2,isStaticSchema=sc=>Array.isArray(sc)&&sc.length>=5}});var SimpleSchema,sim,simAdapter,init_SimpleSchema=__esm({"node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js"(){init_Schema();SimpleSchema=class _SimpleSchema extends Schema{static symbol=Symbol.for("@smithy/sim");schemaRef;symbol=_SimpleSchema.symbol},sim=(namespace,name,schemaRef,traits)=>Schema.assign(new SimpleSchema,{name,namespace,traits,schemaRef}),simAdapter=(namespace,name,traits,schemaRef)=>Schema.assign(new SimpleSchema,{name,namespace,traits,schemaRef})}});var SCHEMA,init_sentinels=__esm({"node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js"(){SCHEMA={BLOB:21,STREAMING_BLOB:42,BOOLEAN:2,STRING:0,NUMERIC:1,BIG_INTEGER:17,BIG_DECIMAL:19,DOCUMENT:15,TIMESTAMP_DEFAULT:4,TIMESTAMP_DATE_TIME:5,TIMESTAMP_HTTP_DATE:6,TIMESTAMP_EPOCH_SECONDS:7,LIST_MODIFIER:64,MAP_MODIFIER:128}}});var TypeRegistry,init_TypeRegistry=__esm({"node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js"(){TypeRegistry=class _TypeRegistry{namespace;schemas;exceptions;static registries=new Map;constructor(namespace,schemas=new Map,exceptions=new Map){this.namespace=namespace,this.schemas=schemas,this.exceptions=exceptions,_TypeRegistry.registries.has(namespace)||_TypeRegistry.registries.set(namespace,this)}static for(namespace){return _TypeRegistry.registries.get(namespace)??new _TypeRegistry(
|
|
60
60
|
namespace)}copyFrom(other){let{schemas,exceptions}=this;for(let[k5,v]of other.schemas)schemas.has(k5)||schemas.set(k5,v);for(let[k5,v]of other.exceptions)exceptions.has(k5)||exceptions.set(k5,v)}register(shapeId,schema){let qualifiedName=this.normalizeShapeId(shapeId);for(let r5 of[this,_TypeRegistry.for(qualifiedName.split("#")[0])])r5.schemas.has(qualifiedName)||r5.schemas.set(qualifiedName,schema)}getSchema(shapeId){let id=this.normalizeShapeId(shapeId);if(!this.schemas.has(id)){if(!shapeId.includes(
|
|
61
|
-
"#")){let suffix="#"+shapeId,candidates=[];for(let[shapeId2,schema]of this.schemas.entries())shapeId2.endsWith(suffix)&&candidates.push(schema);if(candidates.length===1)return candidates[0]}throw new Error(`@smithy/core/schema - schema not found for ${id}`)}return this.schemas.get(id)}registerError(es,ctor){let $error=es,ns=$error[1],qualifiedName=ns+"#"+$error[2];
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
"#")){let suffix="#"+shapeId,candidates=[];for(let[shapeId2,schema]of this.schemas.entries())shapeId2.endsWith(suffix)&&candidates.push(schema);if(candidates.length===1)return candidates[0]}throw new Error(`@smithy/core/schema - schema not found for ${id}`)}return this.schemas.get(id)}registerError(es,ctor){let $error=es,ns=$error[1],qualifiedName=ns+"#"+$error[2];for(let r5 of[this,_TypeRegistry.for(ns)])!r5.schemas.has(qualifiedName)&&!r5.exceptions.has($error)&&(r5.schemas.set(qualifiedName,$error),
|
|
62
|
+
r5.exceptions.set($error,ctor))}getErrorCtor(es){let $error=es;return this.exceptions.has($error)?this.exceptions.get($error):_TypeRegistry.for($error[1]).exceptions.get($error)}getBaseException(){for(let exceptionKey of this.exceptions.keys())if(Array.isArray(exceptionKey)){let[,ns,name]=exceptionKey,id=ns+"#"+name;if(id.startsWith("smithy.ts.sdk.synthetic.")&&id.endsWith("ServiceException"))return exceptionKey}}find(predicate){for(let schema of this.schemas.values())if(predicate(schema))return schema}clear(){
|
|
63
|
+
this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(shapeId){return shapeId.includes("#")?shapeId:this.namespace+"#"+shapeId}}}});var schema_exports={};__export(schema_exports,{ErrorSchema:()=>ErrorSchema,ListSchema:()=>ListSchema,MapSchema:()=>MapSchema,NormalizedSchema:()=>NormalizedSchema,OperationSchema:()=>OperationSchema,SCHEMA:()=>SCHEMA,Schema:()=>Schema,SimpleSchema:()=>SimpleSchema,StructureSchema:()=>StructureSchema,TypeRegistry:()=>TypeRegistry,deref:()=>deref,deserializerMiddlewareOption:()=>deserializerMiddlewareOption,error:()=>error,getSchemaSerdePlugin:()=>getSchemaSerdePlugin,isStaticSchema:()=>isStaticSchema,
|
|
64
64
|
list:()=>list,map:()=>map,op:()=>op,operation:()=>operation,serializerMiddlewareOption:()=>serializerMiddlewareOption,sim:()=>sim,simAdapter:()=>simAdapter,simpleSchemaCacheN:()=>simpleSchemaCacheN,simpleSchemaCacheS:()=>simpleSchemaCacheS,struct:()=>struct,traitsCache:()=>traitsCache,translateTraits:()=>translateTraits});var init_schema=__esm({"node_modules/@smithy/core/dist-es/submodules/schema/index.js"(){init_deref();init_getSchemaSerdePlugin();init_ListSchema();init_MapSchema();init_OperationSchema();
|
|
65
65
|
init_operation();init_ErrorSchema();init_NormalizedSchema();init_Schema();init_SimpleSchema();init_StructureSchema();init_sentinels();init_translateTraits();init_TypeRegistry()}});function schemaLogFilter(schema,data){if(data==null)return data;let ns=NormalizedSchema.of(schema);if(ns.getMergedTraits().sensitive)return SENSITIVE_STRING;if(ns.isListSchema()){if(!!ns.getValueSchema().getMergedTraits().sensitive)return SENSITIVE_STRING}else if(ns.isMapSchema()){if(!!ns.getKeySchema().getMergedTraits().sensitive||!!ns.getValueSchema().getMergedTraits().sensitive)return SENSITIVE_STRING}else if(ns.isStructSchema()&&typeof data=="object"){let object=data,newObject={};for(let[member2,
|
|
66
66
|
memberNs]of ns.structIterator())object[member2]!=null&&(newObject[member2]=schemaLogFilter(memberNs,object[member2]));return newObject}return data}var SENSITIVE_STRING,init_schemaLogFilter=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js"(){init_schema();SENSITIVE_STRING="***SensitiveInformation***"}});var import_types2,Command,ClassBuilder,init_command=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js"(){import_types2=__toESM(require_dist_cjs());init_MiddlewareStack();init_schemaLogFilter();Command=class{middlewareStack=constructStack();schema;static classBuilder(){return new ClassBuilder}resolveMiddlewareWithContext(clientStack,configuration,options,{middlewareFn,clientName,commandName,inputFilterSensitiveLog,outputFilterSensitiveLog,smithyContext,additionalContext,
|
|
@@ -71,11 +71,10 @@ return this._inputFilterSensitiveLog=inputFilter,this._outputFilterSensitiveLog=
|
|
|
71
71
|
input=input??{},closure._init(this),this.schema=closure._operationSchema}resolveMiddleware(stack,configuration,options){let op2=closure._operationSchema,input=op2?.[4]??op2?.input,output=op2?.[5]??op2?.output;return this.resolveMiddlewareWithContext(stack,configuration,options,{CommandCtor:CommandRef,middlewareFn:closure._middlewareFn,clientName:closure._clientName,commandName:closure._commandName,inputFilterSensitiveLog:closure._inputFilterSensitiveLog??(op2?schemaLogFilter.bind(null,input):_=>_),
|
|
72
72
|
outputFilterSensitiveLog:closure._outputFilterSensitiveLog??(op2?schemaLogFilter.bind(null,output):_=>_),smithyContext:closure._smithyContext,additionalContext:closure._additionalContext})}serialize=closure._serializer;deserialize=closure._deserializer}}}}});var SENSITIVE_STRING2,init_constants=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/constants.js"(){SENSITIVE_STRING2="***SensitiveInformation***"}});var createAggregatedClient,init_create_aggregated_client=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js"(){createAggregatedClient=(commands5,Client2,options)=>{for(let[command5,CommandCtor]of Object.entries(commands5)){let methodImpl=async function(args,optionsOrCb,cb){let command6=new CommandCtor(args);if(typeof optionsOrCb=="function")this.send(command6,optionsOrCb);else if(typeof cb=="function"){if(typeof optionsOrCb!="object")throw new Error(
|
|
73
73
|
`Expected http options but got ${typeof optionsOrCb}`);this.send(command6,optionsOrCb||{},cb)}else return this.send(command6,optionsOrCb)},methodName=(command5[0].toLowerCase()+command5.slice(1)).replace(/Command$/,"");Client2.prototype[methodName]=methodImpl}let{paginators={},waiters={}}=options??{};for(let[paginatorName,paginatorFn]of Object.entries(paginators))Client2.prototype[paginatorName]===void 0&&(Client2.prototype[paginatorName]=function(commandInput={},paginationConfiguration,...rest){
|
|
74
|
-
return paginatorFn({...paginationConfiguration,client:this},commandInput,...rest)});for(let[waiterName,waiterFn]of Object.entries(waiters))Client2.prototype[waiterName]===void 0&&(Client2.prototype[waiterName]=async function(commandInput={},waiterConfiguration,...rest){let config=waiterConfiguration;return typeof waiterConfiguration=="number"&&(config={maxWaitTime:waiterConfiguration}),waiterFn({...config,client:this},commandInput,...rest)})}}});var ServiceException,decorateServiceException,init_exceptions=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js"(){ServiceException=class _ServiceException extends Error{
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
let message=exception.message||exception.Message||"UnknownError";return exception.message=message,delete exception.Message,exception}}});var throwDefaultError,withBaseException,deserializeMetadata,init_default_error_handler=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/default-error-handler.js"(){init_exceptions();throwDefaultError=({output,parsedBody,exceptionCtor,errorCode})=>{let $metadata=deserializeMetadata(output),statusCode=$metadata.httpStatusCode?$metadata.httpStatusCode+"":void 0,response=new exceptionCtor({name:parsedBody?.code||parsedBody?.Code||errorCode||statusCode||"UnknownError",$fault:"\
|
|
74
|
+
return paginatorFn({...paginationConfiguration,client:this},commandInput,...rest)});for(let[waiterName,waiterFn]of Object.entries(waiters))Client2.prototype[waiterName]===void 0&&(Client2.prototype[waiterName]=async function(commandInput={},waiterConfiguration,...rest){let config=waiterConfiguration;return typeof waiterConfiguration=="number"&&(config={maxWaitTime:waiterConfiguration}),waiterFn({...config,client:this},commandInput,...rest)})}}});var ServiceException,decorateServiceException,init_exceptions=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js"(){ServiceException=class _ServiceException extends Error{$fault;$response;$retryable;$metadata;constructor(options){super(options.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=options.name,this.$fault=options.$fault,this.$metadata=options.$metadata}static isInstance(value){if(!value)return!1;let candidate=value;
|
|
75
|
+
return _ServiceException.prototype.isPrototypeOf(candidate)||!!candidate.$fault&&!!candidate.$metadata&&(candidate.$fault==="client"||candidate.$fault==="server")}static[Symbol.hasInstance](instance){if(!instance)return!1;let candidate=instance;if(this===_ServiceException)return _ServiceException.isInstance(instance);if(_ServiceException.isInstance(instance)){if(this.prototype.isPrototypeOf(instance))return!0;let targetName=this.name;if(!targetName||!candidate.name)return!1;if(candidate.name===targetName)
|
|
76
|
+
return!0;let proto=Object.getPrototypeOf(candidate);for(;proto&&proto!==Object.prototype;){let ctorName=proto.constructor?.name;if(ctorName&&ctorName!=="Error"&&ctorName===targetName)return!0;proto=Object.getPrototypeOf(proto)}return!1}return!1}},decorateServiceException=(exception,additions={})=>{Object.entries(additions).filter(([,v])=>v!==void 0).forEach(([k5,v])=>{(exception[k5]==null||exception[k5]==="")&&(exception[k5]=v)});let message=exception.message||exception.Message||"UnknownError";return exception.
|
|
77
|
+
message=message,delete exception.Message,exception}}});var throwDefaultError,withBaseException,deserializeMetadata,init_default_error_handler=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/default-error-handler.js"(){init_exceptions();throwDefaultError=({output,parsedBody,exceptionCtor,errorCode})=>{let $metadata=deserializeMetadata(output),statusCode=$metadata.httpStatusCode?$metadata.httpStatusCode+"":void 0,response=new exceptionCtor({name:parsedBody?.code||parsedBody?.Code||errorCode||statusCode||"UnknownError",$fault:"\
|
|
79
78
|
client",$metadata});throw decorateServiceException(response,parsedBody)},withBaseException=ExceptionCtor=>({output,parsedBody,errorCode})=>{throwDefaultError({output,parsedBody,exceptionCtor:ExceptionCtor,errorCode})},deserializeMetadata=output=>({httpStatusCode:output.statusCode,requestId:output.headers["x-amzn-requestid"]??output.headers["x-amzn-request-id"]??output.headers["x-amz-request-id"],extendedRequestId:output.headers["x-amz-id-2"],cfId:output.headers["x-amz-cf-id"]})}});var loadConfigsForDefaultMode,init_defaults_mode=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/defaults-mode.js"(){loadConfigsForDefaultMode=mode=>{switch(mode){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}}}});var warningEmitted,emitWarningIfUnsupportedVersion2,init_emitWarningIfUnsupportedVersion2=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.js"(){warningEmitted=!1,emitWarningIfUnsupportedVersion2=version=>{version&&!warningEmitted&&parseInt(version.substring(1,version.indexOf(".")))<16&&(warningEmitted=!0)}}});var import_types3,knownAlgorithms,getChecksumConfiguration,resolveChecksumRuntimeConfig,init_checksum=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js"(){init_transport();import_types3=__toESM(require_dist_cjs()),knownAlgorithms=Object.values(import_types3.AlgorithmId),getChecksumConfiguration=runtimeConfig=>{let checksumAlgorithms=[];for(let id in import_types3.AlgorithmId){if(!hasOwn(import_types3.AlgorithmId,id))continue;let algorithmId=import_types3.AlgorithmId[id];
|
|
80
79
|
runtimeConfig[algorithmId]!==void 0&&checksumAlgorithms.push({algorithmId:()=>algorithmId,checksumConstructor:()=>runtimeConfig[algorithmId]})}for(let[id,ChecksumCtor]of Object.entries(runtimeConfig.checksumAlgorithms??{}))checksumAlgorithms.push({algorithmId:()=>id,checksumConstructor:()=>ChecksumCtor});return{addChecksumAlgorithm(algo){runtimeConfig.checksumAlgorithms=runtimeConfig.checksumAlgorithms??{};let id=algo.algorithmId(),ctor=algo.checksumConstructor();knownAlgorithms.includes(id)?runtimeConfig.
|
|
81
80
|
checksumAlgorithms[id.toUpperCase()]=ctor:runtimeConfig.checksumAlgorithms[id]=ctor,checksumAlgorithms.push(algo)},checksumAlgorithms(){return checksumAlgorithms}}},resolveChecksumRuntimeConfig=clientConfig=>{let runtimeConfig={};return clientConfig.checksumAlgorithms().forEach(checksumAlgorithm=>{let id=checksumAlgorithm.algorithmId();knownAlgorithms.includes(id)&&(runtimeConfig[id]=checksumAlgorithm.checksumConstructor())}),runtimeConfig}}});var getRetryConfiguration,resolveRetryRuntimeConfig,init_retry=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/retry.js"(){getRetryConfiguration=runtimeConfig=>({setRetryStrategy(retryStrategy){runtimeConfig.retryStrategy=retryStrategy},retryStrategy(){return runtimeConfig.retryStrategy}}),resolveRetryRuntimeConfig=retryStrategyConfiguration=>{let runtimeConfig={};return runtimeConfig.retryStrategy=retryStrategyConfiguration.retryStrategy(),runtimeConfig}}});var getDefaultExtensionConfiguration,getDefaultClientConfiguration,resolveDefaultRuntimeConfig,init_defaultExtensionConfiguration=__esm({"node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.js"(){init_checksum();init_retry();getDefaultExtensionConfiguration=runtimeConfig=>Object.assign(getChecksumConfiguration(runtimeConfig),getRetryConfiguration(runtimeConfig)),getDefaultClientConfiguration=getDefaultExtensionConfiguration,resolveDefaultRuntimeConfig=
|
|
@@ -182,7 +181,7 @@ N");let endpoint=await getEndpointFromInstructions2(args.input,{getEndpointParam
|
|
|
182
181
|
Object.assign(httpAuthOption.signingProperties||{},{signing_region:authScheme.signingRegion,signingRegion:authScheme.signingRegion,signing_service:authScheme.signingName,signingName:authScheme.signingName,signingRegionSet:authScheme.signingRegionSet},authScheme.properties))}return next({...args})}}var init_endpointMiddleware=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js"(){init_transport();init_getEndpointFromInstructions()}});function bindGetEndpointPlugin(getEndpointFromConfig2){let endpointMiddleware2=bindEndpointMiddleware(getEndpointFromConfig2);return(config,instructions)=>({applyToStack:clientStack=>{clientStack.addRelativeTo(endpointMiddleware2({config,instructions}),endpointMiddlewareOptions)}})}var serializerMiddlewareOption2,endpointMiddlewareOptions,init_getEndpointPlugin=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/getEndpointPlugin.js"(){init_endpointMiddleware();serializerMiddlewareOption2=
|
|
183
182
|
{name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0},endpointMiddlewareOptions={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:serializerMiddlewareOption2.name}}});function bindResolveEndpointConfig(getEndpointFromConfig2){return input=>{let tls3=input.tls??!0,{endpoint,useDualstackEndpoint,useFipsEndpoint}=input,customEndpointProvider=endpoint!=null?async()=>toEndpointV1(await normalizeProvider(endpoint)()):void 0,resolvedConfig=Object.assign(input,{endpoint:customEndpointProvider,tls:tls3,isCustomEndpoint:!!endpoint,useDualstackEndpoint:normalizeProvider(useDualstackEndpoint??!1),useFipsEndpoint:normalizeProvider(useFipsEndpoint??!1),ignoreConfiguredEndpointUrls:!!input.
|
|
184
183
|
ignoreConfiguredEndpointUrls}),configuredEndpointPromise;return resolvedConfig.serviceConfiguredEndpoint=async()=>(input.serviceId&&!configuredEndpointPromise&&(configuredEndpointPromise=getEndpointFromConfig2(input.serviceId)),configuredEndpointPromise),resolvedConfig}}var init_resolveEndpointConfig=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js"(){init_transport();init_toEndpointV12()}});var BinaryDecisionDiagram,init_BinaryDecisionDiagram=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.js"(){BinaryDecisionDiagram=class _BinaryDecisionDiagram{nodes;root;conditions;results;constructor(bdd5,root5,conditions,results){this.nodes=bdd5,this.root=root5,this.conditions=conditions,this.results=results}static from(bdd5,root5,conditions,results){return new _BinaryDecisionDiagram(bdd5,root5,conditions,results)}}}});var EndpointCache,init_EndpointCache=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js"(){EndpointCache=class{capacity;data=new Map;parameters=[];constructor({size,params}){this.capacity=size??50,params&&(this.parameters=params)}get(endpointParams,resolver){let key=this.hash(endpointParams);if(key===!1)return resolver();if(!this.data.has(key)){if(this.data.size>this.capacity+10){let keys=this.data.keys(),i5=0;for(;;){let{value,done}=keys.next();
|
|
185
|
-
if(this.data.delete(value),done||++i5>10)break}}this.data.set(key,resolver())}return this.data.get(key)}size(){return this.data.size}hash(endpointParams){let buffer="",{parameters}=this;if(parameters.length===0)return!1;for(let param of parameters){let
|
|
184
|
+
if(this.data.delete(value),done||++i5>10)break}}this.data.set(key,resolver())}return this.data.get(key)}size(){return this.data.size}hash(endpointParams){let buffer="",{parameters}=this;if(parameters.length===0)return!1;for(let param of parameters){let val=String(endpointParams[param]??"");if(val.includes("|;"))return!1;buffer+=val+"|;"}return buffer}}}});var EndpointError,init_EndpointError=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointError.js"(){EndpointError=class extends Error{constructor(message){super(message),this.name="EndpointError"}}}});var init_types2=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/index.js"(){init_EndpointError()}});var debugId,init_debugId=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/debugId.js"(){debugId="endpoints"}});function toDebugString(input){return typeof input!="object"||input==null?input:"ref"in input?`$${toDebugString(input.ref)}`:"fn"in input?`${input.fn}(${(input.argv||[]).map(toDebugString).join(", ")})`:JSON.stringify(input,null,2)}var init_toDebugString=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/toDebugString.js"(){}});var init_debug=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/index.js"(){init_debugId();init_toDebugString()}});var customEndpointFunctions,init_customEndpointFunctions=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.js"(){customEndpointFunctions={}}});var booleanEquals,init_booleanEquals=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/booleanEquals.js"(){booleanEquals=(value1,value2)=>value1===value2}});function coalesce(...args){for(let arg of args)if(arg!=null)return arg}var init_coalesce=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/coalesce.js"(){}});var getAttrPathList,init_getAttrPathList=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttrPathList.js"(){init_types2();getAttrPathList=path=>{let parts=path.split("."),pathList=[];for(let part of parts){let squareBracketIndex=part.indexOf("[");if(squareBracketIndex!==-1){if(part.indexOf("]")!==part.length-1)throw new EndpointError(`Path: '${path}' does not end with ']'`);let arrayIndex=part.slice(squareBracketIndex+1,-1);if(Number.isNaN(parseInt(arrayIndex)))
|
|
186
185
|
throw new EndpointError(`Invalid array index: '${arrayIndex}' in path: '${path}'`);squareBracketIndex!==0&&pathList.push(part.slice(0,squareBracketIndex)),pathList.push(arrayIndex)}else pathList.push(part)}return pathList}}});var getAttr,init_getAttr=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttr.js"(){init_types2();init_getAttrPathList();getAttr=(value,path)=>getAttrPathList(path).reduce((acc,index)=>{if(typeof acc!="object")throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);if(Array.isArray(acc)){let i5=parseInt(index);return acc[i5<0?acc.length+i5:i5]}return acc[index]},value)}});var isSet,init_isSet=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isSet.js"(){isSet=value=>value!=null}});function ite(condition,trueValue,falseValue){return condition?trueValue:falseValue}var init_ite=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/ite.js"(){}});var not,init_not=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/not.js"(){not=value=>!value}});var IP_V4_REGEX,isIpAddress,init_isIpAddress=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isIpAddress.js"(){IP_V4_REGEX=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),isIpAddress=value=>IP_V4_REGEX.test(value)||value.startsWith("[")&&value.endsWith("]")}});var import_types12,DEFAULT_PORTS,parseURL,init_parseURL=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js"(){import_types12=__toESM(require_dist_cjs());init_isIpAddress();DEFAULT_PORTS={[import_types12.EndpointURLScheme.HTTP]:80,[import_types12.EndpointURLScheme.HTTPS]:443},parseURL=value=>{let whatwgURL=(()=>{try{if(value instanceof URL)return value;if(typeof value=="object"&&"hostname"in value){let{hostname:hostname2,port,protocol:protocol2="",path="",
|
|
187
186
|
query={}}=value,url=new URL(`${protocol2}//${hostname2}${port?`:${port}`:""}${path}`);return url.search=Object.entries(query).map(([k5,v])=>`${k5}=${v}`).join("&"),url}return new URL(value)}catch{return null}})();if(!whatwgURL)return console.error(`Unable to parse ${JSON.stringify(value)} as a whatwg URL.`),null;let urlString=whatwgURL.href,{host,hostname,pathname,protocol,search}=whatwgURL;if(search)return null;let scheme=protocol.slice(0,-1);if(!Object.values(import_types12.EndpointURLScheme).
|
|
188
187
|
includes(scheme))return null;let isIp=isIpAddress(hostname),inputContainsDefaultPort=urlString.includes(`${host}:${DEFAULT_PORTS[scheme]}`)||typeof value=="string"&&value.includes(`${host}:${DEFAULT_PORTS[scheme]}`),authority=`${host}${inputContainsDefaultPort?`:${DEFAULT_PORTS[scheme]}`:""}`;return{scheme,authority,path:pathname,normalizedPath:pathname.endsWith("/")?pathname:`${pathname}/`,isIp}}}});function split(value,delimiter,limit){if(limit===1)return[value];if(value==="")return[""];let parts=value.split(delimiter);return limit===0?parts:parts.slice(0,limit-1).concat(parts.slice(1).join(delimiter))}var init_split=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/split.js"(){}});var stringEquals,init_stringEquals=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/stringEquals.js"(){stringEquals=(value1,value2)=>value1===value2}});var substring,init_substring=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/substring.js"(){substring=(input,start,stop,reverse)=>input==null||start>=stop||input.length<stop||/[^\u0000-\u007f]/.test(input)?null:reverse?input.substring(input.length-stop,input.length-start):input.substring(start,stop)}});var uriEncode,init_uriEncode=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/uriEncode.js"(){uriEncode=value=>encodeURIComponent(value).replace(/[!*'()]/g,c5=>`%${c5.charCodeAt(0).toString(16).toUpperCase()}`)}});var init_lib=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js"(){init_booleanEquals();init_coalesce();init_getAttr();init_isSet();init_transport();init_ite();init_not();init_parseURL();init_split();init_stringEquals();init_substring();init_uriEncode()}});var endpointFunctions,init_endpointFunctions=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/endpointFunctions.js"(){init_lib();endpointFunctions={booleanEquals,coalesce,getAttr,isSet,isValidHostLabel,ite,not,parseURL,split,stringEquals,substring,uriEncode}}});var evaluateTemplate,init_evaluateTemplate=__esm({"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateTemplate.js"(){init_lib();evaluateTemplate=(template,options)=>{let evaluatedTemplateArr=[],{referenceRecord,endpointParams}=options,currentIndex=0;for(;currentIndex<template.length;){let openingBraceIndex=template.indexOf("{",currentIndex);if(openingBraceIndex===-1){evaluatedTemplateArr.push(template.slice(currentIndex));break}evaluatedTemplateArr.push(template.
|
|
@@ -607,15 +606,15 @@ ${toHex2(hashedRequest)}`}getCanonicalPath({path}){if(this.uriEscapePath){let no
|
|
|
607
606
|
if(typeof credentials!="object"||typeof credentials.accessKeyId!="string"||typeof credentials.secretAccessKey!="string")throw new Error("Resolved credential object is not valid")}formatDate(now){let longDate=iso8601(now).replace(/[-:]/g,"");return{longDate,shortDate:longDate.slice(0,8)}}getCanonicalHeaderList(headers){return Object.keys(headers).sort().join(";")}},signingKeyCache={},cacheQueue=[],createScope=(shortDate,region,service)=>`${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`,getSigningKey=async(sha256Constructor,credentials,shortDate,region,service)=>{
|
|
608
607
|
let credsHash=await hmac(sha256Constructor,credentials.secretAccessKey,credentials.accessKeyId),cacheKey=`${shortDate}:${region}:${service}:${toHex2(credsHash)}:${credentials.sessionToken}`;if(cacheKey in signingKeyCache)return signingKeyCache[cacheKey];for(cacheQueue.push(cacheKey);cacheQueue.length>MAX_CACHE_SIZE;)delete signingKeyCache[cacheQueue.shift()];let key=`AWS4${credentials.secretAccessKey}`;for(let signable of[shortDate,region,service,KEY_TYPE_IDENTIFIER])key=await hmac(sha256Constructor,
|
|
609
608
|
key,signable);return signingKeyCache[cacheKey]=key},clearCredentialCache=()=>{cacheQueue.length=0,Object.keys(signingKeyCache).forEach(cacheKey=>{delete signingKeyCache[cacheKey]})},hmac=(ctor,secret,data)=>{let hash=new ctor(secret);return hash.update(toUint8Array2(data)),hash.digest()},getCanonicalHeaders=({headers},unsignableHeaders,signableHeaders)=>{let canonical={};for(let headerName of Object.keys(headers).sort()){if(headers[headerName]==null)continue;let canonicalHeaderName=headerName.toLowerCase();
|
|
610
|
-
(canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS||unsignableHeaders?.has(canonicalHeaderName)||PROXY_HEADER_PATTERN.test(canonicalHeaderName)||SEC_HEADER_PATTERN.test(canonicalHeaderName))&&(!signableHeaders||signableHeaders&&!signableHeaders.has(canonicalHeaderName))||(canonical[canonicalHeaderName]=headers[headerName].
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
609
|
+
(canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS||unsignableHeaders?.has(canonicalHeaderName)||PROXY_HEADER_PATTERN.test(canonicalHeaderName)||SEC_HEADER_PATTERN.test(canonicalHeaderName))&&(!signableHeaders||signableHeaders&&!signableHeaders.has(canonicalHeaderName))||(canonical[canonicalHeaderName]=headers[headerName].trim().replace(/\s+/g," "))}return canonical},getPayloadHash=async({headers,body},hashConstructor)=>{for(let headerName in headers)if(hasOwn3(headers,headerName)&&headerName.toLowerCase()===
|
|
610
|
+
SHA256_HEADER)return headers[headerName];if(body==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if(typeof body=="string"||ArrayBuffer.isView(body)||isArrayBuffer2(body)){let hashCtor=new hashConstructor;return hashCtor.update(toUint8Array2(body)),toHex2(await hashCtor.digest())}return UNSIGNED_PAYLOAD},hasHeader=(soughtHeader,headers)=>{soughtHeader=soughtHeader.toLowerCase();for(let headerName in headers)if(hasOwn3(headers,headerName)&&soughtHeader===headerName.toLowerCase())
|
|
611
|
+
return!0;return!1},moveHeadersToQuery=(request,options={})=>{let{headers,query={}}=HttpRequest2.clone(request);for(let name in headers){if(!hasOwn3(headers,name))continue;let lname=name.toLowerCase();(lname.slice(0,6)==="x-amz-"&&!options.unhoistableHeaders?.has(lname)||options.hoistableHeaders?.has(lname))&&(query[name]=headers[name],delete headers[name])}return{...request,headers,query}},prepareRequest=request=>{request=HttpRequest2.clone(request);for(let headerName in request.headers)hasOwn3(
|
|
612
|
+
request.headers,headerName)&&GENERATED_HEADERS.indexOf(headerName.toLowerCase())>-1&&delete request.headers[headerName];return request},SignatureV42=class extends SignatureV4Base{headerFormatter=new HeaderFormatter;constructor({applyChecksum,credentials,region,service,sha256,uriEscapePath=!0}){super({applyChecksum,credentials,region,service,sha256,uriEscapePath})}async presign(originalRequest,options={}){let{signingDate=new Date,expiresIn=3600,unsignableHeaders,unhoistableHeaders,signableHeaders,
|
|
613
|
+
hoistableHeaders,signingRegion,signingService}=options,credentials=await this.credentialProvider();this.validateResolvedCredentials(credentials);let region=signingRegion??await this.regionProvider(),{longDate,shortDate}=this.formatDate(signingDate);if(expiresIn>MAX_PRESIGNED_TTL)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let scope=createScope(shortDate,region,signingService??this.service),request=moveHeadersToQuery(prepareRequest(
|
|
614
|
+
originalRequest),{unhoistableHeaders,hoistableHeaders});credentials.sessionToken&&(request.query[TOKEN_QUERY_PARAM]=credentials.sessionToken),request.query[ALGORITHM_QUERY_PARAM]=ALGORITHM_IDENTIFIER,request.query[CREDENTIAL_QUERY_PARAM]=`${credentials.accessKeyId}/${scope}`,request.query[AMZ_DATE_QUERY_PARAM]=longDate,request.query[EXPIRES_QUERY_PARAM]=expiresIn.toString(10);let canonicalHeaders=getCanonicalHeaders(request,unsignableHeaders,signableHeaders);return request.query[SIGNED_HEADERS_QUERY_PARAM]=
|
|
615
|
+
this.getCanonicalHeaderList(canonicalHeaders),request.query[SIGNATURE_QUERY_PARAM]=await this.getSignature(longDate,scope,this.getSigningKey(credentials,region,shortDate,signingService),this.createCanonicalRequest(request,canonicalHeaders,await getPayloadHash(originalRequest,this.sha256))),request}async sign(toSign,options){return typeof toSign=="string"?this.signString(toSign,options):toSign.headers&&toSign.payload?this.signEvent(toSign,options):toSign.message?this.signMessage(toSign,options):this.
|
|
616
|
+
signRequest(toSign,options)}async signEvent({headers,payload:payload2},{signingDate=new Date,priorSignature,signingRegion,signingService,eventStreamCredentials}){let region=signingRegion??await this.regionProvider(),{shortDate,longDate}=this.formatDate(signingDate),scope=createScope(shortDate,region,signingService??this.service),hashedPayload=await getPayloadHash({headers:{},body:payload2},this.sha256),hash=new this.sha256;hash.update(headers);let hashedHeaders=toHex2(await hash.digest()),stringToSign=[
|
|
617
|
+
EVENT_ALGORITHM_IDENTIFIER,longDate,scope,priorSignature,hashedHeaders,hashedPayload].join(`
|
|
619
618
|
`);return this.signString(stringToSign,{signingDate,signingRegion:region,signingService,eventStreamCredentials})}async signMessage(signableMessage,{signingDate=new Date,signingRegion,signingService,eventStreamCredentials}){return this.signEvent({headers:this.headerFormatter.format(signableMessage.message.headers),payload:signableMessage.message.body},{signingDate,signingRegion,signingService,priorSignature:signableMessage.priorSignature,eventStreamCredentials}).then(signature=>({message:signableMessage.
|
|
620
619
|
message,signature}))}async signString(stringToSign,{signingDate=new Date,signingRegion,signingService,eventStreamCredentials}={}){let credentials=eventStreamCredentials??await this.credentialProvider();this.validateResolvedCredentials(credentials);let region=signingRegion??await this.regionProvider(),{shortDate}=this.formatDate(signingDate),hash=new this.sha256(await this.getSigningKey(credentials,region,shortDate,signingService));return hash.update(toUint8Array2(stringToSign)),toHex2(await hash.
|
|
621
620
|
digest())}async signRequest(requestToSign,{signingDate=new Date,signableHeaders,unsignableHeaders,signingRegion,signingService}={}){let credentials=await this.credentialProvider();this.validateResolvedCredentials(credentials);let region=signingRegion??await this.regionProvider(),request=prepareRequest(requestToSign),{longDate,shortDate}=this.formatDate(signingDate),scope=createScope(shortDate,region,signingService??this.service);request.headers[AMZ_DATE_HEADER]=longDate,credentials.sessionToken&&
|
|
@@ -717,13 +716,13 @@ try{let result=await requestHandler.handle(request,{requestTimeout});return getC
|
|
|
717
716
|
`))throw new CredentialsProviderError2("Authorization token contains invalid \\r\\n sequence.");return token};exports.fromHttp=fromHttp}});function createAwsAuthSigv4HttpAuthOption(authParameters){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:authParameters.region},propertiesExtractor:(config,context)=>({signingProperties:{config,context}})}}function createSmithyApiNoAuthHttpAuthOption(authParameters){return{schemeId:"smithy.api#noAuth"}}var defaultSSOOIDCHttpAuthSchemeParametersProvider,defaultSSOOIDCHttpAuthSchemeProvider,resolveHttpAuthSchemeConfig,init_httpAuthSchemeProvider=__esm({"node_modules/@a\
|
|
718
717
|
ws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js"(){init_httpAuthSchemes2();init_client2();defaultSSOOIDCHttpAuthSchemeParametersProvider=async(config,context,input)=>({operation:getSmithyContext(context).operation,region:await normalizeProvider(config.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});defaultSSOOIDCHttpAuthSchemeProvider=authParameters=>{let options=[];return authParameters.operation==="CreateToken"?
|
|
719
718
|
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)):options.push(createAwsAuthSigv4HttpAuthOption(authParameters)),options},resolveHttpAuthSchemeConfig=config=>{let config_0=resolveAwsSdkSigV4Config(config);return Object.assign(config_0,{authSchemePreference:normalizeProvider(config.authSchemePreference??[])})}}});var resolveClientEndpointParameters,commonParams,init_EndpointParameters=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js"(){resolveClientEndpointParameters=options=>Object.assign(options,{useDualstackEndpoint:options.useDualstackEndpoint??!1,useFipsEndpoint:options.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"}),commonParams={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"\
|
|
720
|
-
builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}});var package_default,init_package=__esm({"node_modules/@aws-sdk/nested-clients/package.json"(){package_default={name:"@aws-sdk/nested-clients",version:"3.997.
|
|
719
|
+
builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}});var package_default,init_package=__esm({"node_modules/@aws-sdk/nested-clients/package.json"(){package_default={name:"@aws-sdk/nested-clients",version:"3.997.46",description:"Nested clients for AWS SDK packages.",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",license:"Apache-2.0",author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/sdk-for-javascript/"},repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"packages/ne\
|
|
721
720
|
sted-clients"},files:["./cognito-identity.d.ts","./cognito-identity.js","./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sso.d.ts","./sso.js","./sts.d.ts","./sts.js","dist-*/**"],sideEffects:!1,main:"./dist-cjs/index.js",module:"./dist-es/index.js",browser:{"./dist-es/submodules/cognito-identity/runtimeConfig":"./dist-es/submodules/cognito-identity/runtimeConfig.browser","./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/s\
|
|
722
721
|
ubmodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sso/runtimeConfig":"./dist-es/submodules/sso/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},types:"./dist-types/index.d.ts",typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"],"*":["dist-types/ts3.4/submodules/*/index.d.ts"]}},"react-native":{},exports:{"./package.json":"./package.json","./sso-oidc":{types:"./dis\
|
|
723
722
|
t-types/submodules/sso-oidc/index.d.ts",module:"./dist-es/submodules/sso-oidc/index.js",node:"./dist-cjs/submodules/sso-oidc/index.js",import:"./dist-es/submodules/sso-oidc/index.js",require:"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{types:"./dist-types/submodules/sts/index.d.ts",module:"./dist-es/submodules/sts/index.js",node:"./dist-cjs/submodules/sts/index.js",import:"./dist-es/submodules/sts/index.js",require:"./dist-cjs/submodules/sts/index.js"},"./signin":{types:"./dist-types/subm\
|
|
724
723
|
odules/signin/index.d.ts",module:"./dist-es/submodules/signin/index.js",node:"./dist-cjs/submodules/signin/index.js",import:"./dist-es/submodules/signin/index.js",require:"./dist-cjs/submodules/signin/index.js"},"./cognito-identity":{types:"./dist-types/submodules/cognito-identity/index.d.ts",module:"./dist-es/submodules/cognito-identity/index.js",node:"./dist-cjs/submodules/cognito-identity/index.js",import:"./dist-es/submodules/cognito-identity/index.js",require:"./dist-cjs/submodules/cognito-\
|
|
725
724
|
identity/index.js"},"./sso":{types:"./dist-types/submodules/sso/index.d.ts",module:"./dist-es/submodules/sso/index.js",node:"./dist-cjs/submodules/sso/index.js",import:"./dist-es/submodules/sso/index.js",require:"./dist-cjs/submodules/sso/index.js"}},scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"premove dist-es && tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_pack\
|
|
726
|
-
age_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types",lint:"node ../../scripts/validation/submodules-linter.js",prebuild:"yarn lint",test:"yarn g:vitest run","test:watch":"yarn g:vitest watch"},dependencies:{"@aws-sdk/core":"^3.978.
|
|
725
|
+
age_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types",lint:"node ../../scripts/validation/submodules-linter.js",prebuild:"yarn lint",test:"yarn g:vitest run","test:watch":"yarn g:vitest watch"},dependencies:{"@aws-sdk/core":"^3.978.1","@aws-sdk/signature-v4-multi-region":"^3.996.47","@aws-sdk/types":"^3.974.6","@smithy/core":"^3.35.0","@smithy/fetch-http-handler":"\
|
|
727
726
|
^5.8.0","@smithy/node-http-handler":"^4.12.1","@smithy/types":"^4.19.0",tslib:"^2.6.2"},devDependencies:{concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~7.0.2"},engines:{node:">=20.0.0"}}}});var tagSymbol,init_cbor_types=__esm({"node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js"(){tagSymbol=Symbol("@smithy/core/cbor::tagSymbol")}});var loadSmithyRpcV2CborErrorCode,init_parseCborBody=__esm({"node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js"(){loadSmithyRpcV2CborErrorCode=(output,data)=>{let sanitizeErrorCode2=rawValue=>{let cleanValue=rawValue;return typeof cleanValue=="number"&&(cleanValue=cleanValue.toString()),cleanValue.indexOf(",")>=0&&(cleanValue=cleanValue.split(",")[0]),cleanValue.indexOf(":")>=0&&(cleanValue=cleanValue.split(":")[0]),cleanValue};if(data.__type!==void 0)return sanitizeErrorCode2(data.
|
|
728
727
|
__type)}}});function loadCborStructIterator(ns){let schema=ns.getSchema(),existing=schema[CBOR_STRUCT_CACHE];if(existing)return existing;let memberNames=[],memberSchemas=[];for(let[name,memberSchema]of ns.structIterator())memberNames.push(name),memberSchemas.push(memberSchema);let encodedKeys=new Array(memberNames.length);for(let i5=0;i5<memberNames.length;++i5)encodedKeys[i5]=encodeCborStringKey(memberNames[i5]);let cache5={memberNames,memberSchemas,encodedKeys};return schema[CBOR_STRUCT_CACHE]=cache5,cache5}
|
|
729
728
|
function encodeCborStringKey(s2){let utf8Bytes;USE_BUFFER?utf8Bytes=Buffer.from(s2,"utf-8"):utf8Bytes=new TextEncoder().encode(s2);let byteLen=utf8Bytes.length,headerSize;byteLen<24?headerSize=1:byteLen<256?headerSize=2:headerSize=3;let result=new Uint8Array(headerSize+byteLen);return headerSize===1?result[0]=96|byteLen:headerSize===2?(result[0]=120,result[1]=byteLen):(result[0]=121,result[1]=byteLen>>8,result[2]=byteLen&255),result.set(utf8Bytes,headerSize),result}function allocUnsafe(size){return USE_BUFFER?
|
|
@@ -923,17 +922,15 @@ parseJsonBody:()=>parseJsonBody,parseJsonErrorBody:()=>parseJsonErrorBody,parseX
|
|
|
923
922
|
init_JsonShapeSerializer2();init_parseJsonBody();init_AwsEc2QueryProtocol();init_AwsQueryProtocol();init_QueryShapeSerializer();init_AwsRestXmlProtocol();init_XmlCodec();init_XmlShapeDeserializer();init_XmlShapeSerializer();init_parseXmlBody();init_awsExpectUnion();init_coercing_serializers()}});var k,a,b,c,d,e,f,g,h,i,j,_data,root,r,nodes,bdd,init_bdd=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js"(){init_endpoints();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]],[e,[{fn:f,argv:[h,"supportsDualStack"]},b]],[e,[{fn:f,argv:[h,"supportsFIPS"]},b]],["stringEqu\
|
|
924
923
|
als",[{fn:f,argv:[h,"name"]},"aws-us-gov"]]],results:[[a],[a,"Invalid Configuration: FIPS and custom endpoint are not supported"],[a,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[g,i],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",i],[a,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",i],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",i],[a,"FIPS is enabled but this\
|
|
925
924
|
partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",i],[a,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",i],[a,"Invalid Configuration: Missing Region"]]},root=2,r=1e8,nodes=new Int32Array([-1,1,-1,0,13,3,1,4,r+12,2,5,r+12,3,8,6,4,7,r+11,5,r+9,r+10,4,11,9,6,10,r+8,7,r+6,r+7,5,12,r+5,6,r+4,r+5,3,r+1,14,4,r+2,r+3]),bdd=BinaryDecisionDiagram.from(nodes,root,_data.conditions,_data.
|
|
926
|
-
results)}});var cache,defaultEndpointResolver,init_endpointResolver=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js"(){init_client3();init_endpoints();init_bdd();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 SSOOIDCServiceException,init_SSOOIDCServiceException=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js"(){init_client2();SSOOIDCServiceException=class _SSOOIDCServiceException extends ServiceException{
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
opts.error_description}},
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
client";error;error_description;constructor(opts){super({name:"UnauthorizedClientException",$fault:"client",...opts}),Object.setPrototypeOf(this,_UnauthorizedClientException.prototype),this.error=opts.error,this.error_description=opts.error_description}},UnsupportedGrantTypeException=class _UnsupportedGrantTypeException extends SSOOIDCServiceException{static shapeId="com.amazonaws.ssooidc#UnsupportedGrantTypeException";name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(opts){
|
|
936
|
-
super({name:"UnsupportedGrantTypeException",$fault:"client",...opts}),Object.setPrototypeOf(this,_UnsupportedGrantTypeException.prototype),this.error=opts.error,this.error_description=opts.error_description}}}});var _ADE,_APE,_AT,_CS,_CT,_CTR,_CTRr,_CV,_ETE,_ICE,_IGE,_IRE,_ISE,_ISEn,_IT,_RT,_SDE,_UCE,_UGTE,_aT,_c,_cI,_cS,_cV,_co,_dC,_e,_eI,_ed,_gT,_h,_hE,_iT,_r,_rT,_rU,_s,_sc,_se,_tT,n0,_s_registry,SSOOIDCServiceException$,n0_registry,AccessDeniedException$,AuthorizationPendingException$,ExpiredTokenException$,InternalServerException$,InvalidClientException$,InvalidGrantException$,InvalidRequestException$,InvalidScopeException$,SlowDownException$,UnauthorizedClientException$,UnsupportedGrantTypeException$,
|
|
925
|
+
results)}});var cache,defaultEndpointResolver,init_endpointResolver=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js"(){init_client3();init_endpoints();init_bdd();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 SSOOIDCServiceException,init_SSOOIDCServiceException=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js"(){init_client2();SSOOIDCServiceException=class _SSOOIDCServiceException extends ServiceException{constructor(options){super(options),Object.setPrototypeOf(this,_SSOOIDCServiceException.prototype)}}}});var AccessDeniedException,AuthorizationPendingException,ExpiredTokenException,InternalServerException,InvalidClientException,InvalidGrantException,InvalidRequestException,InvalidScopeException,SlowDownException,UnauthorizedClientException,UnsupportedGrantTypeException,init_errors=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js"(){init_SSOOIDCServiceException();AccessDeniedException=class _AccessDeniedException extends SSOOIDCServiceException{name="Access\
|
|
926
|
+
DeniedException";$fault="client";error;reason;error_description;constructor(opts){super({name:"AccessDeniedException",$fault:"client",...opts}),Object.setPrototypeOf(this,_AccessDeniedException.prototype),this.error=opts.error,this.reason=opts.reason,this.error_description=opts.error_description}},AuthorizationPendingException=class _AuthorizationPendingException extends SSOOIDCServiceException{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(opts){super({
|
|
927
|
+
name:"AuthorizationPendingException",$fault:"client",...opts}),Object.setPrototypeOf(this,_AuthorizationPendingException.prototype),this.error=opts.error,this.error_description=opts.error_description}},ExpiredTokenException=class _ExpiredTokenException extends SSOOIDCServiceException{name="ExpiredTokenException";$fault="client";error;error_description;constructor(opts){super({name:"ExpiredTokenException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ExpiredTokenException.prototype),this.
|
|
928
|
+
error=opts.error,this.error_description=opts.error_description}},InternalServerException=class _InternalServerException extends SSOOIDCServiceException{name="InternalServerException";$fault="server";error;error_description;constructor(opts){super({name:"InternalServerException",$fault:"server",...opts}),Object.setPrototypeOf(this,_InternalServerException.prototype),this.error=opts.error,this.error_description=opts.error_description}},InvalidClientException=class _InvalidClientException extends SSOOIDCServiceException{name="\
|
|
929
|
+
InvalidClientException";$fault="client";error;error_description;constructor(opts){super({name:"InvalidClientException",$fault:"client",...opts}),Object.setPrototypeOf(this,_InvalidClientException.prototype),this.error=opts.error,this.error_description=opts.error_description}},InvalidGrantException=class _InvalidGrantException extends SSOOIDCServiceException{name="InvalidGrantException";$fault="client";error;error_description;constructor(opts){super({name:"InvalidGrantException",$fault:"client",...opts}),
|
|
930
|
+
Object.setPrototypeOf(this,_InvalidGrantException.prototype),this.error=opts.error,this.error_description=opts.error_description}},InvalidRequestException=class _InvalidRequestException extends SSOOIDCServiceException{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(opts){super({name:"InvalidRequestException",$fault:"client",...opts}),Object.setPrototypeOf(this,_InvalidRequestException.prototype),this.error=opts.error,this.reason=opts.reason,this.error_description=
|
|
931
|
+
opts.error_description}},InvalidScopeException=class _InvalidScopeException extends SSOOIDCServiceException{name="InvalidScopeException";$fault="client";error;error_description;constructor(opts){super({name:"InvalidScopeException",$fault:"client",...opts}),Object.setPrototypeOf(this,_InvalidScopeException.prototype),this.error=opts.error,this.error_description=opts.error_description}},SlowDownException=class _SlowDownException extends SSOOIDCServiceException{name="SlowDownException";$fault="clie\
|
|
932
|
+
nt";error;error_description;constructor(opts){super({name:"SlowDownException",$fault:"client",...opts}),Object.setPrototypeOf(this,_SlowDownException.prototype),this.error=opts.error,this.error_description=opts.error_description}},UnauthorizedClientException=class _UnauthorizedClientException extends SSOOIDCServiceException{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(opts){super({name:"UnauthorizedClientException",$fault:"client",...opts}),Object.setPrototypeOf(
|
|
933
|
+
this,_UnauthorizedClientException.prototype),this.error=opts.error,this.error_description=opts.error_description}},UnsupportedGrantTypeException=class _UnsupportedGrantTypeException extends SSOOIDCServiceException{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(opts){super({name:"UnsupportedGrantTypeException",$fault:"client",...opts}),Object.setPrototypeOf(this,_UnsupportedGrantTypeException.prototype),this.error=opts.error,this.error_description=opts.error_description}}}});var _ADE,_APE,_AT,_CS,_CT,_CTR,_CTRr,_CV,_ETE,_ICE,_IGE,_IRE,_ISE,_ISEn,_IT,_RT,_SDE,_UCE,_UGTE,_aT,_c,_cI,_cS,_cV,_co,_dC,_e,_eI,_ed,_gT,_h,_hE,_iT,_r,_rT,_rU,_s,_sc,_se,_tT,n0,_s_registry,SSOOIDCServiceException$,n0_registry,AccessDeniedException$,AuthorizationPendingException$,ExpiredTokenException$,InternalServerException$,InvalidClientException$,InvalidGrantException$,InvalidRequestException$,InvalidScopeException$,SlowDownException$,UnauthorizedClientException$,UnsupportedGrantTypeException$,
|
|
937
934
|
errorTypeRegistries,AccessToken,ClientSecret,CodeVerifier,IdToken,RefreshToken,CreateTokenRequest$,CreateTokenResponse$,CreateToken$,init_schemas_0=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js"(){init_schema();init_errors();init_SSOOIDCServiceException();_ADE="AccessDeniedException",_APE="AuthorizationPendingException",_AT="AccessToken",_CS="ClientSecret",_CT="CreateToken",_CTR="CreateTokenRequest",_CTRr="CreateTokenResponse",_CV="CodeVerifier",_ETE=
|
|
938
935
|
"ExpiredTokenException",_ICE="InvalidClientException",_IGE="InvalidGrantException",_IRE="InvalidRequestException",_ISE="InternalServerException",_ISEn="InvalidScopeException",_IT="IdToken",_RT="RefreshToken",_SDE="SlowDownException",_UCE="UnauthorizedClientException",_UGTE="UnsupportedGrantTypeException",_aT="accessToken",_c="client",_cI="clientId",_cS="clientSecret",_cV="codeVerifier",_co="code",_dC="deviceCode",_e="error",_eI="expiresIn",_ed="error_description",_gT="grantType",_h="http",_hE="h\
|
|
939
936
|
ttpError",_iT="idToken",_r="reason",_rT="refreshToken",_rU="redirectUri",_s="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",_sc="scope",_se="server",_tT="tokenType",n0="com.amazonaws.ssooidc",_s_registry=new TypeRegistry(_s),SSOOIDCServiceException$=[-3,_s,"SSOOIDCServiceException",0,[],[]];_s_registry.registerError(SSOOIDCServiceException$,SSOOIDCServiceException);n0_registry=new TypeRegistry(n0),AccessDeniedException$=[-3,n0,_ADE,{[_e]:_c,[_hE]:400},[_e,_r,_ed],[0,0,0]];n0_registry.registerError(
|
|
@@ -972,10 +969,9 @@ push(createSmithyApiNoAuthHttpAuthOption2(authParameters)):options.push(createAw
|
|
|
972
969
|
type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}});var k2,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,_data2,root2,r2,nodes2,bdd2,init_bdd2=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js"(){init_endpoints();k2="ref",a2=-1,b2=!0,c2="isSet",d2="PartitionResult",e2="booleanEquals",f2="getAttr",g2={[k2]:"Endpoint"},h2={[k2]:d2},i2={},j2=[{[k2]:"Region"}],_data2={conditions:[[c2,[g2]],[c2,j2],["aws.partition",j2,d2],[e2,[{[k2]:"UseFIPS"},b2]],[e2,[{[k2]:"UseDualStack"},b2]],[e2,[{fn:f2,argv:[h2,"supportsDualStack"]},b2]],[e2,[{
|
|
973
970
|
fn:f2,argv:[h2,"supportsFIPS"]},b2]],["stringEquals",[{fn:f2,argv:[h2,"name"]},"aws-us-gov"]]],results:[[a2],[a2,"Invalid Configuration: FIPS and custom endpoint are not supported"],[a2,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[g2,i2],["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",i2],[a2,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://portal.sso.{Region}.amazonaws.com",i2],["https://portal.ss\
|
|
974
971
|
o-fips.{Region}.{PartitionResult#dnsSuffix}",i2],[a2,"FIPS is enabled but this partition does not support FIPS"],["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",i2],[a2,"DualStack is enabled but this partition does not support DualStack"],["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",i2],[a2,"Invalid Configuration: Missing Region"]]},root2=2,r2=1e8,nodes2=new Int32Array([-1,1,-1,0,13,3,1,4,r2+12,2,5,r2+12,3,8,6,4,7,r2+11,5,r2+9,r2+10,4,11,9,6,10,r2+8,7,r2+6,r2+7,
|
|
975
|
-
5,12,r2+5,6,r2+4,r2+5,3,r2+1,14,4,r2+2,r2+3]),bdd2=BinaryDecisionDiagram.from(nodes2,root2,_data2.conditions,_data2.results)}});var cache2,defaultEndpointResolver2,init_endpointResolver2=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js"(){init_client3();init_endpoints();init_bdd2();cache2=new EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),defaultEndpointResolver2=(endpointParams,context={})=>cache2.get(endpointParams,()=>decideEndpoint(bdd2,{endpointParams,logger:context.logger}));customEndpointFunctions.aws=awsEndpointFunctions}});var SSOServiceException,init_SSOServiceException=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js"(){init_client2();SSOServiceException=class _SSOServiceException extends ServiceException{
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
Object.setPrototypeOf(this,_UnauthorizedException.prototype)}}}});var _ATT,_GRC,_GRCR,_GRCRe,_IRE2,_RC,_RNFE,_SAKT,_STT,_TMRE,_UE,_aI,_aKI,_aT2,_ai,_c2,_e2,_ex,_h2,_hE2,_hH,_hQ,_m,_rC,_rN,_rn,_s2,_sAK,_sT,_xasbt,n02,_s_registry2,SSOServiceException$,n0_registry2,InvalidRequestException$2,ResourceNotFoundException$,TooManyRequestsException$,UnauthorizedException$,errorTypeRegistries2,AccessTokenType,SecretAccessKeyType,SessionTokenType,GetRoleCredentialsRequest$,GetRoleCredentialsResponse$,RoleCredentials$,GetRoleCredentials$,init_schemas_02=__esm({"node_module\
|
|
972
|
+
5,12,r2+5,6,r2+4,r2+5,3,r2+1,14,4,r2+2,r2+3]),bdd2=BinaryDecisionDiagram.from(nodes2,root2,_data2.conditions,_data2.results)}});var cache2,defaultEndpointResolver2,init_endpointResolver2=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js"(){init_client3();init_endpoints();init_bdd2();cache2=new EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),defaultEndpointResolver2=(endpointParams,context={})=>cache2.get(endpointParams,()=>decideEndpoint(bdd2,{endpointParams,logger:context.logger}));customEndpointFunctions.aws=awsEndpointFunctions}});var SSOServiceException,init_SSOServiceException=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js"(){init_client2();SSOServiceException=class _SSOServiceException extends ServiceException{constructor(options){super(options),Object.setPrototypeOf(this,_SSOServiceException.prototype)}}}});var InvalidRequestException2,ResourceNotFoundException,TooManyRequestsException,UnauthorizedException,init_errors2=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js"(){init_SSOServiceException();InvalidRequestException2=class _InvalidRequestException extends SSOServiceException{name="InvalidRequestException";$fault="client";constructor(opts){super({name:"InvalidRequestException",$fault:"client",...opts}),Object.setPrototypeOf(this,_InvalidRequestException.prototype)}},
|
|
973
|
+
ResourceNotFoundException=class _ResourceNotFoundException extends SSOServiceException{name="ResourceNotFoundException";$fault="client";constructor(opts){super({name:"ResourceNotFoundException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ResourceNotFoundException.prototype)}},TooManyRequestsException=class _TooManyRequestsException extends SSOServiceException{name="TooManyRequestsException";$fault="client";constructor(opts){super({name:"TooManyRequestsException",$fault:"client",...opts}),
|
|
974
|
+
Object.setPrototypeOf(this,_TooManyRequestsException.prototype)}},UnauthorizedException=class _UnauthorizedException extends SSOServiceException{name="UnauthorizedException";$fault="client";constructor(opts){super({name:"UnauthorizedException",$fault:"client",...opts}),Object.setPrototypeOf(this,_UnauthorizedException.prototype)}}}});var _ATT,_GRC,_GRCR,_GRCRe,_IRE2,_RC,_RNFE,_SAKT,_STT,_TMRE,_UE,_aI,_aKI,_aT2,_ai,_c2,_e2,_ex,_h2,_hE2,_hH,_hQ,_m,_rC,_rN,_rn,_s2,_sAK,_sT,_xasbt,n02,_s_registry2,SSOServiceException$,n0_registry2,InvalidRequestException$2,ResourceNotFoundException$,TooManyRequestsException$,UnauthorizedException$,errorTypeRegistries2,AccessTokenType,SecretAccessKeyType,SessionTokenType,GetRoleCredentialsRequest$,GetRoleCredentialsResponse$,RoleCredentials$,GetRoleCredentials$,init_schemas_02=__esm({"node_module\
|
|
979
975
|
s/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js"(){init_schema();init_errors2();init_SSOServiceException();_ATT="AccessTokenType",_GRC="GetRoleCredentials",_GRCR="GetRoleCredentialsRequest",_GRCRe="GetRoleCredentialsResponse",_IRE2="InvalidRequestException",_RC="RoleCredentials",_RNFE="ResourceNotFoundException",_SAKT="SecretAccessKeyType",_STT="SessionTokenType",_TMRE="TooManyRequestsException",_UE="UnauthorizedException",_aI="accountId",_aKI="accessKeyId",_aT2="accessToke\
|
|
980
976
|
n",_ai="account_id",_c2="client",_e2="error",_ex="expiration",_h2="http",_hE2="httpError",_hH="httpHeader",_hQ="httpQuery",_m="message",_rC="roleCredentials",_rN="roleName",_rn="role_name",_s2="smithy.ts.sdk.synthetic.com.amazonaws.sso",_sAK="secretAccessKey",_sT="sessionToken",_xasbt="x-amz-sso_bearer_token",n02="com.amazonaws.sso",_s_registry2=new TypeRegistry(_s2),SSOServiceException$=[-3,_s2,"SSOServiceException",0,[],[]];_s_registry2.registerError(SSOServiceException$,SSOServiceException);n0_registry2=
|
|
981
977
|
new TypeRegistry(n02),InvalidRequestException$2=[-3,n02,_IRE2,{[_e2]:_c2,[_hE2]:400},[_m],[0]];n0_registry2.registerError(InvalidRequestException$2,InvalidRequestException2);ResourceNotFoundException$=[-3,n02,_RNFE,{[_e2]:_c2,[_hE2]:404},[_m],[0]];n0_registry2.registerError(ResourceNotFoundException$,ResourceNotFoundException);TooManyRequestsException$=[-3,n02,_TMRE,{[_e2]:_c2,[_hE2]:429},[_m],[0]];n0_registry2.registerError(TooManyRequestsException$,TooManyRequestsException);UnauthorizedException$=
|
|
@@ -1029,12 +1025,11 @@ authParameters);let options=[];for(let scheme of authSchemes){let{name:resolvedN
|
|
|
1029
1025
|
sigv4aDependency()==="none"&&sigv4Present)continue}else if(name.startsWith("sigv4"))schemeId="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);let createOption=createHttpAuthOptionFunctions[schemeId];if(!createOption)throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);let option=createOption(authParameters);option.schemeId=schemeId,option.signingProperties={...option.signingProperties||{},...rest,...properties},
|
|
1030
1026
|
options.push(option)}return options},_defaultSTSHttpAuthSchemeProvider=authParameters=>{let options=[];return authParameters.operation==="AssumeRoleWithWebIdentity"?(options.push(createSmithyApiNoAuthHttpAuthOption3(authParameters)),options.push(createAwsAuthSigv4aHttpAuthOption(authParameters))):(options.push(createAwsAuthSigv4HttpAuthOption3(authParameters)),options.push(createAwsAuthSigv4aHttpAuthOption(authParameters))),options},defaultSTSHttpAuthSchemeProvider=createEndpointRuleSetHttpAuthSchemeProvider(
|
|
1031
1027
|
defaultEndpointResolver3,_defaultSTSHttpAuthSchemeProvider,{"aws.auth#sigv4":createAwsAuthSigv4HttpAuthOption3,"aws.auth#sigv4a":createAwsAuthSigv4aHttpAuthOption,"smithy.api#noAuth":createSmithyApiNoAuthHttpAuthOption3}),resolveHttpAuthSchemeConfig3=config=>{let config_0=resolveAwsSdkSigV4Config(config),config_1=resolveAwsSdkSigV4AConfig(config_0);return Object.assign(config_1,{authSchemePreference:normalizeProvider(config.authSchemePreference??[])})}}});var resolveClientEndpointParameters3,commonParams3,init_EndpointParameters3=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js"(){resolveClientEndpointParameters3=options=>Object.assign(options,{useDualstackEndpoint:options.useDualstackEndpoint??!1,useFipsEndpoint:options.useFipsEndpoint??!1,useGlobalEndpoint:options.useGlobalEndpoint??!1,defaultSigningName:"sts"}),commonParams3={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{
|
|
1032
|
-
type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}});var STSServiceException,init_STSServiceException=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js"(){init_client2();STSServiceException=class _STSServiceException extends ServiceException{
|
|
1033
|
-
|
|
1034
|
-
prototype)}},
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
com.amazonaws.sts#IDPCommunicationErrorException";name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(opts){super({name:"IDPCommunicationErrorException",$fault:"client",...opts}),Object.setPrototypeOf(this,_IDPCommunicationErrorException.prototype)}}}});var _A,_AKI,_AR,_ARI,_ARR,_ARRs,_ARU,_ARWWI,_ARWWIR,_ARWWIRs,_Au,_C,_CA,_DS,_E,_EI,_ETE2,_IDPCEE,_IDPRCE,_IITE,_K,_MPDE,_MSTS,_P,_PA,_PAr,_PC,_PCLT,_PCr,_PDT,_PI,_PPS,_PPTLE,_Pr,_RA,_RDE,_RSN,_SAK,_SFWIT,_SI,_SN,_ST,_STS,_STU,_T,_TC,_TTK,_Ta,_V,_WIT,_a,_aKST,_aQE,_c3,_cTT,_e3,_hE3,_m2,_pDLT,_s3,_tLT,n03,_s_registry3,STSServiceException$,n0_registry3,ExpiredTokenException$2,IDPCommunicationErrorException$,IDPRejectedClaimException$,InvalidIdentityTokenException$,MalformedPolicyDocumentException$,
|
|
1028
|
+
type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}});var STSServiceException,init_STSServiceException=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js"(){init_client2();STSServiceException=class _STSServiceException extends ServiceException{constructor(options){super(options),Object.setPrototypeOf(this,_STSServiceException.prototype)}}}});var ExpiredTokenException2,MalformedPolicyDocumentException,PackedPolicyTooLargeException,RegionDisabledException,IDPRejectedClaimException,InvalidIdentityTokenException,IDPCommunicationErrorException,init_errors3=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js"(){init_STSServiceException();ExpiredTokenException2=class _ExpiredTokenException extends STSServiceException{name="ExpiredTokenException";$fault="client";constructor(opts){super({name:"ExpiredTokenExc\
|
|
1029
|
+
eption",$fault:"client",...opts}),Object.setPrototypeOf(this,_ExpiredTokenException.prototype)}},MalformedPolicyDocumentException=class _MalformedPolicyDocumentException extends STSServiceException{name="MalformedPolicyDocumentException";$fault="client";constructor(opts){super({name:"MalformedPolicyDocumentException",$fault:"client",...opts}),Object.setPrototypeOf(this,_MalformedPolicyDocumentException.prototype)}},PackedPolicyTooLargeException=class _PackedPolicyTooLargeException extends STSServiceException{name="\
|
|
1030
|
+
PackedPolicyTooLargeException";$fault="client";constructor(opts){super({name:"PackedPolicyTooLargeException",$fault:"client",...opts}),Object.setPrototypeOf(this,_PackedPolicyTooLargeException.prototype)}},RegionDisabledException=class _RegionDisabledException extends STSServiceException{name="RegionDisabledException";$fault="client";constructor(opts){super({name:"RegionDisabledException",$fault:"client",...opts}),Object.setPrototypeOf(this,_RegionDisabledException.prototype)}},IDPRejectedClaimException=
|
|
1031
|
+
class _IDPRejectedClaimException extends STSServiceException{name="IDPRejectedClaimException";$fault="client";constructor(opts){super({name:"IDPRejectedClaimException",$fault:"client",...opts}),Object.setPrototypeOf(this,_IDPRejectedClaimException.prototype)}},InvalidIdentityTokenException=class _InvalidIdentityTokenException extends STSServiceException{name="InvalidIdentityTokenException";$fault="client";constructor(opts){super({name:"InvalidIdentityTokenException",$fault:"client",...opts}),Object.
|
|
1032
|
+
setPrototypeOf(this,_InvalidIdentityTokenException.prototype)}},IDPCommunicationErrorException=class _IDPCommunicationErrorException extends STSServiceException{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(opts){super({name:"IDPCommunicationErrorException",$fault:"client",...opts}),Object.setPrototypeOf(this,_IDPCommunicationErrorException.prototype)}}}});var _A,_AKI,_AR,_ARI,_ARR,_ARRs,_ARU,_ARWWI,_ARWWIR,_ARWWIRs,_Au,_C,_CA,_DS,_E,_EI,_ETE2,_IDPCEE,_IDPRCE,_IITE,_K,_MPDE,_MSTS,_P,_PA,_PAr,_PC,_PCLT,_PCr,_PDT,_PI,_PPS,_PPTLE,_Pr,_RA,_RDE,_RSN,_SAK,_SFWIT,_SI,_SN,_ST,_STS,_STU,_T,_TC,_TTK,_Ta,_V,_WIT,_a,_aKST,_aQE,_c3,_cTT,_e3,_hE3,_m2,_pDLT,_s3,_tLT,n03,_s_registry3,STSServiceException$,n0_registry3,ExpiredTokenException$2,IDPCommunicationErrorException$,IDPRejectedClaimException$,InvalidIdentityTokenException$,MalformedPolicyDocumentException$,
|
|
1038
1033
|
PackedPolicyTooLargeException$,RegionDisabledException$,errorTypeRegistries3,accessKeySecretType,clientTokenType,AssumedRoleUser$,AssumeRoleRequest$,AssumeRoleResponse$,AssumeRoleWithWebIdentityRequest$,AssumeRoleWithWebIdentityResponse$,Credentials$,PolicyDescriptorType$,ProvidedContext$,Tag$,policyDescriptorListType,ProvidedContextsListType,tagListType,AssumeRole$,AssumeRoleWithWebIdentity$,init_schemas_03=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js"(){
|
|
1039
1034
|
init_schema();init_errors3();init_STSServiceException();_A="Arn",_AKI="AccessKeyId",_AR="AssumeRole",_ARI="AssumedRoleId",_ARR="AssumeRoleRequest",_ARRs="AssumeRoleResponse",_ARU="AssumedRoleUser",_ARWWI="AssumeRoleWithWebIdentity",_ARWWIR="AssumeRoleWithWebIdentityRequest",_ARWWIRs="AssumeRoleWithWebIdentityResponse",_Au="Audience",_C="Credentials",_CA="ContextAssertion",_DS="DurationSeconds",_E="Expiration",_EI="ExternalId",_ETE2="ExpiredTokenException",_IDPCEE="IDPCommunicationErrorException",
|
|
1040
1035
|
_IDPRCE="IDPRejectedClaimException",_IITE="InvalidIdentityTokenException",_K="Key",_MPDE="MalformedPolicyDocumentException",_MSTS="MinimumSessionTokenSize",_P="Policy",_PA="PolicyArns",_PAr="ProviderArn",_PC="ProvidedContexts",_PCLT="ProvidedContextsListType",_PCr="ProvidedContext",_PDT="PolicyDescriptorType",_PI="ProviderId",_PPS="PackedPolicySize",_PPTLE="PackedPolicyTooLargeException",_Pr="Provider",_RA="RoleArn",_RDE="RegionDisabledException",_RSN="RoleSessionName",_SAK="SecretAccessKey",_SFWIT=
|
|
@@ -1081,10 +1076,9 @@ gnin.c2shome.ic.gov",p2],["https://{Region}.signin.sc2shome.sgov.gov",p2],["http
|
|
|
1081
1076
|
custom endpoint are not supported"],[k4,p2],["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",p2],[a4,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",p2],[a4,"FIPS is enabled but this partition does not support FIPS"],[j4,p2],[a4,"DualStack is enabled but this partition does not support DualStack"],["https://signin.{Region}.{PartitionResult#dnsSuffix}",p2],[a4,"Invalid Configuration:\
|
|
1082
1077
|
Missing Region"]]},root4=2,r4=1e8,nodes4=new Int32Array([-1,1,-1,0,6,3,2,36,4,4,5,r4+27,6,r4+4,r4+27,1,29,7,2,36,8,3,9,31,4,22,10,5,19,11,7,21,12,8,r4+7,13,10,r4+8,14,12,r4+9,15,13,r4+10,16,14,r4+11,17,15,r4+12,18,16,r4+13,r4+16,6,r4+5,20,7,21,r4+6,17,r4+24,r4+25,6,r4+4,23,7,27,24,9,r4+14,25,10,r4+15,26,11,r4+22,r4+23,11,28,r4+21,17,r4+20,r4+21,2,35,30,3,39,31,4,32,r4+27,6,r4+4,33,7,r4+27,34,9,r4+14,r4+27,3,39,36,4,38,37,7,r4+18,r4+19,6,r4+4,r4+17,5,r4+1,40,8,r4+2,r4+3]),bdd4=BinaryDecisionDiagram.
|
|
1083
1078
|
from(nodes4,root4,_data4.conditions,_data4.results)}});var cache4,defaultEndpointResolver4,init_endpointResolver4=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js"(){init_client3();init_endpoints();init_bdd4();cache4=new EndpointCache({size:50,params:["Endpoint","IsControlPlane","IsOAuthEndpoint","Region","UseDualStack","UseFIPS"]}),defaultEndpointResolver4=(endpointParams,context={})=>cache4.get(endpointParams,()=>decideEndpoint(bdd4,{endpointParams,logger:context.logger}));customEndpointFunctions.
|
|
1084
|
-
aws=awsEndpointFunctions}});var SigninServiceException,init_SigninServiceException=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js"(){init_client2();SigninServiceException=class _SigninServiceException extends ServiceException{
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
client",...opts}),Object.setPrototypeOf(this,_ValidationException.prototype),this.error=opts.error}}}});var _ADE2,_AT2,_COAT,_COATR,_COATRB,_COATRBr,_COATRr,_COATWIAM,_COATWIAMR,_COATWIAMRr,_ISE2,_OAAT,_RT2,_TMRE2,_VE,_aKI2,_aT3,_at,_c4,_cI2,_cV2,_co2,_e4,_eI2,_ei,_gT2,_gt,_h3,_hE4,_iT2,_jN,_m3,_r2,_rT2,_rU2,_s4,_sAK2,_sT2,_se2,_tI,_tO,_tT2,_tt,n04,_s_registry4,SigninServiceException$,n0_registry4,AccessDeniedException$2,InternalServerException$2,TooManyRequestsError$,ValidationException$,errorTypeRegistries4,OAuthAccessToken,RefreshToken2,AccessToken$,CreateOAuth2TokenRequest$,CreateOAuth2TokenRequestBody$,
|
|
1079
|
+
aws=awsEndpointFunctions}});var SigninServiceException,init_SigninServiceException=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js"(){init_client2();SigninServiceException=class _SigninServiceException extends ServiceException{constructor(options){super(options),Object.setPrototypeOf(this,_SigninServiceException.prototype)}}}});var AccessDeniedException2,InternalServerException2,TooManyRequestsError,ValidationException,init_errors4=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js"(){init_SigninServiceException();AccessDeniedException2=class _AccessDeniedException extends SigninServiceException{name="AccessDeniedException";$fault="client";error;constructor(opts){super({name:"AccessDeniedException",$fault:"client",...opts}),Object.setPrototypeOf(this,_AccessDeniedException.prototype),
|
|
1080
|
+
this.error=opts.error}},InternalServerException2=class _InternalServerException extends SigninServiceException{name="InternalServerException";$fault="server";error;constructor(opts){super({name:"InternalServerException",$fault:"server",...opts}),Object.setPrototypeOf(this,_InternalServerException.prototype),this.error=opts.error}},TooManyRequestsError=class _TooManyRequestsError extends SigninServiceException{name="TooManyRequestsError";$fault="client";error;constructor(opts){super({name:"TooMan\
|
|
1081
|
+
yRequestsError",$fault:"client",...opts}),Object.setPrototypeOf(this,_TooManyRequestsError.prototype),this.error=opts.error}},ValidationException=class _ValidationException extends SigninServiceException{name="ValidationException";$fault="client";error;constructor(opts){super({name:"ValidationException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ValidationException.prototype),this.error=opts.error}}}});var _ADE2,_AT2,_COAT,_COATR,_COATRB,_COATRBr,_COATRr,_COATWIAM,_COATWIAMR,_COATWIAMRr,_ISE2,_OAAT,_RT2,_TMRE2,_VE,_aKI2,_aT3,_at,_c4,_cI2,_cV2,_co2,_e4,_eI2,_ei,_gT2,_gt,_h3,_hE4,_iT2,_jN,_m3,_r2,_rT2,_rU2,_s4,_sAK2,_sT2,_se2,_tI,_tO,_tT2,_tt,n04,_s_registry4,SigninServiceException$,n0_registry4,AccessDeniedException$2,InternalServerException$2,TooManyRequestsError$,ValidationException$,errorTypeRegistries4,OAuthAccessToken,RefreshToken2,AccessToken$,CreateOAuth2TokenRequest$,CreateOAuth2TokenRequestBody$,
|
|
1088
1082
|
CreateOAuth2TokenResponse$,CreateOAuth2TokenResponseBody$,CreateOAuth2TokenWithIAMRequest$,CreateOAuth2TokenWithIAMResponse$,CreateOAuth2Token$,CreateOAuth2TokenWithIAM$,init_schemas_04=__esm({"node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js"(){init_schema();init_errors4();init_SigninServiceException();_ADE2="AccessDeniedException",_AT2="AccessToken",_COAT="CreateOAuth2Token",_COATR="CreateOAuth2TokenRequest",_COATRB="CreateOAuth2TokenRequestBody",_COATRBr="Cr\
|
|
1089
1083
|
eateOAuth2TokenResponseBody",_COATRr="CreateOAuth2TokenResponse",_COATWIAM="CreateOAuth2TokenWithIAM",_COATWIAMR="CreateOAuth2TokenWithIAMRequest",_COATWIAMRr="CreateOAuth2TokenWithIAMResponse",_ISE2="InternalServerException",_OAAT="OAuthAccessToken",_RT2="RefreshToken",_TMRE2="TooManyRequestsError",_VE="ValidationException",_aKI2="accessKeyId",_aT3="accessToken",_at="access_token",_c4="client",_cI2="clientId",_cV2="codeVerifier",_co2="code",_e4="error",_eI2="expiresIn",_ei="expires_in",_gT2="gr\
|
|
1090
1084
|
antType",_gt="grant_type",_h3="http",_hE4="httpError",_iT2="idToken",_jN="jsonName",_m3="message",_r2="resource",_rT2="refreshToken",_rU2="redirectUri",_s4="smithy.ts.sdk.synthetic.com.amazonaws.signin",_sAK2="secretAccessKey",_sT2="sessionToken",_se2="server",_tI="tokenInput",_tO="tokenOutput",_tT2="tokenType",_tt="token_type",n04="com.amazonaws.signin",_s_registry4=new TypeRegistry(_s4),SigninServiceException$=[-3,_s4,"SigninServiceException",0,[],[]];_s_registry4.registerError(SigninServiceException$,
|