@aws-sdk/client-sts 3.33.0 → 3.36.1
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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/STS.js +1 -9
- package/dist-cjs/STSClient.js +34 -0
- package/dist-cjs/commands/AssumeRoleCommand.js +38 -0
- package/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +36 -0
- package/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +36 -0
- package/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +38 -0
- package/dist-cjs/commands/GetAccessKeyInfoCommand.js +38 -0
- package/dist-cjs/commands/GetCallerIdentityCommand.js +38 -0
- package/dist-cjs/commands/GetFederationTokenCommand.js +38 -0
- package/dist-cjs/commands/GetSessionTokenCommand.js +38 -0
- package/{dist/cjs → dist-cjs}/defaultRoleAssumers.js +0 -17
- package/{dist/cjs → dist-cjs}/defaultStsRoleAssumers.js +0 -21
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -88
- package/{dist/cjs → dist-cjs}/protocols/Aws_query.js +22 -25
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/STS.js +2 -10
- package/{dist/es → dist-es}/STSClient.js +2 -15
- package/dist-es/commands/AssumeRoleCommand.js +41 -0
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +39 -0
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +39 -0
- package/dist-es/commands/DecodeAuthorizationMessageCommand.js +41 -0
- package/dist-es/commands/GetAccessKeyInfoCommand.js +41 -0
- package/{dist/es → dist-es}/commands/GetCallerIdentityCommand.js +4 -39
- package/dist-es/commands/GetFederationTokenCommand.js +41 -0
- package/dist-es/commands/GetSessionTokenCommand.js +41 -0
- package/dist-es/defaultRoleAssumers.js +16 -0
- package/{dist/es → dist-es}/defaultStsRoleAssumers.js +10 -32
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -88
- package/{dist/es → dist-es}/protocols/Aws_query.js +152 -155
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/STS.d.ts +2 -2
- package/{dist/types → dist-types}/STSClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AssumeRoleCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AssumeRoleWithSAMLCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DecodeAuthorizationMessageCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetAccessKeyInfoCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetCallerIdentityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetFederationTokenCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetSessionTokenCommand.d.ts +3 -3
- package/{dist/types → dist-types}/defaultRoleAssumers.d.ts +0 -0
- package/{dist/types → dist-types}/defaultStsRoleAssumers.d.ts +0 -0
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_query.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/STS.d.ts +45 -0
- package/{dist/types → dist-types}/ts3.4/STSClient.d.ts +32 -101
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/defaultRoleAssumers.d.ts +8 -0
- package/{dist/types → dist-types}/ts3.4/defaultStsRoleAssumers.d.ts +6 -25
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +367 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_query.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/STS.ts +0 -896
- package/STSClient.ts +0 -263
- package/commands/AssumeRoleCommand.ts +0 -176
- package/commands/AssumeRoleWithSAMLCommand.ts +0 -225
- package/commands/AssumeRoleWithWebIdentityCommand.ts +0 -232
- package/commands/DecodeAuthorizationMessageCommand.ts +0 -134
- package/commands/GetAccessKeyInfoCommand.ts +0 -113
- package/commands/GetCallerIdentityCommand.ts +0 -105
- package/commands/GetFederationTokenCommand.ts +0 -234
- package/commands/GetSessionTokenCommand.ts +0 -147
- package/defaultRoleAssumers.spec.ts +0 -148
- package/defaultRoleAssumers.ts +0 -41
- package/defaultStsRoleAssumers.ts +0 -126
- package/dist/cjs/STS.js.map +0 -1
- package/dist/cjs/STSClient.js +0 -47
- package/dist/cjs/STSClient.js.map +0 -1
- package/dist/cjs/commands/AssumeRoleCommand.js +0 -146
- package/dist/cjs/commands/AssumeRoleCommand.js.map +0 -1
- package/dist/cjs/commands/AssumeRoleWithSAMLCommand.js +0 -192
- package/dist/cjs/commands/AssumeRoleWithSAMLCommand.js.map +0 -1
- package/dist/cjs/commands/AssumeRoleWithWebIdentityCommand.js +0 -196
- package/dist/cjs/commands/AssumeRoleWithWebIdentityCommand.js.map +0 -1
- package/dist/cjs/commands/DecodeAuthorizationMessageCommand.js +0 -98
- package/dist/cjs/commands/DecodeAuthorizationMessageCommand.js.map +0 -1
- package/dist/cjs/commands/GetAccessKeyInfoCommand.js +0 -80
- package/dist/cjs/commands/GetAccessKeyInfoCommand.js.map +0 -1
- package/dist/cjs/commands/GetCallerIdentityCommand.js +0 -72
- package/dist/cjs/commands/GetCallerIdentityCommand.js.map +0 -1
- package/dist/cjs/commands/GetFederationTokenCommand.js +0 -201
- package/dist/cjs/commands/GetFederationTokenCommand.js.map +0 -1
- package/dist/cjs/commands/GetSessionTokenCommand.js +0 -114
- package/dist/cjs/commands/GetSessionTokenCommand.js.map +0 -1
- package/dist/cjs/defaultRoleAssumers.js.map +0 -1
- package/dist/cjs/defaultRoleAssumers.spec.js +0 -135
- package/dist/cjs/defaultRoleAssumers.spec.js.map +0 -1
- package/dist/cjs/defaultStsRoleAssumers.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/protocols/Aws_query.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/STS.js.map +0 -1
- package/dist/es/STSClient.js.map +0 -1
- package/dist/es/commands/AssumeRoleCommand.js +0 -150
- package/dist/es/commands/AssumeRoleCommand.js.map +0 -1
- package/dist/es/commands/AssumeRoleWithSAMLCommand.js +0 -196
- package/dist/es/commands/AssumeRoleWithSAMLCommand.js.map +0 -1
- package/dist/es/commands/AssumeRoleWithWebIdentityCommand.js +0 -200
- package/dist/es/commands/AssumeRoleWithWebIdentityCommand.js.map +0 -1
- package/dist/es/commands/DecodeAuthorizationMessageCommand.js +0 -102
- package/dist/es/commands/DecodeAuthorizationMessageCommand.js.map +0 -1
- package/dist/es/commands/GetAccessKeyInfoCommand.js +0 -84
- package/dist/es/commands/GetAccessKeyInfoCommand.js.map +0 -1
- package/dist/es/commands/GetCallerIdentityCommand.js.map +0 -1
- package/dist/es/commands/GetFederationTokenCommand.js +0 -205
- package/dist/es/commands/GetFederationTokenCommand.js.map +0 -1
- package/dist/es/commands/GetSessionTokenCommand.js +0 -118
- package/dist/es/commands/GetSessionTokenCommand.js.map +0 -1
- package/dist/es/defaultRoleAssumers.js +0 -33
- package/dist/es/defaultRoleAssumers.js.map +0 -1
- package/dist/es/defaultRoleAssumers.spec.js +0 -142
- package/dist/es/defaultRoleAssumers.spec.js.map +0 -1
- package/dist/es/defaultStsRoleAssumers.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -13
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/protocols/Aws_query.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/defaultRoleAssumers.spec.d.ts +0 -1
- package/dist/types/ts3.4/STS.d.ts +0 -666
- package/dist/types/ts3.4/commands/AssumeRoleCommand.d.ts +0 -118
- package/dist/types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +0 -166
- package/dist/types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +0 -170
- package/dist/types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +0 -70
- package/dist/types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/GetCallerIdentityCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/GetFederationTokenCommand.d.ts +0 -173
- package/dist/types/ts3.4/commands/GetSessionTokenCommand.d.ts +0 -86
- package/dist/types/ts3.4/defaultRoleAssumers.d.ts +0 -19
- package/dist/types/ts3.4/defaultRoleAssumers.spec.d.ts +0 -1
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1192
- package/endpoints.ts +0 -91
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1361
- package/protocols/Aws_query.ts +0 -1513
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_queryAssumeRoleWithSAMLCommand, serializeAws_queryAssumeRoleWithSAMLCommand, } from "../protocols/Aws_query";
|
|
6
|
+
var AssumeRoleWithSAMLCommand = (function (_super) {
|
|
7
|
+
__extends(AssumeRoleWithSAMLCommand, _super);
|
|
8
|
+
function AssumeRoleWithSAMLCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
AssumeRoleWithSAMLCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "STSClient";
|
|
18
|
+
var commandName = "AssumeRoleWithSAMLCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: AssumeRoleWithSAMLRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AssumeRoleWithSAMLResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssumeRoleWithSAMLCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_queryAssumeRoleWithSAMLCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
AssumeRoleWithSAMLCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_queryAssumeRoleWithSAMLCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return AssumeRoleWithSAMLCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssumeRoleWithSAMLCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_queryAssumeRoleWithWebIdentityCommand, serializeAws_queryAssumeRoleWithWebIdentityCommand, } from "../protocols/Aws_query";
|
|
6
|
+
var AssumeRoleWithWebIdentityCommand = (function (_super) {
|
|
7
|
+
__extends(AssumeRoleWithWebIdentityCommand, _super);
|
|
8
|
+
function AssumeRoleWithWebIdentityCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
AssumeRoleWithWebIdentityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "STSClient";
|
|
18
|
+
var commandName = "AssumeRoleWithWebIdentityCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: AssumeRoleWithWebIdentityRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AssumeRoleWithWebIdentityResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssumeRoleWithWebIdentityCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_queryAssumeRoleWithWebIdentityCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
AssumeRoleWithWebIdentityCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_queryAssumeRoleWithWebIdentityCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return AssumeRoleWithWebIdentityCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssumeRoleWithWebIdentityCommand };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
+
import { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0";
|
|
6
|
+
import { deserializeAws_queryDecodeAuthorizationMessageCommand, serializeAws_queryDecodeAuthorizationMessageCommand, } from "../protocols/Aws_query";
|
|
7
|
+
var DecodeAuthorizationMessageCommand = (function (_super) {
|
|
8
|
+
__extends(DecodeAuthorizationMessageCommand, _super);
|
|
9
|
+
function DecodeAuthorizationMessageCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
13
|
+
}
|
|
14
|
+
DecodeAuthorizationMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "STSClient";
|
|
20
|
+
var commandName = "DecodeAuthorizationMessageCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
25
|
+
inputFilterSensitiveLog: DecodeAuthorizationMessageRequest.filterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: DecodeAuthorizationMessageResponse.filterSensitiveLog,
|
|
27
|
+
};
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
DecodeAuthorizationMessageCommand.prototype.serialize = function (input, context) {
|
|
34
|
+
return serializeAws_queryDecodeAuthorizationMessageCommand(input, context);
|
|
35
|
+
};
|
|
36
|
+
DecodeAuthorizationMessageCommand.prototype.deserialize = function (output, context) {
|
|
37
|
+
return deserializeAws_queryDecodeAuthorizationMessageCommand(output, context);
|
|
38
|
+
};
|
|
39
|
+
return DecodeAuthorizationMessageCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { DecodeAuthorizationMessageCommand };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
+
import { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
|
|
6
|
+
import { deserializeAws_queryGetAccessKeyInfoCommand, serializeAws_queryGetAccessKeyInfoCommand, } from "../protocols/Aws_query";
|
|
7
|
+
var GetAccessKeyInfoCommand = (function (_super) {
|
|
8
|
+
__extends(GetAccessKeyInfoCommand, _super);
|
|
9
|
+
function GetAccessKeyInfoCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
13
|
+
}
|
|
14
|
+
GetAccessKeyInfoCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "STSClient";
|
|
20
|
+
var commandName = "GetAccessKeyInfoCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
25
|
+
inputFilterSensitiveLog: GetAccessKeyInfoRequest.filterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: GetAccessKeyInfoResponse.filterSensitiveLog,
|
|
27
|
+
};
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetAccessKeyInfoCommand.prototype.serialize = function (input, context) {
|
|
34
|
+
return serializeAws_queryGetAccessKeyInfoCommand(input, context);
|
|
35
|
+
};
|
|
36
|
+
GetAccessKeyInfoCommand.prototype.deserialize = function (output, context) {
|
|
37
|
+
return deserializeAws_queryGetAccessKeyInfoCommand(output, context);
|
|
38
|
+
};
|
|
39
|
+
return GetAccessKeyInfoCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetAccessKeyInfoCommand };
|
|
@@ -1,50 +1,16 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_queryGetCallerIdentityCommand, serializeAws_queryGetCallerIdentityCommand, } from "../protocols/Aws_query";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
6
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>No permissions are required to perform this operation. If an administrator adds a
|
|
12
|
-
* policy to your IAM user or role that explicitly denies access to the
|
|
13
|
-
* <code>sts:GetCallerIdentity</code> action, you can still perform this operation.
|
|
14
|
-
* Permissions are not required because the same information is returned when an IAM
|
|
15
|
-
* user or role is denied access. 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
|
|
16
|
-
* <i>IAM User Guide</i>.</p>
|
|
17
|
-
* </note>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { STSClient, GetCallerIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import
|
|
22
|
-
* // const { STSClient, GetCallerIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import
|
|
23
|
-
* const client = new STSClient(config);
|
|
24
|
-
* const command = new GetCallerIdentityCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link GetCallerIdentityCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link GetCallerIdentityCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link STSClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
var GetCallerIdentityCommand = /** @class */ (function (_super) {
|
|
5
|
+
import { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
|
|
6
|
+
import { deserializeAws_queryGetCallerIdentityCommand, serializeAws_queryGetCallerIdentityCommand, } from "../protocols/Aws_query";
|
|
7
|
+
var GetCallerIdentityCommand = (function (_super) {
|
|
34
8
|
__extends(GetCallerIdentityCommand, _super);
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
9
|
function GetCallerIdentityCommand(input) {
|
|
38
|
-
var _this =
|
|
39
|
-
// Start section: command_constructor
|
|
40
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
41
11
|
_this.input = input;
|
|
42
12
|
return _this;
|
|
43
|
-
// End section: command_constructor
|
|
44
13
|
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
14
|
GetCallerIdentityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
49
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
16
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
@@ -73,4 +39,3 @@ var GetCallerIdentityCommand = /** @class */ (function (_super) {
|
|
|
73
39
|
return GetCallerIdentityCommand;
|
|
74
40
|
}($Command));
|
|
75
41
|
export { GetCallerIdentityCommand };
|
|
76
|
-
//# sourceMappingURL=GetCallerIdentityCommand.js.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
+
import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
|
|
6
|
+
import { deserializeAws_queryGetFederationTokenCommand, serializeAws_queryGetFederationTokenCommand, } from "../protocols/Aws_query";
|
|
7
|
+
var GetFederationTokenCommand = (function (_super) {
|
|
8
|
+
__extends(GetFederationTokenCommand, _super);
|
|
9
|
+
function GetFederationTokenCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
13
|
+
}
|
|
14
|
+
GetFederationTokenCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "STSClient";
|
|
20
|
+
var commandName = "GetFederationTokenCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
25
|
+
inputFilterSensitiveLog: GetFederationTokenRequest.filterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: GetFederationTokenResponse.filterSensitiveLog,
|
|
27
|
+
};
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetFederationTokenCommand.prototype.serialize = function (input, context) {
|
|
34
|
+
return serializeAws_queryGetFederationTokenCommand(input, context);
|
|
35
|
+
};
|
|
36
|
+
GetFederationTokenCommand.prototype.deserialize = function (output, context) {
|
|
37
|
+
return deserializeAws_queryGetFederationTokenCommand(output, context);
|
|
38
|
+
};
|
|
39
|
+
return GetFederationTokenCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetFederationTokenCommand };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
+
import { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0";
|
|
6
|
+
import { deserializeAws_queryGetSessionTokenCommand, serializeAws_queryGetSessionTokenCommand, } from "../protocols/Aws_query";
|
|
7
|
+
var GetSessionTokenCommand = (function (_super) {
|
|
8
|
+
__extends(GetSessionTokenCommand, _super);
|
|
9
|
+
function GetSessionTokenCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
13
|
+
}
|
|
14
|
+
GetSessionTokenCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "STSClient";
|
|
20
|
+
var commandName = "GetSessionTokenCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
25
|
+
inputFilterSensitiveLog: GetSessionTokenRequest.filterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: GetSessionTokenResponse.filterSensitiveLog,
|
|
27
|
+
};
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
GetSessionTokenCommand.prototype.serialize = function (input, context) {
|
|
34
|
+
return serializeAws_queryGetSessionTokenCommand(input, context);
|
|
35
|
+
};
|
|
36
|
+
GetSessionTokenCommand.prototype.deserialize = function (output, context) {
|
|
37
|
+
return deserializeAws_queryGetSessionTokenCommand(output, context);
|
|
38
|
+
};
|
|
39
|
+
return GetSessionTokenCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { GetSessionTokenCommand };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
2
|
+
import { getDefaultRoleAssumer as StsGetDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity as StsGetDefaultRoleAssumerWithWebIdentity, } from "./defaultStsRoleAssumers";
|
|
3
|
+
import { STSClient } from "./STSClient";
|
|
4
|
+
export var getDefaultRoleAssumer = function (stsOptions) {
|
|
5
|
+
if (stsOptions === void 0) { stsOptions = {}; }
|
|
6
|
+
return StsGetDefaultRoleAssumer(stsOptions, STSClient);
|
|
7
|
+
};
|
|
8
|
+
export var getDefaultRoleAssumerWithWebIdentity = function (stsOptions) {
|
|
9
|
+
if (stsOptions === void 0) { stsOptions = {}; }
|
|
10
|
+
return StsGetDefaultRoleAssumerWithWebIdentity(stsOptions, STSClient);
|
|
11
|
+
};
|
|
12
|
+
export var decorateDefaultCredentialProvider = function (provider) {
|
|
13
|
+
return function (input) {
|
|
14
|
+
return provider(__assign({ roleAssumer: getDefaultRoleAssumer(input), roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input) }, input));
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -2,9 +2,6 @@ import { __assign, __awaiter, __generator } from "tslib";
|
|
|
2
2
|
import { AssumeRoleCommand } from "./commands/AssumeRoleCommand";
|
|
3
3
|
import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
4
4
|
var ASSUME_ROLE_DEFAULT_REGION = "us-east-1";
|
|
5
|
-
/**
|
|
6
|
-
* Inject the fallback STS region of us-east-1.
|
|
7
|
-
*/
|
|
8
5
|
var decorateDefaultRegion = function (region) {
|
|
9
6
|
if (typeof region !== "function") {
|
|
10
7
|
return region === undefined ? ASSUME_ROLE_DEFAULT_REGION : region;
|
|
@@ -15,20 +12,16 @@ var decorateDefaultRegion = function (region) {
|
|
|
15
12
|
switch (_a.label) {
|
|
16
13
|
case 0:
|
|
17
14
|
_a.trys.push([0, 2, , 3]);
|
|
18
|
-
return [4
|
|
19
|
-
case 1: return [2
|
|
15
|
+
return [4, region()];
|
|
16
|
+
case 1: return [2, _a.sent()];
|
|
20
17
|
case 2:
|
|
21
18
|
e_1 = _a.sent();
|
|
22
|
-
return [2
|
|
23
|
-
case 3: return [2
|
|
19
|
+
return [2, ASSUME_ROLE_DEFAULT_REGION];
|
|
20
|
+
case 3: return [2];
|
|
24
21
|
}
|
|
25
22
|
});
|
|
26
23
|
}); };
|
|
27
24
|
};
|
|
28
|
-
/**
|
|
29
|
-
* The default role assumer that used by credential providers when sts:AssumeRole API is needed.
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
32
25
|
export var getDefaultRoleAssumer = function (stsOptions, stsClientCtor) {
|
|
33
26
|
var stsClient;
|
|
34
27
|
var closureSourceCreds;
|
|
@@ -40,19 +33,17 @@ export var getDefaultRoleAssumer = function (stsOptions, stsClientCtor) {
|
|
|
40
33
|
closureSourceCreds = sourceCreds;
|
|
41
34
|
if (!stsClient) {
|
|
42
35
|
logger = stsOptions.logger, region = stsOptions.region, requestHandler = stsOptions.requestHandler;
|
|
43
|
-
stsClient = new stsClientCtor(__assign({ logger: logger,
|
|
44
|
-
|
|
45
|
-
credentialDefaultProvider: function () { return function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
46
|
-
return [2 /*return*/, closureSourceCreds];
|
|
36
|
+
stsClient = new stsClientCtor(__assign({ logger: logger, credentialDefaultProvider: function () { return function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
37
|
+
return [2, closureSourceCreds];
|
|
47
38
|
}); }); }; }, region: decorateDefaultRegion(region || stsOptions.region) }, (requestHandler ? { requestHandler: requestHandler } : {})));
|
|
48
39
|
}
|
|
49
|
-
return [4
|
|
40
|
+
return [4, stsClient.send(new AssumeRoleCommand(params))];
|
|
50
41
|
case 1:
|
|
51
42
|
Credentials = (_a.sent()).Credentials;
|
|
52
43
|
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
|
53
44
|
throw new Error("Invalid response from STS.assumeRole call with role " + params.RoleArn);
|
|
54
45
|
}
|
|
55
|
-
return [2
|
|
46
|
+
return [2, {
|
|
56
47
|
accessKeyId: Credentials.AccessKeyId,
|
|
57
48
|
secretAccessKey: Credentials.SecretAccessKey,
|
|
58
49
|
sessionToken: Credentials.SessionToken,
|
|
@@ -62,10 +53,6 @@ export var getDefaultRoleAssumer = function (stsOptions, stsClientCtor) {
|
|
|
62
53
|
});
|
|
63
54
|
}); };
|
|
64
55
|
};
|
|
65
|
-
/**
|
|
66
|
-
* The default role assumer that used by credential providers when sts:AssumeRoleWithWebIdentity API is needed.
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
56
|
export var getDefaultRoleAssumerWithWebIdentity = function (stsOptions, stsClientCtor) {
|
|
70
57
|
var stsClient;
|
|
71
58
|
return function (params) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -77,13 +64,13 @@ export var getDefaultRoleAssumerWithWebIdentity = function (stsOptions, stsClien
|
|
|
77
64
|
logger = stsOptions.logger, region = stsOptions.region, requestHandler = stsOptions.requestHandler;
|
|
78
65
|
stsClient = new stsClientCtor(__assign({ logger: logger, region: decorateDefaultRegion(region || stsOptions.region) }, (requestHandler ? { requestHandler: requestHandler } : {})));
|
|
79
66
|
}
|
|
80
|
-
return [4
|
|
67
|
+
return [4, stsClient.send(new AssumeRoleWithWebIdentityCommand(params))];
|
|
81
68
|
case 1:
|
|
82
69
|
Credentials = (_a.sent()).Credentials;
|
|
83
70
|
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
|
84
71
|
throw new Error("Invalid response from STS.assumeRoleWithWebIdentity call with role " + params.RoleArn);
|
|
85
72
|
}
|
|
86
|
-
return [2
|
|
73
|
+
return [2, {
|
|
87
74
|
accessKeyId: Credentials.AccessKeyId,
|
|
88
75
|
secretAccessKey: Credentials.SecretAccessKey,
|
|
89
76
|
sessionToken: Credentials.SessionToken,
|
|
@@ -93,17 +80,8 @@ export var getDefaultRoleAssumerWithWebIdentity = function (stsOptions, stsClien
|
|
|
93
80
|
});
|
|
94
81
|
}); };
|
|
95
82
|
};
|
|
96
|
-
/**
|
|
97
|
-
* The default credential providers depend STS client to assume role with desired API: sts:assumeRole,
|
|
98
|
-
* sts:assumeRoleWithWebIdentity, etc. This function decorates the default credential provider with role assumers which
|
|
99
|
-
* encapsulates the process of calling STS commands. This can only be imported by AWS client packages to avoid circular
|
|
100
|
-
* dependencies.
|
|
101
|
-
*
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
83
|
export var decorateDefaultCredentialProvider = function (provider) {
|
|
105
84
|
return function (input) {
|
|
106
85
|
return provider(__assign({ roleAssumer: getDefaultRoleAssumer(input, input.stsClientCtor), roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input, input.stsClientCtor) }, input));
|
|
107
86
|
};
|
|
108
87
|
};
|
|
109
|
-
//# sourceMappingURL=defaultStsRoleAssumers.js.map
|
|
@@ -81,7 +81,6 @@ var partitionHash = {
|
|
|
81
81
|
};
|
|
82
82
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
83
83
|
return __generator(this, function (_a) {
|
|
84
|
-
return [2
|
|
84
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "sts", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
85
85
|
});
|
|
86
86
|
}); };
|
|
87
|
-
//# sourceMappingURL=endpoints.js.map
|
|
File without changes
|
|
File without changes
|
|
@@ -1,205 +1,117 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
export var AssumedRoleUser;
|
|
3
3
|
(function (AssumedRoleUser) {
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
4
|
AssumedRoleUser.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
8
5
|
})(AssumedRoleUser || (AssumedRoleUser = {}));
|
|
9
6
|
export var PolicyDescriptorType;
|
|
10
7
|
(function (PolicyDescriptorType) {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
8
|
PolicyDescriptorType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
15
9
|
})(PolicyDescriptorType || (PolicyDescriptorType = {}));
|
|
16
10
|
export var Tag;
|
|
17
11
|
(function (Tag) {
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
*/
|
|
21
12
|
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
22
13
|
})(Tag || (Tag = {}));
|
|
23
14
|
export var AssumeRoleRequest;
|
|
24
15
|
(function (AssumeRoleRequest) {
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
16
|
AssumeRoleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
17
|
})(AssumeRoleRequest || (AssumeRoleRequest = {}));
|
|
30
18
|
export var Credentials;
|
|
31
19
|
(function (Credentials) {
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
35
20
|
Credentials.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
36
21
|
})(Credentials || (Credentials = {}));
|
|
37
22
|
export var AssumeRoleResponse;
|
|
38
23
|
(function (AssumeRoleResponse) {
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
24
|
AssumeRoleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
25
|
})(AssumeRoleResponse || (AssumeRoleResponse = {}));
|
|
44
26
|
export var ExpiredTokenException;
|
|
45
27
|
(function (ExpiredTokenException) {
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
49
28
|
ExpiredTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
50
29
|
})(ExpiredTokenException || (ExpiredTokenException = {}));
|
|
51
30
|
export var MalformedPolicyDocumentException;
|
|
52
31
|
(function (MalformedPolicyDocumentException) {
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
56
32
|
MalformedPolicyDocumentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
33
|
})(MalformedPolicyDocumentException || (MalformedPolicyDocumentException = {}));
|
|
58
34
|
export var PackedPolicyTooLargeException;
|
|
59
35
|
(function (PackedPolicyTooLargeException) {
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
36
|
PackedPolicyTooLargeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
64
37
|
})(PackedPolicyTooLargeException || (PackedPolicyTooLargeException = {}));
|
|
65
38
|
export var RegionDisabledException;
|
|
66
39
|
(function (RegionDisabledException) {
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
40
|
RegionDisabledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
71
41
|
})(RegionDisabledException || (RegionDisabledException = {}));
|
|
72
42
|
export var AssumeRoleWithSAMLRequest;
|
|
73
43
|
(function (AssumeRoleWithSAMLRequest) {
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
44
|
AssumeRoleWithSAMLRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
78
45
|
})(AssumeRoleWithSAMLRequest || (AssumeRoleWithSAMLRequest = {}));
|
|
79
46
|
export var AssumeRoleWithSAMLResponse;
|
|
80
47
|
(function (AssumeRoleWithSAMLResponse) {
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
48
|
AssumeRoleWithSAMLResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
49
|
})(AssumeRoleWithSAMLResponse || (AssumeRoleWithSAMLResponse = {}));
|
|
86
50
|
export var IDPRejectedClaimException;
|
|
87
51
|
(function (IDPRejectedClaimException) {
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
52
|
IDPRejectedClaimException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
53
|
})(IDPRejectedClaimException || (IDPRejectedClaimException = {}));
|
|
93
54
|
export var InvalidIdentityTokenException;
|
|
94
55
|
(function (InvalidIdentityTokenException) {
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
56
|
InvalidIdentityTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
57
|
})(InvalidIdentityTokenException || (InvalidIdentityTokenException = {}));
|
|
100
58
|
export var AssumeRoleWithWebIdentityRequest;
|
|
101
59
|
(function (AssumeRoleWithWebIdentityRequest) {
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
60
|
AssumeRoleWithWebIdentityRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
106
61
|
})(AssumeRoleWithWebIdentityRequest || (AssumeRoleWithWebIdentityRequest = {}));
|
|
107
62
|
export var AssumeRoleWithWebIdentityResponse;
|
|
108
63
|
(function (AssumeRoleWithWebIdentityResponse) {
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
64
|
AssumeRoleWithWebIdentityResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
65
|
})(AssumeRoleWithWebIdentityResponse || (AssumeRoleWithWebIdentityResponse = {}));
|
|
114
66
|
export var IDPCommunicationErrorException;
|
|
115
67
|
(function (IDPCommunicationErrorException) {
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
68
|
IDPCommunicationErrorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
120
69
|
})(IDPCommunicationErrorException || (IDPCommunicationErrorException = {}));
|
|
121
70
|
export var DecodeAuthorizationMessageRequest;
|
|
122
71
|
(function (DecodeAuthorizationMessageRequest) {
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
72
|
DecodeAuthorizationMessageRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
127
73
|
})(DecodeAuthorizationMessageRequest || (DecodeAuthorizationMessageRequest = {}));
|
|
128
74
|
export var DecodeAuthorizationMessageResponse;
|
|
129
75
|
(function (DecodeAuthorizationMessageResponse) {
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
76
|
DecodeAuthorizationMessageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
134
77
|
})(DecodeAuthorizationMessageResponse || (DecodeAuthorizationMessageResponse = {}));
|
|
135
78
|
export var InvalidAuthorizationMessageException;
|
|
136
79
|
(function (InvalidAuthorizationMessageException) {
|
|
137
|
-
/**
|
|
138
|
-
* @internal
|
|
139
|
-
*/
|
|
140
80
|
InvalidAuthorizationMessageException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
81
|
})(InvalidAuthorizationMessageException || (InvalidAuthorizationMessageException = {}));
|
|
142
82
|
export var GetAccessKeyInfoRequest;
|
|
143
83
|
(function (GetAccessKeyInfoRequest) {
|
|
144
|
-
/**
|
|
145
|
-
* @internal
|
|
146
|
-
*/
|
|
147
84
|
GetAccessKeyInfoRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
148
85
|
})(GetAccessKeyInfoRequest || (GetAccessKeyInfoRequest = {}));
|
|
149
86
|
export var GetAccessKeyInfoResponse;
|
|
150
87
|
(function (GetAccessKeyInfoResponse) {
|
|
151
|
-
/**
|
|
152
|
-
* @internal
|
|
153
|
-
*/
|
|
154
88
|
GetAccessKeyInfoResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
155
89
|
})(GetAccessKeyInfoResponse || (GetAccessKeyInfoResponse = {}));
|
|
156
90
|
export var GetCallerIdentityRequest;
|
|
157
91
|
(function (GetCallerIdentityRequest) {
|
|
158
|
-
/**
|
|
159
|
-
* @internal
|
|
160
|
-
*/
|
|
161
92
|
GetCallerIdentityRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
162
93
|
})(GetCallerIdentityRequest || (GetCallerIdentityRequest = {}));
|
|
163
94
|
export var GetCallerIdentityResponse;
|
|
164
95
|
(function (GetCallerIdentityResponse) {
|
|
165
|
-
/**
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
96
|
GetCallerIdentityResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
97
|
})(GetCallerIdentityResponse || (GetCallerIdentityResponse = {}));
|
|
170
98
|
export var GetFederationTokenRequest;
|
|
171
99
|
(function (GetFederationTokenRequest) {
|
|
172
|
-
/**
|
|
173
|
-
* @internal
|
|
174
|
-
*/
|
|
175
100
|
GetFederationTokenRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
176
101
|
})(GetFederationTokenRequest || (GetFederationTokenRequest = {}));
|
|
177
102
|
export var FederatedUser;
|
|
178
103
|
(function (FederatedUser) {
|
|
179
|
-
/**
|
|
180
|
-
* @internal
|
|
181
|
-
*/
|
|
182
104
|
FederatedUser.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
105
|
})(FederatedUser || (FederatedUser = {}));
|
|
184
106
|
export var GetFederationTokenResponse;
|
|
185
107
|
(function (GetFederationTokenResponse) {
|
|
186
|
-
/**
|
|
187
|
-
* @internal
|
|
188
|
-
*/
|
|
189
108
|
GetFederationTokenResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
109
|
})(GetFederationTokenResponse || (GetFederationTokenResponse = {}));
|
|
191
110
|
export var GetSessionTokenRequest;
|
|
192
111
|
(function (GetSessionTokenRequest) {
|
|
193
|
-
/**
|
|
194
|
-
* @internal
|
|
195
|
-
*/
|
|
196
112
|
GetSessionTokenRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
113
|
})(GetSessionTokenRequest || (GetSessionTokenRequest = {}));
|
|
198
114
|
export var GetSessionTokenResponse;
|
|
199
115
|
(function (GetSessionTokenResponse) {
|
|
200
|
-
/**
|
|
201
|
-
* @internal
|
|
202
|
-
*/
|
|
203
116
|
GetSessionTokenResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
204
117
|
})(GetSessionTokenResponse || (GetSessionTokenResponse = {}));
|
|
205
|
-
//# sourceMappingURL=models_0.js.map
|