@aws/lsp-codewhisperer 0.0.31 → 0.0.33
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 +220 -0
- package/README.md +18 -1
- package/node_modules/@amzn/amazon-q-developer-streaming-client/LICENSE +201 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/README.md +864 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/QDeveloperStreaming.js +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/QDeveloperStreamingClient.js +49 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/auth/httpAuthSchemeProvider.js +50 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/GenerateCodeFromCommandsCommand.js +26 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/SendMessageCommand.js +26 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/index.js +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/endpoints.js +211 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/extensionConfiguration.js +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/index.js +10 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/QDeveloperStreamingServiceException.js +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/index.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/models_0.js +1051 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/protocols/Aws_json1_0.js +597 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.browser.js +40 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.js +48 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.native.js +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.shared.js +32 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeExtensions.js +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/QDeveloperStreaming.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/QDeveloperStreamingClient.js +45 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/auth/httpAuthSchemeProvider.js +44 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/GenerateCodeFromCommandsCommand.js +22 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/SendMessageCommand.js +22 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/index.js +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/endpoints.js +207 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/index.js +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/QDeveloperStreamingServiceException.js +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/index.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/models_0.js +963 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/protocols/Aws_json1_0.js +590 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.browser.js +35 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.js +43 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.native.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.shared.js +28 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeExtensions.js +21 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/QDeveloperStreaming.d.ts +23 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/QDeveloperStreamingClient.d.ts +196 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/GenerateCodeFromCommandsCommand.d.ts +102 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/SendMessageCommand.d.ts +796 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/endpoints.d.ts +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/extensionConfiguration.d.ts +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/index.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/QDeveloperStreamingServiceException.d.ts +14 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/index.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/models_0.d.ts +2985 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/protocols/Aws_json1_0.d.ts +20 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.browser.d.ts +47 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.d.ts +47 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.native.d.ts +46 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/README.md +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-cjs/index.js +294 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/auth.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/checksum.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/client.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/command.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/connection.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/credentials.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/crypto.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/dns.js +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/encode.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/eventStream.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/http.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/index.js +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/index.js +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/logger.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/middleware.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/pagination.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/profile.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/request.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/response.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/retry.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/serde.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/shapes.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/signature.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/stream.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/token.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/uri.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/util.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/waiter.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +50 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/dns.d.ts +85 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/http.d.ts +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +47 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +18 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/index.d.ts +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/logger.d.ts +22 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/request.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/response.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/serde.d.ts +24 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/token.d.ts +17 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts +19 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +24 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +17 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +47 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +14 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/package.json +56 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/LICENSE +201 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/README.md +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/index.js +84 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller}/package.json +21 -31
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/LICENSE +201 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/README.md +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/index.js +806 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +209 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +86 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +167 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +19 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +88 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +24 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +41 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +19 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +56 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +62 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +46 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +62 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +3 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +3 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +6 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/package.json +67 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/CHANGELOG.md +274 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/README.md +466 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/bin/uuid +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/native.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/rng.js +18 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v35.js +66 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v4.js +29 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/native.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/stringify.js +33 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v35.js +66 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v4.js +29 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/index.js +79 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/md5-browser.js +223 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/md5.js +23 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/native-browser.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/native.js +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/nil.js +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/parse.js +45 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/regex.js +8 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/rng-browser.js +25 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/rng.js +24 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/sha1.js +23 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/stringify.js +44 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v1.js +107 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v3.js +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v35.js +80 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v4.js +43 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v5.js +16 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/validate.js +17 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/version.js +21 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/package.json +135 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/wrapper.mjs +10 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/package.json +88 -0
- package/node_modules/@amzn/codewhisperer-streaming/README.md +121 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreamingClient.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/endpoints.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/models_0.js +266 -42
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +205 -3
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreamingClient.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/endpoints.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/models_0.js +241 -33
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +207 -5
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.js +9 -7
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreamingClient.d.ts +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/ExportResultArchiveCommand.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +168 -8
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +169 -8
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +168 -8
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +874 -221
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.browser.d.ts +6 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.d.ts +3 -1
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.native.d.ts +3 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +25 -17
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +12 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +3 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +6 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +6 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +3 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +4 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +8 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +6 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +5 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/package.json +11 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +47 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +21 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/package.json +4 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/package.json +6 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/index.js +41 -39
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +3 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +1 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/package.json +10 -10
- package/node_modules/@amzn/codewhisperer-streaming/package.json +42 -42
- 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/httpRequest.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -0
- package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-cjs/index.js +8 -30
- 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/httpHandler.js +1 -0
- package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/httpRequest.js +8 -13
- package/node_modules/@smithy/protocol-http/dist-es/types.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +23 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +23 -0
- package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/package.json +6 -6
- package/out/client/sigv4/codewhisperer.d.ts +2 -2
- package/out/client/sigv4/codewhisperer.js +4 -3
- package/out/client/sigv4/codewhisperer.js.map +1 -1
- package/out/client/streamingClient/codewhispererStreamingClient.d.ts +3 -3
- package/out/client/streamingClient/codewhispererStreamingClient.js +4 -3
- package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
- package/out/client/token/codewhisperer.d.ts +2 -2
- package/out/client/token/codewhisperer.js +4 -3
- package/out/client/token/codewhisperer.js.map +1 -1
- package/out/index.d.ts +1 -0
- package/out/index.js +4 -1
- package/out/index.js.map +1 -1
- package/out/language-server/agenticChat/agenticChatController.d.ts +35 -4
- package/out/language-server/agenticChat/agenticChatController.js +1337 -91
- package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
- package/out/language-server/agenticChat/agenticChatEventParser.d.ts +52 -0
- package/out/language-server/agenticChat/agenticChatEventParser.js +186 -0
- package/out/language-server/agenticChat/agenticChatEventParser.js.map +1 -0
- package/out/language-server/agenticChat/agenticChatResultStream.d.ts +83 -0
- package/out/language-server/agenticChat/agenticChatResultStream.js +176 -0
- package/out/language-server/agenticChat/agenticChatResultStream.js.map +1 -0
- package/out/language-server/agenticChat/constants.d.ts +4 -0
- package/out/language-server/agenticChat/constants.js +8 -0
- package/out/language-server/agenticChat/constants.js.map +1 -0
- package/out/language-server/agenticChat/context/addtionalContextProvider.d.ts +14 -0
- package/out/language-server/agenticChat/context/addtionalContextProvider.js +191 -0
- package/out/language-server/agenticChat/context/addtionalContextProvider.js.map +1 -0
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.d.ts +54 -0
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js +246 -0
- package/out/language-server/agenticChat/context/agenticChatTriggerContext.js.map +1 -0
- package/out/language-server/agenticChat/context/contextCommandsProvider.d.ts +20 -0
- package/out/language-server/agenticChat/context/contextCommandsProvider.js +206 -0
- package/out/language-server/agenticChat/context/contextCommandsProvider.js.map +1 -0
- package/out/language-server/agenticChat/context/contextUtils.d.ts +27 -0
- package/out/language-server/agenticChat/context/contextUtils.js +44 -0
- package/out/language-server/agenticChat/context/contextUtils.js.map +1 -0
- package/out/language-server/agenticChat/errors.d.ts +10 -0
- package/out/language-server/agenticChat/errors.js +42 -0
- package/out/language-server/agenticChat/errors.js.map +1 -0
- package/out/language-server/agenticChat/qAgenticChatServer.js +42 -15
- package/out/language-server/agenticChat/qAgenticChatServer.js.map +1 -1
- package/out/language-server/agenticChat/tabBarController.d.ts +55 -0
- package/out/language-server/agenticChat/tabBarController.js +216 -0
- package/out/language-server/agenticChat/tabBarController.js.map +1 -0
- package/out/language-server/agenticChat/textFormatting.d.ts +4 -0
- package/out/language-server/agenticChat/textFormatting.js +28 -0
- package/out/language-server/agenticChat/textFormatting.js.map +1 -0
- package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +89 -0
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js +561 -0
- package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -0
- package/out/language-server/agenticChat/tools/chatDb/util.d.ts +74 -0
- package/out/language-server/agenticChat/tools/chatDb/util.js +255 -0
- package/out/language-server/agenticChat/tools/chatDb/util.js.map +1 -0
- package/out/language-server/agenticChat/tools/codeSearch.d.ts +43 -0
- package/out/language-server/agenticChat/tools/codeSearch.js +168 -0
- package/out/language-server/agenticChat/tools/codeSearch.js.map +1 -0
- package/out/language-server/agenticChat/tools/executeBash.d.ts +70 -0
- package/out/language-server/agenticChat/tools/executeBash.js +463 -0
- package/out/language-server/agenticChat/tools/executeBash.js.map +1 -0
- package/out/language-server/agenticChat/tools/fileSearch.d.ts +45 -0
- package/out/language-server/agenticChat/tools/fileSearch.js +115 -0
- package/out/language-server/agenticChat/tools/fileSearch.js.map +1 -0
- package/out/language-server/agenticChat/tools/fsRead.d.ts +13 -9
- package/out/language-server/agenticChat/tools/fsRead.js +68 -22
- package/out/language-server/agenticChat/tools/fsRead.js.map +1 -1
- package/out/language-server/agenticChat/tools/fsWrite.d.ts +21 -12
- package/out/language-server/agenticChat/tools/fsWrite.js +127 -44
- package/out/language-server/agenticChat/tools/fsWrite.js.map +1 -1
- package/out/language-server/agenticChat/tools/listDirectory.d.ts +36 -0
- package/out/language-server/agenticChat/tools/listDirectory.js +110 -0
- package/out/language-server/agenticChat/tools/listDirectory.js.map +1 -0
- package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.d.ts +100 -0
- package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.js +140 -0
- package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.js.map +1 -0
- package/out/language-server/agenticChat/tools/lspGetDocuments.d.ts +24 -0
- package/out/language-server/agenticChat/tools/lspGetDocuments.js +45 -0
- package/out/language-server/agenticChat/tools/lspGetDocuments.js.map +1 -0
- package/out/language-server/agenticChat/tools/lspReadDocumentContents.d.ts +37 -0
- package/out/language-server/agenticChat/tools/lspReadDocumentContents.js +116 -0
- package/out/language-server/agenticChat/tools/lspReadDocumentContents.js.map +1 -0
- package/out/language-server/agenticChat/tools/mcp/mcpManager.d.ts +21 -0
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js +106 -0
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js.map +1 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTool.d.ts +21 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTool.js +54 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTool.js.map +1 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTypes.d.ts +28 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTypes.js +7 -0
- package/out/language-server/agenticChat/tools/mcp/mcpTypes.js.map +1 -0
- package/out/language-server/agenticChat/tools/mcp/mcpUtils.d.ts +7 -0
- package/out/language-server/agenticChat/tools/mcp/mcpUtils.js +78 -0
- package/out/language-server/agenticChat/tools/mcp/mcpUtils.js.map +1 -0
- package/out/language-server/agenticChat/tools/toolServer.d.ts +3 -0
- package/out/language-server/agenticChat/tools/toolServer.js +62 -6
- package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
- package/out/language-server/agenticChat/tools/toolShared.d.ts +48 -5
- package/out/language-server/agenticChat/tools/toolShared.js +109 -2
- package/out/language-server/agenticChat/tools/toolShared.js.map +1 -1
- package/out/language-server/chat/chatController.d.ts +7 -4
- package/out/language-server/chat/chatController.js +13 -18
- package/out/language-server/chat/chatController.js.map +1 -1
- package/out/language-server/chat/chatEventParser.d.ts +3 -1
- package/out/language-server/chat/chatEventParser.js.map +1 -1
- package/out/language-server/chat/chatSessionManagementService.d.ts +2 -2
- package/out/language-server/chat/chatSessionManagementService.js +4 -4
- package/out/language-server/chat/chatSessionManagementService.js.map +1 -1
- package/out/language-server/chat/chatSessionService.d.ts +36 -3
- package/out/language-server/chat/chatSessionService.js +88 -5
- package/out/language-server/chat/chatSessionService.js.map +1 -1
- package/out/language-server/chat/constants.d.ts +3 -0
- package/out/language-server/chat/constants.js +17 -1
- package/out/language-server/chat/constants.js.map +1 -1
- package/out/language-server/chat/contexts/documentContext.d.ts +2 -1
- package/out/language-server/chat/contexts/documentContext.js +2 -0
- package/out/language-server/chat/contexts/documentContext.js.map +1 -1
- package/out/language-server/chat/contexts/triggerContext.d.ts +7 -3
- package/out/language-server/chat/contexts/triggerContext.js +39 -2
- package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
- package/out/language-server/chat/qChatServer.d.ts +4 -1
- package/out/language-server/chat/qChatServer.js +17 -17
- package/out/language-server/chat/qChatServer.js.map +1 -1
- package/out/language-server/chat/quickActions.d.ts +2 -0
- package/out/language-server/chat/quickActions.js +2 -0
- package/out/language-server/chat/quickActions.js.map +1 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +5 -3
- package/out/language-server/chat/telemetry/chatTelemetryController.js +50 -4
- package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
- package/out/language-server/chat/tools/relevantTextDocuments.d.ts +3 -0
- package/out/language-server/chat/tools/relevantTextDocuments.js +42 -0
- package/out/language-server/chat/tools/relevantTextDocuments.js.map +1 -0
- package/out/language-server/chat/utils.js +18 -3
- package/out/language-server/chat/utils.js.map +1 -1
- package/out/language-server/configuration/qConfigurationServer.d.ts +2 -3
- package/out/language-server/configuration/qConfigurationServer.js +27 -20
- package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
- package/out/language-server/inline-completion/auto-trigger/coefficients.json +4 -1
- package/out/language-server/inline-completion/codeWhispererServer.d.ts +2 -3
- package/out/language-server/inline-completion/codeWhispererServer.js +29 -30
- package/out/language-server/inline-completion/codeWhispererServer.js.map +1 -1
- package/out/language-server/localProjectContext/localProjectContextServer.d.ts +2 -0
- package/out/language-server/localProjectContext/localProjectContextServer.js +130 -0
- package/out/language-server/localProjectContext/localProjectContextServer.js.map +1 -0
- package/out/language-server/netTransform/artifactManager.js +12 -4
- package/out/language-server/netTransform/artifactManager.js.map +1 -1
- package/out/language-server/netTransform/metrics.d.ts +2 -0
- package/out/language-server/netTransform/metrics.js +26 -1
- package/out/language-server/netTransform/metrics.js.map +1 -1
- package/out/language-server/netTransform/models.d.ts +2 -0
- package/out/language-server/netTransform/models.js.map +1 -1
- package/out/language-server/netTransform/netTransformServer.d.ts +2 -4
- package/out/language-server/netTransform/netTransformServer.js +21 -16
- package/out/language-server/netTransform/netTransformServer.js.map +1 -1
- package/out/language-server/netTransform/tests/mockData.js +1 -0
- package/out/language-server/netTransform/tests/mockData.js.map +1 -1
- package/out/language-server/netTransform/transformHandler.d.ts +6 -5
- package/out/language-server/netTransform/transformHandler.js +35 -12
- package/out/language-server/netTransform/transformHandler.js.map +1 -1
- package/out/language-server/securityScan/codeWhispererSecurityScanServer.js +10 -11
- package/out/language-server/securityScan/codeWhispererSecurityScanServer.js.map +1 -1
- package/out/language-server/securityScan/types.d.ts +2 -1
- package/out/shared/amazonQServer.d.ts +5 -0
- package/out/shared/amazonQServer.js +53 -0
- package/out/shared/amazonQServer.js.map +1 -0
- package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.d.ts +19 -0
- package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.js +61 -0
- package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.js.map +1 -0
- package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.d.ts +14 -28
- package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js +78 -99
- package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -1
- package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.d.ts +72 -5
- package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.js +116 -0
- package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.js.map +1 -1
- package/out/shared/amazonQServiceManager/configurationUtils.d.ts +13 -1
- package/out/shared/amazonQServiceManager/configurationUtils.js +41 -22
- package/out/shared/amazonQServiceManager/configurationUtils.js.map +1 -1
- package/out/shared/amazonQServiceManager/errors.d.ts +9 -0
- package/out/shared/amazonQServiceManager/errors.js +22 -1
- package/out/shared/amazonQServiceManager/errors.js.map +1 -1
- package/out/shared/amazonQServiceManager/qDeveloperProfiles.d.ts +2 -1
- package/out/shared/amazonQServiceManager/qDeveloperProfiles.js +26 -3
- package/out/shared/amazonQServiceManager/qDeveloperProfiles.js.map +1 -1
- package/out/shared/amazonQServiceManager/testUtils.d.ts +48 -0
- package/out/shared/amazonQServiceManager/testUtils.js +112 -0
- package/out/shared/amazonQServiceManager/testUtils.js.map +1 -0
- package/out/shared/codeWhispererService.d.ts +3 -3
- package/out/shared/codeWhispererService.js +4 -4
- package/out/shared/codeWhispererService.js.map +1 -1
- package/out/shared/constants.d.ts +10 -0
- package/out/shared/constants.js +12 -1
- package/out/shared/constants.js.map +1 -1
- package/out/shared/localProjectContextController.d.ts +56 -0
- package/out/shared/localProjectContextController.js +371 -0
- package/out/shared/localProjectContextController.js.map +1 -0
- package/out/shared/models/constants.d.ts +5 -0
- package/out/shared/models/constants.js +6 -1
- package/out/shared/models/constants.js.map +1 -1
- package/out/shared/models/model.d.ts +2 -1
- package/out/shared/proxy-server.d.ts +4 -2
- package/out/shared/proxy-server.js +11 -10
- package/out/shared/proxy-server.js.map +1 -1
- package/out/shared/streamingClientService.d.ts +23 -7
- package/out/shared/streamingClientService.js +56 -9
- package/out/shared/streamingClientService.js.map +1 -1
- package/out/shared/supplementalContextUtil/crossFileContextUtil.d.ts +4 -1
- package/out/shared/supplementalContextUtil/crossFileContextUtil.js +73 -17
- package/out/shared/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
- package/out/shared/supplementalContextUtil/supplementalContextUtil.d.ts +8 -0
- package/out/shared/supplementalContextUtil/supplementalContextUtil.js +63 -2
- package/out/shared/supplementalContextUtil/supplementalContextUtil.js.map +1 -1
- package/out/shared/telemetry/telemetryService.d.ts +16 -2
- package/out/shared/telemetry/telemetryService.js +25 -2
- package/out/shared/telemetry/telemetryService.js.map +1 -1
- package/out/shared/telemetry/types.d.ts +37 -2
- package/out/shared/telemetry/types.js +2 -0
- package/out/shared/telemetry/types.js.map +1 -1
- package/out/shared/telemetryUtils.d.ts +1 -0
- package/out/shared/telemetryUtils.js +5 -3
- package/out/shared/telemetryUtils.js.map +1 -1
- package/out/shared/testUtils.d.ts +2 -1
- package/out/shared/testUtils.js +10 -1
- package/out/shared/testUtils.js.map +1 -1
- package/out/shared/utils.d.ts +30 -0
- package/out/shared/utils.js +184 -0
- package/out/shared/utils.js.map +1 -1
- package/package.json +21 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -53
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -53
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -44
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -15
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -4
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -44
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -26
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -10
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -15
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -13
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -13
- package/out/shared/amazonQServiceManager/factories.d.ts +0 -15
- package/out/shared/amazonQServiceManager/factories.js +0 -47
- package/out/shared/amazonQServiceManager/factories.js.map +0 -1
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-es/httpHandler.js → amazon-q-developer-streaming-client/dist-es/extensionConfiguration.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types}/LICENSE +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-es/types.js → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/abort.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Field.js → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Fields.js → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/constants.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/types.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/extensions → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector}/index.js +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/timing.js} +0 -0
- /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js} +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/LICENSE +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/README.md +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js → @smithy/protocol-http/dist-cjs/Field.js} +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js → @smithy/protocol-http/dist-cjs/Fields.js} +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js → @smithy/protocol-http/dist-cjs/httpHandler.js} +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/Field.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/Fields.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/extensions/index.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/httpResponse.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/index.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/isValidHostname.js +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/Field.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/Fields.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/extensions/index.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/httpHandler.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/httpResponse.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/index.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/isValidHostname.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/Field.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/types.d.ts +0 -0
- /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/types.d.ts +0 -0
|
@@ -0,0 +1,963 @@
|
|
|
1
|
+
import { QDeveloperStreamingServiceException as __BaseException } from "./QDeveloperStreamingServiceException";
|
|
2
|
+
import { SENSITIVE_STRING, } from "@smithy/smithy-client";
|
|
3
|
+
export const AccessDeniedExceptionReason = {
|
|
4
|
+
UNAUTHORIZED_CUSTOMIZATION_RESOURCE_ACCESS: "UNAUTHORIZED_CUSTOMIZATION_RESOURCE_ACCESS",
|
|
5
|
+
};
|
|
6
|
+
export class AccessDeniedException extends __BaseException {
|
|
7
|
+
name = "AccessDeniedException";
|
|
8
|
+
$fault = "client";
|
|
9
|
+
reason;
|
|
10
|
+
constructor(opts) {
|
|
11
|
+
super({
|
|
12
|
+
name: "AccessDeniedException",
|
|
13
|
+
$fault: "client",
|
|
14
|
+
...opts
|
|
15
|
+
});
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
this.reason = opts.reason;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export const AdditionalContentEntryFilterSensitiveLog = (obj) => ({
|
|
21
|
+
...obj,
|
|
22
|
+
...(obj.name && { name: SENSITIVE_STRING
|
|
23
|
+
}),
|
|
24
|
+
...(obj.description && { description: SENSITIVE_STRING
|
|
25
|
+
}),
|
|
26
|
+
...(obj.innerContext && { innerContext: SENSITIVE_STRING
|
|
27
|
+
}),
|
|
28
|
+
});
|
|
29
|
+
export class InternalServerException extends __BaseException {
|
|
30
|
+
name = "InternalServerException";
|
|
31
|
+
$fault = "server";
|
|
32
|
+
$retryable = {};
|
|
33
|
+
constructor(opts) {
|
|
34
|
+
super({
|
|
35
|
+
name: "InternalServerException",
|
|
36
|
+
$fault: "server",
|
|
37
|
+
...opts
|
|
38
|
+
});
|
|
39
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
43
|
+
name = "ResourceNotFoundException";
|
|
44
|
+
$fault = "client";
|
|
45
|
+
constructor(opts) {
|
|
46
|
+
super({
|
|
47
|
+
name: "ResourceNotFoundException",
|
|
48
|
+
$fault: "client",
|
|
49
|
+
...opts
|
|
50
|
+
});
|
|
51
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export const ThrottlingExceptionReason = {
|
|
55
|
+
MONTHLY_REQUEST_COUNT: "MONTHLY_REQUEST_COUNT",
|
|
56
|
+
};
|
|
57
|
+
export class ThrottlingException extends __BaseException {
|
|
58
|
+
name = "ThrottlingException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
$retryable = {
|
|
61
|
+
throttling: true,
|
|
62
|
+
};
|
|
63
|
+
reason;
|
|
64
|
+
constructor(opts) {
|
|
65
|
+
super({
|
|
66
|
+
name: "ThrottlingException",
|
|
67
|
+
$fault: "client",
|
|
68
|
+
...opts
|
|
69
|
+
});
|
|
70
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
71
|
+
this.reason = opts.reason;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export const ValidationExceptionReason = {
|
|
75
|
+
CONTENT_LENGTH_EXCEEDS_THRESHOLD: "CONTENT_LENGTH_EXCEEDS_THRESHOLD",
|
|
76
|
+
INVALID_CONVERSATION_ID: "INVALID_CONVERSATION_ID",
|
|
77
|
+
INVALID_KMS_GRANT: "INVALID_KMS_GRANT",
|
|
78
|
+
};
|
|
79
|
+
export class ValidationException extends __BaseException {
|
|
80
|
+
name = "ValidationException";
|
|
81
|
+
$fault = "client";
|
|
82
|
+
reason;
|
|
83
|
+
constructor(opts) {
|
|
84
|
+
super({
|
|
85
|
+
name: "ValidationException",
|
|
86
|
+
$fault: "client",
|
|
87
|
+
...opts
|
|
88
|
+
});
|
|
89
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
90
|
+
this.reason = opts.reason;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
export const AppStudioStateFilterSensitiveLog = (obj) => ({
|
|
94
|
+
...obj,
|
|
95
|
+
...(obj.namespace && { namespace: SENSITIVE_STRING
|
|
96
|
+
}),
|
|
97
|
+
...(obj.propertyName && { propertyName: SENSITIVE_STRING
|
|
98
|
+
}),
|
|
99
|
+
...(obj.propertyValue && { propertyValue: SENSITIVE_STRING
|
|
100
|
+
}),
|
|
101
|
+
...(obj.propertyContext && { propertyContext: SENSITIVE_STRING
|
|
102
|
+
}),
|
|
103
|
+
});
|
|
104
|
+
export const AssistantResponseEventFilterSensitiveLog = (obj) => ({
|
|
105
|
+
...obj,
|
|
106
|
+
...(obj.content && { content: SENSITIVE_STRING
|
|
107
|
+
}),
|
|
108
|
+
});
|
|
109
|
+
export const UserIntent = {
|
|
110
|
+
APPLY_COMMON_BEST_PRACTICES: "APPLY_COMMON_BEST_PRACTICES",
|
|
111
|
+
CITE_SOURCES: "CITE_SOURCES",
|
|
112
|
+
CODE_GENERATION: "CODE_GENERATION",
|
|
113
|
+
EXPLAIN_CODE_SELECTION: "EXPLAIN_CODE_SELECTION",
|
|
114
|
+
EXPLAIN_LINE_BY_LINE: "EXPLAIN_LINE_BY_LINE",
|
|
115
|
+
GENERATE_CLOUDFORMATION_TEMPLATE: "GENERATE_CLOUDFORMATION_TEMPLATE",
|
|
116
|
+
GENERATE_UNIT_TESTS: "GENERATE_UNIT_TESTS",
|
|
117
|
+
IMPROVE_CODE: "IMPROVE_CODE",
|
|
118
|
+
SHOW_EXAMPLES: "SHOW_EXAMPLES",
|
|
119
|
+
SUGGEST_ALTERNATE_IMPLEMENTATION: "SUGGEST_ALTERNATE_IMPLEMENTATION",
|
|
120
|
+
};
|
|
121
|
+
export const FollowupPromptFilterSensitiveLog = (obj) => ({
|
|
122
|
+
...obj,
|
|
123
|
+
...(obj.content && { content: SENSITIVE_STRING
|
|
124
|
+
}),
|
|
125
|
+
});
|
|
126
|
+
export const SupplementaryWebLinkFilterSensitiveLog = (obj) => ({
|
|
127
|
+
...obj,
|
|
128
|
+
...(obj.url && { url: SENSITIVE_STRING
|
|
129
|
+
}),
|
|
130
|
+
...(obj.title && { title: SENSITIVE_STRING
|
|
131
|
+
}),
|
|
132
|
+
...(obj.snippet && { snippet: SENSITIVE_STRING
|
|
133
|
+
}),
|
|
134
|
+
});
|
|
135
|
+
export const ToolUseFilterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
...(obj.name && { name: SENSITIVE_STRING
|
|
138
|
+
}),
|
|
139
|
+
...(obj.input && { input: SENSITIVE_STRING
|
|
140
|
+
}),
|
|
141
|
+
});
|
|
142
|
+
export const AssistantResponseMessageFilterSensitiveLog = (obj) => ({
|
|
143
|
+
...obj,
|
|
144
|
+
...(obj.content && { content: SENSITIVE_STRING
|
|
145
|
+
}),
|
|
146
|
+
...(obj.supplementaryWebLinks && { supplementaryWebLinks: obj.supplementaryWebLinks.map(item => SupplementaryWebLinkFilterSensitiveLog(item))
|
|
147
|
+
}),
|
|
148
|
+
...(obj.followupPrompt && { followupPrompt: FollowupPromptFilterSensitiveLog(obj.followupPrompt)
|
|
149
|
+
}),
|
|
150
|
+
...(obj.toolUses && { toolUses: obj.toolUses.map(item => ToolUseFilterSensitiveLog(item))
|
|
151
|
+
}),
|
|
152
|
+
});
|
|
153
|
+
export const ConflictExceptionReason = {
|
|
154
|
+
CUSTOMER_KMS_KEY_DISABLED: "CUSTOMER_KMS_KEY_DISABLED",
|
|
155
|
+
CUSTOMER_KMS_KEY_INVALID_KEY_POLICY: "CUSTOMER_KMS_KEY_INVALID_KEY_POLICY",
|
|
156
|
+
MISMATCHED_KMS_KEY: "MISMATCHED_KMS_KEY",
|
|
157
|
+
};
|
|
158
|
+
export class ConflictException extends __BaseException {
|
|
159
|
+
name = "ConflictException";
|
|
160
|
+
$fault = "client";
|
|
161
|
+
reason;
|
|
162
|
+
constructor(opts) {
|
|
163
|
+
super({
|
|
164
|
+
name: "ConflictException",
|
|
165
|
+
$fault: "client",
|
|
166
|
+
...opts
|
|
167
|
+
});
|
|
168
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
169
|
+
this.reason = opts.reason;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
export const ImageFormat = {
|
|
173
|
+
GIF: "gif",
|
|
174
|
+
JPEG: "jpeg",
|
|
175
|
+
PNG: "png",
|
|
176
|
+
WEBP: "webp",
|
|
177
|
+
};
|
|
178
|
+
export var ImageSource;
|
|
179
|
+
(function (ImageSource) {
|
|
180
|
+
ImageSource.visit = (value, visitor) => {
|
|
181
|
+
if (value.bytes !== undefined)
|
|
182
|
+
return visitor.bytes(value.bytes);
|
|
183
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
184
|
+
};
|
|
185
|
+
})(ImageSource || (ImageSource = {}));
|
|
186
|
+
export const ImageSourceFilterSensitiveLog = (obj) => {
|
|
187
|
+
if (obj.bytes !== undefined)
|
|
188
|
+
return { bytes: obj.bytes
|
|
189
|
+
};
|
|
190
|
+
if (obj.$unknown !== undefined)
|
|
191
|
+
return { [obj.$unknown[0]]: 'UNKNOWN' };
|
|
192
|
+
};
|
|
193
|
+
export const ImageBlockFilterSensitiveLog = (obj) => ({
|
|
194
|
+
...obj,
|
|
195
|
+
...(obj.source && { source: SENSITIVE_STRING
|
|
196
|
+
}),
|
|
197
|
+
});
|
|
198
|
+
export const Origin = {
|
|
199
|
+
AI_EDITOR: "AI_EDITOR",
|
|
200
|
+
CHATBOT: "CHATBOT",
|
|
201
|
+
CLI: "CLI",
|
|
202
|
+
CONSOLE: "CONSOLE",
|
|
203
|
+
DOCUMENTATION: "DOCUMENTATION",
|
|
204
|
+
GITLAB: "GITLAB",
|
|
205
|
+
IDE: "IDE",
|
|
206
|
+
MARKETING: "MARKETING",
|
|
207
|
+
MD: "MD",
|
|
208
|
+
MOBILE: "MOBILE",
|
|
209
|
+
OPENSEARCH_DASHBOARD: "OPENSEARCH_DASHBOARD",
|
|
210
|
+
SAGE_MAKER: "SAGE_MAKER",
|
|
211
|
+
SERVICE_INTERNAL: "SERVICE_INTERNAL",
|
|
212
|
+
UNIFIED_SEARCH: "UNIFIED_SEARCH",
|
|
213
|
+
UNKNOWN: "UNKNOWN",
|
|
214
|
+
};
|
|
215
|
+
export const ConsoleStateFilterSensitiveLog = (obj) => ({
|
|
216
|
+
...obj,
|
|
217
|
+
...(obj.consoleUrl && { consoleUrl: SENSITIVE_STRING
|
|
218
|
+
}),
|
|
219
|
+
...(obj.taskName && { taskName: SENSITIVE_STRING
|
|
220
|
+
}),
|
|
221
|
+
});
|
|
222
|
+
export const DiagnosticSeverity = {
|
|
223
|
+
ERROR: "ERROR",
|
|
224
|
+
HINT: "HINT",
|
|
225
|
+
INFORMATION: "INFORMATION",
|
|
226
|
+
WARNING: "WARNING",
|
|
227
|
+
};
|
|
228
|
+
export const RuntimeDiagnosticFilterSensitiveLog = (obj) => ({
|
|
229
|
+
...obj,
|
|
230
|
+
...(obj.source && { source: SENSITIVE_STRING
|
|
231
|
+
}),
|
|
232
|
+
...(obj.message && { message: SENSITIVE_STRING
|
|
233
|
+
}),
|
|
234
|
+
});
|
|
235
|
+
export const CodeDescriptionFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
...(obj.href && { href: SENSITIVE_STRING
|
|
238
|
+
}),
|
|
239
|
+
});
|
|
240
|
+
export const SymbolType = {
|
|
241
|
+
DECLARATION: "DECLARATION",
|
|
242
|
+
USAGE: "USAGE",
|
|
243
|
+
};
|
|
244
|
+
export const TextDocumentFilterSensitiveLog = (obj) => ({
|
|
245
|
+
...obj,
|
|
246
|
+
...(obj.relativeFilePath && { relativeFilePath: SENSITIVE_STRING
|
|
247
|
+
}),
|
|
248
|
+
...(obj.text && { text: SENSITIVE_STRING
|
|
249
|
+
}),
|
|
250
|
+
});
|
|
251
|
+
export const DiagnosticLocationFilterSensitiveLog = (obj) => ({
|
|
252
|
+
...obj,
|
|
253
|
+
...(obj.uri && { uri: SENSITIVE_STRING
|
|
254
|
+
}),
|
|
255
|
+
});
|
|
256
|
+
export const DiagnosticRelatedInformationFilterSensitiveLog = (obj) => ({
|
|
257
|
+
...obj,
|
|
258
|
+
...(obj.location && { location: DiagnosticLocationFilterSensitiveLog(obj.location)
|
|
259
|
+
}),
|
|
260
|
+
...(obj.message && { message: SENSITIVE_STRING
|
|
261
|
+
}),
|
|
262
|
+
});
|
|
263
|
+
export const DiagnosticTag = {
|
|
264
|
+
DEPRECATED: "DEPRECATED",
|
|
265
|
+
UNNECESSARY: "UNNECESSARY",
|
|
266
|
+
};
|
|
267
|
+
export const TextDocumentDiagnosticFilterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
...(obj.document && { document: TextDocumentFilterSensitiveLog(obj.document)
|
|
270
|
+
}),
|
|
271
|
+
...(obj.source && { source: SENSITIVE_STRING
|
|
272
|
+
}),
|
|
273
|
+
...(obj.message && { message: SENSITIVE_STRING
|
|
274
|
+
}),
|
|
275
|
+
...(obj.code && { code: SENSITIVE_STRING
|
|
276
|
+
}),
|
|
277
|
+
...(obj.codeDescription && { codeDescription: CodeDescriptionFilterSensitiveLog(obj.codeDescription)
|
|
278
|
+
}),
|
|
279
|
+
...(obj.relatedInformation && { relatedInformation: obj.relatedInformation.map(item => DiagnosticRelatedInformationFilterSensitiveLog(item))
|
|
280
|
+
}),
|
|
281
|
+
...(obj.data && { data: SENSITIVE_STRING
|
|
282
|
+
}),
|
|
283
|
+
});
|
|
284
|
+
export var Diagnostic;
|
|
285
|
+
(function (Diagnostic) {
|
|
286
|
+
Diagnostic.visit = (value, visitor) => {
|
|
287
|
+
if (value.textDocumentDiagnostic !== undefined)
|
|
288
|
+
return visitor.textDocumentDiagnostic(value.textDocumentDiagnostic);
|
|
289
|
+
if (value.runtimeDiagnostic !== undefined)
|
|
290
|
+
return visitor.runtimeDiagnostic(value.runtimeDiagnostic);
|
|
291
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
292
|
+
};
|
|
293
|
+
})(Diagnostic || (Diagnostic = {}));
|
|
294
|
+
export const DiagnosticFilterSensitiveLog = (obj) => {
|
|
295
|
+
if (obj.textDocumentDiagnostic !== undefined)
|
|
296
|
+
return { textDocumentDiagnostic: TextDocumentDiagnosticFilterSensitiveLog(obj.textDocumentDiagnostic)
|
|
297
|
+
};
|
|
298
|
+
if (obj.runtimeDiagnostic !== undefined)
|
|
299
|
+
return { runtimeDiagnostic: RuntimeDiagnosticFilterSensitiveLog(obj.runtimeDiagnostic)
|
|
300
|
+
};
|
|
301
|
+
if (obj.$unknown !== undefined)
|
|
302
|
+
return { [obj.$unknown[0]]: 'UNKNOWN' };
|
|
303
|
+
};
|
|
304
|
+
export var CursorState;
|
|
305
|
+
(function (CursorState) {
|
|
306
|
+
CursorState.visit = (value, visitor) => {
|
|
307
|
+
if (value.position !== undefined)
|
|
308
|
+
return visitor.position(value.position);
|
|
309
|
+
if (value.range !== undefined)
|
|
310
|
+
return visitor.range(value.range);
|
|
311
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
312
|
+
};
|
|
313
|
+
})(CursorState || (CursorState = {}));
|
|
314
|
+
export const RelevantTextDocumentFilterSensitiveLog = (obj) => ({
|
|
315
|
+
...obj,
|
|
316
|
+
...(obj.relativeFilePath && { relativeFilePath: SENSITIVE_STRING
|
|
317
|
+
}),
|
|
318
|
+
...(obj.text && { text: SENSITIVE_STRING
|
|
319
|
+
}),
|
|
320
|
+
});
|
|
321
|
+
export const EditorStateFilterSensitiveLog = (obj) => ({
|
|
322
|
+
...obj,
|
|
323
|
+
...(obj.document && { document: TextDocumentFilterSensitiveLog(obj.document)
|
|
324
|
+
}),
|
|
325
|
+
...(obj.cursorState && { cursorState: obj.cursorState
|
|
326
|
+
}),
|
|
327
|
+
...(obj.relevantDocuments && { relevantDocuments: obj.relevantDocuments.map(item => RelevantTextDocumentFilterSensitiveLog(item))
|
|
328
|
+
}),
|
|
329
|
+
...(obj.workspaceFolders && { workspaceFolders: SENSITIVE_STRING
|
|
330
|
+
}),
|
|
331
|
+
});
|
|
332
|
+
export const EnvironmentVariableFilterSensitiveLog = (obj) => ({
|
|
333
|
+
...obj,
|
|
334
|
+
...(obj.key && { key: SENSITIVE_STRING
|
|
335
|
+
}),
|
|
336
|
+
...(obj.value && { value: SENSITIVE_STRING
|
|
337
|
+
}),
|
|
338
|
+
});
|
|
339
|
+
export const EnvStateFilterSensitiveLog = (obj) => ({
|
|
340
|
+
...obj,
|
|
341
|
+
...(obj.currentWorkingDirectory && { currentWorkingDirectory: SENSITIVE_STRING
|
|
342
|
+
}),
|
|
343
|
+
...(obj.environmentVariables && { environmentVariables: obj.environmentVariables.map(item => EnvironmentVariableFilterSensitiveLog(item))
|
|
344
|
+
}),
|
|
345
|
+
});
|
|
346
|
+
export const GitStateFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
...(obj.status && { status: SENSITIVE_STRING
|
|
349
|
+
}),
|
|
350
|
+
});
|
|
351
|
+
export const ShellHistoryEntryFilterSensitiveLog = (obj) => ({
|
|
352
|
+
...obj,
|
|
353
|
+
...(obj.command && { command: SENSITIVE_STRING
|
|
354
|
+
}),
|
|
355
|
+
...(obj.directory && { directory: SENSITIVE_STRING
|
|
356
|
+
}),
|
|
357
|
+
...(obj.stdout && { stdout: SENSITIVE_STRING
|
|
358
|
+
}),
|
|
359
|
+
...(obj.stderr && { stderr: SENSITIVE_STRING
|
|
360
|
+
}),
|
|
361
|
+
});
|
|
362
|
+
export const ShellStateFilterSensitiveLog = (obj) => ({
|
|
363
|
+
...obj,
|
|
364
|
+
...(obj.shellHistory && { shellHistory: obj.shellHistory.map(item => ShellHistoryEntryFilterSensitiveLog(item))
|
|
365
|
+
}),
|
|
366
|
+
});
|
|
367
|
+
export var ToolResultContentBlock;
|
|
368
|
+
(function (ToolResultContentBlock) {
|
|
369
|
+
ToolResultContentBlock.visit = (value, visitor) => {
|
|
370
|
+
if (value.text !== undefined)
|
|
371
|
+
return visitor.text(value.text);
|
|
372
|
+
if (value.json !== undefined)
|
|
373
|
+
return visitor.json(value.json);
|
|
374
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
375
|
+
};
|
|
376
|
+
})(ToolResultContentBlock || (ToolResultContentBlock = {}));
|
|
377
|
+
export const ToolResultContentBlockFilterSensitiveLog = (obj) => {
|
|
378
|
+
if (obj.text !== undefined)
|
|
379
|
+
return { text: SENSITIVE_STRING
|
|
380
|
+
};
|
|
381
|
+
if (obj.json !== undefined)
|
|
382
|
+
return { json: SENSITIVE_STRING
|
|
383
|
+
};
|
|
384
|
+
if (obj.$unknown !== undefined)
|
|
385
|
+
return { [obj.$unknown[0]]: 'UNKNOWN' };
|
|
386
|
+
};
|
|
387
|
+
export const ToolResultStatus = {
|
|
388
|
+
ERROR: "error",
|
|
389
|
+
SUCCESS: "success",
|
|
390
|
+
};
|
|
391
|
+
export const ToolResultFilterSensitiveLog = (obj) => ({
|
|
392
|
+
...obj,
|
|
393
|
+
...(obj.content && { content: obj.content.map(item => ToolResultContentBlockFilterSensitiveLog(item))
|
|
394
|
+
}),
|
|
395
|
+
});
|
|
396
|
+
export const ToolInputSchemaFilterSensitiveLog = (obj) => ({
|
|
397
|
+
...obj,
|
|
398
|
+
...(obj.json && { json: SENSITIVE_STRING
|
|
399
|
+
}),
|
|
400
|
+
});
|
|
401
|
+
export const ToolSpecificationFilterSensitiveLog = (obj) => ({
|
|
402
|
+
...obj,
|
|
403
|
+
...(obj.inputSchema && { inputSchema: ToolInputSchemaFilterSensitiveLog(obj.inputSchema)
|
|
404
|
+
}),
|
|
405
|
+
...(obj.name && { name: SENSITIVE_STRING
|
|
406
|
+
}),
|
|
407
|
+
...(obj.description && { description: SENSITIVE_STRING
|
|
408
|
+
}),
|
|
409
|
+
});
|
|
410
|
+
export var Tool;
|
|
411
|
+
(function (Tool) {
|
|
412
|
+
Tool.visit = (value, visitor) => {
|
|
413
|
+
if (value.toolSpecification !== undefined)
|
|
414
|
+
return visitor.toolSpecification(value.toolSpecification);
|
|
415
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
416
|
+
};
|
|
417
|
+
})(Tool || (Tool = {}));
|
|
418
|
+
export const ToolFilterSensitiveLog = (obj) => {
|
|
419
|
+
if (obj.toolSpecification !== undefined)
|
|
420
|
+
return { toolSpecification: ToolSpecificationFilterSensitiveLog(obj.toolSpecification)
|
|
421
|
+
};
|
|
422
|
+
if (obj.$unknown !== undefined)
|
|
423
|
+
return { [obj.$unknown[0]]: 'UNKNOWN' };
|
|
424
|
+
};
|
|
425
|
+
export const UserInputMessageContextFilterSensitiveLog = (obj) => ({
|
|
426
|
+
...obj,
|
|
427
|
+
...(obj.editorState && { editorState: EditorStateFilterSensitiveLog(obj.editorState)
|
|
428
|
+
}),
|
|
429
|
+
...(obj.shellState && { shellState: ShellStateFilterSensitiveLog(obj.shellState)
|
|
430
|
+
}),
|
|
431
|
+
...(obj.gitState && { gitState: GitStateFilterSensitiveLog(obj.gitState)
|
|
432
|
+
}),
|
|
433
|
+
...(obj.envState && { envState: EnvStateFilterSensitiveLog(obj.envState)
|
|
434
|
+
}),
|
|
435
|
+
...(obj.appStudioContext && { appStudioContext: AppStudioStateFilterSensitiveLog(obj.appStudioContext)
|
|
436
|
+
}),
|
|
437
|
+
...(obj.diagnostic && { diagnostic: DiagnosticFilterSensitiveLog(obj.diagnostic)
|
|
438
|
+
}),
|
|
439
|
+
...(obj.consoleState && { consoleState: ConsoleStateFilterSensitiveLog(obj.consoleState)
|
|
440
|
+
}),
|
|
441
|
+
...(obj.additionalContext && { additionalContext: obj.additionalContext.map(item => AdditionalContentEntryFilterSensitiveLog(item))
|
|
442
|
+
}),
|
|
443
|
+
...(obj.toolResults && { toolResults: obj.toolResults.map(item => ToolResultFilterSensitiveLog(item))
|
|
444
|
+
}),
|
|
445
|
+
...(obj.tools && { tools: obj.tools.map(item => ToolFilterSensitiveLog(item))
|
|
446
|
+
}),
|
|
447
|
+
});
|
|
448
|
+
export const UserInputMessageFilterSensitiveLog = (obj) => ({
|
|
449
|
+
...obj,
|
|
450
|
+
...(obj.content && { content: SENSITIVE_STRING
|
|
451
|
+
}),
|
|
452
|
+
...(obj.userInputMessageContext && { userInputMessageContext: UserInputMessageContextFilterSensitiveLog(obj.userInputMessageContext)
|
|
453
|
+
}),
|
|
454
|
+
...(obj.images && { images: obj.images.map(item => ImageBlockFilterSensitiveLog(item))
|
|
455
|
+
}),
|
|
456
|
+
});
|
|
457
|
+
export var ChatMessage;
|
|
458
|
+
(function (ChatMessage) {
|
|
459
|
+
ChatMessage.visit = (value, visitor) => {
|
|
460
|
+
if (value.userInputMessage !== undefined)
|
|
461
|
+
return visitor.userInputMessage(value.userInputMessage);
|
|
462
|
+
if (value.assistantResponseMessage !== undefined)
|
|
463
|
+
return visitor.assistantResponseMessage(value.assistantResponseMessage);
|
|
464
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
465
|
+
};
|
|
466
|
+
})(ChatMessage || (ChatMessage = {}));
|
|
467
|
+
export const ChatMessageFilterSensitiveLog = (obj) => {
|
|
468
|
+
if (obj.userInputMessage !== undefined)
|
|
469
|
+
return { userInputMessage: UserInputMessageFilterSensitiveLog(obj.userInputMessage)
|
|
470
|
+
};
|
|
471
|
+
if (obj.assistantResponseMessage !== undefined)
|
|
472
|
+
return { assistantResponseMessage: AssistantResponseMessageFilterSensitiveLog(obj.assistantResponseMessage)
|
|
473
|
+
};
|
|
474
|
+
if (obj.$unknown !== undefined)
|
|
475
|
+
return { [obj.$unknown[0]]: 'UNKNOWN' };
|
|
476
|
+
};
|
|
477
|
+
export var CitationTarget;
|
|
478
|
+
(function (CitationTarget) {
|
|
479
|
+
CitationTarget.visit = (value, visitor) => {
|
|
480
|
+
if (value.location !== undefined)
|
|
481
|
+
return visitor.location(value.location);
|
|
482
|
+
if (value.range !== undefined)
|
|
483
|
+
return visitor.range(value.range);
|
|
484
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
485
|
+
};
|
|
486
|
+
})(CitationTarget || (CitationTarget = {}));
|
|
487
|
+
export const CitationEventFilterSensitiveLog = (obj) => ({
|
|
488
|
+
...obj,
|
|
489
|
+
...(obj.target && { target: obj.target
|
|
490
|
+
}),
|
|
491
|
+
...(obj.citationText && { citationText: SENSITIVE_STRING
|
|
492
|
+
}),
|
|
493
|
+
...(obj.citationLink && { citationLink: SENSITIVE_STRING
|
|
494
|
+
}),
|
|
495
|
+
});
|
|
496
|
+
export const CodeEventFilterSensitiveLog = (obj) => ({
|
|
497
|
+
...obj,
|
|
498
|
+
...(obj.content && { content: SENSITIVE_STRING
|
|
499
|
+
}),
|
|
500
|
+
});
|
|
501
|
+
export const FollowupPromptEventFilterSensitiveLog = (obj) => ({
|
|
502
|
+
...obj,
|
|
503
|
+
...(obj.followupPrompt && { followupPrompt: FollowupPromptFilterSensitiveLog(obj.followupPrompt)
|
|
504
|
+
}),
|
|
505
|
+
});
|
|
506
|
+
export const IntentType = {
|
|
507
|
+
GLUE_SENSEI: "GLUE_SENSEI",
|
|
508
|
+
RESOURCE_DATA: "RESOURCE_DATA",
|
|
509
|
+
SUPPORT: "SUPPORT",
|
|
510
|
+
};
|
|
511
|
+
export var IntentDataType;
|
|
512
|
+
(function (IntentDataType) {
|
|
513
|
+
IntentDataType.visit = (value, visitor) => {
|
|
514
|
+
if (value.string !== undefined)
|
|
515
|
+
return visitor.string(value.string);
|
|
516
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
517
|
+
};
|
|
518
|
+
})(IntentDataType || (IntentDataType = {}));
|
|
519
|
+
export const IntentsEventFilterSensitiveLog = (obj) => ({
|
|
520
|
+
...obj,
|
|
521
|
+
...(obj.intents && { intents: SENSITIVE_STRING
|
|
522
|
+
}),
|
|
523
|
+
});
|
|
524
|
+
export const CloudWatchTroubleshootingLinkFilterSensitiveLog = (obj) => ({
|
|
525
|
+
...obj,
|
|
526
|
+
...(obj.label && { label: SENSITIVE_STRING
|
|
527
|
+
}),
|
|
528
|
+
...(obj.investigationPayload && { investigationPayload: SENSITIVE_STRING
|
|
529
|
+
}),
|
|
530
|
+
...(obj.defaultText && { defaultText: SENSITIVE_STRING
|
|
531
|
+
}),
|
|
532
|
+
});
|
|
533
|
+
export const ModuleLinkFilterSensitiveLog = (obj) => ({
|
|
534
|
+
...obj,
|
|
535
|
+
...(obj.cloudWatchTroubleshootingLink && { cloudWatchTroubleshootingLink: CloudWatchTroubleshootingLinkFilterSensitiveLog(obj.cloudWatchTroubleshootingLink)
|
|
536
|
+
}),
|
|
537
|
+
});
|
|
538
|
+
export const WebLinkFilterSensitiveLog = (obj) => ({
|
|
539
|
+
...obj,
|
|
540
|
+
...(obj.label && { label: SENSITIVE_STRING
|
|
541
|
+
}),
|
|
542
|
+
...(obj.url && { url: SENSITIVE_STRING
|
|
543
|
+
}),
|
|
544
|
+
});
|
|
545
|
+
export const ActionFilterSensitiveLog = (obj) => ({
|
|
546
|
+
...obj,
|
|
547
|
+
...(obj.webLink && { webLink: WebLinkFilterSensitiveLog(obj.webLink)
|
|
548
|
+
}),
|
|
549
|
+
...(obj.moduleLink && { moduleLink: ModuleLinkFilterSensitiveLog(obj.moduleLink)
|
|
550
|
+
}),
|
|
551
|
+
});
|
|
552
|
+
export const TextFilterSensitiveLog = (obj) => ({
|
|
553
|
+
...obj,
|
|
554
|
+
...(obj.content && { content: SENSITIVE_STRING
|
|
555
|
+
}),
|
|
556
|
+
});
|
|
557
|
+
export const AlertComponentFilterSensitiveLog = (obj) => ({
|
|
558
|
+
...obj,
|
|
559
|
+
...(obj.text && { text: TextFilterSensitiveLog(obj.text)
|
|
560
|
+
}),
|
|
561
|
+
});
|
|
562
|
+
export const AlertType = {
|
|
563
|
+
ERROR: "ERROR",
|
|
564
|
+
INFO: "INFO",
|
|
565
|
+
WARNING: "WARNING",
|
|
566
|
+
};
|
|
567
|
+
export const AlertFilterSensitiveLog = (obj) => ({
|
|
568
|
+
...obj,
|
|
569
|
+
...(obj.content && { content: obj.content.map(item => AlertComponentFilterSensitiveLog(item))
|
|
570
|
+
}),
|
|
571
|
+
});
|
|
572
|
+
export const InfrastructureUpdateTransitionFilterSensitiveLog = (obj) => ({
|
|
573
|
+
...obj,
|
|
574
|
+
...(obj.currentState && { currentState: SENSITIVE_STRING
|
|
575
|
+
}),
|
|
576
|
+
...(obj.nextState && { nextState: SENSITIVE_STRING
|
|
577
|
+
}),
|
|
578
|
+
});
|
|
579
|
+
export const InfrastructureUpdateFilterSensitiveLog = (obj) => ({
|
|
580
|
+
...obj,
|
|
581
|
+
...(obj.transition && { transition: InfrastructureUpdateTransitionFilterSensitiveLog(obj.transition)
|
|
582
|
+
}),
|
|
583
|
+
});
|
|
584
|
+
export const StepComponentFilterSensitiveLog = (obj) => ({
|
|
585
|
+
...obj,
|
|
586
|
+
...(obj.text && { text: TextFilterSensitiveLog(obj.text)
|
|
587
|
+
}),
|
|
588
|
+
});
|
|
589
|
+
export const StepState = {
|
|
590
|
+
FAILED: "FAILED",
|
|
591
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
592
|
+
LOADING: "LOADING",
|
|
593
|
+
PAUSED: "PAUSED",
|
|
594
|
+
PENDING: "PENDING",
|
|
595
|
+
STOPPED: "STOPPED",
|
|
596
|
+
SUCCEEDED: "SUCCEEDED",
|
|
597
|
+
};
|
|
598
|
+
export const StepFilterSensitiveLog = (obj) => ({
|
|
599
|
+
...obj,
|
|
600
|
+
...(obj.label && { label: SENSITIVE_STRING
|
|
601
|
+
}),
|
|
602
|
+
...(obj.content && { content: obj.content.map(item => StepComponentFilterSensitiveLog(item))
|
|
603
|
+
}),
|
|
604
|
+
});
|
|
605
|
+
export const ProgressComponentFilterSensitiveLog = (obj) => ({
|
|
606
|
+
...obj,
|
|
607
|
+
...(obj.step && { step: StepFilterSensitiveLog(obj.step)
|
|
608
|
+
}),
|
|
609
|
+
});
|
|
610
|
+
export const ProgressFilterSensitiveLog = (obj) => ({
|
|
611
|
+
...obj,
|
|
612
|
+
...(obj.content && { content: obj.content.map(item => ProgressComponentFilterSensitiveLog(item))
|
|
613
|
+
}),
|
|
614
|
+
});
|
|
615
|
+
export const ResourceFilterSensitiveLog = (obj) => ({
|
|
616
|
+
...obj,
|
|
617
|
+
...(obj.title && { title: SENSITIVE_STRING
|
|
618
|
+
}),
|
|
619
|
+
...(obj.link && { link: SENSITIVE_STRING
|
|
620
|
+
}),
|
|
621
|
+
...(obj.description && { description: SENSITIVE_STRING
|
|
622
|
+
}),
|
|
623
|
+
...(obj.type && { type: SENSITIVE_STRING
|
|
624
|
+
}),
|
|
625
|
+
...(obj.ARN && { ARN: SENSITIVE_STRING
|
|
626
|
+
}),
|
|
627
|
+
...(obj.resourceJsonString && { resourceJsonString: SENSITIVE_STRING
|
|
628
|
+
}),
|
|
629
|
+
});
|
|
630
|
+
export const ResourceListFilterSensitiveLog = (obj) => ({
|
|
631
|
+
...obj,
|
|
632
|
+
...(obj.action && { action: ActionFilterSensitiveLog(obj.action)
|
|
633
|
+
}),
|
|
634
|
+
...(obj.items && { items: obj.items.map(item => ResourceFilterSensitiveLog(item))
|
|
635
|
+
}),
|
|
636
|
+
});
|
|
637
|
+
export const SectionComponentFilterSensitiveLog = (obj) => ({
|
|
638
|
+
...obj,
|
|
639
|
+
...(obj.text && { text: TextFilterSensitiveLog(obj.text)
|
|
640
|
+
}),
|
|
641
|
+
...(obj.alert && { alert: AlertFilterSensitiveLog(obj.alert)
|
|
642
|
+
}),
|
|
643
|
+
...(obj.resource && { resource: ResourceFilterSensitiveLog(obj.resource)
|
|
644
|
+
}),
|
|
645
|
+
...(obj.resourceList && { resourceList: ResourceListFilterSensitiveLog(obj.resourceList)
|
|
646
|
+
}),
|
|
647
|
+
});
|
|
648
|
+
export const SectionFilterSensitiveLog = (obj) => ({
|
|
649
|
+
...obj,
|
|
650
|
+
...(obj.title && { title: SENSITIVE_STRING
|
|
651
|
+
}),
|
|
652
|
+
...(obj.content && { content: obj.content.map(item => SectionComponentFilterSensitiveLog(item))
|
|
653
|
+
}),
|
|
654
|
+
...(obj.action && { action: ActionFilterSensitiveLog(obj.action)
|
|
655
|
+
}),
|
|
656
|
+
});
|
|
657
|
+
export const SuggestionFilterSensitiveLog = (obj) => ({
|
|
658
|
+
...obj,
|
|
659
|
+
...(obj.value && { value: SENSITIVE_STRING
|
|
660
|
+
}),
|
|
661
|
+
});
|
|
662
|
+
export const SuggestionsFilterSensitiveLog = (obj) => ({
|
|
663
|
+
...obj,
|
|
664
|
+
...(obj.items && { items: obj.items.map(item => SuggestionFilterSensitiveLog(item))
|
|
665
|
+
}),
|
|
666
|
+
});
|
|
667
|
+
export const TaskActionConfirmationFilterSensitiveLog = (obj) => ({
|
|
668
|
+
...obj,
|
|
669
|
+
...(obj.content && { content: SENSITIVE_STRING
|
|
670
|
+
}),
|
|
671
|
+
});
|
|
672
|
+
export const TaskActionNoteType = {
|
|
673
|
+
INFO: "INFO",
|
|
674
|
+
WARNING: "WARNING",
|
|
675
|
+
};
|
|
676
|
+
export const TaskActionNoteFilterSensitiveLog = (obj) => ({
|
|
677
|
+
...obj,
|
|
678
|
+
...(obj.content && { content: SENSITIVE_STRING
|
|
679
|
+
}),
|
|
680
|
+
});
|
|
681
|
+
export const TaskActionFilterSensitiveLog = (obj) => ({
|
|
682
|
+
...obj,
|
|
683
|
+
...(obj.label && { label: SENSITIVE_STRING
|
|
684
|
+
}),
|
|
685
|
+
...(obj.note && { note: TaskActionNoteFilterSensitiveLog(obj.note)
|
|
686
|
+
}),
|
|
687
|
+
...(obj.payload && { payload: SENSITIVE_STRING
|
|
688
|
+
}),
|
|
689
|
+
...(obj.confirmation && { confirmation: TaskActionConfirmationFilterSensitiveLog(obj.confirmation)
|
|
690
|
+
}),
|
|
691
|
+
});
|
|
692
|
+
export const TaskComponentFilterSensitiveLog = (obj) => ({
|
|
693
|
+
...obj,
|
|
694
|
+
...(obj.text && { text: TextFilterSensitiveLog(obj.text)
|
|
695
|
+
}),
|
|
696
|
+
...(obj.infrastructureUpdate && { infrastructureUpdate: InfrastructureUpdateFilterSensitiveLog(obj.infrastructureUpdate)
|
|
697
|
+
}),
|
|
698
|
+
...(obj.alert && { alert: AlertFilterSensitiveLog(obj.alert)
|
|
699
|
+
}),
|
|
700
|
+
...(obj.progress && { progress: ProgressFilterSensitiveLog(obj.progress)
|
|
701
|
+
}),
|
|
702
|
+
});
|
|
703
|
+
export const TaskOverviewFilterSensitiveLog = (obj) => ({
|
|
704
|
+
...obj,
|
|
705
|
+
...(obj.label && { label: SENSITIVE_STRING
|
|
706
|
+
}),
|
|
707
|
+
...(obj.description && { description: SENSITIVE_STRING
|
|
708
|
+
}),
|
|
709
|
+
});
|
|
710
|
+
export const TaskDetailsFilterSensitiveLog = (obj) => ({
|
|
711
|
+
...obj,
|
|
712
|
+
...(obj.overview && { overview: TaskOverviewFilterSensitiveLog(obj.overview)
|
|
713
|
+
}),
|
|
714
|
+
...(obj.content && { content: obj.content.map(item => TaskComponentFilterSensitiveLog(item))
|
|
715
|
+
}),
|
|
716
|
+
...(obj.actions && { actions: obj.actions.map(item => TaskActionFilterSensitiveLog(item))
|
|
717
|
+
}),
|
|
718
|
+
});
|
|
719
|
+
export const InteractionComponentFilterSensitiveLog = (obj) => ({
|
|
720
|
+
...obj,
|
|
721
|
+
...(obj.text && { text: TextFilterSensitiveLog(obj.text)
|
|
722
|
+
}),
|
|
723
|
+
...(obj.alert && { alert: AlertFilterSensitiveLog(obj.alert)
|
|
724
|
+
}),
|
|
725
|
+
...(obj.infrastructureUpdate && { infrastructureUpdate: InfrastructureUpdateFilterSensitiveLog(obj.infrastructureUpdate)
|
|
726
|
+
}),
|
|
727
|
+
...(obj.progress && { progress: ProgressFilterSensitiveLog(obj.progress)
|
|
728
|
+
}),
|
|
729
|
+
...(obj.step && { step: StepFilterSensitiveLog(obj.step)
|
|
730
|
+
}),
|
|
731
|
+
...(obj.taskDetails && { taskDetails: TaskDetailsFilterSensitiveLog(obj.taskDetails)
|
|
732
|
+
}),
|
|
733
|
+
...(obj.suggestions && { suggestions: SuggestionsFilterSensitiveLog(obj.suggestions)
|
|
734
|
+
}),
|
|
735
|
+
...(obj.section && { section: SectionFilterSensitiveLog(obj.section)
|
|
736
|
+
}),
|
|
737
|
+
...(obj.resource && { resource: ResourceFilterSensitiveLog(obj.resource)
|
|
738
|
+
}),
|
|
739
|
+
...(obj.resourceList && { resourceList: ResourceListFilterSensitiveLog(obj.resourceList)
|
|
740
|
+
}),
|
|
741
|
+
...(obj.action && { action: ActionFilterSensitiveLog(obj.action)
|
|
742
|
+
}),
|
|
743
|
+
});
|
|
744
|
+
export const InteractionComponentEntryFilterSensitiveLog = (obj) => ({
|
|
745
|
+
...obj,
|
|
746
|
+
...(obj.interactionComponent && { interactionComponent: InteractionComponentFilterSensitiveLog(obj.interactionComponent)
|
|
747
|
+
}),
|
|
748
|
+
});
|
|
749
|
+
export const InteractionComponentsEventFilterSensitiveLog = (obj) => ({
|
|
750
|
+
...obj,
|
|
751
|
+
...(obj.interactionComponentEntries && { interactionComponentEntries: obj.interactionComponentEntries.map(item => InteractionComponentEntryFilterSensitiveLog(item))
|
|
752
|
+
}),
|
|
753
|
+
});
|
|
754
|
+
export const InvalidStateReason = {
|
|
755
|
+
INVALID_TASK_ASSIST_PLAN: "INVALID_TASK_ASSIST_PLAN",
|
|
756
|
+
};
|
|
757
|
+
export const SupplementaryWebLinksEventFilterSensitiveLog = (obj) => ({
|
|
758
|
+
...obj,
|
|
759
|
+
...(obj.supplementaryWebLinks && { supplementaryWebLinks: obj.supplementaryWebLinks.map(item => SupplementaryWebLinkFilterSensitiveLog(item))
|
|
760
|
+
}),
|
|
761
|
+
});
|
|
762
|
+
export const ToolResultEventFilterSensitiveLog = (obj) => ({
|
|
763
|
+
...obj,
|
|
764
|
+
...(obj.toolResult && { toolResult: ToolResultFilterSensitiveLog(obj.toolResult)
|
|
765
|
+
}),
|
|
766
|
+
});
|
|
767
|
+
export const ToolUseEventFilterSensitiveLog = (obj) => ({
|
|
768
|
+
...obj,
|
|
769
|
+
...(obj.name && { name: SENSITIVE_STRING
|
|
770
|
+
}),
|
|
771
|
+
...(obj.input && { input: SENSITIVE_STRING
|
|
772
|
+
}),
|
|
773
|
+
});
|
|
774
|
+
export var ChatResponseStream;
|
|
775
|
+
(function (ChatResponseStream) {
|
|
776
|
+
ChatResponseStream.visit = (value, visitor) => {
|
|
777
|
+
if (value.messageMetadataEvent !== undefined)
|
|
778
|
+
return visitor.messageMetadataEvent(value.messageMetadataEvent);
|
|
779
|
+
if (value.assistantResponseEvent !== undefined)
|
|
780
|
+
return visitor.assistantResponseEvent(value.assistantResponseEvent);
|
|
781
|
+
if (value.dryRunSucceedEvent !== undefined)
|
|
782
|
+
return visitor.dryRunSucceedEvent(value.dryRunSucceedEvent);
|
|
783
|
+
if (value.codeReferenceEvent !== undefined)
|
|
784
|
+
return visitor.codeReferenceEvent(value.codeReferenceEvent);
|
|
785
|
+
if (value.supplementaryWebLinksEvent !== undefined)
|
|
786
|
+
return visitor.supplementaryWebLinksEvent(value.supplementaryWebLinksEvent);
|
|
787
|
+
if (value.followupPromptEvent !== undefined)
|
|
788
|
+
return visitor.followupPromptEvent(value.followupPromptEvent);
|
|
789
|
+
if (value.codeEvent !== undefined)
|
|
790
|
+
return visitor.codeEvent(value.codeEvent);
|
|
791
|
+
if (value.intentsEvent !== undefined)
|
|
792
|
+
return visitor.intentsEvent(value.intentsEvent);
|
|
793
|
+
if (value.interactionComponentsEvent !== undefined)
|
|
794
|
+
return visitor.interactionComponentsEvent(value.interactionComponentsEvent);
|
|
795
|
+
if (value.toolUseEvent !== undefined)
|
|
796
|
+
return visitor.toolUseEvent(value.toolUseEvent);
|
|
797
|
+
if (value.toolResultEvent !== undefined)
|
|
798
|
+
return visitor.toolResultEvent(value.toolResultEvent);
|
|
799
|
+
if (value.citationEvent !== undefined)
|
|
800
|
+
return visitor.citationEvent(value.citationEvent);
|
|
801
|
+
if (value.invalidStateEvent !== undefined)
|
|
802
|
+
return visitor.invalidStateEvent(value.invalidStateEvent);
|
|
803
|
+
if (value.error !== undefined)
|
|
804
|
+
return visitor.error(value.error);
|
|
805
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
806
|
+
};
|
|
807
|
+
})(ChatResponseStream || (ChatResponseStream = {}));
|
|
808
|
+
export const ChatResponseStreamFilterSensitiveLog = (obj) => {
|
|
809
|
+
if (obj.messageMetadataEvent !== undefined)
|
|
810
|
+
return { messageMetadataEvent: obj.messageMetadataEvent
|
|
811
|
+
};
|
|
812
|
+
if (obj.assistantResponseEvent !== undefined)
|
|
813
|
+
return { assistantResponseEvent: AssistantResponseEventFilterSensitiveLog(obj.assistantResponseEvent)
|
|
814
|
+
};
|
|
815
|
+
if (obj.dryRunSucceedEvent !== undefined)
|
|
816
|
+
return { dryRunSucceedEvent: obj.dryRunSucceedEvent
|
|
817
|
+
};
|
|
818
|
+
if (obj.codeReferenceEvent !== undefined)
|
|
819
|
+
return { codeReferenceEvent: obj.codeReferenceEvent
|
|
820
|
+
};
|
|
821
|
+
if (obj.supplementaryWebLinksEvent !== undefined)
|
|
822
|
+
return { supplementaryWebLinksEvent: SupplementaryWebLinksEventFilterSensitiveLog(obj.supplementaryWebLinksEvent)
|
|
823
|
+
};
|
|
824
|
+
if (obj.followupPromptEvent !== undefined)
|
|
825
|
+
return { followupPromptEvent: FollowupPromptEventFilterSensitiveLog(obj.followupPromptEvent)
|
|
826
|
+
};
|
|
827
|
+
if (obj.codeEvent !== undefined)
|
|
828
|
+
return { codeEvent: CodeEventFilterSensitiveLog(obj.codeEvent)
|
|
829
|
+
};
|
|
830
|
+
if (obj.intentsEvent !== undefined)
|
|
831
|
+
return { intentsEvent: IntentsEventFilterSensitiveLog(obj.intentsEvent)
|
|
832
|
+
};
|
|
833
|
+
if (obj.interactionComponentsEvent !== undefined)
|
|
834
|
+
return { interactionComponentsEvent: InteractionComponentsEventFilterSensitiveLog(obj.interactionComponentsEvent)
|
|
835
|
+
};
|
|
836
|
+
if (obj.toolUseEvent !== undefined)
|
|
837
|
+
return { toolUseEvent: ToolUseEventFilterSensitiveLog(obj.toolUseEvent)
|
|
838
|
+
};
|
|
839
|
+
if (obj.toolResultEvent !== undefined)
|
|
840
|
+
return { toolResultEvent: ToolResultEventFilterSensitiveLog(obj.toolResultEvent)
|
|
841
|
+
};
|
|
842
|
+
if (obj.citationEvent !== undefined)
|
|
843
|
+
return { citationEvent: CitationEventFilterSensitiveLog(obj.citationEvent)
|
|
844
|
+
};
|
|
845
|
+
if (obj.invalidStateEvent !== undefined)
|
|
846
|
+
return { invalidStateEvent: obj.invalidStateEvent
|
|
847
|
+
};
|
|
848
|
+
if (obj.error !== undefined)
|
|
849
|
+
return { error: obj.error
|
|
850
|
+
};
|
|
851
|
+
if (obj.$unknown !== undefined)
|
|
852
|
+
return { [obj.$unknown[0]]: 'UNKNOWN' };
|
|
853
|
+
};
|
|
854
|
+
export const ChatTriggerType = {
|
|
855
|
+
DIAGNOSTIC: "DIAGNOSTIC",
|
|
856
|
+
INLINE_CHAT: "INLINE_CHAT",
|
|
857
|
+
MANUAL: "MANUAL",
|
|
858
|
+
};
|
|
859
|
+
export var CommandInput;
|
|
860
|
+
(function (CommandInput) {
|
|
861
|
+
CommandInput.visit = (value, visitor) => {
|
|
862
|
+
if (value.commandsList !== undefined)
|
|
863
|
+
return visitor.commandsList(value.commandsList);
|
|
864
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
865
|
+
};
|
|
866
|
+
})(CommandInput || (CommandInput = {}));
|
|
867
|
+
export const CommandInputFilterSensitiveLog = (obj) => {
|
|
868
|
+
if (obj.commandsList !== undefined)
|
|
869
|
+
return { commandsList: SENSITIVE_STRING
|
|
870
|
+
};
|
|
871
|
+
if (obj.$unknown !== undefined)
|
|
872
|
+
return { [obj.$unknown[0]]: 'UNKNOWN' };
|
|
873
|
+
};
|
|
874
|
+
export const ConversationStateFilterSensitiveLog = (obj) => ({
|
|
875
|
+
...obj,
|
|
876
|
+
...(obj.history && { history: obj.history.map(item => ChatMessageFilterSensitiveLog(item))
|
|
877
|
+
}),
|
|
878
|
+
...(obj.currentMessage && { currentMessage: ChatMessageFilterSensitiveLog(obj.currentMessage)
|
|
879
|
+
}),
|
|
880
|
+
});
|
|
881
|
+
export class DryRunOperationException extends __BaseException {
|
|
882
|
+
name = "DryRunOperationException";
|
|
883
|
+
$fault = "client";
|
|
884
|
+
responseCode;
|
|
885
|
+
constructor(opts) {
|
|
886
|
+
super({
|
|
887
|
+
name: "DryRunOperationException",
|
|
888
|
+
$fault: "client",
|
|
889
|
+
...opts
|
|
890
|
+
});
|
|
891
|
+
Object.setPrototypeOf(this, DryRunOperationException.prototype);
|
|
892
|
+
this.responseCode = opts.responseCode;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
export const OutputFormat = {
|
|
896
|
+
JAVA_CDK: "java/cdk",
|
|
897
|
+
JSON_CFN: "json/cfn",
|
|
898
|
+
PYTHON_CDK: "python/cdk",
|
|
899
|
+
TYPESCRIPT_CDK: "typescript/cdk",
|
|
900
|
+
YAML_CFN: "yaml/cfn",
|
|
901
|
+
};
|
|
902
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
903
|
+
name = "ServiceQuotaExceededException";
|
|
904
|
+
$fault = "client";
|
|
905
|
+
constructor(opts) {
|
|
906
|
+
super({
|
|
907
|
+
name: "ServiceQuotaExceededException",
|
|
908
|
+
$fault: "client",
|
|
909
|
+
...opts
|
|
910
|
+
});
|
|
911
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
export const SendMessageRequestFilterSensitiveLog = (obj) => ({
|
|
915
|
+
...obj,
|
|
916
|
+
...(obj.conversationState && { conversationState: ConversationStateFilterSensitiveLog(obj.conversationState)
|
|
917
|
+
}),
|
|
918
|
+
});
|
|
919
|
+
export const SendMessageResponseFilterSensitiveLog = (obj) => ({
|
|
920
|
+
...obj,
|
|
921
|
+
...(obj.sendMessageResponse && { sendMessageResponse: 'STREAMING_CONTENT'
|
|
922
|
+
}),
|
|
923
|
+
});
|
|
924
|
+
export const GenerateCodeFromCommandsRequestFilterSensitiveLog = (obj) => ({
|
|
925
|
+
...obj,
|
|
926
|
+
...(obj.commands && { commands: CommandInputFilterSensitiveLog(obj.commands)
|
|
927
|
+
}),
|
|
928
|
+
});
|
|
929
|
+
export var GenerateCodeFromCommandsResponseStream;
|
|
930
|
+
(function (GenerateCodeFromCommandsResponseStream) {
|
|
931
|
+
GenerateCodeFromCommandsResponseStream.visit = (value, visitor) => {
|
|
932
|
+
if (value.codeEvent !== undefined)
|
|
933
|
+
return visitor.codeEvent(value.codeEvent);
|
|
934
|
+
if (value.Error !== undefined)
|
|
935
|
+
return visitor.Error(value.Error);
|
|
936
|
+
if (value.QuotaLevelExceededError !== undefined)
|
|
937
|
+
return visitor.QuotaLevelExceededError(value.QuotaLevelExceededError);
|
|
938
|
+
if (value.ValidationError !== undefined)
|
|
939
|
+
return visitor.ValidationError(value.ValidationError);
|
|
940
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
941
|
+
};
|
|
942
|
+
})(GenerateCodeFromCommandsResponseStream || (GenerateCodeFromCommandsResponseStream = {}));
|
|
943
|
+
export const GenerateCodeFromCommandsResponseStreamFilterSensitiveLog = (obj) => {
|
|
944
|
+
if (obj.codeEvent !== undefined)
|
|
945
|
+
return { codeEvent: CodeEventFilterSensitiveLog(obj.codeEvent)
|
|
946
|
+
};
|
|
947
|
+
if (obj.Error !== undefined)
|
|
948
|
+
return { Error: obj.Error
|
|
949
|
+
};
|
|
950
|
+
if (obj.QuotaLevelExceededError !== undefined)
|
|
951
|
+
return { QuotaLevelExceededError: obj.QuotaLevelExceededError
|
|
952
|
+
};
|
|
953
|
+
if (obj.ValidationError !== undefined)
|
|
954
|
+
return { ValidationError: obj.ValidationError
|
|
955
|
+
};
|
|
956
|
+
if (obj.$unknown !== undefined)
|
|
957
|
+
return { [obj.$unknown[0]]: 'UNKNOWN' };
|
|
958
|
+
};
|
|
959
|
+
export const GenerateCodeFromCommandsResponseFilterSensitiveLog = (obj) => ({
|
|
960
|
+
...obj,
|
|
961
|
+
...(obj.generatedCodeFromCommandsResponse && { generatedCodeFromCommandsResponse: 'STREAMING_CONTENT'
|
|
962
|
+
}),
|
|
963
|
+
});
|