@aws/lsp-codewhisperer 0.0.25 → 0.0.27
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 +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/LICENSE +201 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/README.md +53 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +209 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/constants.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +79 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/index.js +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/package.json +68 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/LICENSE +201 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/README.md +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-cjs/index.js +295 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/abort.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/auth.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/checksum.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/client.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/command.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/connection.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/credentials.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/crypto.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/dns.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/encode.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/eventStream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/http.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/identity/index.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/index.js +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/logger.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/middleware.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/pagination.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/profile.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/request.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/response.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/retry.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/serde.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/shapes.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/signature.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/stream.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/token.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/uri.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/util.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/waiter.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +49 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/dns.d.ts +85 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/http.d.ts +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/index.d.ts +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/logger.d.ts +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/request.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/response.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/serde.d.ts +24 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/token.d.ts +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts +19 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +24 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +32 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +40 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/package.json +56 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +44 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +26 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +44 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +26 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +10 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +5 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/package.json +72 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/CHANGELOG.md +274 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/README.md +466 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/bin/uuid +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/native.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/rng.js +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v35.js +66 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v4.js +29 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/native.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/stringify.js +33 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v35.js +66 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v4.js +29 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/index.js +79 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/md5-browser.js +223 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/md5.js +23 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/native-browser.js +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/native.js +15 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/nil.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/parse.js +45 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/regex.js +8 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/rng-browser.js +25 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/rng.js +24 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/sha1.js +23 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/stringify.js +44 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v1.js +107 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v3.js +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v35.js +80 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v4.js +43 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/v5.js +16 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/validate.js +17 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/dist/version.js +21 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/package.json +135 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/uuid/wrapper.mjs +10 -0
- package/out/client/sigv4/codewhisperer.d.ts +2 -1
- package/out/client/sigv4/codewhisperer.js +4 -4
- package/out/client/sigv4/codewhisperer.js.map +1 -1
- package/out/client/sigv4/service.json +935 -7
- package/out/client/streamingClient/codewhispererStreamingClient.d.ts +3 -2
- package/out/client/streamingClient/codewhispererStreamingClient.js +4 -29
- package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
- package/out/client/token/bearer-token-service.json +2 -2
- package/out/client/token/codewhisperer.d.ts +2 -1
- package/out/client/token/codewhisperer.js +4 -4
- package/out/client/token/codewhisperer.js.map +1 -1
- package/out/language-server/chat/chatController.test.js +10 -2
- package/out/language-server/chat/chatController.test.js.map +1 -1
- package/out/language-server/chat/chatSessionManagementService.d.ts +2 -1
- package/out/language-server/chat/chatSessionManagementService.js +12 -1
- package/out/language-server/chat/chatSessionManagementService.js.map +1 -1
- package/out/language-server/chat/chatSessionManagementService.test.js +9 -1
- package/out/language-server/chat/chatSessionManagementService.test.js.map +1 -1
- package/out/language-server/chat/chatSessionService.d.ts +2 -1
- package/out/language-server/chat/chatSessionService.js +4 -2
- package/out/language-server/chat/chatSessionService.js.map +1 -1
- package/out/language-server/chat/chatSessionService.test.js +8 -1
- package/out/language-server/chat/chatSessionService.test.js.map +1 -1
- package/out/language-server/codeWhispererSecurityScanServer.d.ts +2 -1
- package/out/language-server/codeWhispererSecurityScanServer.js +2 -2
- package/out/language-server/codeWhispererSecurityScanServer.js.map +1 -1
- package/out/language-server/codeWhispererServer.d.ts +2 -2
- package/out/language-server/codeWhispererServer.js +8 -8
- package/out/language-server/codeWhispererServer.js.map +1 -1
- package/out/language-server/codeWhispererService.d.ts +3 -4
- package/out/language-server/codeWhispererService.js +11 -11
- package/out/language-server/codeWhispererService.js.map +1 -1
- package/out/language-server/configuration/qConfigurationServer.d.ts +2 -1
- package/out/language-server/configuration/qConfigurationServer.js +2 -2
- package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
- package/out/language-server/netTransform/artifactManager.d.ts +2 -2
- package/out/language-server/netTransform/artifactManager.js +6 -16
- package/out/language-server/netTransform/artifactManager.js.map +1 -1
- package/out/language-server/netTransform/tests/transformHandler.test.d.ts +1 -2
- package/out/language-server/netTransform/tests/transformHandler.test.js +18 -34
- package/out/language-server/netTransform/tests/transformHandler.test.js.map +1 -1
- package/out/language-server/netTransform/transformHandler.js +2 -3
- package/out/language-server/netTransform/transformHandler.js.map +1 -1
- package/out/language-server/netTransformServer.d.ts +2 -1
- package/out/language-server/netTransformServer.js +3 -3
- package/out/language-server/netTransformServer.js.map +1 -1
- package/out/language-server/proxy-server.js +12 -39
- package/out/language-server/proxy-server.js.map +1 -1
- package/out/language-server/qChatServer.d.ts +2 -1
- package/out/language-server/qChatServer.js +3 -3
- package/out/language-server/qChatServer.js.map +1 -1
- package/out/language-server/telemetryService.d.ts +2 -2
- package/out/language-server/telemetryService.js +2 -2
- package/out/language-server/telemetryService.js.map +1 -1
- package/out/language-server/telemetryService.test.js +29 -22
- package/out/language-server/telemetryService.test.js.map +1 -1
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js +15 -1
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
- package/out/language-server/utils.d.ts +2 -3
- package/out/language-server/utils.js +1 -26
- package/out/language-server/utils.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IniSectionType } from "@smithy/types";
|
|
2
|
+
import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
|
|
3
|
+
export const getConfigData = (data) => Object.entries(data)
|
|
4
|
+
.filter(([key]) => {
|
|
5
|
+
const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
|
|
6
|
+
if (indexOfSeparator === -1) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
return Object.values(IniSectionType).includes(key.substring(0, indexOfSeparator));
|
|
10
|
+
})
|
|
11
|
+
.reduce((acc, [key, value]) => {
|
|
12
|
+
const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
|
|
13
|
+
const updatedKey = key.substring(0, indexOfSeparator) === IniSectionType.PROFILE ? key.substring(indexOfSeparator + 1) : key;
|
|
14
|
+
acc[updatedKey] = value;
|
|
15
|
+
return acc;
|
|
16
|
+
}, {
|
|
17
|
+
...(data.default && { default: data.default }),
|
|
18
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { homedir } from "os";
|
|
2
|
+
import { sep } from "path";
|
|
3
|
+
const homeDirCache = {};
|
|
4
|
+
const getHomeDirCacheKey = () => {
|
|
5
|
+
if (process && process.geteuid) {
|
|
6
|
+
return `${process.geteuid()}`;
|
|
7
|
+
}
|
|
8
|
+
return "DEFAULT";
|
|
9
|
+
};
|
|
10
|
+
export const getHomeDir = () => {
|
|
11
|
+
const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${sep}` } = process.env;
|
|
12
|
+
if (HOME)
|
|
13
|
+
return HOME;
|
|
14
|
+
if (USERPROFILE)
|
|
15
|
+
return USERPROFILE;
|
|
16
|
+
if (HOMEPATH)
|
|
17
|
+
return `${HOMEDRIVE}${HOMEPATH}`;
|
|
18
|
+
const homeDirCacheKey = getHomeDirCacheKey();
|
|
19
|
+
if (!homeDirCache[homeDirCacheKey])
|
|
20
|
+
homeDirCache[homeDirCacheKey] = homedir();
|
|
21
|
+
return homeDirCache[homeDirCacheKey];
|
|
22
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createHash } from "crypto";
|
|
2
|
+
import { join } from "path";
|
|
3
|
+
import { getHomeDir } from "./getHomeDir";
|
|
4
|
+
export const getSSOTokenFilepath = (id) => {
|
|
5
|
+
const hasher = createHash("sha1");
|
|
6
|
+
const cacheName = hasher.update(id).digest("hex");
|
|
7
|
+
return join(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`);
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { promises as fsPromises } from "fs";
|
|
2
|
+
import { getSSOTokenFilepath } from "./getSSOTokenFilepath";
|
|
3
|
+
const { readFile } = fsPromises;
|
|
4
|
+
export const getSSOTokenFromFile = async (id) => {
|
|
5
|
+
const ssoTokenFilepath = getSSOTokenFilepath(id);
|
|
6
|
+
const ssoTokenText = await readFile(ssoTokenFilepath, "utf8");
|
|
7
|
+
return JSON.parse(ssoTokenText);
|
|
8
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IniSectionType } from "@smithy/types";
|
|
2
|
+
import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
|
|
3
|
+
export const getSsoSessionData = (data) => Object.entries(data)
|
|
4
|
+
.filter(([key]) => key.startsWith(IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR))
|
|
5
|
+
.reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./getHomeDir";
|
|
2
|
+
export * from "./getProfileName";
|
|
3
|
+
export * from "./getSSOTokenFilepath";
|
|
4
|
+
export * from "./getSSOTokenFromFile";
|
|
5
|
+
export * from "./loadSharedConfigFiles";
|
|
6
|
+
export * from "./loadSsoSessionData";
|
|
7
|
+
export * from "./parseKnownFiles";
|
|
8
|
+
export * from "./types";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { join } from "path";
|
|
2
|
+
import { getConfigData } from "./getConfigData";
|
|
3
|
+
import { getConfigFilepath } from "./getConfigFilepath";
|
|
4
|
+
import { getCredentialsFilepath } from "./getCredentialsFilepath";
|
|
5
|
+
import { getHomeDir } from "./getHomeDir";
|
|
6
|
+
import { parseIni } from "./parseIni";
|
|
7
|
+
import { slurpFile } from "./slurpFile";
|
|
8
|
+
const swallowError = () => ({});
|
|
9
|
+
export const CONFIG_PREFIX_SEPARATOR = ".";
|
|
10
|
+
export const loadSharedConfigFiles = async (init = {}) => {
|
|
11
|
+
const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
|
|
12
|
+
const homeDir = getHomeDir();
|
|
13
|
+
const relativeHomeDirPrefix = "~/";
|
|
14
|
+
let resolvedFilepath = filepath;
|
|
15
|
+
if (filepath.startsWith(relativeHomeDirPrefix)) {
|
|
16
|
+
resolvedFilepath = join(homeDir, filepath.slice(2));
|
|
17
|
+
}
|
|
18
|
+
let resolvedConfigFilepath = configFilepath;
|
|
19
|
+
if (configFilepath.startsWith(relativeHomeDirPrefix)) {
|
|
20
|
+
resolvedConfigFilepath = join(homeDir, configFilepath.slice(2));
|
|
21
|
+
}
|
|
22
|
+
const parsedFiles = await Promise.all([
|
|
23
|
+
slurpFile(resolvedConfigFilepath, {
|
|
24
|
+
ignoreCache: init.ignoreCache,
|
|
25
|
+
})
|
|
26
|
+
.then(parseIni)
|
|
27
|
+
.then(getConfigData)
|
|
28
|
+
.catch(swallowError),
|
|
29
|
+
slurpFile(resolvedFilepath, {
|
|
30
|
+
ignoreCache: init.ignoreCache,
|
|
31
|
+
})
|
|
32
|
+
.then(parseIni)
|
|
33
|
+
.catch(swallowError),
|
|
34
|
+
]);
|
|
35
|
+
return {
|
|
36
|
+
configFile: parsedFiles[0],
|
|
37
|
+
credentialsFile: parsedFiles[1],
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { getConfigFilepath } from "./getConfigFilepath";
|
|
2
|
+
import { getSsoSessionData } from "./getSsoSessionData";
|
|
3
|
+
import { parseIni } from "./parseIni";
|
|
4
|
+
import { slurpFile } from "./slurpFile";
|
|
5
|
+
const swallowError = () => ({});
|
|
6
|
+
export const loadSsoSessionData = async (init = {}) => slurpFile(init.configFilepath ?? getConfigFilepath())
|
|
7
|
+
.then(parseIni)
|
|
8
|
+
.then(getSsoSessionData)
|
|
9
|
+
.catch(swallowError);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const mergeConfigFiles = (...files) => {
|
|
2
|
+
const merged = {};
|
|
3
|
+
for (const file of files) {
|
|
4
|
+
for (const [key, values] of Object.entries(file)) {
|
|
5
|
+
if (merged[key] !== undefined) {
|
|
6
|
+
Object.assign(merged[key], values);
|
|
7
|
+
}
|
|
8
|
+
else {
|
|
9
|
+
merged[key] = values;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return merged;
|
|
14
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { IniSectionType } from "@smithy/types";
|
|
2
|
+
import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
|
|
3
|
+
const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
|
|
4
|
+
const profileNameBlockList = ["__proto__", "profile __proto__"];
|
|
5
|
+
export const parseIni = (iniData) => {
|
|
6
|
+
const map = {};
|
|
7
|
+
let currentSection;
|
|
8
|
+
let currentSubSection;
|
|
9
|
+
for (const iniLine of iniData.split(/\r?\n/)) {
|
|
10
|
+
const trimmedLine = iniLine.split(/(^|\s)[;#]/)[0].trim();
|
|
11
|
+
const isSection = trimmedLine[0] === "[" && trimmedLine[trimmedLine.length - 1] === "]";
|
|
12
|
+
if (isSection) {
|
|
13
|
+
currentSection = undefined;
|
|
14
|
+
currentSubSection = undefined;
|
|
15
|
+
const sectionName = trimmedLine.substring(1, trimmedLine.length - 1);
|
|
16
|
+
const matches = prefixKeyRegex.exec(sectionName);
|
|
17
|
+
if (matches) {
|
|
18
|
+
const [, prefix, , name] = matches;
|
|
19
|
+
if (Object.values(IniSectionType).includes(prefix)) {
|
|
20
|
+
currentSection = [prefix, name].join(CONFIG_PREFIX_SEPARATOR);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
currentSection = sectionName;
|
|
25
|
+
}
|
|
26
|
+
if (profileNameBlockList.includes(sectionName)) {
|
|
27
|
+
throw new Error(`Found invalid profile name "${sectionName}"`);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
else if (currentSection) {
|
|
31
|
+
const indexOfEqualsSign = trimmedLine.indexOf("=");
|
|
32
|
+
if (![0, -1].includes(indexOfEqualsSign)) {
|
|
33
|
+
const [name, value] = [
|
|
34
|
+
trimmedLine.substring(0, indexOfEqualsSign).trim(),
|
|
35
|
+
trimmedLine.substring(indexOfEqualsSign + 1).trim(),
|
|
36
|
+
];
|
|
37
|
+
if (value === "") {
|
|
38
|
+
currentSubSection = name;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
if (currentSubSection && iniLine.trimStart() === iniLine) {
|
|
42
|
+
currentSubSection = undefined;
|
|
43
|
+
}
|
|
44
|
+
map[currentSection] = map[currentSection] || {};
|
|
45
|
+
const key = currentSubSection ? [currentSubSection, name].join(CONFIG_PREFIX_SEPARATOR) : name;
|
|
46
|
+
map[currentSection][key] = value;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return map;
|
|
52
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { loadSharedConfigFiles } from "./loadSharedConfigFiles";
|
|
2
|
+
import { mergeConfigFiles } from "./mergeConfigFiles";
|
|
3
|
+
export const parseKnownFiles = async (init) => {
|
|
4
|
+
const parsedFiles = await loadSharedConfigFiles(init);
|
|
5
|
+
return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
|
|
6
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { promises as fsPromises } from "fs";
|
|
2
|
+
const { readFile } = fsPromises;
|
|
3
|
+
const filePromisesHash = {};
|
|
4
|
+
export const slurpFile = (path, options) => {
|
|
5
|
+
if (!filePromisesHash[path] || options?.ignoreCache) {
|
|
6
|
+
filePromisesHash[path] = readFile(path, "utf8");
|
|
7
|
+
}
|
|
8
|
+
return filePromisesHash[path];
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the config data from parsed ini data.
|
|
4
|
+
* * Returns data for `default`
|
|
5
|
+
* * Returns profile name without prefix.
|
|
6
|
+
* * Returns non-profiles as is.
|
|
7
|
+
*/
|
|
8
|
+
export declare const getConfigData: (data: ParsedIniData) => ParsedIniData;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cached SSO token retrieved from SSO login flow.
|
|
3
|
+
*/
|
|
4
|
+
export interface SSOToken {
|
|
5
|
+
/**
|
|
6
|
+
* A base64 encoded string returned by the sso-oidc service.
|
|
7
|
+
*/
|
|
8
|
+
accessToken: string;
|
|
9
|
+
/**
|
|
10
|
+
* The expiration time of the accessToken as an RFC 3339 formatted timestamp.
|
|
11
|
+
*/
|
|
12
|
+
expiresAt: string;
|
|
13
|
+
/**
|
|
14
|
+
* The token used to obtain an access token in the event that the accessToken is invalid or expired.
|
|
15
|
+
*/
|
|
16
|
+
refreshToken?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The unique identifier string for each client. The client ID generated when performing the registration
|
|
19
|
+
* portion of the OIDC authorization flow. This is used to refresh the accessToken.
|
|
20
|
+
*/
|
|
21
|
+
clientId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* A secret string generated when performing the registration portion of the OIDC authorization flow.
|
|
24
|
+
* This is used to refresh the accessToken.
|
|
25
|
+
*/
|
|
26
|
+
clientSecret?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The expiration time of the client registration (clientId and clientSecret) as an RFC 3339 formatted timestamp.
|
|
29
|
+
*/
|
|
30
|
+
registrationExpiresAt?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The configured sso_region for the profile that credentials are being resolved for.
|
|
33
|
+
*/
|
|
34
|
+
region?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The configured sso_start_url for the profile that credentials are being resolved for.
|
|
37
|
+
*/
|
|
38
|
+
startUrl?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @param id - can be either a start URL or the SSO session name.
|
|
42
|
+
* Returns the SSO token from the file system.
|
|
43
|
+
*/
|
|
44
|
+
export declare const getSSOTokenFromFile: (id: string) => Promise<SSOToken>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the sso-session data from parsed ini data by reading
|
|
4
|
+
* ssoSessionName after sso-session prefix including/excluding quotes
|
|
5
|
+
*/
|
|
6
|
+
export declare const getSsoSessionData: (data: ParsedIniData) => ParsedIniData;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./getHomeDir";
|
|
2
|
+
export * from "./getProfileName";
|
|
3
|
+
export * from "./getSSOTokenFilepath";
|
|
4
|
+
export * from "./getSSOTokenFromFile";
|
|
5
|
+
export * from "./loadSharedConfigFiles";
|
|
6
|
+
export * from "./loadSsoSessionData";
|
|
7
|
+
export * from "./parseKnownFiles";
|
|
8
|
+
export * from "./types";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Logger, SharedConfigFiles } from "@smithy/types";
|
|
2
|
+
export interface SharedConfigInit {
|
|
3
|
+
/**
|
|
4
|
+
* The path at which to locate the ini credentials file. Defaults to the
|
|
5
|
+
* value of the `AWS_SHARED_CREDENTIALS_FILE` environment variable (if
|
|
6
|
+
* defined) or `~/.aws/credentials` otherwise.
|
|
7
|
+
*/
|
|
8
|
+
filepath?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The path at which to locate the ini config file. Defaults to the value of
|
|
11
|
+
* the `AWS_CONFIG_FILE` environment variable (if defined) or
|
|
12
|
+
* `~/.aws/config` otherwise.
|
|
13
|
+
*/
|
|
14
|
+
configFilepath?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Configuration files are normally cached after the first time they are loaded. When this
|
|
17
|
+
* property is set, the provider will always reload any configuration files loaded before.
|
|
18
|
+
*/
|
|
19
|
+
ignoreCache?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* For credential resolution trace logging.
|
|
22
|
+
*/
|
|
23
|
+
logger?: Logger;
|
|
24
|
+
}
|
|
25
|
+
export declare const CONFIG_PREFIX_SEPARATOR = ".";
|
|
26
|
+
export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
export interface SsoSessionInit {
|
|
3
|
+
/**
|
|
4
|
+
* The path at which to locate the ini config file. Defaults to the value of
|
|
5
|
+
* the `AWS_CONFIG_FILE` environment variable (if defined) or
|
|
6
|
+
* `~/.aws/config` otherwise.
|
|
7
|
+
*/
|
|
8
|
+
configFilepath?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const loadSsoSessionData: (init?: SsoSessionInit) => Promise<ParsedIniData>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
import { SharedConfigInit } from "./loadSharedConfigFiles";
|
|
3
|
+
export interface SourceProfileInit extends SharedConfigInit {
|
|
4
|
+
/**
|
|
5
|
+
* The configuration profile to use.
|
|
6
|
+
*/
|
|
7
|
+
profile?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Load profiles from credentials and config INI files and normalize them into a
|
|
11
|
+
* single profile list.
|
|
12
|
+
*
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export declare const parseKnownFiles: (init: SourceProfileInit) => Promise<ParsedIniData>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the config data from parsed ini data.
|
|
4
|
+
* * Returns data for `default`
|
|
5
|
+
* * Returns profile name without prefix.
|
|
6
|
+
* * Returns non-profiles as is.
|
|
7
|
+
*/
|
|
8
|
+
export declare const getConfigData: (data: ParsedIniData) => ParsedIniData;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cached SSO token retrieved from SSO login flow.
|
|
3
|
+
*/
|
|
4
|
+
export interface SSOToken {
|
|
5
|
+
/**
|
|
6
|
+
* A base64 encoded string returned by the sso-oidc service.
|
|
7
|
+
*/
|
|
8
|
+
accessToken: string;
|
|
9
|
+
/**
|
|
10
|
+
* The expiration time of the accessToken as an RFC 3339 formatted timestamp.
|
|
11
|
+
*/
|
|
12
|
+
expiresAt: string;
|
|
13
|
+
/**
|
|
14
|
+
* The token used to obtain an access token in the event that the accessToken is invalid or expired.
|
|
15
|
+
*/
|
|
16
|
+
refreshToken?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The unique identifier string for each client. The client ID generated when performing the registration
|
|
19
|
+
* portion of the OIDC authorization flow. This is used to refresh the accessToken.
|
|
20
|
+
*/
|
|
21
|
+
clientId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* A secret string generated when performing the registration portion of the OIDC authorization flow.
|
|
24
|
+
* This is used to refresh the accessToken.
|
|
25
|
+
*/
|
|
26
|
+
clientSecret?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The expiration time of the client registration (clientId and clientSecret) as an RFC 3339 formatted timestamp.
|
|
29
|
+
*/
|
|
30
|
+
registrationExpiresAt?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The configured sso_region for the profile that credentials are being resolved for.
|
|
33
|
+
*/
|
|
34
|
+
region?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The configured sso_start_url for the profile that credentials are being resolved for.
|
|
37
|
+
*/
|
|
38
|
+
startUrl?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @param id - can be either a start URL or the SSO session name.
|
|
42
|
+
* Returns the SSO token from the file system.
|
|
43
|
+
*/
|
|
44
|
+
export declare const getSSOTokenFromFile: (id: string) => Promise<SSOToken>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the sso-session data from parsed ini data by reading
|
|
4
|
+
* ssoSessionName after sso-session prefix including/excluding quotes
|
|
5
|
+
*/
|
|
6
|
+
export declare const getSsoSessionData: (data: ParsedIniData) => ParsedIniData;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./getHomeDir";
|
|
2
|
+
export * from "./getProfileName";
|
|
3
|
+
export * from "./getSSOTokenFilepath";
|
|
4
|
+
export * from "./getSSOTokenFromFile";
|
|
5
|
+
export * from "./loadSharedConfigFiles";
|
|
6
|
+
export * from "./loadSsoSessionData";
|
|
7
|
+
export * from "./parseKnownFiles";
|
|
8
|
+
export * from "./types";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Logger, SharedConfigFiles } from "@smithy/types";
|
|
2
|
+
export interface SharedConfigInit {
|
|
3
|
+
/**
|
|
4
|
+
* The path at which to locate the ini credentials file. Defaults to the
|
|
5
|
+
* value of the `AWS_SHARED_CREDENTIALS_FILE` environment variable (if
|
|
6
|
+
* defined) or `~/.aws/credentials` otherwise.
|
|
7
|
+
*/
|
|
8
|
+
filepath?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The path at which to locate the ini config file. Defaults to the value of
|
|
11
|
+
* the `AWS_CONFIG_FILE` environment variable (if defined) or
|
|
12
|
+
* `~/.aws/config` otherwise.
|
|
13
|
+
*/
|
|
14
|
+
configFilepath?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Configuration files are normally cached after the first time they are loaded. When this
|
|
17
|
+
* property is set, the provider will always reload any configuration files loaded before.
|
|
18
|
+
*/
|
|
19
|
+
ignoreCache?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* For credential resolution trace logging.
|
|
22
|
+
*/
|
|
23
|
+
logger?: Logger;
|
|
24
|
+
}
|
|
25
|
+
export declare const CONFIG_PREFIX_SEPARATOR = ".";
|
|
26
|
+
export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
export interface SsoSessionInit {
|
|
3
|
+
/**
|
|
4
|
+
* The path at which to locate the ini config file. Defaults to the value of
|
|
5
|
+
* the `AWS_CONFIG_FILE` environment variable (if defined) or
|
|
6
|
+
* `~/.aws/config` otherwise.
|
|
7
|
+
*/
|
|
8
|
+
configFilepath?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const loadSsoSessionData: (init?: SsoSessionInit) => Promise<ParsedIniData>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ParsedIniData } from "@smithy/types";
|
|
2
|
+
import { SharedConfigInit } from "./loadSharedConfigFiles";
|
|
3
|
+
export interface SourceProfileInit extends SharedConfigInit {
|
|
4
|
+
/**
|
|
5
|
+
* The configuration profile to use.
|
|
6
|
+
*/
|
|
7
|
+
profile?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Load profiles from credentials and config INI files and normalize them into a
|
|
11
|
+
* single profile list.
|
|
12
|
+
*
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export declare const parseKnownFiles: (init: SourceProfileInit) => Promise<ParsedIniData>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use Profile from "@smithy/types" instead
|
|
4
|
+
*/
|
|
5
|
+
export type Profile = __Profile;
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use ParsedIniData from "@smithy/types" instead
|
|
8
|
+
*/
|
|
9
|
+
export type ParsedIniData = __ParsedIniData;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use SharedConfigFiles from "@smithy/types" instead
|
|
12
|
+
*/
|
|
13
|
+
export type SharedConfigFiles = __SharedConfigFiles;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use Profile from "@smithy/types" instead
|
|
4
|
+
*/
|
|
5
|
+
export type Profile = __Profile;
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use ParsedIniData from "@smithy/types" instead
|
|
8
|
+
*/
|
|
9
|
+
export type ParsedIniData = __ParsedIniData;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use SharedConfigFiles from "@smithy/types" instead
|
|
12
|
+
*/
|
|
13
|
+
export type SharedConfigFiles = __SharedConfigFiles;
|