@aws-sdk/client-sts 3.1077.0 → 3.1079.0
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/dist-cjs/index.js +19 -113
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssumeRoleCommand.js +2 -14
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +2 -14
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +2 -14
- package/dist-es/commands/AssumeRootCommand.js +2 -14
- package/dist-es/commands/DecodeAuthorizationMessageCommand.js +2 -14
- package/dist-es/commands/GetAccessKeyInfoCommand.js +2 -14
- package/dist-es/commands/GetCallerIdentityCommand.js +2 -14
- package/dist-es/commands/GetDelegatedAccessTokenCommand.js +2 -14
- package/dist-es/commands/GetFederationTokenCommand.js +2 -14
- package/dist-es/commands/GetSessionTokenCommand.js +2 -14
- package/dist-es/commands/GetWebIdentityTokenCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssumeRoleCommand.d.ts +3 -8
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +3 -8
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -8
- package/dist-types/commands/AssumeRootCommand.d.ts +3 -8
- package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +3 -8
- package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +3 -8
- package/dist-types/commands/GetCallerIdentityCommand.d.ts +3 -8
- package/dist-types/commands/GetDelegatedAccessTokenCommand.d.ts +3 -8
- package/dist-types/commands/GetFederationTokenCommand.d.ts +3 -8
- package/dist-types/commands/GetSessionTokenCommand.d.ts +3 -8
- package/dist-types/commands/GetWebIdentityTokenCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDelegatedAccessTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWebIdentityTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +10 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, setCredentialFeature, stsRegionDefaultResolver } = require("@aws-sdk/core/client");
|
|
2
2
|
const { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveParams, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -263,7 +264,7 @@ const commonParams = {
|
|
|
263
264
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
264
265
|
};
|
|
265
266
|
|
|
266
|
-
var version = "3.
|
|
267
|
+
var version = "3.1078.0";
|
|
267
268
|
var packageInfo = {
|
|
268
269
|
version: version};
|
|
269
270
|
|
|
@@ -977,136 +978,41 @@ class STSClient extends Client {
|
|
|
977
978
|
}
|
|
978
979
|
}
|
|
979
980
|
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
})
|
|
986
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRole", {})
|
|
987
|
-
.n("STSClient", "AssumeRoleCommand")
|
|
988
|
-
.sc(AssumeRole$)
|
|
989
|
-
.build() {
|
|
981
|
+
const command = makeBuilder(commonParams, "AWSSecurityTokenServiceV20110615", "STSClient", getEndpointPlugin);
|
|
982
|
+
const _ep0 = {};
|
|
983
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
984
|
+
|
|
985
|
+
class AssumeRoleCommand extends command(_ep0, _mw0, "AssumeRole", AssumeRole$) {
|
|
990
986
|
}
|
|
991
987
|
|
|
992
|
-
class AssumeRoleWithSAMLCommand extends
|
|
993
|
-
.classBuilder()
|
|
994
|
-
.ep(commonParams)
|
|
995
|
-
.m(function (Command, cs, config, o) {
|
|
996
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
997
|
-
})
|
|
998
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithSAML", {})
|
|
999
|
-
.n("STSClient", "AssumeRoleWithSAMLCommand")
|
|
1000
|
-
.sc(AssumeRoleWithSAML$)
|
|
1001
|
-
.build() {
|
|
988
|
+
class AssumeRoleWithSAMLCommand extends command(_ep0, _mw0, "AssumeRoleWithSAML", AssumeRoleWithSAML$) {
|
|
1002
989
|
}
|
|
1003
990
|
|
|
1004
|
-
class AssumeRoleWithWebIdentityCommand extends
|
|
1005
|
-
.classBuilder()
|
|
1006
|
-
.ep(commonParams)
|
|
1007
|
-
.m(function (Command, cs, config, o) {
|
|
1008
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1009
|
-
})
|
|
1010
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {})
|
|
1011
|
-
.n("STSClient", "AssumeRoleWithWebIdentityCommand")
|
|
1012
|
-
.sc(AssumeRoleWithWebIdentity$)
|
|
1013
|
-
.build() {
|
|
991
|
+
class AssumeRoleWithWebIdentityCommand extends command(_ep0, _mw0, "AssumeRoleWithWebIdentity", AssumeRoleWithWebIdentity$) {
|
|
1014
992
|
}
|
|
1015
993
|
|
|
1016
|
-
class AssumeRootCommand extends
|
|
1017
|
-
.classBuilder()
|
|
1018
|
-
.ep(commonParams)
|
|
1019
|
-
.m(function (Command, cs, config, o) {
|
|
1020
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1021
|
-
})
|
|
1022
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRoot", {})
|
|
1023
|
-
.n("STSClient", "AssumeRootCommand")
|
|
1024
|
-
.sc(AssumeRoot$)
|
|
1025
|
-
.build() {
|
|
994
|
+
class AssumeRootCommand extends command(_ep0, _mw0, "AssumeRoot", AssumeRoot$) {
|
|
1026
995
|
}
|
|
1027
996
|
|
|
1028
|
-
class DecodeAuthorizationMessageCommand extends
|
|
1029
|
-
.classBuilder()
|
|
1030
|
-
.ep(commonParams)
|
|
1031
|
-
.m(function (Command, cs, config, o) {
|
|
1032
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1033
|
-
})
|
|
1034
|
-
.s("AWSSecurityTokenServiceV20110615", "DecodeAuthorizationMessage", {})
|
|
1035
|
-
.n("STSClient", "DecodeAuthorizationMessageCommand")
|
|
1036
|
-
.sc(DecodeAuthorizationMessage$)
|
|
1037
|
-
.build() {
|
|
997
|
+
class DecodeAuthorizationMessageCommand extends command(_ep0, _mw0, "DecodeAuthorizationMessage", DecodeAuthorizationMessage$) {
|
|
1038
998
|
}
|
|
1039
999
|
|
|
1040
|
-
class GetAccessKeyInfoCommand extends
|
|
1041
|
-
.classBuilder()
|
|
1042
|
-
.ep(commonParams)
|
|
1043
|
-
.m(function (Command, cs, config, o) {
|
|
1044
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1045
|
-
})
|
|
1046
|
-
.s("AWSSecurityTokenServiceV20110615", "GetAccessKeyInfo", {})
|
|
1047
|
-
.n("STSClient", "GetAccessKeyInfoCommand")
|
|
1048
|
-
.sc(GetAccessKeyInfo$)
|
|
1049
|
-
.build() {
|
|
1000
|
+
class GetAccessKeyInfoCommand extends command(_ep0, _mw0, "GetAccessKeyInfo", GetAccessKeyInfo$) {
|
|
1050
1001
|
}
|
|
1051
1002
|
|
|
1052
|
-
class GetCallerIdentityCommand extends
|
|
1053
|
-
.classBuilder()
|
|
1054
|
-
.ep(commonParams)
|
|
1055
|
-
.m(function (Command, cs, config, o) {
|
|
1056
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1057
|
-
})
|
|
1058
|
-
.s("AWSSecurityTokenServiceV20110615", "GetCallerIdentity", {})
|
|
1059
|
-
.n("STSClient", "GetCallerIdentityCommand")
|
|
1060
|
-
.sc(GetCallerIdentity$)
|
|
1061
|
-
.build() {
|
|
1003
|
+
class GetCallerIdentityCommand extends command(_ep0, _mw0, "GetCallerIdentity", GetCallerIdentity$) {
|
|
1062
1004
|
}
|
|
1063
1005
|
|
|
1064
|
-
class GetDelegatedAccessTokenCommand extends
|
|
1065
|
-
.classBuilder()
|
|
1066
|
-
.ep(commonParams)
|
|
1067
|
-
.m(function (Command, cs, config, o) {
|
|
1068
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1069
|
-
})
|
|
1070
|
-
.s("AWSSecurityTokenServiceV20110615", "GetDelegatedAccessToken", {})
|
|
1071
|
-
.n("STSClient", "GetDelegatedAccessTokenCommand")
|
|
1072
|
-
.sc(GetDelegatedAccessToken$)
|
|
1073
|
-
.build() {
|
|
1006
|
+
class GetDelegatedAccessTokenCommand extends command(_ep0, _mw0, "GetDelegatedAccessToken", GetDelegatedAccessToken$) {
|
|
1074
1007
|
}
|
|
1075
1008
|
|
|
1076
|
-
class GetFederationTokenCommand extends
|
|
1077
|
-
.classBuilder()
|
|
1078
|
-
.ep(commonParams)
|
|
1079
|
-
.m(function (Command, cs, config, o) {
|
|
1080
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1081
|
-
})
|
|
1082
|
-
.s("AWSSecurityTokenServiceV20110615", "GetFederationToken", {})
|
|
1083
|
-
.n("STSClient", "GetFederationTokenCommand")
|
|
1084
|
-
.sc(GetFederationToken$)
|
|
1085
|
-
.build() {
|
|
1009
|
+
class GetFederationTokenCommand extends command(_ep0, _mw0, "GetFederationToken", GetFederationToken$) {
|
|
1086
1010
|
}
|
|
1087
1011
|
|
|
1088
|
-
class GetSessionTokenCommand extends
|
|
1089
|
-
.classBuilder()
|
|
1090
|
-
.ep(commonParams)
|
|
1091
|
-
.m(function (Command, cs, config, o) {
|
|
1092
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1093
|
-
})
|
|
1094
|
-
.s("AWSSecurityTokenServiceV20110615", "GetSessionToken", {})
|
|
1095
|
-
.n("STSClient", "GetSessionTokenCommand")
|
|
1096
|
-
.sc(GetSessionToken$)
|
|
1097
|
-
.build() {
|
|
1012
|
+
class GetSessionTokenCommand extends command(_ep0, _mw0, "GetSessionToken", GetSessionToken$) {
|
|
1098
1013
|
}
|
|
1099
1014
|
|
|
1100
|
-
class GetWebIdentityTokenCommand extends
|
|
1101
|
-
.classBuilder()
|
|
1102
|
-
.ep(commonParams)
|
|
1103
|
-
.m(function (Command, cs, config, o) {
|
|
1104
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1105
|
-
})
|
|
1106
|
-
.s("AWSSecurityTokenServiceV20110615", "GetWebIdentityToken", {})
|
|
1107
|
-
.n("STSClient", "GetWebIdentityTokenCommand")
|
|
1108
|
-
.sc(GetWebIdentityToken$)
|
|
1109
|
-
.build() {
|
|
1015
|
+
class GetWebIdentityTokenCommand extends command(_ep0, _mw0, "GetWebIdentityToken", GetWebIdentityToken$) {
|
|
1110
1016
|
}
|
|
1111
1017
|
|
|
1112
1018
|
const commands = {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AWSSecurityTokenServiceV20110615", "STSClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AssumeRole$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AssumeRoleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRole", {})
|
|
13
|
-
.n("STSClient", "AssumeRoleCommand")
|
|
14
|
-
.sc(AssumeRole$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AssumeRoleCommand extends command(_ep0, _mw0, "AssumeRole", AssumeRole$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AssumeRoleWithSAML$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AssumeRoleWithSAMLCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithSAML", {})
|
|
13
|
-
.n("STSClient", "AssumeRoleWithSAMLCommand")
|
|
14
|
-
.sc(AssumeRoleWithSAML$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AssumeRoleWithSAMLCommand extends command(_ep0, _mw0, "AssumeRoleWithSAML", AssumeRoleWithSAML$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AssumeRoleWithWebIdentity$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AssumeRoleWithWebIdentityCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {})
|
|
13
|
-
.n("STSClient", "AssumeRoleWithWebIdentityCommand")
|
|
14
|
-
.sc(AssumeRoleWithWebIdentity$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AssumeRoleWithWebIdentityCommand extends command(_ep0, _mw0, "AssumeRoleWithWebIdentity", AssumeRoleWithWebIdentity$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AssumeRoot$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AssumeRootCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSSecurityTokenServiceV20110615", "AssumeRoot", {})
|
|
13
|
-
.n("STSClient", "AssumeRootCommand")
|
|
14
|
-
.sc(AssumeRoot$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AssumeRootCommand extends command(_ep0, _mw0, "AssumeRoot", AssumeRoot$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DecodeAuthorizationMessage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DecodeAuthorizationMessageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSSecurityTokenServiceV20110615", "DecodeAuthorizationMessage", {})
|
|
13
|
-
.n("STSClient", "DecodeAuthorizationMessageCommand")
|
|
14
|
-
.sc(DecodeAuthorizationMessage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DecodeAuthorizationMessageCommand extends command(_ep0, _mw0, "DecodeAuthorizationMessage", DecodeAuthorizationMessage$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetAccessKeyInfo$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetAccessKeyInfoCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSSecurityTokenServiceV20110615", "GetAccessKeyInfo", {})
|
|
13
|
-
.n("STSClient", "GetAccessKeyInfoCommand")
|
|
14
|
-
.sc(GetAccessKeyInfo$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetAccessKeyInfoCommand extends command(_ep0, _mw0, "GetAccessKeyInfo", GetAccessKeyInfo$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetCallerIdentity$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetCallerIdentityCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSSecurityTokenServiceV20110615", "GetCallerIdentity", {})
|
|
13
|
-
.n("STSClient", "GetCallerIdentityCommand")
|
|
14
|
-
.sc(GetCallerIdentity$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetCallerIdentityCommand extends command(_ep0, _mw0, "GetCallerIdentity", GetCallerIdentity$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetDelegatedAccessToken$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetDelegatedAccessTokenCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSSecurityTokenServiceV20110615", "GetDelegatedAccessToken", {})
|
|
13
|
-
.n("STSClient", "GetDelegatedAccessTokenCommand")
|
|
14
|
-
.sc(GetDelegatedAccessToken$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetDelegatedAccessTokenCommand extends command(_ep0, _mw0, "GetDelegatedAccessToken", GetDelegatedAccessToken$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetFederationToken$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetFederationTokenCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSSecurityTokenServiceV20110615", "GetFederationToken", {})
|
|
13
|
-
.n("STSClient", "GetFederationTokenCommand")
|
|
14
|
-
.sc(GetFederationToken$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetFederationTokenCommand extends command(_ep0, _mw0, "GetFederationToken", GetFederationToken$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetSessionToken$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetSessionTokenCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSSecurityTokenServiceV20110615", "GetSessionToken", {})
|
|
13
|
-
.n("STSClient", "GetSessionTokenCommand")
|
|
14
|
-
.sc(GetSessionToken$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetSessionTokenCommand extends command(_ep0, _mw0, "GetSessionToken", GetSessionToken$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetWebIdentityToken$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetWebIdentityTokenCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSSecurityTokenServiceV20110615", "GetWebIdentityToken", {})
|
|
13
|
-
.n("STSClient", "GetWebIdentityTokenCommand")
|
|
14
|
-
.sc(GetWebIdentityToken$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetWebIdentityTokenCommand extends command(_ep0, _mw0, "GetWebIdentityToken", GetWebIdentityToken$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "./STSClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssumeRoleCommandInput extends AssumeRoleRequest {
|
|
|
22
19
|
export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssumeRoleCommand_base: {
|
|
25
|
-
new (input: AssumeRoleCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssumeRoleCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssumeRoleCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssumeRoleCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns a set of temporary security credentials that you can use to access Amazon Web Services
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssumeRoleWithSAMLCommandInput extends AssumeRoleWithSAMLReques
|
|
|
22
19
|
export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssumeRoleWithSAMLCommand_base: {
|
|
25
|
-
new (input: AssumeRoleWithSAMLCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssumeRoleWithSAMLCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssumeRoleWithSAMLCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssumeRoleWithSAMLCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns a set of temporary security credentials for users who have been authenticated
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssumeRoleWithWebIdentityCommandInput extends AssumeRoleWithWeb
|
|
|
22
19
|
export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWebIdentityResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssumeRoleWithWebIdentityCommand_base: {
|
|
25
|
-
new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns a set of temporary security credentials for users who have been authenticated in
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { AssumeRootRequest, AssumeRootResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssumeRootCommandInput extends AssumeRootRequest {
|
|
|
22
19
|
export interface AssumeRootCommandOutput extends AssumeRootResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssumeRootCommand_base: {
|
|
25
|
-
new (input: AssumeRootCommandInput): import("@smithy/core/client").CommandImpl<AssumeRootCommandInput, AssumeRootCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssumeRootCommandInput): import("@smithy/core/client").CommandImpl<AssumeRootCommandInput, AssumeRootCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssumeRootCommandInput): import("@smithy/core/client").CommandImpl<AssumeRootCommandInput, AssumeRootCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssumeRootCommandInput): import("@smithy/core/client").CommandImpl<AssumeRootCommandInput, AssumeRootCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns a set of short term credentials you can use to perform privileged tasks on a
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DecodeAuthorizationMessageCommandInput extends DecodeAuthorizat
|
|
|
22
19
|
export interface DecodeAuthorizationMessageCommandOutput extends DecodeAuthorizationMessageResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DecodeAuthorizationMessageCommand_base: {
|
|
25
|
-
new (input: DecodeAuthorizationMessageCommandInput): import("@smithy/core/client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DecodeAuthorizationMessageCommandInput): import("@smithy/core/client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DecodeAuthorizationMessageCommandInput): import("@smithy/core/client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DecodeAuthorizationMessageCommandInput): import("@smithy/core/client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Decodes additional information about the authorization status of a request from an
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetAccessKeyInfoCommandInput extends GetAccessKeyInfoRequest {
|
|
|
22
19
|
export interface GetAccessKeyInfoCommandOutput extends GetAccessKeyInfoResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetAccessKeyInfoCommand_base: {
|
|
25
|
-
new (input: GetAccessKeyInfoCommandInput): import("@smithy/core/client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetAccessKeyInfoCommandInput): import("@smithy/core/client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetAccessKeyInfoCommandInput): import("@smithy/core/client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetAccessKeyInfoCommandInput): import("@smithy/core/client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns the account identifier for the specified access key ID.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetCallerIdentityCommandInput extends GetCallerIdentityRequest
|
|
|
22
19
|
export interface GetCallerIdentityCommandOutput extends GetCallerIdentityResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetCallerIdentityCommand_base: {
|
|
25
|
-
new (input: GetCallerIdentityCommandInput): import("@smithy/core/client").CommandImpl<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [GetCallerIdentityCommandInput]): import("@smithy/core/client").CommandImpl<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetCallerIdentityCommandInput): import("@smithy/core/client").CommandImpl<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetCallerIdentityCommandInput]): import("@smithy/core/client").CommandImpl<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, import("..").STSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns details about the IAM user or role whose credentials are used to
|