@cdk8s/awscdk-resolver 0.0.90 → 0.0.91
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 +2 -2
- 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,39 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getRuntimeConfig = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
6
|
-
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
7
|
-
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
8
|
-
const config_resolver_1 = require("@smithy/config-resolver");
|
9
|
-
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
10
|
-
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
11
|
-
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
12
|
-
const util_retry_1 = require("@smithy/util-retry");
|
13
|
-
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
16
|
-
const getRuntimeConfig = (config) => {
|
17
|
-
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
18
|
-
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
19
|
-
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
20
|
-
return {
|
21
|
-
...clientSharedValues,
|
22
|
-
...config,
|
23
|
-
runtime: "browser",
|
24
|
-
defaultsMode,
|
25
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
26
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
28
|
-
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
29
|
-
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
30
|
-
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
31
|
-
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
32
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
33
|
-
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
34
|
-
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
35
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
36
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
37
|
-
};
|
38
|
-
};
|
39
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
@@ -1,63 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getRuntimeConfig = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
6
|
-
const credentialDefaultProvider_1 = require("./credentialDefaultProvider");
|
7
|
-
const core_1 = require("@aws-sdk/core");
|
8
|
-
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
9
|
-
const config_resolver_1 = require("@smithy/config-resolver");
|
10
|
-
const core_2 = require("@smithy/core");
|
11
|
-
const hash_node_1 = require("@smithy/hash-node");
|
12
|
-
const middleware_retry_1 = require("@smithy/middleware-retry");
|
13
|
-
const node_config_provider_1 = require("@smithy/node-config-provider");
|
14
|
-
const node_http_handler_1 = require("@smithy/node-http-handler");
|
15
|
-
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
16
|
-
const util_retry_1 = require("@smithy/util-retry");
|
17
|
-
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
18
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
19
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
20
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
21
|
-
const getRuntimeConfig = (config) => {
|
22
|
-
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
23
|
-
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
24
|
-
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
25
|
-
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
26
|
-
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
27
|
-
return {
|
28
|
-
...clientSharedValues,
|
29
|
-
...config,
|
30
|
-
runtime: "node",
|
31
|
-
defaultsMode,
|
32
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
33
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider_1.defaultProvider,
|
34
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
35
|
-
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
36
|
-
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
37
|
-
{
|
38
|
-
schemeId: "aws.auth#sigv4",
|
39
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") ||
|
40
|
-
(async (idProps) => await (0, credentialDefaultProvider_1.defaultProvider)(idProps?.__config || {})()),
|
41
|
-
signer: new core_1.AwsSdkSigV4Signer(),
|
42
|
-
},
|
43
|
-
{
|
44
|
-
schemeId: "smithy.api#noAuth",
|
45
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
46
|
-
signer: new core_2.NoAuthSigner(),
|
47
|
-
},
|
48
|
-
],
|
49
|
-
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
50
|
-
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
51
|
-
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
52
|
-
retryMode: config?.retryMode ??
|
53
|
-
(0, node_config_provider_1.loadConfig)({
|
54
|
-
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
55
|
-
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
56
|
-
}),
|
57
|
-
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
58
|
-
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
59
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
60
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
61
|
-
};
|
62
|
-
};
|
63
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getRuntimeConfig = void 0;
|
4
|
-
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
5
|
-
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
6
|
-
const getRuntimeConfig = (config) => {
|
7
|
-
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
8
|
-
return {
|
9
|
-
...browserDefaults,
|
10
|
-
...config,
|
11
|
-
runtime: "react-native",
|
12
|
-
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
13
|
-
};
|
14
|
-
};
|
15
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
@@ -1,40 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getRuntimeConfig = void 0;
|
4
|
-
const core_1 = require("@aws-sdk/core");
|
5
|
-
const core_2 = require("@smithy/core");
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
7
|
-
const url_parser_1 = require("@smithy/url-parser");
|
8
|
-
const util_base64_1 = require("@smithy/util-base64");
|
9
|
-
const util_utf8_1 = require("@smithy/util-utf8");
|
10
|
-
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
11
|
-
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
12
|
-
const getRuntimeConfig = (config) => {
|
13
|
-
return {
|
14
|
-
apiVersion: "2011-06-15",
|
15
|
-
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
16
|
-
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
17
|
-
disableHostPrefix: config?.disableHostPrefix ?? false,
|
18
|
-
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
19
|
-
extensions: config?.extensions ?? [],
|
20
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,
|
21
|
-
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
22
|
-
{
|
23
|
-
schemeId: "aws.auth#sigv4",
|
24
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
25
|
-
signer: new core_1.AwsSdkSigV4Signer(),
|
26
|
-
},
|
27
|
-
{
|
28
|
-
schemeId: "smithy.api#noAuth",
|
29
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
30
|
-
signer: new core_2.NoAuthSigner(),
|
31
|
-
},
|
32
|
-
],
|
33
|
-
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
34
|
-
serviceId: config?.serviceId ?? "STS",
|
35
|
-
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
36
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
37
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
38
|
-
};
|
39
|
-
};
|
40
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.resolveRuntimeExtensions = void 0;
|
4
|
-
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
7
|
-
const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
|
8
|
-
const asPartial = (t) => t;
|
9
|
-
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
10
|
-
const extensionConfiguration = {
|
11
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
12
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
13
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
14
|
-
...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)),
|
15
|
-
};
|
16
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
17
|
-
return {
|
18
|
-
...runtimeConfig,
|
19
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
20
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
21
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
22
|
-
...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration),
|
23
|
-
};
|
24
|
-
};
|
25
|
-
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { createAggregatedClient } from "@smithy/smithy-client";
|
2
|
-
import { AssumeRoleCommand } from "./commands/AssumeRoleCommand";
|
3
|
-
import { AssumeRoleWithSAMLCommand, } from "./commands/AssumeRoleWithSAMLCommand";
|
4
|
-
import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand";
|
5
|
-
import { DecodeAuthorizationMessageCommand, } from "./commands/DecodeAuthorizationMessageCommand";
|
6
|
-
import { GetAccessKeyInfoCommand, } from "./commands/GetAccessKeyInfoCommand";
|
7
|
-
import { GetCallerIdentityCommand, } from "./commands/GetCallerIdentityCommand";
|
8
|
-
import { GetFederationTokenCommand, } from "./commands/GetFederationTokenCommand";
|
9
|
-
import { GetSessionTokenCommand, } from "./commands/GetSessionTokenCommand";
|
10
|
-
import { STSClient } from "./STSClient";
|
11
|
-
const commands = {
|
12
|
-
AssumeRoleCommand,
|
13
|
-
AssumeRoleWithSAMLCommand,
|
14
|
-
AssumeRoleWithWebIdentityCommand,
|
15
|
-
DecodeAuthorizationMessageCommand,
|
16
|
-
GetAccessKeyInfoCommand,
|
17
|
-
GetCallerIdentityCommand,
|
18
|
-
GetFederationTokenCommand,
|
19
|
-
GetSessionTokenCommand,
|
20
|
-
};
|
21
|
-
export class STS extends STSClient {
|
22
|
-
}
|
23
|
-
createAggregatedClient(commands, STS);
|
@@ -1,52 +0,0 @@
|
|
1
|
-
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
2
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
3
|
-
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
4
|
-
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
5
|
-
import { resolveRegionConfig } from "@smithy/config-resolver";
|
6
|
-
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
7
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
8
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
9
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
10
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
11
|
-
import { defaultSTSHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
12
|
-
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
13
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
14
|
-
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
15
|
-
export { __Client };
|
16
|
-
export class STSClient extends __Client {
|
17
|
-
constructor(...[configuration]) {
|
18
|
-
const _config_0 = __getRuntimeConfig(configuration || {});
|
19
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
20
|
-
const _config_2 = resolveRegionConfig(_config_1);
|
21
|
-
const _config_3 = resolveEndpointConfig(_config_2);
|
22
|
-
const _config_4 = resolveRetryConfig(_config_3);
|
23
|
-
const _config_5 = resolveHostHeaderConfig(_config_4);
|
24
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
25
|
-
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
26
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
27
|
-
super(_config_8);
|
28
|
-
this.config = _config_8;
|
29
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
30
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
31
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
32
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
33
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
34
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
35
|
-
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
36
|
-
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
37
|
-
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
|
38
|
-
}));
|
39
|
-
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
40
|
-
}
|
41
|
-
destroy() {
|
42
|
-
super.destroy();
|
43
|
-
}
|
44
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
45
|
-
return defaultSTSHttpAuthSchemeParametersProvider;
|
46
|
-
}
|
47
|
-
getIdentityProviderConfigProvider() {
|
48
|
-
return async (config) => new DefaultIdentityProviderConfig({
|
49
|
-
"aws.auth#sigv4": config.credentials,
|
50
|
-
});
|
51
|
-
}
|
52
|
-
}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
2
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
3
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
4
|
-
let _credentials = runtimeConfig.credentials;
|
5
|
-
return {
|
6
|
-
setHttpAuthScheme(httpAuthScheme) {
|
7
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
8
|
-
if (index === -1) {
|
9
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
10
|
-
}
|
11
|
-
else {
|
12
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
13
|
-
}
|
14
|
-
},
|
15
|
-
httpAuthSchemes() {
|
16
|
-
return _httpAuthSchemes;
|
17
|
-
},
|
18
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
19
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
20
|
-
},
|
21
|
-
httpAuthSchemeProvider() {
|
22
|
-
return _httpAuthSchemeProvider;
|
23
|
-
},
|
24
|
-
setCredentials(credentials) {
|
25
|
-
_credentials = credentials;
|
26
|
-
},
|
27
|
-
credentials() {
|
28
|
-
return _credentials;
|
29
|
-
},
|
30
|
-
};
|
31
|
-
};
|
32
|
-
export const resolveHttpAuthRuntimeConfig = (config) => {
|
33
|
-
return {
|
34
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
35
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
36
|
-
credentials: config.credentials(),
|
37
|
-
};
|
38
|
-
};
|
@@ -1,60 +0,0 @@
|
|
1
|
-
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
|
2
|
-
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
3
|
-
import { STSClient } from "../STSClient";
|
4
|
-
export const defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
5
|
-
return {
|
6
|
-
operation: getSmithyContext(context).operation,
|
7
|
-
region: (await normalizeProvider(config.region)()) ||
|
8
|
-
(() => {
|
9
|
-
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
10
|
-
})(),
|
11
|
-
};
|
12
|
-
};
|
13
|
-
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
14
|
-
return {
|
15
|
-
schemeId: "aws.auth#sigv4",
|
16
|
-
signingProperties: {
|
17
|
-
name: "sts",
|
18
|
-
region: authParameters.region,
|
19
|
-
},
|
20
|
-
propertiesExtractor: (config, context) => ({
|
21
|
-
signingProperties: {
|
22
|
-
config,
|
23
|
-
context,
|
24
|
-
},
|
25
|
-
}),
|
26
|
-
};
|
27
|
-
}
|
28
|
-
function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
29
|
-
return {
|
30
|
-
schemeId: "smithy.api#noAuth",
|
31
|
-
};
|
32
|
-
}
|
33
|
-
export const defaultSTSHttpAuthSchemeProvider = (authParameters) => {
|
34
|
-
const options = [];
|
35
|
-
switch (authParameters.operation) {
|
36
|
-
case "AssumeRoleWithSAML": {
|
37
|
-
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
38
|
-
break;
|
39
|
-
}
|
40
|
-
case "AssumeRoleWithWebIdentity": {
|
41
|
-
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
42
|
-
break;
|
43
|
-
}
|
44
|
-
default: {
|
45
|
-
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
46
|
-
}
|
47
|
-
}
|
48
|
-
return options;
|
49
|
-
};
|
50
|
-
export const resolveStsAuthConfig = (input) => ({
|
51
|
-
...input,
|
52
|
-
stsClientCtor: STSClient,
|
53
|
-
});
|
54
|
-
export const resolveHttpAuthSchemeConfig = (config) => {
|
55
|
-
const config_0 = resolveStsAuthConfig(config);
|
56
|
-
const config_1 = resolveAwsSdkSigV4Config(config_0);
|
57
|
-
return {
|
58
|
-
...config_1,
|
59
|
-
};
|
60
|
-
};
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
5
|
-
import { AssumeRoleResponseFilterSensitiveLog } from "../models/models_0";
|
6
|
-
import { de_AssumeRoleCommand, se_AssumeRoleCommand } from "../protocols/Aws_query";
|
7
|
-
export { $Command };
|
8
|
-
export class AssumeRoleCommand extends $Command
|
9
|
-
.classBuilder()
|
10
|
-
.ep({
|
11
|
-
...commonParams,
|
12
|
-
})
|
13
|
-
.m(function (Command, cs, config, o) {
|
14
|
-
return [
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
17
|
-
];
|
18
|
-
})
|
19
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRole", {})
|
20
|
-
.n("STSClient", "AssumeRoleCommand")
|
21
|
-
.f(void 0, AssumeRoleResponseFilterSensitiveLog)
|
22
|
-
.ser(se_AssumeRoleCommand)
|
23
|
-
.de(de_AssumeRoleCommand)
|
24
|
-
.build() {
|
25
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
5
|
-
import { AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog, } from "../models/models_0";
|
6
|
-
import { de_AssumeRoleWithSAMLCommand, se_AssumeRoleWithSAMLCommand } from "../protocols/Aws_query";
|
7
|
-
export { $Command };
|
8
|
-
export class AssumeRoleWithSAMLCommand extends $Command
|
9
|
-
.classBuilder()
|
10
|
-
.ep({
|
11
|
-
...commonParams,
|
12
|
-
})
|
13
|
-
.m(function (Command, cs, config, o) {
|
14
|
-
return [
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
17
|
-
];
|
18
|
-
})
|
19
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithSAML", {})
|
20
|
-
.n("STSClient", "AssumeRoleWithSAMLCommand")
|
21
|
-
.f(AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog)
|
22
|
-
.ser(se_AssumeRoleWithSAMLCommand)
|
23
|
-
.de(de_AssumeRoleWithSAMLCommand)
|
24
|
-
.build() {
|
25
|
-
}
|
package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
5
|
-
import { AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, } from "../models/models_0";
|
6
|
-
import { de_AssumeRoleWithWebIdentityCommand, se_AssumeRoleWithWebIdentityCommand } from "../protocols/Aws_query";
|
7
|
-
export { $Command };
|
8
|
-
export class AssumeRoleWithWebIdentityCommand extends $Command
|
9
|
-
.classBuilder()
|
10
|
-
.ep({
|
11
|
-
...commonParams,
|
12
|
-
})
|
13
|
-
.m(function (Command, cs, config, o) {
|
14
|
-
return [
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
17
|
-
];
|
18
|
-
})
|
19
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {})
|
20
|
-
.n("STSClient", "AssumeRoleWithWebIdentityCommand")
|
21
|
-
.f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog)
|
22
|
-
.ser(se_AssumeRoleWithWebIdentityCommand)
|
23
|
-
.de(de_AssumeRoleWithWebIdentityCommand)
|
24
|
-
.build() {
|
25
|
-
}
|
package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
5
|
-
import { de_DecodeAuthorizationMessageCommand, se_DecodeAuthorizationMessageCommand } from "../protocols/Aws_query";
|
6
|
-
export { $Command };
|
7
|
-
export class DecodeAuthorizationMessageCommand extends $Command
|
8
|
-
.classBuilder()
|
9
|
-
.ep({
|
10
|
-
...commonParams,
|
11
|
-
})
|
12
|
-
.m(function (Command, cs, config, o) {
|
13
|
-
return [
|
14
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
15
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
16
|
-
];
|
17
|
-
})
|
18
|
-
.s("AWSSecurityTokenServiceV20110615", "DecodeAuthorizationMessage", {})
|
19
|
-
.n("STSClient", "DecodeAuthorizationMessageCommand")
|
20
|
-
.f(void 0, void 0)
|
21
|
-
.ser(se_DecodeAuthorizationMessageCommand)
|
22
|
-
.de(de_DecodeAuthorizationMessageCommand)
|
23
|
-
.build() {
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
5
|
-
import { de_GetAccessKeyInfoCommand, se_GetAccessKeyInfoCommand } from "../protocols/Aws_query";
|
6
|
-
export { $Command };
|
7
|
-
export class GetAccessKeyInfoCommand extends $Command
|
8
|
-
.classBuilder()
|
9
|
-
.ep({
|
10
|
-
...commonParams,
|
11
|
-
})
|
12
|
-
.m(function (Command, cs, config, o) {
|
13
|
-
return [
|
14
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
15
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
16
|
-
];
|
17
|
-
})
|
18
|
-
.s("AWSSecurityTokenServiceV20110615", "GetAccessKeyInfo", {})
|
19
|
-
.n("STSClient", "GetAccessKeyInfoCommand")
|
20
|
-
.f(void 0, void 0)
|
21
|
-
.ser(se_GetAccessKeyInfoCommand)
|
22
|
-
.de(de_GetAccessKeyInfoCommand)
|
23
|
-
.build() {
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
5
|
-
import { de_GetCallerIdentityCommand, se_GetCallerIdentityCommand } from "../protocols/Aws_query";
|
6
|
-
export { $Command };
|
7
|
-
export class GetCallerIdentityCommand extends $Command
|
8
|
-
.classBuilder()
|
9
|
-
.ep({
|
10
|
-
...commonParams,
|
11
|
-
})
|
12
|
-
.m(function (Command, cs, config, o) {
|
13
|
-
return [
|
14
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
15
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
16
|
-
];
|
17
|
-
})
|
18
|
-
.s("AWSSecurityTokenServiceV20110615", "GetCallerIdentity", {})
|
19
|
-
.n("STSClient", "GetCallerIdentityCommand")
|
20
|
-
.f(void 0, void 0)
|
21
|
-
.ser(se_GetCallerIdentityCommand)
|
22
|
-
.de(de_GetCallerIdentityCommand)
|
23
|
-
.build() {
|
24
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
5
|
-
import { GetFederationTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
6
|
-
import { de_GetFederationTokenCommand, se_GetFederationTokenCommand } from "../protocols/Aws_query";
|
7
|
-
export { $Command };
|
8
|
-
export class GetFederationTokenCommand extends $Command
|
9
|
-
.classBuilder()
|
10
|
-
.ep({
|
11
|
-
...commonParams,
|
12
|
-
})
|
13
|
-
.m(function (Command, cs, config, o) {
|
14
|
-
return [
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
17
|
-
];
|
18
|
-
})
|
19
|
-
.s("AWSSecurityTokenServiceV20110615", "GetFederationToken", {})
|
20
|
-
.n("STSClient", "GetFederationTokenCommand")
|
21
|
-
.f(void 0, GetFederationTokenResponseFilterSensitiveLog)
|
22
|
-
.ser(se_GetFederationTokenCommand)
|
23
|
-
.de(de_GetFederationTokenCommand)
|
24
|
-
.build() {
|
25
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
5
|
-
import { GetSessionTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
6
|
-
import { de_GetSessionTokenCommand, se_GetSessionTokenCommand } from "../protocols/Aws_query";
|
7
|
-
export { $Command };
|
8
|
-
export class GetSessionTokenCommand extends $Command
|
9
|
-
.classBuilder()
|
10
|
-
.ep({
|
11
|
-
...commonParams,
|
12
|
-
})
|
13
|
-
.m(function (Command, cs, config, o) {
|
14
|
-
return [
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
17
|
-
];
|
18
|
-
})
|
19
|
-
.s("AWSSecurityTokenServiceV20110615", "GetSessionToken", {})
|
20
|
-
.n("STSClient", "GetSessionTokenCommand")
|
21
|
-
.f(void 0, GetSessionTokenResponseFilterSensitiveLog)
|
22
|
-
.ser(se_GetSessionTokenCommand)
|
23
|
-
.de(de_GetSessionTokenCommand)
|
24
|
-
.build() {
|
25
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export * from "./AssumeRoleCommand";
|
2
|
-
export * from "./AssumeRoleWithSAMLCommand";
|
3
|
-
export * from "./AssumeRoleWithWebIdentityCommand";
|
4
|
-
export * from "./DecodeAuthorizationMessageCommand";
|
5
|
-
export * from "./GetAccessKeyInfoCommand";
|
6
|
-
export * from "./GetCallerIdentityCommand";
|
7
|
-
export * from "./GetFederationTokenCommand";
|
8
|
-
export * from "./GetSessionTokenCommand";
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { getDefaultRoleAssumer as StsGetDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity as StsGetDefaultRoleAssumerWithWebIdentity, } from "./defaultStsRoleAssumers";
|
2
|
-
import { STSClient } from "./STSClient";
|
3
|
-
const getCustomizableStsClientCtor = (baseCtor, customizations) => {
|
4
|
-
if (!customizations)
|
5
|
-
return baseCtor;
|
6
|
-
else
|
7
|
-
return class CustomizableSTSClient extends baseCtor {
|
8
|
-
constructor(config) {
|
9
|
-
super(config);
|
10
|
-
for (const customization of customizations) {
|
11
|
-
this.middlewareStack.use(customization);
|
12
|
-
}
|
13
|
-
}
|
14
|
-
};
|
15
|
-
};
|
16
|
-
export const getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => StsGetDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));
|
17
|
-
export const getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => StsGetDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));
|
18
|
-
export const decorateDefaultCredentialProvider = (provider) => (input) => provider({
|
19
|
-
roleAssumer: getDefaultRoleAssumer(input),
|
20
|
-
roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input),
|
21
|
-
...input,
|
22
|
-
});
|