@cdk8s/awscdk-resolver 0.0.90 → 0.0.92
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/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +2 -17
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +5 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +1 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +6 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +1 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +14 -20
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +4 -2
- package/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +0 -274
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js +0 -64
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/credentialDefaultProvider.js +0 -29
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +0 -1024
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +0 -39
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +0 -49
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +0 -15
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +0 -40
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +0 -15
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +0 -52
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js +0 -38
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js +0 -58
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +0 -25
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +0 -25
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +0 -25
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +0 -25
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/credentialDefaultProvider.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +0 -14
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +0 -10
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/extensionConfiguration.js +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +0 -217
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +0 -409
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +0 -34
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +0 -44
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +0 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +0 -36
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js +0 -21
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +0 -75
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +0 -212
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthExtensionConfiguration.d.ts +0 -29
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +0 -61
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +0 -162
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +0 -244
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +0 -108
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +0 -111
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/credentialDefaultProvider.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +0 -40
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/extensionConfiguration.d.ts +0 -9
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -50
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +0 -13
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +0 -734
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +0 -53
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +0 -53
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +0 -52
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +0 -32
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeExtensions.d.ts +0 -17
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +0 -73
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +0 -144
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +0 -32
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +0 -44
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +0 -35
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +0 -39
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +0 -39
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/credentialDefaultProvider.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/extensionConfiguration.d.ts +0 -9
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +0 -201
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -53
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -110
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +0 -108
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -104
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -49
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeExtensions.d.ts +0 -11
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +0 -102
- package/node_modules/@aws-sdk/client-sts/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-sts/README.md +0 -273
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +0 -56
- package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js +0 -67
- package/node_modules/@aws-sdk/client-sts/dist-cjs/credentialDefaultProvider.js +0 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js +0 -20
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +0 -1457
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +0 -39
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +0 -63
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.native.js +0 -15
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +0 -40
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +0 -25
- package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +0 -23
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +0 -52
- package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js +0 -38
- package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js +0 -60
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +0 -25
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +0 -25
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +0 -25
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +0 -24
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +0 -24
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +0 -24
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +0 -25
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +0 -25
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +0 -8
- package/node_modules/@aws-sdk/client-sts/dist-es/credentialDefaultProvider.js +0 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js +0 -22
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +0 -67
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js +0 -16
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +0 -10
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sts/dist-es/extensionConfiguration.js +0 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js +0 -8
- package/node_modules/@aws-sdk/client-sts/dist-es/models/index.js +0 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +0 -130
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +0 -885
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +0 -34
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +0 -58
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.native.js +0 -11
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +0 -36
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +0 -21
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +0 -71
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +0 -182
- package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthExtensionConfiguration.d.ts +0 -29
- package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +0 -71
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +0 -257
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +0 -282
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +0 -291
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +0 -115
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +0 -75
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +0 -116
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +0 -230
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +0 -154
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/credentialDefaultProvider.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +0 -23
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers.d.ts +0 -43
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/EndpointParameters.d.ts +0 -46
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/endpointResolver.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +0 -9
- package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +0 -17
- package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +0 -13
- package/node_modules/@aws-sdk/client-sts/dist-types/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +0 -1213
- package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +0 -74
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +0 -54
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +0 -57
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +0 -53
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +0 -32
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +0 -17
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +0 -143
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +0 -165
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +0 -32
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +0 -54
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +0 -35
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +0 -39
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +0 -39
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +0 -39
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +0 -39
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +0 -39
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/credentialDefaultProvider.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultRoleAssumers.d.ts +0 -19
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +0 -33
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +0 -57
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/endpointResolver.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +0 -9
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +0 -9
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/STSServiceException.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +0 -206
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -101
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -116
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +0 -117
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -110
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +0 -11
- package/node_modules/@aws-sdk/client-sts/package.json +0 -104
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/loadSts.js +0 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/loadSts.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/loadSts.d.ts +0 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/loadSts.d.ts +0 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/loadSts.js +0 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/loadSts.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/loadSts.d.ts +0 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/loadSts.d.ts +0 -3
- package/node_modules/@aws-sdk/token-providers/dist-cjs/loadSsoOidc.js +0 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/loadSsoOidc.js +0 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/loadSsoOidc.d.ts +0 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/loadSsoOidc.d.ts +0 -2
@@ -1,34 +0,0 @@
|
|
1
|
-
import packageInfo from "../package.json";
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
3
|
-
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
4
|
-
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
5
|
-
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
6
|
-
import { invalidProvider } from "@smithy/invalid-dependency";
|
7
|
-
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
8
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
9
|
-
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
12
|
-
export const getRuntimeConfig = (config) => {
|
13
|
-
const defaultsMode = resolveDefaultsModeConfig(config);
|
14
|
-
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
15
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
16
|
-
return {
|
17
|
-
...clientSharedValues,
|
18
|
-
...config,
|
19
|
-
runtime: "browser",
|
20
|
-
defaultsMode,
|
21
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
22
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
24
|
-
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
25
|
-
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
26
|
-
region: config?.region ?? invalidProvider("Region is missing"),
|
27
|
-
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
28
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
29
|
-
sha256: config?.sha256 ?? Sha256,
|
30
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
31
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
32
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
33
|
-
};
|
34
|
-
};
|
@@ -1,58 +0,0 @@
|
|
1
|
-
import packageInfo from "../package.json";
|
2
|
-
import { defaultProvider as credentialDefaultProvider } from "./credentialDefaultProvider";
|
3
|
-
import { AwsSdkSigV4Signer, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
4
|
-
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
5
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
6
|
-
import { NoAuthSigner } from "@smithy/core";
|
7
|
-
import { Hash } from "@smithy/hash-node";
|
8
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
9
|
-
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
10
|
-
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
11
|
-
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
12
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
13
|
-
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
14
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
15
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
17
|
-
export const getRuntimeConfig = (config) => {
|
18
|
-
emitWarningIfUnsupportedVersion(process.version);
|
19
|
-
const defaultsMode = resolveDefaultsModeConfig(config);
|
20
|
-
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
21
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
22
|
-
awsCheckVersion(process.version);
|
23
|
-
return {
|
24
|
-
...clientSharedValues,
|
25
|
-
...config,
|
26
|
-
runtime: "node",
|
27
|
-
defaultsMode,
|
28
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
29
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
30
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
31
|
-
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
32
|
-
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
33
|
-
{
|
34
|
-
schemeId: "aws.auth#sigv4",
|
35
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") ||
|
36
|
-
(async (idProps) => await credentialDefaultProvider(idProps?.__config || {})()),
|
37
|
-
signer: new AwsSdkSigV4Signer(),
|
38
|
-
},
|
39
|
-
{
|
40
|
-
schemeId: "smithy.api#noAuth",
|
41
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
42
|
-
signer: new NoAuthSigner(),
|
43
|
-
},
|
44
|
-
],
|
45
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
46
|
-
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
47
|
-
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
48
|
-
retryMode: config?.retryMode ??
|
49
|
-
loadNodeConfig({
|
50
|
-
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
51
|
-
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
52
|
-
}),
|
53
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
54
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
55
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
56
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
57
|
-
};
|
58
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
2
|
-
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
3
|
-
export const getRuntimeConfig = (config) => {
|
4
|
-
const browserDefaults = getBrowserRuntimeConfig(config);
|
5
|
-
return {
|
6
|
-
...browserDefaults,
|
7
|
-
...config,
|
8
|
-
runtime: "react-native",
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
10
|
-
};
|
11
|
-
};
|
@@ -1,36 +0,0 @@
|
|
1
|
-
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
2
|
-
import { NoAuthSigner } from "@smithy/core";
|
3
|
-
import { NoOpLogger } from "@smithy/smithy-client";
|
4
|
-
import { parseUrl } from "@smithy/url-parser";
|
5
|
-
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
6
|
-
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
7
|
-
import { defaultSTSHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
8
|
-
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
9
|
-
export const getRuntimeConfig = (config) => {
|
10
|
-
return {
|
11
|
-
apiVersion: "2011-06-15",
|
12
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
13
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
14
|
-
disableHostPrefix: config?.disableHostPrefix ?? false,
|
15
|
-
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
16
|
-
extensions: config?.extensions ?? [],
|
17
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSTSHttpAuthSchemeProvider,
|
18
|
-
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
19
|
-
{
|
20
|
-
schemeId: "aws.auth#sigv4",
|
21
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
22
|
-
signer: new AwsSdkSigV4Signer(),
|
23
|
-
},
|
24
|
-
{
|
25
|
-
schemeId: "smithy.api#noAuth",
|
26
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
27
|
-
signer: new NoAuthSigner(),
|
28
|
-
},
|
29
|
-
],
|
30
|
-
logger: config?.logger ?? new NoOpLogger(),
|
31
|
-
serviceId: config?.serviceId ?? "STS",
|
32
|
-
urlParser: config?.urlParser ?? parseUrl,
|
33
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
34
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
35
|
-
};
|
36
|
-
};
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
2
|
-
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
3
|
-
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
4
|
-
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
5
|
-
const asPartial = (t) => t;
|
6
|
-
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
7
|
-
const extensionConfiguration = {
|
8
|
-
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
9
|
-
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
10
|
-
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
11
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
12
|
-
};
|
13
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
14
|
-
return {
|
15
|
-
...runtimeConfig,
|
16
|
-
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
17
|
-
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
18
|
-
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
19
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
20
|
-
};
|
21
|
-
};
|
@@ -1,71 +0,0 @@
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
2
|
-
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
3
|
-
import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
|
4
|
-
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
5
|
-
import { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "./commands/DecodeAuthorizationMessageCommand";
|
6
|
-
import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "./commands/GetAccessKeyInfoCommand";
|
7
|
-
import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "./commands/GetCallerIdentityCommand";
|
8
|
-
import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "./commands/GetFederationTokenCommand";
|
9
|
-
import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
|
10
|
-
import { STSClient } from "./STSClient";
|
11
|
-
export interface STS {
|
12
|
-
/**
|
13
|
-
* @see {@link AssumeRoleCommand}
|
14
|
-
*/
|
15
|
-
assumeRole(args: AssumeRoleCommandInput, options?: __HttpHandlerOptions): Promise<AssumeRoleCommandOutput>;
|
16
|
-
assumeRole(args: AssumeRoleCommandInput, cb: (err: any, data?: AssumeRoleCommandOutput) => void): void;
|
17
|
-
assumeRole(args: AssumeRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleCommandOutput) => void): void;
|
18
|
-
/**
|
19
|
-
* @see {@link AssumeRoleWithSAMLCommand}
|
20
|
-
*/
|
21
|
-
assumeRoleWithSAML(args: AssumeRoleWithSAMLCommandInput, options?: __HttpHandlerOptions): Promise<AssumeRoleWithSAMLCommandOutput>;
|
22
|
-
assumeRoleWithSAML(args: AssumeRoleWithSAMLCommandInput, cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void): void;
|
23
|
-
assumeRoleWithSAML(args: AssumeRoleWithSAMLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void): void;
|
24
|
-
/**
|
25
|
-
* @see {@link AssumeRoleWithWebIdentityCommand}
|
26
|
-
*/
|
27
|
-
assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options?: __HttpHandlerOptions): Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
28
|
-
assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void): void;
|
29
|
-
assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void): void;
|
30
|
-
/**
|
31
|
-
* @see {@link DecodeAuthorizationMessageCommand}
|
32
|
-
*/
|
33
|
-
decodeAuthorizationMessage(args: DecodeAuthorizationMessageCommandInput, options?: __HttpHandlerOptions): Promise<DecodeAuthorizationMessageCommandOutput>;
|
34
|
-
decodeAuthorizationMessage(args: DecodeAuthorizationMessageCommandInput, cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void): void;
|
35
|
-
decodeAuthorizationMessage(args: DecodeAuthorizationMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void): void;
|
36
|
-
/**
|
37
|
-
* @see {@link GetAccessKeyInfoCommand}
|
38
|
-
*/
|
39
|
-
getAccessKeyInfo(args: GetAccessKeyInfoCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessKeyInfoCommandOutput>;
|
40
|
-
getAccessKeyInfo(args: GetAccessKeyInfoCommandInput, cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void): void;
|
41
|
-
getAccessKeyInfo(args: GetAccessKeyInfoCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void): void;
|
42
|
-
/**
|
43
|
-
* @see {@link GetCallerIdentityCommand}
|
44
|
-
*/
|
45
|
-
getCallerIdentity(): Promise<GetCallerIdentityCommandOutput>;
|
46
|
-
getCallerIdentity(args: GetCallerIdentityCommandInput, options?: __HttpHandlerOptions): Promise<GetCallerIdentityCommandOutput>;
|
47
|
-
getCallerIdentity(args: GetCallerIdentityCommandInput, cb: (err: any, data?: GetCallerIdentityCommandOutput) => void): void;
|
48
|
-
getCallerIdentity(args: GetCallerIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCallerIdentityCommandOutput) => void): void;
|
49
|
-
/**
|
50
|
-
* @see {@link GetFederationTokenCommand}
|
51
|
-
*/
|
52
|
-
getFederationToken(args: GetFederationTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetFederationTokenCommandOutput>;
|
53
|
-
getFederationToken(args: GetFederationTokenCommandInput, cb: (err: any, data?: GetFederationTokenCommandOutput) => void): void;
|
54
|
-
getFederationToken(args: GetFederationTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFederationTokenCommandOutput) => void): void;
|
55
|
-
/**
|
56
|
-
* @see {@link GetSessionTokenCommand}
|
57
|
-
*/
|
58
|
-
getSessionToken(): Promise<GetSessionTokenCommandOutput>;
|
59
|
-
getSessionToken(args: GetSessionTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionTokenCommandOutput>;
|
60
|
-
getSessionToken(args: GetSessionTokenCommandInput, cb: (err: any, data?: GetSessionTokenCommandOutput) => void): void;
|
61
|
-
getSessionToken(args: GetSessionTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionTokenCommandOutput) => void): void;
|
62
|
-
}
|
63
|
-
/**
|
64
|
-
* <fullname>Security Token Service</fullname>
|
65
|
-
* <p>Security Token Service (STS) enables you to request temporary, limited-privilege
|
66
|
-
* credentials for users. This guide provides descriptions of the STS API. For
|
67
|
-
* more information about using this service, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>.</p>
|
68
|
-
* @public
|
69
|
-
*/
|
70
|
-
export declare class STS extends STSClient implements STS {
|
71
|
-
}
|
@@ -1,182 +0,0 @@
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
7
|
-
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
10
|
-
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
11
|
-
import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
|
12
|
-
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
13
|
-
import { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "./commands/DecodeAuthorizationMessageCommand";
|
14
|
-
import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "./commands/GetAccessKeyInfoCommand";
|
15
|
-
import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "./commands/GetCallerIdentityCommand";
|
16
|
-
import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "./commands/GetFederationTokenCommand";
|
17
|
-
import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
|
18
|
-
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
19
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
20
|
-
export { __Client };
|
21
|
-
/**
|
22
|
-
* @public
|
23
|
-
*/
|
24
|
-
export type ServiceInputTypes = AssumeRoleCommandInput | AssumeRoleWithSAMLCommandInput | AssumeRoleWithWebIdentityCommandInput | DecodeAuthorizationMessageCommandInput | GetAccessKeyInfoCommandInput | GetCallerIdentityCommandInput | GetFederationTokenCommandInput | GetSessionTokenCommandInput;
|
25
|
-
/**
|
26
|
-
* @public
|
27
|
-
*/
|
28
|
-
export type ServiceOutputTypes = AssumeRoleCommandOutput | AssumeRoleWithSAMLCommandOutput | AssumeRoleWithWebIdentityCommandOutput | DecodeAuthorizationMessageCommandOutput | GetAccessKeyInfoCommandOutput | GetCallerIdentityCommandOutput | GetFederationTokenCommandOutput | GetSessionTokenCommandOutput;
|
29
|
-
/**
|
30
|
-
* @public
|
31
|
-
*/
|
32
|
-
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
33
|
-
/**
|
34
|
-
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
35
|
-
*/
|
36
|
-
requestHandler?: __HttpHandlerUserInput;
|
37
|
-
/**
|
38
|
-
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
39
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
40
|
-
* @internal
|
41
|
-
*/
|
42
|
-
sha256?: __ChecksumConstructor | __HashConstructor;
|
43
|
-
/**
|
44
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
45
|
-
* @internal
|
46
|
-
*/
|
47
|
-
urlParser?: __UrlParser;
|
48
|
-
/**
|
49
|
-
* A function that can calculate the length of a request body.
|
50
|
-
* @internal
|
51
|
-
*/
|
52
|
-
bodyLengthChecker?: __BodyLengthCalculator;
|
53
|
-
/**
|
54
|
-
* A function that converts a stream into an array of bytes.
|
55
|
-
* @internal
|
56
|
-
*/
|
57
|
-
streamCollector?: __StreamCollector;
|
58
|
-
/**
|
59
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
60
|
-
* @internal
|
61
|
-
*/
|
62
|
-
base64Decoder?: __Decoder;
|
63
|
-
/**
|
64
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
65
|
-
* @internal
|
66
|
-
*/
|
67
|
-
base64Encoder?: __Encoder;
|
68
|
-
/**
|
69
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
70
|
-
* @internal
|
71
|
-
*/
|
72
|
-
utf8Decoder?: __Decoder;
|
73
|
-
/**
|
74
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
75
|
-
* @internal
|
76
|
-
*/
|
77
|
-
utf8Encoder?: __Encoder;
|
78
|
-
/**
|
79
|
-
* The runtime environment.
|
80
|
-
* @internal
|
81
|
-
*/
|
82
|
-
runtime?: string;
|
83
|
-
/**
|
84
|
-
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
85
|
-
* trait of an operation.
|
86
|
-
*/
|
87
|
-
disableHostPrefix?: boolean;
|
88
|
-
/**
|
89
|
-
* Unique service identifier.
|
90
|
-
* @internal
|
91
|
-
*/
|
92
|
-
serviceId?: string;
|
93
|
-
/**
|
94
|
-
* Enables IPv6/IPv4 dualstack endpoint.
|
95
|
-
*/
|
96
|
-
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
97
|
-
/**
|
98
|
-
* Enables FIPS compatible endpoints.
|
99
|
-
*/
|
100
|
-
useFipsEndpoint?: boolean | __Provider<boolean>;
|
101
|
-
/**
|
102
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
103
|
-
* @internal
|
104
|
-
*/
|
105
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
106
|
-
/**
|
107
|
-
* The AWS region to which this client will send requests
|
108
|
-
*/
|
109
|
-
region?: string | __Provider<string>;
|
110
|
-
/**
|
111
|
-
* Default credentials provider; Not available in browser runtime.
|
112
|
-
* @deprecated
|
113
|
-
* @internal
|
114
|
-
*/
|
115
|
-
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
116
|
-
/**
|
117
|
-
* Value for how many times a request will be made at most in case of retry.
|
118
|
-
*/
|
119
|
-
maxAttempts?: number | __Provider<number>;
|
120
|
-
/**
|
121
|
-
* Specifies which retry algorithm to use.
|
122
|
-
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
123
|
-
*
|
124
|
-
*/
|
125
|
-
retryMode?: string | __Provider<string>;
|
126
|
-
/**
|
127
|
-
* Optional logger for logging debug/info/warn/error.
|
128
|
-
*/
|
129
|
-
logger?: __Logger;
|
130
|
-
/**
|
131
|
-
* Optional extensions
|
132
|
-
*/
|
133
|
-
extensions?: RuntimeExtension[];
|
134
|
-
/**
|
135
|
-
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
136
|
-
*/
|
137
|
-
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
138
|
-
}
|
139
|
-
/**
|
140
|
-
* @public
|
141
|
-
*/
|
142
|
-
export type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
143
|
-
/**
|
144
|
-
* @public
|
145
|
-
*
|
146
|
-
* The configuration interface of STSClient class constructor that set the region, credentials and other options.
|
147
|
-
*/
|
148
|
-
export interface STSClientConfig extends STSClientConfigType {
|
149
|
-
}
|
150
|
-
/**
|
151
|
-
* @public
|
152
|
-
*/
|
153
|
-
export type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
154
|
-
/**
|
155
|
-
* @public
|
156
|
-
*
|
157
|
-
* The resolved configuration interface of STSClient class. This is resolved and normalized from the {@link STSClientConfig | constructor configuration interface}.
|
158
|
-
*/
|
159
|
-
export interface STSClientResolvedConfig extends STSClientResolvedConfigType {
|
160
|
-
}
|
161
|
-
/**
|
162
|
-
* <fullname>Security Token Service</fullname>
|
163
|
-
* <p>Security Token Service (STS) enables you to request temporary, limited-privilege
|
164
|
-
* credentials for users. This guide provides descriptions of the STS API. For
|
165
|
-
* more information about using this service, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>.</p>
|
166
|
-
* @public
|
167
|
-
*/
|
168
|
-
export declare class STSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig> {
|
169
|
-
/**
|
170
|
-
* The resolved configuration of STSClient class. This is resolved and normalized from the {@link STSClientConfig | constructor configuration interface}.
|
171
|
-
*/
|
172
|
-
readonly config: STSClientResolvedConfig;
|
173
|
-
constructor(...[configuration]: __CheckOptionalClientConfig<STSClientConfig>);
|
174
|
-
/**
|
175
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
176
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
177
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
178
|
-
*/
|
179
|
-
destroy(): void;
|
180
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
181
|
-
private getIdentityProviderConfigProvider;
|
182
|
-
}
|
package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthExtensionConfiguration.d.ts
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
2
|
-
import { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
3
|
-
/**
|
4
|
-
* @internal
|
5
|
-
*/
|
6
|
-
export interface HttpAuthExtensionConfiguration {
|
7
|
-
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
8
|
-
httpAuthSchemes(): HttpAuthScheme[];
|
9
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider: STSHttpAuthSchemeProvider): void;
|
10
|
-
httpAuthSchemeProvider(): STSHttpAuthSchemeProvider;
|
11
|
-
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
12
|
-
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
13
|
-
}
|
14
|
-
/**
|
15
|
-
* @internal
|
16
|
-
*/
|
17
|
-
export type HttpAuthRuntimeConfig = Partial<{
|
18
|
-
httpAuthSchemes: HttpAuthScheme[];
|
19
|
-
httpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
20
|
-
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
21
|
-
}>;
|
22
|
-
/**
|
23
|
-
* @internal
|
24
|
-
*/
|
25
|
-
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
26
|
-
/**
|
27
|
-
* @internal
|
28
|
-
*/
|
29
|
-
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
@@ -1,71 +0,0 @@
|
|
1
|
-
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
2
|
-
import { Client, HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
3
|
-
import { STSClientResolvedConfig } from "../STSClient";
|
4
|
-
/**
|
5
|
-
* @internal
|
6
|
-
*/
|
7
|
-
export interface STSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
8
|
-
region?: string;
|
9
|
-
}
|
10
|
-
/**
|
11
|
-
* @internal
|
12
|
-
*/
|
13
|
-
export interface STSHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<STSClientResolvedConfig, HandlerExecutionContext, STSHttpAuthSchemeParameters, object> {
|
14
|
-
}
|
15
|
-
/**
|
16
|
-
* @internal
|
17
|
-
*/
|
18
|
-
export declare const defaultSTSHttpAuthSchemeParametersProvider: (config: STSClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<STSHttpAuthSchemeParameters>;
|
19
|
-
/**
|
20
|
-
* @internal
|
21
|
-
*/
|
22
|
-
export interface STSHttpAuthSchemeProvider extends HttpAuthSchemeProvider<STSHttpAuthSchemeParameters> {
|
23
|
-
}
|
24
|
-
/**
|
25
|
-
* @internal
|
26
|
-
*/
|
27
|
-
export declare const defaultSTSHttpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
28
|
-
export interface StsAuthInputConfig {
|
29
|
-
}
|
30
|
-
export interface StsAuthResolvedConfig {
|
31
|
-
/**
|
32
|
-
* Reference to STSClient class constructor.
|
33
|
-
* @internal
|
34
|
-
*/
|
35
|
-
stsClientCtor: new (clientConfig: any) => Client<any, any, any>;
|
36
|
-
}
|
37
|
-
export declare const resolveStsAuthConfig: <T>(input: T & StsAuthInputConfig) => T & StsAuthResolvedConfig;
|
38
|
-
/**
|
39
|
-
* @internal
|
40
|
-
*/
|
41
|
-
export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSigV4AuthInputConfig {
|
42
|
-
/**
|
43
|
-
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
44
|
-
* @internal
|
45
|
-
*/
|
46
|
-
httpAuthSchemes?: HttpAuthScheme[];
|
47
|
-
/**
|
48
|
-
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
49
|
-
* @internal
|
50
|
-
*/
|
51
|
-
httpAuthSchemeProvider?: STSHttpAuthSchemeProvider;
|
52
|
-
}
|
53
|
-
/**
|
54
|
-
* @internal
|
55
|
-
*/
|
56
|
-
export interface HttpAuthSchemeResolvedConfig extends StsAuthResolvedConfig, AwsSdkSigV4AuthResolvedConfig {
|
57
|
-
/**
|
58
|
-
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
59
|
-
* @internal
|
60
|
-
*/
|
61
|
-
readonly httpAuthSchemes: HttpAuthScheme[];
|
62
|
-
/**
|
63
|
-
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
64
|
-
* @internal
|
65
|
-
*/
|
66
|
-
readonly httpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
67
|
-
}
|
68
|
-
/**
|
69
|
-
* @internal
|
70
|
-
*/
|
71
|
-
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|