@cdk8s/awscdk-resolver 0.0.232 → 0.0.234
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 +6 -8
- package/node_modules/@aws-sdk/client-sso/package.json +5 -5
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- 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 +8 -10
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- 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 +3 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- 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/nested-clients/dist-cjs/submodules/sso-oidc/index.js +804 -0
- 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 +6 -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 +47 -34
- 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/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 +2 -4
- 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 +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +3 -3
- package/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +0 -274
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +0 -1255
- 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
@@ -19,32 +19,19 @@ var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
20
20
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
21
21
|
|
22
|
-
// src/index.ts
|
23
|
-
var
|
24
|
-
__export(
|
22
|
+
// src/submodules/sts/index.ts
|
23
|
+
var sts_exports = {};
|
24
|
+
__export(sts_exports, {
|
25
25
|
AssumeRoleCommand: () => AssumeRoleCommand,
|
26
26
|
AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog,
|
27
|
-
AssumeRoleWithSAMLCommand: () => AssumeRoleWithSAMLCommand,
|
28
|
-
AssumeRoleWithSAMLRequestFilterSensitiveLog: () => AssumeRoleWithSAMLRequestFilterSensitiveLog,
|
29
|
-
AssumeRoleWithSAMLResponseFilterSensitiveLog: () => AssumeRoleWithSAMLResponseFilterSensitiveLog,
|
30
27
|
AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,
|
31
28
|
AssumeRoleWithWebIdentityRequestFilterSensitiveLog: () => AssumeRoleWithWebIdentityRequestFilterSensitiveLog,
|
32
29
|
AssumeRoleWithWebIdentityResponseFilterSensitiveLog: () => AssumeRoleWithWebIdentityResponseFilterSensitiveLog,
|
33
|
-
|
34
|
-
AssumeRootResponseFilterSensitiveLog: () => AssumeRootResponseFilterSensitiveLog,
|
35
|
-
ClientInputEndpointParameters: () => import_EndpointParameters10.ClientInputEndpointParameters,
|
30
|
+
ClientInputEndpointParameters: () => import_EndpointParameters3.ClientInputEndpointParameters,
|
36
31
|
CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,
|
37
|
-
DecodeAuthorizationMessageCommand: () => DecodeAuthorizationMessageCommand,
|
38
32
|
ExpiredTokenException: () => ExpiredTokenException,
|
39
|
-
GetAccessKeyInfoCommand: () => GetAccessKeyInfoCommand,
|
40
|
-
GetCallerIdentityCommand: () => GetCallerIdentityCommand,
|
41
|
-
GetFederationTokenCommand: () => GetFederationTokenCommand,
|
42
|
-
GetFederationTokenResponseFilterSensitiveLog: () => GetFederationTokenResponseFilterSensitiveLog,
|
43
|
-
GetSessionTokenCommand: () => GetSessionTokenCommand,
|
44
|
-
GetSessionTokenResponseFilterSensitiveLog: () => GetSessionTokenResponseFilterSensitiveLog,
|
45
33
|
IDPCommunicationErrorException: () => IDPCommunicationErrorException,
|
46
34
|
IDPRejectedClaimException: () => IDPRejectedClaimException,
|
47
|
-
InvalidAuthorizationMessageException: () => InvalidAuthorizationMessageException,
|
48
35
|
InvalidIdentityTokenException: () => InvalidIdentityTokenException,
|
49
36
|
MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,
|
50
37
|
PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,
|
@@ -55,22 +42,22 @@ __export(src_exports, {
|
|
55
42
|
getDefaultRoleAssumer: () => getDefaultRoleAssumer2,
|
56
43
|
getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2
|
57
44
|
});
|
58
|
-
module.exports = __toCommonJS(
|
59
|
-
__reExport(
|
45
|
+
module.exports = __toCommonJS(sts_exports);
|
46
|
+
__reExport(sts_exports, require("./STSClient"), module.exports);
|
60
47
|
|
61
|
-
// src/STS.ts
|
48
|
+
// src/submodules/sts/STS.ts
|
49
|
+
var import_smithy_client6 = require("@smithy/smithy-client");
|
62
50
|
|
63
|
-
|
64
|
-
// src/commands/AssumeRoleCommand.ts
|
51
|
+
// src/submodules/sts/commands/AssumeRoleCommand.ts
|
65
52
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
66
53
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
67
|
-
|
54
|
+
var import_smithy_client4 = require("@smithy/smithy-client");
|
68
55
|
var import_EndpointParameters = require("./endpoint/EndpointParameters");
|
69
56
|
|
70
|
-
// src/models/models_0.ts
|
57
|
+
// src/submodules/sts/models/models_0.ts
|
58
|
+
var import_smithy_client2 = require("@smithy/smithy-client");
|
71
59
|
|
72
|
-
|
73
|
-
// src/models/STSServiceException.ts
|
60
|
+
// src/submodules/sts/models/STSServiceException.ts
|
74
61
|
var import_smithy_client = require("@smithy/smithy-client");
|
75
62
|
var STSServiceException = class _STSServiceException extends import_smithy_client.ServiceException {
|
76
63
|
static {
|
@@ -85,7 +72,15 @@ var STSServiceException = class _STSServiceException extends import_smithy_clien
|
|
85
72
|
}
|
86
73
|
};
|
87
74
|
|
88
|
-
// src/models/models_0.ts
|
75
|
+
// src/submodules/sts/models/models_0.ts
|
76
|
+
var CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
77
|
+
...obj,
|
78
|
+
...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client2.SENSITIVE_STRING }
|
79
|
+
}), "CredentialsFilterSensitiveLog");
|
80
|
+
var AssumeRoleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
81
|
+
...obj,
|
82
|
+
...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }
|
83
|
+
}), "AssumeRoleResponseFilterSensitiveLog");
|
89
84
|
var ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {
|
90
85
|
static {
|
91
86
|
__name(this, "ExpiredTokenException");
|
@@ -194,6 +189,14 @@ var InvalidIdentityTokenException = class _InvalidIdentityTokenException extends
|
|
194
189
|
Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);
|
195
190
|
}
|
196
191
|
};
|
192
|
+
var AssumeRoleWithWebIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
193
|
+
...obj,
|
194
|
+
...obj.WebIdentityToken && { WebIdentityToken: import_smithy_client2.SENSITIVE_STRING }
|
195
|
+
}), "AssumeRoleWithWebIdentityRequestFilterSensitiveLog");
|
196
|
+
var AssumeRoleWithWebIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
197
|
+
...obj,
|
198
|
+
...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }
|
199
|
+
}), "AssumeRoleWithWebIdentityResponseFilterSensitiveLog");
|
197
200
|
var IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {
|
198
201
|
static {
|
199
202
|
__name(this, "IDPCommunicationErrorException");
|
@@ -212,65 +215,11 @@ var IDPCommunicationErrorException = class _IDPCommunicationErrorException exten
|
|
212
215
|
Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);
|
213
216
|
}
|
214
217
|
};
|
215
|
-
var InvalidAuthorizationMessageException = class _InvalidAuthorizationMessageException extends STSServiceException {
|
216
|
-
static {
|
217
|
-
__name(this, "InvalidAuthorizationMessageException");
|
218
|
-
}
|
219
|
-
name = "InvalidAuthorizationMessageException";
|
220
|
-
$fault = "client";
|
221
|
-
/**
|
222
|
-
* @internal
|
223
|
-
*/
|
224
|
-
constructor(opts) {
|
225
|
-
super({
|
226
|
-
name: "InvalidAuthorizationMessageException",
|
227
|
-
$fault: "client",
|
228
|
-
...opts
|
229
|
-
});
|
230
|
-
Object.setPrototypeOf(this, _InvalidAuthorizationMessageException.prototype);
|
231
|
-
}
|
232
|
-
};
|
233
|
-
var CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
234
|
-
...obj,
|
235
|
-
...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client.SENSITIVE_STRING }
|
236
|
-
}), "CredentialsFilterSensitiveLog");
|
237
|
-
var AssumeRoleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
238
|
-
...obj,
|
239
|
-
...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }
|
240
|
-
}), "AssumeRoleResponseFilterSensitiveLog");
|
241
|
-
var AssumeRoleWithSAMLRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
242
|
-
...obj,
|
243
|
-
...obj.SAMLAssertion && { SAMLAssertion: import_smithy_client.SENSITIVE_STRING }
|
244
|
-
}), "AssumeRoleWithSAMLRequestFilterSensitiveLog");
|
245
|
-
var AssumeRoleWithSAMLResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
246
|
-
...obj,
|
247
|
-
...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }
|
248
|
-
}), "AssumeRoleWithSAMLResponseFilterSensitiveLog");
|
249
|
-
var AssumeRoleWithWebIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
250
|
-
...obj,
|
251
|
-
...obj.WebIdentityToken && { WebIdentityToken: import_smithy_client.SENSITIVE_STRING }
|
252
|
-
}), "AssumeRoleWithWebIdentityRequestFilterSensitiveLog");
|
253
|
-
var AssumeRoleWithWebIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
254
|
-
...obj,
|
255
|
-
...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }
|
256
|
-
}), "AssumeRoleWithWebIdentityResponseFilterSensitiveLog");
|
257
|
-
var AssumeRootResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
258
|
-
...obj,
|
259
|
-
...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }
|
260
|
-
}), "AssumeRootResponseFilterSensitiveLog");
|
261
|
-
var GetFederationTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
262
|
-
...obj,
|
263
|
-
...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }
|
264
|
-
}), "GetFederationTokenResponseFilterSensitiveLog");
|
265
|
-
var GetSessionTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
266
|
-
...obj,
|
267
|
-
...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }
|
268
|
-
}), "GetSessionTokenResponseFilterSensitiveLog");
|
269
218
|
|
270
|
-
// src/protocols/Aws_query.ts
|
219
|
+
// src/submodules/sts/protocols/Aws_query.ts
|
271
220
|
var import_core = require("@aws-sdk/core");
|
272
221
|
var import_protocol_http = require("@smithy/protocol-http");
|
273
|
-
|
222
|
+
var import_smithy_client3 = require("@smithy/smithy-client");
|
274
223
|
var se_AssumeRoleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
275
224
|
const headers = SHARED_HEADERS;
|
276
225
|
let body;
|
@@ -281,16 +230,6 @@ var se_AssumeRoleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
281
230
|
});
|
282
231
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
283
232
|
}, "se_AssumeRoleCommand");
|
284
|
-
var se_AssumeRoleWithSAMLCommand = /* @__PURE__ */ __name(async (input, context) => {
|
285
|
-
const headers = SHARED_HEADERS;
|
286
|
-
let body;
|
287
|
-
body = buildFormUrlencodedString({
|
288
|
-
...se_AssumeRoleWithSAMLRequest(input, context),
|
289
|
-
[_A]: _ARWSAML,
|
290
|
-
[_V]: _
|
291
|
-
});
|
292
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
293
|
-
}, "se_AssumeRoleWithSAMLCommand");
|
294
233
|
var se_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
295
234
|
const headers = SHARED_HEADERS;
|
296
235
|
let body;
|
@@ -301,66 +240,6 @@ var se_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (input, c
|
|
301
240
|
});
|
302
241
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
303
242
|
}, "se_AssumeRoleWithWebIdentityCommand");
|
304
|
-
var se_AssumeRootCommand = /* @__PURE__ */ __name(async (input, context) => {
|
305
|
-
const headers = SHARED_HEADERS;
|
306
|
-
let body;
|
307
|
-
body = buildFormUrlencodedString({
|
308
|
-
...se_AssumeRootRequest(input, context),
|
309
|
-
[_A]: _ARs,
|
310
|
-
[_V]: _
|
311
|
-
});
|
312
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
313
|
-
}, "se_AssumeRootCommand");
|
314
|
-
var se_DecodeAuthorizationMessageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
315
|
-
const headers = SHARED_HEADERS;
|
316
|
-
let body;
|
317
|
-
body = buildFormUrlencodedString({
|
318
|
-
...se_DecodeAuthorizationMessageRequest(input, context),
|
319
|
-
[_A]: _DAM,
|
320
|
-
[_V]: _
|
321
|
-
});
|
322
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
323
|
-
}, "se_DecodeAuthorizationMessageCommand");
|
324
|
-
var se_GetAccessKeyInfoCommand = /* @__PURE__ */ __name(async (input, context) => {
|
325
|
-
const headers = SHARED_HEADERS;
|
326
|
-
let body;
|
327
|
-
body = buildFormUrlencodedString({
|
328
|
-
...se_GetAccessKeyInfoRequest(input, context),
|
329
|
-
[_A]: _GAKI,
|
330
|
-
[_V]: _
|
331
|
-
});
|
332
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
333
|
-
}, "se_GetAccessKeyInfoCommand");
|
334
|
-
var se_GetCallerIdentityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
335
|
-
const headers = SHARED_HEADERS;
|
336
|
-
let body;
|
337
|
-
body = buildFormUrlencodedString({
|
338
|
-
...se_GetCallerIdentityRequest(input, context),
|
339
|
-
[_A]: _GCI,
|
340
|
-
[_V]: _
|
341
|
-
});
|
342
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
343
|
-
}, "se_GetCallerIdentityCommand");
|
344
|
-
var se_GetFederationTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
345
|
-
const headers = SHARED_HEADERS;
|
346
|
-
let body;
|
347
|
-
body = buildFormUrlencodedString({
|
348
|
-
...se_GetFederationTokenRequest(input, context),
|
349
|
-
[_A]: _GFT,
|
350
|
-
[_V]: _
|
351
|
-
});
|
352
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
353
|
-
}, "se_GetFederationTokenCommand");
|
354
|
-
var se_GetSessionTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
355
|
-
const headers = SHARED_HEADERS;
|
356
|
-
let body;
|
357
|
-
body = buildFormUrlencodedString({
|
358
|
-
...se_GetSessionTokenRequest(input, context),
|
359
|
-
[_A]: _GST,
|
360
|
-
[_V]: _
|
361
|
-
});
|
362
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
363
|
-
}, "se_GetSessionTokenCommand");
|
364
243
|
var de_AssumeRoleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
365
244
|
if (output.statusCode >= 300) {
|
366
245
|
return de_CommandError(output, context);
|
@@ -374,19 +253,6 @@ var de_AssumeRoleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
374
253
|
};
|
375
254
|
return response;
|
376
255
|
}, "de_AssumeRoleCommand");
|
377
|
-
var de_AssumeRoleWithSAMLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
378
|
-
if (output.statusCode >= 300) {
|
379
|
-
return de_CommandError(output, context);
|
380
|
-
}
|
381
|
-
const data = await (0, import_core.parseXmlBody)(output.body, context);
|
382
|
-
let contents = {};
|
383
|
-
contents = de_AssumeRoleWithSAMLResponse(data.AssumeRoleWithSAMLResult, context);
|
384
|
-
const response = {
|
385
|
-
$metadata: deserializeMetadata(output),
|
386
|
-
...contents
|
387
|
-
};
|
388
|
-
return response;
|
389
|
-
}, "de_AssumeRoleWithSAMLCommand");
|
390
256
|
var de_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
391
257
|
if (output.statusCode >= 300) {
|
392
258
|
return de_CommandError(output, context);
|
@@ -400,84 +266,6 @@ var de_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (output,
|
|
400
266
|
};
|
401
267
|
return response;
|
402
268
|
}, "de_AssumeRoleWithWebIdentityCommand");
|
403
|
-
var de_AssumeRootCommand = /* @__PURE__ */ __name(async (output, context) => {
|
404
|
-
if (output.statusCode >= 300) {
|
405
|
-
return de_CommandError(output, context);
|
406
|
-
}
|
407
|
-
const data = await (0, import_core.parseXmlBody)(output.body, context);
|
408
|
-
let contents = {};
|
409
|
-
contents = de_AssumeRootResponse(data.AssumeRootResult, context);
|
410
|
-
const response = {
|
411
|
-
$metadata: deserializeMetadata(output),
|
412
|
-
...contents
|
413
|
-
};
|
414
|
-
return response;
|
415
|
-
}, "de_AssumeRootCommand");
|
416
|
-
var de_DecodeAuthorizationMessageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
417
|
-
if (output.statusCode >= 300) {
|
418
|
-
return de_CommandError(output, context);
|
419
|
-
}
|
420
|
-
const data = await (0, import_core.parseXmlBody)(output.body, context);
|
421
|
-
let contents = {};
|
422
|
-
contents = de_DecodeAuthorizationMessageResponse(data.DecodeAuthorizationMessageResult, context);
|
423
|
-
const response = {
|
424
|
-
$metadata: deserializeMetadata(output),
|
425
|
-
...contents
|
426
|
-
};
|
427
|
-
return response;
|
428
|
-
}, "de_DecodeAuthorizationMessageCommand");
|
429
|
-
var de_GetAccessKeyInfoCommand = /* @__PURE__ */ __name(async (output, context) => {
|
430
|
-
if (output.statusCode >= 300) {
|
431
|
-
return de_CommandError(output, context);
|
432
|
-
}
|
433
|
-
const data = await (0, import_core.parseXmlBody)(output.body, context);
|
434
|
-
let contents = {};
|
435
|
-
contents = de_GetAccessKeyInfoResponse(data.GetAccessKeyInfoResult, context);
|
436
|
-
const response = {
|
437
|
-
$metadata: deserializeMetadata(output),
|
438
|
-
...contents
|
439
|
-
};
|
440
|
-
return response;
|
441
|
-
}, "de_GetAccessKeyInfoCommand");
|
442
|
-
var de_GetCallerIdentityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
443
|
-
if (output.statusCode >= 300) {
|
444
|
-
return de_CommandError(output, context);
|
445
|
-
}
|
446
|
-
const data = await (0, import_core.parseXmlBody)(output.body, context);
|
447
|
-
let contents = {};
|
448
|
-
contents = de_GetCallerIdentityResponse(data.GetCallerIdentityResult, context);
|
449
|
-
const response = {
|
450
|
-
$metadata: deserializeMetadata(output),
|
451
|
-
...contents
|
452
|
-
};
|
453
|
-
return response;
|
454
|
-
}, "de_GetCallerIdentityCommand");
|
455
|
-
var de_GetFederationTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
456
|
-
if (output.statusCode >= 300) {
|
457
|
-
return de_CommandError(output, context);
|
458
|
-
}
|
459
|
-
const data = await (0, import_core.parseXmlBody)(output.body, context);
|
460
|
-
let contents = {};
|
461
|
-
contents = de_GetFederationTokenResponse(data.GetFederationTokenResult, context);
|
462
|
-
const response = {
|
463
|
-
$metadata: deserializeMetadata(output),
|
464
|
-
...contents
|
465
|
-
};
|
466
|
-
return response;
|
467
|
-
}, "de_GetFederationTokenCommand");
|
468
|
-
var de_GetSessionTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
469
|
-
if (output.statusCode >= 300) {
|
470
|
-
return de_CommandError(output, context);
|
471
|
-
}
|
472
|
-
const data = await (0, import_core.parseXmlBody)(output.body, context);
|
473
|
-
let contents = {};
|
474
|
-
contents = de_GetSessionTokenResponse(data.GetSessionTokenResult, context);
|
475
|
-
const response = {
|
476
|
-
$metadata: deserializeMetadata(output),
|
477
|
-
...contents
|
478
|
-
};
|
479
|
-
return response;
|
480
|
-
}, "de_GetSessionTokenCommand");
|
481
269
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
482
270
|
const parsedOutput = {
|
483
271
|
...output,
|
@@ -497,18 +285,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
497
285
|
case "RegionDisabledException":
|
498
286
|
case "com.amazonaws.sts#RegionDisabledException":
|
499
287
|
throw await de_RegionDisabledExceptionRes(parsedOutput, context);
|
288
|
+
case "IDPCommunicationError":
|
289
|
+
case "com.amazonaws.sts#IDPCommunicationErrorException":
|
290
|
+
throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context);
|
500
291
|
case "IDPRejectedClaim":
|
501
292
|
case "com.amazonaws.sts#IDPRejectedClaimException":
|
502
293
|
throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context);
|
503
294
|
case "InvalidIdentityToken":
|
504
295
|
case "com.amazonaws.sts#InvalidIdentityTokenException":
|
505
296
|
throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context);
|
506
|
-
case "IDPCommunicationError":
|
507
|
-
case "com.amazonaws.sts#IDPCommunicationErrorException":
|
508
|
-
throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context);
|
509
|
-
case "InvalidAuthorizationMessageException":
|
510
|
-
case "com.amazonaws.sts#InvalidAuthorizationMessageException":
|
511
|
-
throw await de_InvalidAuthorizationMessageExceptionRes(parsedOutput, context);
|
512
297
|
default:
|
513
298
|
const parsedBody = parsedOutput.body;
|
514
299
|
return throwDefaultError({
|
@@ -525,7 +310,7 @@ var de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, co
|
|
525
310
|
$metadata: deserializeMetadata(parsedOutput),
|
526
311
|
...deserialized
|
527
312
|
});
|
528
|
-
return (0,
|
313
|
+
return (0, import_smithy_client3.decorateServiceException)(exception, body);
|
529
314
|
}, "de_ExpiredTokenExceptionRes");
|
530
315
|
var de_IDPCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
531
316
|
const body = parsedOutput.body;
|
@@ -534,7 +319,7 @@ var de_IDPCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedO
|
|
534
319
|
$metadata: deserializeMetadata(parsedOutput),
|
535
320
|
...deserialized
|
536
321
|
});
|
537
|
-
return (0,
|
322
|
+
return (0, import_smithy_client3.decorateServiceException)(exception, body);
|
538
323
|
}, "de_IDPCommunicationErrorExceptionRes");
|
539
324
|
var de_IDPRejectedClaimExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
540
325
|
const body = parsedOutput.body;
|
@@ -543,17 +328,8 @@ var de_IDPRejectedClaimExceptionRes = /* @__PURE__ */ __name(async (parsedOutput
|
|
543
328
|
$metadata: deserializeMetadata(parsedOutput),
|
544
329
|
...deserialized
|
545
330
|
});
|
546
|
-
return (0,
|
331
|
+
return (0, import_smithy_client3.decorateServiceException)(exception, body);
|
547
332
|
}, "de_IDPRejectedClaimExceptionRes");
|
548
|
-
var de_InvalidAuthorizationMessageExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
549
|
-
const body = parsedOutput.body;
|
550
|
-
const deserialized = de_InvalidAuthorizationMessageException(body.Error, context);
|
551
|
-
const exception = new InvalidAuthorizationMessageException({
|
552
|
-
$metadata: deserializeMetadata(parsedOutput),
|
553
|
-
...deserialized
|
554
|
-
});
|
555
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
556
|
-
}, "de_InvalidAuthorizationMessageExceptionRes");
|
557
333
|
var de_InvalidIdentityTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
558
334
|
const body = parsedOutput.body;
|
559
335
|
const deserialized = de_InvalidIdentityTokenException(body.Error, context);
|
@@ -561,7 +337,7 @@ var de_InvalidIdentityTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOu
|
|
561
337
|
$metadata: deserializeMetadata(parsedOutput),
|
562
338
|
...deserialized
|
563
339
|
});
|
564
|
-
return (0,
|
340
|
+
return (0, import_smithy_client3.decorateServiceException)(exception, body);
|
565
341
|
}, "de_InvalidIdentityTokenExceptionRes");
|
566
342
|
var de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
567
343
|
const body = parsedOutput.body;
|
@@ -570,7 +346,7 @@ var de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parse
|
|
570
346
|
$metadata: deserializeMetadata(parsedOutput),
|
571
347
|
...deserialized
|
572
348
|
});
|
573
|
-
return (0,
|
349
|
+
return (0, import_smithy_client3.decorateServiceException)(exception, body);
|
574
350
|
}, "de_MalformedPolicyDocumentExceptionRes");
|
575
351
|
var de_PackedPolicyTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
576
352
|
const body = parsedOutput.body;
|
@@ -579,7 +355,7 @@ var de_PackedPolicyTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOu
|
|
579
355
|
$metadata: deserializeMetadata(parsedOutput),
|
580
356
|
...deserialized
|
581
357
|
});
|
582
|
-
return (0,
|
358
|
+
return (0, import_smithy_client3.decorateServiceException)(exception, body);
|
583
359
|
}, "de_PackedPolicyTooLargeExceptionRes");
|
584
360
|
var de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
585
361
|
const body = parsedOutput.body;
|
@@ -588,7 +364,7 @@ var de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput,
|
|
588
364
|
$metadata: deserializeMetadata(parsedOutput),
|
589
365
|
...deserialized
|
590
366
|
});
|
591
|
-
return (0,
|
367
|
+
return (0, import_smithy_client3.decorateServiceException)(exception, body);
|
592
368
|
}, "de_RegionDisabledExceptionRes");
|
593
369
|
var se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {
|
594
370
|
const entries = {};
|
@@ -658,35 +434,6 @@ var se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => {
|
|
658
434
|
}
|
659
435
|
return entries;
|
660
436
|
}, "se_AssumeRoleRequest");
|
661
|
-
var se_AssumeRoleWithSAMLRequest = /* @__PURE__ */ __name((input, context) => {
|
662
|
-
const entries = {};
|
663
|
-
if (input[_RA] != null) {
|
664
|
-
entries[_RA] = input[_RA];
|
665
|
-
}
|
666
|
-
if (input[_PAr] != null) {
|
667
|
-
entries[_PAr] = input[_PAr];
|
668
|
-
}
|
669
|
-
if (input[_SAMLA] != null) {
|
670
|
-
entries[_SAMLA] = input[_SAMLA];
|
671
|
-
}
|
672
|
-
if (input[_PA] != null) {
|
673
|
-
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
674
|
-
if (input[_PA]?.length === 0) {
|
675
|
-
entries.PolicyArns = [];
|
676
|
-
}
|
677
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
678
|
-
const loc = `PolicyArns.${key}`;
|
679
|
-
entries[loc] = value;
|
680
|
-
});
|
681
|
-
}
|
682
|
-
if (input[_P] != null) {
|
683
|
-
entries[_P] = input[_P];
|
684
|
-
}
|
685
|
-
if (input[_DS] != null) {
|
686
|
-
entries[_DS] = input[_DS];
|
687
|
-
}
|
688
|
-
return entries;
|
689
|
-
}, "se_AssumeRoleWithSAMLRequest");
|
690
437
|
var se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context) => {
|
691
438
|
const entries = {};
|
692
439
|
if (input[_RA] != null) {
|
@@ -719,87 +466,6 @@ var se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context
|
|
719
466
|
}
|
720
467
|
return entries;
|
721
468
|
}, "se_AssumeRoleWithWebIdentityRequest");
|
722
|
-
var se_AssumeRootRequest = /* @__PURE__ */ __name((input, context) => {
|
723
|
-
const entries = {};
|
724
|
-
if (input[_TP] != null) {
|
725
|
-
entries[_TP] = input[_TP];
|
726
|
-
}
|
727
|
-
if (input[_TPA] != null) {
|
728
|
-
const memberEntries = se_PolicyDescriptorType(input[_TPA], context);
|
729
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
730
|
-
const loc = `TaskPolicyArn.${key}`;
|
731
|
-
entries[loc] = value;
|
732
|
-
});
|
733
|
-
}
|
734
|
-
if (input[_DS] != null) {
|
735
|
-
entries[_DS] = input[_DS];
|
736
|
-
}
|
737
|
-
return entries;
|
738
|
-
}, "se_AssumeRootRequest");
|
739
|
-
var se_DecodeAuthorizationMessageRequest = /* @__PURE__ */ __name((input, context) => {
|
740
|
-
const entries = {};
|
741
|
-
if (input[_EM] != null) {
|
742
|
-
entries[_EM] = input[_EM];
|
743
|
-
}
|
744
|
-
return entries;
|
745
|
-
}, "se_DecodeAuthorizationMessageRequest");
|
746
|
-
var se_GetAccessKeyInfoRequest = /* @__PURE__ */ __name((input, context) => {
|
747
|
-
const entries = {};
|
748
|
-
if (input[_AKI] != null) {
|
749
|
-
entries[_AKI] = input[_AKI];
|
750
|
-
}
|
751
|
-
return entries;
|
752
|
-
}, "se_GetAccessKeyInfoRequest");
|
753
|
-
var se_GetCallerIdentityRequest = /* @__PURE__ */ __name((input, context) => {
|
754
|
-
const entries = {};
|
755
|
-
return entries;
|
756
|
-
}, "se_GetCallerIdentityRequest");
|
757
|
-
var se_GetFederationTokenRequest = /* @__PURE__ */ __name((input, context) => {
|
758
|
-
const entries = {};
|
759
|
-
if (input[_N] != null) {
|
760
|
-
entries[_N] = input[_N];
|
761
|
-
}
|
762
|
-
if (input[_P] != null) {
|
763
|
-
entries[_P] = input[_P];
|
764
|
-
}
|
765
|
-
if (input[_PA] != null) {
|
766
|
-
const memberEntries = se_policyDescriptorListType(input[_PA], context);
|
767
|
-
if (input[_PA]?.length === 0) {
|
768
|
-
entries.PolicyArns = [];
|
769
|
-
}
|
770
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
771
|
-
const loc = `PolicyArns.${key}`;
|
772
|
-
entries[loc] = value;
|
773
|
-
});
|
774
|
-
}
|
775
|
-
if (input[_DS] != null) {
|
776
|
-
entries[_DS] = input[_DS];
|
777
|
-
}
|
778
|
-
if (input[_T] != null) {
|
779
|
-
const memberEntries = se_tagListType(input[_T], context);
|
780
|
-
if (input[_T]?.length === 0) {
|
781
|
-
entries.Tags = [];
|
782
|
-
}
|
783
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
784
|
-
const loc = `Tags.${key}`;
|
785
|
-
entries[loc] = value;
|
786
|
-
});
|
787
|
-
}
|
788
|
-
return entries;
|
789
|
-
}, "se_GetFederationTokenRequest");
|
790
|
-
var se_GetSessionTokenRequest = /* @__PURE__ */ __name((input, context) => {
|
791
|
-
const entries = {};
|
792
|
-
if (input[_DS] != null) {
|
793
|
-
entries[_DS] = input[_DS];
|
794
|
-
}
|
795
|
-
if (input[_SN] != null) {
|
796
|
-
entries[_SN] = input[_SN];
|
797
|
-
}
|
798
|
-
if (input[_TC] != null) {
|
799
|
-
entries[_TC] = input[_TC];
|
800
|
-
}
|
801
|
-
return entries;
|
802
|
-
}, "se_GetSessionTokenRequest");
|
803
469
|
var se_policyDescriptorListType = /* @__PURE__ */ __name((input, context) => {
|
804
470
|
const entries = {};
|
805
471
|
let counter = 1;
|
@@ -824,8 +490,8 @@ var se_PolicyDescriptorType = /* @__PURE__ */ __name((input, context) => {
|
|
824
490
|
}, "se_PolicyDescriptorType");
|
825
491
|
var se_ProvidedContext = /* @__PURE__ */ __name((input, context) => {
|
826
492
|
const entries = {};
|
827
|
-
if (input[
|
828
|
-
entries[
|
493
|
+
if (input[_PAr] != null) {
|
494
|
+
entries[_PAr] = input[_PAr];
|
829
495
|
}
|
830
496
|
if (input[_CA] != null) {
|
831
497
|
entries[_CA] = input[_CA];
|
@@ -887,10 +553,10 @@ var se_tagListType = /* @__PURE__ */ __name((input, context) => {
|
|
887
553
|
var de_AssumedRoleUser = /* @__PURE__ */ __name((output, context) => {
|
888
554
|
const contents = {};
|
889
555
|
if (output[_ARI] != null) {
|
890
|
-
contents[_ARI] = (0,
|
556
|
+
contents[_ARI] = (0, import_smithy_client3.expectString)(output[_ARI]);
|
891
557
|
}
|
892
558
|
if (output[_Ar] != null) {
|
893
|
-
contents[_Ar] = (0,
|
559
|
+
contents[_Ar] = (0, import_smithy_client3.expectString)(output[_Ar]);
|
894
560
|
}
|
895
561
|
return contents;
|
896
562
|
}, "de_AssumedRoleUser");
|
@@ -903,205 +569,100 @@ var de_AssumeRoleResponse = /* @__PURE__ */ __name((output, context) => {
|
|
903
569
|
contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);
|
904
570
|
}
|
905
571
|
if (output[_PPS] != null) {
|
906
|
-
contents[_PPS] = (0,
|
572
|
+
contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);
|
907
573
|
}
|
908
574
|
if (output[_SI] != null) {
|
909
|
-
contents[_SI] = (0,
|
575
|
+
contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);
|
910
576
|
}
|
911
577
|
return contents;
|
912
578
|
}, "de_AssumeRoleResponse");
|
913
|
-
var de_AssumeRoleWithSAMLResponse = /* @__PURE__ */ __name((output, context) => {
|
914
|
-
const contents = {};
|
915
|
-
if (output[_C] != null) {
|
916
|
-
contents[_C] = de_Credentials(output[_C], context);
|
917
|
-
}
|
918
|
-
if (output[_ARU] != null) {
|
919
|
-
contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);
|
920
|
-
}
|
921
|
-
if (output[_PPS] != null) {
|
922
|
-
contents[_PPS] = (0, import_smithy_client.strictParseInt32)(output[_PPS]);
|
923
|
-
}
|
924
|
-
if (output[_S] != null) {
|
925
|
-
contents[_S] = (0, import_smithy_client.expectString)(output[_S]);
|
926
|
-
}
|
927
|
-
if (output[_ST] != null) {
|
928
|
-
contents[_ST] = (0, import_smithy_client.expectString)(output[_ST]);
|
929
|
-
}
|
930
|
-
if (output[_I] != null) {
|
931
|
-
contents[_I] = (0, import_smithy_client.expectString)(output[_I]);
|
932
|
-
}
|
933
|
-
if (output[_Au] != null) {
|
934
|
-
contents[_Au] = (0, import_smithy_client.expectString)(output[_Au]);
|
935
|
-
}
|
936
|
-
if (output[_NQ] != null) {
|
937
|
-
contents[_NQ] = (0, import_smithy_client.expectString)(output[_NQ]);
|
938
|
-
}
|
939
|
-
if (output[_SI] != null) {
|
940
|
-
contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]);
|
941
|
-
}
|
942
|
-
return contents;
|
943
|
-
}, "de_AssumeRoleWithSAMLResponse");
|
944
579
|
var de_AssumeRoleWithWebIdentityResponse = /* @__PURE__ */ __name((output, context) => {
|
945
580
|
const contents = {};
|
946
581
|
if (output[_C] != null) {
|
947
582
|
contents[_C] = de_Credentials(output[_C], context);
|
948
583
|
}
|
949
584
|
if (output[_SFWIT] != null) {
|
950
|
-
contents[_SFWIT] = (0,
|
585
|
+
contents[_SFWIT] = (0, import_smithy_client3.expectString)(output[_SFWIT]);
|
951
586
|
}
|
952
587
|
if (output[_ARU] != null) {
|
953
588
|
contents[_ARU] = de_AssumedRoleUser(output[_ARU], context);
|
954
589
|
}
|
955
590
|
if (output[_PPS] != null) {
|
956
|
-
contents[_PPS] = (0,
|
591
|
+
contents[_PPS] = (0, import_smithy_client3.strictParseInt32)(output[_PPS]);
|
957
592
|
}
|
958
593
|
if (output[_Pr] != null) {
|
959
|
-
contents[_Pr] = (0,
|
594
|
+
contents[_Pr] = (0, import_smithy_client3.expectString)(output[_Pr]);
|
960
595
|
}
|
961
596
|
if (output[_Au] != null) {
|
962
|
-
contents[_Au] = (0,
|
597
|
+
contents[_Au] = (0, import_smithy_client3.expectString)(output[_Au]);
|
963
598
|
}
|
964
599
|
if (output[_SI] != null) {
|
965
|
-
contents[_SI] = (0,
|
600
|
+
contents[_SI] = (0, import_smithy_client3.expectString)(output[_SI]);
|
966
601
|
}
|
967
602
|
return contents;
|
968
603
|
}, "de_AssumeRoleWithWebIdentityResponse");
|
969
|
-
var de_AssumeRootResponse = /* @__PURE__ */ __name((output, context) => {
|
970
|
-
const contents = {};
|
971
|
-
if (output[_C] != null) {
|
972
|
-
contents[_C] = de_Credentials(output[_C], context);
|
973
|
-
}
|
974
|
-
if (output[_SI] != null) {
|
975
|
-
contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]);
|
976
|
-
}
|
977
|
-
return contents;
|
978
|
-
}, "de_AssumeRootResponse");
|
979
604
|
var de_Credentials = /* @__PURE__ */ __name((output, context) => {
|
980
605
|
const contents = {};
|
981
606
|
if (output[_AKI] != null) {
|
982
|
-
contents[_AKI] = (0,
|
607
|
+
contents[_AKI] = (0, import_smithy_client3.expectString)(output[_AKI]);
|
983
608
|
}
|
984
609
|
if (output[_SAK] != null) {
|
985
|
-
contents[_SAK] = (0,
|
610
|
+
contents[_SAK] = (0, import_smithy_client3.expectString)(output[_SAK]);
|
986
611
|
}
|
987
|
-
if (output[
|
988
|
-
contents[
|
612
|
+
if (output[_ST] != null) {
|
613
|
+
contents[_ST] = (0, import_smithy_client3.expectString)(output[_ST]);
|
989
614
|
}
|
990
615
|
if (output[_E] != null) {
|
991
|
-
contents[_E] = (0,
|
616
|
+
contents[_E] = (0, import_smithy_client3.expectNonNull)((0, import_smithy_client3.parseRfc3339DateTimeWithOffset)(output[_E]));
|
992
617
|
}
|
993
618
|
return contents;
|
994
619
|
}, "de_Credentials");
|
995
|
-
var de_DecodeAuthorizationMessageResponse = /* @__PURE__ */ __name((output, context) => {
|
996
|
-
const contents = {};
|
997
|
-
if (output[_DM] != null) {
|
998
|
-
contents[_DM] = (0, import_smithy_client.expectString)(output[_DM]);
|
999
|
-
}
|
1000
|
-
return contents;
|
1001
|
-
}, "de_DecodeAuthorizationMessageResponse");
|
1002
620
|
var de_ExpiredTokenException = /* @__PURE__ */ __name((output, context) => {
|
1003
621
|
const contents = {};
|
1004
622
|
if (output[_m] != null) {
|
1005
|
-
contents[_m] = (0,
|
623
|
+
contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);
|
1006
624
|
}
|
1007
625
|
return contents;
|
1008
626
|
}, "de_ExpiredTokenException");
|
1009
|
-
var de_FederatedUser = /* @__PURE__ */ __name((output, context) => {
|
1010
|
-
const contents = {};
|
1011
|
-
if (output[_FUI] != null) {
|
1012
|
-
contents[_FUI] = (0, import_smithy_client.expectString)(output[_FUI]);
|
1013
|
-
}
|
1014
|
-
if (output[_Ar] != null) {
|
1015
|
-
contents[_Ar] = (0, import_smithy_client.expectString)(output[_Ar]);
|
1016
|
-
}
|
1017
|
-
return contents;
|
1018
|
-
}, "de_FederatedUser");
|
1019
|
-
var de_GetAccessKeyInfoResponse = /* @__PURE__ */ __name((output, context) => {
|
1020
|
-
const contents = {};
|
1021
|
-
if (output[_Ac] != null) {
|
1022
|
-
contents[_Ac] = (0, import_smithy_client.expectString)(output[_Ac]);
|
1023
|
-
}
|
1024
|
-
return contents;
|
1025
|
-
}, "de_GetAccessKeyInfoResponse");
|
1026
|
-
var de_GetCallerIdentityResponse = /* @__PURE__ */ __name((output, context) => {
|
1027
|
-
const contents = {};
|
1028
|
-
if (output[_UI] != null) {
|
1029
|
-
contents[_UI] = (0, import_smithy_client.expectString)(output[_UI]);
|
1030
|
-
}
|
1031
|
-
if (output[_Ac] != null) {
|
1032
|
-
contents[_Ac] = (0, import_smithy_client.expectString)(output[_Ac]);
|
1033
|
-
}
|
1034
|
-
if (output[_Ar] != null) {
|
1035
|
-
contents[_Ar] = (0, import_smithy_client.expectString)(output[_Ar]);
|
1036
|
-
}
|
1037
|
-
return contents;
|
1038
|
-
}, "de_GetCallerIdentityResponse");
|
1039
|
-
var de_GetFederationTokenResponse = /* @__PURE__ */ __name((output, context) => {
|
1040
|
-
const contents = {};
|
1041
|
-
if (output[_C] != null) {
|
1042
|
-
contents[_C] = de_Credentials(output[_C], context);
|
1043
|
-
}
|
1044
|
-
if (output[_FU] != null) {
|
1045
|
-
contents[_FU] = de_FederatedUser(output[_FU], context);
|
1046
|
-
}
|
1047
|
-
if (output[_PPS] != null) {
|
1048
|
-
contents[_PPS] = (0, import_smithy_client.strictParseInt32)(output[_PPS]);
|
1049
|
-
}
|
1050
|
-
return contents;
|
1051
|
-
}, "de_GetFederationTokenResponse");
|
1052
|
-
var de_GetSessionTokenResponse = /* @__PURE__ */ __name((output, context) => {
|
1053
|
-
const contents = {};
|
1054
|
-
if (output[_C] != null) {
|
1055
|
-
contents[_C] = de_Credentials(output[_C], context);
|
1056
|
-
}
|
1057
|
-
return contents;
|
1058
|
-
}, "de_GetSessionTokenResponse");
|
1059
627
|
var de_IDPCommunicationErrorException = /* @__PURE__ */ __name((output, context) => {
|
1060
628
|
const contents = {};
|
1061
629
|
if (output[_m] != null) {
|
1062
|
-
contents[_m] = (0,
|
630
|
+
contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);
|
1063
631
|
}
|
1064
632
|
return contents;
|
1065
633
|
}, "de_IDPCommunicationErrorException");
|
1066
634
|
var de_IDPRejectedClaimException = /* @__PURE__ */ __name((output, context) => {
|
1067
635
|
const contents = {};
|
1068
636
|
if (output[_m] != null) {
|
1069
|
-
contents[_m] = (0,
|
637
|
+
contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);
|
1070
638
|
}
|
1071
639
|
return contents;
|
1072
640
|
}, "de_IDPRejectedClaimException");
|
1073
|
-
var de_InvalidAuthorizationMessageException = /* @__PURE__ */ __name((output, context) => {
|
1074
|
-
const contents = {};
|
1075
|
-
if (output[_m] != null) {
|
1076
|
-
contents[_m] = (0, import_smithy_client.expectString)(output[_m]);
|
1077
|
-
}
|
1078
|
-
return contents;
|
1079
|
-
}, "de_InvalidAuthorizationMessageException");
|
1080
641
|
var de_InvalidIdentityTokenException = /* @__PURE__ */ __name((output, context) => {
|
1081
642
|
const contents = {};
|
1082
643
|
if (output[_m] != null) {
|
1083
|
-
contents[_m] = (0,
|
644
|
+
contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);
|
1084
645
|
}
|
1085
646
|
return contents;
|
1086
647
|
}, "de_InvalidIdentityTokenException");
|
1087
648
|
var de_MalformedPolicyDocumentException = /* @__PURE__ */ __name((output, context) => {
|
1088
649
|
const contents = {};
|
1089
650
|
if (output[_m] != null) {
|
1090
|
-
contents[_m] = (0,
|
651
|
+
contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);
|
1091
652
|
}
|
1092
653
|
return contents;
|
1093
654
|
}, "de_MalformedPolicyDocumentException");
|
1094
655
|
var de_PackedPolicyTooLargeException = /* @__PURE__ */ __name((output, context) => {
|
1095
656
|
const contents = {};
|
1096
657
|
if (output[_m] != null) {
|
1097
|
-
contents[_m] = (0,
|
658
|
+
contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);
|
1098
659
|
}
|
1099
660
|
return contents;
|
1100
661
|
}, "de_PackedPolicyTooLargeException");
|
1101
662
|
var de_RegionDisabledException = /* @__PURE__ */ __name((output, context) => {
|
1102
663
|
const contents = {};
|
1103
664
|
if (output[_m] != null) {
|
1104
|
-
contents[_m] = (0,
|
665
|
+
contents[_m] = (0, import_smithy_client3.expectString)(output[_m]);
|
1105
666
|
}
|
1106
667
|
return contents;
|
1107
668
|
}, "de_RegionDisabledException");
|
@@ -1111,7 +672,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1111
672
|
extendedRequestId: output.headers["x-amz-id-2"],
|
1112
673
|
cfId: output.headers["x-amz-cf-id"]
|
1113
674
|
}), "deserializeMetadata");
|
1114
|
-
var throwDefaultError = (0,
|
675
|
+
var throwDefaultError = (0, import_smithy_client3.withBaseException)(STSServiceException);
|
1115
676
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
1116
677
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
1117
678
|
const contents = {
|
@@ -1139,60 +700,38 @@ var _AKI = "AccessKeyId";
|
|
1139
700
|
var _AR = "AssumeRole";
|
1140
701
|
var _ARI = "AssumedRoleId";
|
1141
702
|
var _ARU = "AssumedRoleUser";
|
1142
|
-
var _ARWSAML = "AssumeRoleWithSAML";
|
1143
703
|
var _ARWWI = "AssumeRoleWithWebIdentity";
|
1144
|
-
var _ARs = "AssumeRoot";
|
1145
|
-
var _Ac = "Account";
|
1146
704
|
var _Ar = "Arn";
|
1147
705
|
var _Au = "Audience";
|
1148
706
|
var _C = "Credentials";
|
1149
707
|
var _CA = "ContextAssertion";
|
1150
|
-
var _DAM = "DecodeAuthorizationMessage";
|
1151
|
-
var _DM = "DecodedMessage";
|
1152
708
|
var _DS = "DurationSeconds";
|
1153
709
|
var _E = "Expiration";
|
1154
710
|
var _EI = "ExternalId";
|
1155
|
-
var _EM = "EncodedMessage";
|
1156
|
-
var _FU = "FederatedUser";
|
1157
|
-
var _FUI = "FederatedUserId";
|
1158
|
-
var _GAKI = "GetAccessKeyInfo";
|
1159
|
-
var _GCI = "GetCallerIdentity";
|
1160
|
-
var _GFT = "GetFederationToken";
|
1161
|
-
var _GST = "GetSessionToken";
|
1162
|
-
var _I = "Issuer";
|
1163
711
|
var _K = "Key";
|
1164
|
-
var _N = "Name";
|
1165
|
-
var _NQ = "NameQualifier";
|
1166
712
|
var _P = "Policy";
|
1167
713
|
var _PA = "PolicyArns";
|
1168
|
-
var _PAr = "
|
1169
|
-
var _PAro = "ProviderArn";
|
714
|
+
var _PAr = "ProviderArn";
|
1170
715
|
var _PC = "ProvidedContexts";
|
1171
716
|
var _PI = "ProviderId";
|
1172
717
|
var _PPS = "PackedPolicySize";
|
1173
718
|
var _Pr = "Provider";
|
1174
719
|
var _RA = "RoleArn";
|
1175
720
|
var _RSN = "RoleSessionName";
|
1176
|
-
var _S = "Subject";
|
1177
721
|
var _SAK = "SecretAccessKey";
|
1178
|
-
var _SAMLA = "SAMLAssertion";
|
1179
722
|
var _SFWIT = "SubjectFromWebIdentityToken";
|
1180
723
|
var _SI = "SourceIdentity";
|
1181
724
|
var _SN = "SerialNumber";
|
1182
|
-
var _ST = "
|
1183
|
-
var _STe = "SessionToken";
|
725
|
+
var _ST = "SessionToken";
|
1184
726
|
var _T = "Tags";
|
1185
727
|
var _TC = "TokenCode";
|
1186
|
-
var _TP = "TargetPrincipal";
|
1187
|
-
var _TPA = "TaskPolicyArn";
|
1188
728
|
var _TTK = "TransitiveTagKeys";
|
1189
|
-
var _UI = "UserId";
|
1190
729
|
var _V = "Version";
|
1191
730
|
var _Va = "Value";
|
1192
731
|
var _WIT = "WebIdentityToken";
|
1193
732
|
var _a = "arn";
|
1194
733
|
var _m = "message";
|
1195
|
-
var buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0,
|
734
|
+
var buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client3.extendedEncodeURIComponent)(key) + "=" + (0, import_smithy_client3.extendedEncodeURIComponent)(value)).join("&"), "buildFormUrlencodedString");
|
1196
735
|
var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
|
1197
736
|
if (data.Error?.Code !== void 0) {
|
1198
737
|
return data.Error.Code;
|
@@ -1202,8 +741,8 @@ var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1202
741
|
}
|
1203
742
|
}, "loadQueryErrorCode");
|
1204
743
|
|
1205
|
-
// src/commands/AssumeRoleCommand.ts
|
1206
|
-
var AssumeRoleCommand = class extends
|
744
|
+
// src/submodules/sts/commands/AssumeRoleCommand.ts
|
745
|
+
var AssumeRoleCommand = class extends import_smithy_client4.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) {
|
1207
746
|
return [
|
1208
747
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1209
748
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
@@ -1214,31 +753,15 @@ var AssumeRoleCommand = class extends import_smithy_client.Command.classBuilder(
|
|
1214
753
|
}
|
1215
754
|
};
|
1216
755
|
|
1217
|
-
// src/commands/
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
756
|
+
// src/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.ts
|
757
|
+
var import_middleware_endpoint2 = require("@smithy/middleware-endpoint");
|
758
|
+
var import_middleware_serde2 = require("@smithy/middleware-serde");
|
759
|
+
var import_smithy_client5 = require("@smithy/smithy-client");
|
1221
760
|
var import_EndpointParameters2 = require("./endpoint/EndpointParameters");
|
1222
|
-
var
|
761
|
+
var AssumeRoleWithWebIdentityCommand = class extends import_smithy_client5.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) {
|
1223
762
|
return [
|
1224
|
-
(0,
|
1225
|
-
(0,
|
1226
|
-
];
|
1227
|
-
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithSAML", {}).n("STSClient", "AssumeRoleWithSAMLCommand").f(AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog).ser(se_AssumeRoleWithSAMLCommand).de(de_AssumeRoleWithSAMLCommand).build() {
|
1228
|
-
static {
|
1229
|
-
__name(this, "AssumeRoleWithSAMLCommand");
|
1230
|
-
}
|
1231
|
-
};
|
1232
|
-
|
1233
|
-
// src/commands/AssumeRoleWithWebIdentityCommand.ts
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
var import_EndpointParameters3 = require("./endpoint/EndpointParameters");
|
1238
|
-
var AssumeRoleWithWebIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters3.commonParams).m(function(Command, cs, config, o) {
|
1239
|
-
return [
|
1240
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1241
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
763
|
+
(0, import_middleware_serde2.getSerdePlugin)(config, this.serialize, this.deserialize),
|
764
|
+
(0, import_middleware_endpoint2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1242
765
|
];
|
1243
766
|
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}).n("STSClient", "AssumeRoleWithWebIdentityCommand").f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleWithWebIdentityCommand).de(de_AssumeRoleWithWebIdentityCommand).build() {
|
1244
767
|
static {
|
@@ -1246,126 +769,23 @@ var AssumeRoleWithWebIdentityCommand = class extends import_smithy_client.Comman
|
|
1246
769
|
}
|
1247
770
|
};
|
1248
771
|
|
1249
|
-
// src/
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
var import_EndpointParameters4 = require("./endpoint/EndpointParameters");
|
1254
|
-
var AssumeRootCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters4.commonParams).m(function(Command, cs, config, o) {
|
1255
|
-
return [
|
1256
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1257
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1258
|
-
];
|
1259
|
-
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoot", {}).n("STSClient", "AssumeRootCommand").f(void 0, AssumeRootResponseFilterSensitiveLog).ser(se_AssumeRootCommand).de(de_AssumeRootCommand).build() {
|
1260
|
-
static {
|
1261
|
-
__name(this, "AssumeRootCommand");
|
1262
|
-
}
|
1263
|
-
};
|
1264
|
-
|
1265
|
-
// src/commands/DecodeAuthorizationMessageCommand.ts
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
var import_EndpointParameters5 = require("./endpoint/EndpointParameters");
|
1270
|
-
var DecodeAuthorizationMessageCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters5.commonParams).m(function(Command, cs, config, o) {
|
1271
|
-
return [
|
1272
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1273
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1274
|
-
];
|
1275
|
-
}).s("AWSSecurityTokenServiceV20110615", "DecodeAuthorizationMessage", {}).n("STSClient", "DecodeAuthorizationMessageCommand").f(void 0, void 0).ser(se_DecodeAuthorizationMessageCommand).de(de_DecodeAuthorizationMessageCommand).build() {
|
1276
|
-
static {
|
1277
|
-
__name(this, "DecodeAuthorizationMessageCommand");
|
1278
|
-
}
|
1279
|
-
};
|
1280
|
-
|
1281
|
-
// src/commands/GetAccessKeyInfoCommand.ts
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
var import_EndpointParameters6 = require("./endpoint/EndpointParameters");
|
1286
|
-
var GetAccessKeyInfoCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters6.commonParams).m(function(Command, cs, config, o) {
|
1287
|
-
return [
|
1288
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1289
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1290
|
-
];
|
1291
|
-
}).s("AWSSecurityTokenServiceV20110615", "GetAccessKeyInfo", {}).n("STSClient", "GetAccessKeyInfoCommand").f(void 0, void 0).ser(se_GetAccessKeyInfoCommand).de(de_GetAccessKeyInfoCommand).build() {
|
1292
|
-
static {
|
1293
|
-
__name(this, "GetAccessKeyInfoCommand");
|
1294
|
-
}
|
1295
|
-
};
|
1296
|
-
|
1297
|
-
// src/commands/GetCallerIdentityCommand.ts
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
var import_EndpointParameters7 = require("./endpoint/EndpointParameters");
|
1302
|
-
var GetCallerIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters7.commonParams).m(function(Command, cs, config, o) {
|
1303
|
-
return [
|
1304
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1305
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1306
|
-
];
|
1307
|
-
}).s("AWSSecurityTokenServiceV20110615", "GetCallerIdentity", {}).n("STSClient", "GetCallerIdentityCommand").f(void 0, void 0).ser(se_GetCallerIdentityCommand).de(de_GetCallerIdentityCommand).build() {
|
1308
|
-
static {
|
1309
|
-
__name(this, "GetCallerIdentityCommand");
|
1310
|
-
}
|
1311
|
-
};
|
1312
|
-
|
1313
|
-
// src/commands/GetFederationTokenCommand.ts
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
var import_EndpointParameters8 = require("./endpoint/EndpointParameters");
|
1318
|
-
var GetFederationTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters8.commonParams).m(function(Command, cs, config, o) {
|
1319
|
-
return [
|
1320
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1321
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1322
|
-
];
|
1323
|
-
}).s("AWSSecurityTokenServiceV20110615", "GetFederationToken", {}).n("STSClient", "GetFederationTokenCommand").f(void 0, GetFederationTokenResponseFilterSensitiveLog).ser(se_GetFederationTokenCommand).de(de_GetFederationTokenCommand).build() {
|
1324
|
-
static {
|
1325
|
-
__name(this, "GetFederationTokenCommand");
|
1326
|
-
}
|
1327
|
-
};
|
1328
|
-
|
1329
|
-
// src/commands/GetSessionTokenCommand.ts
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
var import_EndpointParameters9 = require("./endpoint/EndpointParameters");
|
1334
|
-
var GetSessionTokenCommand = class extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters9.commonParams).m(function(Command, cs, config, o) {
|
1335
|
-
return [
|
1336
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
1337
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
1338
|
-
];
|
1339
|
-
}).s("AWSSecurityTokenServiceV20110615", "GetSessionToken", {}).n("STSClient", "GetSessionTokenCommand").f(void 0, GetSessionTokenResponseFilterSensitiveLog).ser(se_GetSessionTokenCommand).de(de_GetSessionTokenCommand).build() {
|
1340
|
-
static {
|
1341
|
-
__name(this, "GetSessionTokenCommand");
|
1342
|
-
}
|
1343
|
-
};
|
1344
|
-
|
1345
|
-
// src/STS.ts
|
1346
|
-
var import_STSClient = require("././STSClient");
|
772
|
+
// src/submodules/sts/STS.ts
|
773
|
+
var import_STSClient = require("./STSClient");
|
1347
774
|
var commands = {
|
1348
775
|
AssumeRoleCommand,
|
1349
|
-
|
1350
|
-
AssumeRoleWithWebIdentityCommand,
|
1351
|
-
AssumeRootCommand,
|
1352
|
-
DecodeAuthorizationMessageCommand,
|
1353
|
-
GetAccessKeyInfoCommand,
|
1354
|
-
GetCallerIdentityCommand,
|
1355
|
-
GetFederationTokenCommand,
|
1356
|
-
GetSessionTokenCommand
|
776
|
+
AssumeRoleWithWebIdentityCommand
|
1357
777
|
};
|
1358
778
|
var STS = class extends import_STSClient.STSClient {
|
1359
779
|
static {
|
1360
780
|
__name(this, "STS");
|
1361
781
|
}
|
1362
782
|
};
|
1363
|
-
(0,
|
783
|
+
(0, import_smithy_client6.createAggregatedClient)(commands, STS);
|
1364
784
|
|
1365
|
-
// src/index.ts
|
1366
|
-
var
|
785
|
+
// src/submodules/sts/index.ts
|
786
|
+
var import_EndpointParameters3 = require("./endpoint/EndpointParameters");
|
1367
787
|
|
1368
|
-
// src/defaultStsRoleAssumers.ts
|
788
|
+
// src/submodules/sts/defaultStsRoleAssumers.ts
|
1369
789
|
var import_client = require("@aws-sdk/core/client");
|
1370
790
|
var ASSUME_ROLE_DEFAULT_REGION = "us-east-1";
|
1371
791
|
var getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) => {
|
@@ -1480,8 +900,8 @@ var isH2 = /* @__PURE__ */ __name((requestHandler) => {
|
|
1480
900
|
return requestHandler?.metadata?.handlerProtocol === "h2";
|
1481
901
|
}, "isH2");
|
1482
902
|
|
1483
|
-
// src/defaultRoleAssumers.ts
|
1484
|
-
var import_STSClient2 = require("
|
903
|
+
// src/submodules/sts/defaultRoleAssumers.ts
|
904
|
+
var import_STSClient2 = require("./STSClient");
|
1485
905
|
var getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => {
|
1486
906
|
if (!customizations)
|
1487
907
|
return baseCtor;
|
@@ -1506,41 +926,25 @@ var decorateDefaultCredentialProvider = /* @__PURE__ */ __name((provider) => (in
|
|
1506
926
|
...input
|
1507
927
|
}), "decorateDefaultCredentialProvider");
|
1508
928
|
// Annotate the CommonJS export names for ESM import in node:
|
1509
|
-
|
1510
929
|
0 && (module.exports = {
|
1511
|
-
STSServiceException,
|
1512
|
-
__Client,
|
1513
|
-
STSClient,
|
1514
|
-
STS,
|
1515
|
-
$Command,
|
1516
930
|
AssumeRoleCommand,
|
1517
|
-
|
931
|
+
AssumeRoleResponseFilterSensitiveLog,
|
1518
932
|
AssumeRoleWithWebIdentityCommand,
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
GetFederationTokenCommand,
|
1524
|
-
GetSessionTokenCommand,
|
933
|
+
AssumeRoleWithWebIdentityRequestFilterSensitiveLog,
|
934
|
+
AssumeRoleWithWebIdentityResponseFilterSensitiveLog,
|
935
|
+
ClientInputEndpointParameters,
|
936
|
+
CredentialsFilterSensitiveLog,
|
1525
937
|
ExpiredTokenException,
|
938
|
+
IDPCommunicationErrorException,
|
939
|
+
IDPRejectedClaimException,
|
940
|
+
InvalidIdentityTokenException,
|
1526
941
|
MalformedPolicyDocumentException,
|
1527
942
|
PackedPolicyTooLargeException,
|
1528
943
|
RegionDisabledException,
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
InvalidAuthorizationMessageException,
|
1533
|
-
CredentialsFilterSensitiveLog,
|
1534
|
-
AssumeRoleResponseFilterSensitiveLog,
|
1535
|
-
AssumeRoleWithSAMLRequestFilterSensitiveLog,
|
1536
|
-
AssumeRoleWithSAMLResponseFilterSensitiveLog,
|
1537
|
-
AssumeRoleWithWebIdentityRequestFilterSensitiveLog,
|
1538
|
-
AssumeRoleWithWebIdentityResponseFilterSensitiveLog,
|
1539
|
-
AssumeRootResponseFilterSensitiveLog,
|
1540
|
-
GetFederationTokenResponseFilterSensitiveLog,
|
1541
|
-
GetSessionTokenResponseFilterSensitiveLog,
|
944
|
+
STS,
|
945
|
+
STSServiceException,
|
946
|
+
decorateDefaultCredentialProvider,
|
1542
947
|
getDefaultRoleAssumer,
|
1543
948
|
getDefaultRoleAssumerWithWebIdentity,
|
1544
|
-
|
949
|
+
...require("./STSClient")
|
1545
950
|
});
|
1546
|
-
|