@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
@@ -1,128 +0,0 @@
|
|
1
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
|
-
import { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
5
|
-
/**
|
6
|
-
* @public
|
7
|
-
*/
|
8
|
-
export type { __MetadataBearer };
|
9
|
-
export { $Command };
|
10
|
-
/**
|
11
|
-
* @public
|
12
|
-
*
|
13
|
-
* The input for {@link GetCallerIdentityCommand}.
|
14
|
-
*/
|
15
|
-
export interface GetCallerIdentityCommandInput extends GetCallerIdentityRequest {
|
16
|
-
}
|
17
|
-
/**
|
18
|
-
* @public
|
19
|
-
*
|
20
|
-
* The output of {@link GetCallerIdentityCommand}.
|
21
|
-
*/
|
22
|
-
export interface GetCallerIdentityCommandOutput extends GetCallerIdentityResponse, __MetadataBearer {
|
23
|
-
}
|
24
|
-
declare const GetCallerIdentityCommand_base: {
|
25
|
-
new (input: GetCallerIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
26
|
-
new (...[input]: [] | [GetCallerIdentityCommandInput]): import("@smithy/smithy-client").CommandImpl<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
28
|
-
};
|
29
|
-
/**
|
30
|
-
* <p>Returns details about the IAM user or role whose credentials are used to
|
31
|
-
* call the operation.</p>
|
32
|
-
* <note>
|
33
|
-
* <p>No permissions are required to perform this operation. If an administrator attaches a
|
34
|
-
* policy to your identity that explicitly denies access to the
|
35
|
-
* <code>sts:GetCallerIdentity</code> action, you can still perform this operation.
|
36
|
-
* Permissions are not required because the same information is returned when access is
|
37
|
-
* denied. To view an example response, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html#troubleshoot_general_access-denied-delete-mfa">I Am Not Authorized to Perform: iam:DeleteVirtualMFADevice</a> in the
|
38
|
-
* <i>IAM User Guide</i>.</p>
|
39
|
-
* </note>
|
40
|
-
* @example
|
41
|
-
* Use a bare-bones client and the command you need to make an API call.
|
42
|
-
* ```javascript
|
43
|
-
* import { STSClient, GetCallerIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
44
|
-
* // const { STSClient, GetCallerIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
45
|
-
* const client = new STSClient(config);
|
46
|
-
* const input = {};
|
47
|
-
* const command = new GetCallerIdentityCommand(input);
|
48
|
-
* const response = await client.send(command);
|
49
|
-
* // { // GetCallerIdentityResponse
|
50
|
-
* // UserId: "STRING_VALUE",
|
51
|
-
* // Account: "STRING_VALUE",
|
52
|
-
* // Arn: "STRING_VALUE",
|
53
|
-
* // };
|
54
|
-
*
|
55
|
-
* ```
|
56
|
-
*
|
57
|
-
* @param GetCallerIdentityCommandInput - {@link GetCallerIdentityCommandInput}
|
58
|
-
* @returns {@link GetCallerIdentityCommandOutput}
|
59
|
-
* @see {@link GetCallerIdentityCommandInput} for command's `input` shape.
|
60
|
-
* @see {@link GetCallerIdentityCommandOutput} for command's `response` shape.
|
61
|
-
* @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape.
|
62
|
-
*
|
63
|
-
* @throws {@link STSServiceException}
|
64
|
-
* <p>Base exception class for all service exceptions from STS service.</p>
|
65
|
-
*
|
66
|
-
* @public
|
67
|
-
* @example To get details about a calling IAM user
|
68
|
-
* ```javascript
|
69
|
-
* // This example shows a request and response made with the credentials for a user named Alice in the AWS account 123456789012.
|
70
|
-
* const input = {};
|
71
|
-
* const command = new GetCallerIdentityCommand(input);
|
72
|
-
* const response = await client.send(command);
|
73
|
-
* /* response ==
|
74
|
-
* {
|
75
|
-
* "Account": "123456789012",
|
76
|
-
* "Arn": "arn:aws:iam::123456789012:user/Alice",
|
77
|
-
* "UserId": "AKIAI44QH8DHBEXAMPLE"
|
78
|
-
* }
|
79
|
-
* *\/
|
80
|
-
* // example id: to-get-details-about-a-calling-iam-user-1480540050376
|
81
|
-
* ```
|
82
|
-
*
|
83
|
-
* @example To get details about a calling user federated with AssumeRole
|
84
|
-
* ```javascript
|
85
|
-
* // This example shows a request and response made with temporary credentials created by AssumeRole. The name of the assumed role is my-role-name, and the RoleSessionName is set to my-role-session-name.
|
86
|
-
* const input = {};
|
87
|
-
* const command = new GetCallerIdentityCommand(input);
|
88
|
-
* const response = await client.send(command);
|
89
|
-
* /* response ==
|
90
|
-
* {
|
91
|
-
* "Account": "123456789012",
|
92
|
-
* "Arn": "arn:aws:sts::123456789012:assumed-role/my-role-name/my-role-session-name",
|
93
|
-
* "UserId": "AKIAI44QH8DHBEXAMPLE:my-role-session-name"
|
94
|
-
* }
|
95
|
-
* *\/
|
96
|
-
* // example id: to-get-details-about-a-calling-user-federated-with-assumerole-1480540158545
|
97
|
-
* ```
|
98
|
-
*
|
99
|
-
* @example To get details about a calling user federated with GetFederationToken
|
100
|
-
* ```javascript
|
101
|
-
* // This example shows a request and response made with temporary credentials created by using GetFederationToken. The Name parameter is set to my-federated-user-name.
|
102
|
-
* const input = {};
|
103
|
-
* const command = new GetCallerIdentityCommand(input);
|
104
|
-
* const response = await client.send(command);
|
105
|
-
* /* response ==
|
106
|
-
* {
|
107
|
-
* "Account": "123456789012",
|
108
|
-
* "Arn": "arn:aws:sts::123456789012:federated-user/my-federated-user-name",
|
109
|
-
* "UserId": "123456789012:my-federated-user-name"
|
110
|
-
* }
|
111
|
-
* *\/
|
112
|
-
* // example id: to-get-details-about-a-calling-user-federated-with-getfederationtoken-1480540231316
|
113
|
-
* ```
|
114
|
-
*
|
115
|
-
*/
|
116
|
-
export declare class GetCallerIdentityCommand extends GetCallerIdentityCommand_base {
|
117
|
-
/** @internal type navigation helper, not in runtime. */
|
118
|
-
protected static __types: {
|
119
|
-
api: {
|
120
|
-
input: {};
|
121
|
-
output: GetCallerIdentityResponse;
|
122
|
-
};
|
123
|
-
sdk: {
|
124
|
-
input: GetCallerIdentityCommandInput;
|
125
|
-
output: GetCallerIdentityCommandOutput;
|
126
|
-
};
|
127
|
-
};
|
128
|
-
}
|
@@ -1,242 +0,0 @@
|
|
1
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
|
-
import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
5
|
-
/**
|
6
|
-
* @public
|
7
|
-
*/
|
8
|
-
export type { __MetadataBearer };
|
9
|
-
export { $Command };
|
10
|
-
/**
|
11
|
-
* @public
|
12
|
-
*
|
13
|
-
* The input for {@link GetFederationTokenCommand}.
|
14
|
-
*/
|
15
|
-
export interface GetFederationTokenCommandInput extends GetFederationTokenRequest {
|
16
|
-
}
|
17
|
-
/**
|
18
|
-
* @public
|
19
|
-
*
|
20
|
-
* The output of {@link GetFederationTokenCommand}.
|
21
|
-
*/
|
22
|
-
export interface GetFederationTokenCommandOutput extends GetFederationTokenResponse, __MetadataBearer {
|
23
|
-
}
|
24
|
-
declare const GetFederationTokenCommand_base: {
|
25
|
-
new (input: GetFederationTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
26
|
-
new (__0_0: GetFederationTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
28
|
-
};
|
29
|
-
/**
|
30
|
-
* <p>Returns a set of temporary security credentials (consisting of an access key ID, a
|
31
|
-
* secret access key, and a security token) for a user. A typical use is in a proxy
|
32
|
-
* application that gets temporary security credentials on behalf of distributed applications
|
33
|
-
* inside a corporate network.</p>
|
34
|
-
* <p>You must call the <code>GetFederationToken</code> operation using the long-term security
|
35
|
-
* credentials of an IAM user. As a result, this call is appropriate in
|
36
|
-
* contexts where those credentials can be safeguarded, usually in a server-based application.
|
37
|
-
* For a comparison of <code>GetFederationToken</code> with the other API operations that
|
38
|
-
* produce temporary credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html">Requesting Temporary Security
|
39
|
-
* Credentials</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_sts-comparison.html">Compare STS
|
40
|
-
* credentials</a> in the <i>IAM User Guide</i>.</p>
|
41
|
-
* <p>Although it is possible to call <code>GetFederationToken</code> using the security
|
42
|
-
* credentials of an Amazon Web Services account root user rather than an IAM user that you
|
43
|
-
* create for the purpose of a proxy application, we do not recommend it. For more
|
44
|
-
* information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#lock-away-credentials">Safeguard your root user credentials and don't use them for everyday tasks</a> in the
|
45
|
-
* <i>IAM User Guide</i>. </p>
|
46
|
-
* <note>
|
47
|
-
* <p>You can create a mobile-based or browser-based app that can authenticate users using
|
48
|
-
* a web identity provider like Login with Amazon, Facebook, Google, or an OpenID
|
49
|
-
* Connect-compatible identity provider. In this case, we recommend that you use <a href="http://aws.amazon.com/cognito/">Amazon Cognito</a> or
|
50
|
-
* <code>AssumeRoleWithWebIdentity</code>. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_assumerolewithwebidentity">Federation Through a Web-based Identity Provider</a> in the
|
51
|
-
* <i>IAM User Guide</i>.</p>
|
52
|
-
* </note>
|
53
|
-
* <p>
|
54
|
-
* <b>Session duration</b>
|
55
|
-
* </p>
|
56
|
-
* <p>The temporary credentials are valid for the specified duration, from 900 seconds (15
|
57
|
-
* minutes) up to a maximum of 129,600 seconds (36 hours). The default session duration is
|
58
|
-
* 43,200 seconds (12 hours). Temporary credentials obtained by using the root user
|
59
|
-
* credentials have a maximum duration of 3,600 seconds (1 hour).</p>
|
60
|
-
* <p>
|
61
|
-
* <b>Permissions</b>
|
62
|
-
* </p>
|
63
|
-
* <p>You can use the temporary credentials created by <code>GetFederationToken</code> in any
|
64
|
-
* Amazon Web Services service with the following exceptions:</p>
|
65
|
-
* <ul>
|
66
|
-
* <li>
|
67
|
-
* <p>You cannot call any IAM operations using the CLI or the Amazon Web Services API. This
|
68
|
-
* limitation does not apply to console sessions.</p>
|
69
|
-
* </li>
|
70
|
-
* <li>
|
71
|
-
* <p>You cannot call any STS operations except <code>GetCallerIdentity</code>.</p>
|
72
|
-
* </li>
|
73
|
-
* </ul>
|
74
|
-
* <p>You can use temporary credentials for single sign-on (SSO) to the console.</p>
|
75
|
-
* <p>You must pass an inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policy</a> to
|
76
|
-
* this operation. You can pass a single JSON policy document to use as an inline session
|
77
|
-
* policy. You can also specify up to 10 managed policy Amazon Resource Names (ARNs) to use as
|
78
|
-
* managed session policies. The plaintext that you use for both inline and managed session
|
79
|
-
* policies can't exceed 2,048 characters.</p>
|
80
|
-
* <p>Though the session policy parameters are optional, if you do not pass a policy, then the
|
81
|
-
* resulting federated user session has no permissions. When you pass session policies, the
|
82
|
-
* session permissions are the intersection of the IAM user policies and the
|
83
|
-
* session policies that you pass. This gives you a way to further restrict the permissions
|
84
|
-
* for a federated user. You cannot use session policies to grant more permissions than those
|
85
|
-
* that are defined in the permissions policy of the IAM user. For more
|
86
|
-
* information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session Policies</a> in
|
87
|
-
* the <i>IAM User Guide</i>. For information about using
|
88
|
-
* <code>GetFederationToken</code> to create temporary security credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_getfederationtoken">GetFederationToken—Federation Through a Custom Identity Broker</a>. </p>
|
89
|
-
* <p>You can use the credentials to access a resource that has a resource-based policy. If
|
90
|
-
* that policy specifically references the federated user session in the
|
91
|
-
* <code>Principal</code> element of the policy, the session has the permissions allowed by
|
92
|
-
* the policy. These permissions are granted in addition to the permissions granted by the
|
93
|
-
* session policies.</p>
|
94
|
-
* <p>
|
95
|
-
* <b>Tags</b>
|
96
|
-
* </p>
|
97
|
-
* <p>(Optional) You can pass tag key-value pairs to your session. These are called session
|
98
|
-
* tags. For more information about session tags, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in the
|
99
|
-
* <i>IAM User Guide</i>.</p>
|
100
|
-
* <note>
|
101
|
-
* <p>You can create a mobile-based or browser-based app that can authenticate users using
|
102
|
-
* a web identity provider like Login with Amazon, Facebook, Google, or an OpenID
|
103
|
-
* Connect-compatible identity provider. In this case, we recommend that you use <a href="http://aws.amazon.com/cognito/">Amazon Cognito</a> or
|
104
|
-
* <code>AssumeRoleWithWebIdentity</code>. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_assumerolewithwebidentity">Federation Through a Web-based Identity Provider</a> in the
|
105
|
-
* <i>IAM User Guide</i>.</p>
|
106
|
-
* </note>
|
107
|
-
* <p>An administrator must grant you the permissions necessary to pass session tags. The
|
108
|
-
* administrator can also create granular permissions to allow you to pass only specific
|
109
|
-
* session tags. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_attribute-based-access-control.html">Tutorial: Using Tags
|
110
|
-
* for Attribute-Based Access Control</a> in the
|
111
|
-
* <i>IAM User Guide</i>.</p>
|
112
|
-
* <p>Tag key–value pairs are not case sensitive, but case is preserved. This means that you
|
113
|
-
* cannot have separate <code>Department</code> and <code>department</code> tag keys. Assume
|
114
|
-
* that the user that you are federating has the
|
115
|
-
* <code>Department</code>=<code>Marketing</code> tag and you pass the
|
116
|
-
* <code>department</code>=<code>engineering</code> session tag. <code>Department</code>
|
117
|
-
* and <code>department</code> are not saved as separate tags, and the session tag passed in
|
118
|
-
* the request takes precedence over the user tag.</p>
|
119
|
-
* @example
|
120
|
-
* Use a bare-bones client and the command you need to make an API call.
|
121
|
-
* ```javascript
|
122
|
-
* import { STSClient, GetFederationTokenCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
123
|
-
* // const { STSClient, GetFederationTokenCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
124
|
-
* const client = new STSClient(config);
|
125
|
-
* const input = { // GetFederationTokenRequest
|
126
|
-
* Name: "STRING_VALUE", // required
|
127
|
-
* Policy: "STRING_VALUE",
|
128
|
-
* PolicyArns: [ // policyDescriptorListType
|
129
|
-
* { // PolicyDescriptorType
|
130
|
-
* arn: "STRING_VALUE",
|
131
|
-
* },
|
132
|
-
* ],
|
133
|
-
* DurationSeconds: Number("int"),
|
134
|
-
* Tags: [ // tagListType
|
135
|
-
* { // Tag
|
136
|
-
* Key: "STRING_VALUE", // required
|
137
|
-
* Value: "STRING_VALUE", // required
|
138
|
-
* },
|
139
|
-
* ],
|
140
|
-
* };
|
141
|
-
* const command = new GetFederationTokenCommand(input);
|
142
|
-
* const response = await client.send(command);
|
143
|
-
* // { // GetFederationTokenResponse
|
144
|
-
* // Credentials: { // Credentials
|
145
|
-
* // AccessKeyId: "STRING_VALUE", // required
|
146
|
-
* // SecretAccessKey: "STRING_VALUE", // required
|
147
|
-
* // SessionToken: "STRING_VALUE", // required
|
148
|
-
* // Expiration: new Date("TIMESTAMP"), // required
|
149
|
-
* // },
|
150
|
-
* // FederatedUser: { // FederatedUser
|
151
|
-
* // FederatedUserId: "STRING_VALUE", // required
|
152
|
-
* // Arn: "STRING_VALUE", // required
|
153
|
-
* // },
|
154
|
-
* // PackedPolicySize: Number("int"),
|
155
|
-
* // };
|
156
|
-
*
|
157
|
-
* ```
|
158
|
-
*
|
159
|
-
* @param GetFederationTokenCommandInput - {@link GetFederationTokenCommandInput}
|
160
|
-
* @returns {@link GetFederationTokenCommandOutput}
|
161
|
-
* @see {@link GetFederationTokenCommandInput} for command's `input` shape.
|
162
|
-
* @see {@link GetFederationTokenCommandOutput} for command's `response` shape.
|
163
|
-
* @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape.
|
164
|
-
*
|
165
|
-
* @throws {@link MalformedPolicyDocumentException} (client fault)
|
166
|
-
* <p>The request was rejected because the policy document was malformed. The error message
|
167
|
-
* describes the specific error.</p>
|
168
|
-
*
|
169
|
-
* @throws {@link PackedPolicyTooLargeException} (client fault)
|
170
|
-
* <p>The request was rejected because the total packed size of the session policies and
|
171
|
-
* session tags combined was too large. An Amazon Web Services conversion compresses the session policy
|
172
|
-
* document, session policy ARNs, and session tags into a packed binary format that has a
|
173
|
-
* separate limit. The error message indicates by percentage how close the policies and
|
174
|
-
* tags are to the upper size limit. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in
|
175
|
-
* the <i>IAM User Guide</i>.</p>
|
176
|
-
* <p>You could receive this error even though you meet other defined session policy and
|
177
|
-
* session tag limits. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length">IAM and STS Entity Character Limits</a> in the <i>IAM User
|
178
|
-
* Guide</i>.</p>
|
179
|
-
*
|
180
|
-
* @throws {@link RegionDisabledException} (client fault)
|
181
|
-
* <p>STS is not activated in the requested region for the account that is being asked to
|
182
|
-
* generate credentials. The account administrator must use the IAM console to activate
|
183
|
-
* STS in that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and
|
184
|
-
* Deactivating STS in an Amazon Web Services Region</a> in the <i>IAM User
|
185
|
-
* Guide</i>.</p>
|
186
|
-
*
|
187
|
-
* @throws {@link STSServiceException}
|
188
|
-
* <p>Base exception class for all service exceptions from STS service.</p>
|
189
|
-
*
|
190
|
-
* @public
|
191
|
-
* @example To get temporary credentials for a role by using GetFederationToken
|
192
|
-
* ```javascript
|
193
|
-
* //
|
194
|
-
* const input = {
|
195
|
-
* "DurationSeconds": 3600,
|
196
|
-
* "Name": "testFedUserSession",
|
197
|
-
* "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Stmt1\",\"Effect\":\"Allow\",\"Action\":\"s3:ListAllMyBuckets\",\"Resource\":\"*\"}]}",
|
198
|
-
* "Tags": [
|
199
|
-
* {
|
200
|
-
* "Key": "Project",
|
201
|
-
* "Value": "Pegasus"
|
202
|
-
* },
|
203
|
-
* {
|
204
|
-
* "Key": "Cost-Center",
|
205
|
-
* "Value": "98765"
|
206
|
-
* }
|
207
|
-
* ]
|
208
|
-
* };
|
209
|
-
* const command = new GetFederationTokenCommand(input);
|
210
|
-
* const response = await client.send(command);
|
211
|
-
* /* response ==
|
212
|
-
* {
|
213
|
-
* "Credentials": {
|
214
|
-
* "AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
|
215
|
-
* "Expiration": "2011-07-15T23:28:33.359Z",
|
216
|
-
* "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
217
|
-
* "SessionToken": "AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA=="
|
218
|
-
* },
|
219
|
-
* "FederatedUser": {
|
220
|
-
* "Arn": "arn:aws:sts::123456789012:federated-user/Bob",
|
221
|
-
* "FederatedUserId": "123456789012:Bob"
|
222
|
-
* },
|
223
|
-
* "PackedPolicySize": 8
|
224
|
-
* }
|
225
|
-
* *\/
|
226
|
-
* // example id: to-get-temporary-credentials-for-a-role-by-using-getfederationtoken-1480540749900
|
227
|
-
* ```
|
228
|
-
*
|
229
|
-
*/
|
230
|
-
export declare class GetFederationTokenCommand extends GetFederationTokenCommand_base {
|
231
|
-
/** @internal type navigation helper, not in runtime. */
|
232
|
-
protected static __types: {
|
233
|
-
api: {
|
234
|
-
input: GetFederationTokenRequest;
|
235
|
-
output: GetFederationTokenResponse;
|
236
|
-
};
|
237
|
-
sdk: {
|
238
|
-
input: GetFederationTokenCommandInput;
|
239
|
-
output: GetFederationTokenCommandOutput;
|
240
|
-
};
|
241
|
-
};
|
242
|
-
}
|
@@ -1,166 +0,0 @@
|
|
1
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
|
-
import { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0";
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
5
|
-
/**
|
6
|
-
* @public
|
7
|
-
*/
|
8
|
-
export type { __MetadataBearer };
|
9
|
-
export { $Command };
|
10
|
-
/**
|
11
|
-
* @public
|
12
|
-
*
|
13
|
-
* The input for {@link GetSessionTokenCommand}.
|
14
|
-
*/
|
15
|
-
export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {
|
16
|
-
}
|
17
|
-
/**
|
18
|
-
* @public
|
19
|
-
*
|
20
|
-
* The output of {@link GetSessionTokenCommand}.
|
21
|
-
*/
|
22
|
-
export interface GetSessionTokenCommandOutput extends GetSessionTokenResponse, __MetadataBearer {
|
23
|
-
}
|
24
|
-
declare const GetSessionTokenCommand_base: {
|
25
|
-
new (input: GetSessionTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionTokenCommandInput, GetSessionTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
26
|
-
new (...[input]: [] | [GetSessionTokenCommandInput]): import("@smithy/smithy-client").CommandImpl<GetSessionTokenCommandInput, GetSessionTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
28
|
-
};
|
29
|
-
/**
|
30
|
-
* <p>Returns a set of temporary credentials for an Amazon Web Services account or IAM user.
|
31
|
-
* The credentials consist of an access key ID, a secret access key, and a security token.
|
32
|
-
* Typically, you use <code>GetSessionToken</code> if you want to use MFA to protect
|
33
|
-
* programmatic calls to specific Amazon Web Services API operations like Amazon EC2
|
34
|
-
* <code>StopInstances</code>.</p>
|
35
|
-
* <p>MFA-enabled IAM users must call <code>GetSessionToken</code> and submit
|
36
|
-
* an MFA code that is associated with their MFA device. Using the temporary security
|
37
|
-
* credentials that the call returns, IAM users can then make programmatic
|
38
|
-
* calls to API operations that require MFA authentication. An incorrect MFA code causes the
|
39
|
-
* API to return an access denied error. For a comparison of <code>GetSessionToken</code> with
|
40
|
-
* the other API operations that produce temporary credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html">Requesting
|
41
|
-
* Temporary Security Credentials</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_sts-comparison.html">Compare STS
|
42
|
-
* credentials</a> in the <i>IAM User Guide</i>.</p>
|
43
|
-
* <note>
|
44
|
-
* <p>No permissions are required for users to perform this operation. The purpose of the
|
45
|
-
* <code>sts:GetSessionToken</code> operation is to authenticate the user using MFA. You
|
46
|
-
* cannot use policies to control authentication operations. For more information, see
|
47
|
-
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getsessiontoken.html">Permissions for GetSessionToken</a> in the
|
48
|
-
* <i>IAM User Guide</i>.</p>
|
49
|
-
* </note>
|
50
|
-
* <p>
|
51
|
-
* <b>Session Duration</b>
|
52
|
-
* </p>
|
53
|
-
* <p>The <code>GetSessionToken</code> operation must be called by using the long-term Amazon Web Services
|
54
|
-
* security credentials of an IAM user. Credentials that are created by IAM users are valid for the duration that you specify. This duration can range
|
55
|
-
* from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours), with a default
|
56
|
-
* of 43,200 seconds (12 hours). Credentials based on account credentials can range from 900
|
57
|
-
* seconds (15 minutes) up to 3,600 seconds (1 hour), with a default of 1 hour. </p>
|
58
|
-
* <p>
|
59
|
-
* <b>Permissions</b>
|
60
|
-
* </p>
|
61
|
-
* <p>The temporary security credentials created by <code>GetSessionToken</code> can be used
|
62
|
-
* to make API calls to any Amazon Web Services service with the following exceptions:</p>
|
63
|
-
* <ul>
|
64
|
-
* <li>
|
65
|
-
* <p>You cannot call any IAM API operations unless MFA authentication information is
|
66
|
-
* included in the request.</p>
|
67
|
-
* </li>
|
68
|
-
* <li>
|
69
|
-
* <p>You cannot call any STS API <i>except</i>
|
70
|
-
* <code>AssumeRole</code> or <code>GetCallerIdentity</code>.</p>
|
71
|
-
* </li>
|
72
|
-
* </ul>
|
73
|
-
* <p>The credentials that <code>GetSessionToken</code> returns are based on permissions
|
74
|
-
* associated with the IAM user whose credentials were used to call the
|
75
|
-
* operation. The temporary credentials have the same permissions as the IAM user.</p>
|
76
|
-
* <note>
|
77
|
-
* <p>Although it is possible to call <code>GetSessionToken</code> using the security
|
78
|
-
* credentials of an Amazon Web Services account root user rather than an IAM user, we do
|
79
|
-
* not recommend it. If <code>GetSessionToken</code> is called using root user
|
80
|
-
* credentials, the temporary credentials have root user permissions. For more
|
81
|
-
* information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#lock-away-credentials">Safeguard your root user credentials and don't use them for everyday tasks</a> in the
|
82
|
-
* <i>IAM User Guide</i>
|
83
|
-
* </p>
|
84
|
-
* </note>
|
85
|
-
* <p>For more information about using <code>GetSessionToken</code> to create temporary
|
86
|
-
* credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_getsessiontoken">Temporary
|
87
|
-
* Credentials for Users in Untrusted Environments</a> in the
|
88
|
-
* <i>IAM User Guide</i>. </p>
|
89
|
-
* @example
|
90
|
-
* Use a bare-bones client and the command you need to make an API call.
|
91
|
-
* ```javascript
|
92
|
-
* import { STSClient, GetSessionTokenCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
93
|
-
* // const { STSClient, GetSessionTokenCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
94
|
-
* const client = new STSClient(config);
|
95
|
-
* const input = { // GetSessionTokenRequest
|
96
|
-
* DurationSeconds: Number("int"),
|
97
|
-
* SerialNumber: "STRING_VALUE",
|
98
|
-
* TokenCode: "STRING_VALUE",
|
99
|
-
* };
|
100
|
-
* const command = new GetSessionTokenCommand(input);
|
101
|
-
* const response = await client.send(command);
|
102
|
-
* // { // GetSessionTokenResponse
|
103
|
-
* // Credentials: { // Credentials
|
104
|
-
* // AccessKeyId: "STRING_VALUE", // required
|
105
|
-
* // SecretAccessKey: "STRING_VALUE", // required
|
106
|
-
* // SessionToken: "STRING_VALUE", // required
|
107
|
-
* // Expiration: new Date("TIMESTAMP"), // required
|
108
|
-
* // },
|
109
|
-
* // };
|
110
|
-
*
|
111
|
-
* ```
|
112
|
-
*
|
113
|
-
* @param GetSessionTokenCommandInput - {@link GetSessionTokenCommandInput}
|
114
|
-
* @returns {@link GetSessionTokenCommandOutput}
|
115
|
-
* @see {@link GetSessionTokenCommandInput} for command's `input` shape.
|
116
|
-
* @see {@link GetSessionTokenCommandOutput} for command's `response` shape.
|
117
|
-
* @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape.
|
118
|
-
*
|
119
|
-
* @throws {@link RegionDisabledException} (client fault)
|
120
|
-
* <p>STS is not activated in the requested region for the account that is being asked to
|
121
|
-
* generate credentials. The account administrator must use the IAM console to activate
|
122
|
-
* STS in that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and
|
123
|
-
* Deactivating STS in an Amazon Web Services Region</a> in the <i>IAM User
|
124
|
-
* Guide</i>.</p>
|
125
|
-
*
|
126
|
-
* @throws {@link STSServiceException}
|
127
|
-
* <p>Base exception class for all service exceptions from STS service.</p>
|
128
|
-
*
|
129
|
-
* @public
|
130
|
-
* @example To get temporary credentials for an IAM user or an AWS account
|
131
|
-
* ```javascript
|
132
|
-
* //
|
133
|
-
* const input = {
|
134
|
-
* "DurationSeconds": 3600,
|
135
|
-
* "SerialNumber": "YourMFASerialNumber",
|
136
|
-
* "TokenCode": "123456"
|
137
|
-
* };
|
138
|
-
* const command = new GetSessionTokenCommand(input);
|
139
|
-
* const response = await client.send(command);
|
140
|
-
* /* response ==
|
141
|
-
* {
|
142
|
-
* "Credentials": {
|
143
|
-
* "AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
|
144
|
-
* "Expiration": "2011-07-11T19:55:29.611Z",
|
145
|
-
* "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
146
|
-
* "SessionToken": "AQoEXAMPLEH4aoAH0gNCAPyJxz4BlCFFxWNE1OPTgk5TthT+FvwqnKwRcOIfrRh3c/LTo6UDdyJwOOvEVPvLXCrrrUtdnniCEXAMPLE/IvU1dYUg2RVAJBanLiHb4IgRmpRV3zrkuWJOgQs8IZZaIv2BXIa2R4OlgkBN9bkUDNCJiBeb/AXlzBBko7b15fjrBs2+cTQtpZ3CYWFXG8C5zqx37wnOE49mRl/+OtkIKGO7fAE"
|
147
|
-
* }
|
148
|
-
* }
|
149
|
-
* *\/
|
150
|
-
* // example id: to-get-temporary-credentials-for-an-iam-user-or-an-aws-account-1480540814038
|
151
|
-
* ```
|
152
|
-
*
|
153
|
-
*/
|
154
|
-
export declare class GetSessionTokenCommand extends GetSessionTokenCommand_base {
|
155
|
-
/** @internal type navigation helper, not in runtime. */
|
156
|
-
protected static __types: {
|
157
|
-
api: {
|
158
|
-
input: GetSessionTokenRequest;
|
159
|
-
output: GetSessionTokenResponse;
|
160
|
-
};
|
161
|
-
sdk: {
|
162
|
-
input: GetSessionTokenCommandInput;
|
163
|
-
output: GetSessionTokenCommandOutput;
|
164
|
-
};
|
165
|
-
};
|
166
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export * from "./AssumeRoleCommand";
|
2
|
-
export * from "./AssumeRoleWithSAMLCommand";
|
3
|
-
export * from "./AssumeRoleWithWebIdentityCommand";
|
4
|
-
export * from "./AssumeRootCommand";
|
5
|
-
export * from "./DecodeAuthorizationMessageCommand";
|
6
|
-
export * from "./GetAccessKeyInfoCommand";
|
7
|
-
export * from "./GetCallerIdentityCommand";
|
8
|
-
export * from "./GetFederationTokenCommand";
|
9
|
-
export * from "./GetSessionTokenCommand";
|
@@ -1,83 +0,0 @@
|
|
1
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
2
|
-
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
3
|
-
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "../commands/AssumeRoleCommand";
|
4
|
-
import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "../commands/AssumeRoleWithSAMLCommand";
|
5
|
-
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "../commands/AssumeRoleWithWebIdentityCommand";
|
6
|
-
import { AssumeRootCommandInput, AssumeRootCommandOutput } from "../commands/AssumeRootCommand";
|
7
|
-
import { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "../commands/DecodeAuthorizationMessageCommand";
|
8
|
-
import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "../commands/GetAccessKeyInfoCommand";
|
9
|
-
import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "../commands/GetCallerIdentityCommand";
|
10
|
-
import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "../commands/GetFederationTokenCommand";
|
11
|
-
import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "../commands/GetSessionTokenCommand";
|
12
|
-
/**
|
13
|
-
* serializeAws_queryAssumeRoleCommand
|
14
|
-
*/
|
15
|
-
export declare const se_AssumeRoleCommand: (input: AssumeRoleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
16
|
-
/**
|
17
|
-
* serializeAws_queryAssumeRoleWithSAMLCommand
|
18
|
-
*/
|
19
|
-
export declare const se_AssumeRoleWithSAMLCommand: (input: AssumeRoleWithSAMLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
20
|
-
/**
|
21
|
-
* serializeAws_queryAssumeRoleWithWebIdentityCommand
|
22
|
-
*/
|
23
|
-
export declare const se_AssumeRoleWithWebIdentityCommand: (input: AssumeRoleWithWebIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
24
|
-
/**
|
25
|
-
* serializeAws_queryAssumeRootCommand
|
26
|
-
*/
|
27
|
-
export declare const se_AssumeRootCommand: (input: AssumeRootCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
28
|
-
/**
|
29
|
-
* serializeAws_queryDecodeAuthorizationMessageCommand
|
30
|
-
*/
|
31
|
-
export declare const se_DecodeAuthorizationMessageCommand: (input: DecodeAuthorizationMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
32
|
-
/**
|
33
|
-
* serializeAws_queryGetAccessKeyInfoCommand
|
34
|
-
*/
|
35
|
-
export declare const se_GetAccessKeyInfoCommand: (input: GetAccessKeyInfoCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
36
|
-
/**
|
37
|
-
* serializeAws_queryGetCallerIdentityCommand
|
38
|
-
*/
|
39
|
-
export declare const se_GetCallerIdentityCommand: (input: GetCallerIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
40
|
-
/**
|
41
|
-
* serializeAws_queryGetFederationTokenCommand
|
42
|
-
*/
|
43
|
-
export declare const se_GetFederationTokenCommand: (input: GetFederationTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
44
|
-
/**
|
45
|
-
* serializeAws_queryGetSessionTokenCommand
|
46
|
-
*/
|
47
|
-
export declare const se_GetSessionTokenCommand: (input: GetSessionTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
48
|
-
/**
|
49
|
-
* deserializeAws_queryAssumeRoleCommand
|
50
|
-
*/
|
51
|
-
export declare const de_AssumeRoleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleCommandOutput>;
|
52
|
-
/**
|
53
|
-
* deserializeAws_queryAssumeRoleWithSAMLCommand
|
54
|
-
*/
|
55
|
-
export declare const de_AssumeRoleWithSAMLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithSAMLCommandOutput>;
|
56
|
-
/**
|
57
|
-
* deserializeAws_queryAssumeRoleWithWebIdentityCommand
|
58
|
-
*/
|
59
|
-
export declare const de_AssumeRoleWithWebIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
60
|
-
/**
|
61
|
-
* deserializeAws_queryAssumeRootCommand
|
62
|
-
*/
|
63
|
-
export declare const de_AssumeRootCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRootCommandOutput>;
|
64
|
-
/**
|
65
|
-
* deserializeAws_queryDecodeAuthorizationMessageCommand
|
66
|
-
*/
|
67
|
-
export declare const de_DecodeAuthorizationMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DecodeAuthorizationMessageCommandOutput>;
|
68
|
-
/**
|
69
|
-
* deserializeAws_queryGetAccessKeyInfoCommand
|
70
|
-
*/
|
71
|
-
export declare const de_GetAccessKeyInfoCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccessKeyInfoCommandOutput>;
|
72
|
-
/**
|
73
|
-
* deserializeAws_queryGetCallerIdentityCommand
|
74
|
-
*/
|
75
|
-
export declare const de_GetCallerIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCallerIdentityCommandOutput>;
|
76
|
-
/**
|
77
|
-
* deserializeAws_queryGetFederationTokenCommand
|
78
|
-
*/
|
79
|
-
export declare const de_GetFederationTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFederationTokenCommandOutput>;
|
80
|
-
/**
|
81
|
-
* deserializeAws_queryGetSessionTokenCommand
|
82
|
-
*/
|
83
|
-
export declare const de_GetSessionTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSessionTokenCommandOutput>;
|