@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,1024 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __defProp = Object.defineProperty;
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
7
|
-
var __export = (target, all) => {
|
8
|
-
for (var name in all)
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
-
};
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
-
for (let key of __getOwnPropNames(from))
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
-
}
|
17
|
-
return to;
|
18
|
-
};
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
-
|
21
|
-
// src/index.ts
|
22
|
-
var src_exports = {};
|
23
|
-
__export(src_exports, {
|
24
|
-
AccessDeniedException: () => AccessDeniedException,
|
25
|
-
AuthorizationPendingException: () => AuthorizationPendingException,
|
26
|
-
CreateTokenCommand: () => CreateTokenCommand,
|
27
|
-
CreateTokenRequestFilterSensitiveLog: () => CreateTokenRequestFilterSensitiveLog,
|
28
|
-
CreateTokenResponseFilterSensitiveLog: () => CreateTokenResponseFilterSensitiveLog,
|
29
|
-
CreateTokenWithIAMCommand: () => CreateTokenWithIAMCommand,
|
30
|
-
CreateTokenWithIAMRequestFilterSensitiveLog: () => CreateTokenWithIAMRequestFilterSensitiveLog,
|
31
|
-
CreateTokenWithIAMResponseFilterSensitiveLog: () => CreateTokenWithIAMResponseFilterSensitiveLog,
|
32
|
-
ExpiredTokenException: () => ExpiredTokenException,
|
33
|
-
InternalServerException: () => InternalServerException,
|
34
|
-
InvalidClientException: () => InvalidClientException,
|
35
|
-
InvalidClientMetadataException: () => InvalidClientMetadataException,
|
36
|
-
InvalidGrantException: () => InvalidGrantException,
|
37
|
-
InvalidRequestException: () => InvalidRequestException,
|
38
|
-
InvalidRequestRegionException: () => InvalidRequestRegionException,
|
39
|
-
InvalidScopeException: () => InvalidScopeException,
|
40
|
-
RegisterClientCommand: () => RegisterClientCommand,
|
41
|
-
RegisterClientResponseFilterSensitiveLog: () => RegisterClientResponseFilterSensitiveLog,
|
42
|
-
SSOOIDC: () => SSOOIDC,
|
43
|
-
SSOOIDCClient: () => SSOOIDCClient,
|
44
|
-
SSOOIDCServiceException: () => SSOOIDCServiceException,
|
45
|
-
SlowDownException: () => SlowDownException,
|
46
|
-
StartDeviceAuthorizationCommand: () => StartDeviceAuthorizationCommand,
|
47
|
-
StartDeviceAuthorizationRequestFilterSensitiveLog: () => StartDeviceAuthorizationRequestFilterSensitiveLog,
|
48
|
-
UnauthorizedClientException: () => UnauthorizedClientException,
|
49
|
-
UnsupportedGrantTypeException: () => UnsupportedGrantTypeException,
|
50
|
-
__Client: () => import_smithy_client.Client
|
51
|
-
});
|
52
|
-
module.exports = __toCommonJS(src_exports);
|
53
|
-
|
54
|
-
// src/SSOOIDCClient.ts
|
55
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
56
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
57
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
58
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
59
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
60
|
-
var import_core = require("@smithy/core");
|
61
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
62
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
63
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
64
|
-
|
65
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
66
|
-
|
67
|
-
// src/endpoint/EndpointParameters.ts
|
68
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
69
|
-
return {
|
70
|
-
...options,
|
71
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
72
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
73
|
-
defaultSigningName: "sso-oauth"
|
74
|
-
};
|
75
|
-
}, "resolveClientEndpointParameters");
|
76
|
-
var commonParams = {
|
77
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
78
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
79
|
-
Region: { type: "builtInParams", name: "region" },
|
80
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
81
|
-
};
|
82
|
-
|
83
|
-
// src/SSOOIDCClient.ts
|
84
|
-
var import_runtimeConfig = require("././runtimeConfig");
|
85
|
-
|
86
|
-
// src/runtimeExtensions.ts
|
87
|
-
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
88
|
-
var import_protocol_http = require("@smithy/protocol-http");
|
89
|
-
var import_smithy_client = require("@smithy/smithy-client");
|
90
|
-
|
91
|
-
// src/auth/httpAuthExtensionConfiguration.ts
|
92
|
-
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
93
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
94
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
95
|
-
let _credentials = runtimeConfig.credentials;
|
96
|
-
return {
|
97
|
-
setHttpAuthScheme(httpAuthScheme) {
|
98
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
99
|
-
if (index === -1) {
|
100
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
101
|
-
} else {
|
102
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
103
|
-
}
|
104
|
-
},
|
105
|
-
httpAuthSchemes() {
|
106
|
-
return _httpAuthSchemes;
|
107
|
-
},
|
108
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
109
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
110
|
-
},
|
111
|
-
httpAuthSchemeProvider() {
|
112
|
-
return _httpAuthSchemeProvider;
|
113
|
-
},
|
114
|
-
setCredentials(credentials) {
|
115
|
-
_credentials = credentials;
|
116
|
-
},
|
117
|
-
credentials() {
|
118
|
-
return _credentials;
|
119
|
-
}
|
120
|
-
};
|
121
|
-
}, "getHttpAuthExtensionConfiguration");
|
122
|
-
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
123
|
-
return {
|
124
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
125
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
126
|
-
credentials: config.credentials()
|
127
|
-
};
|
128
|
-
}, "resolveHttpAuthRuntimeConfig");
|
129
|
-
|
130
|
-
// src/runtimeExtensions.ts
|
131
|
-
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
132
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
133
|
-
const extensionConfiguration = {
|
134
|
-
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
135
|
-
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
136
|
-
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
137
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
|
138
|
-
};
|
139
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
140
|
-
return {
|
141
|
-
...runtimeConfig,
|
142
|
-
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
143
|
-
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
144
|
-
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
145
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
146
|
-
};
|
147
|
-
}, "resolveRuntimeExtensions");
|
148
|
-
|
149
|
-
// src/SSOOIDCClient.ts
|
150
|
-
var _SSOOIDCClient = class _SSOOIDCClient extends import_smithy_client.Client {
|
151
|
-
constructor(...[configuration]) {
|
152
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
153
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
154
|
-
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
155
|
-
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
156
|
-
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
157
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
158
|
-
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
|
159
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
160
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
161
|
-
super(_config_8);
|
162
|
-
this.config = _config_8;
|
163
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
164
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
165
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
166
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
167
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
168
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
169
|
-
this.middlewareStack.use(
|
170
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
171
|
-
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
172
|
-
identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
|
173
|
-
})
|
174
|
-
);
|
175
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
176
|
-
}
|
177
|
-
/**
|
178
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
179
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
180
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
181
|
-
*/
|
182
|
-
destroy() {
|
183
|
-
super.destroy();
|
184
|
-
}
|
185
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
186
|
-
return import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider;
|
187
|
-
}
|
188
|
-
getIdentityProviderConfigProvider() {
|
189
|
-
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
190
|
-
"aws.auth#sigv4": config.credentials
|
191
|
-
});
|
192
|
-
}
|
193
|
-
};
|
194
|
-
__name(_SSOOIDCClient, "SSOOIDCClient");
|
195
|
-
var SSOOIDCClient = _SSOOIDCClient;
|
196
|
-
|
197
|
-
// src/SSOOIDC.ts
|
198
|
-
|
199
|
-
|
200
|
-
// src/commands/CreateTokenCommand.ts
|
201
|
-
|
202
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
203
|
-
|
204
|
-
var import_types = require("@smithy/types");
|
205
|
-
|
206
|
-
// src/models/models_0.ts
|
207
|
-
|
208
|
-
|
209
|
-
// src/models/SSOOIDCServiceException.ts
|
210
|
-
|
211
|
-
var _SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smithy_client.ServiceException {
|
212
|
-
/**
|
213
|
-
* @internal
|
214
|
-
*/
|
215
|
-
constructor(options) {
|
216
|
-
super(options);
|
217
|
-
Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
|
218
|
-
}
|
219
|
-
};
|
220
|
-
__name(_SSOOIDCServiceException, "SSOOIDCServiceException");
|
221
|
-
var SSOOIDCServiceException = _SSOOIDCServiceException;
|
222
|
-
|
223
|
-
// src/models/models_0.ts
|
224
|
-
var _AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
|
225
|
-
/**
|
226
|
-
* @internal
|
227
|
-
*/
|
228
|
-
constructor(opts) {
|
229
|
-
super({
|
230
|
-
name: "AccessDeniedException",
|
231
|
-
$fault: "client",
|
232
|
-
...opts
|
233
|
-
});
|
234
|
-
this.name = "AccessDeniedException";
|
235
|
-
this.$fault = "client";
|
236
|
-
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
237
|
-
this.error = opts.error;
|
238
|
-
this.error_description = opts.error_description;
|
239
|
-
}
|
240
|
-
};
|
241
|
-
__name(_AccessDeniedException, "AccessDeniedException");
|
242
|
-
var AccessDeniedException = _AccessDeniedException;
|
243
|
-
var _AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {
|
244
|
-
/**
|
245
|
-
* @internal
|
246
|
-
*/
|
247
|
-
constructor(opts) {
|
248
|
-
super({
|
249
|
-
name: "AuthorizationPendingException",
|
250
|
-
$fault: "client",
|
251
|
-
...opts
|
252
|
-
});
|
253
|
-
this.name = "AuthorizationPendingException";
|
254
|
-
this.$fault = "client";
|
255
|
-
Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);
|
256
|
-
this.error = opts.error;
|
257
|
-
this.error_description = opts.error_description;
|
258
|
-
}
|
259
|
-
};
|
260
|
-
__name(_AuthorizationPendingException, "AuthorizationPendingException");
|
261
|
-
var AuthorizationPendingException = _AuthorizationPendingException;
|
262
|
-
var _ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {
|
263
|
-
/**
|
264
|
-
* @internal
|
265
|
-
*/
|
266
|
-
constructor(opts) {
|
267
|
-
super({
|
268
|
-
name: "ExpiredTokenException",
|
269
|
-
$fault: "client",
|
270
|
-
...opts
|
271
|
-
});
|
272
|
-
this.name = "ExpiredTokenException";
|
273
|
-
this.$fault = "client";
|
274
|
-
Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
|
275
|
-
this.error = opts.error;
|
276
|
-
this.error_description = opts.error_description;
|
277
|
-
}
|
278
|
-
};
|
279
|
-
__name(_ExpiredTokenException, "ExpiredTokenException");
|
280
|
-
var ExpiredTokenException = _ExpiredTokenException;
|
281
|
-
var _InternalServerException = class _InternalServerException extends SSOOIDCServiceException {
|
282
|
-
/**
|
283
|
-
* @internal
|
284
|
-
*/
|
285
|
-
constructor(opts) {
|
286
|
-
super({
|
287
|
-
name: "InternalServerException",
|
288
|
-
$fault: "server",
|
289
|
-
...opts
|
290
|
-
});
|
291
|
-
this.name = "InternalServerException";
|
292
|
-
this.$fault = "server";
|
293
|
-
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
294
|
-
this.error = opts.error;
|
295
|
-
this.error_description = opts.error_description;
|
296
|
-
}
|
297
|
-
};
|
298
|
-
__name(_InternalServerException, "InternalServerException");
|
299
|
-
var InternalServerException = _InternalServerException;
|
300
|
-
var _InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {
|
301
|
-
/**
|
302
|
-
* @internal
|
303
|
-
*/
|
304
|
-
constructor(opts) {
|
305
|
-
super({
|
306
|
-
name: "InvalidClientException",
|
307
|
-
$fault: "client",
|
308
|
-
...opts
|
309
|
-
});
|
310
|
-
this.name = "InvalidClientException";
|
311
|
-
this.$fault = "client";
|
312
|
-
Object.setPrototypeOf(this, _InvalidClientException.prototype);
|
313
|
-
this.error = opts.error;
|
314
|
-
this.error_description = opts.error_description;
|
315
|
-
}
|
316
|
-
};
|
317
|
-
__name(_InvalidClientException, "InvalidClientException");
|
318
|
-
var InvalidClientException = _InvalidClientException;
|
319
|
-
var _InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {
|
320
|
-
/**
|
321
|
-
* @internal
|
322
|
-
*/
|
323
|
-
constructor(opts) {
|
324
|
-
super({
|
325
|
-
name: "InvalidGrantException",
|
326
|
-
$fault: "client",
|
327
|
-
...opts
|
328
|
-
});
|
329
|
-
this.name = "InvalidGrantException";
|
330
|
-
this.$fault = "client";
|
331
|
-
Object.setPrototypeOf(this, _InvalidGrantException.prototype);
|
332
|
-
this.error = opts.error;
|
333
|
-
this.error_description = opts.error_description;
|
334
|
-
}
|
335
|
-
};
|
336
|
-
__name(_InvalidGrantException, "InvalidGrantException");
|
337
|
-
var InvalidGrantException = _InvalidGrantException;
|
338
|
-
var _InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {
|
339
|
-
/**
|
340
|
-
* @internal
|
341
|
-
*/
|
342
|
-
constructor(opts) {
|
343
|
-
super({
|
344
|
-
name: "InvalidRequestException",
|
345
|
-
$fault: "client",
|
346
|
-
...opts
|
347
|
-
});
|
348
|
-
this.name = "InvalidRequestException";
|
349
|
-
this.$fault = "client";
|
350
|
-
Object.setPrototypeOf(this, _InvalidRequestException.prototype);
|
351
|
-
this.error = opts.error;
|
352
|
-
this.error_description = opts.error_description;
|
353
|
-
}
|
354
|
-
};
|
355
|
-
__name(_InvalidRequestException, "InvalidRequestException");
|
356
|
-
var InvalidRequestException = _InvalidRequestException;
|
357
|
-
var _InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {
|
358
|
-
/**
|
359
|
-
* @internal
|
360
|
-
*/
|
361
|
-
constructor(opts) {
|
362
|
-
super({
|
363
|
-
name: "InvalidScopeException",
|
364
|
-
$fault: "client",
|
365
|
-
...opts
|
366
|
-
});
|
367
|
-
this.name = "InvalidScopeException";
|
368
|
-
this.$fault = "client";
|
369
|
-
Object.setPrototypeOf(this, _InvalidScopeException.prototype);
|
370
|
-
this.error = opts.error;
|
371
|
-
this.error_description = opts.error_description;
|
372
|
-
}
|
373
|
-
};
|
374
|
-
__name(_InvalidScopeException, "InvalidScopeException");
|
375
|
-
var InvalidScopeException = _InvalidScopeException;
|
376
|
-
var _SlowDownException = class _SlowDownException extends SSOOIDCServiceException {
|
377
|
-
/**
|
378
|
-
* @internal
|
379
|
-
*/
|
380
|
-
constructor(opts) {
|
381
|
-
super({
|
382
|
-
name: "SlowDownException",
|
383
|
-
$fault: "client",
|
384
|
-
...opts
|
385
|
-
});
|
386
|
-
this.name = "SlowDownException";
|
387
|
-
this.$fault = "client";
|
388
|
-
Object.setPrototypeOf(this, _SlowDownException.prototype);
|
389
|
-
this.error = opts.error;
|
390
|
-
this.error_description = opts.error_description;
|
391
|
-
}
|
392
|
-
};
|
393
|
-
__name(_SlowDownException, "SlowDownException");
|
394
|
-
var SlowDownException = _SlowDownException;
|
395
|
-
var _UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {
|
396
|
-
/**
|
397
|
-
* @internal
|
398
|
-
*/
|
399
|
-
constructor(opts) {
|
400
|
-
super({
|
401
|
-
name: "UnauthorizedClientException",
|
402
|
-
$fault: "client",
|
403
|
-
...opts
|
404
|
-
});
|
405
|
-
this.name = "UnauthorizedClientException";
|
406
|
-
this.$fault = "client";
|
407
|
-
Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);
|
408
|
-
this.error = opts.error;
|
409
|
-
this.error_description = opts.error_description;
|
410
|
-
}
|
411
|
-
};
|
412
|
-
__name(_UnauthorizedClientException, "UnauthorizedClientException");
|
413
|
-
var UnauthorizedClientException = _UnauthorizedClientException;
|
414
|
-
var _UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {
|
415
|
-
/**
|
416
|
-
* @internal
|
417
|
-
*/
|
418
|
-
constructor(opts) {
|
419
|
-
super({
|
420
|
-
name: "UnsupportedGrantTypeException",
|
421
|
-
$fault: "client",
|
422
|
-
...opts
|
423
|
-
});
|
424
|
-
this.name = "UnsupportedGrantTypeException";
|
425
|
-
this.$fault = "client";
|
426
|
-
Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);
|
427
|
-
this.error = opts.error;
|
428
|
-
this.error_description = opts.error_description;
|
429
|
-
}
|
430
|
-
};
|
431
|
-
__name(_UnsupportedGrantTypeException, "UnsupportedGrantTypeException");
|
432
|
-
var UnsupportedGrantTypeException = _UnsupportedGrantTypeException;
|
433
|
-
var _InvalidRequestRegionException = class _InvalidRequestRegionException extends SSOOIDCServiceException {
|
434
|
-
/**
|
435
|
-
* @internal
|
436
|
-
*/
|
437
|
-
constructor(opts) {
|
438
|
-
super({
|
439
|
-
name: "InvalidRequestRegionException",
|
440
|
-
$fault: "client",
|
441
|
-
...opts
|
442
|
-
});
|
443
|
-
this.name = "InvalidRequestRegionException";
|
444
|
-
this.$fault = "client";
|
445
|
-
Object.setPrototypeOf(this, _InvalidRequestRegionException.prototype);
|
446
|
-
this.error = opts.error;
|
447
|
-
this.error_description = opts.error_description;
|
448
|
-
this.endpoint = opts.endpoint;
|
449
|
-
this.region = opts.region;
|
450
|
-
}
|
451
|
-
};
|
452
|
-
__name(_InvalidRequestRegionException, "InvalidRequestRegionException");
|
453
|
-
var InvalidRequestRegionException = _InvalidRequestRegionException;
|
454
|
-
var _InvalidClientMetadataException = class _InvalidClientMetadataException extends SSOOIDCServiceException {
|
455
|
-
/**
|
456
|
-
* @internal
|
457
|
-
*/
|
458
|
-
constructor(opts) {
|
459
|
-
super({
|
460
|
-
name: "InvalidClientMetadataException",
|
461
|
-
$fault: "client",
|
462
|
-
...opts
|
463
|
-
});
|
464
|
-
this.name = "InvalidClientMetadataException";
|
465
|
-
this.$fault = "client";
|
466
|
-
Object.setPrototypeOf(this, _InvalidClientMetadataException.prototype);
|
467
|
-
this.error = opts.error;
|
468
|
-
this.error_description = opts.error_description;
|
469
|
-
}
|
470
|
-
};
|
471
|
-
__name(_InvalidClientMetadataException, "InvalidClientMetadataException");
|
472
|
-
var InvalidClientMetadataException = _InvalidClientMetadataException;
|
473
|
-
var CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
474
|
-
...obj,
|
475
|
-
...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING },
|
476
|
-
...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING }
|
477
|
-
}), "CreateTokenRequestFilterSensitiveLog");
|
478
|
-
var CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
479
|
-
...obj,
|
480
|
-
...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING },
|
481
|
-
...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING },
|
482
|
-
...obj.idToken && { idToken: import_smithy_client.SENSITIVE_STRING }
|
483
|
-
}), "CreateTokenResponseFilterSensitiveLog");
|
484
|
-
var CreateTokenWithIAMRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
485
|
-
...obj,
|
486
|
-
...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING },
|
487
|
-
...obj.assertion && { assertion: import_smithy_client.SENSITIVE_STRING },
|
488
|
-
...obj.subjectToken && { subjectToken: import_smithy_client.SENSITIVE_STRING }
|
489
|
-
}), "CreateTokenWithIAMRequestFilterSensitiveLog");
|
490
|
-
var CreateTokenWithIAMResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
491
|
-
...obj,
|
492
|
-
...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING },
|
493
|
-
...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING },
|
494
|
-
...obj.idToken && { idToken: import_smithy_client.SENSITIVE_STRING }
|
495
|
-
}), "CreateTokenWithIAMResponseFilterSensitiveLog");
|
496
|
-
var RegisterClientResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
497
|
-
...obj,
|
498
|
-
...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING }
|
499
|
-
}), "RegisterClientResponseFilterSensitiveLog");
|
500
|
-
var StartDeviceAuthorizationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
501
|
-
...obj,
|
502
|
-
...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING }
|
503
|
-
}), "StartDeviceAuthorizationRequestFilterSensitiveLog");
|
504
|
-
|
505
|
-
// src/protocols/Aws_restJson1.ts
|
506
|
-
var import_core2 = require("@aws-sdk/core");
|
507
|
-
|
508
|
-
|
509
|
-
var se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
510
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
511
|
-
const headers = {
|
512
|
-
"content-type": "application/json"
|
513
|
-
};
|
514
|
-
b.bp("/token");
|
515
|
-
let body;
|
516
|
-
body = JSON.stringify(
|
517
|
-
(0, import_smithy_client.take)(input, {
|
518
|
-
clientId: [],
|
519
|
-
clientSecret: [],
|
520
|
-
code: [],
|
521
|
-
deviceCode: [],
|
522
|
-
grantType: [],
|
523
|
-
redirectUri: [],
|
524
|
-
refreshToken: [],
|
525
|
-
scope: (_) => (0, import_smithy_client._json)(_)
|
526
|
-
})
|
527
|
-
);
|
528
|
-
b.m("POST").h(headers).b(body);
|
529
|
-
return b.build();
|
530
|
-
}, "se_CreateTokenCommand");
|
531
|
-
var se_CreateTokenWithIAMCommand = /* @__PURE__ */ __name(async (input, context) => {
|
532
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
533
|
-
const headers = {
|
534
|
-
"content-type": "application/json"
|
535
|
-
};
|
536
|
-
b.bp("/token");
|
537
|
-
const query = (0, import_smithy_client.map)({
|
538
|
-
[_ai]: [, "t"]
|
539
|
-
});
|
540
|
-
let body;
|
541
|
-
body = JSON.stringify(
|
542
|
-
(0, import_smithy_client.take)(input, {
|
543
|
-
assertion: [],
|
544
|
-
clientId: [],
|
545
|
-
code: [],
|
546
|
-
grantType: [],
|
547
|
-
redirectUri: [],
|
548
|
-
refreshToken: [],
|
549
|
-
requestedTokenType: [],
|
550
|
-
scope: (_) => (0, import_smithy_client._json)(_),
|
551
|
-
subjectToken: [],
|
552
|
-
subjectTokenType: []
|
553
|
-
})
|
554
|
-
);
|
555
|
-
b.m("POST").h(headers).q(query).b(body);
|
556
|
-
return b.build();
|
557
|
-
}, "se_CreateTokenWithIAMCommand");
|
558
|
-
var se_RegisterClientCommand = /* @__PURE__ */ __name(async (input, context) => {
|
559
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
560
|
-
const headers = {
|
561
|
-
"content-type": "application/json"
|
562
|
-
};
|
563
|
-
b.bp("/client/register");
|
564
|
-
let body;
|
565
|
-
body = JSON.stringify(
|
566
|
-
(0, import_smithy_client.take)(input, {
|
567
|
-
clientName: [],
|
568
|
-
clientType: [],
|
569
|
-
scopes: (_) => (0, import_smithy_client._json)(_)
|
570
|
-
})
|
571
|
-
);
|
572
|
-
b.m("POST").h(headers).b(body);
|
573
|
-
return b.build();
|
574
|
-
}, "se_RegisterClientCommand");
|
575
|
-
var se_StartDeviceAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
576
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
577
|
-
const headers = {
|
578
|
-
"content-type": "application/json"
|
579
|
-
};
|
580
|
-
b.bp("/device_authorization");
|
581
|
-
let body;
|
582
|
-
body = JSON.stringify(
|
583
|
-
(0, import_smithy_client.take)(input, {
|
584
|
-
clientId: [],
|
585
|
-
clientSecret: [],
|
586
|
-
startUrl: []
|
587
|
-
})
|
588
|
-
);
|
589
|
-
b.m("POST").h(headers).b(body);
|
590
|
-
return b.build();
|
591
|
-
}, "se_StartDeviceAuthorizationCommand");
|
592
|
-
var de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
593
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
594
|
-
return de_CommandError(output, context);
|
595
|
-
}
|
596
|
-
const contents = (0, import_smithy_client.map)({
|
597
|
-
$metadata: deserializeMetadata(output)
|
598
|
-
});
|
599
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
600
|
-
const doc = (0, import_smithy_client.take)(data, {
|
601
|
-
accessToken: import_smithy_client.expectString,
|
602
|
-
expiresIn: import_smithy_client.expectInt32,
|
603
|
-
idToken: import_smithy_client.expectString,
|
604
|
-
refreshToken: import_smithy_client.expectString,
|
605
|
-
tokenType: import_smithy_client.expectString
|
606
|
-
});
|
607
|
-
Object.assign(contents, doc);
|
608
|
-
return contents;
|
609
|
-
}, "de_CreateTokenCommand");
|
610
|
-
var de_CreateTokenWithIAMCommand = /* @__PURE__ */ __name(async (output, context) => {
|
611
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
612
|
-
return de_CommandError(output, context);
|
613
|
-
}
|
614
|
-
const contents = (0, import_smithy_client.map)({
|
615
|
-
$metadata: deserializeMetadata(output)
|
616
|
-
});
|
617
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
618
|
-
const doc = (0, import_smithy_client.take)(data, {
|
619
|
-
accessToken: import_smithy_client.expectString,
|
620
|
-
expiresIn: import_smithy_client.expectInt32,
|
621
|
-
idToken: import_smithy_client.expectString,
|
622
|
-
issuedTokenType: import_smithy_client.expectString,
|
623
|
-
refreshToken: import_smithy_client.expectString,
|
624
|
-
scope: import_smithy_client._json,
|
625
|
-
tokenType: import_smithy_client.expectString
|
626
|
-
});
|
627
|
-
Object.assign(contents, doc);
|
628
|
-
return contents;
|
629
|
-
}, "de_CreateTokenWithIAMCommand");
|
630
|
-
var de_RegisterClientCommand = /* @__PURE__ */ __name(async (output, context) => {
|
631
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
632
|
-
return de_CommandError(output, context);
|
633
|
-
}
|
634
|
-
const contents = (0, import_smithy_client.map)({
|
635
|
-
$metadata: deserializeMetadata(output)
|
636
|
-
});
|
637
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
638
|
-
const doc = (0, import_smithy_client.take)(data, {
|
639
|
-
authorizationEndpoint: import_smithy_client.expectString,
|
640
|
-
clientId: import_smithy_client.expectString,
|
641
|
-
clientIdIssuedAt: import_smithy_client.expectLong,
|
642
|
-
clientSecret: import_smithy_client.expectString,
|
643
|
-
clientSecretExpiresAt: import_smithy_client.expectLong,
|
644
|
-
tokenEndpoint: import_smithy_client.expectString
|
645
|
-
});
|
646
|
-
Object.assign(contents, doc);
|
647
|
-
return contents;
|
648
|
-
}, "de_RegisterClientCommand");
|
649
|
-
var de_StartDeviceAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
650
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
651
|
-
return de_CommandError(output, context);
|
652
|
-
}
|
653
|
-
const contents = (0, import_smithy_client.map)({
|
654
|
-
$metadata: deserializeMetadata(output)
|
655
|
-
});
|
656
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
657
|
-
const doc = (0, import_smithy_client.take)(data, {
|
658
|
-
deviceCode: import_smithy_client.expectString,
|
659
|
-
expiresIn: import_smithy_client.expectInt32,
|
660
|
-
interval: import_smithy_client.expectInt32,
|
661
|
-
userCode: import_smithy_client.expectString,
|
662
|
-
verificationUri: import_smithy_client.expectString,
|
663
|
-
verificationUriComplete: import_smithy_client.expectString
|
664
|
-
});
|
665
|
-
Object.assign(contents, doc);
|
666
|
-
return contents;
|
667
|
-
}, "de_StartDeviceAuthorizationCommand");
|
668
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
669
|
-
const parsedOutput = {
|
670
|
-
...output,
|
671
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
672
|
-
};
|
673
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
674
|
-
switch (errorCode) {
|
675
|
-
case "AccessDeniedException":
|
676
|
-
case "com.amazonaws.ssooidc#AccessDeniedException":
|
677
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
678
|
-
case "AuthorizationPendingException":
|
679
|
-
case "com.amazonaws.ssooidc#AuthorizationPendingException":
|
680
|
-
throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);
|
681
|
-
case "ExpiredTokenException":
|
682
|
-
case "com.amazonaws.ssooidc#ExpiredTokenException":
|
683
|
-
throw await de_ExpiredTokenExceptionRes(parsedOutput, context);
|
684
|
-
case "InternalServerException":
|
685
|
-
case "com.amazonaws.ssooidc#InternalServerException":
|
686
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
687
|
-
case "InvalidClientException":
|
688
|
-
case "com.amazonaws.ssooidc#InvalidClientException":
|
689
|
-
throw await de_InvalidClientExceptionRes(parsedOutput, context);
|
690
|
-
case "InvalidGrantException":
|
691
|
-
case "com.amazonaws.ssooidc#InvalidGrantException":
|
692
|
-
throw await de_InvalidGrantExceptionRes(parsedOutput, context);
|
693
|
-
case "InvalidRequestException":
|
694
|
-
case "com.amazonaws.ssooidc#InvalidRequestException":
|
695
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
696
|
-
case "InvalidScopeException":
|
697
|
-
case "com.amazonaws.ssooidc#InvalidScopeException":
|
698
|
-
throw await de_InvalidScopeExceptionRes(parsedOutput, context);
|
699
|
-
case "SlowDownException":
|
700
|
-
case "com.amazonaws.ssooidc#SlowDownException":
|
701
|
-
throw await de_SlowDownExceptionRes(parsedOutput, context);
|
702
|
-
case "UnauthorizedClientException":
|
703
|
-
case "com.amazonaws.ssooidc#UnauthorizedClientException":
|
704
|
-
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
705
|
-
case "UnsupportedGrantTypeException":
|
706
|
-
case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
|
707
|
-
throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
|
708
|
-
case "InvalidRequestRegionException":
|
709
|
-
case "com.amazonaws.ssooidc#InvalidRequestRegionException":
|
710
|
-
throw await de_InvalidRequestRegionExceptionRes(parsedOutput, context);
|
711
|
-
case "InvalidClientMetadataException":
|
712
|
-
case "com.amazonaws.ssooidc#InvalidClientMetadataException":
|
713
|
-
throw await de_InvalidClientMetadataExceptionRes(parsedOutput, context);
|
714
|
-
default:
|
715
|
-
const parsedBody = parsedOutput.body;
|
716
|
-
return throwDefaultError({
|
717
|
-
output,
|
718
|
-
parsedBody,
|
719
|
-
errorCode
|
720
|
-
});
|
721
|
-
}
|
722
|
-
}, "de_CommandError");
|
723
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(SSOOIDCServiceException);
|
724
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
725
|
-
const contents = (0, import_smithy_client.map)({});
|
726
|
-
const data = parsedOutput.body;
|
727
|
-
const doc = (0, import_smithy_client.take)(data, {
|
728
|
-
error: import_smithy_client.expectString,
|
729
|
-
error_description: import_smithy_client.expectString
|
730
|
-
});
|
731
|
-
Object.assign(contents, doc);
|
732
|
-
const exception = new AccessDeniedException({
|
733
|
-
$metadata: deserializeMetadata(parsedOutput),
|
734
|
-
...contents
|
735
|
-
});
|
736
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
737
|
-
}, "de_AccessDeniedExceptionRes");
|
738
|
-
var de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
739
|
-
const contents = (0, import_smithy_client.map)({});
|
740
|
-
const data = parsedOutput.body;
|
741
|
-
const doc = (0, import_smithy_client.take)(data, {
|
742
|
-
error: import_smithy_client.expectString,
|
743
|
-
error_description: import_smithy_client.expectString
|
744
|
-
});
|
745
|
-
Object.assign(contents, doc);
|
746
|
-
const exception = new AuthorizationPendingException({
|
747
|
-
$metadata: deserializeMetadata(parsedOutput),
|
748
|
-
...contents
|
749
|
-
});
|
750
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
751
|
-
}, "de_AuthorizationPendingExceptionRes");
|
752
|
-
var de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
753
|
-
const contents = (0, import_smithy_client.map)({});
|
754
|
-
const data = parsedOutput.body;
|
755
|
-
const doc = (0, import_smithy_client.take)(data, {
|
756
|
-
error: import_smithy_client.expectString,
|
757
|
-
error_description: import_smithy_client.expectString
|
758
|
-
});
|
759
|
-
Object.assign(contents, doc);
|
760
|
-
const exception = new ExpiredTokenException({
|
761
|
-
$metadata: deserializeMetadata(parsedOutput),
|
762
|
-
...contents
|
763
|
-
});
|
764
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
765
|
-
}, "de_ExpiredTokenExceptionRes");
|
766
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
767
|
-
const contents = (0, import_smithy_client.map)({});
|
768
|
-
const data = parsedOutput.body;
|
769
|
-
const doc = (0, import_smithy_client.take)(data, {
|
770
|
-
error: import_smithy_client.expectString,
|
771
|
-
error_description: import_smithy_client.expectString
|
772
|
-
});
|
773
|
-
Object.assign(contents, doc);
|
774
|
-
const exception = new InternalServerException({
|
775
|
-
$metadata: deserializeMetadata(parsedOutput),
|
776
|
-
...contents
|
777
|
-
});
|
778
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
779
|
-
}, "de_InternalServerExceptionRes");
|
780
|
-
var de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
781
|
-
const contents = (0, import_smithy_client.map)({});
|
782
|
-
const data = parsedOutput.body;
|
783
|
-
const doc = (0, import_smithy_client.take)(data, {
|
784
|
-
error: import_smithy_client.expectString,
|
785
|
-
error_description: import_smithy_client.expectString
|
786
|
-
});
|
787
|
-
Object.assign(contents, doc);
|
788
|
-
const exception = new InvalidClientException({
|
789
|
-
$metadata: deserializeMetadata(parsedOutput),
|
790
|
-
...contents
|
791
|
-
});
|
792
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
793
|
-
}, "de_InvalidClientExceptionRes");
|
794
|
-
var de_InvalidClientMetadataExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
795
|
-
const contents = (0, import_smithy_client.map)({});
|
796
|
-
const data = parsedOutput.body;
|
797
|
-
const doc = (0, import_smithy_client.take)(data, {
|
798
|
-
error: import_smithy_client.expectString,
|
799
|
-
error_description: import_smithy_client.expectString
|
800
|
-
});
|
801
|
-
Object.assign(contents, doc);
|
802
|
-
const exception = new InvalidClientMetadataException({
|
803
|
-
$metadata: deserializeMetadata(parsedOutput),
|
804
|
-
...contents
|
805
|
-
});
|
806
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
807
|
-
}, "de_InvalidClientMetadataExceptionRes");
|
808
|
-
var de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
809
|
-
const contents = (0, import_smithy_client.map)({});
|
810
|
-
const data = parsedOutput.body;
|
811
|
-
const doc = (0, import_smithy_client.take)(data, {
|
812
|
-
error: import_smithy_client.expectString,
|
813
|
-
error_description: import_smithy_client.expectString
|
814
|
-
});
|
815
|
-
Object.assign(contents, doc);
|
816
|
-
const exception = new InvalidGrantException({
|
817
|
-
$metadata: deserializeMetadata(parsedOutput),
|
818
|
-
...contents
|
819
|
-
});
|
820
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
821
|
-
}, "de_InvalidGrantExceptionRes");
|
822
|
-
var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
823
|
-
const contents = (0, import_smithy_client.map)({});
|
824
|
-
const data = parsedOutput.body;
|
825
|
-
const doc = (0, import_smithy_client.take)(data, {
|
826
|
-
error: import_smithy_client.expectString,
|
827
|
-
error_description: import_smithy_client.expectString
|
828
|
-
});
|
829
|
-
Object.assign(contents, doc);
|
830
|
-
const exception = new InvalidRequestException({
|
831
|
-
$metadata: deserializeMetadata(parsedOutput),
|
832
|
-
...contents
|
833
|
-
});
|
834
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
835
|
-
}, "de_InvalidRequestExceptionRes");
|
836
|
-
var de_InvalidRequestRegionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
837
|
-
const contents = (0, import_smithy_client.map)({});
|
838
|
-
const data = parsedOutput.body;
|
839
|
-
const doc = (0, import_smithy_client.take)(data, {
|
840
|
-
endpoint: import_smithy_client.expectString,
|
841
|
-
error: import_smithy_client.expectString,
|
842
|
-
error_description: import_smithy_client.expectString,
|
843
|
-
region: import_smithy_client.expectString
|
844
|
-
});
|
845
|
-
Object.assign(contents, doc);
|
846
|
-
const exception = new InvalidRequestRegionException({
|
847
|
-
$metadata: deserializeMetadata(parsedOutput),
|
848
|
-
...contents
|
849
|
-
});
|
850
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
851
|
-
}, "de_InvalidRequestRegionExceptionRes");
|
852
|
-
var de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
853
|
-
const contents = (0, import_smithy_client.map)({});
|
854
|
-
const data = parsedOutput.body;
|
855
|
-
const doc = (0, import_smithy_client.take)(data, {
|
856
|
-
error: import_smithy_client.expectString,
|
857
|
-
error_description: import_smithy_client.expectString
|
858
|
-
});
|
859
|
-
Object.assign(contents, doc);
|
860
|
-
const exception = new InvalidScopeException({
|
861
|
-
$metadata: deserializeMetadata(parsedOutput),
|
862
|
-
...contents
|
863
|
-
});
|
864
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
865
|
-
}, "de_InvalidScopeExceptionRes");
|
866
|
-
var de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
867
|
-
const contents = (0, import_smithy_client.map)({});
|
868
|
-
const data = parsedOutput.body;
|
869
|
-
const doc = (0, import_smithy_client.take)(data, {
|
870
|
-
error: import_smithy_client.expectString,
|
871
|
-
error_description: import_smithy_client.expectString
|
872
|
-
});
|
873
|
-
Object.assign(contents, doc);
|
874
|
-
const exception = new SlowDownException({
|
875
|
-
$metadata: deserializeMetadata(parsedOutput),
|
876
|
-
...contents
|
877
|
-
});
|
878
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
879
|
-
}, "de_SlowDownExceptionRes");
|
880
|
-
var de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
881
|
-
const contents = (0, import_smithy_client.map)({});
|
882
|
-
const data = parsedOutput.body;
|
883
|
-
const doc = (0, import_smithy_client.take)(data, {
|
884
|
-
error: import_smithy_client.expectString,
|
885
|
-
error_description: import_smithy_client.expectString
|
886
|
-
});
|
887
|
-
Object.assign(contents, doc);
|
888
|
-
const exception = new UnauthorizedClientException({
|
889
|
-
$metadata: deserializeMetadata(parsedOutput),
|
890
|
-
...contents
|
891
|
-
});
|
892
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
893
|
-
}, "de_UnauthorizedClientExceptionRes");
|
894
|
-
var de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
895
|
-
const contents = (0, import_smithy_client.map)({});
|
896
|
-
const data = parsedOutput.body;
|
897
|
-
const doc = (0, import_smithy_client.take)(data, {
|
898
|
-
error: import_smithy_client.expectString,
|
899
|
-
error_description: import_smithy_client.expectString
|
900
|
-
});
|
901
|
-
Object.assign(contents, doc);
|
902
|
-
const exception = new UnsupportedGrantTypeException({
|
903
|
-
$metadata: deserializeMetadata(parsedOutput),
|
904
|
-
...contents
|
905
|
-
});
|
906
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
907
|
-
}, "de_UnsupportedGrantTypeExceptionRes");
|
908
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
909
|
-
httpStatusCode: output.statusCode,
|
910
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
911
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
912
|
-
cfId: output.headers["x-amz-cf-id"]
|
913
|
-
}), "deserializeMetadata");
|
914
|
-
var _ai = "aws_iam";
|
915
|
-
|
916
|
-
// src/commands/CreateTokenCommand.ts
|
917
|
-
var _CreateTokenCommand = class _CreateTokenCommand extends import_smithy_client.Command.classBuilder().ep({
|
918
|
-
...commonParams
|
919
|
-
}).m(function(Command, cs, config, o) {
|
920
|
-
return [
|
921
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
922
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
923
|
-
];
|
924
|
-
}).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {
|
925
|
-
};
|
926
|
-
__name(_CreateTokenCommand, "CreateTokenCommand");
|
927
|
-
var CreateTokenCommand = _CreateTokenCommand;
|
928
|
-
|
929
|
-
// src/commands/CreateTokenWithIAMCommand.ts
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
var _CreateTokenWithIAMCommand = class _CreateTokenWithIAMCommand extends import_smithy_client.Command.classBuilder().ep({
|
935
|
-
...commonParams
|
936
|
-
}).m(function(Command, cs, config, o) {
|
937
|
-
return [
|
938
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
939
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
940
|
-
];
|
941
|
-
}).s("AWSSSOOIDCService", "CreateTokenWithIAM", {}).n("SSOOIDCClient", "CreateTokenWithIAMCommand").f(CreateTokenWithIAMRequestFilterSensitiveLog, CreateTokenWithIAMResponseFilterSensitiveLog).ser(se_CreateTokenWithIAMCommand).de(de_CreateTokenWithIAMCommand).build() {
|
942
|
-
};
|
943
|
-
__name(_CreateTokenWithIAMCommand, "CreateTokenWithIAMCommand");
|
944
|
-
var CreateTokenWithIAMCommand = _CreateTokenWithIAMCommand;
|
945
|
-
|
946
|
-
// src/commands/RegisterClientCommand.ts
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
var _RegisterClientCommand = class _RegisterClientCommand extends import_smithy_client.Command.classBuilder().ep({
|
952
|
-
...commonParams
|
953
|
-
}).m(function(Command, cs, config, o) {
|
954
|
-
return [
|
955
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
956
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
957
|
-
];
|
958
|
-
}).s("AWSSSOOIDCService", "RegisterClient", {}).n("SSOOIDCClient", "RegisterClientCommand").f(void 0, RegisterClientResponseFilterSensitiveLog).ser(se_RegisterClientCommand).de(de_RegisterClientCommand).build() {
|
959
|
-
};
|
960
|
-
__name(_RegisterClientCommand, "RegisterClientCommand");
|
961
|
-
var RegisterClientCommand = _RegisterClientCommand;
|
962
|
-
|
963
|
-
// src/commands/StartDeviceAuthorizationCommand.ts
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
var _StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends import_smithy_client.Command.classBuilder().ep({
|
969
|
-
...commonParams
|
970
|
-
}).m(function(Command, cs, config, o) {
|
971
|
-
return [
|
972
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
973
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
974
|
-
];
|
975
|
-
}).s("AWSSSOOIDCService", "StartDeviceAuthorization", {}).n("SSOOIDCClient", "StartDeviceAuthorizationCommand").f(StartDeviceAuthorizationRequestFilterSensitiveLog, void 0).ser(se_StartDeviceAuthorizationCommand).de(de_StartDeviceAuthorizationCommand).build() {
|
976
|
-
};
|
977
|
-
__name(_StartDeviceAuthorizationCommand, "StartDeviceAuthorizationCommand");
|
978
|
-
var StartDeviceAuthorizationCommand = _StartDeviceAuthorizationCommand;
|
979
|
-
|
980
|
-
// src/SSOOIDC.ts
|
981
|
-
var commands = {
|
982
|
-
CreateTokenCommand,
|
983
|
-
CreateTokenWithIAMCommand,
|
984
|
-
RegisterClientCommand,
|
985
|
-
StartDeviceAuthorizationCommand
|
986
|
-
};
|
987
|
-
var _SSOOIDC = class _SSOOIDC extends SSOOIDCClient {
|
988
|
-
};
|
989
|
-
__name(_SSOOIDC, "SSOOIDC");
|
990
|
-
var SSOOIDC = _SSOOIDC;
|
991
|
-
(0, import_smithy_client.createAggregatedClient)(commands, SSOOIDC);
|
992
|
-
// Annotate the CommonJS export names for ESM import in node:
|
993
|
-
|
994
|
-
0 && (module.exports = {
|
995
|
-
SSOOIDCServiceException,
|
996
|
-
__Client,
|
997
|
-
SSOOIDCClient,
|
998
|
-
SSOOIDC,
|
999
|
-
$Command,
|
1000
|
-
CreateTokenCommand,
|
1001
|
-
CreateTokenWithIAMCommand,
|
1002
|
-
RegisterClientCommand,
|
1003
|
-
StartDeviceAuthorizationCommand,
|
1004
|
-
AccessDeniedException,
|
1005
|
-
AuthorizationPendingException,
|
1006
|
-
ExpiredTokenException,
|
1007
|
-
InternalServerException,
|
1008
|
-
InvalidClientException,
|
1009
|
-
InvalidGrantException,
|
1010
|
-
InvalidRequestException,
|
1011
|
-
InvalidScopeException,
|
1012
|
-
SlowDownException,
|
1013
|
-
UnauthorizedClientException,
|
1014
|
-
UnsupportedGrantTypeException,
|
1015
|
-
InvalidRequestRegionException,
|
1016
|
-
InvalidClientMetadataException,
|
1017
|
-
CreateTokenRequestFilterSensitiveLog,
|
1018
|
-
CreateTokenResponseFilterSensitiveLog,
|
1019
|
-
CreateTokenWithIAMRequestFilterSensitiveLog,
|
1020
|
-
CreateTokenWithIAMResponseFilterSensitiveLog,
|
1021
|
-
RegisterClientResponseFilterSensitiveLog,
|
1022
|
-
StartDeviceAuthorizationRequestFilterSensitiveLog
|
1023
|
-
});
|
1024
|
-
|