@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
@@ -0,0 +1,103 @@
|
|
1
|
+
{
|
2
|
+
"name": "@aws-sdk/client-sso-oidc",
|
3
|
+
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
4
|
+
"version": "3.502.0",
|
5
|
+
"scripts": {
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-sso-oidc",
|
8
|
+
"build:es": "tsc -p tsconfig.es.json",
|
9
|
+
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
13
|
+
"extract:docs": "api-extractor run --local",
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo sso-oidc"
|
15
|
+
},
|
16
|
+
"main": "./dist-cjs/index.js",
|
17
|
+
"types": "./dist-types/index.d.ts",
|
18
|
+
"module": "./dist-es/index.js",
|
19
|
+
"sideEffects": false,
|
20
|
+
"dependencies": {
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
23
|
+
"@aws-sdk/client-sts": "3.502.0",
|
24
|
+
"@aws-sdk/core": "3.496.0",
|
25
|
+
"@aws-sdk/middleware-host-header": "3.502.0",
|
26
|
+
"@aws-sdk/middleware-logger": "3.502.0",
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.502.0",
|
28
|
+
"@aws-sdk/middleware-signing": "3.502.0",
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.502.0",
|
30
|
+
"@aws-sdk/region-config-resolver": "3.502.0",
|
31
|
+
"@aws-sdk/types": "3.502.0",
|
32
|
+
"@aws-sdk/util-endpoints": "3.502.0",
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.502.0",
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.502.0",
|
35
|
+
"@smithy/config-resolver": "^2.1.1",
|
36
|
+
"@smithy/core": "^1.3.1",
|
37
|
+
"@smithy/fetch-http-handler": "^2.4.1",
|
38
|
+
"@smithy/hash-node": "^2.1.1",
|
39
|
+
"@smithy/invalid-dependency": "^2.1.1",
|
40
|
+
"@smithy/middleware-content-length": "^2.1.1",
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.1",
|
42
|
+
"@smithy/middleware-retry": "^2.1.1",
|
43
|
+
"@smithy/middleware-serde": "^2.1.1",
|
44
|
+
"@smithy/middleware-stack": "^2.1.1",
|
45
|
+
"@smithy/node-config-provider": "^2.2.1",
|
46
|
+
"@smithy/node-http-handler": "^2.3.1",
|
47
|
+
"@smithy/protocol-http": "^3.1.1",
|
48
|
+
"@smithy/smithy-client": "^2.3.1",
|
49
|
+
"@smithy/types": "^2.9.1",
|
50
|
+
"@smithy/url-parser": "^2.1.1",
|
51
|
+
"@smithy/util-base64": "^2.1.1",
|
52
|
+
"@smithy/util-body-length-browser": "^2.1.1",
|
53
|
+
"@smithy/util-body-length-node": "^2.2.1",
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.1.1",
|
56
|
+
"@smithy/util-endpoints": "^1.1.1",
|
57
|
+
"@smithy/util-retry": "^2.1.1",
|
58
|
+
"@smithy/util-utf8": "^2.1.1",
|
59
|
+
"tslib": "^2.5.0"
|
60
|
+
},
|
61
|
+
"devDependencies": {
|
62
|
+
"@smithy/service-client-documentation-generator": "^2.1.1",
|
63
|
+
"@tsconfig/node14": "1.0.3",
|
64
|
+
"@types/node": "^14.14.31",
|
65
|
+
"concurrently": "7.0.0",
|
66
|
+
"downlevel-dts": "0.10.1",
|
67
|
+
"rimraf": "3.0.2",
|
68
|
+
"typescript": "~4.9.5"
|
69
|
+
},
|
70
|
+
"engines": {
|
71
|
+
"node": ">=14.0.0"
|
72
|
+
},
|
73
|
+
"typesVersions": {
|
74
|
+
"<4.0": {
|
75
|
+
"dist-types/*": [
|
76
|
+
"dist-types/ts3.4/*"
|
77
|
+
]
|
78
|
+
}
|
79
|
+
},
|
80
|
+
"files": [
|
81
|
+
"dist-*/**"
|
82
|
+
],
|
83
|
+
"author": {
|
84
|
+
"name": "AWS SDK for JavaScript Team",
|
85
|
+
"url": "https://aws.amazon.com/javascript/"
|
86
|
+
},
|
87
|
+
"license": "Apache-2.0",
|
88
|
+
"peerDependencies": {
|
89
|
+
"@aws-sdk/credential-provider-node": "*"
|
90
|
+
},
|
91
|
+
"browser": {
|
92
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
93
|
+
},
|
94
|
+
"react-native": {
|
95
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
96
|
+
},
|
97
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso-oidc",
|
98
|
+
"repository": {
|
99
|
+
"type": "git",
|
100
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
101
|
+
"directory": "clients/client-sso-oidc"
|
102
|
+
}
|
103
|
+
}
|
@@ -1,29 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AssumeRoleCommand = exports.$Command = void 0;
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
9
|
-
const models_0_1 = require("../models/models_0");
|
10
|
-
const Aws_query_1 = require("../protocols/Aws_query");
|
11
|
-
class AssumeRoleCommand extends smithy_client_1.Command
|
12
|
-
.classBuilder()
|
13
|
-
.ep({
|
14
|
-
...EndpointParameters_1.commonParams,
|
15
|
-
})
|
16
|
-
.m(function (Command, cs, config, o) {
|
17
|
-
return [
|
18
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
19
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
20
|
-
];
|
21
|
-
})
|
22
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRole", {})
|
23
|
-
.n("STSClient", "AssumeRoleCommand")
|
24
|
-
.f(void 0, models_0_1.AssumeRoleResponseFilterSensitiveLog)
|
25
|
-
.ser(Aws_query_1.se_AssumeRoleCommand)
|
26
|
-
.de(Aws_query_1.de_AssumeRoleCommand)
|
27
|
-
.build() {
|
28
|
-
}
|
29
|
-
exports.AssumeRoleCommand = AssumeRoleCommand;
|
1
|
+
module.exports = require("../index.js");
|
package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js
CHANGED
@@ -1,29 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AssumeRoleWithWebIdentityCommand = exports.$Command = void 0;
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
9
|
-
const models_0_1 = require("../models/models_0");
|
10
|
-
const Aws_query_1 = require("../protocols/Aws_query");
|
11
|
-
class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command
|
12
|
-
.classBuilder()
|
13
|
-
.ep({
|
14
|
-
...EndpointParameters_1.commonParams,
|
15
|
-
})
|
16
|
-
.m(function (Command, cs, config, o) {
|
17
|
-
return [
|
18
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
19
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
20
|
-
];
|
21
|
-
})
|
22
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {})
|
23
|
-
.n("STSClient", "AssumeRoleWithWebIdentityCommand")
|
24
|
-
.f(models_0_1.AssumeRoleWithWebIdentityRequestFilterSensitiveLog, models_0_1.AssumeRoleWithWebIdentityResponseFilterSensitiveLog)
|
25
|
-
.ser(Aws_query_1.se_AssumeRoleWithWebIdentityCommand)
|
26
|
-
.de(Aws_query_1.de_AssumeRoleWithWebIdentityCommand)
|
27
|
-
.build() {
|
28
|
-
}
|
29
|
-
exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand;
|
1
|
+
module.exports = require("../index.js");
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
+
exports.defaultProvider = void 0;
|
27
|
+
exports.defaultProvider = ((input) => {
|
28
|
+
return () => Promise.resolve().then(() => __importStar(require("@aws-sdk/credential-provider-node"))).then(({ defaultProvider }) => defaultProvider(input)());
|
29
|
+
});
|
@@ -1,78 +1 @@
|
|
1
|
-
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.decorateDefaultCredentialProvider = exports.getDefaultRoleAssumerWithWebIdentity = exports.getDefaultRoleAssumer = void 0;
|
4
|
-
const AssumeRoleCommand_1 = require("./commands/AssumeRoleCommand");
|
5
|
-
const AssumeRoleWithWebIdentityCommand_1 = require("./commands/AssumeRoleWithWebIdentityCommand");
|
6
|
-
const ASSUME_ROLE_DEFAULT_REGION = "us-east-1";
|
7
|
-
const decorateDefaultRegion = (region) => {
|
8
|
-
if (typeof region !== "function") {
|
9
|
-
return region === undefined ? ASSUME_ROLE_DEFAULT_REGION : region;
|
10
|
-
}
|
11
|
-
return async () => {
|
12
|
-
try {
|
13
|
-
return await region();
|
14
|
-
}
|
15
|
-
catch (e) {
|
16
|
-
return ASSUME_ROLE_DEFAULT_REGION;
|
17
|
-
}
|
18
|
-
};
|
19
|
-
};
|
20
|
-
const getDefaultRoleAssumer = (stsOptions, stsClientCtor) => {
|
21
|
-
let stsClient;
|
22
|
-
let closureSourceCreds;
|
23
|
-
return async (sourceCreds, params) => {
|
24
|
-
closureSourceCreds = sourceCreds;
|
25
|
-
if (!stsClient) {
|
26
|
-
const { logger, region, requestHandler } = stsOptions;
|
27
|
-
stsClient = new stsClientCtor({
|
28
|
-
logger,
|
29
|
-
credentialDefaultProvider: () => async () => closureSourceCreds,
|
30
|
-
region: decorateDefaultRegion(region || stsOptions.region),
|
31
|
-
...(requestHandler ? { requestHandler } : {}),
|
32
|
-
});
|
33
|
-
}
|
34
|
-
const { Credentials } = await stsClient.send(new AssumeRoleCommand_1.AssumeRoleCommand(params));
|
35
|
-
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
36
|
-
throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);
|
37
|
-
}
|
38
|
-
return {
|
39
|
-
accessKeyId: Credentials.AccessKeyId,
|
40
|
-
secretAccessKey: Credentials.SecretAccessKey,
|
41
|
-
sessionToken: Credentials.SessionToken,
|
42
|
-
expiration: Credentials.Expiration,
|
43
|
-
credentialScope: Credentials.CredentialScope,
|
44
|
-
};
|
45
|
-
};
|
46
|
-
};
|
47
|
-
exports.getDefaultRoleAssumer = getDefaultRoleAssumer;
|
48
|
-
const getDefaultRoleAssumerWithWebIdentity = (stsOptions, stsClientCtor) => {
|
49
|
-
let stsClient;
|
50
|
-
return async (params) => {
|
51
|
-
if (!stsClient) {
|
52
|
-
const { logger, region, requestHandler } = stsOptions;
|
53
|
-
stsClient = new stsClientCtor({
|
54
|
-
logger,
|
55
|
-
region: decorateDefaultRegion(region || stsOptions.region),
|
56
|
-
...(requestHandler ? { requestHandler } : {}),
|
57
|
-
});
|
58
|
-
}
|
59
|
-
const { Credentials } = await stsClient.send(new AssumeRoleWithWebIdentityCommand_1.AssumeRoleWithWebIdentityCommand(params));
|
60
|
-
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
61
|
-
throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);
|
62
|
-
}
|
63
|
-
return {
|
64
|
-
accessKeyId: Credentials.AccessKeyId,
|
65
|
-
secretAccessKey: Credentials.SecretAccessKey,
|
66
|
-
sessionToken: Credentials.SessionToken,
|
67
|
-
expiration: Credentials.Expiration,
|
68
|
-
credentialScope: Credentials.CredentialScope,
|
69
|
-
};
|
70
|
-
};
|
71
|
-
};
|
72
|
-
exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
|
73
|
-
const decorateDefaultCredentialProvider = (provider) => (input) => provider({
|
74
|
-
roleAssumer: (0, exports.getDefaultRoleAssumer)(input, input.stsClientCtor),
|
75
|
-
roleAssumerWithWebIdentity: (0, exports.getDefaultRoleAssumerWithWebIdentity)(input, input.stsClientCtor),
|
76
|
-
...input,
|
77
|
-
});
|
78
|
-
exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider;
|
1
|
+
module.exports = require("./index.js");
|