@cdk8s/awscdk-resolver 0.0.233 → 0.0.235
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 +12 -14
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -11
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- 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/package.json +4 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/README.md +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/auth/httpAuthSchemeProvider.js +0 -8
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/index.js +122 -498
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/runtimeConfig.js +1 -3
- package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/auth/httpAuthSchemeProvider.js +0 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
- package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/index.js +99 -695
- package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js +9 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/auth/httpAuthSchemeProvider.js +0 -8
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +103 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/models/models_0.js +12 -85
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/protocols/Aws_restJson1.js +2 -174
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/runtimeConfig.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +11 -0
- package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/auth/httpAuthSchemeProvider.js +0 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +142 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/models/models_0.js +16 -48
- package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/protocols/Aws_query.js +10 -420
- package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/index.d.ts +7 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/SSOOIDC.d.ts +0 -21
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/SSOOIDCClient.d.ts +3 -12
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/commands/CreateTokenCommand.d.ts +3 -50
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +396 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +11 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/runtimeConfig.browser.d.ts +0 -1
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/runtimeConfig.d.ts +0 -1
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/runtimeConfig.native.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +27 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/STSClient.d.ts +2 -9
- package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/commands/AssumeRoleCommand.d.ts +0 -47
- package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/commands/AssumeRoleWithWebIdentityCommand.d.ts +0 -34
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/models/models_0.d.ts +16 -630
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +20 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +22 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/SSOOIDCClient.d.ts +2 -24
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/commands/CreateTokenCommand.d.ts +5 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/models/models_0.d.ts +6 -99
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +17 -0
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/runtimeConfig.browser.d.ts +0 -5
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/runtimeConfig.d.ts +0 -9
- package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/runtimeConfig.native.d.ts +0 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +39 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/STSClient.d.ts +2 -44
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/models/models_0.d.ts +10 -105
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +29 -0
- package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/runtimeConfig.d.ts +3 -9
- package/node_modules/@aws-sdk/{client-sts → nested-clients}/package.json +53 -40
- package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/sso-oidc.js +5 -0
- package/node_modules/@aws-sdk/nested-clients/sts.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/sts.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
- 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/dist-types/getNewSsoOidcToken.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +3 -5
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +6 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -1
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/package.json +6 -6
- 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/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +0 -15
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +0 -23
- 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/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +0 -257
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +0 -143
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +0 -123
- 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/models/models_0.d.ts +0 -795
- 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/ts3.4/SSOOIDC.d.ts +0 -73
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +0 -50
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +0 -51
- 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/protocols/Aws_restJson1.d.ts +0 -53
- 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 -281
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +0 -25
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +0 -22
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +0 -22
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +0 -22
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +0 -23
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +0 -9
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +0 -78
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +0 -294
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRootCommand.d.ts +0 -129
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +0 -127
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +0 -87
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +0 -128
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +0 -242
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +0 -166
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +0 -9
- package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +0 -83
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +0 -160
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +0 -47
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +0 -50
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +0 -50
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +0 -9
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -113
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-cjs → nested-clients/dist-cjs/submodules/sso-oidc}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/STSClient.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/auth/httpAuthExtensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/endpoint/EndpointParameters.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-cjs → nested-clients/dist-cjs/submodules/sts}/runtimeExtensions.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es/extensionConfiguration.js → nested-clients/dist-es/index.js} +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/SSOOIDCClient.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/auth/httpAuthExtensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/commands/CreateTokenCommand.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/endpoint/EndpointParameters.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sso-oidc}/extensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/index.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/models/SSOOIDCServiceException.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/models/index.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-es → nested-clients/dist-es/submodules/sso-oidc}/runtimeExtensions.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/STSClient.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/auth/httpAuthExtensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/commands/AssumeRoleCommand.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/commands/AssumeRoleWithWebIdentityCommand.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/defaultRoleAssumers.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/defaultStsRoleAssumers.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/endpoint/EndpointParameters.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/index.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/models/STSServiceException.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/models/index.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-es → nested-clients/dist-es/submodules/sts}/runtimeExtensions.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/auth/httpAuthExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/models/SSOOIDCServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/models/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types → nested-clients/dist-types/submodules/sso-oidc}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/auth/httpAuthExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/defaultRoleAssumers.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/defaultStsRoleAssumers.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/submodules/sts}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/models/STSServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/submodules/sts}/models/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/runtimeConfig.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/runtimeConfig.native.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/submodules/sts}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/auth/httpAuthExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/models/SSOOIDCServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/models/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso-oidc/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso-oidc}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/auth/httpAuthExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/commands/AssumeRoleCommand.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/commands/AssumeRoleWithWebIdentityCommand.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/defaultRoleAssumers.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/defaultStsRoleAssumers.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/models/STSServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/models/index.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/runtimeConfig.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/runtimeConfig.native.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sts/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sts}/runtimeExtensions.d.ts +0 -0
@@ -18,41 +18,32 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
};
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
|
-
// src/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
21
|
+
// src/submodules/sso-oidc/index.ts
|
22
|
+
var sso_oidc_exports = {};
|
23
|
+
__export(sso_oidc_exports, {
|
24
|
+
$Command: () => import_smithy_client6.Command,
|
24
25
|
AccessDeniedException: () => AccessDeniedException,
|
25
26
|
AuthorizationPendingException: () => AuthorizationPendingException,
|
26
27
|
CreateTokenCommand: () => CreateTokenCommand,
|
27
28
|
CreateTokenRequestFilterSensitiveLog: () => CreateTokenRequestFilterSensitiveLog,
|
28
29
|
CreateTokenResponseFilterSensitiveLog: () => CreateTokenResponseFilterSensitiveLog,
|
29
|
-
CreateTokenWithIAMCommand: () => CreateTokenWithIAMCommand,
|
30
|
-
CreateTokenWithIAMRequestFilterSensitiveLog: () => CreateTokenWithIAMRequestFilterSensitiveLog,
|
31
|
-
CreateTokenWithIAMResponseFilterSensitiveLog: () => CreateTokenWithIAMResponseFilterSensitiveLog,
|
32
30
|
ExpiredTokenException: () => ExpiredTokenException,
|
33
31
|
InternalServerException: () => InternalServerException,
|
34
32
|
InvalidClientException: () => InvalidClientException,
|
35
|
-
InvalidClientMetadataException: () => InvalidClientMetadataException,
|
36
33
|
InvalidGrantException: () => InvalidGrantException,
|
37
|
-
InvalidRedirectUriException: () => InvalidRedirectUriException,
|
38
34
|
InvalidRequestException: () => InvalidRequestException,
|
39
|
-
InvalidRequestRegionException: () => InvalidRequestRegionException,
|
40
35
|
InvalidScopeException: () => InvalidScopeException,
|
41
|
-
RegisterClientCommand: () => RegisterClientCommand,
|
42
|
-
RegisterClientResponseFilterSensitiveLog: () => RegisterClientResponseFilterSensitiveLog,
|
43
36
|
SSOOIDC: () => SSOOIDC,
|
44
37
|
SSOOIDCClient: () => SSOOIDCClient,
|
45
38
|
SSOOIDCServiceException: () => SSOOIDCServiceException,
|
46
39
|
SlowDownException: () => SlowDownException,
|
47
|
-
StartDeviceAuthorizationCommand: () => StartDeviceAuthorizationCommand,
|
48
|
-
StartDeviceAuthorizationRequestFilterSensitiveLog: () => StartDeviceAuthorizationRequestFilterSensitiveLog,
|
49
40
|
UnauthorizedClientException: () => UnauthorizedClientException,
|
50
41
|
UnsupportedGrantTypeException: () => UnsupportedGrantTypeException,
|
51
|
-
__Client: () =>
|
42
|
+
__Client: () => import_smithy_client2.Client
|
52
43
|
});
|
53
|
-
module.exports = __toCommonJS(
|
44
|
+
module.exports = __toCommonJS(sso_oidc_exports);
|
54
45
|
|
55
|
-
// src/SSOOIDCClient.ts
|
46
|
+
// src/submodules/sso-oidc/SSOOIDCClient.ts
|
56
47
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
57
48
|
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
58
49
|
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
@@ -62,10 +53,10 @@ var import_core = require("@smithy/core");
|
|
62
53
|
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
63
54
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
64
55
|
var import_middleware_retry = require("@smithy/middleware-retry");
|
65
|
-
|
56
|
+
var import_smithy_client2 = require("@smithy/smithy-client");
|
66
57
|
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
67
58
|
|
68
|
-
// src/endpoint/EndpointParameters.ts
|
59
|
+
// src/submodules/sso-oidc/endpoint/EndpointParameters.ts
|
69
60
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
70
61
|
return {
|
71
62
|
...options,
|
@@ -81,15 +72,15 @@ var commonParams = {
|
|
81
72
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
82
73
|
};
|
83
74
|
|
84
|
-
// src/SSOOIDCClient.ts
|
85
|
-
var import_runtimeConfig = require("
|
75
|
+
// src/submodules/sso-oidc/SSOOIDCClient.ts
|
76
|
+
var import_runtimeConfig = require("./runtimeConfig");
|
86
77
|
|
87
|
-
// src/runtimeExtensions.ts
|
78
|
+
// src/submodules/sso-oidc/runtimeExtensions.ts
|
88
79
|
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
89
80
|
var import_protocol_http = require("@smithy/protocol-http");
|
90
81
|
var import_smithy_client = require("@smithy/smithy-client");
|
91
82
|
|
92
|
-
// src/auth/httpAuthExtensionConfiguration.ts
|
83
|
+
// src/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.ts
|
93
84
|
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
94
85
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
95
86
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
@@ -128,7 +119,7 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
128
119
|
};
|
129
120
|
}, "resolveHttpAuthRuntimeConfig");
|
130
121
|
|
131
|
-
// src/runtimeExtensions.ts
|
122
|
+
// src/submodules/sso-oidc/runtimeExtensions.ts
|
132
123
|
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
133
124
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
134
125
|
const extensionConfiguration = {
|
@@ -147,8 +138,8 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
147
138
|
};
|
148
139
|
}, "resolveRuntimeExtensions");
|
149
140
|
|
150
|
-
// src/SSOOIDCClient.ts
|
151
|
-
var SSOOIDCClient = class extends
|
141
|
+
// src/submodules/sso-oidc/SSOOIDCClient.ts
|
142
|
+
var SSOOIDCClient = class extends import_smithy_client2.Client {
|
152
143
|
static {
|
153
144
|
__name(this, "SSOOIDCClient");
|
154
145
|
}
|
@@ -194,20 +185,20 @@ var SSOOIDCClient = class extends import_smithy_client.Client {
|
|
194
185
|
}
|
195
186
|
};
|
196
187
|
|
197
|
-
// src/SSOOIDC.ts
|
198
|
-
|
199
|
-
|
200
|
-
// src/commands/CreateTokenCommand.ts
|
188
|
+
// src/submodules/sso-oidc/SSOOIDC.ts
|
189
|
+
var import_smithy_client7 = require("@smithy/smithy-client");
|
201
190
|
|
191
|
+
// src/submodules/sso-oidc/commands/CreateTokenCommand.ts
|
192
|
+
var import_middleware_endpoint2 = require("@smithy/middleware-endpoint");
|
202
193
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
194
|
+
var import_smithy_client6 = require("@smithy/smithy-client");
|
203
195
|
|
196
|
+
// src/submodules/sso-oidc/models/models_0.ts
|
197
|
+
var import_smithy_client4 = require("@smithy/smithy-client");
|
204
198
|
|
205
|
-
// src/models/
|
206
|
-
|
207
|
-
|
208
|
-
// src/models/SSOOIDCServiceException.ts
|
209
|
-
|
210
|
-
var SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smithy_client.ServiceException {
|
199
|
+
// src/submodules/sso-oidc/models/SSOOIDCServiceException.ts
|
200
|
+
var import_smithy_client3 = require("@smithy/smithy-client");
|
201
|
+
var SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smithy_client3.ServiceException {
|
211
202
|
static {
|
212
203
|
__name(this, "SSOOIDCServiceException");
|
213
204
|
}
|
@@ -220,7 +211,7 @@ var SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smit
|
|
220
211
|
}
|
221
212
|
};
|
222
213
|
|
223
|
-
// src/models/models_0.ts
|
214
|
+
// src/submodules/sso-oidc/models/models_0.ts
|
224
215
|
var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
|
225
216
|
static {
|
226
217
|
__name(this, "AccessDeniedException");
|
@@ -285,6 +276,18 @@ var AuthorizationPendingException = class _AuthorizationPendingException extends
|
|
285
276
|
this.error_description = opts.error_description;
|
286
277
|
}
|
287
278
|
};
|
279
|
+
var CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
280
|
+
...obj,
|
281
|
+
...obj.clientSecret && { clientSecret: import_smithy_client4.SENSITIVE_STRING },
|
282
|
+
...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },
|
283
|
+
...obj.codeVerifier && { codeVerifier: import_smithy_client4.SENSITIVE_STRING }
|
284
|
+
}), "CreateTokenRequestFilterSensitiveLog");
|
285
|
+
var CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
286
|
+
...obj,
|
287
|
+
...obj.accessToken && { accessToken: import_smithy_client4.SENSITIVE_STRING },
|
288
|
+
...obj.refreshToken && { refreshToken: import_smithy_client4.SENSITIVE_STRING },
|
289
|
+
...obj.idToken && { idToken: import_smithy_client4.SENSITIVE_STRING }
|
290
|
+
}), "CreateTokenResponseFilterSensitiveLog");
|
288
291
|
var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {
|
289
292
|
static {
|
290
293
|
__name(this, "ExpiredTokenException");
|
@@ -573,161 +576,20 @@ var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends
|
|
573
576
|
this.error_description = opts.error_description;
|
574
577
|
}
|
575
578
|
};
|
576
|
-
var InvalidRequestRegionException = class _InvalidRequestRegionException extends SSOOIDCServiceException {
|
577
|
-
static {
|
578
|
-
__name(this, "InvalidRequestRegionException");
|
579
|
-
}
|
580
|
-
name = "InvalidRequestRegionException";
|
581
|
-
$fault = "client";
|
582
|
-
/**
|
583
|
-
* <p>Single error code.
|
584
|
-
* For this exception the value will be <code>invalid_request</code>.</p>
|
585
|
-
* @public
|
586
|
-
*/
|
587
|
-
error;
|
588
|
-
/**
|
589
|
-
* <p>Human-readable text providing additional information, used to assist the
|
590
|
-
* client developer in understanding the error that occurred.</p>
|
591
|
-
* @public
|
592
|
-
*/
|
593
|
-
error_description;
|
594
|
-
/**
|
595
|
-
* <p>Indicates the IAM Identity Center endpoint which the requester may call with this token.</p>
|
596
|
-
* @public
|
597
|
-
*/
|
598
|
-
endpoint;
|
599
|
-
/**
|
600
|
-
* <p>Indicates the region which the requester may call with this token.</p>
|
601
|
-
* @public
|
602
|
-
*/
|
603
|
-
region;
|
604
|
-
/**
|
605
|
-
* @internal
|
606
|
-
*/
|
607
|
-
constructor(opts) {
|
608
|
-
super({
|
609
|
-
name: "InvalidRequestRegionException",
|
610
|
-
$fault: "client",
|
611
|
-
...opts
|
612
|
-
});
|
613
|
-
Object.setPrototypeOf(this, _InvalidRequestRegionException.prototype);
|
614
|
-
this.error = opts.error;
|
615
|
-
this.error_description = opts.error_description;
|
616
|
-
this.endpoint = opts.endpoint;
|
617
|
-
this.region = opts.region;
|
618
|
-
}
|
619
|
-
};
|
620
|
-
var InvalidClientMetadataException = class _InvalidClientMetadataException extends SSOOIDCServiceException {
|
621
|
-
static {
|
622
|
-
__name(this, "InvalidClientMetadataException");
|
623
|
-
}
|
624
|
-
name = "InvalidClientMetadataException";
|
625
|
-
$fault = "client";
|
626
|
-
/**
|
627
|
-
* <p>Single error code.
|
628
|
-
* For this exception the value will be <code>invalid_client_metadata</code>.</p>
|
629
|
-
* @public
|
630
|
-
*/
|
631
|
-
error;
|
632
|
-
/**
|
633
|
-
* <p>Human-readable text providing additional information, used to assist the
|
634
|
-
* client developer in understanding the error that occurred.</p>
|
635
|
-
* @public
|
636
|
-
*/
|
637
|
-
error_description;
|
638
|
-
/**
|
639
|
-
* @internal
|
640
|
-
*/
|
641
|
-
constructor(opts) {
|
642
|
-
super({
|
643
|
-
name: "InvalidClientMetadataException",
|
644
|
-
$fault: "client",
|
645
|
-
...opts
|
646
|
-
});
|
647
|
-
Object.setPrototypeOf(this, _InvalidClientMetadataException.prototype);
|
648
|
-
this.error = opts.error;
|
649
|
-
this.error_description = opts.error_description;
|
650
|
-
}
|
651
|
-
};
|
652
|
-
var InvalidRedirectUriException = class _InvalidRedirectUriException extends SSOOIDCServiceException {
|
653
|
-
static {
|
654
|
-
__name(this, "InvalidRedirectUriException");
|
655
|
-
}
|
656
|
-
name = "InvalidRedirectUriException";
|
657
|
-
$fault = "client";
|
658
|
-
/**
|
659
|
-
* <p>Single error code.
|
660
|
-
* For this exception the value will be <code>invalid_redirect_uri</code>.</p>
|
661
|
-
* @public
|
662
|
-
*/
|
663
|
-
error;
|
664
|
-
/**
|
665
|
-
* <p>Human-readable text providing additional information, used to assist the
|
666
|
-
* client developer in understanding the error that occurred.</p>
|
667
|
-
* @public
|
668
|
-
*/
|
669
|
-
error_description;
|
670
|
-
/**
|
671
|
-
* @internal
|
672
|
-
*/
|
673
|
-
constructor(opts) {
|
674
|
-
super({
|
675
|
-
name: "InvalidRedirectUriException",
|
676
|
-
$fault: "client",
|
677
|
-
...opts
|
678
|
-
});
|
679
|
-
Object.setPrototypeOf(this, _InvalidRedirectUriException.prototype);
|
680
|
-
this.error = opts.error;
|
681
|
-
this.error_description = opts.error_description;
|
682
|
-
}
|
683
|
-
};
|
684
|
-
var CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
685
|
-
...obj,
|
686
|
-
...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING },
|
687
|
-
...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING },
|
688
|
-
...obj.codeVerifier && { codeVerifier: import_smithy_client.SENSITIVE_STRING }
|
689
|
-
}), "CreateTokenRequestFilterSensitiveLog");
|
690
|
-
var CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
691
|
-
...obj,
|
692
|
-
...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING },
|
693
|
-
...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING },
|
694
|
-
...obj.idToken && { idToken: import_smithy_client.SENSITIVE_STRING }
|
695
|
-
}), "CreateTokenResponseFilterSensitiveLog");
|
696
|
-
var CreateTokenWithIAMRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
697
|
-
...obj,
|
698
|
-
...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING },
|
699
|
-
...obj.assertion && { assertion: import_smithy_client.SENSITIVE_STRING },
|
700
|
-
...obj.subjectToken && { subjectToken: import_smithy_client.SENSITIVE_STRING },
|
701
|
-
...obj.codeVerifier && { codeVerifier: import_smithy_client.SENSITIVE_STRING }
|
702
|
-
}), "CreateTokenWithIAMRequestFilterSensitiveLog");
|
703
|
-
var CreateTokenWithIAMResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
704
|
-
...obj,
|
705
|
-
...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING },
|
706
|
-
...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING },
|
707
|
-
...obj.idToken && { idToken: import_smithy_client.SENSITIVE_STRING }
|
708
|
-
}), "CreateTokenWithIAMResponseFilterSensitiveLog");
|
709
|
-
var RegisterClientResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
710
|
-
...obj,
|
711
|
-
...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING }
|
712
|
-
}), "RegisterClientResponseFilterSensitiveLog");
|
713
|
-
var StartDeviceAuthorizationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
714
|
-
...obj,
|
715
|
-
...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING }
|
716
|
-
}), "StartDeviceAuthorizationRequestFilterSensitiveLog");
|
717
579
|
|
718
|
-
// src/protocols/Aws_restJson1.ts
|
580
|
+
// src/submodules/sso-oidc/protocols/Aws_restJson1.ts
|
719
581
|
var import_core2 = require("@aws-sdk/core");
|
720
|
-
|
721
|
-
|
582
|
+
var import_core3 = require("@smithy/core");
|
583
|
+
var import_smithy_client5 = require("@smithy/smithy-client");
|
722
584
|
var se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
723
|
-
const b = (0,
|
585
|
+
const b = (0, import_core3.requestBuilder)(input, context);
|
724
586
|
const headers = {
|
725
587
|
"content-type": "application/json"
|
726
588
|
};
|
727
589
|
b.bp("/token");
|
728
590
|
let body;
|
729
591
|
body = JSON.stringify(
|
730
|
-
(0,
|
592
|
+
(0, import_smithy_client5.take)(input, {
|
731
593
|
clientId: [],
|
732
594
|
clientSecret: [],
|
733
595
|
code: [],
|
@@ -736,154 +598,30 @@ var se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
736
598
|
grantType: [],
|
737
599
|
redirectUri: [],
|
738
600
|
refreshToken: [],
|
739
|
-
scope: (_) => (0,
|
601
|
+
scope: (_) => (0, import_smithy_client5._json)(_)
|
740
602
|
})
|
741
603
|
);
|
742
604
|
b.m("POST").h(headers).b(body);
|
743
605
|
return b.build();
|
744
606
|
}, "se_CreateTokenCommand");
|
745
|
-
var se_CreateTokenWithIAMCommand = /* @__PURE__ */ __name(async (input, context) => {
|
746
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
747
|
-
const headers = {
|
748
|
-
"content-type": "application/json"
|
749
|
-
};
|
750
|
-
b.bp("/token");
|
751
|
-
const query = (0, import_smithy_client.map)({
|
752
|
-
[_ai]: [, "t"]
|
753
|
-
});
|
754
|
-
let body;
|
755
|
-
body = JSON.stringify(
|
756
|
-
(0, import_smithy_client.take)(input, {
|
757
|
-
assertion: [],
|
758
|
-
clientId: [],
|
759
|
-
code: [],
|
760
|
-
codeVerifier: [],
|
761
|
-
grantType: [],
|
762
|
-
redirectUri: [],
|
763
|
-
refreshToken: [],
|
764
|
-
requestedTokenType: [],
|
765
|
-
scope: (_) => (0, import_smithy_client._json)(_),
|
766
|
-
subjectToken: [],
|
767
|
-
subjectTokenType: []
|
768
|
-
})
|
769
|
-
);
|
770
|
-
b.m("POST").h(headers).q(query).b(body);
|
771
|
-
return b.build();
|
772
|
-
}, "se_CreateTokenWithIAMCommand");
|
773
|
-
var se_RegisterClientCommand = /* @__PURE__ */ __name(async (input, context) => {
|
774
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
775
|
-
const headers = {
|
776
|
-
"content-type": "application/json"
|
777
|
-
};
|
778
|
-
b.bp("/client/register");
|
779
|
-
let body;
|
780
|
-
body = JSON.stringify(
|
781
|
-
(0, import_smithy_client.take)(input, {
|
782
|
-
clientName: [],
|
783
|
-
clientType: [],
|
784
|
-
entitledApplicationArn: [],
|
785
|
-
grantTypes: (_) => (0, import_smithy_client._json)(_),
|
786
|
-
issuerUrl: [],
|
787
|
-
redirectUris: (_) => (0, import_smithy_client._json)(_),
|
788
|
-
scopes: (_) => (0, import_smithy_client._json)(_)
|
789
|
-
})
|
790
|
-
);
|
791
|
-
b.m("POST").h(headers).b(body);
|
792
|
-
return b.build();
|
793
|
-
}, "se_RegisterClientCommand");
|
794
|
-
var se_StartDeviceAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
795
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
796
|
-
const headers = {
|
797
|
-
"content-type": "application/json"
|
798
|
-
};
|
799
|
-
b.bp("/device_authorization");
|
800
|
-
let body;
|
801
|
-
body = JSON.stringify(
|
802
|
-
(0, import_smithy_client.take)(input, {
|
803
|
-
clientId: [],
|
804
|
-
clientSecret: [],
|
805
|
-
startUrl: []
|
806
|
-
})
|
807
|
-
);
|
808
|
-
b.m("POST").h(headers).b(body);
|
809
|
-
return b.build();
|
810
|
-
}, "se_StartDeviceAuthorizationCommand");
|
811
607
|
var de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
812
608
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
813
609
|
return de_CommandError(output, context);
|
814
610
|
}
|
815
|
-
const contents = (0,
|
611
|
+
const contents = (0, import_smithy_client5.map)({
|
816
612
|
$metadata: deserializeMetadata(output)
|
817
613
|
});
|
818
|
-
const data = (0,
|
819
|
-
const doc = (0,
|
820
|
-
accessToken:
|
821
|
-
expiresIn:
|
822
|
-
idToken:
|
823
|
-
refreshToken:
|
824
|
-
tokenType:
|
614
|
+
const data = (0, import_smithy_client5.expectNonNull)((0, import_smithy_client5.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
615
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
616
|
+
accessToken: import_smithy_client5.expectString,
|
617
|
+
expiresIn: import_smithy_client5.expectInt32,
|
618
|
+
idToken: import_smithy_client5.expectString,
|
619
|
+
refreshToken: import_smithy_client5.expectString,
|
620
|
+
tokenType: import_smithy_client5.expectString
|
825
621
|
});
|
826
622
|
Object.assign(contents, doc);
|
827
623
|
return contents;
|
828
624
|
}, "de_CreateTokenCommand");
|
829
|
-
var de_CreateTokenWithIAMCommand = /* @__PURE__ */ __name(async (output, context) => {
|
830
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
831
|
-
return de_CommandError(output, context);
|
832
|
-
}
|
833
|
-
const contents = (0, import_smithy_client.map)({
|
834
|
-
$metadata: deserializeMetadata(output)
|
835
|
-
});
|
836
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
837
|
-
const doc = (0, import_smithy_client.take)(data, {
|
838
|
-
accessToken: import_smithy_client.expectString,
|
839
|
-
expiresIn: import_smithy_client.expectInt32,
|
840
|
-
idToken: import_smithy_client.expectString,
|
841
|
-
issuedTokenType: import_smithy_client.expectString,
|
842
|
-
refreshToken: import_smithy_client.expectString,
|
843
|
-
scope: import_smithy_client._json,
|
844
|
-
tokenType: import_smithy_client.expectString
|
845
|
-
});
|
846
|
-
Object.assign(contents, doc);
|
847
|
-
return contents;
|
848
|
-
}, "de_CreateTokenWithIAMCommand");
|
849
|
-
var de_RegisterClientCommand = /* @__PURE__ */ __name(async (output, context) => {
|
850
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
851
|
-
return de_CommandError(output, context);
|
852
|
-
}
|
853
|
-
const contents = (0, import_smithy_client.map)({
|
854
|
-
$metadata: deserializeMetadata(output)
|
855
|
-
});
|
856
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
857
|
-
const doc = (0, import_smithy_client.take)(data, {
|
858
|
-
authorizationEndpoint: import_smithy_client.expectString,
|
859
|
-
clientId: import_smithy_client.expectString,
|
860
|
-
clientIdIssuedAt: import_smithy_client.expectLong,
|
861
|
-
clientSecret: import_smithy_client.expectString,
|
862
|
-
clientSecretExpiresAt: import_smithy_client.expectLong,
|
863
|
-
tokenEndpoint: import_smithy_client.expectString
|
864
|
-
});
|
865
|
-
Object.assign(contents, doc);
|
866
|
-
return contents;
|
867
|
-
}, "de_RegisterClientCommand");
|
868
|
-
var de_StartDeviceAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
869
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
870
|
-
return de_CommandError(output, context);
|
871
|
-
}
|
872
|
-
const contents = (0, import_smithy_client.map)({
|
873
|
-
$metadata: deserializeMetadata(output)
|
874
|
-
});
|
875
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
876
|
-
const doc = (0, import_smithy_client.take)(data, {
|
877
|
-
deviceCode: import_smithy_client.expectString,
|
878
|
-
expiresIn: import_smithy_client.expectInt32,
|
879
|
-
interval: import_smithy_client.expectInt32,
|
880
|
-
userCode: import_smithy_client.expectString,
|
881
|
-
verificationUri: import_smithy_client.expectString,
|
882
|
-
verificationUriComplete: import_smithy_client.expectString
|
883
|
-
});
|
884
|
-
Object.assign(contents, doc);
|
885
|
-
return contents;
|
886
|
-
}, "de_StartDeviceAuthorizationCommand");
|
887
625
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
888
626
|
const parsedOutput = {
|
889
627
|
...output,
|
@@ -924,15 +662,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
924
662
|
case "UnsupportedGrantTypeException":
|
925
663
|
case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
|
926
664
|
throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
|
927
|
-
case "InvalidRequestRegionException":
|
928
|
-
case "com.amazonaws.ssooidc#InvalidRequestRegionException":
|
929
|
-
throw await de_InvalidRequestRegionExceptionRes(parsedOutput, context);
|
930
|
-
case "InvalidClientMetadataException":
|
931
|
-
case "com.amazonaws.ssooidc#InvalidClientMetadataException":
|
932
|
-
throw await de_InvalidClientMetadataExceptionRes(parsedOutput, context);
|
933
|
-
case "InvalidRedirectUriException":
|
934
|
-
case "com.amazonaws.ssooidc#InvalidRedirectUriException":
|
935
|
-
throw await de_InvalidRedirectUriExceptionRes(parsedOutput, context);
|
936
665
|
default:
|
937
666
|
const parsedBody = parsedOutput.body;
|
938
667
|
return throwDefaultError({
|
@@ -942,204 +671,160 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
942
671
|
});
|
943
672
|
}
|
944
673
|
}, "de_CommandError");
|
945
|
-
var throwDefaultError = (0,
|
674
|
+
var throwDefaultError = (0, import_smithy_client5.withBaseException)(SSOOIDCServiceException);
|
946
675
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
947
|
-
const contents = (0,
|
676
|
+
const contents = (0, import_smithy_client5.map)({});
|
948
677
|
const data = parsedOutput.body;
|
949
|
-
const doc = (0,
|
950
|
-
error:
|
951
|
-
error_description:
|
678
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
679
|
+
error: import_smithy_client5.expectString,
|
680
|
+
error_description: import_smithy_client5.expectString
|
952
681
|
});
|
953
682
|
Object.assign(contents, doc);
|
954
683
|
const exception = new AccessDeniedException({
|
955
684
|
$metadata: deserializeMetadata(parsedOutput),
|
956
685
|
...contents
|
957
686
|
});
|
958
|
-
return (0,
|
687
|
+
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
959
688
|
}, "de_AccessDeniedExceptionRes");
|
960
689
|
var de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
961
|
-
const contents = (0,
|
690
|
+
const contents = (0, import_smithy_client5.map)({});
|
962
691
|
const data = parsedOutput.body;
|
963
|
-
const doc = (0,
|
964
|
-
error:
|
965
|
-
error_description:
|
692
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
693
|
+
error: import_smithy_client5.expectString,
|
694
|
+
error_description: import_smithy_client5.expectString
|
966
695
|
});
|
967
696
|
Object.assign(contents, doc);
|
968
697
|
const exception = new AuthorizationPendingException({
|
969
698
|
$metadata: deserializeMetadata(parsedOutput),
|
970
699
|
...contents
|
971
700
|
});
|
972
|
-
return (0,
|
701
|
+
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
973
702
|
}, "de_AuthorizationPendingExceptionRes");
|
974
703
|
var de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
975
|
-
const contents = (0,
|
704
|
+
const contents = (0, import_smithy_client5.map)({});
|
976
705
|
const data = parsedOutput.body;
|
977
|
-
const doc = (0,
|
978
|
-
error:
|
979
|
-
error_description:
|
706
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
707
|
+
error: import_smithy_client5.expectString,
|
708
|
+
error_description: import_smithy_client5.expectString
|
980
709
|
});
|
981
710
|
Object.assign(contents, doc);
|
982
711
|
const exception = new ExpiredTokenException({
|
983
712
|
$metadata: deserializeMetadata(parsedOutput),
|
984
713
|
...contents
|
985
714
|
});
|
986
|
-
return (0,
|
715
|
+
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
987
716
|
}, "de_ExpiredTokenExceptionRes");
|
988
717
|
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
989
|
-
const contents = (0,
|
718
|
+
const contents = (0, import_smithy_client5.map)({});
|
990
719
|
const data = parsedOutput.body;
|
991
|
-
const doc = (0,
|
992
|
-
error:
|
993
|
-
error_description:
|
720
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
721
|
+
error: import_smithy_client5.expectString,
|
722
|
+
error_description: import_smithy_client5.expectString
|
994
723
|
});
|
995
724
|
Object.assign(contents, doc);
|
996
725
|
const exception = new InternalServerException({
|
997
726
|
$metadata: deserializeMetadata(parsedOutput),
|
998
727
|
...contents
|
999
728
|
});
|
1000
|
-
return (0,
|
729
|
+
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
1001
730
|
}, "de_InternalServerExceptionRes");
|
1002
731
|
var de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
1003
|
-
const contents = (0,
|
732
|
+
const contents = (0, import_smithy_client5.map)({});
|
1004
733
|
const data = parsedOutput.body;
|
1005
|
-
const doc = (0,
|
1006
|
-
error:
|
1007
|
-
error_description:
|
734
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
735
|
+
error: import_smithy_client5.expectString,
|
736
|
+
error_description: import_smithy_client5.expectString
|
1008
737
|
});
|
1009
738
|
Object.assign(contents, doc);
|
1010
739
|
const exception = new InvalidClientException({
|
1011
740
|
$metadata: deserializeMetadata(parsedOutput),
|
1012
741
|
...contents
|
1013
742
|
});
|
1014
|
-
return (0,
|
743
|
+
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
1015
744
|
}, "de_InvalidClientExceptionRes");
|
1016
|
-
var de_InvalidClientMetadataExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
1017
|
-
const contents = (0, import_smithy_client.map)({});
|
1018
|
-
const data = parsedOutput.body;
|
1019
|
-
const doc = (0, import_smithy_client.take)(data, {
|
1020
|
-
error: import_smithy_client.expectString,
|
1021
|
-
error_description: import_smithy_client.expectString
|
1022
|
-
});
|
1023
|
-
Object.assign(contents, doc);
|
1024
|
-
const exception = new InvalidClientMetadataException({
|
1025
|
-
$metadata: deserializeMetadata(parsedOutput),
|
1026
|
-
...contents
|
1027
|
-
});
|
1028
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
1029
|
-
}, "de_InvalidClientMetadataExceptionRes");
|
1030
745
|
var de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
1031
|
-
const contents = (0,
|
746
|
+
const contents = (0, import_smithy_client5.map)({});
|
1032
747
|
const data = parsedOutput.body;
|
1033
|
-
const doc = (0,
|
1034
|
-
error:
|
1035
|
-
error_description:
|
748
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
749
|
+
error: import_smithy_client5.expectString,
|
750
|
+
error_description: import_smithy_client5.expectString
|
1036
751
|
});
|
1037
752
|
Object.assign(contents, doc);
|
1038
753
|
const exception = new InvalidGrantException({
|
1039
754
|
$metadata: deserializeMetadata(parsedOutput),
|
1040
755
|
...contents
|
1041
756
|
});
|
1042
|
-
return (0,
|
757
|
+
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
1043
758
|
}, "de_InvalidGrantExceptionRes");
|
1044
|
-
var de_InvalidRedirectUriExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
1045
|
-
const contents = (0, import_smithy_client.map)({});
|
1046
|
-
const data = parsedOutput.body;
|
1047
|
-
const doc = (0, import_smithy_client.take)(data, {
|
1048
|
-
error: import_smithy_client.expectString,
|
1049
|
-
error_description: import_smithy_client.expectString
|
1050
|
-
});
|
1051
|
-
Object.assign(contents, doc);
|
1052
|
-
const exception = new InvalidRedirectUriException({
|
1053
|
-
$metadata: deserializeMetadata(parsedOutput),
|
1054
|
-
...contents
|
1055
|
-
});
|
1056
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
1057
|
-
}, "de_InvalidRedirectUriExceptionRes");
|
1058
759
|
var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
1059
|
-
const contents = (0,
|
760
|
+
const contents = (0, import_smithy_client5.map)({});
|
1060
761
|
const data = parsedOutput.body;
|
1061
|
-
const doc = (0,
|
1062
|
-
error:
|
1063
|
-
error_description:
|
762
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
763
|
+
error: import_smithy_client5.expectString,
|
764
|
+
error_description: import_smithy_client5.expectString
|
1064
765
|
});
|
1065
766
|
Object.assign(contents, doc);
|
1066
767
|
const exception = new InvalidRequestException({
|
1067
768
|
$metadata: deserializeMetadata(parsedOutput),
|
1068
769
|
...contents
|
1069
770
|
});
|
1070
|
-
return (0,
|
771
|
+
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
1071
772
|
}, "de_InvalidRequestExceptionRes");
|
1072
|
-
var de_InvalidRequestRegionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
1073
|
-
const contents = (0, import_smithy_client.map)({});
|
1074
|
-
const data = parsedOutput.body;
|
1075
|
-
const doc = (0, import_smithy_client.take)(data, {
|
1076
|
-
endpoint: import_smithy_client.expectString,
|
1077
|
-
error: import_smithy_client.expectString,
|
1078
|
-
error_description: import_smithy_client.expectString,
|
1079
|
-
region: import_smithy_client.expectString
|
1080
|
-
});
|
1081
|
-
Object.assign(contents, doc);
|
1082
|
-
const exception = new InvalidRequestRegionException({
|
1083
|
-
$metadata: deserializeMetadata(parsedOutput),
|
1084
|
-
...contents
|
1085
|
-
});
|
1086
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
1087
|
-
}, "de_InvalidRequestRegionExceptionRes");
|
1088
773
|
var de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
1089
|
-
const contents = (0,
|
774
|
+
const contents = (0, import_smithy_client5.map)({});
|
1090
775
|
const data = parsedOutput.body;
|
1091
|
-
const doc = (0,
|
1092
|
-
error:
|
1093
|
-
error_description:
|
776
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
777
|
+
error: import_smithy_client5.expectString,
|
778
|
+
error_description: import_smithy_client5.expectString
|
1094
779
|
});
|
1095
780
|
Object.assign(contents, doc);
|
1096
781
|
const exception = new InvalidScopeException({
|
1097
782
|
$metadata: deserializeMetadata(parsedOutput),
|
1098
783
|
...contents
|
1099
784
|
});
|
1100
|
-
return (0,
|
785
|
+
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
1101
786
|
}, "de_InvalidScopeExceptionRes");
|
1102
787
|
var de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
1103
|
-
const contents = (0,
|
788
|
+
const contents = (0, import_smithy_client5.map)({});
|
1104
789
|
const data = parsedOutput.body;
|
1105
|
-
const doc = (0,
|
1106
|
-
error:
|
1107
|
-
error_description:
|
790
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
791
|
+
error: import_smithy_client5.expectString,
|
792
|
+
error_description: import_smithy_client5.expectString
|
1108
793
|
});
|
1109
794
|
Object.assign(contents, doc);
|
1110
795
|
const exception = new SlowDownException({
|
1111
796
|
$metadata: deserializeMetadata(parsedOutput),
|
1112
797
|
...contents
|
1113
798
|
});
|
1114
|
-
return (0,
|
799
|
+
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
1115
800
|
}, "de_SlowDownExceptionRes");
|
1116
801
|
var de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
1117
|
-
const contents = (0,
|
802
|
+
const contents = (0, import_smithy_client5.map)({});
|
1118
803
|
const data = parsedOutput.body;
|
1119
|
-
const doc = (0,
|
1120
|
-
error:
|
1121
|
-
error_description:
|
804
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
805
|
+
error: import_smithy_client5.expectString,
|
806
|
+
error_description: import_smithy_client5.expectString
|
1122
807
|
});
|
1123
808
|
Object.assign(contents, doc);
|
1124
809
|
const exception = new UnauthorizedClientException({
|
1125
810
|
$metadata: deserializeMetadata(parsedOutput),
|
1126
811
|
...contents
|
1127
812
|
});
|
1128
|
-
return (0,
|
813
|
+
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
1129
814
|
}, "de_UnauthorizedClientExceptionRes");
|
1130
815
|
var de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
1131
|
-
const contents = (0,
|
816
|
+
const contents = (0, import_smithy_client5.map)({});
|
1132
817
|
const data = parsedOutput.body;
|
1133
|
-
const doc = (0,
|
1134
|
-
error:
|
1135
|
-
error_description:
|
818
|
+
const doc = (0, import_smithy_client5.take)(data, {
|
819
|
+
error: import_smithy_client5.expectString,
|
820
|
+
error_description: import_smithy_client5.expectString
|
1136
821
|
});
|
1137
822
|
Object.assign(contents, doc);
|
1138
823
|
const exception = new UnsupportedGrantTypeException({
|
1139
824
|
$metadata: deserializeMetadata(parsedOutput),
|
1140
825
|
...contents
|
1141
826
|
});
|
1142
|
-
return (0,
|
827
|
+
return (0, import_smithy_client5.decorateServiceException)(exception, parsedOutput.body);
|
1143
828
|
}, "de_UnsupportedGrantTypeExceptionRes");
|
1144
829
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
1145
830
|
httpStatusCode: output.statusCode,
|
@@ -1147,13 +832,12 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1147
832
|
extendedRequestId: output.headers["x-amz-id-2"],
|
1148
833
|
cfId: output.headers["x-amz-cf-id"]
|
1149
834
|
}), "deserializeMetadata");
|
1150
|
-
var _ai = "aws_iam";
|
1151
835
|
|
1152
|
-
// src/commands/CreateTokenCommand.ts
|
1153
|
-
var CreateTokenCommand = class extends
|
836
|
+
// src/submodules/sso-oidc/commands/CreateTokenCommand.ts
|
837
|
+
var CreateTokenCommand = class extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
1154
838
|
return [
|
1155
839
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1156
|
-
(0,
|
840
|
+
(0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1157
841
|
];
|
1158
842
|
}).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {
|
1159
843
|
static {
|
@@ -1161,95 +845,35 @@ var CreateTokenCommand = class extends import_smithy_client.Command.classBuilder
|
|
1161
845
|
}
|
1162
846
|
};
|
1163
847
|
|
1164
|
-
// src/
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
var CreateTokenWithIAMCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
1169
|
-
return [
|
1170
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1171
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1172
|
-
];
|
1173
|
-
}).s("AWSSSOOIDCService", "CreateTokenWithIAM", {}).n("SSOOIDCClient", "CreateTokenWithIAMCommand").f(CreateTokenWithIAMRequestFilterSensitiveLog, CreateTokenWithIAMResponseFilterSensitiveLog).ser(se_CreateTokenWithIAMCommand).de(de_CreateTokenWithIAMCommand).build() {
|
1174
|
-
static {
|
1175
|
-
__name(this, "CreateTokenWithIAMCommand");
|
1176
|
-
}
|
1177
|
-
};
|
1178
|
-
|
1179
|
-
// src/commands/RegisterClientCommand.ts
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
var RegisterClientCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
1184
|
-
return [
|
1185
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1186
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1187
|
-
];
|
1188
|
-
}).s("AWSSSOOIDCService", "RegisterClient", {}).n("SSOOIDCClient", "RegisterClientCommand").f(void 0, RegisterClientResponseFilterSensitiveLog).ser(se_RegisterClientCommand).de(de_RegisterClientCommand).build() {
|
1189
|
-
static {
|
1190
|
-
__name(this, "RegisterClientCommand");
|
1191
|
-
}
|
1192
|
-
};
|
1193
|
-
|
1194
|
-
// src/commands/StartDeviceAuthorizationCommand.ts
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
var StartDeviceAuthorizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
1199
|
-
return [
|
1200
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1201
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1202
|
-
];
|
1203
|
-
}).s("AWSSSOOIDCService", "StartDeviceAuthorization", {}).n("SSOOIDCClient", "StartDeviceAuthorizationCommand").f(StartDeviceAuthorizationRequestFilterSensitiveLog, void 0).ser(se_StartDeviceAuthorizationCommand).de(de_StartDeviceAuthorizationCommand).build() {
|
1204
|
-
static {
|
1205
|
-
__name(this, "StartDeviceAuthorizationCommand");
|
1206
|
-
}
|
1207
|
-
};
|
1208
|
-
|
1209
|
-
// src/SSOOIDC.ts
|
848
|
+
// src/submodules/sso-oidc/SSOOIDC.ts
|
1210
849
|
var commands = {
|
1211
|
-
CreateTokenCommand
|
1212
|
-
CreateTokenWithIAMCommand,
|
1213
|
-
RegisterClientCommand,
|
1214
|
-
StartDeviceAuthorizationCommand
|
850
|
+
CreateTokenCommand
|
1215
851
|
};
|
1216
852
|
var SSOOIDC = class extends SSOOIDCClient {
|
1217
853
|
static {
|
1218
854
|
__name(this, "SSOOIDC");
|
1219
855
|
}
|
1220
856
|
};
|
1221
|
-
(0,
|
857
|
+
(0, import_smithy_client7.createAggregatedClient)(commands, SSOOIDC);
|
1222
858
|
// Annotate the CommonJS export names for ESM import in node:
|
1223
|
-
|
1224
859
|
0 && (module.exports = {
|
1225
|
-
SSOOIDCServiceException,
|
1226
|
-
__Client,
|
1227
|
-
SSOOIDCClient,
|
1228
|
-
SSOOIDC,
|
1229
860
|
$Command,
|
1230
|
-
CreateTokenCommand,
|
1231
|
-
CreateTokenWithIAMCommand,
|
1232
|
-
RegisterClientCommand,
|
1233
|
-
StartDeviceAuthorizationCommand,
|
1234
861
|
AccessDeniedException,
|
1235
862
|
AuthorizationPendingException,
|
863
|
+
CreateTokenCommand,
|
864
|
+
CreateTokenRequestFilterSensitiveLog,
|
865
|
+
CreateTokenResponseFilterSensitiveLog,
|
1236
866
|
ExpiredTokenException,
|
1237
867
|
InternalServerException,
|
1238
868
|
InvalidClientException,
|
1239
869
|
InvalidGrantException,
|
1240
870
|
InvalidRequestException,
|
1241
871
|
InvalidScopeException,
|
872
|
+
SSOOIDC,
|
873
|
+
SSOOIDCClient,
|
874
|
+
SSOOIDCServiceException,
|
1242
875
|
SlowDownException,
|
1243
876
|
UnauthorizedClientException,
|
1244
877
|
UnsupportedGrantTypeException,
|
1245
|
-
|
1246
|
-
InvalidClientMetadataException,
|
1247
|
-
InvalidRedirectUriException,
|
1248
|
-
CreateTokenRequestFilterSensitiveLog,
|
1249
|
-
CreateTokenResponseFilterSensitiveLog,
|
1250
|
-
CreateTokenWithIAMRequestFilterSensitiveLog,
|
1251
|
-
CreateTokenWithIAMResponseFilterSensitiveLog,
|
1252
|
-
RegisterClientResponseFilterSensitiveLog,
|
1253
|
-
StartDeviceAuthorizationRequestFilterSensitiveLog
|
878
|
+
__Client
|
1254
879
|
});
|
1255
|
-
|