@aws-amplify/graphql-api-construct 1.18.2 → 1.18.3-ai-next.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.jsii +5 -5
- package/CHANGELOG.md +4 -0
- package/lib/amplify-dynamodb-table-wrapper.js +1 -1
- package/lib/amplify-graphql-api.js +1 -1
- package/lib/amplify-graphql-definition.js +1 -1
- package/lib/sql-model-datasource-strategy.js +1 -1
- package/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.d.ts +5 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.d.ts +5 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.js +2 -1
- package/node_modules/@aws-amplify/backend-output-schemas/lib/index.d.ts +50 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/index.js +15 -2
- package/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.js +16 -1
- package/node_modules/@aws-amplify/backend-output-schemas/package.json +1 -1
- package/node_modules/@aws-amplify/backend-output-storage/package.json +4 -3
- package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +6 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.js +4 -2
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +2 -2
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-transformer/package.json +3 -3
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@aws-amplify/plugin-types/lib/auth_resources.d.ts +40 -0
- package/node_modules/@aws-amplify/plugin-types/lib/auth_resources.js +1 -1
- package/node_modules/@aws-amplify/plugin-types/lib/index.d.ts +1 -0
- package/node_modules/@aws-amplify/plugin-types/lib/index.js +2 -1
- package/node_modules/@aws-amplify/plugin-types/package.json +2 -2
- package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
- package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
- package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
- package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/README.md +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +44 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/models_0.js +28 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/protocols/Aws_restJson1.js +5 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ApplyGuardrailCommand.d.ts +35 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseCommand.d.ts +55 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseStreamCommand.d.ts +55 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/InvokeModelCommand.d.ts +13 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +13 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/models/models_0.d.ts +248 -119
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ApplyGuardrailCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ConverseCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ConverseStreamCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/InvokeModelCommand.d.ts +13 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/InvokeModelWithResponseStreamCommand.d.ts +13 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/models/models_0.d.ts +124 -71
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/README.md +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +4 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +1 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/README.md +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +0 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +7 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/client.d.ts +7 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +36 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +6 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +5 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js +7 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts +7 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +12 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +6 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +7 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/package.json +20 -13
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/protocols.d.ts +7 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +4 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-env/package.json +7 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-http/package.json +12 -10
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -13
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +3 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +5 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +10 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -13
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-node/package.json +15 -14
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +4 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-process/package.json +8 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +8 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -8
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +6 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +6 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -8
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-host-header/package.json +8 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-logger/package.json +7 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +112 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +49 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +22 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js +18 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +11 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +18 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +14 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts +5 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +20 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts +5 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/package.json +12 -8
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/region-config-resolver/package.json +7 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/token-providers/package.json +8 -7
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-endpoints/package.json +8 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +9 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +9 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +7 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js +7 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +9 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts +12 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +46 -39
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +29 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +2 -39
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js +8 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +23 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +2 -20
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +13 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts +21 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +2 -12
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +6 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/README.md +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +237 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +139 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +27 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +39 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +39 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/package.json +65 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +39 -39
- package/node_modules/@aws-sdk/client-sts/README.md +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +99 -14
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +23 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +10 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +53 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +24 -13
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +19 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +26 -30
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRootCommand.d.ts +129 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +13 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +19 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +17 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +202 -88
- package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +68 -56
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/README.md +1 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +4 -5
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +1 -6
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/README.md +1 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +0 -5
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/client.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +3 -3
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +36 -5
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +6 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +5 -3
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +2 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js +7 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +12 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/package.json +20 -13
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/protocols.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +4 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-env/package.json +7 -5
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-http/package.json +12 -10
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -13
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +3 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +5 -3
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +10 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -13
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-node/package.json +15 -14
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +4 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-process/package.json +8 -6
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +8 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -8
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +6 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +6 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -8
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-host-header/package.json +8 -6
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-logger/package.json +7 -5
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -6
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +112 -4
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +49 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +22 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js +18 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +11 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +18 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +14 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +20 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/package.json +12 -8
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/region-config-resolver/package.json +7 -6
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/token-providers/package.json +8 -7
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-endpoints/package.json +8 -6
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +9 -4
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +9 -4
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +7 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js +7 -2
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -4
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +46 -39
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +29 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +2 -39
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js +8 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +23 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +2 -20
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts +21 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +2 -12
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -5
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/README.md +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +1 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +237 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +139 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +11 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +27 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +39 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +39 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/package.json +65 -0
- package/node_modules/@aws-sdk/client-sts/package.json +36 -36
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-locate-window/package.json +3 -2
- package/node_modules/@smithy/abort-controller/package.json +4 -3
- package/node_modules/@smithy/config-resolver/package.json +7 -6
- package/node_modules/@smithy/core/cbor.d.ts +7 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +79 -158
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +1 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +164 -0
- package/node_modules/@smithy/core/dist-es/index.js +4 -3
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -2
- package/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js +1 -2
- package/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js +1 -67
- package/node_modules/@smithy/core/dist-es/setFeature.js +11 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js +11 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +4 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +67 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +19 -0
- package/node_modules/@smithy/core/dist-types/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/protocols/requestBuilder.d.ts +2 -48
- package/node_modules/@smithy/core/dist-types/setFeature.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +51 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/protocols/requestBuilder.d.ts +2 -48
- package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +51 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
- package/node_modules/@smithy/core/package.json +22 -13
- package/node_modules/@smithy/core/protocols.d.ts +7 -0
- package/node_modules/@smithy/core/protocols.js +6 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/eventstream-codec/package.json +4 -3
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +5 -4
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +5 -4
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +5 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +3 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +4 -3
- package/node_modules/@smithy/invalid-dependency/package.json +4 -3
- package/node_modules/@smithy/middleware-content-length/package.json +5 -4
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +11 -9
- package/node_modules/@smithy/middleware-retry/package.json +12 -10
- package/node_modules/@smithy/middleware-serde/package.json +6 -4
- package/node_modules/@smithy/middleware-stack/package.json +4 -3
- package/node_modules/@smithy/node-config-provider/package.json +6 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +27 -15
- package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +13 -5
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +9 -2
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +5 -4
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +4 -3
- package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/package.json +7 -6
- package/node_modules/@smithy/property-provider/package.json +4 -3
- package/node_modules/@smithy/protocol-http/package.json +4 -3
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +4 -3
- package/node_modules/@smithy/service-error-classification/package.json +4 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -3
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +10 -11
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +2 -2
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +7 -5
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +1 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +1 -0
- package/node_modules/@smithy/signature-v4/package.json +6 -5
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +88 -58
- package/node_modules/@smithy/smithy-client/dist-cjs/is-serializable-header-value.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/quote-header.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/split-header.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js +1 -11
- package/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js +1 -5
- package/node_modules/@smithy/smithy-client/dist-es/index.js +5 -2
- package/node_modules/@smithy/smithy-client/dist-es/is-serializable-header-value.js +3 -0
- package/node_modules/@smithy/smithy-client/dist-es/quote-header.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-es/resolve-path.js +1 -19
- package/node_modules/@smithy/smithy-client/dist-es/split-header.js +37 -0
- package/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts +2 -7
- package/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -4
- package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +6 -3
- package/node_modules/@smithy/smithy-client/dist-types/is-serializable-header-value.d.ts +5 -0
- package/node_modules/@smithy/smithy-client/dist-types/quote-header.d.ts +6 -0
- package/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts +2 -1
- package/node_modules/@smithy/smithy-client/dist-types/split-header.d.ts +5 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +2 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +2 -4
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +6 -3
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts +5 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/quote-header.d.ts +6 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +2 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/split-header.d.ts +5 -0
- package/node_modules/@smithy/smithy-client/package.json +9 -7
- package/node_modules/@smithy/types/dist-cjs/feature-ids.js +1 -0
- package/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@smithy/types/dist-es/index.js +1 -0
- package/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +30 -6
- package/node_modules/@smithy/types/dist-types/signature.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +26 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +3 -2
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +5 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -8
- package/node_modules/@smithy/util-endpoints/package.json +7 -5
- package/node_modules/@smithy/util-middleware/package.json +4 -3
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +5 -1
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +2 -1
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +4 -0
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +4 -0
- package/node_modules/@smithy/util-retry/package.json +5 -4
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +49 -0
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +40 -0
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +13 -0
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +6 -1
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -1
- package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +6 -1
- package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.browser.js +3 -0
- package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +44 -0
- package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js +35 -0
- package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js +9 -0
- package/node_modules/@smithy/util-stream/dist-es/index.js +2 -0
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +0 -1
- package/node_modules/@smithy/util-stream/dist-es/splitStream.js +2 -2
- package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +3 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +37 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +61 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +15 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +12 -0
- package/node_modules/@smithy/util-stream/dist-types/index.d.ts +2 -0
- package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +37 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +60 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +15 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +12 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/LICENSE +201 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/README.md +11 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +1 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +237 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +139 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +11 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +27 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +39 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +1 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +2 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +39 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +1 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +2 -0
- package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/package.json +65 -0
- package/node_modules/@smithy/util-stream/package.json +16 -6
- package/node_modules/tslib/modules/index.d.ts +1 -0
- package/node_modules/tslib/modules/index.js +2 -0
- package/node_modules/tslib/package.json +1 -1
- package/node_modules/tslib/tslib.d.ts +7 -0
- package/node_modules/tslib/tslib.es6.js +24 -1
- package/node_modules/tslib/tslib.es6.mjs +24 -1
- package/node_modules/tslib/tslib.js +56 -1
- package/package.json +4 -4
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/README.md +0 -4
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.d.ts +0 -118
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.js +0 -10
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.d.ts +0 -117
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.js +0 -31
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.d.ts +0 -23
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.js +0 -10
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.d.ts +0 -22
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.js +0 -11
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.d.ts +0 -23
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.js +0 -10
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.d.ts +0 -22
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.js +0 -11
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.d.ts +0 -59
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.js +0 -12
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.d.ts +0 -59
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.js +0 -25
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.d.ts +0 -515
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.js +0 -112
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.d.ts +0 -2
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.js +0 -18
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.d.ts +0 -42
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.js +0 -22
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.d.ts +0 -28
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.js +0 -10
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.d.ts +0 -27
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.js +0 -12
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.d.ts +0 -33
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.js +0 -10
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.d.ts +0 -32
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.js +0 -33
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/package.json +0 -27
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/README.md +0 -9
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.d.ts +0 -4
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.d.ts +0 -66
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.d.ts +0 -5
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.d.ts +0 -56
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.d.ts +0 -6
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.d.ts +0 -22
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.d.ts +0 -8
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.d.ts +0 -7
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.d.ts +0 -35
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.d.ts +0 -24
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.d.ts +0 -17
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.d.ts +0 -8
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.d.ts +0 -8
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.d.ts +0 -14
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.d.ts +0 -24
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.js +0 -40
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.d.ts +0 -11
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.d.ts +0 -10
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.d.ts +0 -16
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.d.ts +0 -27
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.d.ts +0 -10
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.d.ts +0 -10
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.d.ts +0 -5
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.d.ts +0 -4
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.js +0 -3
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/package.json +0 -24
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +0 -11
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +0 -11
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +0 -11
- package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +0 -11
- /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/backend-output-schemas → backend-output-schemas}/lib/ai/conversation/index.d.ts +0 -0
- /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/backend-output-schemas → backend-output-schemas}/lib/ai/conversation/index.js +0 -0
- /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/backend-output-schemas → backend-output-schemas}/lib/ai/conversation/v1.d.ts +0 -0
- /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/backend-output-schemas → backend-output-schemas}/lib/ai/conversation/v1.js +0 -0
- /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/plugin-types → plugin-types}/lib/stack_provider.d.ts +0 -0
- /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/plugin-types → plugin-types}/lib/stack_provider.js +0 -0
package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js
ADDED
@@ -0,0 +1,237 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
+
};
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
+
for (let key of __getOwnPropNames(from))
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
+
}
|
16
|
+
return to;
|
17
|
+
};
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
+
|
20
|
+
// src/index.ts
|
21
|
+
var src_exports = {};
|
22
|
+
__export(src_exports, {
|
23
|
+
FetchHttpHandler: () => FetchHttpHandler,
|
24
|
+
keepAliveSupport: () => keepAliveSupport,
|
25
|
+
streamCollector: () => streamCollector
|
26
|
+
});
|
27
|
+
module.exports = __toCommonJS(src_exports);
|
28
|
+
|
29
|
+
// src/fetch-http-handler.ts
|
30
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
31
|
+
var import_querystring_builder = require("@smithy/querystring-builder");
|
32
|
+
|
33
|
+
// src/create-request.ts
|
34
|
+
function createRequest(url, requestOptions) {
|
35
|
+
return new Request(url, requestOptions);
|
36
|
+
}
|
37
|
+
__name(createRequest, "createRequest");
|
38
|
+
|
39
|
+
// src/request-timeout.ts
|
40
|
+
function requestTimeout(timeoutInMs = 0) {
|
41
|
+
return new Promise((resolve, reject) => {
|
42
|
+
if (timeoutInMs) {
|
43
|
+
setTimeout(() => {
|
44
|
+
const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`);
|
45
|
+
timeoutError.name = "TimeoutError";
|
46
|
+
reject(timeoutError);
|
47
|
+
}, timeoutInMs);
|
48
|
+
}
|
49
|
+
});
|
50
|
+
}
|
51
|
+
__name(requestTimeout, "requestTimeout");
|
52
|
+
|
53
|
+
// src/fetch-http-handler.ts
|
54
|
+
var keepAliveSupport = {
|
55
|
+
supported: void 0
|
56
|
+
};
|
57
|
+
var _FetchHttpHandler = class _FetchHttpHandler {
|
58
|
+
/**
|
59
|
+
* @returns the input if it is an HttpHandler of any class,
|
60
|
+
* or instantiates a new instance of this handler.
|
61
|
+
*/
|
62
|
+
static create(instanceOrOptions) {
|
63
|
+
if (typeof (instanceOrOptions == null ? void 0 : instanceOrOptions.handle) === "function") {
|
64
|
+
return instanceOrOptions;
|
65
|
+
}
|
66
|
+
return new _FetchHttpHandler(instanceOrOptions);
|
67
|
+
}
|
68
|
+
constructor(options) {
|
69
|
+
if (typeof options === "function") {
|
70
|
+
this.configProvider = options().then((opts) => opts || {});
|
71
|
+
} else {
|
72
|
+
this.config = options ?? {};
|
73
|
+
this.configProvider = Promise.resolve(this.config);
|
74
|
+
}
|
75
|
+
if (keepAliveSupport.supported === void 0) {
|
76
|
+
keepAliveSupport.supported = Boolean(
|
77
|
+
typeof Request !== "undefined" && "keepalive" in createRequest("https://[::1]")
|
78
|
+
);
|
79
|
+
}
|
80
|
+
}
|
81
|
+
destroy() {
|
82
|
+
}
|
83
|
+
async handle(request, { abortSignal } = {}) {
|
84
|
+
var _a;
|
85
|
+
if (!this.config) {
|
86
|
+
this.config = await this.configProvider;
|
87
|
+
}
|
88
|
+
const requestTimeoutInMs = this.config.requestTimeout;
|
89
|
+
const keepAlive = this.config.keepAlive === true;
|
90
|
+
const credentials = this.config.credentials;
|
91
|
+
if (abortSignal == null ? void 0 : abortSignal.aborted) {
|
92
|
+
const abortError = new Error("Request aborted");
|
93
|
+
abortError.name = "AbortError";
|
94
|
+
return Promise.reject(abortError);
|
95
|
+
}
|
96
|
+
let path = request.path;
|
97
|
+
const queryString = (0, import_querystring_builder.buildQueryString)(request.query || {});
|
98
|
+
if (queryString) {
|
99
|
+
path += `?${queryString}`;
|
100
|
+
}
|
101
|
+
if (request.fragment) {
|
102
|
+
path += `#${request.fragment}`;
|
103
|
+
}
|
104
|
+
let auth = "";
|
105
|
+
if (request.username != null || request.password != null) {
|
106
|
+
const username = request.username ?? "";
|
107
|
+
const password = request.password ?? "";
|
108
|
+
auth = `${username}:${password}@`;
|
109
|
+
}
|
110
|
+
const { port, method } = request;
|
111
|
+
const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`;
|
112
|
+
const body = method === "GET" || method === "HEAD" ? void 0 : request.body;
|
113
|
+
const requestOptions = {
|
114
|
+
body,
|
115
|
+
headers: new Headers(request.headers),
|
116
|
+
method,
|
117
|
+
credentials
|
118
|
+
};
|
119
|
+
if ((_a = this.config) == null ? void 0 : _a.cache) {
|
120
|
+
requestOptions.cache = this.config.cache;
|
121
|
+
}
|
122
|
+
if (body) {
|
123
|
+
requestOptions.duplex = "half";
|
124
|
+
}
|
125
|
+
if (typeof AbortController !== "undefined") {
|
126
|
+
requestOptions.signal = abortSignal;
|
127
|
+
}
|
128
|
+
if (keepAliveSupport.supported) {
|
129
|
+
requestOptions.keepalive = keepAlive;
|
130
|
+
}
|
131
|
+
if (typeof this.config.requestInit === "function") {
|
132
|
+
Object.assign(requestOptions, this.config.requestInit(request));
|
133
|
+
}
|
134
|
+
let removeSignalEventListener = /* @__PURE__ */ __name(() => {
|
135
|
+
}, "removeSignalEventListener");
|
136
|
+
const fetchRequest = createRequest(url, requestOptions);
|
137
|
+
const raceOfPromises = [
|
138
|
+
fetch(fetchRequest).then((response) => {
|
139
|
+
const fetchHeaders = response.headers;
|
140
|
+
const transformedHeaders = {};
|
141
|
+
for (const pair of fetchHeaders.entries()) {
|
142
|
+
transformedHeaders[pair[0]] = pair[1];
|
143
|
+
}
|
144
|
+
const hasReadableStream = response.body != void 0;
|
145
|
+
if (!hasReadableStream) {
|
146
|
+
return response.blob().then((body2) => ({
|
147
|
+
response: new import_protocol_http.HttpResponse({
|
148
|
+
headers: transformedHeaders,
|
149
|
+
reason: response.statusText,
|
150
|
+
statusCode: response.status,
|
151
|
+
body: body2
|
152
|
+
})
|
153
|
+
}));
|
154
|
+
}
|
155
|
+
return {
|
156
|
+
response: new import_protocol_http.HttpResponse({
|
157
|
+
headers: transformedHeaders,
|
158
|
+
reason: response.statusText,
|
159
|
+
statusCode: response.status,
|
160
|
+
body: response.body
|
161
|
+
})
|
162
|
+
};
|
163
|
+
}),
|
164
|
+
requestTimeout(requestTimeoutInMs)
|
165
|
+
];
|
166
|
+
if (abortSignal) {
|
167
|
+
raceOfPromises.push(
|
168
|
+
new Promise((resolve, reject) => {
|
169
|
+
const onAbort = /* @__PURE__ */ __name(() => {
|
170
|
+
const abortError = new Error("Request aborted");
|
171
|
+
abortError.name = "AbortError";
|
172
|
+
reject(abortError);
|
173
|
+
}, "onAbort");
|
174
|
+
if (typeof abortSignal.addEventListener === "function") {
|
175
|
+
const signal = abortSignal;
|
176
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
177
|
+
removeSignalEventListener = /* @__PURE__ */ __name(() => signal.removeEventListener("abort", onAbort), "removeSignalEventListener");
|
178
|
+
} else {
|
179
|
+
abortSignal.onabort = onAbort;
|
180
|
+
}
|
181
|
+
})
|
182
|
+
);
|
183
|
+
}
|
184
|
+
return Promise.race(raceOfPromises).finally(removeSignalEventListener);
|
185
|
+
}
|
186
|
+
updateHttpClientConfig(key, value) {
|
187
|
+
this.config = void 0;
|
188
|
+
this.configProvider = this.configProvider.then((config) => {
|
189
|
+
config[key] = value;
|
190
|
+
return config;
|
191
|
+
});
|
192
|
+
}
|
193
|
+
httpHandlerConfigs() {
|
194
|
+
return this.config ?? {};
|
195
|
+
}
|
196
|
+
};
|
197
|
+
__name(_FetchHttpHandler, "FetchHttpHandler");
|
198
|
+
var FetchHttpHandler = _FetchHttpHandler;
|
199
|
+
|
200
|
+
// src/stream-collector.ts
|
201
|
+
var streamCollector = /* @__PURE__ */ __name(async (stream) => {
|
202
|
+
var _a;
|
203
|
+
if (typeof Blob === "function" && stream instanceof Blob || ((_a = stream.constructor) == null ? void 0 : _a.name) === "Blob") {
|
204
|
+
return new Uint8Array(await stream.arrayBuffer());
|
205
|
+
}
|
206
|
+
return collectStream(stream);
|
207
|
+
}, "streamCollector");
|
208
|
+
async function collectStream(stream) {
|
209
|
+
const chunks = [];
|
210
|
+
const reader = stream.getReader();
|
211
|
+
let isDone = false;
|
212
|
+
let length = 0;
|
213
|
+
while (!isDone) {
|
214
|
+
const { done, value } = await reader.read();
|
215
|
+
if (value) {
|
216
|
+
chunks.push(value);
|
217
|
+
length += value.length;
|
218
|
+
}
|
219
|
+
isDone = done;
|
220
|
+
}
|
221
|
+
const collected = new Uint8Array(length);
|
222
|
+
let offset = 0;
|
223
|
+
for (const chunk of chunks) {
|
224
|
+
collected.set(chunk, offset);
|
225
|
+
offset += chunk.length;
|
226
|
+
}
|
227
|
+
return collected;
|
228
|
+
}
|
229
|
+
__name(collectStream, "collectStream");
|
230
|
+
// Annotate the CommonJS export names for ESM import in node:
|
231
|
+
|
232
|
+
0 && (module.exports = {
|
233
|
+
keepAliveSupport,
|
234
|
+
FetchHttpHandler,
|
235
|
+
streamCollector
|
236
|
+
});
|
237
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("./index.js");
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("./index.js");
|
@@ -0,0 +1,139 @@
|
|
1
|
+
import { HttpResponse } from "@smithy/protocol-http";
|
2
|
+
import { buildQueryString } from "@smithy/querystring-builder";
|
3
|
+
import { createRequest } from "./create-request";
|
4
|
+
import { requestTimeout } from "./request-timeout";
|
5
|
+
export const keepAliveSupport = {
|
6
|
+
supported: undefined,
|
7
|
+
};
|
8
|
+
export class FetchHttpHandler {
|
9
|
+
static create(instanceOrOptions) {
|
10
|
+
if (typeof instanceOrOptions?.handle === "function") {
|
11
|
+
return instanceOrOptions;
|
12
|
+
}
|
13
|
+
return new FetchHttpHandler(instanceOrOptions);
|
14
|
+
}
|
15
|
+
constructor(options) {
|
16
|
+
if (typeof options === "function") {
|
17
|
+
this.configProvider = options().then((opts) => opts || {});
|
18
|
+
}
|
19
|
+
else {
|
20
|
+
this.config = options ?? {};
|
21
|
+
this.configProvider = Promise.resolve(this.config);
|
22
|
+
}
|
23
|
+
if (keepAliveSupport.supported === undefined) {
|
24
|
+
keepAliveSupport.supported = Boolean(typeof Request !== "undefined" && "keepalive" in createRequest("https://[::1]"));
|
25
|
+
}
|
26
|
+
}
|
27
|
+
destroy() {
|
28
|
+
}
|
29
|
+
async handle(request, { abortSignal } = {}) {
|
30
|
+
if (!this.config) {
|
31
|
+
this.config = await this.configProvider;
|
32
|
+
}
|
33
|
+
const requestTimeoutInMs = this.config.requestTimeout;
|
34
|
+
const keepAlive = this.config.keepAlive === true;
|
35
|
+
const credentials = this.config.credentials;
|
36
|
+
if (abortSignal?.aborted) {
|
37
|
+
const abortError = new Error("Request aborted");
|
38
|
+
abortError.name = "AbortError";
|
39
|
+
return Promise.reject(abortError);
|
40
|
+
}
|
41
|
+
let path = request.path;
|
42
|
+
const queryString = buildQueryString(request.query || {});
|
43
|
+
if (queryString) {
|
44
|
+
path += `?${queryString}`;
|
45
|
+
}
|
46
|
+
if (request.fragment) {
|
47
|
+
path += `#${request.fragment}`;
|
48
|
+
}
|
49
|
+
let auth = "";
|
50
|
+
if (request.username != null || request.password != null) {
|
51
|
+
const username = request.username ?? "";
|
52
|
+
const password = request.password ?? "";
|
53
|
+
auth = `${username}:${password}@`;
|
54
|
+
}
|
55
|
+
const { port, method } = request;
|
56
|
+
const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`;
|
57
|
+
const body = method === "GET" || method === "HEAD" ? undefined : request.body;
|
58
|
+
const requestOptions = {
|
59
|
+
body,
|
60
|
+
headers: new Headers(request.headers),
|
61
|
+
method: method,
|
62
|
+
credentials,
|
63
|
+
};
|
64
|
+
if (this.config?.cache) {
|
65
|
+
requestOptions.cache = this.config.cache;
|
66
|
+
}
|
67
|
+
if (body) {
|
68
|
+
requestOptions.duplex = "half";
|
69
|
+
}
|
70
|
+
if (typeof AbortController !== "undefined") {
|
71
|
+
requestOptions.signal = abortSignal;
|
72
|
+
}
|
73
|
+
if (keepAliveSupport.supported) {
|
74
|
+
requestOptions.keepalive = keepAlive;
|
75
|
+
}
|
76
|
+
if (typeof this.config.requestInit === "function") {
|
77
|
+
Object.assign(requestOptions, this.config.requestInit(request));
|
78
|
+
}
|
79
|
+
let removeSignalEventListener = () => { };
|
80
|
+
const fetchRequest = createRequest(url, requestOptions);
|
81
|
+
const raceOfPromises = [
|
82
|
+
fetch(fetchRequest).then((response) => {
|
83
|
+
const fetchHeaders = response.headers;
|
84
|
+
const transformedHeaders = {};
|
85
|
+
for (const pair of fetchHeaders.entries()) {
|
86
|
+
transformedHeaders[pair[0]] = pair[1];
|
87
|
+
}
|
88
|
+
const hasReadableStream = response.body != undefined;
|
89
|
+
if (!hasReadableStream) {
|
90
|
+
return response.blob().then((body) => ({
|
91
|
+
response: new HttpResponse({
|
92
|
+
headers: transformedHeaders,
|
93
|
+
reason: response.statusText,
|
94
|
+
statusCode: response.status,
|
95
|
+
body,
|
96
|
+
}),
|
97
|
+
}));
|
98
|
+
}
|
99
|
+
return {
|
100
|
+
response: new HttpResponse({
|
101
|
+
headers: transformedHeaders,
|
102
|
+
reason: response.statusText,
|
103
|
+
statusCode: response.status,
|
104
|
+
body: response.body,
|
105
|
+
}),
|
106
|
+
};
|
107
|
+
}),
|
108
|
+
requestTimeout(requestTimeoutInMs),
|
109
|
+
];
|
110
|
+
if (abortSignal) {
|
111
|
+
raceOfPromises.push(new Promise((resolve, reject) => {
|
112
|
+
const onAbort = () => {
|
113
|
+
const abortError = new Error("Request aborted");
|
114
|
+
abortError.name = "AbortError";
|
115
|
+
reject(abortError);
|
116
|
+
};
|
117
|
+
if (typeof abortSignal.addEventListener === "function") {
|
118
|
+
const signal = abortSignal;
|
119
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
120
|
+
removeSignalEventListener = () => signal.removeEventListener("abort", onAbort);
|
121
|
+
}
|
122
|
+
else {
|
123
|
+
abortSignal.onabort = onAbort;
|
124
|
+
}
|
125
|
+
}));
|
126
|
+
}
|
127
|
+
return Promise.race(raceOfPromises).finally(removeSignalEventListener);
|
128
|
+
}
|
129
|
+
updateHttpClientConfig(key, value) {
|
130
|
+
this.config = undefined;
|
131
|
+
this.configProvider = this.configProvider.then((config) => {
|
132
|
+
config[key] = value;
|
133
|
+
return config;
|
134
|
+
});
|
135
|
+
}
|
136
|
+
httpHandlerConfigs() {
|
137
|
+
return this.config ?? {};
|
138
|
+
}
|
139
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export function requestTimeout(timeoutInMs = 0) {
|
2
|
+
return new Promise((resolve, reject) => {
|
3
|
+
if (timeoutInMs) {
|
4
|
+
setTimeout(() => {
|
5
|
+
const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`);
|
6
|
+
timeoutError.name = "TimeoutError";
|
7
|
+
reject(timeoutError);
|
8
|
+
}, timeoutInMs);
|
9
|
+
}
|
10
|
+
});
|
11
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
export const streamCollector = async (stream) => {
|
2
|
+
if ((typeof Blob === "function" && stream instanceof Blob) || stream.constructor?.name === "Blob") {
|
3
|
+
return new Uint8Array(await stream.arrayBuffer());
|
4
|
+
}
|
5
|
+
return collectStream(stream);
|
6
|
+
};
|
7
|
+
async function collectStream(stream) {
|
8
|
+
const chunks = [];
|
9
|
+
const reader = stream.getReader();
|
10
|
+
let isDone = false;
|
11
|
+
let length = 0;
|
12
|
+
while (!isDone) {
|
13
|
+
const { done, value } = await reader.read();
|
14
|
+
if (value) {
|
15
|
+
chunks.push(value);
|
16
|
+
length += value.length;
|
17
|
+
}
|
18
|
+
isDone = done;
|
19
|
+
}
|
20
|
+
const collected = new Uint8Array(length);
|
21
|
+
let offset = 0;
|
22
|
+
for (const chunk of chunks) {
|
23
|
+
collected.set(chunk, offset);
|
24
|
+
offset += chunk.length;
|
25
|
+
}
|
26
|
+
return collected;
|
27
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { HttpHandler, HttpRequest, HttpResponse } from "@smithy/protocol-http";
|
2
|
+
import type { FetchHttpHandlerOptions } from "@smithy/types";
|
3
|
+
import { HttpHandlerOptions, Provider } from "@smithy/types";
|
4
|
+
export { FetchHttpHandlerOptions };
|
5
|
+
type FetchHttpHandlerConfig = FetchHttpHandlerOptions;
|
6
|
+
/**
|
7
|
+
* @internal
|
8
|
+
* Detection of keepalive support. Can be overridden for testing.
|
9
|
+
*/
|
10
|
+
export declare const keepAliveSupport: {
|
11
|
+
supported: boolean | undefined;
|
12
|
+
};
|
13
|
+
/**
|
14
|
+
* @internal
|
15
|
+
*/
|
16
|
+
export type AdditionalRequestParameters = {
|
17
|
+
duplex?: "half";
|
18
|
+
};
|
19
|
+
/**
|
20
|
+
* @public
|
21
|
+
*
|
22
|
+
* HttpHandler implementation using browsers' `fetch` global function.
|
23
|
+
*/
|
24
|
+
export declare class FetchHttpHandler implements HttpHandler<FetchHttpHandlerConfig> {
|
25
|
+
private config?;
|
26
|
+
private configProvider;
|
27
|
+
/**
|
28
|
+
* @returns the input if it is an HttpHandler of any class,
|
29
|
+
* or instantiates a new instance of this handler.
|
30
|
+
*/
|
31
|
+
static create(instanceOrOptions?: HttpHandler<any> | FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>): FetchHttpHandler | HttpHandler<any>;
|
32
|
+
constructor(options?: FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>);
|
33
|
+
destroy(): void;
|
34
|
+
handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
|
35
|
+
response: HttpResponse;
|
36
|
+
}>;
|
37
|
+
updateHttpClientConfig(key: keyof FetchHttpHandlerConfig, value: FetchHttpHandlerConfig[typeof key]): void;
|
38
|
+
httpHandlerConfigs(): FetchHttpHandlerConfig;
|
39
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function requestTimeout(timeoutInMs?: number): Promise<never>;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { HttpHandler, HttpRequest, HttpResponse } from "@smithy/protocol-http";
|
2
|
+
import { FetchHttpHandlerOptions } from "@smithy/types";
|
3
|
+
import { HttpHandlerOptions, Provider } from "@smithy/types";
|
4
|
+
export { FetchHttpHandlerOptions };
|
5
|
+
type FetchHttpHandlerConfig = FetchHttpHandlerOptions;
|
6
|
+
/**
|
7
|
+
* @internal
|
8
|
+
* Detection of keepalive support. Can be overridden for testing.
|
9
|
+
*/
|
10
|
+
export declare const keepAliveSupport: {
|
11
|
+
supported: boolean | undefined;
|
12
|
+
};
|
13
|
+
/**
|
14
|
+
* @internal
|
15
|
+
*/
|
16
|
+
export type AdditionalRequestParameters = {
|
17
|
+
duplex?: "half";
|
18
|
+
};
|
19
|
+
/**
|
20
|
+
* @public
|
21
|
+
*
|
22
|
+
* HttpHandler implementation using browsers' `fetch` global function.
|
23
|
+
*/
|
24
|
+
export declare class FetchHttpHandler implements HttpHandler<FetchHttpHandlerConfig> {
|
25
|
+
private config?;
|
26
|
+
private configProvider;
|
27
|
+
/**
|
28
|
+
* @returns the input if it is an HttpHandler of any class,
|
29
|
+
* or instantiates a new instance of this handler.
|
30
|
+
*/
|
31
|
+
static create(instanceOrOptions?: HttpHandler<any> | FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>): FetchHttpHandler | HttpHandler<any>;
|
32
|
+
constructor(options?: FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>);
|
33
|
+
destroy(): void;
|
34
|
+
handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
|
35
|
+
response: HttpResponse;
|
36
|
+
}>;
|
37
|
+
updateHttpClientConfig(key: keyof FetchHttpHandlerConfig, value: FetchHttpHandlerConfig[typeof key]): void;
|
38
|
+
httpHandlerConfigs(): FetchHttpHandlerConfig;
|
39
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function requestTimeout(timeoutInMs?: number): Promise<never>;
|
@@ -0,0 +1,65 @@
|
|
1
|
+
{
|
2
|
+
"name": "@smithy/fetch-http-handler",
|
3
|
+
"version": "4.1.1",
|
4
|
+
"description": "Provides a way to make requests",
|
5
|
+
"scripts": {
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
7
|
+
"build:cjs": "node ../../scripts/inline fetch-http-handler",
|
8
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
9
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
10
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
11
|
+
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
13
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
14
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
15
|
+
"extract:docs": "api-extractor run --local",
|
16
|
+
"test": "yarn g:vitest run && yarn test:browser",
|
17
|
+
"test:watch": "yarn g:vitest watch",
|
18
|
+
"test:browser": "yarn g:vitest run -c vitest.config.browser.ts",
|
19
|
+
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.ts"
|
20
|
+
},
|
21
|
+
"author": {
|
22
|
+
"name": "AWS SDK for JavaScript Team",
|
23
|
+
"url": "https://aws.amazon.com/javascript/"
|
24
|
+
},
|
25
|
+
"license": "Apache-2.0",
|
26
|
+
"main": "./dist-cjs/index.js",
|
27
|
+
"module": "./dist-es/index.js",
|
28
|
+
"types": "./dist-types/index.d.ts",
|
29
|
+
"dependencies": {
|
30
|
+
"@smithy/protocol-http": "^4.1.7",
|
31
|
+
"@smithy/querystring-builder": "^3.0.10",
|
32
|
+
"@smithy/types": "^3.7.1",
|
33
|
+
"@smithy/util-base64": "^3.0.0",
|
34
|
+
"tslib": "^2.6.2"
|
35
|
+
},
|
36
|
+
"devDependencies": {
|
37
|
+
"@smithy/abort-controller": "^3.1.8",
|
38
|
+
"concurrently": "7.0.0",
|
39
|
+
"downlevel-dts": "0.10.1",
|
40
|
+
"rimraf": "3.0.2",
|
41
|
+
"typedoc": "0.23.23"
|
42
|
+
},
|
43
|
+
"typesVersions": {
|
44
|
+
"<4.0": {
|
45
|
+
"dist-types/*": [
|
46
|
+
"dist-types/ts3.4/*"
|
47
|
+
]
|
48
|
+
}
|
49
|
+
},
|
50
|
+
"files": [
|
51
|
+
"dist-*/**"
|
52
|
+
],
|
53
|
+
"homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/fetch-http-handler",
|
54
|
+
"repository": {
|
55
|
+
"type": "git",
|
56
|
+
"url": "https://github.com/awslabs/smithy-typescript.git",
|
57
|
+
"directory": "packages/fetch-http-handler"
|
58
|
+
},
|
59
|
+
"typedoc": {
|
60
|
+
"entryPoint": "src/index.ts"
|
61
|
+
},
|
62
|
+
"publishConfig": {
|
63
|
+
"directory": ".release/package"
|
64
|
+
}
|
65
|
+
}
|