@mooloo-ai/eutaxy 0.0.0-stage → 0.2.0

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.
Files changed (42) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +16 -2
  3. package/dist/aws.d.mts +15464 -0
  4. package/dist/aws.d.mts.map +1 -0
  5. package/dist/aws.mjs +24057 -0
  6. package/dist/aws.mjs.map +1 -0
  7. package/dist/bin.d.mts +1 -0
  8. package/dist/bin.mjs +17 -0
  9. package/dist/bin.mjs.map +1 -0
  10. package/dist/checksum-DhS6ofSm.mjs +6049 -0
  11. package/dist/checksum-DhS6ofSm.mjs.map +1 -0
  12. package/dist/cli-DnPkIL8h.mjs +2 -0
  13. package/dist/cli.d.mts +8 -0
  14. package/dist/cli.d.mts.map +1 -0
  15. package/dist/cli.mjs +2 -0
  16. package/dist/cloudflare.d.mts +141 -0
  17. package/dist/cloudflare.d.mts.map +1 -0
  18. package/dist/cloudflare.mjs +847 -0
  19. package/dist/cloudflare.mjs.map +1 -0
  20. package/dist/es5-DtZuPEgt.mjs +1721 -0
  21. package/dist/es5-DtZuPEgt.mjs.map +1 -0
  22. package/dist/event-streams-BANyO9xt.mjs +801 -0
  23. package/dist/event-streams-BANyO9xt.mjs.map +1 -0
  24. package/dist/explore-C5fDFOoY.d.mts +63 -0
  25. package/dist/explore-C5fDFOoY.d.mts.map +1 -0
  26. package/dist/index.d.mts +24 -0
  27. package/dist/index.d.mts.map +1 -0
  28. package/dist/index.mjs +5 -0
  29. package/dist/platform-CGVkTa16.d.mts +267 -0
  30. package/dist/platform-CGVkTa16.d.mts.map +1 -0
  31. package/dist/rolldown-runtime-C1I3wEg2.mjs +43 -0
  32. package/dist/src-B66we2mG.mjs +311 -0
  33. package/dist/src-B66we2mG.mjs.map +1 -0
  34. package/dist/src-BP6Iqc_9.mjs +117 -0
  35. package/dist/src-BP6Iqc_9.mjs.map +1 -0
  36. package/dist/src-BrCsF5RZ.mjs +1286 -0
  37. package/dist/src-BrCsF5RZ.mjs.map +1 -0
  38. package/dist/src-s6uYyC0B.mjs +89 -0
  39. package/dist/src-s6uYyC0B.mjs.map +1 -0
  40. package/dist/verdict-evEM5Gxx.mjs +12 -0
  41. package/dist/verdict-evEM5Gxx.mjs.map +1 -0
  42. package/package.json +76 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws.mjs","names":["normalizeProvider","FieldPosition","SerdeContextConfig","UnionSerde","collectBodyString","collectBodyString","writeKey","SerdeContextConfig","UnionSerde","INITIAL_BUFFER_SIZE","SerdeContextConfig","SerdeContextConfig","SerdeContextConfig","UnionSerde","SerdeContextConfig","SerdeContextConfig","StandardRetryStrategy","AdaptiveRetryStrategy","StandardRetryStrategy","StandardRetryStrategy","normalizeProvider","AdaptiveRetryStrategy","StandardRetryStrategy","setFeature","HttpApiKeyAuthLocation","SMITHY_CONTEXT_KEY","SignatureV4","createAwsAuthSigv4HttpAuthOption","createSmithyApiNoAuthHttpAuthOption","normalizeProvider","resolveHttpAuthSchemeConfig","resolveClientEndpointParameters","commonParams","USE_BUFFER","startPos","parseXML","parseXML","XmlNode","XmlText","k","a","b","c","d","e","f","g","h","i","j","_data","root","nodes","bdd","cache","defaultEndpointResolver","bdd","__ServiceException","AccessDeniedException","__BaseException","ExpiredTokenException","InternalServerException","InvalidRequestException","_ADE","_AT","_ETE","_IRE","_ISE","_RT","_aT","_c","_cI","_cV","_co","_e","_eI","_gT","_h","_hE","_iT","_r","_rT","_rU","_s","_se","_tT","n0","_s_registry","n0_registry","AccessDeniedException$","AccessDeniedException","ExpiredTokenException$","ExpiredTokenException","InternalServerException$","InternalServerException","InvalidRequestException$","InvalidRequestException","errorTypeRegistries","RefreshToken","getRuntimeConfig","defaultEndpointResolver","Sha256","getRuntimeConfig","getSharedRuntimeConfig","loadNodeConfig","packageInfo.version","RequestHandler","streamCollector","getHttpAuthExtensionConfiguration","resolveHttpAuthRuntimeConfig","resolveRuntimeExtensions","getHttpAuthExtensionConfiguration","resolveHttpAuthRuntimeConfig","__Client","__getRuntimeConfig","resolveClientEndpointParameters","resolveHttpAuthSchemeConfig","resolveRuntimeExtensions","command","commonParams","_ep0","_mw0","command","_ep0","_mw0","commands","createAwsAuthSigv4HttpAuthOption","createSmithyApiNoAuthHttpAuthOption","normalizeProvider","resolveHttpAuthSchemeConfig","resolveClientEndpointParameters","commonParams","k","a","b","c","d","e","f","g","h","i","j","_data","root","nodes","bdd","cache","defaultEndpointResolver","bdd","__ServiceException","__BaseException","_TMRE","_aKI","_aT","_c","_e","_h","_hE","_m","_s","_sAK","_sT","n0","_s_registry","n0_registry","errorTypeRegistries","getRuntimeConfig","defaultEndpointResolver","Sha256","getRuntimeConfig","getSharedRuntimeConfig","loadNodeConfig","packageInfo.version","RequestHandler","streamCollector","getHttpAuthExtensionConfiguration","resolveHttpAuthRuntimeConfig","resolveRuntimeExtensions","getHttpAuthExtensionConfiguration","resolveHttpAuthRuntimeConfig","__Client","__getRuntimeConfig","resolveClientEndpointParameters","resolveHttpAuthSchemeConfig","resolveRuntimeExtensions","command","commonParams","_ep0","_mw0","command","_ep0","_mw0","commands","q","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","_data","root","nodes","bdd","cache","defaultEndpointResolver","bdd","createAwsAuthSigv4HttpAuthOption","createSmithyApiNoAuthHttpAuthOption","normalizeProvider","SignatureV4MultiRegion","defaultEndpointResolver","resolveHttpAuthSchemeConfig","resolveClientEndpointParameters","commonParams","__ServiceException","__BaseException","_c","_e","_hE","_m","_s","n0","_s_registry","n0_registry","errorTypeRegistries","getRuntimeConfig","defaultEndpointResolver","Sha256","SignatureV4MultiRegion","getRuntimeConfig","getSharedRuntimeConfig","loadNodeConfig","packageInfo.version","RequestHandler","streamCollector","getHttpAuthExtensionConfiguration","resolveHttpAuthRuntimeConfig","resolveRuntimeExtensions","getHttpAuthExtensionConfiguration","resolveHttpAuthRuntimeConfig","__Client","__getRuntimeConfig","resolveClientEndpointParameters","resolveHttpAuthSchemeConfig","resolveRuntimeExtensions","command","commonParams","_ep0","_mw0","command","_ep0","_mw0","command","_ep0","_mw0","commands","getDefaultRoleAssumer","getDefaultRoleAssumerWithWebIdentity","StsGetDefaultRoleAssumer","StsGetDefaultRoleAssumerWithWebIdentity","normalizeProvider","__ServiceException","__BaseException","getRuntimeConfig","Sha256","getSharedRuntimeConfig","loadNodeConfig","packageInfo.version","RequestHandler","streamCollector","__Client","__getRuntimeConfig","tablesOf","Client","DescribeTableCommand","ListTablesCommand","DeleteTableCommand","CreateTableCommand","ScanCommand","unmarshall"],"sources":["../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/longPollMiddleware.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/Field.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/Fields.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/util-uri-escape/escape-uri.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/util-uri-escape/escape-uri-path.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/querystring-builder/buildQueryString.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/UnionSerde.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/detectBufferParsing.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/jsonReviver.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/needsReviver.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/common.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/parseJsonBody.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/writeKey.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/jsonReplacer.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/protocols/index.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/constants.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/retries-2026-config.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryBackoffStrategy.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryToken.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/config.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/AdaptiveRetryStrategy.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/ConfiguredRetryStrategy.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/defaultRetryQuota.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/delayDecider.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/retryDecider.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/AdaptiveRetryStrategy.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/omitRetryHeadersMiddleware.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/retry/index.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-logger/loggerMiddleware.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/configuration.js","../../../node_modules/.pnpm/@aws+lambda-invoke-store@0.3.0/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/resolveAuthOptions.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/index.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/getHttpSigningMiddleware.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/index.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/normalizeProvider.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/pagination/createPaginator.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/setFeature.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/noAuth.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/memoizeIdentityProvider.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/index.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/index.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-user-agent/configurations.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partition.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-user-agent/check-features.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-user-agent/constants.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-user-agent/encode-features.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-user-agent/user-agent-middleware.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getRuntimeUserAgentPair.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/crt-availability.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/is-crt-available.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/defaultUserAgent.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/isIpAddress.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/isVirtualHostableS3Bucket.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/parseArn.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/aws.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/resolveEndpoint.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/resolveDefaultAwsRegionalEndpointsConfig.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/types/EndpointError.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/region-config-resolver/awsRegionConfig.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/region-config-resolver/stsRegionDefaultResolver.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/region-config-resolver/extensions.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js","../../../node_modules/.pnpm/obliterator@1.6.1/node_modules/obliterator/iterator.js","../../../node_modules/.pnpm/obliterator@1.6.1/node_modules/obliterator/foreach.js","../../../node_modules/.pnpm/mnemonist@0.38.3/node_modules/mnemonist/utils/typed-arrays.js","../../../node_modules/.pnpm/mnemonist@0.38.3/node_modules/mnemonist/utils/iterables.js","../../../node_modules/.pnpm/mnemonist@0.38.3/node_modules/mnemonist/lru-cache.js","../../../node_modules/.pnpm/@aws-sdk+endpoint-cache@3.972.11/node_modules/@aws-sdk/endpoint-cache/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+middleware-endpoint-discovery@3.972.34/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js","../../../node_modules/.pnpm/@smithy+signature-v4@5.7.4/node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js","../../../node_modules/.pnpm/@aws-sdk+credential-provider-env@3.972.76/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../node_modules/.pnpm/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../node_modules/.pnpm/@smithy+node-http-handler@4.12.1/node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.78/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/package.json","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js","../../../node_modules/.pnpm/@smithy+core@3.36.2/node_modules/@smithy/core/dist-es/submodules/cbor/index.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js","../../../node_modules/.pnpm/@aws-sdk+xml-builder@3.972.41/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/writeKey.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlCodec.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/coercing-serializers.js","../../../node_modules/.pnpm/@aws-sdk+core@3.978.5/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commandBuilder.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js","../../../node_modules/.pnpm/@aws-sdk+token-providers@3.1155.0/node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commandBuilder.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js","../../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.20/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js","../../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.20/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.49/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commandBuilder.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js","../../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.50/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js","../../../node_modules/.pnpm/@aws-sdk+credential-provider-login@3.972.83/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.76/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.82/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.21/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.88/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+dynamodb-codec@3.973.50/node_modules/@aws-sdk/dynamodb-codec/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+client-dynamodb@3.1156.0/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js","../../../node_modules/.pnpm/@aws-sdk+util-dynamodb@3.996.9_@aws-sdk+client-dynamodb@3.1156.0/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js","../../aws/src/json.ts","../../../node_modules/.pnpm/@smithy+smithy-client@4.15.2/node_modules/@smithy/smithy-client/dist-cjs/index.js","../../aws/src/sdk.ts","../../aws/src/dynamodb.ts","../../aws/src/lambda.ts","../../aws/src/platform.ts","../../aws/src/differential.ts","../../aws/src/scenario.ts"],"sourcesContent":["export const DEFAULT_ACCOUNT_ID_ENDPOINT_MODE = \"preferred\";\nexport const ACCOUNT_ID_ENDPOINT_MODE_VALUES = [\"disabled\", \"preferred\", \"required\"];\nexport function validateAccountIdEndpointMode(value) {\n return ACCOUNT_ID_ENDPOINT_MODE_VALUES.includes(value);\n}\n","import { normalizeProvider } from \"@smithy/core/client\";\nimport { DEFAULT_ACCOUNT_ID_ENDPOINT_MODE, validateAccountIdEndpointMode } from \"./AccountIdEndpointModeConstants\";\nexport const resolveAccountIdEndpointModeConfig = (input) => {\n const { accountIdEndpointMode } = input;\n const accountIdEndpointModeProvider = normalizeProvider(accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE);\n return Object.assign(input, {\n accountIdEndpointMode: async () => {\n const accIdMode = await accountIdEndpointModeProvider();\n if (!validateAccountIdEndpointMode(accIdMode)) {\n throw new Error(`Invalid value for accountIdEndpointMode: ${accIdMode}. Valid values are: \"required\", \"preferred\", \"disabled\".`);\n }\n return accIdMode;\n },\n });\n};\n","import { DEFAULT_ACCOUNT_ID_ENDPOINT_MODE, validateAccountIdEndpointMode } from \"./AccountIdEndpointModeConstants\";\nconst err = \"Invalid AccountIdEndpointMode value\";\nconst _throw = (message) => {\n throw new Error(message);\n};\nexport const ENV_ACCOUNT_ID_ENDPOINT_MODE = \"AWS_ACCOUNT_ID_ENDPOINT_MODE\";\nexport const CONFIG_ACCOUNT_ID_ENDPOINT_MODE = \"account_id_endpoint_mode\";\nexport const NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => {\n const value = env[ENV_ACCOUNT_ID_ENDPOINT_MODE];\n if (value && !validateAccountIdEndpointMode(value)) {\n _throw(err);\n }\n return value;\n },\n configFileSelector: (profile) => {\n const value = profile[CONFIG_ACCOUNT_ID_ENDPOINT_MODE];\n if (value && !validateAccountIdEndpointMode(value)) {\n _throw(err);\n }\n return value;\n },\n default: DEFAULT_ACCOUNT_ID_ENDPOINT_MODE,\n};\n","export { resolveAccountIdEndpointModeConfig } from \"./AccountIdEndpointModeConfigResolver\";\nexport { DEFAULT_ACCOUNT_ID_ENDPOINT_MODE, ACCOUNT_ID_ENDPOINT_MODE_VALUES, validateAccountIdEndpointMode, } from \"./AccountIdEndpointModeConstants\";\nexport { ENV_ACCOUNT_ID_ENDPOINT_MODE, CONFIG_ACCOUNT_ID_ENDPOINT_MODE, NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS, } from \"./NodeAccountIdEndpointModeConfigOptions\";\n","export const state = {\n warningEmitted: false,\n};\nexport const emitWarningIfUnsupportedVersion = (version) => {\n if (version && !state.warningEmitted) {\n if (process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED === \"true\") {\n state.warningEmitted = true;\n return;\n }\n const userMajorVersion = parseInt(version.substring(1, version.indexOf(\".\")));\n const vv = 22;\n if (userMajorVersion < vv) {\n state.warningEmitted = true;\n process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)\nversions published after the first week of January 2027\nwill require node >=${vv}. You are running node ${version}.\n\nTo continue receiving updates to AWS services, bug fixes,\nand security updates please upgrade to node >=${vv}.\n\nMore information can be found at: https://a.co/c895JFp`);\n }\n }\n};\n","export const longPollMiddleware = () => (next, context) => async (args) => {\n context.__retryLongPoll = true;\n return next(args);\n};\nexport const longPollMiddlewareOptions = {\n name: \"longPollMiddleware\",\n tags: [\"RETRY\"],\n step: \"initialize\",\n override: true,\n};\nexport const getLongPollPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(longPollMiddleware(), longPollMiddlewareOptions);\n },\n});\n","export function setCredentialFeature(credentials, feature, value) {\n if (!credentials.$source) {\n credentials.$source = {};\n }\n credentials.$source[feature] = value;\n return credentials;\n}\n","import { Readable } from \"node:stream\";\nexport const isStreamingPayload = (request) => request?.body instanceof Readable ||\n (typeof ReadableStream !== \"undefined\" && request?.body instanceof ReadableStream);\n","import { Uint8ArrayBlobAdapter } from \"@smithy/core/serde\";\nexport const collectBody = async (streamBody = new Uint8Array(), context) => {\n if (streamBody instanceof Uint8Array) {\n return Uint8ArrayBlobAdapter.mutate(streamBody);\n }\n if (!streamBody) {\n return Uint8ArrayBlobAdapter.mutate(new Uint8Array());\n }\n const fromContext = context.streamCollector(streamBody);\n return Uint8ArrayBlobAdapter.mutate(await fromContext);\n};\n","export function extendedEncodeURIComponent(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n","export class SerdeContext {\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n}\n","import { hasOwn } from \"@smithy/core/transport\";\nimport { NormalizedSchema, TypeRegistry, translateTraits } from \"@smithy/core/schema\";\nimport { HttpRequest, HttpResponse, isValidHostname } from \"@smithy/core/transport\";\nimport { SerdeContext } from \"./SerdeContext\";\nexport class HttpProtocol extends SerdeContext {\n options;\n compositeErrorRegistry;\n constructor(options) {\n super();\n this.options = options;\n this.compositeErrorRegistry = new TypeRegistry(options.defaultNamespace);\n for (const etr of options.errorTypeRegistries ?? []) {\n this.compositeErrorRegistry.copyFrom(etr);\n }\n }\n getRequestType() {\n return HttpRequest;\n }\n getResponseType() {\n return HttpResponse;\n }\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n this.serializer.setSerdeContext(serdeContext);\n this.deserializer.setSerdeContext(serdeContext);\n if (this.getPayloadCodec()) {\n this.getPayloadCodec().setSerdeContext(serdeContext);\n }\n }\n updateServiceEndpoint(request, endpoint) {\n if (\"url\" in endpoint) {\n request.protocol = endpoint.url.protocol;\n request.hostname = endpoint.url.hostname;\n request.port = endpoint.url.port ? Number(endpoint.url.port) : undefined;\n request.path = endpoint.url.pathname;\n request.fragment = endpoint.url.hash || void 0;\n request.username = endpoint.url.username || void 0;\n request.password = endpoint.url.password || void 0;\n if (!request.query) {\n request.query = {};\n }\n for (const [k, v] of endpoint.url.searchParams.entries()) {\n request.query[k] = v;\n }\n if (endpoint.headers) {\n for (const name in endpoint.headers) {\n if (!hasOwn(endpoint.headers, name))\n continue;\n request.headers[name] = endpoint.headers[name].join(\", \");\n }\n }\n return request;\n }\n else {\n request.protocol = endpoint.protocol;\n request.hostname = endpoint.hostname;\n request.port = endpoint.port ? Number(endpoint.port) : undefined;\n request.path = endpoint.path;\n request.query = {\n ...endpoint.query,\n };\n if (endpoint.headers) {\n for (const name in endpoint.headers) {\n if (!hasOwn(endpoint.headers, name))\n continue;\n request.headers[name] = endpoint.headers[name];\n }\n }\n return request;\n }\n }\n setHostPrefix(request, operationSchema, input) {\n if (this.serdeContext?.disableHostPrefix) {\n return;\n }\n const inputNs = NormalizedSchema.of(operationSchema.input);\n const opTraits = translateTraits(operationSchema.traits ?? {});\n if (opTraits.endpoint) {\n let hostPrefix = opTraits.endpoint?.[0];\n if (typeof hostPrefix === \"string\") {\n for (const [name, member] of inputNs.structIterator()) {\n if (!member.getMergedTraits().hostLabel) {\n continue;\n }\n const replacement = input[name];\n if (typeof replacement !== \"string\") {\n throw new Error(`@smithy/core/schema - ${name} in input must be a string as hostLabel.`);\n }\n hostPrefix = hostPrefix.replace(`{${name}}`, replacement);\n }\n request.hostname = hostPrefix + request.hostname;\n if (!isValidHostname(request.hostname)) {\n throw new Error(`[${request.hostname}] is not a valid hostname.`);\n }\n }\n }\n }\n deserializeMetadata(output) {\n return {\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"],\n };\n }\n resolveError(name, namespaces, registries) {\n const defaultErrorSchema = [-3, \"\", \"Error\", 0, [], [], 0];\n let schema;\n for (const registry of registries) {\n for (const ns of namespaces) {\n try {\n if (ns === \"*\") {\n schema = registry.getSchema(name);\n }\n else {\n schema = registry.getSchema(ns + \"#\" + name);\n }\n const errorCtor = registry.getErrorCtor(schema);\n if (errorCtor) {\n return [schema, errorCtor, \"modeled\"];\n }\n else {\n const syntheticErrorSchema = registry.getBaseException();\n if (syntheticErrorSchema) {\n const syntheticErrorCtor = registry.getErrorCtor(syntheticErrorSchema);\n if (syntheticErrorCtor) {\n return [schema, syntheticErrorCtor, \"synthetic\"];\n }\n }\n }\n }\n catch (ignored) {\n }\n }\n }\n for (const registry of registries) {\n const syntheticErrorSchema = registry.getBaseException();\n if (syntheticErrorSchema) {\n const syntheticErrorCtor = registry.getErrorCtor(syntheticErrorSchema);\n if (syntheticErrorCtor) {\n return [syntheticErrorSchema, syntheticErrorCtor, \"synthetic\"];\n }\n }\n }\n return [defaultErrorSchema, Error, \"native\"];\n }\n async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {\n const eventStreamSerde = await this.loadEventStreamCapability();\n return eventStreamSerde.serializeEventStream({\n eventStream,\n requestSchema,\n initialRequest,\n });\n }\n async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) {\n const eventStreamSerde = await this.loadEventStreamCapability();\n return eventStreamSerde.deserializeEventStream({\n response,\n responseSchema,\n initialResponseContainer,\n });\n }\n async loadEventStreamCapability() {\n const { EventStreamSerde, eventStreamSerdeProvider } = await import(\"@smithy/core/event-streams\");\n const marshaller = this.resolveEventStreamMarshaller(eventStreamSerdeProvider);\n return new EventStreamSerde({\n marshaller,\n serializer: this.serializer,\n deserializer: this.deserializer,\n serdeContext: this.serdeContext,\n defaultContentType: this.getDefaultContentType(),\n compositeErrorRegistry: this.compositeErrorRegistry,\n });\n }\n getDefaultContentType() {\n throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`);\n }\n async deserializeHttpMessage(schema, context, response, arg4, arg5) {\n void schema;\n void context;\n void response;\n void arg4;\n void arg5;\n return [];\n }\n getEventStreamMarshaller() {\n const context = this.serdeContext;\n if (!context.eventStreamMarshaller) {\n throw new Error(\"@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.\");\n }\n return context.eventStreamMarshaller;\n }\n resolveEventStreamMarshaller(importedProvider) {\n const context = this.serdeContext;\n if (context.eventStreamMarshaller) {\n return context.eventStreamMarshaller;\n }\n return importedProvider(this.serdeContext);\n }\n}\n","import { hasOwn } from \"@smithy/core/transport\";\nimport { NormalizedSchema, translateTraits } from \"@smithy/core/schema\";\nimport { sdkStreamMixin, splitEvery, splitHeader } from \"@smithy/core/serde\";\nimport { HttpRequest } from \"@smithy/core/transport\";\nimport { HttpProtocol } from \"./HttpProtocol\";\nimport { collectBody } from \"./collect-stream-body\";\nimport { extendedEncodeURIComponent } from \"./extended-encode-uri-component\";\nexport class HttpBindingProtocol extends HttpProtocol {\n async serializeRequest(operationSchema, _input, context) {\n const input = _input && typeof _input === \"object\" ? _input : {};\n const serializer = this.serializer;\n const query = {};\n const headers = {};\n const endpoint = await context.endpoint();\n const ns = NormalizedSchema.of(operationSchema?.input);\n const payloadMemberNames = [];\n const payloadMemberSchemas = [];\n let hasNonHttpBindingMember = false;\n let payload;\n const request = new HttpRequest({\n protocol: \"\",\n hostname: \"\",\n port: undefined,\n path: \"\",\n fragment: undefined,\n query: query,\n headers: headers,\n body: undefined,\n });\n if (endpoint) {\n this.updateServiceEndpoint(request, endpoint);\n this.setHostPrefix(request, operationSchema, input);\n const opTraits = translateTraits(operationSchema.traits);\n if (opTraits.http) {\n request.method = opTraits.http[0];\n const [path, search] = opTraits.http[1].split(\"?\");\n if (request.path == \"/\") {\n request.path = path;\n }\n else {\n request.path += path;\n }\n const traitSearchParams = new URLSearchParams(search ?? \"\");\n for (const [key, value] of traitSearchParams) {\n query[key] = value;\n }\n }\n }\n for (const [memberName, memberNs] of ns.structIterator()) {\n const memberTraits = memberNs.getMergedTraits() ?? {};\n const inputMemberValue = input[memberName];\n if (inputMemberValue == null && !memberNs.isIdempotencyToken()) {\n if (memberTraits.httpLabel) {\n if (request.path.includes(`{${memberName}+}`) || request.path.includes(`{${memberName}}`)) {\n throw new Error(`No value provided for input HTTP label: ${memberName}.`);\n }\n }\n continue;\n }\n if (memberTraits.httpPayload) {\n const isStreaming = memberNs.isStreaming();\n if (isStreaming) {\n const isEventStream = memberNs.isStructSchema();\n if (isEventStream) {\n if (input[memberName]) {\n payload = await this.serializeEventStream({\n eventStream: input[memberName],\n requestSchema: ns,\n });\n }\n }\n else {\n payload = inputMemberValue;\n }\n }\n else {\n serializer.write(memberNs, inputMemberValue);\n payload = serializer.flush();\n }\n }\n else if (memberTraits.httpLabel) {\n serializer.write(memberNs, inputMemberValue);\n const replacement = serializer.flush();\n if (request.path.includes(`{${memberName}+}`)) {\n request.path = request.path.replace(`{${memberName}+}`, replacement.split(\"/\").map(extendedEncodeURIComponent).join(\"/\"));\n }\n else if (request.path.includes(`{${memberName}}`)) {\n request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement));\n }\n }\n else if (memberTraits.httpHeader) {\n serializer.write(memberNs, inputMemberValue);\n headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());\n }\n else if (typeof memberTraits.httpPrefixHeaders === \"string\") {\n for (const key in inputMemberValue) {\n if (!hasOwn(inputMemberValue, key))\n continue;\n const val = inputMemberValue[key];\n const amalgam = memberTraits.httpPrefixHeaders + key;\n serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);\n headers[amalgam.toLowerCase()] = serializer.flush();\n }\n }\n else if (memberTraits.httpQuery || memberTraits.httpQueryParams) {\n this.serializeQuery(memberNs, inputMemberValue, query);\n }\n else {\n hasNonHttpBindingMember = true;\n payloadMemberNames.push(memberName);\n payloadMemberSchemas.push(memberNs);\n }\n }\n if (hasNonHttpBindingMember && input) {\n const [namespace, name] = (ns.getName(true) ?? \"#Unknown\").split(\"#\");\n const requiredMembers = ns.getSchema()[6];\n const payloadSchema = [\n 3,\n namespace,\n name,\n ns.getMergedTraits(),\n payloadMemberNames,\n payloadMemberSchemas,\n undefined,\n ];\n if (requiredMembers) {\n payloadSchema[6] = requiredMembers;\n }\n else {\n payloadSchema.pop();\n }\n serializer.write(payloadSchema, input);\n payload = serializer.flush();\n }\n request.headers = headers;\n request.query = query;\n request.body = payload;\n return request;\n }\n serializeQuery(ns, data, query) {\n const serializer = this.serializer;\n const traits = ns.getMergedTraits();\n if (traits.httpQueryParams) {\n for (const key in data) {\n if (!hasOwn(data, key))\n continue;\n if (!(key in query)) {\n const val = data[key];\n const valueSchema = ns.getValueSchema();\n Object.assign(valueSchema.getMergedTraits(), {\n ...traits,\n httpQuery: key,\n httpQueryParams: undefined,\n });\n this.serializeQuery(valueSchema, val, query);\n }\n }\n return;\n }\n if (ns.isListSchema()) {\n const sparse = !!ns.getMergedTraits().sparse;\n const buffer = [];\n for (const item of data) {\n serializer.write([ns.getValueSchema(), traits], item);\n const serializable = serializer.flush();\n if (sparse || serializable !== undefined) {\n buffer.push(serializable);\n }\n }\n query[traits.httpQuery] = buffer;\n }\n else {\n serializer.write([ns, traits], data);\n query[traits.httpQuery] = serializer.flush();\n }\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(15, bytes));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n throw new Error(\"@smithy/core/protocols - HTTP Protocol error handler failed to throw.\");\n }\n for (const header in response.headers) {\n if (!hasOwn(response.headers, header))\n continue;\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const nonHttpBindingMembers = await this.deserializeHttpMessage(ns, context, response, dataObject);\n if (nonHttpBindingMembers.length) {\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n const dataFromBody = await deserializer.read(ns, bytes);\n for (const member of nonHttpBindingMembers) {\n if (dataFromBody[member] != null) {\n dataObject[member] = dataFromBody[member];\n }\n }\n }\n }\n else if (nonHttpBindingMembers.discardResponseBody) {\n await collectBody(response.body, context);\n }\n dataObject.$metadata = this.deserializeMetadata(response);\n return dataObject;\n }\n async deserializeHttpMessage(schema, context, response, arg4, arg5) {\n let dataObject;\n if (arg4 instanceof Set) {\n dataObject = arg5;\n }\n else {\n dataObject = arg4;\n }\n let discardResponseBody = true;\n const deserializer = this.deserializer;\n const ns = NormalizedSchema.of(schema);\n const nonHttpBindingMembers = [];\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const memberTraits = memberSchema.getMemberTraits();\n if (memberTraits.httpPayload) {\n discardResponseBody = false;\n const isStreaming = memberSchema.isStreaming();\n if (isStreaming) {\n const isEventStream = memberSchema.isStructSchema();\n if (isEventStream) {\n dataObject[memberName] = await this.deserializeEventStream({\n response,\n responseSchema: ns,\n });\n }\n else {\n dataObject[memberName] = sdkStreamMixin(response.body);\n }\n }\n else if (response.body) {\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n dataObject[memberName] = await deserializer.read(memberSchema, bytes);\n }\n }\n }\n else if (memberTraits.httpHeader) {\n const key = String(memberTraits.httpHeader).toLowerCase();\n const value = response.headers[key];\n if (null != value) {\n if (memberSchema.isListSchema()) {\n const headerListValueSchema = memberSchema.getValueSchema();\n headerListValueSchema.getMergedTraits().httpHeader = key;\n let sections;\n if (headerListValueSchema.isTimestampSchema() &&\n headerListValueSchema.getSchema() === 4) {\n sections = splitEvery(value, \",\", 2);\n }\n else {\n sections = splitHeader(value);\n }\n const list = [];\n for (const section of sections) {\n list.push(await deserializer.read(headerListValueSchema, section.trim()));\n }\n dataObject[memberName] = list;\n }\n else {\n dataObject[memberName] = await deserializer.read(memberSchema, value);\n }\n }\n }\n else if (memberTraits.httpPrefixHeaders !== undefined) {\n dataObject[memberName] = {};\n for (const header in response.headers) {\n if (!hasOwn(response.headers, header))\n continue;\n if (header.startsWith(memberTraits.httpPrefixHeaders)) {\n const value = response.headers[header];\n const valueSchema = memberSchema.getValueSchema();\n valueSchema.getMergedTraits().httpHeader = header;\n dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read(valueSchema, value);\n }\n }\n }\n else if (memberTraits.httpResponseCode) {\n dataObject[memberName] = response.statusCode;\n }\n else {\n nonHttpBindingMembers.push(memberName);\n }\n }\n nonHttpBindingMembers.discardResponseBody = discardResponseBody;\n return nonHttpBindingMembers;\n }\n}\n","import { hasOwn } from \"@smithy/core/transport\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { HttpRequest } from \"@smithy/core/transport\";\nimport { HttpProtocol } from \"./HttpProtocol\";\nimport { collectBody } from \"./collect-stream-body\";\nexport class RpcProtocol extends HttpProtocol {\n async serializeRequest(operationSchema, _input, context) {\n const serializer = this.serializer;\n const query = {};\n const headers = {};\n const endpoint = await context.endpoint();\n const ns = NormalizedSchema.of(operationSchema?.input);\n const schema = ns.getSchema();\n let payload;\n const input = _input && typeof _input === \"object\" ? _input : {};\n const request = new HttpRequest({\n protocol: \"\",\n hostname: \"\",\n port: undefined,\n path: \"/\",\n fragment: undefined,\n query: query,\n headers: headers,\n body: undefined,\n });\n if (endpoint) {\n this.updateServiceEndpoint(request, endpoint);\n this.setHostPrefix(request, operationSchema, input);\n }\n if (input) {\n const eventStreamMember = ns.getEventStreamMember();\n if (eventStreamMember) {\n if (input[eventStreamMember]) {\n const initialRequest = {};\n for (const [memberName] of ns.structIterator()) {\n if (memberName !== eventStreamMember && input[memberName] != null) {\n initialRequest[memberName] = input[memberName];\n }\n }\n payload = await this.serializeEventStream({\n eventStream: input[eventStreamMember],\n requestSchema: ns,\n initialRequest,\n });\n }\n }\n else {\n serializer.write(schema, input);\n payload = serializer.flush();\n }\n }\n request.headers = Object.assign(request.headers, headers);\n request.query = query;\n request.body = payload;\n request.method = \"POST\";\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(15, bytes));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n throw new Error(\"@smithy/core/protocols - RPC Protocol error handler failed to throw.\");\n }\n for (const header in response.headers) {\n if (!hasOwn(response.headers, header))\n continue;\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const eventStreamMember = ns.getEventStreamMember();\n if (eventStreamMember) {\n dataObject[eventStreamMember] = await this.deserializeEventStream({\n response,\n responseSchema: ns,\n initialResponseContainer: dataObject,\n });\n }\n else {\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(ns, bytes));\n }\n }\n dataObject.$metadata = this.deserializeMetadata(response);\n return dataObject;\n }\n}\n","import { extendedEncodeURIComponent } from \"./extended-encode-uri-component\";\nexport const resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {\n if (input != null && input[memberName] !== undefined) {\n const labelValue = labelValueProvider();\n if (labelValue == null || labelValue.length <= 0) {\n throw new Error(\"Empty value provided for input HTTP label: \" + memberName + \".\");\n }\n resolvedPath = resolvedPath.replace(uriLabel, isGreedyLabel\n ? labelValue\n .split(\"/\")\n .map((segment) => extendedEncodeURIComponent(segment))\n .join(\"/\")\n : extendedEncodeURIComponent(labelValue));\n }\n else {\n throw new Error(\"No value provided for input HTTP label: \" + memberName + \".\");\n }\n return resolvedPath;\n};\n","import { HttpRequest } from \"@smithy/core/transport\";\nimport { resolvedPath } from \"./resolve-path\";\nexport function requestBuilder(input, context) {\n return new RequestBuilder(input, context);\n}\nexport class RequestBuilder {\n input;\n context;\n query = {};\n method = \"\";\n headers = {};\n path = \"\";\n body = null;\n hostname = \"\";\n resolvePathStack = [];\n constructor(input, context) {\n this.input = input;\n this.context = context;\n }\n async build() {\n const { hostname, protocol = \"https\", port, path: basePath } = await this.context.endpoint();\n this.path = basePath;\n for (const resolvePath of this.resolvePathStack) {\n resolvePath(this.path);\n }\n return new HttpRequest({\n protocol,\n hostname: this.hostname || hostname,\n port,\n method: this.method,\n path: this.path,\n query: this.query,\n body: this.body,\n headers: this.headers,\n });\n }\n hn(hostname) {\n this.hostname = hostname;\n return this;\n }\n bp(uriLabel) {\n this.resolvePathStack.push((basePath) => {\n this.path = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + uriLabel;\n });\n return this;\n }\n p(memberName, labelValueProvider, uriLabel, isGreedyLabel) {\n this.resolvePathStack.push((path) => {\n this.path = resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);\n });\n return this;\n }\n h(headers) {\n this.headers = headers;\n return this;\n }\n q(query) {\n this.query = query;\n return this;\n }\n b(body) {\n this.body = body;\n return this;\n }\n m(method) {\n this.method = method;\n return this;\n }\n}\n","export function determineTimestampFormat(ns, settings) {\n if (settings.timestampFormat.useTrait) {\n if (ns.isTimestampSchema() &&\n (ns.getSchema() === 5 ||\n ns.getSchema() === 6 ||\n ns.getSchema() === 7)) {\n return ns.getSchema();\n }\n }\n const { httpLabel, httpPrefixHeaders, httpHeader, httpQuery } = ns.getMergedTraits();\n const bindingFormat = settings.httpBindings\n ? typeof httpPrefixHeaders === \"string\" || Boolean(httpHeader)\n ? 6\n : Boolean(httpQuery) || Boolean(httpLabel)\n ? 5\n : undefined\n : undefined;\n return bindingFormat ?? settings.timestampFormat.default;\n}\n","import { NormalizedSchema } from \"@smithy/core/schema\";\nimport { LazyJsonString, NumericValue, _parseEpochTimestamp, _parseRfc3339DateTimeWithOffset, _parseRfc7231DateTime, fromBase64, splitHeader, toUtf8, } from \"@smithy/core/serde\";\nimport { SerdeContext } from \"../SerdeContext\";\nimport { determineTimestampFormat } from \"./determineTimestampFormat\";\nexport class FromStringShapeDeserializer extends SerdeContext {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n read(_schema, data) {\n const ns = NormalizedSchema.of(_schema);\n if (ns.isListSchema()) {\n return splitHeader(data).map((item) => this.read(ns.getValueSchema(), item));\n }\n if (ns.isBlobSchema()) {\n return (this.serdeContext?.base64Decoder ?? fromBase64)(data);\n }\n if (ns.isTimestampSchema()) {\n const format = determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n return _parseRfc3339DateTimeWithOffset(data);\n case 6:\n return _parseRfc7231DateTime(data);\n case 7:\n return _parseEpochTimestamp(data);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", data);\n return new Date(data);\n }\n }\n if (ns.isStringSchema()) {\n const mediaType = ns.getMergedTraits().mediaType;\n let intermediateValue = data;\n if (mediaType) {\n if (ns.getMergedTraits().httpHeader) {\n intermediateValue = this.base64ToUtf8(intermediateValue);\n }\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n intermediateValue = LazyJsonString.from(intermediateValue);\n }\n return intermediateValue;\n }\n }\n if (ns.isNumericSchema()) {\n return Number(data);\n }\n if (ns.isBigIntegerSchema()) {\n return BigInt(data);\n }\n if (ns.isBigDecimalSchema()) {\n return new NumericValue(data, \"bigDecimal\");\n }\n if (ns.isBooleanSchema()) {\n return String(data).toLowerCase() === \"true\";\n }\n return data;\n }\n base64ToUtf8(base64String) {\n return (this.serdeContext?.utf8Encoder ?? toUtf8)((this.serdeContext?.base64Decoder ?? fromBase64)(base64String));\n }\n}\n","import { NormalizedSchema } from \"@smithy/core/schema\";\nimport { fromUtf8, toUtf8 } from \"@smithy/core/serde\";\nimport { SerdeContext } from \"../SerdeContext\";\nimport { FromStringShapeDeserializer } from \"./FromStringShapeDeserializer\";\nexport class HttpInterceptingShapeDeserializer extends SerdeContext {\n codecDeserializer;\n stringDeserializer;\n constructor(codecDeserializer, codecSettings) {\n super();\n this.codecDeserializer = codecDeserializer;\n this.stringDeserializer = new FromStringShapeDeserializer(codecSettings);\n }\n setSerdeContext(serdeContext) {\n this.stringDeserializer.setSerdeContext(serdeContext);\n this.codecDeserializer.setSerdeContext(serdeContext);\n this.serdeContext = serdeContext;\n }\n read(schema, data) {\n const ns = NormalizedSchema.of(schema);\n const traits = ns.getMergedTraits();\n const toString = this.serdeContext?.utf8Encoder ?? toUtf8;\n if (traits.httpHeader || traits.httpResponseCode) {\n return this.stringDeserializer.read(ns, toString(data));\n }\n if (traits.httpPayload) {\n if (ns.isBlobSchema()) {\n const toBytes = this.serdeContext?.utf8Decoder ?? fromUtf8;\n if (typeof data === \"string\") {\n return toBytes(data);\n }\n return data;\n }\n else if (ns.isStringSchema()) {\n if (\"byteLength\" in data) {\n return toString(data);\n }\n return data;\n }\n }\n return this.codecDeserializer.read(ns, data);\n }\n}\n","import { NormalizedSchema } from \"@smithy/core/schema\";\nimport { LazyJsonString, dateToUtcString, generateIdempotencyToken, quoteHeader, toBase64 } from \"@smithy/core/serde\";\nimport { SerdeContext } from \"../SerdeContext\";\nimport { determineTimestampFormat } from \"./determineTimestampFormat\";\nexport class ToStringShapeSerializer extends SerdeContext {\n settings;\n stringBuffer = \"\";\n constructor(settings) {\n super();\n this.settings = settings;\n }\n write(schema, value) {\n const ns = NormalizedSchema.of(schema);\n switch (typeof value) {\n case \"object\":\n if (value === null) {\n this.stringBuffer = \"null\";\n return;\n }\n if (ns.isTimestampSchema()) {\n if (!(value instanceof Date)) {\n throw new Error(`@smithy/core/protocols - received non-Date value ${value} when schema expected Date in ${ns.getName(true)}`);\n }\n const format = determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n this.stringBuffer = value.toISOString().replace(\".000Z\", \"Z\");\n break;\n case 6:\n this.stringBuffer = dateToUtcString(value);\n break;\n case 7:\n this.stringBuffer = String(value.getTime() / 1000);\n break;\n default:\n console.warn(\"Missing timestamp format, using epoch seconds\", value);\n this.stringBuffer = String(value.getTime() / 1000);\n }\n return;\n }\n if (ns.isBlobSchema() && \"byteLength\" in value) {\n this.stringBuffer = (this.serdeContext?.base64Encoder ?? toBase64)(value);\n return;\n }\n if (ns.isListSchema() && Array.isArray(value)) {\n let buffer = \"\";\n for (const item of value) {\n this.write([ns.getValueSchema(), ns.getMergedTraits()], item);\n const headerItem = this.flush();\n const serialized = ns.getValueSchema().isTimestampSchema() ? headerItem : quoteHeader(headerItem);\n if (buffer !== \"\") {\n buffer += \", \";\n }\n buffer += serialized;\n }\n this.stringBuffer = buffer;\n return;\n }\n this.stringBuffer = JSON.stringify(value, null, 2);\n break;\n case \"string\":\n const mediaType = ns.getMergedTraits().mediaType;\n let intermediateValue = value;\n if (mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n intermediateValue = LazyJsonString.from(intermediateValue);\n }\n if (ns.getMergedTraits().httpHeader) {\n this.stringBuffer = (this.serdeContext?.base64Encoder ?? toBase64)(intermediateValue.toString());\n return;\n }\n }\n this.stringBuffer = value;\n break;\n default:\n if (ns.isIdempotencyToken()) {\n this.stringBuffer = generateIdempotencyToken();\n }\n else {\n this.stringBuffer = String(value);\n }\n }\n }\n flush() {\n const buffer = this.stringBuffer;\n this.stringBuffer = \"\";\n return buffer;\n }\n}\n","import { NormalizedSchema } from \"@smithy/core/schema\";\nimport { ToStringShapeSerializer } from \"./ToStringShapeSerializer\";\nexport class HttpInterceptingShapeSerializer {\n codecSerializer;\n stringSerializer;\n buffer;\n constructor(codecSerializer, codecSettings, stringSerializer = new ToStringShapeSerializer(codecSettings)) {\n this.codecSerializer = codecSerializer;\n this.stringSerializer = stringSerializer;\n }\n setSerdeContext(serdeContext) {\n this.codecSerializer.setSerdeContext(serdeContext);\n this.stringSerializer.setSerdeContext(serdeContext);\n }\n write(schema, value) {\n const ns = NormalizedSchema.of(schema);\n const traits = ns.getMergedTraits();\n if (traits.httpHeader || traits.httpLabel || traits.httpQuery) {\n this.stringSerializer.write(ns, value);\n this.buffer = this.stringSerializer.flush();\n return;\n }\n return this.codecSerializer.write(ns, value);\n }\n flush() {\n if (this.buffer !== undefined) {\n const buffer = this.buffer;\n this.buffer = undefined;\n return buffer;\n }\n return this.codecSerializer.flush();\n }\n}\n","import { FieldPosition } from \"@smithy/types\";\nexport class Field {\n name;\n kind;\n values;\n constructor({ name, kind = FieldPosition.HEADER, values = [] }) {\n this.name = name;\n this.kind = kind;\n this.values = values;\n }\n add(value) {\n this.values.push(value);\n }\n set(values) {\n this.values = values;\n }\n remove(value) {\n this.values = this.values.filter((v) => v !== value);\n }\n toString() {\n return this.values.map((v) => (v.includes(\",\") || v.includes(\" \") ? `\"${v}\"` : v)).join(\", \");\n }\n get() {\n return this.values;\n }\n}\n","export class Fields {\n entries = {};\n encoding;\n constructor({ fields = [], encoding = \"utf-8\" }) {\n fields.forEach(this.setField.bind(this));\n this.encoding = encoding;\n }\n setField(field) {\n this.entries[field.name.toLowerCase()] = field;\n }\n getField(name) {\n return this.entries[name.toLowerCase()];\n }\n removeField(name) {\n delete this.entries[name.toLowerCase()];\n }\n getByType(kind) {\n return Object.values(this.entries).filter((field) => field.kind === kind);\n }\n}\n","export const getHttpHandlerExtensionConfiguration = (runtimeConfig) => {\n if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== \"NoOpLogger\") {\n runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for(\"logger\"), runtimeConfig.logger);\n }\n return {\n setHttpHandler(handler) {\n runtimeConfig.requestHandler = handler;\n },\n httpHandler() {\n return runtimeConfig.requestHandler;\n },\n updateHttpClientConfig(key, value) {\n runtimeConfig.requestHandler?.updateHttpClientConfig(key, value);\n },\n httpHandlerConfigs() {\n return runtimeConfig.requestHandler.httpHandlerConfigs();\n },\n };\n};\nexport const resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {\n return {\n requestHandler: httpHandlerExtensionConfiguration.httpHandler(),\n };\n};\n","import { HttpRequest } from \"@smithy/core/transport\";\nconst CONTENT_LENGTH_HEADER = \"content-length\";\nexport function contentLengthMiddleware(bodyLengthChecker) {\n return (next) => async (args) => {\n const request = args.request;\n if (HttpRequest.isInstance(request)) {\n const { body, headers } = request;\n if (body &&\n Object.keys(headers)\n .map((str) => str.toLowerCase())\n .indexOf(CONTENT_LENGTH_HEADER) === -1) {\n try {\n const length = bodyLengthChecker(body);\n if (length != null) {\n request.headers = {\n ...request.headers,\n [CONTENT_LENGTH_HEADER]: String(length),\n };\n }\n }\n catch (ignored) {\n }\n }\n }\n return next({\n ...args,\n request,\n });\n };\n}\nexport const contentLengthMiddlewareOptions = {\n step: \"build\",\n tags: [\"SET_CONTENT_LENGTH\", \"CONTENT_LENGTH\"],\n name: \"contentLengthMiddleware\",\n override: true,\n};\nexport const getContentLengthPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(contentLengthMiddleware(options.bodyLengthChecker), contentLengthMiddlewareOptions);\n },\n});\n","export const escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);\nconst hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;\n","import { escapeUri } from \"./escape-uri\";\nexport const escapeUriPath = (uri) => uri.split(\"/\").map(escapeUri).join(\"/\");\n","import { escapeUri } from \"../util-uri-escape/escape-uri\";\nexport function buildQueryString(query) {\n const parts = [];\n for (let key of Object.keys(query).sort()) {\n const value = query[key];\n key = escapeUri(key);\n if (Array.isArray(value)) {\n for (let i = 0, iLen = value.length; i < iLen; i++) {\n parts.push(`${key}=${escapeUri(value[i])}`);\n }\n }\n else {\n let qsEntry = key;\n if (value || typeof value === \"string\") {\n qsEntry += `=${escapeUri(value)}`;\n }\n parts.push(qsEntry);\n }\n }\n return parts.join(\"&\");\n}\n","export class SerdeContextConfig {\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n}\n","export class UnionSerde {\n from;\n to;\n keys;\n constructor(from, to) {\n this.from = from;\n this.to = to;\n const keys = Object.keys(this.from);\n const set = new Set(keys);\n set.delete(\"__type\");\n this.keys = set;\n }\n mark(key) {\n this.keys.delete(key);\n }\n hasUnknown() {\n return this.keys.size === 1 && Object.keys(this.to).length === 0;\n }\n writeUnknown() {\n if (this.hasUnknown()) {\n const k = this.keys.values().next().value;\n const v = this.from[k];\n this.to.$unknown = [k, v];\n }\n }\n}\n","let canParseBuffer;\nexport function detectBufferParsing() {\n if (canParseBuffer === undefined) {\n try {\n if (typeof Buffer !== \"function\") {\n canParseBuffer = false;\n }\n else {\n const result = JSON.parse(Buffer.from([0x7b, 0x7d]));\n canParseBuffer = result !== null && typeof result === \"object\";\n }\n }\n catch {\n canParseBuffer = false;\n }\n }\n return canParseBuffer;\n}\n","import { NumericValue } from \"@smithy/core/serde\";\nexport function jsonReviver(key, value, context) {\n if (context?.source) {\n const numericString = context.source;\n if (typeof value === \"number\") {\n const inSafeRange = value <= Number.MAX_SAFE_INTEGER && value >= Number.MIN_SAFE_INTEGER;\n if (inSafeRange) {\n if (isRepresentable(numericString, value)) {\n return value;\n }\n return new NumericValue(numericString, \"bigDecimal\");\n }\n else {\n if (isFractionalBigNumeric(numericString)) {\n return new NumericValue(numericString, \"bigDecimal\");\n }\n if (/[eE]/.test(numericString)) {\n return expandExponentToBigInt(numericString);\n }\n return BigInt(numericString);\n }\n }\n }\n return value;\n}\nfunction isFractionalBigNumeric(s) {\n const dotIndex = s.indexOf(\".\");\n if (dotIndex === -1) {\n return false;\n }\n const eIndex = s.search(/[eE]/);\n if (eIndex === -1) {\n return true;\n }\n const fracDigits = eIndex - dotIndex - 1;\n const exp = parseInt(s.slice(eIndex + 1), 10);\n return exp < fracDigits;\n}\nfunction isRepresentable(numericString, value) {\n if (numericString === String(value)) {\n return true;\n }\n if (Object.is(value, -0)) {\n return true;\n }\n if (/[eE]/.test(numericString)) {\n return expandToDecimal(numericString) === expandToDecimal(String(value));\n }\n const normalized = numericString.replace(/(\\.\\d*?)0+$/, \"$1\").replace(/\\.$/, \"\");\n const canonical = String(value);\n if (normalized === canonical) {\n return true;\n }\n if (/[eE]/.test(canonical)) {\n return normalized === expandToDecimal(canonical);\n }\n return false;\n}\nfunction expandToDecimal(s) {\n const negative = s.startsWith(\"-\");\n const abs = negative ? s.slice(1) : s;\n const eIndex = abs.search(/[eE]/);\n let result;\n if (eIndex === -1) {\n result = abs;\n }\n else {\n const exp = parseInt(abs.slice(eIndex + 1), 10);\n const mantissa = abs.slice(0, eIndex);\n const dotIndex = mantissa.indexOf(\".\");\n let digits;\n let intLen;\n if (dotIndex === -1) {\n digits = mantissa;\n intLen = mantissa.length;\n }\n else {\n digits = mantissa.slice(0, dotIndex) + mantissa.slice(dotIndex + 1);\n intLen = dotIndex;\n }\n digits = digits.replace(/0+$/, \"\") || \"0\";\n const newDotPos = intLen + exp;\n if (digits === \"0\") {\n result = \"0\";\n }\n else if (newDotPos <= 0) {\n result = \"0.\" + \"0\".repeat(-newDotPos) + digits;\n }\n else if (newDotPos >= digits.length) {\n result = digits + \"0\".repeat(newDotPos - digits.length);\n }\n else {\n result = digits.slice(0, newDotPos) + \".\" + digits.slice(newDotPos);\n }\n }\n if (result.includes(\".\")) {\n result = result.replace(/(\\.\\d*?)0+$/, \"$1\").replace(/\\.$/, \"\");\n }\n return (negative ? \"-\" : \"\") + result;\n}\nfunction expandExponentToBigInt(s) {\n const eIndex = s.search(/[eE]/);\n const exp = parseInt(s.slice(eIndex + 1), 10);\n const negative = s.startsWith(\"-\");\n const mantissa = s.slice(negative ? 1 : 0, eIndex);\n const dotIndex = mantissa.indexOf(\".\");\n let digits;\n let shift;\n if (dotIndex === -1) {\n digits = mantissa;\n shift = exp;\n }\n else {\n digits = mantissa.slice(0, dotIndex) + mantissa.slice(dotIndex + 1);\n const fracDigits = mantissa.length - dotIndex - 1;\n shift = exp - fracDigits;\n }\n digits = digits.replace(/0+$/, \"\") || \"0\";\n const result = BigInt(digits) * 10n ** BigInt(shift + (mantissa.replace(\".\", \"\").length - digits.length));\n return negative ? -result : result;\n}\n","import { NormalizedSchema } from \"@smithy/core/schema\";\nconst REVIVER_SYMBOL = Symbol.for(\"@aws-sdk/reviver\");\nexport function needsReviver(schema) {\n const ns = NormalizedSchema.of(schema);\n const raw = ns.getSchema();\n if (Array.isArray(raw) && ns.isStructSchema()) {\n if (REVIVER_SYMBOL in raw) {\n return raw[REVIVER_SYMBOL];\n }\n const result = _check(ns, new Set());\n raw[REVIVER_SYMBOL] = result;\n return result;\n }\n return _check(ns, new Set());\n}\nfunction _check(ns, seen) {\n const raw = ns.getSchema();\n if (seen.has(raw)) {\n return false;\n }\n seen.add(raw);\n if (ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {\n return true;\n }\n if (ns.isStructSchema()) {\n for (const [, memberSchema] of ns.structIterator()) {\n if (_check(memberSchema, seen)) {\n return true;\n }\n }\n }\n else if (ns.isListSchema() || ns.isMapSchema()) {\n if (_check(ns.getValueSchema(), seen)) {\n return true;\n }\n }\n else if (ns.isDocumentSchema()) {\n return true;\n }\n return false;\n}\n","import { collectBody } from \"./collect-stream-body\";\nimport { toUtf8 } from \"@smithy/core/serde\";\nexport const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? toUtf8)(body));\n","import { collectBody } from \"../collect-stream-body\";\nimport { collectBodyString } from \"../common\";\nimport { detectBufferParsing } from \"./detectBufferParsing\";\nimport { jsonReviver } from \"./jsonReviver\";\nimport { needsReviver } from \"./needsReviver\";\nexport async function parseJsonBody(streamBody, context, schema) {\n let parsingInput;\n if (detectBufferParsing() && typeof streamBody?.[Symbol.asyncIterator] === \"function\") {\n const buffer = await collectBody(streamBody, context);\n if (typeof Buffer === \"function\") {\n if (Buffer.isBuffer(buffer)) {\n parsingInput = buffer;\n }\n else {\n parsingInput = Buffer.from(buffer.buffer, buffer.byteOffset, buffer.byteLength);\n }\n }\n }\n if (!parsingInput) {\n parsingInput = await collectBodyString(streamBody, context);\n }\n if (parsingInput.length === 0) {\n return {};\n }\n const reviver = schema && needsReviver(schema) ? jsonReviver : undefined;\n try {\n return JSON.parse(parsingInput, reviver);\n }\n catch (e) {\n if (e?.name === \"SyntaxError\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: typeof parsingInput === \"string\" ? parsingInput : parsingInput.toString(\"utf8\"),\n });\n }\n throw e;\n }\n}\nexport const parseJsonErrorBody = async (errorBody, context) => {\n const value = await parseJsonBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n};\nconst findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());\nconst sanitizeErrorCode = (rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n};\nexport const loadRestJsonErrorCode = (output, data) => {\n return loadErrorCode(output, data, [\"header\", \"code\", \"type\"]);\n};\nexport const loadJsonRpcErrorCode = (output, data, queryCompat = false) => {\n return loadErrorCode(output, data, queryCompat ? [\"code\", \"header\", \"type\"] : [\"type\", \"code\", \"header\"]);\n};\nexport const loadSmithyRpcV2JsonErrorCode = (output, data) => {\n if (data?.__type !== undefined) {\n let cleanValue = data.__type;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n return cleanValue;\n }\n};\nconst loadErrorCode = ({ headers }, data, order) => {\n while (order.length > 0) {\n const location = order.shift();\n switch (location) {\n case \"header\":\n const headerKey = findKey(headers ?? {}, \"x-amzn-errortype\");\n if (headerKey !== undefined) {\n return sanitizeErrorCode(headers[headerKey]);\n }\n break;\n case \"code\":\n const codeKey = findKey(data ?? {}, \"code\");\n if (codeKey && data[codeKey] !== undefined) {\n return sanitizeErrorCode(data[codeKey]);\n }\n break;\n case \"type\":\n if (data?.__type !== undefined) {\n return sanitizeErrorCode(data.__type);\n }\n break;\n }\n }\n};\n","export function writeKey(obj) {\n Object.defineProperty(obj, \"__proto__\", { value: undefined, writable: true, enumerable: true, configurable: true });\n}\n","import { determineTimestampFormat } from \"../../serde/determineTimestampFormat\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { fromBase64, LazyJsonString, NumericValue, parseEpochTimestamp, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, } from \"@smithy/core/serde\";\nimport { SerdeContextConfig } from \"../../ConfigurableSerdeContext\";\nimport { UnionSerde } from \"../../UnionSerde\";\nimport { detectBufferParsing } from \"../detectBufferParsing\";\nimport { jsonReviver } from \"../jsonReviver\";\nimport { needsReviver } from \"../needsReviver\";\nimport { parseJsonBody } from \"../parseJsonBody\";\nimport { writeKey } from \"../../writeKey\";\nimport { hasOwn } from \"@smithy/core/transport\";\nexport class JsonShapeDeserializer2 extends SerdeContextConfig {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n async read(schema, data) {\n const reviver = needsReviver(schema) ? jsonReviver : undefined;\n let parsed;\n if (typeof data === \"string\") {\n if (data.length === 0) {\n return {};\n }\n parsed = JSON.parse(data, reviver);\n }\n else if (data instanceof Uint8Array && detectBufferParsing()) {\n if (data.byteLength === 0) {\n return {};\n }\n const buf = Buffer.isBuffer(data) ? data : Buffer.from(data.buffer, data.byteOffset, data.byteLength);\n parsed = JSON.parse(buf, reviver);\n }\n else {\n parsed = await parseJsonBody(data, this.serdeContext, schema);\n }\n return this._read(schema, parsed);\n }\n readObject(schema, data) {\n return this._read(schema, data);\n }\n _read(schema, value) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = NormalizedSchema.of(schema);\n if (isObject) {\n if (ns.isStructSchema()) {\n return this._readStruct(ns, value);\n }\n if (Array.isArray(value) && ns.isListSchema()) {\n const listMember = ns.getValueSchema();\n if (this.needsTransform(listMember)) {\n for (let i = 0; i < value.length; ++i) {\n value[i] = this._read(listMember, value[i]);\n }\n }\n return value;\n }\n if (ns.isMapSchema()) {\n const mapMember = ns.getValueSchema();\n const map = value;\n if (this.needsTransform(mapMember)) {\n for (const k in map) {\n if (!hasOwn(map, k))\n continue;\n if (k === \"__proto__\") {\n writeKey(map);\n }\n map[k] = this._read(mapMember, map[k]);\n }\n }\n return map;\n }\n }\n if (ns.isBlobSchema() && typeof value === \"string\") {\n return fromBase64(value);\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return LazyJsonString.from(value);\n }\n return value;\n }\n if (ns.isTimestampSchema() && value != null) {\n const format = determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n return parseRfc3339DateTimeWithOffset(value);\n case 6:\n return parseRfc7231DateTime(value);\n case 7:\n return parseEpochTimestamp(value);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", value);\n return new Date(value);\n }\n }\n if (ns.isBigIntegerSchema() && (typeof value === \"number\" || typeof value === \"string\")) {\n return BigInt(value);\n }\n if (ns.isBigDecimalSchema() && value != undefined) {\n if (value instanceof NumericValue) {\n return value;\n }\n const untyped = value;\n if (untyped.type === \"bigDecimal\" && \"string\" in untyped) {\n return new NumericValue(untyped.string, untyped.type);\n }\n return new NumericValue(String(value), \"bigDecimal\");\n }\n if (ns.isNumericSchema() && typeof value === \"string\") {\n switch (value) {\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n case \"NaN\":\n return NaN;\n }\n return value;\n }\n if (ns.isDocumentSchema()) {\n if (isObject) {\n if (Array.isArray(value)) {\n for (let i = 0; i < value.length; ++i) {\n const v = value[i];\n if (!(v instanceof NumericValue)) {\n value[i] = this._read(ns, v);\n }\n }\n }\n else {\n const doc = value;\n for (const k in doc) {\n if (!hasOwn(doc, k))\n continue;\n if (k === \"__proto__\") {\n writeKey(doc);\n }\n const v = doc[k];\n if (!(v instanceof NumericValue)) {\n doc[k] = this._read(ns, v);\n }\n }\n }\n }\n }\n return value;\n }\n _readStruct(ns, record) {\n const union = ns.isUnionSchema();\n const out = {};\n let nameMap;\n const hasType = typeof record.__type === \"string\";\n const { jsonName } = this.settings;\n if (jsonName && hasType) {\n nameMap = {};\n }\n let unionSerde;\n if (union) {\n unionSerde = new UnionSerde(record, out);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n let fromKey = memberName;\n if (jsonName) {\n fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;\n if (hasType) {\n nameMap[fromKey] = memberName;\n }\n }\n if (union) {\n unionSerde.mark(fromKey);\n }\n if (record[fromKey] != null) {\n out[memberName] = this._read(memberSchema, record[fromKey]);\n }\n }\n if (union) {\n unionSerde.writeUnknown();\n }\n else if (hasType) {\n for (const k in record) {\n if (!hasOwn(record, k))\n continue;\n const v = record[k];\n const t = jsonName ? (nameMap[k] ?? k) : k;\n if (!(t in out)) {\n out[t] = v;\n }\n }\n }\n return out;\n }\n needsTransform(ns) {\n if (ns.isBlobSchema() ||\n ns.isTimestampSchema() ||\n ns.isBigIntegerSchema() ||\n ns.isBigDecimalSchema() ||\n ns.isNumericSchema()) {\n return true;\n }\n if (ns.isDocumentSchema() || ns.isStructSchema() || ns.isListSchema() || ns.isMapSchema()) {\n return true;\n }\n if (ns.isStringSchema() && ns.getMergedTraits().mediaType) {\n return true;\n }\n return false;\n }\n}\n","import { toUtf8 } from \"@smithy/core/serde\";\nexport class JsonBytesStringAdapter extends Uint8Array {\n string = null;\n static allocUnsafe(bytes) {\n if (typeof Buffer === \"function\") {\n const buffer = Buffer.allocUnsafe(bytes);\n return new JsonBytesStringAdapter(buffer.buffer, buffer.byteOffset, buffer.byteLength);\n }\n return new JsonBytesStringAdapter(bytes);\n }\n toString() {\n return this.s();\n }\n valueOf() {\n return this.s();\n }\n includes(searchString, position) {\n if (typeof searchString === \"string\") {\n return this.s().includes(searchString, position);\n }\n return Uint8Array.prototype.includes.call(this, searchString, position);\n }\n indexOf(searchString, position) {\n if (typeof searchString === \"string\") {\n return this.s().indexOf(searchString, position);\n }\n return Uint8Array.prototype.indexOf.call(this, searchString, position);\n }\n lastIndexOf(searchString, position) {\n if (typeof searchString === \"string\") {\n return this.s().lastIndexOf(searchString, position);\n }\n const fn = Uint8Array.prototype.lastIndexOf;\n if (position !== undefined) {\n return fn.call(this, searchString, position);\n }\n return fn.call(this, searchString);\n }\n startsWith(searchString, position) {\n return this.s().startsWith(searchString, position);\n }\n endsWith(searchString, endPosition) {\n return this.s().endsWith(searchString, endPosition);\n }\n match(regexp) {\n return this.s().match(regexp);\n }\n replace(searchValue, replaceValue) {\n return this.s().replace(searchValue, replaceValue);\n }\n search(regexp) {\n return this.s().search(regexp);\n }\n split(separator, limit) {\n return this.s().split(separator, limit);\n }\n substring(start, end) {\n return this.s().substring(start, end);\n }\n trim() {\n return this.s().trim();\n }\n trimStart() {\n return this.s().trimStart();\n }\n trimEnd() {\n return this.s().trimEnd();\n }\n charAt(pos) {\n return this.s().charAt(pos);\n }\n charCodeAt(index) {\n return this.s().charCodeAt(index);\n }\n padStart(maxLength, fillString) {\n return this.s().padStart(maxLength, fillString);\n }\n padEnd(maxLength, fillString) {\n return this.s().padEnd(maxLength, fillString);\n }\n repeat(count) {\n return this.s().repeat(count);\n }\n toUpperCase() {\n return this.s().toUpperCase();\n }\n toLowerCase() {\n return this.s().toLowerCase();\n }\n s() {\n if (this.string == null) {\n const n = Date.now();\n if (n > warned + 60_000) {\n console.warn(\"@aws-sdk/core/protocols - WARN - JsonCodec2: you have called a string method on a Uint8Array request body. \" +\n \"It has been automatically converted to string. In a future version this will throw an error.\");\n warned = n;\n }\n this.string = toUtf8(this);\n }\n return this.string;\n }\n}\nvar warned = 0;\n","import { determineTimestampFormat } from \"../../serde/determineTimestampFormat\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue, toBase64 } from \"@smithy/core/serde\";\nimport { SerdeContextConfig } from \"../../ConfigurableSerdeContext\";\nimport { hasOwn } from \"@smithy/core/transport\";\nimport { JsonBytesStringAdapter } from \"./JsonBytesStringAdapter\";\nconst encoder = new TextEncoder();\nconst OPEN_BRACE = 0x7b;\nconst CLOSE_BRACE = 0x7d;\nconst OPEN_BRACKET = 0x5b;\nconst CLOSE_BRACKET = 0x5d;\nconst QUOTE = 0x22;\nconst COLON = 0x3a;\nconst COMMA = 0x2c;\nconst BACKSLASH = 0x5c;\nconst TRUE = new Uint8Array([0x74, 0x72, 0x75, 0x65]);\nconst FALSE = new Uint8Array([0x66, 0x61, 0x6c, 0x73, 0x65]);\nconst NULL = new Uint8Array([0x6e, 0x75, 0x6c, 0x6c]);\nconst ESCAPE_TABLE = new Array(128).fill(null);\nESCAPE_TABLE[0x08] = \"b\";\nESCAPE_TABLE[0x09] = \"t\";\nESCAPE_TABLE[0x0a] = \"n\";\nESCAPE_TABLE[0x0c] = \"f\";\nESCAPE_TABLE[0x0d] = \"r\";\nESCAPE_TABLE[0x22] = '\"';\nESCAPE_TABLE[0x5c] = \"\\\\\";\nfor (let i = 0; i < 0x20; i++) {\n if (ESCAPE_TABLE[i] === null) {\n ESCAPE_TABLE[i] = \"u00\" + i.toString(16).padStart(2, \"0\");\n }\n}\nconst INITIAL_BUFFER_SIZE = 2048;\nfunction alloc(size) {\n return JsonBytesStringAdapter.allocUnsafe(size);\n}\nexport class JsonShapeSerializer2 extends SerdeContextConfig {\n settings;\n json;\n i = 0;\n rootSchema;\n rawValue;\n passthrough = false;\n constructor(settings) {\n super();\n this.settings = settings;\n this.json = alloc(INITIAL_BUFFER_SIZE);\n }\n write(schema, value) {\n this.i = 0;\n this.rawValue = value;\n this.rootSchema = NormalizedSchema.of(schema);\n this.passthrough = this.rootSchema.isBlobSchema() || this.rootSchema.isStringSchema();\n if (!this.passthrough) {\n this.writeValue(this.rootSchema, value, undefined);\n }\n }\n writeDiscriminatedDocument(schema, value) {\n this.i = 0;\n this.rootSchema = NormalizedSchema.of(schema);\n const ns = this.rootSchema;\n if (ns.isStructSchema() && value != null && typeof value === \"object\") {\n this.writeValue(ns, value, undefined);\n const prefix = `\"__type\":\"${ns.getName(true) ?? \"Unknown\"}\",`;\n const z = prefix.length;\n this.ensure(z);\n this.json.copyWithin(1 + z, 1, this.i);\n encoder.encodeInto(prefix, this.json.subarray(1));\n this.i += z;\n }\n else {\n this.writeValue(ns, value, undefined);\n }\n }\n flush() {\n this.rootSchema = undefined;\n const finalPosition = this.i;\n this.i = 0;\n const raw = this.rawValue;\n this.rawValue = undefined;\n if (finalPosition === 0) {\n return raw;\n }\n const result = this.json.subarray(0, finalPosition);\n this.json = alloc(INITIAL_BUFFER_SIZE);\n return result;\n }\n ensure(byteCount) {\n const { i, json } = this;\n if (i + byteCount > json.length) {\n let newSize = json.length * 2;\n while (newSize < i + byteCount) {\n newSize *= 2;\n }\n const next = alloc(newSize);\n next.set(this.json);\n this.json = next;\n }\n }\n writeAscii(s) {\n const z = s.length;\n this.ensure(z);\n let { i, json } = this;\n for (let j = 0; j < z; ++j) {\n json[i] = s.charCodeAt(j);\n i += 1;\n }\n this.i = i;\n }\n writeAsciiQuoted(s) {\n const z = s.length;\n this.ensure(z + 4);\n let { json, i } = this;\n json[i++] = QUOTE;\n for (let j = 0; j < z; ++j) {\n json[i++] = s.charCodeAt(j);\n }\n json[i++] = QUOTE;\n this.i = i;\n }\n writeJsonString(s) {\n const z = s.length;\n this.ensure(z * 3 + 2);\n this.json[this.i++] = QUOTE;\n for (let j = 0; j < z; ++j) {\n const c = s.charCodeAt(j);\n if (c > 0x22 && c < 0x5c) {\n this.json[this.i++] = c;\n }\n else if (c < 0x80) {\n const esc = ESCAPE_TABLE[c];\n if (esc !== null) {\n this.ensure(esc.length + 1 + (z - j - 1) * 3 + 1);\n this.json[this.i++] = BACKSLASH;\n for (let k = 0; k < esc.length; k++) {\n this.json[this.i++] = esc.charCodeAt(k);\n }\n }\n else {\n this.json[this.i++] = c;\n }\n }\n else if (c >= 0xd800 && c <= 0xdbff) {\n const next = j + 1 < z ? s.charCodeAt(j + 1) : 0;\n if (next >= 0xdc00 && next <= 0xdfff) {\n this.ensure(4);\n const { written } = encoder.encodeInto(s.substring(j, j + 2), this.json.subarray(this.i));\n this.i += written;\n ++j;\n }\n else {\n this.ensure(6 + (z - j - 1) * 3 + 1);\n this.writeUnicodeEscape(c);\n }\n }\n else if (c >= 0xdc00 && c <= 0xdfff) {\n this.ensure(6 + (z - j - 1) * 3 + 1);\n this.writeUnicodeEscape(c);\n }\n else {\n let { i, json } = this;\n if (c < 0x800) {\n json[i++] = 0xc0 | (c >> 6);\n json[i++] = 0x80 | (c & 0x3f);\n }\n else {\n json[i++] = 0xe0 | (c >> 12);\n json[i++] = 0x80 | ((c >> 6) & 0x3f);\n json[i++] = 0x80 | (c & 0x3f);\n }\n this.i = i;\n }\n }\n this.json[this.i++] = QUOTE;\n }\n writeUnicodeEscape(code) {\n let { json, i } = this;\n json[i++] = BACKSLASH;\n json[i++] = 0x75;\n const hex = code.toString(16).padStart(4, \"0\");\n for (let j = 0; j < 4; ++j) {\n json[i++] = hex.charCodeAt(j);\n }\n this.i = i;\n }\n static B64 = (() => {\n const chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\n const table = new Uint8Array(64);\n for (let i = 0; i < 64; ++i) {\n table[i] = chars.charCodeAt(i);\n }\n return table;\n })();\n writeBase64(data) {\n const b64Len = Math.ceil(data.length / 3) * 4;\n this.ensure(b64Len + 2);\n const json = this.json;\n const B64 = JsonShapeSerializer2.B64;\n let i = this.i;\n json[i++] = QUOTE;\n const len = data.length;\n const remainder = len % 3;\n const mainLen = len - remainder;\n for (let j = 0; j < mainLen; j += 3) {\n const a = data[j];\n const b = data[j + 1];\n const c = data[j + 2];\n json[i++] = B64[a >> 2];\n json[i++] = B64[((a & 0x03) << 4) | (b >> 4)];\n json[i++] = B64[((b & 0x0f) << 2) | (c >> 6)];\n json[i++] = B64[c & 0x3f];\n }\n if (remainder === 2) {\n const a = data[mainLen];\n const b = data[mainLen + 1];\n json[i++] = B64[a >> 2];\n json[i++] = B64[((a & 0x03) << 4) | (b >> 4)];\n json[i++] = B64[(b & 0x0f) << 2];\n json[i++] = 0x3d;\n }\n else if (remainder === 1) {\n const a = data[mainLen];\n json[i++] = B64[a >> 2];\n json[i++] = B64[(a & 0x03) << 4];\n json[i++] = 0x3d;\n json[i++] = 0x3d;\n }\n json[i++] = QUOTE;\n this.i = i;\n }\n writeValue(schema, value, container) {\n if (value == null) {\n if (container?.isStructSchema()) {\n if (value === undefined) {\n const ns = NormalizedSchema.of(schema);\n if (ns.isIdempotencyToken()) {\n this.writeAsciiQuoted(generateIdempotencyToken());\n return;\n }\n }\n return;\n }\n this.ensure(4);\n this.json.set(NULL, this.i);\n this.i += 4;\n return;\n }\n const ns = NormalizedSchema.of(schema);\n const isObject = typeof value === \"object\";\n if (ns.isStringSchema()) {\n const mediaType = ns.getMergedTraits().mediaType;\n if (mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n this.writeJsonString(LazyJsonString.from(value).toString());\n return;\n }\n }\n }\n if (this.settings.bigNumberAsString && value != null && (ns.isBigIntegerSchema() || ns.isBigDecimalSchema())) {\n const asString = value instanceof NumericValue ? value.string : String(value);\n this.writeAsciiQuoted(asString);\n return;\n }\n if (isObject) {\n if (ns.isStructSchema()) {\n this.writeStruct(ns, value);\n return;\n }\n if (Array.isArray(value) && (ns.isListSchema() || ns.isDocumentSchema())) {\n this.writeList(ns, value, ns.isDocumentSchema());\n return;\n }\n if (ns.isMapSchema()) {\n this.writeMap(ns, value, false);\n return;\n }\n if (value instanceof Uint8Array && (ns.isBlobSchema() || ns.isDocumentSchema())) {\n this.writeBase64(value);\n return;\n }\n if (value instanceof Date && (ns.isTimestampSchema() || ns.isDocumentSchema())) {\n this.writeTimestamp(ns, value);\n return;\n }\n if (value instanceof NumericValue) {\n this.writeAscii(value.string);\n return;\n }\n if (ns.isDocumentSchema()) {\n if (Array.isArray(value)) {\n this.writeList(ns, value, true);\n }\n else {\n this.writeMap(ns, value, true);\n }\n return;\n }\n const json = JSON.stringify(value);\n this.writeAscii(json);\n return;\n }\n if (typeof value === \"string\") {\n if (ns.isBlobSchema()) {\n const b64 = (this.serdeContext?.base64Encoder ?? toBase64)(value);\n this.writeAsciiQuoted(b64);\n return;\n }\n this.writeJsonString(value);\n return;\n }\n if (typeof value === \"number\") {\n if (Math.abs(value) === Infinity || Number.isNaN(value)) {\n this.writeAsciiQuoted(String(value));\n return;\n }\n const numStr = String(value);\n this.writeAscii(numStr);\n return;\n }\n if (typeof value === \"boolean\") {\n this.ensure(5);\n let { i, json } = this;\n if (value) {\n json.set(TRUE, i);\n i += 4;\n }\n else {\n json.set(FALSE, i);\n i += 5;\n }\n this.i = i;\n return;\n }\n if (typeof value === \"bigint\") {\n this.writeAscii(value.toString());\n return;\n }\n this.writeAscii(String(value));\n }\n writeStruct(ns, value) {\n this.ensure(2);\n this.json[this.i++] = OPEN_BRACE;\n let wroteAny = false;\n const hasType = typeof value.__type === \"string\";\n let writtenKeys;\n if (hasType) {\n writtenKeys = new Set();\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const item = value[memberName];\n if (item == null && !memberSchema.isIdempotencyToken()) {\n continue;\n }\n if (wroteAny) {\n this.ensure(1);\n this.json[this.i++] = COMMA;\n }\n wroteAny = true;\n const targetKey = this.settings.jsonName ? (memberSchema.getMergedTraits().jsonName ?? memberName) : memberName;\n if (writtenKeys) {\n writtenKeys.add(memberName);\n writtenKeys.add(targetKey);\n }\n this.writeAsciiQuoted(targetKey);\n this.json[this.i++] = COLON;\n this.writeValue(memberSchema, item, ns);\n }\n if (!wroteAny && ns.isUnionSchema()) {\n const { $unknown } = value;\n if (Array.isArray($unknown)) {\n const [k, v] = $unknown;\n this.writeAsciiQuoted(k);\n this.ensure(1);\n this.json[this.i++] = COLON;\n this.writeValue(15, v, ns);\n }\n }\n else if (hasType) {\n for (const k in value) {\n if (writtenKeys.has(k)) {\n continue;\n }\n writtenKeys.add(k);\n const v = value[k];\n if (wroteAny) {\n this.ensure(1);\n this.json[this.i++] = COMMA;\n }\n wroteAny = true;\n this.writeAsciiQuoted(k);\n this.ensure(1);\n this.json[this.i++] = COLON;\n this.writeValue(15, v, undefined);\n }\n }\n this.ensure(1);\n this.json[this.i++] = CLOSE_BRACE;\n }\n writeList(ns, value, isDocument) {\n const sparse = !!ns.getMergedTraits().sparse;\n const valueSchema = ns.getValueSchema();\n if (!isDocument) {\n if (valueSchema.isStringSchema() || valueSchema.isNumericSchema() || valueSchema.isBooleanSchema()) {\n let hasSpecials = false;\n for (let i = 0; i < value.length; ++i) {\n const v = value[i];\n if (Number.isNaN(v) || v === Infinity || v === -Infinity || (v == null && !sparse)) {\n hasSpecials = true;\n break;\n }\n }\n let json;\n if (!hasSpecials) {\n json = JSON.stringify(value);\n }\n else {\n const out = [];\n for (let i = 0; i < value.length; ++i) {\n const v = value[i];\n if (v == null && !sparse)\n continue;\n if (Number.isNaN(v) || v === Infinity || v === -Infinity) {\n out.push(String(v));\n }\n else {\n out.push(v);\n }\n }\n json = JSON.stringify(out);\n }\n this.ensure(json.length * 3);\n this.i += encoder.encodeInto(json, this.json.subarray(this.i)).written;\n return;\n }\n }\n this.ensure(2);\n this.json[this.i++] = OPEN_BRACKET;\n let wroteFirstItem = false;\n for (let i = 0; i < value.length; ++i) {\n const item = value[i];\n if (isDocument ? item === undefined : item == null && !sparse) {\n continue;\n }\n if (wroteFirstItem) {\n this.ensure(1);\n this.json[this.i++] = COMMA;\n }\n this.writeValue(valueSchema, item, undefined);\n wroteFirstItem = true;\n }\n this.ensure(1);\n this.json[this.i++] = CLOSE_BRACKET;\n }\n writeMap(ns, value, isDocument) {\n const sparse = !!ns.getMergedTraits().sparse;\n const valueSchema = ns.getValueSchema();\n if (!isDocument) {\n if (valueSchema.isStringSchema() || valueSchema.isNumericSchema() || valueSchema.isBooleanSchema()) {\n let modifications;\n for (const k in value) {\n if (!hasOwn(value, k))\n continue;\n const v = value[k];\n if (Number.isNaN(v) || v === Infinity || v === -Infinity) {\n (modifications ??= {})[k] = v;\n value[k] = String(v);\n }\n else if (v === null && !sparse) {\n (modifications ??= {})[k] = null;\n value[k] = undefined;\n }\n }\n const json = JSON.stringify(value);\n if (modifications) {\n Object.assign(value, modifications);\n }\n this.ensure(json.length * 3);\n this.i += encoder.encodeInto(json, this.json.subarray(this.i)).written;\n return;\n }\n }\n this.ensure(2);\n this.json[this.i++] = OPEN_BRACE;\n let first = true;\n for (const k in value) {\n if (!hasOwn(value, k))\n continue;\n const v = value[k];\n if (isDocument ? v === undefined : v == null && !sparse) {\n continue;\n }\n if (!first) {\n this.ensure(1);\n this.json[this.i++] = COMMA;\n }\n first = false;\n this.writeJsonString(k);\n this.ensure(1);\n this.json[this.i++] = COLON;\n this.writeValue(valueSchema, v, undefined);\n }\n this.ensure(1);\n this.json[this.i++] = CLOSE_BRACE;\n }\n writeTimestamp(ns, value) {\n const format = determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5: {\n const iso = value.toISOString().replace(\".000Z\", \"Z\");\n this.writeAsciiQuoted(iso);\n return;\n }\n case 6: {\n this.writeAsciiQuoted(dateToUtcString(value));\n return;\n }\n case 7: {\n const epochSecs = String(value.getTime() / 1000);\n this.writeAscii(epochSecs);\n return;\n }\n default: {\n const epochSecs = String(value.getTime() / 1000);\n this.writeAscii(epochSecs);\n return;\n }\n }\n }\n}\n","import { SerdeContextConfig } from \"../../ConfigurableSerdeContext\";\nimport { JsonShapeDeserializer2 } from \"./JsonShapeDeserializer2\";\nimport { JsonShapeSerializer2 } from \"./JsonShapeSerializer2\";\nexport class JsonCodec2 extends SerdeContextConfig {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n createSerializer() {\n const serializer = new JsonShapeSerializer2(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new JsonShapeDeserializer2(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n}\n","import { RpcProtocol } from \"../RpcProtocol\";\nimport { NormalizedSchema, TypeRegistry, deref } from \"@smithy/core/schema\";\nimport { getSmithyContext } from \"@smithy/core/transport\";\nimport { JsonCodec2 } from \"./codec-v2/JsonCodec2\";\nimport { loadSmithyRpcV2JsonErrorCode } from \"./parseJsonBody\";\nexport class SmithyRpcV2JsonProtocol extends RpcProtocol {\n codec = new JsonCodec2({\n timestampFormat: {\n useTrait: false,\n default: 7,\n },\n jsonName: false,\n bigNumberAsString: true,\n });\n serializer = this.codec.createSerializer();\n deserializer = this.codec.createDeserializer();\n constructor({ defaultNamespace, errorTypeRegistries, }) {\n super({ defaultNamespace, errorTypeRegistries });\n }\n getShapeId() {\n return \"smithy.protocols#rpcv2Json\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n Object.assign(request.headers, {\n \"content-type\": this.getDefaultContentType(),\n \"smithy-protocol\": \"rpc-v2-json\",\n accept: this.getDefaultContentType(),\n });\n if (deref(operationSchema.input) === \"unit\") {\n delete request.body;\n delete request.headers[\"content-type\"];\n }\n else if (!request.body) {\n request.body = \"{}\";\n }\n const { service, operation } = getSmithyContext(context);\n const path = `/service/${service}/operation/${operation}`;\n if (request.path.endsWith(\"/\")) {\n request.path += path.slice(1);\n }\n else {\n request.path += path;\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorName = loadSmithyRpcV2JsonErrorCode(response, dataObject) ?? \"Unknown\";\n const errorMetadata = {\n $metadata: metadata,\n $fault: response.statusCode <= 500 ? \"client\" : \"server\",\n };\n let namespace = this.options.defaultNamespace;\n if (errorName.includes(\"#\")) {\n [namespace] = errorName.split(\"#\");\n }\n const registry = this.compositeErrorRegistry;\n const nsRegistry = TypeRegistry.for(namespace);\n registry.copyFrom(nsRegistry);\n let errorSchema;\n try {\n errorSchema = registry.getSchema(errorName);\n }\n catch (ignored) {\n if (dataObject.Message) {\n dataObject.message = dataObject.Message;\n }\n const syntheticRegistry = TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace);\n registry.copyFrom(syntheticRegistry);\n const baseExceptionSchema = registry.getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = registry.getErrorCtor(baseExceptionSchema);\n throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);\n }\n throw Object.assign(new Error(errorName), errorMetadata, dataObject);\n }\n const ns = NormalizedSchema.of(errorSchema);\n const ErrorCtor = registry.getErrorCtor(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new ErrorCtor({});\n const output = {};\n const errorDeserializer = this.codec.createDeserializer();\n for (const [name, member] of ns.structIterator()) {\n if (dataObject[name] != null) {\n output[name] = errorDeserializer.readObject(member, dataObject[name]);\n }\n }\n throw Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output);\n }\n getDefaultContentType() {\n return \"application/json\";\n }\n}\n","import { determineTimestampFormat } from \"../../serde/determineTimestampFormat\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { LazyJsonString, NumericValue, parseEpochTimestamp, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, } from \"@smithy/core/serde\";\nimport { fromBase64 } from \"@smithy/core/serde\";\nimport { hasOwn } from \"@smithy/core/transport\";\nimport { SerdeContextConfig } from \"../../ConfigurableSerdeContext\";\nimport { UnionSerde } from \"../../UnionSerde\";\nimport { jsonReviver } from \"../jsonReviver\";\nimport { needsReviver } from \"../needsReviver\";\nimport { parseJsonBody } from \"../parseJsonBody\";\nimport { writeKey } from \"../../writeKey\";\nexport class JsonShapeDeserializer extends SerdeContextConfig {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n async read(schema, data) {\n const reviver = needsReviver(schema) ? jsonReviver : undefined;\n return this._read(schema, typeof data === \"string\" ? JSON.parse(data, reviver) : await parseJsonBody(data, this.serdeContext, schema));\n }\n readObject(schema, data) {\n return this._read(schema, data);\n }\n _read(schema, value) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = NormalizedSchema.of(schema);\n if (isObject) {\n if (ns.isStructSchema()) {\n const record = value;\n const union = ns.isUnionSchema();\n const out = {};\n let nameMap = void 0;\n const { jsonName } = this.settings;\n if (jsonName) {\n nameMap = {};\n }\n let unionSerde;\n if (union) {\n unionSerde = new UnionSerde(record, out);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n let fromKey = memberName;\n if (jsonName) {\n fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;\n nameMap[fromKey] = memberName;\n }\n if (union) {\n unionSerde.mark(fromKey);\n }\n if (record[fromKey] != null) {\n out[memberName] = this._read(memberSchema, record[fromKey]);\n }\n }\n if (union) {\n unionSerde.writeUnknown();\n }\n else if (typeof record.__type === \"string\") {\n for (const k in record) {\n if (!hasOwn(record, k))\n continue;\n const v = record[k];\n const t = jsonName ? (nameMap[k] ?? k) : k;\n if (!(t in out)) {\n out[t] = v;\n }\n }\n }\n return out;\n }\n if (Array.isArray(value) && ns.isListSchema()) {\n const listMember = ns.getValueSchema();\n const out = [];\n for (const item of value) {\n out.push(this._read(listMember, item));\n }\n return out;\n }\n if (ns.isMapSchema()) {\n const mapMember = ns.getValueSchema();\n const out = {};\n for (const _k in value) {\n if (!hasOwn(value, _k))\n continue;\n if (_k === \"__proto__\") {\n writeKey(out);\n }\n out[_k] = this._read(mapMember, value[_k]);\n }\n return out;\n }\n }\n if (ns.isBlobSchema() && typeof value === \"string\") {\n return fromBase64(value);\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return LazyJsonString.from(value);\n }\n return value;\n }\n if (ns.isTimestampSchema() && value != null) {\n const format = determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n return parseRfc3339DateTimeWithOffset(value);\n case 6:\n return parseRfc7231DateTime(value);\n case 7:\n return parseEpochTimestamp(value);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", value);\n return new Date(value);\n }\n }\n if (ns.isBigIntegerSchema() && (typeof value === \"number\" || typeof value === \"string\")) {\n return BigInt(value);\n }\n if (ns.isBigDecimalSchema() && value != undefined) {\n if (value instanceof NumericValue) {\n return value;\n }\n const untyped = value;\n if (untyped.type === \"bigDecimal\" && \"string\" in untyped) {\n return new NumericValue(untyped.string, untyped.type);\n }\n return new NumericValue(String(value), \"bigDecimal\");\n }\n if (ns.isNumericSchema() && typeof value === \"string\") {\n switch (value) {\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n case \"NaN\":\n return NaN;\n }\n return value;\n }\n if (ns.isDocumentSchema()) {\n if (isObject) {\n const out = Array.isArray(value) ? [] : {};\n for (const k in value) {\n if (!hasOwn(value, k))\n continue;\n if (k === \"__proto__\") {\n writeKey(out);\n }\n const v = value[k];\n if (v instanceof NumericValue) {\n out[k] = v;\n }\n else {\n out[k] = this._read(ns, v);\n }\n }\n return out;\n }\n else {\n return structuredClone(value);\n }\n }\n return value;\n }\n}\n","import { NumericValue } from \"@smithy/core/serde\";\nconst NUMERIC_CONTROL_CHAR = String.fromCharCode(925);\nexport class JsonReplacer {\n values = new Map();\n counter = 0;\n stage = 0;\n createReplacer() {\n if (this.stage === 1) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer already created.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 1;\n return (key, value) => {\n if (value instanceof NumericValue) {\n const v = `${NUMERIC_CONTROL_CHAR + \"nv\" + this.counter++}_` + value.string;\n this.values.set(`\"${v}\"`, value.string);\n return v;\n }\n if (typeof value === \"bigint\") {\n const s = value.toString();\n const v = `${NUMERIC_CONTROL_CHAR + \"b\" + this.counter++}_` + s;\n this.values.set(`\"${v}\"`, s);\n return v;\n }\n return value;\n };\n }\n replaceInJson(json) {\n if (this.stage === 0) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer not created yet.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 2;\n if (this.counter === 0) {\n return json;\n }\n for (const [key, value] of this.values) {\n json = json.replace(key, value);\n }\n return json;\n }\n}\n","import { determineTimestampFormat } from \"../../serde/determineTimestampFormat\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue, toBase64 } from \"@smithy/core/serde\";\nimport { SerdeContextConfig } from \"../../ConfigurableSerdeContext\";\nimport { JsonReplacer } from \"../jsonReplacer\";\nimport { writeKey } from \"../../writeKey\";\nimport { hasOwn } from \"@smithy/core/transport\";\nexport class JsonShapeSerializer extends SerdeContextConfig {\n settings;\n buffer;\n useReplacer = false;\n rootSchema;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n write(schema, value) {\n this.rootSchema = NormalizedSchema.of(schema);\n this.buffer = this._write(this.rootSchema, value);\n }\n flush() {\n const { rootSchema, useReplacer } = this;\n this.rootSchema = undefined;\n this.useReplacer = false;\n if (rootSchema?.isStructSchema() || rootSchema?.isDocumentSchema()) {\n if (!useReplacer) {\n return JSON.stringify(this.buffer);\n }\n const replacer = new JsonReplacer();\n return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));\n }\n return this.buffer;\n }\n writeDiscriminatedDocument(schema, value) {\n this.write(schema, value);\n if (typeof this.buffer === \"object\") {\n this.buffer.__type = NormalizedSchema.of(schema).getName(true);\n }\n }\n _write(schema, value, container) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = NormalizedSchema.of(schema);\n if (isObject) {\n if (ns.isStructSchema()) {\n const record = value;\n const out = {};\n const { jsonName } = this.settings;\n let nameMap = void 0;\n if (jsonName) {\n nameMap = {};\n }\n let outCount = 0;\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const serializableValue = this._write(memberSchema, record[memberName], ns);\n if (serializableValue !== undefined) {\n let targetKey = memberName;\n if (jsonName) {\n targetKey = memberSchema.getMergedTraits().jsonName ?? memberName;\n nameMap[memberName] = targetKey;\n }\n out[targetKey] = serializableValue;\n outCount++;\n }\n }\n if (ns.isUnionSchema() && outCount === 0) {\n const { $unknown } = record;\n if (Array.isArray($unknown)) {\n const [k, v] = $unknown;\n if (k === \"__proto__\") {\n writeKey(out);\n }\n out[k] = this._write(15, v);\n }\n }\n else if (typeof record.__type === \"string\") {\n for (const k in record) {\n if (!hasOwn(record, k))\n continue;\n const v = record[k];\n const targetKey = jsonName ? (nameMap[k] ?? k) : k;\n if (!(targetKey in out)) {\n out[targetKey] = this._write(15, v);\n }\n }\n }\n return out;\n }\n if (Array.isArray(value) && ns.isListSchema()) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._write(listMember, item));\n }\n }\n return out;\n }\n if (ns.isMapSchema()) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const _k in value) {\n if (!hasOwn(value, _k))\n continue;\n const _v = value[_k];\n if (sparse || _v != null) {\n if (_k === \"__proto__\") {\n writeKey(out);\n }\n out[_k] = this._write(mapMember, _v);\n }\n }\n return out;\n }\n if (value instanceof Uint8Array && ns.isBlobSchema()) {\n if (ns === this.rootSchema) {\n return value;\n }\n return (this.serdeContext?.base64Encoder ?? toBase64)(value);\n }\n if (value instanceof Date && (ns.isTimestampSchema() || ns.isDocumentSchema())) {\n const format = determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n return value.toISOString().replace(\".000Z\", \"Z\");\n case 6:\n return dateToUtcString(value);\n case 7:\n return value.getTime() / 1000;\n default:\n console.warn(\"Missing timestamp format, using epoch seconds\", value);\n return value.getTime() / 1000;\n }\n }\n if (value instanceof NumericValue) {\n this.useReplacer = true;\n }\n }\n if (value === null && container?.isStructSchema()) {\n return void 0;\n }\n if (ns.isStringSchema()) {\n if (typeof value === \"undefined\" && ns.isIdempotencyToken()) {\n return generateIdempotencyToken();\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (value != null && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return LazyJsonString.from(value);\n }\n }\n return value;\n }\n if (typeof value === \"number\") {\n if (Math.abs(value) === Infinity || isNaN(value)) {\n return String(value);\n }\n return value;\n }\n if (typeof value === \"string\" && ns.isBlobSchema()) {\n if (ns === this.rootSchema) {\n return value;\n }\n return (this.serdeContext?.base64Encoder ?? toBase64)(value);\n }\n if (typeof value === \"bigint\") {\n this.useReplacer = true;\n }\n if (ns.isDocumentSchema()) {\n if (isObject) {\n if (value instanceof Uint8Array) {\n return (this.serdeContext?.base64Encoder ?? toBase64)(value);\n }\n const out = Array.isArray(value) ? [] : {};\n for (const k in value) {\n if (!hasOwn(value, k))\n continue;\n const v = value[k];\n if (k === \"__proto__\") {\n writeKey(out);\n }\n if (v instanceof NumericValue) {\n this.useReplacer = true;\n out[k] = v;\n }\n else {\n out[k] = this._write(ns, v);\n }\n }\n return out;\n }\n else {\n return structuredClone(value);\n }\n }\n return value;\n }\n}\n","import { SerdeContextConfig } from \"../../ConfigurableSerdeContext\";\nimport { JsonShapeDeserializer } from \"./JsonShapeDeserializer\";\nimport { JsonShapeSerializer } from \"./JsonShapeSerializer\";\nexport class JsonCodec extends SerdeContextConfig {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n createSerializer() {\n const serializer = new JsonShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new JsonShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n}\n","export { collectBody } from \"./collect-stream-body\";\nexport { extendedEncodeURIComponent } from \"./extended-encode-uri-component\";\nexport { HttpBindingProtocol } from \"./HttpBindingProtocol\";\nexport { HttpProtocol } from \"./HttpProtocol\";\nexport { RpcProtocol } from \"./RpcProtocol\";\nexport { RequestBuilder, requestBuilder } from \"./requestBuilder\";\nexport { resolvedPath } from \"./resolve-path\";\nexport { FromStringShapeDeserializer } from \"./serde/FromStringShapeDeserializer\";\nexport { HttpInterceptingShapeDeserializer } from \"./serde/HttpInterceptingShapeDeserializer\";\nexport { HttpInterceptingShapeSerializer } from \"./serde/HttpInterceptingShapeSerializer\";\nexport { ToStringShapeSerializer } from \"./serde/ToStringShapeSerializer\";\nexport { determineTimestampFormat } from \"./serde/determineTimestampFormat\";\nexport { SerdeContext } from \"./SerdeContext\";\nexport { Field } from \"./protocol-http/Field\";\nexport { Fields } from \"./protocol-http/Fields\";\nexport { HttpRequest } from \"@smithy/core/transport\";\nexport { HttpResponse } from \"@smithy/core/transport\";\nexport { isValidHostname } from \"@smithy/core/transport\";\nexport { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, } from \"./protocol-http/extensions/httpExtensionConfiguration\";\nexport { contentLengthMiddleware, contentLengthMiddlewareOptions, getContentLengthPlugin, } from \"./middleware-content-length/contentLengthMiddleware\";\nexport { escapeUri } from \"./util-uri-escape/escape-uri\";\nexport { escapeUriPath } from \"./util-uri-escape/escape-uri-path\";\nexport { buildQueryString } from \"./querystring-builder/buildQueryString\";\nexport { parseQueryString } from \"@smithy/core/transport\";\nexport { parseUrl } from \"@smithy/core/transport\";\nexport { SmithyRpcV2JsonProtocol } from \"./json/SmithyRpcV2JsonProtocol\";\nexport { parseJsonBody, parseJsonErrorBody, loadJsonRpcErrorCode, loadRestJsonErrorCode, loadSmithyRpcV2JsonErrorCode, } from \"./json/parseJsonBody\";\nexport { JsonCodec } from \"./json/codec-v1/JsonCodec\";\nexport { JsonShapeSerializer } from \"./json/codec-v1/JsonShapeSerializer\";\nexport { JsonShapeDeserializer } from \"./json/codec-v1/JsonShapeDeserializer\";\nexport { JsonCodec2 } from \"./json/codec-v2/JsonCodec2\";\nexport { JsonShapeSerializer2 } from \"./json/codec-v2/JsonShapeSerializer2\";\nexport { JsonShapeDeserializer2 } from \"./json/codec-v2/JsonShapeDeserializer2\";\n","export const CLOCK_SKEW_ERROR_CODES = [\n \"AccessDeniedException\",\n \"AuthFailure\",\n \"InvalidSignatureException\",\n \"RequestExpired\",\n \"RequestInTheFuture\",\n \"RequestTimeTooSkewed\",\n \"SignatureDoesNotMatch\",\n];\nexport const THROTTLING_ERROR_CODES = [\n \"BandwidthLimitExceeded\",\n \"EC2ThrottledException\",\n \"LimitExceededException\",\n \"PriorRequestNotComplete\",\n \"ProvisionedThroughputExceededException\",\n \"RequestLimitExceeded\",\n \"RequestThrottled\",\n \"RequestThrottledException\",\n \"SlowDown\",\n \"ThrottledException\",\n \"Throttling\",\n \"ThrottlingException\",\n \"TooManyRequestsException\",\n \"TransactionInProgressException\",\n];\nexport const TRANSIENT_ERROR_CODES = [\"TimeoutError\", \"RequestTimeout\", \"RequestTimeoutException\"];\nexport const TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504];\nexport const NODEJS_TIMEOUT_ERROR_CODES = [\"ECONNRESET\", \"ECONNREFUSED\", \"EPIPE\", \"ETIMEDOUT\"];\nexport const NODEJS_NETWORK_ERROR_CODES = [\"EHOSTUNREACH\", \"ENETUNREACH\", \"ENOTFOUND\", \"EAI_AGAIN\"];\n","import { CLOCK_SKEW_ERROR_CODES, NODEJS_NETWORK_ERROR_CODES, NODEJS_TIMEOUT_ERROR_CODES, THROTTLING_ERROR_CODES, TRANSIENT_ERROR_CODES, TRANSIENT_ERROR_STATUS_CODES, } from \"./constants\";\nexport const isRetryableByTrait = (error) => error?.$retryable !== undefined;\nexport const isClockSkewError = (error) => CLOCK_SKEW_ERROR_CODES.includes(error.name);\nexport const isClockSkewCorrectedError = (error) => error.$metadata?.clockSkewCorrected;\nexport const isBrowserNetworkError = (error) => {\n const errorMessages = new Set([\n \"Failed to fetch\",\n \"NetworkError when attempting to fetch resource\",\n \"The Internet connection appears to be offline\",\n \"Load failed\",\n \"Network request failed\",\n ]);\n const isValid = error && error instanceof TypeError;\n if (!isValid) {\n return false;\n }\n return errorMessages.has(error.message);\n};\nexport const isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 ||\n THROTTLING_ERROR_CODES.includes(error.name) ||\n error.$retryable?.throttling == true;\nexport const isTransientError = (error, depth = 0) => error?.name !== \"AbortError\" &&\n (isRetryableByTrait(error) ||\n isClockSkewCorrectedError(error) ||\n (error.name === \"InvalidSignatureException\" && error.message?.includes(\"Signature expired\")) ||\n TRANSIENT_ERROR_CODES.includes(error.name) ||\n NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || \"\") ||\n NODEJS_NETWORK_ERROR_CODES.includes(error?.code || \"\") ||\n TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) ||\n isBrowserNetworkError(error) ||\n isNodeJsHttp2TransientError(error) ||\n (error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1)));\nexport const isServerError = (error) => {\n if (error.$metadata?.httpStatusCode !== undefined) {\n const statusCode = error.$metadata.httpStatusCode;\n if (500 <= statusCode && statusCode <= 599 && !isTransientError(error)) {\n return true;\n }\n return false;\n }\n return false;\n};\nexport function isNodeJsHttp2TransientError(error) {\n return error.code === \"ERR_HTTP2_STREAM_ERROR\" && error.message.includes(\"NGHTTP2_REFUSED_STREAM\");\n}\n","export const DEFAULT_RETRY_DELAY_BASE = 100;\nexport const MAXIMUM_RETRY_DELAY = 20 * 1000;\nexport const THROTTLING_RETRY_DELAY_BASE = 500;\nexport const INITIAL_RETRY_TOKENS = 500;\nexport const RETRY_COST = 5;\nexport const TIMEOUT_RETRY_COST = 10;\nexport const NO_RETRY_INCREMENT = 1;\nexport const INVOCATION_ID_HEADER = \"amz-sdk-invocation-id\";\nexport const REQUEST_HEADER = \"amz-sdk-request\";\n","import { hasOwn } from \"@smithy/core/transport\";\nimport { HttpResponse } from \"@smithy/core/protocols\";\nimport { parseRfc7231DateTime } from \"@smithy/core/serde\";\nexport function parseRetryAfterHeader(response, logger) {\n if (!HttpResponse.isInstance(response)) {\n return;\n }\n for (const header in response.headers) {\n if (!hasOwn(response.headers, header))\n continue;\n const h = header.toLowerCase();\n if (h === \"retry-after\") {\n const retryAfter = response.headers[header];\n let retryAfterSeconds = NaN;\n if (retryAfter.endsWith(\"GMT\")) {\n try {\n const date = parseRfc7231DateTime(retryAfter);\n retryAfterSeconds = (date.getTime() - Date.now()) / 1000;\n }\n catch (e) {\n logger?.trace?.(\"Failed to parse retry-after header\");\n logger?.trace?.(e);\n }\n }\n else if (retryAfter.match(/ GMT, ((\\d+)|(\\d+\\.\\d+))$/)) {\n retryAfterSeconds = Number(retryAfter.match(/ GMT, ([\\d.]+)$/)?.[1]);\n }\n else if (retryAfter.match(/^((\\d+)|(\\d+\\.\\d+))$/)) {\n retryAfterSeconds = Number(retryAfter);\n }\n else if (Date.parse(retryAfter) >= Date.now()) {\n retryAfterSeconds = (Date.parse(retryAfter) - Date.now()) / 1000;\n }\n if (isNaN(retryAfterSeconds)) {\n return;\n }\n return new Date(Date.now() + retryAfterSeconds * 1000);\n }\n else if (h === \"x-amz-retry-after\") {\n const v = response.headers[header];\n const backoffMilliseconds = Number(v);\n if (isNaN(backoffMilliseconds)) {\n logger?.trace?.(`Failed to parse x-amz-retry-after=${v}`);\n return;\n }\n return new Date(Date.now() + backoffMilliseconds);\n }\n }\n}\nexport function getRetryAfterHint(response, logger) {\n return parseRetryAfterHeader(response, logger);\n}\n","export const asSdkError = (error) => {\n if (error instanceof Error)\n return error;\n if (error instanceof Object)\n return Object.assign(new Error(), error);\n if (typeof error === \"string\")\n return new Error(error);\n return new Error(`AWS SDK error wrapper for ${error}`);\n};\n","import { NoOpLogger } from \"@smithy/core/client\";\nimport { HttpRequest } from \"@smithy/core/protocols\";\nimport { v4 } from \"@smithy/core/serde\";\nimport { isServerError, isThrottlingError, isTransientError, } from \"../service-error-classification/service-error-classification\";\nimport { INVOCATION_ID_HEADER, REQUEST_HEADER } from \"../util-retry/constants\";\nimport { parseRetryAfterHeader } from \"./parseRetryAfterHeader\";\nimport { asSdkError } from \"./util\";\nexport function bindRetryMiddleware(isStreamingPayload) {\n return (options) => (next, context) => async (args) => {\n let retryStrategy = await options.retryStrategy();\n const maxAttempts = await options.maxAttempts();\n if (isRetryStrategyV2(retryStrategy)) {\n retryStrategy = retryStrategy;\n let retryToken = await retryStrategy.acquireInitialRetryToken((context[\"partition_id\"] ?? \"\") + (context.__retryLongPoll ? \":longpoll\" : \"\"));\n let lastError = new Error();\n let attempts = 0;\n let totalRetryDelay = 0;\n const { request } = args;\n const isRequest = HttpRequest.isInstance(request);\n if (isRequest) {\n request.headers[INVOCATION_ID_HEADER] = v4();\n }\n while (true) {\n try {\n if (isRequest) {\n request.headers[REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;\n }\n const { response, output } = await next(args);\n retryStrategy.recordSuccess(retryToken);\n output.$metadata.attempts = attempts + 1;\n output.$metadata.totalRetryDelay = totalRetryDelay;\n return { response, output };\n }\n catch (e) {\n const retryErrorInfo = getRetryErrorInfo(e, options.logger);\n lastError = asSdkError(e);\n if (isRequest && isStreamingPayload(request)) {\n (context.logger instanceof NoOpLogger ? console : context.logger)?.warn(\"An error was encountered in a non-retryable streaming request.\");\n throw lastError;\n }\n try {\n retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);\n }\n catch (ignoredRefreshError) {\n if (!lastError.$metadata) {\n lastError.$metadata = {};\n }\n lastError.$metadata.attempts = attempts + 1;\n lastError.$metadata.totalRetryDelay = totalRetryDelay;\n throw lastError;\n }\n attempts = retryToken.getRetryCount();\n const delay = retryToken.getRetryDelay();\n totalRetryDelay += (retryToken?.$retryLog?.acquisitionDelay ?? 0) + delay;\n if (delay > 0) {\n await cooldown(delay);\n }\n }\n }\n }\n else {\n retryStrategy = retryStrategy;\n if (retryStrategy?.mode) {\n context.userAgent = [...(context.userAgent || []), [\"cfg/retry-mode\", retryStrategy.mode]];\n }\n return retryStrategy.retry(next, args);\n }\n };\n}\nconst cooldown = (ms) => new Promise((resolve) => setTimeout(resolve, ms));\nconst isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== \"undefined\" &&\n typeof retryStrategy.refreshRetryTokenForRetry !== \"undefined\" &&\n typeof retryStrategy.recordSuccess !== \"undefined\";\nconst getRetryErrorInfo = (error, logger) => {\n const errorInfo = {\n error,\n errorType: getRetryErrorType(error),\n };\n const retryAfterHint = parseRetryAfterHeader(error.$response, logger);\n if (retryAfterHint) {\n errorInfo.retryAfterHint = retryAfterHint;\n }\n return errorInfo;\n};\nconst getRetryErrorType = (error) => {\n if (isThrottlingError(error))\n return \"THROTTLING\";\n if (isTransientError(error))\n return \"TRANSIENT\";\n if (isServerError(error))\n return \"SERVER_ERROR\";\n return \"CLIENT_ERROR\";\n};\nexport const retryMiddlewareOptions = {\n name: \"retryMiddleware\",\n tags: [\"RETRY\"],\n step: \"finalizeRequest\",\n priority: \"high\",\n override: true,\n};\nexport function bindGetRetryPlugin(isStreamingPayload) {\n const retryMiddleware = bindRetryMiddleware(isStreamingPayload);\n return (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(retryMiddleware(options), retryMiddlewareOptions);\n },\n });\n}\n","import { isThrottlingError } from \"../service-error-classification/service-error-classification\";\nexport class DefaultRateLimiter {\n static setTimeoutFn = (fn, delay) => setTimeout(fn, delay);\n beta;\n minCapacity;\n minFillRate;\n scaleConstant;\n smooth;\n enabled = false;\n availableTokens = 0;\n lastMaxRate = 0;\n measuredTxRate = 0;\n requestCount = 0;\n fillRate;\n lastThrottleTime;\n lastTimestamp = 0;\n lastTxRateBucket;\n maxCapacity;\n timeWindow = 0;\n constructor(options) {\n this.beta = options?.beta ?? 0.7;\n this.minCapacity = options?.minCapacity ?? 1;\n this.minFillRate = options?.minFillRate ?? 0.5;\n this.scaleConstant = options?.scaleConstant ?? 0.4;\n this.smooth = options?.smooth ?? 0.8;\n this.lastThrottleTime = this.getCurrentTimeInSeconds();\n this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds());\n this.fillRate = this.minFillRate;\n this.maxCapacity = this.minCapacity;\n }\n async getSendToken() {\n return this.acquireTokenBucket(1);\n }\n updateClientSendingRate(response) {\n let calculatedRate;\n this.updateMeasuredRate();\n const retryErrorInfo = response;\n const isThrottling = retryErrorInfo?.errorType === \"THROTTLING\" || isThrottlingError(retryErrorInfo?.error ?? response);\n if (isThrottling) {\n const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate);\n this.lastMaxRate = rateToUse;\n this.calculateTimeWindow();\n this.lastThrottleTime = this.getCurrentTimeInSeconds();\n calculatedRate = this.cubicThrottle(rateToUse);\n this.enableTokenBucket();\n }\n else {\n this.calculateTimeWindow();\n calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds());\n }\n const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate);\n this.updateTokenBucketRate(newRate);\n }\n getCurrentTimeInSeconds() {\n return Date.now() / 1000;\n }\n async acquireTokenBucket(amount) {\n if (!this.enabled) {\n return;\n }\n this.refillTokenBucket();\n while (amount > this.availableTokens) {\n const delay = ((amount - this.availableTokens) / this.fillRate) * 1000;\n await new Promise((resolve) => DefaultRateLimiter.setTimeoutFn(resolve, delay));\n this.refillTokenBucket();\n }\n this.availableTokens = this.availableTokens - amount;\n }\n refillTokenBucket() {\n const timestamp = this.getCurrentTimeInSeconds();\n if (!this.lastTimestamp) {\n this.lastTimestamp = timestamp;\n return;\n }\n const fillAmount = (timestamp - this.lastTimestamp) * this.fillRate;\n this.availableTokens = Math.min(this.maxCapacity, this.availableTokens + fillAmount);\n this.lastTimestamp = timestamp;\n }\n calculateTimeWindow() {\n this.timeWindow = this.getPrecise(Math.pow((this.lastMaxRate * (1 - this.beta)) / this.scaleConstant, 1 / 3));\n }\n cubicThrottle(rateToUse) {\n return this.getPrecise(rateToUse * this.beta);\n }\n cubicSuccess(timestamp) {\n return this.getPrecise(this.scaleConstant * Math.pow(timestamp - this.lastThrottleTime - this.timeWindow, 3) + this.lastMaxRate);\n }\n enableTokenBucket() {\n this.enabled = true;\n }\n updateTokenBucketRate(newRate) {\n this.refillTokenBucket();\n this.fillRate = Math.max(newRate, this.minFillRate);\n this.maxCapacity = Math.max(newRate, this.minCapacity);\n this.availableTokens = Math.min(this.availableTokens, this.maxCapacity);\n }\n updateMeasuredRate() {\n const t = this.getCurrentTimeInSeconds();\n const timeBucket = Math.floor(t * 2) / 2;\n this.requestCount++;\n if (timeBucket > this.lastTxRateBucket) {\n const currentRate = this.requestCount / (timeBucket - this.lastTxRateBucket);\n this.measuredTxRate = this.getPrecise(currentRate * this.smooth + this.measuredTxRate * (1 - this.smooth));\n this.requestCount = 0;\n this.lastTxRateBucket = timeBucket;\n }\n }\n getPrecise(num) {\n return parseFloat(num.toFixed(8));\n }\n}\n","export class Retry {\n static v2026 = typeof process !== \"undefined\" && process.env?.SMITHY_NEW_RETRIES_2026 === \"true\";\n static delay() {\n return Retry.v2026 ? 50 : 100;\n }\n static throttlingDelay() {\n return Retry.v2026 ? 1_000 : 500;\n }\n static cost() {\n return Retry.v2026 ? 14 : 5;\n }\n static throttlingCost() {\n return Retry.v2026 ? 5 : 10;\n }\n static modifiedCostType() {\n return Retry.v2026 ? \"THROTTLING\" : \"TRANSIENT\";\n }\n}\n","import { MAXIMUM_RETRY_DELAY } from \"./constants\";\nimport { Retry } from \"./retries-2026-config\";\nexport class DefaultRetryBackoffStrategy {\n x = Retry.delay();\n computeNextBackoffDelay(i) {\n const b = Math.random();\n const r = 2;\n const t_i = b * Math.min(this.x * r ** i, MAXIMUM_RETRY_DELAY);\n return Math.floor(t_i);\n }\n setDelayBase(delay) {\n this.x = delay;\n }\n}\n","import { MAXIMUM_RETRY_DELAY } from \"./constants\";\nexport class DefaultRetryToken {\n delay;\n count;\n cost;\n longPoll;\n $retryLog = {\n acquisitionDelay: 0,\n };\n constructor(delay, count, cost, longPoll) {\n this.delay = delay;\n this.count = count;\n this.cost = cost;\n this.longPoll = longPoll;\n }\n getRetryCount() {\n return this.count;\n }\n getRetryDelay() {\n return Math.min(MAXIMUM_RETRY_DELAY, this.delay);\n }\n getRetryCost() {\n return this.cost;\n }\n isLongPoll() {\n return this.longPoll;\n }\n}\n","export var RETRY_MODES;\n(function (RETRY_MODES) {\n RETRY_MODES[\"STANDARD\"] = \"standard\";\n RETRY_MODES[\"ADAPTIVE\"] = \"adaptive\";\n})(RETRY_MODES || (RETRY_MODES = {}));\nexport const DEFAULT_MAX_ATTEMPTS = 3;\nexport const DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;\n","import { DefaultRetryBackoffStrategy } from \"./DefaultRetryBackoffStrategy\";\nimport { DefaultRetryToken } from \"./DefaultRetryToken\";\nimport { DEFAULT_MAX_ATTEMPTS, RETRY_MODES } from \"./config\";\nimport { INITIAL_RETRY_TOKENS, NO_RETRY_INCREMENT } from \"./constants\";\nimport { Retry } from \"./retries-2026-config\";\nconst refusal = {\n incompatible: 1,\n attempts: 2,\n capacity: 3,\n};\nexport class StandardRetryStrategy {\n mode = RETRY_MODES.STANDARD;\n retryBackoffStrategy;\n capacity = INITIAL_RETRY_TOKENS;\n maxAttemptsProvider;\n baseDelay;\n constructor(arg1) {\n if (typeof arg1 === \"number\") {\n this.maxAttemptsProvider = async () => arg1;\n }\n else if (typeof arg1 === \"function\") {\n this.maxAttemptsProvider = arg1;\n }\n else if (arg1 && typeof arg1 === \"object\") {\n this.maxAttemptsProvider = async () => arg1.maxAttempts;\n this.baseDelay = arg1.baseDelay;\n this.retryBackoffStrategy = arg1.backoff;\n }\n this.maxAttemptsProvider ??= async () => DEFAULT_MAX_ATTEMPTS;\n this.baseDelay ??= Retry.delay();\n this.retryBackoffStrategy ??= new DefaultRetryBackoffStrategy();\n }\n async acquireInitialRetryToken(retryTokenScope) {\n return new DefaultRetryToken(Retry.delay(), 0, undefined, Retry.v2026 && retryTokenScope.includes(\":longpoll\"));\n }\n async refreshRetryTokenForRetry(token, errorInfo) {\n const maxAttempts = await this.getMaxAttempts();\n const retryCode = this.retryCode(token, errorInfo, maxAttempts);\n const shouldRetry = retryCode === 0;\n const isLongPoll = token.isLongPoll?.();\n if (shouldRetry || isLongPoll) {\n const errorType = errorInfo.errorType;\n this.retryBackoffStrategy.setDelayBase(errorType === \"THROTTLING\" ? Retry.throttlingDelay() : this.baseDelay);\n const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount());\n let retryDelay = delayFromErrorType;\n if (errorInfo.retryAfterHint instanceof Date) {\n retryDelay = Math.max(delayFromErrorType, Math.min(errorInfo.retryAfterHint.getTime() - Date.now(), delayFromErrorType + 5_000));\n }\n if (!shouldRetry) {\n const longPollBackoff = Retry.v2026 && retryCode === refusal.capacity && isLongPoll ? retryDelay : 0;\n if (longPollBackoff > 0) {\n await new Promise((r) => setTimeout(r, longPollBackoff));\n }\n }\n else {\n const capacityCost = this.getCapacityCost(errorType);\n this.capacity -= capacityCost;\n const nextToken = new DefaultRetryToken(0, token.getRetryCount() + 1, capacityCost, token.isLongPoll?.() ?? false);\n await new Promise((r) => setTimeout(r, retryDelay));\n nextToken.$retryLog.acquisitionDelay = retryDelay;\n return nextToken;\n }\n }\n throw new Error(\"No retry token available\");\n }\n recordSuccess(token) {\n this.capacity = Math.min(INITIAL_RETRY_TOKENS, this.capacity + (token.getRetryCost() ?? NO_RETRY_INCREMENT));\n }\n getCapacity() {\n return this.capacity;\n }\n async maxAttempts() {\n return this.maxAttemptsProvider();\n }\n async getMaxAttempts() {\n try {\n return await this.maxAttemptsProvider();\n }\n catch (ignored) {\n console.warn(`Max attempts provider could not resolve. Using default of ${DEFAULT_MAX_ATTEMPTS}`);\n return DEFAULT_MAX_ATTEMPTS;\n }\n }\n retryCode(tokenToRenew, errorInfo, maxAttempts) {\n const attempts = tokenToRenew.getRetryCount() + 1;\n const retryableStatus = this.isRetryableError(errorInfo.errorType) ? 0 : refusal.incompatible;\n const attemptStatus = attempts < maxAttempts ? 0 : refusal.attempts;\n const capacityStatus = this.capacity >= this.getCapacityCost(errorInfo.errorType) ? 0 : refusal.capacity;\n return retryableStatus || attemptStatus || capacityStatus;\n }\n getCapacityCost(errorType) {\n return errorType === Retry.modifiedCostType() ? Retry.throttlingCost() : Retry.cost();\n }\n isRetryableError(errorType) {\n return errorType === \"THROTTLING\" || errorType === \"TRANSIENT\";\n }\n}\n","import { DefaultRateLimiter } from \"./DefaultRateLimiter\";\nimport { StandardRetryStrategy } from \"./StandardRetryStrategy\";\nimport { RETRY_MODES } from \"./config\";\nexport class AdaptiveRetryStrategy {\n mode = RETRY_MODES.ADAPTIVE;\n rateLimiter;\n standardRetryStrategy;\n constructor(maxAttemptsProvider, options) {\n const { rateLimiter } = options ?? {};\n this.rateLimiter = rateLimiter ?? new DefaultRateLimiter();\n this.standardRetryStrategy = options\n ? new StandardRetryStrategy({\n maxAttempts: typeof maxAttemptsProvider === \"number\" ? maxAttemptsProvider : 3,\n ...options,\n })\n : new StandardRetryStrategy(maxAttemptsProvider);\n }\n async acquireInitialRetryToken(retryTokenScope) {\n const token = await this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope);\n await this.rateLimiter.getSendToken();\n return token;\n }\n async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {\n this.rateLimiter.updateClientSendingRate(errorInfo);\n const token = await this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew, errorInfo);\n await this.rateLimiter.getSendToken();\n return token;\n }\n recordSuccess(token) {\n this.rateLimiter.updateClientSendingRate({});\n this.standardRetryStrategy.recordSuccess(token);\n }\n async maxAttemptsProvider() {\n return this.standardRetryStrategy.maxAttempts();\n }\n}\n","import { StandardRetryStrategy } from \"./StandardRetryStrategy\";\nimport { Retry } from \"./retries-2026-config\";\nexport class ConfiguredRetryStrategy extends StandardRetryStrategy {\n computeNextBackoffDelay;\n constructor(maxAttempts, computeNextBackoffDelay = Retry.delay()) {\n super(typeof maxAttempts === \"function\" ? maxAttempts : async () => maxAttempts);\n if (typeof computeNextBackoffDelay === \"number\") {\n this.computeNextBackoffDelay = () => computeNextBackoffDelay;\n }\n else {\n this.computeNextBackoffDelay = computeNextBackoffDelay;\n }\n this.retryBackoffStrategy.computeNextBackoffDelay = (completedAttempt) => {\n const nextAttempt = completedAttempt + 1;\n return this.computeNextBackoffDelay(nextAttempt);\n };\n }\n}\n","import { NO_RETRY_INCREMENT, RETRY_COST, TIMEOUT_RETRY_COST } from \"../../util-retry/constants\";\nexport const getDefaultRetryQuota = (initialRetryTokens, options) => {\n const MAX_CAPACITY = initialRetryTokens;\n const noRetryIncrement = options?.noRetryIncrement ?? NO_RETRY_INCREMENT;\n const retryCost = options?.retryCost ?? RETRY_COST;\n const timeoutRetryCost = options?.timeoutRetryCost ?? TIMEOUT_RETRY_COST;\n let availableCapacity = initialRetryTokens;\n const getCapacityAmount = (error) => (error.name === \"TimeoutError\" ? timeoutRetryCost : retryCost);\n const hasRetryTokens = (error) => getCapacityAmount(error) <= availableCapacity;\n const retrieveRetryTokens = (error) => {\n if (!hasRetryTokens(error)) {\n throw new Error(\"No retry token available\");\n }\n const capacityAmount = getCapacityAmount(error);\n availableCapacity -= capacityAmount;\n return capacityAmount;\n };\n const releaseRetryTokens = (capacityReleaseAmount) => {\n availableCapacity += capacityReleaseAmount ?? noRetryIncrement;\n availableCapacity = Math.min(availableCapacity, MAX_CAPACITY);\n };\n return Object.freeze({\n hasRetryTokens,\n retrieveRetryTokens,\n releaseRetryTokens,\n });\n};\n","import { MAXIMUM_RETRY_DELAY } from \"../../util-retry/constants\";\nexport const defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));\n","import { isClockSkewError, isRetryableByTrait, isThrottlingError, isTransientError, } from \"../../service-error-classification/service-error-classification\";\nexport const defaultRetryDecider = (error) => {\n if (!error) {\n return false;\n }\n return isRetryableByTrait(error) || isClockSkewError(error) || isThrottlingError(error) || isTransientError(error);\n};\n","import { HttpRequest, HttpResponse } from \"@smithy/core/protocols\";\nimport { v4 } from \"@smithy/core/serde\";\nimport { isThrottlingError } from \"../../service-error-classification/service-error-classification\";\nimport { DEFAULT_MAX_ATTEMPTS, RETRY_MODES } from \"../../util-retry/config\";\nimport { DEFAULT_RETRY_DELAY_BASE, INITIAL_RETRY_TOKENS, INVOCATION_ID_HEADER, REQUEST_HEADER, THROTTLING_RETRY_DELAY_BASE, } from \"../../util-retry/constants\";\nimport { asSdkError } from \"../util\";\nimport { getDefaultRetryQuota } from \"./defaultRetryQuota\";\nimport { defaultDelayDecider } from \"./delayDecider\";\nimport { defaultRetryDecider } from \"./retryDecider\";\nexport class StandardRetryStrategy {\n maxAttemptsProvider;\n retryDecider;\n delayDecider;\n retryQuota;\n mode = RETRY_MODES.STANDARD;\n constructor(maxAttemptsProvider, options) {\n this.maxAttemptsProvider = maxAttemptsProvider;\n this.retryDecider = options?.retryDecider ?? defaultRetryDecider;\n this.delayDecider = options?.delayDecider ?? defaultDelayDecider;\n this.retryQuota = options?.retryQuota ?? getDefaultRetryQuota(INITIAL_RETRY_TOKENS);\n }\n shouldRetry(error, attempts, maxAttempts) {\n return attempts < maxAttempts && this.retryDecider(error) && this.retryQuota.hasRetryTokens(error);\n }\n async getMaxAttempts() {\n let maxAttempts;\n try {\n maxAttempts = await this.maxAttemptsProvider();\n }\n catch (ignored) {\n maxAttempts = DEFAULT_MAX_ATTEMPTS;\n }\n return maxAttempts;\n }\n async retry(next, args, options) {\n let retryTokenAmount;\n let attempts = 0;\n let totalDelay = 0;\n const maxAttempts = await this.getMaxAttempts();\n const { request } = args;\n if (HttpRequest.isInstance(request)) {\n request.headers[INVOCATION_ID_HEADER] = v4();\n }\n while (true) {\n try {\n if (HttpRequest.isInstance(request)) {\n request.headers[REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;\n }\n if (options?.beforeRequest) {\n await options.beforeRequest();\n }\n const { response, output } = await next(args);\n if (options?.afterRequest) {\n options.afterRequest(response);\n }\n this.retryQuota.releaseRetryTokens(retryTokenAmount);\n output.$metadata.attempts = attempts + 1;\n output.$metadata.totalRetryDelay = totalDelay;\n return { response, output };\n }\n catch (e) {\n const err = asSdkError(e);\n attempts++;\n if (this.shouldRetry(err, attempts, maxAttempts)) {\n retryTokenAmount = this.retryQuota.retrieveRetryTokens(err);\n const delayFromDecider = this.delayDecider(isThrottlingError(err) ? THROTTLING_RETRY_DELAY_BASE : DEFAULT_RETRY_DELAY_BASE, attempts);\n const delayFromResponse = getDelayFromRetryAfterHeader(err.$response);\n const delay = Math.max(delayFromResponse || 0, delayFromDecider);\n totalDelay += delay;\n await new Promise((resolve) => setTimeout(resolve, delay));\n continue;\n }\n if (!err.$metadata) {\n err.$metadata = {};\n }\n err.$metadata.attempts = attempts;\n err.$metadata.totalRetryDelay = totalDelay;\n throw err;\n }\n }\n }\n}\nconst getDelayFromRetryAfterHeader = (response) => {\n if (!HttpResponse.isInstance(response))\n return;\n const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === \"retry-after\");\n if (!retryAfterHeaderName)\n return;\n const retryAfter = response.headers[retryAfterHeaderName];\n const retryAfterSeconds = Number(retryAfter);\n if (!Number.isNaN(retryAfterSeconds))\n return Math.min(retryAfterSeconds * 1000, 20_000);\n const retryAfterDate = new Date(retryAfter);\n return Math.min(retryAfterDate.getTime() - Date.now(), 20_000);\n};\n","import { DefaultRateLimiter } from \"../../util-retry/DefaultRateLimiter\";\nimport { RETRY_MODES } from \"../../util-retry/config\";\nimport { StandardRetryStrategy } from \"./StandardRetryStrategy\";\nexport class AdaptiveRetryStrategy extends StandardRetryStrategy {\n rateLimiter;\n constructor(maxAttemptsProvider, options) {\n const { rateLimiter, ...superOptions } = options ?? {};\n super(maxAttemptsProvider, superOptions);\n this.rateLimiter = rateLimiter ?? new DefaultRateLimiter();\n this.mode = RETRY_MODES.ADAPTIVE;\n }\n async retry(next, args) {\n return super.retry(next, args, {\n beforeRequest: async () => {\n return this.rateLimiter.getSendToken();\n },\n afterRequest: (response) => {\n this.rateLimiter.updateClientSendingRate(response);\n },\n });\n }\n}\n","import { normalizeProvider } from \"@smithy/core/client\";\nimport { AdaptiveRetryStrategy } from \"../util-retry/AdaptiveRetryStrategy\";\nimport { StandardRetryStrategy } from \"../util-retry/StandardRetryStrategy\";\nimport { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE, RETRY_MODES } from \"../util-retry/config\";\nimport { Retry } from \"../util-retry/retries-2026-config\";\nexport const ENV_MAX_ATTEMPTS = \"AWS_MAX_ATTEMPTS\";\nexport const CONFIG_MAX_ATTEMPTS = \"max_attempts\";\nexport const NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => {\n const value = env[ENV_MAX_ATTEMPTS];\n if (!value)\n return undefined;\n const maxAttempt = parseInt(value);\n if (Number.isNaN(maxAttempt)) {\n throw new Error(`Environment variable ${ENV_MAX_ATTEMPTS} mast be a number, got \"${value}\"`);\n }\n return maxAttempt;\n },\n configFileSelector: (profile) => {\n const value = profile[CONFIG_MAX_ATTEMPTS];\n if (!value)\n return undefined;\n const maxAttempt = parseInt(value);\n if (Number.isNaN(maxAttempt)) {\n throw new Error(`Shared config file entry ${CONFIG_MAX_ATTEMPTS} mast be a number, got \"${value}\"`);\n }\n return maxAttempt;\n },\n default: DEFAULT_MAX_ATTEMPTS,\n};\nexport const resolveRetryConfig = (input, defaults) => {\n const { retryStrategy, retryMode } = input;\n const { defaultMaxAttempts = DEFAULT_MAX_ATTEMPTS, defaultBaseDelay = Retry.delay() } = defaults ?? {};\n const maxAttemptsProvider = normalizeProvider(input.maxAttempts ?? defaultMaxAttempts);\n let controller = retryStrategy\n ? Promise.resolve(retryStrategy)\n : undefined;\n const getDefault = async () => {\n const maxAttempts = await maxAttemptsProvider();\n const adaptive = (await normalizeProvider(retryMode)()) === RETRY_MODES.ADAPTIVE;\n if (adaptive) {\n return new AdaptiveRetryStrategy(maxAttemptsProvider, {\n maxAttempts,\n baseDelay: defaultBaseDelay,\n });\n }\n return new StandardRetryStrategy({\n maxAttempts,\n baseDelay: defaultBaseDelay,\n });\n };\n return Object.assign(input, {\n maxAttempts: maxAttemptsProvider,\n retryStrategy: () => (controller ??= getDefault()),\n });\n};\nexport const ENV_RETRY_MODE = \"AWS_RETRY_MODE\";\nexport const CONFIG_RETRY_MODE = \"retry_mode\";\nexport const NODE_RETRY_MODE_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[ENV_RETRY_MODE],\n configFileSelector: (profile) => profile[CONFIG_RETRY_MODE],\n default: DEFAULT_RETRY_MODE,\n};\n","import { HttpRequest } from \"@smithy/core/protocols\";\nimport { INVOCATION_ID_HEADER, REQUEST_HEADER } from \"../util-retry/constants\";\nexport const omitRetryHeadersMiddleware = () => (next) => async (args) => {\n const { request } = args;\n if (HttpRequest.isInstance(request)) {\n delete request.headers[INVOCATION_ID_HEADER];\n delete request.headers[REQUEST_HEADER];\n }\n return next(args);\n};\nexport const omitRetryHeadersMiddlewareOptions = {\n name: \"omitRetryHeadersMiddleware\",\n tags: [\"RETRY\", \"HEADERS\", \"OMIT_RETRY_HEADERS\"],\n relation: \"before\",\n toMiddleware: \"awsAuthMiddleware\",\n override: true,\n};\nexport const getOmitRetryHeadersPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(omitRetryHeadersMiddleware(), omitRetryHeadersMiddlewareOptions);\n },\n});\n","import { isStreamingPayload } from \"./middleware-retry/isStreamingPayload/isStreamingPayload\";\nimport { bindGetRetryPlugin, bindRetryMiddleware } from \"./middleware-retry/retryMiddleware\";\nexport { isRetryableByTrait, isClockSkewError, isClockSkewCorrectedError, isBrowserNetworkError, isThrottlingError, isTransientError, isServerError, isNodeJsHttp2TransientError, } from \"./service-error-classification/service-error-classification\";\nexport { AdaptiveRetryStrategy } from \"./util-retry/AdaptiveRetryStrategy\";\nexport { ConfiguredRetryStrategy } from \"./util-retry/ConfiguredRetryStrategy\";\nexport { DefaultRateLimiter } from \"./util-retry/DefaultRateLimiter\";\nexport { StandardRetryStrategy } from \"./util-retry/StandardRetryStrategy\";\nexport { RETRY_MODES, DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from \"./util-retry/config\";\nexport { DEFAULT_RETRY_DELAY_BASE, MAXIMUM_RETRY_DELAY, THROTTLING_RETRY_DELAY_BASE, INITIAL_RETRY_TOKENS, RETRY_COST, TIMEOUT_RETRY_COST, NO_RETRY_INCREMENT, INVOCATION_ID_HEADER, REQUEST_HEADER, } from \"./util-retry/constants\";\nexport { Retry } from \"./util-retry/retries-2026-config\";\nexport { AdaptiveRetryStrategy as DeprecatedAdaptiveRetryStrategy, } from \"./middleware-retry/retry-pre-sra-deprecated/AdaptiveRetryStrategy\";\nexport { StandardRetryStrategy as DeprecatedStandardRetryStrategy, } from \"./middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy\";\nexport { defaultDelayDecider } from \"./middleware-retry/retry-pre-sra-deprecated/delayDecider\";\nexport { defaultRetryDecider } from \"./middleware-retry/retry-pre-sra-deprecated/retryDecider\";\nexport { ENV_MAX_ATTEMPTS, CONFIG_MAX_ATTEMPTS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, ENV_RETRY_MODE, CONFIG_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, resolveRetryConfig, } from \"./middleware-retry/configurations\";\nexport { omitRetryHeadersMiddleware, omitRetryHeadersMiddlewareOptions, getOmitRetryHeadersPlugin, } from \"./middleware-retry/omitRetryHeadersMiddleware\";\nexport { retryMiddlewareOptions } from \"./middleware-retry/retryMiddleware\";\nexport { getRetryAfterHint } from \"./middleware-retry/parseRetryAfterHeader\";\nexport const retryMiddleware = bindRetryMiddleware(isStreamingPayload);\nexport const getRetryPlugin = bindGetRetryPlugin(isStreamingPayload);\n","import { Retry } from \"@smithy/core/retry\";\nRetry.v2026 ||= typeof process === \"object\" && process.env?.AWS_NEW_RETRIES_2026 === \"true\";\nexport function setFeature(context, feature, value) {\n if (!context.__aws_sdk_context) {\n context.__aws_sdk_context = {\n features: {},\n };\n }\n else if (!context.__aws_sdk_context.features) {\n context.__aws_sdk_context.features = {};\n }\n context.__aws_sdk_context.features[feature] = value;\n}\n","export function setTokenFeature(token, feature, value) {\n if (!token.$source) {\n token.$source = {};\n }\n token.$source[feature] = value;\n return token;\n}\n","import { HttpRequest } from \"@smithy/core/protocols\";\nexport function resolveHostHeaderConfig(input) {\n return input;\n}\nexport const hostHeaderMiddleware = (options) => (next) => async (args) => {\n if (!HttpRequest.isInstance(args.request))\n return next(args);\n const { request } = args;\n const { handlerProtocol = \"\" } = options.requestHandler.metadata || {};\n if (handlerProtocol.indexOf(\"h2\") >= 0 && !request.headers[\":authority\"]) {\n delete request.headers[\"host\"];\n request.headers[\":authority\"] = request.hostname + (request.port ? \":\" + request.port : \"\");\n }\n else if (!request.headers[\"host\"]) {\n let host = request.hostname;\n if (request.port != null)\n host += `:${request.port}`;\n request.headers[\"host\"] = host;\n }\n return next(args);\n};\nexport const hostHeaderMiddlewareOptions = {\n name: \"hostHeaderMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"HOST\"],\n override: true,\n};\nexport const getHostHeaderPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);\n },\n});\n","export const loggerMiddleware = () => (next, context) => async (args) => {\n try {\n const response = await next(args);\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;\n const { $metadata, ...outputWithoutMetadata } = response.output;\n logger?.info?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n output: outputFilterSensitiveLog(outputWithoutMetadata),\n metadata: $metadata,\n });\n return response;\n }\n catch (error) {\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n logger?.error?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n error,\n metadata: error.$metadata,\n });\n throw error;\n }\n};\nexport const loggerMiddlewareOptions = {\n name: \"loggerMiddleware\",\n tags: [\"LOGGER\"],\n step: \"initialize\",\n override: true,\n};\nexport const getLoggerPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);\n },\n});\n","export const recursionDetectionMiddlewareOptions = {\n step: \"build\",\n tags: [\"RECURSION_DETECTION\", \"TRACE_CONTEXT_PROPAGATION\"],\n name: \"recursionDetectionMiddleware\",\n override: true,\n priority: \"low\",\n};\n","const PROTECTED_KEYS = {\n REQUEST_ID: Symbol.for(\"_AWS_LAMBDA_REQUEST_ID\"),\n X_RAY_TRACE_ID: Symbol.for(\"_AWS_LAMBDA_X_RAY_TRACE_ID\"),\n TENANT_ID: Symbol.for(\"_AWS_LAMBDA_TENANT_ID\"),\n TRACEPARENT: Symbol.for(\"_AWS_LAMBDA_TRACEPARENT\"),\n TRACESTATE: Symbol.for(\"_AWS_LAMBDA_TRACESTATE\"),\n BAGGAGE: Symbol.for(\"_AWS_LAMBDA_BAGGAGE\"),\n};\nconst NO_GLOBAL_AWS_LAMBDA = [\"true\", \"1\"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA ?? \"\");\nif (!NO_GLOBAL_AWS_LAMBDA) {\n globalThis.awslambda = globalThis.awslambda || {};\n}\nclass InvokeStoreBase {\n static PROTECTED_KEYS = PROTECTED_KEYS;\n isProtectedKey(key) {\n return Object.values(PROTECTED_KEYS).includes(key);\n }\n getRequestId() {\n return this.get(PROTECTED_KEYS.REQUEST_ID) ?? \"-\";\n }\n getXRayTraceId() {\n return this.get(PROTECTED_KEYS.X_RAY_TRACE_ID);\n }\n getTenantId() {\n return this.get(PROTECTED_KEYS.TENANT_ID);\n }\n getTraceparent() {\n return this.get(PROTECTED_KEYS.TRACEPARENT);\n }\n getTracestate() {\n return this.get(PROTECTED_KEYS.TRACESTATE);\n }\n getBaggage() {\n return this.get(PROTECTED_KEYS.BAGGAGE);\n }\n}\nclass InvokeStoreSingle extends InvokeStoreBase {\n currentContext;\n getContext() {\n return this.currentContext;\n }\n hasContext() {\n return this.currentContext !== undefined;\n }\n get(key) {\n return this.currentContext?.[key];\n }\n set(key, value) {\n if (this.isProtectedKey(key)) {\n throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`);\n }\n this.currentContext = this.currentContext || {};\n this.currentContext[key] = value;\n }\n run(context, fn) {\n this.currentContext = context;\n return fn();\n }\n}\nclass InvokeStoreMulti extends InvokeStoreBase {\n als;\n static async create() {\n const instance = new InvokeStoreMulti();\n const asyncHooks = await import('node:async_hooks');\n instance.als = new asyncHooks.AsyncLocalStorage();\n return instance;\n }\n getContext() {\n return this.als.getStore();\n }\n hasContext() {\n return this.als.getStore() !== undefined;\n }\n get(key) {\n return this.als.getStore()?.[key];\n }\n set(key, value) {\n if (this.isProtectedKey(key)) {\n throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`);\n }\n const store = this.als.getStore();\n if (!store) {\n throw new Error(\"No context available\");\n }\n store[key] = value;\n }\n run(context, fn) {\n return this.als.run(context, fn);\n }\n}\nvar InvokeStore;\n(function (InvokeStore) {\n let instance = null;\n async function getInstanceAsync(forceInvokeStoreMulti) {\n if (!instance) {\n instance = (async () => {\n const isMulti = forceInvokeStoreMulti === true || \"AWS_LAMBDA_MAX_CONCURRENCY\" in process.env;\n const newInstance = isMulti\n ? await InvokeStoreMulti.create()\n : new InvokeStoreSingle();\n if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda?.InvokeStore) {\n return globalThis.awslambda.InvokeStore;\n }\n else if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda) {\n globalThis.awslambda.InvokeStore = newInstance;\n return newInstance;\n }\n else {\n return newInstance;\n }\n })();\n }\n return instance;\n }\n InvokeStore.getInstanceAsync = getInstanceAsync;\n InvokeStore._testing = process.env.AWS_LAMBDA_BENCHMARK_MODE === \"1\"\n ? {\n reset: () => {\n instance = null;\n if (globalThis.awslambda?.InvokeStore) {\n delete globalThis.awslambda.InvokeStore;\n }\n globalThis.awslambda = { InvokeStore: undefined };\n },\n }\n : undefined;\n})(InvokeStore || (InvokeStore = {}));\n\nexport { InvokeStore, InvokeStoreBase };\n","import { InvokeStore } from \"@aws/lambda-invoke-store\";\nimport { HttpRequest } from \"@smithy/core/protocols\";\nconst AWS_LAMBDA_FUNCTION_NAME = \"AWS_LAMBDA_FUNCTION_NAME\";\nconst _X_AMZN_TRACE_ID = \"_X_AMZN_TRACE_ID\";\nconst X_AMZN_TRACE_ID = \"X-Amzn-Trace-Id\";\nconst TRACEPARENT = \"traceparent\";\nconst TRACESTATE = \"tracestate\";\nconst BAGGAGE = \"baggage\";\nexport const recursionDetectionMiddleware = () => (next) => async (args) => {\n const { request } = args;\n if (!HttpRequest.isInstance(request)) {\n return next(args);\n }\n let invokeStore;\n {\n const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === X_AMZN_TRACE_ID.toLowerCase()) ??\n X_AMZN_TRACE_ID;\n if (!request.headers.hasOwnProperty(traceIdHeader)) {\n const functionName = process.env[AWS_LAMBDA_FUNCTION_NAME];\n const traceIdFromEnv = process.env[_X_AMZN_TRACE_ID];\n invokeStore ??= await InvokeStore.getInstanceAsync();\n const traceIdFromInvokeStore = invokeStore?.getXRayTraceId();\n const traceId = traceIdFromInvokeStore ?? traceIdFromEnv;\n const nonEmptyString = (str) => typeof str === \"string\" && str.length > 0;\n if (nonEmptyString(functionName) && nonEmptyString(traceId)) {\n request.headers[X_AMZN_TRACE_ID] = traceId;\n }\n }\n }\n {\n sanitizeTraceHeaders(request.headers);\n const existingTraceparent = request.headers[TRACEPARENT];\n if (!existingTraceparent) {\n const traceparent = (invokeStore ??= await InvokeStore.getInstanceAsync())?.getTraceparent?.();\n if (traceparent) {\n request.headers[TRACEPARENT] = traceparent;\n const tracestate = invokeStore?.getTracestate?.();\n if (tracestate) {\n request.headers[TRACESTATE] = tracestate;\n }\n const baggage = invokeStore?.getBaggage?.();\n if (baggage) {\n request.headers[BAGGAGE] = baggage;\n }\n }\n }\n }\n return next(args);\n};\nfunction sanitizeTraceHeaders(headers) {\n for (const header of Object.keys(headers)) {\n const lower = header.toLowerCase();\n if (header !== lower && (lower === TRACEPARENT || lower === TRACESTATE || lower === BAGGAGE)) {\n headers[lower] = headers[header];\n delete headers[header];\n }\n }\n}\n","import { recursionDetectionMiddlewareOptions } from \"./configuration\";\nimport { recursionDetectionMiddleware } from \"./recursionDetectionMiddleware\";\nexport const getRecursionDetectionPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(recursionDetectionMiddleware(), recursionDetectionMiddlewareOptions);\n },\n});\n","export const resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => {\n if (!authSchemePreference || authSchemePreference.length === 0) {\n return candidateAuthOptions;\n }\n const preferredAuthOptions = [];\n for (const preferredSchemeName of authSchemePreference) {\n for (const candidateAuthOption of candidateAuthOptions) {\n const candidateAuthSchemeName = candidateAuthOption.schemeId.split(\"#\")[1];\n if (candidateAuthSchemeName === preferredSchemeName) {\n preferredAuthOptions.push(candidateAuthOption);\n }\n }\n }\n for (const candidateAuthOption of candidateAuthOptions) {\n if (!preferredAuthOptions.find(({ schemeId }) => schemeId === candidateAuthOption.schemeId)) {\n preferredAuthOptions.push(candidateAuthOption);\n }\n }\n return preferredAuthOptions;\n};\n","import { getSmithyContext } from \"@smithy/core/transport\";\nimport { resolveAuthOptions } from \"./resolveAuthOptions\";\nfunction convertHttpAuthSchemesToMap(httpAuthSchemes) {\n const map = new Map();\n for (const scheme of httpAuthSchemes) {\n map.set(scheme.schemeId, scheme);\n }\n return map;\n}\nexport const httpAuthSchemeMiddleware = (config, mwOptions) => (next, context) => async (args) => {\n const options = config.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input));\n const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : [];\n const resolvedOptions = resolveAuthOptions(options, authSchemePreference);\n const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes);\n const smithyContext = getSmithyContext(context);\n const failureReasons = [];\n for (const option of resolvedOptions) {\n const scheme = authSchemes.get(option.schemeId);\n if (!scheme) {\n failureReasons.push(`HttpAuthScheme \\`${option.schemeId}\\` was not enabled for this service.`);\n continue;\n }\n const identityProvider = scheme.identityProvider(await mwOptions.identityProviderConfigProvider(config));\n if (!identityProvider) {\n failureReasons.push(`HttpAuthScheme \\`${option.schemeId}\\` did not have an IdentityProvider configured.`);\n continue;\n }\n const { identityProperties = {}, signingProperties = {} } = option.propertiesExtractor?.(config, context) || {};\n option.identityProperties = Object.assign(option.identityProperties || {}, identityProperties);\n option.signingProperties = Object.assign(option.signingProperties || {}, signingProperties);\n smithyContext.selectedHttpAuthScheme = {\n httpAuthOption: option,\n identity: await identityProvider(option.identityProperties),\n signer: scheme.signer,\n };\n break;\n }\n if (!smithyContext.selectedHttpAuthScheme) {\n throw new Error(failureReasons.join(\"\\n\"));\n }\n return next(args);\n};\n","import { httpAuthSchemeMiddleware } from \"./httpAuthSchemeMiddleware\";\nexport const httpAuthSchemeEndpointRuleSetMiddlewareOptions = {\n step: \"serialize\",\n tags: [\"HTTP_AUTH_SCHEME\"],\n name: \"httpAuthSchemeMiddleware\",\n override: true,\n relation: \"before\",\n toMiddleware: \"endpointV2Middleware\",\n};\nexport const getHttpAuthSchemeEndpointRuleSetPlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(httpAuthSchemeMiddleware(config, {\n httpAuthSchemeParametersProvider,\n identityProviderConfigProvider,\n }), httpAuthSchemeEndpointRuleSetMiddlewareOptions);\n },\n});\n","import { httpAuthSchemeMiddleware } from \"./httpAuthSchemeMiddleware\";\nexport const httpAuthSchemeMiddlewareOptions = {\n step: \"serialize\",\n tags: [\"HTTP_AUTH_SCHEME\"],\n name: \"httpAuthSchemeMiddleware\",\n override: true,\n relation: \"before\",\n toMiddleware: \"serializerMiddleware\",\n};\nexport const getHttpAuthSchemePlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(httpAuthSchemeMiddleware(config, {\n httpAuthSchemeParametersProvider,\n identityProviderConfigProvider,\n }), httpAuthSchemeMiddlewareOptions);\n },\n});\n","export { httpAuthSchemeMiddleware } from \"./httpAuthSchemeMiddleware\";\nexport { getHttpAuthSchemeEndpointRuleSetPlugin, httpAuthSchemeEndpointRuleSetMiddlewareOptions, } from \"./getHttpAuthSchemeEndpointRuleSetPlugin\";\nexport { getHttpAuthSchemePlugin, httpAuthSchemeMiddlewareOptions } from \"./getHttpAuthSchemePlugin\";\n","import { HttpRequest } from \"@smithy/core/protocols\";\nimport { getSmithyContext } from \"@smithy/core/transport\";\nconst defaultErrorHandler = (signingProperties) => (error) => {\n throw error;\n};\nconst defaultSuccessHandler = (httpResponse, signingProperties) => { };\nexport const httpSigningMiddleware = (config) => (next, context) => async (args) => {\n if (!HttpRequest.isInstance(args.request)) {\n return next(args);\n }\n const smithyContext = getSmithyContext(context);\n const scheme = smithyContext.selectedHttpAuthScheme;\n if (!scheme) {\n throw new Error(`No HttpAuthScheme was selected: unable to sign request`);\n }\n const { httpAuthOption: { signingProperties = {} }, identity, signer, } = scheme;\n const output = await next({\n ...args,\n request: await signer.sign(args.request, identity, signingProperties),\n }).catch((signer.errorHandler || defaultErrorHandler)(signingProperties));\n (signer.successHandler || defaultSuccessHandler)(output.response, signingProperties);\n return output;\n};\n","import { httpSigningMiddleware } from \"./httpSigningMiddleware\";\nexport const httpSigningMiddlewareOptions = {\n step: \"finalizeRequest\",\n tags: [\"HTTP_SIGNING\"],\n name: \"httpSigningMiddleware\",\n aliases: [\"apiKeyMiddleware\", \"tokenMiddleware\", \"awsAuthMiddleware\"],\n override: true,\n relation: \"after\",\n toMiddleware: \"retryMiddleware\",\n};\nexport const getHttpSigningPlugin = (config) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(httpSigningMiddleware(config), httpSigningMiddlewareOptions);\n },\n});\n","export { httpSigningMiddleware } from \"./httpSigningMiddleware\";\nexport { getHttpSigningPlugin, httpSigningMiddlewareOptions } from \"./getHttpSigningMiddleware\";\n","export const normalizeProvider = (input) => {\n if (typeof input === \"function\")\n return input;\n const promisified = Promise.resolve(input);\n return () => promisified;\n};\n","const makePagedClientRequest = async (CommandCtor, client, input, withCommand = (_) => _, ...args) => {\n let command = new CommandCtor(input);\n command = withCommand(command) ?? command;\n return await client.send(command, ...args);\n};\nexport function createPaginator(ClientCtor, CommandCtor, inputTokenName, outputTokenName, pageSizeTokenName) {\n return async function* paginateOperation(config, input, ...additionalArguments) {\n const _input = input;\n let token = config.startingToken ?? _input[inputTokenName];\n let hasNext = true;\n let page;\n while (hasNext) {\n _input[inputTokenName] = token;\n if (pageSizeTokenName) {\n _input[pageSizeTokenName] = _input[pageSizeTokenName] ?? config.pageSize;\n }\n if (config.client instanceof ClientCtor) {\n page = await makePagedClientRequest(CommandCtor, config.client, input, config.withCommand, ...additionalArguments);\n }\n else {\n throw new Error(`Invalid client, expected instance of ${ClientCtor.name}`);\n }\n yield page;\n const prevToken = token;\n token = get(page, outputTokenName);\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n };\n}\nconst get = (fromObject, path) => {\n let cursor = fromObject;\n const pathComponents = path.split(\".\");\n for (const step of pathComponents) {\n if (!cursor || typeof cursor !== \"object\") {\n return undefined;\n }\n cursor = cursor[step];\n }\n return cursor;\n};\n","export function setFeature(context, feature, value) {\n if (!context.__smithy_context) {\n context.__smithy_context = {\n features: {},\n };\n }\n else if (!context.__smithy_context.features) {\n context.__smithy_context.features = {};\n }\n context.__smithy_context.features[feature] = value;\n}\n","import { hasOwn } from \"@smithy/core/transport\";\nexport class DefaultIdentityProviderConfig {\n authSchemes = new Map();\n constructor(config) {\n for (const key in config) {\n if (!hasOwn(config, key))\n continue;\n const value = config[key];\n if (value !== undefined) {\n this.authSchemes.set(key, value);\n }\n }\n }\n getIdentityProvider(schemeId) {\n return this.authSchemes.get(schemeId);\n }\n}\n","import { HttpRequest } from \"@smithy/core/protocols\";\nimport { HttpApiKeyAuthLocation, } from \"@smithy/types\";\nexport class HttpApiKeyAuthSigner {\n async sign(httpRequest, identity, signingProperties) {\n if (!signingProperties) {\n throw new Error(\"request could not be signed with `apiKey` since the `name` and `in` signer properties are missing\");\n }\n if (!signingProperties.name) {\n throw new Error(\"request could not be signed with `apiKey` since the `name` signer property is missing\");\n }\n if (!signingProperties.in) {\n throw new Error(\"request could not be signed with `apiKey` since the `in` signer property is missing\");\n }\n if (!identity.apiKey) {\n throw new Error(\"request could not be signed with `apiKey` since the `apiKey` is not defined\");\n }\n const clonedRequest = HttpRequest.clone(httpRequest);\n if (signingProperties.in === HttpApiKeyAuthLocation.QUERY) {\n clonedRequest.query[signingProperties.name] = identity.apiKey;\n }\n else if (signingProperties.in === HttpApiKeyAuthLocation.HEADER) {\n clonedRequest.headers[signingProperties.name] = signingProperties.scheme\n ? `${signingProperties.scheme} ${identity.apiKey}`\n : identity.apiKey;\n }\n else {\n throw new Error(\"request can only be signed with `apiKey` locations `query` or `header`, \" +\n \"but found: `\" +\n signingProperties.in +\n \"`\");\n }\n return clonedRequest;\n }\n}\n","import { HttpRequest } from \"@smithy/core/protocols\";\nexport class HttpBearerAuthSigner {\n async sign(httpRequest, identity, signingProperties) {\n const clonedRequest = HttpRequest.clone(httpRequest);\n if (!identity.token) {\n throw new Error(\"request could not be signed with `token` since the `token` is not defined\");\n }\n clonedRequest.headers[\"Authorization\"] = `Bearer ${identity.token}`;\n return clonedRequest;\n }\n}\n","export class NoAuthSigner {\n async sign(httpRequest, identity, signingProperties) {\n return httpRequest;\n }\n}\n","export { HttpApiKeyAuthSigner } from \"./httpApiKeyAuth\";\nexport { HttpBearerAuthSigner } from \"./httpBearerAuth\";\nexport { NoAuthSigner } from \"./noAuth\";\n","export const createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired(identity) {\n return doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs;\n};\nexport const EXPIRATION_MS = 300_000;\nexport const isIdentityExpired = createIsIdentityExpiredFunction(EXPIRATION_MS);\nexport const doesIdentityRequireRefresh = (identity) => identity.expiration !== undefined;\nexport const memoizeIdentityProvider = (provider, isExpired, requiresRefresh) => {\n if (provider === undefined) {\n return undefined;\n }\n const normalizedProvider = typeof provider !== \"function\" ? async () => Promise.resolve(provider) : provider;\n let resolved;\n let pending;\n let hasResult;\n let isConstant = false;\n const coalesceProvider = async (options) => {\n if (!pending) {\n pending = normalizedProvider(options);\n }\n try {\n resolved = await pending;\n hasResult = true;\n isConstant = false;\n }\n finally {\n pending = undefined;\n }\n return resolved;\n };\n if (isExpired === undefined) {\n return async (options) => {\n if (!hasResult || options?.forceRefresh) {\n resolved = await coalesceProvider(options);\n }\n return resolved;\n };\n }\n return async (options) => {\n if (!hasResult || options?.forceRefresh) {\n resolved = await coalesceProvider(options);\n }\n if (isConstant) {\n return resolved;\n }\n if (!requiresRefresh(resolved)) {\n isConstant = true;\n return resolved;\n }\n if (isExpired(resolved)) {\n await coalesceProvider(options);\n return resolved;\n }\n return resolved;\n };\n};\n","export { DefaultIdentityProviderConfig } from \"./DefaultIdentityProviderConfig\";\nexport { HttpApiKeyAuthSigner, HttpBearerAuthSigner, NoAuthSigner } from \"./httpAuthSchemes\";\nexport { EXPIRATION_MS, createIsIdentityExpiredFunction, doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, } from \"./memoizeIdentityProvider\";\n","export { getSmithyContext } from \"@smithy/core/transport\";\nexport { getHttpAuthSchemeEndpointRuleSetPlugin, getHttpAuthSchemePlugin, httpAuthSchemeEndpointRuleSetMiddlewareOptions, httpAuthSchemeMiddleware, httpAuthSchemeMiddlewareOptions, } from \"./legacy-root-exports/middleware-http-auth-scheme\";\nexport { getHttpSigningPlugin, httpSigningMiddleware, httpSigningMiddlewareOptions, } from \"./legacy-root-exports/middleware-http-signing\";\nexport { normalizeProvider } from \"./normalizeProvider\";\nexport { createPaginator } from \"./legacy-root-exports/pagination/createPaginator\";\nexport { requestBuilder } from \"@smithy/core/protocols\";\nexport { setFeature } from \"./setFeature\";\nexport { DefaultIdentityProviderConfig, EXPIRATION_MS, HttpApiKeyAuthSigner, HttpBearerAuthSigner, NoAuthSigner, createIsIdentityExpiredFunction, doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, } from \"./legacy-root-exports/util-identity-and-auth\";\n","import { normalizeProvider } from \"@smithy/core\";\nexport const DEFAULT_UA_APP_ID = undefined;\nfunction isValidUserAgentAppId(appId) {\n if (appId === undefined) {\n return true;\n }\n return typeof appId === \"string\" && appId.length <= 50;\n}\nexport function resolveUserAgentConfig(input) {\n const normalizedAppIdProvider = normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID);\n const { customUserAgent } = input;\n return Object.assign(input, {\n customUserAgent: typeof customUserAgent === \"string\" ? [[customUserAgent]] : customUserAgent,\n userAgentAppId: async () => {\n const appId = await normalizedAppIdProvider();\n if (!isValidUserAgentAppId(appId)) {\n const logger = input.logger?.constructor?.name === \"NoOpLogger\" || !input.logger ? console : input.logger;\n if (typeof appId !== \"string\") {\n logger?.warn(\"userAgentAppId must be a string or undefined.\");\n }\n else if (appId.length > 50) {\n logger?.warn(\"The provided userAgentAppId exceeds the maximum length of 50 characters.\");\n }\n }\n return appId;\n },\n });\n}\n","export const partitionsInfo = {\n \"partitions\": [\n {\n \"id\": \"aws\",\n \"outputs\": {\n \"dnsSuffix\": \"amazonaws.com\",\n \"dualStackDnsSuffix\": \"api.aws\",\n \"implicitGlobalRegion\": \"us-east-1\",\n \"name\": \"aws\",\n \"supportsDualStack\": true,\n \"supportsFIPS\": true\n },\n \"regionRegex\": \"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$\",\n \"regions\": {\n \"af-south-1\": {\n \"description\": \"Africa (Cape Town)\"\n },\n \"ap-east-1\": {\n \"description\": \"Asia Pacific (Hong Kong)\"\n },\n \"ap-east-2\": {\n \"description\": \"Asia Pacific (Taipei)\"\n },\n \"ap-northeast-1\": {\n \"description\": \"Asia Pacific (Tokyo)\"\n },\n \"ap-northeast-2\": {\n \"description\": \"Asia Pacific (Seoul)\"\n },\n \"ap-northeast-3\": {\n \"description\": \"Asia Pacific (Osaka)\"\n },\n \"ap-south-1\": {\n \"description\": \"Asia Pacific (Mumbai)\"\n },\n \"ap-south-2\": {\n \"description\": \"Asia Pacific (Hyderabad)\"\n },\n \"ap-southeast-1\": {\n \"description\": \"Asia Pacific (Singapore)\"\n },\n \"ap-southeast-2\": {\n \"description\": \"Asia Pacific (Sydney)\"\n },\n \"ap-southeast-3\": {\n \"description\": \"Asia Pacific (Jakarta)\"\n },\n \"ap-southeast-4\": {\n \"description\": \"Asia Pacific (Melbourne)\"\n },\n \"ap-southeast-5\": {\n \"description\": \"Asia Pacific (Malaysia)\"\n },\n \"ap-southeast-6\": {\n \"description\": \"Asia Pacific (New Zealand)\"\n },\n \"ap-southeast-7\": {\n \"description\": \"Asia Pacific (Thailand)\"\n },\n \"aws-global\": {\n \"description\": \"aws global region\"\n },\n \"ca-central-1\": {\n \"description\": \"Canada (Central)\"\n },\n \"ca-west-1\": {\n \"description\": \"Canada West (Calgary)\"\n },\n \"eu-central-1\": {\n \"description\": \"Europe (Frankfurt)\"\n },\n \"eu-central-2\": {\n \"description\": \"Europe (Zurich)\"\n },\n \"eu-north-1\": {\n \"description\": \"Europe (Stockholm)\"\n },\n \"eu-south-1\": {\n \"description\": \"Europe (Milan)\"\n },\n \"eu-south-2\": {\n \"description\": \"Europe (Spain)\"\n },\n \"eu-west-1\": {\n \"description\": \"Europe (Ireland)\"\n },\n \"eu-west-2\": {\n \"description\": \"Europe (London)\"\n },\n \"eu-west-3\": {\n \"description\": \"Europe (Paris)\"\n },\n \"il-central-1\": {\n \"description\": \"Israel (Tel Aviv)\"\n },\n \"me-central-1\": {\n \"description\": \"Middle East (UAE)\"\n },\n \"me-south-1\": {\n \"description\": \"Middle East (Bahrain)\"\n },\n \"mx-central-1\": {\n \"description\": \"Mexico (Central)\"\n },\n \"sa-east-1\": {\n \"description\": \"South America (Sao Paulo)\"\n },\n \"us-east-1\": {\n \"description\": \"US East (N. Virginia)\"\n },\n \"us-east-2\": {\n \"description\": \"US East (Ohio)\"\n },\n \"us-west-1\": {\n \"description\": \"US West (N. California)\"\n },\n \"us-west-2\": {\n \"description\": \"US West (Oregon)\"\n }\n }\n },\n {\n \"id\": \"aws-cn\",\n \"outputs\": {\n \"dnsSuffix\": \"amazonaws.com.cn\",\n \"dualStackDnsSuffix\": \"api.amazonwebservices.com.cn\",\n \"implicitGlobalRegion\": \"cn-northwest-1\",\n \"name\": \"aws-cn\",\n \"supportsDualStack\": true,\n \"supportsFIPS\": true\n },\n \"regionRegex\": \"^cn\\\\-\\\\w+\\\\-\\\\d+$\",\n \"regions\": {\n \"aws-cn-global\": {\n \"description\": \"aws-cn global region\"\n },\n \"cn-north-1\": {\n \"description\": \"China (Beijing)\"\n },\n \"cn-northwest-1\": {\n \"description\": \"China (Ningxia)\"\n }\n }\n },\n {\n \"id\": \"aws-eusc\",\n \"outputs\": {\n \"dnsSuffix\": \"amazonaws.eu\",\n \"dualStackDnsSuffix\": \"api.amazonwebservices.eu\",\n \"implicitGlobalRegion\": \"eusc-de-east-1\",\n \"name\": \"aws-eusc\",\n \"supportsDualStack\": true,\n \"supportsFIPS\": true\n },\n \"regionRegex\": \"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$\",\n \"regions\": {\n \"eusc-de-east-1\": {\n \"description\": \"AWS European Sovereign Cloud (Germany)\"\n }\n }\n },\n {\n \"id\": \"aws-iso\",\n \"outputs\": {\n \"dnsSuffix\": \"c2s.ic.gov\",\n \"dualStackDnsSuffix\": \"api.aws.ic.gov\",\n \"implicitGlobalRegion\": \"us-iso-east-1\",\n \"name\": \"aws-iso\",\n \"supportsDualStack\": true,\n \"supportsFIPS\": true\n },\n \"regionRegex\": \"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$\",\n \"regions\": {\n \"aws-iso-global\": {\n \"description\": \"aws-iso global region\"\n },\n \"us-iso-east-1\": {\n \"description\": \"US ISO East\"\n },\n \"us-iso-west-1\": {\n \"description\": \"US ISO WEST\"\n }\n }\n },\n {\n \"id\": \"aws-iso-b\",\n \"outputs\": {\n \"dnsSuffix\": \"sc2s.sgov.gov\",\n \"dualStackDnsSuffix\": \"api.aws.scloud\",\n \"implicitGlobalRegion\": \"us-isob-east-1\",\n \"name\": \"aws-iso-b\",\n \"supportsDualStack\": true,\n \"supportsFIPS\": true\n },\n \"regionRegex\": \"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$\",\n \"regions\": {\n \"aws-iso-b-global\": {\n \"description\": \"aws-iso-b global region\"\n },\n \"us-isob-east-1\": {\n \"description\": \"US ISOB East (Ohio)\"\n },\n \"us-isob-west-1\": {\n \"description\": \"US ISOB West\"\n }\n }\n },\n {\n \"id\": \"aws-iso-e\",\n \"outputs\": {\n \"dnsSuffix\": \"cloud.adc-e.uk\",\n \"dualStackDnsSuffix\": \"api.cloud-aws.adc-e.uk\",\n \"implicitGlobalRegion\": \"eu-isoe-west-1\",\n \"name\": \"aws-iso-e\",\n \"supportsDualStack\": true,\n \"supportsFIPS\": true\n },\n \"regionRegex\": \"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$\",\n \"regions\": {\n \"aws-iso-e-global\": {\n \"description\": \"aws-iso-e global region\"\n },\n \"eu-isoe-west-1\": {\n \"description\": \"EU ISOE West\"\n }\n }\n },\n {\n \"id\": \"aws-iso-f\",\n \"outputs\": {\n \"dnsSuffix\": \"csp.hci.ic.gov\",\n \"dualStackDnsSuffix\": \"api.aws.hci.ic.gov\",\n \"implicitGlobalRegion\": \"us-isof-south-1\",\n \"name\": \"aws-iso-f\",\n \"supportsDualStack\": true,\n \"supportsFIPS\": true\n },\n \"regionRegex\": \"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$\",\n \"regions\": {\n \"aws-iso-f-global\": {\n \"description\": \"aws-iso-f global region\"\n },\n \"us-isof-east-1\": {\n \"description\": \"US ISOF EAST\"\n },\n \"us-isof-south-1\": {\n \"description\": \"US ISOF SOUTH\"\n }\n }\n },\n {\n \"id\": \"aws-us-gov\",\n \"outputs\": {\n \"dnsSuffix\": \"amazonaws.com\",\n \"dualStackDnsSuffix\": \"api.aws\",\n \"implicitGlobalRegion\": \"us-gov-west-1\",\n \"name\": \"aws-us-gov\",\n \"supportsDualStack\": true,\n \"supportsFIPS\": true\n },\n \"regionRegex\": \"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$\",\n \"regions\": {\n \"aws-us-gov-global\": {\n \"description\": \"aws-us-gov global region\"\n },\n \"us-gov-east-1\": {\n \"description\": \"AWS GovCloud (US-East)\"\n },\n \"us-gov-west-1\": {\n \"description\": \"AWS GovCloud (US-West)\"\n }\n }\n }\n ],\n \"version\": \"1.1\"\n};\n","import { partitionsInfo } from \"./partitions\";\nlet selectedPartitionsInfo = partitionsInfo;\nlet selectedUserAgentPrefix = \"\";\nexport const partition = (value) => {\n const { partitions } = selectedPartitionsInfo;\n for (const partition of partitions) {\n const { regions, outputs } = partition;\n for (const [region, regionData] of Object.entries(regions)) {\n if (region === value) {\n return {\n ...outputs,\n ...regionData,\n };\n }\n }\n }\n for (const partition of partitions) {\n const { regionRegex, outputs } = partition;\n if (new RegExp(regionRegex).test(value)) {\n return {\n ...outputs,\n };\n }\n }\n const DEFAULT_PARTITION = partitions.find((partition) => partition.id === \"aws\");\n if (!DEFAULT_PARTITION) {\n throw new Error(\"Provided region was not found in the partition array or regex,\" +\n \" and default partition with id 'aws' doesn't exist.\");\n }\n return {\n ...DEFAULT_PARTITION.outputs,\n };\n};\nexport const setPartitionInfo = (partitionsInfo, userAgentPrefix = \"\") => {\n selectedPartitionsInfo = partitionsInfo;\n selectedUserAgentPrefix = userAgentPrefix;\n};\nexport const useDefaultPartitionInfo = () => {\n setPartitionInfo(partitionsInfo, \"\");\n};\nexport const getUserAgentPrefix = () => selectedUserAgentPrefix;\n","import { RETRY_MODES } from \"@smithy/core/retry\";\nimport { setFeature } from \"../setFeature\";\nconst ACCOUNT_ID_ENDPOINT_REGEX = /\\d{12}\\.ddb/;\nexport async function checkFeatures(context, config, args) {\n const request = args.request;\n if (request?.headers?.[\"smithy-protocol\"] === \"rpc-v2-cbor\") {\n setFeature(context, \"PROTOCOL_RPC_V2_CBOR\", \"M\");\n }\n if (typeof config.retryStrategy === \"function\") {\n const retryStrategy = await config.retryStrategy();\n if (typeof retryStrategy.mode === \"string\") {\n switch (retryStrategy.mode) {\n case RETRY_MODES.ADAPTIVE:\n setFeature(context, \"RETRY_MODE_ADAPTIVE\", \"F\");\n break;\n case RETRY_MODES.STANDARD:\n setFeature(context, \"RETRY_MODE_STANDARD\", \"E\");\n break;\n }\n }\n }\n if (typeof config.accountIdEndpointMode === \"function\") {\n const endpointV2 = context.endpointV2;\n if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) {\n setFeature(context, \"ACCOUNT_ID_ENDPOINT\", \"O\");\n }\n switch (await config.accountIdEndpointMode?.()) {\n case \"disabled\":\n setFeature(context, \"ACCOUNT_ID_MODE_DISABLED\", \"Q\");\n break;\n case \"preferred\":\n setFeature(context, \"ACCOUNT_ID_MODE_PREFERRED\", \"P\");\n break;\n case \"required\":\n setFeature(context, \"ACCOUNT_ID_MODE_REQUIRED\", \"R\");\n break;\n }\n }\n const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity;\n if (identity?.$source) {\n const credentials = identity;\n if (credentials.accountId) {\n setFeature(context, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n for (const [key, value] of Object.entries(credentials.$source ?? {})) {\n setFeature(context, key, value);\n }\n }\n}\n","export const USER_AGENT = \"user-agent\";\nexport const X_AMZ_USER_AGENT = \"x-amz-user-agent\";\nexport const SPACE = \" \";\nexport const UA_NAME_SEPARATOR = \"/\";\nexport const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\\-.^_`|~\\w]/g;\nexport const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\\-.^_`|~\\w#]/g;\nexport const UA_ESCAPE_CHAR = \"-\";\n","const BYTE_LIMIT = 1024;\nexport function encodeFeatures(features) {\n let buffer = \"\";\n for (const key in features) {\n const val = features[key];\n if (buffer.length + val.length + 1 <= BYTE_LIMIT) {\n if (buffer.length) {\n buffer += \",\" + val;\n }\n else {\n buffer += val;\n }\n continue;\n }\n break;\n }\n return buffer;\n}\n","import { HttpRequest } from \"@smithy/core/protocols\";\nimport { getUserAgentPrefix } from \"../util-endpoints/lib/aws/partition\";\nimport { checkFeatures } from \"./check-features\";\nimport { SPACE, UA_ESCAPE_CHAR, UA_NAME_ESCAPE_REGEX, UA_NAME_SEPARATOR, UA_VALUE_ESCAPE_REGEX, USER_AGENT, X_AMZ_USER_AGENT, } from \"./constants\";\nimport { encodeFeatures } from \"./encode-features\";\nexport const userAgentMiddleware = (options) => (next, context) => async (args) => {\n const { request } = args;\n if (!HttpRequest.isInstance(request)) {\n return next(args);\n }\n const { headers } = request;\n const userAgent = context?.userAgent?.map(escapeUserAgent) || [];\n const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);\n await checkFeatures(context, options, args);\n const awsContext = context;\n defaultUserAgent.push(`m/${encodeFeatures(Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features))}`);\n const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];\n const appId = await options.userAgentAppId();\n if (appId) {\n defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`]));\n }\n const prefix = getUserAgentPrefix();\n const sdkUserAgentValue = (prefix ? [prefix] : [])\n .concat([...defaultUserAgent, ...userAgent, ...customUserAgent])\n .join(SPACE);\n const normalUAValue = [\n ...defaultUserAgent.filter((section) => section.startsWith(\"aws-sdk-\")),\n ...customUserAgent,\n ].join(SPACE);\n if (options.runtime !== \"browser\") {\n if (normalUAValue) {\n headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT]\n ? `${headers[USER_AGENT]} ${normalUAValue}`\n : normalUAValue;\n }\n headers[USER_AGENT] = sdkUserAgentValue;\n }\n else {\n headers[X_AMZ_USER_AGENT] = sdkUserAgentValue;\n }\n return next({\n ...args,\n request,\n });\n};\nconst escapeUserAgent = (userAgentPair) => {\n const name = userAgentPair[0]\n .split(UA_NAME_SEPARATOR)\n .map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR))\n .join(UA_NAME_SEPARATOR);\n const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR);\n const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR);\n const prefix = name.substring(0, prefixSeparatorIndex);\n let uaName = name.substring(prefixSeparatorIndex + 1);\n if (prefix === \"api\") {\n uaName = uaName.toLowerCase();\n }\n return [prefix, uaName, version]\n .filter((item) => item && item.length > 0)\n .reduce((acc, item, index) => {\n switch (index) {\n case 0:\n return item;\n case 1:\n return `${acc}/${item}`;\n default:\n return `${acc}#${item}`;\n }\n }, \"\");\n};\nexport const getUserAgentMiddlewareOptions = {\n name: \"getUserAgentMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"SET_USER_AGENT\", \"USER_AGENT\"],\n override: true,\n};\nexport const getUserAgentPlugin = (config) => ({\n applyToStack: (clientStack) => {\n clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);\n },\n});\n","import { versions } from \"node:process\";\nexport const getRuntimeUserAgentPair = () => {\n const runtimesToCheck = [\"deno\", \"bun\", \"llrt\"];\n for (const runtime of runtimesToCheck) {\n if (versions[runtime]) {\n return [`md/${runtime}`, versions[runtime]];\n }\n }\n return [\"md/nodejs\", versions.node];\n};\n","export const crtAvailability = {\n isCrtAvailable: false,\n};\n","import { crtAvailability } from \"./crt-availability\";\nexport const isCrtAvailable = () => {\n if (crtAvailability.isCrtAvailable) {\n return [\"md/crt-avail\"];\n }\n return null;\n};\n","import { platform, release } from \"node:os\";\nimport { env } from \"node:process\";\nimport { getRuntimeUserAgentPair } from \"./getRuntimeUserAgentPair\";\nimport { isCrtAvailable } from \"./is-crt-available\";\nexport { crtAvailability } from \"./crt-availability\";\nexport const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => {\n const runtimeUserAgentPair = getRuntimeUserAgentPair();\n return async (config) => {\n const sections = [\n [\"aws-sdk-js\", clientVersion],\n [\"ua\", \"2.1\"],\n [`os/${platform()}`, release()],\n [\"lang/js\"],\n runtimeUserAgentPair,\n ];\n const crtAvailable = isCrtAvailable();\n if (crtAvailable) {\n sections.push(crtAvailable);\n }\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n if (env.AWS_EXECUTION_ENV) {\n sections.push([`exec-env/${env.AWS_EXECUTION_ENV}`]);\n }\n const appId = await config?.userAgentAppId?.();\n const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];\n return resolvedUserAgent;\n };\n};\nexport const defaultUserAgent = createDefaultUserAgentProvider;\n","import { DEFAULT_UA_APP_ID } from \"../middleware-user-agent/configurations\";\nexport const UA_APP_ID_ENV_NAME = \"AWS_SDK_UA_APP_ID\";\nexport const UA_APP_ID_INI_NAME = \"sdk_ua_app_id\";\nconst UA_APP_ID_INI_NAME_DEPRECATED = \"sdk-ua-app-id\";\nexport const NODE_APP_ID_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME],\n configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED],\n default: DEFAULT_UA_APP_ID,\n};\n","export const createUserAgentStringParsingProvider = ({ serviceId, clientVersion }) => async (config) => {\n const module = await import(\"bowser\");\n const parse = module.parse ?? module.default.parse ?? (() => \"\");\n const parsedUA = typeof window !== \"undefined\" && window?.navigator?.userAgent ? parse(window.navigator.userAgent) : undefined;\n const sections = [\n [\"aws-sdk-js\", clientVersion],\n [\"ua\", \"2.1\"],\n [`os/${parsedUA?.os?.name || \"other\"}`, parsedUA?.os?.version],\n [\"lang/js\"],\n [\"md/browser\", `${parsedUA?.browser?.name ?? \"unknown\"}_${parsedUA?.browser?.version ?? \"unknown\"}`],\n ];\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n const appId = await config?.userAgentAppId?.();\n if (appId) {\n sections.push([`app/${appId}`]);\n }\n return sections;\n};\n","export { createUserAgentStringParsingProvider } from \"./createUserAgentStringParsingProvider\";\nexport const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => {\n const navigator = typeof window !== \"undefined\" ? window.navigator : undefined;\n const uaString = navigator?.userAgent ?? \"\";\n const osName = navigator?.userAgentData?.platform ?? fallback.os(uaString) ?? \"other\";\n const osVersion = undefined;\n const brands = navigator?.userAgentData?.brands ?? [];\n const brand = brands[brands.length - 1];\n const browserName = brand?.brand ?? fallback.browser(uaString) ?? \"unknown\";\n const browserVersion = brand?.version ?? \"unknown\";\n const sections = [\n [\"aws-sdk-js\", clientVersion],\n [\"ua\", \"2.1\"],\n [`os/${osName}`, osVersion],\n [\"lang/js\"],\n [\"md/browser\", `${browserName}_${browserVersion}`],\n ];\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n const appId = await config?.userAgentAppId?.();\n if (appId) {\n sections.push([`app/${appId}`]);\n }\n return sections;\n};\nexport const fallback = {\n os(ua) {\n if (/iPhone|iPad|iPod/.test(ua))\n return \"iOS\";\n if (/Macintosh|Mac OS X/.test(ua))\n return \"macOS\";\n if (/Windows NT/.test(ua))\n return \"Windows\";\n if (/Android/.test(ua))\n return \"Android\";\n if (/Linux/.test(ua))\n return \"Linux\";\n return undefined;\n },\n browser(ua) {\n if (/EdgiOS|EdgA|Edg\\//.test(ua))\n return \"Microsoft Edge\";\n if (/Firefox\\//.test(ua))\n return \"Firefox\";\n if (/Chrome\\//.test(ua))\n return \"Chrome\";\n if (/Safari\\//.test(ua))\n return \"Safari\";\n return undefined;\n },\n};\nexport const defaultUserAgent = createDefaultUserAgentProvider;\n","export { isIpAddress } from \"@smithy/core/endpoints\";\n","import { isValidHostLabel } from \"@smithy/core/endpoints\";\nimport { isIpAddress } from \"../isIpAddress\";\nexport const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {\n if (allowSubDomains) {\n for (const label of value.split(\".\")) {\n if (!isVirtualHostableS3Bucket(label)) {\n return false;\n }\n }\n return true;\n }\n if (!isValidHostLabel(value)) {\n return false;\n }\n if (value.length < 3 || value.length > 63) {\n return false;\n }\n if (value !== value.toLowerCase()) {\n return false;\n }\n if (isIpAddress(value)) {\n return false;\n }\n return true;\n};\n","const ARN_DELIMITER = \":\";\nconst RESOURCE_DELIMITER = \"/\";\nexport const parseArn = (value) => {\n const segments = value.split(ARN_DELIMITER);\n if (segments.length < 6)\n return null;\n const [arn, partition, service, region, accountId, ...resourcePath] = segments;\n if (arn !== \"arn\" || partition === \"\" || service === \"\" || resourcePath.join(ARN_DELIMITER) === \"\")\n return null;\n const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();\n return {\n partition,\n service,\n region,\n accountId,\n resourceId,\n };\n};\n","import { customEndpointFunctions } from \"@smithy/core/endpoints\";\nimport { isVirtualHostableS3Bucket } from \"./lib/aws/isVirtualHostableS3Bucket\";\nimport { parseArn } from \"./lib/aws/parseArn\";\nimport { partition } from \"./lib/aws/partition\";\nexport const awsEndpointFunctions = {\n isVirtualHostableS3Bucket: isVirtualHostableS3Bucket,\n parseArn: parseArn,\n partition: partition,\n};\ncustomEndpointFunctions.aws = awsEndpointFunctions;\n","export { resolveEndpoint } from \"@smithy/core/endpoints\";\n","import { parseUrl } from \"@smithy/core/protocols\";\nexport const resolveDefaultAwsRegionalEndpointsConfig = (input) => {\n if (typeof input.endpointProvider !== \"function\") {\n throw new Error(\"@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.\");\n }\n const { endpoint } = input;\n if (endpoint === undefined) {\n input.endpoint = async () => {\n return toEndpointV1(input.endpointProvider({\n Region: typeof input.region === \"function\" ? await input.region() : input.region,\n UseDualStack: typeof input.useDualstackEndpoint === \"function\"\n ? await input.useDualstackEndpoint()\n : input.useDualstackEndpoint,\n UseFIPS: typeof input.useFipsEndpoint === \"function\" ? await input.useFipsEndpoint() : input.useFipsEndpoint,\n Endpoint: undefined,\n }, { logger: input.logger }));\n };\n }\n return input;\n};\nexport const toEndpointV1 = (endpoint) => parseUrl(endpoint.url);\n","export { EndpointError } from \"@smithy/core/endpoints\";\n","export { REGION_ENV_NAME, REGION_INI_NAME, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, } from \"@smithy/core/config\";\nexport { resolveRegionConfig } from \"@smithy/core/config\";\n","import { loadConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, } from \"@smithy/core/config\";\nexport function stsRegionDefaultResolver(loaderConfig = {}) {\n return loadConfig({\n ...NODE_REGION_CONFIG_OPTIONS,\n async default() {\n if (!warning.silence) {\n console.warn(\"@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.\");\n }\n return \"us-east-1\";\n },\n }, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig });\n}\nexport const warning = {\n silence: false,\n};\n","export const getAwsRegionExtensionConfiguration = (runtimeConfig) => {\n return {\n setRegion(region) {\n runtimeConfig.region = region;\n },\n region() {\n return runtimeConfig.region;\n },\n };\n};\nexport const resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => {\n return {\n region: awsRegionExtensionConfiguration.region(),\n };\n};\n","export { emitWarningIfUnsupportedVersion, state } from \"./emitWarningIfUnsupportedVersion\";\nexport { getLongPollPlugin } from \"./longPollMiddleware\";\nexport { setCredentialFeature } from \"./setCredentialFeature\";\nexport { setFeature } from \"./setFeature\";\nexport { setTokenFeature } from \"./setTokenFeature\";\nexport { hostHeaderMiddleware, hostHeaderMiddlewareOptions, getHostHeaderPlugin, resolveHostHeaderConfig, } from \"./middleware-host-header/hostHeaderMiddleware\";\nexport { loggerMiddleware, loggerMiddlewareOptions, getLoggerPlugin } from \"./middleware-logger/loggerMiddleware\";\nexport { recursionDetectionMiddlewareOptions } from \"./middleware-recursion-detection/configuration\";\nexport { getRecursionDetectionPlugin } from \"./middleware-recursion-detection/getRecursionDetectionPlugin\";\nexport { recursionDetectionMiddleware } from \"./middleware-recursion-detection/recursionDetectionMiddleware\";\nexport { DEFAULT_UA_APP_ID, resolveUserAgentConfig } from \"./middleware-user-agent/configurations\";\nexport { userAgentMiddleware, getUserAgentMiddlewareOptions, getUserAgentPlugin, } from \"./middleware-user-agent/user-agent-middleware\";\nexport { createDefaultUserAgentProvider, defaultUserAgent, crtAvailability, } from \"./util-user-agent-node/defaultUserAgent\";\nexport { NODE_APP_ID_CONFIG_OPTIONS, UA_APP_ID_ENV_NAME, UA_APP_ID_INI_NAME, } from \"./util-user-agent-node/nodeAppIdConfigOptions\";\nexport { fallback } from \"./util-user-agent-browser/defaultUserAgent\";\nexport { createUserAgentStringParsingProvider } from \"./util-user-agent-browser/createUserAgentStringParsingProvider\";\nexport { awsEndpointFunctions } from \"./util-endpoints/aws\";\nexport { resolveEndpoint } from \"./util-endpoints/resolveEndpoint\";\nexport { resolveDefaultAwsRegionalEndpointsConfig, toEndpointV1, } from \"./util-endpoints/resolveDefaultAwsRegionalEndpointsConfig\";\nexport { isIpAddress } from \"./util-endpoints/lib/isIpAddress\";\nexport { isVirtualHostableS3Bucket } from \"./util-endpoints/lib/aws/isVirtualHostableS3Bucket\";\nexport { parseArn } from \"./util-endpoints/lib/aws/parseArn\";\nexport { partition, setPartitionInfo, useDefaultPartitionInfo, getUserAgentPrefix, } from \"./util-endpoints/lib/aws/partition\";\nexport { EndpointError } from \"./util-endpoints/types/EndpointError\";\nexport { REGION_ENV_NAME, REGION_INI_NAME, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig, } from \"./region-config-resolver/awsRegionConfig\";\nexport { stsRegionDefaultResolver, warning as stsRegionWarning, } from \"./region-config-resolver/stsRegionDefaultResolver\";\nexport { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from \"./region-config-resolver/extensions\";\n","/**\n * Obliterator Iterator Class\n * ===========================\n *\n * Simple class representing the library's iterators.\n */\n\n/**\n * Iterator class.\n *\n * @constructor\n * @param {function} next - Next function.\n */\nfunction Iterator(next) {\n\n // Hiding the given function\n Object.defineProperty(this, '_next', {\n writable: false,\n enumerable: false,\n value: next\n });\n\n // Is the iterator complete?\n this.done = false;\n}\n\n/**\n * Next function.\n *\n * @return {object}\n */\n// NOTE: maybe this should dropped for performance?\nIterator.prototype.next = function() {\n if (this.done)\n return {done: true};\n\n var step = this._next();\n\n if (step.done)\n this.done = true;\n\n return step;\n};\n\n/**\n * If symbols are supported, we add `next` to `Symbol.iterator`.\n */\nif (typeof Symbol !== 'undefined')\n Iterator.prototype[Symbol.iterator] = function() {\n return this;\n };\n\n/**\n * Returning an iterator of the given values.\n *\n * @param {any...} values - Values.\n * @return {Iterator}\n */\nIterator.of = function() {\n var args = arguments,\n l = args.length,\n i = 0;\n\n return new Iterator(function() {\n if (i >= l)\n return {done: true};\n\n return {done: false, value: args[i++]};\n });\n};\n\n/**\n * Returning an empty iterator.\n *\n * @return {Iterator}\n */\nIterator.empty = function() {\n var iterator = new Iterator(null);\n iterator.done = true;\n\n return iterator;\n};\n\n/**\n * Returning whether the given value is an iterator.\n *\n * @param {any} value - Value.\n * @return {boolean}\n */\nIterator.is = function(value) {\n if (value instanceof Iterator)\n return true;\n\n return (\n typeof value === 'object' &&\n value !== null &&\n typeof value.next === 'function'\n );\n};\n\n/**\n * Exporting.\n */\nmodule.exports = Iterator;\n","/**\n * Obliterator ForEach Function\n * =============================\n *\n * Helper function used to easily iterate over mixed values.\n */\n\n/**\n * Constants.\n */\nvar ARRAY_BUFFER_SUPPORT = typeof ArrayBuffer !== 'undefined',\n SYMBOL_SUPPORT = typeof Symbol !== 'undefined';\n\n/**\n * Function able to iterate over almost any iterable JS value.\n *\n * @param {any} iterable - Iterable value.\n * @param {function} callback - Callback function.\n */\nfunction forEach(iterable, callback) {\n var iterator, k, i, l, s;\n\n if (!iterable)\n throw new Error('obliterator/forEach: invalid iterable.');\n\n if (typeof callback !== 'function')\n throw new Error('obliterator/forEach: expecting a callback.');\n\n // The target is an array or a string or function arguments\n if (\n Array.isArray(iterable) ||\n (ARRAY_BUFFER_SUPPORT && ArrayBuffer.isView(iterable)) ||\n typeof iterable === 'string' ||\n iterable.toString() === '[object Arguments]'\n ) {\n for (i = 0, l = iterable.length; i < l; i++)\n callback(iterable[i], i);\n return;\n }\n\n // The target has a #.forEach method\n if (typeof iterable.forEach === 'function') {\n iterable.forEach(callback);\n return;\n }\n\n // The target is iterable\n if (\n SYMBOL_SUPPORT &&\n Symbol.iterator in iterable &&\n typeof iterable.next !== 'function'\n ) {\n iterable = iterable[Symbol.iterator]();\n }\n\n // The target is an iterator\n if (typeof iterable.next === 'function') {\n iterator = iterable;\n i = 0;\n\n while ((s = iterator.next(), s.done !== true)) {\n callback(s.value, i);\n i++;\n }\n\n return;\n }\n\n // The target is a plain object\n for (k in iterable) {\n if (iterable.hasOwnProperty(k)) {\n callback(iterable[k], k);\n }\n }\n\n return;\n}\n\n/**\n * Same function as the above `forEach` but will yield `null` when the target\n * does not have keys.\n *\n * @param {any} iterable - Iterable value.\n * @param {function} callback - Callback function.\n */\nforEach.forEachWithNullKeys = function(iterable, callback) {\n var iterator, k, i, l, s;\n\n if (!iterable)\n throw new Error('obliterator/forEachWithNullKeys: invalid iterable.');\n\n if (typeof callback !== 'function')\n throw new Error('obliterator/forEachWithNullKeys: expecting a callback.');\n\n // The target is an array or a string or function arguments\n if (\n Array.isArray(iterable) ||\n (ARRAY_BUFFER_SUPPORT && ArrayBuffer.isView(iterable)) ||\n typeof iterable === 'string' ||\n iterable.toString() === '[object Arguments]'\n ) {\n for (i = 0, l = iterable.length; i < l; i++)\n callback(iterable[i], null);\n return;\n }\n\n // The target is a Set\n if (iterable instanceof Set) {\n iterable.forEach(function(value) {\n callback(value, null);\n });\n return;\n }\n\n // The target has a #.forEach method\n if (typeof iterable.forEach === 'function') {\n iterable.forEach(callback);\n return;\n }\n\n // The target is iterable\n if (\n SYMBOL_SUPPORT &&\n Symbol.iterator in iterable &&\n typeof iterable.next !== 'function'\n ) {\n iterable = iterable[Symbol.iterator]();\n }\n\n // The target is an iterator\n if (typeof iterable.next === 'function') {\n iterator = iterable;\n i = 0;\n\n while ((s = iterator.next(), s.done !== true)) {\n callback(s.value, null);\n i++;\n }\n\n return;\n }\n\n // The target is a plain object\n for (k in iterable) {\n if (iterable.hasOwnProperty(k)) {\n callback(iterable[k], k);\n }\n }\n\n return;\n};\n\n/**\n * Exporting.\n */\nmodule.exports = forEach;\n","/**\n * Mnemonist Typed Array Helpers\n * ==============================\n *\n * Miscellaneous helpers related to typed arrays.\n */\n\n/**\n * When using an unsigned integer array to store pointers, one might want to\n * choose the optimal word size in regards to the actual numbers of pointers\n * to store.\n *\n * This helpers does just that.\n *\n * @param {number} size - Expected size of the array to map.\n * @return {TypedArray}\n */\nvar MAX_8BIT_INTEGER = Math.pow(2, 8) - 1,\n MAX_16BIT_INTEGER = Math.pow(2, 16) - 1,\n MAX_32BIT_INTEGER = Math.pow(2, 32) - 1;\n\nvar MAX_SIGNED_8BIT_INTEGER = Math.pow(2, 7) - 1,\n MAX_SIGNED_16BIT_INTEGER = Math.pow(2, 15) - 1,\n MAX_SIGNED_32BIT_INTEGER = Math.pow(2, 31) - 1;\n\nexports.getPointerArray = function(size) {\n var maxIndex = size - 1;\n\n if (maxIndex <= MAX_8BIT_INTEGER)\n return Uint8Array;\n\n if (maxIndex <= MAX_16BIT_INTEGER)\n return Uint16Array;\n\n if (maxIndex <= MAX_32BIT_INTEGER)\n return Uint32Array;\n\n return Float64Array;\n};\n\nexports.getSignedPointerArray = function(size) {\n var maxIndex = size - 1;\n\n if (maxIndex <= MAX_SIGNED_8BIT_INTEGER)\n return Int8Array;\n\n if (maxIndex <= MAX_SIGNED_16BIT_INTEGER)\n return Int16Array;\n\n if (maxIndex <= MAX_SIGNED_32BIT_INTEGER)\n return Int32Array;\n\n return Float64Array;\n};\n\n/**\n * Function returning the minimal type able to represent the given number.\n *\n * @param {number} value - Value to test.\n * @return {TypedArrayClass}\n */\nexports.getNumberType = function(value) {\n\n // <= 32 bits itnteger?\n if (value === (value | 0)) {\n\n // Negative\n if (Math.sign(value) === -1) {\n if (value <= 127 && value >= -128)\n return Int8Array;\n\n if (value <= 32767 && value >= -32768)\n return Int16Array;\n\n return Int32Array;\n }\n else {\n\n if (value <= 255)\n return Uint8Array;\n\n if (value <= 65535)\n return Uint16Array;\n\n return Uint32Array;\n }\n }\n\n // 53 bits integer & floats\n // NOTE: it's kinda hard to tell whether we could use 32bits or not...\n return Float64Array;\n};\n\n/**\n * Function returning the minimal type able to represent the given array\n * of JavaScript numbers.\n *\n * @param {array} array - Array to represent.\n * @param {function} getter - Optional getter.\n * @return {TypedArrayClass}\n */\nvar TYPE_PRIORITY = {\n Uint8Array: 1,\n Int8Array: 2,\n Uint16Array: 3,\n Int16Array: 4,\n Uint32Array: 5,\n Int32Array: 6,\n Float32Array: 7,\n Float64Array: 8\n};\n\n// TODO: make this a one-shot for one value\nexports.getMinimalRepresentation = function(array, getter) {\n var maxType = null,\n maxPriority = 0,\n p,\n t,\n v,\n i,\n l;\n\n for (i = 0, l = array.length; i < l; i++) {\n v = getter ? getter(array[i]) : array[i];\n t = exports.getNumberType(v);\n p = TYPE_PRIORITY[t.name];\n\n if (p > maxPriority) {\n maxPriority = p;\n maxType = t;\n }\n }\n\n return maxType;\n};\n\n/**\n * Function returning whether the given value is a typed array.\n *\n * @param {any} value - Value to test.\n * @return {boolean}\n */\nexports.isTypedArray = function(value) {\n return typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView(value);\n};\n\n/**\n * Function used to concat byte arrays.\n *\n * @param {...ByteArray}\n * @return {ByteArray}\n */\nexports.concat = function() {\n var length = 0,\n i,\n o,\n l;\n\n for (i = 0, l = arguments.length; i < l; i++)\n length += arguments[i].length;\n\n var array = new (arguments[0].constructor)(length);\n\n for (i = 0, o = 0; i < l; i++) {\n array.set(arguments[i], o);\n o += arguments[i].length;\n }\n\n return array;\n};\n\n/**\n * Function used to initialize a byte array of indices.\n *\n * @param {number} length - Length of target.\n * @return {ByteArray}\n */\nexports.indices = function(length) {\n var PointerArray = exports.getPointerArray(length);\n\n var array = new PointerArray(length);\n\n for (var i = 0; i < length; i++)\n array[i] = i;\n\n return array;\n};\n","/**\n * Mnemonist Iterable Function\n * ============================\n *\n * Harmonized iteration helpers over mixed iterable targets.\n */\nvar forEach = require('obliterator/foreach');\n\nvar typed = require('./typed-arrays.js');\n\n/**\n * Function used to determine whether the given object supports array-like\n * random access.\n *\n * @param {any} target - Target object.\n * @return {boolean}\n */\nfunction isArrayLike(target) {\n return Array.isArray(target) || typed.isTypedArray(target);\n}\n\n/**\n * Function used to guess the length of the structure over which we are going\n * to iterate.\n *\n * @param {any} target - Target object.\n * @return {number|undefined}\n */\nfunction guessLength(target) {\n if (typeof target.length === 'number')\n return target.length;\n\n if (typeof target.size === 'number')\n return target.size;\n\n return;\n}\n\n/**\n * Function used to convert an iterable to an array.\n *\n * @param {any} target - Iteration target.\n * @return {array}\n */\nfunction toArray(target) {\n var l = guessLength(target);\n\n var array = typeof l === 'number' ? new Array(l) : [];\n\n var i = 0;\n\n // TODO: we could optimize when given target is array like\n forEach(target, function(value) {\n array[i++] = value;\n });\n\n return array;\n}\n\n/**\n * Same as above but returns a supplementary indices array.\n *\n * @param {any} target - Iteration target.\n * @return {array}\n */\nfunction toArrayWithIndices(target) {\n var l = guessLength(target);\n\n var IndexArray = typeof l === 'number' ?\n typed.getPointerArray(l) :\n Array;\n\n var array = typeof l === 'number' ? new Array(l) : [];\n var indices = typeof l === 'number' ? new IndexArray(l) : [];\n\n var i = 0;\n\n // TODO: we could optimize when given target is array like\n forEach(target, function(value) {\n array[i] = value;\n indices[i] = i++;\n });\n\n return [array, indices];\n}\n\n/**\n * Exporting.\n */\nexports.isArrayLike = isArrayLike;\nexports.guessLength = guessLength;\nexports.toArray = toArray;\nexports.toArrayWithIndices = toArrayWithIndices;\n","/**\n * Mnemonist LRUCache\n * ===================\n *\n * JavaScript implementation of the LRU Cache data structure. To save up\n * memory and allocations this implementation represents its underlying\n * doubly-linked list as static arrays and pointers. Thus, memory is allocated\n * only once at instantiation and JS objects are never created to serve as\n * pointers. This also means this implementation does not trigger too many\n * garbage collections.\n *\n * Note that to save up memory, a LRU Cache can be implemented using a singly\n * linked list by storing predecessors' pointers as hashmap values.\n * However, this means more hashmap lookups and would probably slow the whole\n * thing down. What's more, pointers are not the things taking most space in\n * memory.\n */\nvar Iterator = require('obliterator/iterator'),\n forEach = require('obliterator/foreach'),\n typed = require('./utils/typed-arrays.js'),\n iterables = require('./utils/iterables.js');\n\n/**\n * LRUCache.\n *\n * @constructor\n * @param {function} Keys - Array class for storing keys.\n * @param {function} Values - Array class for storing values.\n * @param {number} capacity - Desired capacity.\n */\nfunction LRUCache(Keys, Values, capacity) {\n if (arguments.length < 2) {\n capacity = Keys;\n Keys = null;\n Values = null;\n }\n\n this.capacity = capacity;\n\n if (typeof this.capacity !== 'number' || this.capacity <= 0)\n throw new Error('mnemonist/lru-cache: capacity should be positive number.');\n\n var PointerArray = typed.getPointerArray(capacity);\n\n this.forward = new PointerArray(capacity);\n this.backward = new PointerArray(capacity);\n this.K = typeof Keys === 'function' ? new Keys(capacity) : new Array(capacity);\n this.V = typeof Values === 'function' ? new Values(capacity) : new Array(capacity);\n\n // Properties\n this.size = 0;\n this.head = 0;\n this.tail = 0;\n this.items = {};\n}\n\n/**\n * Method used to clear the structure.\n *\n * @return {undefined}\n */\nLRUCache.prototype.clear = function() {\n this.size = 0;\n this.head = 0;\n this.tail = 0;\n this.items = {};\n};\n\n/**\n * Method used to splay a value on top.\n *\n * @param {number} pointer - Pointer of the value to splay on top.\n * @return {LRUCache}\n */\nLRUCache.prototype.splayOnTop = function(pointer) {\n var oldHead = this.head;\n\n if (this.head === pointer)\n return this;\n\n var previous = this.backward[pointer],\n next = this.forward[pointer];\n\n if (this.tail === pointer) {\n this.tail = previous;\n }\n else {\n this.backward[next] = previous;\n }\n\n this.forward[previous] = next;\n\n this.backward[oldHead] = pointer;\n this.head = pointer;\n this.forward[pointer] = oldHead;\n\n return this;\n};\n\n/**\n * Method used to set the value for the given key in the cache.\n *\n * @param {any} key - Key.\n * @param {any} value - Value.\n * @return {undefined}\n */\nLRUCache.prototype.set = function(key, value) {\n\n // The key already exists, we just need to update the value and splay on top\n var pointer = this.items[key];\n\n if (typeof pointer !== 'undefined') {\n this.splayOnTop(pointer);\n this.V[pointer] = value;\n\n return;\n }\n\n // The cache is not yet full\n if (this.size < this.capacity) {\n pointer = this.size++;\n }\n\n // Cache is full, we need to drop the last value\n else {\n pointer = this.tail;\n this.tail = this.backward[pointer];\n delete this.items[this.K[pointer]];\n }\n\n // Storing key & value\n this.items[key] = pointer;\n this.K[pointer] = key;\n this.V[pointer] = value;\n\n // Moving the item at the front of the list\n this.forward[pointer] = this.head;\n this.backward[this.head] = pointer;\n this.head = pointer;\n};\n\n/**\n * Method used to set the value for the given key in the cache\n *\n * @param {any} key - Key.\n * @param {any} value - Value.\n * @return {{evicted: boolean, key: any, value: any}} An object containing the\n * key and value of an item that was overwritten or evicted in the set\n * operation, as well as a boolean indicating whether it was evicted due to\n * limited capacity. Return value is null if nothing was evicted or overwritten\n * during the set operation.\n */\nLRUCache.prototype.setpop = function(key, value) {\n var oldValue = null;\n var oldKey = null;\n // The key already exists, we just need to update the value and splay on top\n var pointer = this.items[key];\n\n if (typeof pointer !== 'undefined') {\n this.splayOnTop(pointer);\n oldValue = this.V[pointer];\n this.V[pointer] = value;\n return {evicted: false, key: key, value: oldValue};\n }\n\n // The cache is not yet full\n if (this.size < this.capacity) {\n pointer = this.size++;\n }\n\n // Cache is full, we need to drop the last value\n else {\n pointer = this.tail;\n this.tail = this.backward[pointer];\n oldValue = this.V[pointer];\n oldKey = this.K[pointer];\n delete this.items[this.K[pointer]];\n }\n\n // Storing key & value\n this.items[key] = pointer;\n this.K[pointer] = key;\n this.V[pointer] = value;\n\n // Moving the item at the front of the list\n this.forward[pointer] = this.head;\n this.backward[this.head] = pointer;\n this.head = pointer;\n\n // Return object if eviction took place, otherwise return null\n if (oldKey) {\n return {evicted: true, key: oldKey, value: oldValue};\n }\n else {\n return null;\n }\n};\n\n/**\n * Method used to check whether the key exists in the cache.\n *\n * @param {any} key - Key.\n * @return {boolean}\n */\nLRUCache.prototype.has = function(key) {\n return key in this.items;\n};\n\n/**\n * Method used to get the value attached to the given key. Will move the\n * related key to the front of the underlying linked list.\n *\n * @param {any} key - Key.\n * @return {any}\n */\nLRUCache.prototype.get = function(key) {\n var pointer = this.items[key];\n\n if (typeof pointer === 'undefined')\n return;\n\n this.splayOnTop(pointer);\n\n return this.V[pointer];\n};\n\n/**\n * Method used to get the value attached to the given key. Does not modify\n * the ordering of the underlying linked list.\n *\n * @param {any} key - Key.\n * @return {any}\n */\nLRUCache.prototype.peek = function(key) {\n var pointer = this.items[key];\n\n if (typeof pointer === 'undefined')\n return;\n\n return this.V[pointer];\n};\n\n/**\n * Method used to iterate over the cache's entries using a callback.\n *\n * @param {function} callback - Function to call for each item.\n * @param {object} scope - Optional scope.\n * @return {undefined}\n */\nLRUCache.prototype.forEach = function(callback, scope) {\n scope = arguments.length > 1 ? scope : this;\n\n var i = 0,\n l = this.size;\n\n var pointer = this.head,\n keys = this.K,\n values = this.V,\n forward = this.forward;\n\n while (i < l) {\n\n callback.call(scope, values[pointer], keys[pointer], this);\n pointer = forward[pointer];\n\n i++;\n }\n};\n\n/**\n * Method used to create an iterator over the cache's keys from most\n * recently used to least recently used.\n *\n * @return {Iterator}\n */\nLRUCache.prototype.keys = function() {\n var i = 0,\n l = this.size;\n\n var pointer = this.head,\n keys = this.K,\n forward = this.forward;\n\n return new Iterator(function() {\n if (i >= l)\n return {done: true};\n\n var key = keys[pointer];\n\n i++;\n\n if (i < l)\n pointer = forward[pointer];\n\n return {\n done: false,\n value: key\n };\n });\n};\n\n/**\n * Method used to create an iterator over the cache's values from most\n * recently used to least recently used.\n *\n * @return {Iterator}\n */\nLRUCache.prototype.values = function() {\n var i = 0,\n l = this.size;\n\n var pointer = this.head,\n values = this.V,\n forward = this.forward;\n\n return new Iterator(function() {\n if (i >= l)\n return {done: true};\n\n var value = values[pointer];\n\n i++;\n\n if (i < l)\n pointer = forward[pointer];\n\n return {\n done: false,\n value: value\n };\n });\n};\n\n/**\n * Method used to create an iterator over the cache's entries from most\n * recently used to least recently used.\n *\n * @return {Iterator}\n */\nLRUCache.prototype.entries = function() {\n var i = 0,\n l = this.size;\n\n var pointer = this.head,\n keys = this.K,\n values = this.V,\n forward = this.forward;\n\n return new Iterator(function() {\n if (i >= l)\n return {done: true};\n\n var key = keys[pointer],\n value = values[pointer];\n\n i++;\n\n if (i < l)\n pointer = forward[pointer];\n\n return {\n done: false,\n value: [key, value]\n };\n });\n};\n\n/**\n * Attaching the #.entries method to Symbol.iterator if possible.\n */\nif (typeof Symbol !== 'undefined')\n LRUCache.prototype[Symbol.iterator] = LRUCache.prototype.entries;\n\n/**\n * Convenience known methods.\n */\nLRUCache.prototype.inspect = function() {\n var proxy = new Map();\n\n var iterator = this.entries(),\n step;\n\n while ((step = iterator.next(), !step.done))\n proxy.set(step.value[0], step.value[1]);\n\n // Trick so that node displays the name of the constructor\n Object.defineProperty(proxy, 'constructor', {\n value: LRUCache,\n enumerable: false\n });\n\n return proxy;\n};\n\nif (typeof Symbol !== 'undefined')\n LRUCache.prototype[Symbol.for('nodejs.util.inspect.custom')] = LRUCache.prototype.inspect;\n\n/**\n * Static @.from function taking an arbitrary iterable & converting it into\n * a structure.\n *\n * @param {Iterable} iterable - Target iterable.\n * @param {function} Keys - Array class for storing keys.\n * @param {function} Values - Array class for storing values.\n * @param {number} capacity - Cache's capacity.\n * @return {LRUCache}\n */\nLRUCache.from = function(iterable, Keys, Values, capacity) {\n if (arguments.length < 2) {\n capacity = iterables.guessLength(iterable);\n\n if (typeof capacity !== 'number')\n throw new Error('mnemonist/lru-cache.from: could not guess iterable length. Please provide desired capacity as last argument.');\n }\n else if (arguments.length === 2) {\n capacity = Keys;\n Keys = null;\n Values = null;\n }\n\n var cache = new LRUCache(Keys, Values, capacity);\n\n forEach(iterable, function(value, key) {\n cache.set(key, value);\n });\n\n return cache;\n};\n\n/**\n * Exporting.\n */\nmodule.exports = LRUCache;\n","const LRUCache = require(\"mnemonist/lru-cache\");\n\nclass EndpointCache {\n cache;\n constructor(capacity) {\n this.cache = new LRUCache(capacity);\n }\n getEndpoint(key) {\n const endpointsWithExpiry = this.get(key);\n if (!endpointsWithExpiry || endpointsWithExpiry.length === 0) {\n return undefined;\n }\n const endpoints = endpointsWithExpiry.map((endpoint) => endpoint.Address);\n return endpoints[Math.floor(Math.random() * endpoints.length)];\n }\n get(key) {\n if (!this.has(key)) {\n return;\n }\n const value = this.cache.get(key);\n if (!value) {\n return;\n }\n const now = Date.now();\n const endpointsWithExpiry = value.filter((endpoint) => now < endpoint.Expires);\n if (endpointsWithExpiry.length === 0) {\n this.delete(key);\n return undefined;\n }\n return endpointsWithExpiry;\n }\n set(key, endpoints) {\n const now = Date.now();\n this.cache.set(key, endpoints.map(({ Address, CachePeriodInMinutes }) => ({\n Address,\n Expires: now + CachePeriodInMinutes * 60 * 1000,\n })));\n }\n delete(key) {\n this.cache.set(key, []);\n }\n has(key) {\n if (!this.cache.has(key)) {\n return false;\n }\n const endpoints = this.cache.peek(key);\n if (!endpoints) {\n return false;\n }\n return endpoints.length > 0;\n }\n clear() {\n this.cache.clear();\n }\n}\n\nexports.EndpointCache = EndpointCache;\n","const { HttpRequest } = require(\"@smithy/core/protocols\");\nconst { EndpointCache } = require(\"@aws-sdk/endpoint-cache\");\n\nconst ENV_ENDPOINT_DISCOVERY = [\"AWS_ENABLE_ENDPOINT_DISCOVERY\", \"AWS_ENDPOINT_DISCOVERY_ENABLED\"];\nconst CONFIG_ENDPOINT_DISCOVERY = \"endpoint_discovery_enabled\";\nconst isFalsy = (value) => [\"false\", \"0\"].indexOf(value) >= 0;\nconst NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => {\n for (let i = 0; i < ENV_ENDPOINT_DISCOVERY.length; i++) {\n const envKey = ENV_ENDPOINT_DISCOVERY[i];\n if (envKey in env) {\n const value = env[envKey];\n if (value === \"\") {\n throw Error(`Environment variable ${envKey} can't be empty of undefined, got \"${value}\"`);\n }\n return !isFalsy(value);\n }\n }\n },\n configFileSelector: (profile) => {\n if (CONFIG_ENDPOINT_DISCOVERY in profile) {\n const value = profile[CONFIG_ENDPOINT_DISCOVERY];\n if (value === undefined) {\n throw Error(`Shared config entry ${CONFIG_ENDPOINT_DISCOVERY} can't be undefined, got \"${value}\"`);\n }\n return !isFalsy(value);\n }\n },\n default: undefined,\n};\n\nconst getCacheKey = async (commandName, config, options) => {\n const { accessKeyId } = await config.credentials();\n const { identifiers } = options;\n return JSON.stringify({\n ...(accessKeyId && { accessKeyId }),\n ...(identifiers && {\n commandName,\n identifiers: Object.entries(identifiers)\n .sort()\n .reduce((acc, [key, value]) => ({ ...acc, [key]: value }), {}),\n }),\n });\n};\n\nconst requestQueue = {};\nconst updateDiscoveredEndpointInCache = async (config, options) => new Promise((resolve, reject) => {\n const { endpointCache } = config;\n const { cacheKey, commandName, identifiers } = options;\n const endpoints = endpointCache.get(cacheKey);\n if (endpoints && endpoints.length === 1 && endpoints[0].Address === \"\") {\n if (options.isDiscoveredEndpointRequired) {\n if (!requestQueue[cacheKey])\n requestQueue[cacheKey] = [];\n requestQueue[cacheKey].push({ resolve, reject });\n }\n else {\n resolve();\n }\n }\n else if (endpoints && endpoints.length > 0) {\n resolve();\n }\n else {\n const placeholderEndpoints = [{ Address: \"\", CachePeriodInMinutes: 1 }];\n endpointCache.set(cacheKey, placeholderEndpoints);\n const command = new options.endpointDiscoveryCommandCtor({\n Operation: commandName.slice(0, -7),\n Identifiers: identifiers,\n });\n const handler = command.resolveMiddleware(options.clientStack, config, options.options);\n handler(command)\n .then((result) => {\n endpointCache.set(cacheKey, result.output.Endpoints);\n if (requestQueue[cacheKey]) {\n requestQueue[cacheKey].forEach(({ resolve }) => {\n resolve();\n });\n delete requestQueue[cacheKey];\n }\n resolve();\n })\n .catch((error) => {\n endpointCache.delete(cacheKey);\n const errorToThrow = Object.assign(new Error(`The operation to discover endpoint failed.` +\n ` Please retry, or provide a custom endpoint and disable endpoint discovery to proceed.`), { reason: error });\n if (requestQueue[cacheKey]) {\n requestQueue[cacheKey].forEach(({ reject }) => {\n reject(errorToThrow);\n });\n delete requestQueue[cacheKey];\n }\n if (options.isDiscoveredEndpointRequired) {\n reject(errorToThrow);\n }\n else {\n endpointCache.set(cacheKey, placeholderEndpoints);\n resolve();\n }\n });\n }\n});\n\nconst endpointDiscoveryMiddleware = (config, middlewareConfig) => (next, context) => async (args) => {\n if (config.isCustomEndpoint) {\n if (config.isClientEndpointDiscoveryEnabled) {\n throw new Error(`Custom endpoint is supplied; endpointDiscoveryEnabled must not be true.`);\n }\n return next(args);\n }\n const { endpointDiscoveryCommandCtor } = config;\n const { isDiscoveredEndpointRequired, identifiers } = middlewareConfig;\n const clientName = context.clientName;\n const commandName = context.commandName;\n const isEndpointDiscoveryEnabled = await config.endpointDiscoveryEnabled();\n const cacheKey = await getCacheKey(commandName, config, { identifiers });\n if (isDiscoveredEndpointRequired) {\n if (isEndpointDiscoveryEnabled === false) {\n throw new Error(`Endpoint Discovery is disabled but ${commandName} on ${clientName} requires it.` +\n ` Please check your configurations.`);\n }\n await updateDiscoveredEndpointInCache(config, {\n ...middlewareConfig,\n commandName,\n cacheKey,\n endpointDiscoveryCommandCtor,\n });\n }\n else if (isEndpointDiscoveryEnabled) {\n updateDiscoveredEndpointInCache(config, {\n ...middlewareConfig,\n commandName,\n cacheKey,\n endpointDiscoveryCommandCtor,\n });\n }\n const { request } = args;\n if (cacheKey && HttpRequest.isInstance(request)) {\n const endpoint = config.endpointCache.getEndpoint(cacheKey);\n if (endpoint) {\n request.hostname = endpoint;\n }\n }\n return next(args);\n};\n\nconst endpointDiscoveryMiddlewareOptions = {\n name: \"endpointDiscoveryMiddleware\",\n step: \"build\",\n tags: [\"ENDPOINT_DISCOVERY\"],\n override: true,\n};\nconst getEndpointDiscoveryPlugin = (pluginConfig, middlewareConfig) => ({\n applyToStack: (commandStack) => {\n commandStack.add(endpointDiscoveryMiddleware(pluginConfig, middlewareConfig), endpointDiscoveryMiddlewareOptions);\n },\n});\nconst getEndpointDiscoveryRequiredPlugin = (pluginConfig, middlewareConfig) => ({\n applyToStack: (commandStack) => {\n commandStack.add(endpointDiscoveryMiddleware(pluginConfig, { ...middlewareConfig, isDiscoveredEndpointRequired: true }), endpointDiscoveryMiddlewareOptions);\n },\n});\nconst getEndpointDiscoveryOptionalPlugin = (pluginConfig, middlewareConfig) => ({\n applyToStack: (commandStack) => {\n commandStack.add(endpointDiscoveryMiddleware(pluginConfig, { ...middlewareConfig, isDiscoveredEndpointRequired: false }), endpointDiscoveryMiddlewareOptions);\n },\n});\n\nconst resolveEndpointDiscoveryConfig = (input, { endpointDiscoveryCommandCtor }) => {\n const { endpointCacheSize, endpointDiscoveryEnabled, endpointDiscoveryEnabledProvider } = input;\n return Object.assign(input, {\n endpointDiscoveryCommandCtor,\n endpointCache: new EndpointCache(endpointCacheSize ?? 1000),\n endpointDiscoveryEnabled: endpointDiscoveryEnabled !== undefined\n ? () => Promise.resolve(endpointDiscoveryEnabled)\n : endpointDiscoveryEnabledProvider,\n isClientEndpointDiscoveryEnabled: endpointDiscoveryEnabled !== undefined,\n });\n};\n\nexports.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS = NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS;\nexports.endpointDiscoveryMiddlewareOptions = endpointDiscoveryMiddlewareOptions;\nexports.getEndpointDiscoveryOptionalPlugin = getEndpointDiscoveryOptionalPlugin;\nexports.getEndpointDiscoveryPlugin = getEndpointDiscoveryPlugin;\nexports.getEndpointDiscoveryRequiredPlugin = getEndpointDiscoveryRequiredPlugin;\nexports.resolveEndpointDiscoveryConfig = resolveEndpointDiscoveryConfig;\n","import { HttpResponse } from \"@smithy/core/protocols\";\nexport const getDateHeader = (response) => HttpResponse.isInstance(response) ? (response.headers?.date ?? response.headers?.Date) : undefined;\nexport const getAgeHeader = (response) => HttpResponse.isInstance(response) ? (response.headers?.age ?? response.headers?.Age) : undefined;\n","export const getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);\n","export const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset, timeRequestSent, ageHeader) => {\n if (ageHeader !== undefined) {\n return currentSystemClockOffset;\n }\n const serverTime = Date.parse(clockTime);\n const timeResponseReceived = Date.now();\n if (timeRequestSent !== undefined && timeResponseReceived - timeRequestSent > 900_000) {\n return currentSystemClockOffset;\n }\n const candidateSkew = timeRequestSent !== undefined\n ? serverTime - (timeRequestSent + timeResponseReceived) / 2\n : serverTime - timeResponseReceived;\n return candidateSkew;\n};\n","export { getAgeHeader, getDateHeader } from \"./getDateHeader\";\nexport { getSkewCorrectedDate } from \"./getSkewCorrectedDate\";\nexport { getUpdatedSystemClockOffset } from \"./getUpdatedSystemClockOffset\";\nexport { isClockSkewed } from \"./isClockSkewed\";\n","import { HttpRequest } from \"@smithy/core/protocols\";\nimport { SMITHY_CONTEXT_KEY } from \"@smithy/types\";\nimport { getAgeHeader, getDateHeader, getSkewCorrectedDate, getUpdatedSystemClockOffset } from \"../utils\";\nconst throwSigningPropertyError = (name, property) => {\n if (!property) {\n throw new Error(`Property \\`${name}\\` is not resolved for AWS SDK SigV4Auth`);\n }\n return property;\n};\nconst hasEventStreamOutput = (signingProperties) => {\n const context = signingProperties.context;\n const eventStream = context?.[SMITHY_CONTEXT_KEY]\n ?.eventStream;\n return eventStream?.output === true;\n};\nexport const validateSigningProperties = async (signingProperties) => {\n const context = throwSigningPropertyError(\"context\", signingProperties.context);\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const authScheme = context.endpointV2?.properties?.authSchemes?.[0];\n const signerFunction = throwSigningPropertyError(\"signer\", config.signer);\n const signer = await signerFunction(authScheme);\n const signingRegion = signingProperties?.signingRegion;\n const signingRegionSet = signingProperties?.signingRegionSet;\n const signingName = signingProperties?.signingName;\n return {\n config,\n signer,\n signingRegion,\n signingRegionSet,\n signingName,\n };\n};\nexport class AwsSdkSigV4Signer {\n async sign(httpRequest, identity, signingProperties) {\n if (!HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const validatedProps = await validateSigningProperties(signingProperties);\n const { config, signer } = validatedProps;\n let { signingRegion, signingName } = validatedProps;\n const handlerExecutionContext = signingProperties.context;\n if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {\n const [first, second] = handlerExecutionContext.authSchemes;\n if (first?.name === \"sigv4a\" && second?.name === \"sigv4\") {\n signingRegion = second?.signingRegion ?? signingRegion;\n signingName = second?.signingName ?? signingName;\n }\n }\n const noSkewCorrection = (await config.disableClockSkewCorrection?.()) === true;\n signingProperties._disableClockSkewCorrection = noSkewCorrection;\n const skipSkewSampling = noSkewCorrection || hasEventStreamOutput(signingProperties);\n signingProperties._skipClockSkewSampling = skipSkewSampling;\n if (!skipSkewSampling) {\n signingProperties._preRequestSystemClockOffset = config.systemClockOffset;\n signingProperties._requestSentAt = Date.now();\n }\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: noSkewCorrection ? new Date() : getSkewCorrectedDate(config.systemClockOffset),\n signingRegion: signingRegion,\n signingService: signingName,\n });\n return signedRequest;\n }\n errorHandler(signingProperties) {\n return (error) => {\n const errorException = error;\n if (!signingProperties._skipClockSkewSampling && !signingProperties._disableClockSkewCorrection) {\n const serverTime = errorException.ServerTime ?? getDateHeader(errorException.$response);\n if (serverTime) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const preRequestOffset = signingProperties._preRequestSystemClockOffset;\n const timeRequestSent = signingProperties._requestSentAt;\n const ageHeader = getAgeHeader(errorException.$response);\n const newOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset, timeRequestSent, ageHeader);\n config.systemClockOffset = newOffset;\n const skewExceedsThreshold = Math.abs(newOffset) >= 240_000;\n const isLocalCorrection = newOffset !== preRequestOffset;\n const isConcurrentCorrection = preRequestOffset !== undefined && preRequestOffset !== newOffset;\n if (skewExceedsThreshold && (isLocalCorrection || isConcurrentCorrection) && errorException.$metadata) {\n errorException.$metadata.clockSkewCorrected = true;\n }\n }\n }\n throw error;\n };\n }\n successHandler(httpResponse, signingProperties) {\n if (signingProperties._skipClockSkewSampling || signingProperties._disableClockSkewCorrection) {\n return;\n }\n const dateHeader = getDateHeader(httpResponse);\n if (dateHeader) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const timeRequestSent = signingProperties._requestSentAt;\n const ageHeader = getAgeHeader(httpResponse);\n config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset, timeRequestSent, ageHeader);\n }\n }\n}\nexport const AWSSDKSigV4Signer = AwsSdkSigV4Signer;\n","import { HttpRequest } from \"@smithy/core/protocols\";\nimport { getSkewCorrectedDate } from \"../utils\";\nimport { AwsSdkSigV4Signer, validateSigningProperties } from \"./AwsSdkSigV4Signer\";\nexport class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {\n async sign(httpRequest, identity, signingProperties) {\n if (!HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(signingProperties);\n const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();\n const multiRegionOverride = (configResolvedSigningRegionSet ??\n signingRegionSet ?? [signingRegion]).join(\",\");\n const noSkewCorrection = (await config.disableClockSkewCorrection?.()) === true;\n signingProperties._disableClockSkewCorrection = noSkewCorrection;\n if (!noSkewCorrection) {\n signingProperties._preRequestSystemClockOffset = config.systemClockOffset;\n signingProperties._requestSentAt = Date.now();\n }\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: noSkewCorrection ? new Date() : getSkewCorrectedDate(config.systemClockOffset),\n signingRegion: multiRegionOverride,\n signingService: signingName,\n });\n return signedRequest;\n }\n}\n","export const getArrayForCommaSeparatedString = (str) => typeof str === \"string\" && str.length > 0 ? str.split(\",\").map((item) => item.trim()) : [];\n","export const getBearerTokenEnvKey = (signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\\s-]/g, \"_\").toUpperCase()}`;\n","import { getArrayForCommaSeparatedString } from \"../utils/getArrayForCommaSeparatedString\";\nimport { getBearerTokenEnvKey } from \"../utils/getBearerTokenEnvKey\";\nconst NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = \"AWS_AUTH_SCHEME_PREFERENCE\";\nconst NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = \"auth_scheme_preference\";\nexport const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {\n environmentVariableSelector: (env, options) => {\n if (options?.signingName) {\n const bearerTokenKey = getBearerTokenEnvKey(options.signingName);\n if (bearerTokenKey in env)\n return [\"httpBearerAuth\"];\n }\n if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env))\n return undefined;\n return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);\n },\n configFileSelector: (profile) => {\n if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile))\n return undefined;\n return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);\n },\n default: [],\n};\n","import { normalizeProvider } from \"@smithy/core\";\nimport { ProviderError } from \"@smithy/core/config\";\nexport const resolveAwsSdkSigV4AConfig = (config) => {\n config.sigv4aSigningRegionSet = normalizeProvider(config.sigv4aSigningRegionSet);\n return config;\n};\nexport const NODE_SIGV4A_CONFIG_OPTIONS = {\n environmentVariableSelector(env) {\n if (env.AWS_SIGV4A_SIGNING_REGION_SET) {\n return env.AWS_SIGV4A_SIGNING_REGION_SET.split(\",\").map((_) => _.trim());\n }\n throw new ProviderError(\"AWS_SIGV4A_SIGNING_REGION_SET not set in env.\", {\n tryNextLink: true,\n });\n },\n configFileSelector(profile) {\n if (profile.sigv4a_signing_region_set) {\n return (profile.sigv4a_signing_region_set ?? \"\").split(\",\").map((_) => _.trim());\n }\n throw new ProviderError(\"sigv4a_signing_region_set not set in profile.\", {\n tryNextLink: true,\n });\n },\n default: undefined,\n};\n","const { hasOwn, fromUtf8, fromHex, toHex, toUint8Array, isArrayBuffer } = require(\"@smithy/core/serde\");\nconst { normalizeProvider } = require(\"@smithy/core/client\");\nconst { escapeUri, HttpRequest } = require(\"@smithy/core/protocols\");\n\nclass HeaderFormatter {\n format(headers) {\n const chunks = [];\n for (const headerName in headers) {\n if (!hasOwn(headers, headerName))\n continue;\n const bytes = fromUtf8(headerName);\n chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));\n }\n const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));\n let position = 0;\n for (const chunk of chunks) {\n out.set(chunk, position);\n position += chunk.byteLength;\n }\n return out;\n }\n formatHeaderValue(header) {\n switch (header.type) {\n case \"boolean\":\n return Uint8Array.from([header.value ? 0 : 1]);\n case \"byte\":\n return Uint8Array.from([2, header.value]);\n case \"short\":\n const shortView = new DataView(new ArrayBuffer(3));\n shortView.setUint8(0, 3);\n shortView.setInt16(1, header.value, false);\n return new Uint8Array(shortView.buffer);\n case \"integer\":\n const intView = new DataView(new ArrayBuffer(5));\n intView.setUint8(0, 4);\n intView.setInt32(1, header.value, false);\n return new Uint8Array(intView.buffer);\n case \"long\":\n const longBytes = new Uint8Array(9);\n longBytes[0] = 5;\n longBytes.set(header.value.bytes, 1);\n return longBytes;\n case \"binary\":\n const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));\n binView.setUint8(0, 6);\n binView.setUint16(1, header.value.byteLength, false);\n const binBytes = new Uint8Array(binView.buffer);\n binBytes.set(header.value, 3);\n return binBytes;\n case \"string\":\n const utf8Bytes = fromUtf8(header.value);\n const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));\n strView.setUint8(0, 7);\n strView.setUint16(1, utf8Bytes.byteLength, false);\n const strBytes = new Uint8Array(strView.buffer);\n strBytes.set(utf8Bytes, 3);\n return strBytes;\n case \"timestamp\":\n const tsBytes = new Uint8Array(9);\n tsBytes[0] = 8;\n tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);\n return tsBytes;\n case \"uuid\":\n if (!UUID_PATTERN.test(header.value)) {\n throw new Error(`Invalid UUID received: ${header.value}`);\n }\n const uuidBytes = new Uint8Array(17);\n uuidBytes[0] = 9;\n uuidBytes.set(fromHex(header.value.replace(/-/g, \"\")), 1);\n return uuidBytes;\n }\n }\n}\nvar HEADER_VALUE_TYPE;\n(function (HEADER_VALUE_TYPE) {\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"boolTrue\"] = 0] = \"boolTrue\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"boolFalse\"] = 1] = \"boolFalse\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"byte\"] = 2] = \"byte\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"short\"] = 3] = \"short\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"integer\"] = 4] = \"integer\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"long\"] = 5] = \"long\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"byteArray\"] = 6] = \"byteArray\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"string\"] = 7] = \"string\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"timestamp\"] = 8] = \"timestamp\";\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\"uuid\"] = 9] = \"uuid\";\n})(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {}));\nconst UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;\nclass Int64 {\n bytes;\n constructor(bytes) {\n this.bytes = bytes;\n if (bytes.byteLength !== 8) {\n throw new Error(\"Int64 buffers must be exactly 8 bytes\");\n }\n }\n static fromNumber(number) {\n if (number > 9_223_372_036_854_775_807 || number < -9223372036854776e3) {\n throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);\n }\n const bytes = new Uint8Array(8);\n for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) {\n bytes[i] = remaining;\n }\n if (number < 0) {\n negate(bytes);\n }\n return new Int64(bytes);\n }\n valueOf() {\n const bytes = this.bytes.slice(0);\n const negative = bytes[0] & 0b10000000;\n if (negative) {\n negate(bytes);\n }\n return parseInt(toHex(bytes), 16) * (negative ? -1 : 1);\n }\n toString() {\n return String(this.valueOf());\n }\n}\nfunction negate(bytes) {\n for (let i = 0; i < 8; i++) {\n bytes[i] ^= 0xff;\n }\n for (let i = 7; i > -1; i--) {\n bytes[i]++;\n if (bytes[i] !== 0)\n break;\n }\n}\n\nconst ALGORITHM_QUERY_PARAM = \"X-Amz-Algorithm\";\nconst CREDENTIAL_QUERY_PARAM = \"X-Amz-Credential\";\nconst AMZ_DATE_QUERY_PARAM = \"X-Amz-Date\";\nconst SIGNED_HEADERS_QUERY_PARAM = \"X-Amz-SignedHeaders\";\nconst EXPIRES_QUERY_PARAM = \"X-Amz-Expires\";\nconst SIGNATURE_QUERY_PARAM = \"X-Amz-Signature\";\nconst TOKEN_QUERY_PARAM = \"X-Amz-Security-Token\";\nconst REGION_SET_PARAM = \"X-Amz-Region-Set\";\nconst AUTH_HEADER = \"authorization\";\nconst AMZ_DATE_HEADER = AMZ_DATE_QUERY_PARAM.toLowerCase();\nconst DATE_HEADER = \"date\";\nconst GENERATED_HEADERS = [AUTH_HEADER, AMZ_DATE_HEADER, DATE_HEADER];\nconst SIGNATURE_HEADER = SIGNATURE_QUERY_PARAM.toLowerCase();\nconst SHA256_HEADER = \"x-amz-content-sha256\";\nconst TOKEN_HEADER = TOKEN_QUERY_PARAM.toLowerCase();\nconst HOST_HEADER = \"host\";\nconst ALWAYS_UNSIGNABLE_HEADERS = {\n authorization: true,\n \"cache-control\": true,\n connection: true,\n expect: true,\n from: true,\n \"keep-alive\": true,\n \"max-forwards\": true,\n pragma: true,\n referer: true,\n te: true,\n trailer: true,\n \"transfer-encoding\": true,\n upgrade: true,\n \"user-agent\": true,\n \"x-amzn-trace-id\": true,\n};\nconst PROXY_HEADER_PATTERN = /^proxy-/;\nconst SEC_HEADER_PATTERN = /^sec-/;\nconst UNSIGNABLE_PATTERNS = [/^proxy-/i, /^sec-/i];\nconst ALGORITHM_IDENTIFIER = \"AWS4-HMAC-SHA256\";\nconst ALGORITHM_IDENTIFIER_V4A = \"AWS4-ECDSA-P256-SHA256\";\nconst EVENT_ALGORITHM_IDENTIFIER = \"AWS4-HMAC-SHA256-PAYLOAD\";\nconst UNSIGNED_PAYLOAD = \"UNSIGNED-PAYLOAD\";\nconst MAX_CACHE_SIZE = 50;\nconst KEY_TYPE_IDENTIFIER = \"aws4_request\";\nconst MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;\n\nconst getCanonicalQuery = ({ query = {} }) => {\n const keys = [];\n const serialized = {};\n for (const key in query) {\n if (!hasOwn(query, key))\n continue;\n if (key.toLowerCase() === SIGNATURE_HEADER) {\n continue;\n }\n const encodedKey = escapeUri(key);\n keys.push(encodedKey);\n const value = query[key];\n if (typeof value === \"string\") {\n serialized[encodedKey] = `${encodedKey}=${escapeUri(value)}`;\n }\n else if (Array.isArray(value)) {\n serialized[encodedKey] = value\n .slice(0)\n .reduce((encoded, value) => encoded.concat([`${encodedKey}=${escapeUri(value)}`]), [])\n .sort()\n .join(\"&\");\n }\n }\n return keys\n .sort()\n .map((key) => serialized[key])\n .filter((serialized) => serialized)\n .join(\"&\");\n};\n\nconst iso8601 = (time) => toDate(time)\n .toISOString()\n .replace(/\\.\\d{3}Z$/, \"Z\");\nconst toDate = (time) => {\n if (typeof time === \"number\") {\n return new Date(time * 1000);\n }\n if (typeof time === \"string\") {\n if (Number(time)) {\n return new Date(Number(time) * 1000);\n }\n return new Date(time);\n }\n return time;\n};\n\nclass SignatureV4Base {\n service;\n regionProvider;\n credentialProvider;\n sha256;\n uriEscapePath;\n applyChecksum;\n constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) {\n this.service = service;\n this.sha256 = sha256;\n this.uriEscapePath = uriEscapePath;\n this.applyChecksum = typeof applyChecksum === \"boolean\" ? applyChecksum : true;\n this.regionProvider = normalizeProvider(region);\n this.credentialProvider = normalizeProvider(credentials);\n }\n createCanonicalRequest(request, canonicalHeaders, payloadHash) {\n const sortedHeaders = Object.keys(canonicalHeaders).sort();\n return `${request.method}\n${this.getCanonicalPath(request)}\n${getCanonicalQuery(request)}\n${sortedHeaders.map((name) => `${name}:${canonicalHeaders[name]}`).join(\"\\n\")}\n\n${sortedHeaders.join(\";\")}\n${payloadHash}`;\n }\n async createStringToSign(longDate, credentialScope, canonicalRequest, algorithmIdentifier) {\n const hash = new this.sha256();\n hash.update(toUint8Array(canonicalRequest));\n const hashedRequest = await hash.digest();\n return `${algorithmIdentifier}\n${longDate}\n${credentialScope}\n${toHex(hashedRequest)}`;\n }\n getCanonicalPath({ path }) {\n if (this.uriEscapePath) {\n const normalizedPathSegments = [];\n for (const pathSegment of path.split(\"/\")) {\n if (pathSegment?.length === 0)\n continue;\n if (pathSegment === \".\")\n continue;\n if (pathSegment === \"..\") {\n normalizedPathSegments.pop();\n }\n else {\n normalizedPathSegments.push(pathSegment);\n }\n }\n const normalizedPath = `${path?.startsWith(\"/\") ? \"/\" : \"\"}${normalizedPathSegments.join(\"/\")}${normalizedPathSegments.length > 0 && path?.endsWith(\"/\") ? \"/\" : \"\"}`;\n const doubleEncoded = escapeUri(normalizedPath);\n return doubleEncoded.replace(/%2F/g, \"/\");\n }\n return path;\n }\n validateResolvedCredentials(credentials) {\n if (typeof credentials !== \"object\" ||\n typeof credentials.accessKeyId !== \"string\" ||\n typeof credentials.secretAccessKey !== \"string\") {\n throw new Error(\"Resolved credential object is not valid\");\n }\n }\n formatDate(now) {\n const longDate = iso8601(now).replace(/[-:]/g, \"\");\n return {\n longDate,\n shortDate: longDate.slice(0, 8),\n };\n }\n getCanonicalHeaderList(headers) {\n return Object.keys(headers).sort().join(\";\");\n }\n}\n\nconst signingKeyCache = {};\nconst cacheQueue = [];\nconst createScope = (shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`;\nconst getSigningKey = async (sha256Constructor, credentials, shortDate, region, service) => {\n const credsHash = await hmac(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId);\n const cacheKey = `${shortDate}:${region}:${service}:${toHex(credsHash)}:${credentials.sessionToken}`;\n if (cacheKey in signingKeyCache) {\n return signingKeyCache[cacheKey];\n }\n cacheQueue.push(cacheKey);\n while (cacheQueue.length > MAX_CACHE_SIZE) {\n delete signingKeyCache[cacheQueue.shift()];\n }\n let key = `AWS4${credentials.secretAccessKey}`;\n for (const signable of [shortDate, region, service, KEY_TYPE_IDENTIFIER]) {\n key = await hmac(sha256Constructor, key, signable);\n }\n return (signingKeyCache[cacheKey] = key);\n};\nconst clearCredentialCache = () => {\n cacheQueue.length = 0;\n Object.keys(signingKeyCache).forEach((cacheKey) => {\n delete signingKeyCache[cacheKey];\n });\n};\nconst hmac = (ctor, secret, data) => {\n const hash = new ctor(secret);\n hash.update(toUint8Array(data));\n return hash.digest();\n};\n\nconst getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => {\n const canonical = {};\n for (const headerName of Object.keys(headers).sort()) {\n if (headers[headerName] == undefined) {\n continue;\n }\n const canonicalHeaderName = headerName.toLowerCase();\n if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS ||\n unsignableHeaders?.has(canonicalHeaderName) ||\n PROXY_HEADER_PATTERN.test(canonicalHeaderName) ||\n SEC_HEADER_PATTERN.test(canonicalHeaderName)) {\n if (!signableHeaders || (signableHeaders && !signableHeaders.has(canonicalHeaderName))) {\n continue;\n }\n }\n canonical[canonicalHeaderName] = headers[headerName]\n .replace(/[\\r\\n]/g, \" \")\n .replace(/[ \\t]+/g, \" \")\n .replace(/^ | $/g, \"\");\n }\n return canonical;\n};\n\nconst getPayloadHash = async ({ headers, body }, hashConstructor) => {\n for (const headerName in headers) {\n if (!hasOwn(headers, headerName))\n continue;\n if (headerName.toLowerCase() === SHA256_HEADER) {\n return headers[headerName];\n }\n }\n if (body == undefined) {\n return \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\";\n }\n else if (typeof body === \"string\" || ArrayBuffer.isView(body) || isArrayBuffer(body)) {\n const hashCtor = new hashConstructor();\n hashCtor.update(toUint8Array(body));\n return toHex(await hashCtor.digest());\n }\n return UNSIGNED_PAYLOAD;\n};\n\nconst hasHeader = (soughtHeader, headers) => {\n soughtHeader = soughtHeader.toLowerCase();\n for (const headerName in headers) {\n if (!hasOwn(headers, headerName))\n continue;\n if (soughtHeader === headerName.toLowerCase()) {\n return true;\n }\n }\n return false;\n};\n\nconst moveHeadersToQuery = (request, options = {}) => {\n const { headers, query = {} } = HttpRequest.clone(request);\n for (const name in headers) {\n if (!hasOwn(headers, name))\n continue;\n const lname = name.toLowerCase();\n if ((lname.slice(0, 6) === \"x-amz-\" && !options.unhoistableHeaders?.has(lname)) ||\n options.hoistableHeaders?.has(lname)) {\n query[name] = headers[name];\n delete headers[name];\n }\n }\n return {\n ...request,\n headers,\n query,\n };\n};\n\nconst prepareRequest = (request) => {\n request = HttpRequest.clone(request);\n for (const headerName in request.headers) {\n if (!hasOwn(request.headers, headerName))\n continue;\n if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {\n delete request.headers[headerName];\n }\n }\n return request;\n};\n\nclass SignatureV4 extends SignatureV4Base {\n headerFormatter = new HeaderFormatter();\n constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) {\n super({\n applyChecksum,\n credentials,\n region,\n service,\n sha256,\n uriEscapePath,\n });\n }\n async presign(originalRequest, options = {}) {\n const { signingDate = new Date(), expiresIn = 3600, unsignableHeaders, unhoistableHeaders, signableHeaders, hoistableHeaders, signingRegion, signingService, } = options;\n const credentials = await this.credentialProvider();\n this.validateResolvedCredentials(credentials);\n const region = signingRegion ?? (await this.regionProvider());\n const { longDate, shortDate } = this.formatDate(signingDate);\n if (expiresIn > MAX_PRESIGNED_TTL) {\n return Promise.reject(\"Signature version 4 presigned URLs\" + \" must have an expiration date less than one week in\" + \" the future\");\n }\n const scope = createScope(shortDate, region, signingService ?? this.service);\n const request = moveHeadersToQuery(prepareRequest(originalRequest), { unhoistableHeaders, hoistableHeaders });\n if (credentials.sessionToken) {\n request.query[TOKEN_QUERY_PARAM] = credentials.sessionToken;\n }\n request.query[ALGORITHM_QUERY_PARAM] = ALGORITHM_IDENTIFIER;\n request.query[CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`;\n request.query[AMZ_DATE_QUERY_PARAM] = longDate;\n request.query[EXPIRES_QUERY_PARAM] = expiresIn.toString(10);\n const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders);\n request.query[SIGNED_HEADERS_QUERY_PARAM] = this.getCanonicalHeaderList(canonicalHeaders);\n request.query[SIGNATURE_QUERY_PARAM] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, await getPayloadHash(originalRequest, this.sha256)));\n return request;\n }\n async sign(toSign, options) {\n if (typeof toSign === \"string\") {\n return this.signString(toSign, options);\n }\n else if (toSign.headers && toSign.payload) {\n return this.signEvent(toSign, options);\n }\n else if (toSign.message) {\n return this.signMessage(toSign, options);\n }\n else {\n return this.signRequest(toSign, options);\n }\n }\n async signEvent({ headers, payload }, { signingDate = new Date(), priorSignature, signingRegion, signingService, eventStreamCredentials, }) {\n const region = signingRegion ?? (await this.regionProvider());\n const { shortDate, longDate } = this.formatDate(signingDate);\n const scope = createScope(shortDate, region, signingService ?? this.service);\n const hashedPayload = await getPayloadHash({ headers: {}, body: payload }, this.sha256);\n const hash = new this.sha256();\n hash.update(headers);\n const hashedHeaders = toHex(await hash.digest());\n const stringToSign = [\n EVENT_ALGORITHM_IDENTIFIER,\n longDate,\n scope,\n priorSignature,\n hashedHeaders,\n hashedPayload,\n ].join(\"\\n\");\n return this.signString(stringToSign, {\n signingDate,\n signingRegion: region,\n signingService,\n eventStreamCredentials,\n });\n }\n async signMessage(signableMessage, { signingDate = new Date(), signingRegion, signingService, eventStreamCredentials }) {\n const promise = this.signEvent({\n headers: this.headerFormatter.format(signableMessage.message.headers),\n payload: signableMessage.message.body,\n }, {\n signingDate,\n signingRegion,\n signingService,\n priorSignature: signableMessage.priorSignature,\n eventStreamCredentials,\n });\n return promise.then((signature) => {\n return { message: signableMessage.message, signature };\n });\n }\n async signString(stringToSign, { signingDate = new Date(), signingRegion, signingService, eventStreamCredentials, } = {}) {\n const credentials = eventStreamCredentials ?? (await this.credentialProvider());\n this.validateResolvedCredentials(credentials);\n const region = signingRegion ?? (await this.regionProvider());\n const { shortDate } = this.formatDate(signingDate);\n const hash = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService));\n hash.update(toUint8Array(stringToSign));\n return toHex(await hash.digest());\n }\n async signRequest(requestToSign, { signingDate = new Date(), signableHeaders, unsignableHeaders, signingRegion, signingService, } = {}) {\n const credentials = await this.credentialProvider();\n this.validateResolvedCredentials(credentials);\n const region = signingRegion ?? (await this.regionProvider());\n const request = prepareRequest(requestToSign);\n const { longDate, shortDate } = this.formatDate(signingDate);\n const scope = createScope(shortDate, region, signingService ?? this.service);\n request.headers[AMZ_DATE_HEADER] = longDate;\n if (credentials.sessionToken) {\n request.headers[TOKEN_HEADER] = credentials.sessionToken;\n }\n const payloadHash = await getPayloadHash(request, this.sha256);\n if (!hasHeader(SHA256_HEADER, request.headers) && this.applyChecksum) {\n request.headers[SHA256_HEADER] = payloadHash;\n }\n const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders);\n const signature = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, payloadHash));\n request.headers[AUTH_HEADER] =\n `${ALGORITHM_IDENTIFIER} ` +\n `Credential=${credentials.accessKeyId}/${scope}, ` +\n `SignedHeaders=${this.getCanonicalHeaderList(canonicalHeaders)}, ` +\n `Signature=${signature}`;\n return request;\n }\n async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) {\n const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest, ALGORITHM_IDENTIFIER);\n const hash = new this.sha256(await keyPromise);\n hash.update(toUint8Array(stringToSign));\n return toHex(await hash.digest());\n }\n getSigningKey(credentials, region, shortDate, service) {\n return getSigningKey(this.sha256, credentials, shortDate, region, service || this.service);\n }\n}\n\nconst signatureV4aContainer = {\n SignatureV4a: null,\n};\n\nexports.ALGORITHM_IDENTIFIER = ALGORITHM_IDENTIFIER;\nexports.ALGORITHM_IDENTIFIER_V4A = ALGORITHM_IDENTIFIER_V4A;\nexports.ALGORITHM_QUERY_PARAM = ALGORITHM_QUERY_PARAM;\nexports.ALWAYS_UNSIGNABLE_HEADERS = ALWAYS_UNSIGNABLE_HEADERS;\nexports.AMZ_DATE_HEADER = AMZ_DATE_HEADER;\nexports.AMZ_DATE_QUERY_PARAM = AMZ_DATE_QUERY_PARAM;\nexports.AUTH_HEADER = AUTH_HEADER;\nexports.CREDENTIAL_QUERY_PARAM = CREDENTIAL_QUERY_PARAM;\nexports.DATE_HEADER = DATE_HEADER;\nexports.EVENT_ALGORITHM_IDENTIFIER = EVENT_ALGORITHM_IDENTIFIER;\nexports.EXPIRES_QUERY_PARAM = EXPIRES_QUERY_PARAM;\nexports.GENERATED_HEADERS = GENERATED_HEADERS;\nexports.HOST_HEADER = HOST_HEADER;\nexports.KEY_TYPE_IDENTIFIER = KEY_TYPE_IDENTIFIER;\nexports.MAX_CACHE_SIZE = MAX_CACHE_SIZE;\nexports.MAX_PRESIGNED_TTL = MAX_PRESIGNED_TTL;\nexports.PROXY_HEADER_PATTERN = PROXY_HEADER_PATTERN;\nexports.REGION_SET_PARAM = REGION_SET_PARAM;\nexports.SEC_HEADER_PATTERN = SEC_HEADER_PATTERN;\nexports.SHA256_HEADER = SHA256_HEADER;\nexports.SIGNATURE_HEADER = SIGNATURE_HEADER;\nexports.SIGNATURE_QUERY_PARAM = SIGNATURE_QUERY_PARAM;\nexports.SIGNED_HEADERS_QUERY_PARAM = SIGNED_HEADERS_QUERY_PARAM;\nexports.SignatureV4 = SignatureV4;\nexports.SignatureV4Base = SignatureV4Base;\nexports.TOKEN_HEADER = TOKEN_HEADER;\nexports.TOKEN_QUERY_PARAM = TOKEN_QUERY_PARAM;\nexports.UNSIGNABLE_PATTERNS = UNSIGNABLE_PATTERNS;\nexports.UNSIGNED_PAYLOAD = UNSIGNED_PAYLOAD;\nexports.clearCredentialCache = clearCredentialCache;\nexports.createScope = createScope;\nexports.getCanonicalHeaders = getCanonicalHeaders;\nexports.getCanonicalQuery = getCanonicalQuery;\nexports.getPayloadHash = getPayloadHash;\nexports.getSigningKey = getSigningKey;\nexports.hasHeader = hasHeader;\nexports.moveHeadersToQuery = moveHeadersToQuery;\nexports.prepareRequest = prepareRequest;\nexports.signatureV4aContainer = signatureV4aContainer;\n","import { setCredentialFeature } from \"@aws-sdk/core/client\";\nimport { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, normalizeProvider, } from \"@smithy/core\";\nimport { SignatureV4 } from \"@smithy/signature-v4\";\nexport const bindResolveAwsSdkSigV4Config = (defaultDisableClockSkewCorrection) => (config) => {\n let inputCredentials = config.credentials;\n let isUserSupplied = !!config.credentials;\n let resolvedCredentials = undefined;\n Object.defineProperty(config, \"credentials\", {\n set(credentials) {\n if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {\n isUserSupplied = true;\n }\n inputCredentials = credentials;\n const memoizedProvider = normalizeCredentialProvider(config, {\n credentials: inputCredentials,\n credentialDefaultProvider: config.credentialDefaultProvider,\n });\n const boundProvider = bindCallerConfig(config, memoizedProvider);\n if (isUserSupplied && !boundProvider.attributed) {\n const isCredentialObject = typeof inputCredentials === \"object\" && inputCredentials !== null;\n resolvedCredentials = async (options) => {\n const creds = await boundProvider(options);\n const attributedCreds = creds;\n if (isCredentialObject && (!attributedCreds.$source || Object.keys(attributedCreds.$source).length === 0)) {\n return setCredentialFeature(attributedCreds, \"CREDENTIALS_CODE\", \"e\");\n }\n return attributedCreds;\n };\n resolvedCredentials.memoized = boundProvider.memoized;\n resolvedCredentials.configBound = boundProvider.configBound;\n resolvedCredentials.attributed = true;\n }\n else {\n resolvedCredentials = boundProvider;\n }\n },\n get() {\n return resolvedCredentials;\n },\n enumerable: true,\n configurable: true,\n });\n config.credentials = inputCredentials;\n const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config;\n let signer;\n if (config.signer) {\n signer = normalizeProvider(config.signer);\n }\n else if (config.regionInfoProvider) {\n signer = () => normalizeProvider(config.region)()\n .then(async (region) => [\n (await config.regionInfoProvider(region, {\n useFipsEndpoint: await config.useFipsEndpoint(),\n useDualstackEndpoint: await config.useDualstackEndpoint(),\n })) || {},\n region,\n ])\n .then(([regionInfo, region]) => {\n const { signingRegion, signingService } = regionInfo;\n config.signingRegion = config.signingRegion || signingRegion || region;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath,\n };\n const SignerCtor = config.signerConstructor || SignatureV4;\n return new SignerCtor(params);\n });\n }\n else {\n signer = async (authScheme) => {\n authScheme = Object.assign({}, {\n name: \"sigv4\",\n signingName: config.signingName || config.defaultSigningName,\n signingRegion: await normalizeProvider(config.region)(),\n properties: {},\n }, authScheme);\n const signingRegion = authScheme.signingRegion;\n const signingService = authScheme.signingName;\n config.signingRegion = config.signingRegion || signingRegion;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath,\n };\n const SignerCtor = config.signerConstructor || SignatureV4;\n return new SignerCtor(params);\n };\n }\n const resolvedConfig = Object.assign(config, {\n systemClockOffset,\n signingEscapePath,\n signer,\n disableClockSkewCorrection: normalizeProvider(config.disableClockSkewCorrection ?? defaultDisableClockSkewCorrection),\n });\n return resolvedConfig;\n};\nfunction normalizeCredentialProvider(config, { credentials, credentialDefaultProvider }) {\n let credentialsProvider;\n if (credentials) {\n if (!credentials?.memoized) {\n credentialsProvider = memoizeIdentityProvider(credentials, isIdentityExpired, doesIdentityRequireRefresh);\n }\n else {\n credentialsProvider = credentials;\n }\n }\n else {\n if (credentialDefaultProvider) {\n credentialsProvider = normalizeProvider(credentialDefaultProvider(Object.assign({}, config, {\n parentClientConfig: config,\n })));\n }\n else {\n credentialsProvider = async () => {\n throw new Error(\"@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.\");\n };\n }\n }\n credentialsProvider.memoized = true;\n return credentialsProvider;\n}\nfunction bindCallerConfig(config, credentialsProvider) {\n if (credentialsProvider.configBound) {\n return credentialsProvider;\n }\n const fn = async (options) => credentialsProvider({ ...options, callerClientConfig: config });\n fn.memoized = credentialsProvider.memoized;\n fn.configBound = true;\n return fn;\n}\n","export { AwsSdkSigV4Signer, AWSSDKSigV4Signer, validateSigningProperties } from \"./AwsSdkSigV4Signer\";\nexport { AwsSdkSigV4ASigner } from \"./AwsSdkSigV4ASigner\";\nexport { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from \"./NODE_AUTH_SCHEME_PREFERENCE_OPTIONS\";\nexport { resolveAwsSdkSigV4AConfig, NODE_SIGV4A_CONFIG_OPTIONS } from \"./resolveAwsSdkSigV4AConfig\";\nexport { bindResolveAwsSdkSigV4Config } from \"./resolveAwsSdkSigV4Config\";\n","import { booleanSelector, SelectorType } from \"@smithy/core/config\";\nexport const ENV_DISABLE_CLOCK_SKEW_CORRECTION = \"AWS_DISABLE_CLOCK_SKEW_CORRECTION\";\nexport const CONFIG_DISABLE_CLOCK_SKEW_CORRECTION = \"disable_clock_skew_correction\";\nexport const NODE_DISABLE_CLOCK_SKEW_CORRECTION_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => booleanSelector(env, ENV_DISABLE_CLOCK_SKEW_CORRECTION, SelectorType.ENV),\n configFileSelector: (profile) => booleanSelector(profile, CONFIG_DISABLE_CLOCK_SKEW_CORRECTION, SelectorType.CONFIG),\n default: false,\n};\n","import { loadConfig } from \"@smithy/core/config\";\nimport { NODE_DISABLE_CLOCK_SKEW_CORRECTION_CONFIG_OPTIONS } from \"./clock-skew-node-config\";\nexport const DEFAULT_DISABLE_CLOCK_SKEW_CORRECTION = loadConfig(NODE_DISABLE_CLOCK_SKEW_CORRECTION_CONFIG_OPTIONS);\n","export { AwsSdkSigV4Signer, AWSSDKSigV4Signer, validateSigningProperties, AwsSdkSigV4ASigner, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, resolveAwsSdkSigV4AConfig, NODE_SIGV4A_CONFIG_OPTIONS, } from \"./aws_sdk\";\nexport { getBearerTokenEnvKey } from \"./utils/getBearerTokenEnvKey\";\nimport { bindResolveAwsSdkSigV4Config } from \"./aws_sdk\";\nimport { DEFAULT_DISABLE_CLOCK_SKEW_CORRECTION } from \"./aws_sdk/clock-skew-defaults\";\nexport const resolveAwsSdkSigV4Config = bindResolveAwsSdkSigV4Config(DEFAULT_DISABLE_CLOCK_SKEW_CORRECTION);\nexport const resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;\n","const { setCredentialFeature } = require(\"@aws-sdk/core/client\");\nconst { CredentialsProviderError } = require(\"@smithy/core/config\");\n\nconst ENV_KEY = \"AWS_ACCESS_KEY_ID\";\nconst ENV_SECRET = \"AWS_SECRET_ACCESS_KEY\";\nconst ENV_SESSION = \"AWS_SESSION_TOKEN\";\nconst ENV_EXPIRATION = \"AWS_CREDENTIAL_EXPIRATION\";\nconst ENV_CREDENTIAL_SCOPE = \"AWS_CREDENTIAL_SCOPE\";\nconst ENV_ACCOUNT_ID = \"AWS_ACCOUNT_ID\";\nconst fromEnv = (init) => async () => {\n init?.logger?.debug(\"@aws-sdk/credential-provider-env - fromEnv\");\n const accessKeyId = process.env[ENV_KEY];\n const secretAccessKey = process.env[ENV_SECRET];\n const sessionToken = process.env[ENV_SESSION];\n const expiry = process.env[ENV_EXPIRATION];\n const credentialScope = process.env[ENV_CREDENTIAL_SCOPE];\n const accountId = process.env[ENV_ACCOUNT_ID];\n if (accessKeyId && secretAccessKey) {\n const credentials = {\n accessKeyId,\n secretAccessKey,\n ...(sessionToken && { sessionToken }),\n ...(expiry && { expiration: new Date(expiry) }),\n ...(credentialScope && { credentialScope }),\n ...(accountId && { accountId }),\n };\n setCredentialFeature(credentials, \"CREDENTIALS_ENV_VARS\", \"g\");\n return credentials;\n }\n throw new CredentialsProviderError(\"Unable to find environment variable credentials.\", { logger: init?.logger });\n};\n\nexports.ENV_ACCOUNT_ID = ENV_ACCOUNT_ID;\nexports.ENV_CREDENTIAL_SCOPE = ENV_CREDENTIAL_SCOPE;\nexports.ENV_EXPIRATION = ENV_EXPIRATION;\nexports.ENV_KEY = ENV_KEY;\nexports.ENV_SECRET = ENV_SECRET;\nexports.ENV_SESSION = ENV_SESSION;\nexports.fromEnv = fromEnv;\n","const { ProviderError, CredentialsProviderError, loadConfig } = require(\"@smithy/core/config\");\nconst node_http = require(\"node:http\");\nconst { parseUrl } = require(\"@smithy/core/protocols\");\n\nconst isImdsCredentials = (arg) => Boolean(arg) &&\n typeof arg === \"object\" &&\n typeof arg.AccessKeyId === \"string\" &&\n typeof arg.SecretAccessKey === \"string\" &&\n typeof arg.Token === \"string\" &&\n typeof arg.Expiration === \"string\";\nconst fromImdsCredentials = (creds) => ({\n accessKeyId: creds.AccessKeyId,\n secretAccessKey: creds.SecretAccessKey,\n sessionToken: creds.Token,\n expiration: new Date(creds.Expiration),\n ...(creds.AccountId && { accountId: creds.AccountId }),\n});\n\nconst DEFAULT_TIMEOUT = 1000;\nconst DEFAULT_MAX_RETRIES = 0;\nconst providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT, }) => ({ maxRetries, timeout });\n\nfunction httpRequest(options) {\n return new Promise((resolve, reject) => {\n const req = node_http.request({\n method: \"GET\",\n ...options,\n hostname: options.hostname?.replace(/^\\[(.+)\\]$/, \"$1\"),\n });\n req.on(\"error\", (err) => {\n reject(Object.assign(new ProviderError(\"Unable to connect to instance metadata service\"), err));\n req.destroy();\n });\n req.on(\"timeout\", () => {\n reject(new ProviderError(\"TimeoutError from instance metadata service\"));\n req.destroy();\n });\n req.on(\"response\", (res) => {\n const { statusCode = 400 } = res;\n if (statusCode < 200 || 300 <= statusCode) {\n reject(Object.assign(new ProviderError(\"Error response received from instance metadata service\"), { statusCode }));\n req.destroy();\n }\n const chunks = [];\n res.on(\"data\", (chunk) => {\n chunks.push(chunk);\n });\n res.on(\"end\", () => {\n resolve(Buffer.concat(chunks));\n req.destroy();\n });\n });\n req.end();\n });\n}\n\nconst retry = (toRetry, maxRetries) => {\n let promise = toRetry();\n for (let i = 0; i < maxRetries; i++) {\n promise = promise.catch(toRetry);\n }\n return promise;\n};\n\nconst ENV_CMDS_FULL_URI = \"AWS_CONTAINER_CREDENTIALS_FULL_URI\";\nconst ENV_CMDS_RELATIVE_URI = \"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\";\nconst ENV_CMDS_AUTH_TOKEN = \"AWS_CONTAINER_AUTHORIZATION_TOKEN\";\nconst fromContainerMetadata = (init = {}) => {\n const { timeout, maxRetries } = providerConfigFromInit(init);\n return () => retry(async () => {\n const requestOptions = await getCmdsUri({ logger: init.logger });\n const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions));\n if (!isImdsCredentials(credsResponse)) {\n throw new CredentialsProviderError(\"Invalid response received from instance metadata service.\", {\n logger: init.logger,\n });\n }\n return fromImdsCredentials(credsResponse);\n }, maxRetries);\n};\nconst requestFromEcsImds = async (timeout, options) => {\n if (process.env[ENV_CMDS_AUTH_TOKEN]) {\n options.headers = {\n ...options.headers,\n Authorization: process.env[ENV_CMDS_AUTH_TOKEN],\n };\n }\n const buffer = await httpRequest({\n ...options,\n timeout,\n });\n return buffer.toString();\n};\nconst CMDS_IP = \"169.254.170.2\";\nconst GREENGRASS_HOSTS = new Set([\"localhost\", \"127.0.0.1\"]);\nconst GREENGRASS_PROTOCOLS = new Set([\"http:\", \"https:\"]);\nconst getCmdsUri = async ({ logger }) => {\n if (process.env[ENV_CMDS_RELATIVE_URI]) {\n return {\n hostname: CMDS_IP,\n path: process.env[ENV_CMDS_RELATIVE_URI],\n };\n }\n if (process.env[ENV_CMDS_FULL_URI]) {\n let parsed;\n try {\n parsed = new URL(process.env[ENV_CMDS_FULL_URI]);\n }\n catch {\n throw new CredentialsProviderError(`${process.env[ENV_CMDS_FULL_URI]} is not a valid container metadata service URL`, { tryNextLink: false, logger });\n }\n if (!parsed.hostname || !GREENGRASS_HOSTS.has(parsed.hostname)) {\n throw new CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, {\n tryNextLink: false,\n logger,\n });\n }\n if (!parsed.protocol || !GREENGRASS_PROTOCOLS.has(parsed.protocol)) {\n throw new CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, {\n tryNextLink: false,\n logger,\n });\n }\n return {\n protocol: parsed.protocol,\n hostname: parsed.hostname,\n path: parsed.pathname + parsed.search,\n port: parsed.port ? parseInt(parsed.port, 10) : undefined,\n };\n }\n throw new CredentialsProviderError(\"The container metadata credential provider cannot be used unless\" +\n ` the ${ENV_CMDS_RELATIVE_URI} or ${ENV_CMDS_FULL_URI} environment` +\n \" variable is set\", {\n tryNextLink: false,\n logger,\n });\n};\n\nclass InstanceMetadataV1FallbackError extends CredentialsProviderError {\n tryNextLink;\n name = \"InstanceMetadataV1FallbackError\";\n constructor(message, tryNextLink = true) {\n super(message, tryNextLink);\n this.tryNextLink = tryNextLink;\n Object.setPrototypeOf(this, InstanceMetadataV1FallbackError.prototype);\n }\n}\n\nvar Endpoint;\n(function (Endpoint) {\n Endpoint[\"IPv4\"] = \"http://169.254.169.254\";\n Endpoint[\"IPv6\"] = \"http://[fd00:ec2::254]\";\n})(Endpoint || (Endpoint = {}));\n\nconst ENV_ENDPOINT_NAME = \"AWS_EC2_METADATA_SERVICE_ENDPOINT\";\nconst CONFIG_ENDPOINT_NAME = \"ec2_metadata_service_endpoint\";\nconst ENDPOINT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[ENV_ENDPOINT_NAME],\n configFileSelector: (profile) => profile[CONFIG_ENDPOINT_NAME],\n default: undefined,\n};\n\nvar EndpointMode;\n(function (EndpointMode) {\n EndpointMode[\"IPv4\"] = \"IPv4\";\n EndpointMode[\"IPv6\"] = \"IPv6\";\n})(EndpointMode || (EndpointMode = {}));\n\nconst ENV_ENDPOINT_MODE_NAME = \"AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE\";\nconst CONFIG_ENDPOINT_MODE_NAME = \"ec2_metadata_service_endpoint_mode\";\nconst ENDPOINT_MODE_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[ENV_ENDPOINT_MODE_NAME],\n configFileSelector: (profile) => profile[CONFIG_ENDPOINT_MODE_NAME],\n default: EndpointMode.IPv4,\n};\n\nconst getInstanceMetadataEndpoint = async () => parseUrl((await getFromEndpointConfig()) || (await getFromEndpointModeConfig()));\nconst getFromEndpointConfig = async () => loadConfig(ENDPOINT_CONFIG_OPTIONS)();\nconst getFromEndpointModeConfig = async () => {\n const endpointMode = await loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)();\n switch (endpointMode) {\n case EndpointMode.IPv4:\n return Endpoint.IPv4;\n case EndpointMode.IPv6:\n return Endpoint.IPv6;\n default:\n throw new Error(`Unsupported endpoint mode: ${endpointMode}.` + ` Select from ${Object.values(EndpointMode)}`);\n }\n};\n\nconst STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60;\nconst STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60;\nconst STATIC_STABILITY_DOC_URL = \"https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html\";\nconst getExtendedInstanceMetadataCredentials = (credentials, logger) => {\n const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS +\n Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS);\n const newExpiration = new Date(Date.now() + refreshInterval * 1000);\n logger.warn(\"Attempting credential expiration extension due to a credential service availability issue. A refresh of these \" +\n `credentials will be attempted after ${new Date(newExpiration)}.\\nFor more information, please visit: ` +\n STATIC_STABILITY_DOC_URL);\n const originalExpiration = credentials.originalExpiration ?? credentials.expiration;\n return {\n ...credentials,\n ...(originalExpiration ? { originalExpiration } : {}),\n expiration: newExpiration,\n };\n};\n\nconst staticStabilityProvider = (provider, options = {}) => {\n const logger = options?.logger || console;\n let pastCredentials;\n return async () => {\n let credentials;\n try {\n credentials = await provider();\n if (credentials.expiration && credentials.expiration.getTime() < Date.now()) {\n credentials = getExtendedInstanceMetadataCredentials(credentials, logger);\n }\n }\n catch (e) {\n if (pastCredentials) {\n logger.warn(\"Credential renew failed: \", e);\n credentials = getExtendedInstanceMetadataCredentials(pastCredentials, logger);\n }\n else {\n throw e;\n }\n }\n pastCredentials = credentials;\n return credentials;\n };\n};\n\nconst IMDS_PATH = \"/latest/meta-data/iam/security-credentials/\";\nconst IMDS_TOKEN_PATH = \"/latest/api/token\";\nconst AWS_EC2_METADATA_V1_DISABLED = \"AWS_EC2_METADATA_V1_DISABLED\";\nconst PROFILE_AWS_EC2_METADATA_V1_DISABLED = \"ec2_metadata_v1_disabled\";\nconst X_AWS_EC2_METADATA_TOKEN = \"x-aws-ec2-metadata-token\";\nconst fromInstanceMetadata = (init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger });\nconst getInstanceMetadataProvider = (init = {}) => {\n let disableFetchToken = false;\n const { logger, profile } = init;\n const { timeout, maxRetries } = providerConfigFromInit(init);\n const getCredentials = async (maxRetries, options) => {\n const isImdsV1Fallback = disableFetchToken || options.headers?.[X_AWS_EC2_METADATA_TOKEN] == null;\n if (isImdsV1Fallback) {\n let fallbackBlockedFromProfile = false;\n let fallbackBlockedFromProcessEnv = false;\n const configValue = await loadConfig({\n environmentVariableSelector: (env) => {\n const envValue = env[AWS_EC2_METADATA_V1_DISABLED];\n fallbackBlockedFromProcessEnv = !!envValue && envValue !== \"false\";\n if (envValue === undefined) {\n throw new CredentialsProviderError(`${AWS_EC2_METADATA_V1_DISABLED} not set in env, checking config file next.`, { logger: init.logger });\n }\n return fallbackBlockedFromProcessEnv;\n },\n configFileSelector: (profile) => {\n const profileValue = profile[PROFILE_AWS_EC2_METADATA_V1_DISABLED];\n fallbackBlockedFromProfile = !!profileValue && profileValue !== \"false\";\n return fallbackBlockedFromProfile;\n },\n default: false,\n }, {\n profile,\n })();\n if (init.ec2MetadataV1Disabled || configValue) {\n const causes = [];\n if (init.ec2MetadataV1Disabled)\n causes.push(\"credential provider initialization (runtime option ec2MetadataV1Disabled)\");\n if (fallbackBlockedFromProfile)\n causes.push(`config file profile (${PROFILE_AWS_EC2_METADATA_V1_DISABLED})`);\n if (fallbackBlockedFromProcessEnv)\n causes.push(`process environment variable (${AWS_EC2_METADATA_V1_DISABLED})`);\n throw new InstanceMetadataV1FallbackError(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${causes.join(\", \")}].`);\n }\n }\n const imdsProfile = (await retry(async () => {\n let profile;\n try {\n profile = await getProfile(options);\n }\n catch (err) {\n if (err.statusCode === 401) {\n disableFetchToken = false;\n }\n throw err;\n }\n return profile;\n }, maxRetries)).trim();\n return retry(async () => {\n let creds;\n try {\n creds = await getCredentialsFromProfile(imdsProfile, options, init);\n }\n catch (err) {\n if (err.statusCode === 401) {\n disableFetchToken = false;\n }\n throw err;\n }\n return creds;\n }, maxRetries);\n };\n return async () => {\n const endpoint = await getInstanceMetadataEndpoint();\n if (disableFetchToken) {\n logger?.debug(\"AWS SDK Instance Metadata\", \"using v1 fallback (no token fetch)\");\n return getCredentials(maxRetries, { ...endpoint, timeout });\n }\n else {\n let token;\n try {\n token = (await getMetadataToken({ ...endpoint, timeout })).toString();\n }\n catch (error) {\n if (error?.statusCode === 400) {\n throw Object.assign(error, {\n message: \"EC2 Metadata token request returned error\",\n });\n }\n else if (error.message === \"TimeoutError\" || [403, 404, 405].includes(error.statusCode)) {\n disableFetchToken = true;\n }\n logger?.debug(\"AWS SDK Instance Metadata\", \"using v1 fallback (initial)\");\n return getCredentials(maxRetries, { ...endpoint, timeout });\n }\n return getCredentials(maxRetries, {\n ...endpoint,\n headers: {\n [X_AWS_EC2_METADATA_TOKEN]: token,\n },\n timeout,\n });\n }\n };\n};\nconst getMetadataToken = async (options) => httpRequest({\n ...options,\n path: IMDS_TOKEN_PATH,\n method: \"PUT\",\n headers: {\n \"x-aws-ec2-metadata-token-ttl-seconds\": \"21600\",\n },\n});\nconst getProfile = async (options) => (await httpRequest({ ...options, path: IMDS_PATH })).toString();\nconst getCredentialsFromProfile = async (profile, options, init) => {\n const credentialsResponse = JSON.parse((await httpRequest({\n ...options,\n path: IMDS_PATH + profile,\n })).toString());\n if (!isImdsCredentials(credentialsResponse)) {\n throw new CredentialsProviderError(\"Invalid response received from instance metadata service.\", {\n logger: init.logger,\n });\n }\n return fromImdsCredentials(credentialsResponse);\n};\n\nexports.DEFAULT_MAX_RETRIES = DEFAULT_MAX_RETRIES;\nexports.DEFAULT_TIMEOUT = DEFAULT_TIMEOUT;\nexports.ENV_CMDS_AUTH_TOKEN = ENV_CMDS_AUTH_TOKEN;\nexports.ENV_CMDS_FULL_URI = ENV_CMDS_FULL_URI;\nexports.ENV_CMDS_RELATIVE_URI = ENV_CMDS_RELATIVE_URI;\nexports.Endpoint = Endpoint;\nexports.fromContainerMetadata = fromContainerMetadata;\nexports.fromInstanceMetadata = fromInstanceMetadata;\nexports.getInstanceMetadataEndpoint = getInstanceMetadataEndpoint;\nexports.httpRequest = httpRequest;\nexports.providerConfigFromInit = providerConfigFromInit;\n","const { hasOwn } = require(\"@smithy/core/serde\");\nconst { streamCollector } = require(\"@smithy/core/serde\");\nexports.streamCollector = streamCollector;\nconst { buildQueryString, HttpResponse } = require(\"@smithy/core/protocols\");\nconst node_https = require(\"node:https\");\nconst { Readable } = require(\"node:stream\");\nconst http2 = require(\"node:http2\");\n\nfunction buildAbortError(abortSignal) {\n const reason = abortSignal && typeof abortSignal === \"object\" && \"reason\" in abortSignal\n ? abortSignal.reason\n : undefined;\n if (reason) {\n if (reason instanceof Error) {\n const abortError = new Error(\"Request aborted\");\n abortError.name = \"AbortError\";\n abortError.cause = reason;\n return abortError;\n }\n const abortError = new Error(String(reason));\n abortError.name = \"AbortError\";\n return abortError;\n }\n const abortError = new Error(\"Request aborted\");\n abortError.name = \"AbortError\";\n return abortError;\n}\n\nconst NODEJS_TIMEOUT_ERROR_CODES = [\"ECONNRESET\", \"EPIPE\", \"ETIMEDOUT\"];\n\nconst getTransformedHeaders = (headers) => {\n const transformedHeaders = {};\n for (const name in headers) {\n if (!hasOwn(headers, name))\n continue;\n const headerValues = headers[name];\n transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(\",\") : headerValues;\n }\n return transformedHeaders;\n};\n\nconst timing = {\n setTimeout: (cb, ms) => setTimeout(cb, ms),\n clearTimeout: (timeoutId) => clearTimeout(timeoutId),\n};\n\nconst DEFER_EVENT_LISTENER_TIME$2 = 1000;\nconst setConnectionTimeout = (request, reject, timeoutInMs = 0) => {\n if (!timeoutInMs) {\n return -1;\n }\n const registerTimeout = (offset) => {\n const timeoutId = timing.setTimeout(() => {\n request.destroy();\n reject(Object.assign(new Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${timeoutInMs} ms.`), {\n name: \"TimeoutError\",\n }));\n }, timeoutInMs - offset);\n const doWithSocket = (socket) => {\n if (socket?.connecting) {\n socket.on(\"connect\", () => {\n timing.clearTimeout(timeoutId);\n });\n }\n else {\n timing.clearTimeout(timeoutId);\n }\n };\n if (request.socket) {\n doWithSocket(request.socket);\n }\n else {\n request.on(\"socket\", doWithSocket);\n }\n };\n if (timeoutInMs < 2000) {\n registerTimeout(0);\n return 0;\n }\n return timing.setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME$2), DEFER_EVENT_LISTENER_TIME$2);\n};\n\nconst setRequestTimeout = (req, reject, timeoutInMs = 0, throwOnRequestTimeout, logger) => {\n if (timeoutInMs) {\n return timing.setTimeout(() => {\n let msg = `@smithy/node-http-handler - [${throwOnRequestTimeout ? \"ERROR\" : \"WARN\"}] a request has exceeded the configured ${timeoutInMs} ms requestTimeout.`;\n if (throwOnRequestTimeout) {\n const error = Object.assign(new Error(msg), {\n name: \"TimeoutError\",\n code: \"ETIMEDOUT\",\n });\n req.destroy(error);\n reject(error);\n }\n else {\n msg += ` Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.`;\n logger?.warn?.(msg);\n }\n }, timeoutInMs);\n }\n return -1;\n};\n\nconst DEFER_EVENT_LISTENER_TIME$1 = 3000;\nconst setSocketKeepAlive = (request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME$1) => {\n if (keepAlive !== true) {\n return -1;\n }\n const registerListener = () => {\n if (request.socket) {\n request.socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);\n }\n else {\n request.on(\"socket\", (socket) => {\n socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);\n });\n }\n };\n if (deferTimeMs === 0) {\n registerListener();\n return 0;\n }\n return timing.setTimeout(registerListener, deferTimeMs);\n};\n\nconst DEFER_EVENT_LISTENER_TIME = 3000;\nconst setSocketTimeout = (request, reject, timeoutInMs = 0) => {\n const registerTimeout = (offset) => {\n const timeout = timeoutInMs - offset;\n const onTimeout = () => {\n request.destroy();\n reject(Object.assign(new Error(`@smithy/node-http-handler - the request socket timed out after ${timeoutInMs} ms of inactivity (configured by client requestHandler).`), { name: \"TimeoutError\" }));\n };\n if (request.socket) {\n request.socket.setTimeout(timeout, onTimeout);\n request.on(\"close\", () => request.socket?.removeListener(\"timeout\", onTimeout));\n }\n else {\n request.setTimeout(timeout, onTimeout);\n }\n };\n if (0 < timeoutInMs && timeoutInMs < 6000) {\n registerTimeout(0);\n return 0;\n }\n return timing.setTimeout(registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);\n};\n\nconst MIN_WAIT_TIME = 6_000;\nasync function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME, externalAgent = false) {\n const headers = request.headers;\n const expect = headers ? headers.Expect || headers.expect : undefined;\n let timeoutId = -1;\n let sendBody = true;\n if (!externalAgent && expect === \"100-continue\") {\n sendBody = await Promise.race([\n new Promise((resolve) => {\n timeoutId = Number(timing.setTimeout(() => resolve(true), Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));\n }),\n new Promise((resolve) => {\n httpRequest.on(\"continue\", () => {\n timing.clearTimeout(timeoutId);\n resolve(true);\n });\n httpRequest.on(\"response\", () => {\n timing.clearTimeout(timeoutId);\n resolve(false);\n });\n httpRequest.on(\"error\", () => {\n timing.clearTimeout(timeoutId);\n resolve(false);\n });\n }),\n ]);\n }\n if (sendBody) {\n writeBody(httpRequest, request.body);\n }\n}\nfunction writeBody(httpRequest, body) {\n if (body instanceof Readable) {\n body.pipe(httpRequest);\n return;\n }\n if (body) {\n const isBuffer = Buffer.isBuffer(body);\n const isString = typeof body === \"string\";\n if (isBuffer || isString) {\n if (isBuffer && body.byteLength === 0) {\n httpRequest.end();\n }\n else {\n httpRequest.end(body);\n }\n return;\n }\n const uint8 = body;\n if (typeof uint8 === \"object\" &&\n uint8.buffer &&\n typeof uint8.byteOffset === \"number\" &&\n typeof uint8.byteLength === \"number\") {\n httpRequest.end(Buffer.from(uint8.buffer, uint8.byteOffset, uint8.byteLength));\n return;\n }\n httpRequest.end(Buffer.from(body));\n return;\n }\n httpRequest.end();\n}\n\nconst DEFAULT_REQUEST_TIMEOUT = 0;\nlet hAgent = undefined;\nlet hRequest = undefined;\nclass NodeHttpHandler {\n config;\n configProvider;\n socketWarningTimestamp = 0;\n externalAgent = false;\n metadata = { handlerProtocol: \"http/1.1\" };\n static create(instanceOrOptions) {\n if (typeof instanceOrOptions?.handle === \"function\") {\n return instanceOrOptions;\n }\n return new NodeHttpHandler(instanceOrOptions);\n }\n static checkSocketUsage(agent, socketWarningTimestamp, logger = console) {\n const { sockets, requests, maxSockets } = agent;\n if (typeof maxSockets !== \"number\" || maxSockets === Infinity) {\n return socketWarningTimestamp;\n }\n const interval = 15_000;\n if (Date.now() - interval < socketWarningTimestamp) {\n return socketWarningTimestamp;\n }\n if (sockets && requests) {\n for (const origin in sockets) {\n if (!hasOwn(sockets, origin))\n continue;\n const socketsInUse = sockets[origin]?.length ?? 0;\n const requestsEnqueued = requests[origin]?.length ?? 0;\n if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {\n logger?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.\nSee https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html\nor increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`);\n return Date.now();\n }\n }\n }\n return socketWarningTimestamp;\n }\n constructor(options) {\n this.configProvider = new Promise((resolve, reject) => {\n if (typeof options === \"function\") {\n options()\n .then((_options) => {\n resolve(this.resolveDefaultConfig(_options));\n })\n .catch(reject);\n }\n else {\n resolve(this.resolveDefaultConfig(options));\n }\n });\n }\n destroy() {\n this.config?.httpAgent?.destroy();\n this.config?.httpsAgent?.destroy();\n }\n async handle(request, { abortSignal, requestTimeout } = {}) {\n if (!this.config) {\n this.config = await this.configProvider;\n }\n const config = this.config;\n const logger = config.logger;\n const isSSL = request.protocol === \"https:\";\n if (!isSSL && !this.config.httpAgent) {\n this.config.httpAgent = await this.config.httpAgentProvider();\n }\n return new Promise((_resolve, _reject) => {\n let writeRequestBodyPromise = undefined;\n let socketWarningTimeoutId = -1;\n let connectionTimeoutId = -1;\n let requestTimeoutId = -1;\n let socketTimeoutId = -1;\n let keepAliveTimeoutId = -1;\n const clearTimeouts = () => {\n timing.clearTimeout(socketWarningTimeoutId);\n timing.clearTimeout(connectionTimeoutId);\n timing.clearTimeout(requestTimeoutId);\n timing.clearTimeout(socketTimeoutId);\n timing.clearTimeout(keepAliveTimeoutId);\n };\n const resolve = async (arg) => {\n await writeRequestBodyPromise;\n clearTimeouts();\n _resolve(arg);\n };\n const reject = async (arg) => {\n await writeRequestBodyPromise;\n clearTimeouts();\n _reject(arg);\n };\n if (abortSignal?.aborted) {\n const abortError = buildAbortError(abortSignal);\n reject(abortError);\n return;\n }\n const headers = request.headers;\n const expectContinue = headers ? (headers.Expect ?? headers.expect) === \"100-continue\" : false;\n let agent = isSSL ? config.httpsAgent : config.httpAgent;\n if (expectContinue && !this.externalAgent) {\n agent = new (isSSL ? node_https.Agent : hAgent)({\n keepAlive: false,\n maxSockets: Infinity,\n });\n }\n socketWarningTimeoutId = timing.setTimeout(() => {\n this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);\n }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));\n const queryString = request.query ? buildQueryString(request.query) : \"\";\n let auth = undefined;\n if (request.username != null || request.password != null) {\n const username = request.username ?? \"\";\n const password = request.password ?? \"\";\n auth = `${username}:${password}`;\n }\n let path = request.path;\n if (queryString) {\n path += `?${queryString}`;\n }\n if (request.fragment) {\n path += `#${request.fragment}`;\n }\n let hostname = request.hostname ?? \"\";\n if (hostname[0] === \"[\" && hostname.endsWith(\"]\")) {\n hostname = request.hostname.slice(1, -1);\n }\n else {\n hostname = request.hostname;\n }\n const nodeHttpsOptions = {\n headers: request.headers,\n host: hostname,\n method: request.method,\n path,\n port: request.port,\n agent,\n auth,\n };\n const requestFunc = isSSL ? node_https.request : hRequest;\n const req = requestFunc(nodeHttpsOptions, (res) => {\n const httpResponse = new HttpResponse({\n statusCode: res.statusCode || -1,\n reason: res.statusMessage,\n headers: getTransformedHeaders(res.headers),\n body: res,\n });\n resolve({ response: httpResponse });\n });\n req.on(\"error\", (err) => {\n if (NODEJS_TIMEOUT_ERROR_CODES.includes(err.code)) {\n reject(Object.assign(err, { name: \"TimeoutError\" }));\n }\n else {\n reject(err);\n }\n });\n if (abortSignal) {\n const onAbort = () => {\n req.destroy();\n const abortError = buildAbortError(abortSignal);\n reject(abortError);\n };\n if (typeof abortSignal.addEventListener === \"function\") {\n const signal = abortSignal;\n signal.addEventListener(\"abort\", onAbort, { once: true });\n req.once(\"close\", () => signal.removeEventListener(\"abort\", onAbort));\n }\n else {\n abortSignal.onabort = onAbort;\n }\n }\n const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;\n connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);\n requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);\n socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);\n const httpAgent = nodeHttpsOptions.agent;\n if (typeof httpAgent === \"object\" && \"keepAlive\" in httpAgent) {\n keepAliveTimeoutId = setSocketKeepAlive(req, {\n keepAlive: httpAgent.keepAlive,\n keepAliveMsecs: httpAgent.keepAliveMsecs,\n });\n }\n writeRequestBodyPromise = writeRequestBody(req, request, effectiveRequestTimeout, this.externalAgent).catch((e) => {\n clearTimeouts();\n return _reject(e);\n });\n });\n }\n updateHttpClientConfig(key, value) {\n this.config = undefined;\n this.configProvider = this.configProvider.then((config) => {\n if (key === Symbol.for(\"logger\")) {\n return {\n ...config,\n logger: config.logger ?? value,\n };\n }\n return {\n ...config,\n [key]: value,\n };\n });\n }\n httpHandlerConfigs() {\n return this.config ?? {};\n }\n resolveDefaultConfig(options) {\n const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {};\n const keepAlive = true;\n const maxSockets = 50;\n return {\n connectionTimeout,\n requestTimeout,\n socketTimeout,\n socketAcquisitionWarningTimeout,\n throwOnRequestTimeout,\n httpAgentProvider: async () => {\n const node_http = require('node:http');\n const { Agent, request } = node_http.default ?? node_http;\n hRequest = request;\n hAgent = Agent;\n if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === \"function\") {\n this.externalAgent = true;\n return httpAgent;\n }\n return new hAgent({ keepAlive, maxSockets, ...httpAgent });\n },\n httpsAgent: (() => {\n if (httpsAgent instanceof node_https.Agent || typeof httpsAgent?.destroy === \"function\") {\n this.externalAgent = true;\n return httpsAgent;\n }\n return new node_https.Agent({ keepAlive, maxSockets, ...httpsAgent });\n })(),\n logger,\n };\n }\n}\n\nconst ids = new Uint16Array(1);\nclass ClientHttp2SessionRef {\n id = ids[0]++;\n total = 0;\n max = 0;\n session;\n refs = 0;\n constructor(session) {\n session.unref();\n this.session = session;\n }\n retain() {\n if (this.session.destroyed) {\n throw new Error(\"@smithy/node-http-handler - cannot acquire reference to destroyed session.\");\n }\n this.refs += 1;\n this.total += 1;\n this.max = Math.max(this.refs, this.max);\n this.session.ref();\n }\n free() {\n if (this.session.destroyed) {\n return;\n }\n this.refs -= 1;\n if (this.refs === 0) {\n this.session.unref();\n }\n if (this.refs < 0) {\n throw new Error(\"@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.\");\n }\n }\n deref() {\n return this.session;\n }\n close() {\n if (!this.session.closed) {\n this.session.close();\n }\n }\n destroy() {\n this.refs = 0;\n if (!this.session.destroyed) {\n this.session.setTimeout(0);\n this.session.destroy();\n }\n }\n useCount() {\n return this.refs;\n }\n}\n\nclass NodeHttp2ConnectionPool {\n sessions = [];\n maxConcurrency = 0;\n constructor(sessions) {\n this.sessions = (sessions ?? []).map((session) => new ClientHttp2SessionRef(session));\n }\n poll() {\n let cleanup = false;\n for (const session of this.sessions) {\n if (session.deref().destroyed) {\n cleanup = true;\n continue;\n }\n if (!this.maxConcurrency || session.useCount() < this.maxConcurrency) {\n return session;\n }\n }\n if (cleanup) {\n for (const session of this.sessions) {\n if (session.deref().destroyed) {\n this.remove(session);\n }\n }\n }\n }\n offerLast(ref) {\n this.sessions.push(ref);\n }\n remove(ref) {\n const ix = this.sessions.indexOf(ref);\n if (ix > -1) {\n this.sessions.splice(ix, 1);\n }\n }\n [Symbol.iterator]() {\n return this.sessions[Symbol.iterator]();\n }\n setMaxConcurrency(maxConcurrency) {\n this.maxConcurrency = maxConcurrency;\n }\n destroy(ref) {\n this.remove(ref);\n ref.destroy();\n }\n}\n\nclass NodeHttp2ConnectionManager {\n config;\n connectOptions;\n connectionPools = new Map();\n constructor(config) {\n this.config = config;\n if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) {\n throw new RangeError(\"maxConcurrency must be greater than zero.\");\n }\n }\n lease(requestContext, connectionConfiguration) {\n const url = this.getUrlString(requestContext);\n const pool = this.getPool(url);\n if (!this.config.disableConcurrency && !connectionConfiguration.isEventStream) {\n const available = pool.poll();\n if (available) {\n available.retain();\n return available;\n }\n }\n const ref = new ClientHttp2SessionRef(this.connect(url));\n const session = ref.deref();\n if (this.config.maxConcurrency) {\n session.settings({ maxConcurrentStreams: this.config.maxConcurrency }, (err) => {\n if (err) {\n throw new Error(\"Fail to set maxConcurrentStreams to \" +\n this.config.maxConcurrency +\n \"when creating new session for \" +\n requestContext.destination.toString());\n }\n });\n }\n const graceful = () => {\n this.removeFromPoolAndClose(url, ref);\n };\n const ensureDestroyed = () => {\n this.removeFromPoolAndCheckedDestroy(url, ref);\n };\n session.on(\"goaway\", graceful);\n session.on(\"error\", ensureDestroyed);\n session.on(\"frameError\", ensureDestroyed);\n session.on(\"close\", ensureDestroyed);\n if (connectionConfiguration.requestTimeout) {\n session.setTimeout(connectionConfiguration.requestTimeout, ensureDestroyed);\n }\n pool.offerLast(ref);\n ref.retain();\n return ref;\n }\n release(_requestContext, ref) {\n ref.free();\n }\n createIsolatedSession(requestContext, connectionConfiguration) {\n const url = this.getUrlString(requestContext);\n const ref = new ClientHttp2SessionRef(this.connect(url));\n const session = ref.deref();\n session.settings({ maxConcurrentStreams: 1 });\n const ensureDestroyed = () => {\n ref.destroy();\n };\n session.on(\"error\", ensureDestroyed);\n session.on(\"frameError\", ensureDestroyed);\n session.on(\"close\", ensureDestroyed);\n const timeout = connectionConfiguration.requestTimeout ?? 300_000;\n session.setTimeout(timeout, ensureDestroyed);\n ref.retain();\n return ref;\n }\n destroy() {\n for (const [url, connectionPool] of this.connectionPools) {\n for (const session of [...connectionPool]) {\n session.destroy();\n }\n this.connectionPools.delete(url);\n }\n }\n setMaxConcurrentStreams(maxConcurrentStreams) {\n if (maxConcurrentStreams && maxConcurrentStreams <= 0) {\n throw new RangeError(\"maxConcurrentStreams must be greater than zero.\");\n }\n this.config.maxConcurrency = maxConcurrentStreams;\n for (const pool of this.connectionPools.values()) {\n pool.setMaxConcurrency(maxConcurrentStreams);\n }\n }\n setDisableConcurrentStreams(disableConcurrentStreams) {\n this.config.disableConcurrency = disableConcurrentStreams;\n }\n setNodeHttp2ConnectOptions(nodeHttp2ConnectOptions) {\n this.connectOptions = nodeHttp2ConnectOptions;\n }\n debug() {\n const pools = {};\n for (const [url, pool] of this.connectionPools) {\n const sessions = [];\n for (const ref of pool) {\n sessions.push({\n id: ref.id,\n active: ref.useCount(),\n maxConcurrent: ref.max,\n totalRequests: ref.total,\n });\n }\n pools[url] = { sessions };\n }\n return pools;\n }\n removeFromPoolAndClose(authority, ref) {\n this.connectionPools.get(authority)?.remove(ref);\n ref.close();\n }\n removeFromPoolAndCheckedDestroy(authority, ref) {\n this.connectionPools.get(authority)?.remove(ref);\n ref.destroy();\n }\n getPool(url) {\n if (!this.connectionPools.has(url)) {\n const pool = new NodeHttp2ConnectionPool();\n if (this.config.maxConcurrency) {\n pool.setMaxConcurrency(this.config.maxConcurrency);\n }\n this.connectionPools.set(url, pool);\n }\n return this.connectionPools.get(url);\n }\n getUrlString(request) {\n return request.destination.toString();\n }\n connect(url) {\n return this.connectOptions === undefined ? http2.connect(url) : http2.connect(url, this.connectOptions);\n }\n}\n\nconst { constants } = http2;\nclass NodeHttp2Handler {\n config;\n configProvider;\n metadata = { handlerProtocol: \"h2\" };\n connectionManager = new NodeHttp2ConnectionManager({});\n static create(instanceOrOptions) {\n if (typeof instanceOrOptions?.handle === \"function\") {\n return instanceOrOptions;\n }\n return new NodeHttp2Handler(instanceOrOptions);\n }\n constructor(options) {\n this.configProvider = new Promise((resolve, reject) => {\n if (typeof options === \"function\") {\n options()\n .then((opts) => {\n resolve(opts || {});\n })\n .catch(reject);\n }\n else {\n resolve(options || {});\n }\n });\n }\n destroy() {\n this.connectionManager.destroy();\n }\n async handle(request, { abortSignal, requestTimeout, isEventStream } = {}) {\n if (!this.config) {\n this.config = await this.configProvider;\n const { disableConcurrentStreams, maxConcurrentStreams, nodeHttp2ConnectOptions } = this.config;\n this.connectionManager.setDisableConcurrentStreams(disableConcurrentStreams ?? false);\n if (maxConcurrentStreams) {\n this.connectionManager.setMaxConcurrentStreams(maxConcurrentStreams);\n }\n if (nodeHttp2ConnectOptions) {\n this.connectionManager.setNodeHttp2ConnectOptions(nodeHttp2ConnectOptions);\n }\n }\n const { requestTimeout: configRequestTimeout, disableConcurrentStreams } = this.config;\n const useIsolatedSession = disableConcurrentStreams || isEventStream;\n const effectiveRequestTimeout = requestTimeout ?? configRequestTimeout;\n return new Promise((_resolve, _reject) => {\n let fulfilled = false;\n let writeRequestBodyPromise = undefined;\n const resolve = async (arg) => {\n await writeRequestBodyPromise;\n _resolve(arg);\n };\n const reject = async (arg) => {\n await writeRequestBodyPromise;\n _reject(arg);\n };\n if (abortSignal?.aborted) {\n fulfilled = true;\n const abortError = buildAbortError(abortSignal);\n reject(abortError);\n return;\n }\n const { hostname, method, port, protocol, query } = request;\n let auth = \"\";\n if (request.username != null || request.password != null) {\n const username = request.username ?? \"\";\n const password = request.password ?? \"\";\n auth = `${username}:${password}@`;\n }\n const authority = `${protocol}//${auth}${hostname}${port ? `:${port}` : \"\"}`;\n const requestContext = { destination: new URL(authority) };\n const connectConfig = {\n requestTimeout: this.config?.sessionTimeout,\n isEventStream,\n };\n const ref = useIsolatedSession\n ? this.connectionManager.createIsolatedSession(requestContext, connectConfig)\n : this.connectionManager.lease(requestContext, connectConfig);\n const session = ref.deref();\n const rejectWithDestroy = (err) => {\n if (useIsolatedSession) {\n ref.destroy();\n }\n fulfilled = true;\n reject(err);\n };\n const queryString = query ? buildQueryString(query) : \"\";\n let path = request.path;\n if (queryString) {\n path += `?${queryString}`;\n }\n if (request.fragment) {\n path += `#${request.fragment}`;\n }\n const clientHttp2Stream = session.request({\n ...request.headers,\n [constants.HTTP2_HEADER_PATH]: path,\n [constants.HTTP2_HEADER_METHOD]: method,\n });\n if (effectiveRequestTimeout) {\n clientHttp2Stream.setTimeout(effectiveRequestTimeout, () => {\n clientHttp2Stream.close();\n const timeoutError = new Error(`Stream timed out because of no activity for ${effectiveRequestTimeout} ms`);\n timeoutError.name = \"TimeoutError\";\n rejectWithDestroy(timeoutError);\n });\n }\n if (abortSignal) {\n const onAbort = () => {\n clientHttp2Stream.close();\n const abortError = buildAbortError(abortSignal);\n rejectWithDestroy(abortError);\n };\n if (typeof abortSignal.addEventListener === \"function\") {\n const signal = abortSignal;\n signal.addEventListener(\"abort\", onAbort, { once: true });\n clientHttp2Stream.once(\"close\", () => signal.removeEventListener(\"abort\", onAbort));\n }\n else {\n abortSignal.onabort = onAbort;\n }\n }\n clientHttp2Stream.on(\"frameError\", (type, code, id) => {\n rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`));\n });\n clientHttp2Stream.on(\"error\", rejectWithDestroy);\n clientHttp2Stream.on(\"aborted\", () => {\n rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${clientHttp2Stream.rstCode}.`));\n });\n clientHttp2Stream.on(\"response\", (headers) => {\n const httpResponse = new HttpResponse({\n statusCode: headers[\":status\"] ?? -1,\n headers: getTransformedHeaders(headers),\n body: clientHttp2Stream,\n });\n fulfilled = true;\n resolve({ response: httpResponse });\n if (useIsolatedSession) {\n session.close();\n clientHttp2Stream.on(\"end\", () => {\n ref.destroy();\n });\n }\n });\n clientHttp2Stream.on(\"close\", () => {\n if (useIsolatedSession) {\n ref.destroy();\n }\n else {\n this.connectionManager.release(requestContext, ref);\n }\n if (!fulfilled) {\n const error = new Error(\"Unexpected error: http2 request did not get a response\");\n if (session.destroyed) {\n error.name = \"TimeoutError\";\n }\n rejectWithDestroy(error);\n }\n });\n writeRequestBodyPromise = writeRequestBody(clientHttp2Stream, request, effectiveRequestTimeout);\n });\n }\n updateHttpClientConfig(key, value) {\n this.config = undefined;\n this.configProvider = this.configProvider.then((config) => {\n return {\n ...config,\n [key]: value,\n };\n });\n }\n httpHandlerConfigs() {\n return this.config ?? {};\n }\n}\n\nexports.DEFAULT_REQUEST_TIMEOUT = DEFAULT_REQUEST_TIMEOUT;\nexports.NodeHttp2Handler = NodeHttp2Handler;\nexports.NodeHttpHandler = NodeHttpHandler;\n","const { setCredentialFeature } = require(\"@aws-sdk/core/client\");\nconst { CredentialsProviderError } = require(\"@smithy/core/config\");\nconst { NodeHttpHandler } = require(\"@smithy/node-http-handler\");\nconst fs = require(\"node:fs/promises\");\nconst { HttpRequest } = require(\"@smithy/core/protocols\");\nconst { sdkStreamMixin, parseRfc3339DateTime } = require(\"@smithy/core/serde\");\n\nconst ECS_CONTAINER_HOST = \"169.254.170.2\";\nconst EKS_CONTAINER_HOST_IPv4 = \"169.254.170.23\";\nconst EKS_CONTAINER_HOST_IPv6 = \"[fd00:ec2::23]\";\nconst checkUrl = (url, logger) => {\n if (url.protocol === \"https:\") {\n return;\n }\n if (url.hostname === ECS_CONTAINER_HOST ||\n url.hostname === EKS_CONTAINER_HOST_IPv4 ||\n url.hostname === EKS_CONTAINER_HOST_IPv6) {\n return;\n }\n if (url.hostname.includes(\"[\")) {\n if (url.hostname === \"[::1]\" || url.hostname === \"[0000:0000:0000:0000:0000:0000:0000:0001]\") {\n return;\n }\n }\n else {\n if (url.hostname === \"localhost\") {\n return;\n }\n const ipComponents = url.hostname.split(\".\");\n const inRange = (component) => {\n const num = parseInt(component, 10);\n return 0 <= num && num <= 255;\n };\n if (ipComponents[0] === \"127\" &&\n inRange(ipComponents[1]) &&\n inRange(ipComponents[2]) &&\n inRange(ipComponents[3]) &&\n ipComponents.length === 4) {\n return;\n }\n }\n throw new CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:\n - loopback CIDR 127.0.0.0/8 or [::1/128]\n - ECS container host 169.254.170.2\n - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger });\n};\n\nfunction createGetRequest(url) {\n return new HttpRequest({\n protocol: url.protocol,\n hostname: url.hostname,\n port: Number(url.port),\n path: url.pathname,\n query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => {\n acc[k] = v;\n return acc;\n }, {}),\n fragment: url.hash,\n });\n}\nasync function getCredentials(response, logger) {\n const stream = sdkStreamMixin(response.body);\n const str = await stream.transformToString();\n if (response.statusCode === 200) {\n const parsed = JSON.parse(str);\n if (typeof parsed.AccessKeyId !== \"string\" ||\n typeof parsed.SecretAccessKey !== \"string\" ||\n typeof parsed.Token !== \"string\" ||\n typeof parsed.Expiration !== \"string\") {\n throw new CredentialsProviderError(\"HTTP credential provider response not of the required format, an object matching: \" +\n \"{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }\", { logger });\n }\n return {\n accessKeyId: parsed.AccessKeyId,\n secretAccessKey: parsed.SecretAccessKey,\n sessionToken: parsed.Token,\n expiration: parseRfc3339DateTime(parsed.Expiration),\n };\n }\n if (response.statusCode >= 400 && response.statusCode < 500) {\n let parsedBody = {};\n try {\n parsedBody = JSON.parse(str);\n }\n catch (e) { }\n throw Object.assign(new CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), {\n Code: parsedBody.Code,\n Message: parsedBody.Message,\n });\n }\n throw new CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger });\n}\n\nconst retryWrapper = (toRetry, maxRetries, delayMs) => {\n return async () => {\n for (let i = 0; i < maxRetries; ++i) {\n try {\n return await toRetry();\n }\n catch (e) {\n await new Promise((resolve) => setTimeout(resolve, delayMs));\n }\n }\n return await toRetry();\n };\n};\n\nconst AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = \"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\";\nconst DEFAULT_LINK_LOCAL_HOST = \"http://169.254.170.2\";\nconst AWS_CONTAINER_CREDENTIALS_FULL_URI = \"AWS_CONTAINER_CREDENTIALS_FULL_URI\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = \"AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE\";\nconst AWS_CONTAINER_AUTHORIZATION_TOKEN = \"AWS_CONTAINER_AUTHORIZATION_TOKEN\";\nconst fromHttp = (options = {}) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-http - fromHttp\");\n let host;\n const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI];\n const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI];\n const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN];\n const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE];\n const warn = options.logger?.constructor?.name === \"NoOpLogger\" || !options.logger?.warn\n ? console.warn\n : options.logger.warn.bind(options.logger);\n if (relative && full) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.\");\n warn(\"awsContainerCredentialsRelativeUri will take precedence.\");\n }\n if (token && tokenFile) {\n warn(\"@aws-sdk/credential-provider-http: \" +\n \"you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.\");\n warn(\"awsContainerAuthorizationTokenFile will take precedence.\");\n }\n if (relative) {\n host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`;\n }\n else if (full) {\n host = full;\n }\n else {\n throw new CredentialsProviderError(`No HTTP credential provider host provided.\nSet AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger });\n }\n const url = new URL(host);\n checkUrl(url, options.logger);\n const requestHandler = NodeHttpHandler.create({ connectionTimeout: options.timeout ?? 1000 });\n const requestTimeout = options.timeout ?? 1000;\n const provider = retryWrapper(async () => {\n const request = createGetRequest(url);\n if (tokenFile) {\n request.headers.Authorization = validateToken((await fs.readFile(tokenFile)).toString());\n }\n else if (token) {\n request.headers.Authorization = validateToken(token);\n }\n try {\n const result = await requestHandler.handle(request, { requestTimeout });\n return getCredentials(result.response).then((creds) => setCredentialFeature(creds, \"CREDENTIALS_HTTP\", \"z\"));\n }\n catch (e) {\n throw new CredentialsProviderError(String(e), { logger: options.logger });\n }\n }, options.maxRetries ?? 3, options.timeout ?? 1000);\n return async () => {\n try {\n return await provider();\n }\n finally {\n requestHandler.destroy?.();\n }\n };\n};\nconst validateToken = (token) => {\n if (token.includes(\"\\r\\n\")) {\n throw new CredentialsProviderError(\"Authorization token contains invalid \\\\r\\\\n sequence.\");\n }\n return token;\n};\n\nexports.fromHttp = fromHttp;\n","import { resolveAwsSdkSigV4Config, } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { getSmithyContext, normalizeProvider } from \"@smithy/core/client\";\nexport const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: getSmithyContext(context).operation,\n region: await normalizeProvider(config.region)() || (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sso-oauth\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nexport const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"CreateToken\":\n {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n ;\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexport const resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = resolveAwsSdkSigV4Config(config);\n return Object.assign(config_0, {\n authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),\n });\n};\n","export const resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"sso-oauth\",\n });\n};\nexport const commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","","export const majorUint64 = 0;\nexport const majorNegativeInt64 = 1;\nexport const majorUnstructuredByteString = 2;\nexport const majorUtf8String = 3;\nexport const majorList = 4;\nexport const majorMap = 5;\nexport const majorTag = 6;\nexport const majorSpecial = 7;\nexport const specialFalse = 20;\nexport const specialTrue = 21;\nexport const specialNull = 22;\nexport const specialUndefined = 23;\nexport const extendedOneByte = 24;\nexport const extendedFloat16 = 25;\nexport const extendedFloat32 = 26;\nexport const extendedFloat64 = 27;\nexport const minorIndefinite = 31;\nexport function alloc(size) {\n return typeof Buffer !== \"undefined\" ? Buffer.alloc(size) : new Uint8Array(size);\n}\nexport const tagSymbol = Symbol(\"@smithy/core/cbor::tagSymbol\");\nexport function tag(data) {\n data[tagSymbol] = true;\n return data;\n}\n","import { hasOwn } from \"@smithy/core/transport\";\nimport { HttpRequest as __HttpRequest, collectBody } from \"@smithy/core/protocols\";\nimport { calculateBodyLength } from \"@smithy/core/serde\";\nimport { cbor } from \"./cbor\";\nimport { tag } from \"./cbor-types\";\nexport const parseCborBody = (streamBody, context) => {\n return collectBody(streamBody, context).then(async (bytes) => {\n if (bytes.length) {\n try {\n return cbor.deserialize(bytes);\n }\n catch (e) {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: context.utf8Encoder(bytes),\n });\n throw e;\n }\n }\n return {};\n });\n};\nexport const dateToTag = (date) => {\n return tag({\n tag: 1,\n value: date.getTime() / 1000,\n });\n};\nexport const parseCborErrorBody = async (errorBody, context) => {\n const value = await parseCborBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n};\nexport const loadSmithyRpcV2CborErrorCode = (output, data) => {\n const sanitizeErrorCode = (rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n return cleanValue;\n };\n if (data[\"__type\"] !== undefined) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n};\nexport const checkCborResponse = (response) => {\n if (String(response.headers[\"smithy-protocol\"]).toLowerCase() !== \"rpc-v2-cbor\") {\n throw new Error(\"Malformed RPCv2 CBOR response, status: \" + response.statusCode);\n }\n};\nexport const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {\n const endpoint = await context.endpoint();\n const { hostname, protocol = \"https\", port, path: basePath } = endpoint;\n const contents = {\n protocol,\n hostname,\n port,\n method: \"POST\",\n path: basePath.endsWith(\"/\") ? basePath.slice(0, -1) + path : basePath + path,\n headers: {\n ...headers,\n },\n };\n if (resolvedHostname !== undefined) {\n contents.hostname = resolvedHostname;\n }\n if (endpoint.headers) {\n for (const name in endpoint.headers) {\n if (!hasOwn(endpoint.headers, name))\n continue;\n contents.headers[name] = endpoint.headers[name];\n }\n }\n if (body !== undefined) {\n contents.body = body;\n try {\n contents.headers[\"content-length\"] = String(calculateBodyLength(body));\n }\n catch (ignored) { }\n }\n return new __HttpRequest(contents);\n};\n","import { hasOwn } from \"@smithy/core/transport\";\nimport { SerdeContext } from \"@smithy/core/protocols\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { NumericValue, fromBase64, generateIdempotencyToken } from \"@smithy/core/serde\";\nimport { extendedFloat16, extendedFloat32, extendedFloat64, majorList, majorMap, majorNegativeInt64, majorSpecial, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, specialFalse, specialNull, specialTrue, tagSymbol, } from \"../cbor-types\";\nexport class CborShapeSerializer2 extends SerdeContext {\n write(schema, value) {\n cursor = 0;\n const ns = NormalizedSchema.of(schema);\n writeValue(ns, value, undefined, this.serdeContext);\n }\n flush() {\n const result = buf.subarray(0, cursor);\n cursor = 0;\n buf = allocUnsafe(INITIAL_BUFFER_SIZE);\n view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength);\n return result;\n }\n}\nexport function advanceSinglePassEncodingEpoch() {\n encodeCacheEpoch = (encodeCacheEpoch + 1) & 0xffff;\n encodeCacheSaturated = false;\n}\nconst CBOR_STRUCT_CACHE = Symbol.for(\"@smithy/cbor-struct-cache\");\nexport function loadCborStructIterator(ns) {\n const schema = ns.getSchema();\n const existing = schema[CBOR_STRUCT_CACHE];\n if (existing) {\n return existing;\n }\n const memberNames = [];\n const memberSchemas = [];\n for (const [name, memberSchema] of ns.structIterator()) {\n memberNames.push(name);\n memberSchemas.push(memberSchema);\n }\n const encodedKeys = new Array(memberNames.length);\n for (let i = 0; i < memberNames.length; ++i) {\n encodedKeys[i] = encodeCborStringKey(memberNames[i]);\n }\n const cache = { memberNames, memberSchemas, encodedKeys };\n schema[CBOR_STRUCT_CACHE] = cache;\n return cache;\n}\nfunction encodeCborStringKey(s) {\n let utf8Bytes;\n if (USE_BUFFER) {\n utf8Bytes = Buffer.from(s, \"utf-8\");\n }\n else {\n utf8Bytes = new TextEncoder().encode(s);\n }\n const byteLen = utf8Bytes.length;\n let headerSize;\n if (byteLen < 24) {\n headerSize = 1;\n }\n else if (byteLen < 256) {\n headerSize = 2;\n }\n else {\n headerSize = 3;\n }\n const result = new Uint8Array(headerSize + byteLen);\n if (headerSize === 1) {\n result[0] = (majorUtf8String << 5) | byteLen;\n }\n else if (headerSize === 2) {\n result[0] = (majorUtf8String << 5) | 24;\n result[1] = byteLen;\n }\n else {\n result[0] = (majorUtf8String << 5) | extendedFloat16;\n result[1] = byteLen >> 8;\n result[2] = byteLen & 0xff;\n }\n result.set(utf8Bytes, headerSize);\n return result;\n}\nconst USE_BUFFER = typeof Buffer !== \"undefined\";\nconst textEncoder = new TextEncoder();\nconst INITIAL_BUFFER_SIZE = 2048;\nlet buf = USE_BUFFER ? Buffer.allocUnsafe(INITIAL_BUFFER_SIZE) : new Uint8Array(INITIAL_BUFFER_SIZE);\nlet view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength);\nlet cursor = 0;\nconst STRING_CACHE_MAX = 2048;\nconst stringEncodeCache = new Map();\nlet encodeCacheEpoch = 0;\nlet encodeCacheSaturated = false;\nfunction allocUnsafe(size) {\n return USE_BUFFER ? Buffer.allocUnsafe(size) : new Uint8Array(size);\n}\nfunction writeValue(ns, value, container, serdeContext) {\n if (value == null) {\n if (value === undefined && ns.isIdempotencyToken()) {\n writeString(generateIdempotencyToken());\n return;\n }\n ensure(1);\n buf[cursor++] = (majorSpecial << 5) | specialNull;\n return;\n }\n if (ns.isUnitSchema()) {\n ensure(1);\n encodeHeader(majorMap, 0);\n return;\n }\n const isObject = typeof value === \"object\";\n if (isObject) {\n if (ns.isBlobSchema()) {\n if (value instanceof Uint8Array) {\n writeBytes(value);\n return;\n }\n }\n if (ns.isTimestampSchema()) {\n if (value instanceof Date) {\n writeTimestamp(value);\n return;\n }\n }\n if (ns.isStructSchema()) {\n writeStruct(ns, value, serdeContext);\n return;\n }\n if (Array.isArray(value) && (ns.isListSchema() || ns.isDocumentSchema())) {\n writeList(ns, value, ns.isDocumentSchema(), serdeContext);\n return;\n }\n if (ns.isMapSchema()) {\n writeMap(ns, value, false, serdeContext);\n return;\n }\n if (value instanceof Date) {\n writeTimestamp(value);\n return;\n }\n if (value instanceof Uint8Array) {\n writeBytes(value);\n return;\n }\n if (value instanceof NumericValue) {\n writeNumericValue(value);\n return;\n }\n if (value[tagSymbol]) {\n const tagged = value;\n writeTag(tagged.tag, tagged.value);\n return;\n }\n if (ns.isDocumentSchema()) {\n if (Array.isArray(value)) {\n writeList(ns, value, true, serdeContext);\n }\n else {\n writeMap(ns, value, true, serdeContext);\n }\n return;\n }\n if (ns.isBigDecimalSchema()) {\n writeUntypedValue(value);\n return;\n }\n writeMap(ns, value, true, serdeContext);\n return;\n }\n if (typeof value === \"string\") {\n if (ns.isBlobSchema()) {\n const bytes = (serdeContext?.base64Decoder ?? fromBase64)(value);\n writeBytes(bytes);\n return;\n }\n writeString(value);\n return;\n }\n if (typeof value === \"number\") {\n ensure(9);\n if (Number.isInteger(value) && value >= -0x20000000000000 && value <= 0x1fffffffffffff) {\n writeInteger(value);\n }\n else {\n writeFloat64(value);\n }\n return;\n }\n if (typeof value === \"boolean\") {\n ensure(1);\n buf[cursor++] = (majorSpecial << 5) | (value ? specialTrue : specialFalse);\n return;\n }\n if (typeof value === \"bigint\") {\n writeBigInt(value);\n return;\n }\n writeString(String(value));\n}\nfunction writeStruct(ns, value, serdeContext) {\n if (ns.isUnionSchema()) {\n let wrote = false;\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const item = value[memberName];\n if (item != null) {\n ensure(9);\n encodeHeader(majorMap, 1);\n writeString(memberName);\n writeValue(memberSchema, item, ns, serdeContext);\n wrote = true;\n break;\n }\n }\n if (!wrote) {\n const { $unknown } = value;\n if (Array.isArray($unknown)) {\n ensure(9);\n encodeHeader(majorMap, 1);\n writeString($unknown[0]);\n writeUntypedValue($unknown[1]);\n }\n else {\n ensure(9);\n encodeHeader(majorMap, 0);\n }\n }\n return;\n }\n const cache = loadCborStructIterator(ns);\n const { memberNames, memberSchemas, encodedKeys } = cache;\n const z = memberNames.length;\n let headerSize;\n if (z < 24) {\n headerSize = 1;\n }\n else if (z < 256) {\n headerSize = 2;\n }\n else {\n headerSize = 3;\n }\n ensure(headerSize);\n const headerPos = cursor;\n cursor += headerSize;\n let count = 0;\n for (let i = 0; i < z; ++i) {\n const item = value[memberNames[i]];\n if (item == null && !memberSchemas[i].isIdempotencyToken()) {\n continue;\n }\n const key = encodedKeys[i];\n ensure(key.length);\n buf.set(key, cursor);\n cursor += key.length;\n writeValue(memberSchemas[i], item, ns, serdeContext);\n ++count;\n }\n if (typeof value.__type === \"string\") {\n for (const k in value) {\n if (!hasOwn(value, k))\n continue;\n if (!memberNames.includes(k)) {\n writeString(k);\n writeUntypedValue(value[k]);\n ++count;\n }\n }\n }\n if (headerSize === 1) {\n buf[headerPos] = (majorMap << 5) | count;\n }\n else if (headerSize === 2) {\n buf[headerPos] = (majorMap << 5) | 24;\n buf[headerPos + 1] = count;\n }\n else {\n buf[headerPos] = (majorMap << 5) | extendedFloat16;\n buf[headerPos + 1] = count >> 8;\n buf[headerPos + 2] = count & 0xff;\n }\n}\nfunction writeList(ns, value, isDocument, serdeContext) {\n const sparse = !!ns.getMergedTraits().sparse;\n const valueSchema = ns.getValueSchema();\n if (isDocument || sparse) {\n const items = [];\n for (let i = 0; i < value.length; ++i) {\n const item = value[i];\n if (isDocument) {\n if (item !== undefined) {\n items.push(item);\n }\n }\n else {\n if (item != null || sparse) {\n items.push(item);\n }\n }\n }\n ensure(9);\n encodeHeader(majorList, items.length);\n for (let i = 0; i < items.length; ++i) {\n writeValue(valueSchema, items[i], undefined, serdeContext);\n }\n }\n else {\n let count = 0;\n for (let i = 0; i < value.length; ++i) {\n if (value[i] != null) {\n ++count;\n }\n }\n ensure(9);\n encodeHeader(majorList, count);\n for (let i = 0; i < value.length; ++i) {\n if (value[i] != null) {\n writeValue(valueSchema, value[i], undefined, serdeContext);\n }\n }\n }\n}\nfunction writeMap(ns, value, isDocument, serdeContext) {\n const sparse = !!ns.getMergedTraits().sparse;\n const valueSchema = ns.getValueSchema();\n const keys = [];\n for (const k in value) {\n if (!hasOwn(value, k))\n continue;\n const v = value[k];\n if (isDocument ? v !== undefined : v != null || sparse) {\n keys.push(k);\n }\n }\n ensure(9);\n encodeHeader(majorMap, keys.length);\n for (let i = 0; i < keys.length; ++i) {\n const k = keys[i];\n writeString(k);\n writeValue(valueSchema, value[k], undefined, serdeContext);\n }\n}\nfunction writeUntypedValue(value) {\n if (value == null) {\n ensure(1);\n buf[cursor++] = (majorSpecial << 5) | specialNull;\n return;\n }\n if (typeof value === \"string\") {\n writeString(value);\n return;\n }\n if (typeof value === \"number\") {\n ensure(9);\n if (Number.isInteger(value) && value >= -0x20000000000000 && value <= 0x1fffffffffffff) {\n writeInteger(value);\n }\n else {\n writeFloat64(value);\n }\n return;\n }\n if (typeof value === \"boolean\") {\n ensure(1);\n buf[cursor++] = (majorSpecial << 5) | (value ? specialTrue : specialFalse);\n return;\n }\n if (typeof value === \"bigint\") {\n writeBigInt(value);\n return;\n }\n if (value instanceof Uint8Array) {\n writeBytes(value);\n return;\n }\n if (value instanceof Date) {\n writeTimestamp(value);\n return;\n }\n if (value instanceof NumericValue) {\n writeNumericValue(value);\n return;\n }\n if (value[tagSymbol]) {\n const tagged = value;\n writeTag(tagged.tag, tagged.value);\n return;\n }\n if (Array.isArray(value)) {\n ensure(9);\n encodeHeader(majorList, value.length);\n for (let i = 0; i < value.length; ++i) {\n writeUntypedValue(value[i]);\n }\n return;\n }\n if (typeof value === \"object\") {\n const keys = Object.keys(value);\n ensure(9);\n encodeHeader(majorMap, keys.length);\n for (let i = 0; i < keys.length; ++i) {\n writeString(keys[i]);\n writeUntypedValue(value[keys[i]]);\n }\n return;\n }\n writeString(String(value));\n}\nfunction ensure(n) {\n if (cursor + n > buf.length) {\n let newSize = buf.length * 2;\n while (newSize < cursor + n) {\n newSize *= 2;\n }\n const next = allocUnsafe(newSize);\n next.set(buf.subarray(0, cursor));\n buf = next;\n view = new DataView(next.buffer, next.byteOffset, next.byteLength);\n }\n}\nfunction encodeHeader(major, value) {\n if (value < 24) {\n buf[cursor++] = (major << 5) | value;\n }\n else if (value < 256) {\n buf[cursor++] = (major << 5) | 24;\n buf[cursor++] = value;\n }\n else if (value < 65536) {\n buf[cursor++] = (major << 5) | extendedFloat16;\n buf[cursor++] = value >> 8;\n buf[cursor++] = value & 0xff;\n }\n else if (value < 4294967296) {\n buf[cursor++] = (major << 5) | extendedFloat32;\n view.setUint32(cursor, value);\n cursor += 4;\n }\n else {\n buf[cursor++] = (major << 5) | extendedFloat64;\n const hi = (value / 4294967296) | 0;\n const lo = (value - hi * 4294967296) | 0;\n view.setUint32(cursor, hi);\n view.setUint32(cursor + 4, lo);\n cursor += 8;\n }\n}\nfunction encodeBigHeader(major, value) {\n const n = Number(value);\n if (n < 4294967296) {\n encodeHeader(major, n);\n return;\n }\n buf[cursor++] = (major << 5) | extendedFloat64;\n view.setBigUint64(cursor, value);\n cursor += 8;\n}\nfunction writeString(s) {\n const len = s.length;\n if (len <= 23) {\n const cached = stringEncodeCache.get(s);\n if (cached) {\n ensure(cached.bytes.length);\n buf.set(cached.bytes, cursor);\n cursor += cached.bytes.length;\n cached.epoch = encodeCacheEpoch;\n return;\n }\n const start = cursor;\n writeStringUncached(s, len);\n const end = cursor;\n const bytes = Uint8Array.prototype.slice.call(buf, start, end);\n if (stringEncodeCache.size >= STRING_CACHE_MAX) {\n if (encodeCacheSaturated) {\n return;\n }\n let evicted = 0;\n for (const [key, entry] of stringEncodeCache) {\n if (evicted >= 1024) {\n break;\n }\n if (entry.epoch !== encodeCacheEpoch) {\n stringEncodeCache.delete(key);\n ++evicted;\n }\n }\n if (evicted === 0) {\n encodeCacheSaturated = true;\n return;\n }\n }\n if (stringEncodeCache.size < STRING_CACHE_MAX) {\n stringEncodeCache.set(s, { epoch: encodeCacheEpoch, bytes });\n }\n return;\n }\n writeStringUncached(s, len);\n}\nfunction writeStringUncached(s, len) {\n if (USE_BUFFER) {\n const maxBytes = len * 3;\n ensure(maxBytes + 9);\n const byteLen = Buffer.byteLength(s);\n encodeHeader(majorUtf8String, byteLen);\n cursor += buf.write(s, cursor);\n }\n else {\n const maxBytes = len * 3;\n ensure(maxBytes + 9);\n const headerPos = cursor;\n const result = textEncoder.encodeInto(s, buf.subarray(headerPos + 9));\n const byteLen = result.written;\n let headerSize;\n if (byteLen < 24) {\n headerSize = 1;\n }\n else if (byteLen < 256) {\n headerSize = 2;\n }\n else if (byteLen < 65536) {\n headerSize = 3;\n }\n else if (byteLen < 4294967296) {\n headerSize = 5;\n }\n else {\n headerSize = 9;\n }\n if (headerSize < 9) {\n buf.copyWithin(headerPos + headerSize, headerPos + 9, headerPos + 9 + byteLen);\n }\n cursor = headerPos;\n encodeHeader(majorUtf8String, byteLen);\n cursor += byteLen;\n }\n}\nfunction writeFloat64(value) {\n ensure(9);\n buf[cursor++] = (majorSpecial << 5) | extendedFloat64;\n view.setFloat64(cursor, value);\n cursor += 8;\n}\nfunction writeInteger(value) {\n ensure(9);\n const nonNegative = value >= 0;\n const major = nonNegative ? majorUint64 : majorNegativeInt64;\n const abs = nonNegative ? value : -value - 1;\n encodeHeader(major, abs);\n}\nfunction writeBigInt(value) {\n const nonNegative = value >= 0;\n const major = nonNegative ? majorUint64 : majorNegativeInt64;\n const abs = nonNegative ? value : -value - BigInt(1);\n if (abs < BigInt(\"18446744073709551616\")) {\n ensure(9);\n encodeBigHeader(major, abs);\n }\n else {\n const binaryStr = abs.toString(2);\n const byteLen = Math.ceil(binaryStr.length / 8);\n const bigIntBytes = new Uint8Array(byteLen);\n let b = abs;\n for (let i = byteLen - 1; i >= 0; --i) {\n bigIntBytes[i] = Number(b & BigInt(255));\n b >>= BigInt(8);\n }\n ensure(byteLen + 16);\n buf[cursor++] = nonNegative ? 0b110_00010 : 0b110_00011;\n encodeHeader(majorUnstructuredByteString, byteLen);\n buf.set(bigIntBytes, cursor);\n cursor += byteLen;\n }\n}\nfunction writeBytes(data) {\n ensure(data.length + 9);\n encodeHeader(majorUnstructuredByteString, data.length);\n buf.set(data, cursor);\n cursor += data.length;\n}\nfunction writeTag(tagValue, innerValue) {\n ensure(9);\n if (typeof tagValue === \"bigint\") {\n encodeBigHeader(majorTag, tagValue);\n }\n else {\n encodeHeader(majorTag, tagValue);\n }\n writeUntypedValue(innerValue);\n}\nfunction writeNumericValue(nv) {\n let str = nv.string;\n let expOffset = BigInt(0);\n const eIndex = str.search(/[eE]/);\n if (eIndex !== -1) {\n expOffset = BigInt(str.slice(eIndex + 1));\n str = str.slice(0, eIndex);\n }\n const decimalIndex = str.indexOf(\".\");\n const fractionDigits = decimalIndex === -1 ? 0 : str.length - decimalIndex - 1;\n const exponent = expOffset - BigInt(fractionDigits);\n const mantissa = BigInt(str.replace(\".\", \"\"));\n ensure(9);\n buf[cursor++] = 0b110_00100;\n encodeHeader(majorList, 2);\n ensure(9);\n if (exponent >= -0x20000000000000n && exponent <= 0x1fffffffffffffn) {\n writeInteger(Number(exponent));\n }\n else {\n writeBigInt(exponent);\n }\n writeBigInt(mantissa);\n}\nfunction writeTimestamp(date) {\n ensure(18);\n encodeHeader(majorTag, 1);\n const epochSecs = date.getTime() / 1000;\n if (Number.isInteger(epochSecs)) {\n writeInteger(epochSecs);\n }\n else {\n writeFloat64(epochSecs);\n }\n}\n","import { hasOwn } from \"@smithy/core/transport\";\nimport { SerdeContext } from \"@smithy/core/protocols\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { NumericValue, _parseEpochTimestamp, nv } from \"@smithy/core/serde\";\nimport { extendedFloat16, extendedFloat32, extendedFloat64, extendedOneByte, majorList, majorMap, majorNegativeInt64, majorSpecial, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, minorIndefinite, specialFalse, specialNull, specialTrue, specialUndefined, } from \"../cbor-types\";\nimport { loadCborStructIterator } from \"./CborShapeSerializer2\";\nexport class CborShapeDeserializer2 extends SerdeContext {\n read(schema, bytes) {\n payload = bytes;\n isBuffer = USE_BUFFER && bytes instanceof Buffer;\n dataView = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);\n pos = 0;\n end = bytes.length;\n cacheEpoch = (cacheEpoch + 1) & 0xffff;\n return readValue(NormalizedSchema.of(schema));\n }\n readValue(_schema, value) {\n return transformObject(NormalizedSchema.of(_schema), value);\n }\n}\nconst USE_BUFFER = typeof Buffer !== \"undefined\";\nconst textDecoder = new TextDecoder();\nlet payload = new Uint8Array(0);\nlet isBuffer = false;\nlet dataView = new DataView(new ArrayBuffer(0));\nlet pos = 0;\nlet end = 0;\nconst STRING_CACHE_SIZE = 2048;\nconst stringCache = new Array(STRING_CACHE_SIZE);\nconst stringCacheEpochs = new Uint16Array(STRING_CACHE_SIZE);\nlet cacheEpoch = 0;\nfunction readValue(ns) {\n if (pos >= end) {\n throw new Error(\"unexpected end of CBOR payload.\");\n }\n const major = (payload[pos] & 0b1110_0000) >> 5;\n const minor = payload[pos] & 0b0001_1111;\n if (minor === minorIndefinite && major >= 2 && major <= 5) {\n return readIndefinite(ns, major);\n }\n switch (major) {\n case majorUint64:\n return readUnsignedInt();\n case majorNegativeInt64:\n return readNegativeInt();\n case majorUnstructuredByteString:\n return readByteString();\n case majorUtf8String:\n return readUtf8String();\n case majorList:\n return readList(ns);\n case majorMap:\n return readMap(ns);\n case majorTag:\n return readTag(ns);\n case majorSpecial:\n return readSpecial();\n default:\n throw new Error(`unexpected CBOR major type ${major}.`);\n }\n}\nfunction readList(ns) {\n const count = decodeCount();\n const memberSchema = ns.isListSchema() ? ns.getValueSchema() : ns;\n const list = Array(count);\n for (let i = 0; i < count; ++i) {\n list[i] = readValue(memberSchema);\n }\n return list;\n}\nfunction readMap(ns) {\n const count = decodeCount();\n if (ns.isStructSchema()) {\n const startPos = pos;\n return readStruct(ns, count, startPos);\n }\n const valueSchema = ns.isMapSchema() ? ns.getValueSchema() : ns;\n const map = {};\n for (let i = 0; i < count; ++i) {\n const key = readUtf8String();\n map[key] = readValue(valueSchema);\n }\n return map;\n}\nfunction readStruct(ns, count, startPos) {\n const isUnion = ns.isUnionSchema();\n const cache = loadCborStructIterator(ns);\n const { memberSchemas, encodedKeys, memberNames } = cache;\n const z = encodedKeys.length;\n const result = {};\n let unknownKey;\n let unknownValue;\n let unknownCount = 0;\n let hasType = false;\n let hint = 0;\n for (let i = 0; i < count; ++i) {\n const matchIdx = matchStructKey(encodedKeys, z, hint);\n if (matchIdx >= 0) {\n hint = matchIdx + 1;\n if (hint >= z) {\n hint = 0;\n }\n const val = readValue(memberSchemas[matchIdx]);\n if (val != null) {\n result[memberNames[matchIdx]] = val;\n }\n }\n else {\n const key = readUtf8String();\n const val = readValue(NormalizedSchema.of(15));\n if (key === \"__type\" && typeof val === \"string\") {\n hasType = true;\n }\n else {\n unknownKey = key;\n unknownValue = val;\n ++unknownCount;\n }\n }\n }\n if (isUnion) {\n let resultEmpty = true;\n for (const _ in result) {\n if (!hasOwn(result, _))\n continue;\n resultEmpty = false;\n break;\n }\n if (resultEmpty && unknownCount === 1) {\n result.$unknown = [unknownKey, unknownValue];\n }\n }\n else if (hasType) {\n pos = startPos;\n const docSchema = NormalizedSchema.of(15);\n for (let i = 0; i < count; ++i) {\n const key = readUtf8String();\n const val = readValue(docSchema);\n if (!(key in result)) {\n result[key] = val;\n }\n }\n }\n return result;\n}\nfunction readTag(ns) {\n const tagNum = decodeArgument();\n const tagNumber = typeof tagNum === \"bigint\" ? Number(tagNum) : tagNum;\n if (tagNumber === 1) {\n const docSchema = NormalizedSchema.of(15);\n const epochValue = readValue(docSchema);\n return _parseEpochTimestamp(epochValue);\n }\n if (tagNumber === 2 || tagNumber === 3) {\n const byteStr = readByteString();\n let b = BigInt(0);\n for (let i = 0; i < byteStr.length; ++i) {\n b = (b << BigInt(8)) | BigInt(byteStr[i]);\n }\n return tagNumber === 3 ? -b - BigInt(1) : b;\n }\n if (tagNumber === 4) {\n const docSchema = NormalizedSchema.of(15);\n const pair = readValue(docSchema);\n const [rawExponent, mantissa] = pair;\n const normalizer = mantissa < 0 ? -1 : 1;\n const absMantissa = BigInt(normalizer) * BigInt(mantissa);\n const mantissaDigits = String(absMantissa);\n const sign = mantissa < 0 ? \"-\" : \"\";\n let numericString;\n const isSmallExponent = typeof rawExponent === \"number\" && Math.abs(rawExponent) <= 2 ** 28;\n if (isSmallExponent) {\n const exponent = rawExponent;\n const mantissaStr = \"0\".repeat(Math.abs(exponent) + 1) + mantissaDigits;\n numericString =\n exponent === 0\n ? mantissaStr\n : mantissaStr.slice(0, mantissaStr.length + exponent) + \".\" + mantissaStr.slice(exponent);\n numericString = numericString.replace(/^0+/g, \"\");\n if (numericString === \"\") {\n numericString = \"0\";\n }\n if (numericString[0] === \".\") {\n numericString = \"0\" + numericString;\n }\n numericString = sign + numericString;\n }\n else {\n const bigExponent = BigInt(rawExponent);\n if (mantissaDigits.length === 1) {\n numericString = sign + mantissaDigits + \"e\" + String(bigExponent);\n }\n else {\n const adjustedExp = bigExponent + BigInt(mantissaDigits.length - 1);\n numericString = sign + mantissaDigits[0] + \".\" + mantissaDigits.slice(1) + \"e\" + String(adjustedExp);\n }\n }\n return nv(numericString);\n }\n const docSchema = NormalizedSchema.of(15);\n const innerValue = readValue(docSchema);\n return { tag: castBigInt(tagNum), value: innerValue };\n}\nfunction readIndefinite(ns, major) {\n switch (major) {\n case majorUtf8String:\n return readUtf8StringIndefinite();\n case majorUnstructuredByteString:\n return readByteStringIndefinite();\n case majorList:\n return readListIndefinite(ns);\n case majorMap:\n return readMapIndefinite(ns);\n default:\n throw new Error(`unexpected indefinite length for major ${major}.`);\n }\n}\nfunction readUtf8StringIndefinite() {\n pos += 1;\n const chunks = [];\n let totalLen = 0;\n while (pos < end) {\n if (payload[pos] === 0xff) {\n pos += 1;\n const combined = new Uint8Array(totalLen);\n let offset = 0;\n for (let i = 0; i < chunks.length; ++i) {\n combined.set(chunks[i], offset);\n offset += chunks[i].length;\n }\n if (USE_BUFFER) {\n return Buffer.from(combined.buffer, combined.byteOffset, combined.byteLength).toString(\"utf-8\");\n }\n return textDecoder.decode(combined);\n }\n const bytes = readByteString();\n chunks.push(bytes);\n totalLen += bytes.length;\n }\n throw new Error(\"expected break marker.\");\n}\nfunction readByteStringIndefinite() {\n pos += 1;\n const chunks = [];\n let totalLen = 0;\n while (pos < end) {\n if (payload[pos] === 0xff) {\n pos += 1;\n const combined = new Uint8Array(totalLen);\n let offset = 0;\n for (let i = 0; i < chunks.length; ++i) {\n combined.set(chunks[i], offset);\n offset += chunks[i].length;\n }\n return combined;\n }\n const bytes = readByteString();\n chunks.push(bytes);\n totalLen += bytes.length;\n }\n throw new Error(\"expected break marker.\");\n}\nfunction readListIndefinite(ns) {\n pos += 1;\n const memberSchema = ns.isListSchema() ? ns.getValueSchema() : ns;\n const list = [];\n while (pos < end) {\n if (payload[pos] === 0xff) {\n pos += 1;\n return list;\n }\n list.push(readValue(memberSchema));\n }\n throw new Error(\"expected break marker.\");\n}\nfunction readMapIndefinite(ns) {\n pos += 1;\n if (ns.isStructSchema()) {\n const cache = loadCborStructIterator(ns);\n const { memberSchemas, encodedKeys, memberNames } = cache;\n const z = encodedKeys.length;\n const isUnion = ns.isUnionSchema();\n const result = {};\n let unknownKey;\n let unknownValue;\n let unknownCount = 0;\n let hint = 0;\n while (pos < end) {\n if (payload[pos] === 0xff) {\n pos += 1;\n if (isUnion) {\n let resultEmpty = true;\n for (const _ in result) {\n if (!hasOwn(result, _))\n continue;\n resultEmpty = false;\n break;\n }\n if (resultEmpty && unknownCount === 1) {\n result.$unknown = [unknownKey, unknownValue];\n }\n }\n return result;\n }\n const matchIdx = matchStructKey(encodedKeys, z, hint);\n if (matchIdx >= 0) {\n hint = matchIdx + 1;\n if (hint >= z) {\n hint = 0;\n }\n const val = readValue(memberSchemas[matchIdx]);\n if (val != null) {\n result[memberNames[matchIdx]] = val;\n }\n }\n else {\n const key = readUtf8String();\n const val = readValue(NormalizedSchema.of(15));\n if (key !== \"__type\") {\n unknownKey = key;\n unknownValue = val;\n ++unknownCount;\n }\n }\n }\n throw new Error(\"expected break marker.\");\n }\n const valueSchema = ns.isMapSchema() ? ns.getValueSchema() : ns;\n const map = {};\n while (pos < end) {\n if (payload[pos] === 0xff) {\n pos += 1;\n return map;\n }\n const key = readUtf8String();\n map[key] = readValue(valueSchema);\n }\n throw new Error(\"expected break marker.\");\n}\nfunction matchStructKey(encodedKeys, z, hint) {\n const hintKey = encodedKeys[hint];\n if (pos + hintKey.length <= end && bytesMatch(pos, hintKey)) {\n pos += hintKey.length;\n return hint;\n }\n for (let i = 0; i < z; ++i) {\n if (i === hint) {\n continue;\n }\n const ek = encodedKeys[i];\n if (pos + ek.length <= end && bytesMatch(pos, ek)) {\n pos += ek.length;\n return i;\n }\n }\n return -1;\n}\nfunction bytesMatch(at, expected) {\n const len = expected.length;\n if (payload[at] !== expected[0]) {\n return false;\n }\n for (let i = 1; i < len; ++i) {\n if (payload[at + i] !== expected[i]) {\n return false;\n }\n }\n return true;\n}\nfunction decodeArgument() {\n const minor = payload[pos] & 0b0001_1111;\n if (minor < 24) {\n pos += 1;\n return minor;\n }\n switch (minor) {\n case extendedOneByte:\n if (end - pos < 2) {\n overflow(1);\n }\n pos += 2;\n return payload[pos - 1];\n case extendedFloat16:\n if (end - pos < 3) {\n overflow(2);\n }\n pos += 3;\n return dataView.getUint16(pos - 2);\n case extendedFloat32:\n if (end - pos < 5) {\n overflow(4);\n }\n pos += 5;\n return dataView.getUint32(pos - 4);\n case extendedFloat64: {\n if (end - pos < 9) {\n overflow(8);\n }\n pos += 9;\n const hi = dataView.getUint32(pos - 8);\n if (hi < 0x00200000) {\n return hi * 4294967296 + dataView.getUint32(pos - 4);\n }\n return dataView.getBigUint64(pos - 8);\n }\n default:\n throw new Error(`unexpected minor value ${minor}.`);\n }\n}\nfunction decodeCount() {\n const val = decodeArgument();\n return typeof val === \"bigint\" ? Number(val) : val;\n}\nfunction readUnsignedInt() {\n const val = decodeArgument();\n return castBigInt(val);\n}\nfunction readNegativeInt() {\n const val = decodeArgument();\n if (typeof val === \"bigint\") {\n return BigInt(-1) - val;\n }\n return -1 - val;\n}\nfunction readByteString() {\n const length = decodeCount();\n if (end - pos < length) {\n overflow(length);\n }\n const start = pos;\n pos += length;\n return payload.subarray(start, start + length);\n}\nfunction readUtf8String() {\n const length = decodeCount();\n if (end - pos < length) {\n overflow(length);\n }\n const start = pos;\n pos += length;\n if (length < 24) {\n return decodeUtf8Cached(start, length);\n }\n if (isBuffer) {\n return payload.toString(\"utf-8\", start, start + length);\n }\n return textDecoder.decode(payload.subarray(start, start + length));\n}\nfunction decodeUtf8Cached(at, length) {\n let h = length;\n for (let i = 0; i < length; ++i) {\n h = (h * 31 + payload[at + i]) | 0;\n }\n const slot = (h >>> 0) & (STRING_CACHE_SIZE - 1);\n const cached = stringCache[slot];\n if (cached !== undefined && cached.length === length) {\n let match = true;\n for (let i = 0; i < length; ++i) {\n if (cached.charCodeAt(i) !== payload[at + i]) {\n match = false;\n break;\n }\n }\n if (match) {\n stringCacheEpochs[slot] = cacheEpoch;\n return cached;\n }\n }\n const result = isBuffer\n ? payload.toString(\"utf-8\", at, at + length)\n : textDecoder.decode(payload.subarray(at, at + length));\n if (stringCacheEpochs[slot] !== cacheEpoch) {\n stringCache[slot] = result;\n stringCacheEpochs[slot] = cacheEpoch;\n }\n return result;\n}\nfunction readSpecial() {\n const p = pos;\n const minor = payload[p] & 0b0001_1111;\n switch (minor) {\n case specialTrue:\n pos = p + 1;\n return true;\n case specialFalse:\n pos = p + 1;\n return false;\n case specialNull:\n pos = p + 1;\n return null;\n case specialUndefined:\n pos = p + 1;\n return null;\n case extendedFloat16: {\n if (end - p < 3) {\n overflow(2);\n }\n pos = p + 3;\n return bytesToFloat16(payload[p + 1], payload[p + 2]);\n }\n case extendedFloat32: {\n if (end - p < 5) {\n overflow(4);\n }\n pos = p + 5;\n return dataView.getFloat32(p + 1);\n }\n case extendedFloat64: {\n if (end - p < 9) {\n overflow(8);\n }\n pos = p + 9;\n return dataView.getFloat64(p + 1);\n }\n default:\n throw new Error(`unexpected minor value ${minor} for major 7.`);\n }\n}\nfunction bytesToFloat16(a, b) {\n const sign = a >> 7;\n const exponent = (a & 0b0111_1100) >> 2;\n const fraction = ((a & 0b0000_0011) << 8) | b;\n const scalar = sign === 0 ? 1 : -1;\n if (exponent === 0b00000) {\n if (fraction === 0) {\n return 0;\n }\n return scalar * (Math.pow(2, 1 - 15) * (fraction / 1024));\n }\n else if (exponent === 0b11111) {\n if (fraction === 0) {\n return scalar * Infinity;\n }\n return NaN;\n }\n return scalar * (Math.pow(2, exponent - 15) * (1 + fraction / 1024));\n}\nfunction castBigInt(value) {\n if (typeof value === \"number\") {\n return value;\n }\n const num = Number(value);\n if (Number.MIN_SAFE_INTEGER <= num && num <= Number.MAX_SAFE_INTEGER) {\n return num;\n }\n return value;\n}\nfunction overflow(n) {\n throw new Error(`CBOR: length ${n} greater than remaining buffer length.`);\n}\nfunction transformObject(ns, value) {\n if (ns.isTimestampSchema()) {\n if (typeof value === \"number\") {\n return _parseEpochTimestamp(value);\n }\n if (typeof value === \"object\" && value !== null) {\n if (value.tag === 1 && \"value\" in value) {\n return _parseEpochTimestamp(value.value);\n }\n }\n }\n if (ns.isBlobSchema()) {\n return value;\n }\n if (typeof value === \"undefined\" ||\n typeof value === \"boolean\" ||\n typeof value === \"number\" ||\n typeof value === \"string\" ||\n typeof value === \"bigint\" ||\n typeof value === \"symbol\") {\n return value;\n }\n if (typeof value !== \"object\" || value === null) {\n return value;\n }\n if (\"byteLength\" in value) {\n return value;\n }\n if (value instanceof Date) {\n return value;\n }\n if (value instanceof NumericValue) {\n return value;\n }\n if (ns.isDocumentSchema()) {\n return value;\n }\n if (ns.isListSchema()) {\n const memberSchema = ns.getValueSchema();\n const out = [];\n for (const item of value) {\n out.push(transformObject(memberSchema, item));\n }\n return out;\n }\n const newObject = {};\n if (ns.isMapSchema()) {\n const targetSchema = ns.getValueSchema();\n for (const key in value) {\n if (!hasOwn(value, key))\n continue;\n newObject[key] = transformObject(targetSchema, value[key]);\n }\n }\n else if (ns.isStructSchema()) {\n const isUnion = ns.isUnionSchema();\n let keys;\n if (isUnion) {\n keys = new Set();\n for (const k in value) {\n if (!hasOwn(value, k))\n continue;\n if (k !== \"__type\") {\n keys.add(k);\n }\n }\n }\n for (const [key, memberSchema] of ns.structIterator()) {\n if (isUnion) {\n keys.delete(key);\n }\n if (value[key] != null) {\n newObject[key] = transformObject(memberSchema, value[key]);\n }\n }\n if (isUnion && keys?.size === 1) {\n let newObjectEmpty = true;\n for (const _ in newObject) {\n if (!hasOwn(newObject, _))\n continue;\n newObjectEmpty = false;\n break;\n }\n if (newObjectEmpty) {\n const k = keys.values().next().value;\n newObject.$unknown = [k, value[k]];\n }\n }\n else if (typeof value.__type === \"string\") {\n for (const k in value) {\n if (!hasOwn(value, k))\n continue;\n if (!(k in newObject)) {\n newObject[k] = value[k];\n }\n }\n }\n }\n return newObject;\n}\n","import { SerdeContext } from \"@smithy/core/protocols\";\nimport { CborShapeSerializer2 } from \"./codec-v2/CborShapeSerializer2\";\nimport { CborShapeDeserializer2 } from \"./codec-v2/CborShapeDeserializer2\";\nexport class CborCodec extends SerdeContext {\n createSerializer() {\n const serializer = new CborShapeSerializer2();\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new CborShapeDeserializer2();\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n}\n","import { RpcProtocol } from \"@smithy/core/protocols\";\nimport { NormalizedSchema, TypeRegistry, deref } from \"@smithy/core/schema\";\nimport { getSmithyContext } from \"@smithy/core/transport\";\nimport { CborCodec } from \"./CborCodec\";\nimport { loadSmithyRpcV2CborErrorCode } from \"./parseCborBody\";\nexport class SmithyRpcV2CborProtocol extends RpcProtocol {\n codec = new CborCodec();\n serializer = this.codec.createSerializer();\n deserializer = this.codec.createDeserializer();\n constructor({ defaultNamespace, errorTypeRegistries, }) {\n super({ defaultNamespace, errorTypeRegistries });\n }\n getShapeId() {\n return \"smithy.protocols#rpcv2Cbor\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n Object.assign(request.headers, {\n \"content-type\": this.getDefaultContentType(),\n \"smithy-protocol\": \"rpc-v2-cbor\",\n accept: this.getDefaultContentType(),\n });\n if (deref(operationSchema.input) === \"unit\") {\n delete request.body;\n delete request.headers[\"content-type\"];\n }\n else {\n if (!request.body) {\n this.serializer.write(15, {});\n request.body = this.serializer.flush();\n }\n if (request.body instanceof Uint8Array) {\n request.headers[\"content-length\"] = String(request.body.byteLength);\n }\n }\n const { service, operation } = getSmithyContext(context);\n const path = `/service/${service}/operation/${operation}`;\n if (request.path.endsWith(\"/\")) {\n request.path += path.slice(1);\n }\n else {\n request.path += path;\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? \"Unknown\";\n const preferredNamespaces = [\"*\"];\n const { defaultNamespace } = this.options;\n preferredNamespaces.unshift(defaultNamespace);\n const [namespace, errorShapeName] = (() => {\n if (errorIdentifier.includes(\"#\")) {\n return errorIdentifier.split(\"#\");\n }\n return [undefined, errorIdentifier];\n })();\n if (namespace) {\n preferredNamespaces.unshift(namespace);\n }\n const errorMetadata = {\n $metadata: metadata,\n $fault: response.statusCode < 500 ? \"client\" : \"server\",\n };\n const preferredRegistries = [this.compositeErrorRegistry];\n if (namespace) {\n preferredRegistries.push(TypeRegistry.for(namespace));\n }\n preferredRegistries.push(TypeRegistry.for(defaultNamespace));\n const [errorSchema, ErrorCtor, errorMode] = this.resolveError(errorShapeName, preferredNamespaces, preferredRegistries);\n if (errorMode === \"native\" || errorMode === \"synthetic\") {\n if (dataObject.Message) {\n dataObject.message = dataObject.Message;\n }\n const error = errorMode === \"synthetic\" ? new ErrorCtor({ name: errorShapeName }) : new Error(errorShapeName);\n throw Object.assign(error, errorMetadata, dataObject);\n }\n const ns = NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const exception = new ErrorCtor({});\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n output[name] = this.deserializer.readValue(member, dataObject[name]);\n }\n throw Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output);\n }\n getDefaultContentType() {\n return \"application/cbor\";\n }\n}\n","export { cbor } from \"./cbor\";\nexport { tag, tagSymbol } from \"./cbor-types\";\nexport { buildHttpRpcRequest, checkCborResponse, dateToTag, loadSmithyRpcV2CborErrorCode, parseCborBody, parseCborErrorBody, } from \"./parseCborBody\";\nexport { SmithyRpcV2CborProtocol } from \"./SmithyRpcV2CborProtocol\";\nexport { CborCodec } from \"./CborCodec\";\nexport { CborShapeSerializer } from \"./codec-v1/CborShapeSerializer\";\nexport { CborShapeDeserializer } from \"./codec-v1/CborShapeDeserializer\";\nexport { CborShapeSerializer2 } from \"./codec-v2/CborShapeSerializer2\";\nexport { CborShapeDeserializer2 } from \"./codec-v2/CborShapeDeserializer2\";\n","import { decorateServiceException } from \"@smithy/core/client\";\nimport { NormalizedSchema, TypeRegistry } from \"@smithy/core/schema\";\nexport class ProtocolLib {\n queryCompat;\n errorRegistry;\n constructor(queryCompat = false) {\n this.queryCompat = queryCompat;\n }\n resolveRestContentType(defaultContentType, inputSchema) {\n const members = inputSchema.getMemberSchemas();\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n return mediaType;\n }\n else if (httpPayloadMember.isStringSchema()) {\n return \"text/plain\";\n }\n else if (httpPayloadMember.isBlobSchema()) {\n return \"application/octet-stream\";\n }\n else {\n return defaultContentType;\n }\n }\n else if (!inputSchema.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n const noPrefixHeaders = httpPrefixHeaders === void 0;\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && noPrefixHeaders;\n });\n if (hasBody) {\n return defaultContentType;\n }\n }\n }\n async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) {\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [, errorName] = errorIdentifier.split(\"#\");\n }\n const errorMetadata = {\n $metadata: metadata,\n $fault: response.statusCode < 500 ? \"client\" : \"server\",\n };\n if (!this.errorRegistry) {\n throw new Error(\"@aws-sdk/core/protocols - error handler not initialized.\");\n }\n try {\n const errorSchema = getErrorSchema?.(this.errorRegistry, errorName) ??\n this.errorRegistry.getSchema(errorIdentifier);\n return { errorSchema, errorMetadata };\n }\n catch (e) {\n dataObject.message = dataObject.message ?? dataObject.Message ?? \"UnknownError\";\n const synthetic = this.errorRegistry;\n const baseExceptionSchema = synthetic.getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;\n throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject);\n }\n const d = dataObject;\n const message = d?.message ?? d?.Message ?? d?.Error?.Message ?? d?.Error?.message;\n throw this.decorateServiceException(Object.assign(new Error(message), {\n name: errorName,\n }, errorMetadata), dataObject);\n }\n }\n compose(composite, errorIdentifier, defaultNamespace) {\n let namespace = defaultNamespace;\n if (errorIdentifier.includes(\"#\")) {\n [namespace] = errorIdentifier.split(\"#\");\n }\n const staticRegistry = TypeRegistry.for(namespace);\n const defaultSyntheticRegistry = TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + defaultNamespace);\n composite.copyFrom(staticRegistry);\n composite.copyFrom(defaultSyntheticRegistry);\n this.errorRegistry = composite;\n }\n decorateServiceException(exception, additions = {}) {\n if (this.queryCompat) {\n const msg = exception.Message ?? additions.Message;\n const error = decorateServiceException(exception, additions);\n if (msg) {\n error.message = msg;\n }\n const errorObj = error.Error ?? {};\n errorObj.Type = error.Error?.Type;\n errorObj.Code = error.Error?.Code;\n errorObj.Message = error.Error?.message ?? error.Error?.Message ?? msg;\n error.Error = errorObj;\n const reqId = error.$metadata.requestId;\n if (reqId) {\n error.RequestId = reqId;\n }\n return error;\n }\n return decorateServiceException(exception, additions);\n }\n setQueryCompatError(output, response) {\n const queryErrorHeader = response.headers?.[\"x-amzn-query-error\"];\n if (output !== undefined && queryErrorHeader != null) {\n const [Code, Type] = queryErrorHeader.split(\";\");\n const keys = Object.keys(output);\n const Error = {\n Code,\n Type,\n };\n output.Code = Code;\n output.Type = Type;\n for (let i = 0; i < keys.length; i++) {\n const k = keys[i];\n Error[k === \"message\" ? \"Message\" : k] = output[k];\n }\n delete Error.__type;\n output.Error = Error;\n }\n }\n queryCompatOutput(queryCompatErrorData, errorData) {\n if (queryCompatErrorData.Error) {\n errorData.Error = queryCompatErrorData.Error;\n }\n if (queryCompatErrorData.Type) {\n errorData.Type = queryCompatErrorData.Type;\n }\n if (queryCompatErrorData.Code) {\n errorData.Code = queryCompatErrorData.Code;\n }\n }\n findQueryCompatibleError(registry, errorName) {\n try {\n return registry.getSchema(errorName);\n }\n catch (e) {\n return registry.find((schema) => NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName);\n }\n }\n}\n","import { loadSmithyRpcV2CborErrorCode, SmithyRpcV2CborProtocol } from \"@smithy/core/cbor\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { ProtocolLib } from \"../ProtocolLib\";\nexport class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol {\n awsQueryCompatible;\n mixin;\n constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }) {\n super({ defaultNamespace, errorTypeRegistries });\n this.awsQueryCompatible = !!awsQueryCompatible;\n this.mixin = new ProtocolLib(this.awsQueryCompatible);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (this.awsQueryCompatible) {\n request.headers[\"x-amzn-query-mode\"] = \"true\";\n }\n return request;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n if (this.awsQueryCompatible) {\n this.mixin.setQueryCompatError(dataObject, response);\n }\n const errorName = (() => {\n const compatHeader = response.headers[\"x-amzn-query-error\"];\n if (compatHeader && this.awsQueryCompatible) {\n return compatHeader.split(\";\")[0];\n }\n return loadSmithyRpcV2CborErrorCode(response, dataObject) ?? \"Unknown\";\n })();\n this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace);\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);\n const ns = NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"UnknownError\";\n const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor({});\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n if (dataObject[name] != null) {\n output[name] = this.deserializer.readValue(member, dataObject[name]);\n }\n }\n if (this.awsQueryCompatible) {\n this.mixin.queryCompatOutput(dataObject, output);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n}\n","import { JsonCodec2, loadJsonRpcErrorCode, RpcProtocol } from \"@smithy/core/protocols\";\nimport { deref, NormalizedSchema } from \"@smithy/core/schema\";\nimport { ProtocolLib } from \"../ProtocolLib\";\nexport class AwsJsonRpcProtocol extends RpcProtocol {\n serializer;\n deserializer;\n serviceTarget;\n codec;\n mixin;\n awsQueryCompatible;\n constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {\n super({\n defaultNamespace,\n errorTypeRegistries,\n });\n this.serviceTarget = serviceTarget;\n this.codec =\n jsonCodec ??\n new JsonCodec2({\n timestampFormat: {\n useTrait: true,\n default: 7,\n },\n jsonName: false,\n });\n this.serializer = this.codec.createSerializer();\n this.deserializer = this.codec.createDeserializer();\n this.awsQueryCompatible = !!awsQueryCompatible;\n this.mixin = new ProtocolLib(this.awsQueryCompatible);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n request.headers[\"content-type\"] = `application/x-amz-json-${this.getJsonRpcVersion()}`;\n request.headers[\"x-amz-target\"] = `${this.serviceTarget}.${operationSchema.name}`;\n if (this.awsQueryCompatible) {\n request.headers[\"x-amzn-query-mode\"] = \"true\";\n }\n if (deref(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"{}\";\n }\n return request;\n }\n getPayloadCodec() {\n return this.codec;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const { awsQueryCompatible } = this;\n if (awsQueryCompatible) {\n this.mixin.setQueryCompatError(dataObject, response);\n }\n const errorIdentifier = loadJsonRpcErrorCode(response, dataObject, awsQueryCompatible) ?? \"Unknown\";\n this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);\n const ns = NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"UnknownError\";\n const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor({});\n const output = {};\n const errorDeserializer = this.codec.createDeserializer();\n for (const [name, member] of ns.structIterator()) {\n if (dataObject[name] != null) {\n output[name] = errorDeserializer.readObject(member, dataObject[name]);\n }\n }\n if (awsQueryCompatible) {\n this.mixin.queryCompatOutput(dataObject, output);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n}\n","import { AwsJsonRpcProtocol } from \"./AwsJsonRpcProtocol\";\nexport class AwsJson1_0Protocol extends AwsJsonRpcProtocol {\n constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {\n super({\n defaultNamespace,\n errorTypeRegistries,\n serviceTarget,\n awsQueryCompatible,\n jsonCodec,\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_0\";\n }\n getJsonRpcVersion() {\n return \"1.0\";\n }\n getDefaultContentType() {\n return \"application/x-amz-json-1.0\";\n }\n}\n","import { AwsJsonRpcProtocol } from \"./AwsJsonRpcProtocol\";\nexport class AwsJson1_1Protocol extends AwsJsonRpcProtocol {\n constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) {\n super({\n defaultNamespace,\n errorTypeRegistries,\n serviceTarget,\n awsQueryCompatible,\n jsonCodec,\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_1\";\n }\n getJsonRpcVersion() {\n return \"1.1\";\n }\n getDefaultContentType() {\n return \"application/x-amz-json-1.1\";\n }\n}\n","import { HttpBindingProtocol, HttpInterceptingShapeDeserializer, HttpInterceptingShapeSerializer, JsonCodec2, loadRestJsonErrorCode, } from \"@smithy/core/protocols\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { ProtocolLib } from \"../ProtocolLib\";\nexport class AwsRestJsonProtocol extends HttpBindingProtocol {\n serializer;\n deserializer;\n codec;\n mixin = new ProtocolLib();\n constructor({ defaultNamespace, errorTypeRegistries, jsonCodec, }) {\n super({\n defaultNamespace,\n errorTypeRegistries,\n });\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: 7,\n },\n httpBindings: true,\n jsonName: true,\n };\n this.codec = jsonCodec ?? new JsonCodec2(settings);\n this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getShapeId() {\n return \"aws.protocols#restJson1\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n setSerdeContext(serdeContext) {\n this.codec.setSerdeContext(serdeContext);\n super.setSerdeContext(serdeContext);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = NormalizedSchema.of(operationSchema.input);\n if (!request.headers[\"content-type\"]) {\n const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);\n if (contentType) {\n request.headers[\"content-type\"] = contentType;\n }\n }\n if (request.body == null && request.headers[\"content-type\"] === this.getDefaultContentType()) {\n request.body = \"{}\";\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const output = await super.deserializeResponse(operationSchema, context, response);\n const outputSchema = NormalizedSchema.of(operationSchema.output);\n for (const [name, member] of outputSchema.structIterator()) {\n if (member.getMemberTraits().httpPayload && !(name in output)) {\n output[name] = null;\n }\n }\n return output;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);\n const ns = NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"UnknownError\";\n const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor({});\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n const errorDeserializer = this.codec.createDeserializer();\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = errorDeserializer.readObject(member, dataObject[target]);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n getDefaultContentType() {\n return \"application/json\";\n }\n}\n","const ATTR_ESCAPE_RE = /[&<>\"]/g;\nconst ATTR_ESCAPE_MAP = {\n \"&\": \"&amp;\",\n \"<\": \"&lt;\",\n \">\": \"&gt;\",\n '\"': \"&quot;\",\n};\nfunction escapeAttribute(value) {\n return value.replace(ATTR_ESCAPE_RE, (ch) => ATTR_ESCAPE_MAP[ch]);\n}\n\nconst ELEMENT_ESCAPE_RE = /[&\"'<>\\r\\n\\u0085\\u2028]/g;\nconst ELEMENT_ESCAPE_MAP = {\n \"&\": \"&amp;\",\n '\"': \"&quot;\",\n \"'\": \"&apos;\",\n \"<\": \"&lt;\",\n \">\": \"&gt;\",\n \"\\r\": \"&#x0D;\",\n \"\\n\": \"&#x0A;\",\n \"\\u0085\": \"&#x85;\",\n \"\\u2028\": \"&#x2028;\",\n};\nfunction escapeElement(value) {\n return value.replace(ELEMENT_ESCAPE_RE, (ch) => ELEMENT_ESCAPE_MAP[ch]);\n}\n\nclass XmlText {\n value;\n constructor(value) {\n this.value = value;\n }\n toString() {\n return escapeElement(\"\" + this.value);\n }\n}\n\nclass XmlNode {\n name;\n children;\n attributes = {};\n static of(name, childText, withName) {\n const node = new XmlNode(name);\n if (childText !== undefined) {\n node.addChildNode(new XmlText(childText));\n }\n if (withName !== undefined) {\n node.withName(withName);\n }\n return node;\n }\n constructor(name, children = []) {\n this.name = name;\n this.children = children;\n }\n withName(name) {\n this.name = name;\n return this;\n }\n addAttribute(name, value) {\n this.attributes[name] = value;\n return this;\n }\n addChildNode(child) {\n this.children.push(child);\n return this;\n }\n removeAttribute(name) {\n delete this.attributes[name];\n return this;\n }\n n(name) {\n this.name = name;\n return this;\n }\n c(child) {\n this.children.push(child);\n return this;\n }\n a(name, value) {\n if (value != null) {\n this.attributes[name] = value;\n }\n return this;\n }\n cc(input, field, withName = field) {\n if (input[field] != null) {\n const node = XmlNode.of(field, input[field]).withName(withName);\n this.c(node);\n }\n }\n l(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n nodes.map((node) => {\n node.withName(memberName);\n this.c(node);\n });\n }\n }\n lc(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n const containerNode = new XmlNode(memberName);\n nodes.map((node) => {\n containerNode.c(node);\n });\n this.c(containerNode);\n }\n }\n toString() {\n const hasChildren = Boolean(this.children.length);\n let xmlText = `<${this.name}`;\n const attributes = this.attributes;\n for (const attributeName of Object.keys(attributes)) {\n const attribute = attributes[attributeName];\n if (attribute != null) {\n xmlText += ` ${attributeName}=\"${escapeAttribute(\"\" + attribute)}\"`;\n }\n }\n return (xmlText += !hasChildren ? \"/>\" : `>${this.children.map((c) => c.toString()).join(\"\")}</${this.name}>`);\n }\n}\n\nfunction writeKey(obj) {\n Object.defineProperty(obj, \"__proto__\", { value: undefined, writable: true, enumerable: true, configurable: true });\n}\nfunction parseXML(xml) {\n const state = new AwsXmlParser(xml);\n return state.parse();\n}\nclass AwsXmlParser {\n x;\n i = 0;\n z;\n constructor(x) {\n this.x = x;\n this.x = x.replace(/\\r\\n?/g, \"\\n\");\n this.z = this.x.length;\n }\n parse() {\n const p = this;\n const { z } = p;\n while (p.i < z) {\n p.trim();\n if (p.i >= z) {\n break;\n }\n if (p.isNext(\"<?\")) {\n p.readTo(\"?>\");\n p.trim();\n }\n else if (p.isNext(\"<!--\")) {\n p.readTo(\"-->\");\n p.trim();\n }\n else if (p.isNext(\"<!DOCTYPE\", false)) {\n p.skipDoctype();\n p.trim();\n }\n else if (p.x[p.i] === \"<\") {\n const root = p.parseTag();\n return { [root.tag]: root.value };\n }\n else {\n throw new Error(\"@aws-sdk XML parse error: unexpected content.\");\n }\n }\n throw new Error(\"@aws-sdk XML parse error: no root element.\");\n }\n isNext(s, caseSensitive = true) {\n const p = this;\n if (caseSensitive) {\n return p.x.startsWith(s, p.i);\n }\n return p.x.toLowerCase().startsWith(s.toLowerCase(), p.i);\n }\n readTo(stop) {\n const p = this;\n const _i = p.x.indexOf(stop, p.i);\n if (_i === -1) {\n throw new Error(`@aws-sdk XML parse error: expected \"${stop}\" not found.`);\n }\n const result = p.x.slice(p.i, _i);\n p.i = _i + stop.length;\n return result;\n }\n trim() {\n const p = this;\n while (p.i < p.z && \" \\t\\r\\n\".includes(p.x[p.i])) {\n ++p.i;\n }\n }\n readAttrValue() {\n const p = this;\n const quote = p.x[p.i];\n ++p.i;\n let value = \"\";\n while (p.i < p.z && p.x[p.i] !== quote) {\n value += p.x[p.i++];\n }\n ++p.i;\n return p.decodeEntities(value);\n }\n parseTag() {\n const p = this;\n ++p.i;\n let tag = \"\";\n while (p.i < p.z && !\" \\t\\r\\n>/\".includes(p.x[p.i])) {\n tag += p.x[p.i++];\n }\n let hasAttrs = false;\n const attrs = {};\n while (p.i < p.z) {\n p.trim();\n if (\">/\".includes(p.x[p.i])) {\n break;\n }\n let name = \"\";\n while (p.i < p.z && !\"= \\t\\r\\n>/?\".includes(p.x[p.i])) {\n name += p.x[p.i++];\n }\n p.trim();\n if (p.x[p.i] !== \"=\") {\n break;\n }\n ++p.i;\n p.trim();\n if (name === \"__proto__\") {\n writeKey(attrs);\n }\n attrs[name] = p.readAttrValue();\n hasAttrs = true;\n }\n if (p.i >= p.z) {\n throw new Error(\"@aws-sdk XML parse error: unexpected end of input.\");\n }\n if (p.x[p.i] === \"/\") {\n ++p.i;\n if (p.i >= p.z || p.x[p.i] !== \">\") {\n throw new Error(\"@aws-sdk XML parse error: expected > at the end of self-closing tag.\");\n }\n ++p.i;\n return { tag, value: hasAttrs ? attrs : \"\" };\n }\n if (p.x[p.i] !== \">\") {\n throw new Error(\"@aws-sdk XML parse error: expected > at the end of opening tag.\");\n }\n ++p.i;\n const textParts = [];\n const childTags = [];\n let hasElementChild = false;\n while (p.i < p.z) {\n if (p.isNext(\"</\")) {\n break;\n }\n if (p.x[p.i] === \"<\") {\n if (p.isNext(\"<!--\")) {\n p.readTo(\"-->\");\n }\n else if (p.isNext(\"<![CDATA[\")) {\n p.i += 9;\n textParts.push(p.readTo(\"]]>\"));\n }\n else if (p.isNext(\"<?\")) {\n p.readTo(\"?>\");\n }\n else {\n hasElementChild = true;\n childTags.push(p.parseTag());\n }\n }\n else {\n let text = \"\";\n while (p.i < p.z && p.x[p.i] !== \"<\") {\n text += p.x[p.i++];\n }\n textParts.push(p.decodeEntities(text));\n }\n }\n if (!p.isNext(\"</\")) {\n throw new Error(`@aws-sdk XML parse error: missing closing tag </${tag}>.`);\n }\n p.i += 2;\n const closeTag = p.readTo(\">\").trim();\n if (closeTag !== tag) {\n throw new Error(`@aws-sdk XML parse error: mismatched tags <${tag}> and </${closeTag}>.`);\n }\n if (!hasAttrs && textParts.length === 0 && !hasElementChild) {\n return { tag, value: \"\" };\n }\n if (!hasAttrs && !hasElementChild) {\n const text = textParts.length === 1 ? textParts[0] : textParts.join(\"\");\n if (text.trim() === \"\" && text.includes(\"\\n\")) {\n return { tag, value: \"\" };\n }\n return { tag, value: text };\n }\n const obj = {};\n for (const text of textParts) {\n if (text.trim() === \"\" && text.includes(\"\\n\")) {\n continue;\n }\n obj[\"#text\"] = \"#text\" in obj ? obj[\"#text\"] + text : text;\n }\n for (const child of childTags) {\n if (child.tag === \"__proto__\") {\n writeKey(obj);\n }\n if (child.tag in obj) {\n if (Array.isArray(obj[child.tag])) {\n obj[child.tag].push(child.value);\n }\n else {\n obj[child.tag] = [obj[child.tag], child.value];\n }\n }\n else {\n obj[child.tag] = child.value;\n }\n }\n for (const [k, v] of Object.entries(attrs)) {\n if (k === \"__proto__\") {\n writeKey(obj);\n }\n obj[k] = v;\n }\n return { tag, value: obj };\n }\n static ENTITIES = {\n amp: \"&\",\n lt: \"<\",\n gt: \">\",\n quot: '\"',\n apos: \"'\",\n };\n skipDoctype() {\n const p = this;\n p.i += 9;\n let depth = 0;\n while (p.i < p.z) {\n const c = p.x[p.i];\n if (c === \"[\") {\n ++depth;\n }\n else if (c === \"]\") {\n --depth;\n }\n else if (c === \">\" && depth === 0) {\n ++p.i;\n return;\n }\n ++p.i;\n }\n throw new Error(\"@aws-sdk XML parse error: unclosed DOCTYPE.\");\n }\n decodeEntities(s) {\n return s.replace(/&(?:#x([0-9a-fA-F]{1,6})|#(\\d{1,7})|([a-zA-Z][a-zA-Z0-9]{0,30}));/g, (_, hex, dec, named) => {\n if (hex) {\n return String.fromCharCode(parseInt(hex, 16));\n }\n if (dec) {\n return String.fromCharCode(parseInt(dec, 10));\n }\n return AwsXmlParser.ENTITIES[named] ?? \"\";\n });\n }\n}\n\nexports.XmlNode = XmlNode;\nexports.XmlText = XmlText;\nexports.parseXML = parseXML;\n","export class SerdeContextConfig {\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n}\n","export class UnionSerde {\n from;\n to;\n keys;\n constructor(from, to) {\n this.from = from;\n this.to = to;\n const keys = Object.keys(this.from);\n const set = new Set(keys);\n set.delete(\"__type\");\n this.keys = set;\n }\n mark(key) {\n this.keys.delete(key);\n }\n hasUnknown() {\n return this.keys.size === 1 && Object.keys(this.to).length === 0;\n }\n writeUnknown() {\n if (this.hasUnknown()) {\n const k = this.keys.values().next().value;\n const v = this.from[k];\n this.to.$unknown = [k, v];\n }\n }\n}\n","export function writeKey(obj) {\n Object.defineProperty(obj, \"__proto__\", { value: undefined, writable: true, enumerable: true, configurable: true });\n}\n","import { parseXML } from \"@aws-sdk/xml-builder\";\nimport { getValueFromTextNode } from \"@smithy/core/client\";\nimport { FromStringShapeDeserializer } from \"@smithy/core/protocols\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { toUtf8 } from \"@smithy/core/serde\";\nimport { SerdeContextConfig } from \"../ConfigurableSerdeContext\";\nimport { UnionSerde } from \"../UnionSerde\";\nimport { writeKey } from \"../writeKey\";\nexport class XmlShapeDeserializer extends SerdeContextConfig {\n settings;\n stringDeserializer;\n constructor(settings) {\n super();\n this.settings = settings;\n this.stringDeserializer = new FromStringShapeDeserializer(settings);\n }\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n this.stringDeserializer.setSerdeContext(serdeContext);\n }\n read(schema, bytes, key) {\n const ns = NormalizedSchema.of(schema);\n const memberSchemas = ns.getMemberSchemas();\n const isEventPayload = ns.isStructSchema() &&\n ns.isMemberSchema() &&\n !!Object.values(memberSchemas).find((memberNs) => {\n return !!memberNs.getMemberTraits().eventPayload;\n });\n if (isEventPayload) {\n const output = {};\n const memberName = Object.keys(memberSchemas)[0];\n const eventMemberSchema = memberSchemas[memberName];\n if (eventMemberSchema.isBlobSchema()) {\n output[memberName] = bytes;\n }\n else {\n output[memberName] = this.read(memberSchemas[memberName], bytes);\n }\n return output;\n }\n const xmlString = (this.serdeContext?.utf8Encoder ?? toUtf8)(bytes);\n const parsedObject = this.parseXml(xmlString);\n return this.readSchema(schema, key ? parsedObject[key] : parsedObject);\n }\n readSchema(_schema, value) {\n const ns = NormalizedSchema.of(_schema);\n if (ns.isUnitSchema()) {\n return;\n }\n const traits = ns.getMergedTraits();\n if (ns.isListSchema() && !Array.isArray(value)) {\n return this.readSchema(ns, [value]);\n }\n if (value == null) {\n return value;\n }\n if (typeof value === \"object\") {\n const flat = !!traits.xmlFlattened;\n if (ns.isListSchema()) {\n const listValue = ns.getValueSchema();\n const buffer = [];\n const sourceKey = listValue.getMergedTraits().xmlName ?? \"member\";\n const source = flat ? value : (value[0] ?? value)[sourceKey];\n if (source == null) {\n return buffer;\n }\n const sourceArray = Array.isArray(source) ? source : [source];\n for (const v of sourceArray) {\n buffer.push(this.readSchema(listValue, v));\n }\n return buffer;\n }\n const buffer = {};\n if (ns.isMapSchema()) {\n const keyNs = ns.getKeySchema();\n const memberNs = ns.getValueSchema();\n let entries;\n if (flat) {\n entries = Array.isArray(value) ? value : [value];\n }\n else {\n entries = Array.isArray(value.entry) ? value.entry : [value.entry];\n }\n const keyProperty = keyNs.getMergedTraits().xmlName ?? \"key\";\n const valueProperty = memberNs.getMergedTraits().xmlName ?? \"value\";\n for (const entry of entries) {\n const key = entry[keyProperty];\n const value = entry[valueProperty];\n if (key === \"__proto__\") {\n writeKey(buffer);\n }\n buffer[key] = this.readSchema(memberNs, value);\n }\n return buffer;\n }\n if (ns.isStructSchema()) {\n const union = ns.isUnionSchema();\n let unionSerde;\n if (union) {\n unionSerde = new UnionSerde(value, buffer);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const memberTraits = memberSchema.getMergedTraits();\n const xmlObjectKey = !memberTraits.httpPayload\n ? (memberSchema.getMemberTraits().xmlName ?? memberName)\n : (memberTraits.xmlName ?? memberSchema.getName());\n if (union) {\n unionSerde.mark(xmlObjectKey);\n }\n if (value[xmlObjectKey] != null) {\n buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);\n }\n }\n if (union) {\n unionSerde.writeUnknown();\n }\n return buffer;\n }\n if (ns.isDocumentSchema()) {\n return value;\n }\n throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);\n }\n if (ns.isListSchema()) {\n return [];\n }\n if (ns.isMapSchema() || ns.isStructSchema()) {\n return {};\n }\n return this.stringDeserializer.read(ns, value);\n }\n parseXml(xml) {\n if (xml.length) {\n let parsedObj;\n try {\n parsedObj = parseXML(xml);\n }\n catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: xml,\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return getValueFromTextNode(parsedObjToReturn);\n }\n return {};\n }\n}\n","import { determineTimestampFormat, extendedEncodeURIComponent } from \"@smithy/core/protocols\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { dateToUtcString } from \"@smithy/core/serde\";\nimport { generateIdempotencyToken, NumericValue, toBase64 } from \"@smithy/core/serde\";\nimport { SerdeContextConfig } from \"../ConfigurableSerdeContext\";\nexport class QueryShapeSerializer extends SerdeContextConfig {\n settings;\n buffer;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n write(schema, value, prefix = \"\") {\n if (this.buffer === undefined) {\n this.buffer = \"\";\n }\n const ns = NormalizedSchema.of(schema);\n if (prefix && !prefix.endsWith(\".\")) {\n prefix += \".\";\n }\n if (ns.isBlobSchema()) {\n if (typeof value === \"string\" || value instanceof Uint8Array) {\n this.writeKey(prefix);\n this.writeValue((this.serdeContext?.base64Encoder ?? toBase64)(value));\n }\n }\n else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n else if (ns.isIdempotencyToken()) {\n this.writeKey(prefix);\n this.writeValue(generateIdempotencyToken());\n }\n }\n else if (ns.isBigIntegerSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n }\n else if (ns.isBigDecimalSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(value instanceof NumericValue ? value.string : String(value));\n }\n }\n else if (ns.isTimestampSchema()) {\n if (value instanceof Date) {\n this.writeKey(prefix);\n const format = determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n this.writeValue(value.toISOString().replace(\".000Z\", \"Z\"));\n break;\n case 6:\n this.writeValue(dateToUtcString(value));\n break;\n case 7:\n this.writeValue(String(value.getTime() / 1000));\n break;\n }\n }\n }\n else if (ns.isDocumentSchema()) {\n if (Array.isArray(value)) {\n this.write(64 | 15, value, prefix);\n }\n else if (value instanceof Date) {\n this.write(4, value, prefix);\n }\n else if (value instanceof Uint8Array) {\n this.write(21, value, prefix);\n }\n else if (value && typeof value === \"object\") {\n this.write(128 | 15, value, prefix);\n }\n else {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n }\n else if (ns.isListSchema()) {\n if (Array.isArray(value)) {\n if (value.length === 0) {\n if (this.settings.serializeEmptyLists) {\n this.writeKey(prefix);\n this.writeValue(\"\");\n }\n }\n else {\n const member = ns.getValueSchema();\n const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const item of value) {\n if (item == null) {\n continue;\n }\n const traits = member.getMergedTraits();\n const suffix = this.getKey(\"member\", traits.xmlName, traits.ec2QueryName);\n const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;\n this.write(member, item, key);\n ++i;\n }\n }\n }\n }\n else if (ns.isMapSchema()) {\n if (value && typeof value === \"object\") {\n const keySchema = ns.getKeySchema();\n const memberSchema = ns.getValueSchema();\n const flat = ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const k in value) {\n const v = value[k];\n if (v == null) {\n continue;\n }\n const keyTraits = keySchema.getMergedTraits();\n const keySuffix = this.getKey(\"key\", keyTraits.xmlName, keyTraits.ec2QueryName);\n const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;\n const valTraits = memberSchema.getMergedTraits();\n const valueSuffix = this.getKey(\"value\", valTraits.xmlName, valTraits.ec2QueryName);\n const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;\n this.write(keySchema, k, key);\n this.write(memberSchema, v, valueKey);\n ++i;\n }\n }\n }\n else if (ns.isStructSchema()) {\n if (value && typeof value === \"object\") {\n let didWriteMember = false;\n for (const [memberName, member] of ns.structIterator()) {\n if (value[memberName] == null && !member.isIdempotencyToken()) {\n continue;\n }\n const traits = member.getMergedTraits();\n const suffix = this.getKey(memberName, traits.xmlName, traits.ec2QueryName, \"struct\");\n const key = `${prefix}${suffix}`;\n this.write(member, value[memberName], key);\n didWriteMember = true;\n }\n if (!didWriteMember && ns.isUnionSchema()) {\n const { $unknown } = value;\n if (Array.isArray($unknown)) {\n const [k, v] = $unknown;\n const key = `${prefix}${k}`;\n this.write(15, v, key);\n }\n }\n }\n }\n else if (ns.isUnitSchema()) {\n }\n else {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`);\n }\n }\n flush() {\n if (this.buffer === undefined) {\n throw new Error(\"@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.\");\n }\n const str = this.buffer;\n delete this.buffer;\n return str;\n }\n getKey(memberName, xmlName, ec2QueryName, keySource) {\n const { ec2, capitalizeKeys } = this.settings;\n if (ec2 && ec2QueryName) {\n return ec2QueryName;\n }\n const key = xmlName ?? memberName;\n if (capitalizeKeys && keySource === \"struct\") {\n return key[0].toUpperCase() + key.slice(1);\n }\n return key;\n }\n writeKey(key) {\n if (key.endsWith(\".\")) {\n key = key.slice(0, key.length - 1);\n }\n this.buffer += `&${extendedEncodeURIComponent(key)}=`;\n }\n writeValue(value) {\n this.buffer += extendedEncodeURIComponent(value);\n }\n}\n","import { collectBody, RpcProtocol } from \"@smithy/core/protocols\";\nimport { deref, NormalizedSchema } from \"@smithy/core/schema\";\nimport { ProtocolLib } from \"../ProtocolLib\";\nimport { XmlShapeDeserializer } from \"../xml/XmlShapeDeserializer\";\nimport { QueryShapeSerializer } from \"./QueryShapeSerializer\";\nexport class AwsQueryProtocol extends RpcProtocol {\n options;\n serializer;\n deserializer;\n mixin = new ProtocolLib();\n constructor(options) {\n super({\n defaultNamespace: options.defaultNamespace,\n errorTypeRegistries: options.errorTypeRegistries,\n });\n this.options = options;\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: 5,\n },\n httpBindings: false,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n serializeEmptyLists: true,\n };\n this.serializer = new QueryShapeSerializer(settings);\n this.deserializer = new XmlShapeDeserializer(settings);\n }\n getShapeId() {\n return \"aws.protocols#awsQuery\";\n }\n setSerdeContext(serdeContext) {\n this.serializer.setSerdeContext(serdeContext);\n this.deserializer.setSerdeContext(serdeContext);\n }\n getPayloadCodec() {\n throw new Error(\"AWSQuery protocol has no payload codec.\");\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n request.headers[\"content-type\"] = \"application/x-www-form-urlencoded\";\n if (deref(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"\";\n }\n const action = operationSchema.name.split(\"#\")[1] ?? operationSchema.name;\n request.body = `Action=${action}&Version=${this.options.version}` + request.body;\n if (request.body.endsWith(\"&\")) {\n request.body = request.body.slice(-1);\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(15, bytes));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n }\n for (const header in response.headers) {\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const shortName = operationSchema.name.split(\"#\")[1] ?? operationSchema.name;\n const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? shortName + \"Result\" : undefined;\n const bytes = await collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));\n }\n dataObject.$metadata = this.deserializeMetadata(response);\n return dataObject;\n }\n useNestedResult() {\n return true;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? \"Unknown\";\n this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);\n const errorData = this.loadQueryError(dataObject) ?? {};\n const message = this.loadQueryErrorMessage(dataObject);\n errorData.message = message;\n errorData.Error = {\n Type: errorData.Type,\n Code: errorData.Code,\n Message: message,\n };\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError);\n const ns = NormalizedSchema.of(errorSchema);\n const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor({});\n const output = {\n Type: errorData.Error.Type,\n Code: errorData.Error.Code,\n Error: errorData.Error,\n };\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = errorData[target] ?? dataObject[target];\n output[name] = this.deserializer.readSchema(member, value);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n loadQueryErrorCode(output, data) {\n const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;\n if (code !== undefined) {\n return code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n }\n loadQueryError(data) {\n return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;\n }\n loadQueryErrorMessage(data) {\n const errorData = this.loadQueryError(data);\n return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? \"Unknown\";\n }\n getDefaultContentType() {\n return \"application/x-www-form-urlencoded\";\n }\n}\n","import { AwsQueryProtocol } from \"./AwsQueryProtocol\";\nexport class AwsEc2QueryProtocol extends AwsQueryProtocol {\n options;\n constructor(options) {\n super(options);\n this.options = options;\n const ec2Settings = {\n capitalizeKeys: true,\n flattenLists: true,\n serializeEmptyLists: false,\n ec2: true,\n };\n Object.assign(this.serializer.settings, ec2Settings);\n }\n getShapeId() {\n return \"aws.protocols#ec2Query\";\n }\n useNestedResult() {\n return false;\n }\n}\n","import { collectBody } from \"@smithy/core/protocols\";\nimport { toUtf8 } from \"@smithy/core/serde\";\nexport const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? toUtf8)(body));\n","import { parseXML } from \"@aws-sdk/xml-builder\";\nimport { getValueFromTextNode } from \"@smithy/core/client\";\nimport { collectBodyString } from \"../common\";\nexport const parseXmlBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n let parsedObj;\n try {\n parsedObj = parseXML(encoded);\n }\n catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded,\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return getValueFromTextNode(parsedObjToReturn);\n }\n return {};\n});\nexport const parseXmlErrorBody = async (errorBody, context) => {\n const value = await parseXmlBody(errorBody, context);\n if (value.Error) {\n value.Error.message = value.Error.message ?? value.Error.Message;\n }\n return value;\n};\nexport const loadRestXmlErrorCode = (output, data) => {\n if (data?.Error?.Code !== undefined) {\n return data.Error.Code;\n }\n if (data?.Code !== undefined) {\n return data.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n};\n","import { XmlNode, XmlText } from \"@aws-sdk/xml-builder\";\nimport { determineTimestampFormat } from \"@smithy/core/protocols\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { dateToUtcString } from \"@smithy/core/serde\";\nimport { fromBase64, generateIdempotencyToken, NumericValue, toBase64 } from \"@smithy/core/serde\";\nimport { SerdeContextConfig } from \"../ConfigurableSerdeContext\";\nexport class XmlShapeSerializer extends SerdeContextConfig {\n settings;\n stringBuffer;\n byteBuffer;\n buffer;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n write(schema, value) {\n const ns = NormalizedSchema.of(schema);\n if (ns.isStringSchema() && typeof value === \"string\") {\n this.stringBuffer = value;\n }\n else if (ns.isBlobSchema()) {\n this.byteBuffer =\n \"byteLength\" in value\n ? value\n : (this.serdeContext?.base64Decoder ?? fromBase64)(value);\n }\n else {\n this.buffer = this.writeStruct(ns, value, undefined);\n const traits = ns.getMergedTraits();\n if (traits.httpPayload && !traits.xmlName) {\n this.buffer.withName(ns.getName());\n }\n }\n }\n flush() {\n if (this.byteBuffer !== undefined) {\n const bytes = this.byteBuffer;\n delete this.byteBuffer;\n return bytes;\n }\n if (this.stringBuffer !== undefined) {\n const str = this.stringBuffer;\n delete this.stringBuffer;\n return str;\n }\n const buffer = this.buffer;\n if (this.settings.xmlNamespace) {\n if (!buffer?.attributes?.[\"xmlns\"]) {\n buffer.addAttribute(\"xmlns\", this.settings.xmlNamespace);\n }\n }\n delete this.buffer;\n return buffer.toString();\n }\n writeStruct(ns, value, parentXmlns) {\n const traits = ns.getMergedTraits();\n const name = ns.isMemberSchema() && !traits.httpPayload\n ? (ns.getMemberTraits().xmlName ?? ns.getMemberName())\n : (traits.xmlName ?? ns.getName());\n if (!name || !ns.isStructSchema()) {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(true)}.`);\n }\n const structXmlNode = XmlNode.of(name);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const val = value[memberName];\n if (val != null || memberSchema.isIdempotencyToken()) {\n if (memberSchema.getMergedTraits().xmlAttribute) {\n structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val));\n continue;\n }\n if (memberSchema.isListSchema()) {\n this.writeList(memberSchema, val, structXmlNode, xmlns);\n }\n else if (memberSchema.isMapSchema()) {\n this.writeMap(memberSchema, val, structXmlNode, xmlns);\n }\n else if (memberSchema.isStructSchema()) {\n structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));\n }\n else {\n const memberNode = XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());\n this.writeSimpleInto(memberSchema, val, memberNode, xmlns);\n structXmlNode.addChildNode(memberNode);\n }\n }\n }\n const { $unknown } = value;\n if ($unknown && ns.isUnionSchema() && Array.isArray($unknown) && Object.keys(value).length === 1) {\n const [k, v] = $unknown;\n const node = XmlNode.of(k);\n if (typeof v !== \"string\") {\n if (value instanceof XmlNode || value instanceof XmlText) {\n structXmlNode.addChildNode(value);\n }\n else {\n throw new Error(`@aws-sdk - $unknown union member in XML requires ` +\n `value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`);\n }\n }\n this.writeSimpleInto(0, v, node, xmlns);\n structXmlNode.addChildNode(node);\n }\n if (xmlns) {\n structXmlNode.addAttribute(xmlnsAttr, xmlns);\n }\n return structXmlNode;\n }\n writeList(listMember, array, container, parentXmlns) {\n if (!listMember.isMemberSchema()) {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`);\n }\n const listTraits = listMember.getMergedTraits();\n const listValueSchema = listMember.getValueSchema();\n const listValueTraits = listValueSchema.getMergedTraits();\n const sparse = !!listValueTraits.sparse;\n const flat = !!listTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);\n const writeItem = (container, value) => {\n if (listValueSchema.isListSchema()) {\n this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container, xmlns);\n }\n else if (listValueSchema.isMapSchema()) {\n this.writeMap(listValueSchema, value, container, xmlns);\n }\n else if (listValueSchema.isStructSchema()) {\n const struct = this.writeStruct(listValueSchema, value, xmlns);\n container.addChildNode(struct.withName(flat ? (listTraits.xmlName ?? listMember.getMemberName()) : (listValueTraits.xmlName ?? \"member\")));\n }\n else {\n const listItemNode = XmlNode.of(flat ? (listTraits.xmlName ?? listMember.getMemberName()) : (listValueTraits.xmlName ?? \"member\"));\n this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);\n container.addChildNode(listItemNode);\n }\n };\n if (flat) {\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(container, value);\n }\n }\n }\n else {\n const listNode = XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());\n if (xmlns) {\n listNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(listNode, value);\n }\n }\n container.addChildNode(listNode);\n }\n }\n writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {\n if (!mapMember.isMemberSchema()) {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`);\n }\n const mapTraits = mapMember.getMergedTraits();\n const mapKeySchema = mapMember.getKeySchema();\n const mapKeyTraits = mapKeySchema.getMergedTraits();\n const keyTag = mapKeyTraits.xmlName ?? \"key\";\n const mapValueSchema = mapMember.getValueSchema();\n const mapValueTraits = mapValueSchema.getMergedTraits();\n const valueTag = mapValueTraits.xmlName ?? \"value\";\n const sparse = !!mapValueTraits.sparse;\n const flat = !!mapTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);\n const addKeyValue = (entry, key, val) => {\n const keyNode = XmlNode.of(keyTag, key);\n const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);\n if (keyXmlns) {\n keyNode.addAttribute(keyXmlnsAttr, keyXmlns);\n }\n entry.addChildNode(keyNode);\n let valueNode = XmlNode.of(valueTag);\n if (mapValueSchema.isListSchema()) {\n this.writeList(mapValueSchema, val, valueNode, xmlns);\n }\n else if (mapValueSchema.isMapSchema()) {\n this.writeMap(mapValueSchema, val, valueNode, xmlns, true);\n }\n else if (mapValueSchema.isStructSchema()) {\n valueNode = this.writeStruct(mapValueSchema, val, xmlns);\n }\n else {\n this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);\n }\n entry.addChildNode(valueNode);\n };\n if (flat) {\n for (const key in map) {\n const val = map[key];\n if (sparse || val != null) {\n const entry = XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n addKeyValue(entry, key, val);\n container.addChildNode(entry);\n }\n }\n }\n else {\n let mapNode;\n if (!containerIsMap) {\n mapNode = XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n if (xmlns) {\n mapNode.addAttribute(xmlnsAttr, xmlns);\n }\n container.addChildNode(mapNode);\n }\n for (const key in map) {\n const val = map[key];\n if (sparse || val != null) {\n const entry = XmlNode.of(\"entry\");\n addKeyValue(entry, key, val);\n (containerIsMap ? container : mapNode).addChildNode(entry);\n }\n }\n }\n }\n writeSimple(_schema, value) {\n if (null === value) {\n throw new Error(\"@aws-sdk/core/protocols - (XML serializer) cannot write null value.\");\n }\n const ns = NormalizedSchema.of(_schema);\n let nodeContents = null;\n if (value && typeof value === \"object\") {\n if (ns.isBlobSchema()) {\n nodeContents = (this.serdeContext?.base64Encoder ?? toBase64)(value);\n }\n else if (ns.isTimestampSchema() && value instanceof Date) {\n const format = determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n nodeContents = value.toISOString().replace(\".000Z\", \"Z\");\n break;\n case 6:\n nodeContents = dateToUtcString(value);\n break;\n case 7:\n nodeContents = String(value.getTime() / 1000);\n break;\n default:\n console.warn(\"Missing timestamp format, using http date\", value);\n nodeContents = dateToUtcString(value);\n break;\n }\n }\n else if (ns.isBigDecimalSchema() && value) {\n if (value instanceof NumericValue) {\n return value.string;\n }\n return String(value);\n }\n else if (ns.isMapSchema() || ns.isListSchema()) {\n throw new Error(\"@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.\");\n }\n else {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`);\n }\n }\n if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {\n nodeContents = String(value);\n }\n if (ns.isStringSchema()) {\n if (value === undefined && ns.isIdempotencyToken()) {\n nodeContents = generateIdempotencyToken();\n }\n else {\n nodeContents = String(value);\n }\n }\n if (nodeContents === null) {\n throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);\n }\n return nodeContents;\n }\n writeSimpleInto(_schema, value, into, parentXmlns) {\n const nodeContents = this.writeSimple(_schema, value);\n const ns = NormalizedSchema.of(_schema);\n const content = new XmlText(nodeContents);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n into.addAttribute(xmlnsAttr, xmlns);\n }\n into.addChildNode(content);\n }\n getXmlnsAttribute(ns, parentXmlns) {\n const traits = ns.getMergedTraits();\n const [prefix, xmlns] = traits.xmlNamespace ?? [];\n if (xmlns && xmlns !== parentXmlns) {\n return [prefix ? `xmlns:${prefix}` : \"xmlns\", xmlns];\n }\n return [void 0, void 0];\n }\n}\n","import { SerdeContextConfig } from \"../ConfigurableSerdeContext\";\nimport { XmlShapeDeserializer } from \"./XmlShapeDeserializer\";\nimport { XmlShapeSerializer } from \"./XmlShapeSerializer\";\nexport class XmlCodec extends SerdeContextConfig {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n createSerializer() {\n const serializer = new XmlShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new XmlShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n}\n","import { HttpBindingProtocol, HttpInterceptingShapeDeserializer, HttpInterceptingShapeSerializer, } from \"@smithy/core/protocols\";\nimport { NormalizedSchema } from \"@smithy/core/schema\";\nimport { ProtocolLib } from \"../ProtocolLib\";\nimport { loadRestXmlErrorCode } from \"./parseXmlBody\";\nimport { XmlCodec } from \"./XmlCodec\";\nexport class AwsRestXmlProtocol extends HttpBindingProtocol {\n codec;\n serializer;\n deserializer;\n mixin = new ProtocolLib();\n constructor(options) {\n super(options);\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: 5,\n },\n httpBindings: true,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n };\n this.codec = new XmlCodec(settings);\n this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getPayloadCodec() {\n return this.codec;\n }\n getShapeId() {\n return \"aws.protocols#restXml\";\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = NormalizedSchema.of(operationSchema.input);\n if (!request.headers[\"content-type\"]) {\n const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);\n if (contentType) {\n request.headers[\"content-type\"] = contentType;\n }\n }\n if (typeof request.body === \"string\" &&\n request.headers[\"content-type\"] === this.getDefaultContentType() &&\n !request.body.startsWith(\"<?xml \") &&\n !this.hasUnstructuredPayloadBinding(inputSchema)) {\n request.body = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>' + request.body;\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? \"Unknown\";\n this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);\n if (dataObject.Error && typeof dataObject.Error === \"object\") {\n for (const key of Object.keys(dataObject.Error)) {\n dataObject[key] = dataObject.Error[key];\n if (key.toLowerCase() === \"message\") {\n dataObject.message = dataObject.Error[key];\n }\n }\n }\n if (dataObject.RequestId && !metadata.requestId) {\n metadata.requestId = dataObject.RequestId;\n }\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);\n const ns = NormalizedSchema.of(errorSchema);\n const message = dataObject.Error?.message ??\n dataObject.Error?.Message ??\n dataObject.message ??\n dataObject.Message ??\n \"UnknownError\";\n const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor({});\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n const errorDeserializer = this.codec.createDeserializer();\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = dataObject.Error?.[target] ?? dataObject[target];\n output[name] = errorDeserializer.readSchema(member, value);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n getDefaultContentType() {\n return \"application/xml\";\n }\n hasUnstructuredPayloadBinding(ns) {\n for (const [, member] of ns.structIterator()) {\n if (member.getMergedTraits().httpPayload) {\n return !(member.isStructSchema() || member.isMapSchema() || member.isListSchema());\n }\n }\n return false;\n }\n}\n","import { expectUnion } from \"@smithy/core/serde\";\nexport const awsExpectUnion = (value) => {\n if (value == null) {\n return undefined;\n }\n if (typeof value === \"object\" && \"__type\" in value) {\n delete value.__type;\n }\n return expectUnion(value);\n};\n","export const _toStr = (val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\" || typeof val === \"bigint\") {\n const warning = new Error(`Received number ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n if (typeof val === \"boolean\") {\n const warning = new Error(`Received boolean ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n return val;\n};\nexport const _toBool = (val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\") {\n }\n if (typeof val === \"string\") {\n const lowercase = val.toLowerCase();\n if (val !== \"\" && lowercase !== \"false\" && lowercase !== \"true\") {\n const warning = new Error(`Received string \"${val}\" where a boolean was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n }\n return val !== \"\" && lowercase !== \"false\";\n }\n return val;\n};\nexport const _toNum = (val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"boolean\") {\n }\n if (typeof val === \"string\") {\n const num = Number(val);\n if (num.toString() !== val) {\n const warning = new Error(`Received string \"${val}\" where a number was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return val;\n }\n return num;\n }\n return val;\n};\n","export { AwsSmithyRpcV2CborProtocol } from \"./cbor/AwsSmithyRpcV2CborProtocol\";\nexport { AwsJson1_0Protocol } from \"./json/AwsJson1_0Protocol\";\nexport { AwsJson1_1Protocol } from \"./json/AwsJson1_1Protocol\";\nexport { AwsJsonRpcProtocol } from \"./json/AwsJsonRpcProtocol\";\nexport { AwsRestJsonProtocol } from \"./json/AwsRestJsonProtocol\";\nexport { JsonCodec, JsonCodec2, JsonShapeDeserializer, JsonShapeDeserializer2, JsonShapeSerializer, JsonShapeSerializer2, loadJsonRpcErrorCode, loadRestJsonErrorCode, parseJsonBody, parseJsonErrorBody, } from \"@smithy/core/protocols\";\nexport { AwsEc2QueryProtocol } from \"./query/AwsEc2QueryProtocol\";\nexport { AwsQueryProtocol } from \"./query/AwsQueryProtocol\";\nexport { QueryShapeSerializer } from \"./query/QueryShapeSerializer\";\nexport { AwsRestXmlProtocol } from \"./xml/AwsRestXmlProtocol\";\nexport { XmlCodec } from \"./xml/XmlCodec\";\nexport { XmlShapeDeserializer } from \"./xml/XmlShapeDeserializer\";\nexport { XmlShapeSerializer } from \"./xml/XmlShapeSerializer\";\nexport { parseXmlBody, parseXmlErrorBody, loadRestXmlErrorCode } from \"./xml/parseXmlBody\";\nexport { awsExpectUnion } from \"./json/awsExpectUnion\";\nexport { _toStr, _toBool, _toNum } from \"./coercing-serializers\";\n","import { BinaryDecisionDiagram } from \"@smithy/core/endpoints\";\nconst k = \"ref\";\nconst a = -1, b = true, c = \"isSet\", d = \"PartitionResult\", e = \"booleanEquals\", f = \"getAttr\", g = { [k]: \"Endpoint\" }, h = { [k]: d }, i = {}, j = [{ [k]: \"Region\" }];\nconst _data = {\n conditions: [\n [c, [g]],\n [c, j],\n [\"aws.partition\", j, d],\n [e, [{ [k]: \"UseFIPS\" }, b]],\n [e, [{ [k]: \"UseDualStack\" }, b]],\n [e, [{ fn: f, argv: [h, \"supportsDualStack\"] }, b]],\n [e, [{ fn: f, argv: [h, \"supportsFIPS\"] }, b]],\n [\"stringEquals\", [{ fn: f, argv: [h, \"name\"] }, \"aws-us-gov\"]]\n ],\n results: [\n [a],\n [a, \"Invalid Configuration: FIPS and custom endpoint are not supported\"],\n [a, \"Invalid Configuration: Dualstack and custom endpoint are not supported\"],\n [g, i],\n [\"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", i],\n [a, \"FIPS and DualStack are enabled, but this partition does not support one or both\"],\n [\"https://oidc.{Region}.amazonaws.com\", i],\n [\"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}\", i],\n [a, \"FIPS is enabled but this partition does not support FIPS\"],\n [\"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}\", i],\n [a, \"DualStack is enabled but this partition does not support DualStack\"],\n [\"https://oidc.{Region}.{PartitionResult#dnsSuffix}\", i],\n [a, \"Invalid Configuration: Missing Region\"]\n ]\n};\nconst root = 2;\nconst r = 100_000_000;\nconst nodes = new Int32Array([\n -1, 1, -1,\n 0, 13, 3,\n 1, 4, r + 12,\n 2, 5, r + 12,\n 3, 8, 6,\n 4, 7, r + 11,\n 5, r + 9, r + 10,\n 4, 11, 9,\n 6, 10, r + 8,\n 7, r + 6, r + 7,\n 5, 12, r + 5,\n 6, r + 4, r + 5,\n 3, r + 1, 14,\n 4, r + 2, r + 3,\n]);\nexport const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);\n","import { awsEndpointFunctions } from \"@aws-sdk/core/client\";\nimport { customEndpointFunctions, decideEndpoint, EndpointCache } from \"@smithy/core/endpoints\";\nimport { bdd } from \"./bdd\";\nconst cache = new EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nexport const defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => decideEndpoint(bdd, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\ncustomEndpointFunctions.aws = awsEndpointFunctions;\n","import { ServiceException as __ServiceException, } from \"@smithy/core/client\";\nexport { __ServiceException };\nexport class SSOOIDCServiceException extends __ServiceException {\n static shapeId = \"smithy.ts.sdk.synthetic.com.amazonaws.ssooidc#SSOOIDCServiceException\";\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);\n }\n}\n","import { SSOOIDCServiceException as __BaseException } from \"./SSOOIDCServiceException\";\nexport class AccessDeniedException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#AccessDeniedException\";\n name = \"AccessDeniedException\";\n $fault = \"client\";\n error;\n reason;\n error_description;\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, AccessDeniedException.prototype);\n this.error = opts.error;\n this.reason = opts.reason;\n this.error_description = opts.error_description;\n }\n}\nexport class AuthorizationPendingException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#AuthorizationPendingException\";\n name = \"AuthorizationPendingException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"AuthorizationPendingException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, AuthorizationPendingException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class ExpiredTokenException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#ExpiredTokenException\";\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ExpiredTokenException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InternalServerException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#InternalServerException\";\n name = \"InternalServerException\";\n $fault = \"server\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts,\n });\n Object.setPrototypeOf(this, InternalServerException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidClientException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#InvalidClientException\";\n name = \"InvalidClientException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidClientException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidGrantException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#InvalidGrantException\";\n name = \"InvalidGrantException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidGrantException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidGrantException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidRequestException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#InvalidRequestException\";\n name = \"InvalidRequestException\";\n $fault = \"client\";\n error;\n reason;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidRequestException.prototype);\n this.error = opts.error;\n this.reason = opts.reason;\n this.error_description = opts.error_description;\n }\n}\nexport class InvalidScopeException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#InvalidScopeException\";\n name = \"InvalidScopeException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"InvalidScopeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidScopeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class SlowDownException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#SlowDownException\";\n name = \"SlowDownException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"SlowDownException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, SlowDownException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class UnauthorizedClientException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#UnauthorizedClientException\";\n name = \"UnauthorizedClientException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"UnauthorizedClientException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnauthorizedClientException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\nexport class UnsupportedGrantTypeException extends __BaseException {\n static shapeId = \"com.amazonaws.ssooidc#UnsupportedGrantTypeException\";\n name = \"UnsupportedGrantTypeException\";\n $fault = \"client\";\n error;\n error_description;\n constructor(opts) {\n super({\n name: \"UnsupportedGrantTypeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);\n this.error = opts.error;\n this.error_description = opts.error_description;\n }\n}\n","const _ADE = \"AccessDeniedException\";\nconst _APE = \"AuthorizationPendingException\";\nconst _AT = \"AccessToken\";\nconst _CS = \"ClientSecret\";\nconst _CT = \"CreateToken\";\nconst _CTR = \"CreateTokenRequest\";\nconst _CTRr = \"CreateTokenResponse\";\nconst _CV = \"CodeVerifier\";\nconst _ETE = \"ExpiredTokenException\";\nconst _ICE = \"InvalidClientException\";\nconst _IGE = \"InvalidGrantException\";\nconst _IRE = \"InvalidRequestException\";\nconst _ISE = \"InternalServerException\";\nconst _ISEn = \"InvalidScopeException\";\nconst _IT = \"IdToken\";\nconst _RT = \"RefreshToken\";\nconst _SDE = \"SlowDownException\";\nconst _UCE = \"UnauthorizedClientException\";\nconst _UGTE = \"UnsupportedGrantTypeException\";\nconst _aT = \"accessToken\";\nconst _c = \"client\";\nconst _cI = \"clientId\";\nconst _cS = \"clientSecret\";\nconst _cV = \"codeVerifier\";\nconst _co = \"code\";\nconst _dC = \"deviceCode\";\nconst _e = \"error\";\nconst _eI = \"expiresIn\";\nconst _ed = \"error_description\";\nconst _gT = \"grantType\";\nconst _h = \"http\";\nconst _hE = \"httpError\";\nconst _iT = \"idToken\";\nconst _r = \"reason\";\nconst _rT = \"refreshToken\";\nconst _rU = \"redirectUri\";\nconst _s = \"smithy.ts.sdk.synthetic.com.amazonaws.ssooidc\";\nconst _sc = \"scope\";\nconst _se = \"server\";\nconst _tT = \"tokenType\";\nconst n0 = \"com.amazonaws.ssooidc\";\nimport { TypeRegistry } from \"@smithy/core/schema\";\nimport { AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, } from \"../models/errors\";\nimport { SSOOIDCServiceException } from \"../models/SSOOIDCServiceException\";\nconst _s_registry = new TypeRegistry(_s);\nexport var SSOOIDCServiceException$ = [-3, _s, \"SSOOIDCServiceException\", 0, [], []];\n_s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);\nconst n0_registry = new TypeRegistry(n0);\nexport var AccessDeniedException$ = [-3, n0, _ADE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _r, _ed],\n [0, 0, 0]\n];\nn0_registry.registerError(AccessDeniedException$, AccessDeniedException);\nexport var AuthorizationPendingException$ = [-3, n0, _APE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);\nexport var ExpiredTokenException$ = [-3, n0, _ETE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);\nexport var InternalServerException$ = [-3, n0, _ISE,\n { [_e]: _se, [_hE]: 500 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InternalServerException$, InternalServerException);\nexport var InvalidClientException$ = [-3, n0, _ICE,\n { [_e]: _c, [_hE]: 401 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InvalidClientException$, InvalidClientException);\nexport var InvalidGrantException$ = [-3, n0, _IGE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InvalidGrantException$, InvalidGrantException);\nexport var InvalidRequestException$ = [-3, n0, _IRE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _r, _ed],\n [0, 0, 0]\n];\nn0_registry.registerError(InvalidRequestException$, InvalidRequestException);\nexport var InvalidScopeException$ = [-3, n0, _ISEn,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(InvalidScopeException$, InvalidScopeException);\nexport var SlowDownException$ = [-3, n0, _SDE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(SlowDownException$, SlowDownException);\nexport var UnauthorizedClientException$ = [-3, n0, _UCE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);\nexport var UnsupportedGrantTypeException$ = [-3, n0, _UGTE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _ed],\n [0, 0]\n];\nn0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);\nexport const errorTypeRegistries = [\n _s_registry,\n n0_registry,\n];\nvar AccessToken = [0, n0, _AT, 8, 0];\nvar ClientSecret = [0, n0, _CS, 8, 0];\nvar CodeVerifier = [0, n0, _CV, 8, 0];\nvar IdToken = [0, n0, _IT, 8, 0];\nvar RefreshToken = [0, n0, _RT, 8, 0];\nexport var CreateTokenRequest$ = [3, n0, _CTR,\n 0,\n [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],\n [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], 3\n];\nexport var CreateTokenResponse$ = [3, n0, _CTRr,\n 0,\n [_aT, _tT, _eI, _rT, _iT],\n [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]\n];\nvar Scopes = 64 | 0;\nexport var CreateToken$ = [9, n0, _CT,\n { [_h]: [\"POST\", \"/token\", 200] }, () => CreateTokenRequest$, () => CreateTokenResponse$\n];\n","import { AwsSdkSigV4Signer } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { AwsRestJsonProtocol } from \"@aws-sdk/core/protocols\";\nimport { NoAuthSigner } from \"@smithy/core\";\nimport { Sha256 } from \"@smithy/core/checksum\";\nimport { NoOpLogger } from \"@smithy/core/client\";\nimport { parseUrl } from \"@smithy/core/protocols\";\nimport { fromBase64, fromUtf8, toBase64, toUtf8 } from \"@smithy/core/serde\";\nimport { defaultSSOOIDCHttpAuthSchemeProvider } from \"./auth/httpAuthSchemeProvider\";\nimport { defaultEndpointResolver } from \"./endpoint/endpointResolver\";\nimport { errorTypeRegistries } from \"./schemas/schemas_0\";\nexport const getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOOIDCHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new NoOpLogger(),\n protocol: config?.protocol ?? AwsRestJsonProtocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.ssooidc\",\n errorTypeRegistries,\n version: \"2019-06-10\",\n serviceTarget: \"AWSSSOOIDCService\",\n },\n serviceId: config?.serviceId ?? \"SSO OIDC\",\n sha256: config?.sha256 ?? Sha256,\n urlParser: config?.urlParser ?? parseUrl,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n };\n};\n","import packageInfo from \"../../../package.json\";\nimport { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from \"@aws-sdk/core/client\";\nimport { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from \"@smithy/core/client\";\nimport { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from \"@smithy/core/config\";\nimport { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from \"@smithy/core/retry\";\nimport { calculateBodyLength } from \"@smithy/core/serde\";\nimport { NodeHttpHandler as RequestHandler, streamCollector } from \"@smithy/node-http-handler\";\nimport { getRuntimeConfig as getSharedRuntimeConfig } from \"./runtimeConfig.shared\";\nexport const getRuntimeConfig = (config) => {\n emitWarningIfUnsupportedVersion(process.version);\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getSharedRuntimeConfig(config);\n awsCheckVersion(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n loadNodeConfig({\n ...NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,\n }, config),\n streamCollector: config?.streamCollector ?? streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\n","export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexport const resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n","import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from \"@aws-sdk/core/client\";\nimport { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from \"@smithy/core/client\";\nimport { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from \"@smithy/core/protocols\";\nimport { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from \"./auth/httpAuthExtensionConfiguration\";\nexport const resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n","import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from \"@aws-sdk/core/client\";\nimport { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from \"@smithy/core\";\nimport { Client as __Client, } from \"@smithy/core/client\";\nimport { resolveRegionConfig } from \"@smithy/core/config\";\nimport { resolveEndpointConfig } from \"@smithy/core/endpoints\";\nimport { getContentLengthPlugin } from \"@smithy/core/protocols\";\nimport { getRetryPlugin, resolveRetryConfig, } from \"@smithy/core/retry\";\nimport { getSchemaSerdePlugin } from \"@smithy/core/schema\";\nimport { defaultSSOOIDCHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from \"./auth/httpAuthSchemeProvider\";\nimport { resolveClientEndpointParameters, } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nimport { resolveRuntimeExtensions } from \"./runtimeExtensions\";\nexport { __Client };\nexport class SSOOIDCClient extends __Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = __getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveUserAgentConfig(_config_1);\n const _config_3 = resolveRetryConfig(_config_2);\n const _config_4 = resolveRegionConfig(_config_3);\n const _config_5 = resolveHostHeaderConfig(_config_4);\n const _config_6 = resolveEndpointConfig(_config_5);\n const _config_7 = resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: defaultSSOOIDCHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n","import { makeBuilder } from \"@smithy/core/client\";\nimport { getEndpointPlugin } from \"@smithy/core/endpoints\";\nimport { commonParams } from \"./endpoint/EndpointParameters\";\nexport const command = makeBuilder(commonParams, \"AWSSSOOIDCService\", \"SSOOIDCClient\", getEndpointPlugin);\nexport const _ep0 = {};\nexport const _mw0 = (Command, cs, config, o) => [];\n","import { _ep0, _mw0, command } from \"../commandBuilder\";\nimport { CreateToken$ } from \"../schemas/schemas_0\";\nexport class CreateTokenCommand extends command(_ep0, _mw0, \"CreateToken\", CreateToken$) {\n}\n","import { createAggregatedClient } from \"@smithy/core/client\";\nimport { CreateTokenCommand, } from \"./commands/CreateTokenCommand\";\nimport { SSOOIDCClient } from \"./SSOOIDCClient\";\nconst commands = {\n CreateTokenCommand,\n};\nexport class SSOOIDC extends SSOOIDCClient {\n}\ncreateAggregatedClient(commands, SSOOIDC);\n","export * from \"./CreateTokenCommand\";\n","export const AccessDeniedExceptionReason = {\n KMS_ACCESS_DENIED: \"KMS_AccessDeniedException\",\n};\nexport const InvalidRequestExceptionReason = {\n KMS_DISABLED_KEY: \"KMS_DisabledException\",\n KMS_INVALID_KEY_USAGE: \"KMS_InvalidKeyUsageException\",\n KMS_INVALID_STATE: \"KMS_InvalidStateException\",\n KMS_KEY_NOT_FOUND: \"KMS_NotFoundException\",\n};\n","export {};\n","export * from \"./SSOOIDCClient\";\nexport * from \"./SSOOIDC\";\nexport * from \"./commands\";\nexport { Command as $Command } from \"@smithy/core/client\";\nexport * from \"./schemas/schemas_0\";\nexport * from \"./models/enums\";\nexport * from \"./models/errors\";\nexport * from \"./models/models_0\";\nexport { SSOOIDCServiceException } from \"./models/SSOOIDCServiceException\";\n","const { setTokenFeature } = require(\"@aws-sdk/core/client\");\nconst { getBearerTokenEnvKey } = require(\"@aws-sdk/core/httpAuthSchemes\");\nconst { TokenProviderError, getSSOTokenFilepath, parseKnownFiles, getProfileName, loadSsoSessionData, getSSOTokenFromFile, memoize, chain } = require(\"@smithy/core/config\");\nconst { promises } = require(\"node:fs\");\n\nconst fromEnvSigningName = ({ logger, signingName } = {}) => async () => {\n logger?.debug?.(\"@aws-sdk/token-providers - fromEnvSigningName\");\n if (!signingName) {\n throw new TokenProviderError(\"Please pass 'signingName' to compute environment variable key\", { logger });\n }\n const bearerTokenKey = getBearerTokenEnvKey(signingName);\n if (!(bearerTokenKey in process.env)) {\n throw new TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });\n }\n const token = { token: process.env[bearerTokenKey] };\n setTokenFeature(token, \"BEARER_SERVICE_ENV_VARS\", \"3\");\n return token;\n};\n\nconst EXPIRE_WINDOW_MS = 5 * 60 * 1000;\nconst REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;\n\nconst getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {\n const { SSOOIDCClient } = require('@aws-sdk/nested-clients/sso-oidc');\n const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];\n const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {\n region: ssoRegion ?? init.clientConfig?.region,\n logger: coalesce(\"logger\"),\n userAgentAppId: coalesce(\"userAgentAppId\"),\n }));\n return ssoOidcClient;\n};\n\nconst getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {\n const { CreateTokenCommand } = require('@aws-sdk/nested-clients/sso-oidc');\n const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);\n return ssoOidcClient.send(new CreateTokenCommand({\n clientId: ssoToken.clientId,\n clientSecret: ssoToken.clientSecret,\n refreshToken: ssoToken.refreshToken,\n grantType: \"refresh_token\",\n }));\n};\n\nconst validateTokenExpiry = (token) => {\n if (token.expiration && token.expiration.getTime() < Date.now()) {\n throw new TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);\n }\n};\n\nconst validateTokenKey = (key, value, forRefresh = false) => {\n if (typeof value === \"undefined\") {\n throw new TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? \". Cannot refresh\" : \"\"}. ${REFRESH_MESSAGE}`, false);\n }\n};\n\nconst { writeFile } = promises;\nconst writeSSOTokenToFile = (id, ssoToken) => {\n const tokenFilepath = getSSOTokenFilepath(id);\n const tokenString = JSON.stringify(ssoToken, null, 2);\n return writeFile(tokenFilepath, tokenString);\n};\n\nconst lastRefreshAttemptTimes = new Map();\nconst inFlightRefreshes = new Map();\nconst fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/token-providers - fromSso\");\n const profiles = await parseKnownFiles(init);\n const profileName = getProfileName({\n profile: init.profile ?? callerClientConfig?.profile,\n });\n const profile = profiles[profileName];\n if (!profile) {\n throw new TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);\n }\n else if (!profile[\"sso_session\"]) {\n throw new TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);\n }\n const ssoSessionName = profile[\"sso_session\"];\n const inFlightRefresh = inFlightRefreshes.get(ssoSessionName);\n if (inFlightRefresh) {\n return await inFlightRefresh;\n }\n const ssoSessions = await loadSsoSessionData(init);\n const ssoSession = ssoSessions[ssoSessionName];\n if (!ssoSession) {\n throw new TokenProviderError(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`, false);\n }\n for (const ssoSessionRequiredKey of [\"sso_start_url\", \"sso_region\"]) {\n if (!ssoSession[ssoSessionRequiredKey]) {\n throw new TokenProviderError(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`, false);\n }\n }\n ssoSession[\"sso_start_url\"];\n const ssoRegion = ssoSession[\"sso_region\"];\n let ssoToken;\n try {\n ssoToken = await getSSOTokenFromFile(ssoSessionName);\n }\n catch (e) {\n throw new TokenProviderError(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`, false);\n }\n validateTokenKey(\"accessToken\", ssoToken.accessToken);\n validateTokenKey(\"expiresAt\", ssoToken.expiresAt);\n const { accessToken, expiresAt } = ssoToken;\n const existingToken = {\n token: accessToken,\n expiration: new Date(expiresAt),\n };\n if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {\n return existingToken;\n }\n const inFlightRefreshAfterReadingToken = inFlightRefreshes.get(ssoSessionName);\n if (inFlightRefreshAfterReadingToken) {\n return await inFlightRefreshAfterReadingToken;\n }\n const lastRefreshAttemptTime = lastRefreshAttemptTimes.get(ssoSessionName) ?? 0;\n if (Date.now() - lastRefreshAttemptTime < 30 * 1000) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n validateTokenKey(\"clientId\", ssoToken.clientId, true);\n validateTokenKey(\"clientSecret\", ssoToken.clientSecret, true);\n validateTokenKey(\"refreshToken\", ssoToken.refreshToken, true);\n const refresh = (async () => {\n try {\n lastRefreshAttemptTimes.set(ssoSessionName, Date.now());\n const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);\n validateTokenKey(\"accessToken\", newSsoOidcToken.accessToken);\n validateTokenKey(\"expiresIn\", newSsoOidcToken.expiresIn);\n const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000);\n try {\n await writeSSOTokenToFile(ssoSessionName, {\n ...ssoToken,\n accessToken: newSsoOidcToken.accessToken,\n expiresAt: newTokenExpiration.toISOString(),\n refreshToken: newSsoOidcToken.refreshToken,\n });\n }\n catch (error) {\n }\n return {\n token: newSsoOidcToken.accessToken,\n expiration: newTokenExpiration,\n };\n }\n catch (error) {\n validateTokenExpiry(existingToken);\n return existingToken;\n }\n })();\n inFlightRefreshes.set(ssoSessionName, refresh);\n try {\n return await refresh;\n }\n finally {\n inFlightRefreshes.delete(ssoSessionName);\n }\n};\n\nconst fromStatic = ({ token, logger }) => async () => {\n logger?.debug(\"@aws-sdk/token-providers - fromStatic\");\n if (!token || !token.token) {\n throw new TokenProviderError(`Please pass a valid token to fromStatic`, false);\n }\n return token;\n};\n\nconst nodeProvider = (init = {}) => memoize(chain(fromSso(init), async () => {\n throw new TokenProviderError(\"Could not load token from any providers\", false);\n}), (token) => token.expiration !== undefined && token.expiration.getTime() - Date.now() < 300000, (token) => token.expiration !== undefined);\n\nexports.fromEnvSigningName = fromEnvSigningName;\nexports.fromSso = fromSso;\nexports.fromStatic = fromStatic;\nexports.nodeProvider = nodeProvider;\n","import { resolveAwsSdkSigV4Config, } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { getSmithyContext, normalizeProvider } from \"@smithy/core/client\";\nexport const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: getSmithyContext(context).operation,\n region: await normalizeProvider(config.region)() || (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"awsssoportal\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nexport const defaultSSOHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"GetRoleCredentials\":\n {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n ;\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexport const resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = resolveAwsSdkSigV4Config(config);\n return Object.assign(config_0, {\n authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),\n });\n};\n","export const resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"awsssoportal\",\n });\n};\nexport const commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","import { BinaryDecisionDiagram } from \"@smithy/core/endpoints\";\nconst k = \"ref\";\nconst a = -1, b = true, c = \"isSet\", d = \"PartitionResult\", e = \"booleanEquals\", f = \"getAttr\", g = { [k]: \"Endpoint\" }, h = { [k]: d }, i = {}, j = [{ [k]: \"Region\" }];\nconst _data = {\n conditions: [\n [c, [g]],\n [c, j],\n [\"aws.partition\", j, d],\n [e, [{ [k]: \"UseFIPS\" }, b]],\n [e, [{ [k]: \"UseDualStack\" }, b]],\n [e, [{ fn: f, argv: [h, \"supportsDualStack\"] }, b]],\n [e, [{ fn: f, argv: [h, \"supportsFIPS\"] }, b]],\n [\"stringEquals\", [{ fn: f, argv: [h, \"name\"] }, \"aws-us-gov\"]]\n ],\n results: [\n [a],\n [a, \"Invalid Configuration: FIPS and custom endpoint are not supported\"],\n [a, \"Invalid Configuration: Dualstack and custom endpoint are not supported\"],\n [g, i],\n [\"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", i],\n [a, \"FIPS and DualStack are enabled, but this partition does not support one or both\"],\n [\"https://portal.sso.{Region}.amazonaws.com\", i],\n [\"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}\", i],\n [a, \"FIPS is enabled but this partition does not support FIPS\"],\n [\"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}\", i],\n [a, \"DualStack is enabled but this partition does not support DualStack\"],\n [\"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}\", i],\n [a, \"Invalid Configuration: Missing Region\"]\n ]\n};\nconst root = 2;\nconst r = 100_000_000;\nconst nodes = new Int32Array([\n -1, 1, -1,\n 0, 13, 3,\n 1, 4, r + 12,\n 2, 5, r + 12,\n 3, 8, 6,\n 4, 7, r + 11,\n 5, r + 9, r + 10,\n 4, 11, 9,\n 6, 10, r + 8,\n 7, r + 6, r + 7,\n 5, 12, r + 5,\n 6, r + 4, r + 5,\n 3, r + 1, 14,\n 4, r + 2, r + 3,\n]);\nexport const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);\n","import { awsEndpointFunctions } from \"@aws-sdk/core/client\";\nimport { customEndpointFunctions, decideEndpoint, EndpointCache } from \"@smithy/core/endpoints\";\nimport { bdd } from \"./bdd\";\nconst cache = new EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nexport const defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => decideEndpoint(bdd, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\ncustomEndpointFunctions.aws = awsEndpointFunctions;\n","import { ServiceException as __ServiceException, } from \"@smithy/core/client\";\nexport { __ServiceException };\nexport class SSOServiceException extends __ServiceException {\n static shapeId = \"smithy.ts.sdk.synthetic.com.amazonaws.sso#SSOServiceException\";\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SSOServiceException.prototype);\n }\n}\n","import { SSOServiceException as __BaseException } from \"./SSOServiceException\";\nexport class InvalidRequestException extends __BaseException {\n static shapeId = \"com.amazonaws.sso#InvalidRequestException\";\n name = \"InvalidRequestException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidRequestException.prototype);\n }\n}\nexport class ResourceNotFoundException extends __BaseException {\n static shapeId = \"com.amazonaws.sso#ResourceNotFoundException\";\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ResourceNotFoundException.prototype);\n }\n}\nexport class TooManyRequestsException extends __BaseException {\n static shapeId = \"com.amazonaws.sso#TooManyRequestsException\";\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TooManyRequestsException.prototype);\n }\n}\nexport class UnauthorizedException extends __BaseException {\n static shapeId = \"com.amazonaws.sso#UnauthorizedException\";\n name = \"UnauthorizedException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UnauthorizedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnauthorizedException.prototype);\n }\n}\n","const _ATT = \"AccessTokenType\";\nconst _GRC = \"GetRoleCredentials\";\nconst _GRCR = \"GetRoleCredentialsRequest\";\nconst _GRCRe = \"GetRoleCredentialsResponse\";\nconst _IRE = \"InvalidRequestException\";\nconst _RC = \"RoleCredentials\";\nconst _RNFE = \"ResourceNotFoundException\";\nconst _SAKT = \"SecretAccessKeyType\";\nconst _STT = \"SessionTokenType\";\nconst _TMRE = \"TooManyRequestsException\";\nconst _UE = \"UnauthorizedException\";\nconst _aI = \"accountId\";\nconst _aKI = \"accessKeyId\";\nconst _aT = \"accessToken\";\nconst _ai = \"account_id\";\nconst _c = \"client\";\nconst _e = \"error\";\nconst _ex = \"expiration\";\nconst _h = \"http\";\nconst _hE = \"httpError\";\nconst _hH = \"httpHeader\";\nconst _hQ = \"httpQuery\";\nconst _m = \"message\";\nconst _rC = \"roleCredentials\";\nconst _rN = \"roleName\";\nconst _rn = \"role_name\";\nconst _s = \"smithy.ts.sdk.synthetic.com.amazonaws.sso\";\nconst _sAK = \"secretAccessKey\";\nconst _sT = \"sessionToken\";\nconst _xasbt = \"x-amz-sso_bearer_token\";\nconst n0 = \"com.amazonaws.sso\";\nimport { TypeRegistry } from \"@smithy/core/schema\";\nimport { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from \"../models/errors\";\nimport { SSOServiceException } from \"../models/SSOServiceException\";\nconst _s_registry = new TypeRegistry(_s);\nexport var SSOServiceException$ = [-3, _s, \"SSOServiceException\", 0, [], []];\n_s_registry.registerError(SSOServiceException$, SSOServiceException);\nconst n0_registry = new TypeRegistry(n0);\nexport var InvalidRequestException$ = [-3, n0, _IRE,\n { [_e]: _c, [_hE]: 400 },\n [_m],\n [0]\n];\nn0_registry.registerError(InvalidRequestException$, InvalidRequestException);\nexport var ResourceNotFoundException$ = [-3, n0, _RNFE,\n { [_e]: _c, [_hE]: 404 },\n [_m],\n [0]\n];\nn0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);\nexport var TooManyRequestsException$ = [-3, n0, _TMRE,\n { [_e]: _c, [_hE]: 429 },\n [_m],\n [0]\n];\nn0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);\nexport var UnauthorizedException$ = [-3, n0, _UE,\n { [_e]: _c, [_hE]: 401 },\n [_m],\n [0]\n];\nn0_registry.registerError(UnauthorizedException$, UnauthorizedException);\nexport const errorTypeRegistries = [\n _s_registry,\n n0_registry,\n];\nvar AccessTokenType = [0, n0, _ATT, 8, 0];\nvar SecretAccessKeyType = [0, n0, _SAKT, 8, 0];\nvar SessionTokenType = [0, n0, _STT, 8, 0];\nexport var GetRoleCredentialsRequest$ = [3, n0, _GRCR,\n 0,\n [_rN, _aI, _aT],\n [[0, { [_hQ]: _rn }], [0, { [_hQ]: _ai }], [() => AccessTokenType, { [_hH]: _xasbt }]], 3\n];\nexport var GetRoleCredentialsResponse$ = [3, n0, _GRCRe,\n 0,\n [_rC],\n [[() => RoleCredentials$, 0]]\n];\nexport var RoleCredentials$ = [3, n0, _RC,\n 0,\n [_aKI, _sAK, _sT, _ex],\n [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1]\n];\nexport var GetRoleCredentials$ = [9, n0, _GRC,\n { [_h]: [\"GET\", \"/federation/credentials\", 200] }, () => GetRoleCredentialsRequest$, () => GetRoleCredentialsResponse$\n];\n","import { AwsSdkSigV4Signer } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { AwsRestJsonProtocol } from \"@aws-sdk/core/protocols\";\nimport { NoAuthSigner } from \"@smithy/core\";\nimport { Sha256 } from \"@smithy/core/checksum\";\nimport { NoOpLogger } from \"@smithy/core/client\";\nimport { parseUrl } from \"@smithy/core/protocols\";\nimport { fromBase64, fromUtf8, toBase64, toUtf8 } from \"@smithy/core/serde\";\nimport { defaultSSOHttpAuthSchemeProvider } from \"./auth/httpAuthSchemeProvider\";\nimport { defaultEndpointResolver } from \"./endpoint/endpointResolver\";\nimport { errorTypeRegistries } from \"./schemas/schemas_0\";\nexport const getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new NoOpLogger(),\n protocol: config?.protocol ?? AwsRestJsonProtocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.sso\",\n errorTypeRegistries,\n version: \"2019-06-10\",\n serviceTarget: \"SWBPortalService\",\n },\n serviceId: config?.serviceId ?? \"SSO\",\n sha256: config?.sha256 ?? Sha256,\n urlParser: config?.urlParser ?? parseUrl,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n };\n};\n","import packageInfo from \"../../../package.json\";\nimport { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from \"@aws-sdk/core/client\";\nimport { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from \"@smithy/core/client\";\nimport { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from \"@smithy/core/config\";\nimport { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from \"@smithy/core/retry\";\nimport { calculateBodyLength } from \"@smithy/core/serde\";\nimport { NodeHttpHandler as RequestHandler, streamCollector } from \"@smithy/node-http-handler\";\nimport { getRuntimeConfig as getSharedRuntimeConfig } from \"./runtimeConfig.shared\";\nexport const getRuntimeConfig = (config) => {\n emitWarningIfUnsupportedVersion(process.version);\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getSharedRuntimeConfig(config);\n awsCheckVersion(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n loadNodeConfig({\n ...NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,\n }, config),\n streamCollector: config?.streamCollector ?? streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\n","export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexport const resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n","import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from \"@aws-sdk/core/client\";\nimport { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from \"@smithy/core/client\";\nimport { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from \"@smithy/core/protocols\";\nimport { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from \"./auth/httpAuthExtensionConfiguration\";\nexport const resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n","import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from \"@aws-sdk/core/client\";\nimport { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from \"@smithy/core\";\nimport { Client as __Client, } from \"@smithy/core/client\";\nimport { resolveRegionConfig } from \"@smithy/core/config\";\nimport { resolveEndpointConfig } from \"@smithy/core/endpoints\";\nimport { getContentLengthPlugin } from \"@smithy/core/protocols\";\nimport { getRetryPlugin, resolveRetryConfig, } from \"@smithy/core/retry\";\nimport { getSchemaSerdePlugin } from \"@smithy/core/schema\";\nimport { defaultSSOHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from \"./auth/httpAuthSchemeProvider\";\nimport { resolveClientEndpointParameters, } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nimport { resolveRuntimeExtensions } from \"./runtimeExtensions\";\nexport { __Client };\nexport class SSOClient extends __Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = __getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveUserAgentConfig(_config_1);\n const _config_3 = resolveRetryConfig(_config_2);\n const _config_4 = resolveRegionConfig(_config_3);\n const _config_5 = resolveHostHeaderConfig(_config_4);\n const _config_6 = resolveEndpointConfig(_config_5);\n const _config_7 = resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: defaultSSOHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n","import { makeBuilder } from \"@smithy/core/client\";\nimport { getEndpointPlugin } from \"@smithy/core/endpoints\";\nimport { commonParams } from \"./endpoint/EndpointParameters\";\nexport const command = makeBuilder(commonParams, \"SWBPortalService\", \"SSOClient\", getEndpointPlugin);\nexport const _ep0 = {};\nexport const _mw0 = (Command, cs, config, o) => [];\n","import { _ep0, _mw0, command } from \"../commandBuilder\";\nimport { GetRoleCredentials$ } from \"../schemas/schemas_0\";\nexport class GetRoleCredentialsCommand extends command(_ep0, _mw0, \"GetRoleCredentials\", GetRoleCredentials$) {\n}\n","import { createAggregatedClient } from \"@smithy/core/client\";\nimport { GetRoleCredentialsCommand, } from \"./commands/GetRoleCredentialsCommand\";\nimport { SSOClient } from \"./SSOClient\";\nconst commands = {\n GetRoleCredentialsCommand,\n};\nexport class SSO extends SSOClient {\n}\ncreateAggregatedClient(commands, SSO);\n","export * from \"./GetRoleCredentialsCommand\";\n","export {};\n","export * from \"./SSOClient\";\nexport * from \"./SSO\";\nexport * from \"./commands\";\nexport { Command as $Command } from \"@smithy/core/client\";\nexport * from \"./schemas/schemas_0\";\nexport * from \"./models/errors\";\nexport * from \"./models/models_0\";\nexport { SSOServiceException } from \"./models/SSOServiceException\";\n","const { GetRoleCredentialsCommand, SSOClient } = require(\"@aws-sdk/nested-clients/sso\");\nexports.GetRoleCredentialsCommand = GetRoleCredentialsCommand;\nexports.SSOClient = SSOClient;\n","const { CredentialsProviderError, getSSOTokenFromFile, getProfileName, parseKnownFiles, loadSsoSessionData } = require(\"@smithy/core/config\");\nconst { setCredentialFeature } = require(\"@aws-sdk/core/client\");\nconst { fromSso } = require(\"@aws-sdk/token-providers\");\n\nconst isSsoProfile = (arg) => arg &&\n (typeof arg.sso_start_url === \"string\" ||\n typeof arg.sso_account_id === \"string\" ||\n typeof arg.sso_session === \"string\" ||\n typeof arg.sso_region === \"string\" ||\n typeof arg.sso_role_name === \"string\");\n\nconst SHOULD_FAIL_CREDENTIAL_CHAIN = false;\nconst resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger, }) => {\n let token;\n const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;\n if (ssoSession) {\n try {\n const _token = await fromSso({\n profile,\n filepath,\n configFilepath,\n ignoreCache,\n clientConfig,\n parentClientConfig,\n logger,\n })({ callerClientConfig });\n token = {\n accessToken: _token.token,\n expiresAt: new Date(_token.expiration).toISOString(),\n };\n }\n catch (e) {\n throw new CredentialsProviderError(e.message, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger,\n });\n }\n }\n else {\n try {\n token = await getSSOTokenFromFile(ssoStartUrl);\n }\n catch (e) {\n throw new CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger,\n });\n }\n }\n if (new Date(token.expiresAt).getTime() - Date.now() <= 0) {\n throw new CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger,\n });\n }\n const { accessToken } = token;\n const { SSOClient, GetRoleCredentialsCommand } = require('./loadSso-BGYXHf8s.js');\n const sso = ssoClient ||\n new SSOClient(Object.assign({}, clientConfig ?? {}, {\n logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger,\n region: clientConfig?.region ?? ssoRegion,\n userAgentAppId: clientConfig?.userAgentAppId ?? callerClientConfig?.userAgentAppId ?? parentClientConfig?.userAgentAppId,\n }));\n let ssoResp;\n try {\n ssoResp = await sso.send(new GetRoleCredentialsCommand({\n accountId: ssoAccountId,\n roleName: ssoRoleName,\n accessToken,\n }));\n }\n catch (e) {\n throw new CredentialsProviderError(e, {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger,\n });\n }\n const { roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}, } = ssoResp;\n if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) {\n throw new CredentialsProviderError(\"SSO returns an invalid temporary credential.\", {\n tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,\n logger,\n });\n }\n const credentials = {\n accessKeyId,\n secretAccessKey,\n sessionToken,\n expiration: new Date(expiration),\n ...(credentialScope && { credentialScope }),\n ...(accountId && { accountId }),\n };\n if (ssoSession) {\n setCredentialFeature(credentials, \"CREDENTIALS_SSO\", \"s\");\n }\n else {\n setCredentialFeature(credentials, \"CREDENTIALS_SSO_LEGACY\", \"u\");\n }\n return credentials;\n};\n\nconst validateSsoProfile = (profile, logger) => {\n const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;\n if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {\n throw new CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters \"sso_account_id\", ` +\n `\"sso_region\", \"sso_role_name\", \"sso_start_url\". Got ${Object.keys(profile).join(\", \")}\\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`, { tryNextLink: false, logger });\n }\n return profile;\n};\n\nconst fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-sso - fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n const { ssoClient } = init;\n const profileName = getProfileName({\n profile: init.profile ?? callerClientConfig?.profile,\n });\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n const profiles = await parseKnownFiles(init);\n const profile = profiles[profileName];\n if (!profile) {\n throw new CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger });\n }\n if (!isSsoProfile(profile)) {\n throw new CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, {\n logger: init.logger,\n });\n }\n if (profile?.sso_session) {\n const ssoSessions = await loadSsoSessionData(init);\n const session = ssoSessions[profile.sso_session];\n const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`;\n if (ssoRegion && ssoRegion !== session.sso_region) {\n throw new CredentialsProviderError(`Conflicting SSO region` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger,\n });\n }\n if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) {\n throw new CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, {\n tryNextLink: false,\n logger: init.logger,\n });\n }\n profile.sso_region = session.sso_region;\n profile.sso_start_url = session.sso_start_url;\n }\n const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(profile, init.logger);\n return resolveSSOCredentials({\n ssoStartUrl: sso_start_url,\n ssoSession: sso_session,\n ssoAccountId: sso_account_id,\n ssoRegion: sso_region,\n ssoRoleName: sso_role_name,\n ssoClient: ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n callerClientConfig: init.callerClientConfig,\n profile: profileName,\n filepath: init.filepath,\n configFilepath: init.configFilepath,\n ignoreCache: init.ignoreCache,\n logger: init.logger,\n });\n }\n else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {\n throw new CredentialsProviderError(\"Incomplete configuration. The fromSSO() argument hash must include \" +\n '\"ssoStartUrl\", \"ssoAccountId\", \"ssoRegion\", \"ssoRoleName\"', { tryNextLink: false, logger: init.logger });\n }\n else {\n return resolveSSOCredentials({\n ssoStartUrl,\n ssoSession,\n ssoAccountId,\n ssoRegion,\n ssoRoleName,\n ssoClient,\n clientConfig: init.clientConfig,\n parentClientConfig: init.parentClientConfig,\n callerClientConfig: init.callerClientConfig,\n profile: profileName,\n filepath: init.filepath,\n configFilepath: init.configFilepath,\n ignoreCache: init.ignoreCache,\n logger: init.logger,\n });\n }\n};\n\nexports.fromSSO = fromSSO;\nexports.isSsoProfile = isSsoProfile;\nexports.validateSsoProfile = validateSsoProfile;\n","const { SignatureV4, signatureV4aContainer } = require(\"@smithy/signature-v4\");\n\nconst signatureV4CrtContainer = {\n CrtSignerV4: null,\n};\n\nconst SESSION_TOKEN_QUERY_PARAM = \"X-Amz-S3session-Token\";\nconst SESSION_TOKEN_HEADER = SESSION_TOKEN_QUERY_PARAM.toLowerCase();\nclass SignatureV4SignWithCredentials extends SignatureV4 {\n async signWithCredentials(requestToSign, credentials, options) {\n const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials);\n requestToSign.headers[SESSION_TOKEN_HEADER] = credentials.sessionToken;\n const privateAccess = this;\n setSingleOverride(privateAccess, credentialsWithoutSessionToken);\n return privateAccess.signRequest(requestToSign, options ?? {});\n }\n async presignWithCredentials(requestToSign, credentials, options) {\n const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials);\n delete requestToSign.headers[SESSION_TOKEN_HEADER];\n requestToSign.headers[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken;\n requestToSign.query = requestToSign.query ?? {};\n requestToSign.query[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken;\n const privateAccess = this;\n setSingleOverride(privateAccess, credentialsWithoutSessionToken);\n return this.presign(requestToSign, options);\n }\n}\nfunction getCredentialsWithoutSessionToken(credentials) {\n return {\n accessKeyId: credentials.accessKeyId,\n secretAccessKey: credentials.secretAccessKey,\n expiration: credentials.expiration,\n };\n}\nfunction setSingleOverride(privateAccess, credentialsWithoutSessionToken) {\n const currentCredentialProvider = privateAccess.credentialProvider;\n privateAccess.credentialProvider = () => {\n privateAccess.credentialProvider = currentCredentialProvider;\n return Promise.resolve(credentialsWithoutSessionToken);\n };\n}\n\nclass SignatureV4MultiRegion {\n sigv4aSigner;\n sigv4Signer;\n signerOptions;\n static sigv4aDependency() {\n if (typeof signatureV4CrtContainer.CrtSignerV4 === \"function\") {\n return \"crt\";\n }\n else if (typeof signatureV4aContainer.SignatureV4a === \"function\") {\n return \"js\";\n }\n return \"none\";\n }\n constructor(options) {\n this.sigv4Signer = new SignatureV4SignWithCredentials(options);\n this.signerOptions = options;\n }\n async sign(requestToSign, options = {}) {\n if (options.signingRegion === \"*\") {\n return this.getSigv4aSigner().sign(requestToSign, options);\n }\n return this.sigv4Signer.sign(requestToSign, options);\n }\n async signWithCredentials(requestToSign, credentials, options = {}) {\n if (options.signingRegion === \"*\") {\n const signer = this.getSigv4aSigner();\n const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;\n if (CrtSignerV4 && signer instanceof CrtSignerV4) {\n return signer.signWithCredentials(requestToSign, credentials, options);\n }\n else {\n throw new Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. ` +\n `Please check whether you have installed the \"@aws-sdk/signature-v4-crt\" package explicitly. ` +\n `You must also register the package by calling [require(\"@aws-sdk/signature-v4-crt\");] ` +\n `or an ESM equivalent such as [import \"@aws-sdk/signature-v4-crt\";]. ` +\n `For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);\n }\n }\n return this.sigv4Signer.signWithCredentials(requestToSign, credentials, options);\n }\n async presign(originalRequest, options = {}) {\n if (options.signingRegion === \"*\") {\n const signer = this.getSigv4aSigner();\n const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;\n if (CrtSignerV4 && signer instanceof CrtSignerV4) {\n return signer.presign(originalRequest, options);\n }\n else {\n throw new Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. ` +\n `Please check whether you have installed the \"@aws-sdk/signature-v4-crt\" package explicitly. ` +\n `You must also register the package by calling [require(\"@aws-sdk/signature-v4-crt\");] ` +\n `or an ESM equivalent such as [import \"@aws-sdk/signature-v4-crt\";]. ` +\n `For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);\n }\n }\n return this.sigv4Signer.presign(originalRequest, options);\n }\n async presignWithCredentials(originalRequest, credentials, options = {}) {\n if (options.signingRegion === \"*\") {\n throw new Error(\"Method presignWithCredentials is not supported for [signingRegion=*].\");\n }\n return this.sigv4Signer.presignWithCredentials(originalRequest, credentials, options);\n }\n getSigv4aSigner() {\n if (!this.sigv4aSigner) {\n const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;\n const JsSigV4aSigner = signatureV4aContainer.SignatureV4a;\n if (this.signerOptions.runtime === \"node\") {\n if (!CrtSignerV4 && !JsSigV4aSigner) {\n throw new Error(\"Neither CRT nor JS SigV4a implementation is available. \" +\n \"Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. \" +\n \"For more information please go to \" +\n \"https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt\");\n }\n if (CrtSignerV4 && typeof CrtSignerV4 === \"function\") {\n this.sigv4aSigner = new CrtSignerV4({\n ...this.signerOptions,\n signingAlgorithm: 1,\n });\n }\n else if (JsSigV4aSigner && typeof JsSigV4aSigner === \"function\") {\n this.sigv4aSigner = new JsSigV4aSigner({\n ...this.signerOptions,\n });\n }\n else {\n throw new Error(\"Available SigV4a implementation is not a valid constructor. \" +\n \"Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.\" +\n \"For more information please go to \" +\n \"https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt\");\n }\n }\n else {\n if (!JsSigV4aSigner || typeof JsSigV4aSigner !== \"function\") {\n throw new Error(\"JS SigV4a implementation is not available or not a valid constructor. \" +\n \"Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. \" +\n \"You must also register the package by calling [require('@aws-sdk/signature-v4a');] \" +\n \"or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. \" +\n \"For more information please go to \" +\n \"https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a\");\n }\n this.sigv4aSigner = new JsSigV4aSigner({\n ...this.signerOptions,\n });\n }\n }\n return this.sigv4aSigner;\n }\n}\n\nexports.SignatureV4MultiRegion = SignatureV4MultiRegion;\nexports.SignatureV4SignWithCredentials = SignatureV4SignWithCredentials;\nexports.signatureV4CrtContainer = signatureV4CrtContainer;\n","import { BinaryDecisionDiagram } from \"@smithy/core/endpoints\";\nconst q = \"ref\";\nconst a = -1, b = true, c = \"isSet\", d = \"PartitionResult\", e = \"booleanEquals\", f = \"stringEquals\", g = \"getAttr\", h = \"us-east-1\", i = \"sigv4\", j = \"sts\", k = \"https://sts.{Region}.{PartitionResult#dnsSuffix}\", l = { [q]: \"Endpoint\" }, m = { [q]: \"Region\" }, n = { [q]: d }, o = {}, p = [m];\nconst _data = {\n conditions: [\n [c, [l]],\n [c, p],\n [\"aws.partition\", p, d],\n [e, [{ [q]: \"UseFIPS\" }, b]],\n [e, [{ [q]: \"UseDualStack\" }, b]],\n [f, [m, \"aws-global\"]],\n [e, [{ [q]: \"UseGlobalEndpoint\" }, b]],\n [f, [m, \"eu-central-1\"]],\n [e, [{ fn: g, argv: [n, \"supportsDualStack\"] }, b]],\n [e, [{ fn: g, argv: [n, \"supportsFIPS\"] }, b]],\n [f, [m, \"ap-south-1\"]],\n [f, [m, \"eu-north-1\"]],\n [f, [m, \"eu-west-1\"]],\n [f, [m, \"eu-west-2\"]],\n [f, [m, \"eu-west-3\"]],\n [f, [m, \"sa-east-1\"]],\n [f, [m, h]],\n [f, [m, \"us-east-2\"]],\n [f, [m, \"us-west-2\"]],\n [f, [m, \"us-west-1\"]],\n [f, [m, \"ca-central-1\"]],\n [f, [m, \"ap-southeast-1\"]],\n [f, [m, \"ap-northeast-1\"]],\n [f, [m, \"ap-southeast-2\"]],\n [f, [{ fn: g, argv: [n, \"name\"] }, \"aws-us-gov\"]]\n ],\n results: [\n [a],\n [\"https://sts.amazonaws.com\", { authSchemes: [{ name: i, signingName: j, signingRegion: h }] }],\n [k, { authSchemes: [{ name: i, signingName: j, signingRegion: \"{Region}\" }] }],\n [a, \"Invalid Configuration: FIPS and custom endpoint are not supported\"],\n [a, \"Invalid Configuration: Dualstack and custom endpoint are not supported\"],\n [l, o],\n [\"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", o],\n [a, \"FIPS and DualStack are enabled, but this partition does not support one or both\"],\n [\"https://sts.{Region}.amazonaws.com\", o],\n [\"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}\", o],\n [a, \"FIPS is enabled but this partition does not support FIPS\"],\n [\"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}\", o],\n [a, \"DualStack is enabled but this partition does not support DualStack\"],\n [k, o],\n [a, \"Invalid Configuration: Missing Region\"]\n ]\n};\nconst root = 2;\nconst r = 100_000_000;\nconst nodes = new Int32Array([\n -1, 1, -1,\n 0, 30, 3,\n 1, 4, r + 14,\n 2, 5, r + 14,\n 3, 25, 6,\n 4, 24, 7,\n 5, r + 1, 8,\n 6, 9, r + 13,\n 7, r + 1, 10,\n 10, r + 1, 11,\n 11, r + 1, 12,\n 12, r + 1, 13,\n 13, r + 1, 14,\n 14, r + 1, 15,\n 15, r + 1, 16,\n 16, r + 1, 17,\n 17, r + 1, 18,\n 18, r + 1, 19,\n 19, r + 1, 20,\n 20, r + 1, 21,\n 21, r + 1, 22,\n 22, r + 1, 23,\n 23, r + 1, r + 2,\n 8, r + 11, r + 12,\n 4, 28, 26,\n 9, 27, r + 10,\n 24, r + 8, r + 9,\n 8, 29, r + 7,\n 9, r + 6, r + 7,\n 3, r + 3, 31,\n 4, r + 4, r + 5,\n]);\nexport const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);\n","import { awsEndpointFunctions } from \"@aws-sdk/core/client\";\nimport { customEndpointFunctions, decideEndpoint, EndpointCache } from \"@smithy/core/endpoints\";\nimport { bdd } from \"./bdd\";\nconst cache = new EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\", \"UseGlobalEndpoint\"],\n});\nexport const defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => decideEndpoint(bdd, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\ncustomEndpointFunctions.aws = awsEndpointFunctions;\n","import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { SignatureV4MultiRegion } from \"@aws-sdk/signature-v4-multi-region\";\nimport { getSmithyContext, normalizeProvider } from \"@smithy/core/client\";\nimport { resolveParams } from \"@smithy/core/endpoints\";\nimport { defaultEndpointResolver } from \"../endpoint/endpointResolver\";\nconst createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {\n if (!input) {\n throw new Error(\"Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`\");\n }\n const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);\n const instructionsFn = getSmithyContext(context)?.commandInstance?.constructor\n ?.getEndpointParameterInstructions;\n if (!instructionsFn) {\n throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);\n }\n const endpointParameters = await resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config);\n return Object.assign(defaultParameters, endpointParameters);\n};\nconst _defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: getSmithyContext(context).operation,\n region: await normalizeProvider(config.region)() || (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexport const defaultSTSHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSTSHttpAuthSchemeParametersProvider);\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"sts\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createAwsAuthSigv4aHttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4a\",\n signingProperties: {\n name: \"sts\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nconst createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {\n const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {\n const endpoint = defaultEndpointResolver(authParameters);\n const authSchemes = endpoint.properties?.authSchemes;\n if (!authSchemes) {\n return defaultHttpAuthSchemeResolver(authParameters);\n }\n const options = [];\n for (const scheme of authSchemes) {\n const { name: resolvedName, properties = {}, ...rest } = scheme;\n const name = resolvedName.toLowerCase();\n if (resolvedName !== name) {\n console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);\n }\n let schemeId;\n if (name === \"sigv4a\") {\n schemeId = \"aws.auth#sigv4a\";\n const sigv4Present = authSchemes.find((s) => {\n const name = s.name.toLowerCase();\n return name !== \"sigv4a\" && name.startsWith(\"sigv4\");\n });\n if (SignatureV4MultiRegion.sigv4aDependency() === \"none\" && sigv4Present) {\n continue;\n }\n }\n else if (name.startsWith(\"sigv4\")) {\n schemeId = \"aws.auth#sigv4\";\n }\n else {\n throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);\n }\n const createOption = createHttpAuthOptionFunctions[schemeId];\n if (!createOption) {\n throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);\n }\n const option = createOption(authParameters);\n option.schemeId = schemeId;\n option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties };\n options.push(option);\n }\n return options;\n };\n return endpointRuleSetHttpAuthSchemeProvider;\n};\nconst _defaultSTSHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"AssumeRoleWithWebIdentity\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n options.push(createAwsAuthSigv4aHttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexport const defaultSTSHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver, _defaultSTSHttpAuthSchemeProvider, {\n \"aws.auth#sigv4\": createAwsAuthSigv4HttpAuthOption,\n \"aws.auth#sigv4a\": createAwsAuthSigv4aHttpAuthOption,\n \"smithy.api#noAuth\": createSmithyApiNoAuthHttpAuthOption,\n});\nexport const resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = resolveAwsSdkSigV4Config(config);\n const config_1 = resolveAwsSdkSigV4AConfig(config_0);\n return Object.assign(config_1, {\n authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),\n });\n};\n","export const resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n useGlobalEndpoint: options.useGlobalEndpoint ?? false,\n defaultSigningName: \"sts\",\n });\n};\nexport const commonParams = {\n UseGlobalEndpoint: { type: \"builtInParams\", name: \"useGlobalEndpoint\" },\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","import { ServiceException as __ServiceException, } from \"@smithy/core/client\";\nexport { __ServiceException };\nexport class STSServiceException extends __ServiceException {\n static shapeId = \"smithy.ts.sdk.synthetic.com.amazonaws.sts#STSServiceException\";\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, STSServiceException.prototype);\n }\n}\n","import { STSServiceException as __BaseException } from \"./STSServiceException\";\nexport class ExpiredTokenException extends __BaseException {\n static shapeId = \"com.amazonaws.sts#ExpiredTokenException\";\n name = \"ExpiredTokenException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ExpiredTokenException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ExpiredTokenException.prototype);\n }\n}\nexport class MalformedPolicyDocumentException extends __BaseException {\n static shapeId = \"com.amazonaws.sts#MalformedPolicyDocumentException\";\n name = \"MalformedPolicyDocumentException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"MalformedPolicyDocumentException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);\n }\n}\nexport class PackedPolicyTooLargeException extends __BaseException {\n static shapeId = \"com.amazonaws.sts#PackedPolicyTooLargeException\";\n name = \"PackedPolicyTooLargeException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"PackedPolicyTooLargeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);\n }\n}\nexport class RegionDisabledException extends __BaseException {\n static shapeId = \"com.amazonaws.sts#RegionDisabledException\";\n name = \"RegionDisabledException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RegionDisabledException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RegionDisabledException.prototype);\n }\n}\nexport class IDPRejectedClaimException extends __BaseException {\n static shapeId = \"com.amazonaws.sts#IDPRejectedClaimException\";\n name = \"IDPRejectedClaimException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"IDPRejectedClaimException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);\n }\n}\nexport class InvalidIdentityTokenException extends __BaseException {\n static shapeId = \"com.amazonaws.sts#InvalidIdentityTokenException\";\n name = \"InvalidIdentityTokenException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidIdentityTokenException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);\n }\n}\nexport class IDPCommunicationErrorException extends __BaseException {\n static shapeId = \"com.amazonaws.sts#IDPCommunicationErrorException\";\n name = \"IDPCommunicationErrorException\";\n $fault = \"client\";\n $retryable = {};\n constructor(opts) {\n super({\n name: \"IDPCommunicationErrorException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);\n }\n}\n","const _A = \"Arn\";\nconst _AKI = \"AccessKeyId\";\nconst _AR = \"AssumeRole\";\nconst _ARI = \"AssumedRoleId\";\nconst _ARR = \"AssumeRoleRequest\";\nconst _ARRs = \"AssumeRoleResponse\";\nconst _ARU = \"AssumedRoleUser\";\nconst _ARWWI = \"AssumeRoleWithWebIdentity\";\nconst _ARWWIR = \"AssumeRoleWithWebIdentityRequest\";\nconst _ARWWIRs = \"AssumeRoleWithWebIdentityResponse\";\nconst _Au = \"Audience\";\nconst _C = \"Credentials\";\nconst _CA = \"ContextAssertion\";\nconst _DS = \"DurationSeconds\";\nconst _E = \"Expiration\";\nconst _EI = \"ExternalId\";\nconst _ETE = \"ExpiredTokenException\";\nconst _IDPCEE = \"IDPCommunicationErrorException\";\nconst _IDPRCE = \"IDPRejectedClaimException\";\nconst _IITE = \"InvalidIdentityTokenException\";\nconst _K = \"Key\";\nconst _MPDE = \"MalformedPolicyDocumentException\";\nconst _MSTS = \"MinimumSessionTokenSize\";\nconst _P = \"Policy\";\nconst _PA = \"PolicyArns\";\nconst _PAr = \"ProviderArn\";\nconst _PC = \"ProvidedContexts\";\nconst _PCLT = \"ProvidedContextsListType\";\nconst _PCr = \"ProvidedContext\";\nconst _PDT = \"PolicyDescriptorType\";\nconst _PI = \"ProviderId\";\nconst _PPS = \"PackedPolicySize\";\nconst _PPTLE = \"PackedPolicyTooLargeException\";\nconst _Pr = \"Provider\";\nconst _RA = \"RoleArn\";\nconst _RDE = \"RegionDisabledException\";\nconst _RSN = \"RoleSessionName\";\nconst _SAK = \"SecretAccessKey\";\nconst _SFWIT = \"SubjectFromWebIdentityToken\";\nconst _SI = \"SourceIdentity\";\nconst _SN = \"SerialNumber\";\nconst _ST = \"SessionToken\";\nconst _STS = \"SessionTokenSize\";\nconst _STU = \"SessionTokenUtilization\";\nconst _T = \"Tags\";\nconst _TC = \"TokenCode\";\nconst _TTK = \"TransitiveTagKeys\";\nconst _Ta = \"Tag\";\nconst _V = \"Value\";\nconst _WIT = \"WebIdentityToken\";\nconst _a = \"arn\";\nconst _aKST = \"accessKeySecretType\";\nconst _aQE = \"awsQueryError\";\nconst _c = \"client\";\nconst _cTT = \"clientTokenType\";\nconst _e = \"error\";\nconst _hE = \"httpError\";\nconst _m = \"message\";\nconst _pDLT = \"policyDescriptorListType\";\nconst _s = \"smithy.ts.sdk.synthetic.com.amazonaws.sts\";\nconst _tLT = \"tagListType\";\nconst n0 = \"com.amazonaws.sts\";\nimport { TypeRegistry } from \"@smithy/core/schema\";\nimport { ExpiredTokenException, IDPCommunicationErrorException, IDPRejectedClaimException, InvalidIdentityTokenException, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, } from \"../models/errors\";\nimport { STSServiceException } from \"../models/STSServiceException\";\nconst _s_registry = new TypeRegistry(_s);\nexport var STSServiceException$ = [-3, _s, \"STSServiceException\", 0, [], []];\n_s_registry.registerError(STSServiceException$, STSServiceException);\nconst n0_registry = new TypeRegistry(n0);\nexport var ExpiredTokenException$ = [-3, n0, _ETE,\n { [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 },\n [_m],\n [0]\n];\nn0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);\nexport var IDPCommunicationErrorException$ = [-3, n0, _IDPCEE,\n { [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 },\n [_m],\n [0]\n];\nn0_registry.registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException);\nexport var IDPRejectedClaimException$ = [-3, n0, _IDPRCE,\n { [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 },\n [_m],\n [0]\n];\nn0_registry.registerError(IDPRejectedClaimException$, IDPRejectedClaimException);\nexport var InvalidIdentityTokenException$ = [-3, n0, _IITE,\n { [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 },\n [_m],\n [0]\n];\nn0_registry.registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException);\nexport var MalformedPolicyDocumentException$ = [-3, n0, _MPDE,\n { [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 },\n [_m],\n [0]\n];\nn0_registry.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);\nexport var PackedPolicyTooLargeException$ = [-3, n0, _PPTLE,\n { [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 },\n [_m],\n [0]\n];\nn0_registry.registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException);\nexport var RegionDisabledException$ = [-3, n0, _RDE,\n { [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 },\n [_m],\n [0]\n];\nn0_registry.registerError(RegionDisabledException$, RegionDisabledException);\nexport const errorTypeRegistries = [\n _s_registry,\n n0_registry,\n];\nvar accessKeySecretType = [0, n0, _aKST, 8, 0];\nvar clientTokenType = [0, n0, _cTT, 8, 0];\nexport var AssumedRoleUser$ = [3, n0, _ARU,\n 0,\n [_ARI, _A],\n [0, 0], 2\n];\nexport var AssumeRoleRequest$ = [3, n0, _ARR,\n 0,\n [_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC, _MSTS],\n [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType, 1], 2\n];\nexport var AssumeRoleResponse$ = [3, n0, _ARRs,\n 0,\n [_C, _ARU, _PPS, _SI, _STU, _STS],\n [[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0, 1, 1]\n];\nexport var AssumeRoleWithWebIdentityRequest$ = [3, n0, _ARWWIR,\n 0,\n [_RA, _RSN, _WIT, _PI, _PA, _P, _DS, _MSTS],\n [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1, 1], 3\n];\nexport var AssumeRoleWithWebIdentityResponse$ = [3, n0, _ARWWIRs,\n 0,\n [_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI, _STU, _STS],\n [[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0, 1, 1]\n];\nexport var Credentials$ = [3, n0, _C,\n 0,\n [_AKI, _SAK, _ST, _E],\n [0, [() => accessKeySecretType, 0], 0, 4], 4\n];\nexport var PolicyDescriptorType$ = [3, n0, _PDT,\n 0,\n [_a],\n [0]\n];\nexport var ProvidedContext$ = [3, n0, _PCr,\n 0,\n [_PAr, _CA],\n [0, 0]\n];\nexport var Tag$ = [3, n0, _Ta,\n 0,\n [_K, _V],\n [0, 0], 2\n];\nvar policyDescriptorListType = [1, n0, _pDLT,\n 0, () => PolicyDescriptorType$\n];\nvar ProvidedContextsListType = [1, n0, _PCLT,\n 0, () => ProvidedContext$\n];\nvar tagKeyListType = 64 | 0;\nvar tagListType = [1, n0, _tLT,\n 0, () => Tag$\n];\nexport var AssumeRole$ = [9, n0, _AR,\n 0, () => AssumeRoleRequest$, () => AssumeRoleResponse$\n];\nexport var AssumeRoleWithWebIdentity$ = [9, n0, _ARWWI,\n 0, () => AssumeRoleWithWebIdentityRequest$, () => AssumeRoleWithWebIdentityResponse$\n];\n","import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { AwsQueryProtocol } from \"@aws-sdk/core/protocols\";\nimport { SignatureV4MultiRegion } from \"@aws-sdk/signature-v4-multi-region\";\nimport { NoAuthSigner } from \"@smithy/core\";\nimport { Sha256 } from \"@smithy/core/checksum\";\nimport { NoOpLogger } from \"@smithy/core/client\";\nimport { parseUrl } from \"@smithy/core/protocols\";\nimport { fromBase64, fromUtf8, toBase64, toUtf8 } from \"@smithy/core/serde\";\nimport { defaultSTSHttpAuthSchemeProvider } from \"./auth/httpAuthSchemeProvider\";\nimport { defaultEndpointResolver } from \"./endpoint/endpointResolver\";\nimport { errorTypeRegistries } from \"./schemas/schemas_0\";\nexport const getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2011-06-15\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSTSHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"aws.auth#sigv4a\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4a\"),\n signer: new AwsSdkSigV4ASigner(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new NoOpLogger(),\n protocol: config?.protocol ?? AwsQueryProtocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.sts\",\n errorTypeRegistries,\n xmlNamespace: \"https://sts.amazonaws.com/doc/2011-06-15/\",\n version: \"2011-06-15\",\n serviceTarget: \"AWSSecurityTokenServiceV20110615\",\n },\n serviceId: config?.serviceId ?? \"STS\",\n sha256: config?.sha256 ?? Sha256,\n signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,\n urlParser: config?.urlParser ?? parseUrl,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n };\n};\n","import packageInfo from \"../../../package.json\";\nimport { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from \"@aws-sdk/core/client\";\nimport { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { NoAuthSigner } from \"@smithy/core\";\nimport { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from \"@smithy/core/client\";\nimport { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from \"@smithy/core/config\";\nimport { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from \"@smithy/core/retry\";\nimport { calculateBodyLength } from \"@smithy/core/serde\";\nimport { NodeHttpHandler as RequestHandler, streamCollector } from \"@smithy/node-http-handler\";\nimport { getRuntimeConfig as getSharedRuntimeConfig } from \"./runtimeConfig.shared\";\nexport const getRuntimeConfig = (config) => {\n emitWarningIfUnsupportedVersion(process.version);\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getSharedRuntimeConfig(config);\n awsCheckVersion(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\") || (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),\n signer: new AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"aws.auth#sigv4a\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4a\"),\n signer: new AwsSdkSigV4ASigner(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new NoAuthSigner(),\n },\n ],\n maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n loadNodeConfig({\n ...NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,\n }, config),\n sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadNodeConfig(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),\n streamCollector: config?.streamCollector ?? streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\n","export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexport const resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n","import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from \"@aws-sdk/core/client\";\nimport { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from \"@smithy/core/client\";\nimport { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from \"@smithy/core/protocols\";\nimport { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from \"./auth/httpAuthExtensionConfiguration\";\nexport const resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n","import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from \"@aws-sdk/core/client\";\nimport { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from \"@smithy/core\";\nimport { Client as __Client, } from \"@smithy/core/client\";\nimport { resolveRegionConfig } from \"@smithy/core/config\";\nimport { resolveEndpointConfig } from \"@smithy/core/endpoints\";\nimport { getContentLengthPlugin } from \"@smithy/core/protocols\";\nimport { getRetryPlugin, resolveRetryConfig, } from \"@smithy/core/retry\";\nimport { getSchemaSerdePlugin } from \"@smithy/core/schema\";\nimport { defaultSTSHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from \"./auth/httpAuthSchemeProvider\";\nimport { resolveClientEndpointParameters, } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nimport { resolveRuntimeExtensions } from \"./runtimeExtensions\";\nexport { __Client };\nexport class STSClient extends __Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = __getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveUserAgentConfig(_config_1);\n const _config_3 = resolveRetryConfig(_config_2);\n const _config_4 = resolveRegionConfig(_config_3);\n const _config_5 = resolveHostHeaderConfig(_config_4);\n const _config_6 = resolveEndpointConfig(_config_5);\n const _config_7 = resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: defaultSTSHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n \"aws.auth#sigv4a\": config.credentials,\n }),\n }));\n this.middlewareStack.use(getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n","import { makeBuilder } from \"@smithy/core/client\";\nimport { getEndpointPlugin } from \"@smithy/core/endpoints\";\nimport { commonParams } from \"./endpoint/EndpointParameters\";\nexport const command = makeBuilder(commonParams, \"AWSSecurityTokenServiceV20110615\", \"STSClient\", getEndpointPlugin);\nexport const _ep0 = {};\nexport const _mw0 = (Command, cs, config, o) => [];\n","import { _ep0, _mw0, command } from \"../commandBuilder\";\nimport { AssumeRole$ } from \"../schemas/schemas_0\";\nexport class AssumeRoleCommand extends command(_ep0, _mw0, \"AssumeRole\", AssumeRole$) {\n}\n","import { _ep0, _mw0, command } from \"../commandBuilder\";\nimport { AssumeRoleWithWebIdentity$ } from \"../schemas/schemas_0\";\nexport class AssumeRoleWithWebIdentityCommand extends command(_ep0, _mw0, \"AssumeRoleWithWebIdentity\", AssumeRoleWithWebIdentity$) {\n}\n","import { createAggregatedClient } from \"@smithy/core/client\";\nimport { AssumeRoleCommand, } from \"./commands/AssumeRoleCommand\";\nimport { AssumeRoleWithWebIdentityCommand, } from \"./commands/AssumeRoleWithWebIdentityCommand\";\nimport { STSClient } from \"./STSClient\";\nconst commands = {\n AssumeRoleCommand,\n AssumeRoleWithWebIdentityCommand,\n};\nexport class STS extends STSClient {\n}\ncreateAggregatedClient(commands, STS);\n","export * from \"./AssumeRoleCommand\";\nexport * from \"./AssumeRoleWithWebIdentityCommand\";\n","export {};\n","import { setCredentialFeature, stsRegionDefaultResolver } from \"@aws-sdk/core/client\";\nimport { AssumeRoleCommand } from \"./commands/AssumeRoleCommand\";\nimport { AssumeRoleWithWebIdentityCommand, } from \"./commands/AssumeRoleWithWebIdentityCommand\";\nconst getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {\n if (typeof assumedRoleUser?.Arn === \"string\") {\n const arnComponents = assumedRoleUser.Arn.split(\":\");\n if (arnComponents.length > 4 && arnComponents[4] !== \"\") {\n return arnComponents[4];\n }\n }\n return undefined;\n};\nconst resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => {\n const region = typeof _region === \"function\" ? await _region() : _region;\n const parentRegion = typeof _parentRegion === \"function\" ? await _parentRegion() : _parentRegion;\n let stsDefaultRegion = \"\";\n const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await stsRegionDefaultResolver(loaderConfig)());\n credentialProviderLogger?.debug?.(\"@aws-sdk/client-sts::resolveRegion\", \"accepting first of:\", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`);\n return resolvedRegion;\n};\nexport const getDefaultRoleAssumer = (stsOptions, STSClient) => {\n let stsClient;\n let closureSourceCreds;\n return async (sourceCreds, params) => {\n closureSourceCreds = sourceCreds;\n if (!stsClient) {\n const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;\n const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {\n logger,\n profile,\n });\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient({\n ...stsOptions,\n userAgentAppId,\n profile,\n credentialDefaultProvider: () => async () => closureSourceCreds,\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,\n logger: logger,\n });\n }\n const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleCommand(params));\n if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);\n const credentials = {\n accessKeyId: Credentials.AccessKeyId,\n secretAccessKey: Credentials.SecretAccessKey,\n sessionToken: Credentials.SessionToken,\n expiration: Credentials.Expiration,\n ...(Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope }),\n ...(accountId && { accountId }),\n };\n setCredentialFeature(credentials, \"CREDENTIALS_STS_ASSUME_ROLE\", \"i\");\n return credentials;\n };\n};\nexport const getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient) => {\n let stsClient;\n return async (params) => {\n if (!stsClient) {\n const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;\n const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {\n logger,\n profile,\n });\n const isCompatibleRequestHandler = !isH2(requestHandler);\n stsClient = new STSClient({\n ...stsOptions,\n userAgentAppId,\n profile,\n region: resolvedRegion,\n requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,\n logger: logger,\n });\n }\n const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));\n if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {\n throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);\n }\n const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);\n const credentials = {\n accessKeyId: Credentials.AccessKeyId,\n secretAccessKey: Credentials.SecretAccessKey,\n sessionToken: Credentials.SessionToken,\n expiration: Credentials.Expiration,\n ...(Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope }),\n ...(accountId && { accountId }),\n };\n if (accountId) {\n setCredentialFeature(credentials, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n setCredentialFeature(credentials, \"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID\", \"k\");\n return credentials;\n };\n};\nconst isH2 = (requestHandler) => {\n return requestHandler?.metadata?.handlerProtocol === \"h2\";\n};\n","import { getDefaultRoleAssumer as StsGetDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity as StsGetDefaultRoleAssumerWithWebIdentity, } from \"./defaultStsRoleAssumers\";\nimport { STSClient } from \"./STSClient\";\nconst getCustomizableStsClientCtor = (baseCtor, customizations) => {\n if (!customizations)\n return baseCtor;\n else\n return class CustomizableSTSClient extends baseCtor {\n constructor(config) {\n super(config);\n for (const customization of customizations) {\n this.middlewareStack.use(customization);\n }\n }\n };\n};\nexport const getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => StsGetDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));\nexport const getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => StsGetDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));\nexport const decorateDefaultCredentialProvider = (provider) => (input) => provider({\n roleAssumer: getDefaultRoleAssumer(input),\n roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input),\n ...input,\n});\n","export * from \"./STSClient\";\nexport * from \"./STS\";\nexport * from \"./commands\";\nexport { Command as $Command } from \"@smithy/core/client\";\nexport * from \"./schemas/schemas_0\";\nexport * from \"./models/errors\";\nexport * from \"./models/models_0\";\nexport * from \"./defaultRoleAssumers\";\nexport { STSServiceException } from \"./models/STSServiceException\";\n","import { resolveAwsSdkSigV4Config, } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { getSmithyContext, normalizeProvider } from \"@smithy/core/client\";\nexport const defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: getSmithyContext(context).operation,\n region: await normalizeProvider(config.region)() || (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"signin\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nexport const defaultSigninHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"CreateOAuth2Token\":\n {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n ;\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexport const resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = resolveAwsSdkSigV4Config(config);\n return Object.assign(config_0, {\n authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),\n });\n};\n","export const resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"signin\",\n });\n};\nexport const commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","import { BinaryDecisionDiagram } from \"@smithy/core/endpoints\";\nconst s = \"ref\";\nconst a = -1, b = false, c = true, d = \"isSet\", e = \"booleanEquals\", f = \"coalesce\", g = \"PartitionResult\", h = \"stringEquals\", i = \"getAttr\", j = \"https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}\", k = { [s]: \"Endpoint\" }, l = { \"fn\": i, \"argv\": [{ [s]: g }, \"name\"] }, m = { [s]: \"Region\" }, n = { [s]: g }, o = { \"authSchemes\": [{ \"name\": \"sigv4\", \"signingName\": \"signin\", \"signingRegion\": \"{Region}\" }] }, p = {}, q = [m];\nconst _data = {\n conditions: [\n [d, q],\n [e, [{ fn: f, argv: [{ [s]: \"IsControlPlane\" }, b] }, c]],\n [d, [k]],\n [\"aws.partition\", q, g],\n [e, [{ [s]: \"UseFIPS\" }, c]],\n [h, [l, \"aws\"]],\n [e, [{ fn: f, argv: [{ [s]: \"IsOAuthEndpoint\" }, b] }, c]],\n [e, [{ [s]: \"UseDualStack\" }, c]],\n [h, [l, \"aws-cn\"]],\n [h, [m, \"us-gov-west-1\"]],\n [h, [l, \"aws-us-gov\"]],\n [e, [{ fn: i, argv: [n, \"supportsFIPS\"] }, c]],\n [h, [l, \"aws-iso\"]],\n [h, [l, \"aws-iso-b\"]],\n [h, [l, \"aws-iso-f\"]],\n [h, [l, \"aws-iso-e\"]],\n [h, [l, \"aws-eusc\"]],\n [e, [{ fn: i, argv: [n, \"supportsDualStack\"] }, c]]\n ],\n results: [\n [a],\n [\"https://signin.{Region}.api.aws\", o],\n [\"https://signin.{Region}.api.amazonwebservices.com.cn\", o],\n [j, o],\n [a, \"FIPS endpoints are not supported for OAuth operations. Disable FIPS or use a non-OAuth operation.\"],\n [\"https://{Region}.oauth.signin.aws\", o],\n [\"https://{Region}.signin.aws.amazon.com\", p],\n [\"https://{Region}.signin.amazonaws.cn\", p],\n [\"https://{Region}.signin.amazonaws-us-gov.com\", p],\n [\"https://{Region}.signin.c2shome.ic.gov\", p],\n [\"https://{Region}.signin.sc2shome.sgov.gov\", p],\n [\"https://{Region}.signin.csphome.hci.ic.gov\", p],\n [\"https://{Region}.signin.csphome.adc-e.uk\", p],\n [\"https://{Region}.signin.amazonaws-eusc.eu\", p],\n [\"https://signin-fips.amazonaws-us-gov.com\", p],\n [\"https://{Region}.signin-fips.amazonaws-us-gov.com\", p],\n [\"https://{Region}.signin.{PartitionResult#dnsSuffix}\", p],\n [a, \"Invalid Configuration: FIPS and custom endpoint are not supported\"],\n [a, \"Invalid Configuration: Dualstack and custom endpoint are not supported\"],\n [k, p],\n [\"https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", p],\n [a, \"FIPS and DualStack are enabled, but this partition does not support one or both\"],\n [\"https://signin-fips.{Region}.{PartitionResult#dnsSuffix}\", p],\n [a, \"FIPS is enabled but this partition does not support FIPS\"],\n [j, p],\n [a, \"DualStack is enabled but this partition does not support DualStack\"],\n [\"https://signin.{Region}.{PartitionResult#dnsSuffix}\", p],\n [a, \"Invalid Configuration: Missing Region\"]\n ]\n};\nconst root = 2;\nconst r = 100_000_000;\nconst nodes = new Int32Array([\n -1, 1, -1,\n 0, 6, 3,\n 2, 36, 4,\n 4, 5, r + 27,\n 6, r + 4, r + 27,\n 1, 29, 7,\n 2, 36, 8,\n 3, 9, 31,\n 4, 22, 10,\n 5, 19, 11,\n 7, 21, 12,\n 8, r + 7, 13,\n 10, r + 8, 14,\n 12, r + 9, 15,\n 13, r + 10, 16,\n 14, r + 11, 17,\n 15, r + 12, 18,\n 16, r + 13, r + 16,\n 6, r + 5, 20,\n 7, 21, r + 6,\n 17, r + 24, r + 25,\n 6, r + 4, 23,\n 7, 27, 24,\n 9, r + 14, 25,\n 10, r + 15, 26,\n 11, r + 22, r + 23,\n 11, 28, r + 21,\n 17, r + 20, r + 21,\n 2, 35, 30,\n 3, 39, 31,\n 4, 32, r + 27,\n 6, r + 4, 33,\n 7, r + 27, 34,\n 9, r + 14, r + 27,\n 3, 39, 36,\n 4, 38, 37,\n 7, r + 18, r + 19,\n 6, r + 4, r + 17,\n 5, r + 1, 40,\n 8, r + 2, r + 3,\n]);\nexport const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);\n","import { awsEndpointFunctions } from \"@aws-sdk/core/client\";\nimport { customEndpointFunctions, decideEndpoint, EndpointCache } from \"@smithy/core/endpoints\";\nimport { bdd } from \"./bdd\";\nconst cache = new EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"IsControlPlane\", \"IsOAuthEndpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nexport const defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => decideEndpoint(bdd, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\ncustomEndpointFunctions.aws = awsEndpointFunctions;\n","import { ServiceException as __ServiceException, } from \"@smithy/core/client\";\nexport { __ServiceException };\nexport class SigninServiceException extends __ServiceException {\n static shapeId = \"smithy.ts.sdk.synthetic.com.amazonaws.signin#SigninServiceException\";\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SigninServiceException.prototype);\n }\n}\n","import { SigninServiceException as __BaseException } from \"./SigninServiceException\";\nexport class AccessDeniedException extends __BaseException {\n static shapeId = \"com.amazonaws.signin#AccessDeniedException\";\n name = \"AccessDeniedException\";\n $fault = \"client\";\n error;\n constructor(opts) {\n super({\n name: \"AccessDeniedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, AccessDeniedException.prototype);\n this.error = opts.error;\n }\n}\nexport class InternalServerException extends __BaseException {\n static shapeId = \"com.amazonaws.signin#InternalServerException\";\n name = \"InternalServerException\";\n $fault = \"server\";\n error;\n constructor(opts) {\n super({\n name: \"InternalServerException\",\n $fault: \"server\",\n ...opts,\n });\n Object.setPrototypeOf(this, InternalServerException.prototype);\n this.error = opts.error;\n }\n}\nexport class TooManyRequestsError extends __BaseException {\n static shapeId = \"com.amazonaws.signin#TooManyRequestsError\";\n name = \"TooManyRequestsError\";\n $fault = \"client\";\n error;\n constructor(opts) {\n super({\n name: \"TooManyRequestsError\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TooManyRequestsError.prototype);\n this.error = opts.error;\n }\n}\nexport class ValidationException extends __BaseException {\n static shapeId = \"com.amazonaws.signin#ValidationException\";\n name = \"ValidationException\";\n $fault = \"client\";\n error;\n constructor(opts) {\n super({\n name: \"ValidationException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ValidationException.prototype);\n this.error = opts.error;\n }\n}\n","const _ADE = \"AccessDeniedException\";\nconst _AT = \"AccessToken\";\nconst _COAT = \"CreateOAuth2Token\";\nconst _COATR = \"CreateOAuth2TokenRequest\";\nconst _COATRB = \"CreateOAuth2TokenRequestBody\";\nconst _COATRBr = \"CreateOAuth2TokenResponseBody\";\nconst _COATRr = \"CreateOAuth2TokenResponse\";\nconst _COATWIAM = \"CreateOAuth2TokenWithIAM\";\nconst _COATWIAMR = \"CreateOAuth2TokenWithIAMRequest\";\nconst _COATWIAMRr = \"CreateOAuth2TokenWithIAMResponse\";\nconst _ISE = \"InternalServerException\";\nconst _OAAT = \"OAuthAccessToken\";\nconst _RT = \"RefreshToken\";\nconst _TMRE = \"TooManyRequestsError\";\nconst _VE = \"ValidationException\";\nconst _aKI = \"accessKeyId\";\nconst _aT = \"accessToken\";\nconst _at = \"access_token\";\nconst _c = \"client\";\nconst _cI = \"clientId\";\nconst _cV = \"codeVerifier\";\nconst _co = \"code\";\nconst _e = \"error\";\nconst _eI = \"expiresIn\";\nconst _ei = \"expires_in\";\nconst _gT = \"grantType\";\nconst _gt = \"grant_type\";\nconst _h = \"http\";\nconst _hE = \"httpError\";\nconst _iT = \"idToken\";\nconst _jN = \"jsonName\";\nconst _m = \"message\";\nconst _r = \"resource\";\nconst _rT = \"refreshToken\";\nconst _rU = \"redirectUri\";\nconst _s = \"smithy.ts.sdk.synthetic.com.amazonaws.signin\";\nconst _sAK = \"secretAccessKey\";\nconst _sT = \"sessionToken\";\nconst _se = \"server\";\nconst _tI = \"tokenInput\";\nconst _tO = \"tokenOutput\";\nconst _tT = \"tokenType\";\nconst _tt = \"token_type\";\nconst n0 = \"com.amazonaws.signin\";\nimport { TypeRegistry } from \"@smithy/core/schema\";\nimport { AccessDeniedException, InternalServerException, TooManyRequestsError, ValidationException, } from \"../models/errors\";\nimport { SigninServiceException } from \"../models/SigninServiceException\";\nconst _s_registry = new TypeRegistry(_s);\nexport var SigninServiceException$ = [-3, _s, \"SigninServiceException\", 0, [], []];\n_s_registry.registerError(SigninServiceException$, SigninServiceException);\nconst n0_registry = new TypeRegistry(n0);\nexport var AccessDeniedException$ = [-3, n0, _ADE,\n { [_e]: _c },\n [_e, _m],\n [0, 0], 2\n];\nn0_registry.registerError(AccessDeniedException$, AccessDeniedException);\nexport var InternalServerException$ = [-3, n0, _ISE,\n { [_e]: _se, [_hE]: 500 },\n [_e, _m],\n [0, 0], 2\n];\nn0_registry.registerError(InternalServerException$, InternalServerException);\nexport var TooManyRequestsError$ = [-3, n0, _TMRE,\n { [_e]: _c, [_hE]: 429 },\n [_e, _m],\n [0, 0], 2\n];\nn0_registry.registerError(TooManyRequestsError$, TooManyRequestsError);\nexport var ValidationException$ = [-3, n0, _VE,\n { [_e]: _c, [_hE]: 400 },\n [_e, _m],\n [0, 0], 2\n];\nn0_registry.registerError(ValidationException$, ValidationException);\nexport const errorTypeRegistries = [\n _s_registry,\n n0_registry,\n];\nvar OAuthAccessToken = [0, n0, _OAAT, 8, 0];\nvar RefreshToken = [0, n0, _RT, 8, 0];\nexport var AccessToken$ = [3, n0, _AT,\n 8,\n [_aKI, _sAK, _sT],\n [[0, { [_jN]: _aKI }], [0, { [_jN]: _sAK }], [0, { [_jN]: _sT }]], 3\n];\nexport var CreateOAuth2TokenRequest$ = [3, n0, _COATR,\n 0,\n [_tI],\n [[() => CreateOAuth2TokenRequestBody$, 16]], 1\n];\nexport var CreateOAuth2TokenRequestBody$ = [3, n0, _COATRB,\n 0,\n [_cI, _gT, _co, _rU, _cV, _rT],\n [[0, { [_jN]: _cI }], [0, { [_jN]: _gT }], 0, [0, { [_jN]: _rU }], [0, { [_jN]: _cV }], [() => RefreshToken, { [_jN]: _rT }]], 2\n];\nexport var CreateOAuth2TokenResponse$ = [3, n0, _COATRr,\n 0,\n [_tO],\n [[() => CreateOAuth2TokenResponseBody$, 16]], 1\n];\nexport var CreateOAuth2TokenResponseBody$ = [3, n0, _COATRBr,\n 0,\n [_aT, _tT, _eI, _rT, _iT],\n [[() => AccessToken$, { [_jN]: _aT }], [0, { [_jN]: _tT }], [1, { [_jN]: _eI }], [() => RefreshToken, { [_jN]: _rT }], [0, { [_jN]: _iT }]], 4\n];\nexport var CreateOAuth2TokenWithIAMRequest$ = [3, n0, _COATWIAMR,\n 0,\n [_gT, _r],\n [[0, { [_jN]: _gt }], 0], 2\n];\nexport var CreateOAuth2TokenWithIAMResponse$ = [3, n0, _COATWIAMRr,\n 0,\n [_aT, _tT, _eI],\n [[() => OAuthAccessToken, { [_jN]: _at }], [0, { [_jN]: _tt }], [1, { [_jN]: _ei }]], 3\n];\nexport var CreateOAuth2Token$ = [9, n0, _COAT,\n { [_h]: [\"POST\", \"/v1/token\", 200] }, () => CreateOAuth2TokenRequest$, () => CreateOAuth2TokenResponse$\n];\nexport var CreateOAuth2TokenWithIAM$ = [9, n0, _COATWIAM,\n { [_h]: [\"POST\", \"/v1/token?x-amz-client-auth-method=iam\", 200] }, () => CreateOAuth2TokenWithIAMRequest$, () => CreateOAuth2TokenWithIAMResponse$\n];\n","import { AwsSdkSigV4Signer } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { AwsRestJsonProtocol } from \"@aws-sdk/core/protocols\";\nimport { NoAuthSigner } from \"@smithy/core\";\nimport { Sha256 } from \"@smithy/core/checksum\";\nimport { NoOpLogger } from \"@smithy/core/client\";\nimport { parseUrl } from \"@smithy/core/protocols\";\nimport { fromBase64, fromUtf8, toBase64, toUtf8 } from \"@smithy/core/serde\";\nimport { defaultSigninHttpAuthSchemeProvider } from \"./auth/httpAuthSchemeProvider\";\nimport { defaultEndpointResolver } from \"./endpoint/endpointResolver\";\nimport { errorTypeRegistries } from \"./schemas/schemas_0\";\nexport const getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2023-01-01\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSigninHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new NoOpLogger(),\n protocol: config?.protocol ?? AwsRestJsonProtocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.signin\",\n errorTypeRegistries,\n version: \"2023-01-01\",\n serviceTarget: \"Signin\",\n },\n serviceId: config?.serviceId ?? \"Signin\",\n sha256: config?.sha256 ?? Sha256,\n urlParser: config?.urlParser ?? parseUrl,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n };\n};\n","import packageInfo from \"../../../package.json\";\nimport { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from \"@aws-sdk/core/client\";\nimport { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from \"@aws-sdk/core/httpAuthSchemes\";\nimport { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from \"@smithy/core/client\";\nimport { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from \"@smithy/core/config\";\nimport { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from \"@smithy/core/retry\";\nimport { calculateBodyLength } from \"@smithy/core/serde\";\nimport { NodeHttpHandler as RequestHandler, streamCollector } from \"@smithy/node-http-handler\";\nimport { getRuntimeConfig as getSharedRuntimeConfig } from \"./runtimeConfig.shared\";\nexport const getRuntimeConfig = (config) => {\n emitWarningIfUnsupportedVersion(process.version);\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getSharedRuntimeConfig(config);\n awsCheckVersion(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n loadNodeConfig({\n ...NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,\n }, config),\n streamCollector: config?.streamCollector ?? streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\n","export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexport const resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n","import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from \"@aws-sdk/core/client\";\nimport { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from \"@smithy/core/client\";\nimport { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from \"@smithy/core/protocols\";\nimport { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from \"./auth/httpAuthExtensionConfiguration\";\nexport const resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n","import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from \"@aws-sdk/core/client\";\nimport { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from \"@smithy/core\";\nimport { Client as __Client, } from \"@smithy/core/client\";\nimport { resolveRegionConfig } from \"@smithy/core/config\";\nimport { resolveEndpointConfig } from \"@smithy/core/endpoints\";\nimport { getContentLengthPlugin } from \"@smithy/core/protocols\";\nimport { getRetryPlugin, resolveRetryConfig, } from \"@smithy/core/retry\";\nimport { getSchemaSerdePlugin } from \"@smithy/core/schema\";\nimport { defaultSigninHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from \"./auth/httpAuthSchemeProvider\";\nimport { resolveClientEndpointParameters, } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nimport { resolveRuntimeExtensions } from \"./runtimeExtensions\";\nexport { __Client };\nexport class SigninClient extends __Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = __getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveUserAgentConfig(_config_1);\n const _config_3 = resolveRetryConfig(_config_2);\n const _config_4 = resolveRegionConfig(_config_3);\n const _config_5 = resolveHostHeaderConfig(_config_4);\n const _config_6 = resolveEndpointConfig(_config_5);\n const _config_7 = resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: defaultSigninHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n","import { makeBuilder } from \"@smithy/core/client\";\nimport { getEndpointPlugin } from \"@smithy/core/endpoints\";\nimport { commonParams } from \"./endpoint/EndpointParameters\";\nexport const command = makeBuilder(commonParams, \"Signin\", \"SigninClient\", getEndpointPlugin);\nexport const _ep0 = {\n IsControlPlane: { type: \"staticContextParams\", value: false },\n};\nexport const _ep1 = {\n IsOAuthEndpoint: { type: \"staticContextParams\", value: true },\n};\nexport const _mw0 = (Command, cs, config, o) => [];\n","import { _ep0, _mw0, command } from \"../commandBuilder\";\nimport { CreateOAuth2Token$ } from \"../schemas/schemas_0\";\nexport class CreateOAuth2TokenCommand extends command(_ep0, _mw0, \"CreateOAuth2Token\", CreateOAuth2Token$) {\n}\n","import { _ep1, _mw0, command } from \"../commandBuilder\";\nimport { CreateOAuth2TokenWithIAM$ } from \"../schemas/schemas_0\";\nexport class CreateOAuth2TokenWithIAMCommand extends command(_ep1, _mw0, \"CreateOAuth2TokenWithIAM\", CreateOAuth2TokenWithIAM$) {\n}\n","import { createAggregatedClient } from \"@smithy/core/client\";\nimport { CreateOAuth2TokenCommand, } from \"./commands/CreateOAuth2TokenCommand\";\nimport { CreateOAuth2TokenWithIAMCommand, } from \"./commands/CreateOAuth2TokenWithIAMCommand\";\nimport { SigninClient } from \"./SigninClient\";\nconst commands = {\n CreateOAuth2TokenCommand,\n CreateOAuth2TokenWithIAMCommand,\n};\nexport class Signin extends SigninClient {\n}\ncreateAggregatedClient(commands, Signin);\n","export * from \"./CreateOAuth2TokenCommand\";\nexport * from \"./CreateOAuth2TokenWithIAMCommand\";\n","export const OAuth2ErrorCode = {\n AUTHCODE_EXPIRED: \"AUTHCODE_EXPIRED\",\n CONFLICT: \"CONFLICT\",\n INSUFFICIENT_PERMISSIONS: \"INSUFFICIENT_PERMISSIONS\",\n INVALID_REQUEST: \"INVALID_REQUEST\",\n RESOURCE_NOT_FOUND: \"RESOURCE_NOT_FOUND\",\n SERVER_ERROR: \"server_error\",\n SERVICE_QUOTA_EXCEEDED: \"SERVICE_QUOTA_EXCEEDED\",\n TOKEN_EXPIRED: \"TOKEN_EXPIRED\",\n USER_CREDENTIALS_CHANGED: \"USER_CREDENTIALS_CHANGED\",\n};\n","export {};\n","export * from \"./SigninClient\";\nexport * from \"./Signin\";\nexport * from \"./commands\";\nexport { Command as $Command } from \"@smithy/core/client\";\nexport * from \"./schemas/schemas_0\";\nexport * from \"./models/enums\";\nexport * from \"./models/errors\";\nexport * from \"./models/models_0\";\nexport { SigninServiceException } from \"./models/SigninServiceException\";\n","const { setCredentialFeature } = require(\"@aws-sdk/core/client\");\nconst { CredentialsProviderError, parseKnownFiles, getProfileName } = require(\"@smithy/core/config\");\nconst { HttpRequest } = require(\"@smithy/core/protocols\");\nconst { createHash, createPrivateKey, createPublicKey, sign } = require(\"node:crypto\");\nconst { promises } = require(\"node:fs\");\nconst { homedir } = require(\"node:os\");\nconst { dirname, join } = require(\"node:path\");\n\nclass LoginCredentialsFetcher {\n profileData;\n init;\n callerClientConfig;\n static REFRESH_THRESHOLD = 5 * 60 * 1000;\n constructor(profileData, init, callerClientConfig) {\n this.profileData = profileData;\n this.init = init;\n this.callerClientConfig = callerClientConfig;\n }\n async loadCredentials() {\n const token = await this.loadToken();\n if (!token) {\n throw new CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`, { tryNextLink: false, logger: this.logger });\n }\n const accessToken = token.accessToken;\n const now = Date.now();\n const expiryTime = new Date(accessToken.expiresAt).getTime();\n const timeUntilExpiry = expiryTime - now;\n if (timeUntilExpiry <= LoginCredentialsFetcher.REFRESH_THRESHOLD) {\n return this.refresh(token);\n }\n return this.toCredentials(token.accessToken);\n }\n get logger() {\n return this.init?.logger;\n }\n get loginSession() {\n return this.profileData.login_session;\n }\n toCredentials(token) {\n return {\n accessKeyId: token.accessKeyId,\n secretAccessKey: token.secretAccessKey,\n sessionToken: token.sessionToken,\n accountId: token.accountId,\n expiration: new Date(token.expiresAt),\n };\n }\n async refresh(token) {\n const diskToken = await this.loadToken().catch(() => token);\n const now = Date.now();\n const diskExpiry = new Date(diskToken.accessToken.expiresAt).getTime();\n const tokenExpiry = new Date(token.accessToken.expiresAt).getTime();\n const freshToken = diskExpiry <= now && tokenExpiry > now ? token : diskToken;\n const freshExpiry = new Date(freshToken.accessToken.expiresAt).getTime();\n if (freshExpiry - Date.now() > LoginCredentialsFetcher.REFRESH_THRESHOLD) {\n return this.toCredentials(freshToken.accessToken);\n }\n const { SigninClient, CreateOAuth2TokenCommand } = require('@aws-sdk/nested-clients/signin');\n const { logger, userAgentAppId } = this.callerClientConfig ?? {};\n const isH2 = (requestHandler) => {\n return requestHandler?.metadata?.handlerProtocol === \"h2\";\n };\n const requestHandler = isH2(this.callerClientConfig?.requestHandler)\n ? undefined\n : this.callerClientConfig?.requestHandler;\n const region = this.profileData.region ?? (await this.callerClientConfig?.region?.()) ?? process.env.AWS_REGION;\n const client = new SigninClient({\n credentials: {\n accessKeyId: \"\",\n secretAccessKey: \"\",\n },\n region,\n requestHandler,\n logger,\n userAgentAppId,\n ...this.init?.clientConfig,\n });\n this.createDPoPInterceptor(client.middlewareStack);\n const commandInput = {\n tokenInput: {\n clientId: freshToken.clientId,\n refreshToken: freshToken.refreshToken,\n grantType: \"refresh_token\",\n },\n };\n try {\n const response = await client.send(new CreateOAuth2TokenCommand(commandInput));\n const { accessKeyId, secretAccessKey, sessionToken } = response.tokenOutput?.accessToken ?? {};\n const { refreshToken, expiresIn } = response.tokenOutput ?? {};\n if (!accessKeyId || !secretAccessKey || !sessionToken || !refreshToken) {\n throw new CredentialsProviderError(\"Token refresh response missing required fields\", {\n logger: this.logger,\n tryNextLink: false,\n });\n }\n const expiresInMs = (expiresIn ?? 900) * 1000;\n const expiration = new Date(Date.now() + expiresInMs);\n const updatedToken = {\n ...freshToken,\n accessToken: {\n ...freshToken.accessToken,\n accessKeyId,\n secretAccessKey,\n sessionToken,\n expiresAt: expiration.toISOString(),\n },\n refreshToken,\n };\n await this.saveToken(updatedToken);\n return this.toCredentials(updatedToken.accessToken);\n }\n catch (error) {\n if (error.name === \"AccessDeniedException\") {\n const errorType = error.error;\n let message;\n switch (errorType) {\n case \"TOKEN_EXPIRED\":\n message = \"Your session has expired. Please reauthenticate.\";\n break;\n case \"USER_CREDENTIALS_CHANGED\":\n message =\n \"Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.\";\n break;\n case \"INSUFFICIENT_PERMISSIONS\":\n message =\n \"Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.\";\n break;\n default:\n message = `Failed to refresh token: ${String(error)}. Please re-authenticate using \\`aws login\\``;\n }\n throw new CredentialsProviderError(message, {\n logger: this.logger,\n tryNextLink: false,\n });\n }\n const tokenExpiry = new Date(freshToken.accessToken.expiresAt).getTime();\n if (tokenExpiry > Date.now()) {\n this.logger?.warn?.(`Failed to refresh token: ${String(error)}. Using existing token until expiry.`);\n return this.toCredentials(freshToken.accessToken);\n }\n throw new CredentialsProviderError(`Failed to refresh token: ${String(error)}. Please re-authenticate using aws login`, { logger: this.logger });\n }\n }\n async loadToken() {\n const tokenFilePath = this.getTokenFilePath();\n try {\n const tokenData = await promises.readFile(tokenFilePath, \"utf8\");\n const token = JSON.parse(tokenData);\n const missingFields = [\"accessToken\", \"clientId\", \"refreshToken\", \"dpopKey\"].filter((k) => !token[k]);\n if (!token.accessToken?.accountId) {\n missingFields.push(\"accountId\");\n }\n if (missingFields.length > 0) {\n throw new CredentialsProviderError(`Token validation failed, missing fields: ${missingFields.join(\", \")}`, {\n logger: this.logger,\n tryNextLink: false,\n });\n }\n return token;\n }\n catch (error) {\n throw new CredentialsProviderError(`Failed to load token from ${tokenFilePath}: ${String(error)}`, {\n logger: this.logger,\n tryNextLink: false,\n });\n }\n }\n async saveToken(token) {\n const tokenFilePath = this.getTokenFilePath();\n const directory = dirname(tokenFilePath);\n try {\n await promises.mkdir(directory, { recursive: true });\n }\n catch (error) {\n }\n await promises.writeFile(tokenFilePath, JSON.stringify(token, null, 2), \"utf8\");\n }\n getTokenFilePath() {\n const directory = process.env.AWS_LOGIN_CACHE_DIRECTORY ?? join(homedir(), \".aws\", \"login\", \"cache\");\n const loginSessionBytes = Buffer.from(this.loginSession, \"utf8\");\n const loginSessionSha256 = createHash(\"sha256\").update(loginSessionBytes).digest(\"hex\");\n return join(directory, `${loginSessionSha256}.json`);\n }\n derToRawSignature(derSignature) {\n let offset = 2;\n if (derSignature[offset] !== 0x02) {\n throw new Error(\"Invalid DER signature\");\n }\n offset++;\n const rLength = derSignature[offset++];\n let r = derSignature.subarray(offset, offset + rLength);\n offset += rLength;\n if (derSignature[offset] !== 0x02) {\n throw new Error(\"Invalid DER signature\");\n }\n offset++;\n const sLength = derSignature[offset++];\n let s = derSignature.subarray(offset, offset + sLength);\n r = r[0] === 0x00 ? r.subarray(1) : r;\n s = s[0] === 0x00 ? s.subarray(1) : s;\n const rPadded = Buffer.concat([Buffer.alloc(32 - r.length), r]);\n const sPadded = Buffer.concat([Buffer.alloc(32 - s.length), s]);\n return Buffer.concat([rPadded, sPadded]);\n }\n createDPoPInterceptor(middlewareStack) {\n middlewareStack.add((next) => async (args) => {\n if (HttpRequest.isInstance(args.request)) {\n const request = args.request;\n const actualEndpoint = `${request.protocol}//${request.hostname}${request.port ? `:${request.port}` : \"\"}${request.path}`;\n const dpop = await this.generateDpop(request.method, actualEndpoint);\n request.headers = {\n ...request.headers,\n DPoP: dpop,\n };\n }\n return next(args);\n }, {\n step: \"finalizeRequest\",\n name: \"dpopInterceptor\",\n override: true,\n });\n }\n async generateDpop(method = \"POST\", endpoint) {\n const token = await this.loadToken();\n try {\n const privateKey = createPrivateKey({\n key: token.dpopKey,\n format: \"pem\",\n type: \"sec1\",\n });\n const publicKey = createPublicKey(privateKey);\n const publicDer = publicKey.export({ format: \"der\", type: \"spki\" });\n let pointStart = -1;\n for (let i = 0; i < publicDer.length; i++) {\n if (publicDer[i] === 0x04) {\n pointStart = i;\n break;\n }\n }\n const x = publicDer.slice(pointStart + 1, pointStart + 33);\n const y = publicDer.slice(pointStart + 33, pointStart + 65);\n const header = {\n alg: \"ES256\",\n typ: \"dpop+jwt\",\n jwk: {\n kty: \"EC\",\n crv: \"P-256\",\n x: x.toString(\"base64url\"),\n y: y.toString(\"base64url\"),\n },\n };\n const payload = {\n jti: crypto.randomUUID(),\n htm: method,\n htu: endpoint,\n iat: Math.floor(Date.now() / 1000),\n };\n const headerB64 = Buffer.from(JSON.stringify(header)).toString(\"base64url\");\n const payloadB64 = Buffer.from(JSON.stringify(payload)).toString(\"base64url\");\n const message = `${headerB64}.${payloadB64}`;\n const asn1Signature = sign(\"sha256\", Buffer.from(message), privateKey);\n const rawSignature = this.derToRawSignature(asn1Signature);\n const signatureB64 = rawSignature.toString(\"base64url\");\n return `${message}.${signatureB64}`;\n }\n catch (error) {\n throw new CredentialsProviderError(`Failed to generate Dpop proof: ${error instanceof Error ? error.message : String(error)}`, { logger: this.logger, tryNextLink: false });\n }\n }\n}\n\nconst fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {\n init?.logger?.debug?.(\"@aws-sdk/credential-providers - fromLoginCredentials\");\n const profiles = await parseKnownFiles(init || {});\n const profileName = getProfileName({\n profile: init?.profile ?? callerClientConfig?.profile,\n });\n const profile = profiles[profileName];\n if (!profile?.login_session) {\n throw new CredentialsProviderError(`Profile ${profileName} does not contain login_session.`, {\n tryNextLink: true,\n logger: init?.logger,\n });\n }\n const fetcher = new LoginCredentialsFetcher(profile, init, callerClientConfig);\n const credentials = await fetcher.loadCredentials();\n return setCredentialFeature(credentials, \"CREDENTIALS_LOGIN\", \"AD\");\n};\n\nexports.fromLoginCredentials = fromLoginCredentials;\n","const { externalDataInterceptor, CredentialsProviderError, parseKnownFiles, getProfileName } = require(\"@smithy/core/config\");\nconst { exec } = require(\"node:child_process\");\nconst { promisify } = require(\"node:util\");\nconst { setCredentialFeature } = require(\"@aws-sdk/core/client\");\n\nconst getValidatedProcessCredentials = (profileName, data, profiles) => {\n if (data.Version !== 1) {\n throw Error(`Profile ${profileName} credential_process did not return Version 1.`);\n }\n if (data.AccessKeyId === undefined || data.SecretAccessKey === undefined) {\n throw Error(`Profile ${profileName} credential_process returned invalid credentials.`);\n }\n if (data.Expiration) {\n const currentTime = new Date();\n const expireTime = new Date(data.Expiration);\n if (expireTime < currentTime) {\n throw Error(`Profile ${profileName} credential_process returned expired credentials.`);\n }\n }\n let accountId = data.AccountId;\n if (!accountId && profiles?.[profileName]?.aws_account_id) {\n accountId = profiles[profileName].aws_account_id;\n }\n const credentials = {\n accessKeyId: data.AccessKeyId,\n secretAccessKey: data.SecretAccessKey,\n ...(data.SessionToken && { sessionToken: data.SessionToken }),\n ...(data.Expiration && { expiration: new Date(data.Expiration) }),\n ...(data.CredentialScope && { credentialScope: data.CredentialScope }),\n ...(accountId && { accountId }),\n };\n setCredentialFeature(credentials, \"CREDENTIALS_PROCESS\", \"w\");\n return credentials;\n};\n\nconst resolveProcessCredentials = async (profileName, profiles, logger) => {\n const profile = profiles[profileName];\n if (profiles[profileName]) {\n const credentialProcess = profile[\"credential_process\"];\n if (credentialProcess !== undefined) {\n const execPromise = promisify(externalDataInterceptor?.getTokenRecord?.().exec ?? exec);\n try {\n const { stdout } = await execPromise(credentialProcess);\n let data;\n try {\n data = JSON.parse(stdout.trim());\n }\n catch {\n throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);\n }\n return getValidatedProcessCredentials(profileName, data, profiles);\n }\n catch (error) {\n throw new CredentialsProviderError(error.message, { logger });\n }\n }\n else {\n throw new CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger });\n }\n }\n else {\n throw new CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, {\n logger,\n });\n }\n};\n\nconst fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-process - fromProcess\");\n const profiles = await parseKnownFiles(init);\n return resolveProcessCredentials(getProfileName({\n profile: init.profile ?? callerClientConfig?.profile,\n }), profiles, init.logger);\n};\n\nexports.fromProcess = fromProcess;\n","const { setCredentialFeature } = require(\"@aws-sdk/core/client\");\nconst { CredentialsProviderError, externalDataInterceptor } = require(\"@smithy/core/config\");\nconst { readFileSync } = require(\"node:fs\");\n\nconst fromWebToken = (init) => async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromWebToken\");\n const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;\n let { roleAssumerWithWebIdentity } = init;\n if (!roleAssumerWithWebIdentity) {\n const { getDefaultRoleAssumerWithWebIdentity } = require('@aws-sdk/nested-clients/sts');\n roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({\n ...init.clientConfig,\n credentialProviderLogger: init.logger,\n parentClientConfig: {\n ...awsIdentityProperties?.callerClientConfig,\n ...init.parentClientConfig,\n },\n }, init.clientPlugins);\n }\n return roleAssumerWithWebIdentity({\n RoleArn: roleArn,\n RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,\n WebIdentityToken: webIdentityToken,\n ProviderId: providerId,\n PolicyArns: policyArns,\n Policy: policy,\n DurationSeconds: durationSeconds,\n });\n};\n\nconst ENV_TOKEN_FILE = \"AWS_WEB_IDENTITY_TOKEN_FILE\";\nconst ENV_ROLE_ARN = \"AWS_ROLE_ARN\";\nconst ENV_ROLE_SESSION_NAME = \"AWS_ROLE_SESSION_NAME\";\nconst fromTokenFile = (init = {}) => async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-web-identity - fromTokenFile\");\n const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];\n const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];\n const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];\n if (!webIdentityTokenFile || !roleArn) {\n throw new CredentialsProviderError(\"Web identity configuration not specified\", {\n logger: init.logger,\n });\n }\n const credentials = await fromWebToken({\n ...init,\n webIdentityToken: externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ??\n readFileSync(webIdentityTokenFile, { encoding: \"ascii\" }),\n roleArn,\n roleSessionName,\n })(awsIdentityProperties);\n if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {\n setCredentialFeature(credentials, \"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN\", \"h\");\n }\n return credentials;\n};\n\nexports.fromTokenFile = fromTokenFile;\nexports.fromWebToken = fromWebToken;\n","const { CredentialsProviderError, chain, getProfileName, parseKnownFiles } = require(\"@smithy/core/config\");\nconst { setCredentialFeature } = require(\"@aws-sdk/core/client\");\n\nconst resolveCredentialSource = (credentialSource, profileName, logger) => {\n const sourceProvidersMap = {\n EcsContainer: async (options) => {\n const { fromHttp } = require('@aws-sdk/credential-provider-http');\n const { fromContainerMetadata } = require('@smithy/credential-provider-imds');\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is EcsContainer\");\n return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);\n },\n Ec2InstanceMetadata: async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata\");\n const { fromInstanceMetadata } = require('@smithy/credential-provider-imds');\n return async () => fromInstanceMetadata(options)().then(setNamedProvider);\n },\n Environment: async (options) => {\n logger?.debug(\"@aws-sdk/credential-provider-ini - credential_source is Environment\");\n const { fromEnv } = require('@aws-sdk/credential-provider-env');\n return async () => fromEnv(options)().then(setNamedProvider);\n },\n };\n if (credentialSource in sourceProvidersMap) {\n return sourceProvidersMap[credentialSource];\n }\n else {\n throw new CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, ` +\n `expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger });\n }\n};\nconst setNamedProvider = (creds) => setCredentialFeature(creds, \"CREDENTIALS_PROFILE_NAMED_PROVIDER\", \"p\");\n\nconst isAssumeRoleProfile = (arg, { profile = \"default\", logger } = {}) => {\n return (Boolean(arg) &&\n typeof arg === \"object\" &&\n typeof arg.role_arn === \"string\" &&\n [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1 &&\n [\"undefined\", \"string\"].indexOf(typeof arg.external_id) > -1 &&\n [\"undefined\", \"string\"].indexOf(typeof arg.mfa_serial) > -1 &&\n (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger })));\n};\nconst isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => {\n const withSourceProfile = typeof arg.source_profile === \"string\" && typeof arg.credential_source === \"undefined\";\n if (withSourceProfile) {\n logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);\n }\n return withSourceProfile;\n};\nconst isCredentialSourceProfile = (arg, { profile, logger }) => {\n const withProviderProfile = typeof arg.credential_source === \"string\" && typeof arg.source_profile === \"undefined\";\n if (withProviderProfile) {\n logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);\n }\n return withProviderProfile;\n};\nconst resolveAssumeRoleCredentials = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, resolveProfileData) => {\n options.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)\");\n const profileData = profiles[profileName];\n const { source_profile, region } = profileData;\n if (!options.roleAssumer) {\n const { getDefaultRoleAssumer } = require('@aws-sdk/nested-clients/sts');\n options.roleAssumer = getDefaultRoleAssumer({\n ...options.clientConfig,\n credentialProviderLogger: options.logger,\n parentClientConfig: {\n ...callerClientConfig,\n ...options?.parentClientConfig,\n region: region ?? options?.parentClientConfig?.region ?? callerClientConfig?.region,\n },\n }, options.clientPlugins);\n }\n if (source_profile && source_profile in visitedProfiles) {\n throw new CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` +\n ` ${getProfileName(options)}. Profiles visited: ` +\n Object.keys(visitedProfiles).join(\", \"), { logger: options.logger });\n }\n options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);\n const sourceCredsProvider = source_profile\n ? resolveProfileData(source_profile, profiles, options, callerClientConfig, {\n ...visitedProfiles,\n [source_profile]: true,\n }, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {}))\n : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))();\n if (isCredentialSourceWithoutRoleArn(profileData)) {\n return sourceCredsProvider.then((creds) => setCredentialFeature(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\"));\n }\n else {\n const params = {\n RoleArn: profileData.role_arn,\n RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`,\n ExternalId: profileData.external_id,\n DurationSeconds: parseInt(profileData.duration_seconds || \"3600\", 10),\n };\n const { mfa_serial } = profileData;\n if (mfa_serial) {\n if (!options.mfaCodeProvider) {\n throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });\n }\n params.SerialNumber = mfa_serial;\n params.TokenCode = await options.mfaCodeProvider(mfa_serial);\n }\n const sourceCreds = await sourceCredsProvider;\n return options.roleAssumer(sourceCreds, params).then((creds) => setCredentialFeature(creds, \"CREDENTIALS_PROFILE_SOURCE_PROFILE\", \"o\"));\n }\n};\nconst isCredentialSourceWithoutRoleArn = (section) => {\n return !section.role_arn && !!section.credential_source;\n};\n\nconst isLoginProfile = (data) => {\n return Boolean(data && data.login_session);\n};\nconst resolveLoginCredentials = async (profileName, options, callerClientConfig) => {\n const { fromLoginCredentials } = require('@aws-sdk/credential-provider-login');\n const credentials = await fromLoginCredentials({\n ...options,\n profile: profileName,\n })({ callerClientConfig });\n return setCredentialFeature(credentials, \"CREDENTIALS_PROFILE_LOGIN\", \"AC\");\n};\n\nconst isProcessProfile = (arg) => Boolean(arg) && typeof arg === \"object\" && typeof arg.credential_process === \"string\";\nconst resolveProcessCredentials = async (options, profile) => {\n const { fromProcess } = require('@aws-sdk/credential-provider-process');\n const credentials = await fromProcess({\n ...options,\n profile,\n })();\n return setCredentialFeature(credentials, \"CREDENTIALS_PROFILE_PROCESS\", \"v\");\n};\n\nconst resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {\n const { fromSSO } = require('@aws-sdk/credential-provider-sso');\n return fromSSO({\n profile,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig,\n clientConfig: options.clientConfig,\n })({\n callerClientConfig,\n }).then((creds) => {\n if (profileData.sso_session) {\n return setCredentialFeature(creds, \"CREDENTIALS_PROFILE_SSO\", \"r\");\n }\n else {\n return setCredentialFeature(creds, \"CREDENTIALS_PROFILE_SSO_LEGACY\", \"t\");\n }\n });\n};\nconst isSsoProfile = (arg) => arg &&\n (typeof arg.sso_start_url === \"string\" ||\n typeof arg.sso_account_id === \"string\" ||\n typeof arg.sso_session === \"string\" ||\n typeof arg.sso_region === \"string\" ||\n typeof arg.sso_role_name === \"string\");\n\nconst isStaticCredsProfile = (arg) => Boolean(arg) &&\n typeof arg === \"object\" &&\n typeof arg.aws_access_key_id === \"string\" &&\n typeof arg.aws_secret_access_key === \"string\" &&\n [\"undefined\", \"string\"].indexOf(typeof arg.aws_session_token) > -1 &&\n [\"undefined\", \"string\"].indexOf(typeof arg.aws_account_id) > -1;\nconst resolveStaticCredentials = async (profile, options) => {\n options?.logger?.debug(\"@aws-sdk/credential-provider-ini - resolveStaticCredentials\");\n const credentials = {\n accessKeyId: profile.aws_access_key_id,\n secretAccessKey: profile.aws_secret_access_key,\n sessionToken: profile.aws_session_token,\n ...(profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope }),\n ...(profile.aws_account_id && { accountId: profile.aws_account_id }),\n };\n return setCredentialFeature(credentials, \"CREDENTIALS_PROFILE\", \"n\");\n};\n\nconst isWebIdentityProfile = (arg) => Boolean(arg) &&\n typeof arg === \"object\" &&\n typeof arg.web_identity_token_file === \"string\" &&\n typeof arg.role_arn === \"string\" &&\n [\"undefined\", \"string\"].indexOf(typeof arg.role_session_name) > -1;\nconst resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => {\n const { fromTokenFile } = require('@aws-sdk/credential-provider-web-identity');\n const credentials = await fromTokenFile({\n webIdentityTokenFile: profile.web_identity_token_file,\n roleArn: profile.role_arn,\n roleSessionName: profile.role_session_name,\n roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,\n logger: options.logger,\n parentClientConfig: options.parentClientConfig,\n })({\n callerClientConfig,\n });\n return setCredentialFeature(credentials, \"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN\", \"q\");\n};\n\nconst resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {\n const data = profiles[profileName];\n if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {\n return resolveAssumeRoleCredentials(profileName, profiles, options, callerClientConfig, visitedProfiles, resolveProfileData);\n }\n if (isStaticCredsProfile(data)) {\n return resolveStaticCredentials(data, options);\n }\n if (isWebIdentityProfile(data)) {\n return resolveWebIdentityCredentials(data, options, callerClientConfig);\n }\n if (isProcessProfile(data)) {\n return resolveProcessCredentials(options, profileName);\n }\n if (isSsoProfile(data)) {\n return await resolveSsoCredentials(profileName, data, options, callerClientConfig);\n }\n if (isLoginProfile(data)) {\n return resolveLoginCredentials(profileName, options, callerClientConfig);\n }\n throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });\n};\n\nconst fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-ini - fromIni\");\n const profiles = await parseKnownFiles(init);\n return resolveProfileData(getProfileName({\n profile: init.profile ?? callerClientConfig?.profile,\n }), profiles, init, callerClientConfig);\n};\n\nexports.fromIni = fromIni;\n","const { ENV_KEY, ENV_SECRET, fromEnv } = require(\"@aws-sdk/credential-provider-env\");\nconst { chain, CredentialsProviderError, ENV_PROFILE } = require(\"@smithy/core/config\");\n\nconst ENV_IMDS_DISABLED = \"AWS_EC2_METADATA_DISABLED\";\nconst remoteProvider = async (init) => {\n const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = require('@smithy/credential-provider-imds');\n if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata\");\n const { fromHttp } = require('@aws-sdk/credential-provider-http');\n return chain(fromHttp(init), fromContainerMetadata(init));\n }\n if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== \"false\") {\n return async () => {\n throw new CredentialsProviderError(\"EC2 Instance Metadata Service access disabled\", { logger: init.logger });\n };\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata\");\n return fromInstanceMetadata(init);\n};\n\nfunction memoizeChain(providers, treatAsExpired) {\n const chain = internalCreateChain(providers);\n let activeLock;\n let passiveLock;\n let credentials;\n let forceRefreshLock;\n const provider = async (options) => {\n if (options?.forceRefresh) {\n if (!forceRefreshLock) {\n forceRefreshLock = chain(options)\n .then((c) => {\n credentials = c;\n })\n .finally(() => {\n forceRefreshLock = undefined;\n });\n }\n await forceRefreshLock;\n return credentials;\n }\n if (credentials?.expiration) {\n if (credentials?.expiration?.getTime() < Date.now()) {\n credentials = undefined;\n }\n }\n if (activeLock) {\n await activeLock;\n }\n else if (!credentials || treatAsExpired?.(credentials)) {\n if (credentials) {\n if (!passiveLock) {\n passiveLock = chain(options)\n .then((c) => {\n credentials = c;\n })\n .catch(() => {\n })\n .finally(() => {\n passiveLock = undefined;\n });\n }\n }\n else {\n activeLock = chain(options)\n .then((c) => {\n credentials = c;\n })\n .finally(() => {\n activeLock = undefined;\n });\n return provider(options);\n }\n }\n return credentials;\n };\n return provider;\n}\nconst internalCreateChain = (providers) => async (awsIdentityProperties) => {\n let lastProviderError;\n for (const provider of providers) {\n try {\n return await provider(awsIdentityProperties);\n }\n catch (err) {\n lastProviderError = err;\n if (err?.tryNextLink) {\n continue;\n }\n throw err;\n }\n }\n throw lastProviderError;\n};\n\nlet multipleCredentialSourceWarningEmitted = false;\nconst defaultProvider = (init = {}) => memoizeChain([\n async () => {\n const profile = init.profile ?? process.env[ENV_PROFILE];\n if (profile) {\n const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET];\n if (envStaticCredentialsAreSet) {\n if (!multipleCredentialSourceWarningEmitted) {\n const warnFn = init.logger?.warn && init.logger?.constructor?.name !== \"NoOpLogger\"\n ? init.logger.warn.bind(init.logger)\n : console.warn;\n warnFn(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:\n Multiple credential sources detected: \n Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.\n This SDK will proceed with the AWS_PROFILE value.\n \n However, a future version may change this behavior to prefer the ENV static credentials.\n Please ensure that your environment only sets either the AWS_PROFILE or the\n AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.\n`);\n multipleCredentialSourceWarningEmitted = true;\n }\n }\n throw new CredentialsProviderError(\"AWS_PROFILE is set, skipping fromEnv provider.\", {\n logger: init.logger,\n tryNextLink: true,\n });\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromEnv\");\n return fromEnv(init)();\n },\n async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n throw new CredentialsProviderError(\"Skipping SSO provider in default chain (inputs do not include SSO fields).\", { logger: init.logger });\n }\n const { fromSSO } = require('@aws-sdk/credential-provider-sso');\n return fromSSO(init)(awsIdentityProperties);\n },\n async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromIni\");\n const { fromIni } = require('@aws-sdk/credential-provider-ini');\n return fromIni(init)(awsIdentityProperties);\n },\n async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromProcess\");\n const { fromProcess } = require('@aws-sdk/credential-provider-process');\n return fromProcess(init)(awsIdentityProperties);\n },\n async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile\");\n const { fromTokenFile } = require('@aws-sdk/credential-provider-web-identity');\n return fromTokenFile(init)(awsIdentityProperties);\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::remoteProvider\");\n return (await remoteProvider(init))();\n },\n async () => {\n throw new CredentialsProviderError(\"Could not load credentials from any providers\", {\n tryNextLink: false,\n logger: init.logger,\n });\n },\n], credentialsTreatedAsExpired);\nconst credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;\nconst credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;\n\nexports.credentialsTreatedAsExpired = credentialsTreatedAsExpired;\nexports.credentialsWillNeedRefresh = credentialsWillNeedRefresh;\nexports.defaultProvider = defaultProvider;\n","const { JsonCodec, JsonShapeSerializer, JsonShapeDeserializer, JsonCodec2, JsonShapeSerializer2, JsonShapeDeserializer2 } = require(\"@aws-sdk/core/protocols\");\nconst { NormalizedSchema } = require(\"@smithy/core/schema\");\nconst { toBase64, fromBase64 } = require(\"@smithy/core/serde\");\n\nclass DynamoDBJsonCodec extends JsonCodec {\n constructor() {\n super({\n timestampFormat: {\n useTrait: true,\n default: 7,\n },\n jsonName: false,\n });\n }\n createSerializer() {\n const serializer = new DynamoDBJsonShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new DynamoDBJsonShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n}\nconst ATTRIBUTE_VALUE$1 = \"com.amazonaws.dynamodb#AttributeValue\";\nclass DynamoDBJsonShapeSerializer extends JsonShapeSerializer {\n _write(schema, value, container) {\n const ns = NormalizedSchema.of(schema);\n if (ns.isStructSchema() && ns.getName(true) === ATTRIBUTE_VALUE$1) {\n if (value && typeof value === \"object\") {\n const av = value;\n const out = this.copyRemoveNulls(av);\n const base64Encode = this.serdeContext?.base64Encoder ?? toBase64;\n if (av.B instanceof Uint8Array) {\n out.B = base64Encode(av.B);\n }\n if (Array.isArray(av.BS)) {\n out.BS = av.BS.map(base64Encode);\n }\n if (Array.isArray(av.L)) {\n const list = [];\n for (const v of av.L) {\n if (v != null) {\n list.push(this._write(ns, v, container));\n }\n }\n out.L = list;\n }\n if (av.M && typeof av.M === \"object\") {\n out.M = {};\n for (const [k, v] of Object.entries(av.M)) {\n if (v != null) {\n out.M[k] = this._write(ns, v, container);\n }\n }\n }\n return out;\n }\n }\n return super._write(ns, value, container);\n }\n copyRemoveNulls(v) {\n if (typeof v !== \"object\") {\n return v;\n }\n if (v === null) {\n return {};\n }\n if (Array.isArray(v)) {\n const out = [];\n for (const item of v) {\n if (item != null) {\n out.push(this.copyRemoveNulls(item));\n }\n }\n return out;\n }\n const out = {};\n for (const [k, _v] of Object.entries(v)) {\n if (_v != null) {\n if ([\"B\", \"BS\", \"L\", \"M\"].includes(k)) {\n continue;\n }\n out[k] = this.copyRemoveNulls(_v);\n }\n }\n return out;\n }\n}\nclass DynamoDBJsonShapeDeserializer extends JsonShapeDeserializer {\n _read(schema, value) {\n const ns = NormalizedSchema.of(schema);\n if (ns.isStructSchema() && ns.getName(true) === ATTRIBUTE_VALUE$1) {\n if (value && typeof value === \"object\") {\n const av = value;\n const out = av;\n const base64Decoder = this.serdeContext?.base64Decoder ?? fromBase64;\n if (typeof av.B === \"string\") {\n out.B = base64Decoder(av.B);\n }\n if (Array.isArray(av.BS)) {\n out.BS = av.BS.map(base64Decoder);\n }\n if (Array.isArray(av.L)) {\n out.L = av.L.map((v) => this._read(ns, v));\n }\n if (av.M && typeof av.M === \"object\") {\n for (const [k, v] of Object.entries(av.M)) {\n out.M[k] = this._read(ns, v);\n }\n }\n return out;\n }\n }\n return super._read(ns, value);\n }\n}\n\nconst ATTRIBUTE_VALUE = \"com.amazonaws.dynamodb#AttributeValue\";\nclass DynamoDBJsonShapeSerializer2 extends JsonShapeSerializer2 {\n writeValue(schema, value, container) {\n if (value != null && typeof value === \"object\") {\n const ns = NormalizedSchema.of(schema);\n if (ns.isStructSchema() && ns.getName(true) === ATTRIBUTE_VALUE) {\n this.writeAttributeValue(value);\n return;\n }\n }\n super.writeValue(schema, value, container);\n }\n writeAttributeValue(av) {\n const base64Encode = this.serdeContext?.base64Encoder ?? toBase64;\n this.writeAscii(\"{\");\n let first = true;\n for (const key in av) {\n const val = av[key];\n if (val == null)\n continue;\n if (!first) {\n this.writeAscii(\",\");\n }\n first = false;\n this.writeAsciiQuoted(key);\n this.writeAscii(\":\");\n switch (key) {\n case \"B\":\n if (val instanceof Uint8Array) {\n this.writeBase64(val);\n }\n else {\n this.writeJsonString(val);\n }\n break;\n case \"BS\":\n this.writeAscii(\"[\");\n {\n const arr = val;\n for (let i = 0; i < arr.length; i++) {\n if (i > 0)\n this.writeAscii(\",\");\n const item = arr[i];\n if (item instanceof Uint8Array) {\n this.writeBase64(item);\n }\n else {\n this.writeJsonString(base64Encode(item));\n }\n }\n }\n this.writeAscii(\"]\");\n break;\n case \"L\":\n this.writeAscii(\"[\");\n {\n const arr = val;\n for (let i = 0; i < arr.length; i++) {\n if (i > 0)\n this.writeAscii(\",\");\n if (arr[i] != null) {\n this.writeAttributeValue(arr[i]);\n }\n else {\n this.writeAscii(\"null\");\n }\n }\n }\n this.writeAscii(\"]\");\n break;\n case \"M\":\n this.writeAscii(\"{\");\n {\n const map = val;\n let mapFirst = true;\n for (const k in map) {\n if (map[k] == null)\n continue;\n if (!mapFirst)\n this.writeAscii(\",\");\n mapFirst = false;\n this.writeJsonString(k);\n this.writeAscii(\":\");\n this.writeAttributeValue(map[k]);\n }\n }\n this.writeAscii(\"}\");\n break;\n case \"SS\":\n case \"NS\":\n this.writeAscii(\"[\");\n {\n const arr = val;\n for (let i = 0; i < arr.length; i++) {\n if (i > 0)\n this.writeAscii(\",\");\n this.writeJsonString(arr[i]);\n }\n }\n this.writeAscii(\"]\");\n break;\n case \"S\":\n case \"N\":\n this.writeJsonString(val);\n break;\n case \"BOOL\":\n this.writeAscii(val ? \"true\" : \"false\");\n break;\n case \"NULL\":\n this.writeAscii(val ? \"true\" : \"false\");\n break;\n default:\n this.writeAscii(JSON.stringify(val));\n break;\n }\n }\n this.writeAscii(\"}\");\n }\n}\nclass DynamoDBJsonShapeDeserializer2 extends JsonShapeDeserializer2 {\n _read(schema, value) {\n const ns = NormalizedSchema.of(schema);\n if (ns.isStructSchema() && ns.getName(true) === ATTRIBUTE_VALUE) {\n if (value && typeof value === \"object\") {\n return this.readAttributeValue(value);\n }\n }\n return super._read(ns, value);\n }\n readAttributeValue(av) {\n const base64Decode = this.serdeContext?.base64Decoder ?? fromBase64;\n const out = av;\n if (typeof av.B === \"string\") {\n out.B = base64Decode(av.B);\n }\n if (Array.isArray(av.BS)) {\n out.BS = av.BS.map(base64Decode);\n }\n if (Array.isArray(av.L)) {\n out.L = av.L.map((v) => this.readAttributeValue(v));\n }\n if (av.M && typeof av.M === \"object\") {\n const m = av.M;\n for (const k in m) {\n m[k] = this.readAttributeValue(m[k]);\n }\n }\n return out;\n }\n}\nclass DynamoDBJsonCodec2 extends JsonCodec2 {\n constructor() {\n super({\n timestampFormat: {\n useTrait: true,\n default: 7,\n },\n jsonName: false,\n });\n }\n createSerializer() {\n const serializer = new DynamoDBJsonShapeSerializer2(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new DynamoDBJsonShapeDeserializer2(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n}\n\nexports.DynamoDBJsonCodec = DynamoDBJsonCodec;\nexports.DynamoDBJsonCodec2 = DynamoDBJsonCodec2;\n","const { NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS, resolveAccountIdEndpointModeConfig } = require(\"@aws-sdk/core/account-id-endpoint\");\nconst { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require(\"@aws-sdk/core/client\");\nconst { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS, resolveEndpointDiscoveryConfig } = require(\"@aws-sdk/middleware-endpoint-discovery\");\nconst { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require(\"@smithy/core\");\nconst { normalizeProvider, getSmithyContext, makeBuilder, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require(\"@smithy/core/client\");\nconst { Command: $Command } = require(\"@smithy/core/client\");\nexports.$Command = $Command;\nexports.__Client = Client;\nconst { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require(\"@smithy/core/config\");\nconst { getEndpointPlugin, BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig } = require(\"@smithy/core/endpoints\");\nconst { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require(\"@smithy/core/protocols\");\nconst { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, Retry, resolveRetryConfig, getRetryPlugin } = require(\"@smithy/core/retry\");\nconst { TypeRegistry, getSchemaSerdePlugin } = require(\"@smithy/core/schema\");\nconst { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require(\"@aws-sdk/core/httpAuthSchemes\");\nconst { defaultProvider } = require(\"@aws-sdk/credential-provider-node\");\nconst { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require(\"@smithy/core/serde\");\nconst { streamCollector, NodeHttpHandler } = require(\"@smithy/node-http-handler\");\nconst { AwsJson1_0Protocol } = require(\"@aws-sdk/core/protocols\");\nconst { DynamoDBJsonCodec2 } = require(\"@aws-sdk/dynamodb-codec\");\nconst { Sha256 } = require(\"@smithy/core/checksum\");\n\nconst defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: getSmithyContext(context).operation,\n region: await normalizeProvider(config.region)() || (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"dynamodb\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nconst defaultDynamoDBHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = resolveAwsSdkSigV4Config(config);\n return Object.assign(config_0, {\n authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),\n });\n};\n\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"dynamodb\",\n });\n};\nconst commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n AccountId: { type: \"builtInParams\", name: \"accountId\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n AccountIdEndpointMode: { type: \"builtInParams\", name: \"accountIdEndpointMode\" },\n};\n\nconst command = makeBuilder(commonParams, \"DynamoDB_20120810\", \"DynamoDBClient\", getEndpointPlugin);\nconst _ep0 = {};\nconst _ep1 = {\n ResourceArnList: { type: \"operationContextParams\", get: (input) => Object.keys(input?.RequestItems ?? {}) },\n};\nconst _ep2 = {\n ResourceArn: { type: \"contextParams\", name: \"TableName\" },\n};\nconst _ep3 = {\n ResourceArn: { type: \"contextParams\", name: \"GlobalTableName\" },\n};\nconst _ep4 = {\n ResourceArn: { type: \"contextParams\", name: \"BackupArn\" },\n};\nconst _ep5 = {\n ResourceArn: { type: \"contextParams\", name: \"ResourceArn\" },\n};\nconst _ep6 = {\n ResourceArn: { type: \"contextParams\", name: \"ExportArn\" },\n};\nconst _ep7 = {\n ResourceArn: { type: \"contextParams\", name: \"ImportArn\" },\n};\nconst _ep8 = {\n ResourceArn: { type: \"contextParams\", name: \"TableArn\" },\n};\nconst _ep9 = {\n ResourceArn: { type: \"operationContextParams\", get: (input) => input?.TableCreationParameters?.TableName },\n};\nconst _ep10 = {\n ResourceArn: { type: \"contextParams\", name: \"TargetTableName\" },\n};\nconst _ep11 = {\n IsSearchOperation: { type: \"staticContextParams\", value: true },\n ResourceArn: { type: \"contextParams\", name: \"TableName\" },\n};\nconst _ep12 = {\n ResourceArnList: { type: \"operationContextParams\", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) },\n};\nconst _ep13 = {\n ResourceArnList: { type: \"operationContextParams\", get: (input) => input?.TransactItems?.map((obj) => [obj?.ConditionCheck?.TableName, obj?.Put?.TableName, obj?.Delete?.TableName, obj?.Update?.TableName].filter((i) => i)).flat() },\n};\nconst _mw0 = (Command, cs, config, o) => [];\n\nclass DynamoDBServiceException extends ServiceException {\n static shapeId = \"smithy.ts.sdk.synthetic.com.amazonaws.dynamodb#DynamoDBServiceException\";\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, DynamoDBServiceException.prototype);\n }\n}\n\nclass BackupInUseException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#BackupInUseException\";\n name = \"BackupInUseException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"BackupInUseException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, BackupInUseException.prototype);\n }\n}\nclass BackupNotFoundException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#BackupNotFoundException\";\n name = \"BackupNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"BackupNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, BackupNotFoundException.prototype);\n }\n}\nclass InternalServerError extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#InternalServerError\";\n name = \"InternalServerError\";\n $fault = \"server\";\n constructor(opts) {\n super({\n name: \"InternalServerError\",\n $fault: \"server\",\n ...opts,\n });\n Object.setPrototypeOf(this, InternalServerError.prototype);\n }\n}\nclass RequestLimitExceeded extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#RequestLimitExceeded\";\n name = \"RequestLimitExceeded\";\n $fault = \"client\";\n ThrottlingReasons;\n constructor(opts) {\n super({\n name: \"RequestLimitExceeded\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RequestLimitExceeded.prototype);\n this.ThrottlingReasons = opts.ThrottlingReasons;\n }\n}\nclass ThrottlingException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ThrottlingException\";\n name = \"ThrottlingException\";\n $fault = \"client\";\n throttlingReasons;\n constructor(opts) {\n super({\n name: \"ThrottlingException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ThrottlingException.prototype);\n this.throttlingReasons = opts.throttlingReasons;\n }\n}\nclass InvalidEndpointException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#InvalidEndpointException\";\n name = \"InvalidEndpointException\";\n $fault = \"client\";\n Message;\n constructor(opts) {\n super({\n name: \"InvalidEndpointException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidEndpointException.prototype);\n this.Message = opts.Message;\n }\n}\nclass ProvisionedThroughputExceededException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ProvisionedThroughputExceededException\";\n name = \"ProvisionedThroughputExceededException\";\n $fault = \"client\";\n ThrottlingReasons;\n constructor(opts) {\n super({\n name: \"ProvisionedThroughputExceededException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);\n this.ThrottlingReasons = opts.ThrottlingReasons;\n }\n}\nclass ResourceNotFoundException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ResourceNotFoundException\";\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ResourceNotFoundException.prototype);\n }\n}\nclass ItemCollectionSizeLimitExceededException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException\";\n name = \"ItemCollectionSizeLimitExceededException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ItemCollectionSizeLimitExceededException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ItemCollectionSizeLimitExceededException.prototype);\n }\n}\nclass ReplicatedWriteConflictException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ReplicatedWriteConflictException\";\n name = \"ReplicatedWriteConflictException\";\n $fault = \"client\";\n $retryable = {};\n constructor(opts) {\n super({\n name: \"ReplicatedWriteConflictException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ReplicatedWriteConflictException.prototype);\n }\n}\nclass ContinuousBackupsUnavailableException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ContinuousBackupsUnavailableException\";\n name = \"ContinuousBackupsUnavailableException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ContinuousBackupsUnavailableException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ContinuousBackupsUnavailableException.prototype);\n }\n}\nclass LimitExceededException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#LimitExceededException\";\n name = \"LimitExceededException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LimitExceededException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LimitExceededException.prototype);\n }\n}\nclass TableInUseException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#TableInUseException\";\n name = \"TableInUseException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TableInUseException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TableInUseException.prototype);\n }\n}\nclass TableNotFoundException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#TableNotFoundException\";\n name = \"TableNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TableNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TableNotFoundException.prototype);\n }\n}\nclass GlobalTableAlreadyExistsException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#GlobalTableAlreadyExistsException\";\n name = \"GlobalTableAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"GlobalTableAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, GlobalTableAlreadyExistsException.prototype);\n }\n}\nclass ResourceInUseException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ResourceInUseException\";\n name = \"ResourceInUseException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ResourceInUseException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ResourceInUseException.prototype);\n }\n}\nclass TransactionConflictException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#TransactionConflictException\";\n name = \"TransactionConflictException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TransactionConflictException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TransactionConflictException.prototype);\n }\n}\nclass PolicyNotFoundException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#PolicyNotFoundException\";\n name = \"PolicyNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"PolicyNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, PolicyNotFoundException.prototype);\n }\n}\nclass ExportNotFoundException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ExportNotFoundException\";\n name = \"ExportNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ExportNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ExportNotFoundException.prototype);\n }\n}\nclass GlobalTableNotFoundException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#GlobalTableNotFoundException\";\n name = \"GlobalTableNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"GlobalTableNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, GlobalTableNotFoundException.prototype);\n }\n}\nclass ImportNotFoundException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ImportNotFoundException\";\n name = \"ImportNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImportNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImportNotFoundException.prototype);\n }\n}\nclass DuplicateItemException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#DuplicateItemException\";\n name = \"DuplicateItemException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"DuplicateItemException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, DuplicateItemException.prototype);\n }\n}\nclass IdempotentParameterMismatchException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#IdempotentParameterMismatchException\";\n name = \"IdempotentParameterMismatchException\";\n $fault = \"client\";\n Message;\n constructor(opts) {\n super({\n name: \"IdempotentParameterMismatchException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);\n this.Message = opts.Message;\n }\n}\nclass TransactionInProgressException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#TransactionInProgressException\";\n name = \"TransactionInProgressException\";\n $fault = \"client\";\n Message;\n constructor(opts) {\n super({\n name: \"TransactionInProgressException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TransactionInProgressException.prototype);\n this.Message = opts.Message;\n }\n}\nclass ExportConflictException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ExportConflictException\";\n name = \"ExportConflictException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ExportConflictException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ExportConflictException.prototype);\n }\n}\nclass InvalidExportTimeException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#InvalidExportTimeException\";\n name = \"InvalidExportTimeException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidExportTimeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidExportTimeException.prototype);\n }\n}\nclass PointInTimeRecoveryUnavailableException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#PointInTimeRecoveryUnavailableException\";\n name = \"PointInTimeRecoveryUnavailableException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"PointInTimeRecoveryUnavailableException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, PointInTimeRecoveryUnavailableException.prototype);\n }\n}\nclass ImportConflictException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ImportConflictException\";\n name = \"ImportConflictException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImportConflictException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImportConflictException.prototype);\n }\n}\nclass TableAlreadyExistsException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#TableAlreadyExistsException\";\n name = \"TableAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TableAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TableAlreadyExistsException.prototype);\n }\n}\nclass InvalidRestoreTimeException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#InvalidRestoreTimeException\";\n name = \"InvalidRestoreTimeException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidRestoreTimeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidRestoreTimeException.prototype);\n }\n}\nclass ReplicaAlreadyExistsException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ReplicaAlreadyExistsException\";\n name = \"ReplicaAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ReplicaAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ReplicaAlreadyExistsException.prototype);\n }\n}\nclass ReplicaNotFoundException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ReplicaNotFoundException\";\n name = \"ReplicaNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ReplicaNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ReplicaNotFoundException.prototype);\n }\n}\nclass IndexNotFoundException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#IndexNotFoundException\";\n name = \"IndexNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"IndexNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, IndexNotFoundException.prototype);\n }\n}\nclass ConditionalCheckFailedException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#ConditionalCheckFailedException\";\n name = \"ConditionalCheckFailedException\";\n $fault = \"client\";\n Item;\n constructor(opts) {\n super({\n name: \"ConditionalCheckFailedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);\n this.Item = opts.Item;\n }\n}\nclass TransactionCanceledException extends DynamoDBServiceException {\n static shapeId = \"com.amazonaws.dynamodb#TransactionCanceledException\";\n name = \"TransactionCanceledException\";\n $fault = \"client\";\n Message;\n CancellationReasons;\n constructor(opts) {\n super({\n name: \"TransactionCanceledException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TransactionCanceledException.prototype);\n this.Message = opts.Message;\n this.CancellationReasons = opts.CancellationReasons;\n }\n}\n\nconst _A = \"Action\";\nconst _ABA = \"ArchivalBackupArn\";\nconst _ACDTP = \"ApproximateCreationDateTimePrecision\";\nconst _AD = \"AttributeDefinition\";\nconst _ADT = \"ArchivalDateTime\";\nconst _ADt = \"AttributeDefinitions\";\nconst _AM = \"AttributeMap\";\nconst _AMRCU = \"AccountMaxReadCapacityUnits\";\nconst _AMWCU = \"AccountMaxWriteCapacityUnits\";\nconst _AN = \"AttributeName\";\nconst _AR = \"ArchivalReason\";\nconst _AS = \"ArchivalSummary\";\nconst _ASD = \"AutoScalingDisabled\";\nconst _ASPD = \"AutoScalingPolicyDescription\";\nconst _ASPDL = \"AutoScalingPolicyDescriptionList\";\nconst _ASPU = \"AutoScalingPolicyUpdate\";\nconst _ASRA = \"AutoScalingRoleArn\";\nconst _ASSD = \"AutoScalingSettingsDescription\";\nconst _ASSU = \"AutoScalingSettingsUpdate\";\nconst _ASTTSPCD = \"AutoScalingTargetTrackingScalingPolicyConfigurationDescription\";\nconst _ASTTSPCU = \"AutoScalingTargetTrackingScalingPolicyConfigurationUpdate\";\nconst _AT = \"AttributeType\";\nconst _ATG = \"AttributesToGet\";\nconst _AU = \"AttributeUpdates\";\nconst _AV = \"AttributeValue\";\nconst _AVL = \"AttributeValueList\";\nconst _AVU = \"AttributeValueUpdate\";\nconst _Ad = \"Address\";\nconst _At = \"Attributes\";\nconst _B = \"Backfilling\";\nconst _BA = \"BackupArn\";\nconst _BCDT = \"BackupCreationDateTime\";\nconst _BD = \"BackupDescription\";\nconst _BDa = \"BackupDetails\";\nconst _BEDT = \"BackupExpiryDateTime\";\nconst _BES = \"BatchExecuteStatement\";\nconst _BESI = \"BatchExecuteStatementInput\";\nconst _BESO = \"BatchExecuteStatementOutput\";\nconst _BGI = \"BatchGetItem\";\nconst _BGII = \"BatchGetItemInput\";\nconst _BGIO = \"BatchGetItemOutput\";\nconst _BGRM = \"BatchGetResponseMap\";\nconst _BGRMa = \"BatchGetRequestMap\";\nconst _BIUE = \"BackupInUseException\";\nconst _BM = \"BillingMode\";\nconst _BMO = \"BillingModeOverride\";\nconst _BMS = \"BillingModeSummary\";\nconst _BN = \"BackupName\";\nconst _BNFE = \"BackupNotFoundException\";\nconst _BOOL = \"BOOL\";\nconst _BS = \"BackupStatus\";\nconst _BSB = \"BackupSizeBytes\";\nconst _BSBi = \"BilledSizeBytes\";\nconst _BSE = \"BatchStatementError\";\nconst _BSR = \"BatchStatementRequest\";\nconst _BSRa = \"BatchStatementResponse\";\nconst _BS_ = \"BS\";\nconst _BSa = \"BackupSummary\";\nconst _BSac = \"BackupSummaries\";\nconst _BT = \"BackupType\";\nconst _BWI = \"BatchWriteItem\";\nconst _BWII = \"BatchWriteItemInput\";\nconst _BWIO = \"BatchWriteItemOutput\";\nconst _BWIRM = \"BatchWriteItemRequestMap\";\nconst _B_ = \"B\";\nconst _C = \"Code\";\nconst _CB = \"CreateBackup\";\nconst _CBD = \"ContinuousBackupsDescription\";\nconst _CBI = \"CreateBackupInput\";\nconst _CBO = \"CreateBackupOutput\";\nconst _CBS = \"ContinuousBackupsStatus\";\nconst _CBUE = \"ContinuousBackupsUnavailableException\";\nconst _CC = \"ConsumedCapacity\";\nconst _CCFE = \"ConditionalCheckFailedException\";\nconst _CCM = \"ConsumedCapacityMultiple\";\nconst _CCo = \"ConditionCheck\";\nconst _CDT = \"CreationDateTime\";\nconst _CE = \"ConditionExpression\";\nconst _CGSIA = \"CreateGlobalSecondaryIndexAction\";\nconst _CGT = \"CreateGlobalTable\";\nconst _CGTI = \"CreateGlobalTableInput\";\nconst _CGTO = \"CreateGlobalTableOutput\";\nconst _CGTWGMA = \"CreateGlobalTableWitnessGroupMemberAction\";\nconst _CIA = \"ContributorInsightsAction\";\nconst _CIM = \"ContributorInsightsMode\";\nconst _CIRL = \"ContributorInsightsRuleList\";\nconst _CIS = \"ContributorInsightsSummary\";\nconst _CISo = \"ContributorInsightsStatus\";\nconst _CISon = \"ContributorInsightsSummaries\";\nconst _CO = \"ComparisonOperator\";\nconst _COo = \"ConditionalOperator\";\nconst _COs = \"CsvOptions\";\nconst _CPIM = \"CachePeriodInMinutes\";\nconst _CR = \"CancellationReasons\";\nconst _CRA = \"CreateReplicaAction\";\nconst _CRGMA = \"CreateReplicationGroupMemberAction\";\nconst _CRL = \"CancellationReasonList\";\nconst _CRSRA = \"ConfirmRemoveSelfResourceAccess\";\nconst _CRT = \"ClientRequestToken\";\nconst _CRa = \"CancellationReason\";\nconst _CRo = \"ConsistentRead\";\nconst _CT = \"ClientToken\";\nconst _CTI = \"CreateTableInput\";\nconst _CTO = \"CreateTableOutput\";\nconst _CTr = \"CreateTable\";\nconst _CU = \"CapacityUnits\";\nconst _CVIA = \"CreateVectorIndexAction\";\nconst _CWLGA = \"CloudWatchLogGroupArn\";\nconst _Ca = \"Capacity\";\nconst _Co = \"Condition\";\nconst _Cou = \"Count\";\nconst _Cr = \"Create\";\nconst _Cs = \"Csv\";\nconst _D = \"Dimensions\";\nconst _DB = \"DeleteBackup\";\nconst _DBI = \"DeleteBackupInput\";\nconst _DBIe = \"DescribeBackupInput\";\nconst _DBO = \"DeleteBackupOutput\";\nconst _DBOe = \"DescribeBackupOutput\";\nconst _DBe = \"DescribeBackup\";\nconst _DCB = \"DescribeContinuousBackups\";\nconst _DCBI = \"DescribeContinuousBackupsInput\";\nconst _DCBO = \"DescribeContinuousBackupsOutput\";\nconst _DCI = \"DescribeContributorInsights\";\nconst _DCII = \"DescribeContributorInsightsInput\";\nconst _DCIO = \"DescribeContributorInsightsOutput\";\nconst _DE = \"DescribeEndpoints\";\nconst _DEI = \"DescribeExportInput\";\nconst _DEO = \"DescribeExportOutput\";\nconst _DER = \"DescribeEndpointsRequest\";\nconst _DERe = \"DescribeEndpointsResponse\";\nconst _DEe = \"DescribeExport\";\nconst _DF = \"DistanceFunction\";\nconst _DGSIA = \"DeleteGlobalSecondaryIndexAction\";\nconst _DGT = \"DescribeGlobalTable\";\nconst _DGTI = \"DescribeGlobalTableInput\";\nconst _DGTO = \"DescribeGlobalTableOutput\";\nconst _DGTS = \"DescribeGlobalTableSettings\";\nconst _DGTSI = \"DescribeGlobalTableSettingsInput\";\nconst _DGTSO = \"DescribeGlobalTableSettingsOutput\";\nconst _DGTWGMA = \"DeleteGlobalTableWitnessGroupMemberAction\";\nconst _DI = \"DeleteItem\";\nconst _DIE = \"DuplicateItemException\";\nconst _DII = \"DeleteItemInput\";\nconst _DIIe = \"DescribeImportInput\";\nconst _DIO = \"DeleteItemOutput\";\nconst _DIOe = \"DescribeImportOutput\";\nconst _DIe = \"DescribeImport\";\nconst _DKSD = \"DescribeKinesisStreamingDestination\";\nconst _DKSDI = \"DescribeKinesisStreamingDestinationInput\";\nconst _DKSDO = \"DescribeKinesisStreamingDestinationOutput\";\nconst _DKSDi = \"DisableKinesisStreamingDestination\";\nconst _DL = \"DescribeLimits\";\nconst _DLI = \"DescribeLimitsInput\";\nconst _DLO = \"DescribeLimitsOutput\";\nconst _DM = \"DisassociationMode\";\nconst _DPE = \"DeletionProtectionEnabled\";\nconst _DPEi = \"DisassociationProtectionEnabled\";\nconst _DR = \"DeleteRequest\";\nconst _DRA = \"DeleteReplicaAction\";\nconst _DRGMA = \"DeleteReplicationGroupMemberAction\";\nconst _DRGMAi = \"DisassociateReplicationGroupMemberAction\";\nconst _DRP = \"DeleteResourcePolicy\";\nconst _DRPI = \"DeleteResourcePolicyInput\";\nconst _DRPO = \"DeleteResourcePolicyOutput\";\nconst _DS = \"DestinationStatus\";\nconst _DSD = \"DestinationStatusDescription\";\nconst _DSI = \"DisableScaleIn\";\nconst _DT = \"DeleteTable\";\nconst _DTI = \"DeleteTableInput\";\nconst _DTIe = \"DescribeTableInput\";\nconst _DTO = \"DeleteTableOutput\";\nconst _DTOe = \"DescribeTableOutput\";\nconst _DTRAS = \"DescribeTableReplicaAutoScaling\";\nconst _DTRASI = \"DescribeTableReplicaAutoScalingInput\";\nconst _DTRASO = \"DescribeTableReplicaAutoScalingOutput\";\nconst _DTTL = \"DescribeTimeToLive\";\nconst _DTTLI = \"DescribeTimeToLiveInput\";\nconst _DTTLO = \"DescribeTimeToLiveOutput\";\nconst _DTe = \"DescribeTable\";\nconst _DVIA = \"DeleteVectorIndexAction\";\nconst _De = \"Delimiter\";\nconst _Del = \"Delete\";\nconst _Di = \"Disassociate\";\nconst _E = \"Error\";\nconst _EA = \"ExportArn\";\nconst _EAM = \"ExpectedAttributeMap\";\nconst _EAN = \"ExpressionAttributeNames\";\nconst _EAV = \"ExpressionAttributeValues\";\nconst _EAVM = \"ExpressionAttributeValueMap\";\nconst _EAVx = \"ExpectedAttributeValue\";\nconst _EC = \"ErrorCount\";\nconst _ECE = \"ExportConflictException\";\nconst _ED = \"ExportDescription\";\nconst _EDx = \"ExceptionDescription\";\nconst _EF = \"ExportFormat\";\nconst _EFT = \"ExportFromTime\";\nconst _EKSC = \"EnableKinesisStreamingConfiguration\";\nconst _EKSD = \"EnableKinesisStreamingDestination\";\nconst _EM = \"ExportManifest\";\nconst _EN = \"ExceptionName\";\nconst _ENFE = \"ExportNotFoundException\";\nconst _ERDT = \"EarliestRestorableDateTime\";\nconst _ERI = \"ExpectedRevisionId\";\nconst _ES = \"ExportStatus\";\nconst _ESBA = \"ExclusiveStartBackupArn\";\nconst _ESGTN = \"ExclusiveStartGlobalTableName\";\nconst _ESI = \"ExecuteStatementInput\";\nconst _ESK = \"ExclusiveStartKey\";\nconst _ESO = \"ExecuteStatementOutput\";\nconst _ESTN = \"ExclusiveStartTableName\";\nconst _ESx = \"ExportSummary\";\nconst _ESxe = \"ExecuteStatement\";\nconst _ESxp = \"ExportSummaries\";\nconst _ET = \"EndTime\";\nconst _ETI = \"ExecuteTransactionInput\";\nconst _ETO = \"ExecuteTransactionOutput\";\nconst _ETT = \"ExportToTime\";\nconst _ETTPIT = \"ExportTableToPointInTime\";\nconst _ETTPITI = \"ExportTableToPointInTimeInput\";\nconst _ETTPITO = \"ExportTableToPointInTimeOutput\";\nconst _ETx = \"ExportTime\";\nconst _ETxe = \"ExecuteTransaction\";\nconst _ETxp = \"ExportType\";\nconst _EVT = \"ExportViewType\";\nconst _En = \"Endpoints\";\nconst _Ena = \"Enabled\";\nconst _End = \"Endpoint\";\nconst _Ex = \"Expected\";\nconst _Exi = \"Exists\";\nconst _FC = \"FailureCode\";\nconst _FCM = \"FilterConditionMap\";\nconst _FE = \"FailureException\";\nconst _FEi = \"FilterExpression\";\nconst _FM = \"FailureMessage\";\nconst _FS = \"FilterSpecification\";\nconst _G = \"Get\";\nconst _GI = \"GetItem\";\nconst _GII = \"GetItemInput\";\nconst _GIO = \"GetItemOutput\";\nconst _GRP = \"GetResourcePolicy\";\nconst _GRPI = \"GetResourcePolicyInput\";\nconst _GRPO = \"GetResourcePolicyOutput\";\nconst _GSI = \"GlobalSecondaryIndexes\";\nconst _GSIASU = \"GlobalSecondaryIndexAutoScalingUpdate\";\nconst _GSIASUL = \"GlobalSecondaryIndexAutoScalingUpdateList\";\nconst _GSID = \"GlobalSecondaryIndexDescription\";\nconst _GSIDL = \"GlobalSecondaryIndexDescriptionList\";\nconst _GSII = \"GlobalSecondaryIndexInfo\";\nconst _GSIL = \"GlobalSecondaryIndexList\";\nconst _GSIO = \"GlobalSecondaryIndexOverride\";\nconst _GSIU = \"GlobalSecondaryIndexUpdate\";\nconst _GSIUL = \"GlobalSecondaryIndexUpdateList\";\nconst _GSIUl = \"GlobalSecondaryIndexUpdates\";\nconst _GSIWTD = \"GlobalSecondaryIndexWarmThroughputDescription\";\nconst _GSIl = \"GlobalSecondaryIndex\";\nconst _GT = \"GlobalTable\";\nconst _GTA = \"GlobalTableArn\";\nconst _GTAEE = \"GlobalTableAlreadyExistsException\";\nconst _GTBM = \"GlobalTableBillingMode\";\nconst _GTD = \"GlobalTableDescription\";\nconst _GTGSISU = \"GlobalTableGlobalSecondaryIndexSettingsUpdate\";\nconst _GTGSISUL = \"GlobalTableGlobalSecondaryIndexSettingsUpdateList\";\nconst _GTL = \"GlobalTableList\";\nconst _GTN = \"GlobalTableName\";\nconst _GTNFE = \"GlobalTableNotFoundException\";\nconst _GTPWCASSU = \"GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate\";\nconst _GTPWCU = \"GlobalTableProvisionedWriteCapacityUnits\";\nconst _GTS = \"GlobalTableStatus\";\nconst _GTSA = \"GlobalTableSourceArn\";\nconst _GTSRM = \"GlobalTableSettingsReplicationMode\";\nconst _GTV = \"GlobalTableVersion\";\nconst _GTW = \"GlobalTableWitnesses\";\nconst _GTWD = \"GlobalTableWitnessDescription\";\nconst _GTWDL = \"GlobalTableWitnessDescriptionList\";\nconst _GTWGU = \"GlobalTableWitnessGroupUpdate\";\nconst _GTWGUL = \"GlobalTableWitnessGroupUpdateList\";\nconst _GTWU = \"GlobalTableWitnessUpdates\";\nconst _GTl = \"GlobalTables\";\nconst _HL = \"HeaderList\";\nconst _I = \"Item\";\nconst _IA = \"ImportArn\";\nconst _IAn = \"IndexArn\";\nconst _IC = \"ItemCount\";\nconst _ICE = \"ImportConflictException\";\nconst _ICK = \"ItemCollectionKey\";\nconst _ICKAM = \"ItemCollectionKeyAttributeMap\";\nconst _ICM = \"ItemCollectionMetrics\";\nconst _ICMM = \"ItemCollectionMetricsMultiple\";\nconst _ICMPT = \"ItemCollectionMetricsPerTable\";\nconst _ICSLEE = \"ItemCollectionSizeLimitExceededException\";\nconst _ICT = \"InputCompressionType\";\nconst _IEDT = \"InaccessibleEncryptionDateTime\";\nconst _IEE = \"InvalidEndpointException\";\nconst _IES = \"IncrementalExportSpecification\";\nconst _IETE = \"InvalidExportTimeException\";\nconst _IF = \"InputFormat\";\nconst _IFO = \"InputFormatOptions\";\nconst _IIC = \"ImportedItemCount\";\nconst _IL = \"ItemList\";\nconst _IN = \"IndexName\";\nconst _INFE = \"ImportNotFoundException\";\nconst _INFEn = \"IndexNotFoundException\";\nconst _IPME = \"IdempotentParameterMismatchException\";\nconst _IR = \"ItemResponse\";\nconst _IRL = \"ItemResponseList\";\nconst _IRTE = \"InvalidRestoreTimeException\";\nconst _IS = \"IndexStatus\";\nconst _ISB = \"IndexSizeBytes\";\nconst _ISE = \"InternalServerError\";\nconst _ISL = \"ImportSummaryList\";\nconst _ISm = \"ImportSummary\";\nconst _ISmp = \"ImportStatus\";\nconst _IT = \"ImportTable\";\nconst _ITD = \"ImportTableDescription\";\nconst _ITI = \"ImportTableInput\";\nconst _ITO = \"ImportTableOutput\";\nconst _It = \"Items\";\nconst _K = \"Key\";\nconst _KAA = \"KeysAndAttributes\";\nconst _KC = \"KeyConditions\";\nconst _KCE = \"KeyConditionExpression\";\nconst _KDSD = \"KinesisDataStreamDestinations\";\nconst _KDSDi = \"KinesisDataStreamDestination\";\nconst _KL = \"KeyList\";\nconst _KMSMKA = \"KMSMasterKeyArn\";\nconst _KMSMKI = \"KMSMasterKeyId\";\nconst _KS = \"KeySchema\";\nconst _KSDI = \"KinesisStreamingDestinationInput\";\nconst _KSDO = \"KinesisStreamingDestinationOutput\";\nconst _KSE = \"KeySchemaElement\";\nconst _KT = \"KeyType\";\nconst _Ke = \"Keys\";\nconst _L = \"Limit\";\nconst _LAV = \"ListAttributeValue\";\nconst _LB = \"ListBackups\";\nconst _LBI = \"ListBackupsInput\";\nconst _LBO = \"ListBackupsOutput\";\nconst _LCI = \"ListContributorInsights\";\nconst _LCII = \"ListContributorInsightsInput\";\nconst _LCIO = \"ListContributorInsightsOutput\";\nconst _LDDT = \"LastDecreaseDateTime\";\nconst _LE = \"ListExports\";\nconst _LEBA = \"LastEvaluatedBackupArn\";\nconst _LEE = \"LimitExceededException\";\nconst _LEGTN = \"LastEvaluatedGlobalTableName\";\nconst _LEI = \"ListExportsInput\";\nconst _LEK = \"LastEvaluatedKey\";\nconst _LEO = \"ListExportsOutput\";\nconst _LETN = \"LastEvaluatedTableName\";\nconst _LGT = \"ListGlobalTables\";\nconst _LGTI = \"ListGlobalTablesInput\";\nconst _LGTO = \"ListGlobalTablesOutput\";\nconst _LI = \"ListImports\";\nconst _LIDT = \"LastIncreaseDateTime\";\nconst _LII = \"ListImportsInput\";\nconst _LIO = \"ListImportsOutput\";\nconst _LRDT = \"LatestRestorableDateTime\";\nconst _LSA = \"LatestStreamArn\";\nconst _LSI = \"LocalSecondaryIndexes\";\nconst _LSID = \"LocalSecondaryIndexDescription\";\nconst _LSIDL = \"LocalSecondaryIndexDescriptionList\";\nconst _LSII = \"LocalSecondaryIndexInfo\";\nconst _LSIL = \"LocalSecondaryIndexList\";\nconst _LSIO = \"LocalSecondaryIndexOverride\";\nconst _LSIo = \"LocalSecondaryIndex\";\nconst _LSL = \"LatestStreamLabel\";\nconst _LT = \"ListTables\";\nconst _LTI = \"ListTablesInput\";\nconst _LTO = \"ListTablesOutput\";\nconst _LTOR = \"ListTagsOfResource\";\nconst _LTORI = \"ListTagsOfResourceInput\";\nconst _LTORO = \"ListTagsOfResourceOutput\";\nconst _LUDT = \"LastUpdateDateTime\";\nconst _LUTPPRDT = \"LastUpdateToPayPerRequestDateTime\";\nconst _L_ = \"L\";\nconst _M = \"Message\";\nconst _MAV = \"MapAttributeValue\";\nconst _MR = \"MaxResults\";\nconst _MRC = \"MultiRegionConsistency\";\nconst _MRRU = \"MaxReadRequestUnits\";\nconst _MU = \"MinimumUnits\";\nconst _MUa = \"MaximumUnits\";\nconst _MWRU = \"MaxWriteRequestUnits\";\nconst _M_ = \"M\";\nconst _N = \"N\";\nconst _NKA = \"NonKeyAttributes\";\nconst _NODT = \"NumberOfDecreasesToday\";\nconst _NS = \"NS\";\nconst _NT = \"NextToken\";\nconst _NULL = \"NULL\";\nconst _ODT = \"OnDemandThroughput\";\nconst _ODTO = \"OnDemandThroughputOverride\";\nconst _P = \"Parameters\";\nconst _PE = \"ProjectionExpression\";\nconst _PI = \"PutItem\";\nconst _PIC = \"ProcessedItemCount\";\nconst _PII = \"PutItemInput\";\nconst _PIIAM = \"PutItemInputAttributeMap\";\nconst _PIO = \"PutItemOutput\";\nconst _PITRD = \"PointInTimeRecoveryDescription\";\nconst _PITRE = \"PointInTimeRecoveryEnabled\";\nconst _PITRS = \"PointInTimeRecoveryStatus\";\nconst _PITRSo = \"PointInTimeRecoverySpecification\";\nconst _PITRUE = \"PointInTimeRecoveryUnavailableException\";\nconst _PN = \"PolicyName\";\nconst _PNFE = \"PolicyNotFoundException\";\nconst _PQLBR = \"PartiQLBatchRequest\";\nconst _PQLBRa = \"PartiQLBatchResponse\";\nconst _PR = \"PutRequest\";\nconst _PRCASS = \"ProvisionedReadCapacityAutoScalingSettings\";\nconst _PRCASSU = \"ProvisionedReadCapacityAutoScalingSettingsUpdate\";\nconst _PRCASU = \"ProvisionedReadCapacityAutoScalingUpdate\";\nconst _PRCU = \"ProvisionedReadCapacityUnits\";\nconst _PRP = \"PutResourcePolicy\";\nconst _PRPI = \"PutResourcePolicyInput\";\nconst _PRPO = \"PutResourcePolicyOutput\";\nconst _PS = \"PageSize\";\nconst _PSB = \"ProcessedSizeBytes\";\nconst _PSP = \"PreparedStatementParameters\";\nconst _PSa = \"ParameterizedStatement\";\nconst _PSar = \"ParameterizedStatements\";\nconst _PT = \"ProvisionedThroughput\";\nconst _PTD = \"ProvisionedThroughputDescription\";\nconst _PTEE = \"ProvisionedThroughputExceededException\";\nconst _PTO = \"ProvisionedThroughputOverride\";\nconst _PTr = \"ProjectionType\";\nconst _PWCASS = \"ProvisionedWriteCapacityAutoScalingSettings\";\nconst _PWCASSU = \"ProvisionedWriteCapacityAutoScalingSettingsUpdate\";\nconst _PWCASU = \"ProvisionedWriteCapacityAutoScalingUpdate\";\nconst _PWCU = \"ProvisionedWriteCapacityUnits\";\nconst _Po = \"Policy\";\nconst _Pr = \"Projection\";\nconst _Pu = \"Put\";\nconst _Q = \"Query\";\nconst _QF = \"QueryFilter\";\nconst _QI = \"QueryInput\";\nconst _QO = \"QueryOutput\";\nconst _R = \"Responses\";\nconst _RA = \"ResourceArn\";\nconst _RAEE = \"ReplicaAlreadyExistsException\";\nconst _RASD = \"ReplicaAutoScalingDescription\";\nconst _RASDL = \"ReplicaAutoScalingDescriptionList\";\nconst _RASU = \"ReplicaAutoScalingUpdate\";\nconst _RASUL = \"ReplicaAutoScalingUpdateList\";\nconst _RAe = \"ReplicaArn\";\nconst _RBMS = \"ReplicaBillingModeSummary\";\nconst _RCC = \"ReturnConsumedCapacity\";\nconst _RCU = \"ReadCapacityUnits\";\nconst _RD = \"ReplicaDescription\";\nconst _RDL = \"ReplicaDescriptionList\";\nconst _RDT = \"RestoreDateTime\";\nconst _RG = \"ReplicationGroup\";\nconst _RGSI = \"ReplicaGlobalSecondaryIndex\";\nconst _RGSIASD = \"ReplicaGlobalSecondaryIndexAutoScalingDescription\";\nconst _RGSIASDL = \"ReplicaGlobalSecondaryIndexAutoScalingDescriptionList\";\nconst _RGSIASU = \"ReplicaGlobalSecondaryIndexAutoScalingUpdate\";\nconst _RGSIASUL = \"ReplicaGlobalSecondaryIndexAutoScalingUpdateList\";\nconst _RGSID = \"ReplicaGlobalSecondaryIndexDescription\";\nconst _RGSIDL = \"ReplicaGlobalSecondaryIndexDescriptionList\";\nconst _RGSIL = \"ReplicaGlobalSecondaryIndexList\";\nconst _RGSIS = \"ReplicaGlobalSecondaryIndexSettings\";\nconst _RGSISD = \"ReplicaGlobalSecondaryIndexSettingsDescription\";\nconst _RGSISDL = \"ReplicaGlobalSecondaryIndexSettingsDescriptionList\";\nconst _RGSISU = \"ReplicaGlobalSecondaryIndexSettingsUpdate\";\nconst _RGSISUL = \"ReplicaGlobalSecondaryIndexSettingsUpdateList\";\nconst _RGSIU = \"ReplicaGlobalSecondaryIndexUpdates\";\nconst _RGU = \"ReplicationGroupUpdate\";\nconst _RGUL = \"ReplicationGroupUpdateList\";\nconst _RI = \"RequestItems\";\nconst _RICM = \"ReturnItemCollectionMetrics\";\nconst _RIDT = \"ReplicaInaccessibleDateTime\";\nconst _RIP = \"RestoreInProgress\";\nconst _RIUE = \"ResourceInUseException\";\nconst _RIe = \"RevisionId\";\nconst _RL = \"ReplicaList\";\nconst _RLE = \"RequestLimitExceeded\";\nconst _RN = \"RegionName\";\nconst _RNFE = \"ReplicaNotFoundException\";\nconst _RNFEe = \"ResourceNotFoundException\";\nconst _RP = \"ResourcePolicy\";\nconst _RPID = \"RecoveryPeriodInDays\";\nconst _RPRCASS = \"ReplicaProvisionedReadCapacityAutoScalingSettings\";\nconst _RPRCASSU = \"ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate\";\nconst _RPRCASU = \"ReplicaProvisionedReadCapacityAutoScalingUpdate\";\nconst _RPRCU = \"ReplicaProvisionedReadCapacityUnits\";\nconst _RPWCASS = \"ReplicaProvisionedWriteCapacityAutoScalingSettings\";\nconst _RPWCU = \"ReplicaProvisionedWriteCapacityUnits\";\nconst _RS = \"ReplicaSettings\";\nconst _RSD = \"ReplicaStatusDescription\";\nconst _RSDL = \"ReplicaSettingsDescriptionList\";\nconst _RSDe = \"ReplicaSettingsDescription\";\nconst _RSPP = \"ReplicaStatusPercentProgress\";\nconst _RSU = \"ReplicaSettingsUpdate\";\nconst _RSUL = \"ReplicaSettingsUpdateList\";\nconst _RSe = \"ReplicaStatus\";\nconst _RSes = \"RestoreSummary\";\nconst _RTC = \"ReplicaTableClass\";\nconst _RTCS = \"ReplicaTableClassSummary\";\nconst _RTFB = \"RestoreTableFromBackup\";\nconst _RTFBI = \"RestoreTableFromBackupInput\";\nconst _RTFBO = \"RestoreTableFromBackupOutput\";\nconst _RTTPIT = \"RestoreTableToPointInTime\";\nconst _RTTPITI = \"RestoreTableToPointInTimeInput\";\nconst _RTTPITO = \"RestoreTableToPointInTimeOutput\";\nconst _RU = \"ReplicaUpdate\";\nconst _RUL = \"ReplicaUpdateList\";\nconst _RUPS = \"ReadUnitsPerSecond\";\nconst _RUe = \"ReplicaUpdates\";\nconst _RV = \"ReturnValues\";\nconst _RVOCCF = \"ReturnValuesOnConditionCheckFailure\";\nconst _RWCE = \"ReplicatedWriteConflictException\";\nconst _Re = \"Replica\";\nconst _Rep = \"Replicas\";\nconst _S = \"Statements\";\nconst _SA = \"StreamArn\";\nconst _SB = \"S3Bucket\";\nconst _SBA = \"SourceBackupArn\";\nconst _SBO = \"S3BucketOwner\";\nconst _SBS = \"S3BucketSource\";\nconst _SC = \"ScannedCount\";\nconst _SCE = \"SearchConditionExpression\";\nconst _SD = \"StreamDescription\";\nconst _SE = \"StreamEnabled\";\nconst _SERGB = \"SizeEstimateRangeGB\";\nconst _SF = \"ScanFilter\";\nconst _SI = \"ScanInput\";\nconst _SIC = \"ScaleInCooldown\";\nconst _SICM = \"SecondaryIndexesCapacityMap\";\nconst _SIF = \"ScanIndexForward\";\nconst _SKP = \"S3KeyPrefix\";\nconst _SO = \"ScanOutput\";\nconst _SOC = \"ScaleOutCooldown\";\nconst _SP = \"ScalingPolicies\";\nconst _SPU = \"ScalingPolicyUpdate\";\nconst _SPr = \"S3Prefix\";\nconst _SR = \"SearchResults\";\nconst _SRI = \"SearchResultItem\";\nconst _SRL = \"SearchResultList\";\nconst _SS = \"StreamSpecification\";\nconst _SSA = \"S3SseAlgorithm\";\nconst _SSE = \"SearchSchemaElement\";\nconst _SSED = \"SSEDescription\";\nconst _SSES = \"SSESpecification\";\nconst _SSESO = \"SSESpecificationOverride\";\nconst _SSET = \"SearchSchemaElementType\";\nconst _SSETy = \"SSEType\";\nconst _SSKKI = \"S3SseKmsKeyId\";\nconst _SS_ = \"SS\";\nconst _SSe = \"SearchSchema\";\nconst _ST = \"StartTime\";\nconst _STA = \"SourceTableArn\";\nconst _STD = \"SourceTableDetails\";\nconst _STFD = \"SourceTableFeatureDetails\";\nconst _STN = \"SourceTableName\";\nconst _SV = \"SearchVector\";\nconst _SVI = \"SearchVectorsInput\";\nconst _SVL = \"SearchVectorList\";\nconst _SVO = \"SearchVectorsOutput\";\nconst _SVT = \"StreamViewType\";\nconst _SVe = \"SearchVectors\";\nconst _S_ = \"S\";\nconst _Sc = \"Score\";\nconst _Sca = \"Scan\";\nconst _Se = \"Select\";\nconst _Seg = \"Segment\";\nconst _St = \"Statement\";\nconst _Sta = \"Status\";\nconst _T = \"Table\";\nconst _TA = \"TableArn\";\nconst _TAEE = \"TableAlreadyExistsException\";\nconst _TASD = \"TableAutoScalingDescription\";\nconst _TC = \"TableClass\";\nconst _TCDT = \"TableCreationDateTime\";\nconst _TCE = \"TransactionCanceledException\";\nconst _TCEr = \"TransactionConflictException\";\nconst _TCO = \"TableClassOverride\";\nconst _TCP = \"TableCreationParameters\";\nconst _TCS = \"TableClassSummary\";\nconst _TD = \"TableDescription\";\nconst _TE = \"ThrottlingException\";\nconst _TGI = \"TransactGetItem\";\nconst _TGII = \"TransactGetItemsInput\";\nconst _TGIL = \"TransactGetItemList\";\nconst _TGIO = \"TransactGetItemsOutput\";\nconst _TGIr = \"TransactGetItems\";\nconst _TI = \"TableId\";\nconst _TIPE = \"TransactionInProgressException\";\nconst _TIUE = \"TableInUseException\";\nconst _TIr = \"TransactItems\";\nconst _TK = \"TopK\";\nconst _TKa = \"TagKeys\";\nconst _TL = \"TagList\";\nconst _TMRCU = \"TableMaxReadCapacityUnits\";\nconst _TMWCU = \"TableMaxWriteCapacityUnits\";\nconst _TN = \"TableName\";\nconst _TNFE = \"TableNotFoundException\";\nconst _TNa = \"TableNames\";\nconst _TR = \"ThrottlingReasons\";\nconst _TRI = \"TagResourceInput\";\nconst _TRL = \"ThrottlingReasonList\";\nconst _TRLB = \"TimeRangeLowerBound\";\nconst _TRUB = \"TimeRangeUpperBound\";\nconst _TRa = \"TagResource\";\nconst _TRh = \"ThrottlingReason\";\nconst _TS = \"TransactStatements\";\nconst _TSB = \"TableSizeBytes\";\nconst _TSa = \"TableStatus\";\nconst _TSo = \"TotalSegments\";\nconst _TTLD = \"TimeToLiveDescription\";\nconst _TTLS = \"TimeToLiveStatus\";\nconst _TTLSi = \"TimeToLiveSpecification\";\nconst _TTN = \"TargetTableName\";\nconst _TTSPC = \"TargetTrackingScalingPolicyConfiguration\";\nconst _TV = \"TargetValue\";\nconst _TWI = \"TransactWriteItem\";\nconst _TWII = \"TransactWriteItemsInput\";\nconst _TWIL = \"TransactWriteItemList\";\nconst _TWIO = \"TransactWriteItemsOutput\";\nconst _TWIr = \"TransactWriteItems\";\nconst _TWTD = \"TableWarmThroughputDescription\";\nconst _Ta = \"Tags\";\nconst _Tag = \"Tag\";\nconst _U = \"Update\";\nconst _UCB = \"UpdateContinuousBackups\";\nconst _UCBI = \"UpdateContinuousBackupsInput\";\nconst _UCBO = \"UpdateContinuousBackupsOutput\";\nconst _UCI = \"UpdateContributorInsights\";\nconst _UCII = \"UpdateContributorInsightsInput\";\nconst _UCIO = \"UpdateContributorInsightsOutput\";\nconst _UE = \"UpdateExpression\";\nconst _UGSIA = \"UpdateGlobalSecondaryIndexAction\";\nconst _UGT = \"UpdateGlobalTable\";\nconst _UGTI = \"UpdateGlobalTableInput\";\nconst _UGTO = \"UpdateGlobalTableOutput\";\nconst _UGTS = \"UpdateGlobalTableSettings\";\nconst _UGTSI = \"UpdateGlobalTableSettingsInput\";\nconst _UGTSO = \"UpdateGlobalTableSettingsOutput\";\nconst _UI = \"UnprocessedItems\";\nconst _UII = \"UpdateItemInput\";\nconst _UIO = \"UpdateItemOutput\";\nconst _UIp = \"UpdateItem\";\nconst _UK = \"UnprocessedKeys\";\nconst _UKSC = \"UpdateKinesisStreamingConfiguration\";\nconst _UKSD = \"UpdateKinesisStreamingDestination\";\nconst _UKSDI = \"UpdateKinesisStreamingDestinationInput\";\nconst _UKSDO = \"UpdateKinesisStreamingDestinationOutput\";\nconst _ULRT = \"UseLatestRestorableTime\";\nconst _UR = \"UntagResource\";\nconst _URGMA = \"UpdateReplicationGroupMemberAction\";\nconst _URI = \"UntagResourceInput\";\nconst _UT = \"UpdateTable\";\nconst _UTI = \"UpdateTableInput\";\nconst _UTO = \"UpdateTableOutput\";\nconst _UTRAS = \"UpdateTableReplicaAutoScaling\";\nconst _UTRASI = \"UpdateTableReplicaAutoScalingInput\";\nconst _UTRASO = \"UpdateTableReplicaAutoScalingOutput\";\nconst _UTTL = \"UpdateTimeToLive\";\nconst _UTTLI = \"UpdateTimeToLiveInput\";\nconst _UTTLO = \"UpdateTimeToLiveOutput\";\nconst _V = \"Value\";\nconst _VA = \"VectorAttribute\";\nconst _VAD = \"VectorAttributeDefinition\";\nconst _VC = \"VectorCapacity\";\nconst _VI = \"VectorIndexes\";\nconst _VICM = \"VectorIndexesCapacityMap\";\nconst _VID = \"VectorIndexDescription\";\nconst _VIDL = \"VectorIndexDescriptionList\";\nconst _VII = \"VectorIndexInfo\";\nconst _VIL = \"VectorIndexList\";\nconst _VIO = \"VectorIndexOverride\";\nconst _VIU = \"VectorIndexUpdates\";\nconst _VIUL = \"VectorIndexUpdateList\";\nconst _VIUe = \"VectorIndexUpdate\";\nconst _VIe = \"VectorIndex\";\nconst _VSRB = \"VectorSearchRequestBytes\";\nconst _VWRB = \"VectorWriteRequestBytes\";\nconst _WCU = \"WriteCapacityUnits\";\nconst _WR = \"WriteRequest\";\nconst _WRr = \"WriteRequests\";\nconst _WS = \"WitnessStatus\";\nconst _WT = \"WarmThroughput\";\nconst _WUPS = \"WriteUnitsPerSecond\";\nconst _aQE = \"awsQueryError\";\nconst _c = \"client\";\nconst _e = \"error\";\nconst _hE = \"httpError\";\nconst _hH = \"httpHeader\";\nconst _m = \"message\";\nconst _r = \"reason\";\nconst _re = \"resource\";\nconst _s = \"smithy.ts.sdk.synthetic.com.amazonaws.dynamodb\";\nconst _se = \"server\";\nconst _tR = \"throttlingReasons\";\nconst _xacrsra = \"x-amz-confirm-remove-self-resource-access\";\nconst n0 = \"com.amazonaws.dynamodb\";\nconst _s_registry = new TypeRegistry(_s);\nvar DynamoDBServiceException$ = [-3, _s, \"DynamoDBServiceException\", 0, [], []];\n_s_registry.registerError(DynamoDBServiceException$, DynamoDBServiceException);\nconst n0_registry = new TypeRegistry(n0);\nvar BackupInUseException$ = [-3, n0, _BIUE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(BackupInUseException$, BackupInUseException);\nvar BackupNotFoundException$ = [-3, n0, _BNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(BackupNotFoundException$, BackupNotFoundException);\nvar ConditionalCheckFailedException$ = [-3, n0, _CCFE,\n { [_e]: _c },\n [_m, _I],\n [0, () => AttributeMap]\n];\nn0_registry.registerError(ConditionalCheckFailedException$, ConditionalCheckFailedException);\nvar ContinuousBackupsUnavailableException$ = [-3, n0, _CBUE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(ContinuousBackupsUnavailableException$, ContinuousBackupsUnavailableException);\nvar DuplicateItemException$ = [-3, n0, _DIE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(DuplicateItemException$, DuplicateItemException);\nvar ExportConflictException$ = [-3, n0, _ECE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(ExportConflictException$, ExportConflictException);\nvar ExportNotFoundException$ = [-3, n0, _ENFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(ExportNotFoundException$, ExportNotFoundException);\nvar GlobalTableAlreadyExistsException$ = [-3, n0, _GTAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(GlobalTableAlreadyExistsException$, GlobalTableAlreadyExistsException);\nvar GlobalTableNotFoundException$ = [-3, n0, _GTNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(GlobalTableNotFoundException$, GlobalTableNotFoundException);\nvar IdempotentParameterMismatchException$ = [-3, n0, _IPME,\n { [_e]: _c },\n [_M],\n [0]\n];\nn0_registry.registerError(IdempotentParameterMismatchException$, IdempotentParameterMismatchException);\nvar ImportConflictException$ = [-3, n0, _ICE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(ImportConflictException$, ImportConflictException);\nvar ImportNotFoundException$ = [-3, n0, _INFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(ImportNotFoundException$, ImportNotFoundException);\nvar IndexNotFoundException$ = [-3, n0, _INFEn,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(IndexNotFoundException$, IndexNotFoundException);\nvar InternalServerError$ = [-3, n0, _ISE,\n { [_e]: _se },\n [_m],\n [0]\n];\nn0_registry.registerError(InternalServerError$, InternalServerError);\nvar InvalidEndpointException$ = [-3, n0, _IEE,\n { [_e]: _c, [_hE]: 421 },\n [_M],\n [0]\n];\nn0_registry.registerError(InvalidEndpointException$, InvalidEndpointException);\nvar InvalidExportTimeException$ = [-3, n0, _IETE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(InvalidExportTimeException$, InvalidExportTimeException);\nvar InvalidRestoreTimeException$ = [-3, n0, _IRTE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(InvalidRestoreTimeException$, InvalidRestoreTimeException);\nvar ItemCollectionSizeLimitExceededException$ = [-3, n0, _ICSLEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(ItemCollectionSizeLimitExceededException$, ItemCollectionSizeLimitExceededException);\nvar LimitExceededException$ = [-3, n0, _LEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(LimitExceededException$, LimitExceededException);\nvar PointInTimeRecoveryUnavailableException$ = [-3, n0, _PITRUE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(PointInTimeRecoveryUnavailableException$, PointInTimeRecoveryUnavailableException);\nvar PolicyNotFoundException$ = [-3, n0, _PNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(PolicyNotFoundException$, PolicyNotFoundException);\nvar ProvisionedThroughputExceededException$ = [-3, n0, _PTEE,\n { [_e]: _c },\n [_m, _TR],\n [0, () => ThrottlingReasonList]\n];\nn0_registry.registerError(ProvisionedThroughputExceededException$, ProvisionedThroughputExceededException);\nvar ReplicaAlreadyExistsException$ = [-3, n0, _RAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(ReplicaAlreadyExistsException$, ReplicaAlreadyExistsException);\nvar ReplicaNotFoundException$ = [-3, n0, _RNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(ReplicaNotFoundException$, ReplicaNotFoundException);\nvar ReplicatedWriteConflictException$ = [-3, n0, _RWCE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(ReplicatedWriteConflictException$, ReplicatedWriteConflictException);\nvar RequestLimitExceeded$ = [-3, n0, _RLE,\n { [_e]: _c },\n [_m, _TR],\n [0, () => ThrottlingReasonList]\n];\nn0_registry.registerError(RequestLimitExceeded$, RequestLimitExceeded);\nvar ResourceInUseException$ = [-3, n0, _RIUE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(ResourceInUseException$, ResourceInUseException);\nvar ResourceNotFoundException$ = [-3, n0, _RNFEe,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);\nvar TableAlreadyExistsException$ = [-3, n0, _TAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(TableAlreadyExistsException$, TableAlreadyExistsException);\nvar TableInUseException$ = [-3, n0, _TIUE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(TableInUseException$, TableInUseException);\nvar TableNotFoundException$ = [-3, n0, _TNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(TableNotFoundException$, TableNotFoundException);\nvar ThrottlingException$ = [-3, n0, _TE,\n { [_aQE]: [`Throttling`, 400], [_e]: _c, [_hE]: 400 },\n [_m, _tR],\n [0, () => ThrottlingReasonList]\n];\nn0_registry.registerError(ThrottlingException$, ThrottlingException);\nvar TransactionCanceledException$ = [-3, n0, _TCE,\n { [_e]: _c },\n [_M, _CR],\n [0, () => CancellationReasonList]\n];\nn0_registry.registerError(TransactionCanceledException$, TransactionCanceledException);\nvar TransactionConflictException$ = [-3, n0, _TCEr,\n { [_e]: _c },\n [_m],\n [0]\n];\nn0_registry.registerError(TransactionConflictException$, TransactionConflictException);\nvar TransactionInProgressException$ = [-3, n0, _TIPE,\n { [_e]: _c },\n [_M],\n [0]\n];\nn0_registry.registerError(TransactionInProgressException$, TransactionInProgressException);\nconst errorTypeRegistries = [\n _s_registry,\n n0_registry,\n];\nvar ArchivalSummary$ = [3, n0, _AS,\n 0,\n [_ADT, _AR, _ABA],\n [4, 0, 0]\n];\nvar AttributeDefinition$ = [3, n0, _AD,\n 0,\n [_AN, _AT],\n [0, 0], 2\n];\nvar AttributeValueUpdate$ = [3, n0, _AVU,\n 0,\n [_V, _A],\n [() => AttributeValue$, 0]\n];\nvar AutoScalingPolicyDescription$ = [3, n0, _ASPD,\n 0,\n [_PN, _TTSPC],\n [0, () => AutoScalingTargetTrackingScalingPolicyConfigurationDescription$]\n];\nvar AutoScalingPolicyUpdate$ = [3, n0, _ASPU,\n 0,\n [_TTSPC, _PN],\n [() => AutoScalingTargetTrackingScalingPolicyConfigurationUpdate$, 0], 1\n];\nvar AutoScalingSettingsDescription$ = [3, n0, _ASSD,\n 0,\n [_MU, _MUa, _ASD, _ASRA, _SP],\n [1, 1, 2, 0, () => AutoScalingPolicyDescriptionList]\n];\nvar AutoScalingSettingsUpdate$ = [3, n0, _ASSU,\n 0,\n [_MU, _MUa, _ASD, _ASRA, _SPU],\n [1, 1, 2, 0, () => AutoScalingPolicyUpdate$]\n];\nvar AutoScalingTargetTrackingScalingPolicyConfigurationDescription$ = [3, n0, _ASTTSPCD,\n 0,\n [_TV, _DSI, _SIC, _SOC],\n [1, 2, 1, 1], 1\n];\nvar AutoScalingTargetTrackingScalingPolicyConfigurationUpdate$ = [3, n0, _ASTTSPCU,\n 0,\n [_TV, _DSI, _SIC, _SOC],\n [1, 2, 1, 1], 1\n];\nvar BackupDescription$ = [3, n0, _BD,\n 0,\n [_BDa, _STD, _STFD],\n [() => BackupDetails$, () => SourceTableDetails$, () => SourceTableFeatureDetails$]\n];\nvar BackupDetails$ = [3, n0, _BDa,\n 0,\n [_BA, _BN, _BS, _BT, _BCDT, _BSB, _BEDT],\n [0, 0, 0, 0, 4, 1, 4], 5\n];\nvar BackupSummary$ = [3, n0, _BSa,\n 0,\n [_TN, _TI, _TA, _BA, _BN, _BCDT, _BEDT, _BS, _BT, _BSB],\n [0, 0, 0, 0, 0, 4, 4, 0, 0, 1]\n];\nvar BatchExecuteStatementInput$ = [3, n0, _BESI,\n 0,\n [_S, _RCC],\n [() => PartiQLBatchRequest, 0], 1\n];\nvar BatchExecuteStatementOutput$ = [3, n0, _BESO,\n 0,\n [_R, _CC],\n [() => PartiQLBatchResponse, () => ConsumedCapacityMultiple]\n];\nvar BatchGetItemInput$ = [3, n0, _BGII,\n 0,\n [_RI, _RCC],\n [() => BatchGetRequestMap, 0], 1\n];\nvar BatchGetItemOutput$ = [3, n0, _BGIO,\n 0,\n [_R, _UK, _CC],\n [() => BatchGetResponseMap, () => BatchGetRequestMap, () => ConsumedCapacityMultiple]\n];\nvar BatchStatementError$ = [3, n0, _BSE,\n 0,\n [_C, _M, _I],\n [0, 0, () => AttributeMap]\n];\nvar BatchStatementRequest$ = [3, n0, _BSR,\n 0,\n [_St, _P, _CRo, _RVOCCF],\n [0, () => PreparedStatementParameters, 2, 0], 1\n];\nvar BatchStatementResponse$ = [3, n0, _BSRa,\n 0,\n [_E, _TN, _I],\n [() => BatchStatementError$, 0, () => AttributeMap]\n];\nvar BatchWriteItemInput$ = [3, n0, _BWII,\n 0,\n [_RI, _RCC, _RICM],\n [() => BatchWriteItemRequestMap, 0, 0], 1\n];\nvar BatchWriteItemOutput$ = [3, n0, _BWIO,\n 0,\n [_UI, _ICM, _CC],\n [() => BatchWriteItemRequestMap, () => ItemCollectionMetricsPerTable, () => ConsumedCapacityMultiple]\n];\nvar BillingModeSummary$ = [3, n0, _BMS,\n 0,\n [_BM, _LUTPPRDT],\n [0, 4]\n];\nvar CancellationReason$ = [3, n0, _CRa,\n 0,\n [_I, _C, _M],\n [() => AttributeMap, 0, 0]\n];\nvar Capacity$ = [3, n0, _Ca,\n 0,\n [_RCU, _WCU, _CU],\n [1, 1, 1]\n];\nvar Condition$ = [3, n0, _Co,\n 0,\n [_CO, _AVL],\n [0, () => AttributeValueList], 1\n];\nvar ConditionCheck$ = [3, n0, _CCo,\n 0,\n [_K, _TN, _CE, _EAN, _EAV, _RVOCCF],\n [() => Key, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 3\n];\nvar ConsumedCapacity$ = [3, n0, _CC,\n 0,\n [_TN, _CU, _RCU, _WCU, _T, _LSI, _GSI, _VI],\n [0, 1, 1, 1, () => Capacity$, () => SecondaryIndexesCapacityMap, () => SecondaryIndexesCapacityMap, () => VectorIndexesCapacityMap]\n];\nvar ContinuousBackupsDescription$ = [3, n0, _CBD,\n 0,\n [_CBS, _PITRD],\n [0, () => PointInTimeRecoveryDescription$], 1\n];\nvar ContributorInsightsSummary$ = [3, n0, _CIS,\n 0,\n [_TN, _IN, _CISo, _CIM],\n [0, 0, 0, 0]\n];\nvar CreateBackupInput$ = [3, n0, _CBI,\n 0,\n [_TN, _BN],\n [0, 0], 2\n];\nvar CreateBackupOutput$ = [3, n0, _CBO,\n 0,\n [_BDa],\n [() => BackupDetails$]\n];\nvar CreateGlobalSecondaryIndexAction$ = [3, n0, _CGSIA,\n 0,\n [_IN, _KS, _Pr, _PT, _ODT, _WT],\n [0, () => KeySchema, () => Projection$, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => WarmThroughput$], 3\n];\nvar CreateGlobalTableInput$ = [3, n0, _CGTI,\n 0,\n [_GTN, _RG],\n [0, () => ReplicaList], 2\n];\nvar CreateGlobalTableOutput$ = [3, n0, _CGTO,\n 0,\n [_GTD],\n [() => GlobalTableDescription$]\n];\nvar CreateGlobalTableWitnessGroupMemberAction$ = [3, n0, _CGTWGMA,\n 0,\n [_RN],\n [0], 1\n];\nvar CreateReplicaAction$ = [3, n0, _CRA,\n 0,\n [_RN],\n [0], 1\n];\nvar CreateReplicationGroupMemberAction$ = [3, n0, _CRGMA,\n 0,\n [_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO],\n [0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => ReplicaGlobalSecondaryIndexList, 0], 1\n];\nvar CreateTableInput$ = [3, n0, _CTI,\n 0,\n [_TN, _ADt, _KS, _LSI, _GSI, _BM, _PT, _SS, _SSES, _Ta, _TC, _DPE, _WT, _RP, _ODT, _GTSA, _GTSRM, _VI],\n [0, () => AttributeDefinitions, () => KeySchema, () => LocalSecondaryIndexList, () => GlobalSecondaryIndexList, 0, () => ProvisionedThroughput$, () => StreamSpecification$, () => SSESpecification$, () => TagList, 0, 2, () => WarmThroughput$, 0, () => OnDemandThroughput$, 0, 0, () => VectorIndexList], 1\n];\nvar CreateTableOutput$ = [3, n0, _CTO,\n 0,\n [_TD],\n [() => TableDescription$]\n];\nvar CreateVectorIndexAction$ = [3, n0, _CVIA,\n 0,\n [_IN, _VA, _Pr, _D, _DF, _SSe],\n [0, () => VectorAttributeDefinition$, () => Projection$, 1, 0, () => SearchSchema], 5\n];\nvar CsvOptions$ = [3, n0, _COs,\n 0,\n [_De, _HL],\n [0, 64 | 0]\n];\nvar Delete$ = [3, n0, _Del,\n 0,\n [_K, _TN, _CE, _EAN, _EAV, _RVOCCF],\n [() => Key, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2\n];\nvar DeleteBackupInput$ = [3, n0, _DBI,\n 0,\n [_BA],\n [0], 1\n];\nvar DeleteBackupOutput$ = [3, n0, _DBO,\n 0,\n [_BD],\n [() => BackupDescription$]\n];\nvar DeleteGlobalSecondaryIndexAction$ = [3, n0, _DGSIA,\n 0,\n [_IN],\n [0], 1\n];\nvar DeleteGlobalTableWitnessGroupMemberAction$ = [3, n0, _DGTWGMA,\n 0,\n [_RN],\n [0], 1\n];\nvar DeleteItemInput$ = [3, n0, _DII,\n 0,\n [_TN, _K, _Ex, _COo, _RV, _RCC, _RICM, _CE, _EAN, _EAV, _RVOCCF],\n [0, () => Key, () => ExpectedAttributeMap, 0, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2\n];\nvar DeleteItemOutput$ = [3, n0, _DIO,\n 0,\n [_At, _CC, _ICM],\n [() => AttributeMap, () => ConsumedCapacity$, () => ItemCollectionMetrics$]\n];\nvar DeleteReplicaAction$ = [3, n0, _DRA,\n 0,\n [_RN],\n [0], 1\n];\nvar DeleteReplicationGroupMemberAction$ = [3, n0, _DRGMA,\n 0,\n [_RN],\n [0], 1\n];\nvar DeleteRequest$ = [3, n0, _DR,\n 0,\n [_K],\n [() => Key], 1\n];\nvar DeleteResourcePolicyInput$ = [3, n0, _DRPI,\n 0,\n [_RA, _ERI],\n [0, 0], 1\n];\nvar DeleteResourcePolicyOutput$ = [3, n0, _DRPO,\n 0,\n [_RIe],\n [0]\n];\nvar DeleteTableInput$ = [3, n0, _DTI,\n 0,\n [_TN],\n [0], 1\n];\nvar DeleteTableOutput$ = [3, n0, _DTO,\n 0,\n [_TD],\n [() => TableDescription$]\n];\nvar DeleteVectorIndexAction$ = [3, n0, _DVIA,\n 0,\n [_IN],\n [0], 1\n];\nvar DescribeBackupInput$ = [3, n0, _DBIe,\n 0,\n [_BA],\n [0], 1\n];\nvar DescribeBackupOutput$ = [3, n0, _DBOe,\n 0,\n [_BD],\n [() => BackupDescription$]\n];\nvar DescribeContinuousBackupsInput$ = [3, n0, _DCBI,\n 0,\n [_TN],\n [0], 1\n];\nvar DescribeContinuousBackupsOutput$ = [3, n0, _DCBO,\n 0,\n [_CBD],\n [() => ContinuousBackupsDescription$]\n];\nvar DescribeContributorInsightsInput$ = [3, n0, _DCII,\n 0,\n [_TN, _IN],\n [0, 0], 1\n];\nvar DescribeContributorInsightsOutput$ = [3, n0, _DCIO,\n 0,\n [_TN, _IN, _CIRL, _CISo, _LUDT, _FE, _CIM],\n [0, 0, 64 | 0, 0, 4, () => FailureException$, 0]\n];\nvar DescribeEndpointsRequest$ = [3, n0, _DER,\n 0,\n [],\n []\n];\nvar DescribeEndpointsResponse$ = [3, n0, _DERe,\n 0,\n [_En],\n [() => Endpoints], 1\n];\nvar DescribeExportInput$ = [3, n0, _DEI,\n 0,\n [_EA],\n [0], 1\n];\nvar DescribeExportOutput$ = [3, n0, _DEO,\n 0,\n [_ED],\n [() => ExportDescription$]\n];\nvar DescribeGlobalTableInput$ = [3, n0, _DGTI,\n 0,\n [_GTN],\n [0], 1\n];\nvar DescribeGlobalTableOutput$ = [3, n0, _DGTO,\n 0,\n [_GTD],\n [() => GlobalTableDescription$]\n];\nvar DescribeGlobalTableSettingsInput$ = [3, n0, _DGTSI,\n 0,\n [_GTN],\n [0], 1\n];\nvar DescribeGlobalTableSettingsOutput$ = [3, n0, _DGTSO,\n 0,\n [_GTN, _RS],\n [0, () => ReplicaSettingsDescriptionList]\n];\nvar DescribeImportInput$ = [3, n0, _DIIe,\n 0,\n [_IA],\n [0], 1\n];\nvar DescribeImportOutput$ = [3, n0, _DIOe,\n 0,\n [_ITD],\n [() => ImportTableDescription$], 1\n];\nvar DescribeKinesisStreamingDestinationInput$ = [3, n0, _DKSDI,\n 0,\n [_TN],\n [0], 1\n];\nvar DescribeKinesisStreamingDestinationOutput$ = [3, n0, _DKSDO,\n 0,\n [_TN, _KDSD],\n [0, () => KinesisDataStreamDestinations]\n];\nvar DescribeLimitsInput$ = [3, n0, _DLI,\n 0,\n [],\n []\n];\nvar DescribeLimitsOutput$ = [3, n0, _DLO,\n 0,\n [_AMRCU, _AMWCU, _TMRCU, _TMWCU],\n [1, 1, 1, 1]\n];\nvar DescribeTableInput$ = [3, n0, _DTIe,\n 0,\n [_TN],\n [0], 1\n];\nvar DescribeTableOutput$ = [3, n0, _DTOe,\n 0,\n [_T],\n [() => TableDescription$]\n];\nvar DescribeTableReplicaAutoScalingInput$ = [3, n0, _DTRASI,\n 0,\n [_TN],\n [0], 1\n];\nvar DescribeTableReplicaAutoScalingOutput$ = [3, n0, _DTRASO,\n 0,\n [_TASD],\n [() => TableAutoScalingDescription$]\n];\nvar DescribeTimeToLiveInput$ = [3, n0, _DTTLI,\n 0,\n [_TN],\n [0], 1\n];\nvar DescribeTimeToLiveOutput$ = [3, n0, _DTTLO,\n 0,\n [_TTLD],\n [() => TimeToLiveDescription$]\n];\nvar DisassociateReplicationGroupMemberAction$ = [3, n0, _DRGMAi,\n 0,\n [_RN, _DM],\n [0, 0], 2\n];\nvar EnableKinesisStreamingConfiguration$ = [3, n0, _EKSC,\n 0,\n [_ACDTP],\n [0]\n];\nvar Endpoint$ = [3, n0, _End,\n 0,\n [_Ad, _CPIM],\n [0, 1], 2\n];\nvar ExecuteStatementInput$ = [3, n0, _ESI,\n 0,\n [_St, _P, _CRo, _NT, _RCC, _L, _RVOCCF],\n [0, () => PreparedStatementParameters, 2, 0, 0, 1, 0], 1\n];\nvar ExecuteStatementOutput$ = [3, n0, _ESO,\n 0,\n [_It, _NT, _CC, _LEK],\n [() => ItemList, 0, () => ConsumedCapacity$, () => Key]\n];\nvar ExecuteTransactionInput$ = [3, n0, _ETI,\n 0,\n [_TS, _CRT, _RCC],\n [() => ParameterizedStatements, [0, 4], 0], 1\n];\nvar ExecuteTransactionOutput$ = [3, n0, _ETO,\n 0,\n [_R, _CC],\n [() => ItemResponseList, () => ConsumedCapacityMultiple]\n];\nvar ExpectedAttributeValue$ = [3, n0, _EAVx,\n 0,\n [_V, _Exi, _CO, _AVL],\n [() => AttributeValue$, 2, 0, () => AttributeValueList]\n];\nvar ExportDescription$ = [3, n0, _ED,\n 0,\n [_EA, _ES, _ST, _ET, _EM, _TA, _TI, _ETx, _CT, _SB, _SBO, _SPr, _SSA, _SSKKI, _FC, _FM, _EF, _BSBi, _IC, _ETxp, _IES, _FS],\n [0, 0, 4, 4, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, () => IncrementalExportSpecification$, () => FilterSpecification$]\n];\nvar ExportSummary$ = [3, n0, _ESx,\n 0,\n [_EA, _ES, _ETxp],\n [0, 0, 0]\n];\nvar ExportTableToPointInTimeInput$ = [3, n0, _ETTPITI,\n 0,\n [_TA, _SB, _ETx, _CT, _SBO, _SPr, _SSA, _SSKKI, _EF, _ETxp, _IES, _FS],\n [0, 0, 4, [0, 4], 0, 0, 0, 0, 0, 0, () => IncrementalExportSpecification$, () => FilterSpecification$], 2\n];\nvar ExportTableToPointInTimeOutput$ = [3, n0, _ETTPITO,\n 0,\n [_ED],\n [() => ExportDescription$]\n];\nvar FailureException$ = [3, n0, _FE,\n 0,\n [_EN, _EDx],\n [0, 0]\n];\nvar FilterSpecification$ = [3, n0, _FS,\n 0,\n [_FEi, _PE, _KCE, _EAN, _EAV],\n [0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap]\n];\nvar Get$ = [3, n0, _G,\n 0,\n [_K, _TN, _PE, _EAN],\n [() => Key, 0, 0, 128 | 0], 2\n];\nvar GetItemInput$ = [3, n0, _GII,\n 0,\n [_TN, _K, _ATG, _CRo, _RCC, _PE, _EAN],\n [0, () => Key, 64 | 0, 2, 0, 0, 128 | 0], 2\n];\nvar GetItemOutput$ = [3, n0, _GIO,\n 0,\n [_I, _CC],\n [() => AttributeMap, () => ConsumedCapacity$]\n];\nvar GetResourcePolicyInput$ = [3, n0, _GRPI,\n 0,\n [_RA],\n [0], 1\n];\nvar GetResourcePolicyOutput$ = [3, n0, _GRPO,\n 0,\n [_Po, _RIe],\n [0, 0]\n];\nvar GlobalSecondaryIndex$ = [3, n0, _GSIl,\n 0,\n [_IN, _KS, _Pr, _PT, _ODT, _WT],\n [0, () => KeySchema, () => Projection$, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => WarmThroughput$], 3\n];\nvar GlobalSecondaryIndexAutoScalingUpdate$ = [3, n0, _GSIASU,\n 0,\n [_IN, _PWCASU],\n [0, () => AutoScalingSettingsUpdate$]\n];\nvar GlobalSecondaryIndexDescription$ = [3, n0, _GSID,\n 0,\n [_IN, _KS, _Pr, _IS, _B, _PT, _ISB, _IC, _IAn, _ODT, _WT],\n [0, () => KeySchema, () => Projection$, 0, 2, () => ProvisionedThroughputDescription$, 1, 1, 0, () => OnDemandThroughput$, () => GlobalSecondaryIndexWarmThroughputDescription$]\n];\nvar GlobalSecondaryIndexInfo$ = [3, n0, _GSII,\n 0,\n [_IN, _KS, _Pr, _PT, _ODT],\n [0, () => KeySchema, () => Projection$, () => ProvisionedThroughput$, () => OnDemandThroughput$]\n];\nvar GlobalSecondaryIndexUpdate$ = [3, n0, _GSIU,\n 0,\n [_U, _Cr, _Del],\n [() => UpdateGlobalSecondaryIndexAction$, () => CreateGlobalSecondaryIndexAction$, () => DeleteGlobalSecondaryIndexAction$]\n];\nvar GlobalSecondaryIndexWarmThroughputDescription$ = [3, n0, _GSIWTD,\n 0,\n [_RUPS, _WUPS, _Sta],\n [1, 1, 0]\n];\nvar GlobalTable$ = [3, n0, _GT,\n 0,\n [_GTN, _RG],\n [0, () => ReplicaList]\n];\nvar GlobalTableDescription$ = [3, n0, _GTD,\n 0,\n [_RG, _GTA, _CDT, _GTS, _GTN],\n [() => ReplicaDescriptionList, 0, 4, 0, 0]\n];\nvar GlobalTableGlobalSecondaryIndexSettingsUpdate$ = [3, n0, _GTGSISU,\n 0,\n [_IN, _PWCU, _PWCASSU],\n [0, 1, () => AutoScalingSettingsUpdate$], 1\n];\nvar GlobalTableWitnessDescription$ = [3, n0, _GTWD,\n 0,\n [_RN, _WS],\n [0, 0]\n];\nvar GlobalTableWitnessGroupUpdate$ = [3, n0, _GTWGU,\n 0,\n [_Cr, _Del],\n [() => CreateGlobalTableWitnessGroupMemberAction$, () => DeleteGlobalTableWitnessGroupMemberAction$]\n];\nvar ImportSummary$ = [3, n0, _ISm,\n 0,\n [_IA, _ISmp, _TA, _SBS, _CWLGA, _IF, _ST, _ET],\n [0, 0, 0, () => S3BucketSource$, 0, 0, 4, 4]\n];\nvar ImportTableDescription$ = [3, n0, _ITD,\n 0,\n [_IA, _ISmp, _TA, _TI, _CT, _SBS, _EC, _CWLGA, _IF, _IFO, _ICT, _TCP, _ST, _ET, _PSB, _PIC, _IIC, _FC, _FM],\n [0, 0, 0, 0, 0, () => S3BucketSource$, 1, 0, 0, () => InputFormatOptions$, 0, () => TableCreationParameters$, 4, 4, 1, 1, 1, 0, 0]\n];\nvar ImportTableInput$ = [3, n0, _ITI,\n 0,\n [_SBS, _IF, _TCP, _CT, _IFO, _ICT],\n [() => S3BucketSource$, 0, () => TableCreationParameters$, [0, 4], () => InputFormatOptions$, 0], 3\n];\nvar ImportTableOutput$ = [3, n0, _ITO,\n 0,\n [_ITD],\n [() => ImportTableDescription$], 1\n];\nvar IncrementalExportSpecification$ = [3, n0, _IES,\n 0,\n [_EFT, _ETT, _EVT],\n [4, 4, 0]\n];\nvar InputFormatOptions$ = [3, n0, _IFO,\n 0,\n [_Cs],\n [() => CsvOptions$]\n];\nvar ItemCollectionMetrics$ = [3, n0, _ICM,\n 0,\n [_ICK, _SERGB],\n [() => ItemCollectionKeyAttributeMap, 64 | 1]\n];\nvar ItemResponse$ = [3, n0, _IR,\n 0,\n [_I],\n [() => AttributeMap]\n];\nvar KeysAndAttributes$ = [3, n0, _KAA,\n 0,\n [_Ke, _ATG, _CRo, _PE, _EAN],\n [() => KeyList, 64 | 0, 2, 0, 128 | 0], 1\n];\nvar KeySchemaElement$ = [3, n0, _KSE,\n 0,\n [_AN, _KT],\n [0, 0], 2\n];\nvar KinesisDataStreamDestination$ = [3, n0, _KDSDi,\n 0,\n [_SA, _DS, _DSD, _ACDTP],\n [0, 0, 0, 0]\n];\nvar KinesisStreamingDestinationInput$ = [3, n0, _KSDI,\n 0,\n [_TN, _SA, _EKSC],\n [0, 0, () => EnableKinesisStreamingConfiguration$], 2\n];\nvar KinesisStreamingDestinationOutput$ = [3, n0, _KSDO,\n 0,\n [_TN, _SA, _DS, _EKSC],\n [0, 0, 0, () => EnableKinesisStreamingConfiguration$]\n];\nvar ListBackupsInput$ = [3, n0, _LBI,\n 0,\n [_TN, _L, _TRLB, _TRUB, _ESBA, _BT],\n [0, 1, 4, 4, 0, 0]\n];\nvar ListBackupsOutput$ = [3, n0, _LBO,\n 0,\n [_BSac, _LEBA],\n [() => BackupSummaries, 0]\n];\nvar ListContributorInsightsInput$ = [3, n0, _LCII,\n 0,\n [_TN, _NT, _MR],\n [0, 0, 1]\n];\nvar ListContributorInsightsOutput$ = [3, n0, _LCIO,\n 0,\n [_CISon, _NT],\n [() => ContributorInsightsSummaries, 0]\n];\nvar ListExportsInput$ = [3, n0, _LEI,\n 0,\n [_TA, _MR, _NT],\n [0, 1, 0]\n];\nvar ListExportsOutput$ = [3, n0, _LEO,\n 0,\n [_ESxp, _NT],\n [() => ExportSummaries, 0]\n];\nvar ListGlobalTablesInput$ = [3, n0, _LGTI,\n 0,\n [_ESGTN, _L, _RN],\n [0, 1, 0]\n];\nvar ListGlobalTablesOutput$ = [3, n0, _LGTO,\n 0,\n [_GTl, _LEGTN],\n [() => GlobalTableList, 0]\n];\nvar ListImportsInput$ = [3, n0, _LII,\n 0,\n [_TA, _PS, _NT],\n [0, 1, 0]\n];\nvar ListImportsOutput$ = [3, n0, _LIO,\n 0,\n [_ISL, _NT],\n [() => ImportSummaryList, 0]\n];\nvar ListTablesInput$ = [3, n0, _LTI,\n 0,\n [_ESTN, _L],\n [0, 1]\n];\nvar ListTablesOutput$ = [3, n0, _LTO,\n 0,\n [_TNa, _LETN],\n [64 | 0, 0]\n];\nvar ListTagsOfResourceInput$ = [3, n0, _LTORI,\n 0,\n [_RA, _NT],\n [0, 0], 1\n];\nvar ListTagsOfResourceOutput$ = [3, n0, _LTORO,\n 0,\n [_Ta, _NT],\n [() => TagList, 0]\n];\nvar LocalSecondaryIndex$ = [3, n0, _LSIo,\n 0,\n [_IN, _KS, _Pr],\n [0, () => KeySchema, () => Projection$], 3\n];\nvar LocalSecondaryIndexDescription$ = [3, n0, _LSID,\n 0,\n [_IN, _KS, _Pr, _ISB, _IC, _IAn],\n [0, () => KeySchema, () => Projection$, 1, 1, 0]\n];\nvar LocalSecondaryIndexInfo$ = [3, n0, _LSII,\n 0,\n [_IN, _KS, _Pr],\n [0, () => KeySchema, () => Projection$]\n];\nvar OnDemandThroughput$ = [3, n0, _ODT,\n 0,\n [_MRRU, _MWRU],\n [1, 1]\n];\nvar OnDemandThroughputOverride$ = [3, n0, _ODTO,\n 0,\n [_MRRU],\n [1]\n];\nvar ParameterizedStatement$ = [3, n0, _PSa,\n 0,\n [_St, _P, _RVOCCF],\n [0, () => PreparedStatementParameters, 0], 1\n];\nvar PointInTimeRecoveryDescription$ = [3, n0, _PITRD,\n 0,\n [_PITRS, _RPID, _ERDT, _LRDT],\n [0, 1, 4, 4]\n];\nvar PointInTimeRecoverySpecification$ = [3, n0, _PITRSo,\n 0,\n [_PITRE, _RPID],\n [2, 1], 1\n];\nvar Projection$ = [3, n0, _Pr,\n 0,\n [_PTr, _NKA],\n [0, 64 | 0]\n];\nvar ProvisionedThroughput$ = [3, n0, _PT,\n 0,\n [_RCU, _WCU],\n [1, 1], 2\n];\nvar ProvisionedThroughputDescription$ = [3, n0, _PTD,\n 0,\n [_LIDT, _LDDT, _NODT, _RCU, _WCU],\n [4, 4, 1, 1, 1]\n];\nvar ProvisionedThroughputOverride$ = [3, n0, _PTO,\n 0,\n [_RCU],\n [1]\n];\nvar Put$ = [3, n0, _Pu,\n 0,\n [_I, _TN, _CE, _EAN, _EAV, _RVOCCF],\n [() => PutItemInputAttributeMap, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2\n];\nvar PutItemInput$ = [3, n0, _PII,\n 0,\n [_TN, _I, _Ex, _RV, _RCC, _RICM, _COo, _CE, _EAN, _EAV, _RVOCCF],\n [0, () => PutItemInputAttributeMap, () => ExpectedAttributeMap, 0, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2\n];\nvar PutItemOutput$ = [3, n0, _PIO,\n 0,\n [_At, _CC, _ICM],\n [() => AttributeMap, () => ConsumedCapacity$, () => ItemCollectionMetrics$]\n];\nvar PutRequest$ = [3, n0, _PR,\n 0,\n [_I],\n [() => PutItemInputAttributeMap], 1\n];\nvar PutResourcePolicyInput$ = [3, n0, _PRPI,\n 0,\n [_RA, _Po, _ERI, _CRSRA],\n [0, 0, 0, [2, { [_hH]: _xacrsra }]], 2\n];\nvar PutResourcePolicyOutput$ = [3, n0, _PRPO,\n 0,\n [_RIe],\n [0]\n];\nvar QueryInput$ = [3, n0, _QI,\n 0,\n [_TN, _IN, _Se, _ATG, _L, _CRo, _KC, _QF, _COo, _SIF, _ESK, _RCC, _PE, _FEi, _KCE, _EAN, _EAV],\n [0, 0, 0, 64 | 0, 1, 2, () => KeyConditions, () => FilterConditionMap, 0, 2, () => Key, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap], 1\n];\nvar QueryOutput$ = [3, n0, _QO,\n 0,\n [_It, _Cou, _SC, _LEK, _CC],\n [() => ItemList, 1, 1, () => Key, () => ConsumedCapacity$]\n];\nvar Replica$ = [3, n0, _Re,\n 0,\n [_RN],\n [0]\n];\nvar ReplicaAutoScalingDescription$ = [3, n0, _RASD,\n 0,\n [_RN, _GSI, _RPRCASS, _RPWCASS, _RSe],\n [0, () => ReplicaGlobalSecondaryIndexAutoScalingDescriptionList, () => AutoScalingSettingsDescription$, () => AutoScalingSettingsDescription$, 0]\n];\nvar ReplicaAutoScalingUpdate$ = [3, n0, _RASU,\n 0,\n [_RN, _RGSIU, _RPRCASU],\n [0, () => ReplicaGlobalSecondaryIndexAutoScalingUpdateList, () => AutoScalingSettingsUpdate$], 1\n];\nvar ReplicaDescription$ = [3, n0, _RD,\n 0,\n [_RN, _RSe, _RAe, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS, _GTSRM],\n [0, 0, 0, 0, 0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => TableWarmThroughputDescription$, () => ReplicaGlobalSecondaryIndexDescriptionList, 4, () => TableClassSummary$, 0]\n];\nvar ReplicaGlobalSecondaryIndex$ = [3, n0, _RGSI,\n 0,\n [_IN, _PTO, _ODTO],\n [0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$], 1\n];\nvar ReplicaGlobalSecondaryIndexAutoScalingDescription$ = [3, n0, _RGSIASD,\n 0,\n [_IN, _IS, _PRCASS, _PWCASS],\n [0, 0, () => AutoScalingSettingsDescription$, () => AutoScalingSettingsDescription$]\n];\nvar ReplicaGlobalSecondaryIndexAutoScalingUpdate$ = [3, n0, _RGSIASU,\n 0,\n [_IN, _PRCASU],\n [0, () => AutoScalingSettingsUpdate$]\n];\nvar ReplicaGlobalSecondaryIndexDescription$ = [3, n0, _RGSID,\n 0,\n [_IN, _PTO, _ODTO, _WT],\n [0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => GlobalSecondaryIndexWarmThroughputDescription$]\n];\nvar ReplicaGlobalSecondaryIndexSettingsDescription$ = [3, n0, _RGSISD,\n 0,\n [_IN, _IS, _PRCU, _PRCASS, _PWCU, _PWCASS],\n [0, 0, 1, () => AutoScalingSettingsDescription$, 1, () => AutoScalingSettingsDescription$], 1\n];\nvar ReplicaGlobalSecondaryIndexSettingsUpdate$ = [3, n0, _RGSISU,\n 0,\n [_IN, _PRCU, _PRCASSU],\n [0, 1, () => AutoScalingSettingsUpdate$], 1\n];\nvar ReplicaSettingsDescription$ = [3, n0, _RSDe,\n 0,\n [_RN, _RSe, _RBMS, _RPRCU, _RPRCASS, _RPWCU, _RPWCASS, _RGSIS, _RTCS],\n [0, 0, () => BillingModeSummary$, 1, () => AutoScalingSettingsDescription$, 1, () => AutoScalingSettingsDescription$, () => ReplicaGlobalSecondaryIndexSettingsDescriptionList, () => TableClassSummary$], 1\n];\nvar ReplicaSettingsUpdate$ = [3, n0, _RSU,\n 0,\n [_RN, _RPRCU, _RPRCASSU, _RGSISU, _RTC],\n [0, 1, () => AutoScalingSettingsUpdate$, () => ReplicaGlobalSecondaryIndexSettingsUpdateList, 0], 1\n];\nvar ReplicationGroupUpdate$ = [3, n0, _RGU,\n 0,\n [_Cr, _U, _Del, _Di],\n [() => CreateReplicationGroupMemberAction$, () => UpdateReplicationGroupMemberAction$, () => DeleteReplicationGroupMemberAction$, () => DisassociateReplicationGroupMemberAction$]\n];\nvar ReplicaUpdate$ = [3, n0, _RU,\n 0,\n [_Cr, _Del],\n [() => CreateReplicaAction$, () => DeleteReplicaAction$]\n];\nvar RestoreSummary$ = [3, n0, _RSes,\n 0,\n [_RDT, _RIP, _SBA, _STA],\n [4, 2, 0, 0], 2\n];\nvar RestoreTableFromBackupInput$ = [3, n0, _RTFBI,\n 0,\n [_TTN, _BA, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO, _VIO],\n [0, 0, 0, () => GlobalSecondaryIndexList, () => LocalSecondaryIndexList, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => SSESpecification$, () => VectorIndexList], 2\n];\nvar RestoreTableFromBackupOutput$ = [3, n0, _RTFBO,\n 0,\n [_TD],\n [() => TableDescription$]\n];\nvar RestoreTableToPointInTimeInput$ = [3, n0, _RTTPITI,\n 0,\n [_TTN, _STA, _STN, _ULRT, _RDT, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO, _VIO],\n [0, 0, 0, 2, 4, 0, () => GlobalSecondaryIndexList, () => LocalSecondaryIndexList, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => SSESpecification$, () => VectorIndexList], 1\n];\nvar RestoreTableToPointInTimeOutput$ = [3, n0, _RTTPITO,\n 0,\n [_TD],\n [() => TableDescription$]\n];\nvar S3BucketSource$ = [3, n0, _SBS,\n 0,\n [_SB, _SBO, _SKP],\n [0, 0, 0], 1\n];\nvar ScanInput$ = [3, n0, _SI,\n 0,\n [_TN, _IN, _ATG, _L, _Se, _SF, _COo, _ESK, _RCC, _TSo, _Seg, _PE, _FEi, _EAN, _EAV, _CRo],\n [0, 0, 64 | 0, 1, 0, () => FilterConditionMap, 0, () => Key, 0, 1, 1, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 2], 1\n];\nvar ScanOutput$ = [3, n0, _SO,\n 0,\n [_It, _Cou, _SC, _LEK, _CC],\n [() => ItemList, 1, 1, () => Key, () => ConsumedCapacity$]\n];\nvar SearchResultItem$ = [3, n0, _SRI,\n 0,\n [_I, _Sc],\n [() => AttributeMap, 1]\n];\nvar SearchSchemaElement$ = [3, n0, _SSE,\n 0,\n [_AN, _SSET],\n [0, 0], 2\n];\nvar SearchVectorsInput$ = [3, n0, _SVI,\n 0,\n [_TN, _IN, _SV, _TK, _RCC, _EAN, _EAV, _PE, _SCE],\n [0, 0, () => SearchVectorList, 1, 0, 128 | 0, () => ExpressionAttributeValueMap, 0, 0], 4\n];\nvar SearchVectorsOutput$ = [3, n0, _SVO,\n 0,\n [_CC, _SR],\n [() => VectorCapacity$, () => SearchResultList]\n];\nvar SourceTableDetails$ = [3, n0, _STD,\n 0,\n [_TN, _TI, _KS, _TCDT, _PT, _TA, _TSB, _ODT, _IC, _BM],\n [0, 0, () => KeySchema, 4, () => ProvisionedThroughput$, 0, 1, () => OnDemandThroughput$, 1, 0], 5\n];\nvar SourceTableFeatureDetails$ = [3, n0, _STFD,\n 0,\n [_LSI, _GSI, _SD, _TTLD, _SSED, _VI],\n [() => LocalSecondaryIndexes, () => GlobalSecondaryIndexes, () => StreamSpecification$, () => TimeToLiveDescription$, () => SSEDescription$, () => VectorIndexes]\n];\nvar SSEDescription$ = [3, n0, _SSED,\n 0,\n [_Sta, _SSETy, _KMSMKA, _IEDT],\n [0, 0, 0, 4]\n];\nvar SSESpecification$ = [3, n0, _SSES,\n 0,\n [_Ena, _SSETy, _KMSMKI],\n [2, 0, 0]\n];\nvar StreamSpecification$ = [3, n0, _SS,\n 0,\n [_SE, _SVT],\n [2, 0], 1\n];\nvar TableAutoScalingDescription$ = [3, n0, _TASD,\n 0,\n [_TN, _TSa, _Rep],\n [0, 0, () => ReplicaAutoScalingDescriptionList]\n];\nvar TableClassSummary$ = [3, n0, _TCS,\n 0,\n [_TC, _LUDT],\n [0, 4]\n];\nvar TableCreationParameters$ = [3, n0, _TCP,\n 0,\n [_TN, _ADt, _KS, _BM, _PT, _ODT, _SSES, _GSI, _VI],\n [0, () => AttributeDefinitions, () => KeySchema, 0, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => SSESpecification$, () => GlobalSecondaryIndexList, () => VectorIndexList], 3\n];\nvar TableDescription$ = [3, n0, _TD,\n 0,\n [_ADt, _TN, _KS, _TSa, _CDT, _PT, _TSB, _IC, _TA, _TI, _BMS, _LSI, _GSI, _SS, _LSL, _LSA, _GTV, _Rep, _GTW, _GTSRM, _RSes, _SSED, _AS, _TCS, _DPE, _DPEi, _ODT, _WT, _MRC, _VI],\n [() => AttributeDefinitions, 0, () => KeySchema, 0, 4, () => ProvisionedThroughputDescription$, 1, 1, 0, 0, () => BillingModeSummary$, () => LocalSecondaryIndexDescriptionList, () => GlobalSecondaryIndexDescriptionList, () => StreamSpecification$, 0, 0, 0, () => ReplicaDescriptionList, () => GlobalTableWitnessDescriptionList, 0, () => RestoreSummary$, () => SSEDescription$, () => ArchivalSummary$, () => TableClassSummary$, 2, 2, () => OnDemandThroughput$, () => TableWarmThroughputDescription$, 0, () => VectorIndexDescriptionList]\n];\nvar TableWarmThroughputDescription$ = [3, n0, _TWTD,\n 0,\n [_RUPS, _WUPS, _Sta],\n [1, 1, 0]\n];\nvar Tag$ = [3, n0, _Tag,\n 0,\n [_K, _V],\n [0, 0], 2\n];\nvar TagResourceInput$ = [3, n0, _TRI,\n 0,\n [_RA, _Ta],\n [0, () => TagList], 2\n];\nvar ThrottlingReason$ = [3, n0, _TRh,\n 0,\n [_r, _re],\n [0, 0]\n];\nvar TimeToLiveDescription$ = [3, n0, _TTLD,\n 0,\n [_TTLS, _AN],\n [0, 0]\n];\nvar TimeToLiveSpecification$ = [3, n0, _TTLSi,\n 0,\n [_Ena, _AN],\n [2, 0], 2\n];\nvar TransactGetItem$ = [3, n0, _TGI,\n 0,\n [_G],\n [() => Get$], 1\n];\nvar TransactGetItemsInput$ = [3, n0, _TGII,\n 0,\n [_TIr, _RCC],\n [() => TransactGetItemList, 0], 1\n];\nvar TransactGetItemsOutput$ = [3, n0, _TGIO,\n 0,\n [_CC, _R],\n [() => ConsumedCapacityMultiple, () => ItemResponseList]\n];\nvar TransactWriteItem$ = [3, n0, _TWI,\n 0,\n [_CCo, _Pu, _Del, _U],\n [() => ConditionCheck$, () => Put$, () => Delete$, () => Update$]\n];\nvar TransactWriteItemsInput$ = [3, n0, _TWII,\n 0,\n [_TIr, _RCC, _RICM, _CRT],\n [() => TransactWriteItemList, 0, 0, [0, 4]], 1\n];\nvar TransactWriteItemsOutput$ = [3, n0, _TWIO,\n 0,\n [_CC, _ICM],\n [() => ConsumedCapacityMultiple, () => ItemCollectionMetricsPerTable]\n];\nvar UntagResourceInput$ = [3, n0, _URI,\n 0,\n [_RA, _TKa],\n [0, 64 | 0], 2\n];\nvar Update$ = [3, n0, _U,\n 0,\n [_K, _UE, _TN, _CE, _EAN, _EAV, _RVOCCF],\n [() => Key, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 3\n];\nvar UpdateContinuousBackupsInput$ = [3, n0, _UCBI,\n 0,\n [_TN, _PITRSo],\n [0, () => PointInTimeRecoverySpecification$], 2\n];\nvar UpdateContinuousBackupsOutput$ = [3, n0, _UCBO,\n 0,\n [_CBD],\n [() => ContinuousBackupsDescription$]\n];\nvar UpdateContributorInsightsInput$ = [3, n0, _UCII,\n 0,\n [_TN, _CIA, _IN, _CIM],\n [0, 0, 0, 0], 2\n];\nvar UpdateContributorInsightsOutput$ = [3, n0, _UCIO,\n 0,\n [_TN, _IN, _CISo, _CIM],\n [0, 0, 0, 0]\n];\nvar UpdateGlobalSecondaryIndexAction$ = [3, n0, _UGSIA,\n 0,\n [_IN, _PT, _ODT, _WT],\n [0, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => WarmThroughput$], 1\n];\nvar UpdateGlobalTableInput$ = [3, n0, _UGTI,\n 0,\n [_GTN, _RUe],\n [0, () => ReplicaUpdateList], 2\n];\nvar UpdateGlobalTableOutput$ = [3, n0, _UGTO,\n 0,\n [_GTD],\n [() => GlobalTableDescription$]\n];\nvar UpdateGlobalTableSettingsInput$ = [3, n0, _UGTSI,\n 0,\n [_GTN, _GTBM, _GTPWCU, _GTPWCASSU, _GTGSISU, _RSU],\n [0, 0, 1, () => AutoScalingSettingsUpdate$, () => GlobalTableGlobalSecondaryIndexSettingsUpdateList, () => ReplicaSettingsUpdateList], 1\n];\nvar UpdateGlobalTableSettingsOutput$ = [3, n0, _UGTSO,\n 0,\n [_GTN, _RS],\n [0, () => ReplicaSettingsDescriptionList]\n];\nvar UpdateItemInput$ = [3, n0, _UII,\n 0,\n [_TN, _K, _AU, _Ex, _COo, _RV, _RCC, _RICM, _UE, _CE, _EAN, _EAV, _RVOCCF],\n [0, () => Key, () => AttributeUpdates, () => ExpectedAttributeMap, 0, 0, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2\n];\nvar UpdateItemOutput$ = [3, n0, _UIO,\n 0,\n [_At, _CC, _ICM],\n [() => AttributeMap, () => ConsumedCapacity$, () => ItemCollectionMetrics$]\n];\nvar UpdateKinesisStreamingConfiguration$ = [3, n0, _UKSC,\n 0,\n [_ACDTP],\n [0]\n];\nvar UpdateKinesisStreamingDestinationInput$ = [3, n0, _UKSDI,\n 0,\n [_TN, _SA, _UKSC],\n [0, 0, () => UpdateKinesisStreamingConfiguration$], 2\n];\nvar UpdateKinesisStreamingDestinationOutput$ = [3, n0, _UKSDO,\n 0,\n [_TN, _SA, _DS, _UKSC],\n [0, 0, 0, () => UpdateKinesisStreamingConfiguration$]\n];\nvar UpdateReplicationGroupMemberAction$ = [3, n0, _URGMA,\n 0,\n [_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO],\n [0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => ReplicaGlobalSecondaryIndexList, 0], 1\n];\nvar UpdateTableInput$ = [3, n0, _UTI,\n 0,\n [_TN, _ADt, _BM, _PT, _GSIUl, _SS, _SSES, _RUe, _TC, _DPE, _MRC, _GTWU, _ODT, _WT, _GTSRM, _DPEi, _VIU],\n [0, () => AttributeDefinitions, 0, () => ProvisionedThroughput$, () => GlobalSecondaryIndexUpdateList, () => StreamSpecification$, () => SSESpecification$, () => ReplicationGroupUpdateList, 0, 2, 0, () => GlobalTableWitnessGroupUpdateList, () => OnDemandThroughput$, () => WarmThroughput$, 0, 2, () => VectorIndexUpdateList], 1\n];\nvar UpdateTableOutput$ = [3, n0, _UTO,\n 0,\n [_TD],\n [() => TableDescription$]\n];\nvar UpdateTableReplicaAutoScalingInput$ = [3, n0, _UTRASI,\n 0,\n [_TN, _GSIUl, _PWCASU, _RUe],\n [0, () => GlobalSecondaryIndexAutoScalingUpdateList, () => AutoScalingSettingsUpdate$, () => ReplicaAutoScalingUpdateList], 1\n];\nvar UpdateTableReplicaAutoScalingOutput$ = [3, n0, _UTRASO,\n 0,\n [_TASD],\n [() => TableAutoScalingDescription$]\n];\nvar UpdateTimeToLiveInput$ = [3, n0, _UTTLI,\n 0,\n [_TN, _TTLSi],\n [0, () => TimeToLiveSpecification$], 2\n];\nvar UpdateTimeToLiveOutput$ = [3, n0, _UTTLO,\n 0,\n [_TTLSi],\n [() => TimeToLiveSpecification$]\n];\nvar VectorAttributeDefinition$ = [3, n0, _VAD,\n 0,\n [_AN],\n [0], 1\n];\nvar VectorCapacity$ = [3, n0, _VC,\n 0,\n [_VSRB, _VWRB],\n [1, 1]\n];\nvar VectorIndex$ = [3, n0, _VIe,\n 0,\n [_IN, _VA, _Pr, _D, _DF, _SSe],\n [0, () => VectorAttributeDefinition$, () => Projection$, 1, 0, () => SearchSchema], 5\n];\nvar VectorIndexDescription$ = [3, n0, _VID,\n 0,\n [_IN, _SSe, _Pr, _VA, _D, _DF, _IS, _B, _ISB, _IC, _IAn],\n [0, () => SearchSchema, () => Projection$, () => VectorAttributeDefinition$, 1, 0, 0, 2, 1, 1, 0]\n];\nvar VectorIndexInfo$ = [3, n0, _VII,\n 0,\n [_IN, _VA, _SSe, _Pr, _D, _DF],\n [0, () => VectorAttributeDefinition$, () => SearchSchema, () => Projection$, 1, 0]\n];\nvar VectorIndexUpdate$ = [3, n0, _VIUe,\n 0,\n [_Cr, _Del],\n [() => CreateVectorIndexAction$, () => DeleteVectorIndexAction$]\n];\nvar WarmThroughput$ = [3, n0, _WT,\n 0,\n [_RUPS, _WUPS],\n [1, 1]\n];\nvar WriteRequest$ = [3, n0, _WR,\n 0,\n [_PR, _DR],\n [() => PutRequest$, () => DeleteRequest$]\n];\nvar __Unit = \"unit\";\nvar AttributeDefinitions = [1, n0, _ADt,\n 0, () => AttributeDefinition$\n];\nvar AttributeValueList = [1, n0, _AVL,\n 0, () => AttributeValue$\n];\nvar AutoScalingPolicyDescriptionList = [1, n0, _ASPDL,\n 0, () => AutoScalingPolicyDescription$\n];\nvar BackupSummaries = [1, n0, _BSac,\n 0, () => BackupSummary$\n];\nvar CancellationReasonList = [1, n0, _CRL,\n 0, () => CancellationReason$\n];\nvar ConsumedCapacityMultiple = [1, n0, _CCM,\n 0, () => ConsumedCapacity$\n];\nvar ContributorInsightsSummaries = [1, n0, _CISon,\n 0, () => ContributorInsightsSummary$\n];\nvar Endpoints = [1, n0, _En,\n 0, () => Endpoint$\n];\nvar ExportSummaries = [1, n0, _ESxp,\n 0, () => ExportSummary$\n];\nvar GlobalSecondaryIndexAutoScalingUpdateList = [1, n0, _GSIASUL,\n 0, () => GlobalSecondaryIndexAutoScalingUpdate$\n];\nvar GlobalSecondaryIndexDescriptionList = [1, n0, _GSIDL,\n 0, () => GlobalSecondaryIndexDescription$\n];\nvar GlobalSecondaryIndexes = [1, n0, _GSI,\n 0, () => GlobalSecondaryIndexInfo$\n];\nvar GlobalSecondaryIndexList = [1, n0, _GSIL,\n 0, () => GlobalSecondaryIndex$\n];\nvar GlobalSecondaryIndexUpdateList = [1, n0, _GSIUL,\n 0, () => GlobalSecondaryIndexUpdate$\n];\nvar GlobalTableGlobalSecondaryIndexSettingsUpdateList = [1, n0, _GTGSISUL,\n 0, () => GlobalTableGlobalSecondaryIndexSettingsUpdate$\n];\nvar GlobalTableList = [1, n0, _GTL,\n 0, () => GlobalTable$\n];\nvar GlobalTableWitnessDescriptionList = [1, n0, _GTWDL,\n 0, () => GlobalTableWitnessDescription$\n];\nvar GlobalTableWitnessGroupUpdateList = [1, n0, _GTWGUL,\n 0, () => GlobalTableWitnessGroupUpdate$\n];\nvar ImportSummaryList = [1, n0, _ISL,\n 0, () => ImportSummary$\n];\nvar ItemCollectionMetricsMultiple = [1, n0, _ICMM,\n 0, () => ItemCollectionMetrics$\n];\nvar ItemList = [1, n0, _IL,\n 0, () => AttributeMap\n];\nvar ItemResponseList = [1, n0, _IRL,\n 0, () => ItemResponse$\n];\nvar KeyList = [1, n0, _KL,\n 0, () => Key\n];\nvar KeySchema = [1, n0, _KS,\n 0, () => KeySchemaElement$\n];\nvar KinesisDataStreamDestinations = [1, n0, _KDSD,\n 0, () => KinesisDataStreamDestination$\n];\nvar ListAttributeValue = [1, n0, _LAV,\n 0, () => AttributeValue$\n];\nvar LocalSecondaryIndexDescriptionList = [1, n0, _LSIDL,\n 0, () => LocalSecondaryIndexDescription$\n];\nvar LocalSecondaryIndexes = [1, n0, _LSI,\n 0, () => LocalSecondaryIndexInfo$\n];\nvar LocalSecondaryIndexList = [1, n0, _LSIL,\n 0, () => LocalSecondaryIndex$\n];\nvar ParameterizedStatements = [1, n0, _PSar,\n 0, () => ParameterizedStatement$\n];\nvar PartiQLBatchRequest = [1, n0, _PQLBR,\n 0, () => BatchStatementRequest$\n];\nvar PartiQLBatchResponse = [1, n0, _PQLBRa,\n 0, () => BatchStatementResponse$\n];\nvar PreparedStatementParameters = [1, n0, _PSP,\n 0, () => AttributeValue$\n];\nvar ReplicaAutoScalingDescriptionList = [1, n0, _RASDL,\n 0, () => ReplicaAutoScalingDescription$\n];\nvar ReplicaAutoScalingUpdateList = [1, n0, _RASUL,\n 0, () => ReplicaAutoScalingUpdate$\n];\nvar ReplicaDescriptionList = [1, n0, _RDL,\n 0, () => ReplicaDescription$\n];\nvar ReplicaGlobalSecondaryIndexAutoScalingDescriptionList = [1, n0, _RGSIASDL,\n 0, () => ReplicaGlobalSecondaryIndexAutoScalingDescription$\n];\nvar ReplicaGlobalSecondaryIndexAutoScalingUpdateList = [1, n0, _RGSIASUL,\n 0, () => ReplicaGlobalSecondaryIndexAutoScalingUpdate$\n];\nvar ReplicaGlobalSecondaryIndexDescriptionList = [1, n0, _RGSIDL,\n 0, () => ReplicaGlobalSecondaryIndexDescription$\n];\nvar ReplicaGlobalSecondaryIndexList = [1, n0, _RGSIL,\n 0, () => ReplicaGlobalSecondaryIndex$\n];\nvar ReplicaGlobalSecondaryIndexSettingsDescriptionList = [1, n0, _RGSISDL,\n 0, () => ReplicaGlobalSecondaryIndexSettingsDescription$\n];\nvar ReplicaGlobalSecondaryIndexSettingsUpdateList = [1, n0, _RGSISUL,\n 0, () => ReplicaGlobalSecondaryIndexSettingsUpdate$\n];\nvar ReplicaList = [1, n0, _RL,\n 0, () => Replica$\n];\nvar ReplicaSettingsDescriptionList = [1, n0, _RSDL,\n 0, () => ReplicaSettingsDescription$\n];\nvar ReplicaSettingsUpdateList = [1, n0, _RSUL,\n 0, () => ReplicaSettingsUpdate$\n];\nvar ReplicationGroupUpdateList = [1, n0, _RGUL,\n 0, () => ReplicationGroupUpdate$\n];\nvar ReplicaUpdateList = [1, n0, _RUL,\n 0, () => ReplicaUpdate$\n];\nvar SearchResultList = [1, n0, _SRL,\n 0, () => SearchResultItem$\n];\nvar SearchSchema = [1, n0, _SSe,\n 0, () => SearchSchemaElement$\n];\nvar SearchVectorList = [1, n0, _SVL,\n 0, () => AttributeValue$\n];\nvar TagList = [1, n0, _TL,\n 0, () => Tag$\n];\nvar ThrottlingReasonList = [1, n0, _TRL,\n 0, () => ThrottlingReason$\n];\nvar TransactGetItemList = [1, n0, _TGIL,\n 0, () => TransactGetItem$\n];\nvar TransactWriteItemList = [1, n0, _TWIL,\n 0, () => TransactWriteItem$\n];\nvar VectorIndexDescriptionList = [1, n0, _VIDL,\n 0, () => VectorIndexDescription$\n];\nvar VectorIndexes = [1, n0, _VI,\n 0, () => VectorIndexInfo$\n];\nvar VectorIndexList = [1, n0, _VIL,\n 0, () => VectorIndex$\n];\nvar VectorIndexUpdateList = [1, n0, _VIUL,\n 0, () => VectorIndexUpdate$\n];\nvar WriteRequests = [1, n0, _WRr,\n 0, () => WriteRequest$\n];\nvar AttributeMap = [2, n0, _AM,\n 0, 0, () => AttributeValue$\n];\nvar AttributeUpdates = [2, n0, _AU,\n 0, 0, () => AttributeValueUpdate$\n];\nvar BatchGetRequestMap = [2, n0, _BGRMa,\n 0, 0, () => KeysAndAttributes$\n];\nvar BatchGetResponseMap = [2, n0, _BGRM,\n 0, 0, () => ItemList\n];\nvar BatchWriteItemRequestMap = [2, n0, _BWIRM,\n 0, 0, () => WriteRequests\n];\nvar ExpectedAttributeMap = [2, n0, _EAM,\n 0, 0, () => ExpectedAttributeValue$\n];\nvar ExpressionAttributeValueMap = [2, n0, _EAVM,\n 0, 0, () => AttributeValue$\n];\nvar FilterConditionMap = [2, n0, _FCM,\n 0, 0, () => Condition$\n];\nvar ItemCollectionKeyAttributeMap = [2, n0, _ICKAM,\n 0, 0, () => AttributeValue$\n];\nvar ItemCollectionMetricsPerTable = [2, n0, _ICMPT,\n 0, 0, () => ItemCollectionMetricsMultiple\n];\nvar Key = [2, n0, _K,\n 0, 0, () => AttributeValue$\n];\nvar KeyConditions = [2, n0, _KC,\n 0, 0, () => Condition$\n];\nvar MapAttributeValue = [2, n0, _MAV,\n 0, 0, () => AttributeValue$\n];\nvar PutItemInputAttributeMap = [2, n0, _PIIAM,\n 0, 0, () => AttributeValue$\n];\nvar SecondaryIndexesCapacityMap = [2, n0, _SICM,\n 0, 0, () => Capacity$\n];\nvar VectorIndexesCapacityMap = [2, n0, _VICM,\n 0, 0, () => VectorCapacity$\n];\nvar AttributeValue$ = [4, n0, _AV,\n 0,\n [_S_, _N, _B_, _SS_, _NS, _BS_, _M_, _L_, _NULL, _BOOL],\n [0, 0, 21, 64 | 0, 64 | 0, 64 | 21, () => MapAttributeValue, () => ListAttributeValue, 2, 2]\n];\nvar BatchExecuteStatement$ = [9, n0, _BES,\n 0, () => BatchExecuteStatementInput$, () => BatchExecuteStatementOutput$\n];\nvar BatchGetItem$ = [9, n0, _BGI,\n 0, () => BatchGetItemInput$, () => BatchGetItemOutput$\n];\nvar BatchWriteItem$ = [9, n0, _BWI,\n 0, () => BatchWriteItemInput$, () => BatchWriteItemOutput$\n];\nvar CreateBackup$ = [9, n0, _CB,\n 0, () => CreateBackupInput$, () => CreateBackupOutput$\n];\nvar CreateGlobalTable$ = [9, n0, _CGT,\n 0, () => CreateGlobalTableInput$, () => CreateGlobalTableOutput$\n];\nvar CreateTable$ = [9, n0, _CTr,\n 0, () => CreateTableInput$, () => CreateTableOutput$\n];\nvar DeleteBackup$ = [9, n0, _DB,\n 0, () => DeleteBackupInput$, () => DeleteBackupOutput$\n];\nvar DeleteItem$ = [9, n0, _DI,\n 0, () => DeleteItemInput$, () => DeleteItemOutput$\n];\nvar DeleteResourcePolicy$ = [9, n0, _DRP,\n 0, () => DeleteResourcePolicyInput$, () => DeleteResourcePolicyOutput$\n];\nvar DeleteTable$ = [9, n0, _DT,\n 0, () => DeleteTableInput$, () => DeleteTableOutput$\n];\nvar DescribeBackup$ = [9, n0, _DBe,\n 0, () => DescribeBackupInput$, () => DescribeBackupOutput$\n];\nvar DescribeContinuousBackups$ = [9, n0, _DCB,\n 0, () => DescribeContinuousBackupsInput$, () => DescribeContinuousBackupsOutput$\n];\nvar DescribeContributorInsights$ = [9, n0, _DCI,\n 0, () => DescribeContributorInsightsInput$, () => DescribeContributorInsightsOutput$\n];\nvar DescribeEndpoints$ = [9, n0, _DE,\n 0, () => DescribeEndpointsRequest$, () => DescribeEndpointsResponse$\n];\nvar DescribeExport$ = [9, n0, _DEe,\n 0, () => DescribeExportInput$, () => DescribeExportOutput$\n];\nvar DescribeGlobalTable$ = [9, n0, _DGT,\n 0, () => DescribeGlobalTableInput$, () => DescribeGlobalTableOutput$\n];\nvar DescribeGlobalTableSettings$ = [9, n0, _DGTS,\n 0, () => DescribeGlobalTableSettingsInput$, () => DescribeGlobalTableSettingsOutput$\n];\nvar DescribeImport$ = [9, n0, _DIe,\n 0, () => DescribeImportInput$, () => DescribeImportOutput$\n];\nvar DescribeKinesisStreamingDestination$ = [9, n0, _DKSD,\n 0, () => DescribeKinesisStreamingDestinationInput$, () => DescribeKinesisStreamingDestinationOutput$\n];\nvar DescribeLimits$ = [9, n0, _DL,\n 0, () => DescribeLimitsInput$, () => DescribeLimitsOutput$\n];\nvar DescribeTable$ = [9, n0, _DTe,\n 0, () => DescribeTableInput$, () => DescribeTableOutput$\n];\nvar DescribeTableReplicaAutoScaling$ = [9, n0, _DTRAS,\n 0, () => DescribeTableReplicaAutoScalingInput$, () => DescribeTableReplicaAutoScalingOutput$\n];\nvar DescribeTimeToLive$ = [9, n0, _DTTL,\n 0, () => DescribeTimeToLiveInput$, () => DescribeTimeToLiveOutput$\n];\nvar DisableKinesisStreamingDestination$ = [9, n0, _DKSDi,\n 0, () => KinesisStreamingDestinationInput$, () => KinesisStreamingDestinationOutput$\n];\nvar EnableKinesisStreamingDestination$ = [9, n0, _EKSD,\n 0, () => KinesisStreamingDestinationInput$, () => KinesisStreamingDestinationOutput$\n];\nvar ExecuteStatement$ = [9, n0, _ESxe,\n 0, () => ExecuteStatementInput$, () => ExecuteStatementOutput$\n];\nvar ExecuteTransaction$ = [9, n0, _ETxe,\n 0, () => ExecuteTransactionInput$, () => ExecuteTransactionOutput$\n];\nvar ExportTableToPointInTime$ = [9, n0, _ETTPIT,\n 0, () => ExportTableToPointInTimeInput$, () => ExportTableToPointInTimeOutput$\n];\nvar GetItem$ = [9, n0, _GI,\n 0, () => GetItemInput$, () => GetItemOutput$\n];\nvar GetResourcePolicy$ = [9, n0, _GRP,\n 0, () => GetResourcePolicyInput$, () => GetResourcePolicyOutput$\n];\nvar ImportTable$ = [9, n0, _IT,\n 0, () => ImportTableInput$, () => ImportTableOutput$\n];\nvar ListBackups$ = [9, n0, _LB,\n 0, () => ListBackupsInput$, () => ListBackupsOutput$\n];\nvar ListContributorInsights$ = [9, n0, _LCI,\n 0, () => ListContributorInsightsInput$, () => ListContributorInsightsOutput$\n];\nvar ListExports$ = [9, n0, _LE,\n 0, () => ListExportsInput$, () => ListExportsOutput$\n];\nvar ListGlobalTables$ = [9, n0, _LGT,\n 0, () => ListGlobalTablesInput$, () => ListGlobalTablesOutput$\n];\nvar ListImports$ = [9, n0, _LI,\n 0, () => ListImportsInput$, () => ListImportsOutput$\n];\nvar ListTables$ = [9, n0, _LT,\n 0, () => ListTablesInput$, () => ListTablesOutput$\n];\nvar ListTagsOfResource$ = [9, n0, _LTOR,\n 0, () => ListTagsOfResourceInput$, () => ListTagsOfResourceOutput$\n];\nvar PutItem$ = [9, n0, _PI,\n 0, () => PutItemInput$, () => PutItemOutput$\n];\nvar PutResourcePolicy$ = [9, n0, _PRP,\n 0, () => PutResourcePolicyInput$, () => PutResourcePolicyOutput$\n];\nvar Query$ = [9, n0, _Q,\n 0, () => QueryInput$, () => QueryOutput$\n];\nvar RestoreTableFromBackup$ = [9, n0, _RTFB,\n 0, () => RestoreTableFromBackupInput$, () => RestoreTableFromBackupOutput$\n];\nvar RestoreTableToPointInTime$ = [9, n0, _RTTPIT,\n 0, () => RestoreTableToPointInTimeInput$, () => RestoreTableToPointInTimeOutput$\n];\nvar Scan$ = [9, n0, _Sca,\n 0, () => ScanInput$, () => ScanOutput$\n];\nvar SearchVectors$ = [9, n0, _SVe,\n 0, () => SearchVectorsInput$, () => SearchVectorsOutput$\n];\nvar TagResource$ = [9, n0, _TRa,\n 0, () => TagResourceInput$, () => __Unit\n];\nvar TransactGetItems$ = [9, n0, _TGIr,\n 0, () => TransactGetItemsInput$, () => TransactGetItemsOutput$\n];\nvar TransactWriteItems$ = [9, n0, _TWIr,\n 0, () => TransactWriteItemsInput$, () => TransactWriteItemsOutput$\n];\nvar UntagResource$ = [9, n0, _UR,\n 0, () => UntagResourceInput$, () => __Unit\n];\nvar UpdateContinuousBackups$ = [9, n0, _UCB,\n 0, () => UpdateContinuousBackupsInput$, () => UpdateContinuousBackupsOutput$\n];\nvar UpdateContributorInsights$ = [9, n0, _UCI,\n 0, () => UpdateContributorInsightsInput$, () => UpdateContributorInsightsOutput$\n];\nvar UpdateGlobalTable$ = [9, n0, _UGT,\n 0, () => UpdateGlobalTableInput$, () => UpdateGlobalTableOutput$\n];\nvar UpdateGlobalTableSettings$ = [9, n0, _UGTS,\n 0, () => UpdateGlobalTableSettingsInput$, () => UpdateGlobalTableSettingsOutput$\n];\nvar UpdateItem$ = [9, n0, _UIp,\n 0, () => UpdateItemInput$, () => UpdateItemOutput$\n];\nvar UpdateKinesisStreamingDestination$ = [9, n0, _UKSD,\n 0, () => UpdateKinesisStreamingDestinationInput$, () => UpdateKinesisStreamingDestinationOutput$\n];\nvar UpdateTable$ = [9, n0, _UT,\n 0, () => UpdateTableInput$, () => UpdateTableOutput$\n];\nvar UpdateTableReplicaAutoScaling$ = [9, n0, _UTRAS,\n 0, () => UpdateTableReplicaAutoScalingInput$, () => UpdateTableReplicaAutoScalingOutput$\n];\nvar UpdateTimeToLive$ = [9, n0, _UTTL,\n 0, () => UpdateTimeToLiveInput$, () => UpdateTimeToLiveOutput$\n];\n\nclass DescribeEndpointsCommand extends command(_ep0, _mw0, \"DescribeEndpoints\", DescribeEndpoints$) {\n}\n\nvar version = \"3.1155.0\";\nvar packageInfo = {\n\tversion: version};\n\nconst L = \"ref\", M = \"argv\";\nconst a = -1, b = true, c = false, d = \"isSet\", e = \"booleanEquals\", f = \"PartitionResult\", g = \"stringEquals\", h = \"getAttr\", i = \"parsedEndpoint\", j = \"aws.parseArn\", k = (n) => \"ParsedArn_ssa_\" + n + \"\", l = \"service\", m = \"dynamodb\", n = \"isValidHostLabel\", o = \"accountId\", p = \"FirstArn\", q = (n) => \"https://{ParsedArn_ssa_\" + n + \"#accountId}.search-ddb.{Region}.{PartitionResult#dualStackDnsSuffix}\", s = (n) => \"https://{ParsedArn_ssa_\" + n + \"#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}\", t = (n) => \"https://{ParsedArn_ssa_\" + n + \"#accountId}.search-ddb.{Region}.{PartitionResult#dnsSuffix}\", u = (n) => \"https://{ParsedArn_ssa_\" + n + \"#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}\", v = { [L]: \"Region\" }, w = { [L]: f }, x = { \"fn\": h, [M]: [{ [L]: i }, \"authority\"] }, y = { [L]: \"AccountIdEndpointMode\" }, z = { \"fn\": h, [M]: [w, \"name\"] }, A = { [L]: \"ParsedArn_ssa_2\" }, B = { \"fn\": h, [M]: [A, \"region\"] }, C = { [L]: \"ResourceArnList\" }, D = { \"fn\": h, [M]: [{ [L]: \"ParsedArn_ssa_1\" }, \"region\"] }, E = { [L]: \"ParsedArn_ssa_1\" }, F = { [L]: \"AccountId\" }, G = {}, H = { \"metricValues\": [\"O\"] }, I = [v], J = [{ [L]: \"Endpoint\" }], K = [{ [L]: \"ResourceArn\" }];\nconst _data = {\n conditions: [\n [d, I],\n [d, J],\n [e, [{ [L]: \"UseFIPS\" }, b]],\n [e, [{ [L]: \"UseDualStack\" }, b]],\n [\"aws.partition\", I, f],\n [g, [v, \"local\"]],\n [e, [{ fn: h, [M]: [w, \"supportsFIPS\"] }, b]],\n [\"parseURL\", J, i],\n [g, [\"dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}\", x]],\n [e, [{ fn: h, [M]: [w, \"supportsDualStack\"] }, b]],\n [g, [\"search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}\", x]],\n [d, [y]],\n [g, [v, \"us-gov-east-1\"]],\n [g, [v, \"cn-north-1\"]],\n [g, [v, \"cn-northwest-1\"]],\n [g, [v, \"us-gov-west-1\"]],\n [g, [z, \"aws\"]],\n [g, [y, \"disabled\"]],\n [d, K],\n [j, K, k(2)],\n [g, [{ fn: h, [M]: [A, l] }, m]],\n [g, [B, v]],\n [n, [{ fn: h, [M]: [A, o] }, c]],\n [n, [B, c]],\n [d, [C]],\n [h, [C, \"[0]\"], p],\n [j, [{ [L]: p }], k(1)],\n [g, [D, v]],\n [g, [{ fn: h, [M]: [E, l] }, m]],\n [n, [{ fn: h, [M]: [E, o] }, c]],\n [n, [D, c]],\n [d, [F]],\n [g, [y, \"required\"]],\n [n, [F, c]],\n [g, [z, \"aws-us-gov\"]],\n [e, [{ fn: \"coalesce\", [M]: [{ [L]: \"IsSearchOperation\" }, c] }, b]]\n ],\n results: [\n [a],\n [a, \"Invalid Configuration: FIPS and custom endpoint are not supported\"],\n [a, \"Invalid Configuration: Dualstack and custom endpoint are not supported\"],\n [a, \"Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html\"],\n [\"{Endpoint}\", G],\n [a, \"Invalid Configuration: FIPS and local endpoint are not supported\"],\n [a, \"Invalid Configuration: Dualstack and local endpoint are not supported\"],\n [\"http://localhost:8000\", { authSchemes: [{ signingRegion: \"us-east-1\", name: \"sigv4\", signingName: m }] }],\n [a, \"Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported\"],\n [\"https://search-dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", G],\n [\"https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", G],\n [a, \"FIPS and DualStack are enabled, but this partition does not support one or both\"],\n [\"https://search-dynamodb.{Region}.{PartitionResult#dnsSuffix}\", G],\n [\"https://dynamodb.{Region}.{PartitionResult#dnsSuffix}\", G],\n [\"https://search-dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}\", G],\n [\"https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}\", G],\n [a, \"FIPS is enabled but this partition does not support FIPS\"],\n [a, \"Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this region\"],\n [\"https://search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}\", G],\n [\"https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}\", G],\n [q(2), H],\n [s(2), H],\n [q(1), H],\n [s(1), H],\n [\"https://{AccountId}.search-ddb.{Region}.{PartitionResult#dualStackDnsSuffix}\", H],\n [\"https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}\", H],\n [a, \"Credentials-sourced account ID parameter is invalid\"],\n [a, \"AccountIdEndpointMode is required but no AccountID was provided or able to be loaded\"],\n [a, \"DualStack is enabled but this partition does not support DualStack\"],\n [t(2), H],\n [u(2), H],\n [t(1), H],\n [u(1), H],\n [\"https://{AccountId}.search-ddb.{Region}.{PartitionResult#dnsSuffix}\", H],\n [\"https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}\", H],\n [a, \"Invalid Configuration: Missing Region\"]\n ]\n};\nconst root = 2;\nconst r = 100_000_000;\nconst nodes = new Int32Array([\n -1, 1, -1,\n 0, 6, 3,\n 1, 4, r + 35,\n 2, r + 1, 5,\n 3, r + 2, r + 4,\n 1, 85, 7,\n 2, 69, 8,\n 3, 38, 9,\n 4, 10, r + 35,\n 5, r + 7, 11,\n 11, 12, 77,\n 12, 18, 13,\n 13, 18, 14,\n 14, 18, 15,\n 15, 18, 16,\n 16, 18, 17,\n 32, r + 17, 77,\n 17, 37, 19,\n 18, 20, 25,\n 19, 21, 25,\n 20, 22, 25,\n 21, 23, 25,\n 22, 24, 25,\n 23, 36, 25,\n 24, 26, 32,\n 25, 27, 32,\n 26, 28, 32,\n 27, 29, 32,\n 28, 30, 32,\n 29, 31, 32,\n 30, 35, 32,\n 31, 33, 37,\n 33, 34, r + 26,\n 35, r + 33, r + 34,\n 35, r + 31, r + 32,\n 35, r + 29, r + 30,\n 32, r + 27, 77,\n 4, 39, r + 35,\n 5, r + 6, 40,\n 9, 41, r + 28,\n 11, 42, 68,\n 12, 48, 43,\n 13, 48, 44,\n 14, 48, 45,\n 15, 48, 46,\n 16, 48, 47,\n 32, r + 17, 68,\n 17, 67, 49,\n 18, 50, 55,\n 19, 51, 55,\n 20, 52, 55,\n 21, 53, 55,\n 22, 54, 55,\n 23, 66, 55,\n 24, 56, 62,\n 25, 57, 62,\n 26, 58, 62,\n 27, 59, 62,\n 28, 60, 62,\n 29, 61, 62,\n 30, 65, 62,\n 31, 63, 67,\n 33, 64, r + 26,\n 35, r + 24, r + 25,\n 35, r + 22, r + 23,\n 35, r + 20, r + 21,\n 32, r + 27, 68,\n 35, r + 18, r + 19,\n 3, 78, 70,\n 4, 71, r + 35,\n 5, r + 5, 72,\n 6, 73, r + 16,\n 11, 74, 75,\n 32, r + 8, 75,\n 34, 77, 76,\n 35, r + 14, r + 15,\n 35, r + 12, r + 13,\n 4, 79, r + 35,\n 5, r + 5, 80,\n 6, 81, r + 11,\n 9, 82, r + 11,\n 11, 83, 84,\n 32, r + 8, 84,\n 35, r + 9, r + 10,\n 2, r + 1, 86,\n 3, r + 2, 87,\n 4, 88, r + 4,\n 7, 89, r + 4,\n 8, r + 3, 90,\n 10, r + 3, r + 4,\n]);\nconst bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);\n\nconst cache = new EndpointCache({\n size: 50,\n params: [\n \"AccountId\",\n \"AccountIdEndpointMode\",\n \"Endpoint\",\n \"IsSearchOperation\",\n \"Region\",\n \"ResourceArn\",\n \"ResourceArnList\",\n \"UseDualStack\",\n \"UseFIPS\",\n ],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => decideEndpoint(bdd, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\ncustomEndpointFunctions.aws = awsEndpointFunctions;\n\nconst getRuntimeConfig$1 = (config) => {\n return {\n apiVersion: \"2012-08-10\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultDynamoDBHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new AwsSdkSigV4Signer(),\n },\n ],\n logger: config?.logger ?? new NoOpLogger(),\n protocol: config?.protocol ?? AwsJson1_0Protocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.dynamodb\",\n errorTypeRegistries,\n xmlNamespace: \"http://dynamodb.amazonaws.com/doc/2012-08-10/\",\n version: \"2012-08-10\",\n serviceTarget: \"DynamoDB_20120810\",\n jsonCodec: new DynamoDBJsonCodec2(),\n },\n serviceId: config?.serviceId ?? \"DynamoDB\",\n sha256: config?.sha256 ?? Sha256,\n urlParser: config?.urlParser ?? parseUrl,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n };\n};\n\nconst getRuntimeConfig = (config) => {\n emitWarningIfUnsupportedVersion(process.version);\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getRuntimeConfig$1(config);\n emitWarningIfUnsupportedVersion$1(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n accountIdEndpointMode: config?.accountIdEndpointMode ?? loadConfig(NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS, loaderConfig),\n authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n endpointDiscoveryEnabledProvider: config?.endpointDiscoveryEnabledProvider ?? loadConfig(NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS, loaderConfig),\n maxAttempts: config?.maxAttempts ?? loadConfig(Retry.v2026 ? { ...NODE_MAX_ATTEMPT_CONFIG_OPTIONS, default: 4 } : NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n loadConfig({\n ...NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,\n }, config),\n streamCollector: config?.streamCollector ?? streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\n\nconst getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n\nclass DynamoDBClient extends Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveAccountIdEndpointModeConfig(_config_1);\n const _config_3 = resolveUserAgentConfig(_config_2);\n const _config_4 = resolveRetryConfig(_config_3, { defaultBaseDelay: Retry.v2026 ? 25 : undefined, defaultMaxAttempts: Retry.v2026 ? 4 : undefined });\n const _config_5 = resolveRegionConfig(_config_4);\n const _config_6 = resolveHostHeaderConfig(_config_5);\n const _config_7 = resolveEndpointConfig(_config_6);\n const _config_8 = resolveHttpAuthSchemeConfig(_config_7);\n const _config_9 = resolveEndpointDiscoveryConfig(_config_8, { endpointDiscoveryCommandCtor: DescribeEndpointsCommand });\n const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);\n this.config = _config_10;\n this.middlewareStack.use(getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: defaultDynamoDBHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n\nclass BatchExecuteStatementCommand extends command(_ep0, _mw0, \"BatchExecuteStatement\", BatchExecuteStatement$) {\n}\n\nclass BatchGetItemCommand extends command(_ep1, _mw0, \"BatchGetItem\", BatchGetItem$) {\n}\n\nclass BatchWriteItemCommand extends command(_ep1, _mw0, \"BatchWriteItem\", BatchWriteItem$) {\n}\n\nclass CreateBackupCommand extends command(_ep2, _mw0, \"CreateBackup\", CreateBackup$) {\n}\n\nclass CreateGlobalTableCommand extends command(_ep3, _mw0, \"CreateGlobalTable\", CreateGlobalTable$) {\n}\n\nclass CreateTableCommand extends command(_ep2, _mw0, \"CreateTable\", CreateTable$) {\n}\n\nclass DeleteBackupCommand extends command(_ep4, _mw0, \"DeleteBackup\", DeleteBackup$) {\n}\n\nclass DeleteItemCommand extends command(_ep2, _mw0, \"DeleteItem\", DeleteItem$) {\n}\n\nclass DeleteResourcePolicyCommand extends command(_ep5, _mw0, \"DeleteResourcePolicy\", DeleteResourcePolicy$) {\n}\n\nclass DeleteTableCommand extends command(_ep2, _mw0, \"DeleteTable\", DeleteTable$) {\n}\n\nclass DescribeBackupCommand extends command(_ep4, _mw0, \"DescribeBackup\", DescribeBackup$) {\n}\n\nclass DescribeContinuousBackupsCommand extends command(_ep2, _mw0, \"DescribeContinuousBackups\", DescribeContinuousBackups$) {\n}\n\nclass DescribeContributorInsightsCommand extends command(_ep2, _mw0, \"DescribeContributorInsights\", DescribeContributorInsights$) {\n}\n\nclass DescribeExportCommand extends command(_ep6, _mw0, \"DescribeExport\", DescribeExport$) {\n}\n\nclass DescribeGlobalTableCommand extends command(_ep3, _mw0, \"DescribeGlobalTable\", DescribeGlobalTable$) {\n}\n\nclass DescribeGlobalTableSettingsCommand extends command(_ep3, _mw0, \"DescribeGlobalTableSettings\", DescribeGlobalTableSettings$) {\n}\n\nclass DescribeImportCommand extends command(_ep7, _mw0, \"DescribeImport\", DescribeImport$) {\n}\n\nclass DescribeKinesisStreamingDestinationCommand extends command(_ep2, _mw0, \"DescribeKinesisStreamingDestination\", DescribeKinesisStreamingDestination$) {\n}\n\nclass DescribeLimitsCommand extends command(_ep0, _mw0, \"DescribeLimits\", DescribeLimits$) {\n}\n\nclass DescribeTableCommand extends command(_ep2, _mw0, \"DescribeTable\", DescribeTable$) {\n}\n\nclass DescribeTableReplicaAutoScalingCommand extends command(_ep2, _mw0, \"DescribeTableReplicaAutoScaling\", DescribeTableReplicaAutoScaling$) {\n}\n\nclass DescribeTimeToLiveCommand extends command(_ep2, _mw0, \"DescribeTimeToLive\", DescribeTimeToLive$) {\n}\n\nclass DisableKinesisStreamingDestinationCommand extends command(_ep2, _mw0, \"DisableKinesisStreamingDestination\", DisableKinesisStreamingDestination$) {\n}\n\nclass EnableKinesisStreamingDestinationCommand extends command(_ep2, _mw0, \"EnableKinesisStreamingDestination\", EnableKinesisStreamingDestination$) {\n}\n\nclass ExecuteStatementCommand extends command(_ep0, _mw0, \"ExecuteStatement\", ExecuteStatement$) {\n}\n\nclass ExecuteTransactionCommand extends command(_ep0, _mw0, \"ExecuteTransaction\", ExecuteTransaction$) {\n}\n\nclass ExportTableToPointInTimeCommand extends command(_ep8, _mw0, \"ExportTableToPointInTime\", ExportTableToPointInTime$) {\n}\n\nclass GetItemCommand extends command(_ep2, _mw0, \"GetItem\", GetItem$) {\n}\n\nclass GetResourcePolicyCommand extends command(_ep5, _mw0, \"GetResourcePolicy\", GetResourcePolicy$) {\n}\n\nclass ImportTableCommand extends command(_ep9, _mw0, \"ImportTable\", ImportTable$) {\n}\n\nclass ListBackupsCommand extends command(_ep2, _mw0, \"ListBackups\", ListBackups$) {\n}\n\nclass ListContributorInsightsCommand extends command(_ep2, _mw0, \"ListContributorInsights\", ListContributorInsights$) {\n}\n\nclass ListExportsCommand extends command(_ep8, _mw0, \"ListExports\", ListExports$) {\n}\n\nclass ListGlobalTablesCommand extends command(_ep0, _mw0, \"ListGlobalTables\", ListGlobalTables$) {\n}\n\nclass ListImportsCommand extends command(_ep8, _mw0, \"ListImports\", ListImports$) {\n}\n\nclass ListTablesCommand extends command(_ep0, _mw0, \"ListTables\", ListTables$) {\n}\n\nclass ListTagsOfResourceCommand extends command(_ep5, _mw0, \"ListTagsOfResource\", ListTagsOfResource$) {\n}\n\nclass PutItemCommand extends command(_ep2, _mw0, \"PutItem\", PutItem$) {\n}\n\nclass PutResourcePolicyCommand extends command(_ep5, _mw0, \"PutResourcePolicy\", PutResourcePolicy$) {\n}\n\nclass QueryCommand extends command(_ep2, _mw0, \"Query\", Query$) {\n}\n\nclass RestoreTableFromBackupCommand extends command(_ep10, _mw0, \"RestoreTableFromBackup\", RestoreTableFromBackup$) {\n}\n\nclass RestoreTableToPointInTimeCommand extends command(_ep10, _mw0, \"RestoreTableToPointInTime\", RestoreTableToPointInTime$) {\n}\n\nclass ScanCommand extends command(_ep2, _mw0, \"Scan\", Scan$) {\n}\n\nclass SearchVectorsCommand extends command(_ep11, _mw0, \"SearchVectors\", SearchVectors$) {\n}\n\nclass TagResourceCommand extends command(_ep5, _mw0, \"TagResource\", TagResource$) {\n}\n\nclass TransactGetItemsCommand extends command(_ep12, _mw0, \"TransactGetItems\", TransactGetItems$) {\n}\n\nclass TransactWriteItemsCommand extends command(_ep13, _mw0, \"TransactWriteItems\", TransactWriteItems$) {\n}\n\nclass UntagResourceCommand extends command(_ep5, _mw0, \"UntagResource\", UntagResource$) {\n}\n\nclass UpdateContinuousBackupsCommand extends command(_ep2, _mw0, \"UpdateContinuousBackups\", UpdateContinuousBackups$) {\n}\n\nclass UpdateContributorInsightsCommand extends command(_ep2, _mw0, \"UpdateContributorInsights\", UpdateContributorInsights$) {\n}\n\nclass UpdateGlobalTableCommand extends command(_ep3, _mw0, \"UpdateGlobalTable\", UpdateGlobalTable$) {\n}\n\nclass UpdateGlobalTableSettingsCommand extends command(_ep3, _mw0, \"UpdateGlobalTableSettings\", UpdateGlobalTableSettings$) {\n}\n\nclass UpdateItemCommand extends command(_ep2, _mw0, \"UpdateItem\", UpdateItem$) {\n}\n\nclass UpdateKinesisStreamingDestinationCommand extends command(_ep2, _mw0, \"UpdateKinesisStreamingDestination\", UpdateKinesisStreamingDestination$) {\n}\n\nclass UpdateTableCommand extends command(_ep2, _mw0, \"UpdateTable\", UpdateTable$) {\n}\n\nclass UpdateTableReplicaAutoScalingCommand extends command(_ep2, _mw0, \"UpdateTableReplicaAutoScaling\", UpdateTableReplicaAutoScaling$) {\n}\n\nclass UpdateTimeToLiveCommand extends command(_ep2, _mw0, \"UpdateTimeToLive\", UpdateTimeToLive$) {\n}\n\nconst paginateListContributorInsights = createPaginator(DynamoDBClient, ListContributorInsightsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\nconst paginateListExports = createPaginator(DynamoDBClient, ListExportsCommand, \"NextToken\", \"NextToken\", \"MaxResults\");\n\nconst paginateListImports = createPaginator(DynamoDBClient, ListImportsCommand, \"NextToken\", \"NextToken\", \"PageSize\");\n\nconst paginateListTables = createPaginator(DynamoDBClient, ListTablesCommand, \"ExclusiveStartTableName\", \"LastEvaluatedTableName\", \"Limit\");\n\nconst paginateQuery = createPaginator(DynamoDBClient, QueryCommand, \"ExclusiveStartKey\", \"LastEvaluatedKey\", \"Limit\");\n\nconst paginateScan = createPaginator(DynamoDBClient, ScanCommand, \"ExclusiveStartKey\", \"LastEvaluatedKey\", \"Limit\");\n\nconst checkState$5 = async (client, input) => {\n let reason;\n try {\n let result = await client.send(new DescribeContributorInsightsCommand(input));\n reason = result;\n try {\n const returnComparator = () => {\n return result.ContributorInsightsStatus;\n };\n if (returnComparator() === \"ENABLED\") {\n return { state: WaiterState.SUCCESS, reason };\n }\n }\n catch (e) { }\n try {\n const returnComparator = () => {\n return result.ContributorInsightsStatus;\n };\n if (returnComparator() === \"FAILED\") {\n return { state: WaiterState.FAILURE, reason };\n }\n }\n catch (e) { }\n }\n catch (exception) {\n reason = exception;\n }\n return { state: WaiterState.RETRY, reason };\n};\nconst waitForContributorInsightsEnabled = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n return createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);\n};\nconst waitUntilContributorInsightsEnabled = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);\n return checkExceptions(result);\n};\n\nconst checkState$4 = async (client, input) => {\n let reason;\n try {\n let result = await client.send(new DescribeExportCommand(input));\n reason = result;\n try {\n const returnComparator = () => {\n return result.ExportDescription.ExportStatus;\n };\n if (returnComparator() === \"COMPLETED\") {\n return { state: WaiterState.SUCCESS, reason };\n }\n }\n catch (e) { }\n try {\n const returnComparator = () => {\n return result.ExportDescription.ExportStatus;\n };\n if (returnComparator() === \"FAILED\") {\n return { state: WaiterState.FAILURE, reason };\n }\n }\n catch (e) { }\n }\n catch (exception) {\n reason = exception;\n }\n return { state: WaiterState.RETRY, reason };\n};\nconst waitForExportCompleted = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n return createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);\n};\nconst waitUntilExportCompleted = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);\n return checkExceptions(result);\n};\n\nconst checkState$3 = async (client, input) => {\n let reason;\n try {\n let result = await client.send(new DescribeImportCommand(input));\n reason = result;\n try {\n const returnComparator = () => {\n return result.ImportTableDescription.ImportStatus;\n };\n if (returnComparator() === \"COMPLETED\") {\n return { state: WaiterState.SUCCESS, reason };\n }\n }\n catch (e) { }\n try {\n const returnComparator = () => {\n return result.ImportTableDescription.ImportStatus;\n };\n if (returnComparator() === \"FAILED\") {\n return { state: WaiterState.FAILURE, reason };\n }\n }\n catch (e) { }\n try {\n const returnComparator = () => {\n return result.ImportTableDescription.ImportStatus;\n };\n if (returnComparator() === \"CANCELLED\") {\n return { state: WaiterState.FAILURE, reason };\n }\n }\n catch (e) { }\n }\n catch (exception) {\n reason = exception;\n }\n return { state: WaiterState.RETRY, reason };\n};\nconst waitForImportCompleted = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);\n};\nconst waitUntilImportCompleted = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);\n return checkExceptions(result);\n};\n\nconst checkState$2 = async (client, input) => {\n let reason;\n try {\n let result = await client.send(new DescribeKinesisStreamingDestinationCommand(input));\n reason = result;\n try {\n const returnComparator = () => {\n let flat_1 = [].concat(...result.KinesisDataStreamDestinations);\n let projection_3 = flat_1.map((element_2) => {\n return element_2.DestinationStatus;\n });\n return projection_3;\n };\n for (let anyStringEq_4 of returnComparator()) {\n if (anyStringEq_4 == \"ACTIVE\") {\n return { state: WaiterState.SUCCESS, reason };\n }\n }\n }\n catch (e) { }\n try {\n const returnComparator = () => {\n let filterRes_2 = result.KinesisDataStreamDestinations.filter((element_1) => {\n return (((element_1.DestinationStatus == \"DISABLED\") || (element_1.DestinationStatus == \"ENABLE_FAILED\")) && ((element_1.DestinationStatus == \"ENABLE_FAILED\") || (element_1.DestinationStatus == \"DISABLED\")));\n });\n return ((result.KinesisDataStreamDestinations.length > 0) && (filterRes_2.length == result.KinesisDataStreamDestinations.length));\n };\n if (returnComparator() == true) {\n return { state: WaiterState.FAILURE, reason };\n }\n }\n catch (e) { }\n }\n catch (exception) {\n reason = exception;\n }\n return { state: WaiterState.RETRY, reason };\n};\nconst waitForKinesisStreamingDestinationActive = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);\n};\nconst waitUntilKinesisStreamingDestinationActive = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);\n return checkExceptions(result);\n};\n\nconst checkState$1 = async (client, input) => {\n let reason;\n try {\n let result = await client.send(new DescribeTableCommand(input));\n reason = result;\n try {\n const returnComparator = () => {\n return result.Table.TableStatus;\n };\n if (returnComparator() === \"ACTIVE\") {\n return { state: WaiterState.SUCCESS, reason };\n }\n }\n catch (e) { }\n }\n catch (exception) {\n reason = exception;\n if (exception.name === \"ResourceNotFoundException\") {\n return { state: WaiterState.RETRY, reason };\n }\n }\n return { state: WaiterState.RETRY, reason };\n};\nconst waitForTableExists = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);\n};\nconst waitUntilTableExists = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);\n return checkExceptions(result);\n};\n\nconst checkState = async (client, input) => {\n let reason;\n try {\n let result = await client.send(new DescribeTableCommand(input));\n reason = result;\n }\n catch (exception) {\n reason = exception;\n if (exception.name === \"ResourceNotFoundException\") {\n return { state: WaiterState.SUCCESS, reason };\n }\n }\n return { state: WaiterState.RETRY, reason };\n};\nconst waitForTableNotExists = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n return createWaiter({ ...serviceDefaults, ...params }, input, checkState);\n};\nconst waitUntilTableNotExists = async (params, input) => {\n const serviceDefaults = { minDelay: 20, maxDelay: 120 };\n const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);\n return checkExceptions(result);\n};\n\nconst commands = {\n BatchExecuteStatementCommand,\n BatchGetItemCommand,\n BatchWriteItemCommand,\n CreateBackupCommand,\n CreateGlobalTableCommand,\n CreateTableCommand,\n DeleteBackupCommand,\n DeleteItemCommand,\n DeleteResourcePolicyCommand,\n DeleteTableCommand,\n DescribeBackupCommand,\n DescribeContinuousBackupsCommand,\n DescribeContributorInsightsCommand,\n DescribeEndpointsCommand,\n DescribeExportCommand,\n DescribeGlobalTableCommand,\n DescribeGlobalTableSettingsCommand,\n DescribeImportCommand,\n DescribeKinesisStreamingDestinationCommand,\n DescribeLimitsCommand,\n DescribeTableCommand,\n DescribeTableReplicaAutoScalingCommand,\n DescribeTimeToLiveCommand,\n DisableKinesisStreamingDestinationCommand,\n EnableKinesisStreamingDestinationCommand,\n ExecuteStatementCommand,\n ExecuteTransactionCommand,\n ExportTableToPointInTimeCommand,\n GetItemCommand,\n GetResourcePolicyCommand,\n ImportTableCommand,\n ListBackupsCommand,\n ListContributorInsightsCommand,\n ListExportsCommand,\n ListGlobalTablesCommand,\n ListImportsCommand,\n ListTablesCommand,\n ListTagsOfResourceCommand,\n PutItemCommand,\n PutResourcePolicyCommand,\n QueryCommand,\n RestoreTableFromBackupCommand,\n RestoreTableToPointInTimeCommand,\n ScanCommand,\n SearchVectorsCommand,\n TagResourceCommand,\n TransactGetItemsCommand,\n TransactWriteItemsCommand,\n UntagResourceCommand,\n UpdateContinuousBackupsCommand,\n UpdateContributorInsightsCommand,\n UpdateGlobalTableCommand,\n UpdateGlobalTableSettingsCommand,\n UpdateItemCommand,\n UpdateKinesisStreamingDestinationCommand,\n UpdateTableCommand,\n UpdateTableReplicaAutoScalingCommand,\n UpdateTimeToLiveCommand,\n};\nconst paginators = {\n paginateListContributorInsights,\n paginateListExports,\n paginateListImports,\n paginateListTables,\n paginateQuery,\n paginateScan,\n};\nconst waiters = {\n waitUntilContributorInsightsEnabled,\n waitUntilExportCompleted,\n waitUntilImportCompleted,\n waitUntilKinesisStreamingDestinationActive,\n waitUntilTableExists,\n waitUntilTableNotExists,\n};\nclass DynamoDB extends DynamoDBClient {\n}\ncreateAggregatedClient(commands, DynamoDB, { paginators, waiters });\n\nconst ApproximateCreationDateTimePrecision = {\n MICROSECOND: \"MICROSECOND\",\n MILLISECOND: \"MILLISECOND\",\n};\nconst AttributeAction = {\n ADD: \"ADD\",\n DELETE: \"DELETE\",\n PUT: \"PUT\",\n};\nconst ScalarAttributeType = {\n B: \"B\",\n N: \"N\",\n S: \"S\",\n};\nconst BackupStatus = {\n AVAILABLE: \"AVAILABLE\",\n CREATING: \"CREATING\",\n DELETED: \"DELETED\",\n};\nconst BackupType = {\n AWS_BACKUP: \"AWS_BACKUP\",\n SYSTEM: \"SYSTEM\",\n USER: \"USER\",\n};\nconst BillingMode = {\n PAY_PER_REQUEST: \"PAY_PER_REQUEST\",\n PROVISIONED: \"PROVISIONED\",\n};\nconst KeyType = {\n HASH: \"HASH\",\n RANGE: \"RANGE\",\n};\nconst ProjectionType = {\n ALL: \"ALL\",\n INCLUDE: \"INCLUDE\",\n KEYS_ONLY: \"KEYS_ONLY\",\n};\nconst SSEType = {\n AES256: \"AES256\",\n KMS: \"KMS\",\n};\nconst SSEStatus = {\n DISABLED: \"DISABLED\",\n DISABLING: \"DISABLING\",\n ENABLED: \"ENABLED\",\n ENABLING: \"ENABLING\",\n UPDATING: \"UPDATING\",\n};\nconst StreamViewType = {\n KEYS_ONLY: \"KEYS_ONLY\",\n NEW_AND_OLD_IMAGES: \"NEW_AND_OLD_IMAGES\",\n NEW_IMAGE: \"NEW_IMAGE\",\n OLD_IMAGE: \"OLD_IMAGE\",\n};\nconst TimeToLiveStatus = {\n DISABLED: \"DISABLED\",\n DISABLING: \"DISABLING\",\n ENABLED: \"ENABLED\",\n ENABLING: \"ENABLING\",\n};\nconst VectorDistanceFunction = {\n COSINE: \"COSINE\",\n DOT_PRODUCT: \"DOT_PRODUCT\",\n EUCLIDEAN: \"EUCLIDEAN\",\n};\nconst SearchSchemaElementType = {\n HASH: \"HASH\",\n INLINE_FILTER: \"INLINE_FILTER\",\n};\nconst BackupTypeFilter = {\n ALL: \"ALL\",\n AWS_BACKUP: \"AWS_BACKUP\",\n SYSTEM: \"SYSTEM\",\n USER: \"USER\",\n};\nconst ReturnConsumedCapacity = {\n INDEXES: \"INDEXES\",\n NONE: \"NONE\",\n TOTAL: \"TOTAL\",\n};\nconst ReturnValuesOnConditionCheckFailure = {\n ALL_OLD: \"ALL_OLD\",\n NONE: \"NONE\",\n};\nconst BatchStatementErrorCodeEnum = {\n AccessDenied: \"AccessDenied\",\n ConditionalCheckFailed: \"ConditionalCheckFailed\",\n DuplicateItem: \"DuplicateItem\",\n InternalServerError: \"InternalServerError\",\n ItemCollectionSizeLimitExceeded: \"ItemCollectionSizeLimitExceeded\",\n ProvisionedThroughputExceeded: \"ProvisionedThroughputExceeded\",\n RequestLimitExceeded: \"RequestLimitExceeded\",\n ResourceNotFound: \"ResourceNotFound\",\n ThrottlingError: \"ThrottlingError\",\n TransactionConflict: \"TransactionConflict\",\n ValidationError: \"ValidationError\",\n};\nconst ReturnItemCollectionMetrics = {\n NONE: \"NONE\",\n SIZE: \"SIZE\",\n};\nconst ComparisonOperator = {\n BEGINS_WITH: \"BEGINS_WITH\",\n BETWEEN: \"BETWEEN\",\n CONTAINS: \"CONTAINS\",\n EQ: \"EQ\",\n GE: \"GE\",\n GT: \"GT\",\n IN: \"IN\",\n LE: \"LE\",\n LT: \"LT\",\n NE: \"NE\",\n NOT_CONTAINS: \"NOT_CONTAINS\",\n NOT_NULL: \"NOT_NULL\",\n NULL: \"NULL\",\n};\nconst ConditionalOperator = {\n AND: \"AND\",\n OR: \"OR\",\n};\nconst ContinuousBackupsStatus = {\n DISABLED: \"DISABLED\",\n ENABLED: \"ENABLED\",\n};\nconst PointInTimeRecoveryStatus = {\n DISABLED: \"DISABLED\",\n ENABLED: \"ENABLED\",\n};\nconst ContributorInsightsAction = {\n DISABLE: \"DISABLE\",\n ENABLE: \"ENABLE\",\n};\nconst ContributorInsightsMode = {\n ACCESSED_AND_THROTTLED_KEYS: \"ACCESSED_AND_THROTTLED_KEYS\",\n THROTTLED_KEYS: \"THROTTLED_KEYS\",\n};\nconst ContributorInsightsStatus = {\n DISABLED: \"DISABLED\",\n DISABLING: \"DISABLING\",\n ENABLED: \"ENABLED\",\n ENABLING: \"ENABLING\",\n FAILED: \"FAILED\",\n};\nconst GlobalTableStatus = {\n ACTIVE: \"ACTIVE\",\n CREATING: \"CREATING\",\n DELETING: \"DELETING\",\n UPDATING: \"UPDATING\",\n};\nconst IndexStatus = {\n ACTIVE: \"ACTIVE\",\n CREATING: \"CREATING\",\n DELETING: \"DELETING\",\n UPDATING: \"UPDATING\",\n};\nconst GlobalTableSettingsReplicationMode = {\n DISABLED: \"DISABLED\",\n ENABLED: \"ENABLED\",\n ENABLED_WITH_OVERRIDES: \"ENABLED_WITH_OVERRIDES\",\n};\nconst ReplicaStatus = {\n ACTIVE: \"ACTIVE\",\n ARCHIVED: \"ARCHIVED\",\n ARCHIVING: \"ARCHIVING\",\n CREATING: \"CREATING\",\n CREATION_FAILED: \"CREATION_FAILED\",\n DELETING: \"DELETING\",\n INACCESSIBLE_ENCRYPTION_CREDENTIALS: \"INACCESSIBLE_ENCRYPTION_CREDENTIALS\",\n REGION_DISABLED: \"REGION_DISABLED\",\n REPLICATION_NOT_AUTHORIZED: \"REPLICATION_NOT_AUTHORIZED\",\n UPDATING: \"UPDATING\",\n};\nconst TableClass = {\n STANDARD: \"STANDARD\",\n STANDARD_INFREQUENT_ACCESS: \"STANDARD_INFREQUENT_ACCESS\",\n};\nconst TableStatus = {\n ACTIVE: \"ACTIVE\",\n ARCHIVED: \"ARCHIVED\",\n ARCHIVING: \"ARCHIVING\",\n CREATING: \"CREATING\",\n DELETING: \"DELETING\",\n INACCESSIBLE_ENCRYPTION_CREDENTIALS: \"INACCESSIBLE_ENCRYPTION_CREDENTIALS\",\n REPLICATION_NOT_AUTHORIZED: \"REPLICATION_NOT_AUTHORIZED\",\n UPDATING: \"UPDATING\",\n};\nconst WitnessStatus = {\n ACTIVE: \"ACTIVE\",\n CREATING: \"CREATING\",\n DELETING: \"DELETING\",\n};\nconst MultiRegionConsistency = {\n EVENTUAL: \"EVENTUAL\",\n STRONG: \"STRONG\",\n};\nconst ReturnValue = {\n ALL_NEW: \"ALL_NEW\",\n ALL_OLD: \"ALL_OLD\",\n NONE: \"NONE\",\n UPDATED_NEW: \"UPDATED_NEW\",\n UPDATED_OLD: \"UPDATED_OLD\",\n};\nconst ExportFormat = {\n DYNAMODB_JSON: \"DYNAMODB_JSON\",\n ION: \"ION\",\n};\nconst ExportStatus = {\n COMPLETED: \"COMPLETED\",\n FAILED: \"FAILED\",\n IN_PROGRESS: \"IN_PROGRESS\",\n};\nconst ExportType = {\n FULL_EXPORT: \"FULL_EXPORT\",\n INCREMENTAL_EXPORT: \"INCREMENTAL_EXPORT\",\n};\nconst ExportViewType = {\n NEW_AND_OLD_IMAGES: \"NEW_AND_OLD_IMAGES\",\n NEW_IMAGE: \"NEW_IMAGE\",\n};\nconst S3SseAlgorithm = {\n AES256: \"AES256\",\n KMS: \"KMS\",\n};\nconst ImportStatus = {\n CANCELLED: \"CANCELLED\",\n CANCELLING: \"CANCELLING\",\n COMPLETED: \"COMPLETED\",\n FAILED: \"FAILED\",\n IN_PROGRESS: \"IN_PROGRESS\",\n};\nconst InputCompressionType = {\n GZIP: \"GZIP\",\n NONE: \"NONE\",\n ZSTD: \"ZSTD\",\n};\nconst InputFormat = {\n CSV: \"CSV\",\n DYNAMODB_JSON: \"DYNAMODB_JSON\",\n ION: \"ION\",\n};\nconst DestinationStatus = {\n ACTIVE: \"ACTIVE\",\n DISABLED: \"DISABLED\",\n DISABLING: \"DISABLING\",\n ENABLE_FAILED: \"ENABLE_FAILED\",\n ENABLING: \"ENABLING\",\n UPDATING: \"UPDATING\",\n};\nconst DisassociationMode = {\n WAIT_FOR_REPLICATION: \"WAIT_FOR_REPLICATION\",\n};\nconst Select = {\n ALL_ATTRIBUTES: \"ALL_ATTRIBUTES\",\n ALL_PROJECTED_ATTRIBUTES: \"ALL_PROJECTED_ATTRIBUTES\",\n COUNT: \"COUNT\",\n SPECIFIC_ATTRIBUTES: \"SPECIFIC_ATTRIBUTES\",\n};\n\nexports.ApproximateCreationDateTimePrecision = ApproximateCreationDateTimePrecision;\nexports.ArchivalSummary$ = ArchivalSummary$;\nexports.AttributeAction = AttributeAction;\nexports.AttributeDefinition$ = AttributeDefinition$;\nexports.AttributeValue$ = AttributeValue$;\nexports.AttributeValueUpdate$ = AttributeValueUpdate$;\nexports.AutoScalingPolicyDescription$ = AutoScalingPolicyDescription$;\nexports.AutoScalingPolicyUpdate$ = AutoScalingPolicyUpdate$;\nexports.AutoScalingSettingsDescription$ = AutoScalingSettingsDescription$;\nexports.AutoScalingSettingsUpdate$ = AutoScalingSettingsUpdate$;\nexports.AutoScalingTargetTrackingScalingPolicyConfigurationDescription$ = AutoScalingTargetTrackingScalingPolicyConfigurationDescription$;\nexports.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate$ = AutoScalingTargetTrackingScalingPolicyConfigurationUpdate$;\nexports.BackupDescription$ = BackupDescription$;\nexports.BackupDetails$ = BackupDetails$;\nexports.BackupInUseException = BackupInUseException;\nexports.BackupInUseException$ = BackupInUseException$;\nexports.BackupNotFoundException = BackupNotFoundException;\nexports.BackupNotFoundException$ = BackupNotFoundException$;\nexports.BackupStatus = BackupStatus;\nexports.BackupSummary$ = BackupSummary$;\nexports.BackupType = BackupType;\nexports.BackupTypeFilter = BackupTypeFilter;\nexports.BatchExecuteStatement$ = BatchExecuteStatement$;\nexports.BatchExecuteStatementCommand = BatchExecuteStatementCommand;\nexports.BatchExecuteStatementInput$ = BatchExecuteStatementInput$;\nexports.BatchExecuteStatementOutput$ = BatchExecuteStatementOutput$;\nexports.BatchGetItem$ = BatchGetItem$;\nexports.BatchGetItemCommand = BatchGetItemCommand;\nexports.BatchGetItemInput$ = BatchGetItemInput$;\nexports.BatchGetItemOutput$ = BatchGetItemOutput$;\nexports.BatchStatementError$ = BatchStatementError$;\nexports.BatchStatementErrorCodeEnum = BatchStatementErrorCodeEnum;\nexports.BatchStatementRequest$ = BatchStatementRequest$;\nexports.BatchStatementResponse$ = BatchStatementResponse$;\nexports.BatchWriteItem$ = BatchWriteItem$;\nexports.BatchWriteItemCommand = BatchWriteItemCommand;\nexports.BatchWriteItemInput$ = BatchWriteItemInput$;\nexports.BatchWriteItemOutput$ = BatchWriteItemOutput$;\nexports.BillingMode = BillingMode;\nexports.BillingModeSummary$ = BillingModeSummary$;\nexports.CancellationReason$ = CancellationReason$;\nexports.Capacity$ = Capacity$;\nexports.ComparisonOperator = ComparisonOperator;\nexports.Condition$ = Condition$;\nexports.ConditionCheck$ = ConditionCheck$;\nexports.ConditionalCheckFailedException = ConditionalCheckFailedException;\nexports.ConditionalCheckFailedException$ = ConditionalCheckFailedException$;\nexports.ConditionalOperator = ConditionalOperator;\nexports.ConsumedCapacity$ = ConsumedCapacity$;\nexports.ContinuousBackupsDescription$ = ContinuousBackupsDescription$;\nexports.ContinuousBackupsStatus = ContinuousBackupsStatus;\nexports.ContinuousBackupsUnavailableException = ContinuousBackupsUnavailableException;\nexports.ContinuousBackupsUnavailableException$ = ContinuousBackupsUnavailableException$;\nexports.ContributorInsightsAction = ContributorInsightsAction;\nexports.ContributorInsightsMode = ContributorInsightsMode;\nexports.ContributorInsightsStatus = ContributorInsightsStatus;\nexports.ContributorInsightsSummary$ = ContributorInsightsSummary$;\nexports.CreateBackup$ = CreateBackup$;\nexports.CreateBackupCommand = CreateBackupCommand;\nexports.CreateBackupInput$ = CreateBackupInput$;\nexports.CreateBackupOutput$ = CreateBackupOutput$;\nexports.CreateGlobalSecondaryIndexAction$ = CreateGlobalSecondaryIndexAction$;\nexports.CreateGlobalTable$ = CreateGlobalTable$;\nexports.CreateGlobalTableCommand = CreateGlobalTableCommand;\nexports.CreateGlobalTableInput$ = CreateGlobalTableInput$;\nexports.CreateGlobalTableOutput$ = CreateGlobalTableOutput$;\nexports.CreateGlobalTableWitnessGroupMemberAction$ = CreateGlobalTableWitnessGroupMemberAction$;\nexports.CreateReplicaAction$ = CreateReplicaAction$;\nexports.CreateReplicationGroupMemberAction$ = CreateReplicationGroupMemberAction$;\nexports.CreateTable$ = CreateTable$;\nexports.CreateTableCommand = CreateTableCommand;\nexports.CreateTableInput$ = CreateTableInput$;\nexports.CreateTableOutput$ = CreateTableOutput$;\nexports.CreateVectorIndexAction$ = CreateVectorIndexAction$;\nexports.CsvOptions$ = CsvOptions$;\nexports.Delete$ = Delete$;\nexports.DeleteBackup$ = DeleteBackup$;\nexports.DeleteBackupCommand = DeleteBackupCommand;\nexports.DeleteBackupInput$ = DeleteBackupInput$;\nexports.DeleteBackupOutput$ = DeleteBackupOutput$;\nexports.DeleteGlobalSecondaryIndexAction$ = DeleteGlobalSecondaryIndexAction$;\nexports.DeleteGlobalTableWitnessGroupMemberAction$ = DeleteGlobalTableWitnessGroupMemberAction$;\nexports.DeleteItem$ = DeleteItem$;\nexports.DeleteItemCommand = DeleteItemCommand;\nexports.DeleteItemInput$ = DeleteItemInput$;\nexports.DeleteItemOutput$ = DeleteItemOutput$;\nexports.DeleteReplicaAction$ = DeleteReplicaAction$;\nexports.DeleteReplicationGroupMemberAction$ = DeleteReplicationGroupMemberAction$;\nexports.DeleteRequest$ = DeleteRequest$;\nexports.DeleteResourcePolicy$ = DeleteResourcePolicy$;\nexports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;\nexports.DeleteResourcePolicyInput$ = DeleteResourcePolicyInput$;\nexports.DeleteResourcePolicyOutput$ = DeleteResourcePolicyOutput$;\nexports.DeleteTable$ = DeleteTable$;\nexports.DeleteTableCommand = DeleteTableCommand;\nexports.DeleteTableInput$ = DeleteTableInput$;\nexports.DeleteTableOutput$ = DeleteTableOutput$;\nexports.DeleteVectorIndexAction$ = DeleteVectorIndexAction$;\nexports.DescribeBackup$ = DescribeBackup$;\nexports.DescribeBackupCommand = DescribeBackupCommand;\nexports.DescribeBackupInput$ = DescribeBackupInput$;\nexports.DescribeBackupOutput$ = DescribeBackupOutput$;\nexports.DescribeContinuousBackups$ = DescribeContinuousBackups$;\nexports.DescribeContinuousBackupsCommand = DescribeContinuousBackupsCommand;\nexports.DescribeContinuousBackupsInput$ = DescribeContinuousBackupsInput$;\nexports.DescribeContinuousBackupsOutput$ = DescribeContinuousBackupsOutput$;\nexports.DescribeContributorInsights$ = DescribeContributorInsights$;\nexports.DescribeContributorInsightsCommand = DescribeContributorInsightsCommand;\nexports.DescribeContributorInsightsInput$ = DescribeContributorInsightsInput$;\nexports.DescribeContributorInsightsOutput$ = DescribeContributorInsightsOutput$;\nexports.DescribeEndpoints$ = DescribeEndpoints$;\nexports.DescribeEndpointsCommand = DescribeEndpointsCommand;\nexports.DescribeEndpointsRequest$ = DescribeEndpointsRequest$;\nexports.DescribeEndpointsResponse$ = DescribeEndpointsResponse$;\nexports.DescribeExport$ = DescribeExport$;\nexports.DescribeExportCommand = DescribeExportCommand;\nexports.DescribeExportInput$ = DescribeExportInput$;\nexports.DescribeExportOutput$ = DescribeExportOutput$;\nexports.DescribeGlobalTable$ = DescribeGlobalTable$;\nexports.DescribeGlobalTableCommand = DescribeGlobalTableCommand;\nexports.DescribeGlobalTableInput$ = DescribeGlobalTableInput$;\nexports.DescribeGlobalTableOutput$ = DescribeGlobalTableOutput$;\nexports.DescribeGlobalTableSettings$ = DescribeGlobalTableSettings$;\nexports.DescribeGlobalTableSettingsCommand = DescribeGlobalTableSettingsCommand;\nexports.DescribeGlobalTableSettingsInput$ = DescribeGlobalTableSettingsInput$;\nexports.DescribeGlobalTableSettingsOutput$ = DescribeGlobalTableSettingsOutput$;\nexports.DescribeImport$ = DescribeImport$;\nexports.DescribeImportCommand = DescribeImportCommand;\nexports.DescribeImportInput$ = DescribeImportInput$;\nexports.DescribeImportOutput$ = DescribeImportOutput$;\nexports.DescribeKinesisStreamingDestination$ = DescribeKinesisStreamingDestination$;\nexports.DescribeKinesisStreamingDestinationCommand = DescribeKinesisStreamingDestinationCommand;\nexports.DescribeKinesisStreamingDestinationInput$ = DescribeKinesisStreamingDestinationInput$;\nexports.DescribeKinesisStreamingDestinationOutput$ = DescribeKinesisStreamingDestinationOutput$;\nexports.DescribeLimits$ = DescribeLimits$;\nexports.DescribeLimitsCommand = DescribeLimitsCommand;\nexports.DescribeLimitsInput$ = DescribeLimitsInput$;\nexports.DescribeLimitsOutput$ = DescribeLimitsOutput$;\nexports.DescribeTable$ = DescribeTable$;\nexports.DescribeTableCommand = DescribeTableCommand;\nexports.DescribeTableInput$ = DescribeTableInput$;\nexports.DescribeTableOutput$ = DescribeTableOutput$;\nexports.DescribeTableReplicaAutoScaling$ = DescribeTableReplicaAutoScaling$;\nexports.DescribeTableReplicaAutoScalingCommand = DescribeTableReplicaAutoScalingCommand;\nexports.DescribeTableReplicaAutoScalingInput$ = DescribeTableReplicaAutoScalingInput$;\nexports.DescribeTableReplicaAutoScalingOutput$ = DescribeTableReplicaAutoScalingOutput$;\nexports.DescribeTimeToLive$ = DescribeTimeToLive$;\nexports.DescribeTimeToLiveCommand = DescribeTimeToLiveCommand;\nexports.DescribeTimeToLiveInput$ = DescribeTimeToLiveInput$;\nexports.DescribeTimeToLiveOutput$ = DescribeTimeToLiveOutput$;\nexports.DestinationStatus = DestinationStatus;\nexports.DisableKinesisStreamingDestination$ = DisableKinesisStreamingDestination$;\nexports.DisableKinesisStreamingDestinationCommand = DisableKinesisStreamingDestinationCommand;\nexports.DisassociateReplicationGroupMemberAction$ = DisassociateReplicationGroupMemberAction$;\nexports.DisassociationMode = DisassociationMode;\nexports.DuplicateItemException = DuplicateItemException;\nexports.DuplicateItemException$ = DuplicateItemException$;\nexports.DynamoDB = DynamoDB;\nexports.DynamoDBClient = DynamoDBClient;\nexports.DynamoDBServiceException = DynamoDBServiceException;\nexports.DynamoDBServiceException$ = DynamoDBServiceException$;\nexports.EnableKinesisStreamingConfiguration$ = EnableKinesisStreamingConfiguration$;\nexports.EnableKinesisStreamingDestination$ = EnableKinesisStreamingDestination$;\nexports.EnableKinesisStreamingDestinationCommand = EnableKinesisStreamingDestinationCommand;\nexports.Endpoint$ = Endpoint$;\nexports.ExecuteStatement$ = ExecuteStatement$;\nexports.ExecuteStatementCommand = ExecuteStatementCommand;\nexports.ExecuteStatementInput$ = ExecuteStatementInput$;\nexports.ExecuteStatementOutput$ = ExecuteStatementOutput$;\nexports.ExecuteTransaction$ = ExecuteTransaction$;\nexports.ExecuteTransactionCommand = ExecuteTransactionCommand;\nexports.ExecuteTransactionInput$ = ExecuteTransactionInput$;\nexports.ExecuteTransactionOutput$ = ExecuteTransactionOutput$;\nexports.ExpectedAttributeValue$ = ExpectedAttributeValue$;\nexports.ExportConflictException = ExportConflictException;\nexports.ExportConflictException$ = ExportConflictException$;\nexports.ExportDescription$ = ExportDescription$;\nexports.ExportFormat = ExportFormat;\nexports.ExportNotFoundException = ExportNotFoundException;\nexports.ExportNotFoundException$ = ExportNotFoundException$;\nexports.ExportStatus = ExportStatus;\nexports.ExportSummary$ = ExportSummary$;\nexports.ExportTableToPointInTime$ = ExportTableToPointInTime$;\nexports.ExportTableToPointInTimeCommand = ExportTableToPointInTimeCommand;\nexports.ExportTableToPointInTimeInput$ = ExportTableToPointInTimeInput$;\nexports.ExportTableToPointInTimeOutput$ = ExportTableToPointInTimeOutput$;\nexports.ExportType = ExportType;\nexports.ExportViewType = ExportViewType;\nexports.FailureException$ = FailureException$;\nexports.FilterSpecification$ = FilterSpecification$;\nexports.Get$ = Get$;\nexports.GetItem$ = GetItem$;\nexports.GetItemCommand = GetItemCommand;\nexports.GetItemInput$ = GetItemInput$;\nexports.GetItemOutput$ = GetItemOutput$;\nexports.GetResourcePolicy$ = GetResourcePolicy$;\nexports.GetResourcePolicyCommand = GetResourcePolicyCommand;\nexports.GetResourcePolicyInput$ = GetResourcePolicyInput$;\nexports.GetResourcePolicyOutput$ = GetResourcePolicyOutput$;\nexports.GlobalSecondaryIndex$ = GlobalSecondaryIndex$;\nexports.GlobalSecondaryIndexAutoScalingUpdate$ = GlobalSecondaryIndexAutoScalingUpdate$;\nexports.GlobalSecondaryIndexDescription$ = GlobalSecondaryIndexDescription$;\nexports.GlobalSecondaryIndexInfo$ = GlobalSecondaryIndexInfo$;\nexports.GlobalSecondaryIndexUpdate$ = GlobalSecondaryIndexUpdate$;\nexports.GlobalSecondaryIndexWarmThroughputDescription$ = GlobalSecondaryIndexWarmThroughputDescription$;\nexports.GlobalTable$ = GlobalTable$;\nexports.GlobalTableAlreadyExistsException = GlobalTableAlreadyExistsException;\nexports.GlobalTableAlreadyExistsException$ = GlobalTableAlreadyExistsException$;\nexports.GlobalTableDescription$ = GlobalTableDescription$;\nexports.GlobalTableGlobalSecondaryIndexSettingsUpdate$ = GlobalTableGlobalSecondaryIndexSettingsUpdate$;\nexports.GlobalTableNotFoundException = GlobalTableNotFoundException;\nexports.GlobalTableNotFoundException$ = GlobalTableNotFoundException$;\nexports.GlobalTableSettingsReplicationMode = GlobalTableSettingsReplicationMode;\nexports.GlobalTableStatus = GlobalTableStatus;\nexports.GlobalTableWitnessDescription$ = GlobalTableWitnessDescription$;\nexports.GlobalTableWitnessGroupUpdate$ = GlobalTableWitnessGroupUpdate$;\nexports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;\nexports.IdempotentParameterMismatchException$ = IdempotentParameterMismatchException$;\nexports.ImportConflictException = ImportConflictException;\nexports.ImportConflictException$ = ImportConflictException$;\nexports.ImportNotFoundException = ImportNotFoundException;\nexports.ImportNotFoundException$ = ImportNotFoundException$;\nexports.ImportStatus = ImportStatus;\nexports.ImportSummary$ = ImportSummary$;\nexports.ImportTable$ = ImportTable$;\nexports.ImportTableCommand = ImportTableCommand;\nexports.ImportTableDescription$ = ImportTableDescription$;\nexports.ImportTableInput$ = ImportTableInput$;\nexports.ImportTableOutput$ = ImportTableOutput$;\nexports.IncrementalExportSpecification$ = IncrementalExportSpecification$;\nexports.IndexNotFoundException = IndexNotFoundException;\nexports.IndexNotFoundException$ = IndexNotFoundException$;\nexports.IndexStatus = IndexStatus;\nexports.InputCompressionType = InputCompressionType;\nexports.InputFormat = InputFormat;\nexports.InputFormatOptions$ = InputFormatOptions$;\nexports.InternalServerError = InternalServerError;\nexports.InternalServerError$ = InternalServerError$;\nexports.InvalidEndpointException = InvalidEndpointException;\nexports.InvalidEndpointException$ = InvalidEndpointException$;\nexports.InvalidExportTimeException = InvalidExportTimeException;\nexports.InvalidExportTimeException$ = InvalidExportTimeException$;\nexports.InvalidRestoreTimeException = InvalidRestoreTimeException;\nexports.InvalidRestoreTimeException$ = InvalidRestoreTimeException$;\nexports.ItemCollectionMetrics$ = ItemCollectionMetrics$;\nexports.ItemCollectionSizeLimitExceededException = ItemCollectionSizeLimitExceededException;\nexports.ItemCollectionSizeLimitExceededException$ = ItemCollectionSizeLimitExceededException$;\nexports.ItemResponse$ = ItemResponse$;\nexports.KeySchemaElement$ = KeySchemaElement$;\nexports.KeyType = KeyType;\nexports.KeysAndAttributes$ = KeysAndAttributes$;\nexports.KinesisDataStreamDestination$ = KinesisDataStreamDestination$;\nexports.KinesisStreamingDestinationInput$ = KinesisStreamingDestinationInput$;\nexports.KinesisStreamingDestinationOutput$ = KinesisStreamingDestinationOutput$;\nexports.LimitExceededException = LimitExceededException;\nexports.LimitExceededException$ = LimitExceededException$;\nexports.ListBackups$ = ListBackups$;\nexports.ListBackupsCommand = ListBackupsCommand;\nexports.ListBackupsInput$ = ListBackupsInput$;\nexports.ListBackupsOutput$ = ListBackupsOutput$;\nexports.ListContributorInsights$ = ListContributorInsights$;\nexports.ListContributorInsightsCommand = ListContributorInsightsCommand;\nexports.ListContributorInsightsInput$ = ListContributorInsightsInput$;\nexports.ListContributorInsightsOutput$ = ListContributorInsightsOutput$;\nexports.ListExports$ = ListExports$;\nexports.ListExportsCommand = ListExportsCommand;\nexports.ListExportsInput$ = ListExportsInput$;\nexports.ListExportsOutput$ = ListExportsOutput$;\nexports.ListGlobalTables$ = ListGlobalTables$;\nexports.ListGlobalTablesCommand = ListGlobalTablesCommand;\nexports.ListGlobalTablesInput$ = ListGlobalTablesInput$;\nexports.ListGlobalTablesOutput$ = ListGlobalTablesOutput$;\nexports.ListImports$ = ListImports$;\nexports.ListImportsCommand = ListImportsCommand;\nexports.ListImportsInput$ = ListImportsInput$;\nexports.ListImportsOutput$ = ListImportsOutput$;\nexports.ListTables$ = ListTables$;\nexports.ListTablesCommand = ListTablesCommand;\nexports.ListTablesInput$ = ListTablesInput$;\nexports.ListTablesOutput$ = ListTablesOutput$;\nexports.ListTagsOfResource$ = ListTagsOfResource$;\nexports.ListTagsOfResourceCommand = ListTagsOfResourceCommand;\nexports.ListTagsOfResourceInput$ = ListTagsOfResourceInput$;\nexports.ListTagsOfResourceOutput$ = ListTagsOfResourceOutput$;\nexports.LocalSecondaryIndex$ = LocalSecondaryIndex$;\nexports.LocalSecondaryIndexDescription$ = LocalSecondaryIndexDescription$;\nexports.LocalSecondaryIndexInfo$ = LocalSecondaryIndexInfo$;\nexports.MultiRegionConsistency = MultiRegionConsistency;\nexports.OnDemandThroughput$ = OnDemandThroughput$;\nexports.OnDemandThroughputOverride$ = OnDemandThroughputOverride$;\nexports.ParameterizedStatement$ = ParameterizedStatement$;\nexports.PointInTimeRecoveryDescription$ = PointInTimeRecoveryDescription$;\nexports.PointInTimeRecoverySpecification$ = PointInTimeRecoverySpecification$;\nexports.PointInTimeRecoveryStatus = PointInTimeRecoveryStatus;\nexports.PointInTimeRecoveryUnavailableException = PointInTimeRecoveryUnavailableException;\nexports.PointInTimeRecoveryUnavailableException$ = PointInTimeRecoveryUnavailableException$;\nexports.PolicyNotFoundException = PolicyNotFoundException;\nexports.PolicyNotFoundException$ = PolicyNotFoundException$;\nexports.Projection$ = Projection$;\nexports.ProjectionType = ProjectionType;\nexports.ProvisionedThroughput$ = ProvisionedThroughput$;\nexports.ProvisionedThroughputDescription$ = ProvisionedThroughputDescription$;\nexports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException;\nexports.ProvisionedThroughputExceededException$ = ProvisionedThroughputExceededException$;\nexports.ProvisionedThroughputOverride$ = ProvisionedThroughputOverride$;\nexports.Put$ = Put$;\nexports.PutItem$ = PutItem$;\nexports.PutItemCommand = PutItemCommand;\nexports.PutItemInput$ = PutItemInput$;\nexports.PutItemOutput$ = PutItemOutput$;\nexports.PutRequest$ = PutRequest$;\nexports.PutResourcePolicy$ = PutResourcePolicy$;\nexports.PutResourcePolicyCommand = PutResourcePolicyCommand;\nexports.PutResourcePolicyInput$ = PutResourcePolicyInput$;\nexports.PutResourcePolicyOutput$ = PutResourcePolicyOutput$;\nexports.Query$ = Query$;\nexports.QueryCommand = QueryCommand;\nexports.QueryInput$ = QueryInput$;\nexports.QueryOutput$ = QueryOutput$;\nexports.Replica$ = Replica$;\nexports.ReplicaAlreadyExistsException = ReplicaAlreadyExistsException;\nexports.ReplicaAlreadyExistsException$ = ReplicaAlreadyExistsException$;\nexports.ReplicaAutoScalingDescription$ = ReplicaAutoScalingDescription$;\nexports.ReplicaAutoScalingUpdate$ = ReplicaAutoScalingUpdate$;\nexports.ReplicaDescription$ = ReplicaDescription$;\nexports.ReplicaGlobalSecondaryIndex$ = ReplicaGlobalSecondaryIndex$;\nexports.ReplicaGlobalSecondaryIndexAutoScalingDescription$ = ReplicaGlobalSecondaryIndexAutoScalingDescription$;\nexports.ReplicaGlobalSecondaryIndexAutoScalingUpdate$ = ReplicaGlobalSecondaryIndexAutoScalingUpdate$;\nexports.ReplicaGlobalSecondaryIndexDescription$ = ReplicaGlobalSecondaryIndexDescription$;\nexports.ReplicaGlobalSecondaryIndexSettingsDescription$ = ReplicaGlobalSecondaryIndexSettingsDescription$;\nexports.ReplicaGlobalSecondaryIndexSettingsUpdate$ = ReplicaGlobalSecondaryIndexSettingsUpdate$;\nexports.ReplicaNotFoundException = ReplicaNotFoundException;\nexports.ReplicaNotFoundException$ = ReplicaNotFoundException$;\nexports.ReplicaSettingsDescription$ = ReplicaSettingsDescription$;\nexports.ReplicaSettingsUpdate$ = ReplicaSettingsUpdate$;\nexports.ReplicaStatus = ReplicaStatus;\nexports.ReplicaUpdate$ = ReplicaUpdate$;\nexports.ReplicatedWriteConflictException = ReplicatedWriteConflictException;\nexports.ReplicatedWriteConflictException$ = ReplicatedWriteConflictException$;\nexports.ReplicationGroupUpdate$ = ReplicationGroupUpdate$;\nexports.RequestLimitExceeded = RequestLimitExceeded;\nexports.RequestLimitExceeded$ = RequestLimitExceeded$;\nexports.ResourceInUseException = ResourceInUseException;\nexports.ResourceInUseException$ = ResourceInUseException$;\nexports.ResourceNotFoundException = ResourceNotFoundException;\nexports.ResourceNotFoundException$ = ResourceNotFoundException$;\nexports.RestoreSummary$ = RestoreSummary$;\nexports.RestoreTableFromBackup$ = RestoreTableFromBackup$;\nexports.RestoreTableFromBackupCommand = RestoreTableFromBackupCommand;\nexports.RestoreTableFromBackupInput$ = RestoreTableFromBackupInput$;\nexports.RestoreTableFromBackupOutput$ = RestoreTableFromBackupOutput$;\nexports.RestoreTableToPointInTime$ = RestoreTableToPointInTime$;\nexports.RestoreTableToPointInTimeCommand = RestoreTableToPointInTimeCommand;\nexports.RestoreTableToPointInTimeInput$ = RestoreTableToPointInTimeInput$;\nexports.RestoreTableToPointInTimeOutput$ = RestoreTableToPointInTimeOutput$;\nexports.ReturnConsumedCapacity = ReturnConsumedCapacity;\nexports.ReturnItemCollectionMetrics = ReturnItemCollectionMetrics;\nexports.ReturnValue = ReturnValue;\nexports.ReturnValuesOnConditionCheckFailure = ReturnValuesOnConditionCheckFailure;\nexports.S3BucketSource$ = S3BucketSource$;\nexports.S3SseAlgorithm = S3SseAlgorithm;\nexports.SSEDescription$ = SSEDescription$;\nexports.SSESpecification$ = SSESpecification$;\nexports.SSEStatus = SSEStatus;\nexports.SSEType = SSEType;\nexports.ScalarAttributeType = ScalarAttributeType;\nexports.Scan$ = Scan$;\nexports.ScanCommand = ScanCommand;\nexports.ScanInput$ = ScanInput$;\nexports.ScanOutput$ = ScanOutput$;\nexports.SearchResultItem$ = SearchResultItem$;\nexports.SearchSchemaElement$ = SearchSchemaElement$;\nexports.SearchSchemaElementType = SearchSchemaElementType;\nexports.SearchVectors$ = SearchVectors$;\nexports.SearchVectorsCommand = SearchVectorsCommand;\nexports.SearchVectorsInput$ = SearchVectorsInput$;\nexports.SearchVectorsOutput$ = SearchVectorsOutput$;\nexports.Select = Select;\nexports.SourceTableDetails$ = SourceTableDetails$;\nexports.SourceTableFeatureDetails$ = SourceTableFeatureDetails$;\nexports.StreamSpecification$ = StreamSpecification$;\nexports.StreamViewType = StreamViewType;\nexports.TableAlreadyExistsException = TableAlreadyExistsException;\nexports.TableAlreadyExistsException$ = TableAlreadyExistsException$;\nexports.TableAutoScalingDescription$ = TableAutoScalingDescription$;\nexports.TableClass = TableClass;\nexports.TableClassSummary$ = TableClassSummary$;\nexports.TableCreationParameters$ = TableCreationParameters$;\nexports.TableDescription$ = TableDescription$;\nexports.TableInUseException = TableInUseException;\nexports.TableInUseException$ = TableInUseException$;\nexports.TableNotFoundException = TableNotFoundException;\nexports.TableNotFoundException$ = TableNotFoundException$;\nexports.TableStatus = TableStatus;\nexports.TableWarmThroughputDescription$ = TableWarmThroughputDescription$;\nexports.Tag$ = Tag$;\nexports.TagResource$ = TagResource$;\nexports.TagResourceCommand = TagResourceCommand;\nexports.TagResourceInput$ = TagResourceInput$;\nexports.ThrottlingException = ThrottlingException;\nexports.ThrottlingException$ = ThrottlingException$;\nexports.ThrottlingReason$ = ThrottlingReason$;\nexports.TimeToLiveDescription$ = TimeToLiveDescription$;\nexports.TimeToLiveSpecification$ = TimeToLiveSpecification$;\nexports.TimeToLiveStatus = TimeToLiveStatus;\nexports.TransactGetItem$ = TransactGetItem$;\nexports.TransactGetItems$ = TransactGetItems$;\nexports.TransactGetItemsCommand = TransactGetItemsCommand;\nexports.TransactGetItemsInput$ = TransactGetItemsInput$;\nexports.TransactGetItemsOutput$ = TransactGetItemsOutput$;\nexports.TransactWriteItem$ = TransactWriteItem$;\nexports.TransactWriteItems$ = TransactWriteItems$;\nexports.TransactWriteItemsCommand = TransactWriteItemsCommand;\nexports.TransactWriteItemsInput$ = TransactWriteItemsInput$;\nexports.TransactWriteItemsOutput$ = TransactWriteItemsOutput$;\nexports.TransactionCanceledException = TransactionCanceledException;\nexports.TransactionCanceledException$ = TransactionCanceledException$;\nexports.TransactionConflictException = TransactionConflictException;\nexports.TransactionConflictException$ = TransactionConflictException$;\nexports.TransactionInProgressException = TransactionInProgressException;\nexports.TransactionInProgressException$ = TransactionInProgressException$;\nexports.UntagResource$ = UntagResource$;\nexports.UntagResourceCommand = UntagResourceCommand;\nexports.UntagResourceInput$ = UntagResourceInput$;\nexports.Update$ = Update$;\nexports.UpdateContinuousBackups$ = UpdateContinuousBackups$;\nexports.UpdateContinuousBackupsCommand = UpdateContinuousBackupsCommand;\nexports.UpdateContinuousBackupsInput$ = UpdateContinuousBackupsInput$;\nexports.UpdateContinuousBackupsOutput$ = UpdateContinuousBackupsOutput$;\nexports.UpdateContributorInsights$ = UpdateContributorInsights$;\nexports.UpdateContributorInsightsCommand = UpdateContributorInsightsCommand;\nexports.UpdateContributorInsightsInput$ = UpdateContributorInsightsInput$;\nexports.UpdateContributorInsightsOutput$ = UpdateContributorInsightsOutput$;\nexports.UpdateGlobalSecondaryIndexAction$ = UpdateGlobalSecondaryIndexAction$;\nexports.UpdateGlobalTable$ = UpdateGlobalTable$;\nexports.UpdateGlobalTableCommand = UpdateGlobalTableCommand;\nexports.UpdateGlobalTableInput$ = UpdateGlobalTableInput$;\nexports.UpdateGlobalTableOutput$ = UpdateGlobalTableOutput$;\nexports.UpdateGlobalTableSettings$ = UpdateGlobalTableSettings$;\nexports.UpdateGlobalTableSettingsCommand = UpdateGlobalTableSettingsCommand;\nexports.UpdateGlobalTableSettingsInput$ = UpdateGlobalTableSettingsInput$;\nexports.UpdateGlobalTableSettingsOutput$ = UpdateGlobalTableSettingsOutput$;\nexports.UpdateItem$ = UpdateItem$;\nexports.UpdateItemCommand = UpdateItemCommand;\nexports.UpdateItemInput$ = UpdateItemInput$;\nexports.UpdateItemOutput$ = UpdateItemOutput$;\nexports.UpdateKinesisStreamingConfiguration$ = UpdateKinesisStreamingConfiguration$;\nexports.UpdateKinesisStreamingDestination$ = UpdateKinesisStreamingDestination$;\nexports.UpdateKinesisStreamingDestinationCommand = UpdateKinesisStreamingDestinationCommand;\nexports.UpdateKinesisStreamingDestinationInput$ = UpdateKinesisStreamingDestinationInput$;\nexports.UpdateKinesisStreamingDestinationOutput$ = UpdateKinesisStreamingDestinationOutput$;\nexports.UpdateReplicationGroupMemberAction$ = UpdateReplicationGroupMemberAction$;\nexports.UpdateTable$ = UpdateTable$;\nexports.UpdateTableCommand = UpdateTableCommand;\nexports.UpdateTableInput$ = UpdateTableInput$;\nexports.UpdateTableOutput$ = UpdateTableOutput$;\nexports.UpdateTableReplicaAutoScaling$ = UpdateTableReplicaAutoScaling$;\nexports.UpdateTableReplicaAutoScalingCommand = UpdateTableReplicaAutoScalingCommand;\nexports.UpdateTableReplicaAutoScalingInput$ = UpdateTableReplicaAutoScalingInput$;\nexports.UpdateTableReplicaAutoScalingOutput$ = UpdateTableReplicaAutoScalingOutput$;\nexports.UpdateTimeToLive$ = UpdateTimeToLive$;\nexports.UpdateTimeToLiveCommand = UpdateTimeToLiveCommand;\nexports.UpdateTimeToLiveInput$ = UpdateTimeToLiveInput$;\nexports.UpdateTimeToLiveOutput$ = UpdateTimeToLiveOutput$;\nexports.VectorAttributeDefinition$ = VectorAttributeDefinition$;\nexports.VectorCapacity$ = VectorCapacity$;\nexports.VectorDistanceFunction = VectorDistanceFunction;\nexports.VectorIndex$ = VectorIndex$;\nexports.VectorIndexDescription$ = VectorIndexDescription$;\nexports.VectorIndexInfo$ = VectorIndexInfo$;\nexports.VectorIndexUpdate$ = VectorIndexUpdate$;\nexports.WarmThroughput$ = WarmThroughput$;\nexports.WitnessStatus = WitnessStatus;\nexports.WriteRequest$ = WriteRequest$;\nexports.errorTypeRegistries = errorTypeRegistries;\nexports.paginateListContributorInsights = paginateListContributorInsights;\nexports.paginateListExports = paginateListExports;\nexports.paginateListImports = paginateListImports;\nexports.paginateListTables = paginateListTables;\nexports.paginateQuery = paginateQuery;\nexports.paginateScan = paginateScan;\nexports.waitForContributorInsightsEnabled = waitForContributorInsightsEnabled;\nexports.waitForExportCompleted = waitForExportCompleted;\nexports.waitForImportCompleted = waitForImportCompleted;\nexports.waitForKinesisStreamingDestinationActive = waitForKinesisStreamingDestinationActive;\nexports.waitForTableExists = waitForTableExists;\nexports.waitForTableNotExists = waitForTableNotExists;\nexports.waitUntilContributorInsightsEnabled = waitUntilContributorInsightsEnabled;\nexports.waitUntilExportCompleted = waitUntilExportCompleted;\nexports.waitUntilImportCompleted = waitUntilImportCompleted;\nexports.waitUntilKinesisStreamingDestinationActive = waitUntilKinesisStreamingDestinationActive;\nexports.waitUntilTableExists = waitUntilTableExists;\nexports.waitUntilTableNotExists = waitUntilTableNotExists;\n","class NumberValue {\n value;\n constructor(value) {\n if (typeof value === \"object\" && \"N\" in value) {\n this.value = String(value.N);\n }\n else {\n this.value = String(value);\n }\n const valueOf = typeof value.valueOf() === \"number\" ? value.valueOf() : 0;\n const imprecise = valueOf > Number.MAX_SAFE_INTEGER ||\n valueOf < Number.MIN_SAFE_INTEGER ||\n Math.abs(valueOf) === Infinity ||\n Number.isNaN(valueOf);\n if (imprecise) {\n throw new Error(`NumberValue should not be initialized with an imprecise number=${valueOf}. Use a string instead.`);\n }\n }\n static from(value) {\n return new NumberValue(value);\n }\n toAttributeValue() {\n return {\n N: this.toString(),\n };\n }\n toBigInt() {\n const stringValue = this.toString();\n return BigInt(stringValue);\n }\n toString() {\n return String(this.value);\n }\n valueOf() {\n return this.toString();\n }\n}\n\nconst convertToAttr = (data, options) => {\n if (data === undefined) {\n throw new Error(`Pass options.removeUndefinedValues=true to remove undefined values from map/array/set.`);\n }\n else if (data === null && typeof data === \"object\") {\n return convertToNullAttr();\n }\n else if (Array.isArray(data)) {\n return convertToListAttr(data, options);\n }\n else if (data?.constructor?.name === \"Set\") {\n return convertToSetAttr(data, options);\n }\n else if (data?.constructor?.name === \"Map\") {\n return convertToMapAttrFromIterable(data, options);\n }\n else if (data?.constructor?.name === \"Object\" ||\n (!data.constructor && typeof data === \"object\")) {\n return convertToMapAttrFromEnumerableProps(data, options);\n }\n else if (isBinary(data)) {\n if (data.length === 0 && options?.convertEmptyValues) {\n return convertToNullAttr();\n }\n return convertToBinaryAttr(data);\n }\n else if (typeof data === \"boolean\" || data?.constructor?.name === \"Boolean\") {\n return { BOOL: data.valueOf() };\n }\n else if (typeof data === \"number\" || data?.constructor?.name === \"Number\") {\n return convertToNumberAttr(data, options);\n }\n else if (data instanceof NumberValue) {\n return data.toAttributeValue();\n }\n else if (typeof data === \"bigint\") {\n return convertToBigIntAttr(data);\n }\n else if (typeof data === \"string\" || data?.constructor?.name === \"String\") {\n if (data.length === 0 && options?.convertEmptyValues) {\n return convertToNullAttr();\n }\n return convertToStringAttr(data);\n }\n else if (options?.convertClassInstanceToMap && typeof data === \"object\") {\n return convertToMapAttrFromEnumerableProps(data, options);\n }\n throw new Error(`Unsupported type passed: ${data}. Pass options.convertClassInstanceToMap=true to marshall typeof object as map attribute.`);\n};\nconst convertToListAttr = (data, options) => ({\n L: data\n .filter((item) => typeof item !== \"function\" &&\n (!options?.removeUndefinedValues || (options?.removeUndefinedValues && item !== undefined)))\n .map((item) => convertToAttr(item, options)),\n});\nconst convertToSetAttr = (set, options) => {\n const setToOperate = options?.removeUndefinedValues ? new Set([...set].filter((value) => value !== undefined)) : set;\n if (!options?.removeUndefinedValues && setToOperate.has(undefined)) {\n throw new Error(`Pass options.removeUndefinedValues=true to remove undefined values from map/array/set.`);\n }\n if (setToOperate.size === 0) {\n if (options?.convertEmptyValues) {\n return convertToNullAttr();\n }\n throw new Error(`Pass a non-empty set, or options.convertEmptyValues=true.`);\n }\n const item = setToOperate.values().next().value;\n if (item instanceof NumberValue) {\n return {\n NS: Array.from(setToOperate).map((_) => _.toString()),\n };\n }\n else if (typeof item === \"number\") {\n return {\n NS: Array.from(setToOperate)\n .map((num) => convertToNumberAttr(num, options))\n .map((item) => item.N),\n };\n }\n else if (typeof item === \"bigint\") {\n return {\n NS: Array.from(setToOperate)\n .map(convertToBigIntAttr)\n .map((item) => item.N),\n };\n }\n else if (typeof item === \"string\") {\n return {\n SS: Array.from(setToOperate)\n .map(convertToStringAttr)\n .map((item) => item.S),\n };\n }\n else if (isBinary(item)) {\n return {\n BS: Array.from(setToOperate)\n .map(convertToBinaryAttr)\n .map((item) => item.B),\n };\n }\n else {\n throw new Error(`Only Number Set (NS), Binary Set (BS) or String Set (SS) are allowed.`);\n }\n};\nconst convertToMapAttrFromIterable = (data, options) => ({\n M: ((data) => {\n const map = {};\n for (const [key, value] of data) {\n if (typeof value !== \"function\" && (value !== undefined || !options?.removeUndefinedValues)) {\n map[key] = convertToAttr(value, options);\n }\n }\n return map;\n })(data),\n});\nconst convertToMapAttrFromEnumerableProps = (data, options) => ({\n M: ((data) => {\n const map = {};\n for (const key in data) {\n const value = data[key];\n if (typeof value !== \"function\" && (value !== undefined || !options?.removeUndefinedValues)) {\n map[key] = convertToAttr(value, options);\n }\n }\n return map;\n })(data),\n});\nconst convertToNullAttr = () => ({ NULL: true });\nconst convertToBinaryAttr = (data) => ({ B: data });\nconst convertToStringAttr = (data) => ({ S: data.toString() });\nconst convertToBigIntAttr = (data) => ({ N: data.toString() });\nconst validateBigIntAndThrow = (errorPrefix) => {\n throw new Error(`${errorPrefix} Use NumberValue from @aws-sdk/lib-dynamodb.`);\n};\nconst convertToNumberAttr = (num, options) => {\n if ([Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY]\n .map((val) => val.toString())\n .includes(num.toString())) {\n throw new Error(`Special numeric value ${num.toString()} is not allowed`);\n }\n else if (!options?.allowImpreciseNumbers) {\n if (Number(num) > Number.MAX_SAFE_INTEGER) {\n validateBigIntAndThrow(`Number ${num.toString()} is greater than Number.MAX_SAFE_INTEGER.`);\n }\n else if (Number(num) < Number.MIN_SAFE_INTEGER) {\n validateBigIntAndThrow(`Number ${num.toString()} is lesser than Number.MIN_SAFE_INTEGER.`);\n }\n }\n return { N: num.toString() };\n};\nconst isBinary = (data) => {\n const binaryTypes = [\n \"ArrayBuffer\",\n \"Blob\",\n \"Buffer\",\n \"DataView\",\n \"File\",\n \"Int8Array\",\n \"Uint8Array\",\n \"Uint8ClampedArray\",\n \"Int16Array\",\n \"Uint16Array\",\n \"Int32Array\",\n \"Uint32Array\",\n \"Float32Array\",\n \"Float64Array\",\n \"BigInt64Array\",\n \"BigUint64Array\",\n ];\n if (data?.constructor) {\n return binaryTypes.includes(data.constructor.name);\n }\n return false;\n};\n\nconst convertToNative = (data, options) => {\n for (const [key, value] of Object.entries(data)) {\n if (value !== undefined) {\n switch (key) {\n case \"NULL\":\n return null;\n case \"BOOL\":\n return Boolean(value);\n case \"N\":\n return convertNumber(value, options);\n case \"B\":\n return convertBinary(value);\n case \"S\":\n return convertString(value);\n case \"L\":\n return convertList(value, options);\n case \"M\":\n return convertMap(value, options);\n case \"NS\":\n return new Set(value.map((item) => convertNumber(item, options)));\n case \"BS\":\n return new Set(value.map(convertBinary));\n case \"SS\":\n return new Set(value.map(convertString));\n default:\n throw new Error(`Unsupported type passed: ${key}`);\n }\n }\n }\n throw new Error(`No value defined: ${JSON.stringify(data)}`);\n};\nconst convertNumber = (numString, options) => {\n if (typeof options?.wrapNumbers === \"function\") {\n return options?.wrapNumbers(numString);\n }\n if (options?.wrapNumbers) {\n return NumberValue.from(numString);\n }\n const num = Number(numString);\n const infinityValues = [Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY];\n const isLargeFiniteNumber = (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) && !infinityValues.includes(num);\n if (isLargeFiniteNumber) {\n if (typeof BigInt === \"function\") {\n try {\n return BigInt(numString);\n }\n catch (error) {\n throw new Error(`${numString} can't be converted to BigInt. Set options.wrapNumbers to get string value.`);\n }\n }\n else {\n throw new Error(`${numString} is outside SAFE_INTEGER bounds. Set options.wrapNumbers to get string value.`);\n }\n }\n return num;\n};\nconst convertString = (stringValue) => stringValue;\nconst convertBinary = (binaryValue) => binaryValue;\nconst convertList = (list, options) => list.map((item) => convertToNative(item, options));\nconst convertMap = (map, options) => Object.entries(map).reduce((acc, [key, value]) => ((acc[key] = convertToNative(value, options)),\n acc), {});\n\nfunction marshall(data, options) {\n const attributeValue = convertToAttr(data, options);\n const [key, value] = Object.entries(attributeValue)[0];\n switch (key) {\n case \"M\":\n case \"L\":\n return options?.convertTopLevelContainer ? attributeValue : value;\n case \"SS\":\n case \"NS\":\n case \"BS\":\n case \"S\":\n case \"N\":\n case \"B\":\n case \"NULL\":\n case \"BOOL\":\n case \"$unknown\":\n default:\n return attributeValue;\n }\n}\n\nconst unmarshall = (data, options) => {\n if (options?.convertWithoutMapWrapper) {\n return convertToNative(data, options);\n }\n return convertToNative({ M: data }, options);\n};\n\nexports.NumberValueImpl = NumberValue;\nexports.convertToAttr = convertToAttr;\nexports.convertToNative = convertToNative;\nexports.marshall = marshall;\nexports.unmarshall = unmarshall;\n","import type { JsonValue } from \"@eutaxy/core\";\n\n/** Reduce any runtime value to JSON data for the effect log; never throws. */\nexport function toJson(value: unknown, depth = 0): JsonValue {\n if (value === null || value === undefined) return null;\n switch (typeof value) {\n case \"boolean\":\n case \"string\":\n return value;\n case \"number\":\n return Number.isFinite(value) ? value : String(value);\n case \"bigint\":\n return value.toString();\n case \"object\": {\n if (depth > 10) return \"<nested>\";\n if (Array.isArray(value)) return value.map((v) => toJson(v, depth + 1));\n if (value instanceof Uint8Array) return `base64:${Buffer.from(value).toString(\"base64\")}`;\n if (value instanceof Date) return value.toISOString();\n if (value instanceof Set) return [...value].map((v) => toJson(v, depth + 1));\n const out: Record<string, JsonValue> = {};\n for (const k of Object.keys(value).sort())\n out[k] = toJson((value as Record<string, unknown>)[k], depth + 1);\n return out;\n }\n default:\n return `<${typeof value}>`;\n }\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createAggregatedClient = exports.convertMap = exports._json = exports.ServiceException = exports.SENSITIVE_STRING = exports.NoOpLogger = exports.Command = exports.Client = exports.strictParseShort = exports.strictParseLong = exports.strictParseInt32 = exports.strictParseInt = exports.strictParseFloat32 = exports.strictParseFloat = exports.strictParseDouble = exports.strictParseByte = exports.splitHeader = exports.splitEvery = exports.quoteHeader = exports.parseRfc7231DateTime = exports.parseRfc3339DateTimeWithOffset = exports.parseRfc3339DateTime = exports.parseEpochTimestamp = exports.parseBoolean = exports.nv = exports.logger = exports.limitedParseFloat32 = exports.limitedParseFloat = exports.limitedParseDouble = exports.handleFloat = exports.generateIdempotencyToken = exports.expectUnion = exports.expectString = exports.expectShort = exports.expectObject = exports.expectNumber = exports.expectNonNull = exports.expectLong = exports.expectInt32 = exports.expectInt = exports.expectFloat32 = exports.expectByte = exports.expectBoolean = exports.dateToUtcString = exports.copyDocumentWithTransform = exports._parseRfc7231DateTime = exports._parseRfc3339DateTimeWithOffset = exports._parseEpochTimestamp = exports.NumericValue = exports.LazyJsonString = void 0;\nexports.resolvedPath = exports.extendedEncodeURIComponent = exports.collectBody = exports.withBaseException = exports.throwDefaultError = exports.take = exports.serializeFloat = exports.serializeDateTime = exports.resolveDefaultRuntimeConfig = exports.map = exports.loadConfigsForDefaultMode = exports.isSerializableHeaderValue = exports.getValueFromTextNode = exports.getDefaultExtensionConfiguration = exports.getDefaultClientConfiguration = exports.getArrayIfSingleItem = exports.emitWarningIfUnsupportedVersion = exports.decorateServiceException = void 0;\nvar serde_1 = require(\"@smithy/core/serde\");\nObject.defineProperty(exports, \"LazyJsonString\", { enumerable: true, get: function () { return serde_1.LazyJsonString; } });\nObject.defineProperty(exports, \"NumericValue\", { enumerable: true, get: function () { return serde_1.NumericValue; } });\nObject.defineProperty(exports, \"_parseEpochTimestamp\", { enumerable: true, get: function () { return serde_1._parseEpochTimestamp; } });\nObject.defineProperty(exports, \"_parseRfc3339DateTimeWithOffset\", { enumerable: true, get: function () { return serde_1._parseRfc3339DateTimeWithOffset; } });\nObject.defineProperty(exports, \"_parseRfc7231DateTime\", { enumerable: true, get: function () { return serde_1._parseRfc7231DateTime; } });\nObject.defineProperty(exports, \"copyDocumentWithTransform\", { enumerable: true, get: function () { return serde_1.copyDocumentWithTransform; } });\nObject.defineProperty(exports, \"dateToUtcString\", { enumerable: true, get: function () { return serde_1.dateToUtcString; } });\nObject.defineProperty(exports, \"expectBoolean\", { enumerable: true, get: function () { return serde_1.expectBoolean; } });\nObject.defineProperty(exports, \"expectByte\", { enumerable: true, get: function () { return serde_1.expectByte; } });\nObject.defineProperty(exports, \"expectFloat32\", { enumerable: true, get: function () { return serde_1.expectFloat32; } });\nObject.defineProperty(exports, \"expectInt\", { enumerable: true, get: function () { return serde_1.expectInt; } });\nObject.defineProperty(exports, \"expectInt32\", { enumerable: true, get: function () { return serde_1.expectInt32; } });\nObject.defineProperty(exports, \"expectLong\", { enumerable: true, get: function () { return serde_1.expectLong; } });\nObject.defineProperty(exports, \"expectNonNull\", { enumerable: true, get: function () { return serde_1.expectNonNull; } });\nObject.defineProperty(exports, \"expectNumber\", { enumerable: true, get: function () { return serde_1.expectNumber; } });\nObject.defineProperty(exports, \"expectObject\", { enumerable: true, get: function () { return serde_1.expectObject; } });\nObject.defineProperty(exports, \"expectShort\", { enumerable: true, get: function () { return serde_1.expectShort; } });\nObject.defineProperty(exports, \"expectString\", { enumerable: true, get: function () { return serde_1.expectString; } });\nObject.defineProperty(exports, \"expectUnion\", { enumerable: true, get: function () { return serde_1.expectUnion; } });\nObject.defineProperty(exports, \"generateIdempotencyToken\", { enumerable: true, get: function () { return serde_1.generateIdempotencyToken; } });\nObject.defineProperty(exports, \"handleFloat\", { enumerable: true, get: function () { return serde_1.handleFloat; } });\nObject.defineProperty(exports, \"limitedParseDouble\", { enumerable: true, get: function () { return serde_1.limitedParseDouble; } });\nObject.defineProperty(exports, \"limitedParseFloat\", { enumerable: true, get: function () { return serde_1.limitedParseFloat; } });\nObject.defineProperty(exports, \"limitedParseFloat32\", { enumerable: true, get: function () { return serde_1.limitedParseFloat32; } });\nObject.defineProperty(exports, \"logger\", { enumerable: true, get: function () { return serde_1.logger; } });\nObject.defineProperty(exports, \"nv\", { enumerable: true, get: function () { return serde_1.nv; } });\nObject.defineProperty(exports, \"parseBoolean\", { enumerable: true, get: function () { return serde_1.parseBoolean; } });\nObject.defineProperty(exports, \"parseEpochTimestamp\", { enumerable: true, get: function () { return serde_1.parseEpochTimestamp; } });\nObject.defineProperty(exports, \"parseRfc3339DateTime\", { enumerable: true, get: function () { return serde_1.parseRfc3339DateTime; } });\nObject.defineProperty(exports, \"parseRfc3339DateTimeWithOffset\", { enumerable: true, get: function () { return serde_1.parseRfc3339DateTimeWithOffset; } });\nObject.defineProperty(exports, \"parseRfc7231DateTime\", { enumerable: true, get: function () { return serde_1.parseRfc7231DateTime; } });\nObject.defineProperty(exports, \"quoteHeader\", { enumerable: true, get: function () { return serde_1.quoteHeader; } });\nObject.defineProperty(exports, \"splitEvery\", { enumerable: true, get: function () { return serde_1.splitEvery; } });\nObject.defineProperty(exports, \"splitHeader\", { enumerable: true, get: function () { return serde_1.splitHeader; } });\nObject.defineProperty(exports, \"strictParseByte\", { enumerable: true, get: function () { return serde_1.strictParseByte; } });\nObject.defineProperty(exports, \"strictParseDouble\", { enumerable: true, get: function () { return serde_1.strictParseDouble; } });\nObject.defineProperty(exports, \"strictParseFloat\", { enumerable: true, get: function () { return serde_1.strictParseFloat; } });\nObject.defineProperty(exports, \"strictParseFloat32\", { enumerable: true, get: function () { return serde_1.strictParseFloat32; } });\nObject.defineProperty(exports, \"strictParseInt\", { enumerable: true, get: function () { return serde_1.strictParseInt; } });\nObject.defineProperty(exports, \"strictParseInt32\", { enumerable: true, get: function () { return serde_1.strictParseInt32; } });\nObject.defineProperty(exports, \"strictParseLong\", { enumerable: true, get: function () { return serde_1.strictParseLong; } });\nObject.defineProperty(exports, \"strictParseShort\", { enumerable: true, get: function () { return serde_1.strictParseShort; } });\nvar client_1 = require(\"@smithy/core/client\");\nObject.defineProperty(exports, \"Client\", { enumerable: true, get: function () { return client_1.Client; } });\nObject.defineProperty(exports, \"Command\", { enumerable: true, get: function () { return client_1.Command; } });\nObject.defineProperty(exports, \"NoOpLogger\", { enumerable: true, get: function () { return client_1.NoOpLogger; } });\nObject.defineProperty(exports, \"SENSITIVE_STRING\", { enumerable: true, get: function () { return client_1.SENSITIVE_STRING; } });\nObject.defineProperty(exports, \"ServiceException\", { enumerable: true, get: function () { return client_1.ServiceException; } });\nObject.defineProperty(exports, \"_json\", { enumerable: true, get: function () { return client_1._json; } });\nObject.defineProperty(exports, \"convertMap\", { enumerable: true, get: function () { return client_1.convertMap; } });\nObject.defineProperty(exports, \"createAggregatedClient\", { enumerable: true, get: function () { return client_1.createAggregatedClient; } });\nObject.defineProperty(exports, \"decorateServiceException\", { enumerable: true, get: function () { return client_1.decorateServiceException; } });\nObject.defineProperty(exports, \"emitWarningIfUnsupportedVersion\", { enumerable: true, get: function () { return client_1.emitWarningIfUnsupportedVersion; } });\nObject.defineProperty(exports, \"getArrayIfSingleItem\", { enumerable: true, get: function () { return client_1.getArrayIfSingleItem; } });\nObject.defineProperty(exports, \"getDefaultClientConfiguration\", { enumerable: true, get: function () { return client_1.getDefaultClientConfiguration; } });\nObject.defineProperty(exports, \"getDefaultExtensionConfiguration\", { enumerable: true, get: function () { return client_1.getDefaultExtensionConfiguration; } });\nObject.defineProperty(exports, \"getValueFromTextNode\", { enumerable: true, get: function () { return client_1.getValueFromTextNode; } });\nObject.defineProperty(exports, \"isSerializableHeaderValue\", { enumerable: true, get: function () { return client_1.isSerializableHeaderValue; } });\nObject.defineProperty(exports, \"loadConfigsForDefaultMode\", { enumerable: true, get: function () { return client_1.loadConfigsForDefaultMode; } });\nObject.defineProperty(exports, \"map\", { enumerable: true, get: function () { return client_1.map; } });\nObject.defineProperty(exports, \"resolveDefaultRuntimeConfig\", { enumerable: true, get: function () { return client_1.resolveDefaultRuntimeConfig; } });\nObject.defineProperty(exports, \"serializeDateTime\", { enumerable: true, get: function () { return client_1.serializeDateTime; } });\nObject.defineProperty(exports, \"serializeFloat\", { enumerable: true, get: function () { return client_1.serializeFloat; } });\nObject.defineProperty(exports, \"take\", { enumerable: true, get: function () { return client_1.take; } });\nObject.defineProperty(exports, \"throwDefaultError\", { enumerable: true, get: function () { return client_1.throwDefaultError; } });\nObject.defineProperty(exports, \"withBaseException\", { enumerable: true, get: function () { return client_1.withBaseException; } });\nvar protocols_1 = require(\"@smithy/core/protocols\");\nObject.defineProperty(exports, \"collectBody\", { enumerable: true, get: function () { return protocols_1.collectBody; } });\nObject.defineProperty(exports, \"extendedEncodeURIComponent\", { enumerable: true, get: function () { return protocols_1.extendedEncodeURIComponent; } });\nObject.defineProperty(exports, \"resolvedPath\", { enumerable: true, get: function () { return protocols_1.resolvedPath; } });\n","/**\n * The AWS SDK proxy. Every v3 client extends the Smithy `Client`, whose\n * `send` is the single point every call passes through. For the duration of\n * a run it is replaced: the call becomes an effect point (when run hooks are\n * given) and the real work is sent through a local client the platform was\n * given, matched by the calling client's class name, so the handler's own\n * clients never reach the network.\n */\n\nimport type { EffectPoint, FaultKind, JsonValue, RunHooks } from \"@eutaxy/core\";\nimport { Client } from \"@smithy/smithy-client\";\nimport { toJson } from \"./json.ts\";\n\nconst WRITE: readonly FaultKind[] = [\"crash_before\", \"crash_after\", \"ambiguous\", \"error\"];\nconst READ: readonly FaultKind[] = [\"crash_before\", \"crash_after\", \"error\"];\nconst READS = new Set([\n \"GetItem\",\n \"BatchGetItem\",\n \"Query\",\n \"Scan\",\n \"TransactGetItems\",\n \"DescribeTable\",\n \"ListTables\",\n]);\n\n/** DocumentClient commands map onto the low-level ones; one name per operation in the log. */\nconst DOCUMENT_ALIASES: Readonly<Record<string, string>> = {\n Put: \"PutItem\",\n Get: \"GetItem\",\n Update: \"UpdateItem\",\n Delete: \"DeleteItem\",\n BatchWrite: \"BatchWriteItem\",\n BatchGet: \"BatchGetItem\",\n TransactWrite: \"TransactWriteItems\",\n TransactGet: \"TransactGetItems\",\n};\n\nexport function normalizeOp(commandName: string): string {\n const op = commandName.replace(/Command$/, \"\");\n return DOCUMENT_ALIASES[op] ?? op;\n}\n\n/** The tables a DynamoDB command touches, including batch and transactional ones. */\nexport function tablesOf(\n op: string,\n input: Record<string, unknown> | undefined,\n): readonly string[] {\n if (!input) return [];\n const names = new Set<string>();\n if (typeof input[\"TableName\"] === \"string\") names.add(input[\"TableName\"]);\n if (op === \"BatchWriteItem\" || op === \"BatchGetItem\") {\n for (const t of Object.keys((input[\"RequestItems\"] as object | undefined) ?? {})) names.add(t);\n }\n if (op === \"TransactWriteItems\" || op === \"TransactGetItems\") {\n const items =\n (input[\"TransactItems\"] as Record<string, { TableName?: string }>[] | undefined) ?? [];\n for (const item of items) {\n for (const action of Object.values(item)) {\n if (action && typeof action.TableName === \"string\") names.add(action.TableName);\n }\n }\n }\n return [...names].sort();\n}\n\ntype AnyClient = { readonly config?: { serviceId?: string }; constructor: { name: string } };\ntype AnyCommand = { readonly input?: unknown; constructor: { name: string } };\ntype Send = (this: AnyClient, command: AnyCommand, ...rest: unknown[]) => Promise<unknown>;\n\n/** The unpatched `send`, captured at module load; the platform uses it for its own local calls. */\nexport const originalSend: Send = Client.prototype.send as unknown as Send;\n\n/** Send a command through a client without the proxy (for reset and snapshots). */\nexport function rawSend<T>(client: object, command: object): Promise<T> {\n return originalSend.call(client as AnyClient, command as AnyCommand) as Promise<T>;\n}\n\nexport interface SdkProxyOptions {\n /** Local clients keyed by the class name of the client that made the call. */\n readonly clients: Readonly<Record<string, object>>;\n /** With hooks, calls are effect points; without, they are only redirected (the differential's raw side). */\n readonly hooks: RunHooks | null;\n readonly invocation: () => string;\n readonly unsupported: (reason: string) => void;\n /** Called after each redirected call without hooks, e.g. to advance a clock as an effect would. */\n readonly afterCall?: () => void;\n /** Without hooks: wraps each redirected call (in-flight tracking, real timers for the SDK). */\n readonly wrapCall?: <T>(perform: () => Promise<T>) => Promise<T>;\n}\n\n/** `DynamoDB:<table>`, or `DynamoDB:<a>+<b>` for a batch or transaction spanning several tables. */\nexport function targetOf(\n serviceId: string,\n op: string,\n input: Record<string, unknown> | undefined,\n): string {\n if (serviceId === \"DynamoDB\") {\n const tables = tablesOf(op, input);\n return tables.length > 0 ? `DynamoDB:${tables.join(\"+\")}` : \"DynamoDB\";\n }\n const name = input?.[\"QueueUrl\"] ?? input?.[\"Bucket\"] ?? input?.[\"TopicArn\"];\n return typeof name === \"string\" ? `${serviceId}:${name.split(\"/\").pop() ?? name}` : serviceId;\n}\n\n/** A compact, JSON summary of a command's result for the effect log. */\nexport function summarize(\n op: string,\n result: unknown,\n input?: Record<string, unknown> | undefined,\n): JsonValue {\n const r = (result ?? {}) as Record<string, unknown>;\n switch (op) {\n case \"PutItem\":\n case \"UpdateItem\":\n case \"DeleteItem\":\n return { written: 1 };\n case \"BatchWriteItem\": {\n // Partial success is normal: the committed count is what was requested minus what came back.\n const count = (items: unknown) =>\n Object.values((items as Record<string, unknown[]> | undefined) ?? {}).flat().length;\n const requested = count(input?.[\"RequestItems\"]);\n const unprocessed = count(r[\"UnprocessedItems\"]);\n return { written: Math.max(0, requested - unprocessed), unprocessed };\n }\n case \"TransactWriteItems\":\n return { written: 1 };\n case \"GetItem\":\n return { found: r[\"Item\"] !== undefined };\n case \"Query\":\n case \"Scan\":\n return {\n count:\n typeof r[\"Count\"] === \"number\"\n ? r[\"Count\"]\n : ((r[\"Items\"] as unknown[] | undefined)?.length ?? 0),\n };\n default:\n return { ok: true };\n }\n}\n\n/** Replace `Client.prototype.send` for a run; returns the function that restores it. Safe to call twice. */\nexport function installSdkProxy(options: SdkProxyOptions): () => void {\n const proto = Client.prototype as unknown as { send: Send };\n const saved = proto.send;\n const patched: Send = async function (this: AnyClient, command: AnyCommand, ...rest: unknown[]) {\n const className = this.constructor.name;\n const local = options.clients[className];\n if (!local) {\n options.unsupported(\n `no local client configured for ${className}; pass one in createAwsPlatform({ clients })`,\n );\n throw new Error(`eutaxy: no local client for ${className}`);\n }\n const callback = rest.find((a): a is (err: unknown) => void => typeof a === \"function\");\n if (callback) {\n // The callback form returns nothing to await, so its outcome cannot be an effect point.\n // The handler sees the error through its callback, as the SDK would deliver one.\n const reason = `callback-style send(${command.constructor.name}, cb) is not modelled; await the promise form`;\n options.unsupported(reason);\n queueMicrotask(() => callback(new Error(`eutaxy: ${reason}`)));\n return undefined;\n }\n const serviceId = this.config?.serviceId ?? className.replace(/(Document)?Client$/, \"\");\n const op = normalizeOp(command.constructor.name);\n const input = command.input as Record<string, unknown> | undefined;\n const perform = () => originalSend.call(local as AnyClient, command, ...rest);\n if (!options.hooks) {\n try {\n return await (options.wrapCall ? options.wrapCall(perform) : perform());\n } finally {\n options.afterCall?.();\n }\n }\n const point: EffectPoint = {\n invocation: options.invocation(),\n target: targetOf(serviceId, op, input),\n op,\n args: toJson(input),\n allowed: READS.has(op) ? READ : WRITE,\n };\n return options.hooks.effect(point, perform, (r) => summarize(op, r, input));\n };\n proto.send = patched;\n let restored = false;\n return () => {\n if (restored) return;\n restored = true;\n proto.send = saved;\n };\n}\n","/** DynamoDB table reset and end-of-run snapshots, through the real local client (never effects). */\n\nimport {\n CreateTableCommand,\n DeleteTableCommand,\n DescribeTableCommand,\n type DynamoDBClient,\n ListTablesCommand,\n ScanCommand,\n} from \"@aws-sdk/client-dynamodb\";\nimport { unmarshall } from \"@aws-sdk/util-dynamodb\";\nimport { canonicalJson, type JsonValue, type PlatformData } from \"@eutaxy/core\";\nimport { realTick } from \"@eutaxy/engine\";\nimport { toJson } from \"./json.ts\";\nimport { rawSend } from \"./sdk.ts\";\n\nexport type KeyType = \"S\" | \"N\" | \"B\";\n\n/** A type alias, not an interface, so it satisfies PlatformData's JSON index signature. */\nexport type KeyDef = { readonly name: string; readonly type: KeyType };\n\n/** A table to create before each run. */\nexport interface TableSpec extends PlatformData {\n readonly kind: \"dynamodb-table\";\n readonly name: string;\n readonly partitionKey: KeyDef;\n readonly sortKey?: KeyDef;\n}\n\nasync function waitActive(client: DynamoDBClient, name: string): Promise<void> {\n for (let i = 0; i < 100; i++) {\n const out = await rawSend<{ Table?: { TableStatus?: string } }>(\n client,\n new DescribeTableCommand({ TableName: name }),\n );\n if (out.Table?.TableStatus === \"ACTIVE\") return;\n await realTick(); // never the (possibly virtual) setTimeout: reset runs with the globals patched\n }\n throw new Error(`table ${name} did not become ACTIVE`);\n}\n\n/** DeleteTable returns before the table is gone; creating it again too early is a ResourceInUseException. */\nasync function waitGone(client: DynamoDBClient, name: string): Promise<void> {\n for (let i = 0; i < 200; i++) {\n try {\n await rawSend(client, new DescribeTableCommand({ TableName: name }));\n } catch (err) {\n if ((err as { name?: string }).name === \"ResourceNotFoundException\") return;\n throw err;\n }\n await realTick();\n }\n throw new Error(`table ${name} was not deleted`);\n}\n\n/** Every table name, following `LastEvaluatedTableName` past the 100-per-page limit. */\nexport async function listAllTables(client: DynamoDBClient): Promise<string[]> {\n const names: string[] = [];\n let start: string | undefined;\n do {\n const page = await rawSend<{ TableNames?: string[]; LastEvaluatedTableName?: string }>(\n client,\n new ListTablesCommand(start ? { ExclusiveStartTableName: start } : {}),\n );\n names.push(...(page.TableNames ?? []));\n start = page.LastEvaluatedTableName;\n } while (start);\n return names;\n}\n\n/** Drop and recreate the tables, so every run starts from the same empty state. */\nexport async function resetTables(\n client: DynamoDBClient,\n tables: readonly TableSpec[],\n): Promise<void> {\n const present = new Set(await listAllTables(client));\n for (const t of tables) {\n if (present.has(t.name)) {\n await rawSend(client, new DeleteTableCommand({ TableName: t.name }));\n await waitGone(client, t.name);\n }\n const keys = [t.partitionKey, ...(t.sortKey ? [t.sortKey] : [])];\n await rawSend(\n client,\n new CreateTableCommand({\n TableName: t.name,\n BillingMode: \"PAY_PER_REQUEST\",\n AttributeDefinitions: keys.map((k) => ({ AttributeName: k.name, AttributeType: k.type })),\n KeySchema: [\n { AttributeName: t.partitionKey.name, KeyType: \"HASH\" },\n ...(t.sortKey ? [{ AttributeName: t.sortKey.name, KeyType: \"RANGE\" as const }] : []),\n ],\n }),\n );\n await waitActive(client, t.name);\n }\n}\n\n/** Every item of every table, unmarshalled and sorted canonically. */\nexport async function snapshotTables(\n client: DynamoDBClient,\n tables: readonly TableSpec[],\n): Promise<{ readonly [table: string]: readonly JsonValue[] }> {\n const out: Record<string, JsonValue[]> = {};\n for (const t of tables) {\n const items: JsonValue[] = [];\n let start: Record<string, unknown> | undefined;\n do {\n const page = await rawSend<{\n Items?: Record<string, never>[];\n LastEvaluatedKey?: Record<string, unknown>;\n }>(\n client,\n new ScanCommand({\n TableName: t.name,\n ...(start ? { ExclusiveStartKey: start as never } : {}),\n }),\n );\n for (const item of page.Items ?? []) items.push(toJson(unmarshall(item)));\n start = page.LastEvaluatedKey;\n } while (start);\n out[t.name] = items\n .map((j) => [canonicalJson(j), j] as const)\n .sort((a, b) => (a[0] < b[0] ? -1 : a[0] > b[0] ? 1 : 0))\n .map(([, j]) => j);\n }\n return out;\n}\n","/** The event and context Lambda hands an SQS-triggered function, built the same way on both sides. */\n\nimport type { EventRef } from \"@eutaxy/core\";\n\nexport interface SqsRecord {\n readonly messageId: string;\n readonly receiptHandle: string;\n readonly body: string;\n readonly attributes: {\n readonly ApproximateReceiveCount: string;\n readonly SentTimestamp: string;\n readonly SenderId: string;\n readonly ApproximateFirstReceiveTimestamp: string;\n };\n readonly messageAttributes: Record<string, never>;\n readonly md5OfBody: string;\n readonly eventSource: \"aws:sqs\";\n readonly eventSourceARN: string;\n readonly awsRegion: string;\n}\n\nexport interface SqsEvent {\n readonly Records: readonly SqsRecord[];\n}\n\nexport interface LambdaContext {\n readonly awsRequestId: string;\n readonly functionName: string;\n readonly functionVersion: string;\n readonly invokedFunctionArn: string;\n readonly memoryLimitInMB: string;\n readonly logGroupName: string;\n readonly logStreamName: string;\n callbackWaitsForEmptyEventLoop: boolean;\n getRemainingTimeInMillis(): number;\n}\n\nexport interface SqsBatchResponse {\n readonly batchItemFailures?: readonly { readonly itemIdentifier: string }[];\n}\n\nexport type SqsHandler = (\n event: SqsEvent,\n context: LambdaContext,\n // biome-ignore lint/suspicious/noConfusingVoidType: a Lambda handler may return nothing at all\n) => Promise<void | SqsBatchResponse> | void | SqsBatchResponse;\n\n/**\n * Whether the message stays on the queue after a completed invocation.\n * AWS, \"Implementing partial batch responses\" (services-sqs-errorhandling):\n * an `itemIdentifier` that is empty, null or not in the batch makes Lambda\n * treat the whole batch as failed.\n */\nexport function batchFailed(\n response: SqsBatchResponse | undefined,\n messageId: string,\n delivered: readonly string[],\n): boolean {\n const failures = response?.batchItemFailures ?? [];\n return failures.some(\n (f) =>\n !f.itemIdentifier || !delivered.includes(f.itemIdentifier) || f.itemIdentifier === messageId,\n );\n}\n\nexport interface InvocationShape {\n readonly queue: string;\n readonly region: string;\n readonly functionName: string;\n}\n\n/** The record and context for one delivery; `now` is the (virtual) clock at delivery. */\nexport function sqsInvocation(\n event: EventRef,\n shape: InvocationShape,\n now: number,\n): { readonly record: SqsRecord; readonly context: LambdaContext } {\n const record: SqsRecord = {\n messageId: event.id,\n receiptHandle: `${event.id}#${event.attempt}`,\n body: JSON.stringify(event.data),\n attributes: {\n ApproximateReceiveCount: String(event.attempt),\n SentTimestamp: String(now),\n SenderId: \"local\",\n ApproximateFirstReceiveTimestamp: String(now),\n },\n messageAttributes: {},\n md5OfBody: \"\",\n eventSource: \"aws:sqs\",\n eventSourceARN: `arn:aws:sqs:${shape.region}:000000000000:${shape.queue}`,\n awsRegion: shape.region,\n };\n const context: LambdaContext = {\n awsRequestId: crypto.randomUUID(),\n functionName: shape.functionName,\n functionVersion: \"$LATEST\",\n invokedFunctionArn: `arn:aws:lambda:${shape.region}:000000000000:function:${shape.functionName}`,\n memoryLimitInMB: \"128\",\n logGroupName: `/aws/lambda/${shape.functionName}`,\n logStreamName: \"local\",\n callbackWaitsForEmptyEventLoop: true,\n getRemainingTimeInMillis: () => 60_000 - (Date.now() - now),\n };\n return { record, context };\n}\n","/**\n * The AWS platform: invokes the Lambda handler with one SQS record per\n * event, under the SDK proxy, and applies Lambda's SQS event-source\n * semantics as documented by AWS: a successful return deletes the message\n * (an implicit deletion, which is an effect point), a thrown error or a\n * reported batch item failure leaves it to be redelivered, and after\n * maxReceiveCount deliveries it goes to the dead-letter queue.\n */\n\nimport type { DynamoDBClient } from \"@aws-sdk/client-dynamodb\";\nimport type {\n DeliveryResult,\n EventRef,\n FaultKind,\n JsonValue,\n Platform,\n RunHooks,\n ScenarioSpec,\n} from \"@eutaxy/core\";\nimport { CrashSignal } from \"@eutaxy/engine\";\nimport { resetTables, snapshotTables, type TableSpec } from \"./dynamodb.ts\";\nimport type { SqsDrive } from \"./scenario.ts\";\nimport { installSdkProxy } from \"./sdk.ts\";\n\nconst DELETE: readonly FaultKind[] = [\"crash_before\", \"crash_after\"];\n\nimport {\n batchFailed,\n type LambdaContext,\n type SqsBatchResponse,\n type SqsEvent,\n type SqsHandler,\n type SqsRecord,\n sqsInvocation,\n} from \"./lambda.ts\";\n\nexport type { LambdaContext, SqsBatchResponse, SqsEvent, SqsHandler, SqsRecord };\n\nexport interface AwsPlatformOptions {\n readonly handler: SqsHandler;\n /** Local clients keyed by the class name of the handler's clients, e.g. { DynamoDBClient, DynamoDBDocumentClient }. */\n readonly clients: Readonly<Record<string, object>>;\n readonly functionName?: string;\n readonly region?: string;\n}\n\nconst assumptions: readonly string[] = [\n \"platform model: Lambda with an SQS event source, one record per invocation; a successful return deletes the message, a thrown error or a reported batch item failure leaves it to be redelivered, up to the queue's maxReceiveCount, then it is dead-lettered\",\n \"every AWS SDK call is one effect, redirected to a local client of the same class; DynamoDB semantics come from the local DynamoDB the platform is given\",\n \"the handler's clients never reach the network; a client class without a local counterpart makes the run UNSUPPORTED\",\n \"state invariants read a snapshot of every DynamoDB table named in setup, taken after the last event\",\n];\n\nexport function createAwsPlatform(options: AwsPlatformOptions): Platform {\n const region = options.region ?? \"local\";\n const functionName = options.functionName ?? \"handler\";\n const dynamo = options.clients[\"DynamoDBClient\"] as DynamoDBClient | undefined;\n let currentInvocation = \"\";\n let hooksRef: RunHooks | null = null;\n let restoreProxy: (() => void) | null = null;\n const platformInvocations = new WeakMap<RunHooks, string>();\n\n function tablesOf(spec: ScenarioSpec): readonly TableSpec[] {\n return spec.setup.filter((s): s is TableSpec => s.kind === \"dynamodb-table\");\n }\n\n function platformInvocation(hooks: RunHooks): string {\n let id = platformInvocations.get(hooks);\n if (id === undefined) {\n id = \"platform\";\n hooks.startInvocation(id);\n platformInvocations.set(hooks, id);\n }\n return id;\n }\n\n function ensureProxy(hooks: RunHooks): void {\n if (hooksRef === hooks && restoreProxy) return;\n restoreProxy?.();\n hooksRef = hooks;\n restoreProxy = installSdkProxy({\n clients: options.clients,\n hooks,\n invocation: () => currentInvocation,\n unsupported: (r) => hooks.unsupported(r),\n });\n }\n\n return {\n name: \"aws\",\n assumptions,\n\n async reset(spec: ScenarioSpec): Promise<void> {\n const tables = tablesOf(spec);\n if (tables.length === 0) return;\n if (!dynamo)\n throw new Error(\n \"the scenario sets up DynamoDB tables but no DynamoDBClient was given in clients\",\n );\n await resetTables(dynamo, tables);\n },\n\n async finish(spec: ScenarioSpec, hooks: RunHooks): Promise<void> {\n const tables = tablesOf(spec);\n if (tables.length === 0 || !dynamo) return;\n const snapshot = await snapshotTables(dynamo, tables);\n hooks.snapshot(platformInvocation(hooks), \"DynamoDB\", { tables: snapshot });\n },\n\n async cleanup(): Promise<void> {\n restoreProxy?.();\n restoreProxy = null;\n hooksRef = null;\n },\n\n restrictEvents(spec: ScenarioSpec, keepIds: readonly string[]): ScenarioSpec {\n const drive = spec.drive as SqsDrive;\n return {\n ...spec,\n drive: { ...drive, messages: drive.messages.filter((m) => keepIds.includes(m.id)) },\n };\n },\n\n initialEvents(spec: ScenarioSpec): readonly EventRef[] {\n const drive = spec.drive as SqsDrive;\n if (drive.kind !== \"sqs\")\n throw new Error(`drive ${drive.kind} is not supported by the AWS platform`);\n return drive.messages.map((m) => ({ id: m.id, attempt: 1, data: m.body }));\n },\n\n async deliver(event: EventRef, hooks: RunHooks, spec: ScenarioSpec): Promise<DeliveryResult> {\n ensureProxy(hooks);\n const drive = spec.drive as SqsDrive;\n const queueTarget = `SQS:${drive.queue}`;\n const invocation = `${event.id}#${event.attempt}`;\n currentInvocation = invocation;\n const inv = hooks.startInvocation(invocation);\n const now = Date.now();\n const { record, context } = sqsInvocation(\n event,\n { queue: drive.queue, region, functionName },\n now,\n );\n\n const outcome = Promise.resolve()\n .then(() => options.handler({ Records: [record] }, context))\n .then(\n (response) => ({\n status: \"completed\" as const,\n response: (response ?? undefined) as SqsBatchResponse | undefined,\n }),\n (err: unknown) => ({\n status: err instanceof CrashSignal ? (\"crashed\" as const) : (\"errored\" as const),\n response: undefined,\n }),\n );\n let { status, response } = await Promise.race([\n hooks.settle(outcome, invocation),\n inv.crashed.then(() => ({ status: \"crashed\" as const, response: undefined })),\n ]);\n\n let deleted = false;\n const failed = batchFailed(response, event.id, [event.id]);\n if (status === \"completed\" && !failed) {\n try {\n hooks.effectSync(\n {\n invocation,\n target: queueTarget,\n op: \"delete\",\n args: { messageId: event.id, implicit: true } as JsonValue,\n allowed: DELETE,\n },\n () => {\n deleted = true;\n },\n () => null,\n );\n } catch (err) {\n if (!(err instanceof CrashSignal)) throw err;\n status = \"crashed\";\n }\n }\n\n const followUps: EventRef[] = [];\n if (!deleted) {\n if (\n event.attempt < drive.maxReceiveCount &&\n event.attempt - 1 < spec.bounds.maxRedeliveries\n ) {\n followUps.push({ ...event, attempt: event.attempt + 1 });\n } else {\n hooks.effectSync(\n {\n invocation: platformInvocation(hooks),\n target: queueTarget,\n op: \"dead_letter\",\n args: { messageId: event.id, attempts: event.attempt },\n allowed: [],\n },\n () => null,\n () => null,\n );\n }\n }\n currentInvocation = \"\";\n return { status, followUps };\n },\n };\n}\n","/**\n * Differential check for the AWS platform: the proxied run against a raw run\n * in which the handler is called directly, with SDK calls only redirected to\n * the local clients (no recording, no faults) and the queue model applied by\n * hand. Per-attempt outcomes and the final tables must agree.\n */\n\nimport type { DynamoDBClient } from \"@aws-sdk/client-dynamodb\";\nimport { canonicalJson, type EventRef, type JsonValue, type ScenarioSpec } from \"@eutaxy/core\";\nimport { effectLatencyMs, installScriptedFetch, patchGlobals, Run, settleOn } from \"@eutaxy/engine\";\nimport { resetTables, snapshotTables, type TableSpec } from \"./dynamodb.ts\";\nimport { batchFailed, type SqsBatchResponse, sqsInvocation } from \"./lambda.ts\";\nimport { type AwsPlatformOptions, createAwsPlatform } from \"./platform.ts\";\nimport type { SqsDrive } from \"./scenario.ts\";\nimport { installSdkProxy } from \"./sdk.ts\";\n\nexport interface AttemptRecord {\n readonly event: string;\n readonly attempt: number;\n readonly status: \"completed\" | \"errored\";\n readonly deleted: boolean;\n}\n\nexport interface Side {\n readonly attempts: readonly AttemptRecord[];\n readonly tables: { readonly [table: string]: readonly JsonValue[] };\n}\n\nexport interface DifferentialResult {\n readonly equal: boolean;\n readonly eutaxy: Side;\n readonly raw: Side;\n readonly differences: readonly string[];\n readonly unsupported: readonly string[];\n}\n\n/** The raw side cannot abandon an invocation the way the engine does; a stuck handler ends the comparison. */\nclass StuckError extends Error {\n override readonly name = \"StuckError\";\n constructor() {\n super(\n \"raw side: the handler is waiting on something outside the run (no SDK call in flight, no timer due)\",\n );\n }\n}\n\nfunction tablesOf(spec: ScenarioSpec): readonly TableSpec[] {\n return spec.setup.filter((s): s is TableSpec => s.kind === \"dynamodb-table\");\n}\n\nasync function eutaxySide(\n spec: ScenarioSpec,\n options: AwsPlatformOptions,\n): Promise<Side & { unsupported: readonly string[] }> {\n const platform = createAwsPlatform(options);\n const run = new Run({\n mode: \"replay\",\n schedule: { seed: 0, faults: [] },\n bounds: spec.bounds,\n faultProbability: 0,\n });\n const attempts: AttemptRecord[] = [];\n await platform.reset(spec);\n run.install(spec.externals);\n try {\n try {\n const pending: EventRef[] = [...platform.initialEvents(spec)];\n while (pending.length > 0) {\n const event = pending.shift() as EventRef;\n const before = run.log.entries.length;\n const result = await platform.deliver(event, run, spec);\n const deleted = run.log.entries\n .slice(before)\n .some((e) => e.kind === \"result\" && e.op === \"delete\");\n attempts.push({\n event: event.id,\n attempt: event.attempt,\n status: result.status === \"completed\" ? \"completed\" : \"errored\",\n deleted,\n });\n pending.push(...result.followUps);\n }\n } finally {\n run.uninstall();\n }\n await platform.finish?.(spec, run);\n } finally {\n await platform.cleanup?.(spec);\n }\n const dynamo = options.clients[\"DynamoDBClient\"] as DynamoDBClient | undefined;\n const tables = dynamo ? await snapshotTables(dynamo, tablesOf(spec)) : {};\n return { attempts, tables, unsupported: run.unsupportedReasons };\n}\n\nasync function rawSide(spec: ScenarioSpec, options: AwsPlatformOptions): Promise<Side> {\n const drive = spec.drive as SqsDrive;\n const dynamo = options.clients[\"DynamoDBClient\"] as DynamoDBClient | undefined;\n if (dynamo) await resetTables(dynamo, tablesOf(spec));\n const patched = patchGlobals(0);\n const reasons: string[] = [];\n const restoreFetch = installScriptedFetch(\n spec.externals,\n null,\n (r) => reasons.push(r),\n () => patched.clock.advance(effectLatencyMs),\n );\n const io = { n: 0 };\n const restoreSdk = installSdkProxy({\n clients: options.clients,\n hooks: null,\n invocation: () => \"\",\n unsupported: (r) => reasons.push(r),\n afterCall: () => patched.clock.advance(effectLatencyMs),\n // Real SDK I/O: count it as in flight and give the SDK real timers, as the proxied side does.\n wrapCall: async (perform) => {\n io.n++;\n try {\n return await patched.libraryIo(perform);\n } finally {\n io.n--;\n }\n },\n });\n const attempts: AttemptRecord[] = [];\n try {\n const pending: EventRef[] = drive.messages.map((m) => ({ id: m.id, attempt: 1, data: m.body }));\n while (pending.length > 0) {\n const event = pending.shift() as EventRef;\n const now = Date.now();\n const { record, context } = sqsInvocation(\n event,\n {\n queue: drive.queue,\n region: options.region ?? \"local\",\n functionName: options.functionName ?? \"handler\",\n },\n now,\n );\n let status: \"completed\" | \"errored\";\n let response: SqsBatchResponse | undefined;\n try {\n response = (await settleOn(\n Promise.resolve().then(() => options.handler({ Records: [record] }, context)),\n {\n clock: patched.clock,\n inFlight: () => io.n,\n crashed: () => false,\n stuck: () => {\n throw new StuckError();\n },\n },\n )) as SqsBatchResponse | undefined;\n status = \"completed\";\n } catch (err) {\n if (err instanceof StuckError) throw err;\n status = \"errored\";\n }\n const failed = batchFailed(response, event.id, [event.id]);\n const deleted = status === \"completed\" && !failed;\n attempts.push({ event: event.id, attempt: event.attempt, status, deleted });\n if (\n !deleted &&\n event.attempt < drive.maxReceiveCount &&\n event.attempt - 1 < spec.bounds.maxRedeliveries\n ) {\n pending.push({ ...event, attempt: event.attempt + 1 });\n }\n }\n } finally {\n restoreSdk();\n restoreFetch();\n patched.restore();\n }\n if (reasons.length > 0) throw new Error(`raw side: ${reasons.join(\"; \")}`);\n const tables = dynamo ? await snapshotTables(dynamo, tablesOf(spec)) : {};\n return { attempts, tables };\n}\n\nexport async function runAwsDifferential(\n spec: ScenarioSpec,\n options: AwsPlatformOptions,\n): Promise<DifferentialResult> {\n const { unsupported, ...eutaxy } = await eutaxySide(spec, options);\n const raw = await rawSide(spec, options);\n const differences: string[] = [];\n if (unsupported.length > 0)\n differences.push(`the proxied run touched unsupported APIs: ${unsupported.join(\"; \")}`);\n const a = canonicalJson(eutaxy.attempts as unknown as JsonValue);\n const b = canonicalJson(raw.attempts as unknown as JsonValue);\n if (a !== b) differences.push(`attempts differ:\\n eutaxy ${a}\\n raw ${b}`);\n const names = new Set([...Object.keys(eutaxy.tables), ...Object.keys(raw.tables)]);\n for (const t of [...names].sort()) {\n const x = canonicalJson((eutaxy.tables[t] ?? []) as unknown as JsonValue);\n const y = canonicalJson((raw.tables[t] ?? []) as unknown as JsonValue);\n if (x !== y) differences.push(`${t} differs:\\n eutaxy ${x}\\n raw ${y}`);\n }\n return { equal: differences.length === 0, eutaxy, raw, differences, unsupported };\n}\n","/** Typed construction of scenario specs for AWS Lambda consumers of SQS with DynamoDB. */\n\nimport {\n type AtLeastOnce,\n type AtMostOncePerKey,\n type Bounds,\n defaultBounds,\n type EffectSelector,\n type ExternalDecl,\n getPath,\n type Invariant,\n type JsonValue,\n type PlatformData,\n type RowCondition,\n type ScenarioSpec,\n type StateQuery,\n validateScenario,\n type WorkerRef,\n} from \"@eutaxy/core\";\nimport type { KeyDef, TableSpec } from \"./dynamodb.ts\";\n\nexport interface SqsMessage {\n readonly id?: string;\n readonly body: JsonValue;\n}\n\n/** Drive the Lambda with these SQS messages, one record per invocation. */\nexport interface SqsDrive extends PlatformData {\n readonly kind: \"sqs\";\n readonly queue: string;\n readonly messages: readonly { readonly id: string; readonly body: JsonValue }[];\n /** The queue's maxReceiveCount before dead-lettering (AWS has no default; 3 here). */\n readonly maxReceiveCount: number;\n}\n\nexport function sqs(\n queue: string,\n messages: readonly SqsMessage[],\n options: { readonly maxReceiveCount?: number } = {},\n): SqsDrive {\n return {\n kind: \"sqs\",\n queue,\n messages: messages.map((m, i) => ({ id: m.id ?? `msg-${i + 1}`, body: m.body })),\n maxReceiveCount: options.maxReceiveCount ?? 3,\n };\n}\n\nexport function dynamoTable(name: string, partitionKey: KeyDef, sortKey?: KeyDef): TableSpec {\n return sortKey\n ? { kind: \"dynamodb-table\", name, partitionKey, sortKey }\n : { kind: \"dynamodb-table\", name, partitionKey };\n}\n\n/** Selects committed writes to a table: results whose `written` is at least 1. */\nexport function dynamoWrite(\n table: string,\n op: \"PutItem\" | \"UpdateItem\" | \"DeleteItem\" | \"BatchWriteItem\" | \"TransactWriteItems\" = \"PutItem\",\n): EffectSelector {\n return { target: `DynamoDB:${table}`, op, kind: \"result\", atLeast: { \"result.written\": 1 } };\n}\n\n/** Rows of a table in the end-of-run snapshot. */\nexport function dynamoRows(table: string, where?: readonly RowCondition[]): StateQuery {\n return where ? { target: \"DynamoDB\", table, where } : { target: \"DynamoDB\", table };\n}\n\n/** Selects the implicit deletion of each successfully handled message. */\nexport function sqsDelete(queue: string): EffectSelector {\n return { target: `SQS:${queue}`, op: \"delete\", kind: \"result\" };\n}\n\nexport function atMostOncePerKey(\n name: string,\n effect: EffectSelector,\n key: string,\n): AtMostOncePerKey {\n return { kind: \"atMostOncePerKey\", name, effect, key };\n}\n\nexport function atLeastOncePerMessage(\n name: string,\n drive: SqsDrive,\n effect: EffectSelector,\n key: string,\n bodyKey: string,\n): AtLeastOnce {\n const expected: JsonValue[] = [];\n for (const m of drive.messages) {\n const v = getPath(m.body, bodyKey);\n if (v === undefined)\n throw new Error(`message ${m.id} has no ${JSON.stringify(bodyKey)} in its body`);\n expected.push(v);\n }\n return { kind: \"atLeastOnce\", name, effect, key, expected, perMessage: { bodyKey } };\n}\n\nexport interface AwsScenarioInput {\n readonly name: string;\n /** The handler module (entry) and, for AWS, a SAM or serverless config path if any (informational). */\n readonly handler: WorkerRef;\n readonly drive: SqsDrive;\n readonly tables?: readonly TableSpec[];\n readonly externals?: readonly ExternalDecl[];\n readonly invariants: readonly Invariant[];\n readonly bounds?: Partial<Bounds>;\n}\n\n/** Build and validate a scenario spec for the AWS platform; throws with every problem listed. */\nexport function defineAwsScenario(input: AwsScenarioInput): ScenarioSpec {\n const spec: ScenarioSpec = {\n version: 1,\n name: input.name,\n platform: \"aws\",\n worker: input.handler,\n drive: input.drive,\n setup: input.tables ?? [],\n externals: input.externals ?? [],\n invariants: input.invariants,\n bounds: { ...defaultBounds, ...input.bounds },\n };\n const errors = validateScenario(spec);\n if (errors.length > 0)\n throw new Error(`invalid scenario ${JSON.stringify(input.name)}:\\n- ${errors.join(\"\\n- \")}`);\n return spec;\n}\n"],"ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,268],"mappings":";;;;;;;;AAEA,SAAgB,8BAA8B,OAAO;CACjD,OAAO,gCAAgC,SAAS,KAAK;AACzD;;;CAJa,mCAAmC;CACnC,kCAAkC;EAAC;EAAY;EAAa;CAAU;;;;;CCD5B,cAAA;CAC2D,oCAAA;CACrG,sCAAsC,UAAU;EACzD,MAAM,EAAE,0BAA0B;EAClC,MAAM,gCAAgCA,oBAAkB,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B,EACd,eAAe,0BACnB;KACA,kBAAkB,EACd,eAAe,6BACnB;KACA,kBAAkB,EACd,eAAe,0BACnB;KACA,cAAc,EACV,eAAe,oBACnB;KACA,gBAAgB,EACZ,eAAe,mBACnB;KACA,aAAa,EACT,eAAe,wBACnB;KACA,gBAAgB,EACZ,eAAe,qBACnB;KACA,gBAAgB,EACZ,eAAe,kBACnB;KACA,cAAc,EACV,eAAe,qBACnB;KACA,cAAc,EACV,eAAe,iBACnB;KACA,cAAc,EACV,eAAe,iBACnB;KACA,aAAa,EACT,eAAe,mBACnB;KACA,aAAa,EACT,eAAe,kBACnB;KACA,aAAa,EACT,eAAe,iBACnB;KACA,gBAAgB,EACZ,eAAe,oBACnB;KACA,gBAAgB,EACZ,eAAe,oBACnB;KACA,cAAc,EACV,eAAe,wBACnB;KACA,gBAAgB,EACZ,eAAe,mBACnB;KACA,aAAa,EACT,eAAe,4BACnB;KACA,aAAa,EACT,eAAe,wBACnB;KACA,aAAa,EACT,eAAe,iBACnB;KACA,aAAa,EACT,eAAe,0BACnB;KACA,aAAa,EACT,eAAe,mBACnB;IACJ;GACJ;GACA;IACI,MAAM;IACN,WAAW;KACP,aAAa;KACb,sBAAsB;KACtB,wBAAwB;KACxB,QAAQ;KACR,qBAAqB;KACrB,gBAAgB;IACpB;IACA,eAAe;IACf,WAAW;KACP,iBAAiB,EACb,eAAe,uBACnB;KACA,cAAc,EACV,eAAe,kBACnB;KACA,kBAAkB,EACd,eAAe,kBACnB;IACJ;GACJ;GACA;IACI,MAAM;IACN,WAAW;KACP,aAAa;KACb,sBAAsB;KACtB,wBAAwB;KACxB,QAAQ;KACR,qBAAqB;KACrB,gBAAgB;IACpB;IACA,eAAe;IACf,WAAW,EACP,kBAAkB,EACd,eAAe,yCACnB,EACJ;GACJ;GACA;IACI,MAAM;IACN,WAAW;KACP,aAAa;KACb,sBAAsB;KACtB,wBAAwB;KACxB,QAAQ;KACR,qBAAqB;KACrB,gBAAgB;IACpB;IACA,eAAe;I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