@cdk8s/awscdk-resolver 0.0.54 → 0.0.55
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/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/client-cloudformation/package.json +13 -13
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +14 -13
- package/node_modules/@aws-sdk/client-sso/package.json +10 -10
- package/node_modules/@aws-sdk/client-sso-oidc/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +274 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDC.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDCClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenWithIAMCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/RegisterClientCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/StartDeviceAuthorizationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/credentialDefaultProvider.js +29 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/EndpointParameters.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +7 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +1115 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/SSOOIDCServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/index.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +39 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +49 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +24 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeExtensions.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +15 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +38 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +27 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/credentialDefaultProvider.js +3 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +14 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +217 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +553 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +34 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +44 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +20 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +75 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +210 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +161 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +243 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +107 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +110 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/credentialDefaultProvider.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +51 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +734 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +38 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +46 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +45 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +73 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +142 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +26 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +29 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +201 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +103 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/credentialDefaultProvider.js +29 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/defaultStsRoleAssumers.js +1 -78
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1412 -72
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js +1 -12
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/models_0.js +1 -149
- package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +1 -1084
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +3 -4
- package/node_modules/@aws-sdk/client-sts/dist-es/credentialDefaultProvider.js +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +3 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/credentialDefaultProvider.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +8 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +26 -14
- package/node_modules/@aws-sdk/client-sts/package.json +14 -12
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +5 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +69 -38
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/loadSts.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/loadSts.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +4 -6
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +8 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +9 -6
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +8 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/loadSts.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +1 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +8 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/loadSts.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +4 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -6
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +22 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +11 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts +17 -14
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +5 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +4 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +28 -7
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +7 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +4 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +6 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +5 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +7 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/loadSts.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +6 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/loadSts.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +4 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts +14 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/loadSts.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +7 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +12 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/loadSts.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -2
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/middleware-signing/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +4 -4
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +27 -24
- package/node_modules/@aws-sdk/token-providers/dist-cjs/loadSsoOidc.js +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/loadSsoOidc.js +2 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/loadSsoOidc.d.ts +2 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +7 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +7 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/loadSsoOidc.d.ts +2 -0
- package/node_modules/@aws-sdk/token-providers/package.json +6 -43
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -171
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +15 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +4 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +4 -24
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-browser.js +0 -1032
- package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +0 -1038
- package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-browser.js +0 -1010
- package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-node.js +0 -1017
- package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-browser.d.ts +0 -191
- package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-node.d.ts +0 -191
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-browser.d.ts +0 -235
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-node.d.ts +0 -235
@@ -3,6 +3,9 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
5
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
6
|
+
var __esm = (fn, res) => function __init() {
|
7
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
8
|
+
};
|
6
9
|
var __export = (target, all) => {
|
7
10
|
for (var name in all)
|
8
11
|
__defProp(target, name, { get: all[name], enumerable: true });
|
@@ -15,9 +18,21 @@ var __copyProps = (to, from, except, desc) => {
|
|
15
18
|
}
|
16
19
|
return to;
|
17
20
|
};
|
18
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
19
21
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
22
|
|
23
|
+
// src/loadSsoOidc.ts
|
24
|
+
var loadSsoOidc_exports = {};
|
25
|
+
__export(loadSsoOidc_exports, {
|
26
|
+
CreateTokenCommand: () => import_client_sso_oidc.CreateTokenCommand,
|
27
|
+
SSOOIDCClient: () => import_client_sso_oidc.SSOOIDCClient
|
28
|
+
});
|
29
|
+
var import_client_sso_oidc;
|
30
|
+
var init_loadSsoOidc = __esm({
|
31
|
+
"src/loadSsoOidc.ts"() {
|
32
|
+
import_client_sso_oidc = require("@aws-sdk/client-sso-oidc");
|
33
|
+
}
|
34
|
+
});
|
35
|
+
|
21
36
|
// src/index.ts
|
22
37
|
var src_exports = {};
|
23
38
|
__export(src_exports, {
|
@@ -26,7 +41,6 @@ __export(src_exports, {
|
|
26
41
|
nodeProvider: () => nodeProvider
|
27
42
|
});
|
28
43
|
module.exports = __toCommonJS(src_exports);
|
29
|
-
__reExport(src_exports, require("./bundle/client-sso-oidc-node"), module.exports);
|
30
44
|
|
31
45
|
// src/fromSso.ts
|
32
46
|
|
@@ -36,26 +50,24 @@ __reExport(src_exports, require("./bundle/client-sso-oidc-node"), module.exports
|
|
36
50
|
var EXPIRE_WINDOW_MS = 5 * 60 * 1e3;
|
37
51
|
var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
|
38
52
|
|
39
|
-
// src/getNewSsoOidcToken.ts
|
40
|
-
var import_client_sso_oidc_node2 = require("./bundle/client-sso-oidc-node");
|
41
|
-
|
42
53
|
// src/getSsoOidcClient.ts
|
43
|
-
var import_client_sso_oidc_node = require("./bundle/client-sso-oidc-node");
|
44
54
|
var ssoOidcClientsHash = {};
|
45
|
-
var getSsoOidcClient = /* @__PURE__ */ __name((ssoRegion) => {
|
55
|
+
var getSsoOidcClient = /* @__PURE__ */ __name(async (ssoRegion) => {
|
56
|
+
const { SSOOIDCClient: SSOOIDCClient2 } = await Promise.resolve().then(() => (init_loadSsoOidc(), loadSsoOidc_exports));
|
46
57
|
if (ssoOidcClientsHash[ssoRegion]) {
|
47
58
|
return ssoOidcClientsHash[ssoRegion];
|
48
59
|
}
|
49
|
-
const ssoOidcClient = new
|
60
|
+
const ssoOidcClient = new SSOOIDCClient2({ region: ssoRegion });
|
50
61
|
ssoOidcClientsHash[ssoRegion] = ssoOidcClient;
|
51
62
|
return ssoOidcClient;
|
52
63
|
}, "getSsoOidcClient");
|
53
64
|
|
54
65
|
// src/getNewSsoOidcToken.ts
|
55
|
-
var getNewSsoOidcToken = /* @__PURE__ */ __name((ssoToken, ssoRegion) => {
|
56
|
-
const
|
66
|
+
var getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion) => {
|
67
|
+
const { CreateTokenCommand: CreateTokenCommand2 } = await Promise.resolve().then(() => (init_loadSsoOidc(), loadSsoOidc_exports));
|
68
|
+
const ssoOidcClient = await getSsoOidcClient(ssoRegion);
|
57
69
|
return ssoOidcClient.send(
|
58
|
-
new
|
70
|
+
new CreateTokenCommand2({
|
59
71
|
clientId: ssoToken.clientId,
|
60
72
|
clientSecret: ssoToken.clientSecret,
|
61
73
|
refreshToken: ssoToken.refreshToken,
|
@@ -96,6 +108,8 @@ var writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {
|
|
96
108
|
// src/fromSso.ts
|
97
109
|
var lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);
|
98
110
|
var fromSso = /* @__PURE__ */ __name((init = {}) => async () => {
|
111
|
+
var _a;
|
112
|
+
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/token-providers", "fromSso");
|
99
113
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
100
114
|
const profileName = (0, import_shared_ini_file_loader.getProfileName)(init);
|
101
115
|
const profile = profiles[profileName];
|
@@ -173,7 +187,8 @@ var fromSso = /* @__PURE__ */ __name((init = {}) => async () => {
|
|
173
187
|
|
174
188
|
// src/fromStatic.ts
|
175
189
|
|
176
|
-
var fromStatic = /* @__PURE__ */ __name(({ token }) => async () => {
|
190
|
+
var fromStatic = /* @__PURE__ */ __name(({ token, logger }) => async () => {
|
191
|
+
logger == null ? void 0 : logger.debug("@aws-sdk/token-providers", "fromStatic");
|
177
192
|
if (!token || !token.token) {
|
178
193
|
throw new import_property_provider.TokenProviderError(`Please pass a valid token to fromStatic`, false);
|
179
194
|
}
|
@@ -192,18 +207,6 @@ var nodeProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_pro
|
|
192
207
|
// Annotate the CommonJS export names for ESM import in node:
|
193
208
|
|
194
209
|
0 && (module.exports = {
|
195
|
-
AccessDeniedException,
|
196
|
-
AuthorizationPendingException,
|
197
|
-
CreateTokenCommand,
|
198
|
-
ExpiredTokenException,
|
199
|
-
InternalServerException,
|
200
|
-
InvalidClientException,
|
201
|
-
InvalidRequestException,
|
202
|
-
InvalidScopeException,
|
203
|
-
SSOOIDCClient,
|
204
|
-
SlowDownException,
|
205
|
-
UnauthorizedClientException,
|
206
|
-
UnsupportedGrantTypeException,
|
207
210
|
fromSso,
|
208
211
|
fromStatic,
|
209
212
|
nodeProvider
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("./index.js");
|
@@ -7,6 +7,7 @@ import { validateTokenKey } from "./validateTokenKey";
|
|
7
7
|
import { writeSSOTokenToFile } from "./writeSSOTokenToFile";
|
8
8
|
const lastRefreshAttemptTime = new Date(0);
|
9
9
|
export const fromSso = (init = {}) => async () => {
|
10
|
+
init.logger?.debug("@aws-sdk/token-providers", "fromSso");
|
10
11
|
const profiles = await parseKnownFiles(init);
|
11
12
|
const profileName = getProfileName(init);
|
12
13
|
const profile = profiles[profileName];
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { TokenProviderError } from "@smithy/property-provider";
|
2
|
-
export const fromStatic = ({ token }) => async () => {
|
2
|
+
export const fromStatic = ({ token, logger }) => async () => {
|
3
|
+
logger?.debug("@aws-sdk/token-providers", "fromStatic");
|
3
4
|
if (!token || !token.token) {
|
4
5
|
throw new TokenProviderError(`Please pass a valid token to fromStatic`, false);
|
5
6
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { CreateTokenCommand } from "./bundle/client-sso-oidc-node";
|
2
1
|
import { getSsoOidcClient } from "./getSsoOidcClient";
|
3
|
-
export const getNewSsoOidcToken = (ssoToken, ssoRegion) => {
|
4
|
-
const
|
2
|
+
export const getNewSsoOidcToken = async (ssoToken, ssoRegion) => {
|
3
|
+
const { CreateTokenCommand } = await import("./loadSsoOidc");
|
4
|
+
const ssoOidcClient = await getSsoOidcClient(ssoRegion);
|
5
5
|
return ssoOidcClient.send(new CreateTokenCommand({
|
6
6
|
clientId: ssoToken.clientId,
|
7
7
|
clientSecret: ssoToken.clientSecret,
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { SSOOIDCClient } from "./bundle/client-sso-oidc-node";
|
2
1
|
const ssoOidcClientsHash = {};
|
3
|
-
export const getSsoOidcClient = (ssoRegion) => {
|
2
|
+
export const getSsoOidcClient = async (ssoRegion) => {
|
3
|
+
const { SSOOIDCClient } = await import("./loadSsoOidc");
|
4
4
|
if (ssoOidcClientsHash[ssoRegion]) {
|
5
5
|
return ssoOidcClientsHash[ssoRegion];
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { TokenIdentityProvider } from "@aws-sdk/types";
|
1
|
+
import { CredentialProviderOptions, TokenIdentityProvider } from "@aws-sdk/types";
|
2
2
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
3
|
-
export interface FromSsoInit extends SourceProfileInit {
|
3
|
+
export interface FromSsoInit extends SourceProfileInit, CredentialProviderOptions {
|
4
4
|
}
|
5
5
|
/**
|
6
6
|
* Creates a token provider that will read from SSO token cache or ssoOidc.createToken() call.
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { TokenIdentity, TokenIdentityProvider } from "@aws-sdk/types";
|
2
|
-
export interface FromStaticInit {
|
1
|
+
import { CredentialProviderOptions, TokenIdentity, TokenIdentityProvider } from "@aws-sdk/types";
|
2
|
+
export interface FromStaticInit extends CredentialProviderOptions {
|
3
3
|
token?: TokenIdentity;
|
4
4
|
}
|
5
5
|
/**
|
6
6
|
* Creates a token provider that will read from static token.
|
7
7
|
*/
|
8
|
-
export declare const fromStatic: ({ token }: FromStaticInit) => TokenIdentityProvider;
|
8
|
+
export declare const fromStatic: ({ token, logger }: FromStaticInit) => TokenIdentityProvider;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { SSOToken } from "@smithy/shared-ini-file-loader";
|
2
2
|
/**
|
3
3
|
* Returns a new SSO OIDC token from ssoOids.createToken() API call.
|
4
|
+
* @internal
|
4
5
|
*/
|
5
|
-
export declare const getNewSsoOidcToken: (ssoToken: SSOToken, ssoRegion: string) => any
|
6
|
+
export declare const getNewSsoOidcToken: (ssoToken: SSOToken, ssoRegion: string) => Promise<any>;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* Returns a SSOOIDC client for the given region. If the client has already been created,
|
3
3
|
* it will be returned from the hash.
|
4
|
+
* @internal
|
4
5
|
*/
|
5
|
-
export declare const getSsoOidcClient: (ssoRegion: string) => any
|
6
|
+
export declare const getSsoOidcClient: (ssoRegion: string) => Promise<any>;
|
@@ -1,4 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import {
|
2
|
+
CredentialProviderOptions,
|
3
|
+
TokenIdentityProvider,
|
4
|
+
} from "@aws-sdk/types";
|
2
5
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
3
|
-
export interface FromSsoInit
|
6
|
+
export interface FromSsoInit
|
7
|
+
extends SourceProfileInit,
|
8
|
+
CredentialProviderOptions {}
|
4
9
|
export declare const fromSso: (init?: FromSsoInit) => TokenIdentityProvider;
|
@@ -1,7 +1,12 @@
|
|
1
|
-
import {
|
2
|
-
|
1
|
+
import {
|
2
|
+
CredentialProviderOptions,
|
3
|
+
TokenIdentity,
|
4
|
+
TokenIdentityProvider,
|
5
|
+
} from "@aws-sdk/types";
|
6
|
+
export interface FromStaticInit extends CredentialProviderOptions {
|
3
7
|
token?: TokenIdentity;
|
4
8
|
}
|
5
9
|
export declare const fromStatic: ({
|
6
10
|
token,
|
11
|
+
logger,
|
7
12
|
}: FromStaticInit) => TokenIdentityProvider;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const getSsoOidcClient: (ssoRegion: string) => any
|
1
|
+
export declare const getSsoOidcClient: (ssoRegion: string) => Promise<any>;
|
@@ -1,17 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/token-providers",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.502.0",
|
4
4
|
"description": "A collection of token providers",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
7
7
|
"sideEffects": false,
|
8
8
|
"scripts": {
|
9
|
-
"build:client-bundle": "node ./scripts/esbuild",
|
10
9
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
11
10
|
"build:cjs": "node ../../scripts/compilation/inline token-providers",
|
12
11
|
"build:es": "tsc -p tsconfig.es.json",
|
13
12
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
14
|
-
"build:types": "tsc -p tsconfig.types.json
|
13
|
+
"build:types": "tsc -p tsconfig.types.json",
|
15
14
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
16
15
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
17
16
|
"extract:docs": "api-extractor run --local",
|
@@ -27,42 +26,11 @@
|
|
27
26
|
},
|
28
27
|
"license": "Apache-2.0",
|
29
28
|
"dependencies": {
|
30
|
-
"@aws-
|
31
|
-
"@aws-
|
32
|
-
"@aws-sdk/middleware-host-header": "3.496.0",
|
33
|
-
"@aws-sdk/middleware-logger": "3.496.0",
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.496.0",
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.496.0",
|
36
|
-
"@aws-sdk/region-config-resolver": "3.496.0",
|
37
|
-
"@aws-sdk/types": "3.496.0",
|
38
|
-
"@aws-sdk/util-endpoints": "3.496.0",
|
39
|
-
"@aws-sdk/util-user-agent-browser": "3.496.0",
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.496.0",
|
41
|
-
"@smithy/config-resolver": "^2.1.1",
|
42
|
-
"@smithy/fetch-http-handler": "^2.4.1",
|
43
|
-
"@smithy/hash-node": "^2.1.1",
|
44
|
-
"@smithy/invalid-dependency": "^2.1.1",
|
45
|
-
"@smithy/middleware-content-length": "^2.1.1",
|
46
|
-
"@smithy/middleware-endpoint": "^2.4.1",
|
47
|
-
"@smithy/middleware-retry": "^2.1.1",
|
48
|
-
"@smithy/middleware-serde": "^2.1.1",
|
49
|
-
"@smithy/middleware-stack": "^2.1.1",
|
50
|
-
"@smithy/node-config-provider": "^2.2.1",
|
51
|
-
"@smithy/node-http-handler": "^2.3.1",
|
29
|
+
"@aws-sdk/client-sso-oidc": "3.502.0",
|
30
|
+
"@aws-sdk/types": "3.502.0",
|
52
31
|
"@smithy/property-provider": "^2.1.1",
|
53
|
-
"@smithy/protocol-http": "^3.1.1",
|
54
32
|
"@smithy/shared-ini-file-loader": "^2.3.1",
|
55
|
-
"@smithy/smithy-client": "^2.3.1",
|
56
33
|
"@smithy/types": "^2.9.1",
|
57
|
-
"@smithy/url-parser": "^2.1.1",
|
58
|
-
"@smithy/util-base64": "^2.1.1",
|
59
|
-
"@smithy/util-body-length-browser": "^2.1.1",
|
60
|
-
"@smithy/util-body-length-node": "^2.2.1",
|
61
|
-
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
62
|
-
"@smithy/util-defaults-mode-node": "^2.1.1",
|
63
|
-
"@smithy/util-endpoints": "^1.1.1",
|
64
|
-
"@smithy/util-retry": "^2.1.1",
|
65
|
-
"@smithy/util-utf8": "^2.1.1",
|
66
34
|
"tslib": "^2.5.0"
|
67
35
|
},
|
68
36
|
"devDependencies": {
|
@@ -87,13 +55,8 @@
|
|
87
55
|
"files": [
|
88
56
|
"dist-*/**"
|
89
57
|
],
|
90
|
-
"browser": {
|
91
|
-
|
92
|
-
},
|
93
|
-
"react-native": {
|
94
|
-
"./dist-es/bundle/client-sso-oidc-node": "./dist-es/bundle/client-sso-oidc-browser",
|
95
|
-
"./dist-cjs/bundle/client-sso-oidc-node": "./dist-cjs/bundle/client-sso-oidc-browser"
|
96
|
-
},
|
58
|
+
"browser": {},
|
59
|
+
"react-native": {},
|
97
60
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/token-providers",
|
98
61
|
"repository": {
|
99
62
|
"type": "git",
|
@@ -290,177 +290,9 @@ var HostAddressType = /* @__PURE__ */ ((HostAddressType2) => {
|
|
290
290
|
// Annotate the CommonJS export names for ESM import in node:
|
291
291
|
|
292
292
|
0 && (module.exports = {
|
293
|
-
AbortController,
|
294
|
-
AbortHandler,
|
295
|
-
AbortSignal,
|
296
|
-
AbsoluteLocation,
|
297
|
-
AuthScheme,
|
298
|
-
AvailableMessage,
|
299
|
-
AvailableMessages,
|
300
|
-
AwsCredentialIdentity,
|
301
|
-
AwsCredentialIdentityProvider,
|
302
|
-
BinaryHeaderValue,
|
303
|
-
BlobTypes,
|
304
|
-
BodyLengthCalculator,
|
305
|
-
BooleanHeaderValue,
|
306
|
-
BuildHandler,
|
307
|
-
BuildHandlerArguments,
|
308
|
-
BuildHandlerOptions,
|
309
|
-
BuildHandlerOutput,
|
310
|
-
BuildMiddleware,
|
311
|
-
ByteHeaderValue,
|
312
|
-
Checksum,
|
313
|
-
ChecksumConstructor,
|
314
|
-
Client,
|
315
|
-
Command,
|
316
|
-
ConnectConfiguration,
|
317
|
-
ConnectionManager,
|
318
|
-
ConnectionManagerConfiguration,
|
319
|
-
ConnectionPool,
|
320
|
-
DateInput,
|
321
|
-
Decoder,
|
322
|
-
DeserializeHandler,
|
323
|
-
DeserializeHandlerArguments,
|
324
|
-
DeserializeHandlerOptions,
|
325
|
-
DeserializeHandlerOutput,
|
326
|
-
DeserializeMiddleware,
|
327
|
-
DocumentType,
|
328
|
-
Encoder,
|
329
|
-
Endpoint,
|
330
|
-
EndpointARN,
|
331
|
-
EndpointBearer,
|
332
|
-
EndpointObjectProperty,
|
333
|
-
EndpointParameters,
|
334
|
-
EndpointPartition,
|
335
|
-
EndpointURL,
|
336
|
-
EndpointURLScheme,
|
337
|
-
EndpointV2,
|
338
|
-
EventSigner,
|
339
|
-
EventSigningArguments,
|
340
|
-
EventStreamMarshaller,
|
341
|
-
EventStreamMarshallerDeserFn,
|
342
|
-
EventStreamMarshallerSerFn,
|
343
|
-
EventStreamPayloadHandler,
|
344
|
-
EventStreamPayloadHandlerProvider,
|
345
|
-
EventStreamRequestSigner,
|
346
|
-
EventStreamSerdeContext,
|
347
|
-
EventStreamSerdeProvider,
|
348
|
-
EventStreamSignerProvider,
|
349
|
-
ExponentialBackoffJitterType,
|
350
|
-
ExponentialBackoffStrategyOptions,
|
351
|
-
FinalizeHandler,
|
352
|
-
FinalizeHandlerArguments,
|
353
|
-
FinalizeHandlerOutput,
|
354
|
-
FinalizeRequestHandlerOptions,
|
355
|
-
FinalizeRequestMiddleware,
|
356
|
-
FormattedEvent,
|
357
|
-
GetAwsChunkedEncodingStream,
|
358
|
-
GetAwsChunkedEncodingStreamOptions,
|
359
|
-
Handler,
|
360
|
-
HandlerExecutionContext,
|
361
|
-
HandlerOptions,
|
362
|
-
Hash,
|
363
|
-
HashConstructor,
|
364
|
-
HeaderBag,
|
365
|
-
HostAddressType,
|
366
|
-
HttpAuthDefinition,
|
367
293
|
HttpAuthLocation,
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
HttpResponse,
|
372
|
-
Identity,
|
373
|
-
IdentityProvider,
|
374
|
-
IniSection,
|
375
|
-
InitializeHandler,
|
376
|
-
InitializeHandlerArguments,
|
377
|
-
InitializeHandlerOptions,
|
378
|
-
InitializeHandlerOutput,
|
379
|
-
InitializeMiddleware,
|
380
|
-
Int64,
|
381
|
-
IntegerHeaderValue,
|
382
|
-
Logger,
|
383
|
-
LongHeaderValue,
|
384
|
-
MemoizedProvider,
|
385
|
-
Message,
|
386
|
-
MessageDecoder,
|
387
|
-
MessageEncoder,
|
388
|
-
MessageHeaderValue,
|
389
|
-
MessageHeaders,
|
390
|
-
MessageSigner,
|
391
|
-
MetadataBearer,
|
392
|
-
MiddlewareStack,
|
393
|
-
MiddlewareType,
|
394
|
-
PaginationConfiguration,
|
395
|
-
Paginator,
|
396
|
-
ParsedIniData,
|
397
|
-
Pluggable,
|
398
|
-
Priority,
|
399
|
-
Profile,
|
400
|
-
Provider,
|
401
|
-
QueryParameterBag,
|
402
|
-
RegionInfo,
|
403
|
-
RegionInfoProvider,
|
404
|
-
RegionInfoProviderOptions,
|
405
|
-
Relation,
|
406
|
-
RelativeLocation,
|
407
|
-
RelativeMiddlewareOptions,
|
408
|
-
RequestContext,
|
409
|
-
RequestHandler,
|
410
|
-
RequestHandlerMetadata,
|
411
|
-
RequestHandlerOutput,
|
412
|
-
RequestHandlerProtocol,
|
413
|
-
RequestPresigner,
|
414
|
-
RequestPresigningArguments,
|
415
|
-
RequestSerializer,
|
416
|
-
RequestSigner,
|
417
|
-
RequestSigningArguments,
|
418
|
-
ResponseDeserializer,
|
419
|
-
ResponseMetadata,
|
420
|
-
RetryBackoffStrategy,
|
421
|
-
RetryErrorInfo,
|
422
|
-
RetryErrorType,
|
423
|
-
RetryStrategy,
|
424
|
-
RetryStrategyOptions,
|
425
|
-
RetryStrategyV2,
|
426
|
-
RetryToken,
|
427
|
-
RetryableTrait,
|
428
|
-
SdkError,
|
429
|
-
SdkStream,
|
430
|
-
SdkStreamMixin,
|
431
|
-
SdkStreamMixinInjector,
|
432
|
-
SdkStreamSerdeContext,
|
433
|
-
SerdeContext,
|
434
|
-
SerializeHandler,
|
435
|
-
SerializeHandlerArguments,
|
436
|
-
SerializeHandlerOptions,
|
437
|
-
SerializeHandlerOutput,
|
438
|
-
SerializeMiddleware,
|
439
|
-
SharedConfigFiles,
|
440
|
-
ShortHeaderValue,
|
441
|
-
SignableMessage,
|
442
|
-
SignedMessage,
|
443
|
-
SigningArguments,
|
444
|
-
SmithyException,
|
445
|
-
SourceData,
|
446
|
-
StandardRetryBackoffStrategy,
|
447
|
-
StandardRetryToken,
|
448
|
-
Step,
|
449
|
-
StreamCollector,
|
450
|
-
StreamHasher,
|
451
|
-
StringHeaderValue,
|
452
|
-
StringSigner,
|
453
|
-
Terminalware,
|
454
|
-
TimestampHeaderValue,
|
455
|
-
TokenIdentity,
|
456
|
-
TokenIdentityProvider,
|
457
|
-
URI,
|
458
|
-
UrlParser,
|
459
|
-
UserAgent,
|
460
|
-
UserAgentPair,
|
461
|
-
UuidHeaderValue,
|
462
|
-
WaiterConfiguration,
|
463
|
-
WithSdkStreamMixin,
|
464
|
-
randomValues
|
294
|
+
HostAddressType,
|
295
|
+
EndpointURLScheme,
|
296
|
+
RequestHandlerProtocol
|
465
297
|
});
|
466
298
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Logger } from "@smithy/types";
|
1
2
|
import { AwsCredentialIdentity } from "./identity";
|
2
3
|
import { Provider } from "./util";
|
3
4
|
/**
|
@@ -15,3 +16,17 @@ export interface Credentials extends AwsCredentialIdentity {
|
|
15
16
|
* @deprecated Use {@link AwsCredentialIdentityProvider}
|
16
17
|
*/
|
17
18
|
export type CredentialProvider = Provider<Credentials>;
|
19
|
+
/**
|
20
|
+
* @public
|
21
|
+
*
|
22
|
+
* Common options for credential providers.
|
23
|
+
*/
|
24
|
+
export type CredentialProviderOptions = {
|
25
|
+
/**
|
26
|
+
* This logger is only used to provide information
|
27
|
+
* on what credential providers were used during resolution.
|
28
|
+
*
|
29
|
+
* It does not log credentials.
|
30
|
+
*/
|
31
|
+
logger?: Logger;
|
32
|
+
};
|
@@ -1,4 +1,8 @@
|
|
1
|
+
import { Logger } from "@smithy/types";
|
1
2
|
import { AwsCredentialIdentity } from "./identity";
|
2
3
|
import { Provider } from "./util";
|
3
4
|
export interface Credentials extends AwsCredentialIdentity {}
|
4
5
|
export type CredentialProvider = Provider<Credentials>;
|
6
|
+
export type CredentialProviderOptions = {
|
7
|
+
logger?: Logger;
|
8
|
+
};
|
@@ -393,32 +393,12 @@ import_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;
|
|
393
393
|
// Annotate the CommonJS export names for ESM import in node:
|
394
394
|
|
395
395
|
0 && (module.exports = {
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
EndpointObject,
|
400
|
-
EndpointObjectHeaders,
|
401
|
-
EndpointObjectProperties,
|
402
|
-
EndpointParams,
|
403
|
-
EndpointResolverOptions,
|
404
|
-
EndpointRuleObject,
|
405
|
-
ErrorRuleObject,
|
406
|
-
EvaluateOptions,
|
407
|
-
Expression,
|
408
|
-
FunctionArgv,
|
409
|
-
FunctionObject,
|
410
|
-
FunctionReturn,
|
411
|
-
ParameterObject,
|
412
|
-
ReferenceObject,
|
413
|
-
ReferenceRecord,
|
414
|
-
RuleSetObject,
|
415
|
-
RuleSetRules,
|
416
|
-
TreeRuleObject,
|
396
|
+
partition,
|
397
|
+
setPartitionInfo,
|
398
|
+
useDefaultPartitionInfo,
|
417
399
|
getUserAgentPrefix,
|
418
400
|
isIpAddress,
|
419
|
-
partition,
|
420
401
|
resolveEndpoint,
|
421
|
-
|
422
|
-
useDefaultPartitionInfo
|
402
|
+
EndpointError
|
423
403
|
});
|
424
404
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.502.0",
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@aws-sdk/types": "3.
|
25
|
+
"@aws-sdk/types": "3.502.0",
|
26
26
|
"@smithy/types": "^2.9.1",
|
27
27
|
"@smithy/util-endpoints": "^1.1.1",
|
28
28
|
"tslib": "^2.5.0"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.502.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"react-native": "dist-es/index.native.js",
|
24
24
|
"dependencies": {
|
25
|
-
"@aws-sdk/types": "3.
|
25
|
+
"@aws-sdk/types": "3.502.0",
|
26
26
|
"@smithy/types": "^2.9.1",
|
27
27
|
"bowser": "^2.11.0",
|
28
28
|
"tslib": "^2.5.0"
|
@@ -86,9 +86,9 @@ var defaultUserAgent = /* @__PURE__ */ __name(({ serviceId, clientVersion }) =>
|
|
86
86
|
// Annotate the CommonJS export names for ESM import in node:
|
87
87
|
|
88
88
|
0 && (module.exports = {
|
89
|
+
crtAvailability,
|
89
90
|
UA_APP_ID_ENV_NAME,
|
90
91
|
UA_APP_ID_INI_NAME,
|
91
|
-
crtAvailability,
|
92
92
|
defaultUserAgent
|
93
93
|
});
|
94
94
|
|