@aws/lsp-codewhisperer 0.0.16 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/node_modules/@amzn/codewhisperer-streaming/README.md +235 -60
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreaming.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreamingClient.js +15 -9
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/ExportResultArchiveCommand.js +16 -32
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/GenerateAssistantResponseCommand.js +16 -32
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/GenerateTaskAssistPlanCommand.js +16 -32
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/SendMessageCommand.js +26 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/endpoints.js +139 -95
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/models_0.js +541 -135
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +227 -221
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.browser.js +5 -4
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.js +15 -10
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.native.js +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.shared.js +23 -13
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeExtensions.js +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreaming.js +7 -5
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreamingClient.js +26 -20
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/ExportResultArchiveCommand.js +20 -36
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/GenerateAssistantResponseCommand.js +20 -36
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/GenerateTaskAssistPlanCommand.js +20 -36
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/SendMessageCommand.js +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/index.js +4 -3
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/endpoints.js +140 -96
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/index.js +5 -5
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/CodeWhispererStreamingServiceException.js +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/index.js +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/models_0.js +509 -135
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +218 -214
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.browser.js +16 -15
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.js +29 -24
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.native.js +3 -3
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.shared.js +28 -18
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeExtensions.js +6 -3
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreaming.d.ts +12 -5
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreamingClient.d.ts +25 -20
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/auth/httpAuthSchemeProvider.d.ts +67 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/ExportResultArchiveCommand.d.ts +31 -27
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +263 -30
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +263 -30
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +636 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/index.d.ts +4 -3
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/endpoints.d.ts +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/extensionConfiguration.d.ts +5 -4
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/index.d.ts +7 -5
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/CodeWhispererStreamingServiceException.d.ts +3 -2
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/index.d.ts +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +1313 -229
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/protocols/Aws_restJson1.d.ts +14 -5
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.browser.d.ts +14 -10
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.d.ts +1 -36
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.native.d.ts +13 -9
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.shared.d.ts +9 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeExtensions.d.ts +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-cjs/index.js +295 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +49 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -0
- package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/logger.d.ts +2 -2
- package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/credentials.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +1 -0
- package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/package.json +7 -15
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/LICENSE +201 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/README.md +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/util-utf8/package.json +65 -0
- package/node_modules/@amzn/codewhisperer-streaming/package.json +47 -47
- package/node_modules/@smithy/abort-controller/LICENSE +201 -0
- package/node_modules/@smithy/abort-controller/README.md +4 -0
- package/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +1 -0
- package/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -0
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +82 -0
- package/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -0
- package/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
- package/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
- package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +13 -0
- package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +18 -0
- package/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +13 -0
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +18 -0
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@smithy/abort-controller/package.json +62 -0
- package/node_modules/@smithy/node-http-handler/LICENSE +201 -0
- package/node_modules/@smithy/node-http-handler/README.md +4 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +687 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
- package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +184 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +86 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +159 -0
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +19 -0
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +81 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +21 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +8 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +6 -0
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +11 -0
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +14 -0
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +19 -0
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +52 -0
- package/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +37 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +22 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +13 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +57 -0
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +14 -0
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +7 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +14 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +36 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +22 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +13 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +57 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +13 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +13 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +13 -0
- package/node_modules/@smithy/node-http-handler/package.json +67 -0
- package/node_modules/@smithy/protocol-http/LICENSE +201 -0
- package/node_modules/@smithy/protocol-http/README.md +4 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +237 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/types.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/Field.js +23 -0
- package/node_modules/@smithy/protocol-http/dist-es/Fields.js +19 -0
- package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +22 -0
- package/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +48 -0
- package/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +14 -0
- package/node_modules/@smithy/protocol-http/dist-es/index.js +8 -0
- package/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +4 -0
- package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +49 -0
- package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +44 -0
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +23 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +16 -0
- package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +8 -0
- package/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +49 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +44 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +23 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +16 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +8 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +21 -0
- package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +21 -0
- package/node_modules/@smithy/protocol-http/package.json +61 -0
- package/node_modules/@smithy/querystring-builder/LICENSE +201 -0
- package/node_modules/@smithy/querystring-builder/README.md +10 -0
- package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +52 -0
- package/node_modules/@smithy/querystring-builder/dist-es/index.js +21 -0
- package/node_modules/@smithy/querystring-builder/dist-types/index.d.ts +5 -0
- package/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@smithy/querystring-builder/package.json +61 -0
- package/node_modules/@smithy/types/LICENSE +201 -0
- package/node_modules/@smithy/types/README.md +80 -0
- package/node_modules/@smithy/types/dist-cjs/abort.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/auth/auth.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/auth/index.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/checksum.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/client.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/command.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/connection/config.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/connection/index.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/connection/manager.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/connection/pool.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/crypto.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/encode.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/endpoint.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/endpoints/index.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/eventStream.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/index.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/http.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/identity/identity.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/identity/index.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/index.js +149 -0
- package/node_modules/@smithy/types/dist-cjs/logger.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/middleware.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/pagination.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/profile.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/response.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/retry.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/serde.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/shapes.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/signature.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/stream.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/transfer.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/transform/exact.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/uri.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/util.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +5 -0
- package/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/auth.js +5 -0
- package/node_modules/@smithy/types/dist-es/auth/index.js +6 -0
- package/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/checksum.js +1 -0
- package/node_modules/@smithy/types/dist-es/client.js +1 -0
- package/node_modules/@smithy/types/dist-es/command.js +1 -0
- package/node_modules/@smithy/types/dist-es/connection/config.js +1 -0
- package/node_modules/@smithy/types/dist-es/connection/index.js +3 -0
- package/node_modules/@smithy/types/dist-es/connection/manager.js +1 -0
- package/node_modules/@smithy/types/dist-es/connection/pool.js +1 -0
- package/node_modules/@smithy/types/dist-es/crypto.js +1 -0
- package/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
- package/node_modules/@smithy/types/dist-es/encode.js +1 -0
- package/node_modules/@smithy/types/dist-es/endpoint.js +5 -0
- package/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js +1 -0
- package/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js +1 -0
- package/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js +1 -0
- package/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js +1 -0
- package/node_modules/@smithy/types/dist-es/endpoints/index.js +5 -0
- package/node_modules/@smithy/types/dist-es/endpoints/shared.js +1 -0
- package/node_modules/@smithy/types/dist-es/eventStream.js +1 -0
- package/node_modules/@smithy/types/dist-es/extensions/checksum.js +39 -0
- package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +11 -0
- package/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@smithy/types/dist-es/extensions/index.js +3 -0
- package/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
- package/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js +1 -0
- package/node_modules/@smithy/types/dist-es/http.js +5 -0
- package/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +1 -0
- package/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js +1 -0
- package/node_modules/@smithy/types/dist-es/identity/identity.js +1 -0
- package/node_modules/@smithy/types/dist-es/identity/index.js +4 -0
- package/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +1 -0
- package/node_modules/@smithy/types/dist-es/index.js +36 -0
- package/node_modules/@smithy/types/dist-es/logger.js +1 -0
- package/node_modules/@smithy/types/dist-es/middleware.js +1 -0
- package/node_modules/@smithy/types/dist-es/pagination.js +1 -0
- package/node_modules/@smithy/types/dist-es/profile.js +6 -0
- package/node_modules/@smithy/types/dist-es/response.js +1 -0
- package/node_modules/@smithy/types/dist-es/retry.js +1 -0
- package/node_modules/@smithy/types/dist-es/serde.js +1 -0
- package/node_modules/@smithy/types/dist-es/shapes.js +1 -0
- package/node_modules/@smithy/types/dist-es/signature.js +1 -0
- package/node_modules/@smithy/types/dist-es/stream.js +1 -0
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/transfer.js +6 -0
- package/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/no-undefined.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
- package/node_modules/@smithy/types/dist-es/uri.js +1 -0
- package/node_modules/@smithy/types/dist-es/util.js +1 -0
- package/node_modules/@smithy/types/dist-es/waiter.js +1 -0
- package/node_modules/@smithy/types/dist-types/abort.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/auth/auth.d.ts +57 -0
- package/node_modules/@smithy/types/dist-types/auth/index.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/checksum.d.ts +63 -0
- package/node_modules/@smithy/types/dist-types/client.d.ts +44 -0
- package/node_modules/@smithy/types/dist-types/command.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/connection/config.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +24 -0
- package/node_modules/@smithy/types/dist-types/crypto.d.ts +60 -0
- package/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +25 -0
- package/node_modules/@smithy/types/dist-types/encode.d.ts +19 -0
- package/node_modules/@smithy/types/dist-types/endpoint.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +19 -0
- package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +25 -0
- package/node_modules/@smithy/types/dist-types/eventStream.d.ts +108 -0
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +79 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +105 -0
- package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +27 -0
- package/node_modules/@smithy/types/dist-types/identity/identity.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -0
- package/node_modules/{@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts → @smithy/types/dist-types/identity/tokenIdentity.d.ts} +3 -3
- package/node_modules/@smithy/types/dist-types/index.d.ts +36 -0
- package/node_modules/@smithy/types/dist-types/logger.d.ts +13 -0
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +510 -0
- package/node_modules/@smithy/types/dist-types/pagination.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/profile.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/response.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/retry.d.ts +133 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +111 -0
- package/node_modules/@smithy/types/dist-types/shapes.d.ts +81 -0
- package/node_modules/@smithy/types/dist-types/signature.d.ts +150 -0
- package/node_modules/@smithy/types/dist-types/stream.d.ts +22 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +62 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +53 -0
- package/node_modules/@smithy/types/dist-types/transfer.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +73 -0
- package/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +62 -0
- package/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +34 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +57 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +63 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +44 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +24 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +60 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +19 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +19 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +25 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +108 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +78 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +105 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +27 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +36 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +510 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +133 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +111 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +81 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +150 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +61 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +52 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +84 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +82 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/uri.d.ts +17 -0
- package/node_modules/@smithy/types/dist-types/util.d.ts +176 -0
- package/node_modules/@smithy/types/dist-types/waiter.d.ts +35 -0
- package/node_modules/@smithy/types/package.json +61 -0
- package/node_modules/@smithy/util-uri-escape/LICENSE +201 -0
- package/node_modules/@smithy/util-uri-escape/README.md +10 -0
- package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +1 -0
- package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +1 -0
- package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +43 -0
- package/node_modules/@smithy/util-uri-escape/dist-es/escape-uri-path.js +2 -0
- package/node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js +2 -0
- package/node_modules/@smithy/util-uri-escape/dist-es/index.js +2 -0
- package/node_modules/@smithy/util-uri-escape/dist-types/escape-uri-path.d.ts +4 -0
- package/node_modules/@smithy/util-uri-escape/dist-types/escape-uri.d.ts +4 -0
- package/node_modules/@smithy/util-uri-escape/dist-types/index.d.ts +8 -0
- package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts +4 -0
- package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts +4 -0
- package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts +8 -0
- package/node_modules/@smithy/util-uri-escape/package.json +59 -0
- package/out/client/streamingClient/codewhispererStreamingClient.js +7 -8
- package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
- package/out/client/token/bearer-token-service.json +2472 -470
- package/out/constants.d.ts +2 -0
- package/out/constants.js +6 -0
- package/out/constants.js.map +1 -0
- package/out/language-server/auto-trigger/coefficients.json +11 -1
- package/out/language-server/chat/chatController.d.ts +4 -3
- package/out/language-server/chat/chatController.js +90 -31
- package/out/language-server/chat/chatController.js.map +1 -1
- package/out/language-server/chat/chatController.test.js +51 -28
- package/out/language-server/chat/chatController.test.js.map +1 -1
- package/out/language-server/chat/chatEventParser.d.ts +7 -2
- package/out/language-server/chat/chatEventParser.js +13 -5
- package/out/language-server/chat/chatEventParser.js.map +1 -1
- package/out/language-server/chat/chatEventParser.test.js +88 -42
- package/out/language-server/chat/chatEventParser.test.js.map +1 -1
- package/out/language-server/chat/chatSessionService.d.ts +4 -4
- package/out/language-server/chat/chatSessionService.js +13 -13
- package/out/language-server/chat/chatSessionService.js.map +1 -1
- package/out/language-server/chat/chatSessionService.test.js +19 -25
- package/out/language-server/chat/chatSessionService.test.js.map +1 -1
- package/out/language-server/chat/contexts/documentContext.d.ts +1 -4
- package/out/language-server/chat/contexts/documentContext.js +1 -17
- package/out/language-server/chat/contexts/documentContext.js.map +1 -1
- package/out/language-server/chat/contexts/documentContext.test.js +0 -7
- package/out/language-server/chat/contexts/documentContext.test.js.map +1 -1
- package/out/language-server/chat/contexts/triggerContext.d.ts +3 -4
- package/out/language-server/chat/contexts/triggerContext.js +0 -4
- package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
- package/out/language-server/chat/contexts/triggerContexts.test.js +0 -1
- package/out/language-server/chat/contexts/triggerContexts.test.js.map +1 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +7 -2
- package/out/language-server/chat/telemetry/chatTelemetryController.js +68 -44
- package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.test.js +112 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +1 -1
- package/out/language-server/chat/telemetry/clientTelemetry.d.ts +0 -1
- package/out/language-server/chat/telemetry/clientTelemetry.js.map +1 -1
- package/out/language-server/codeWhispererSecurityScanServer.js +2 -1
- package/out/language-server/codeWhispererSecurityScanServer.js.map +1 -1
- package/out/language-server/codeWhispererServer.js +67 -46
- package/out/language-server/codeWhispererServer.js.map +1 -1
- package/out/language-server/codeWhispererServer.test.js +73 -2
- package/out/language-server/codeWhispererServer.test.js.map +1 -1
- package/out/language-server/codeWhispererService.d.ts +14 -11
- package/out/language-server/codeWhispererService.js +25 -12
- package/out/language-server/codeWhispererService.js.map +1 -1
- package/out/language-server/configuration/qConfigurationServer.js +2 -2
- package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
- package/out/language-server/constants.d.ts +1 -0
- package/out/language-server/constants.js +2 -1
- package/out/language-server/constants.js.map +1 -1
- package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js +2 -3
- package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js.map +1 -1
- package/out/language-server/dependencyGraph/dependencyGraph.js +2 -2
- package/out/language-server/dependencyGraph/dependencyGraph.js.map +1 -1
- package/out/language-server/languageDetection.d.ts +9 -1
- package/out/language-server/languageDetection.js +71 -5
- package/out/language-server/languageDetection.js.map +1 -1
- package/out/language-server/netTransform/artifactManager.js +12 -10
- package/out/language-server/netTransform/artifactManager.js.map +1 -1
- package/out/language-server/netTransform/converter.d.ts +1 -2
- package/out/language-server/netTransform/converter.js +3 -48
- package/out/language-server/netTransform/converter.js.map +1 -1
- package/out/language-server/netTransform/models.d.ts +4 -0
- package/out/language-server/netTransform/models.js.map +1 -1
- package/out/language-server/netTransform/resources/SupportedProjects.js +3 -1
- package/out/language-server/netTransform/resources/SupportedProjects.js.map +1 -1
- package/out/language-server/netTransform/tests/converter.test.js +2 -159
- package/out/language-server/netTransform/tests/converter.test.js.map +1 -1
- package/out/language-server/netTransform/tests/validation.test.js +2 -0
- package/out/language-server/netTransform/tests/validation.test.js.map +1 -1
- package/out/language-server/netTransform/transformHandler.js +25 -35
- package/out/language-server/netTransform/transformHandler.js.map +1 -1
- package/out/language-server/netTransformServer.js +2 -21
- package/out/language-server/netTransformServer.js.map +1 -1
- package/out/language-server/proxy-server.js +9 -83
- package/out/language-server/proxy-server.js.map +1 -1
- package/out/language-server/qChatServer.js +13 -4
- package/out/language-server/qChatServer.js.map +1 -1
- package/out/language-server/session/sessionManager.d.ts +7 -2
- package/out/language-server/session/sessionManager.js +2 -0
- package/out/language-server/session/sessionManager.js.map +1 -1
- package/out/language-server/session/sessionManager.test.js +4 -0
- package/out/language-server/session/sessionManager.test.js.map +1 -1
- package/out/language-server/telemetry/codeDiffTracker.d.ts +2 -1
- package/out/language-server/telemetry/codeDiffTracker.js +6 -1
- package/out/language-server/telemetry/codeDiffTracker.js.map +1 -1
- package/out/language-server/telemetry/codePercentage.d.ts +6 -4
- package/out/language-server/telemetry/codePercentage.js +49 -12
- package/out/language-server/telemetry/codePercentage.js.map +1 -1
- package/out/language-server/telemetry/codePercentage.test.js +169 -41
- package/out/language-server/telemetry/codePercentage.test.js.map +1 -1
- package/out/language-server/telemetry/types.d.ts +2 -1
- package/out/language-server/telemetry/types.js.map +1 -1
- package/out/language-server/telemetry/userTriggerDecision.test.js +560 -156
- package/out/language-server/telemetry/userTriggerDecision.test.js.map +1 -1
- package/out/language-server/telemetry.test.js +11 -9
- package/out/language-server/telemetry.test.js.map +1 -1
- package/out/language-server/telemetryService.d.ts +79 -0
- package/out/language-server/telemetryService.js +321 -0
- package/out/language-server/telemetryService.js.map +1 -0
- package/out/language-server/telemetryService.test.d.ts +1 -0
- package/out/language-server/telemetryService.test.js +761 -0
- package/out/language-server/telemetryService.test.js.map +1 -0
- package/out/language-server/utilities/telemetryUtils.d.ts +4 -0
- package/out/language-server/utilities/telemetryUtils.js +89 -0
- package/out/language-server/utilities/telemetryUtils.js.map +1 -0
- package/out/language-server/utilities/telemetryUtils.test.d.ts +1 -0
- package/out/language-server/utilities/telemetryUtils.test.js +207 -0
- package/out/language-server/utilities/telemetryUtils.test.js.map +1 -0
- package/out/language-server/utils.d.ts +7 -4
- package/out/language-server/utils.js +57 -34
- package/out/language-server/utils.js.map +1 -1
- package/out/language-server/utils.test.js +104 -73
- package/out/language-server/utils.test.js.map +1 -1
- package/package.json +4 -12
- package/node_modules/@aws/lsp-fqn/out/browser/fqnWorkerPool.d.ts +0 -5
- package/node_modules/@aws/lsp-fqn/out/browser/fqnWorkerPool.js +0 -28
- package/node_modules/@aws/lsp-fqn/out/browser/fqnWorkerPool.js.map +0 -1
- package/node_modules/@aws/lsp-fqn/out/browser/index.d.ts +0 -2
- package/node_modules/@aws/lsp-fqn/out/browser/index.js +0 -19
- package/node_modules/@aws/lsp-fqn/out/browser/index.js.map +0 -1
- package/node_modules/@aws/lsp-fqn/out/common/commonFqnWorkerPool.d.ts +0 -7
- package/node_modules/@aws/lsp-fqn/out/common/commonFqnWorkerPool.js +0 -39
- package/node_modules/@aws/lsp-fqn/out/common/commonFqnWorkerPool.js.map +0 -1
- package/node_modules/@aws/lsp-fqn/out/common/defaults.d.ts +0 -4
- package/node_modules/@aws/lsp-fqn/out/common/defaults.js +0 -8
- package/node_modules/@aws/lsp-fqn/out/common/defaults.js.map +0 -1
- package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.d.ts +0 -3
- package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.js +0 -28
- package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.js.map +0 -1
- package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.test.js +0 -57
- package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.test.js.map +0 -1
- package/node_modules/@aws/lsp-fqn/out/common/types.d.ts +0 -58
- package/node_modules/@aws/lsp-fqn/out/common/types.js +0 -3
- package/node_modules/@aws/lsp-fqn/out/common/types.js.map +0 -1
- package/node_modules/@aws/lsp-fqn/out/index.d.ts +0 -7
- package/node_modules/@aws/lsp-fqn/out/index.js +0 -18
- package/node_modules/@aws/lsp-fqn/out/index.js.map +0 -1
- package/node_modules/@aws/lsp-fqn/out/node/aws-lsp-fqn-worker.js +0 -19
- package/node_modules/@aws/lsp-fqn/out/node/aws-lsp-fqn-worker.js.map +0 -1
- package/node_modules/@aws/lsp-fqn/out/node/fqnWorkerPool.d.ts +0 -5
- package/node_modules/@aws/lsp-fqn/out/node/fqnWorkerPool.js +0 -12
- package/node_modules/@aws/lsp-fqn/out/node/fqnWorkerPool.js.map +0 -1
- package/node_modules/@aws/lsp-fqn/out/node/index.d.ts +0 -2
- package/node_modules/@aws/lsp-fqn/out/node/index.js +0 -19
- package/node_modules/@aws/lsp-fqn/out/node/index.js.map +0 -1
- package/node_modules/@aws/lsp-fqn/package.json +0 -42
- package/node_modules/@aws/lsp-fqn/src/browser/fqnWorkerPool.ts +0 -26
- package/node_modules/@aws/lsp-fqn/src/browser/index.ts +0 -2
- package/node_modules/@aws/lsp-fqn/src/common/commonFqnWorkerPool.ts +0 -44
- package/node_modules/@aws/lsp-fqn/src/common/defaults.ts +0 -4
- package/node_modules/@aws/lsp-fqn/src/common/fqnExtractor.test.ts +0 -66
- package/node_modules/@aws/lsp-fqn/src/common/fqnExtractor.ts +0 -35
- package/node_modules/@aws/lsp-fqn/src/common/types.ts +0 -77
- package/node_modules/@aws/lsp-fqn/src/index.ts +0 -8
- package/node_modules/@aws/lsp-fqn/src/node/aws-lsp-fqn-worker.ts +0 -19
- package/node_modules/@aws/lsp-fqn/src/node/fqnWorkerPool.ts +0 -9
- package/node_modules/@aws/lsp-fqn/src/node/index.ts +0 -2
- package/node_modules/@aws/lsp-fqn/tsconfig.json +0 -8
- package/node_modules/@aws/lsp-fqn/tsconfig.tsbuildinfo +0 -1
- package/node_modules/@aws-sdk/types/dist-cjs/abort.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/auth.js +0 -5
- package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/blob/runtime-blob-types.browser.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/blob/runtime-blob-types.node.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/client.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/command.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/connection.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/dns.js +0 -8
- package/node_modules/@aws-sdk/types/dist-cjs/encode.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +0 -5
- package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/http.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +0 -8
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -35
- package/node_modules/@aws-sdk/types/dist-cjs/logger.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/profile.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/request.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/response.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/retry.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/serde.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/signature.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/stream.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/token.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +0 -5
- package/node_modules/@aws-sdk/types/dist-cjs/uri.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/util.js +0 -2
- package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +0 -2
- package/node_modules/@aws-sdk/types/dist-types/blob/runtime-blob-types.browser.d.ts +0 -6
- package/node_modules/@aws-sdk/types/dist-types/blob/runtime-blob-types.node.d.ts +0 -9
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +0 -17
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/runtime-blob-types.browser.d.ts +0 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/runtime-blob-types.node.d.ts +0 -2
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +0 -5
- package/out/language-server/chat/contexts/documentFqnExtractor.d.ts +0 -22
- package/out/language-server/chat/contexts/documentFqnExtractor.js +0 -95
- package/out/language-server/chat/contexts/documentFqnExtractor.js.map +0 -1
- package/out/language-server/chat/contexts/documentFqnExtractor.test.js +0 -94
- package/out/language-server/chat/contexts/documentFqnExtractor.test.js.map +0 -1
- package/out/language-server/chat/contexts/mockData.d.ts +0 -37
- package/out/language-server/chat/contexts/mockData.js +0 -98
- package/out/language-server/chat/contexts/mockData.js.map +0 -1
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/LICENSE +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/README.md +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/abort.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/auth.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/blob/blob-types.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/checksum.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/client.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/command.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/connection.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/credentials.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/crypto.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/dns.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/encode.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/endpoint.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/eventStream.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/extensions/index.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/http.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/AnonymousIdentity.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/AwsCredentialIdentity.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/Identity.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/LoginIdentity.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/TokenIdentity.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/identity/index.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/index.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/logger.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/middleware.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/pagination.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/profile.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/request.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/response.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/retry.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/serde.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/shapes.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/signature.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/stream.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/token.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/transfer.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/uri.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/util.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-es/waiter.js +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/abort.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/auth.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/blob/blob-types.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/checksum.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/client.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/command.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/connection.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/crypto.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/dns.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/encode.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/endpoint.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/eventStream.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/extensions/index.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/http.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/identity/AnonymousIdentity.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/identity/AwsCredentialIdentity.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/identity/Identity.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/identity/LoginIdentity.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/identity/index.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/index.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/middleware.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/pagination.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/profile.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/request.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/response.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/retry.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/serde.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/shapes.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/signature.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/stream.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/token.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/transfer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/abort.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/auth.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/blob/blob-types.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/checksum.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/client.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/command.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/connection.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/crypto.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/dns.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/encode.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/endpoint.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/eventStream.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/extensions/index.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/http.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/identity/Identity.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/identity/index.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/logger.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/middleware.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/pagination.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/profile.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/request.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/response.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/retry.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/serde.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/shapes.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/signature.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/stream.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/token.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/transfer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/uri.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/util.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/ts3.4/waiter.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/uri.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/util.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @amzn/codewhisperer-streaming/node_modules/@aws-sdk}/types/dist-types/waiter.d.ts +0 -0
- /package/node_modules/{@aws-sdk/types/dist-es/blob/runtime-blob-types.browser.js → @smithy/protocol-http/dist-es/httpHandler.js} +0 -0
- /package/node_modules/{@aws-sdk/types/dist-es/blob/runtime-blob-types.node.js → @smithy/protocol-http/dist-es/types.js} +0 -0
- /package/node_modules/{@aws/lsp-fqn/out/common/fqnExtractor.test.d.ts → @smithy/types/dist-es/abort.js} +0 -0
- /package/node_modules/{@aws/lsp-fqn/out/node/aws-lsp-fqn-worker.d.ts → @smithy/types/dist-es/auth/HttpAuthScheme.js} +0 -0
- /package/{out/language-server/chat/contexts/documentFqnExtractor.test.d.ts → node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js} +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Command } from "../command";
|
|
2
|
+
import type { MetadataBearer } from "../response";
|
|
3
|
+
import type { StreamingBlobPayloadOutputTypes } from "../streaming-payload/streaming-blob-payload-output-types";
|
|
4
|
+
import type { Transform } from "./type-transform";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*
|
|
8
|
+
* Narrowed version of InvokeFunction used in Client::send.
|
|
9
|
+
*/
|
|
10
|
+
export interface NarrowedInvokeFunction<NarrowType, HttpHandlerOptions, InputTypes extends object, OutputTypes extends MetadataBearer, ResolvedClientConfiguration> {
|
|
11
|
+
<InputType extends InputTypes, OutputType extends OutputTypes>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options?: HttpHandlerOptions): Promise<Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>>;
|
|
12
|
+
<InputType extends InputTypes, OutputType extends OutputTypes>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, cb: (err: unknown, data?: Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>) => void): void;
|
|
13
|
+
<InputType extends InputTypes, OutputType extends OutputTypes>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options: HttpHandlerOptions, cb: (err: unknown, data?: Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>) => void): void;
|
|
14
|
+
<InputType extends InputTypes, OutputType extends OutputTypes>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options?: HttpHandlerOptions, cb?: (err: unknown, data?: Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>) => void): Promise<Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>> | void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*
|
|
19
|
+
* Narrowed version of InvokeMethod used in aggregated Client methods.
|
|
20
|
+
*/
|
|
21
|
+
export interface NarrowedInvokeMethod<NarrowType, HttpHandlerOptions, InputType extends object, OutputType extends MetadataBearer> {
|
|
22
|
+
(input: InputType, options?: HttpHandlerOptions): Promise<Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>>;
|
|
23
|
+
(input: InputType, cb: (err: unknown, data?: Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>) => void): void;
|
|
24
|
+
(input: InputType, options: HttpHandlerOptions, cb: (err: unknown, data?: Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>) => void): void;
|
|
25
|
+
(input: InputType, options?: HttpHandlerOptions, cb?: (err: unknown, data?: OutputType) => void): Promise<Transform<OutputType, StreamingBlobPayloadOutputTypes | undefined, NarrowType>> | void;
|
|
26
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
import type { IncomingMessage } from "http";
|
|
4
|
+
import type { ClientHttp2Stream } from "http2";
|
|
5
|
+
import type { InvokeFunction, InvokeMethod } from "../client";
|
|
6
|
+
import type { HttpHandlerOptions } from "../http";
|
|
7
|
+
import type { SdkStream } from "../serde";
|
|
8
|
+
import type { BrowserRuntimeStreamingBlobPayloadInputTypes, NodeJsRuntimeStreamingBlobPayloadInputTypes, StreamingBlobPayloadInputTypes } from "../streaming-payload/streaming-blob-payload-input-types";
|
|
9
|
+
import type { NarrowedInvokeFunction, NarrowedInvokeMethod } from "./client-method-transforms";
|
|
10
|
+
import type { Transform } from "./type-transform";
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*
|
|
14
|
+
* Creates a type with a given client type that narrows payload blob output
|
|
15
|
+
* types to SdkStream<IncomingMessage>.
|
|
16
|
+
*
|
|
17
|
+
* This can be used for clients with the NodeHttpHandler requestHandler,
|
|
18
|
+
* the default in Node.js when not using HTTP2.
|
|
19
|
+
*
|
|
20
|
+
* Usage example:
|
|
21
|
+
* ```typescript
|
|
22
|
+
* const client = new YourClient({}) as NodeJsClient<YourClient>;
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export type NodeJsClient<ClientType extends object> = NarrowPayloadBlobTypes<NodeJsRuntimeStreamingBlobPayloadInputTypes, SdkStream<IncomingMessage>, ClientType>;
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* Variant of NodeJsClient for node:http2.
|
|
29
|
+
*/
|
|
30
|
+
export type NodeJsHttp2Client<ClientType extends object> = NarrowPayloadBlobTypes<NodeJsRuntimeStreamingBlobPayloadInputTypes, SdkStream<ClientHttp2Stream>, ClientType>;
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*
|
|
34
|
+
* Creates a type with a given client type that narrows payload blob output
|
|
35
|
+
* types to SdkStream<ReadableStream>.
|
|
36
|
+
*
|
|
37
|
+
* This can be used for clients with the FetchHttpHandler requestHandler,
|
|
38
|
+
* which is the default in browser environments.
|
|
39
|
+
*
|
|
40
|
+
* Usage example:
|
|
41
|
+
* ```typescript
|
|
42
|
+
* const client = new YourClient({}) as BrowserClient<YourClient>;
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export type BrowserClient<ClientType extends object> = NarrowPayloadBlobTypes<BrowserRuntimeStreamingBlobPayloadInputTypes, SdkStream<ReadableStream>, ClientType>;
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*
|
|
49
|
+
* Variant of BrowserClient for XMLHttpRequest.
|
|
50
|
+
*/
|
|
51
|
+
export type BrowserXhrClient<ClientType extends object> = NarrowPayloadBlobTypes<BrowserRuntimeStreamingBlobPayloadInputTypes, SdkStream<ReadableStream | Blob>, ClientType>;
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*
|
|
55
|
+
* @deprecated use NarrowPayloadBlobTypes<I, O, ClientType>.
|
|
56
|
+
*
|
|
57
|
+
* Narrow a given Client's blob payload outputs to the given type T.
|
|
58
|
+
*/
|
|
59
|
+
export type NarrowPayloadBlobOutputType<T, ClientType extends object> = {
|
|
60
|
+
[key in keyof ClientType]: [ClientType[key]] extends [
|
|
61
|
+
InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>
|
|
62
|
+
] ? NarrowedInvokeFunction<T, HttpHandlerOptions, InputTypes, OutputTypes, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? NarrowedInvokeMethod<T, HttpHandlerOptions, FunctionInputTypes, FunctionOutputTypes> : ClientType[key];
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*
|
|
67
|
+
* Narrow a Client's blob payload input and output types to I and O.
|
|
68
|
+
*/
|
|
69
|
+
export type NarrowPayloadBlobTypes<I, O, ClientType extends object> = {
|
|
70
|
+
[key in keyof ClientType]: [ClientType[key]] extends [
|
|
71
|
+
InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>
|
|
72
|
+
] ? NarrowedInvokeFunction<O, HttpHandlerOptions, Transform<InputTypes, StreamingBlobPayloadInputTypes | undefined, I>, OutputTypes, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? NarrowedInvokeMethod<O, HttpHandlerOptions, Transform<FunctionInputTypes, StreamingBlobPayloadInputTypes | undefined, I>, FunctionOutputTypes> : ClientType[key];
|
|
73
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { InvokeFunction, InvokeMethod } from "../client";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
5
|
+
* This type is intended as a type helper for generated clients.
|
|
6
|
+
* When initializing client, cast it to this type by passing
|
|
7
|
+
* the client constructor type as the type parameter.
|
|
8
|
+
*
|
|
9
|
+
* It will then recursively remove "undefined" as a union type from all
|
|
10
|
+
* input and output shapes' members. Note, this does not affect
|
|
11
|
+
* any member that is optional (?) such as outputs with no required members.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const client = new Client({}) as AssertiveClient<Client>;
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export type AssertiveClient<Client extends object> = NarrowClientIOTypes<Client>;
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*
|
|
22
|
+
* This is similar to AssertiveClient but additionally changes all
|
|
23
|
+
* output types to (recursive) Required<T> so as to bypass all output nullability guards.
|
|
24
|
+
*/
|
|
25
|
+
export type UncheckedClient<Client extends object> = UncheckedClientOutputTypes<Client>;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*
|
|
29
|
+
* Excludes undefined recursively.
|
|
30
|
+
*/
|
|
31
|
+
export type NoUndefined<T> = T extends Function ? T : [T] extends [object] ? {
|
|
32
|
+
[key in keyof T]: NoUndefined<T[key]>;
|
|
33
|
+
} : Exclude<T, undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*
|
|
37
|
+
* Excludes undefined and optional recursively.
|
|
38
|
+
*/
|
|
39
|
+
export type RecursiveRequired<T> = T extends Function ? T : [T] extends [object] ? {
|
|
40
|
+
[key in keyof T]-?: RecursiveRequired<T[key]>;
|
|
41
|
+
} : Exclude<T, undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*
|
|
45
|
+
* Removes undefined from unions.
|
|
46
|
+
*/
|
|
47
|
+
type NarrowClientIOTypes<ClientType extends object> = {
|
|
48
|
+
[key in keyof ClientType]: [ClientType[key]] extends [
|
|
49
|
+
InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>
|
|
50
|
+
] ? InvokeFunction<NoUndefined<InputTypes>, NoUndefined<OutputTypes>, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, NoUndefined<FunctionOutputTypes>> : ClientType[key];
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*
|
|
55
|
+
* Removes undefined from unions and adds yolo output types.
|
|
56
|
+
*/
|
|
57
|
+
type UncheckedClientOutputTypes<ClientType extends object> = {
|
|
58
|
+
[key in keyof ClientType]: [ClientType[key]] extends [
|
|
59
|
+
InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>
|
|
60
|
+
] ? InvokeFunction<NoUndefined<InputTypes>, RecursiveRequired<OutputTypes>, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, RecursiveRequired<FunctionOutputTypes>> : ClientType[key];
|
|
61
|
+
};
|
|
62
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*
|
|
4
|
+
* Transforms any members of the object T having type FromType
|
|
5
|
+
* to ToType. This applies only to exact type matches.
|
|
6
|
+
*
|
|
7
|
+
* This is for the case where FromType is a union and only those fields
|
|
8
|
+
* matching the same union should be transformed.
|
|
9
|
+
*/
|
|
10
|
+
export type Transform<T, FromType, ToType> = ConditionalRecursiveTransformExact<T, FromType, ToType>;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*
|
|
14
|
+
* Returns ToType if T matches exactly with FromType.
|
|
15
|
+
*/
|
|
16
|
+
type TransformExact<T, FromType, ToType> = [T] extends [FromType] ? ([FromType] extends [T] ? ToType : T) : T;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*
|
|
20
|
+
* Applies TransformExact to members of an object recursively.
|
|
21
|
+
*/
|
|
22
|
+
type RecursiveTransformExact<T, FromType, ToType> = T extends Function ? T : T extends object ? {
|
|
23
|
+
[key in keyof T]: [T[key]] extends [FromType] ? [FromType] extends [T[key]] ? ToType : ConditionalRecursiveTransformExact<T[key], FromType, ToType> : ConditionalRecursiveTransformExact<T[key], FromType, ToType>;
|
|
24
|
+
} : TransformExact<T, FromType, ToType>;
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*
|
|
28
|
+
* Same as RecursiveTransformExact but does not assign to an object
|
|
29
|
+
* unless there is a matching transformed member.
|
|
30
|
+
*/
|
|
31
|
+
type ConditionalRecursiveTransformExact<T, FromType, ToType> = [T] extends [
|
|
32
|
+
RecursiveTransformExact<T, FromType, ToType>
|
|
33
|
+
] ? [RecursiveTransformExact<T, FromType, ToType>] extends [T] ? T : RecursiveTransformExact<T, FromType, ToType> : RecursiveTransformExact<T, FromType, ToType>;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
4
|
+
export interface AbortHandler {
|
|
5
|
+
(this: AbortSignal, ev: any): any;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* Holders of an AbortSignal object may query if the associated operation has
|
|
11
|
+
* been aborted and register an onabort handler.
|
|
12
|
+
*
|
|
13
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
|
|
14
|
+
*/
|
|
15
|
+
export interface AbortSignal {
|
|
16
|
+
/**
|
|
17
|
+
* Whether the action represented by this signal has been cancelled.
|
|
18
|
+
*/
|
|
19
|
+
readonly aborted: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* A function to be invoked when the action represented by this signal has
|
|
22
|
+
* been cancelled.
|
|
23
|
+
*/
|
|
24
|
+
onabort: AbortHandler | Function | null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*
|
|
29
|
+
* The AWS SDK uses a Controller/Signal model to allow for cooperative
|
|
30
|
+
* cancellation of asynchronous operations. When initiating such an operation,
|
|
31
|
+
* the caller can create an AbortController and then provide linked signal to
|
|
32
|
+
* subtasks. This allows a single source to communicate to multiple consumers
|
|
33
|
+
* that an action has been aborted without dictating how that cancellation
|
|
34
|
+
* should be handled.
|
|
35
|
+
*
|
|
36
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/AbortController
|
|
37
|
+
*/
|
|
38
|
+
export interface AbortController {
|
|
39
|
+
/**
|
|
40
|
+
* An object that reports whether the action associated with this
|
|
41
|
+
* `AbortController` has been cancelled.
|
|
42
|
+
*/
|
|
43
|
+
readonly signal: AbortSignal;
|
|
44
|
+
/**
|
|
45
|
+
* Declares the operation associated with this AbortController to have been
|
|
46
|
+
* cancelled.
|
|
47
|
+
*/
|
|
48
|
+
abort(): void;
|
|
49
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Identity, IdentityProvider } from "../identity/identity";
|
|
2
|
+
import { HandlerExecutionContext } from "../middleware";
|
|
3
|
+
import { HttpSigner } from "./HttpSigner";
|
|
4
|
+
import { IdentityProviderConfig } from "./IdentityProviderConfig";
|
|
5
|
+
/**
|
|
6
|
+
* ID for {@link HttpAuthScheme}
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export type HttpAuthSchemeId = string;
|
|
10
|
+
/**
|
|
11
|
+
* Interface that defines an HttpAuthScheme
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export interface HttpAuthScheme {
|
|
15
|
+
/**
|
|
16
|
+
* ID for an HttpAuthScheme, typically the absolute shape ID of a Smithy auth trait.
|
|
17
|
+
*/
|
|
18
|
+
schemeId: HttpAuthSchemeId;
|
|
19
|
+
/**
|
|
20
|
+
* Gets the IdentityProvider corresponding to an HttpAuthScheme.
|
|
21
|
+
*/
|
|
22
|
+
identityProvider(config: IdentityProviderConfig): IdentityProvider<Identity> | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* HttpSigner corresponding to an HttpAuthScheme.
|
|
25
|
+
*/
|
|
26
|
+
signer: HttpSigner;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Interface that defines the identity and signing properties when selecting
|
|
30
|
+
* an HttpAuthScheme.
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
export interface HttpAuthOption {
|
|
34
|
+
schemeId: HttpAuthSchemeId;
|
|
35
|
+
identityProperties?: Record<string, unknown>;
|
|
36
|
+
signingProperties?: Record<string, unknown>;
|
|
37
|
+
propertiesExtractor?: <TConfig extends object, TContext extends HandlerExecutionContext>(config: TConfig, context: TContext) => {
|
|
38
|
+
identityProperties?: Record<string, unknown>;
|
|
39
|
+
signingProperties?: Record<string, unknown>;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
export interface SelectedHttpAuthScheme {
|
|
46
|
+
httpAuthOption: HttpAuthOption;
|
|
47
|
+
identity: Identity;
|
|
48
|
+
signer: HttpSigner;
|
|
49
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HandlerExecutionContext } from "../middleware";
|
|
2
|
+
import { HttpAuthOption } from "./HttpAuthScheme";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthSchemeParameters {
|
|
7
|
+
operation?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export interface HttpAuthSchemeProvider<TParameters extends HttpAuthSchemeParameters> {
|
|
13
|
+
(authParameters: TParameters): HttpAuthOption[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export interface HttpAuthSchemeParametersProvider<TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object> {
|
|
19
|
+
(config: TConfig, context: TContext, input: TInput): Promise<TParameters>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { HttpRequest, HttpResponse } from "../http";
|
|
2
|
+
import { Identity } from "../identity/identity";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface ErrorHandler {
|
|
7
|
+
(signingProperties: Record<string, unknown>): <E extends Error>(error: E) => never;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export interface SuccessHandler {
|
|
13
|
+
(httpResponse: HttpResponse | unknown, signingProperties: Record<string, unknown>): void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Interface to sign identity and signing properties.
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export interface HttpSigner {
|
|
20
|
+
/**
|
|
21
|
+
* Signs an HttpRequest with an identity and signing properties.
|
|
22
|
+
* @param httpRequest request to sign
|
|
23
|
+
* @param identity identity to sing the request with
|
|
24
|
+
* @param signingProperties property bag for signing
|
|
25
|
+
* @returns signed request in a promise
|
|
26
|
+
*/
|
|
27
|
+
sign(httpRequest: HttpRequest, identity: Identity, signingProperties: Record<string, unknown>): Promise<HttpRequest>;
|
|
28
|
+
/**
|
|
29
|
+
* Handler that executes after the {@link HttpSigner.sign} invocation and corresponding
|
|
30
|
+
* middleware throws an error.
|
|
31
|
+
* The error handler is expected to throw the error it receives, so the return type of the error handler is `never`.
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
errorHandler?: ErrorHandler;
|
|
35
|
+
/**
|
|
36
|
+
* Handler that executes after the {@link HttpSigner.sign} invocation and corresponding
|
|
37
|
+
* middleware succeeds.
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
successHandler?: SuccessHandler;
|
|
41
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Identity, IdentityProvider } from "../identity/identity";
|
|
2
|
+
import { HttpAuthSchemeId } from "./HttpAuthScheme";
|
|
3
|
+
/**
|
|
4
|
+
* Interface to get an IdentityProvider for a specified HttpAuthScheme
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface IdentityProviderConfig {
|
|
8
|
+
/**
|
|
9
|
+
* Get the IdentityProvider for a specified HttpAuthScheme.
|
|
10
|
+
* @param schemeId schemeId of the HttpAuthScheme
|
|
11
|
+
* @returns IdentityProvider or undefined if HttpAuthScheme is not found
|
|
12
|
+
*/
|
|
13
|
+
getIdentityProvider(schemeId: HttpAuthSchemeId): IdentityProvider<Identity> | undefined;
|
|
14
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*
|
|
4
|
+
* Authentication schemes represent a way that the service will authenticate the customer’s identity.
|
|
5
|
+
*/
|
|
6
|
+
export interface AuthScheme {
|
|
7
|
+
/**
|
|
8
|
+
* @example "sigv4a" or "sigv4"
|
|
9
|
+
*/
|
|
10
|
+
name: "sigv4" | "sigv4a" | string;
|
|
11
|
+
/**
|
|
12
|
+
* @example "s3"
|
|
13
|
+
*/
|
|
14
|
+
signingName: string;
|
|
15
|
+
/**
|
|
16
|
+
* @example "us-east-1"
|
|
17
|
+
*/
|
|
18
|
+
signingRegion: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example ["*"]
|
|
21
|
+
* @example ["us-west-2", "us-east-1"]
|
|
22
|
+
*/
|
|
23
|
+
signingRegionSet?: string[];
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated this field was renamed to signingRegion.
|
|
26
|
+
*/
|
|
27
|
+
signingScope?: never;
|
|
28
|
+
properties: Record<string, unknown>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
* @deprecated
|
|
33
|
+
*/
|
|
34
|
+
export interface HttpAuthDefinition {
|
|
35
|
+
/**
|
|
36
|
+
* Defines the location of where the Auth is serialized.
|
|
37
|
+
*/
|
|
38
|
+
in: HttpAuthLocation;
|
|
39
|
+
/**
|
|
40
|
+
* Defines the name of the HTTP header or query string parameter
|
|
41
|
+
* that contains the Auth.
|
|
42
|
+
*/
|
|
43
|
+
name: string;
|
|
44
|
+
/**
|
|
45
|
+
* Defines the security scheme to use on the `Authorization` header value.
|
|
46
|
+
* This can only be set if the "in" property is set to {@link HttpAuthLocation.HEADER}.
|
|
47
|
+
*/
|
|
48
|
+
scheme?: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
* @deprecated
|
|
53
|
+
*/
|
|
54
|
+
export declare enum HttpAuthLocation {
|
|
55
|
+
HEADER = "header",
|
|
56
|
+
QUERY = "query"
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { Readable } from "stream";
|
|
3
|
+
import { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* A union of types that can be used as inputs for the service model
|
|
8
|
+
* "blob" type when it represents the request's entire payload or body.
|
|
9
|
+
*
|
|
10
|
+
* For example, in Lambda::invoke, the payload is modeled as a blob type
|
|
11
|
+
* and this union applies to it.
|
|
12
|
+
* In contrast, in Lambda::createFunction the Zip file option is a blob type,
|
|
13
|
+
* but is not the (entire) payload and this union does not apply.
|
|
14
|
+
*
|
|
15
|
+
* Note: not all types are signable by the standard SignatureV4 signer when
|
|
16
|
+
* used as the request body. For example, in Node.js a Readable stream
|
|
17
|
+
* is not signable by the default signer.
|
|
18
|
+
* They are included in the union because it may work in some cases,
|
|
19
|
+
* but the expected types are primarily string and Uint8Array.
|
|
20
|
+
*
|
|
21
|
+
* Additional details may be found in the internal
|
|
22
|
+
* function "getPayloadHash" in the SignatureV4 module.
|
|
23
|
+
*/
|
|
24
|
+
export type BlobPayloadInputTypes = string | ArrayBuffer | ArrayBufferView | Uint8Array | NodeJsRuntimeBlobTypes | BrowserRuntimeBlobTypes;
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*
|
|
28
|
+
* Additional blob types for the Node.js environment.
|
|
29
|
+
*/
|
|
30
|
+
export type NodeJsRuntimeBlobTypes = Readable | Buffer;
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*
|
|
34
|
+
* Additional blob types for the browser environment.
|
|
35
|
+
*/
|
|
36
|
+
export type BrowserRuntimeBlobTypes = BlobOptionalType | ReadableStreamOptionalType;
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated renamed to BlobPayloadInputTypes.
|
|
39
|
+
*/
|
|
40
|
+
export type BlobTypes = BlobPayloadInputTypes;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { SourceData } from "./crypto";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
5
|
+
* An object that provides a checksum of data provided in chunks to `update`.
|
|
6
|
+
* The checksum may be performed incrementally as chunks are received or all
|
|
7
|
+
* at once when the checksum is finalized, depending on the underlying
|
|
8
|
+
* implementation.
|
|
9
|
+
*
|
|
10
|
+
* It's recommended to compute checksum incrementally to avoid reading the
|
|
11
|
+
* entire payload in memory.
|
|
12
|
+
*
|
|
13
|
+
* A class that implements this interface may accept an optional secret key in its
|
|
14
|
+
* constructor while computing checksum value, when using HMAC. If provided,
|
|
15
|
+
* this secret key would be used when computing checksum.
|
|
16
|
+
*/
|
|
17
|
+
export interface Checksum {
|
|
18
|
+
/**
|
|
19
|
+
* Constant length of the digest created by the algorithm in bytes.
|
|
20
|
+
*/
|
|
21
|
+
digestLength?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Creates a new checksum object that contains a deep copy of the internal
|
|
24
|
+
* state of the current `Checksum` object.
|
|
25
|
+
*/
|
|
26
|
+
copy?(): Checksum;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the digest of all of the data passed.
|
|
29
|
+
*/
|
|
30
|
+
digest(): Promise<Uint8Array>;
|
|
31
|
+
/**
|
|
32
|
+
* Allows marking a checksum for checksums that support the ability
|
|
33
|
+
* to mark and reset.
|
|
34
|
+
*
|
|
35
|
+
* @param readLimit - The maximum limit of bytes that can be read
|
|
36
|
+
* before the mark position becomes invalid.
|
|
37
|
+
*/
|
|
38
|
+
mark?(readLimit: number): void;
|
|
39
|
+
/**
|
|
40
|
+
* Resets the checksum to its initial value.
|
|
41
|
+
*/
|
|
42
|
+
reset(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Adds a chunk of data for which checksum needs to be computed.
|
|
45
|
+
* This can be called many times with new data as it is streamed.
|
|
46
|
+
*
|
|
47
|
+
* Implementations may override this method which passes second param
|
|
48
|
+
* which makes Checksum object stateless.
|
|
49
|
+
*
|
|
50
|
+
* @param chunk - The buffer to update checksum with.
|
|
51
|
+
*/
|
|
52
|
+
update(chunk: Uint8Array): void;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*
|
|
57
|
+
* A constructor for a Checksum that may be used to calculate an HMAC. Implementing
|
|
58
|
+
* classes should not directly hold the provided key in memory beyond the
|
|
59
|
+
* lexical scope of the constructor.
|
|
60
|
+
*/
|
|
61
|
+
export interface ChecksumConstructor {
|
|
62
|
+
new (secret?: SourceData): Checksum;
|
|
63
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Command } from "./command";
|
|
2
|
+
import { MiddlewareStack } from "./middleware";
|
|
3
|
+
import { MetadataBearer } from "./response";
|
|
4
|
+
import { OptionalParameter } from "./util";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*
|
|
8
|
+
* A type which checks if the client configuration is optional.
|
|
9
|
+
* If all entries of the client configuration are optional, it allows client creation without passing any config.
|
|
10
|
+
*/
|
|
11
|
+
export type CheckOptionalClientConfig<T> = OptionalParameter<T>;
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*
|
|
15
|
+
* function definition for different overrides of client's 'send' function.
|
|
16
|
+
*/
|
|
17
|
+
export interface InvokeFunction<InputTypes extends object, OutputTypes extends MetadataBearer, ResolvedClientConfiguration> {
|
|
18
|
+
<InputType extends InputTypes, OutputType extends OutputTypes>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options?: any): Promise<OutputType>;
|
|
19
|
+
<InputType extends InputTypes, OutputType extends OutputTypes>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, cb: (err: any, data?: OutputType) => void): void;
|
|
20
|
+
<InputType extends InputTypes, OutputType extends OutputTypes>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options: any, cb: (err: any, data?: OutputType) => void): void;
|
|
21
|
+
<InputType extends InputTypes, OutputType extends OutputTypes>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options?: any, cb?: (err: any, data?: OutputType) => void): Promise<OutputType> | void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* Signature that appears on aggregated clients' methods.
|
|
27
|
+
*/
|
|
28
|
+
export interface InvokeMethod<InputType extends object, OutputType extends MetadataBearer> {
|
|
29
|
+
(input: InputType, options?: any): Promise<OutputType>;
|
|
30
|
+
(input: InputType, cb: (err: any, data?: OutputType) => void): void;
|
|
31
|
+
(input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void;
|
|
32
|
+
(input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise<OutputType> | void;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A general interface for service clients, idempotent to browser or node clients
|
|
36
|
+
* This type corresponds to SmithyClient(https://github.com/aws/aws-sdk-js-v3/blob/main/packages/smithy-client/src/client.ts).
|
|
37
|
+
* It's provided for using without importing the SmithyClient class.
|
|
38
|
+
*/
|
|
39
|
+
export interface Client<Input extends object, Output extends MetadataBearer, ResolvedClientConfiguration> {
|
|
40
|
+
readonly config: ResolvedClientConfiguration;
|
|
41
|
+
middlewareStack: MiddlewareStack<Input, Output>;
|
|
42
|
+
send: InvokeFunction<Input, Output, ResolvedClientConfiguration>;
|
|
43
|
+
destroy: () => void;
|
|
44
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Handler, MiddlewareStack } from "./middleware";
|
|
2
|
+
import { MetadataBearer } from "./response";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface Command<ClientInput extends object, InputType extends ClientInput, ClientOutput extends MetadataBearer, OutputType extends ClientOutput, ResolvedConfiguration> {
|
|
7
|
+
readonly input: InputType;
|
|
8
|
+
readonly middlewareStack: MiddlewareStack<InputType, OutputType>;
|
|
9
|
+
resolveMiddleware(stack: MiddlewareStack<ClientInput, ClientOutput>, configuration: ResolvedConfiguration, options: any): Handler<InputType, OutputType>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { RequestContext } from "../transfer";
|
|
2
|
+
import { ConnectConfiguration } from "./config";
|
|
3
|
+
export interface ConnectionManagerConfiguration {
|
|
4
|
+
/**
|
|
5
|
+
* Maximum number of allowed concurrent requests per connection.
|
|
6
|
+
*/
|
|
7
|
+
maxConcurrency?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Disables concurrent requests per connection.
|
|
10
|
+
*/
|
|
11
|
+
disableConcurrency?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface ConnectionManager<T> {
|
|
14
|
+
/**
|
|
15
|
+
* Retrieves a connection from the connection pool if available,
|
|
16
|
+
* otherwise establish a new connection
|
|
17
|
+
*/
|
|
18
|
+
lease(requestContext: RequestContext, connectionConfiguration: ConnectConfiguration): T;
|
|
19
|
+
/**
|
|
20
|
+
* Releases the connection back to the pool making it potentially
|
|
21
|
+
* re-usable by other requests.
|
|
22
|
+
*/
|
|
23
|
+
release(requestContext: RequestContext, connection: T): void;
|
|
24
|
+
/**
|
|
25
|
+
* Destroys the connection manager. All connections will be closed.
|
|
26
|
+
*/
|
|
27
|
+
destroy(): void;
|
|
28
|
+
}
|