@mavogel/awscdk-rootmail 0.0.306 → 0.0.307
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/.jsii +2 -2
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/README.md +8 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +37 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogs.js +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/ListLogGroupsCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/protocols/Aws_json1_1.js +19 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogs.d.ts +8 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeLogGroupsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListLogGroupsCommand.d.ts +99 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +112 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogs.d.ts +18 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/ListLogGroupsCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +12 -12
- package/node_modules/@aws-sdk/client-route-53/package.json +12 -12
- package/node_modules/@aws-sdk/client-s3/package.json +16 -16
- package/node_modules/@aws-sdk/client-ses/package.json +12 -12
- package/node_modules/@aws-sdk/client-ssm/package.json +12 -12
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +8 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +8 -5
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +5 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariantTag.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedHostname.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +5 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +3 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +625 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +3 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +6 -0
- package/node_modules/@smithy/core/package.json +7 -6
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +0 -3
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +12 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +46 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +46 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +8 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +5 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +72 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +4 -3
- package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +7 -1
- package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -2
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +7 -1
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +1 -2
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +201 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +10 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +30 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +30 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +30 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +30 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +60 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +12 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +9 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +46 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +46 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +8 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +5 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +72 -0
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -2
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -7
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -7
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -7
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +201 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +4 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +84 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +62 -0
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +3 -7
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +3 -7
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +32 -617
- package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -6
- package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -6
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -6
- package/node_modules/@smithy/smithy-client/package.json +8 -8
- package/node_modules/@smithy/types/dist-cjs/schema/schema.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/schema/traits.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/transform/mutable.js +1 -0
- package/node_modules/@smithy/types/dist-es/index.js +3 -0
- package/node_modules/@smithy/types/dist-es/schema/schema.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/sentinels.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/traits.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/mutable.js +1 -0
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +0 -3
- package/node_modules/@smithy/types/dist-types/command.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +0 -2
- package/node_modules/@smithy/types/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +263 -0
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -3
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -2
- package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -2
- package/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +278 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +201 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +10 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +30 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +30 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +30 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +30 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +60 -0
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +201 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +10 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +30 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +30 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +30 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +30 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
- package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +60 -0
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +1 -1
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +6 -6
- package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -2
- package/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +0 -3
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/cdk-nag/.jsii +2 -2
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/package.json +2 -2
- package/package.json +1 -1
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/date-utils.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/lazy-json.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/parse-utils.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/quote-header.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/split-every.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/split-header.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/date-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/lazy-json.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/parse-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/quote-header.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/split-every.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/split-header.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/date-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/lazy-json.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/parse-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/quote-header.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/split-every.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/split-header.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-cjs/date-utils.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js} +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-cjs/lazy-json.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js} +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-cjs/parse-utils.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js} +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-cjs/quote-header.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js} +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-cjs/split-every.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js} +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-cjs/split-header.js → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js} +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/HISTORY.md +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/LICENSE +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/README.md +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/db.json +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/index.js +0 -0
- /package/node_modules/{form-data/node_modules/mime-db → mime-db}/package.json +0 -0
- /package/node_modules/{form-data/node_modules/mime-types → mime-types}/HISTORY.md +0 -0
- /package/node_modules/{form-data/node_modules/mime-types → mime-types}/LICENSE +0 -0
- /package/node_modules/{form-data/node_modules/mime-types → mime-types}/README.md +0 -0
- /package/node_modules/{form-data/node_modules/mime-types → mime-types}/index.js +0 -0
- /package/node_modules/{form-data/node_modules/mime-types → mime-types}/package.json +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export const memoize = (provider, isExpired, requiresRefresh) => {
|
|
2
|
+
let resolved;
|
|
3
|
+
let pending;
|
|
4
|
+
let hasResult;
|
|
5
|
+
let isConstant = false;
|
|
6
|
+
const coalesceProvider = async () => {
|
|
7
|
+
if (!pending) {
|
|
8
|
+
pending = provider();
|
|
9
|
+
}
|
|
10
|
+
try {
|
|
11
|
+
resolved = await pending;
|
|
12
|
+
hasResult = true;
|
|
13
|
+
isConstant = false;
|
|
14
|
+
}
|
|
15
|
+
finally {
|
|
16
|
+
pending = undefined;
|
|
17
|
+
}
|
|
18
|
+
return resolved;
|
|
19
|
+
};
|
|
20
|
+
if (isExpired === undefined) {
|
|
21
|
+
return async (options) => {
|
|
22
|
+
if (!hasResult || options?.forceRefresh) {
|
|
23
|
+
resolved = await coalesceProvider();
|
|
24
|
+
}
|
|
25
|
+
return resolved;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
return async (options) => {
|
|
29
|
+
if (!hasResult || options?.forceRefresh) {
|
|
30
|
+
resolved = await coalesceProvider();
|
|
31
|
+
}
|
|
32
|
+
if (isConstant) {
|
|
33
|
+
return resolved;
|
|
34
|
+
}
|
|
35
|
+
if (requiresRefresh && !requiresRefresh(resolved)) {
|
|
36
|
+
isConstant = true;
|
|
37
|
+
return resolved;
|
|
38
|
+
}
|
|
39
|
+
if (isExpired(resolved)) {
|
|
40
|
+
await coalesceProvider();
|
|
41
|
+
return resolved;
|
|
42
|
+
}
|
|
43
|
+
return resolved;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ProviderError, ProviderErrorOptionsType } from "./ProviderError";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
5
|
+
* An error representing a failure of an individual credential provider.
|
|
6
|
+
*
|
|
7
|
+
* This error class has special meaning to the {@link chain} method. If a
|
|
8
|
+
* provider in the chain is rejected with an error, the chain will only proceed
|
|
9
|
+
* to the next provider if the value of the `tryNextLink` property on the error
|
|
10
|
+
* is truthy. This allows individual providers to halt the chain and also
|
|
11
|
+
* ensures the chain will stop if an entirely unexpected error is encountered.
|
|
12
|
+
*/
|
|
13
|
+
export declare class CredentialsProviderError extends ProviderError {
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* @override
|
|
17
|
+
* @deprecated constructor should be given a logger.
|
|
18
|
+
*/
|
|
19
|
+
constructor(message: string);
|
|
20
|
+
/**
|
|
21
|
+
* @override
|
|
22
|
+
* @deprecated constructor should be given a logger.
|
|
23
|
+
*/
|
|
24
|
+
constructor(message: string, tryNextLink: boolean | undefined);
|
|
25
|
+
/**
|
|
26
|
+
* @override
|
|
27
|
+
* This signature is preferred for logging capability.
|
|
28
|
+
*/
|
|
29
|
+
constructor(message: string, options: ProviderErrorOptionsType);
|
|
30
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Logger } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export type ProviderErrorOptionsType = {
|
|
6
|
+
tryNextLink?: boolean | undefined;
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* An error representing a failure of an individual provider.
|
|
13
|
+
*
|
|
14
|
+
* This error class has special meaning to the {@link chain} method. If a
|
|
15
|
+
* provider in the chain is rejected with an error, the chain will only proceed
|
|
16
|
+
* to the next provider if the value of the `tryNextLink` property on the error
|
|
17
|
+
* is truthy. This allows individual providers to halt the chain and also
|
|
18
|
+
* ensures the chain will stop if an entirely unexpected error is encountered.
|
|
19
|
+
*/
|
|
20
|
+
export declare class ProviderError extends Error {
|
|
21
|
+
name: string;
|
|
22
|
+
readonly tryNextLink: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated constructor should be given a logger.
|
|
25
|
+
*/
|
|
26
|
+
constructor(message: string);
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated constructor should be given a logger.
|
|
29
|
+
*/
|
|
30
|
+
constructor(message: string, tryNextLink: boolean | undefined);
|
|
31
|
+
/**
|
|
32
|
+
* This signature is preferred for logging capability.
|
|
33
|
+
*/
|
|
34
|
+
constructor(message: string, options: ProviderErrorOptionsType);
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated use new operator.
|
|
37
|
+
*/
|
|
38
|
+
static from(error: Error, options?: boolean | ProviderErrorOptionsType): ProviderError;
|
|
39
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ProviderError, ProviderErrorOptionsType } from "./ProviderError";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
5
|
+
* An error representing a failure of an individual token provider.
|
|
6
|
+
*
|
|
7
|
+
* This error class has special meaning to the {@link chain} method. If a
|
|
8
|
+
* provider in the chain is rejected with an error, the chain will only proceed
|
|
9
|
+
* to the next provider if the value of the `tryNextLink` property on the error
|
|
10
|
+
* is truthy. This allows individual providers to halt the chain and also
|
|
11
|
+
* ensures the chain will stop if an entirely unexpected error is encountered.
|
|
12
|
+
*/
|
|
13
|
+
export declare class TokenProviderError extends ProviderError {
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* @override
|
|
17
|
+
* @deprecated constructor should be given a logger.
|
|
18
|
+
*/
|
|
19
|
+
constructor(message: string);
|
|
20
|
+
/**
|
|
21
|
+
* @override
|
|
22
|
+
* @deprecated constructor should be given a logger.
|
|
23
|
+
*/
|
|
24
|
+
constructor(message: string, tryNextLink: boolean | undefined);
|
|
25
|
+
/**
|
|
26
|
+
* @override
|
|
27
|
+
* This signature is preferred for logging capability.
|
|
28
|
+
*/
|
|
29
|
+
constructor(message: string, options: ProviderErrorOptionsType);
|
|
30
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*
|
|
5
|
+
* Compose a single credential provider function from multiple credential
|
|
6
|
+
* providers. The first provider in the argument list will always be invoked;
|
|
7
|
+
* subsequent providers in the list will be invoked in the order in which the
|
|
8
|
+
* were received if the preceding provider did not successfully resolve.
|
|
9
|
+
*
|
|
10
|
+
* If no providers were received or no provider resolves successfully, the
|
|
11
|
+
* returned promise will be rejected.
|
|
12
|
+
*/
|
|
13
|
+
export declare const chain: <T>(...providers: Array<Provider<T>>) => Provider<T>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export * from "./CredentialsProviderError";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export * from "./ProviderError";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export * from "./TokenProviderError";
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export * from "./chain";
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export * from "./fromStatic";
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export * from "./memoize";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { MemoizedProvider, Provider } from "@smithy/types";
|
|
2
|
+
interface MemoizeOverload {
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* Decorates a provider function with either static memoization.
|
|
6
|
+
*
|
|
7
|
+
* To create a statically memoized provider, supply a provider as the only
|
|
8
|
+
* argument to this function. The provider will be invoked once, and all
|
|
9
|
+
* invocations of the provider returned by `memoize` will return the same
|
|
10
|
+
* promise object.
|
|
11
|
+
*
|
|
12
|
+
* @param provider The provider whose result should be cached indefinitely.
|
|
13
|
+
*/
|
|
14
|
+
<T>(provider: Provider<T>): MemoizedProvider<T>;
|
|
15
|
+
/**
|
|
16
|
+
* Decorates a provider function with refreshing memoization.
|
|
17
|
+
*
|
|
18
|
+
* @param provider The provider whose result should be cached.
|
|
19
|
+
* @param isExpired A function that will evaluate the resolved value and
|
|
20
|
+
* determine if it is expired. For example, when
|
|
21
|
+
* memoizing AWS credential providers, this function
|
|
22
|
+
* should return `true` when the credential's
|
|
23
|
+
* expiration is in the past (or very near future) and
|
|
24
|
+
* `false` otherwise.
|
|
25
|
+
* @param requiresRefresh A function that will evaluate the resolved value and
|
|
26
|
+
* determine if it represents static value or one that
|
|
27
|
+
* will eventually need to be refreshed. For example,
|
|
28
|
+
* AWS credentials that have no defined expiration will
|
|
29
|
+
* never need to be refreshed, so this function would
|
|
30
|
+
* return `true` if the credentials resolved by the
|
|
31
|
+
* underlying provider had an expiration and `false`
|
|
32
|
+
* otherwise.
|
|
33
|
+
*/
|
|
34
|
+
<T>(provider: Provider<T>, isExpired: (resolved: T) => boolean, requiresRefresh?: (resolved: T) => boolean): MemoizedProvider<T>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
export declare const memoize: MemoizeOverload;
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ProviderError, ProviderErrorOptionsType } from "./ProviderError";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
5
|
+
* An error representing a failure of an individual credential provider.
|
|
6
|
+
*
|
|
7
|
+
* This error class has special meaning to the {@link chain} method. If a
|
|
8
|
+
* provider in the chain is rejected with an error, the chain will only proceed
|
|
9
|
+
* to the next provider if the value of the `tryNextLink` property on the error
|
|
10
|
+
* is truthy. This allows individual providers to halt the chain and also
|
|
11
|
+
* ensures the chain will stop if an entirely unexpected error is encountered.
|
|
12
|
+
*/
|
|
13
|
+
export declare class CredentialsProviderError extends ProviderError {
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* @override
|
|
17
|
+
* @deprecated constructor should be given a logger.
|
|
18
|
+
*/
|
|
19
|
+
constructor(message: string);
|
|
20
|
+
/**
|
|
21
|
+
* @override
|
|
22
|
+
* @deprecated constructor should be given a logger.
|
|
23
|
+
*/
|
|
24
|
+
constructor(message: string, tryNextLink: boolean | undefined);
|
|
25
|
+
/**
|
|
26
|
+
* @override
|
|
27
|
+
* This signature is preferred for logging capability.
|
|
28
|
+
*/
|
|
29
|
+
constructor(message: string, options: ProviderErrorOptionsType);
|
|
30
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Logger } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export type ProviderErrorOptionsType = {
|
|
6
|
+
tryNextLink?: boolean | undefined;
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* An error representing a failure of an individual provider.
|
|
13
|
+
*
|
|
14
|
+
* This error class has special meaning to the {@link chain} method. If a
|
|
15
|
+
* provider in the chain is rejected with an error, the chain will only proceed
|
|
16
|
+
* to the next provider if the value of the `tryNextLink` property on the error
|
|
17
|
+
* is truthy. This allows individual providers to halt the chain and also
|
|
18
|
+
* ensures the chain will stop if an entirely unexpected error is encountered.
|
|
19
|
+
*/
|
|
20
|
+
export declare class ProviderError extends Error {
|
|
21
|
+
name: string;
|
|
22
|
+
readonly tryNextLink: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated constructor should be given a logger.
|
|
25
|
+
*/
|
|
26
|
+
constructor(message: string);
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated constructor should be given a logger.
|
|
29
|
+
*/
|
|
30
|
+
constructor(message: string, tryNextLink: boolean | undefined);
|
|
31
|
+
/**
|
|
32
|
+
* This signature is preferred for logging capability.
|
|
33
|
+
*/
|
|
34
|
+
constructor(message: string, options: ProviderErrorOptionsType);
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated use new operator.
|
|
37
|
+
*/
|
|
38
|
+
static from(error: Error, options?: boolean | ProviderErrorOptionsType): ProviderError;
|
|
39
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ProviderError, ProviderErrorOptionsType } from "./ProviderError";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
5
|
+
* An error representing a failure of an individual token provider.
|
|
6
|
+
*
|
|
7
|
+
* This error class has special meaning to the {@link chain} method. If a
|
|
8
|
+
* provider in the chain is rejected with an error, the chain will only proceed
|
|
9
|
+
* to the next provider if the value of the `tryNextLink` property on the error
|
|
10
|
+
* is truthy. This allows individual providers to halt the chain and also
|
|
11
|
+
* ensures the chain will stop if an entirely unexpected error is encountered.
|
|
12
|
+
*/
|
|
13
|
+
export declare class TokenProviderError extends ProviderError {
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* @override
|
|
17
|
+
* @deprecated constructor should be given a logger.
|
|
18
|
+
*/
|
|
19
|
+
constructor(message: string);
|
|
20
|
+
/**
|
|
21
|
+
* @override
|
|
22
|
+
* @deprecated constructor should be given a logger.
|
|
23
|
+
*/
|
|
24
|
+
constructor(message: string, tryNextLink: boolean | undefined);
|
|
25
|
+
/**
|
|
26
|
+
* @override
|
|
27
|
+
* This signature is preferred for logging capability.
|
|
28
|
+
*/
|
|
29
|
+
constructor(message: string, options: ProviderErrorOptionsType);
|
|
30
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*
|
|
5
|
+
* Compose a single credential provider function from multiple credential
|
|
6
|
+
* providers. The first provider in the argument list will always be invoked;
|
|
7
|
+
* subsequent providers in the list will be invoked in the order in which the
|
|
8
|
+
* were received if the preceding provider did not successfully resolve.
|
|
9
|
+
*
|
|
10
|
+
* If no providers were received or no provider resolves successfully, the
|
|
11
|
+
* returned promise will be rejected.
|
|
12
|
+
*/
|
|
13
|
+
export declare const chain: <T>(...providers: Array<Provider<T>>) => Provider<T>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export * from "./CredentialsProviderError";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export * from "./ProviderError";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export * from "./TokenProviderError";
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export * from "./chain";
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export * from "./fromStatic";
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export * from "./memoize";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { MemoizedProvider, Provider } from "@smithy/types";
|
|
2
|
+
interface MemoizeOverload {
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* Decorates a provider function with either static memoization.
|
|
6
|
+
*
|
|
7
|
+
* To create a statically memoized provider, supply a provider as the only
|
|
8
|
+
* argument to this function. The provider will be invoked once, and all
|
|
9
|
+
* invocations of the provider returned by `memoize` will return the same
|
|
10
|
+
* promise object.
|
|
11
|
+
*
|
|
12
|
+
* @param provider The provider whose result should be cached indefinitely.
|
|
13
|
+
*/
|
|
14
|
+
<T>(provider: Provider<T>): MemoizedProvider<T>;
|
|
15
|
+
/**
|
|
16
|
+
* Decorates a provider function with refreshing memoization.
|
|
17
|
+
*
|
|
18
|
+
* @param provider The provider whose result should be cached.
|
|
19
|
+
* @param isExpired A function that will evaluate the resolved value and
|
|
20
|
+
* determine if it is expired. For example, when
|
|
21
|
+
* memoizing AWS credential providers, this function
|
|
22
|
+
* should return `true` when the credential's
|
|
23
|
+
* expiration is in the past (or very near future) and
|
|
24
|
+
* `false` otherwise.
|
|
25
|
+
* @param requiresRefresh A function that will evaluate the resolved value and
|
|
26
|
+
* determine if it represents static value or one that
|
|
27
|
+
* will eventually need to be refreshed. For example,
|
|
28
|
+
* AWS credentials that have no defined expiration will
|
|
29
|
+
* never need to be refreshed, so this function would
|
|
30
|
+
* return `true` if the credentials resolved by the
|
|
31
|
+
* underlying provider had an expiration and `false`
|
|
32
|
+
* otherwise.
|
|
33
|
+
*/
|
|
34
|
+
<T>(provider: Provider<T>, isExpired: (resolved: T) => boolean, requiresRefresh?: (resolved: T) => boolean): MemoizedProvider<T>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
export declare const memoize: MemoizeOverload;
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@smithy/property-provider",
|
|
3
|
+
"version": "4.0.3",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
|
+
"build:cjs": "node ../../scripts/inline property-provider",
|
|
7
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
8
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
10
|
+
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:watch": "yarn g:vitest watch"
|
|
16
|
+
},
|
|
17
|
+
"main": "./dist-cjs/index.js",
|
|
18
|
+
"module": "./dist-es/index.js",
|
|
19
|
+
"types": "./dist-types/index.d.ts",
|
|
20
|
+
"author": {
|
|
21
|
+
"name": "AWS SDK for JavaScript Team",
|
|
22
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
23
|
+
},
|
|
24
|
+
"license": "Apache-2.0",
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@smithy/types": "^4.3.0",
|
|
27
|
+
"tslib": "^2.6.2"
|
|
28
|
+
},
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18.0.0"
|
|
31
|
+
},
|
|
32
|
+
"typesVersions": {
|
|
33
|
+
"<4.0": {
|
|
34
|
+
"dist-types/*": [
|
|
35
|
+
"dist-types/ts3.4/*"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist-*/**"
|
|
41
|
+
],
|
|
42
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/property-provider",
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
46
|
+
"directory": "packages/property-provider"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"concurrently": "7.0.0",
|
|
50
|
+
"downlevel-dts": "0.10.1",
|
|
51
|
+
"rimraf": "3.0.2",
|
|
52
|
+
"typedoc": "0.23.23"
|
|
53
|
+
},
|
|
54
|
+
"typedoc": {
|
|
55
|
+
"entryPoint": "src/index.ts"
|
|
56
|
+
},
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"directory": ".release/package"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.15",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@smithy/config-resolver": "^4.1.
|
|
27
|
-
"@smithy/credential-provider-imds": "^4.0.
|
|
28
|
-
"@smithy/node-config-provider": "^4.1.
|
|
29
|
-
"@smithy/property-provider": "^4.0.
|
|
30
|
-
"@smithy/smithy-client": "^4.
|
|
31
|
-
"@smithy/types": "^4.
|
|
26
|
+
"@smithy/config-resolver": "^4.1.3",
|
|
27
|
+
"@smithy/credential-provider-imds": "^4.0.5",
|
|
28
|
+
"@smithy/node-config-provider": "^4.1.2",
|
|
29
|
+
"@smithy/property-provider": "^4.0.3",
|
|
30
|
+
"@smithy/smithy-client": "^4.3.0",
|
|
31
|
+
"@smithy/types": "^4.3.0",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-middleware",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "Shared utilities for to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/types": "^4.
|
|
30
|
+
"@smithy/types": "^4.3.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-retry",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "Shared retry utilities to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@smithy/service-error-classification": "^4.0.
|
|
32
|
-
"@smithy/types": "^4.
|
|
31
|
+
"@smithy/service-error-classification": "^4.0.4",
|
|
32
|
+
"@smithy/types": "^4.3.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createChecksumStream =
|
|
3
|
+
exports.createChecksumStream = createChecksumStream;
|
|
4
4
|
const stream_type_check_1 = require("../stream-type-check");
|
|
5
5
|
const ChecksumStream_1 = require("./ChecksumStream");
|
|
6
6
|
const createChecksumStream_browser_1 = require("./createChecksumStream.browser");
|
|
@@ -10,4 +10,3 @@ function createChecksumStream(init) {
|
|
|
10
10
|
}
|
|
11
11
|
return new ChecksumStream_1.ChecksumStream(init);
|
|
12
12
|
}
|
|
13
|
-
exports.createChecksumStream = createChecksumStream;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createBufferedReadable =
|
|
3
|
+
exports.createBufferedReadable = createBufferedReadable;
|
|
4
4
|
const node_stream_1 = require("node:stream");
|
|
5
5
|
const ByteArrayCollector_1 = require("./ByteArrayCollector");
|
|
6
6
|
const createBufferedReadableStream_1 = require("./createBufferedReadableStream");
|
|
@@ -58,4 +58,3 @@ function createBufferedReadable(upstream, size, logger) {
|
|
|
58
58
|
});
|
|
59
59
|
return downstream;
|
|
60
60
|
}
|
|
61
|
-
exports.createBufferedReadable = createBufferedReadable;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.createBufferedReadable = void 0;
|
|
4
|
+
exports.createBufferedReadableStream = createBufferedReadableStream;
|
|
5
|
+
exports.merge = merge;
|
|
6
|
+
exports.flush = flush;
|
|
7
|
+
exports.sizeOf = sizeOf;
|
|
8
|
+
exports.modeOf = modeOf;
|
|
4
9
|
const ByteArrayCollector_1 = require("./ByteArrayCollector");
|
|
5
10
|
function createBufferedReadableStream(upstream, size, logger) {
|
|
6
11
|
const reader = upstream.getReader();
|
|
@@ -57,7 +62,6 @@ function createBufferedReadableStream(upstream, size, logger) {
|
|
|
57
62
|
pull,
|
|
58
63
|
});
|
|
59
64
|
}
|
|
60
|
-
exports.createBufferedReadableStream = createBufferedReadableStream;
|
|
61
65
|
exports.createBufferedReadable = createBufferedReadableStream;
|
|
62
66
|
function merge(buffers, mode, chunk) {
|
|
63
67
|
switch (mode) {
|
|
@@ -70,7 +74,6 @@ function merge(buffers, mode, chunk) {
|
|
|
70
74
|
return sizeOf(buffers[mode]);
|
|
71
75
|
}
|
|
72
76
|
}
|
|
73
|
-
exports.merge = merge;
|
|
74
77
|
function flush(buffers, mode) {
|
|
75
78
|
switch (mode) {
|
|
76
79
|
case 0:
|
|
@@ -83,12 +86,10 @@ function flush(buffers, mode) {
|
|
|
83
86
|
}
|
|
84
87
|
throw new Error(`@smithy/util-stream - invalid index ${mode} given to flush()`);
|
|
85
88
|
}
|
|
86
|
-
exports.flush = flush;
|
|
87
89
|
function sizeOf(chunk) {
|
|
88
90
|
var _a, _b;
|
|
89
91
|
return (_b = (_a = chunk === null || chunk === void 0 ? void 0 : chunk.byteLength) !== null && _a !== void 0 ? _a : chunk === null || chunk === void 0 ? void 0 : chunk.length) !== null && _b !== void 0 ? _b : 0;
|
|
90
92
|
}
|
|
91
|
-
exports.sizeOf = sizeOf;
|
|
92
93
|
function modeOf(chunk, allowBuffer = true) {
|
|
93
94
|
if (allowBuffer && typeof Buffer !== "undefined" && chunk instanceof Buffer) {
|
|
94
95
|
return 2;
|
|
@@ -101,4 +102,3 @@ function modeOf(chunk, allowBuffer = true) {
|
|
|
101
102
|
}
|
|
102
103
|
return -1;
|
|
103
104
|
}
|
|
104
|
-
exports.modeOf = modeOf;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.headStream =
|
|
3
|
+
exports.headStream = headStream;
|
|
4
4
|
async function headStream(stream, bytes) {
|
|
5
5
|
var _a;
|
|
6
6
|
let byteLengthCounter = 0;
|
|
@@ -33,4 +33,3 @@ async function headStream(stream, bytes) {
|
|
|
33
33
|
}
|
|
34
34
|
return collected;
|
|
35
35
|
}
|
|
36
|
-
exports.headStream = headStream;
|