hummin-cli 1.0.6 → 1.1.1

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.
@@ -56,7 +56,7 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
56
56
  However, a future version may change this behavior to prefer the ENV static credentials.
57
57
  Please ensure that your environment only sets either the AWS_PROFILE or the
58
58
  AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
59
- `),multipleCredentialSourceWarningEmitted=!0)),new CredentialsProviderError2("AWS_PROFILE is set, skipping fromEnv provider.",{logger:init.logger,tryNextLink:!0});return init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),fromEnv2(init)()},async awsIdentityProperties=>{init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl,ssoAccountId,ssoRegion,ssoRoleName,ssoSession}=init;if(!ssoStartUrl&&!ssoAccountId&&!ssoRegion&&!ssoRoleName&&!ssoSession)throw new CredentialsProviderError2("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:init.logger});let{fromSSO}=require_dist_cjs12();return fromSSO(init)(awsIdentityProperties)},async awsIdentityProperties=>{init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni}=require_dist_cjs17();return fromIni(init)(awsIdentityProperties)},async awsIdentityProperties=>{init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess}=require_dist_cjs15();return fromProcess(init)(awsIdentityProperties)},async awsIdentityProperties=>{init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile}=require_dist_cjs16();return fromTokenFile(init)(awsIdentityProperties)},async()=>(init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await remoteProvider(init))()),async()=>{throw new CredentialsProviderError2("Could not load credentials from any providers",{tryNextLink:!1,logger:init.logger})}],credentialsTreatedAsExpired),credentialsWillNeedRefresh=credentials=>credentials?.expiration!==void 0,credentialsTreatedAsExpired=credentials=>credentials?.expiration!==void 0&&credentials.expiration.getTime()-Date.now()<3e5;exports.credentialsTreatedAsExpired=credentialsTreatedAsExpired;exports.credentialsWillNeedRefresh=credentialsWillNeedRefresh;exports.defaultProvider=defaultProvider}});var require_dist_cjs19=__commonJS({"node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js"(exports){var{EventStreamCodec:EventStreamCodec2}=(init_event_streams(),__toCommonJS(event_streams_exports)),{Transform,Readable:Readable7,PassThrough:PassThrough2,pipeline}=__require("node:stream"),EventSigningTransformStream=class extends Transform{priorSignature;messageSigner;eventStreamCodec;systemClockOffsetProvider;staticCredentials;constructor(options){super({autoDestroy:!0,readableObjectMode:!0,writableObjectMode:!0,...options}),this.priorSignature=options.priorSignature,this.eventStreamCodec=options.eventStreamCodec,this.messageSigner=options.messageSigner,this.systemClockOffsetProvider=options.systemClockOffsetProvider,this.staticCredentials=options.credentials?.()}async _transform(chunk,encoding,callback){try{let now=new Date(Date.now()+await this.systemClockOffsetProvider()),dateHeader={":date":{type:"timestamp",value:now}},signedMessage=await this.messageSigner.sign({message:{body:chunk,headers:dateHeader},priorSignature:this.priorSignature},{signingDate:now,eventStreamCredentials:await this.staticCredentials});this.priorSignature=signedMessage.signature;let serializedSigned=this.eventStreamCodec.encode({headers:{...dateHeader,":chunk-signature":{type:"binary",value:getSignatureBinary(signedMessage.signature)}},body:chunk});return this.push(serializedSigned),callback()}catch(err){callback(err)}}};function getSignatureBinary(signature){let buf2=Buffer.from(signature,"hex");return new Uint8Array(buf2.buffer,buf2.byteOffset,buf2.byteLength/Uint8Array.BYTES_PER_ELEMENT)}var EventStreamPayloadHandler=class{messageSigner;eventStreamCodec;systemClockOffsetProvider;credentials;constructor(options){this.messageSigner=options.messageSigner,this.eventStreamCodec=new EventStreamCodec2(options.utf8Encoder,options.utf8Decoder),this.systemClockOffsetProvider=async()=>options.systemClockOffset??0,this.credentials=options.credentials}async handle(next,args,context={}){let request=args.request,{body:payload2,query}=request;if(!(payload2 instanceof Readable7))throw new Error("Eventstream payload must be a Readable stream.");request.body=new PassThrough2({objectMode:!0});let priorSignature=request.headers?.authorization?.match(/Signature=([\w]+)$/)?.[1]??query?.["X-Amz-Signature"]??"";context.__staticSignature&&(priorSignature="");let signingStream=new EventSigningTransformStream({priorSignature,eventStreamCodec:this.eventStreamCodec,messageSigner:await this.messageSigner(),systemClockOffsetProvider:this.systemClockOffsetProvider,credentials:this.credentials}),resolvePipeline,pipelineError=new Promise((resolve,reject)=>{resolvePipeline=()=>resolve(void 0),pipeline(payload2,signingStream,request.body,err=>{err&&reject(new Error(`Pipeline error in @aws-sdk/eventstream-handler-node: ${err.message}`,{cause:err}))})}),result;try{result=await Promise.race([next(args),pipelineError])}catch(e5){throw request.body.end(),e5}finally{resolvePipeline()}return result}},eventStreamPayloadHandlerProvider=options=>new EventStreamPayloadHandler(options);exports.eventStreamPayloadHandlerProvider=eventStreamPayloadHandlerProvider}});var require_dist_cjs20=__commonJS({"node_modules/@aws-sdk/token-providers/dist-cjs/index.js"(exports){var{setTokenFeature:setTokenFeature2}=(init_client3(),__toCommonJS(client_exports2)),{getBearerTokenEnvKey:getBearerTokenEnvKey2}=(init_httpAuthSchemes2(),__toCommonJS(httpAuthSchemes_exports)),{TokenProviderError:TokenProviderError2,getSSOTokenFilepath:getSSOTokenFilepath2,parseKnownFiles:parseKnownFiles2,getProfileName:getProfileName2,loadSsoSessionData:loadSsoSessionData2,getSSOTokenFromFile:getSSOTokenFromFile2,memoize:memoize2,chain:chain2}=(init_config2(),__toCommonJS(config_exports)),{promises}=__require("node:fs"),fromEnvSigningName=({logger:logger2,signingName}={})=>async()=>{if(logger2?.debug?.("@aws-sdk/token-providers - fromEnvSigningName"),!signingName)throw new TokenProviderError2("Please pass 'signingName' to compute environment variable key",{logger:logger2});let bearerTokenKey=getBearerTokenEnvKey2(signingName);if(!(bearerTokenKey in process.env))throw new TokenProviderError2(`Token not present in '${bearerTokenKey}' environment variable`,{logger:logger2});let token={token:process.env[bearerTokenKey]};return setTokenFeature2(token,"BEARER_SERVICE_ENV_VARS","3"),token},EXPIRE_WINDOW_MS=300*1e3,REFRESH_MESSAGE="To refresh this SSO session run 'aws sso login' with the corresponding profile.",getSsoOidcClient=async(ssoRegion,init={},callerClientConfig)=>{let{SSOOIDCClient:SSOOIDCClient2}=(init_sso_oidc(),__toCommonJS(sso_oidc_exports)),coalesce2=prop=>init.clientConfig?.[prop]??init.parentClientConfig?.[prop]??callerClientConfig?.[prop];return new SSOOIDCClient2(Object.assign({},init.clientConfig??{},{region:ssoRegion??init.clientConfig?.region,logger:coalesce2("logger"),userAgentAppId:coalesce2("userAgentAppId")}))},getNewSsoOidcToken=async(ssoToken,ssoRegion,init={},callerClientConfig)=>{let{CreateTokenCommand:CreateTokenCommand2}=(init_sso_oidc(),__toCommonJS(sso_oidc_exports));return(await getSsoOidcClient(ssoRegion,init,callerClientConfig)).send(new CreateTokenCommand2({clientId:ssoToken.clientId,clientSecret:ssoToken.clientSecret,refreshToken:ssoToken.refreshToken,grantType:"refresh_token"}))},validateTokenExpiry=token=>{if(token.expiration&&token.expiration.getTime()<Date.now())throw new TokenProviderError2(`Token is expired. ${REFRESH_MESSAGE}`,!1)},validateTokenKey=(key,value,forRefresh=!1)=>{if(typeof value>"u")throw new TokenProviderError2(`Value not present for '${key}' in SSO Token${forRefresh?". Cannot refresh":""}. ${REFRESH_MESSAGE}`,!1)},{writeFile}=promises,writeSSOTokenToFile=(id,ssoToken)=>{let tokenFilepath=getSSOTokenFilepath2(id),tokenString=JSON.stringify(ssoToken,null,2);return writeFile(tokenFilepath,tokenString)},lastRefreshAttemptTimes=new Map,fromSso=(init={})=>async({callerClientConfig}={})=>{init.logger?.debug("@aws-sdk/token-providers - fromSso");let profiles=await parseKnownFiles2(init),profileName=getProfileName2({profile:init.profile??callerClientConfig?.profile}),profile=profiles[profileName];if(profile){if(!profile.sso_session)throw new TokenProviderError2(`Profile '${profileName}' is missing required property 'sso_session'.`)}else throw new TokenProviderError2(`Profile '${profileName}' could not be found in shared credentials file.`,!1);let ssoSessionName=profile.sso_session,ssoSession=(await loadSsoSessionData2(init))[ssoSessionName];if(!ssoSession)throw new TokenProviderError2(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`,!1);for(let ssoSessionRequiredKey of["sso_start_url","sso_region"])if(!ssoSession[ssoSessionRequiredKey])throw new TokenProviderError2(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`,!1);ssoSession.sso_start_url;let ssoRegion=ssoSession.sso_region,ssoToken;try{ssoToken=await getSSOTokenFromFile2(ssoSessionName)}catch{throw new TokenProviderError2(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`,!1)}validateTokenKey("accessToken",ssoToken.accessToken),validateTokenKey("expiresAt",ssoToken.expiresAt);let{accessToken,expiresAt}=ssoToken,existingToken={token:accessToken,expiration:new Date(expiresAt)};if(existingToken.expiration.getTime()-Date.now()>EXPIRE_WINDOW_MS)return existingToken;let lastRefreshAttemptTime=lastRefreshAttemptTimes.get(ssoSessionName)??0;if(Date.now()-lastRefreshAttemptTime<30*1e3)return validateTokenExpiry(existingToken),existingToken;validateTokenKey("clientId",ssoToken.clientId,!0),validateTokenKey("clientSecret",ssoToken.clientSecret,!0),validateTokenKey("refreshToken",ssoToken.refreshToken,!0);try{lastRefreshAttemptTimes.set(ssoSessionName,Date.now());let newSsoOidcToken=await getNewSsoOidcToken(ssoToken,ssoRegion,init,callerClientConfig);validateTokenKey("accessToken",newSsoOidcToken.accessToken),validateTokenKey("expiresIn",newSsoOidcToken.expiresIn);let newTokenExpiration=new Date(Date.now()+newSsoOidcToken.expiresIn*1e3);try{await writeSSOTokenToFile(ssoSessionName,{...ssoToken,accessToken:newSsoOidcToken.accessToken,expiresAt:newTokenExpiration.toISOString(),refreshToken:newSsoOidcToken.refreshToken})}catch{}return{token:newSsoOidcToken.accessToken,expiration:newTokenExpiration}}catch{return validateTokenExpiry(existingToken),existingToken}},fromStatic2=({token,logger:logger2})=>async()=>{if(logger2?.debug("@aws-sdk/token-providers - fromStatic"),!token||!token.token)throw new TokenProviderError2("Please pass a valid token to fromStatic",!1);return token},nodeProvider=(init={})=>memoize2(chain2(fromSso(init),async()=>{throw new TokenProviderError2("Could not load token from any providers",!1)}),token=>token.expiration!==void 0&&token.expiration.getTime()-Date.now()<3e5,token=>token.expiration!==void 0);exports.fromEnvSigningName=fromEnvSigningName;exports.fromSso=fromSso;exports.fromStatic=fromStatic2;exports.nodeProvider=nodeProvider}});var require_dist_cjs21=__commonJS({"node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js"(exports){var{awsEndpointFunctions:awsEndpointFunctions2,emitWarningIfUnsupportedVersion:emitWarningIfUnsupportedVersion$1,createDefaultUserAgentProvider:createDefaultUserAgentProvider2,NODE_APP_ID_CONFIG_OPTIONS:NODE_APP_ID_CONFIG_OPTIONS2,getAwsRegionExtensionConfiguration:getAwsRegionExtensionConfiguration2,resolveAwsRegionExtensionConfiguration:resolveAwsRegionExtensionConfiguration2,resolveUserAgentConfig:resolveUserAgentConfig2,resolveHostHeaderConfig:resolveHostHeaderConfig2,getUserAgentPlugin:getUserAgentPlugin2,getHostHeaderPlugin:getHostHeaderPlugin2,getLoggerPlugin:getLoggerPlugin2,getRecursionDetectionPlugin:getRecursionDetectionPlugin2}=(init_client3(),__toCommonJS(client_exports2)),{resolveEventStreamConfig,getEventStreamPlugin}=require_dist_cjs2(),{resolveWebSocketConfig,getWebSocketPlugin}=require_dist_cjs4(),{memoizeIdentityProvider:memoizeIdentityProvider2,isIdentityExpired:isIdentityExpired2,doesIdentityRequireRefresh:doesIdentityRequireRefresh2,HttpBearerAuthSigner:HttpBearerAuthSigner2,getHttpAuthSchemeEndpointRuleSetPlugin:getHttpAuthSchemeEndpointRuleSetPlugin2,DefaultIdentityProviderConfig:DefaultIdentityProviderConfig2,getHttpSigningPlugin:getHttpSigningPlugin2,createPaginator:createPaginator2}=(init_dist_es(),__toCommonJS(dist_es_exports)),{normalizeProvider:normalizeProvider3,getSmithyContext:getSmithyContext2,ServiceException:ServiceException2,NoOpLogger:NoOpLogger2,emitWarningIfUnsupportedVersion:emitWarningIfUnsupportedVersion3,loadConfigsForDefaultMode:loadConfigsForDefaultMode2,getDefaultExtensionConfiguration:getDefaultExtensionConfiguration2,resolveDefaultRuntimeConfig:resolveDefaultRuntimeConfig2,Client:Client2,makeBuilder:makeBuilder2,createAggregatedClient:createAggregatedClient2}=(init_client2(),__toCommonJS(client_exports)),{Command:$Command}=(init_client2(),__toCommonJS(client_exports));exports.$Command=$Command;exports.__Client=Client2;var{resolveDefaultsModeConfig:resolveDefaultsModeConfig2,loadConfig:loadConfig2,NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS:NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS2,NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS:NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS2,NODE_REGION_CONFIG_OPTIONS:NODE_REGION_CONFIG_OPTIONS2,NODE_REGION_CONFIG_FILE_OPTIONS:NODE_REGION_CONFIG_FILE_OPTIONS2,resolveRegionConfig:resolveRegionConfig2}=(init_config2(),__toCommonJS(config_exports)),{BinaryDecisionDiagram:BinaryDecisionDiagram2,EndpointCache:EndpointCache2,decideEndpoint:decideEndpoint2,customEndpointFunctions:customEndpointFunctions2,resolveEndpointConfig:resolveEndpointConfig2,getEndpointPlugin:getEndpointPlugin2}=(init_endpoints(),__toCommonJS(endpoints_exports)),{eventStreamSerdeProvider:eventStreamSerdeProvider3,resolveEventStreamSerdeConfig:resolveEventStreamSerdeConfig2}=(init_event_streams(),__toCommonJS(event_streams_exports)),{parseUrl:parseUrl2,getHttpHandlerExtensionConfiguration:getHttpHandlerExtensionConfiguration2,resolveHttpHandlerRuntimeConfig:resolveHttpHandlerRuntimeConfig2,getContentLengthPlugin:getContentLengthPlugin2}=(init_protocols(),__toCommonJS(protocols_exports)),{DEFAULT_RETRY_MODE:DEFAULT_RETRY_MODE2,NODE_RETRY_MODE_CONFIG_OPTIONS:NODE_RETRY_MODE_CONFIG_OPTIONS2,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:NODE_MAX_ATTEMPT_CONFIG_OPTIONS2,resolveRetryConfig:resolveRetryConfig2,getRetryPlugin:getRetryPlugin2}=(init_retry2(),__toCommonJS(retry_exports)),{TypeRegistry:TypeRegistry2,getSchemaSerdePlugin:getSchemaSerdePlugin2}=(init_schema(),__toCommonJS(schema_exports)),{resolveAwsSdkSigV4Config:resolveAwsSdkSigV4Config2,AwsSdkSigV4Signer:AwsSdkSigV4Signer2,NODE_AUTH_SCHEME_PREFERENCE_OPTIONS:NODE_AUTH_SCHEME_PREFERENCE_OPTIONS2}=(init_httpAuthSchemes2(),__toCommonJS(httpAuthSchemes_exports)),{defaultProvider}=require_dist_cjs18(),{eventStreamPayloadHandlerProvider}=require_dist_cjs19(),{fromEnvSigningName,nodeProvider}=require_dist_cjs20(),{toUtf8:toUtf83,fromUtf8:fromUtf83,toBase64:toBase643,fromBase64:fromBase642,calculateBodyLength:calculateBodyLength2}=(init_serde(),__toCommonJS(serde_exports)),{streamCollector:streamCollector7,NodeHttp2Handler}=require_dist_cjs8(),{AwsRestJsonProtocol:AwsRestJsonProtocol2}=(init_protocols2(),__toCommonJS(protocols_exports2)),{Sha256}=(init_checksum2(),__toCommonJS(checksum_exports)),defaultBedrockRuntimeHttpAuthSchemeParametersProvider=async(config,context,input)=>({operation:getSmithyContext2(context).operation,region:await normalizeProvider3(config.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function createAwsAuthSigv4HttpAuthOption5(authParameters){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"bedrock",region:authParameters.region},propertiesExtractor:(config,context)=>({signingProperties:{config,context}})}}function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters){return{schemeId:"smithy.api#httpBearerAuth",propertiesExtractor:({profile,filepath,configFilepath,ignoreCache},context)=>({identityProperties:{profile,filepath,configFilepath,ignoreCache}})}}var defaultBedrockRuntimeHttpAuthSchemeProvider=authParameters=>{let options=[];switch(authParameters.operation){default:options.push(createAwsAuthSigv4HttpAuthOption5(authParameters)),options.push(createSmithyApiHttpBearerAuthHttpAuthOption())}return options},resolveHttpAuthSchemeConfig5=config=>{let token=memoizeIdentityProvider2(config.token,isIdentityExpired2,doesIdentityRequireRefresh2),config_0=resolveAwsSdkSigV4Config2(config);return Object.assign(config_0,{authSchemePreference:normalizeProvider3(config.authSchemePreference??[]),token})},resolveClientEndpointParameters5=options=>Object.assign(options,{useDualstackEndpoint:options.useDualstackEndpoint??!1,useFipsEndpoint:options.useFipsEndpoint??!1,defaultSigningName:"bedrock"}),commonParams5={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},version="3.1126.0",packageInfo={version},k5="ref",a5=-1,b5=!0,c5="isSet",d5="PartitionResult",e5="booleanEquals",f5="getAttr",g5={[k5]:"Endpoint"},h5={[k5]:d5},i5={},j5=[{[k5]:"Region"}],_data5={conditions:[[c5,[g5]],[c5,j5],["aws.partition",j5,d5],[e5,[{[k5]:"UseFIPS"},b5]],[e5,[{[k5]:"UseDualStack"},b5]],[e5,[{fn:f5,argv:[h5,"supportsDualStack"]},b5]],[e5,[{fn:f5,argv:[h5,"supportsFIPS"]},b5]]],results:[[a5],[a5,"Invalid Configuration: FIPS and custom endpoint are not supported"],[a5,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[g5,i5],["https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",i5],[a5,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",i5],[a5,"FIPS is enabled but this partition does not support FIPS"],["https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",i5],[a5,"DualStack is enabled but this partition does not support DualStack"],["https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}",i5],[a5,"Invalid Configuration: Missing Region"]]},root5=2,r5=1e8,nodes5=new Int32Array([-1,1,-1,0,12,3,1,4,r5+11,2,5,r5+11,3,8,6,4,7,r5+10,5,r5+8,r5+9,4,10,9,6,r5+6,r5+7,5,11,r5+5,6,r5+4,r5+5,3,r5+1,13,4,r5+2,r5+3]),bdd5=BinaryDecisionDiagram2.from(nodes5,root5,_data5.conditions,_data5.results),cache5=new EndpointCache2({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),defaultEndpointResolver5=(endpointParams,context={})=>cache5.get(endpointParams,()=>decideEndpoint2(bdd5,{endpointParams,logger:context.logger}));customEndpointFunctions2.aws=awsEndpointFunctions2;var BedrockRuntimeServiceException2=class _BedrockRuntimeServiceException extends ServiceException2{constructor(options){super(options),Object.setPrototypeOf(this,_BedrockRuntimeServiceException.prototype)}},AccessDeniedException3=class _AccessDeniedException extends BedrockRuntimeServiceException2{name="AccessDeniedException";$fault="client";constructor(opts){super({name:"AccessDeniedException",$fault:"client",...opts}),Object.setPrototypeOf(this,_AccessDeniedException.prototype)}},InternalServerException3=class _InternalServerException extends BedrockRuntimeServiceException2{name="InternalServerException";$fault="server";constructor(opts){super({name:"InternalServerException",$fault:"server",...opts}),Object.setPrototypeOf(this,_InternalServerException.prototype)}},ThrottlingException=class _ThrottlingException extends BedrockRuntimeServiceException2{name="ThrottlingException";$fault="client";constructor(opts){super({name:"ThrottlingException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ThrottlingException.prototype)}},ValidationException2=class _ValidationException extends BedrockRuntimeServiceException2{name="ValidationException";$fault="client";constructor(opts){super({name:"ValidationException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ValidationException.prototype)}},ConflictException=class _ConflictException extends BedrockRuntimeServiceException2{name="ConflictException";$fault="client";constructor(opts){super({name:"ConflictException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ConflictException.prototype)}},ResourceNotFoundException2=class _ResourceNotFoundException extends BedrockRuntimeServiceException2{name="ResourceNotFoundException";$fault="client";constructor(opts){super({name:"ResourceNotFoundException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ResourceNotFoundException.prototype)}},ServiceQuotaExceededException=class _ServiceQuotaExceededException extends BedrockRuntimeServiceException2{name="ServiceQuotaExceededException";$fault="client";constructor(opts){super({name:"ServiceQuotaExceededException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ServiceQuotaExceededException.prototype)}},ServiceUnavailableException=class _ServiceUnavailableException extends BedrockRuntimeServiceException2{name="ServiceUnavailableException";$fault="server";constructor(opts){super({name:"ServiceUnavailableException",$fault:"server",...opts}),Object.setPrototypeOf(this,_ServiceUnavailableException.prototype)}},ModelErrorException=class _ModelErrorException extends BedrockRuntimeServiceException2{name="ModelErrorException";$fault="client";originalStatusCode;resourceName;constructor(opts){super({name:"ModelErrorException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ModelErrorException.prototype),this.originalStatusCode=opts.originalStatusCode,this.resourceName=opts.resourceName}},ModelNotReadyException=class _ModelNotReadyException extends BedrockRuntimeServiceException2{name="ModelNotReadyException";$fault="client";$retryable={};constructor(opts){super({name:"ModelNotReadyException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ModelNotReadyException.prototype)}},ModelTimeoutException=class _ModelTimeoutException extends BedrockRuntimeServiceException2{name="ModelTimeoutException";$fault="client";constructor(opts){super({name:"ModelTimeoutException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ModelTimeoutException.prototype)}},ModelStreamErrorException=class _ModelStreamErrorException extends BedrockRuntimeServiceException2{name="ModelStreamErrorException";$fault="client";originalStatusCode;originalMessage;constructor(opts){super({name:"ModelStreamErrorException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ModelStreamErrorException.prototype),this.originalStatusCode=opts.originalStatusCode,this.originalMessage=opts.originalMessage}},_A2="Accept",_AB="AudioBlock",_ADE3="AccessDeniedException",_AG="ApplyGuardrail",_AGD="AppliedGuardrailDetails",_AGR="ApplyGuardrailRequest",_AGRp="ApplyGuardrailResponse",_AIM="AsyncInvokeMessage",_AIODC="AsyncInvokeOutputDataConfig",_AIS="AsyncInvokeSummary",_AISODC="AsyncInvokeS3OutputDataConfig",_AISs="AsyncInvokeSummaries",_AS="AudioSource",_ATC="AnyToolChoice",_ATCu="AutoToolChoice",_B="Body",_BIPP="BidirectionalInputPayloadPart",_BOPP="BidirectionalOutputPayloadPart",_C2="Citation",_CB="ContentBlocks",_CBD="ContentBlockDelta",_CBDE="ContentBlockDeltaEvent",_CBS="ContentBlockStart",_CBSE="ContentBlockStartEvent",_CBSEo="ContentBlockStopEvent",_CBo="ContentBlock",_CC="CitationsConfig",_CCB="CitationsContentBlock",_CD="CacheDetail",_CDL="CacheDetailsList",_CDi="CitationsDelta",_CE="ConflictException",_CGC="CitationGeneratedContent",_CGCL="CitationGeneratedContentList",_CL="CitationLocation",_CM="ConverseMetrics",_CO="ConverseOutput",_CPB="CachePointBlock",_CR="ConverseRequest",_CRo="ConverseResponse",_CS2="ConverseStream",_CSC="CitationSourceContent",_CSCD="CitationSourceContentDelta",_CSCL="CitationSourceContentList",_CSCLD="CitationSourceContentListDelta",_CSM="ConverseStreamMetrics",_CSME="ConverseStreamMetadataEvent",_CSO="ConverseStreamOutput",_CSR="ConverseStreamRequest",_CSRo="ConverseStreamResponse",_CST="ConverseStreamTrace",_CT2="ConverseTrace",_CTI="CountTokensInput",_CTR2="ConverseTokensRequest",_CTRo="CountTokensRequest",_CTRou="CountTokensResponse",_CT_="Content-Type",_CTo="CountTokens",_Ci="Citations",_Co="Converse",_DB="DocumentBlock",_DCB="DocumentContentBlocks",_DCBo="DocumentContentBlock",_DCL="DocumentCharLocation",_DCLo="DocumentChunkLocation",_DPL="DocumentPageLocation",_DS2="DocumentSource",_EB="ErrorBlock",_GA="GuardrailAssessment",_GAI="GetAsyncInvoke",_GAIR="GetAsyncInvokeRequest",_GAIRe="GetAsyncInvokeResponse",_GAL="GuardrailAssessmentList",_GALM="GuardrailAssessmentListMap",_GAM="GuardrailAssessmentMap",_GARDSL="GuardrailAutomatedReasoningDifferenceScenarioList",_GARF="GuardrailAutomatedReasoningFinding",_GARFL="GuardrailAutomatedReasoningFindingList",_GARIF="GuardrailAutomatedReasoningImpossibleFinding",_GARIFu="GuardrailAutomatedReasoningInvalidFinding",_GARITR="GuardrailAutomatedReasoningInputTextReference",_GARITRL="GuardrailAutomatedReasoningInputTextReferenceList",_GARLW="GuardrailAutomatedReasoningLogicWarning",_GARNTF="GuardrailAutomatedReasoningNoTranslationsFinding",_GARPA="GuardrailAutomatedReasoningPolicyAssessment",_GARR="GuardrailAutomatedReasoningRule",_GARRL="GuardrailAutomatedReasoningRuleList",_GARS="GuardrailAutomatedReasoningScenario",_GARSF="GuardrailAutomatedReasoningSatisfiableFinding",_GARSL="GuardrailAutomatedReasoningStatementList",_GARSLC="GuardrailAutomatedReasoningStatementLogicContent",_GARSNLC="GuardrailAutomatedReasoningStatementNaturalLanguageContent",_GARSu="GuardrailAutomatedReasoningStatement",_GART="GuardrailAutomatedReasoningTranslation",_GARTAF="GuardrailAutomatedReasoningTranslationAmbiguousFinding",_GARTCF="GuardrailAutomatedReasoningTooComplexFinding",_GARTL="GuardrailAutomatedReasoningTranslationList",_GARTO="GuardrailAutomatedReasoningTranslationOption",_GARTOL="GuardrailAutomatedReasoningTranslationOptionList",_GARVF="GuardrailAutomatedReasoningValidFinding",_GC="GuardrailConfiguration",_GCB="GuardrailContentBlock",_GCBL="GuardrailContentBlockList",_GCC="GuardrailChecksConfig",_GCCB="GuardrailChecksContentBlock",_GCCBL="GuardrailChecksContentBlockList",_GCCBu="GuardrailConverseContentBlock",_GCCFC="GuardrailChecksContentFilterConfig",_GCCFCC="GuardrailChecksContentFilterCategoryConfig",_GCCFCCL="GuardrailChecksContentFilterCategoryConfigList",_GCCFR="GuardrailChecksContentFilterResult",_GCCFRE="GuardrailChecksContentFilterResultEntry",_GCCFRL="GuardrailChecksContentFilterResultList",_GCCFU="GuardrailChecksContentFilterUsage",_GCF="GuardrailContentFilter",_GCFL="GuardrailContentFilterList",_GCGF="GuardrailContextualGroundingFilter",_GCGFu="GuardrailContextualGroundingFilters",_GCGPA="GuardrailContextualGroundingPolicyAssessment",_GCIB="GuardrailConverseImageBlock",_GCIS="GuardrailConverseImageSource",_GCM="GuardrailChecksMessage",_GCML="GuardrailChecksMessageList",_GCPA="GuardrailContentPolicyAssessment",_GCPAC="GuardrailChecksPromptAttackConfig",_GCPACC="GuardrailChecksPromptAttackCategoryConfig",_GCPACCL="GuardrailChecksPromptAttackCategoryConfigList",_GCPAR="GuardrailChecksPromptAttackResult",_GCPARE="GuardrailChecksPromptAttackResultEntry",_GCPARL="GuardrailChecksPromptAttackResultList",_GCPAU="GuardrailChecksPromptAttackUsage",_GCR="GuardrailChecksResults",_GCSIC="GuardrailChecksSensitiveInformationConfig",_GCSIEC="GuardrailChecksSensitiveInformationEntityConfig",_GCSIECL="GuardrailChecksSensitiveInformationEntityConfigList",_GCSIR="GuardrailChecksSensitiveInformationResult",_GCSIRE="GuardrailChecksSensitiveInformationResultEntry",_GCSIRL="GuardrailChecksSensitiveInformationResultList",_GCSIU="GuardrailChecksSensitiveInformationUsage",_GCTB="GuardrailConverseTextBlock",_GCTC="GuardrailChecksTextContent",_GCUR="GuardrailChecksUsageResults",_GCW="GuardrailCustomWord",_GCWL="GuardrailCustomWordList",_GCu="GuardrailCoverage",_GIB="GuardrailImageBlock",_GIC="GuardrailImageCoverage",_GIM="GuardrailInvocationMetrics",_GIS="GuardrailImageSource",_GMW="GuardrailManagedWord",_GMWL="GuardrailManagedWordList",_GOC="GuardrailOutputContent",_GOCL="GuardrailOutputContentList",_GPEF="GuardrailPiiEntityFilter",_GPEFL="GuardrailPiiEntityFilterList",_GRF="GuardrailRegexFilter",_GRFL="GuardrailRegexFilterList",_GSC="GuardrailStreamConfiguration",_GSIPA="GuardrailSensitiveInformationPolicyAssessment",_GT="GuardrailTopic",_GTA="GuardrailTraceAssessment",_GTB="GuardrailTextBlock",_GTCC="GuardrailTextCharactersCoverage",_GTL="GuardrailTopicList",_GTPA="GuardrailTopicPolicyAssessment",_GU="GuardrailUsage",_GWPA="GuardrailWordPolicyAssessment",_IB="ImageBlock",_IBD="ImageBlockDelta",_IBS="ImageBlockStart",_IC="InferenceConfiguration",_IGC="InvokeGuardrailChecks",_IGCR="InvokeGuardrailChecksRequest",_IGCRn="InvokeGuardrailChecksResponse",_IM="InvokeModel",_IMR="InvokeModelRequest",_IMRn="InvokeModelResponse",_IMTR="InvokeModelTokensRequest",_IMWBS="InvokeModelWithBidirectionalStream",_IMWBSI="InvokeModelWithBidirectionalStreamInput",_IMWBSO="InvokeModelWithBidirectionalStreamOutput",_IMWBSR="InvokeModelWithBidirectionalStreamRequest",_IMWBSRn="InvokeModelWithBidirectionalStreamResponse",_IMWRS="InvokeModelWithResponseStream",_IMWRSR="InvokeModelWithResponseStreamRequest",_IMWRSRn="InvokeModelWithResponseStreamResponse",_IS="ImageSource",_ISE3="InternalServerException",_JSD="JsonSchemaDefinition",_LAI="ListAsyncInvokes",_LAIR="ListAsyncInvokesRequest",_LAIRi="ListAsyncInvokesResponse",_M="Message",_MEE="ModelErrorException",_MIP="ModelInputPayload",_MNRE="ModelNotReadyException",_MSE="MessageStartEvent",_MSEE="ModelStreamErrorException",_MSEe="MessageStopEvent",_MTE="ModelTimeoutException",_Me="Messages",_OC="OutputConfig",_OF="OutputFormat",_OFS="OutputFormatStructure",_PB="PartBody",_PC2="PerformanceConfiguration",_PP="PayloadPart",_PRT="PromptRouterTrace",_PVM="PromptVariableMap",_PVV="PromptVariableValues",_RCB="ReasoningContentBlock",_RCBD="ReasoningContentBlockDelta",_RM="RequestMetadata",_RMJ="RequestMetadataJson",_RNFE2="ResourceNotFoundException",_RS="ResponseStream",_RTB="ReasoningTextBlock",_SAI="StartAsyncInvoke",_SAIR="StartAsyncInvokeRequest",_SAIRt="StartAsyncInvokeResponse",_SCB="SystemContentBlocks",_SCBy="SystemContentBlock",_SL="S3Location",_SQEE="ServiceQuotaExceededException",_SRB="SearchResultBlock",_SRCB="SearchResultContentBlock",_SRCBe="SearchResultContentBlocks",_SRL="SearchResultLocation",_ST2="ServiceTier",_STC="SpecificToolChoice",_STy="SystemTool",_SUE="ServiceUnavailableException",_T2="Tag",_TAB="ToolAdditionBlock",_TC2="ToolConfiguration",_TCo="ToolChoice",_TE="ThrottlingException",_TIS="ToolInputSchema",_TL="TagList",_TR="ToolReference",_TRB="ToolRemovalBlock",_TRBD="ToolResultBlocksDelta",_TRBDo="ToolResultBlockDelta",_TRBS="ToolResultBlockStart",_TRBo="ToolResultBlock",_TRCB="ToolResultContentBlocks",_TRCBo="ToolResultContentBlock",_TS="ToolSpecification",_TU="TokenUsage",_TUB="ToolUseBlock",_TUBD="ToolUseBlockDelta",_TUBS="ToolUseBlockStart",_To="Tools",_Too="Tool",_VB="VideoBlock",_VE2="ValidationException",_VS="VideoSource",_WL="WebLocation",_XABA="X-Amzn-Bedrock-Accept",_XABCT="X-Amzn-Bedrock-Content-Type",_XABG="X-Amzn-Bedrock-GuardrailIdentifier",_XABG_="X-Amzn-Bedrock-GuardrailVersion",_XABPL="X-Amzn-Bedrock-PerformanceConfig-Latency",_XABRM="X-Amzn-Bedrock-Request-Metadata",_XABST="X-Amzn-Bedrock-Service-Tier",_XABT="X-Amzn-Bedrock-Trace",_a2="action",_aGD="appliedGuardrailDetails",_aIS="asyncInvokeSummaries",_aMRF="additionalModelRequestFields",_aMRFP="additionalModelResponseFieldPaths",_aMRFd="additionalModelResponseFields",_aR="actionReason",_aRP="automatedReasoningPolicy",_aRPU="automatedReasoningPolicyUnits",_aRPu="automatedReasoningPolicies",_ac="accept",_an="any",_as="assessments",_au="audio",_aut="auto",_b="bytes",_bO="bucketOwner",_bOe="beginOffset",_bo="body",_c5="client",_cBD="contentBlockDelta",_cBI="contentBlockIndex",_cBS="contentBlockStart",_cBSo="contentBlockStop",_cC="citationsContent",_cD="cacheDetails",_cF="contentFilter",_cFS="claimsFalseScenario",_cGP="contextualGroundingPolicy",_cGPU="contextualGroundingPolicyUnits",_cI3="contentIndex",_cP="contentPolicy",_cPIU="contentPolicyImageUnits",_cPU="contentPolicyUnits",_cPa="cachePoint",_cR="contradictingRules",_cRIT="cacheReadInputTokens",_cRT="clientRequestToken",_cS2="confidenceScore",_cT="contentType",_cTS="claimsTrueScenario",_cW="customWords",_cWIT="cacheWriteInputTokens",_ca="category",_cat="categories",_ch="checks",_chu="chunk",_ci="citations",_cit="citation",_cl="claims",_co3="content",_con="context",_conf="confidence",_conv="converse",_d="delta",_dC2="documentChar",_dCo="documentChunk",_dI="documentIndex",_dP="documentPage",_dS="differenceScenarios",_de="detected",_des="description",_do="domain",_doc="document",_e5="error",_eO="endOffset",_eT="endTime",_ef="effort",_en="enabled",_end="end",_ent="entities",_f="format",_fM="failureMessage",_fS="filterStrength",_fi="findings",_fil="filters",_g="guardrail",_gA="guardrailArn",_gC="guardrailCoverage",_gCu="guardrailConfig",_gCua="guardContent",_gI="guardrailId",_gIu="guardrailIdentifier",_gO="guardrailOrigin",_gOu="guardrailOwnership",_gPL="guardrailProcessingLatency",_gV="guardrailVersion",_gu="guarded",_h4="http",_hE5="httpError",_hH2="httpHeader",_hQ2="httpQuery",_i="input",_iA="invocationArn",_iAn="inputAssessment",_iC="inferenceConfig",_iM="invocationMetrics",_iMI="invokedModelId",_iMn="invokeModel",_iS="inputSchema",_iSE="internalServerException",_iT3="inputTokens",_id="identifier",_im="images",_ima="image",_imp="impossible",_in="invalid",_j="json",_jS="jsonSchema",_k="key",_kKI="kmsKeyId",_l="location",_lM="latencyMs",_lMT="lastModifiedTime",_lW="logicWarning",_la="latency",_lo="logic",_m4="message",_mA="modelArn",_mI="modelId",_mIe="messageIndex",_mIo="modelInput",_mO="modelOutput",_mR="maxResults",_mS="messageStart",_mSEE="modelStreamErrorException",_mSe="messageStop",_mT="maxTokens",_mTE="modelTimeoutException",_mWL="managedWordLists",_ma="match",_me="messages",_met="metrics",_meta="metadata",_n="name",_nL="naturalLanguage",_nT="nextToken",_nTo="noTranslations",_o="outputs",_oA="outputAssessments",_oC="outputConfig",_oDC="outputDataConfig",_oM="originalMessage",_oS="outputScope",_oSC="originalStatusCode",_oT="outputTokens",_op="options",_ou="output",_p="premises",_pA="promptAttack",_pC="performanceConfig",_pCL="performanceConfigLatency",_pE="piiEntities",_pR="promptRouter",_pV="promptVariables",_pVA="policyVersionArn",_q="qualifiers",_r3="results",_rC2="reasoningContent",_rCe="redactedContent",_rM="requestMetadata",_rN2="resourceName",_rT3="reasoningText",_re="regex",_reg="regexes",_ro="role",_s5="smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime",_sB="sortBy",_sC="sourceContent",_sE="statusEquals",_sI="sensitiveInformation",_sIP="sensitiveInformationPolicy",_sIPFU="sensitiveInformationPolicyFreeUnits",_sIPU="sensitiveInformationPolicyUnits",_sL="s3Location",_sN="serverName",_sO="sortOrder",_sODC="s3OutputDataConfig",_sPM="streamProcessingMode",_sR="stopReason",_sRI="searchResultIndex",_sRL="searchResultLocation",_sRe="searchResult",_sRu="supportingRules",_sS="severityScore",_sSt="stopSequences",_sT3="submitTime",_sTA="submitTimeAfter",_sTB="submitTimeBefore",_sTe="serviceTier",_sTy="systemTool",_sU="s3Uri",_sUE="serviceUnavailableException",_sa="satisfiable",_sc2="score",_sch="schema",_se3="server",_si="signature",_so="source",_st="status",_sta="start",_stat="statements",_str="stream",_stre="streaming",_stri="strict",_stru="structure",_sy="system",_t="ttl",_tA="toolAddition",_tAr="translationAmbiguous",_tC="toolConfig",_tCe="textCharacters",_tCo="toolChoice",_tCoo="tooComplex",_tE="throttlingException",_tF="textFormat",_tP="topicPolicy",_tPU="topicPolicyUnits",_tPo="topP",_tR="toolResult",_tRo="toolRemoval",_tS="toolSpec",_tT3="totalTokens",_tU="textUnits",_tUI="toolUseId",_tUo="toolUse",_ta="tags",_te="text",_tem="temperature",_th="threshold",_ti="title",_to="total",_too="tool",_tool="tools",_top="topics",_tr="trace",_tra="translation",_tran="translations",_tru="truncated",_ty="type",_u="usage",_uC="untranslatedClaims",_uP="untranslatedPremises",_ur="uri",_url="url",_v="value",_vE="validationException",_va="valid",_vi="video",_w="web",_wP="wordPolicy",_wPU="wordPolicyUnits",n05="com.amazonaws.bedrockruntime",_s_registry5=TypeRegistry2.for(_s5),BedrockRuntimeServiceException$=[-3,_s5,"BedrockRuntimeServiceException",0,[],[]];_s_registry5.registerError(BedrockRuntimeServiceException$,BedrockRuntimeServiceException2);var n0_registry5=TypeRegistry2.for(n05),AccessDeniedException$3=[-3,n05,_ADE3,{[_e5]:_c5,[_hE5]:403},[_m4],[0]];n0_registry5.registerError(AccessDeniedException$3,AccessDeniedException3);var ConflictException$=[-3,n05,_CE,{[_e5]:_c5,[_hE5]:400},[_m4],[0]];n0_registry5.registerError(ConflictException$,ConflictException);var InternalServerException$3=[-3,n05,_ISE3,{[_e5]:_se3,[_hE5]:500},[_m4],[0]];n0_registry5.registerError(InternalServerException$3,InternalServerException3);var ModelErrorException$=[-3,n05,_MEE,{[_e5]:_c5,[_hE5]:424},[_m4,_oSC,_rN2],[0,1,0]];n0_registry5.registerError(ModelErrorException$,ModelErrorException);var ModelNotReadyException$=[-3,n05,_MNRE,{[_e5]:_c5,[_hE5]:429},[_m4],[0]];n0_registry5.registerError(ModelNotReadyException$,ModelNotReadyException);var ModelStreamErrorException$=[-3,n05,_MSEE,{[_e5]:_c5,[_hE5]:424},[_m4,_oSC,_oM],[0,1,0]];n0_registry5.registerError(ModelStreamErrorException$,ModelStreamErrorException);var ModelTimeoutException$=[-3,n05,_MTE,{[_e5]:_c5,[_hE5]:408},[_m4],[0]];n0_registry5.registerError(ModelTimeoutException$,ModelTimeoutException);var ResourceNotFoundException$2=[-3,n05,_RNFE2,{[_e5]:_c5,[_hE5]:404},[_m4],[0]];n0_registry5.registerError(ResourceNotFoundException$2,ResourceNotFoundException2);var ServiceQuotaExceededException$=[-3,n05,_SQEE,{[_e5]:_c5,[_hE5]:400},[_m4],[0]];n0_registry5.registerError(ServiceQuotaExceededException$,ServiceQuotaExceededException);var ServiceUnavailableException$=[-3,n05,_SUE,{[_e5]:_se3,[_hE5]:503},[_m4],[0]];n0_registry5.registerError(ServiceUnavailableException$,ServiceUnavailableException);var ThrottlingException$=[-3,n05,_TE,{[_e5]:_c5,[_hE5]:429},[_m4],[0]];n0_registry5.registerError(ThrottlingException$,ThrottlingException);var ValidationException$2=[-3,n05,_VE2,{[_e5]:_c5,[_hE5]:400},[_m4],[0]];n0_registry5.registerError(ValidationException$2,ValidationException2);var errorTypeRegistries5=[_s_registry5,n0_registry5],AsyncInvokeMessage=[0,n05,_AIM,8,0],Body=[0,n05,_B,8,21],GuardrailAutomatedReasoningStatementLogicContent=[0,n05,_GARSLC,8,0],GuardrailAutomatedReasoningStatementNaturalLanguageContent=[0,n05,_GARSNLC,8,0],GuardrailChecksTextContent=[0,n05,_GCTC,8,0],ModelInputPayload=[0,n05,_MIP,8,15],PartBody=[0,n05,_PB,8,21],RequestMetadataJson=[0,n05,_RMJ,8,0],AnyToolChoice$=[3,n05,_ATC,0,[],[]],AppliedGuardrailDetails$=[3,n05,_AGD,0,[_gI,_gV,_gA,_gO,_gOu],[0,0,0,64,0]],ApplyGuardrailRequest$=[3,n05,_AGR,0,[_gIu,_gV,_so,_co3,_oS],[[0,1],[0,1],0,[()=>GuardrailContentBlockList,0],0],4],ApplyGuardrailResponse$=[3,n05,_AGRp,0,[_u,_a2,_o,_as,_aR,_gC],[()=>GuardrailUsage$,0,()=>GuardrailOutputContentList,[()=>GuardrailAssessmentList,0],0,()=>GuardrailCoverage$],4],AsyncInvokeS3OutputDataConfig$=[3,n05,_AISODC,0,[_sU,_kKI,_bO],[0,0,0],1],AsyncInvokeSummary$=[3,n05,_AIS,0,[_iA,_mA,_sT3,_oDC,_cRT,_st,_fM,_lMT,_eT],[0,0,5,()=>AsyncInvokeOutputDataConfig$,0,0,[()=>AsyncInvokeMessage,0],5,5],4],AudioBlock$=[3,n05,_AB,0,[_f,_so,_e5],[0,[()=>AudioSource$,0],[()=>ErrorBlock$,0]],2],AutoToolChoice$=[3,n05,_ATCu,0,[],[]],BidirectionalInputPayloadPart$=[3,n05,_BIPP,8,[_b],[[()=>PartBody,0]]],BidirectionalOutputPayloadPart$=[3,n05,_BOPP,8,[_b],[[()=>PartBody,0]]],CacheDetail$=[3,n05,_CD,0,[_t,_iT3],[0,1],2],CachePointBlock$=[3,n05,_CPB,0,[_ty,_t],[0,0],1],Citation$=[3,n05,_C2,0,[_ti,_so,_sC,_l],[0,0,()=>CitationSourceContentList,()=>CitationLocation$]],CitationsConfig$=[3,n05,_CC,0,[_en],[2],1],CitationsContentBlock$=[3,n05,_CCB,0,[_co3,_ci],[()=>CitationGeneratedContentList,()=>Citations]],CitationsDelta$=[3,n05,_CDi,0,[_ti,_so,_sC,_l],[0,0,()=>CitationSourceContentListDelta,()=>CitationLocation$]],CitationSourceContentDelta$=[3,n05,_CSCD,0,[_te],[0]],ContentBlockDeltaEvent$=[3,n05,_CBDE,0,[_d,_cBI],[[()=>ContentBlockDelta$,0],1],2],ContentBlockStartEvent$=[3,n05,_CBSE,0,[_sta,_cBI],[()=>ContentBlockStart$,1],2],ContentBlockStopEvent$=[3,n05,_CBSEo,0,[_cBI],[1],1],ConverseMetrics$=[3,n05,_CM,0,[_lM],[1],1],ConverseRequest$=[3,n05,_CR,0,[_mI,_me,_sy,_iC,_tC,_gCu,_aMRF,_pV,_aMRFP,_rM,_pC,_sTe,_oC],[[0,1],[()=>Messages,0],[()=>SystemContentBlocks,0],()=>InferenceConfiguration$,()=>ToolConfiguration$,()=>GuardrailConfiguration$,15,[()=>PromptVariableMap,0],64,[()=>RequestMetadata,0],()=>PerformanceConfiguration$,()=>ServiceTier$,[()=>OutputConfig$,0]],1],ConverseResponse$=[3,n05,_CRo,0,[_ou,_sR,_u,_met,_aMRFd,_tr,_pC,_sTe],[[()=>ConverseOutput$,0],0,()=>TokenUsage$,()=>ConverseMetrics$,15,[()=>ConverseTrace$,0],()=>PerformanceConfiguration$,()=>ServiceTier$],4],ConverseStreamMetadataEvent$=[3,n05,_CSME,0,[_u,_met,_tr,_pC,_sTe],[()=>TokenUsage$,()=>ConverseStreamMetrics$,[()=>ConverseStreamTrace$,0],()=>PerformanceConfiguration$,()=>ServiceTier$],2],ConverseStreamMetrics$=[3,n05,_CSM,0,[_lM],[1],1],ConverseStreamRequest$=[3,n05,_CSR,0,[_mI,_me,_sy,_iC,_tC,_gCu,_aMRF,_pV,_aMRFP,_rM,_pC,_sTe,_oC],[[0,1],[()=>Messages,0],[()=>SystemContentBlocks,0],()=>InferenceConfiguration$,()=>ToolConfiguration$,()=>GuardrailStreamConfiguration$,15,[()=>PromptVariableMap,0],64,[()=>RequestMetadata,0],()=>PerformanceConfiguration$,()=>ServiceTier$,[()=>OutputConfig$,0]],1],ConverseStreamResponse$=[3,n05,_CSRo,0,[_str],[[()=>ConverseStreamOutput$,16]]],ConverseStreamTrace$=[3,n05,_CST,0,[_g,_pR],[[()=>GuardrailTraceAssessment$,0],()=>PromptRouterTrace$]],ConverseTokensRequest$=[3,n05,_CTR2,0,[_me,_sy,_tC,_aMRF],[[()=>Messages,0],[()=>SystemContentBlocks,0],()=>ToolConfiguration$,15]],ConverseTrace$=[3,n05,_CT2,0,[_g,_pR],[[()=>GuardrailTraceAssessment$,0],()=>PromptRouterTrace$]],CountTokensRequest$=[3,n05,_CTRo,0,[_mI,_i],[[0,1],[()=>CountTokensInput$,0]],2],CountTokensResponse$=[3,n05,_CTRou,0,[_iT3],[1],1],DocumentBlock$=[3,n05,_DB,0,[_n,_so,_f,_con,_ci],[0,()=>DocumentSource$,0,0,()=>CitationsConfig$],2],DocumentCharLocation$=[3,n05,_DCL,0,[_dI,_sta,_end],[1,1,1]],DocumentChunkLocation$=[3,n05,_DCLo,0,[_dI,_sta,_end],[1,1,1]],DocumentPageLocation$=[3,n05,_DPL,0,[_dI,_sta,_end],[1,1,1]],ErrorBlock$=[3,n05,_EB,8,[_m4],[0]],GetAsyncInvokeRequest$=[3,n05,_GAIR,0,[_iA],[[0,1]],1],GetAsyncInvokeResponse$=[3,n05,_GAIRe,0,[_iA,_mA,_st,_sT3,_oDC,_cRT,_fM,_lMT,_eT],[0,0,0,5,()=>AsyncInvokeOutputDataConfig$,0,[()=>AsyncInvokeMessage,0],5,5],5],GuardrailAssessment$=[3,n05,_GA,0,[_tP,_cP,_wP,_sIP,_cGP,_aRP,_iM,_aGD],[()=>GuardrailTopicPolicyAssessment$,()=>GuardrailContentPolicyAssessment$,()=>GuardrailWordPolicyAssessment$,()=>GuardrailSensitiveInformationPolicyAssessment$,()=>GuardrailContextualGroundingPolicyAssessment$,[()=>GuardrailAutomatedReasoningPolicyAssessment$,0],()=>GuardrailInvocationMetrics$,()=>AppliedGuardrailDetails$]],GuardrailAutomatedReasoningImpossibleFinding$=[3,n05,_GARIF,0,[_tra,_cR,_lW],[[()=>GuardrailAutomatedReasoningTranslation$,0],()=>GuardrailAutomatedReasoningRuleList,[()=>GuardrailAutomatedReasoningLogicWarning$,0]]],GuardrailAutomatedReasoningInputTextReference$=[3,n05,_GARITR,0,[_te],[[()=>GuardrailAutomatedReasoningStatementNaturalLanguageContent,0]]],GuardrailAutomatedReasoningInvalidFinding$=[3,n05,_GARIFu,0,[_tra,_cR,_lW],[[()=>GuardrailAutomatedReasoningTranslation$,0],()=>GuardrailAutomatedReasoningRuleList,[()=>GuardrailAutomatedReasoningLogicWarning$,0]]],GuardrailAutomatedReasoningLogicWarning$=[3,n05,_GARLW,0,[_ty,_p,_cl],[0,[()=>GuardrailAutomatedReasoningStatementList,0],[()=>GuardrailAutomatedReasoningStatementList,0]]],GuardrailAutomatedReasoningNoTranslationsFinding$=[3,n05,_GARNTF,0,[],[]],GuardrailAutomatedReasoningPolicyAssessment$=[3,n05,_GARPA,0,[_fi],[[()=>GuardrailAutomatedReasoningFindingList,0]]],GuardrailAutomatedReasoningRule$=[3,n05,_GARR,0,[_id,_pVA],[0,0]],GuardrailAutomatedReasoningSatisfiableFinding$=[3,n05,_GARSF,0,[_tra,_cTS,_cFS,_lW],[[()=>GuardrailAutomatedReasoningTranslation$,0],[()=>GuardrailAutomatedReasoningScenario$,0],[()=>GuardrailAutomatedReasoningScenario$,0],[()=>GuardrailAutomatedReasoningLogicWarning$,0]]],GuardrailAutomatedReasoningScenario$=[3,n05,_GARS,0,[_stat],[[()=>GuardrailAutomatedReasoningStatementList,0]]],GuardrailAutomatedReasoningStatement$=[3,n05,_GARSu,0,[_lo,_nL],[[()=>GuardrailAutomatedReasoningStatementLogicContent,0],[()=>GuardrailAutomatedReasoningStatementNaturalLanguageContent,0]]],GuardrailAutomatedReasoningTooComplexFinding$=[3,n05,_GARTCF,0,[],[]],GuardrailAutomatedReasoningTranslation$=[3,n05,_GART,0,[_p,_cl,_uP,_uC,_conf],[[()=>GuardrailAutomatedReasoningStatementList,0],[()=>GuardrailAutomatedReasoningStatementList,0],[()=>GuardrailAutomatedReasoningInputTextReferenceList,0],[()=>GuardrailAutomatedReasoningInputTextReferenceList,0],1]],GuardrailAutomatedReasoningTranslationAmbiguousFinding$=[3,n05,_GARTAF,0,[_op,_dS],[[()=>GuardrailAutomatedReasoningTranslationOptionList,0],[()=>GuardrailAutomatedReasoningDifferenceScenarioList,0]]],GuardrailAutomatedReasoningTranslationOption$=[3,n05,_GARTO,0,[_tran],[[()=>GuardrailAutomatedReasoningTranslationList,0]]],GuardrailAutomatedReasoningValidFinding$=[3,n05,_GARVF,0,[_tra,_cTS,_sRu,_lW],[[()=>GuardrailAutomatedReasoningTranslation$,0],[()=>GuardrailAutomatedReasoningScenario$,0],()=>GuardrailAutomatedReasoningRuleList,[()=>GuardrailAutomatedReasoningLogicWarning$,0]]],GuardrailChecksConfig$=[3,n05,_GCC,0,[_cF,_pA,_sI],[()=>GuardrailChecksContentFilterConfig$,()=>GuardrailChecksPromptAttackConfig$,()=>GuardrailChecksSensitiveInformationConfig$]],GuardrailChecksContentFilterCategoryConfig$=[3,n05,_GCCFCC,0,[_ca],[0],1],GuardrailChecksContentFilterConfig$=[3,n05,_GCCFC,0,[_cat],[()=>GuardrailChecksContentFilterCategoryConfigList],1],GuardrailChecksContentFilterResult$=[3,n05,_GCCFR,0,[_r3],[()=>GuardrailChecksContentFilterResultList],1],GuardrailChecksContentFilterResultEntry$=[3,n05,_GCCFRE,0,[_ca,_sS],[0,1],2],GuardrailChecksContentFilterUsage$=[3,n05,_GCCFU,0,[_tU],[1],1],GuardrailChecksMessage$=[3,n05,_GCM,0,[_ro,_co3],[0,[()=>GuardrailChecksContentBlockList,0]],2],GuardrailChecksPromptAttackCategoryConfig$=[3,n05,_GCPACC,0,[_ca],[0],1],GuardrailChecksPromptAttackConfig$=[3,n05,_GCPAC,0,[_cat],[()=>GuardrailChecksPromptAttackCategoryConfigList],1],GuardrailChecksPromptAttackResult$=[3,n05,_GCPAR,0,[_r3],[()=>GuardrailChecksPromptAttackResultList],1],GuardrailChecksPromptAttackResultEntry$=[3,n05,_GCPARE,0,[_ca,_sS],[0,1],2],GuardrailChecksPromptAttackUsage$=[3,n05,_GCPAU,0,[_tU],[1],1],GuardrailChecksResults$=[3,n05,_GCR,0,[_cF,_pA,_sI],[()=>GuardrailChecksContentFilterResult$,()=>GuardrailChecksPromptAttackResult$,()=>GuardrailChecksSensitiveInformationResult$]],GuardrailChecksSensitiveInformationConfig$=[3,n05,_GCSIC,0,[_ent],[()=>GuardrailChecksSensitiveInformationEntityConfigList],1],GuardrailChecksSensitiveInformationEntityConfig$=[3,n05,_GCSIEC,0,[_ty],[0],1],GuardrailChecksSensitiveInformationResult$=[3,n05,_GCSIR,0,[_r3,_tru],[()=>GuardrailChecksSensitiveInformationResultList,2],1],GuardrailChecksSensitiveInformationResultEntry$=[3,n05,_GCSIRE,0,[_ty,_cS2,_bOe,_eO,_mIe,_cI3],[0,1,1,1,1,1],6],GuardrailChecksSensitiveInformationUsage$=[3,n05,_GCSIU,0,[_tU],[1],1],GuardrailChecksUsageResults$=[3,n05,_GCUR,0,[_cF,_pA,_sI],[()=>GuardrailChecksContentFilterUsage$,()=>GuardrailChecksPromptAttackUsage$,()=>GuardrailChecksSensitiveInformationUsage$]],GuardrailConfiguration$=[3,n05,_GC,0,[_gIu,_gV,_tr],[0,0,0]],GuardrailContentFilter$=[3,n05,_GCF,0,[_ty,_conf,_a2,_fS,_de],[0,0,0,0,2],3],GuardrailContentPolicyAssessment$=[3,n05,_GCPA,0,[_fil],[()=>GuardrailContentFilterList],1],GuardrailContextualGroundingFilter$=[3,n05,_GCGF,0,[_ty,_th,_sc2,_a2,_de],[0,1,1,0,2],4],GuardrailContextualGroundingPolicyAssessment$=[3,n05,_GCGPA,0,[_fil],[()=>GuardrailContextualGroundingFilters]],GuardrailConverseImageBlock$=[3,n05,_GCIB,8,[_f,_so],[0,[()=>GuardrailConverseImageSource$,0]],2],GuardrailConverseTextBlock$=[3,n05,_GCTB,0,[_te,_q],[0,64],1],GuardrailCoverage$=[3,n05,_GCu,0,[_tCe,_im],[()=>GuardrailTextCharactersCoverage$,()=>GuardrailImageCoverage$]],GuardrailCustomWord$=[3,n05,_GCW,0,[_ma,_a2,_de],[0,0,2],2],GuardrailImageBlock$=[3,n05,_GIB,8,[_f,_so],[0,[()=>GuardrailImageSource$,0]],2],GuardrailImageCoverage$=[3,n05,_GIC,0,[_gu,_to],[1,1]],GuardrailInvocationMetrics$=[3,n05,_GIM,0,[_gPL,_u,_gC],[1,()=>GuardrailUsage$,()=>GuardrailCoverage$]],GuardrailManagedWord$=[3,n05,_GMW,0,[_ma,_ty,_a2,_de],[0,0,0,2],3],GuardrailOutputContent$=[3,n05,_GOC,0,[_te],[0]],GuardrailPiiEntityFilter$=[3,n05,_GPEF,0,[_ma,_ty,_a2,_de],[0,0,0,2],3],GuardrailRegexFilter$=[3,n05,_GRF,0,[_a2,_n,_ma,_re,_de],[0,0,0,0,2],1],GuardrailSensitiveInformationPolicyAssessment$=[3,n05,_GSIPA,0,[_pE,_reg],[()=>GuardrailPiiEntityFilterList,()=>GuardrailRegexFilterList],2],GuardrailStreamConfiguration$=[3,n05,_GSC,0,[_gIu,_gV,_tr,_sPM],[0,0,0,0]],GuardrailTextBlock$=[3,n05,_GTB,0,[_te,_q],[0,64],1],GuardrailTextCharactersCoverage$=[3,n05,_GTCC,0,[_gu,_to],[1,1]],GuardrailTopic$=[3,n05,_GT,0,[_n,_ty,_a2,_de],[0,0,0,2],3],GuardrailTopicPolicyAssessment$=[3,n05,_GTPA,0,[_top],[()=>GuardrailTopicList],1],GuardrailTraceAssessment$=[3,n05,_GTA,0,[_mO,_iAn,_oA,_aR],[64,[()=>GuardrailAssessmentMap,0],[()=>GuardrailAssessmentListMap,0],0]],GuardrailUsage$=[3,n05,_GU,0,[_tPU,_cPU,_wPU,_sIPU,_sIPFU,_cGPU,_cPIU,_aRPU,_aRPu],[1,1,1,1,1,1,1,1,1],6],GuardrailWordPolicyAssessment$=[3,n05,_GWPA,0,[_cW,_mWL],[()=>GuardrailCustomWordList,()=>GuardrailManagedWordList],2],ImageBlock$=[3,n05,_IB,0,[_f,_so,_e5],[0,[()=>ImageSource$,0],[()=>ErrorBlock$,0]],2],ImageBlockDelta$=[3,n05,_IBD,0,[_so,_e5],[[()=>ImageSource$,0],[()=>ErrorBlock$,0]]],ImageBlockStart$=[3,n05,_IBS,0,[_f],[0],1],InferenceConfiguration$=[3,n05,_IC,0,[_mT,_tem,_tPo,_sSt],[1,1,1,64]],InvokeGuardrailChecksRequest$=[3,n05,_IGCR,0,[_me,_ch],[[()=>GuardrailChecksMessageList,0],()=>GuardrailChecksConfig$],2],InvokeGuardrailChecksResponse$=[3,n05,_IGCRn,0,[_r3,_u],[()=>GuardrailChecksResults$,()=>GuardrailChecksUsageResults$],2],InvokeModelRequest$=[3,n05,_IMR,0,[_mI,_bo,_cT,_ac,_tr,_gIu,_gV,_pCL,_sTe,_rM],[[0,1],[()=>Body,16],[0,{[_hH2]:_CT_}],[0,{[_hH2]:_A2}],[0,{[_hH2]:_XABT}],[0,{[_hH2]:_XABG}],[0,{[_hH2]:_XABG_}],[0,{[_hH2]:_XABPL}],[0,{[_hH2]:_XABST}],[()=>RequestMetadataJson,{[_hH2]:_XABRM}]],1],InvokeModelResponse$=[3,n05,_IMRn,0,[_bo,_cT,_pCL,_sTe],[[()=>Body,16],[0,{[_hH2]:_CT_}],[0,{[_hH2]:_XABPL}],[0,{[_hH2]:_XABST}]],2],InvokeModelTokensRequest$=[3,n05,_IMTR,0,[_bo],[[()=>Body,0]],1],InvokeModelWithBidirectionalStreamRequest$=[3,n05,_IMWBSR,0,[_mI,_bo],[[0,1],[()=>InvokeModelWithBidirectionalStreamInput$,16]],2],InvokeModelWithBidirectionalStreamResponse$=[3,n05,_IMWBSRn,0,[_bo],[[()=>InvokeModelWithBidirectionalStreamOutput$,16]],1],InvokeModelWithResponseStreamRequest$=[3,n05,_IMWRSR,0,[_mI,_bo,_cT,_ac,_tr,_gIu,_gV,_pCL,_sTe,_rM],[[0,1],[()=>Body,16],[0,{[_hH2]:_CT_}],[0,{[_hH2]:_XABA}],[0,{[_hH2]:_XABT}],[0,{[_hH2]:_XABG}],[0,{[_hH2]:_XABG_}],[0,{[_hH2]:_XABPL}],[0,{[_hH2]:_XABST}],[()=>RequestMetadataJson,{[_hH2]:_XABRM}]],1],InvokeModelWithResponseStreamResponse$=[3,n05,_IMWRSRn,0,[_bo,_cT,_pCL,_sTe],[[()=>ResponseStream$,16],[0,{[_hH2]:_XABCT}],[0,{[_hH2]:_XABPL}],[0,{[_hH2]:_XABST}]],2],JsonSchemaDefinition$=[3,n05,_JSD,0,[_sch,_n,_des],[0,0,0],1],ListAsyncInvokesRequest$=[3,n05,_LAIR,0,[_sTA,_sTB,_sE,_mR,_nT,_sB,_sO],[[5,{[_hQ2]:_sTA}],[5,{[_hQ2]:_sTB}],[0,{[_hQ2]:_sE}],[1,{[_hQ2]:_mR}],[0,{[_hQ2]:_nT}],[0,{[_hQ2]:_sB}],[0,{[_hQ2]:_sO}]]],ListAsyncInvokesResponse$=[3,n05,_LAIRi,0,[_nT,_aIS],[0,[()=>AsyncInvokeSummaries,0]]],Message$=[3,n05,_M,0,[_ro,_co3],[0,[()=>ContentBlocks,0]],2],MessageStartEvent$=[3,n05,_MSE,0,[_ro],[0],1],MessageStopEvent$=[3,n05,_MSEe,0,[_sR,_aMRFd],[0,15],1],OutputConfig$=[3,n05,_OC,0,[_tF,_ef],[[()=>OutputFormat$,0],0]],OutputFormat$=[3,n05,_OF,0,[_ty,_stru],[0,[()=>OutputFormatStructure$,0]],2],PayloadPart$=[3,n05,_PP,8,[_b],[[()=>PartBody,0]]],PerformanceConfiguration$=[3,n05,_PC2,0,[_la],[0]],PromptRouterTrace$=[3,n05,_PRT,0,[_iMI],[0]],ReasoningTextBlock$=[3,n05,_RTB,8,[_te,_si],[0,0],1],S3Location$=[3,n05,_SL,0,[_ur,_bO],[0,0],1],SearchResultBlock$=[3,n05,_SRB,0,[_so,_ti,_co3,_ci],[0,0,()=>SearchResultContentBlocks,()=>CitationsConfig$],3],SearchResultContentBlock$=[3,n05,_SRCB,0,[_te],[0],1],SearchResultLocation$=[3,n05,_SRL,0,[_sRI,_sta,_end],[1,1,1]],ServiceTier$=[3,n05,_ST2,0,[_ty],[0],1],SpecificToolChoice$=[3,n05,_STC,0,[_n],[0],1],StartAsyncInvokeRequest$=[3,n05,_SAIR,0,[_mI,_mIo,_oDC,_cRT,_ta],[0,[()=>ModelInputPayload,0],()=>AsyncInvokeOutputDataConfig$,[0,4],()=>TagList],3],StartAsyncInvokeResponse$=[3,n05,_SAIRt,0,[_iA],[0],1],SystemTool$=[3,n05,_STy,0,[_n],[0],1],Tag$2=[3,n05,_T2,0,[_k,_v],[0,0],2],TokenUsage$=[3,n05,_TU,0,[_iT3,_oT,_tT3,_cRIT,_cWIT,_cD],[1,1,1,1,1,()=>CacheDetailsList],3],ToolAdditionBlock$=[3,n05,_TAB,0,[_too],[()=>ToolReference$],1],ToolConfiguration$=[3,n05,_TC2,0,[_tool,_tCo],[()=>Tools,()=>ToolChoice$],1],ToolReference$=[3,n05,_TR,0,[_ty,_n,_sN],[0,0,0]],ToolRemovalBlock$=[3,n05,_TRB,0,[_too],[()=>ToolReference$],1],ToolResultBlock$=[3,n05,_TRBo,0,[_tUI,_co3,_st,_ty],[0,[()=>ToolResultContentBlocks,0],0,0],2],ToolResultBlockStart$=[3,n05,_TRBS,0,[_tUI,_ty,_st],[0,0,0],1],ToolSpecification$=[3,n05,_TS,0,[_n,_iS,_des,_stri],[0,()=>ToolInputSchema$,0,2],2],ToolUseBlock$=[3,n05,_TUB,0,[_tUI,_n,_i,_ty],[0,0,15,0],3],ToolUseBlockDelta$=[3,n05,_TUBD,0,[_i],[0],1],ToolUseBlockStart$=[3,n05,_TUBS,0,[_tUI,_n,_ty],[0,0,0],2],VideoBlock$=[3,n05,_VB,0,[_f,_so],[0,()=>VideoSource$],2],WebLocation$=[3,n05,_WL,0,[_url,_do],[0,0]],AsyncInvokeSummaries=[1,n05,_AISs,0,[()=>AsyncInvokeSummary$,0]],CacheDetailsList=[1,n05,_CDL,0,()=>CacheDetail$],CitationGeneratedContentList=[1,n05,_CGCL,0,()=>CitationGeneratedContent$],Citations=[1,n05,_Ci,0,()=>Citation$],CitationSourceContentList=[1,n05,_CSCL,0,()=>CitationSourceContent$],CitationSourceContentListDelta=[1,n05,_CSCLD,0,()=>CitationSourceContentDelta$],ContentBlocks=[1,n05,_CB,0,[()=>ContentBlock$,0]],DocumentContentBlocks=[1,n05,_DCB,0,()=>DocumentContentBlock$],GuardrailAssessmentList=[1,n05,_GAL,0,[()=>GuardrailAssessment$,0]],GuardrailAutomatedReasoningDifferenceScenarioList=[1,n05,_GARDSL,0,[()=>GuardrailAutomatedReasoningScenario$,0]],GuardrailAutomatedReasoningFindingList=[1,n05,_GARFL,0,[()=>GuardrailAutomatedReasoningFinding$,0]],GuardrailAutomatedReasoningInputTextReferenceList=[1,n05,_GARITRL,0,[()=>GuardrailAutomatedReasoningInputTextReference$,0]],GuardrailAutomatedReasoningRuleList=[1,n05,_GARRL,0,()=>GuardrailAutomatedReasoningRule$],GuardrailAutomatedReasoningStatementList=[1,n05,_GARSL,0,[()=>GuardrailAutomatedReasoningStatement$,0]],GuardrailAutomatedReasoningTranslationList=[1,n05,_GARTL,0,[()=>GuardrailAutomatedReasoningTranslation$,0]],GuardrailAutomatedReasoningTranslationOptionList=[1,n05,_GARTOL,0,[()=>GuardrailAutomatedReasoningTranslationOption$,0]],GuardrailChecksContentBlockList=[1,n05,_GCCBL,0,[()=>GuardrailChecksContentBlock$,0]],GuardrailChecksContentFilterCategoryConfigList=[1,n05,_GCCFCCL,0,()=>GuardrailChecksContentFilterCategoryConfig$],GuardrailChecksContentFilterResultList=[1,n05,_GCCFRL,0,()=>GuardrailChecksContentFilterResultEntry$],GuardrailChecksMessageList=[1,n05,_GCML,0,[()=>GuardrailChecksMessage$,0]],GuardrailChecksPromptAttackCategoryConfigList=[1,n05,_GCPACCL,0,()=>GuardrailChecksPromptAttackCategoryConfig$],GuardrailChecksPromptAttackResultList=[1,n05,_GCPARL,0,()=>GuardrailChecksPromptAttackResultEntry$],GuardrailChecksSensitiveInformationEntityConfigList=[1,n05,_GCSIECL,0,()=>GuardrailChecksSensitiveInformationEntityConfig$],GuardrailChecksSensitiveInformationResultList=[1,n05,_GCSIRL,0,()=>GuardrailChecksSensitiveInformationResultEntry$],GuardrailContentBlockList=[1,n05,_GCBL,0,[()=>GuardrailContentBlock$,0]],GuardrailContentFilterList=[1,n05,_GCFL,0,()=>GuardrailContentFilter$],GuardrailContextualGroundingFilters=[1,n05,_GCGFu,0,()=>GuardrailContextualGroundingFilter$],GuardrailCustomWordList=[1,n05,_GCWL,0,()=>GuardrailCustomWord$],GuardrailManagedWordList=[1,n05,_GMWL,0,()=>GuardrailManagedWord$],GuardrailOutputContentList=[1,n05,_GOCL,0,()=>GuardrailOutputContent$],GuardrailPiiEntityFilterList=[1,n05,_GPEFL,0,()=>GuardrailPiiEntityFilter$],GuardrailRegexFilterList=[1,n05,_GRFL,0,()=>GuardrailRegexFilter$],GuardrailTopicList=[1,n05,_GTL,0,()=>GuardrailTopic$],Messages=[1,n05,_Me,0,[()=>Message$,0]],SearchResultContentBlocks=[1,n05,_SRCBe,0,()=>SearchResultContentBlock$],SystemContentBlocks=[1,n05,_SCB,0,[()=>SystemContentBlock$,0]],TagList=[1,n05,_TL,0,()=>Tag$2],ToolResultBlocksDelta=[1,n05,_TRBD,0,()=>ToolResultBlockDelta$],ToolResultContentBlocks=[1,n05,_TRCB,0,[()=>ToolResultContentBlock$,0]],Tools=[1,n05,_To,0,()=>Tool$],GuardrailAssessmentListMap=[2,n05,_GALM,0,[0,0],[()=>GuardrailAssessmentList,0]],GuardrailAssessmentMap=[2,n05,_GAM,0,[0,0],[()=>GuardrailAssessment$,0]],PromptVariableMap=[2,n05,_PVM,8,0,()=>PromptVariableValues$],RequestMetadata=[2,n05,_RM,8,0,0],AsyncInvokeOutputDataConfig$=[4,n05,_AIODC,0,[_sODC],[()=>AsyncInvokeS3OutputDataConfig$]],AudioSource$=[4,n05,_AS,8,[_b,_sL],[21,()=>S3Location$]],CitationGeneratedContent$=[4,n05,_CGC,0,[_te],[0]],CitationLocation$=[4,n05,_CL,0,[_w,_dC2,_dP,_dCo,_sRL],[()=>WebLocation$,()=>DocumentCharLocation$,()=>DocumentPageLocation$,()=>DocumentChunkLocation$,()=>SearchResultLocation$]],CitationSourceContent$=[4,n05,_CSC,0,[_te],[0]],ContentBlock$=[4,n05,_CBo,0,[_te,_ima,_doc,_vi,_au,_tUo,_tR,_gCua,_cPa,_rC2,_cC,_sRe,_tA,_tRo],[0,[()=>ImageBlock$,0],()=>DocumentBlock$,()=>VideoBlock$,[()=>AudioBlock$,0],()=>ToolUseBlock$,[()=>ToolResultBlock$,0],[()=>GuardrailConverseContentBlock$,0],()=>CachePointBlock$,[()=>ReasoningContentBlock$,0],()=>CitationsContentBlock$,()=>SearchResultBlock$,()=>ToolAdditionBlock$,()=>ToolRemovalBlock$]],ContentBlockDelta$=[4,n05,_CBD,0,[_te,_tUo,_tR,_rC2,_cit,_ima],[0,()=>ToolUseBlockDelta$,()=>ToolResultBlocksDelta,[()=>ReasoningContentBlockDelta$,0],()=>CitationsDelta$,[()=>ImageBlockDelta$,0]]],ContentBlockStart$=[4,n05,_CBS,0,[_tUo,_tR,_ima],[()=>ToolUseBlockStart$,()=>ToolResultBlockStart$,()=>ImageBlockStart$]],ConverseOutput$=[4,n05,_CO,0,[_m4],[[()=>Message$,0]]],ConverseStreamOutput$=[4,n05,_CSO,{[_stre]:1},[_mS,_cBS,_cBD,_cBSo,_mSe,_meta,_iSE,_mSEE,_vE,_tE,_sUE],[()=>MessageStartEvent$,()=>ContentBlockStartEvent$,[()=>ContentBlockDeltaEvent$,0],()=>ContentBlockStopEvent$,()=>MessageStopEvent$,[()=>ConverseStreamMetadataEvent$,0],[()=>InternalServerException$3,0],[()=>ModelStreamErrorException$,0],[()=>ValidationException$2,0],[()=>ThrottlingException$,0],[()=>ServiceUnavailableException$,0]]],CountTokensInput$=[4,n05,_CTI,0,[_iMn,_conv],[[()=>InvokeModelTokensRequest$,0],[()=>ConverseTokensRequest$,0]]],DocumentContentBlock$=[4,n05,_DCBo,0,[_te],[0]],DocumentSource$=[4,n05,_DS2,0,[_b,_sL,_te,_co3],[21,()=>S3Location$,0,()=>DocumentContentBlocks]],GuardrailAutomatedReasoningFinding$=[4,n05,_GARF,0,[_va,_in,_sa,_imp,_tAr,_tCoo,_nTo],[[()=>GuardrailAutomatedReasoningValidFinding$,0],[()=>GuardrailAutomatedReasoningInvalidFinding$,0],[()=>GuardrailAutomatedReasoningSatisfiableFinding$,0],[()=>GuardrailAutomatedReasoningImpossibleFinding$,0],[()=>GuardrailAutomatedReasoningTranslationAmbiguousFinding$,0],()=>GuardrailAutomatedReasoningTooComplexFinding$,()=>GuardrailAutomatedReasoningNoTranslationsFinding$]],GuardrailChecksContentBlock$=[4,n05,_GCCB,0,[_te],[[()=>GuardrailChecksTextContent,0]]],GuardrailContentBlock$=[4,n05,_GCB,0,[_te,_ima],[()=>GuardrailTextBlock$,[()=>GuardrailImageBlock$,0]]],GuardrailConverseContentBlock$=[4,n05,_GCCBu,0,[_te,_ima],[()=>GuardrailConverseTextBlock$,[()=>GuardrailConverseImageBlock$,0]]],GuardrailConverseImageSource$=[4,n05,_GCIS,8,[_b],[21]],GuardrailImageSource$=[4,n05,_GIS,8,[_b],[21]],ImageSource$=[4,n05,_IS,8,[_b,_sL],[21,()=>S3Location$]],InvokeModelWithBidirectionalStreamInput$=[4,n05,_IMWBSI,{[_stre]:1},[_chu],[[()=>BidirectionalInputPayloadPart$,0]]],InvokeModelWithBidirectionalStreamOutput$=[4,n05,_IMWBSO,{[_stre]:1},[_chu,_iSE,_mSEE,_vE,_tE,_mTE,_sUE],[[()=>BidirectionalOutputPayloadPart$,0],[()=>InternalServerException$3,0],[()=>ModelStreamErrorException$,0],[()=>ValidationException$2,0],[()=>ThrottlingException$,0],[()=>ModelTimeoutException$,0],[()=>ServiceUnavailableException$,0]]],OutputFormatStructure$=[4,n05,_OFS,8,[_jS],[()=>JsonSchemaDefinition$]],PromptVariableValues$=[4,n05,_PVV,0,[_te],[0]],ReasoningContentBlock$=[4,n05,_RCB,8,[_rT3,_rCe],[[()=>ReasoningTextBlock$,0],21]],ReasoningContentBlockDelta$=[4,n05,_RCBD,8,[_te,_rCe,_si],[0,21,0]],ResponseStream$=[4,n05,_RS,{[_stre]:1},[_chu,_iSE,_mSEE,_vE,_tE,_mTE,_sUE],[[()=>PayloadPart$,0],[()=>InternalServerException$3,0],[()=>ModelStreamErrorException$,0],[()=>ValidationException$2,0],[()=>ThrottlingException$,0],[()=>ModelTimeoutException$,0],[()=>ServiceUnavailableException$,0]]],SystemContentBlock$=[4,n05,_SCBy,0,[_te,_gCua,_cPa],[0,[()=>GuardrailConverseContentBlock$,0],()=>CachePointBlock$]],Tool$=[4,n05,_Too,0,[_tS,_sTy,_cPa],[()=>ToolSpecification$,()=>SystemTool$,()=>CachePointBlock$]],ToolChoice$=[4,n05,_TCo,0,[_aut,_an,_too],[()=>AutoToolChoice$,()=>AnyToolChoice$,()=>SpecificToolChoice$]],ToolInputSchema$=[4,n05,_TIS,0,[_j],[15]],ToolResultBlockDelta$=[4,n05,_TRBDo,0,[_te,_j],[0,15]],ToolResultContentBlock$=[4,n05,_TRCBo,0,[_j,_te,_ima,_doc,_vi,_sRe],[15,0,[()=>ImageBlock$,0],()=>DocumentBlock$,()=>VideoBlock$,()=>SearchResultBlock$]],VideoSource$=[4,n05,_VS,0,[_b,_sL],[21,()=>S3Location$]],ApplyGuardrail$=[9,n05,_AG,{[_h4]:["POST","/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply",200]},()=>ApplyGuardrailRequest$,()=>ApplyGuardrailResponse$],Converse$=[9,n05,_Co,{[_h4]:["POST","/model/{modelId}/converse",200]},()=>ConverseRequest$,()=>ConverseResponse$],ConverseStream$=[9,n05,_CS2,{[_h4]:["POST","/model/{modelId}/converse-stream",200]},()=>ConverseStreamRequest$,()=>ConverseStreamResponse$],CountTokens$=[9,n05,_CTo,{[_h4]:["POST","/model/{modelId}/count-tokens",200]},()=>CountTokensRequest$,()=>CountTokensResponse$],GetAsyncInvoke$=[9,n05,_GAI,{[_h4]:["GET","/async-invoke/{invocationArn}",200]},()=>GetAsyncInvokeRequest$,()=>GetAsyncInvokeResponse$],InvokeGuardrailChecks$=[9,n05,_IGC,{[_h4]:["POST","/guardrail-checks/invoke",200]},()=>InvokeGuardrailChecksRequest$,()=>InvokeGuardrailChecksResponse$],InvokeModel$=[9,n05,_IM,{[_h4]:["POST","/model/{modelId}/invoke",200]},()=>InvokeModelRequest$,()=>InvokeModelResponse$],InvokeModelWithBidirectionalStream$=[9,n05,_IMWBS,{[_h4]:["POST","/model/{modelId}/invoke-with-bidirectional-stream",200]},()=>InvokeModelWithBidirectionalStreamRequest$,()=>InvokeModelWithBidirectionalStreamResponse$],InvokeModelWithResponseStream$=[9,n05,_IMWRS,{[_h4]:["POST","/model/{modelId}/invoke-with-response-stream",200]},()=>InvokeModelWithResponseStreamRequest$,()=>InvokeModelWithResponseStreamResponse$],ListAsyncInvokes$=[9,n05,_LAI,{[_h4]:["GET","/async-invoke",200]},()=>ListAsyncInvokesRequest$,()=>ListAsyncInvokesResponse$],StartAsyncInvoke$=[9,n05,_SAI,{[_h4]:["POST","/async-invoke",200]},()=>StartAsyncInvokeRequest$,()=>StartAsyncInvokeResponse$],getRuntimeConfig$1=config=>({apiVersion:"2023-09-30",base64Decoder:config?.base64Decoder??fromBase642,base64Encoder:config?.base64Encoder??toBase643,disableHostPrefix:config?.disableHostPrefix??!1,endpointProvider:config?.endpointProvider??defaultEndpointResolver5,extensions:config?.extensions??[],httpAuthSchemeProvider:config?.httpAuthSchemeProvider??defaultBedrockRuntimeHttpAuthSchemeProvider,httpAuthSchemes:config?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:ipc=>ipc.getIdentityProvider("aws.auth#sigv4"),signer:new AwsSdkSigV4Signer2},{schemeId:"smithy.api#httpBearerAuth",identityProvider:ipc=>ipc.getIdentityProvider("smithy.api#httpBearerAuth"),signer:new HttpBearerAuthSigner2}],logger:config?.logger??new NoOpLogger2,protocol:config?.protocol??AwsRestJsonProtocol2,protocolSettings:config?.protocolSettings??{defaultNamespace:"com.amazonaws.bedrockruntime",errorTypeRegistries:errorTypeRegistries5,version:"2023-09-30",serviceTarget:"AmazonBedrockFrontendService"},serviceId:config?.serviceId??"Bedrock Runtime",sha256:config?.sha256??Sha256,urlParser:config?.urlParser??parseUrl2,utf8Decoder:config?.utf8Decoder??fromUtf83,utf8Encoder:config?.utf8Encoder??toUtf83}),getRuntimeConfig9=config=>{emitWarningIfUnsupportedVersion3(process.version);let defaultsMode=resolveDefaultsModeConfig2(config),defaultConfigProvider=()=>defaultsMode().then(loadConfigsForDefaultMode2),clientSharedValues=getRuntimeConfig$1(config);emitWarningIfUnsupportedVersion$1(process.version);let loaderConfig={profile:config?.profile,logger:clientSharedValues.logger,signingName:"bedrock"};return{...clientSharedValues,...config,runtime:"node",defaultsMode,authSchemePreference:config?.authSchemePreference??loadConfig2(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS2,loaderConfig),bodyLengthChecker:config?.bodyLengthChecker??calculateBodyLength2,credentialDefaultProvider:config?.credentialDefaultProvider??defaultProvider,defaultUserAgentProvider:config?.defaultUserAgentProvider??createDefaultUserAgentProvider2({serviceId:clientSharedValues.serviceId,clientVersion:packageInfo.version}),eventStreamPayloadHandlerProvider:config?.eventStreamPayloadHandlerProvider??eventStreamPayloadHandlerProvider,eventStreamSerdeProvider:config?.eventStreamSerdeProvider??eventStreamSerdeProvider3,httpAuthSchemes:config?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:ipc=>ipc.getIdentityProvider("aws.auth#sigv4"),signer:new AwsSdkSigV4Signer2},{schemeId:"smithy.api#httpBearerAuth",identityProvider:ipc=>ipc.getIdentityProvider("smithy.api#httpBearerAuth")||(async idProps=>{try{return await fromEnvSigningName({signingName:"bedrock"})()}catch{return await nodeProvider(idProps)(idProps)}}),signer:new HttpBearerAuthSigner2}],maxAttempts:config?.maxAttempts??loadConfig2(NODE_MAX_ATTEMPT_CONFIG_OPTIONS2,config),region:config?.region??loadConfig2(NODE_REGION_CONFIG_OPTIONS2,{...NODE_REGION_CONFIG_FILE_OPTIONS2,...loaderConfig}),requestHandler:NodeHttp2Handler.create(config?.requestHandler??(async()=>({...await defaultConfigProvider(),disableConcurrentStreams:!0}))),retryMode:config?.retryMode??loadConfig2({...NODE_RETRY_MODE_CONFIG_OPTIONS2,default:async()=>(await defaultConfigProvider()).retryMode||DEFAULT_RETRY_MODE2},config),streamCollector:config?.streamCollector??streamCollector7,useDualstackEndpoint:config?.useDualstackEndpoint??loadConfig2(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS2,loaderConfig),useFipsEndpoint:config?.useFipsEndpoint??loadConfig2(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS2,loaderConfig),userAgentAppId:config?.userAgentAppId??loadConfig2(NODE_APP_ID_CONFIG_OPTIONS2,loaderConfig)}},getHttpAuthExtensionConfiguration5=runtimeConfig=>{let _httpAuthSchemes=runtimeConfig.httpAuthSchemes,_httpAuthSchemeProvider=runtimeConfig.httpAuthSchemeProvider,_credentials=runtimeConfig.credentials,_token=runtimeConfig.token;return{setHttpAuthScheme(httpAuthScheme){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},setToken(token){_token=token},token(){return _token}}},resolveHttpAuthRuntimeConfig5=config=>({httpAuthSchemes:config.httpAuthSchemes(),httpAuthSchemeProvider:config.httpAuthSchemeProvider(),credentials:config.credentials(),token:config.token()}),resolveRuntimeExtensions5=(runtimeConfig,extensions)=>{let extensionConfiguration=Object.assign(getAwsRegionExtensionConfiguration2(runtimeConfig),getDefaultExtensionConfiguration2(runtimeConfig),getHttpHandlerExtensionConfiguration2(runtimeConfig),getHttpAuthExtensionConfiguration5(runtimeConfig));return extensions.forEach(extension=>extension.configure(extensionConfiguration)),Object.assign(runtimeConfig,resolveAwsRegionExtensionConfiguration2(extensionConfiguration),resolveDefaultRuntimeConfig2(extensionConfiguration),resolveHttpHandlerRuntimeConfig2(extensionConfiguration),resolveHttpAuthRuntimeConfig5(extensionConfiguration))},BedrockRuntimeClient2=class extends Client2{config;constructor(...[configuration]){let _config_0=getRuntimeConfig9(configuration||{});super(_config_0),this.initConfig=_config_0;let _config_1=resolveClientEndpointParameters5(_config_0),_config_2=resolveUserAgentConfig2(_config_1),_config_3=resolveRetryConfig2(_config_2),_config_4=resolveRegionConfig2(_config_3),_config_5=resolveHostHeaderConfig2(_config_4),_config_6=resolveEndpointConfig2(_config_5),_config_7=resolveEventStreamSerdeConfig2(_config_6),_config_8=resolveHttpAuthSchemeConfig5(_config_7),_config_9=resolveEventStreamConfig(_config_8),_config_10=resolveWebSocketConfig(_config_9),_config_11=resolveRuntimeExtensions5(_config_10,configuration?.extensions||[]);this.config=_config_11,this.middlewareStack.use(getSchemaSerdePlugin2(this.config)),this.middlewareStack.use(getUserAgentPlugin2(this.config)),this.middlewareStack.use(getRetryPlugin2(this.config)),this.middlewareStack.use(getContentLengthPlugin2(this.config)),this.middlewareStack.use(getHostHeaderPlugin2(this.config)),this.middlewareStack.use(getLoggerPlugin2(this.config)),this.middlewareStack.use(getRecursionDetectionPlugin2(this.config)),this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin2(this.config,{httpAuthSchemeParametersProvider:defaultBedrockRuntimeHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async config=>new DefaultIdentityProviderConfig2({"aws.auth#sigv4":config.credentials,"smithy.api#httpBearerAuth":config.token})})),this.middlewareStack.use(getHttpSigningPlugin2(this.config))}destroy(){super.destroy()}},command5=makeBuilder2(commonParams5,"AmazonBedrockFrontendService","BedrockRuntimeClient",getEndpointPlugin2),_ep05={},_mw05=(Command2,cs,config,o3)=>[],_mw1=(Command2,cs,config,o3)=>[getEventStreamPlugin(config),getWebSocketPlugin(config,{headerPrefix:"x-amz-bedrock-"})],ApplyGuardrailCommand=class extends command5(_ep05,_mw05,"ApplyGuardrail",ApplyGuardrail$){},ConverseCommand=class extends command5(_ep05,_mw05,"Converse",Converse$){},ConverseStreamCommand2=class extends command5(_ep05,_mw05,"ConverseStream",ConverseStream$){},CountTokensCommand=class extends command5(_ep05,_mw05,"CountTokens",CountTokens$){},GetAsyncInvokeCommand=class extends command5(_ep05,_mw05,"GetAsyncInvoke",GetAsyncInvoke$){},InvokeGuardrailChecksCommand=class extends command5(_ep05,_mw05,"InvokeGuardrailChecks",InvokeGuardrailChecks$){},InvokeModelCommand=class extends command5(_ep05,_mw05,"InvokeModel",InvokeModel$){},InvokeModelWithBidirectionalStreamCommand=class extends command5(_ep05,_mw1,"InvokeModelWithBidirectionalStream",InvokeModelWithBidirectionalStream$){},InvokeModelWithResponseStreamCommand=class extends command5(_ep05,_mw05,"InvokeModelWithResponseStream",InvokeModelWithResponseStream$){},ListAsyncInvokesCommand=class extends command5(_ep05,_mw05,"ListAsyncInvokes",ListAsyncInvokes$){},StartAsyncInvokeCommand=class extends command5(_ep05,_mw05,"StartAsyncInvoke",StartAsyncInvoke$){},paginateListAsyncInvokes=createPaginator2(BedrockRuntimeClient2,ListAsyncInvokesCommand,"nextToken","nextToken","maxResults"),commands5={ApplyGuardrailCommand,ConverseCommand,ConverseStreamCommand:ConverseStreamCommand2,CountTokensCommand,GetAsyncInvokeCommand,InvokeGuardrailChecksCommand,InvokeModelCommand,InvokeModelWithBidirectionalStreamCommand,InvokeModelWithResponseStreamCommand,ListAsyncInvokesCommand,StartAsyncInvokeCommand},paginators={paginateListAsyncInvokes},BedrockRuntime=class extends BedrockRuntimeClient2{};createAggregatedClient2(commands5,BedrockRuntime,{paginators});var AsyncInvokeStatus={COMPLETED:"Completed",FAILED:"Failed",IN_PROGRESS:"InProgress"},SortAsyncInvocationBy={SUBMISSION_TIME:"SubmissionTime"},SortOrder={ASCENDING:"Ascending",DESCENDING:"Descending"},GuardrailImageFormat={JPEG:"jpeg",PNG:"png"},GuardrailContentQualifier={GROUNDING_SOURCE:"grounding_source",GUARD_CONTENT:"guard_content",QUERY:"query"},GuardrailOutputScope={FULL:"FULL",INTERVENTIONS:"INTERVENTIONS"},GuardrailContentSource={INPUT:"INPUT",OUTPUT:"OUTPUT"},GuardrailAction={GUARDRAIL_INTERVENED:"GUARDRAIL_INTERVENED",NONE:"NONE"},GuardrailOrigin={ACCOUNT_ENFORCED:"ACCOUNT_ENFORCED",ORGANIZATION_ENFORCED:"ORGANIZATION_ENFORCED",REQUEST:"REQUEST"},GuardrailOwnership={CROSS_ACCOUNT:"CROSS_ACCOUNT",SELF:"SELF"},GuardrailAutomatedReasoningLogicWarningType={ALWAYS_FALSE:"ALWAYS_FALSE",ALWAYS_TRUE:"ALWAYS_TRUE"},GuardrailContentPolicyAction={BLOCKED:"BLOCKED",NONE:"NONE"},GuardrailContentFilterConfidence={HIGH:"HIGH",LOW:"LOW",MEDIUM:"MEDIUM",NONE:"NONE"},GuardrailContentFilterStrength={HIGH:"HIGH",LOW:"LOW",MEDIUM:"MEDIUM",NONE:"NONE"},GuardrailContentFilterType={HATE:"HATE",INSULTS:"INSULTS",MISCONDUCT:"MISCONDUCT",PROMPT_ATTACK:"PROMPT_ATTACK",SEXUAL:"SEXUAL",VIOLENCE:"VIOLENCE"},GuardrailContextualGroundingPolicyAction={BLOCKED:"BLOCKED",NONE:"NONE"},GuardrailContextualGroundingFilterType={GROUNDING:"GROUNDING",RELEVANCE:"RELEVANCE"},GuardrailSensitiveInformationPolicyAction={ANONYMIZED:"ANONYMIZED",BLOCKED:"BLOCKED",NONE:"NONE"},GuardrailPiiEntityType={ADDRESS:"ADDRESS",AGE:"AGE",AWS_ACCESS_KEY:"AWS_ACCESS_KEY",AWS_SECRET_KEY:"AWS_SECRET_KEY",CA_HEALTH_NUMBER:"CA_HEALTH_NUMBER",CA_SOCIAL_INSURANCE_NUMBER:"CA_SOCIAL_INSURANCE_NUMBER",CREDIT_DEBIT_CARD_CVV:"CREDIT_DEBIT_CARD_CVV",CREDIT_DEBIT_CARD_EXPIRY:"CREDIT_DEBIT_CARD_EXPIRY",CREDIT_DEBIT_CARD_NUMBER:"CREDIT_DEBIT_CARD_NUMBER",DRIVER_ID:"DRIVER_ID",EMAIL:"EMAIL",INTERNATIONAL_BANK_ACCOUNT_NUMBER:"INTERNATIONAL_BANK_ACCOUNT_NUMBER",IP_ADDRESS:"IP_ADDRESS",LICENSE_PLATE:"LICENSE_PLATE",MAC_ADDRESS:"MAC_ADDRESS",NAME:"NAME",PASSWORD:"PASSWORD",PHONE:"PHONE",PIN:"PIN",SWIFT_CODE:"SWIFT_CODE",UK_NATIONAL_HEALTH_SERVICE_NUMBER:"UK_NATIONAL_HEALTH_SERVICE_NUMBER",UK_NATIONAL_INSURANCE_NUMBER:"UK_NATIONAL_INSURANCE_NUMBER",UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER:"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",URL:"URL",USERNAME:"USERNAME",US_BANK_ACCOUNT_NUMBER:"US_BANK_ACCOUNT_NUMBER",US_BANK_ROUTING_NUMBER:"US_BANK_ROUTING_NUMBER",US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER:"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",US_PASSPORT_NUMBER:"US_PASSPORT_NUMBER",US_SOCIAL_SECURITY_NUMBER:"US_SOCIAL_SECURITY_NUMBER",VEHICLE_IDENTIFICATION_NUMBER:"VEHICLE_IDENTIFICATION_NUMBER"},GuardrailTopicPolicyAction={BLOCKED:"BLOCKED",NONE:"NONE"},GuardrailTopicType={DENY:"DENY"},GuardrailWordPolicyAction={BLOCKED:"BLOCKED",NONE:"NONE"},GuardrailManagedWordType={PROFANITY:"PROFANITY"},GuardrailChecksContentFilterCategory={HATE:"HATE",INSULTS:"INSULTS",MISCONDUCT:"MISCONDUCT",SEXUAL:"SEXUAL",VIOLENCE:"VIOLENCE"},GuardrailChecksPromptAttackCategory={JAILBREAK:"JAILBREAK",PROMPT_INJECTION:"PROMPT_INJECTION",PROMPT_LEAKAGE:"PROMPT_LEAKAGE"},GuardrailChecksSensitiveInformationEntityType={ADDRESS:"ADDRESS",AGE:"AGE",AWS_ACCESS_KEY:"AWS_ACCESS_KEY",AWS_SECRET_KEY:"AWS_SECRET_KEY",CA_HEALTH_NUMBER:"CA_HEALTH_NUMBER",CA_SOCIAL_INSURANCE_NUMBER:"CA_SOCIAL_INSURANCE_NUMBER",CREDIT_DEBIT_CARD_CVV:"CREDIT_DEBIT_CARD_CVV",CREDIT_DEBIT_CARD_EXPIRY:"CREDIT_DEBIT_CARD_EXPIRY",CREDIT_DEBIT_CARD_NUMBER:"CREDIT_DEBIT_CARD_NUMBER",DRIVER_ID:"DRIVER_ID",EMAIL:"EMAIL",INTERNATIONAL_BANK_ACCOUNT_NUMBER:"INTERNATIONAL_BANK_ACCOUNT_NUMBER",IP_ADDRESS:"IP_ADDRESS",LICENSE_PLATE:"LICENSE_PLATE",MAC_ADDRESS:"MAC_ADDRESS",NAME:"NAME",PASSWORD:"PASSWORD",PHONE:"PHONE",PIN:"PIN",SWIFT_CODE:"SWIFT_CODE",UK_NATIONAL_HEALTH_SERVICE_NUMBER:"UK_NATIONAL_HEALTH_SERVICE_NUMBER",UK_NATIONAL_INSURANCE_NUMBER:"UK_NATIONAL_INSURANCE_NUMBER",UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER:"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",URL:"URL",USERNAME:"USERNAME",US_BANK_ACCOUNT_NUMBER:"US_BANK_ACCOUNT_NUMBER",US_BANK_ROUTING_NUMBER:"US_BANK_ROUTING_NUMBER",US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER:"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",US_PASSPORT_NUMBER:"US_PASSPORT_NUMBER",US_SOCIAL_SECURITY_NUMBER:"US_SOCIAL_SECURITY_NUMBER",VEHICLE_IDENTIFICATION_NUMBER:"VEHICLE_IDENTIFICATION_NUMBER"},GuardrailChecksRole={ASSISTANT:"assistant",SYSTEM:"system",USER:"user"},GuardrailTrace={DISABLED:"disabled",ENABLED:"enabled",ENABLED_FULL:"enabled_full"},AudioFormat={AAC:"aac",FLAC:"flac",M4A:"m4a",MKA:"mka",MKV:"mkv",MP3:"mp3",MP4:"mp4",MPEG:"mpeg",MPGA:"mpga",OGG:"ogg",OPUS:"opus",PCM:"pcm",WAV:"wav",WEBM:"webm",X_AAC:"x-aac"},CacheTTL2={FIVE_MINUTES:"5m",ONE_HOUR:"1h"},CachePointType2={DEFAULT:"default"},DocumentFormat={CSV:"csv",DOC:"doc",DOCX:"docx",HTML:"html",MD:"md",PDF:"pdf",TXT:"txt",XLS:"xls",XLSX:"xlsx"},GuardrailConverseImageFormat={JPEG:"jpeg",PNG:"png"},GuardrailConverseContentQualifier={GROUNDING_SOURCE:"grounding_source",GUARD_CONTENT:"guard_content",QUERY:"query"},ImageFormat2={GIF:"gif",JPEG:"jpeg",PNG:"png",WEBP:"webp"},VideoFormat={FLV:"flv",MKV:"mkv",MOV:"mov",MP4:"mp4",MPEG:"mpeg",MPG:"mpg",THREE_GP:"three_gp",WEBM:"webm",WMV:"wmv"},ToolResultStatus2={ERROR:"error",SUCCESS:"success"},ToolUseType={SERVER_TOOL_USE:"server_tool_use"},ConversationRole2={ASSISTANT:"assistant",SYSTEM:"system",USER:"user"},OutputFormatType={JSON_SCHEMA:"json_schema"},PerformanceConfigLatency={OPTIMIZED:"optimized",STANDARD:"standard"},ServiceTierType={DEFAULT:"default",FLEX:"flex",PRIORITY:"priority",RESERVED:"reserved"},StopReason={CONTENT_FILTERED:"content_filtered",END_TURN:"end_turn",GUARDRAIL_INTERVENED:"guardrail_intervened",MALFORMED_MODEL_OUTPUT:"malformed_model_output",MALFORMED_TOOL_USE:"malformed_tool_use",MAX_TOKENS:"max_tokens",MODEL_CONTEXT_WINDOW_EXCEEDED:"model_context_window_exceeded",STOP_SEQUENCE:"stop_sequence",TOOL_USE:"tool_use"},GuardrailStreamProcessingMode={ASYNC:"async",SYNC:"sync"},Trace={DISABLED:"DISABLED",ENABLED:"ENABLED",ENABLED_FULL:"ENABLED_FULL"};exports.AccessDeniedException=AccessDeniedException3;exports.AccessDeniedException$=AccessDeniedException$3;exports.AnyToolChoice$=AnyToolChoice$;exports.AppliedGuardrailDetails$=AppliedGuardrailDetails$;exports.ApplyGuardrail$=ApplyGuardrail$;exports.ApplyGuardrailCommand=ApplyGuardrailCommand;exports.ApplyGuardrailRequest$=ApplyGuardrailRequest$;exports.ApplyGuardrailResponse$=ApplyGuardrailResponse$;exports.AsyncInvokeOutputDataConfig$=AsyncInvokeOutputDataConfig$;exports.AsyncInvokeS3OutputDataConfig$=AsyncInvokeS3OutputDataConfig$;exports.AsyncInvokeStatus=AsyncInvokeStatus;exports.AsyncInvokeSummary$=AsyncInvokeSummary$;exports.AudioBlock$=AudioBlock$;exports.AudioFormat=AudioFormat;exports.AudioSource$=AudioSource$;exports.AutoToolChoice$=AutoToolChoice$;exports.BedrockRuntime=BedrockRuntime;exports.BedrockRuntimeClient=BedrockRuntimeClient2;exports.BedrockRuntimeServiceException=BedrockRuntimeServiceException2;exports.BedrockRuntimeServiceException$=BedrockRuntimeServiceException$;exports.BidirectionalInputPayloadPart$=BidirectionalInputPayloadPart$;exports.BidirectionalOutputPayloadPart$=BidirectionalOutputPayloadPart$;exports.CacheDetail$=CacheDetail$;exports.CachePointBlock$=CachePointBlock$;exports.CachePointType=CachePointType2;exports.CacheTTL=CacheTTL2;exports.Citation$=Citation$;exports.CitationGeneratedContent$=CitationGeneratedContent$;exports.CitationLocation$=CitationLocation$;exports.CitationSourceContent$=CitationSourceContent$;exports.CitationSourceContentDelta$=CitationSourceContentDelta$;exports.CitationsConfig$=CitationsConfig$;exports.CitationsContentBlock$=CitationsContentBlock$;exports.CitationsDelta$=CitationsDelta$;exports.ConflictException=ConflictException;exports.ConflictException$=ConflictException$;exports.ContentBlock$=ContentBlock$;exports.ContentBlockDelta$=ContentBlockDelta$;exports.ContentBlockDeltaEvent$=ContentBlockDeltaEvent$;exports.ContentBlockStart$=ContentBlockStart$;exports.ContentBlockStartEvent$=ContentBlockStartEvent$;exports.ContentBlockStopEvent$=ContentBlockStopEvent$;exports.ConversationRole=ConversationRole2;exports.Converse$=Converse$;exports.ConverseCommand=ConverseCommand;exports.ConverseMetrics$=ConverseMetrics$;exports.ConverseOutput$=ConverseOutput$;exports.ConverseRequest$=ConverseRequest$;exports.ConverseResponse$=ConverseResponse$;exports.ConverseStream$=ConverseStream$;exports.ConverseStreamCommand=ConverseStreamCommand2;exports.ConverseStreamMetadataEvent$=ConverseStreamMetadataEvent$;exports.ConverseStreamMetrics$=ConverseStreamMetrics$;exports.ConverseStreamOutput$=ConverseStreamOutput$;exports.ConverseStreamRequest$=ConverseStreamRequest$;exports.ConverseStreamResponse$=ConverseStreamResponse$;exports.ConverseStreamTrace$=ConverseStreamTrace$;exports.ConverseTokensRequest$=ConverseTokensRequest$;exports.ConverseTrace$=ConverseTrace$;exports.CountTokens$=CountTokens$;exports.CountTokensCommand=CountTokensCommand;exports.CountTokensInput$=CountTokensInput$;exports.CountTokensRequest$=CountTokensRequest$;exports.CountTokensResponse$=CountTokensResponse$;exports.DocumentBlock$=DocumentBlock$;exports.DocumentCharLocation$=DocumentCharLocation$;exports.DocumentChunkLocation$=DocumentChunkLocation$;exports.DocumentContentBlock$=DocumentContentBlock$;exports.DocumentFormat=DocumentFormat;exports.DocumentPageLocation$=DocumentPageLocation$;exports.DocumentSource$=DocumentSource$;exports.ErrorBlock$=ErrorBlock$;exports.GetAsyncInvoke$=GetAsyncInvoke$;exports.GetAsyncInvokeCommand=GetAsyncInvokeCommand;exports.GetAsyncInvokeRequest$=GetAsyncInvokeRequest$;exports.GetAsyncInvokeResponse$=GetAsyncInvokeResponse$;exports.GuardrailAction=GuardrailAction;exports.GuardrailAssessment$=GuardrailAssessment$;exports.GuardrailAutomatedReasoningFinding$=GuardrailAutomatedReasoningFinding$;exports.GuardrailAutomatedReasoningImpossibleFinding$=GuardrailAutomatedReasoningImpossibleFinding$;exports.GuardrailAutomatedReasoningInputTextReference$=GuardrailAutomatedReasoningInputTextReference$;exports.GuardrailAutomatedReasoningInvalidFinding$=GuardrailAutomatedReasoningInvalidFinding$;exports.GuardrailAutomatedReasoningLogicWarning$=GuardrailAutomatedReasoningLogicWarning$;exports.GuardrailAutomatedReasoningLogicWarningType=GuardrailAutomatedReasoningLogicWarningType;exports.GuardrailAutomatedReasoningNoTranslationsFinding$=GuardrailAutomatedReasoningNoTranslationsFinding$;exports.GuardrailAutomatedReasoningPolicyAssessment$=GuardrailAutomatedReasoningPolicyAssessment$;exports.GuardrailAutomatedReasoningRule$=GuardrailAutomatedReasoningRule$;exports.GuardrailAutomatedReasoningSatisfiableFinding$=GuardrailAutomatedReasoningSatisfiableFinding$;exports.GuardrailAutomatedReasoningScenario$=GuardrailAutomatedReasoningScenario$;exports.GuardrailAutomatedReasoningStatement$=GuardrailAutomatedReasoningStatement$;exports.GuardrailAutomatedReasoningTooComplexFinding$=GuardrailAutomatedReasoningTooComplexFinding$;exports.GuardrailAutomatedReasoningTranslation$=GuardrailAutomatedReasoningTranslation$;exports.GuardrailAutomatedReasoningTranslationAmbiguousFinding$=GuardrailAutomatedReasoningTranslationAmbiguousFinding$;exports.GuardrailAutomatedReasoningTranslationOption$=GuardrailAutomatedReasoningTranslationOption$;exports.GuardrailAutomatedReasoningValidFinding$=GuardrailAutomatedReasoningValidFinding$;exports.GuardrailChecksConfig$=GuardrailChecksConfig$;exports.GuardrailChecksContentBlock$=GuardrailChecksContentBlock$;exports.GuardrailChecksContentFilterCategory=GuardrailChecksContentFilterCategory;exports.GuardrailChecksContentFilterCategoryConfig$=GuardrailChecksContentFilterCategoryConfig$;exports.GuardrailChecksContentFilterConfig$=GuardrailChecksContentFilterConfig$;exports.GuardrailChecksContentFilterResult$=GuardrailChecksContentFilterResult$;exports.GuardrailChecksContentFilterResultEntry$=GuardrailChecksContentFilterResultEntry$;exports.GuardrailChecksContentFilterUsage$=GuardrailChecksContentFilterUsage$;exports.GuardrailChecksMessage$=GuardrailChecksMessage$;exports.GuardrailChecksPromptAttackCategory=GuardrailChecksPromptAttackCategory;exports.GuardrailChecksPromptAttackCategoryConfig$=GuardrailChecksPromptAttackCategoryConfig$;exports.GuardrailChecksPromptAttackConfig$=GuardrailChecksPromptAttackConfig$;exports.GuardrailChecksPromptAttackResult$=GuardrailChecksPromptAttackResult$;exports.GuardrailChecksPromptAttackResultEntry$=GuardrailChecksPromptAttackResultEntry$;exports.GuardrailChecksPromptAttackUsage$=GuardrailChecksPromptAttackUsage$;exports.GuardrailChecksResults$=GuardrailChecksResults$;exports.GuardrailChecksRole=GuardrailChecksRole;exports.GuardrailChecksSensitiveInformationConfig$=GuardrailChecksSensitiveInformationConfig$;exports.GuardrailChecksSensitiveInformationEntityConfig$=GuardrailChecksSensitiveInformationEntityConfig$;exports.GuardrailChecksSensitiveInformationEntityType=GuardrailChecksSensitiveInformationEntityType;exports.GuardrailChecksSensitiveInformationResult$=GuardrailChecksSensitiveInformationResult$;exports.GuardrailChecksSensitiveInformationResultEntry$=GuardrailChecksSensitiveInformationResultEntry$;exports.GuardrailChecksSensitiveInformationUsage$=GuardrailChecksSensitiveInformationUsage$;exports.GuardrailChecksUsageResults$=GuardrailChecksUsageResults$;exports.GuardrailConfiguration$=GuardrailConfiguration$;exports.GuardrailContentBlock$=GuardrailContentBlock$;exports.GuardrailContentFilter$=GuardrailContentFilter$;exports.GuardrailContentFilterConfidence=GuardrailContentFilterConfidence;exports.GuardrailContentFilterStrength=GuardrailContentFilterStrength;exports.GuardrailContentFilterType=GuardrailContentFilterType;exports.GuardrailContentPolicyAction=GuardrailContentPolicyAction;exports.GuardrailContentPolicyAssessment$=GuardrailContentPolicyAssessment$;exports.GuardrailContentQualifier=GuardrailContentQualifier;exports.GuardrailContentSource=GuardrailContentSource;exports.GuardrailContextualGroundingFilter$=GuardrailContextualGroundingFilter$;exports.GuardrailContextualGroundingFilterType=GuardrailContextualGroundingFilterType;exports.GuardrailContextualGroundingPolicyAction=GuardrailContextualGroundingPolicyAction;exports.GuardrailContextualGroundingPolicyAssessment$=GuardrailContextualGroundingPolicyAssessment$;exports.GuardrailConverseContentBlock$=GuardrailConverseContentBlock$;exports.GuardrailConverseContentQualifier=GuardrailConverseContentQualifier;exports.GuardrailConverseImageBlock$=GuardrailConverseImageBlock$;exports.GuardrailConverseImageFormat=GuardrailConverseImageFormat;exports.GuardrailConverseImageSource$=GuardrailConverseImageSource$;exports.GuardrailConverseTextBlock$=GuardrailConverseTextBlock$;exports.GuardrailCoverage$=GuardrailCoverage$;exports.GuardrailCustomWord$=GuardrailCustomWord$;exports.GuardrailImageBlock$=GuardrailImageBlock$;exports.GuardrailImageCoverage$=GuardrailImageCoverage$;exports.GuardrailImageFormat=GuardrailImageFormat;exports.GuardrailImageSource$=GuardrailImageSource$;exports.GuardrailInvocationMetrics$=GuardrailInvocationMetrics$;exports.GuardrailManagedWord$=GuardrailManagedWord$;exports.GuardrailManagedWordType=GuardrailManagedWordType;exports.GuardrailOrigin=GuardrailOrigin;exports.GuardrailOutputContent$=GuardrailOutputContent$;exports.GuardrailOutputScope=GuardrailOutputScope;exports.GuardrailOwnership=GuardrailOwnership;exports.GuardrailPiiEntityFilter$=GuardrailPiiEntityFilter$;exports.GuardrailPiiEntityType=GuardrailPiiEntityType;exports.GuardrailRegexFilter$=GuardrailRegexFilter$;exports.GuardrailSensitiveInformationPolicyAction=GuardrailSensitiveInformationPolicyAction;exports.GuardrailSensitiveInformationPolicyAssessment$=GuardrailSensitiveInformationPolicyAssessment$;exports.GuardrailStreamConfiguration$=GuardrailStreamConfiguration$;exports.GuardrailStreamProcessingMode=GuardrailStreamProcessingMode;exports.GuardrailTextBlock$=GuardrailTextBlock$;exports.GuardrailTextCharactersCoverage$=GuardrailTextCharactersCoverage$;exports.GuardrailTopic$=GuardrailTopic$;exports.GuardrailTopicPolicyAction=GuardrailTopicPolicyAction;exports.GuardrailTopicPolicyAssessment$=GuardrailTopicPolicyAssessment$;exports.GuardrailTopicType=GuardrailTopicType;exports.GuardrailTrace=GuardrailTrace;exports.GuardrailTraceAssessment$=GuardrailTraceAssessment$;exports.GuardrailUsage$=GuardrailUsage$;exports.GuardrailWordPolicyAction=GuardrailWordPolicyAction;exports.GuardrailWordPolicyAssessment$=GuardrailWordPolicyAssessment$;exports.ImageBlock$=ImageBlock$;exports.ImageBlockDelta$=ImageBlockDelta$;exports.ImageBlockStart$=ImageBlockStart$;exports.ImageFormat=ImageFormat2;exports.ImageSource$=ImageSource$;exports.InferenceConfiguration$=InferenceConfiguration$;exports.InternalServerException=InternalServerException3;exports.InternalServerException$=InternalServerException$3;exports.InvokeGuardrailChecks$=InvokeGuardrailChecks$;exports.InvokeGuardrailChecksCommand=InvokeGuardrailChecksCommand;exports.InvokeGuardrailChecksRequest$=InvokeGuardrailChecksRequest$;exports.InvokeGuardrailChecksResponse$=InvokeGuardrailChecksResponse$;exports.InvokeModel$=InvokeModel$;exports.InvokeModelCommand=InvokeModelCommand;exports.InvokeModelRequest$=InvokeModelRequest$;exports.InvokeModelResponse$=InvokeModelResponse$;exports.InvokeModelTokensRequest$=InvokeModelTokensRequest$;exports.InvokeModelWithBidirectionalStream$=InvokeModelWithBidirectionalStream$;exports.InvokeModelWithBidirectionalStreamCommand=InvokeModelWithBidirectionalStreamCommand;exports.InvokeModelWithBidirectionalStreamInput$=InvokeModelWithBidirectionalStreamInput$;exports.InvokeModelWithBidirectionalStreamOutput$=InvokeModelWithBidirectionalStreamOutput$;exports.InvokeModelWithBidirectionalStreamRequest$=InvokeModelWithBidirectionalStreamRequest$;exports.InvokeModelWithBidirectionalStreamResponse$=InvokeModelWithBidirectionalStreamResponse$;exports.InvokeModelWithResponseStream$=InvokeModelWithResponseStream$;exports.InvokeModelWithResponseStreamCommand=InvokeModelWithResponseStreamCommand;exports.InvokeModelWithResponseStreamRequest$=InvokeModelWithResponseStreamRequest$;exports.InvokeModelWithResponseStreamResponse$=InvokeModelWithResponseStreamResponse$;exports.JsonSchemaDefinition$=JsonSchemaDefinition$;exports.ListAsyncInvokes$=ListAsyncInvokes$;exports.ListAsyncInvokesCommand=ListAsyncInvokesCommand;exports.ListAsyncInvokesRequest$=ListAsyncInvokesRequest$;exports.ListAsyncInvokesResponse$=ListAsyncInvokesResponse$;exports.Message$=Message$;exports.MessageStartEvent$=MessageStartEvent$;exports.MessageStopEvent$=MessageStopEvent$;exports.ModelErrorException=ModelErrorException;exports.ModelErrorException$=ModelErrorException$;exports.ModelNotReadyException=ModelNotReadyException;exports.ModelNotReadyException$=ModelNotReadyException$;exports.ModelStreamErrorException=ModelStreamErrorException;exports.ModelStreamErrorException$=ModelStreamErrorException$;exports.ModelTimeoutException=ModelTimeoutException;exports.ModelTimeoutException$=ModelTimeoutException$;exports.OutputConfig$=OutputConfig$;exports.OutputFormat$=OutputFormat$;exports.OutputFormatStructure$=OutputFormatStructure$;exports.OutputFormatType=OutputFormatType;exports.PayloadPart$=PayloadPart$;exports.PerformanceConfigLatency=PerformanceConfigLatency;exports.PerformanceConfiguration$=PerformanceConfiguration$;exports.PromptRouterTrace$=PromptRouterTrace$;exports.PromptVariableValues$=PromptVariableValues$;exports.ReasoningContentBlock$=ReasoningContentBlock$;exports.ReasoningContentBlockDelta$=ReasoningContentBlockDelta$;exports.ReasoningTextBlock$=ReasoningTextBlock$;exports.ResourceNotFoundException=ResourceNotFoundException2;exports.ResourceNotFoundException$=ResourceNotFoundException$2;exports.ResponseStream$=ResponseStream$;exports.S3Location$=S3Location$;exports.SearchResultBlock$=SearchResultBlock$;exports.SearchResultContentBlock$=SearchResultContentBlock$;exports.SearchResultLocation$=SearchResultLocation$;exports.ServiceQuotaExceededException=ServiceQuotaExceededException;exports.ServiceQuotaExceededException$=ServiceQuotaExceededException$;exports.ServiceTier$=ServiceTier$;exports.ServiceTierType=ServiceTierType;exports.ServiceUnavailableException=ServiceUnavailableException;exports.ServiceUnavailableException$=ServiceUnavailableException$;exports.SortAsyncInvocationBy=SortAsyncInvocationBy;exports.SortOrder=SortOrder;exports.SpecificToolChoice$=SpecificToolChoice$;exports.StartAsyncInvoke$=StartAsyncInvoke$;exports.StartAsyncInvokeCommand=StartAsyncInvokeCommand;exports.StartAsyncInvokeRequest$=StartAsyncInvokeRequest$;exports.StartAsyncInvokeResponse$=StartAsyncInvokeResponse$;exports.StopReason=StopReason;exports.SystemContentBlock$=SystemContentBlock$;exports.SystemTool$=SystemTool$;exports.Tag$=Tag$2;exports.ThrottlingException=ThrottlingException;exports.ThrottlingException$=ThrottlingException$;exports.TokenUsage$=TokenUsage$;exports.Tool$=Tool$;exports.ToolAdditionBlock$=ToolAdditionBlock$;exports.ToolChoice$=ToolChoice$;exports.ToolConfiguration$=ToolConfiguration$;exports.ToolInputSchema$=ToolInputSchema$;exports.ToolReference$=ToolReference$;exports.ToolRemovalBlock$=ToolRemovalBlock$;exports.ToolResultBlock$=ToolResultBlock$;exports.ToolResultBlockDelta$=ToolResultBlockDelta$;exports.ToolResultBlockStart$=ToolResultBlockStart$;exports.ToolResultContentBlock$=ToolResultContentBlock$;exports.ToolResultStatus=ToolResultStatus2;exports.ToolSpecification$=ToolSpecification$;exports.ToolUseBlock$=ToolUseBlock$;exports.ToolUseBlockDelta$=ToolUseBlockDelta$;exports.ToolUseBlockStart$=ToolUseBlockStart$;exports.ToolUseType=ToolUseType;exports.Trace=Trace;exports.ValidationException=ValidationException2;exports.ValidationException$=ValidationException$2;exports.VideoBlock$=VideoBlock$;exports.VideoFormat=VideoFormat;exports.VideoSource$=VideoSource$;exports.WebLocation$=WebLocation$;exports.errorTypeRegistries=errorTypeRegistries5;exports.paginateListAsyncInvokes=paginateListAsyncInvokes}});var require_ms=__commonJS({"node_modules/ms/index.js"(exports,module){var s2=1e3,m3=s2*60,h5=m3*60,d5=h5*24,w=d5*7,y=d5*365.25;module.exports=function(val,options){options=options||{};var type=typeof val;if(type==="string"&&val.length>0)return parse2(val);if(type==="number"&&isFinite(val))return options.long?fmtLong(val):fmtShort(val);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(val))};function parse2(str){if(str=String(str),!(str.length>100)){var match=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str);if(match){var n3=parseFloat(match[1]),type=(match[2]||"ms").toLowerCase();switch(type){case"years":case"year":case"yrs":case"yr":case"y":return n3*y;case"weeks":case"week":case"w":return n3*w;case"days":case"day":case"d":return n3*d5;case"hours":case"hour":case"hrs":case"hr":case"h":return n3*h5;case"minutes":case"minute":case"mins":case"min":case"m":return n3*m3;case"seconds":case"second":case"secs":case"sec":case"s":return n3*s2;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n3;default:return}}}}function fmtShort(ms){var msAbs=Math.abs(ms);return msAbs>=d5?Math.round(ms/d5)+"d":msAbs>=h5?Math.round(ms/h5)+"h":msAbs>=m3?Math.round(ms/m3)+"m":msAbs>=s2?Math.round(ms/s2)+"s":ms+"ms"}function fmtLong(ms){var msAbs=Math.abs(ms);return msAbs>=d5?plural(ms,msAbs,d5,"day"):msAbs>=h5?plural(ms,msAbs,h5,"hour"):msAbs>=m3?plural(ms,msAbs,m3,"minute"):msAbs>=s2?plural(ms,msAbs,s2,"second"):ms+" ms"}function plural(ms,msAbs,n3,name){var isPlural=msAbs>=n3*1.5;return Math.round(ms/n3)+" "+name+(isPlural?"s":"")}}});var require_common=__commonJS({"node_modules/debug/src/common.js"(exports,module){function setup(env2){createDebug4.debug=createDebug4,createDebug4.default=createDebug4,createDebug4.coerce=coerce,createDebug4.disable=disable,createDebug4.enable=enable,createDebug4.enabled=enabled,createDebug4.humanize=require_ms(),createDebug4.destroy=destroy,Object.keys(env2).forEach(key=>{createDebug4[key]=env2[key]}),createDebug4.names=[],createDebug4.skips=[],createDebug4.formatters={};function selectColor(namespace){let hash=0;for(let i5=0;i5<namespace.length;i5++)hash=(hash<<5)-hash+namespace.charCodeAt(i5),hash|=0;return createDebug4.colors[Math.abs(hash)%createDebug4.colors.length]}createDebug4.selectColor=selectColor;function createDebug4(namespace){let prevTime,enableOverride=null,namespacesCache,enabledCache;function debug4(...args){if(!debug4.enabled)return;let self=debug4,curr=Number(new Date),ms=curr-(prevTime||curr);self.diff=ms,self.prev=prevTime,self.curr=curr,prevTime=curr,args[0]=createDebug4.coerce(args[0]),typeof args[0]!="string"&&args.unshift("%O");let index=0;args[0]=args[0].replace(/%([a-zA-Z%])/g,(match,format2)=>{if(match==="%%")return"%";index++;let formatter=createDebug4.formatters[format2];if(typeof formatter=="function"){let val=args[index];match=formatter.call(self,val),args.splice(index,1),index--}return match}),createDebug4.formatArgs.call(self,args),(self.log||createDebug4.log).apply(self,args)}return debug4.namespace=namespace,debug4.useColors=createDebug4.useColors(),debug4.color=createDebug4.selectColor(namespace),debug4.extend=extend,debug4.destroy=createDebug4.destroy,Object.defineProperty(debug4,"enabled",{enumerable:!0,configurable:!1,get:()=>enableOverride!==null?enableOverride:(namespacesCache!==createDebug4.namespaces&&(namespacesCache=createDebug4.namespaces,enabledCache=createDebug4.enabled(namespace)),enabledCache),set:v=>{enableOverride=v}}),typeof createDebug4.init=="function"&&createDebug4.init(debug4),debug4}function extend(namespace,delimiter){let newDebug=createDebug4(this.namespace+(typeof delimiter>"u"?":":delimiter)+namespace);return newDebug.log=this.log,newDebug}function enable(namespaces){createDebug4.save(namespaces),createDebug4.namespaces=namespaces,createDebug4.names=[],createDebug4.skips=[];let split2=(typeof namespaces=="string"?namespaces:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let ns of split2)ns[0]==="-"?createDebug4.skips.push(ns.slice(1)):createDebug4.names.push(ns)}function matchesTemplate(search,template){let searchIndex=0,templateIndex=0,starIndex=-1,matchIndex=0;for(;searchIndex<search.length;)if(templateIndex<template.length&&(template[templateIndex]===search[searchIndex]||template[templateIndex]==="*"))template[templateIndex]==="*"?(starIndex=templateIndex,matchIndex=searchIndex,templateIndex++):(searchIndex++,templateIndex++);else if(starIndex!==-1)templateIndex=starIndex+1,matchIndex++,searchIndex=matchIndex;else return!1;for(;templateIndex<template.length&&template[templateIndex]==="*";)templateIndex++;return templateIndex===template.length}function disable(){let namespaces=[...createDebug4.names,...createDebug4.skips.map(namespace=>"-"+namespace)].join(",");return createDebug4.enable(""),namespaces}function enabled(name){for(let skip of createDebug4.skips)if(matchesTemplate(name,skip))return!1;for(let ns of createDebug4.names)if(matchesTemplate(name,ns))return!0;return!1}function coerce(val){return val instanceof Error?val.stack||val.message:val}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return createDebug4.enable(createDebug4.load()),createDebug4}module.exports=setup}});var require_browser=__commonJS({"node_modules/debug/src/browser.js"(exports,module){exports.formatArgs=formatArgs;exports.save=save;exports.load=load;exports.useColors=useColors;exports.storage=localstorage();exports.destroy=(()=>{let warned2=!1;return()=>{warned2||(warned2=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();exports.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let m3;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(m3=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(m3[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(args){if(args[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+args[0]+(this.useColors?"%c ":" ")+"+"+module.exports.humanize(this.diff),!this.useColors)return;let c5="color: "+this.color;args.splice(1,0,c5,"color: inherit");let index=0,lastC=0;args[0].replace(/%[a-zA-Z%]/g,match=>{match!=="%%"&&(index++,match==="%c"&&(lastC=index))}),args.splice(lastC,0,c5)}exports.log=console.debug||console.log||(()=>{});function save(namespaces){try{namespaces?exports.storage.setItem("debug",namespaces):exports.storage.removeItem("debug")}catch{}}function load(){let r5;try{r5=exports.storage.getItem("debug")||exports.storage.getItem("DEBUG")}catch{}return!r5&&typeof process<"u"&&"env"in process&&(r5=process.env.DEBUG),r5}function localstorage(){try{return localStorage}catch{}}module.exports=require_common()(exports);var{formatters}=module.exports;formatters.j=function(v){try{return JSON.stringify(v)}catch(error2){return"[UnexpectedJSONParseError]: "+error2.message}}}});var require_has_flag=__commonJS({"../../../../node_modules/has-flag/index.js"(exports,module){"use strict";module.exports=(flag,argv=process.argv)=>{let prefix=flag.startsWith("-")?"":flag.length===1?"-":"--",position=argv.indexOf(prefix+flag),terminatorPosition=argv.indexOf("--");return position!==-1&&(terminatorPosition===-1||position<terminatorPosition)}}});var require_supports_color=__commonJS({"../../../../node_modules/supports-color/index.js"(exports,module){"use strict";var os=__require("os"),tty=__require("tty"),hasFlag=require_has_flag(),{env:env2}=process,forceColor;hasFlag("no-color")||hasFlag("no-colors")||hasFlag("color=false")||hasFlag("color=never")?forceColor=0:(hasFlag("color")||hasFlag("colors")||hasFlag("color=true")||hasFlag("color=always"))&&(forceColor=1);"FORCE_COLOR"in env2&&(env2.FORCE_COLOR==="true"?forceColor=1:env2.FORCE_COLOR==="false"?forceColor=0:forceColor=env2.FORCE_COLOR.length===0?1:Math.min(parseInt(env2.FORCE_COLOR,10),3));function translateLevel(level){return level===0?!1:{level,hasBasic:!0,has256:level>=2,has16m:level>=3}}function supportsColor(haveStream,streamIsTTY){if(forceColor===0)return 0;if(hasFlag("color=16m")||hasFlag("color=full")||hasFlag("color=truecolor"))return 3;if(hasFlag("color=256"))return 2;if(haveStream&&!streamIsTTY&&forceColor===void 0)return 0;let min=forceColor||0;if(env2.TERM==="dumb")return min;if(process.platform==="win32"){let osRelease=os.release().split(".");return Number(osRelease[0])>=10&&Number(osRelease[2])>=10586?Number(osRelease[2])>=14931?3:2:1}if("CI"in env2)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(sign2=>sign2 in env2)||env2.CI_NAME==="codeship"?1:min;if("TEAMCITY_VERSION"in env2)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION)?1:0;if(env2.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in env2){let version=parseInt((env2.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(env2.TERM_PROGRAM){case"iTerm.app":return version>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(env2.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)||"COLORTERM"in env2?1:min}function getSupportLevel(stream2){let level=supportsColor(stream2,stream2&&stream2.isTTY);return translateLevel(level)}module.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(!0,tty.isatty(1))),stderr:translateLevel(supportsColor(!0,tty.isatty(2)))}}});var require_node=__commonJS({"node_modules/debug/src/node.js"(exports,module){var tty=__require("tty"),util=__require("util");exports.init=init;exports.log=log;exports.formatArgs=formatArgs;exports.save=save;exports.load=load;exports.useColors=useColors;exports.destroy=util.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");exports.colors=[6,2,3,4,5,1];try{let supportsColor=require_supports_color();supportsColor&&(supportsColor.stderr||supportsColor).level>=2&&(exports.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}exports.inspectOpts=Object.keys(process.env).filter(key=>/^debug_/i.test(key)).reduce((obj,key)=>{let prop=key.substring(6).toLowerCase().replace(/_([a-z])/g,(_,k5)=>k5.toUpperCase()),val=process.env[key];return/^(yes|on|true|enabled)$/i.test(val)?val=!0:/^(no|off|false|disabled)$/i.test(val)?val=!1:val==="null"?val=null:val=Number(val),obj[prop]=val,obj},{});function useColors(){return"colors"in exports.inspectOpts?!!exports.inspectOpts.colors:tty.isatty(process.stderr.fd)}function formatArgs(args){let{namespace:name,useColors:useColors2}=this;if(useColors2){let c5=this.color,colorCode="\x1B[3"+(c5<8?c5:"8;5;"+c5),prefix=` ${colorCode};1m${name} \x1B[0m`;args[0]=prefix+args[0].split(`
59
+ `),multipleCredentialSourceWarningEmitted=!0)),new CredentialsProviderError2("AWS_PROFILE is set, skipping fromEnv provider.",{logger:init.logger,tryNextLink:!0});return init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),fromEnv2(init)()},async awsIdentityProperties=>{init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl,ssoAccountId,ssoRegion,ssoRoleName,ssoSession}=init;if(!ssoStartUrl&&!ssoAccountId&&!ssoRegion&&!ssoRoleName&&!ssoSession)throw new CredentialsProviderError2("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:init.logger});let{fromSSO}=require_dist_cjs12();return fromSSO(init)(awsIdentityProperties)},async awsIdentityProperties=>{init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni}=require_dist_cjs17();return fromIni(init)(awsIdentityProperties)},async awsIdentityProperties=>{init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess}=require_dist_cjs15();return fromProcess(init)(awsIdentityProperties)},async awsIdentityProperties=>{init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile}=require_dist_cjs16();return fromTokenFile(init)(awsIdentityProperties)},async()=>(init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await remoteProvider(init))()),async()=>{throw new CredentialsProviderError2("Could not load credentials from any providers",{tryNextLink:!1,logger:init.logger})}],credentialsTreatedAsExpired),credentialsWillNeedRefresh=credentials=>credentials?.expiration!==void 0,credentialsTreatedAsExpired=credentials=>credentials?.expiration!==void 0&&credentials.expiration.getTime()-Date.now()<3e5;exports.credentialsTreatedAsExpired=credentialsTreatedAsExpired;exports.credentialsWillNeedRefresh=credentialsWillNeedRefresh;exports.defaultProvider=defaultProvider}});var require_dist_cjs19=__commonJS({"node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js"(exports){var{EventStreamCodec:EventStreamCodec2}=(init_event_streams(),__toCommonJS(event_streams_exports)),{Transform,Readable:Readable7,PassThrough:PassThrough2,pipeline}=__require("node:stream"),EventSigningTransformStream=class extends Transform{priorSignature;messageSigner;eventStreamCodec;systemClockOffsetProvider;staticCredentials;constructor(options){super({autoDestroy:!0,readableObjectMode:!0,writableObjectMode:!0,...options}),this.priorSignature=options.priorSignature,this.eventStreamCodec=options.eventStreamCodec,this.messageSigner=options.messageSigner,this.systemClockOffsetProvider=options.systemClockOffsetProvider,this.staticCredentials=options.credentials?.()}async _transform(chunk,encoding,callback){try{let now=new Date(Date.now()+await this.systemClockOffsetProvider()),dateHeader={":date":{type:"timestamp",value:now}},signedMessage=await this.messageSigner.sign({message:{body:chunk,headers:dateHeader},priorSignature:this.priorSignature},{signingDate:now,eventStreamCredentials:await this.staticCredentials});this.priorSignature=signedMessage.signature;let serializedSigned=this.eventStreamCodec.encode({headers:{...dateHeader,":chunk-signature":{type:"binary",value:getSignatureBinary(signedMessage.signature)}},body:chunk});return this.push(serializedSigned),callback()}catch(err){callback(err)}}};function getSignatureBinary(signature){let buf2=Buffer.from(signature,"hex");return new Uint8Array(buf2.buffer,buf2.byteOffset,buf2.byteLength/Uint8Array.BYTES_PER_ELEMENT)}var EventStreamPayloadHandler=class{messageSigner;eventStreamCodec;systemClockOffsetProvider;credentials;constructor(options){this.messageSigner=options.messageSigner,this.eventStreamCodec=new EventStreamCodec2(options.utf8Encoder,options.utf8Decoder),this.systemClockOffsetProvider=async()=>options.systemClockOffset??0,this.credentials=options.credentials}async handle(next,args,context={}){let request=args.request,{body:payload2,query}=request;if(!(payload2 instanceof Readable7))throw new Error("Eventstream payload must be a Readable stream.");request.body=new PassThrough2({objectMode:!0});let priorSignature=request.headers?.authorization?.match(/Signature=([\w]+)$/)?.[1]??query?.["X-Amz-Signature"]??"";context.__staticSignature&&(priorSignature="");let signingStream=new EventSigningTransformStream({priorSignature,eventStreamCodec:this.eventStreamCodec,messageSigner:await this.messageSigner(),systemClockOffsetProvider:this.systemClockOffsetProvider,credentials:this.credentials}),resolvePipeline,pipelineError=new Promise((resolve,reject)=>{resolvePipeline=()=>resolve(void 0),pipeline(payload2,signingStream,request.body,err=>{err&&reject(new Error(`Pipeline error in @aws-sdk/eventstream-handler-node: ${err.message}`,{cause:err}))})}),result;try{result=await Promise.race([next(args),pipelineError])}catch(e5){throw request.body.end(),e5}finally{resolvePipeline()}return result}},eventStreamPayloadHandlerProvider=options=>new EventStreamPayloadHandler(options);exports.eventStreamPayloadHandlerProvider=eventStreamPayloadHandlerProvider}});var require_dist_cjs20=__commonJS({"node_modules/@aws-sdk/token-providers/dist-cjs/index.js"(exports){var{setTokenFeature:setTokenFeature2}=(init_client3(),__toCommonJS(client_exports2)),{getBearerTokenEnvKey:getBearerTokenEnvKey2}=(init_httpAuthSchemes2(),__toCommonJS(httpAuthSchemes_exports)),{TokenProviderError:TokenProviderError2,getSSOTokenFilepath:getSSOTokenFilepath2,parseKnownFiles:parseKnownFiles2,getProfileName:getProfileName2,loadSsoSessionData:loadSsoSessionData2,getSSOTokenFromFile:getSSOTokenFromFile2,memoize:memoize2,chain:chain2}=(init_config2(),__toCommonJS(config_exports)),{promises}=__require("node:fs"),fromEnvSigningName=({logger:logger2,signingName}={})=>async()=>{if(logger2?.debug?.("@aws-sdk/token-providers - fromEnvSigningName"),!signingName)throw new TokenProviderError2("Please pass 'signingName' to compute environment variable key",{logger:logger2});let bearerTokenKey=getBearerTokenEnvKey2(signingName);if(!(bearerTokenKey in process.env))throw new TokenProviderError2(`Token not present in '${bearerTokenKey}' environment variable`,{logger:logger2});let token={token:process.env[bearerTokenKey]};return setTokenFeature2(token,"BEARER_SERVICE_ENV_VARS","3"),token},EXPIRE_WINDOW_MS=300*1e3,REFRESH_MESSAGE="To refresh this SSO session run 'aws sso login' with the corresponding profile.",getSsoOidcClient=async(ssoRegion,init={},callerClientConfig)=>{let{SSOOIDCClient:SSOOIDCClient2}=(init_sso_oidc(),__toCommonJS(sso_oidc_exports)),coalesce2=prop=>init.clientConfig?.[prop]??init.parentClientConfig?.[prop]??callerClientConfig?.[prop];return new SSOOIDCClient2(Object.assign({},init.clientConfig??{},{region:ssoRegion??init.clientConfig?.region,logger:coalesce2("logger"),userAgentAppId:coalesce2("userAgentAppId")}))},getNewSsoOidcToken=async(ssoToken,ssoRegion,init={},callerClientConfig)=>{let{CreateTokenCommand:CreateTokenCommand2}=(init_sso_oidc(),__toCommonJS(sso_oidc_exports));return(await getSsoOidcClient(ssoRegion,init,callerClientConfig)).send(new CreateTokenCommand2({clientId:ssoToken.clientId,clientSecret:ssoToken.clientSecret,refreshToken:ssoToken.refreshToken,grantType:"refresh_token"}))},validateTokenExpiry=token=>{if(token.expiration&&token.expiration.getTime()<Date.now())throw new TokenProviderError2(`Token is expired. ${REFRESH_MESSAGE}`,!1)},validateTokenKey=(key,value,forRefresh=!1)=>{if(typeof value>"u")throw new TokenProviderError2(`Value not present for '${key}' in SSO Token${forRefresh?". Cannot refresh":""}. ${REFRESH_MESSAGE}`,!1)},{writeFile}=promises,writeSSOTokenToFile=(id,ssoToken)=>{let tokenFilepath=getSSOTokenFilepath2(id),tokenString=JSON.stringify(ssoToken,null,2);return writeFile(tokenFilepath,tokenString)},lastRefreshAttemptTimes=new Map,fromSso=(init={})=>async({callerClientConfig}={})=>{init.logger?.debug("@aws-sdk/token-providers - fromSso");let profiles=await parseKnownFiles2(init),profileName=getProfileName2({profile:init.profile??callerClientConfig?.profile}),profile=profiles[profileName];if(profile){if(!profile.sso_session)throw new TokenProviderError2(`Profile '${profileName}' is missing required property 'sso_session'.`)}else throw new TokenProviderError2(`Profile '${profileName}' could not be found in shared credentials file.`,!1);let ssoSessionName=profile.sso_session,ssoSession=(await loadSsoSessionData2(init))[ssoSessionName];if(!ssoSession)throw new TokenProviderError2(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`,!1);for(let ssoSessionRequiredKey of["sso_start_url","sso_region"])if(!ssoSession[ssoSessionRequiredKey])throw new TokenProviderError2(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`,!1);ssoSession.sso_start_url;let ssoRegion=ssoSession.sso_region,ssoToken;try{ssoToken=await getSSOTokenFromFile2(ssoSessionName)}catch{throw new TokenProviderError2(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`,!1)}validateTokenKey("accessToken",ssoToken.accessToken),validateTokenKey("expiresAt",ssoToken.expiresAt);let{accessToken,expiresAt}=ssoToken,existingToken={token:accessToken,expiration:new Date(expiresAt)};if(existingToken.expiration.getTime()-Date.now()>EXPIRE_WINDOW_MS)return existingToken;let lastRefreshAttemptTime=lastRefreshAttemptTimes.get(ssoSessionName)??0;if(Date.now()-lastRefreshAttemptTime<30*1e3)return validateTokenExpiry(existingToken),existingToken;validateTokenKey("clientId",ssoToken.clientId,!0),validateTokenKey("clientSecret",ssoToken.clientSecret,!0),validateTokenKey("refreshToken",ssoToken.refreshToken,!0);try{lastRefreshAttemptTimes.set(ssoSessionName,Date.now());let newSsoOidcToken=await getNewSsoOidcToken(ssoToken,ssoRegion,init,callerClientConfig);validateTokenKey("accessToken",newSsoOidcToken.accessToken),validateTokenKey("expiresIn",newSsoOidcToken.expiresIn);let newTokenExpiration=new Date(Date.now()+newSsoOidcToken.expiresIn*1e3);try{await writeSSOTokenToFile(ssoSessionName,{...ssoToken,accessToken:newSsoOidcToken.accessToken,expiresAt:newTokenExpiration.toISOString(),refreshToken:newSsoOidcToken.refreshToken})}catch{}return{token:newSsoOidcToken.accessToken,expiration:newTokenExpiration}}catch{return validateTokenExpiry(existingToken),existingToken}},fromStatic2=({token,logger:logger2})=>async()=>{if(logger2?.debug("@aws-sdk/token-providers - fromStatic"),!token||!token.token)throw new TokenProviderError2("Please pass a valid token to fromStatic",!1);return token},nodeProvider=(init={})=>memoize2(chain2(fromSso(init),async()=>{throw new TokenProviderError2("Could not load token from any providers",!1)}),token=>token.expiration!==void 0&&token.expiration.getTime()-Date.now()<3e5,token=>token.expiration!==void 0);exports.fromEnvSigningName=fromEnvSigningName;exports.fromSso=fromSso;exports.fromStatic=fromStatic2;exports.nodeProvider=nodeProvider}});var require_dist_cjs21=__commonJS({"node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js"(exports){var{awsEndpointFunctions:awsEndpointFunctions2,emitWarningIfUnsupportedVersion:emitWarningIfUnsupportedVersion$1,createDefaultUserAgentProvider:createDefaultUserAgentProvider2,NODE_APP_ID_CONFIG_OPTIONS:NODE_APP_ID_CONFIG_OPTIONS2,getAwsRegionExtensionConfiguration:getAwsRegionExtensionConfiguration2,resolveAwsRegionExtensionConfiguration:resolveAwsRegionExtensionConfiguration2,resolveUserAgentConfig:resolveUserAgentConfig2,resolveHostHeaderConfig:resolveHostHeaderConfig2,getUserAgentPlugin:getUserAgentPlugin2,getHostHeaderPlugin:getHostHeaderPlugin2,getLoggerPlugin:getLoggerPlugin2,getRecursionDetectionPlugin:getRecursionDetectionPlugin2}=(init_client3(),__toCommonJS(client_exports2)),{resolveEventStreamConfig,getEventStreamPlugin}=require_dist_cjs2(),{resolveWebSocketConfig,getWebSocketPlugin}=require_dist_cjs4(),{memoizeIdentityProvider:memoizeIdentityProvider2,isIdentityExpired:isIdentityExpired2,doesIdentityRequireRefresh:doesIdentityRequireRefresh2,HttpBearerAuthSigner:HttpBearerAuthSigner2,getHttpAuthSchemeEndpointRuleSetPlugin:getHttpAuthSchemeEndpointRuleSetPlugin2,DefaultIdentityProviderConfig:DefaultIdentityProviderConfig2,getHttpSigningPlugin:getHttpSigningPlugin2,createPaginator:createPaginator2}=(init_dist_es(),__toCommonJS(dist_es_exports)),{normalizeProvider:normalizeProvider3,getSmithyContext:getSmithyContext2,ServiceException:ServiceException2,NoOpLogger:NoOpLogger2,emitWarningIfUnsupportedVersion:emitWarningIfUnsupportedVersion3,loadConfigsForDefaultMode:loadConfigsForDefaultMode2,getDefaultExtensionConfiguration:getDefaultExtensionConfiguration2,resolveDefaultRuntimeConfig:resolveDefaultRuntimeConfig2,Client:Client2,makeBuilder:makeBuilder2,createAggregatedClient:createAggregatedClient2}=(init_client2(),__toCommonJS(client_exports)),{Command:$Command}=(init_client2(),__toCommonJS(client_exports));exports.$Command=$Command;exports.__Client=Client2;var{resolveDefaultsModeConfig:resolveDefaultsModeConfig2,loadConfig:loadConfig2,NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS:NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS2,NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS:NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS2,NODE_REGION_CONFIG_OPTIONS:NODE_REGION_CONFIG_OPTIONS2,NODE_REGION_CONFIG_FILE_OPTIONS:NODE_REGION_CONFIG_FILE_OPTIONS2,resolveRegionConfig:resolveRegionConfig2}=(init_config2(),__toCommonJS(config_exports)),{BinaryDecisionDiagram:BinaryDecisionDiagram2,EndpointCache:EndpointCache2,decideEndpoint:decideEndpoint2,customEndpointFunctions:customEndpointFunctions2,resolveEndpointConfig:resolveEndpointConfig2,getEndpointPlugin:getEndpointPlugin2}=(init_endpoints(),__toCommonJS(endpoints_exports)),{eventStreamSerdeProvider:eventStreamSerdeProvider3,resolveEventStreamSerdeConfig:resolveEventStreamSerdeConfig2}=(init_event_streams(),__toCommonJS(event_streams_exports)),{parseUrl:parseUrl2,getHttpHandlerExtensionConfiguration:getHttpHandlerExtensionConfiguration2,resolveHttpHandlerRuntimeConfig:resolveHttpHandlerRuntimeConfig2,getContentLengthPlugin:getContentLengthPlugin2}=(init_protocols(),__toCommonJS(protocols_exports)),{DEFAULT_RETRY_MODE:DEFAULT_RETRY_MODE2,NODE_RETRY_MODE_CONFIG_OPTIONS:NODE_RETRY_MODE_CONFIG_OPTIONS2,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:NODE_MAX_ATTEMPT_CONFIG_OPTIONS2,resolveRetryConfig:resolveRetryConfig2,getRetryPlugin:getRetryPlugin2}=(init_retry2(),__toCommonJS(retry_exports)),{TypeRegistry:TypeRegistry2,getSchemaSerdePlugin:getSchemaSerdePlugin2}=(init_schema(),__toCommonJS(schema_exports)),{resolveAwsSdkSigV4Config:resolveAwsSdkSigV4Config2,AwsSdkSigV4Signer:AwsSdkSigV4Signer2,NODE_AUTH_SCHEME_PREFERENCE_OPTIONS:NODE_AUTH_SCHEME_PREFERENCE_OPTIONS2}=(init_httpAuthSchemes2(),__toCommonJS(httpAuthSchemes_exports)),{defaultProvider}=require_dist_cjs18(),{eventStreamPayloadHandlerProvider}=require_dist_cjs19(),{fromEnvSigningName,nodeProvider}=require_dist_cjs20(),{toUtf8:toUtf83,fromUtf8:fromUtf83,toBase64:toBase643,fromBase64:fromBase642,calculateBodyLength:calculateBodyLength2}=(init_serde(),__toCommonJS(serde_exports)),{streamCollector:streamCollector7,NodeHttp2Handler}=require_dist_cjs8(),{AwsRestJsonProtocol:AwsRestJsonProtocol2}=(init_protocols2(),__toCommonJS(protocols_exports2)),{Sha256}=(init_checksum2(),__toCommonJS(checksum_exports)),defaultBedrockRuntimeHttpAuthSchemeParametersProvider=async(config,context,input)=>({operation:getSmithyContext2(context).operation,region:await normalizeProvider3(config.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function createAwsAuthSigv4HttpAuthOption5(authParameters){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"bedrock",region:authParameters.region},propertiesExtractor:(config,context)=>({signingProperties:{config,context}})}}function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters){return{schemeId:"smithy.api#httpBearerAuth",propertiesExtractor:({profile,filepath,configFilepath,ignoreCache},context)=>({identityProperties:{profile,filepath,configFilepath,ignoreCache}})}}var defaultBedrockRuntimeHttpAuthSchemeProvider=authParameters=>{let options=[];switch(authParameters.operation){default:options.push(createAwsAuthSigv4HttpAuthOption5(authParameters)),options.push(createSmithyApiHttpBearerAuthHttpAuthOption())}return options},resolveHttpAuthSchemeConfig5=config=>{let token=memoizeIdentityProvider2(config.token,isIdentityExpired2,doesIdentityRequireRefresh2),config_0=resolveAwsSdkSigV4Config2(config);return Object.assign(config_0,{authSchemePreference:normalizeProvider3(config.authSchemePreference??[]),token})},resolveClientEndpointParameters5=options=>Object.assign(options,{useDualstackEndpoint:options.useDualstackEndpoint??!1,useFipsEndpoint:options.useFipsEndpoint??!1,defaultSigningName:"bedrock"}),commonParams5={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},version="3.1126.0",packageInfo={version},k5="ref",a5=-1,b5=!0,c5="isSet",d5="PartitionResult",e5="booleanEquals",f5="getAttr",g5={[k5]:"Endpoint"},h5={[k5]:d5},i5={},j5=[{[k5]:"Region"}],_data5={conditions:[[c5,[g5]],[c5,j5],["aws.partition",j5,d5],[e5,[{[k5]:"UseFIPS"},b5]],[e5,[{[k5]:"UseDualStack"},b5]],[e5,[{fn:f5,argv:[h5,"supportsDualStack"]},b5]],[e5,[{fn:f5,argv:[h5,"supportsFIPS"]},b5]]],results:[[a5],[a5,"Invalid Configuration: FIPS and custom endpoint are not supported"],[a5,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[g5,i5],["https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",i5],[a5,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",i5],[a5,"FIPS is enabled but this partition does not support FIPS"],["https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",i5],[a5,"DualStack is enabled but this partition does not support DualStack"],["https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}",i5],[a5,"Invalid Configuration: Missing Region"]]},root5=2,r5=1e8,nodes5=new Int32Array([-1,1,-1,0,12,3,1,4,r5+11,2,5,r5+11,3,8,6,4,7,r5+10,5,r5+8,r5+9,4,10,9,6,r5+6,r5+7,5,11,r5+5,6,r5+4,r5+5,3,r5+1,13,4,r5+2,r5+3]),bdd5=BinaryDecisionDiagram2.from(nodes5,root5,_data5.conditions,_data5.results),cache5=new EndpointCache2({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),defaultEndpointResolver5=(endpointParams,context={})=>cache5.get(endpointParams,()=>decideEndpoint2(bdd5,{endpointParams,logger:context.logger}));customEndpointFunctions2.aws=awsEndpointFunctions2;var BedrockRuntimeServiceException2=class _BedrockRuntimeServiceException extends ServiceException2{constructor(options){super(options),Object.setPrototypeOf(this,_BedrockRuntimeServiceException.prototype)}},AccessDeniedException3=class _AccessDeniedException extends BedrockRuntimeServiceException2{name="AccessDeniedException";$fault="client";constructor(opts){super({name:"AccessDeniedException",$fault:"client",...opts}),Object.setPrototypeOf(this,_AccessDeniedException.prototype)}},InternalServerException3=class _InternalServerException extends BedrockRuntimeServiceException2{name="InternalServerException";$fault="server";constructor(opts){super({name:"InternalServerException",$fault:"server",...opts}),Object.setPrototypeOf(this,_InternalServerException.prototype)}},ThrottlingException=class _ThrottlingException extends BedrockRuntimeServiceException2{name="ThrottlingException";$fault="client";constructor(opts){super({name:"ThrottlingException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ThrottlingException.prototype)}},ValidationException2=class _ValidationException extends BedrockRuntimeServiceException2{name="ValidationException";$fault="client";constructor(opts){super({name:"ValidationException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ValidationException.prototype)}},ConflictException=class _ConflictException extends BedrockRuntimeServiceException2{name="ConflictException";$fault="client";constructor(opts){super({name:"ConflictException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ConflictException.prototype)}},ResourceNotFoundException2=class _ResourceNotFoundException extends BedrockRuntimeServiceException2{name="ResourceNotFoundException";$fault="client";constructor(opts){super({name:"ResourceNotFoundException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ResourceNotFoundException.prototype)}},ServiceQuotaExceededException=class _ServiceQuotaExceededException extends BedrockRuntimeServiceException2{name="ServiceQuotaExceededException";$fault="client";constructor(opts){super({name:"ServiceQuotaExceededException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ServiceQuotaExceededException.prototype)}},ServiceUnavailableException=class _ServiceUnavailableException extends BedrockRuntimeServiceException2{name="ServiceUnavailableException";$fault="server";constructor(opts){super({name:"ServiceUnavailableException",$fault:"server",...opts}),Object.setPrototypeOf(this,_ServiceUnavailableException.prototype)}},ModelErrorException=class _ModelErrorException extends BedrockRuntimeServiceException2{name="ModelErrorException";$fault="client";originalStatusCode;resourceName;constructor(opts){super({name:"ModelErrorException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ModelErrorException.prototype),this.originalStatusCode=opts.originalStatusCode,this.resourceName=opts.resourceName}},ModelNotReadyException=class _ModelNotReadyException extends BedrockRuntimeServiceException2{name="ModelNotReadyException";$fault="client";$retryable={};constructor(opts){super({name:"ModelNotReadyException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ModelNotReadyException.prototype)}},ModelTimeoutException=class _ModelTimeoutException extends BedrockRuntimeServiceException2{name="ModelTimeoutException";$fault="client";constructor(opts){super({name:"ModelTimeoutException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ModelTimeoutException.prototype)}},ModelStreamErrorException=class _ModelStreamErrorException extends BedrockRuntimeServiceException2{name="ModelStreamErrorException";$fault="client";originalStatusCode;originalMessage;constructor(opts){super({name:"ModelStreamErrorException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ModelStreamErrorException.prototype),this.originalStatusCode=opts.originalStatusCode,this.originalMessage=opts.originalMessage}},_A2="Accept",_AB="AudioBlock",_ADE3="AccessDeniedException",_AG="ApplyGuardrail",_AGD="AppliedGuardrailDetails",_AGR="ApplyGuardrailRequest",_AGRp="ApplyGuardrailResponse",_AIM="AsyncInvokeMessage",_AIODC="AsyncInvokeOutputDataConfig",_AIS="AsyncInvokeSummary",_AISODC="AsyncInvokeS3OutputDataConfig",_AISs="AsyncInvokeSummaries",_AS="AudioSource",_ATC="AnyToolChoice",_ATCu="AutoToolChoice",_B="Body",_BIPP="BidirectionalInputPayloadPart",_BOPP="BidirectionalOutputPayloadPart",_C2="Citation",_CB="ContentBlocks",_CBD="ContentBlockDelta",_CBDE="ContentBlockDeltaEvent",_CBS="ContentBlockStart",_CBSE="ContentBlockStartEvent",_CBSEo="ContentBlockStopEvent",_CBo="ContentBlock",_CC="CitationsConfig",_CCB="CitationsContentBlock",_CD="CacheDetail",_CDL="CacheDetailsList",_CDi="CitationsDelta",_CE="ConflictException",_CGC="CitationGeneratedContent",_CGCL="CitationGeneratedContentList",_CL="CitationLocation",_CM="ConverseMetrics",_CO="ConverseOutput",_CPB="CachePointBlock",_CR="ConverseRequest",_CRo="ConverseResponse",_CS2="ConverseStream",_CSC="CitationSourceContent",_CSCD="CitationSourceContentDelta",_CSCL="CitationSourceContentList",_CSCLD="CitationSourceContentListDelta",_CSM="ConverseStreamMetrics",_CSME="ConverseStreamMetadataEvent",_CSO="ConverseStreamOutput",_CSR="ConverseStreamRequest",_CSRo="ConverseStreamResponse",_CST="ConverseStreamTrace",_CT2="ConverseTrace",_CTI="CountTokensInput",_CTR2="ConverseTokensRequest",_CTRo="CountTokensRequest",_CTRou="CountTokensResponse",_CT_="Content-Type",_CTo="CountTokens",_Ci="Citations",_Co="Converse",_DB="DocumentBlock",_DCB="DocumentContentBlocks",_DCBo="DocumentContentBlock",_DCL="DocumentCharLocation",_DCLo="DocumentChunkLocation",_DPL="DocumentPageLocation",_DS2="DocumentSource",_EB="ErrorBlock",_GA="GuardrailAssessment",_GAI="GetAsyncInvoke",_GAIR="GetAsyncInvokeRequest",_GAIRe="GetAsyncInvokeResponse",_GAL="GuardrailAssessmentList",_GALM="GuardrailAssessmentListMap",_GAM="GuardrailAssessmentMap",_GARDSL="GuardrailAutomatedReasoningDifferenceScenarioList",_GARF="GuardrailAutomatedReasoningFinding",_GARFL="GuardrailAutomatedReasoningFindingList",_GARIF="GuardrailAutomatedReasoningImpossibleFinding",_GARIFu="GuardrailAutomatedReasoningInvalidFinding",_GARITR="GuardrailAutomatedReasoningInputTextReference",_GARITRL="GuardrailAutomatedReasoningInputTextReferenceList",_GARLW="GuardrailAutomatedReasoningLogicWarning",_GARNTF="GuardrailAutomatedReasoningNoTranslationsFinding",_GARPA="GuardrailAutomatedReasoningPolicyAssessment",_GARR="GuardrailAutomatedReasoningRule",_GARRL="GuardrailAutomatedReasoningRuleList",_GARS="GuardrailAutomatedReasoningScenario",_GARSF="GuardrailAutomatedReasoningSatisfiableFinding",_GARSL="GuardrailAutomatedReasoningStatementList",_GARSLC="GuardrailAutomatedReasoningStatementLogicContent",_GARSNLC="GuardrailAutomatedReasoningStatementNaturalLanguageContent",_GARSu="GuardrailAutomatedReasoningStatement",_GART="GuardrailAutomatedReasoningTranslation",_GARTAF="GuardrailAutomatedReasoningTranslationAmbiguousFinding",_GARTCF="GuardrailAutomatedReasoningTooComplexFinding",_GARTL="GuardrailAutomatedReasoningTranslationList",_GARTO="GuardrailAutomatedReasoningTranslationOption",_GARTOL="GuardrailAutomatedReasoningTranslationOptionList",_GARVF="GuardrailAutomatedReasoningValidFinding",_GC="GuardrailConfiguration",_GCB="GuardrailContentBlock",_GCBL="GuardrailContentBlockList",_GCC="GuardrailChecksConfig",_GCCB="GuardrailChecksContentBlock",_GCCBL="GuardrailChecksContentBlockList",_GCCBu="GuardrailConverseContentBlock",_GCCFC="GuardrailChecksContentFilterConfig",_GCCFCC="GuardrailChecksContentFilterCategoryConfig",_GCCFCCL="GuardrailChecksContentFilterCategoryConfigList",_GCCFR="GuardrailChecksContentFilterResult",_GCCFRE="GuardrailChecksContentFilterResultEntry",_GCCFRL="GuardrailChecksContentFilterResultList",_GCCFU="GuardrailChecksContentFilterUsage",_GCF="GuardrailContentFilter",_GCFL="GuardrailContentFilterList",_GCGF="GuardrailContextualGroundingFilter",_GCGFu="GuardrailContextualGroundingFilters",_GCGPA="GuardrailContextualGroundingPolicyAssessment",_GCIB="GuardrailConverseImageBlock",_GCIS="GuardrailConverseImageSource",_GCM="GuardrailChecksMessage",_GCML="GuardrailChecksMessageList",_GCPA="GuardrailContentPolicyAssessment",_GCPAC="GuardrailChecksPromptAttackConfig",_GCPACC="GuardrailChecksPromptAttackCategoryConfig",_GCPACCL="GuardrailChecksPromptAttackCategoryConfigList",_GCPAR="GuardrailChecksPromptAttackResult",_GCPARE="GuardrailChecksPromptAttackResultEntry",_GCPARL="GuardrailChecksPromptAttackResultList",_GCPAU="GuardrailChecksPromptAttackUsage",_GCR="GuardrailChecksResults",_GCSIC="GuardrailChecksSensitiveInformationConfig",_GCSIEC="GuardrailChecksSensitiveInformationEntityConfig",_GCSIECL="GuardrailChecksSensitiveInformationEntityConfigList",_GCSIR="GuardrailChecksSensitiveInformationResult",_GCSIRE="GuardrailChecksSensitiveInformationResultEntry",_GCSIRL="GuardrailChecksSensitiveInformationResultList",_GCSIU="GuardrailChecksSensitiveInformationUsage",_GCTB="GuardrailConverseTextBlock",_GCTC="GuardrailChecksTextContent",_GCUR="GuardrailChecksUsageResults",_GCW="GuardrailCustomWord",_GCWL="GuardrailCustomWordList",_GCu="GuardrailCoverage",_GIB="GuardrailImageBlock",_GIC="GuardrailImageCoverage",_GIM="GuardrailInvocationMetrics",_GIS="GuardrailImageSource",_GMW="GuardrailManagedWord",_GMWL="GuardrailManagedWordList",_GOC="GuardrailOutputContent",_GOCL="GuardrailOutputContentList",_GPEF="GuardrailPiiEntityFilter",_GPEFL="GuardrailPiiEntityFilterList",_GRF="GuardrailRegexFilter",_GRFL="GuardrailRegexFilterList",_GSC="GuardrailStreamConfiguration",_GSIPA="GuardrailSensitiveInformationPolicyAssessment",_GT="GuardrailTopic",_GTA="GuardrailTraceAssessment",_GTB="GuardrailTextBlock",_GTCC="GuardrailTextCharactersCoverage",_GTL="GuardrailTopicList",_GTPA="GuardrailTopicPolicyAssessment",_GU="GuardrailUsage",_GWPA="GuardrailWordPolicyAssessment",_IB="ImageBlock",_IBD="ImageBlockDelta",_IBS="ImageBlockStart",_IC="InferenceConfiguration",_IGC="InvokeGuardrailChecks",_IGCR="InvokeGuardrailChecksRequest",_IGCRn="InvokeGuardrailChecksResponse",_IM="InvokeModel",_IMR="InvokeModelRequest",_IMRn="InvokeModelResponse",_IMTR="InvokeModelTokensRequest",_IMWBS="InvokeModelWithBidirectionalStream",_IMWBSI="InvokeModelWithBidirectionalStreamInput",_IMWBSO="InvokeModelWithBidirectionalStreamOutput",_IMWBSR="InvokeModelWithBidirectionalStreamRequest",_IMWBSRn="InvokeModelWithBidirectionalStreamResponse",_IMWRS="InvokeModelWithResponseStream",_IMWRSR="InvokeModelWithResponseStreamRequest",_IMWRSRn="InvokeModelWithResponseStreamResponse",_IS="ImageSource",_ISE3="InternalServerException",_JSD="JsonSchemaDefinition",_LAI="ListAsyncInvokes",_LAIR="ListAsyncInvokesRequest",_LAIRi="ListAsyncInvokesResponse",_M="Message",_MEE="ModelErrorException",_MIP="ModelInputPayload",_MNRE="ModelNotReadyException",_MSE="MessageStartEvent",_MSEE="ModelStreamErrorException",_MSEe="MessageStopEvent",_MTE="ModelTimeoutException",_Me="Messages",_OC="OutputConfig",_OF="OutputFormat",_OFS="OutputFormatStructure",_PB="PartBody",_PC2="PerformanceConfiguration",_PP="PayloadPart",_PRT="PromptRouterTrace",_PVM="PromptVariableMap",_PVV="PromptVariableValues",_RCB="ReasoningContentBlock",_RCBD="ReasoningContentBlockDelta",_RM="RequestMetadata",_RMJ="RequestMetadataJson",_RNFE2="ResourceNotFoundException",_RS="ResponseStream",_RTB="ReasoningTextBlock",_SAI="StartAsyncInvoke",_SAIR="StartAsyncInvokeRequest",_SAIRt="StartAsyncInvokeResponse",_SCB="SystemContentBlocks",_SCBy="SystemContentBlock",_SL="S3Location",_SQEE="ServiceQuotaExceededException",_SRB="SearchResultBlock",_SRCB="SearchResultContentBlock",_SRCBe="SearchResultContentBlocks",_SRL="SearchResultLocation",_ST2="ServiceTier",_STC="SpecificToolChoice",_STy="SystemTool",_SUE="ServiceUnavailableException",_T2="Tag",_TAB="ToolAdditionBlock",_TC2="ToolConfiguration",_TCo="ToolChoice",_TE="ThrottlingException",_TIS="ToolInputSchema",_TL="TagList",_TR="ToolReference",_TRB="ToolRemovalBlock",_TRBD="ToolResultBlocksDelta",_TRBDo="ToolResultBlockDelta",_TRBS="ToolResultBlockStart",_TRBo="ToolResultBlock",_TRCB="ToolResultContentBlocks",_TRCBo="ToolResultContentBlock",_TS="ToolSpecification",_TU="TokenUsage",_TUB="ToolUseBlock",_TUBD="ToolUseBlockDelta",_TUBS="ToolUseBlockStart",_To="Tools",_Too="Tool",_VB="VideoBlock",_VE2="ValidationException",_VS="VideoSource",_WL="WebLocation",_XABA="X-Amzn-Bedrock-Accept",_XABCT="X-Amzn-Bedrock-Content-Type",_XABG="X-Amzn-Bedrock-GuardrailIdentifier",_XABG_="X-Amzn-Bedrock-GuardrailVersion",_XABPL="X-Amzn-Bedrock-PerformanceConfig-Latency",_XABRM="X-Amzn-Bedrock-Request-Metadata",_XABST="X-Amzn-Bedrock-Service-Tier",_XABT="X-Amzn-Bedrock-Trace",_a2="action",_aGD="appliedGuardrailDetails",_aIS="asyncInvokeSummaries",_aMRF="additionalModelRequestFields",_aMRFP="additionalModelResponseFieldPaths",_aMRFd="additionalModelResponseFields",_aR="actionReason",_aRP="automatedReasoningPolicy",_aRPU="automatedReasoningPolicyUnits",_aRPu="automatedReasoningPolicies",_ac="accept",_an="any",_as="assessments",_au="audio",_aut="auto",_b="bytes",_bO="bucketOwner",_bOe="beginOffset",_bo="body",_c5="client",_cBD="contentBlockDelta",_cBI="contentBlockIndex",_cBS="contentBlockStart",_cBSo="contentBlockStop",_cC="citationsContent",_cD="cacheDetails",_cF="contentFilter",_cFS="claimsFalseScenario",_cGP="contextualGroundingPolicy",_cGPU="contextualGroundingPolicyUnits",_cI3="contentIndex",_cP="contentPolicy",_cPIU="contentPolicyImageUnits",_cPU="contentPolicyUnits",_cPa="cachePoint",_cR="contradictingRules",_cRIT="cacheReadInputTokens",_cRT="clientRequestToken",_cS2="confidenceScore",_cT="contentType",_cTS="claimsTrueScenario",_cW="customWords",_cWIT="cacheWriteInputTokens",_ca="category",_cat="categories",_ch="checks",_chu="chunk",_ci="citations",_cit="citation",_cl="claims",_co3="content",_con="context",_conf="confidence",_conv="converse",_d="delta",_dC2="documentChar",_dCo="documentChunk",_dI="documentIndex",_dP="documentPage",_dS="differenceScenarios",_de="detected",_des="description",_do="domain",_doc="document",_e5="error",_eO="endOffset",_eT="endTime",_ef="effort",_en="enabled",_end="end",_ent="entities",_f="format",_fM="failureMessage",_fS="filterStrength",_fi="findings",_fil="filters",_g="guardrail",_gA="guardrailArn",_gC="guardrailCoverage",_gCu="guardrailConfig",_gCua="guardContent",_gI="guardrailId",_gIu="guardrailIdentifier",_gO="guardrailOrigin",_gOu="guardrailOwnership",_gPL="guardrailProcessingLatency",_gV="guardrailVersion",_gu="guarded",_h4="http",_hE5="httpError",_hH2="httpHeader",_hQ2="httpQuery",_i="input",_iA="invocationArn",_iAn="inputAssessment",_iC="inferenceConfig",_iM="invocationMetrics",_iMI="invokedModelId",_iMn="invokeModel",_iS="inputSchema",_iSE="internalServerException",_iT3="inputTokens",_id="identifier",_im="images",_ima="image",_imp="impossible",_in="invalid",_j="json",_jS="jsonSchema",_k="key",_kKI="kmsKeyId",_l="location",_lM="latencyMs",_lMT="lastModifiedTime",_lW="logicWarning",_la="latency",_lo="logic",_m4="message",_mA="modelArn",_mI="modelId",_mIe="messageIndex",_mIo="modelInput",_mO="modelOutput",_mR="maxResults",_mS="messageStart",_mSEE="modelStreamErrorException",_mSe="messageStop",_mT="maxTokens",_mTE="modelTimeoutException",_mWL="managedWordLists",_ma="match",_me="messages",_met="metrics",_meta="metadata",_n="name",_nL="naturalLanguage",_nT="nextToken",_nTo="noTranslations",_o="outputs",_oA="outputAssessments",_oC="outputConfig",_oDC="outputDataConfig",_oM="originalMessage",_oS="outputScope",_oSC="originalStatusCode",_oT="outputTokens",_op="options",_ou="output",_p="premises",_pA="promptAttack",_pC="performanceConfig",_pCL="performanceConfigLatency",_pE="piiEntities",_pR="promptRouter",_pV="promptVariables",_pVA="policyVersionArn",_q="qualifiers",_r3="results",_rC2="reasoningContent",_rCe="redactedContent",_rM="requestMetadata",_rN2="resourceName",_rT3="reasoningText",_re="regex",_reg="regexes",_ro="role",_s5="smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime",_sB="sortBy",_sC="sourceContent",_sE="statusEquals",_sI="sensitiveInformation",_sIP="sensitiveInformationPolicy",_sIPFU="sensitiveInformationPolicyFreeUnits",_sIPU="sensitiveInformationPolicyUnits",_sL="s3Location",_sN="serverName",_sO="sortOrder",_sODC="s3OutputDataConfig",_sPM="streamProcessingMode",_sR="stopReason",_sRI="searchResultIndex",_sRL="searchResultLocation",_sRe="searchResult",_sRu="supportingRules",_sS="severityScore",_sSt="stopSequences",_sT3="submitTime",_sTA="submitTimeAfter",_sTB="submitTimeBefore",_sTe="serviceTier",_sTy="systemTool",_sU="s3Uri",_sUE="serviceUnavailableException",_sa="satisfiable",_sc2="score",_sch="schema",_se3="server",_si="signature",_so="source",_st="status",_sta="start",_stat="statements",_str="stream",_stre="streaming",_stri="strict",_stru="structure",_sy="system",_t="ttl",_tA="toolAddition",_tAr="translationAmbiguous",_tC="toolConfig",_tCe="textCharacters",_tCo="toolChoice",_tCoo="tooComplex",_tE="throttlingException",_tF="textFormat",_tP="topicPolicy",_tPU="topicPolicyUnits",_tPo="topP",_tR="toolResult",_tRo="toolRemoval",_tS="toolSpec",_tT3="totalTokens",_tU="textUnits",_tUI="toolUseId",_tUo="toolUse",_ta="tags",_te="text",_tem="temperature",_th="threshold",_ti="title",_to="total",_too="tool",_tool="tools",_top="topics",_tr="trace",_tra="translation",_tran="translations",_tru="truncated",_ty="type",_u="usage",_uC="untranslatedClaims",_uP="untranslatedPremises",_ur="uri",_url="url",_v="value",_vE="validationException",_va="valid",_vi="video",_w="web",_wP="wordPolicy",_wPU="wordPolicyUnits",n05="com.amazonaws.bedrockruntime",_s_registry5=TypeRegistry2.for(_s5),BedrockRuntimeServiceException$=[-3,_s5,"BedrockRuntimeServiceException",0,[],[]];_s_registry5.registerError(BedrockRuntimeServiceException$,BedrockRuntimeServiceException2);var n0_registry5=TypeRegistry2.for(n05),AccessDeniedException$3=[-3,n05,_ADE3,{[_e5]:_c5,[_hE5]:403},[_m4],[0]];n0_registry5.registerError(AccessDeniedException$3,AccessDeniedException3);var ConflictException$=[-3,n05,_CE,{[_e5]:_c5,[_hE5]:400},[_m4],[0]];n0_registry5.registerError(ConflictException$,ConflictException);var InternalServerException$3=[-3,n05,_ISE3,{[_e5]:_se3,[_hE5]:500},[_m4],[0]];n0_registry5.registerError(InternalServerException$3,InternalServerException3);var ModelErrorException$=[-3,n05,_MEE,{[_e5]:_c5,[_hE5]:424},[_m4,_oSC,_rN2],[0,1,0]];n0_registry5.registerError(ModelErrorException$,ModelErrorException);var ModelNotReadyException$=[-3,n05,_MNRE,{[_e5]:_c5,[_hE5]:429},[_m4],[0]];n0_registry5.registerError(ModelNotReadyException$,ModelNotReadyException);var ModelStreamErrorException$=[-3,n05,_MSEE,{[_e5]:_c5,[_hE5]:424},[_m4,_oSC,_oM],[0,1,0]];n0_registry5.registerError(ModelStreamErrorException$,ModelStreamErrorException);var ModelTimeoutException$=[-3,n05,_MTE,{[_e5]:_c5,[_hE5]:408},[_m4],[0]];n0_registry5.registerError(ModelTimeoutException$,ModelTimeoutException);var ResourceNotFoundException$2=[-3,n05,_RNFE2,{[_e5]:_c5,[_hE5]:404},[_m4],[0]];n0_registry5.registerError(ResourceNotFoundException$2,ResourceNotFoundException2);var ServiceQuotaExceededException$=[-3,n05,_SQEE,{[_e5]:_c5,[_hE5]:400},[_m4],[0]];n0_registry5.registerError(ServiceQuotaExceededException$,ServiceQuotaExceededException);var ServiceUnavailableException$=[-3,n05,_SUE,{[_e5]:_se3,[_hE5]:503},[_m4],[0]];n0_registry5.registerError(ServiceUnavailableException$,ServiceUnavailableException);var ThrottlingException$=[-3,n05,_TE,{[_e5]:_c5,[_hE5]:429},[_m4],[0]];n0_registry5.registerError(ThrottlingException$,ThrottlingException);var ValidationException$2=[-3,n05,_VE2,{[_e5]:_c5,[_hE5]:400},[_m4],[0]];n0_registry5.registerError(ValidationException$2,ValidationException2);var errorTypeRegistries5=[_s_registry5,n0_registry5],AsyncInvokeMessage=[0,n05,_AIM,8,0],Body=[0,n05,_B,8,21],GuardrailAutomatedReasoningStatementLogicContent=[0,n05,_GARSLC,8,0],GuardrailAutomatedReasoningStatementNaturalLanguageContent=[0,n05,_GARSNLC,8,0],GuardrailChecksTextContent=[0,n05,_GCTC,8,0],ModelInputPayload=[0,n05,_MIP,8,15],PartBody=[0,n05,_PB,8,21],RequestMetadataJson=[0,n05,_RMJ,8,0],AnyToolChoice$=[3,n05,_ATC,0,[],[]],AppliedGuardrailDetails$=[3,n05,_AGD,0,[_gI,_gV,_gA,_gO,_gOu],[0,0,0,64,0]],ApplyGuardrailRequest$=[3,n05,_AGR,0,[_gIu,_gV,_so,_co3,_oS],[[0,1],[0,1],0,[()=>GuardrailContentBlockList,0],0],4],ApplyGuardrailResponse$=[3,n05,_AGRp,0,[_u,_a2,_o,_as,_aR,_gC],[()=>GuardrailUsage$,0,()=>GuardrailOutputContentList,[()=>GuardrailAssessmentList,0],0,()=>GuardrailCoverage$],4],AsyncInvokeS3OutputDataConfig$=[3,n05,_AISODC,0,[_sU,_kKI,_bO],[0,0,0],1],AsyncInvokeSummary$=[3,n05,_AIS,0,[_iA,_mA,_sT3,_oDC,_cRT,_st,_fM,_lMT,_eT],[0,0,5,()=>AsyncInvokeOutputDataConfig$,0,0,[()=>AsyncInvokeMessage,0],5,5],4],AudioBlock$=[3,n05,_AB,0,[_f,_so,_e5],[0,[()=>AudioSource$,0],[()=>ErrorBlock$,0]],2],AutoToolChoice$=[3,n05,_ATCu,0,[],[]],BidirectionalInputPayloadPart$=[3,n05,_BIPP,8,[_b],[[()=>PartBody,0]]],BidirectionalOutputPayloadPart$=[3,n05,_BOPP,8,[_b],[[()=>PartBody,0]]],CacheDetail$=[3,n05,_CD,0,[_t,_iT3],[0,1],2],CachePointBlock$=[3,n05,_CPB,0,[_ty,_t],[0,0],1],Citation$=[3,n05,_C2,0,[_ti,_so,_sC,_l],[0,0,()=>CitationSourceContentList,()=>CitationLocation$]],CitationsConfig$=[3,n05,_CC,0,[_en],[2],1],CitationsContentBlock$=[3,n05,_CCB,0,[_co3,_ci],[()=>CitationGeneratedContentList,()=>Citations]],CitationsDelta$=[3,n05,_CDi,0,[_ti,_so,_sC,_l],[0,0,()=>CitationSourceContentListDelta,()=>CitationLocation$]],CitationSourceContentDelta$=[3,n05,_CSCD,0,[_te],[0]],ContentBlockDeltaEvent$=[3,n05,_CBDE,0,[_d,_cBI],[[()=>ContentBlockDelta$,0],1],2],ContentBlockStartEvent$=[3,n05,_CBSE,0,[_sta,_cBI],[()=>ContentBlockStart$,1],2],ContentBlockStopEvent$=[3,n05,_CBSEo,0,[_cBI],[1],1],ConverseMetrics$=[3,n05,_CM,0,[_lM],[1],1],ConverseRequest$=[3,n05,_CR,0,[_mI,_me,_sy,_iC,_tC,_gCu,_aMRF,_pV,_aMRFP,_rM,_pC,_sTe,_oC],[[0,1],[()=>Messages,0],[()=>SystemContentBlocks,0],()=>InferenceConfiguration$,()=>ToolConfiguration$,()=>GuardrailConfiguration$,15,[()=>PromptVariableMap,0],64,[()=>RequestMetadata,0],()=>PerformanceConfiguration$,()=>ServiceTier$,[()=>OutputConfig$,0]],1],ConverseResponse$=[3,n05,_CRo,0,[_ou,_sR,_u,_met,_aMRFd,_tr,_pC,_sTe],[[()=>ConverseOutput$,0],0,()=>TokenUsage$,()=>ConverseMetrics$,15,[()=>ConverseTrace$,0],()=>PerformanceConfiguration$,()=>ServiceTier$],4],ConverseStreamMetadataEvent$=[3,n05,_CSME,0,[_u,_met,_tr,_pC,_sTe],[()=>TokenUsage$,()=>ConverseStreamMetrics$,[()=>ConverseStreamTrace$,0],()=>PerformanceConfiguration$,()=>ServiceTier$],2],ConverseStreamMetrics$=[3,n05,_CSM,0,[_lM],[1],1],ConverseStreamRequest$=[3,n05,_CSR,0,[_mI,_me,_sy,_iC,_tC,_gCu,_aMRF,_pV,_aMRFP,_rM,_pC,_sTe,_oC],[[0,1],[()=>Messages,0],[()=>SystemContentBlocks,0],()=>InferenceConfiguration$,()=>ToolConfiguration$,()=>GuardrailStreamConfiguration$,15,[()=>PromptVariableMap,0],64,[()=>RequestMetadata,0],()=>PerformanceConfiguration$,()=>ServiceTier$,[()=>OutputConfig$,0]],1],ConverseStreamResponse$=[3,n05,_CSRo,0,[_str],[[()=>ConverseStreamOutput$,16]]],ConverseStreamTrace$=[3,n05,_CST,0,[_g,_pR],[[()=>GuardrailTraceAssessment$,0],()=>PromptRouterTrace$]],ConverseTokensRequest$=[3,n05,_CTR2,0,[_me,_sy,_tC,_aMRF],[[()=>Messages,0],[()=>SystemContentBlocks,0],()=>ToolConfiguration$,15]],ConverseTrace$=[3,n05,_CT2,0,[_g,_pR],[[()=>GuardrailTraceAssessment$,0],()=>PromptRouterTrace$]],CountTokensRequest$=[3,n05,_CTRo,0,[_mI,_i],[[0,1],[()=>CountTokensInput$,0]],2],CountTokensResponse$=[3,n05,_CTRou,0,[_iT3],[1],1],DocumentBlock$=[3,n05,_DB,0,[_n,_so,_f,_con,_ci],[0,()=>DocumentSource$,0,0,()=>CitationsConfig$],2],DocumentCharLocation$=[3,n05,_DCL,0,[_dI,_sta,_end],[1,1,1]],DocumentChunkLocation$=[3,n05,_DCLo,0,[_dI,_sta,_end],[1,1,1]],DocumentPageLocation$=[3,n05,_DPL,0,[_dI,_sta,_end],[1,1,1]],ErrorBlock$=[3,n05,_EB,8,[_m4],[0]],GetAsyncInvokeRequest$=[3,n05,_GAIR,0,[_iA],[[0,1]],1],GetAsyncInvokeResponse$=[3,n05,_GAIRe,0,[_iA,_mA,_st,_sT3,_oDC,_cRT,_fM,_lMT,_eT],[0,0,0,5,()=>AsyncInvokeOutputDataConfig$,0,[()=>AsyncInvokeMessage,0],5,5],5],GuardrailAssessment$=[3,n05,_GA,0,[_tP,_cP,_wP,_sIP,_cGP,_aRP,_iM,_aGD],[()=>GuardrailTopicPolicyAssessment$,()=>GuardrailContentPolicyAssessment$,()=>GuardrailWordPolicyAssessment$,()=>GuardrailSensitiveInformationPolicyAssessment$,()=>GuardrailContextualGroundingPolicyAssessment$,[()=>GuardrailAutomatedReasoningPolicyAssessment$,0],()=>GuardrailInvocationMetrics$,()=>AppliedGuardrailDetails$]],GuardrailAutomatedReasoningImpossibleFinding$=[3,n05,_GARIF,0,[_tra,_cR,_lW],[[()=>GuardrailAutomatedReasoningTranslation$,0],()=>GuardrailAutomatedReasoningRuleList,[()=>GuardrailAutomatedReasoningLogicWarning$,0]]],GuardrailAutomatedReasoningInputTextReference$=[3,n05,_GARITR,0,[_te],[[()=>GuardrailAutomatedReasoningStatementNaturalLanguageContent,0]]],GuardrailAutomatedReasoningInvalidFinding$=[3,n05,_GARIFu,0,[_tra,_cR,_lW],[[()=>GuardrailAutomatedReasoningTranslation$,0],()=>GuardrailAutomatedReasoningRuleList,[()=>GuardrailAutomatedReasoningLogicWarning$,0]]],GuardrailAutomatedReasoningLogicWarning$=[3,n05,_GARLW,0,[_ty,_p,_cl],[0,[()=>GuardrailAutomatedReasoningStatementList,0],[()=>GuardrailAutomatedReasoningStatementList,0]]],GuardrailAutomatedReasoningNoTranslationsFinding$=[3,n05,_GARNTF,0,[],[]],GuardrailAutomatedReasoningPolicyAssessment$=[3,n05,_GARPA,0,[_fi],[[()=>GuardrailAutomatedReasoningFindingList,0]]],GuardrailAutomatedReasoningRule$=[3,n05,_GARR,0,[_id,_pVA],[0,0]],GuardrailAutomatedReasoningSatisfiableFinding$=[3,n05,_GARSF,0,[_tra,_cTS,_cFS,_lW],[[()=>GuardrailAutomatedReasoningTranslation$,0],[()=>GuardrailAutomatedReasoningScenario$,0],[()=>GuardrailAutomatedReasoningScenario$,0],[()=>GuardrailAutomatedReasoningLogicWarning$,0]]],GuardrailAutomatedReasoningScenario$=[3,n05,_GARS,0,[_stat],[[()=>GuardrailAutomatedReasoningStatementList,0]]],GuardrailAutomatedReasoningStatement$=[3,n05,_GARSu,0,[_lo,_nL],[[()=>GuardrailAutomatedReasoningStatementLogicContent,0],[()=>GuardrailAutomatedReasoningStatementNaturalLanguageContent,0]]],GuardrailAutomatedReasoningTooComplexFinding$=[3,n05,_GARTCF,0,[],[]],GuardrailAutomatedReasoningTranslation$=[3,n05,_GART,0,[_p,_cl,_uP,_uC,_conf],[[()=>GuardrailAutomatedReasoningStatementList,0],[()=>GuardrailAutomatedReasoningStatementList,0],[()=>GuardrailAutomatedReasoningInputTextReferenceList,0],[()=>GuardrailAutomatedReasoningInputTextReferenceList,0],1]],GuardrailAutomatedReasoningTranslationAmbiguousFinding$=[3,n05,_GARTAF,0,[_op,_dS],[[()=>GuardrailAutomatedReasoningTranslationOptionList,0],[()=>GuardrailAutomatedReasoningDifferenceScenarioList,0]]],GuardrailAutomatedReasoningTranslationOption$=[3,n05,_GARTO,0,[_tran],[[()=>GuardrailAutomatedReasoningTranslationList,0]]],GuardrailAutomatedReasoningValidFinding$=[3,n05,_GARVF,0,[_tra,_cTS,_sRu,_lW],[[()=>GuardrailAutomatedReasoningTranslation$,0],[()=>GuardrailAutomatedReasoningScenario$,0],()=>GuardrailAutomatedReasoningRuleList,[()=>GuardrailAutomatedReasoningLogicWarning$,0]]],GuardrailChecksConfig$=[3,n05,_GCC,0,[_cF,_pA,_sI],[()=>GuardrailChecksContentFilterConfig$,()=>GuardrailChecksPromptAttackConfig$,()=>GuardrailChecksSensitiveInformationConfig$]],GuardrailChecksContentFilterCategoryConfig$=[3,n05,_GCCFCC,0,[_ca],[0],1],GuardrailChecksContentFilterConfig$=[3,n05,_GCCFC,0,[_cat],[()=>GuardrailChecksContentFilterCategoryConfigList],1],GuardrailChecksContentFilterResult$=[3,n05,_GCCFR,0,[_r3],[()=>GuardrailChecksContentFilterResultList],1],GuardrailChecksContentFilterResultEntry$=[3,n05,_GCCFRE,0,[_ca,_sS],[0,1],2],GuardrailChecksContentFilterUsage$=[3,n05,_GCCFU,0,[_tU],[1],1],GuardrailChecksMessage$=[3,n05,_GCM,0,[_ro,_co3],[0,[()=>GuardrailChecksContentBlockList,0]],2],GuardrailChecksPromptAttackCategoryConfig$=[3,n05,_GCPACC,0,[_ca],[0],1],GuardrailChecksPromptAttackConfig$=[3,n05,_GCPAC,0,[_cat],[()=>GuardrailChecksPromptAttackCategoryConfigList],1],GuardrailChecksPromptAttackResult$=[3,n05,_GCPAR,0,[_r3],[()=>GuardrailChecksPromptAttackResultList],1],GuardrailChecksPromptAttackResultEntry$=[3,n05,_GCPARE,0,[_ca,_sS],[0,1],2],GuardrailChecksPromptAttackUsage$=[3,n05,_GCPAU,0,[_tU],[1],1],GuardrailChecksResults$=[3,n05,_GCR,0,[_cF,_pA,_sI],[()=>GuardrailChecksContentFilterResult$,()=>GuardrailChecksPromptAttackResult$,()=>GuardrailChecksSensitiveInformationResult$]],GuardrailChecksSensitiveInformationConfig$=[3,n05,_GCSIC,0,[_ent],[()=>GuardrailChecksSensitiveInformationEntityConfigList],1],GuardrailChecksSensitiveInformationEntityConfig$=[3,n05,_GCSIEC,0,[_ty],[0],1],GuardrailChecksSensitiveInformationResult$=[3,n05,_GCSIR,0,[_r3,_tru],[()=>GuardrailChecksSensitiveInformationResultList,2],1],GuardrailChecksSensitiveInformationResultEntry$=[3,n05,_GCSIRE,0,[_ty,_cS2,_bOe,_eO,_mIe,_cI3],[0,1,1,1,1,1],6],GuardrailChecksSensitiveInformationUsage$=[3,n05,_GCSIU,0,[_tU],[1],1],GuardrailChecksUsageResults$=[3,n05,_GCUR,0,[_cF,_pA,_sI],[()=>GuardrailChecksContentFilterUsage$,()=>GuardrailChecksPromptAttackUsage$,()=>GuardrailChecksSensitiveInformationUsage$]],GuardrailConfiguration$=[3,n05,_GC,0,[_gIu,_gV,_tr],[0,0,0]],GuardrailContentFilter$=[3,n05,_GCF,0,[_ty,_conf,_a2,_fS,_de],[0,0,0,0,2],3],GuardrailContentPolicyAssessment$=[3,n05,_GCPA,0,[_fil],[()=>GuardrailContentFilterList],1],GuardrailContextualGroundingFilter$=[3,n05,_GCGF,0,[_ty,_th,_sc2,_a2,_de],[0,1,1,0,2],4],GuardrailContextualGroundingPolicyAssessment$=[3,n05,_GCGPA,0,[_fil],[()=>GuardrailContextualGroundingFilters]],GuardrailConverseImageBlock$=[3,n05,_GCIB,8,[_f,_so],[0,[()=>GuardrailConverseImageSource$,0]],2],GuardrailConverseTextBlock$=[3,n05,_GCTB,0,[_te,_q],[0,64],1],GuardrailCoverage$=[3,n05,_GCu,0,[_tCe,_im],[()=>GuardrailTextCharactersCoverage$,()=>GuardrailImageCoverage$]],GuardrailCustomWord$=[3,n05,_GCW,0,[_ma,_a2,_de],[0,0,2],2],GuardrailImageBlock$=[3,n05,_GIB,8,[_f,_so],[0,[()=>GuardrailImageSource$,0]],2],GuardrailImageCoverage$=[3,n05,_GIC,0,[_gu,_to],[1,1]],GuardrailInvocationMetrics$=[3,n05,_GIM,0,[_gPL,_u,_gC],[1,()=>GuardrailUsage$,()=>GuardrailCoverage$]],GuardrailManagedWord$=[3,n05,_GMW,0,[_ma,_ty,_a2,_de],[0,0,0,2],3],GuardrailOutputContent$=[3,n05,_GOC,0,[_te],[0]],GuardrailPiiEntityFilter$=[3,n05,_GPEF,0,[_ma,_ty,_a2,_de],[0,0,0,2],3],GuardrailRegexFilter$=[3,n05,_GRF,0,[_a2,_n,_ma,_re,_de],[0,0,0,0,2],1],GuardrailSensitiveInformationPolicyAssessment$=[3,n05,_GSIPA,0,[_pE,_reg],[()=>GuardrailPiiEntityFilterList,()=>GuardrailRegexFilterList],2],GuardrailStreamConfiguration$=[3,n05,_GSC,0,[_gIu,_gV,_tr,_sPM],[0,0,0,0]],GuardrailTextBlock$=[3,n05,_GTB,0,[_te,_q],[0,64],1],GuardrailTextCharactersCoverage$=[3,n05,_GTCC,0,[_gu,_to],[1,1]],GuardrailTopic$=[3,n05,_GT,0,[_n,_ty,_a2,_de],[0,0,0,2],3],GuardrailTopicPolicyAssessment$=[3,n05,_GTPA,0,[_top],[()=>GuardrailTopicList],1],GuardrailTraceAssessment$=[3,n05,_GTA,0,[_mO,_iAn,_oA,_aR],[64,[()=>GuardrailAssessmentMap,0],[()=>GuardrailAssessmentListMap,0],0]],GuardrailUsage$=[3,n05,_GU,0,[_tPU,_cPU,_wPU,_sIPU,_sIPFU,_cGPU,_cPIU,_aRPU,_aRPu],[1,1,1,1,1,1,1,1,1],6],GuardrailWordPolicyAssessment$=[3,n05,_GWPA,0,[_cW,_mWL],[()=>GuardrailCustomWordList,()=>GuardrailManagedWordList],2],ImageBlock$=[3,n05,_IB,0,[_f,_so,_e5],[0,[()=>ImageSource$,0],[()=>ErrorBlock$,0]],2],ImageBlockDelta$=[3,n05,_IBD,0,[_so,_e5],[[()=>ImageSource$,0],[()=>ErrorBlock$,0]]],ImageBlockStart$=[3,n05,_IBS,0,[_f],[0],1],InferenceConfiguration$=[3,n05,_IC,0,[_mT,_tem,_tPo,_sSt],[1,1,1,64]],InvokeGuardrailChecksRequest$=[3,n05,_IGCR,0,[_me,_ch],[[()=>GuardrailChecksMessageList,0],()=>GuardrailChecksConfig$],2],InvokeGuardrailChecksResponse$=[3,n05,_IGCRn,0,[_r3,_u],[()=>GuardrailChecksResults$,()=>GuardrailChecksUsageResults$],2],InvokeModelRequest$=[3,n05,_IMR,0,[_mI,_bo,_cT,_ac,_tr,_gIu,_gV,_pCL,_sTe,_rM],[[0,1],[()=>Body,16],[0,{[_hH2]:_CT_}],[0,{[_hH2]:_A2}],[0,{[_hH2]:_XABT}],[0,{[_hH2]:_XABG}],[0,{[_hH2]:_XABG_}],[0,{[_hH2]:_XABPL}],[0,{[_hH2]:_XABST}],[()=>RequestMetadataJson,{[_hH2]:_XABRM}]],1],InvokeModelResponse$=[3,n05,_IMRn,0,[_bo,_cT,_pCL,_sTe],[[()=>Body,16],[0,{[_hH2]:_CT_}],[0,{[_hH2]:_XABPL}],[0,{[_hH2]:_XABST}]],2],InvokeModelTokensRequest$=[3,n05,_IMTR,0,[_bo],[[()=>Body,0]],1],InvokeModelWithBidirectionalStreamRequest$=[3,n05,_IMWBSR,0,[_mI,_bo],[[0,1],[()=>InvokeModelWithBidirectionalStreamInput$,16]],2],InvokeModelWithBidirectionalStreamResponse$=[3,n05,_IMWBSRn,0,[_bo],[[()=>InvokeModelWithBidirectionalStreamOutput$,16]],1],InvokeModelWithResponseStreamRequest$=[3,n05,_IMWRSR,0,[_mI,_bo,_cT,_ac,_tr,_gIu,_gV,_pCL,_sTe,_rM],[[0,1],[()=>Body,16],[0,{[_hH2]:_CT_}],[0,{[_hH2]:_XABA}],[0,{[_hH2]:_XABT}],[0,{[_hH2]:_XABG}],[0,{[_hH2]:_XABG_}],[0,{[_hH2]:_XABPL}],[0,{[_hH2]:_XABST}],[()=>RequestMetadataJson,{[_hH2]:_XABRM}]],1],InvokeModelWithResponseStreamResponse$=[3,n05,_IMWRSRn,0,[_bo,_cT,_pCL,_sTe],[[()=>ResponseStream$,16],[0,{[_hH2]:_XABCT}],[0,{[_hH2]:_XABPL}],[0,{[_hH2]:_XABST}]],2],JsonSchemaDefinition$=[3,n05,_JSD,0,[_sch,_n,_des],[0,0,0],1],ListAsyncInvokesRequest$=[3,n05,_LAIR,0,[_sTA,_sTB,_sE,_mR,_nT,_sB,_sO],[[5,{[_hQ2]:_sTA}],[5,{[_hQ2]:_sTB}],[0,{[_hQ2]:_sE}],[1,{[_hQ2]:_mR}],[0,{[_hQ2]:_nT}],[0,{[_hQ2]:_sB}],[0,{[_hQ2]:_sO}]]],ListAsyncInvokesResponse$=[3,n05,_LAIRi,0,[_nT,_aIS],[0,[()=>AsyncInvokeSummaries,0]]],Message$=[3,n05,_M,0,[_ro,_co3],[0,[()=>ContentBlocks,0]],2],MessageStartEvent$=[3,n05,_MSE,0,[_ro],[0],1],MessageStopEvent$=[3,n05,_MSEe,0,[_sR,_aMRFd],[0,15],1],OutputConfig$=[3,n05,_OC,0,[_tF,_ef],[[()=>OutputFormat$,0],0]],OutputFormat$=[3,n05,_OF,0,[_ty,_stru],[0,[()=>OutputFormatStructure$,0]],2],PayloadPart$=[3,n05,_PP,8,[_b],[[()=>PartBody,0]]],PerformanceConfiguration$=[3,n05,_PC2,0,[_la],[0]],PromptRouterTrace$=[3,n05,_PRT,0,[_iMI],[0]],ReasoningTextBlock$=[3,n05,_RTB,8,[_te,_si],[0,0],1],S3Location$=[3,n05,_SL,0,[_ur,_bO],[0,0],1],SearchResultBlock$=[3,n05,_SRB,0,[_so,_ti,_co3,_ci],[0,0,()=>SearchResultContentBlocks,()=>CitationsConfig$],3],SearchResultContentBlock$=[3,n05,_SRCB,0,[_te],[0],1],SearchResultLocation$=[3,n05,_SRL,0,[_sRI,_sta,_end],[1,1,1]],ServiceTier$=[3,n05,_ST2,0,[_ty],[0],1],SpecificToolChoice$=[3,n05,_STC,0,[_n],[0],1],StartAsyncInvokeRequest$=[3,n05,_SAIR,0,[_mI,_mIo,_oDC,_cRT,_ta],[0,[()=>ModelInputPayload,0],()=>AsyncInvokeOutputDataConfig$,[0,4],()=>TagList],3],StartAsyncInvokeResponse$=[3,n05,_SAIRt,0,[_iA],[0],1],SystemTool$=[3,n05,_STy,0,[_n],[0],1],Tag$2=[3,n05,_T2,0,[_k,_v],[0,0],2],TokenUsage$=[3,n05,_TU,0,[_iT3,_oT,_tT3,_cRIT,_cWIT,_cD],[1,1,1,1,1,()=>CacheDetailsList],3],ToolAdditionBlock$=[3,n05,_TAB,0,[_too],[()=>ToolReference$],1],ToolConfiguration$=[3,n05,_TC2,0,[_tool,_tCo],[()=>Tools,()=>ToolChoice$],1],ToolReference$=[3,n05,_TR,0,[_ty,_n,_sN],[0,0,0]],ToolRemovalBlock$=[3,n05,_TRB,0,[_too],[()=>ToolReference$],1],ToolResultBlock$=[3,n05,_TRBo,0,[_tUI,_co3,_st,_ty],[0,[()=>ToolResultContentBlocks,0],0,0],2],ToolResultBlockStart$=[3,n05,_TRBS,0,[_tUI,_ty,_st],[0,0,0],1],ToolSpecification$=[3,n05,_TS,0,[_n,_iS,_des,_stri],[0,()=>ToolInputSchema$,0,2],2],ToolUseBlock$=[3,n05,_TUB,0,[_tUI,_n,_i,_ty],[0,0,15,0],3],ToolUseBlockDelta$=[3,n05,_TUBD,0,[_i],[0],1],ToolUseBlockStart$=[3,n05,_TUBS,0,[_tUI,_n,_ty],[0,0,0],2],VideoBlock$=[3,n05,_VB,0,[_f,_so],[0,()=>VideoSource$],2],WebLocation$=[3,n05,_WL,0,[_url,_do],[0,0]],AsyncInvokeSummaries=[1,n05,_AISs,0,[()=>AsyncInvokeSummary$,0]],CacheDetailsList=[1,n05,_CDL,0,()=>CacheDetail$],CitationGeneratedContentList=[1,n05,_CGCL,0,()=>CitationGeneratedContent$],Citations=[1,n05,_Ci,0,()=>Citation$],CitationSourceContentList=[1,n05,_CSCL,0,()=>CitationSourceContent$],CitationSourceContentListDelta=[1,n05,_CSCLD,0,()=>CitationSourceContentDelta$],ContentBlocks=[1,n05,_CB,0,[()=>ContentBlock$,0]],DocumentContentBlocks=[1,n05,_DCB,0,()=>DocumentContentBlock$],GuardrailAssessmentList=[1,n05,_GAL,0,[()=>GuardrailAssessment$,0]],GuardrailAutomatedReasoningDifferenceScenarioList=[1,n05,_GARDSL,0,[()=>GuardrailAutomatedReasoningScenario$,0]],GuardrailAutomatedReasoningFindingList=[1,n05,_GARFL,0,[()=>GuardrailAutomatedReasoningFinding$,0]],GuardrailAutomatedReasoningInputTextReferenceList=[1,n05,_GARITRL,0,[()=>GuardrailAutomatedReasoningInputTextReference$,0]],GuardrailAutomatedReasoningRuleList=[1,n05,_GARRL,0,()=>GuardrailAutomatedReasoningRule$],GuardrailAutomatedReasoningStatementList=[1,n05,_GARSL,0,[()=>GuardrailAutomatedReasoningStatement$,0]],GuardrailAutomatedReasoningTranslationList=[1,n05,_GARTL,0,[()=>GuardrailAutomatedReasoningTranslation$,0]],GuardrailAutomatedReasoningTranslationOptionList=[1,n05,_GARTOL,0,[()=>GuardrailAutomatedReasoningTranslationOption$,0]],GuardrailChecksContentBlockList=[1,n05,_GCCBL,0,[()=>GuardrailChecksContentBlock$,0]],GuardrailChecksContentFilterCategoryConfigList=[1,n05,_GCCFCCL,0,()=>GuardrailChecksContentFilterCategoryConfig$],GuardrailChecksContentFilterResultList=[1,n05,_GCCFRL,0,()=>GuardrailChecksContentFilterResultEntry$],GuardrailChecksMessageList=[1,n05,_GCML,0,[()=>GuardrailChecksMessage$,0]],GuardrailChecksPromptAttackCategoryConfigList=[1,n05,_GCPACCL,0,()=>GuardrailChecksPromptAttackCategoryConfig$],GuardrailChecksPromptAttackResultList=[1,n05,_GCPARL,0,()=>GuardrailChecksPromptAttackResultEntry$],GuardrailChecksSensitiveInformationEntityConfigList=[1,n05,_GCSIECL,0,()=>GuardrailChecksSensitiveInformationEntityConfig$],GuardrailChecksSensitiveInformationResultList=[1,n05,_GCSIRL,0,()=>GuardrailChecksSensitiveInformationResultEntry$],GuardrailContentBlockList=[1,n05,_GCBL,0,[()=>GuardrailContentBlock$,0]],GuardrailContentFilterList=[1,n05,_GCFL,0,()=>GuardrailContentFilter$],GuardrailContextualGroundingFilters=[1,n05,_GCGFu,0,()=>GuardrailContextualGroundingFilter$],GuardrailCustomWordList=[1,n05,_GCWL,0,()=>GuardrailCustomWord$],GuardrailManagedWordList=[1,n05,_GMWL,0,()=>GuardrailManagedWord$],GuardrailOutputContentList=[1,n05,_GOCL,0,()=>GuardrailOutputContent$],GuardrailPiiEntityFilterList=[1,n05,_GPEFL,0,()=>GuardrailPiiEntityFilter$],GuardrailRegexFilterList=[1,n05,_GRFL,0,()=>GuardrailRegexFilter$],GuardrailTopicList=[1,n05,_GTL,0,()=>GuardrailTopic$],Messages=[1,n05,_Me,0,[()=>Message$,0]],SearchResultContentBlocks=[1,n05,_SRCBe,0,()=>SearchResultContentBlock$],SystemContentBlocks=[1,n05,_SCB,0,[()=>SystemContentBlock$,0]],TagList=[1,n05,_TL,0,()=>Tag$2],ToolResultBlocksDelta=[1,n05,_TRBD,0,()=>ToolResultBlockDelta$],ToolResultContentBlocks=[1,n05,_TRCB,0,[()=>ToolResultContentBlock$,0]],Tools=[1,n05,_To,0,()=>Tool$],GuardrailAssessmentListMap=[2,n05,_GALM,0,[0,0],[()=>GuardrailAssessmentList,0]],GuardrailAssessmentMap=[2,n05,_GAM,0,[0,0],[()=>GuardrailAssessment$,0]],PromptVariableMap=[2,n05,_PVM,8,0,()=>PromptVariableValues$],RequestMetadata=[2,n05,_RM,8,0,0],AsyncInvokeOutputDataConfig$=[4,n05,_AIODC,0,[_sODC],[()=>AsyncInvokeS3OutputDataConfig$]],AudioSource$=[4,n05,_AS,8,[_b,_sL],[21,()=>S3Location$]],CitationGeneratedContent$=[4,n05,_CGC,0,[_te],[0]],CitationLocation$=[4,n05,_CL,0,[_w,_dC2,_dP,_dCo,_sRL],[()=>WebLocation$,()=>DocumentCharLocation$,()=>DocumentPageLocation$,()=>DocumentChunkLocation$,()=>SearchResultLocation$]],CitationSourceContent$=[4,n05,_CSC,0,[_te],[0]],ContentBlock$=[4,n05,_CBo,0,[_te,_ima,_doc,_vi,_au,_tUo,_tR,_gCua,_cPa,_rC2,_cC,_sRe,_tA,_tRo],[0,[()=>ImageBlock$,0],()=>DocumentBlock$,()=>VideoBlock$,[()=>AudioBlock$,0],()=>ToolUseBlock$,[()=>ToolResultBlock$,0],[()=>GuardrailConverseContentBlock$,0],()=>CachePointBlock$,[()=>ReasoningContentBlock$,0],()=>CitationsContentBlock$,()=>SearchResultBlock$,()=>ToolAdditionBlock$,()=>ToolRemovalBlock$]],ContentBlockDelta$=[4,n05,_CBD,0,[_te,_tUo,_tR,_rC2,_cit,_ima],[0,()=>ToolUseBlockDelta$,()=>ToolResultBlocksDelta,[()=>ReasoningContentBlockDelta$,0],()=>CitationsDelta$,[()=>ImageBlockDelta$,0]]],ContentBlockStart$=[4,n05,_CBS,0,[_tUo,_tR,_ima],[()=>ToolUseBlockStart$,()=>ToolResultBlockStart$,()=>ImageBlockStart$]],ConverseOutput$=[4,n05,_CO,0,[_m4],[[()=>Message$,0]]],ConverseStreamOutput$=[4,n05,_CSO,{[_stre]:1},[_mS,_cBS,_cBD,_cBSo,_mSe,_meta,_iSE,_mSEE,_vE,_tE,_sUE],[()=>MessageStartEvent$,()=>ContentBlockStartEvent$,[()=>ContentBlockDeltaEvent$,0],()=>ContentBlockStopEvent$,()=>MessageStopEvent$,[()=>ConverseStreamMetadataEvent$,0],[()=>InternalServerException$3,0],[()=>ModelStreamErrorException$,0],[()=>ValidationException$2,0],[()=>ThrottlingException$,0],[()=>ServiceUnavailableException$,0]]],CountTokensInput$=[4,n05,_CTI,0,[_iMn,_conv],[[()=>InvokeModelTokensRequest$,0],[()=>ConverseTokensRequest$,0]]],DocumentContentBlock$=[4,n05,_DCBo,0,[_te],[0]],DocumentSource$=[4,n05,_DS2,0,[_b,_sL,_te,_co3],[21,()=>S3Location$,0,()=>DocumentContentBlocks]],GuardrailAutomatedReasoningFinding$=[4,n05,_GARF,0,[_va,_in,_sa,_imp,_tAr,_tCoo,_nTo],[[()=>GuardrailAutomatedReasoningValidFinding$,0],[()=>GuardrailAutomatedReasoningInvalidFinding$,0],[()=>GuardrailAutomatedReasoningSatisfiableFinding$,0],[()=>GuardrailAutomatedReasoningImpossibleFinding$,0],[()=>GuardrailAutomatedReasoningTranslationAmbiguousFinding$,0],()=>GuardrailAutomatedReasoningTooComplexFinding$,()=>GuardrailAutomatedReasoningNoTranslationsFinding$]],GuardrailChecksContentBlock$=[4,n05,_GCCB,0,[_te],[[()=>GuardrailChecksTextContent,0]]],GuardrailContentBlock$=[4,n05,_GCB,0,[_te,_ima],[()=>GuardrailTextBlock$,[()=>GuardrailImageBlock$,0]]],GuardrailConverseContentBlock$=[4,n05,_GCCBu,0,[_te,_ima],[()=>GuardrailConverseTextBlock$,[()=>GuardrailConverseImageBlock$,0]]],GuardrailConverseImageSource$=[4,n05,_GCIS,8,[_b],[21]],GuardrailImageSource$=[4,n05,_GIS,8,[_b],[21]],ImageSource$=[4,n05,_IS,8,[_b,_sL],[21,()=>S3Location$]],InvokeModelWithBidirectionalStreamInput$=[4,n05,_IMWBSI,{[_stre]:1},[_chu],[[()=>BidirectionalInputPayloadPart$,0]]],InvokeModelWithBidirectionalStreamOutput$=[4,n05,_IMWBSO,{[_stre]:1},[_chu,_iSE,_mSEE,_vE,_tE,_mTE,_sUE],[[()=>BidirectionalOutputPayloadPart$,0],[()=>InternalServerException$3,0],[()=>ModelStreamErrorException$,0],[()=>ValidationException$2,0],[()=>ThrottlingException$,0],[()=>ModelTimeoutException$,0],[()=>ServiceUnavailableException$,0]]],OutputFormatStructure$=[4,n05,_OFS,8,[_jS],[()=>JsonSchemaDefinition$]],PromptVariableValues$=[4,n05,_PVV,0,[_te],[0]],ReasoningContentBlock$=[4,n05,_RCB,8,[_rT3,_rCe],[[()=>ReasoningTextBlock$,0],21]],ReasoningContentBlockDelta$=[4,n05,_RCBD,8,[_te,_rCe,_si],[0,21,0]],ResponseStream$=[4,n05,_RS,{[_stre]:1},[_chu,_iSE,_mSEE,_vE,_tE,_mTE,_sUE],[[()=>PayloadPart$,0],[()=>InternalServerException$3,0],[()=>ModelStreamErrorException$,0],[()=>ValidationException$2,0],[()=>ThrottlingException$,0],[()=>ModelTimeoutException$,0],[()=>ServiceUnavailableException$,0]]],SystemContentBlock$=[4,n05,_SCBy,0,[_te,_gCua,_cPa],[0,[()=>GuardrailConverseContentBlock$,0],()=>CachePointBlock$]],Tool$=[4,n05,_Too,0,[_tS,_sTy,_cPa],[()=>ToolSpecification$,()=>SystemTool$,()=>CachePointBlock$]],ToolChoice$=[4,n05,_TCo,0,[_aut,_an,_too],[()=>AutoToolChoice$,()=>AnyToolChoice$,()=>SpecificToolChoice$]],ToolInputSchema$=[4,n05,_TIS,0,[_j],[15]],ToolResultBlockDelta$=[4,n05,_TRBDo,0,[_te,_j],[0,15]],ToolResultContentBlock$=[4,n05,_TRCBo,0,[_j,_te,_ima,_doc,_vi,_sRe],[15,0,[()=>ImageBlock$,0],()=>DocumentBlock$,()=>VideoBlock$,()=>SearchResultBlock$]],VideoSource$=[4,n05,_VS,0,[_b,_sL],[21,()=>S3Location$]],ApplyGuardrail$=[9,n05,_AG,{[_h4]:["POST","/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply",200]},()=>ApplyGuardrailRequest$,()=>ApplyGuardrailResponse$],Converse$=[9,n05,_Co,{[_h4]:["POST","/model/{modelId}/converse",200]},()=>ConverseRequest$,()=>ConverseResponse$],ConverseStream$=[9,n05,_CS2,{[_h4]:["POST","/model/{modelId}/converse-stream",200]},()=>ConverseStreamRequest$,()=>ConverseStreamResponse$],CountTokens$=[9,n05,_CTo,{[_h4]:["POST","/model/{modelId}/count-tokens",200]},()=>CountTokensRequest$,()=>CountTokensResponse$],GetAsyncInvoke$=[9,n05,_GAI,{[_h4]:["GET","/async-invoke/{invocationArn}",200]},()=>GetAsyncInvokeRequest$,()=>GetAsyncInvokeResponse$],InvokeGuardrailChecks$=[9,n05,_IGC,{[_h4]:["POST","/guardrail-checks/invoke",200]},()=>InvokeGuardrailChecksRequest$,()=>InvokeGuardrailChecksResponse$],InvokeModel$=[9,n05,_IM,{[_h4]:["POST","/model/{modelId}/invoke",200]},()=>InvokeModelRequest$,()=>InvokeModelResponse$],InvokeModelWithBidirectionalStream$=[9,n05,_IMWBS,{[_h4]:["POST","/model/{modelId}/invoke-with-bidirectional-stream",200]},()=>InvokeModelWithBidirectionalStreamRequest$,()=>InvokeModelWithBidirectionalStreamResponse$],InvokeModelWithResponseStream$=[9,n05,_IMWRS,{[_h4]:["POST","/model/{modelId}/invoke-with-response-stream",200]},()=>InvokeModelWithResponseStreamRequest$,()=>InvokeModelWithResponseStreamResponse$],ListAsyncInvokes$=[9,n05,_LAI,{[_h4]:["GET","/async-invoke",200]},()=>ListAsyncInvokesRequest$,()=>ListAsyncInvokesResponse$],StartAsyncInvoke$=[9,n05,_SAI,{[_h4]:["POST","/async-invoke",200]},()=>StartAsyncInvokeRequest$,()=>StartAsyncInvokeResponse$],getRuntimeConfig$1=config=>({apiVersion:"2023-09-30",base64Decoder:config?.base64Decoder??fromBase642,base64Encoder:config?.base64Encoder??toBase643,disableHostPrefix:config?.disableHostPrefix??!1,endpointProvider:config?.endpointProvider??defaultEndpointResolver5,extensions:config?.extensions??[],httpAuthSchemeProvider:config?.httpAuthSchemeProvider??defaultBedrockRuntimeHttpAuthSchemeProvider,httpAuthSchemes:config?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:ipc=>ipc.getIdentityProvider("aws.auth#sigv4"),signer:new AwsSdkSigV4Signer2},{schemeId:"smithy.api#httpBearerAuth",identityProvider:ipc=>ipc.getIdentityProvider("smithy.api#httpBearerAuth"),signer:new HttpBearerAuthSigner2}],logger:config?.logger??new NoOpLogger2,protocol:config?.protocol??AwsRestJsonProtocol2,protocolSettings:config?.protocolSettings??{defaultNamespace:"com.amazonaws.bedrockruntime",errorTypeRegistries:errorTypeRegistries5,version:"2023-09-30",serviceTarget:"AmazonBedrockFrontendService"},serviceId:config?.serviceId??"Bedrock Runtime",sha256:config?.sha256??Sha256,urlParser:config?.urlParser??parseUrl2,utf8Decoder:config?.utf8Decoder??fromUtf83,utf8Encoder:config?.utf8Encoder??toUtf83}),getRuntimeConfig9=config=>{emitWarningIfUnsupportedVersion3(process.version);let defaultsMode=resolveDefaultsModeConfig2(config),defaultConfigProvider=()=>defaultsMode().then(loadConfigsForDefaultMode2),clientSharedValues=getRuntimeConfig$1(config);emitWarningIfUnsupportedVersion$1(process.version);let loaderConfig={profile:config?.profile,logger:clientSharedValues.logger,signingName:"bedrock"};return{...clientSharedValues,...config,runtime:"node",defaultsMode,authSchemePreference:config?.authSchemePreference??loadConfig2(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS2,loaderConfig),bodyLengthChecker:config?.bodyLengthChecker??calculateBodyLength2,credentialDefaultProvider:config?.credentialDefaultProvider??defaultProvider,defaultUserAgentProvider:config?.defaultUserAgentProvider??createDefaultUserAgentProvider2({serviceId:clientSharedValues.serviceId,clientVersion:packageInfo.version}),eventStreamPayloadHandlerProvider:config?.eventStreamPayloadHandlerProvider??eventStreamPayloadHandlerProvider,eventStreamSerdeProvider:config?.eventStreamSerdeProvider??eventStreamSerdeProvider3,httpAuthSchemes:config?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:ipc=>ipc.getIdentityProvider("aws.auth#sigv4"),signer:new AwsSdkSigV4Signer2},{schemeId:"smithy.api#httpBearerAuth",identityProvider:ipc=>ipc.getIdentityProvider("smithy.api#httpBearerAuth")||(async idProps=>{try{return await fromEnvSigningName({signingName:"bedrock"})()}catch{return await nodeProvider(idProps)(idProps)}}),signer:new HttpBearerAuthSigner2}],maxAttempts:config?.maxAttempts??loadConfig2(NODE_MAX_ATTEMPT_CONFIG_OPTIONS2,config),region:config?.region??loadConfig2(NODE_REGION_CONFIG_OPTIONS2,{...NODE_REGION_CONFIG_FILE_OPTIONS2,...loaderConfig}),requestHandler:NodeHttp2Handler.create(config?.requestHandler??(async()=>({...await defaultConfigProvider(),disableConcurrentStreams:!0}))),retryMode:config?.retryMode??loadConfig2({...NODE_RETRY_MODE_CONFIG_OPTIONS2,default:async()=>(await defaultConfigProvider()).retryMode||DEFAULT_RETRY_MODE2},config),streamCollector:config?.streamCollector??streamCollector7,useDualstackEndpoint:config?.useDualstackEndpoint??loadConfig2(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS2,loaderConfig),useFipsEndpoint:config?.useFipsEndpoint??loadConfig2(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS2,loaderConfig),userAgentAppId:config?.userAgentAppId??loadConfig2(NODE_APP_ID_CONFIG_OPTIONS2,loaderConfig)}},getHttpAuthExtensionConfiguration5=runtimeConfig=>{let _httpAuthSchemes=runtimeConfig.httpAuthSchemes,_httpAuthSchemeProvider=runtimeConfig.httpAuthSchemeProvider,_credentials=runtimeConfig.credentials,_token=runtimeConfig.token;return{setHttpAuthScheme(httpAuthScheme){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},setToken(token){_token=token},token(){return _token}}},resolveHttpAuthRuntimeConfig5=config=>({httpAuthSchemes:config.httpAuthSchemes(),httpAuthSchemeProvider:config.httpAuthSchemeProvider(),credentials:config.credentials(),token:config.token()}),resolveRuntimeExtensions5=(runtimeConfig,extensions)=>{let extensionConfiguration=Object.assign(getAwsRegionExtensionConfiguration2(runtimeConfig),getDefaultExtensionConfiguration2(runtimeConfig),getHttpHandlerExtensionConfiguration2(runtimeConfig),getHttpAuthExtensionConfiguration5(runtimeConfig));return extensions.forEach(extension=>extension.configure(extensionConfiguration)),Object.assign(runtimeConfig,resolveAwsRegionExtensionConfiguration2(extensionConfiguration),resolveDefaultRuntimeConfig2(extensionConfiguration),resolveHttpHandlerRuntimeConfig2(extensionConfiguration),resolveHttpAuthRuntimeConfig5(extensionConfiguration))},BedrockRuntimeClient2=class extends Client2{config;constructor(...[configuration]){let _config_0=getRuntimeConfig9(configuration||{});super(_config_0),this.initConfig=_config_0;let _config_1=resolveClientEndpointParameters5(_config_0),_config_2=resolveUserAgentConfig2(_config_1),_config_3=resolveRetryConfig2(_config_2),_config_4=resolveRegionConfig2(_config_3),_config_5=resolveHostHeaderConfig2(_config_4),_config_6=resolveEndpointConfig2(_config_5),_config_7=resolveEventStreamSerdeConfig2(_config_6),_config_8=resolveHttpAuthSchemeConfig5(_config_7),_config_9=resolveEventStreamConfig(_config_8),_config_10=resolveWebSocketConfig(_config_9),_config_11=resolveRuntimeExtensions5(_config_10,configuration?.extensions||[]);this.config=_config_11,this.middlewareStack.use(getSchemaSerdePlugin2(this.config)),this.middlewareStack.use(getUserAgentPlugin2(this.config)),this.middlewareStack.use(getRetryPlugin2(this.config)),this.middlewareStack.use(getContentLengthPlugin2(this.config)),this.middlewareStack.use(getHostHeaderPlugin2(this.config)),this.middlewareStack.use(getLoggerPlugin2(this.config)),this.middlewareStack.use(getRecursionDetectionPlugin2(this.config)),this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin2(this.config,{httpAuthSchemeParametersProvider:defaultBedrockRuntimeHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async config=>new DefaultIdentityProviderConfig2({"aws.auth#sigv4":config.credentials,"smithy.api#httpBearerAuth":config.token})})),this.middlewareStack.use(getHttpSigningPlugin2(this.config))}destroy(){super.destroy()}},command5=makeBuilder2(commonParams5,"AmazonBedrockFrontendService","BedrockRuntimeClient",getEndpointPlugin2),_ep05={},_mw05=(Command2,cs,config,o3)=>[],_mw1=(Command2,cs,config,o3)=>[getEventStreamPlugin(config),getWebSocketPlugin(config,{headerPrefix:"x-amz-bedrock-"})],ApplyGuardrailCommand=class extends command5(_ep05,_mw05,"ApplyGuardrail",ApplyGuardrail$){},ConverseCommand=class extends command5(_ep05,_mw05,"Converse",Converse$){},ConverseStreamCommand2=class extends command5(_ep05,_mw05,"ConverseStream",ConverseStream$){},CountTokensCommand=class extends command5(_ep05,_mw05,"CountTokens",CountTokens$){},GetAsyncInvokeCommand=class extends command5(_ep05,_mw05,"GetAsyncInvoke",GetAsyncInvoke$){},InvokeGuardrailChecksCommand=class extends command5(_ep05,_mw05,"InvokeGuardrailChecks",InvokeGuardrailChecks$){},InvokeModelCommand=class extends command5(_ep05,_mw05,"InvokeModel",InvokeModel$){},InvokeModelWithBidirectionalStreamCommand=class extends command5(_ep05,_mw1,"InvokeModelWithBidirectionalStream",InvokeModelWithBidirectionalStream$){},InvokeModelWithResponseStreamCommand=class extends command5(_ep05,_mw05,"InvokeModelWithResponseStream",InvokeModelWithResponseStream$){},ListAsyncInvokesCommand=class extends command5(_ep05,_mw05,"ListAsyncInvokes",ListAsyncInvokes$){},StartAsyncInvokeCommand=class extends command5(_ep05,_mw05,"StartAsyncInvoke",StartAsyncInvoke$){},paginateListAsyncInvokes=createPaginator2(BedrockRuntimeClient2,ListAsyncInvokesCommand,"nextToken","nextToken","maxResults"),commands5={ApplyGuardrailCommand,ConverseCommand,ConverseStreamCommand:ConverseStreamCommand2,CountTokensCommand,GetAsyncInvokeCommand,InvokeGuardrailChecksCommand,InvokeModelCommand,InvokeModelWithBidirectionalStreamCommand,InvokeModelWithResponseStreamCommand,ListAsyncInvokesCommand,StartAsyncInvokeCommand},paginators={paginateListAsyncInvokes},BedrockRuntime=class extends BedrockRuntimeClient2{};createAggregatedClient2(commands5,BedrockRuntime,{paginators});var AsyncInvokeStatus={COMPLETED:"Completed",FAILED:"Failed",IN_PROGRESS:"InProgress"},SortAsyncInvocationBy={SUBMISSION_TIME:"SubmissionTime"},SortOrder={ASCENDING:"Ascending",DESCENDING:"Descending"},GuardrailImageFormat={JPEG:"jpeg",PNG:"png"},GuardrailContentQualifier={GROUNDING_SOURCE:"grounding_source",GUARD_CONTENT:"guard_content",QUERY:"query"},GuardrailOutputScope={FULL:"FULL",INTERVENTIONS:"INTERVENTIONS"},GuardrailContentSource={INPUT:"INPUT",OUTPUT:"OUTPUT"},GuardrailAction={GUARDRAIL_INTERVENED:"GUARDRAIL_INTERVENED",NONE:"NONE"},GuardrailOrigin={ACCOUNT_ENFORCED:"ACCOUNT_ENFORCED",ORGANIZATION_ENFORCED:"ORGANIZATION_ENFORCED",REQUEST:"REQUEST"},GuardrailOwnership={CROSS_ACCOUNT:"CROSS_ACCOUNT",SELF:"SELF"},GuardrailAutomatedReasoningLogicWarningType={ALWAYS_FALSE:"ALWAYS_FALSE",ALWAYS_TRUE:"ALWAYS_TRUE"},GuardrailContentPolicyAction={BLOCKED:"BLOCKED",NONE:"NONE"},GuardrailContentFilterConfidence={HIGH:"HIGH",LOW:"LOW",MEDIUM:"MEDIUM",NONE:"NONE"},GuardrailContentFilterStrength={HIGH:"HIGH",LOW:"LOW",MEDIUM:"MEDIUM",NONE:"NONE"},GuardrailContentFilterType={HATE:"HATE",INSULTS:"INSULTS",MISCONDUCT:"MISCONDUCT",PROMPT_ATTACK:"PROMPT_ATTACK",SEXUAL:"SEXUAL",VIOLENCE:"VIOLENCE"},GuardrailContextualGroundingPolicyAction={BLOCKED:"BLOCKED",NONE:"NONE"},GuardrailContextualGroundingFilterType={GROUNDING:"GROUNDING",RELEVANCE:"RELEVANCE"},GuardrailSensitiveInformationPolicyAction={ANONYMIZED:"ANONYMIZED",BLOCKED:"BLOCKED",NONE:"NONE"},GuardrailPiiEntityType={ADDRESS:"ADDRESS",AGE:"AGE",AWS_ACCESS_KEY:"AWS_ACCESS_KEY",AWS_SECRET_KEY:"AWS_SECRET_KEY",CA_HEALTH_NUMBER:"CA_HEALTH_NUMBER",CA_SOCIAL_INSURANCE_NUMBER:"CA_SOCIAL_INSURANCE_NUMBER",CREDIT_DEBIT_CARD_CVV:"CREDIT_DEBIT_CARD_CVV",CREDIT_DEBIT_CARD_EXPIRY:"CREDIT_DEBIT_CARD_EXPIRY",CREDIT_DEBIT_CARD_NUMBER:"CREDIT_DEBIT_CARD_NUMBER",DRIVER_ID:"DRIVER_ID",EMAIL:"EMAIL",INTERNATIONAL_BANK_ACCOUNT_NUMBER:"INTERNATIONAL_BANK_ACCOUNT_NUMBER",IP_ADDRESS:"IP_ADDRESS",LICENSE_PLATE:"LICENSE_PLATE",MAC_ADDRESS:"MAC_ADDRESS",NAME:"NAME",PASSWORD:"PASSWORD",PHONE:"PHONE",PIN:"PIN",SWIFT_CODE:"SWIFT_CODE",UK_NATIONAL_HEALTH_SERVICE_NUMBER:"UK_NATIONAL_HEALTH_SERVICE_NUMBER",UK_NATIONAL_INSURANCE_NUMBER:"UK_NATIONAL_INSURANCE_NUMBER",UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER:"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",URL:"URL",USERNAME:"USERNAME",US_BANK_ACCOUNT_NUMBER:"US_BANK_ACCOUNT_NUMBER",US_BANK_ROUTING_NUMBER:"US_BANK_ROUTING_NUMBER",US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER:"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",US_PASSPORT_NUMBER:"US_PASSPORT_NUMBER",US_SOCIAL_SECURITY_NUMBER:"US_SOCIAL_SECURITY_NUMBER",VEHICLE_IDENTIFICATION_NUMBER:"VEHICLE_IDENTIFICATION_NUMBER"},GuardrailTopicPolicyAction={BLOCKED:"BLOCKED",NONE:"NONE"},GuardrailTopicType={DENY:"DENY"},GuardrailWordPolicyAction={BLOCKED:"BLOCKED",NONE:"NONE"},GuardrailManagedWordType={PROFANITY:"PROFANITY"},GuardrailChecksContentFilterCategory={HATE:"HATE",INSULTS:"INSULTS",MISCONDUCT:"MISCONDUCT",SEXUAL:"SEXUAL",VIOLENCE:"VIOLENCE"},GuardrailChecksPromptAttackCategory={JAILBREAK:"JAILBREAK",PROMPT_INJECTION:"PROMPT_INJECTION",PROMPT_LEAKAGE:"PROMPT_LEAKAGE"},GuardrailChecksSensitiveInformationEntityType={ADDRESS:"ADDRESS",AGE:"AGE",AWS_ACCESS_KEY:"AWS_ACCESS_KEY",AWS_SECRET_KEY:"AWS_SECRET_KEY",CA_HEALTH_NUMBER:"CA_HEALTH_NUMBER",CA_SOCIAL_INSURANCE_NUMBER:"CA_SOCIAL_INSURANCE_NUMBER",CREDIT_DEBIT_CARD_CVV:"CREDIT_DEBIT_CARD_CVV",CREDIT_DEBIT_CARD_EXPIRY:"CREDIT_DEBIT_CARD_EXPIRY",CREDIT_DEBIT_CARD_NUMBER:"CREDIT_DEBIT_CARD_NUMBER",DRIVER_ID:"DRIVER_ID",EMAIL:"EMAIL",INTERNATIONAL_BANK_ACCOUNT_NUMBER:"INTERNATIONAL_BANK_ACCOUNT_NUMBER",IP_ADDRESS:"IP_ADDRESS",LICENSE_PLATE:"LICENSE_PLATE",MAC_ADDRESS:"MAC_ADDRESS",NAME:"NAME",PASSWORD:"PASSWORD",PHONE:"PHONE",PIN:"PIN",SWIFT_CODE:"SWIFT_CODE",UK_NATIONAL_HEALTH_SERVICE_NUMBER:"UK_NATIONAL_HEALTH_SERVICE_NUMBER",UK_NATIONAL_INSURANCE_NUMBER:"UK_NATIONAL_INSURANCE_NUMBER",UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER:"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",URL:"URL",USERNAME:"USERNAME",US_BANK_ACCOUNT_NUMBER:"US_BANK_ACCOUNT_NUMBER",US_BANK_ROUTING_NUMBER:"US_BANK_ROUTING_NUMBER",US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER:"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",US_PASSPORT_NUMBER:"US_PASSPORT_NUMBER",US_SOCIAL_SECURITY_NUMBER:"US_SOCIAL_SECURITY_NUMBER",VEHICLE_IDENTIFICATION_NUMBER:"VEHICLE_IDENTIFICATION_NUMBER"},GuardrailChecksRole={ASSISTANT:"assistant",SYSTEM:"system",USER:"user"},GuardrailTrace={DISABLED:"disabled",ENABLED:"enabled",ENABLED_FULL:"enabled_full"},AudioFormat={AAC:"aac",FLAC:"flac",M4A:"m4a",MKA:"mka",MKV:"mkv",MP3:"mp3",MP4:"mp4",MPEG:"mpeg",MPGA:"mpga",OGG:"ogg",OPUS:"opus",PCM:"pcm",WAV:"wav",WEBM:"webm",X_AAC:"x-aac"},CacheTTL2={FIVE_MINUTES:"5m",ONE_HOUR:"1h"},CachePointType2={DEFAULT:"default"},DocumentFormat={CSV:"csv",DOC:"doc",DOCX:"docx",HTML:"html",MD:"md",PDF:"pdf",TXT:"txt",XLS:"xls",XLSX:"xlsx"},GuardrailConverseImageFormat={JPEG:"jpeg",PNG:"png"},GuardrailConverseContentQualifier={GROUNDING_SOURCE:"grounding_source",GUARD_CONTENT:"guard_content",QUERY:"query"},ImageFormat2={GIF:"gif",JPEG:"jpeg",PNG:"png",WEBP:"webp"},VideoFormat={FLV:"flv",MKV:"mkv",MOV:"mov",MP4:"mp4",MPEG:"mpeg",MPG:"mpg",THREE_GP:"three_gp",WEBM:"webm",WMV:"wmv"},ToolResultStatus2={ERROR:"error",SUCCESS:"success"},ToolUseType={SERVER_TOOL_USE:"server_tool_use"},ConversationRole2={ASSISTANT:"assistant",SYSTEM:"system",USER:"user"},OutputFormatType={JSON_SCHEMA:"json_schema"},PerformanceConfigLatency={OPTIMIZED:"optimized",STANDARD:"standard"},ServiceTierType={DEFAULT:"default",FLEX:"flex",PRIORITY:"priority",RESERVED:"reserved"},StopReason={CONTENT_FILTERED:"content_filtered",END_TURN:"end_turn",GUARDRAIL_INTERVENED:"guardrail_intervened",MALFORMED_MODEL_OUTPUT:"malformed_model_output",MALFORMED_TOOL_USE:"malformed_tool_use",MAX_TOKENS:"max_tokens",MODEL_CONTEXT_WINDOW_EXCEEDED:"model_context_window_exceeded",STOP_SEQUENCE:"stop_sequence",TOOL_USE:"tool_use"},GuardrailStreamProcessingMode={ASYNC:"async",SYNC:"sync"},Trace={DISABLED:"DISABLED",ENABLED:"ENABLED",ENABLED_FULL:"ENABLED_FULL"};exports.AccessDeniedException=AccessDeniedException3;exports.AccessDeniedException$=AccessDeniedException$3;exports.AnyToolChoice$=AnyToolChoice$;exports.AppliedGuardrailDetails$=AppliedGuardrailDetails$;exports.ApplyGuardrail$=ApplyGuardrail$;exports.ApplyGuardrailCommand=ApplyGuardrailCommand;exports.ApplyGuardrailRequest$=ApplyGuardrailRequest$;exports.ApplyGuardrailResponse$=ApplyGuardrailResponse$;exports.AsyncInvokeOutputDataConfig$=AsyncInvokeOutputDataConfig$;exports.AsyncInvokeS3OutputDataConfig$=AsyncInvokeS3OutputDataConfig$;exports.AsyncInvokeStatus=AsyncInvokeStatus;exports.AsyncInvokeSummary$=AsyncInvokeSummary$;exports.AudioBlock$=AudioBlock$;exports.AudioFormat=AudioFormat;exports.AudioSource$=AudioSource$;exports.AutoToolChoice$=AutoToolChoice$;exports.BedrockRuntime=BedrockRuntime;exports.BedrockRuntimeClient=BedrockRuntimeClient2;exports.BedrockRuntimeServiceException=BedrockRuntimeServiceException2;exports.BedrockRuntimeServiceException$=BedrockRuntimeServiceException$;exports.BidirectionalInputPayloadPart$=BidirectionalInputPayloadPart$;exports.BidirectionalOutputPayloadPart$=BidirectionalOutputPayloadPart$;exports.CacheDetail$=CacheDetail$;exports.CachePointBlock$=CachePointBlock$;exports.CachePointType=CachePointType2;exports.CacheTTL=CacheTTL2;exports.Citation$=Citation$;exports.CitationGeneratedContent$=CitationGeneratedContent$;exports.CitationLocation$=CitationLocation$;exports.CitationSourceContent$=CitationSourceContent$;exports.CitationSourceContentDelta$=CitationSourceContentDelta$;exports.CitationsConfig$=CitationsConfig$;exports.CitationsContentBlock$=CitationsContentBlock$;exports.CitationsDelta$=CitationsDelta$;exports.ConflictException=ConflictException;exports.ConflictException$=ConflictException$;exports.ContentBlock$=ContentBlock$;exports.ContentBlockDelta$=ContentBlockDelta$;exports.ContentBlockDeltaEvent$=ContentBlockDeltaEvent$;exports.ContentBlockStart$=ContentBlockStart$;exports.ContentBlockStartEvent$=ContentBlockStartEvent$;exports.ContentBlockStopEvent$=ContentBlockStopEvent$;exports.ConversationRole=ConversationRole2;exports.Converse$=Converse$;exports.ConverseCommand=ConverseCommand;exports.ConverseMetrics$=ConverseMetrics$;exports.ConverseOutput$=ConverseOutput$;exports.ConverseRequest$=ConverseRequest$;exports.ConverseResponse$=ConverseResponse$;exports.ConverseStream$=ConverseStream$;exports.ConverseStreamCommand=ConverseStreamCommand2;exports.ConverseStreamMetadataEvent$=ConverseStreamMetadataEvent$;exports.ConverseStreamMetrics$=ConverseStreamMetrics$;exports.ConverseStreamOutput$=ConverseStreamOutput$;exports.ConverseStreamRequest$=ConverseStreamRequest$;exports.ConverseStreamResponse$=ConverseStreamResponse$;exports.ConverseStreamTrace$=ConverseStreamTrace$;exports.ConverseTokensRequest$=ConverseTokensRequest$;exports.ConverseTrace$=ConverseTrace$;exports.CountTokens$=CountTokens$;exports.CountTokensCommand=CountTokensCommand;exports.CountTokensInput$=CountTokensInput$;exports.CountTokensRequest$=CountTokensRequest$;exports.CountTokensResponse$=CountTokensResponse$;exports.DocumentBlock$=DocumentBlock$;exports.DocumentCharLocation$=DocumentCharLocation$;exports.DocumentChunkLocation$=DocumentChunkLocation$;exports.DocumentContentBlock$=DocumentContentBlock$;exports.DocumentFormat=DocumentFormat;exports.DocumentPageLocation$=DocumentPageLocation$;exports.DocumentSource$=DocumentSource$;exports.ErrorBlock$=ErrorBlock$;exports.GetAsyncInvoke$=GetAsyncInvoke$;exports.GetAsyncInvokeCommand=GetAsyncInvokeCommand;exports.GetAsyncInvokeRequest$=GetAsyncInvokeRequest$;exports.GetAsyncInvokeResponse$=GetAsyncInvokeResponse$;exports.GuardrailAction=GuardrailAction;exports.GuardrailAssessment$=GuardrailAssessment$;exports.GuardrailAutomatedReasoningFinding$=GuardrailAutomatedReasoningFinding$;exports.GuardrailAutomatedReasoningImpossibleFinding$=GuardrailAutomatedReasoningImpossibleFinding$;exports.GuardrailAutomatedReasoningInputTextReference$=GuardrailAutomatedReasoningInputTextReference$;exports.GuardrailAutomatedReasoningInvalidFinding$=GuardrailAutomatedReasoningInvalidFinding$;exports.GuardrailAutomatedReasoningLogicWarning$=GuardrailAutomatedReasoningLogicWarning$;exports.GuardrailAutomatedReasoningLogicWarningType=GuardrailAutomatedReasoningLogicWarningType;exports.GuardrailAutomatedReasoningNoTranslationsFinding$=GuardrailAutomatedReasoningNoTranslationsFinding$;exports.GuardrailAutomatedReasoningPolicyAssessment$=GuardrailAutomatedReasoningPolicyAssessment$;exports.GuardrailAutomatedReasoningRule$=GuardrailAutomatedReasoningRule$;exports.GuardrailAutomatedReasoningSatisfiableFinding$=GuardrailAutomatedReasoningSatisfiableFinding$;exports.GuardrailAutomatedReasoningScenario$=GuardrailAutomatedReasoningScenario$;exports.GuardrailAutomatedReasoningStatement$=GuardrailAutomatedReasoningStatement$;exports.GuardrailAutomatedReasoningTooComplexFinding$=GuardrailAutomatedReasoningTooComplexFinding$;exports.GuardrailAutomatedReasoningTranslation$=GuardrailAutomatedReasoningTranslation$;exports.GuardrailAutomatedReasoningTranslationAmbiguousFinding$=GuardrailAutomatedReasoningTranslationAmbiguousFinding$;exports.GuardrailAutomatedReasoningTranslationOption$=GuardrailAutomatedReasoningTranslationOption$;exports.GuardrailAutomatedReasoningValidFinding$=GuardrailAutomatedReasoningValidFinding$;exports.GuardrailChecksConfig$=GuardrailChecksConfig$;exports.GuardrailChecksContentBlock$=GuardrailChecksContentBlock$;exports.GuardrailChecksContentFilterCategory=GuardrailChecksContentFilterCategory;exports.GuardrailChecksContentFilterCategoryConfig$=GuardrailChecksContentFilterCategoryConfig$;exports.GuardrailChecksContentFilterConfig$=GuardrailChecksContentFilterConfig$;exports.GuardrailChecksContentFilterResult$=GuardrailChecksContentFilterResult$;exports.GuardrailChecksContentFilterResultEntry$=GuardrailChecksContentFilterResultEntry$;exports.GuardrailChecksContentFilterUsage$=GuardrailChecksContentFilterUsage$;exports.GuardrailChecksMessage$=GuardrailChecksMessage$;exports.GuardrailChecksPromptAttackCategory=GuardrailChecksPromptAttackCategory;exports.GuardrailChecksPromptAttackCategoryConfig$=GuardrailChecksPromptAttackCategoryConfig$;exports.GuardrailChecksPromptAttackConfig$=GuardrailChecksPromptAttackConfig$;exports.GuardrailChecksPromptAttackResult$=GuardrailChecksPromptAttackResult$;exports.GuardrailChecksPromptAttackResultEntry$=GuardrailChecksPromptAttackResultEntry$;exports.GuardrailChecksPromptAttackUsage$=GuardrailChecksPromptAttackUsage$;exports.GuardrailChecksResults$=GuardrailChecksResults$;exports.GuardrailChecksRole=GuardrailChecksRole;exports.GuardrailChecksSensitiveInformationConfig$=GuardrailChecksSensitiveInformationConfig$;exports.GuardrailChecksSensitiveInformationEntityConfig$=GuardrailChecksSensitiveInformationEntityConfig$;exports.GuardrailChecksSensitiveInformationEntityType=GuardrailChecksSensitiveInformationEntityType;exports.GuardrailChecksSensitiveInformationResult$=GuardrailChecksSensitiveInformationResult$;exports.GuardrailChecksSensitiveInformationResultEntry$=GuardrailChecksSensitiveInformationResultEntry$;exports.GuardrailChecksSensitiveInformationUsage$=GuardrailChecksSensitiveInformationUsage$;exports.GuardrailChecksUsageResults$=GuardrailChecksUsageResults$;exports.GuardrailConfiguration$=GuardrailConfiguration$;exports.GuardrailContentBlock$=GuardrailContentBlock$;exports.GuardrailContentFilter$=GuardrailContentFilter$;exports.GuardrailContentFilterConfidence=GuardrailContentFilterConfidence;exports.GuardrailContentFilterStrength=GuardrailContentFilterStrength;exports.GuardrailContentFilterType=GuardrailContentFilterType;exports.GuardrailContentPolicyAction=GuardrailContentPolicyAction;exports.GuardrailContentPolicyAssessment$=GuardrailContentPolicyAssessment$;exports.GuardrailContentQualifier=GuardrailContentQualifier;exports.GuardrailContentSource=GuardrailContentSource;exports.GuardrailContextualGroundingFilter$=GuardrailContextualGroundingFilter$;exports.GuardrailContextualGroundingFilterType=GuardrailContextualGroundingFilterType;exports.GuardrailContextualGroundingPolicyAction=GuardrailContextualGroundingPolicyAction;exports.GuardrailContextualGroundingPolicyAssessment$=GuardrailContextualGroundingPolicyAssessment$;exports.GuardrailConverseContentBlock$=GuardrailConverseContentBlock$;exports.GuardrailConverseContentQualifier=GuardrailConverseContentQualifier;exports.GuardrailConverseImageBlock$=GuardrailConverseImageBlock$;exports.GuardrailConverseImageFormat=GuardrailConverseImageFormat;exports.GuardrailConverseImageSource$=GuardrailConverseImageSource$;exports.GuardrailConverseTextBlock$=GuardrailConverseTextBlock$;exports.GuardrailCoverage$=GuardrailCoverage$;exports.GuardrailCustomWord$=GuardrailCustomWord$;exports.GuardrailImageBlock$=GuardrailImageBlock$;exports.GuardrailImageCoverage$=GuardrailImageCoverage$;exports.GuardrailImageFormat=GuardrailImageFormat;exports.GuardrailImageSource$=GuardrailImageSource$;exports.GuardrailInvocationMetrics$=GuardrailInvocationMetrics$;exports.GuardrailManagedWord$=GuardrailManagedWord$;exports.GuardrailManagedWordType=GuardrailManagedWordType;exports.GuardrailOrigin=GuardrailOrigin;exports.GuardrailOutputContent$=GuardrailOutputContent$;exports.GuardrailOutputScope=GuardrailOutputScope;exports.GuardrailOwnership=GuardrailOwnership;exports.GuardrailPiiEntityFilter$=GuardrailPiiEntityFilter$;exports.GuardrailPiiEntityType=GuardrailPiiEntityType;exports.GuardrailRegexFilter$=GuardrailRegexFilter$;exports.GuardrailSensitiveInformationPolicyAction=GuardrailSensitiveInformationPolicyAction;exports.GuardrailSensitiveInformationPolicyAssessment$=GuardrailSensitiveInformationPolicyAssessment$;exports.GuardrailStreamConfiguration$=GuardrailStreamConfiguration$;exports.GuardrailStreamProcessingMode=GuardrailStreamProcessingMode;exports.GuardrailTextBlock$=GuardrailTextBlock$;exports.GuardrailTextCharactersCoverage$=GuardrailTextCharactersCoverage$;exports.GuardrailTopic$=GuardrailTopic$;exports.GuardrailTopicPolicyAction=GuardrailTopicPolicyAction;exports.GuardrailTopicPolicyAssessment$=GuardrailTopicPolicyAssessment$;exports.GuardrailTopicType=GuardrailTopicType;exports.GuardrailTrace=GuardrailTrace;exports.GuardrailTraceAssessment$=GuardrailTraceAssessment$;exports.GuardrailUsage$=GuardrailUsage$;exports.GuardrailWordPolicyAction=GuardrailWordPolicyAction;exports.GuardrailWordPolicyAssessment$=GuardrailWordPolicyAssessment$;exports.ImageBlock$=ImageBlock$;exports.ImageBlockDelta$=ImageBlockDelta$;exports.ImageBlockStart$=ImageBlockStart$;exports.ImageFormat=ImageFormat2;exports.ImageSource$=ImageSource$;exports.InferenceConfiguration$=InferenceConfiguration$;exports.InternalServerException=InternalServerException3;exports.InternalServerException$=InternalServerException$3;exports.InvokeGuardrailChecks$=InvokeGuardrailChecks$;exports.InvokeGuardrailChecksCommand=InvokeGuardrailChecksCommand;exports.InvokeGuardrailChecksRequest$=InvokeGuardrailChecksRequest$;exports.InvokeGuardrailChecksResponse$=InvokeGuardrailChecksResponse$;exports.InvokeModel$=InvokeModel$;exports.InvokeModelCommand=InvokeModelCommand;exports.InvokeModelRequest$=InvokeModelRequest$;exports.InvokeModelResponse$=InvokeModelResponse$;exports.InvokeModelTokensRequest$=InvokeModelTokensRequest$;exports.InvokeModelWithBidirectionalStream$=InvokeModelWithBidirectionalStream$;exports.InvokeModelWithBidirectionalStreamCommand=InvokeModelWithBidirectionalStreamCommand;exports.InvokeModelWithBidirectionalStreamInput$=InvokeModelWithBidirectionalStreamInput$;exports.InvokeModelWithBidirectionalStreamOutput$=InvokeModelWithBidirectionalStreamOutput$;exports.InvokeModelWithBidirectionalStreamRequest$=InvokeModelWithBidirectionalStreamRequest$;exports.InvokeModelWithBidirectionalStreamResponse$=InvokeModelWithBidirectionalStreamResponse$;exports.InvokeModelWithResponseStream$=InvokeModelWithResponseStream$;exports.InvokeModelWithResponseStreamCommand=InvokeModelWithResponseStreamCommand;exports.InvokeModelWithResponseStreamRequest$=InvokeModelWithResponseStreamRequest$;exports.InvokeModelWithResponseStreamResponse$=InvokeModelWithResponseStreamResponse$;exports.JsonSchemaDefinition$=JsonSchemaDefinition$;exports.ListAsyncInvokes$=ListAsyncInvokes$;exports.ListAsyncInvokesCommand=ListAsyncInvokesCommand;exports.ListAsyncInvokesRequest$=ListAsyncInvokesRequest$;exports.ListAsyncInvokesResponse$=ListAsyncInvokesResponse$;exports.Message$=Message$;exports.MessageStartEvent$=MessageStartEvent$;exports.MessageStopEvent$=MessageStopEvent$;exports.ModelErrorException=ModelErrorException;exports.ModelErrorException$=ModelErrorException$;exports.ModelNotReadyException=ModelNotReadyException;exports.ModelNotReadyException$=ModelNotReadyException$;exports.ModelStreamErrorException=ModelStreamErrorException;exports.ModelStreamErrorException$=ModelStreamErrorException$;exports.ModelTimeoutException=ModelTimeoutException;exports.ModelTimeoutException$=ModelTimeoutException$;exports.OutputConfig$=OutputConfig$;exports.OutputFormat$=OutputFormat$;exports.OutputFormatStructure$=OutputFormatStructure$;exports.OutputFormatType=OutputFormatType;exports.PayloadPart$=PayloadPart$;exports.PerformanceConfigLatency=PerformanceConfigLatency;exports.PerformanceConfiguration$=PerformanceConfiguration$;exports.PromptRouterTrace$=PromptRouterTrace$;exports.PromptVariableValues$=PromptVariableValues$;exports.ReasoningContentBlock$=ReasoningContentBlock$;exports.ReasoningContentBlockDelta$=ReasoningContentBlockDelta$;exports.ReasoningTextBlock$=ReasoningTextBlock$;exports.ResourceNotFoundException=ResourceNotFoundException2;exports.ResourceNotFoundException$=ResourceNotFoundException$2;exports.ResponseStream$=ResponseStream$;exports.S3Location$=S3Location$;exports.SearchResultBlock$=SearchResultBlock$;exports.SearchResultContentBlock$=SearchResultContentBlock$;exports.SearchResultLocation$=SearchResultLocation$;exports.ServiceQuotaExceededException=ServiceQuotaExceededException;exports.ServiceQuotaExceededException$=ServiceQuotaExceededException$;exports.ServiceTier$=ServiceTier$;exports.ServiceTierType=ServiceTierType;exports.ServiceUnavailableException=ServiceUnavailableException;exports.ServiceUnavailableException$=ServiceUnavailableException$;exports.SortAsyncInvocationBy=SortAsyncInvocationBy;exports.SortOrder=SortOrder;exports.SpecificToolChoice$=SpecificToolChoice$;exports.StartAsyncInvoke$=StartAsyncInvoke$;exports.StartAsyncInvokeCommand=StartAsyncInvokeCommand;exports.StartAsyncInvokeRequest$=StartAsyncInvokeRequest$;exports.StartAsyncInvokeResponse$=StartAsyncInvokeResponse$;exports.StopReason=StopReason;exports.SystemContentBlock$=SystemContentBlock$;exports.SystemTool$=SystemTool$;exports.Tag$=Tag$2;exports.ThrottlingException=ThrottlingException;exports.ThrottlingException$=ThrottlingException$;exports.TokenUsage$=TokenUsage$;exports.Tool$=Tool$;exports.ToolAdditionBlock$=ToolAdditionBlock$;exports.ToolChoice$=ToolChoice$;exports.ToolConfiguration$=ToolConfiguration$;exports.ToolInputSchema$=ToolInputSchema$;exports.ToolReference$=ToolReference$;exports.ToolRemovalBlock$=ToolRemovalBlock$;exports.ToolResultBlock$=ToolResultBlock$;exports.ToolResultBlockDelta$=ToolResultBlockDelta$;exports.ToolResultBlockStart$=ToolResultBlockStart$;exports.ToolResultContentBlock$=ToolResultContentBlock$;exports.ToolResultStatus=ToolResultStatus2;exports.ToolSpecification$=ToolSpecification$;exports.ToolUseBlock$=ToolUseBlock$;exports.ToolUseBlockDelta$=ToolUseBlockDelta$;exports.ToolUseBlockStart$=ToolUseBlockStart$;exports.ToolUseType=ToolUseType;exports.Trace=Trace;exports.ValidationException=ValidationException2;exports.ValidationException$=ValidationException$2;exports.VideoBlock$=VideoBlock$;exports.VideoFormat=VideoFormat;exports.VideoSource$=VideoSource$;exports.WebLocation$=WebLocation$;exports.errorTypeRegistries=errorTypeRegistries5;exports.paginateListAsyncInvokes=paginateListAsyncInvokes}});var require_ms=__commonJS({"node_modules/ms/index.js"(exports,module){var s2=1e3,m3=s2*60,h5=m3*60,d5=h5*24,w=d5*7,y=d5*365.25;module.exports=function(val,options){options=options||{};var type=typeof val;if(type==="string"&&val.length>0)return parse2(val);if(type==="number"&&isFinite(val))return options.long?fmtLong(val):fmtShort(val);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(val))};function parse2(str){if(str=String(str),!(str.length>100)){var match=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str);if(match){var n3=parseFloat(match[1]),type=(match[2]||"ms").toLowerCase();switch(type){case"years":case"year":case"yrs":case"yr":case"y":return n3*y;case"weeks":case"week":case"w":return n3*w;case"days":case"day":case"d":return n3*d5;case"hours":case"hour":case"hrs":case"hr":case"h":return n3*h5;case"minutes":case"minute":case"mins":case"min":case"m":return n3*m3;case"seconds":case"second":case"secs":case"sec":case"s":return n3*s2;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n3;default:return}}}}function fmtShort(ms){var msAbs=Math.abs(ms);return msAbs>=d5?Math.round(ms/d5)+"d":msAbs>=h5?Math.round(ms/h5)+"h":msAbs>=m3?Math.round(ms/m3)+"m":msAbs>=s2?Math.round(ms/s2)+"s":ms+"ms"}function fmtLong(ms){var msAbs=Math.abs(ms);return msAbs>=d5?plural(ms,msAbs,d5,"day"):msAbs>=h5?plural(ms,msAbs,h5,"hour"):msAbs>=m3?plural(ms,msAbs,m3,"minute"):msAbs>=s2?plural(ms,msAbs,s2,"second"):ms+" ms"}function plural(ms,msAbs,n3,name){var isPlural=msAbs>=n3*1.5;return Math.round(ms/n3)+" "+name+(isPlural?"s":"")}}});var require_common=__commonJS({"node_modules/debug/src/common.js"(exports,module){function setup(env2){createDebug4.debug=createDebug4,createDebug4.default=createDebug4,createDebug4.coerce=coerce,createDebug4.disable=disable,createDebug4.enable=enable,createDebug4.enabled=enabled,createDebug4.humanize=require_ms(),createDebug4.destroy=destroy,Object.keys(env2).forEach(key=>{createDebug4[key]=env2[key]}),createDebug4.names=[],createDebug4.skips=[],createDebug4.formatters={};function selectColor(namespace){let hash=0;for(let i5=0;i5<namespace.length;i5++)hash=(hash<<5)-hash+namespace.charCodeAt(i5),hash|=0;return createDebug4.colors[Math.abs(hash)%createDebug4.colors.length]}createDebug4.selectColor=selectColor;function createDebug4(namespace){let prevTime,enableOverride=null,namespacesCache,enabledCache;function debug4(...args){if(!debug4.enabled)return;let self=debug4,curr=Number(new Date),ms=curr-(prevTime||curr);self.diff=ms,self.prev=prevTime,self.curr=curr,prevTime=curr,args[0]=createDebug4.coerce(args[0]),typeof args[0]!="string"&&args.unshift("%O");let index=0;args[0]=args[0].replace(/%([a-zA-Z%])/g,(match,format2)=>{if(match==="%%")return"%";index++;let formatter=createDebug4.formatters[format2];if(typeof formatter=="function"){let val=args[index];match=formatter.call(self,val),args.splice(index,1),index--}return match}),createDebug4.formatArgs.call(self,args),(self.log||createDebug4.log).apply(self,args)}return debug4.namespace=namespace,debug4.useColors=createDebug4.useColors(),debug4.color=createDebug4.selectColor(namespace),debug4.extend=extend,debug4.destroy=createDebug4.destroy,Object.defineProperty(debug4,"enabled",{enumerable:!0,configurable:!1,get:()=>enableOverride!==null?enableOverride:(namespacesCache!==createDebug4.namespaces&&(namespacesCache=createDebug4.namespaces,enabledCache=createDebug4.enabled(namespace)),enabledCache),set:v=>{enableOverride=v}}),typeof createDebug4.init=="function"&&createDebug4.init(debug4),debug4}function extend(namespace,delimiter){let newDebug=createDebug4(this.namespace+(typeof delimiter>"u"?":":delimiter)+namespace);return newDebug.log=this.log,newDebug}function enable(namespaces){createDebug4.save(namespaces),createDebug4.namespaces=namespaces,createDebug4.names=[],createDebug4.skips=[];let split2=(typeof namespaces=="string"?namespaces:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let ns of split2)ns[0]==="-"?createDebug4.skips.push(ns.slice(1)):createDebug4.names.push(ns)}function matchesTemplate(search,template){let searchIndex=0,templateIndex=0,starIndex=-1,matchIndex=0;for(;searchIndex<search.length;)if(templateIndex<template.length&&(template[templateIndex]===search[searchIndex]||template[templateIndex]==="*"))template[templateIndex]==="*"?(starIndex=templateIndex,matchIndex=searchIndex,templateIndex++):(searchIndex++,templateIndex++);else if(starIndex!==-1)templateIndex=starIndex+1,matchIndex++,searchIndex=matchIndex;else return!1;for(;templateIndex<template.length&&template[templateIndex]==="*";)templateIndex++;return templateIndex===template.length}function disable(){let namespaces=[...createDebug4.names,...createDebug4.skips.map(namespace=>"-"+namespace)].join(",");return createDebug4.enable(""),namespaces}function enabled(name){for(let skip of createDebug4.skips)if(matchesTemplate(name,skip))return!1;for(let ns of createDebug4.names)if(matchesTemplate(name,ns))return!0;return!1}function coerce(val){return val instanceof Error?val.stack||val.message:val}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return createDebug4.enable(createDebug4.load()),createDebug4}module.exports=setup}});var require_browser=__commonJS({"node_modules/debug/src/browser.js"(exports,module){exports.formatArgs=formatArgs;exports.save=save;exports.load=load;exports.useColors=useColors;exports.storage=localstorage();exports.destroy=(()=>{let warned2=!1;return()=>{warned2||(warned2=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();exports.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let m3;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(m3=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(m3[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(args){if(args[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+args[0]+(this.useColors?"%c ":" ")+"+"+module.exports.humanize(this.diff),!this.useColors)return;let c5="color: "+this.color;args.splice(1,0,c5,"color: inherit");let index=0,lastC=0;args[0].replace(/%[a-zA-Z%]/g,match=>{match!=="%%"&&(index++,match==="%c"&&(lastC=index))}),args.splice(lastC,0,c5)}exports.log=console.debug||console.log||(()=>{});function save(namespaces){try{namespaces?exports.storage.setItem("debug",namespaces):exports.storage.removeItem("debug")}catch{}}function load(){let r5;try{r5=exports.storage.getItem("debug")||exports.storage.getItem("DEBUG")}catch{}return!r5&&typeof process<"u"&&"env"in process&&(r5=process.env.DEBUG),r5}function localstorage(){try{return localStorage}catch{}}module.exports=require_common()(exports);var{formatters}=module.exports;formatters.j=function(v){try{return JSON.stringify(v)}catch(error2){return"[UnexpectedJSONParseError]: "+error2.message}}}});var require_node=__commonJS({"node_modules/debug/src/node.js"(exports,module){var tty=__require("tty"),util=__require("util");exports.init=init;exports.log=log;exports.formatArgs=formatArgs;exports.save=save;exports.load=load;exports.useColors=useColors;exports.destroy=util.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");exports.colors=[6,2,3,4,5,1];try{let supportsColor=__require("supports-color");supportsColor&&(supportsColor.stderr||supportsColor).level>=2&&(exports.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}exports.inspectOpts=Object.keys(process.env).filter(key=>/^debug_/i.test(key)).reduce((obj,key)=>{let prop=key.substring(6).toLowerCase().replace(/_([a-z])/g,(_,k5)=>k5.toUpperCase()),val=process.env[key];return/^(yes|on|true|enabled)$/i.test(val)?val=!0:/^(no|off|false|disabled)$/i.test(val)?val=!1:val==="null"?val=null:val=Number(val),obj[prop]=val,obj},{});function useColors(){return"colors"in exports.inspectOpts?!!exports.inspectOpts.colors:tty.isatty(process.stderr.fd)}function formatArgs(args){let{namespace:name,useColors:useColors2}=this;if(useColors2){let c5=this.color,colorCode="\x1B[3"+(c5<8?c5:"8;5;"+c5),prefix=` ${colorCode};1m${name} \x1B[0m`;args[0]=prefix+args[0].split(`
60
60
  `).join(`
61
61
  `+prefix),args.push(colorCode+"m+"+module.exports.humanize(this.diff)+"\x1B[0m")}else args[0]=getDate()+name+" "+args[0]}function getDate(){return exports.inspectOpts.hideDate?"":new Date().toISOString()+" "}function log(...args){return process.stderr.write(util.formatWithOptions(exports.inspectOpts,...args)+`
62
62
  `)}function save(namespaces){namespaces?process.env.DEBUG=namespaces:delete process.env.DEBUG}function load(){return process.env.DEBUG}function init(debug4){debug4.inspectOpts={};let keys=Object.keys(exports.inspectOpts);for(let i5=0;i5<keys.length;i5++)debug4.inspectOpts[keys[i5]]=exports.inspectOpts[keys[i5]]}module.exports=require_common()(exports);var{formatters}=module.exports;formatters.o=function(v){return this.inspectOpts.colors=this.useColors,util.inspect(v,this.inspectOpts).split(`