@mavogel/awscdk-rootmail 0.0.332 → 0.0.333
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 +3 -3
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/schemas/schemas_0.js +6 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/schemas/schemas_0.js +6 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeQueriesCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetTransformerCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutTransformerCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TestTransformerCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +34 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +6 -6
- package/node_modules/@aws-sdk/client-route-53/package.json +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +39 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +39 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +39 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +39 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/package.json +7 -7
- package/node_modules/@aws-sdk/client-ses/package.json +6 -6
- package/node_modules/@aws-sdk/client-ssm/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-login/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- 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/core/dist-cjs/getSmithyContext.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +21 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +21 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +46 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +24 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +19 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +27 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +10 -0
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +44 -0
- package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +14 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +17 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +38 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +15 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +9 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +61 -0
- package/node_modules/@smithy/core/package.json +15 -16
- package/node_modules/@smithy/fetch-http-handler/package.json +12 -13
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +2 -2
- 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 +15 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -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 +11 -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 +10 -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/readFile.js +12 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +4 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -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 +52 -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 +10 -0
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +33 -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/readFile.d.ts +21 -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 +13 -14
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +70 -29
- package/node_modules/@smithy/middleware-retry/dist-es/index.js +5 -4
- package/node_modules/@smithy/middleware-retry/dist-es/longPollMiddleware.js +15 -0
- package/node_modules/@smithy/middleware-retry/dist-es/parseRetryAfterHeader.js +49 -0
- package/node_modules/@smithy/middleware-retry/dist-es/{StandardRetryStrategy.js → retry-pre-sra-deprecated/StandardRetryStrategy.js} +1 -1
- package/node_modules/@smithy/middleware-retry/dist-es/retry-pre-sra-deprecated/types.js +1 -0
- package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +13 -20
- package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +3 -1
- package/node_modules/@smithy/middleware-retry/dist-types/index.d.ts +5 -4
- package/node_modules/@smithy/middleware-retry/dist-types/longPollMiddleware.d.ts +15 -0
- package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +2 -0
- package/node_modules/@smithy/middleware-retry/dist-types/parseRetryAfterHeader.d.ts +10 -0
- package/node_modules/@smithy/middleware-retry/dist-types/{AdaptiveRetryStrategy.d.ts → retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts} +2 -1
- package/node_modules/@smithy/middleware-retry/dist-types/{defaultRetryQuota.d.ts → retry-pre-sra-deprecated/defaultRetryQuota.d.ts} +2 -0
- package/node_modules/@smithy/middleware-retry/dist-types/{delayDecider.d.ts → retry-pre-sra-deprecated/delayDecider.d.ts} +2 -1
- package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +0 -4
- package/node_modules/@smithy/middleware-retry/package.json +16 -16
- package/node_modules/@smithy/middleware-serde/package.json +10 -11
- package/node_modules/@smithy/middleware-stack/README.md +13 -0
- package/node_modules/@smithy/middleware-stack/package.json +7 -8
- package/node_modules/@smithy/node-config-provider/README.md +10 -3
- 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 +17 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -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 +23 -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 +31 -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 +31 -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/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/getHomeDir.js +26 -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 +15 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +1 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -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 +11 -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 +10 -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/readFile.js +12 -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/constants.d.ts +4 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -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 +52 -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 +10 -0
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +33 -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/readFile.d.ts +21 -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 +8 -9
- package/node_modules/@smithy/node-http-handler/package.json +10 -11
- package/node_modules/@smithy/protocol-http/README.md +13 -0
- package/node_modules/@smithy/protocol-http/package.json +6 -7
- package/node_modules/@smithy/querystring-builder/README.md +10 -3
- package/node_modules/@smithy/querystring-builder/package.json +6 -7
- package/node_modules/@smithy/querystring-parser/README.md +10 -3
- package/node_modules/@smithy/querystring-parser/package.json +6 -7
- package/node_modules/@smithy/service-error-classification/README.md +13 -0
- package/node_modules/@smithy/service-error-classification/package.json +6 -7
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/smithy-client/package.json +14 -15
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/retry.d.ts +4 -0
- package/node_modules/@smithy/types/package.json +7 -8
- package/node_modules/@smithy/url-parser/README.md +10 -3
- package/node_modules/@smithy/url-parser/package.json +7 -8
- package/node_modules/@smithy/util-middleware/README.md +9 -4
- package/node_modules/@smithy/util-middleware/package.json +6 -7
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +129 -80
- package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +7 -4
- package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +2 -2
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +30 -29
- package/node_modules/@smithy/util-retry/dist-es/DefaultRetryBackoffStrategy.js +14 -0
- package/node_modules/@smithy/util-retry/dist-es/DefaultRetryToken.js +25 -0
- package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +39 -26
- package/node_modules/@smithy/util-retry/dist-es/index.js +1 -0
- package/node_modules/@smithy/util-retry/dist-es/retries-2026-config.js +18 -0
- package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +8 -8
- package/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts +2 -2
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +78 -8
- package/node_modules/@smithy/util-retry/dist-types/DefaultRetryBackoffStrategy.d.ts +12 -0
- package/node_modules/@smithy/util-retry/dist-types/DefaultRetryToken.d.ts +15 -0
- package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +21 -4
- package/node_modules/@smithy/util-retry/dist-types/config.d.ts +4 -4
- package/node_modules/@smithy/util-retry/dist-types/constants.d.ts +15 -14
- package/node_modules/@smithy/util-retry/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/util-retry/dist-types/retries-2026-config.d.ts +11 -0
- package/node_modules/@smithy/util-retry/dist-types/types.d.ts +1 -1
- package/node_modules/@smithy/util-retry/package.json +10 -11
- package/node_modules/@smithy/util-stream/package.json +12 -13
- package/package.json +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/pagination/createPaginator.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/request-builder/requestBuilder.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +0 -28
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +0 -17
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +0 -65
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +0 -26
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +0 -60
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +0 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +0 -31
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +0 -89
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +0 -51
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +0 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +0 -21
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +0 -71
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +0 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +0 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +0 -37
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +0 -24
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +0 -146
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +0 -16
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +0 -28
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +0 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +0 -23
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts +0 -73
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +0 -10
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts +0 -45
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +0 -270
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +0 -47
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts +0 -11
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +0 -33
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +0 -8
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts +0 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts +0 -30
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +0 -6
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +0 -42
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +0 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +0 -14
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.browser.d.ts +0 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts +0 -4
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromInstructions.d.ts +0 -28
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointUrlConfig.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/index.d.ts +0 -8
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/endpointMiddleware.d.ts +0 -10
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/getEndpointPlugin.d.ts +0 -11
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +0 -18
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +0 -109
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +0 -32
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/index.d.ts +0 -4
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/s3.d.ts +0 -26
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/types.d.ts +0 -41
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -23
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -33
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +0 -66
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts +0 -24
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts +0 -5
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts +0 -7
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts +0 -5
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts +0 -5
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts +0 -13
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +0 -6
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts +0 -18
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts +0 -65
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts +0 -2
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +0 -6
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +0 -24
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +0 -6
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +0 -5
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/types.d.ts +0 -22
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +0 -31
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +0 -20
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +0 -22
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +0 -9
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +0 -9
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -46
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -24
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -63
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -13
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -5
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -6
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -13
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -8
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -50
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -44
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -33
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -35
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -56
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -29
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -21
- package/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +0 -30
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +0 -24
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts +0 -11
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +0 -87
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +0 -119
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts +0 -4
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +0 -18
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts +0 -15
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts +0 -28
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts +0 -8
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts +0 -42
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -26
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -38
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +0 -18
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts +0 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts +0 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +0 -21
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts +0 -178
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +0 -5
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +0 -9
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +0 -15
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +0 -12
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +0 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +0 -50
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -49
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -20
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +0 -57
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +0 -6
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -40
- package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +0 -63
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +0 -57
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +0 -28
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +0 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +0 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +0 -34
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +0 -32
- package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +0 -60
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +0 -31
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +0 -77
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -27
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -28
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -16
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +0 -5
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +0 -55
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +0 -137
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +0 -58
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -33
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -9
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +0 -4
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +0 -18
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -35
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +0 -16
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -128
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +0 -113
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -31
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +0 -15
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +0 -4
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +0 -43
- package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +0 -13
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +0 -534
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +0 -33
- package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +0 -30
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +0 -40
- package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +0 -133
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +0 -149
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +0 -251
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +0 -65
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +0 -118
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +0 -46
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +0 -114
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +0 -82
- package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +0 -155
- package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +0 -22
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -32
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -60
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -51
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -26
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -81
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +0 -14
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +0 -6
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +0 -88
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +0 -41
- package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +0 -17
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +0 -192
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +0 -35
- package/node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
- package/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js +0 -14
- package/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js +0 -11
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +0 -5
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +0 -9
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -33
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts +0 -32
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +0 -49
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -26
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts +0 -20
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts +0 -59
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts +0 -5
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +0 -9
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts +0 -7
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts +0 -19
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +0 -13
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +0 -22
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +0 -37
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +0 -61
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +0 -14
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +0 -13
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +0 -15
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +0 -54
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.browser.d.ts +0 -5
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +0 -10
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +0 -7
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +0 -9
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +0 -12
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.browser.d.ts +0 -7
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +0 -8
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts +0 -8
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +0 -17
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +0 -17
- /package/node_modules/@smithy/{middleware-retry → middleware-endpoint/node_modules/@smithy/shared-ini-file-loader}/dist-es/types.js +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{AdaptiveRetryStrategy.js → retry-pre-sra-deprecated/AdaptiveRetryStrategy.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{defaultRetryQuota.js → retry-pre-sra-deprecated/defaultRetryQuota.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{delayDecider.js → retry-pre-sra-deprecated/delayDecider.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{retryDecider.js → retry-pre-sra-deprecated/retryDecider.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-types/{StandardRetryStrategy.d.ts → retry-pre-sra-deprecated/StandardRetryStrategy.d.ts} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-types/{retryDecider.d.ts → retry-pre-sra-deprecated/retryDecider.d.ts} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-types/{types.d.ts → retry-pre-sra-deprecated/types.d.ts} +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { readFile } from "fs/promises";
|
|
2
|
+
import { getSSOTokenFilepath } from "./getSSOTokenFilepath";
|
|
3
|
+
export const tokenIntercept = {};
|
|
4
|
+
export const getSSOTokenFromFile = async (id) => {
|
|
5
|
+
if (tokenIntercept[id]) {
|
|
6
|
+
return tokenIntercept[id];
|
|
7
|
+
}
|
|
8
|
+
const ssoTokenFilepath = getSSOTokenFilepath(id);
|
|
9
|
+
const ssoTokenText = await readFile(ssoTokenFilepath, "utf8");
|
|
10
|
+
return JSON.parse(ssoTokenText);
|
|
11
|
+
};
|
|
@@ -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,10 @@
|
|
|
1
|
+
export * from "./getHomeDir";
|
|
2
|
+
export * from "./getProfileName";
|
|
3
|
+
export * from "./getSSOTokenFilepath";
|
|
4
|
+
export { getSSOTokenFromFile } from "./getSSOTokenFromFile";
|
|
5
|
+
export * from "./loadSharedConfigFiles";
|
|
6
|
+
export * from "./loadSsoSessionData";
|
|
7
|
+
export * from "./parseKnownFiles";
|
|
8
|
+
export { externalDataInterceptor } from "./externalDataInterceptor";
|
|
9
|
+
export * from "./types";
|
|
10
|
+
export { readFile } from "./readFile";
|
|
@@ -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 { readFile } from "./readFile";
|
|
8
|
+
const swallowError = () => ({});
|
|
9
|
+
export { CONFIG_PREFIX_SEPARATOR } from "./constants";
|
|
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
|
+
readFile(resolvedConfigFilepath, {
|
|
24
|
+
ignoreCache: init.ignoreCache,
|
|
25
|
+
})
|
|
26
|
+
.then(parseIni)
|
|
27
|
+
.then(getConfigData)
|
|
28
|
+
.catch(swallowError),
|
|
29
|
+
readFile(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 { readFile } from "./readFile";
|
|
5
|
+
const swallowError = () => ({});
|
|
6
|
+
export const loadSsoSessionData = async (init = {}) => readFile(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 "./constants";
|
|
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,12 @@
|
|
|
1
|
+
import { readFile as fsReadFile } from "node:fs/promises";
|
|
2
|
+
export const filePromises = {};
|
|
3
|
+
export const fileIntercept = {};
|
|
4
|
+
export const readFile = (path, options) => {
|
|
5
|
+
if (fileIntercept[path] !== undefined) {
|
|
6
|
+
return fileIntercept[path];
|
|
7
|
+
}
|
|
8
|
+
if (!filePromises[path] || options?.ignoreCache) {
|
|
9
|
+
filePromises[path] = fsReadFile(path, "utf8");
|
|
10
|
+
}
|
|
11
|
+
return filePromises[path];
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export declare const externalDataInterceptor: {
|
|
5
|
+
getFileRecord(): Record<string, Promise<string>>;
|
|
6
|
+
interceptFile(path: string, contents: string): void;
|
|
7
|
+
getTokenRecord(): Record<string, any>;
|
|
8
|
+
interceptToken(id: string, contents: any): void;
|
|
9
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { 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,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export declare const ENV_PROFILE = "AWS_PROFILE";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare const DEFAULT_PROFILE = "default";
|
|
9
|
+
/**
|
|
10
|
+
* Returns profile with priority order code - ENV - default.
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export declare const getProfileName: (init: {
|
|
14
|
+
profile?: string;
|
|
15
|
+
}) => string;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cached SSO token retrieved from SSO login flow.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface SSOToken {
|
|
6
|
+
/**
|
|
7
|
+
* A base64 encoded string returned by the sso-oidc service.
|
|
8
|
+
*/
|
|
9
|
+
accessToken: string;
|
|
10
|
+
/**
|
|
11
|
+
* The expiration time of the accessToken as an RFC 3339 formatted timestamp.
|
|
12
|
+
*/
|
|
13
|
+
expiresAt: string;
|
|
14
|
+
/**
|
|
15
|
+
* The token used to obtain an access token in the event that the accessToken is invalid or expired.
|
|
16
|
+
*/
|
|
17
|
+
refreshToken?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The unique identifier string for each client. The client ID generated when performing the registration
|
|
20
|
+
* portion of the OIDC authorization flow. This is used to refresh the accessToken.
|
|
21
|
+
*/
|
|
22
|
+
clientId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* A secret string generated when performing the registration portion of the OIDC authorization flow.
|
|
25
|
+
* This is used to refresh the accessToken.
|
|
26
|
+
*/
|
|
27
|
+
clientSecret?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The expiration time of the client registration (clientId and clientSecret) as an RFC 3339 formatted timestamp.
|
|
30
|
+
*/
|
|
31
|
+
registrationExpiresAt?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The configured sso_region for the profile that credentials are being resolved for.
|
|
34
|
+
*/
|
|
35
|
+
region?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The configured sso_start_url for the profile that credentials are being resolved for.
|
|
38
|
+
*/
|
|
39
|
+
startUrl?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* For testing only.
|
|
43
|
+
* @internal
|
|
44
|
+
* @deprecated minimize use in application code.
|
|
45
|
+
*/
|
|
46
|
+
export declare const tokenIntercept: Record<string, any>;
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
* @param id - can be either a start URL or the SSO session name.
|
|
50
|
+
* Returns the SSO token from the file system.
|
|
51
|
+
*/
|
|
52
|
+
export declare const getSSOTokenFromFile: (id: string) => Promise<any>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { 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,10 @@
|
|
|
1
|
+
export * from "./getHomeDir";
|
|
2
|
+
export * from "./getProfileName";
|
|
3
|
+
export * from "./getSSOTokenFilepath";
|
|
4
|
+
export { getSSOTokenFromFile, SSOToken } from "./getSSOTokenFromFile";
|
|
5
|
+
export * from "./loadSharedConfigFiles";
|
|
6
|
+
export * from "./loadSsoSessionData";
|
|
7
|
+
export * from "./parseKnownFiles";
|
|
8
|
+
export { externalDataInterceptor } from "./externalDataInterceptor";
|
|
9
|
+
export * from "./types";
|
|
10
|
+
export { type ReadFileOptions, readFile } from "./readFile";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { Logger, SharedConfigFiles } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface SharedConfigInit {
|
|
6
|
+
/**
|
|
7
|
+
* The path at which to locate the ini credentials file. Defaults to the
|
|
8
|
+
* value of the `AWS_SHARED_CREDENTIALS_FILE` environment variable (if
|
|
9
|
+
* defined) or `~/.aws/credentials` otherwise.
|
|
10
|
+
*/
|
|
11
|
+
filepath?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The path at which to locate the ini config file. Defaults to the value of
|
|
14
|
+
* the `AWS_CONFIG_FILE` environment variable (if defined) or
|
|
15
|
+
* `~/.aws/config` otherwise.
|
|
16
|
+
*/
|
|
17
|
+
configFilepath?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Configuration files are normally cached after the first time they are loaded. When this
|
|
20
|
+
* property is set, the provider will always reload any configuration files loaded before.
|
|
21
|
+
*/
|
|
22
|
+
ignoreCache?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* For credential resolution trace logging.
|
|
25
|
+
*/
|
|
26
|
+
logger?: Logger;
|
|
27
|
+
}
|
|
28
|
+
export { CONFIG_PREFIX_SEPARATOR } from "./constants";
|
|
29
|
+
/**
|
|
30
|
+
* Loads the config and credentials files.
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ParsedIniData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Subset of {@link SharedConfigInit}.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface SsoSessionInit {
|
|
7
|
+
/**
|
|
8
|
+
* The path at which to locate the ini config file. Defaults to the value of
|
|
9
|
+
* the `AWS_CONFIG_FILE` environment variable (if defined) or
|
|
10
|
+
* `~/.aws/config` otherwise.
|
|
11
|
+
*/
|
|
12
|
+
configFilepath?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const loadSsoSessionData: (init?: SsoSessionInit) => Promise<ParsedIniData>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ParsedIniData } from "@smithy/types";
|
|
2
|
+
import type { SharedConfigInit } from "./loadSharedConfigFiles";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface SourceProfileInit extends SharedConfigInit {
|
|
7
|
+
/**
|
|
8
|
+
* The configuration profile to use.
|
|
9
|
+
*/
|
|
10
|
+
profile?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Load profiles from credentials and config INI files and normalize them into a
|
|
14
|
+
* single profile list.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const parseKnownFiles: (init: SourceProfileInit) => Promise<ParsedIniData>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runtime file cache.
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const filePromises: Record<string, Promise<string>>;
|
|
6
|
+
/**
|
|
7
|
+
* For testing only.
|
|
8
|
+
* @internal
|
|
9
|
+
* @deprecated minimize use in application code.
|
|
10
|
+
*/
|
|
11
|
+
export declare const fileIntercept: Record<string, Promise<string>>;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export interface ReadFileOptions {
|
|
16
|
+
ignoreCache?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
export declare const readFile: (path: string, options?: ReadFileOptions) => Promise<string>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* @deprecated Use Profile from "\@smithy/types" instead
|
|
5
|
+
*/
|
|
6
|
+
export type Profile = __Profile;
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
* @deprecated Use ParsedIniData from "\@smithy/types" instead
|
|
10
|
+
*/
|
|
11
|
+
export type ParsedIniData = __ParsedIniData;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
* @deprecated Use SharedConfigFiles from "\@smithy/types" instead
|
|
15
|
+
*/
|
|
16
|
+
export type SharedConfigFiles = __SharedConfigFiles;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@smithy/shared-ini-file-loader",
|
|
3
|
+
"version": "4.4.8",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@smithy/types": "^4.14.0",
|
|
6
|
+
"tslib": "^2.6.2"
|
|
7
|
+
},
|
|
8
|
+
"devDependencies": {
|
|
9
|
+
"@types/node": "^18.11.9",
|
|
10
|
+
"concurrently": "7.0.0",
|
|
11
|
+
"downlevel-dts": "0.10.1",
|
|
12
|
+
"premove": "4.0.0",
|
|
13
|
+
"typedoc": "0.23.23"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
17
|
+
"build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline shared-ini-file-loader",
|
|
18
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
19
|
+
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
20
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
21
|
+
"extract:docs": "api-extractor run --local",
|
|
22
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
23
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
24
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
25
|
+
"test": "yarn g:vitest run",
|
|
26
|
+
"test:watch": "yarn g:vitest watch"
|
|
27
|
+
},
|
|
28
|
+
"author": {
|
|
29
|
+
"name": "AWS SDK for JavaScript Team",
|
|
30
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
31
|
+
},
|
|
32
|
+
"license": "Apache-2.0",
|
|
33
|
+
"sideEffects": false,
|
|
34
|
+
"main": "./dist-cjs/index.js",
|
|
35
|
+
"module": "./dist-es/index.js",
|
|
36
|
+
"types": "./dist-types/index.d.ts",
|
|
37
|
+
"browser": {
|
|
38
|
+
"./dist-es/getSSOTokenFromFile": false,
|
|
39
|
+
"./dist-es/readFile": false
|
|
40
|
+
},
|
|
41
|
+
"react-native": {
|
|
42
|
+
"./dist-cjs/getSSOTokenFromFile": false,
|
|
43
|
+
"./dist-cjs/readFile": false,
|
|
44
|
+
"./dist-es/getSSOTokenFromFile": false,
|
|
45
|
+
"./dist-es/readFile": false
|
|
46
|
+
},
|
|
47
|
+
"engines": {
|
|
48
|
+
"node": ">=18.0.0"
|
|
49
|
+
},
|
|
50
|
+
"typesVersions": {
|
|
51
|
+
"<4.5": {
|
|
52
|
+
"dist-types/*": [
|
|
53
|
+
"dist-types/ts3.4/*"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"files": [
|
|
58
|
+
"dist-*/**"
|
|
59
|
+
],
|
|
60
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/shared-ini-file-loader",
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
64
|
+
"directory": "packages/shared-ini-file-loader"
|
|
65
|
+
},
|
|
66
|
+
"typedoc": {
|
|
67
|
+
"entryPoint": "src/index.ts"
|
|
68
|
+
},
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"directory": ".release/package"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-config-provider",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.13",
|
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
7
|
-
"build:cjs": "node ../../scripts/inline node-config-provider",
|
|
8
|
-
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
7
|
+
"build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline node-config-provider",
|
|
9
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
10
9
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
12
10
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
13
|
-
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
14
11
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
12
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
15
14
|
"test": "yarn g:vitest run",
|
|
16
15
|
"test:watch": "yarn g:vitest watch"
|
|
17
16
|
},
|
|
@@ -26,9 +25,9 @@
|
|
|
26
25
|
"module": "./dist-es/index.js",
|
|
27
26
|
"types": "./dist-types/index.d.ts",
|
|
28
27
|
"dependencies": {
|
|
29
|
-
"@smithy/property-provider": "^4.2.
|
|
30
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
31
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@smithy/property-provider": "^4.2.13",
|
|
29
|
+
"@smithy/shared-ini-file-loader": "^4.4.8",
|
|
30
|
+
"@smithy/types": "^4.14.0",
|
|
32
31
|
"tslib": "^2.6.2"
|
|
33
32
|
},
|
|
34
33
|
"devDependencies": {
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.2",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
7
|
-
"build:cjs": "node ../../scripts/inline node-http-handler",
|
|
8
|
-
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
7
|
+
"build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline node-http-handler",
|
|
9
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
10
9
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
12
10
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
13
|
-
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
14
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
15
11
|
"extract:docs": "api-extractor run --local",
|
|
12
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
13
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
14
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
16
15
|
"test": "yarn g:vitest run",
|
|
17
16
|
"test:watch": "yarn g:vitest watch"
|
|
18
17
|
},
|
|
@@ -27,13 +26,13 @@
|
|
|
27
26
|
"module": "./dist-es/index.js",
|
|
28
27
|
"types": "./dist-types/index.d.ts",
|
|
29
28
|
"dependencies": {
|
|
30
|
-
"@smithy/protocol-http": "^5.3.
|
|
31
|
-
"@smithy/querystring-builder": "^4.2.
|
|
32
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@smithy/protocol-http": "^5.3.13",
|
|
30
|
+
"@smithy/querystring-builder": "^4.2.13",
|
|
31
|
+
"@smithy/types": "^4.14.0",
|
|
33
32
|
"tslib": "^2.6.2"
|
|
34
33
|
},
|
|
35
34
|
"devDependencies": {
|
|
36
|
-
"@smithy/abort-controller": "^4.2.
|
|
35
|
+
"@smithy/abort-controller": "^4.2.13",
|
|
37
36
|
"@types/node": "^18.11.9",
|
|
38
37
|
"concurrently": "7.0.0",
|
|
39
38
|
"downlevel-dts": "0.10.1",
|
|
@@ -2,3 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@smithy/protocol-http)
|
|
4
4
|
[](https://www.npmjs.com/package/@smithy/protocol-http)
|
|
5
|
+
|
|
6
|
+
### :warning: Internal API :warning:
|
|
7
|
+
|
|
8
|
+
> This is an internal package.
|
|
9
|
+
> That means this is used as a dependency for other, public packages, but
|
|
10
|
+
> should not be taken directly as a dependency in your application's `package.json`.
|
|
11
|
+
|
|
12
|
+
> If you are updating the version of this package, for example to bring in a
|
|
13
|
+
> bug-fix, you should do so by updating your application lockfile with
|
|
14
|
+
> e.g. `npm up @scope/package` or equivalent command in another
|
|
15
|
+
> package manager, rather than taking a direct dependency.
|
|
16
|
+
|
|
17
|
+
---
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/protocol-http",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.13",
|
|
4
4
|
"scripts": {
|
|
5
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
-
"build:cjs": "node ../../scripts/inline protocol-http",
|
|
7
|
-
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
5
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
6
|
+
"build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline protocol-http",
|
|
8
7
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
9
8
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
10
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
9
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
12
|
-
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
10
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
11
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
12
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
14
13
|
"test": "yarn g:vitest run",
|
|
15
14
|
"test:watch": "yarn g:vitest watch"
|
|
16
15
|
},
|
|
@@ -25,7 +24,7 @@
|
|
|
25
24
|
"license": "Apache-2.0",
|
|
26
25
|
"sideEffects": false,
|
|
27
26
|
"dependencies": {
|
|
28
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@smithy/types": "^4.14.0",
|
|
29
28
|
"tslib": "^2.6.2"
|
|
30
29
|
},
|
|
31
30
|
"engines": {
|