@aws-sdk/client-sts 3.296.0 → 3.298.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/commands/AssumeRoleCommand.js +2 -3
- package/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +2 -3
- package/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +2 -3
- package/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +2 -3
- package/dist-cjs/commands/GetAccessKeyInfoCommand.js +2 -3
- package/dist-cjs/commands/GetCallerIdentityCommand.js +2 -3
- package/dist-cjs/commands/GetFederationTokenCommand.js +2 -3
- package/dist-cjs/commands/GetSessionTokenCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -85
- package/dist-cjs/protocols/Aws_query.js +19 -83
- package/dist-es/commands/AssumeRoleCommand.js +2 -3
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +2 -3
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +2 -3
- package/dist-es/commands/DecodeAuthorizationMessageCommand.js +2 -3
- package/dist-es/commands/GetAccessKeyInfoCommand.js +2 -3
- package/dist-es/commands/GetCallerIdentityCommand.js +2 -3
- package/dist-es/commands/GetFederationTokenCommand.js +2 -3
- package/dist-es/commands/GetSessionTokenCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -63
- package/dist-es/protocols/Aws_query.js +19 -83
- package/dist-types/STS.d.ts +10 -1
- package/dist-types/STSClient.d.ts +24 -4
- package/dist-types/commands/AssumeRoleCommand.d.ts +17 -1
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +16 -0
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +16 -0
- package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +16 -0
- package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +16 -0
- package/dist-types/commands/GetCallerIdentityCommand.d.ts +16 -0
- package/dist-types/commands/GetFederationTokenCommand.d.ts +16 -0
- package/dist-types/commands/GetSessionTokenCommand.d.ts +16 -0
- package/dist-types/models/STSServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +47 -84
- package/dist-types/ts3.4/models/models_0.d.ts +0 -59
- package/package.json +3 -2
|
@@ -5,7 +5,6 @@ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
const models_0_1 = require("../models/models_0");
|
|
9
8
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
9
|
class AssumeRoleCommand extends smithy_client_1.Command {
|
|
11
10
|
static getEndpointParameterInstructions() {
|
|
@@ -33,8 +32,8 @@ class AssumeRoleCommand extends smithy_client_1.Command {
|
|
|
33
32
|
logger,
|
|
34
33
|
clientName,
|
|
35
34
|
commandName,
|
|
36
|
-
inputFilterSensitiveLog:
|
|
37
|
-
outputFilterSensitiveLog:
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
38
37
|
};
|
|
39
38
|
const { requestHandler } = configuration;
|
|
40
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.AssumeRoleWithSAMLCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
8
|
class AssumeRoleWithSAMLCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -31,8 +30,8 @@ class AssumeRoleWithSAMLCommand extends smithy_client_1.Command {
|
|
|
31
30
|
logger,
|
|
32
31
|
clientName,
|
|
33
32
|
commandName,
|
|
34
|
-
inputFilterSensitiveLog:
|
|
35
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
35
|
};
|
|
37
36
|
const { requestHandler } = configuration;
|
|
38
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.AssumeRoleWithWebIdentityCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
8
|
class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -31,8 +30,8 @@ class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command {
|
|
|
31
30
|
logger,
|
|
32
31
|
clientName,
|
|
33
32
|
commandName,
|
|
34
|
-
inputFilterSensitiveLog:
|
|
35
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
35
|
};
|
|
37
36
|
const { requestHandler } = configuration;
|
|
38
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,7 +5,6 @@ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
const models_0_1 = require("../models/models_0");
|
|
9
8
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
9
|
class DecodeAuthorizationMessageCommand extends smithy_client_1.Command {
|
|
11
10
|
static getEndpointParameterInstructions() {
|
|
@@ -33,8 +32,8 @@ class DecodeAuthorizationMessageCommand extends smithy_client_1.Command {
|
|
|
33
32
|
logger,
|
|
34
33
|
clientName,
|
|
35
34
|
commandName,
|
|
36
|
-
inputFilterSensitiveLog:
|
|
37
|
-
outputFilterSensitiveLog:
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
38
37
|
};
|
|
39
38
|
const { requestHandler } = configuration;
|
|
40
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,7 +5,6 @@ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
const models_0_1 = require("../models/models_0");
|
|
9
8
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
9
|
class GetAccessKeyInfoCommand extends smithy_client_1.Command {
|
|
11
10
|
static getEndpointParameterInstructions() {
|
|
@@ -33,8 +32,8 @@ class GetAccessKeyInfoCommand extends smithy_client_1.Command {
|
|
|
33
32
|
logger,
|
|
34
33
|
clientName,
|
|
35
34
|
commandName,
|
|
36
|
-
inputFilterSensitiveLog:
|
|
37
|
-
outputFilterSensitiveLog:
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
38
37
|
};
|
|
39
38
|
const { requestHandler } = configuration;
|
|
40
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,7 +5,6 @@ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
const models_0_1 = require("../models/models_0");
|
|
9
8
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
9
|
class GetCallerIdentityCommand extends smithy_client_1.Command {
|
|
11
10
|
static getEndpointParameterInstructions() {
|
|
@@ -33,8 +32,8 @@ class GetCallerIdentityCommand extends smithy_client_1.Command {
|
|
|
33
32
|
logger,
|
|
34
33
|
clientName,
|
|
35
34
|
commandName,
|
|
36
|
-
inputFilterSensitiveLog:
|
|
37
|
-
outputFilterSensitiveLog:
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
38
37
|
};
|
|
39
38
|
const { requestHandler } = configuration;
|
|
40
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,7 +5,6 @@ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
const models_0_1 = require("../models/models_0");
|
|
9
8
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
9
|
class GetFederationTokenCommand extends smithy_client_1.Command {
|
|
11
10
|
static getEndpointParameterInstructions() {
|
|
@@ -33,8 +32,8 @@ class GetFederationTokenCommand extends smithy_client_1.Command {
|
|
|
33
32
|
logger,
|
|
34
33
|
clientName,
|
|
35
34
|
commandName,
|
|
36
|
-
inputFilterSensitiveLog:
|
|
37
|
-
outputFilterSensitiveLog:
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
38
37
|
};
|
|
39
38
|
const { requestHandler } = configuration;
|
|
40
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,7 +5,6 @@ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
const models_0_1 = require("../models/models_0");
|
|
9
8
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
9
|
class GetSessionTokenCommand extends smithy_client_1.Command {
|
|
11
10
|
static getEndpointParameterInstructions() {
|
|
@@ -33,8 +32,8 @@ class GetSessionTokenCommand extends smithy_client_1.Command {
|
|
|
33
32
|
logger,
|
|
34
33
|
clientName,
|
|
35
34
|
commandName,
|
|
36
|
-
inputFilterSensitiveLog:
|
|
37
|
-
outputFilterSensitiveLog:
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
38
37
|
};
|
|
39
38
|
const { requestHandler } = configuration;
|
|
40
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.InvalidAuthorizationMessageException = exports.IDPCommunicationErrorException = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = void 0;
|
|
4
4
|
const STSServiceException_1 = require("./STSServiceException");
|
|
5
5
|
class ExpiredTokenException extends STSServiceException_1.STSServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -106,87 +106,3 @@ class InvalidAuthorizationMessageException extends STSServiceException_1.STSServ
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
exports.InvalidAuthorizationMessageException = InvalidAuthorizationMessageException;
|
|
109
|
-
const AssumedRoleUserFilterSensitiveLog = (obj) => ({
|
|
110
|
-
...obj,
|
|
111
|
-
});
|
|
112
|
-
exports.AssumedRoleUserFilterSensitiveLog = AssumedRoleUserFilterSensitiveLog;
|
|
113
|
-
const PolicyDescriptorTypeFilterSensitiveLog = (obj) => ({
|
|
114
|
-
...obj,
|
|
115
|
-
});
|
|
116
|
-
exports.PolicyDescriptorTypeFilterSensitiveLog = PolicyDescriptorTypeFilterSensitiveLog;
|
|
117
|
-
const TagFilterSensitiveLog = (obj) => ({
|
|
118
|
-
...obj,
|
|
119
|
-
});
|
|
120
|
-
exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
|
|
121
|
-
const AssumeRoleRequestFilterSensitiveLog = (obj) => ({
|
|
122
|
-
...obj,
|
|
123
|
-
});
|
|
124
|
-
exports.AssumeRoleRequestFilterSensitiveLog = AssumeRoleRequestFilterSensitiveLog;
|
|
125
|
-
const CredentialsFilterSensitiveLog = (obj) => ({
|
|
126
|
-
...obj,
|
|
127
|
-
});
|
|
128
|
-
exports.CredentialsFilterSensitiveLog = CredentialsFilterSensitiveLog;
|
|
129
|
-
const AssumeRoleResponseFilterSensitiveLog = (obj) => ({
|
|
130
|
-
...obj,
|
|
131
|
-
});
|
|
132
|
-
exports.AssumeRoleResponseFilterSensitiveLog = AssumeRoleResponseFilterSensitiveLog;
|
|
133
|
-
const AssumeRoleWithSAMLRequestFilterSensitiveLog = (obj) => ({
|
|
134
|
-
...obj,
|
|
135
|
-
});
|
|
136
|
-
exports.AssumeRoleWithSAMLRequestFilterSensitiveLog = AssumeRoleWithSAMLRequestFilterSensitiveLog;
|
|
137
|
-
const AssumeRoleWithSAMLResponseFilterSensitiveLog = (obj) => ({
|
|
138
|
-
...obj,
|
|
139
|
-
});
|
|
140
|
-
exports.AssumeRoleWithSAMLResponseFilterSensitiveLog = AssumeRoleWithSAMLResponseFilterSensitiveLog;
|
|
141
|
-
const AssumeRoleWithWebIdentityRequestFilterSensitiveLog = (obj) => ({
|
|
142
|
-
...obj,
|
|
143
|
-
});
|
|
144
|
-
exports.AssumeRoleWithWebIdentityRequestFilterSensitiveLog = AssumeRoleWithWebIdentityRequestFilterSensitiveLog;
|
|
145
|
-
const AssumeRoleWithWebIdentityResponseFilterSensitiveLog = (obj) => ({
|
|
146
|
-
...obj,
|
|
147
|
-
});
|
|
148
|
-
exports.AssumeRoleWithWebIdentityResponseFilterSensitiveLog = AssumeRoleWithWebIdentityResponseFilterSensitiveLog;
|
|
149
|
-
const DecodeAuthorizationMessageRequestFilterSensitiveLog = (obj) => ({
|
|
150
|
-
...obj,
|
|
151
|
-
});
|
|
152
|
-
exports.DecodeAuthorizationMessageRequestFilterSensitiveLog = DecodeAuthorizationMessageRequestFilterSensitiveLog;
|
|
153
|
-
const DecodeAuthorizationMessageResponseFilterSensitiveLog = (obj) => ({
|
|
154
|
-
...obj,
|
|
155
|
-
});
|
|
156
|
-
exports.DecodeAuthorizationMessageResponseFilterSensitiveLog = DecodeAuthorizationMessageResponseFilterSensitiveLog;
|
|
157
|
-
const GetAccessKeyInfoRequestFilterSensitiveLog = (obj) => ({
|
|
158
|
-
...obj,
|
|
159
|
-
});
|
|
160
|
-
exports.GetAccessKeyInfoRequestFilterSensitiveLog = GetAccessKeyInfoRequestFilterSensitiveLog;
|
|
161
|
-
const GetAccessKeyInfoResponseFilterSensitiveLog = (obj) => ({
|
|
162
|
-
...obj,
|
|
163
|
-
});
|
|
164
|
-
exports.GetAccessKeyInfoResponseFilterSensitiveLog = GetAccessKeyInfoResponseFilterSensitiveLog;
|
|
165
|
-
const GetCallerIdentityRequestFilterSensitiveLog = (obj) => ({
|
|
166
|
-
...obj,
|
|
167
|
-
});
|
|
168
|
-
exports.GetCallerIdentityRequestFilterSensitiveLog = GetCallerIdentityRequestFilterSensitiveLog;
|
|
169
|
-
const GetCallerIdentityResponseFilterSensitiveLog = (obj) => ({
|
|
170
|
-
...obj,
|
|
171
|
-
});
|
|
172
|
-
exports.GetCallerIdentityResponseFilterSensitiveLog = GetCallerIdentityResponseFilterSensitiveLog;
|
|
173
|
-
const GetFederationTokenRequestFilterSensitiveLog = (obj) => ({
|
|
174
|
-
...obj,
|
|
175
|
-
});
|
|
176
|
-
exports.GetFederationTokenRequestFilterSensitiveLog = GetFederationTokenRequestFilterSensitiveLog;
|
|
177
|
-
const FederatedUserFilterSensitiveLog = (obj) => ({
|
|
178
|
-
...obj,
|
|
179
|
-
});
|
|
180
|
-
exports.FederatedUserFilterSensitiveLog = FederatedUserFilterSensitiveLog;
|
|
181
|
-
const GetFederationTokenResponseFilterSensitiveLog = (obj) => ({
|
|
182
|
-
...obj,
|
|
183
|
-
});
|
|
184
|
-
exports.GetFederationTokenResponseFilterSensitiveLog = GetFederationTokenResponseFilterSensitiveLog;
|
|
185
|
-
const GetSessionTokenRequestFilterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
});
|
|
188
|
-
exports.GetSessionTokenRequestFilterSensitiveLog = GetSessionTokenRequestFilterSensitiveLog;
|
|
189
|
-
const GetSessionTokenResponseFilterSensitiveLog = (obj) => ({
|
|
190
|
-
...obj,
|
|
191
|
-
});
|
|
192
|
-
exports.GetSessionTokenResponseFilterSensitiveLog = GetSessionTokenResponseFilterSensitiveLog;
|
|
@@ -733,10 +733,7 @@ const serializeAws_querytagListType = (input, context) => {
|
|
|
733
733
|
return entries;
|
|
734
734
|
};
|
|
735
735
|
const deserializeAws_queryAssumedRoleUser = (output, context) => {
|
|
736
|
-
const contents = {
|
|
737
|
-
AssumedRoleId: undefined,
|
|
738
|
-
Arn: undefined,
|
|
739
|
-
};
|
|
736
|
+
const contents = {};
|
|
740
737
|
if (output["AssumedRoleId"] !== undefined) {
|
|
741
738
|
contents.AssumedRoleId = (0, smithy_client_1.expectString)(output["AssumedRoleId"]);
|
|
742
739
|
}
|
|
@@ -746,12 +743,7 @@ const deserializeAws_queryAssumedRoleUser = (output, context) => {
|
|
|
746
743
|
return contents;
|
|
747
744
|
};
|
|
748
745
|
const deserializeAws_queryAssumeRoleResponse = (output, context) => {
|
|
749
|
-
const contents = {
|
|
750
|
-
Credentials: undefined,
|
|
751
|
-
AssumedRoleUser: undefined,
|
|
752
|
-
PackedPolicySize: undefined,
|
|
753
|
-
SourceIdentity: undefined,
|
|
754
|
-
};
|
|
746
|
+
const contents = {};
|
|
755
747
|
if (output["Credentials"] !== undefined) {
|
|
756
748
|
contents.Credentials = deserializeAws_queryCredentials(output["Credentials"], context);
|
|
757
749
|
}
|
|
@@ -767,17 +759,7 @@ const deserializeAws_queryAssumeRoleResponse = (output, context) => {
|
|
|
767
759
|
return contents;
|
|
768
760
|
};
|
|
769
761
|
const deserializeAws_queryAssumeRoleWithSAMLResponse = (output, context) => {
|
|
770
|
-
const contents = {
|
|
771
|
-
Credentials: undefined,
|
|
772
|
-
AssumedRoleUser: undefined,
|
|
773
|
-
PackedPolicySize: undefined,
|
|
774
|
-
Subject: undefined,
|
|
775
|
-
SubjectType: undefined,
|
|
776
|
-
Issuer: undefined,
|
|
777
|
-
Audience: undefined,
|
|
778
|
-
NameQualifier: undefined,
|
|
779
|
-
SourceIdentity: undefined,
|
|
780
|
-
};
|
|
762
|
+
const contents = {};
|
|
781
763
|
if (output["Credentials"] !== undefined) {
|
|
782
764
|
contents.Credentials = deserializeAws_queryCredentials(output["Credentials"], context);
|
|
783
765
|
}
|
|
@@ -808,15 +790,7 @@ const deserializeAws_queryAssumeRoleWithSAMLResponse = (output, context) => {
|
|
|
808
790
|
return contents;
|
|
809
791
|
};
|
|
810
792
|
const deserializeAws_queryAssumeRoleWithWebIdentityResponse = (output, context) => {
|
|
811
|
-
const contents = {
|
|
812
|
-
Credentials: undefined,
|
|
813
|
-
SubjectFromWebIdentityToken: undefined,
|
|
814
|
-
AssumedRoleUser: undefined,
|
|
815
|
-
PackedPolicySize: undefined,
|
|
816
|
-
Provider: undefined,
|
|
817
|
-
Audience: undefined,
|
|
818
|
-
SourceIdentity: undefined,
|
|
819
|
-
};
|
|
793
|
+
const contents = {};
|
|
820
794
|
if (output["Credentials"] !== undefined) {
|
|
821
795
|
contents.Credentials = deserializeAws_queryCredentials(output["Credentials"], context);
|
|
822
796
|
}
|
|
@@ -841,12 +815,7 @@ const deserializeAws_queryAssumeRoleWithWebIdentityResponse = (output, context)
|
|
|
841
815
|
return contents;
|
|
842
816
|
};
|
|
843
817
|
const deserializeAws_queryCredentials = (output, context) => {
|
|
844
|
-
const contents = {
|
|
845
|
-
AccessKeyId: undefined,
|
|
846
|
-
SecretAccessKey: undefined,
|
|
847
|
-
SessionToken: undefined,
|
|
848
|
-
Expiration: undefined,
|
|
849
|
-
};
|
|
818
|
+
const contents = {};
|
|
850
819
|
if (output["AccessKeyId"] !== undefined) {
|
|
851
820
|
contents.AccessKeyId = (0, smithy_client_1.expectString)(output["AccessKeyId"]);
|
|
852
821
|
}
|
|
@@ -862,28 +831,21 @@ const deserializeAws_queryCredentials = (output, context) => {
|
|
|
862
831
|
return contents;
|
|
863
832
|
};
|
|
864
833
|
const deserializeAws_queryDecodeAuthorizationMessageResponse = (output, context) => {
|
|
865
|
-
const contents = {
|
|
866
|
-
DecodedMessage: undefined,
|
|
867
|
-
};
|
|
834
|
+
const contents = {};
|
|
868
835
|
if (output["DecodedMessage"] !== undefined) {
|
|
869
836
|
contents.DecodedMessage = (0, smithy_client_1.expectString)(output["DecodedMessage"]);
|
|
870
837
|
}
|
|
871
838
|
return contents;
|
|
872
839
|
};
|
|
873
840
|
const deserializeAws_queryExpiredTokenException = (output, context) => {
|
|
874
|
-
const contents = {
|
|
875
|
-
message: undefined,
|
|
876
|
-
};
|
|
841
|
+
const contents = {};
|
|
877
842
|
if (output["message"] !== undefined) {
|
|
878
843
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
879
844
|
}
|
|
880
845
|
return contents;
|
|
881
846
|
};
|
|
882
847
|
const deserializeAws_queryFederatedUser = (output, context) => {
|
|
883
|
-
const contents = {
|
|
884
|
-
FederatedUserId: undefined,
|
|
885
|
-
Arn: undefined,
|
|
886
|
-
};
|
|
848
|
+
const contents = {};
|
|
887
849
|
if (output["FederatedUserId"] !== undefined) {
|
|
888
850
|
contents.FederatedUserId = (0, smithy_client_1.expectString)(output["FederatedUserId"]);
|
|
889
851
|
}
|
|
@@ -893,20 +855,14 @@ const deserializeAws_queryFederatedUser = (output, context) => {
|
|
|
893
855
|
return contents;
|
|
894
856
|
};
|
|
895
857
|
const deserializeAws_queryGetAccessKeyInfoResponse = (output, context) => {
|
|
896
|
-
const contents = {
|
|
897
|
-
Account: undefined,
|
|
898
|
-
};
|
|
858
|
+
const contents = {};
|
|
899
859
|
if (output["Account"] !== undefined) {
|
|
900
860
|
contents.Account = (0, smithy_client_1.expectString)(output["Account"]);
|
|
901
861
|
}
|
|
902
862
|
return contents;
|
|
903
863
|
};
|
|
904
864
|
const deserializeAws_queryGetCallerIdentityResponse = (output, context) => {
|
|
905
|
-
const contents = {
|
|
906
|
-
UserId: undefined,
|
|
907
|
-
Account: undefined,
|
|
908
|
-
Arn: undefined,
|
|
909
|
-
};
|
|
865
|
+
const contents = {};
|
|
910
866
|
if (output["UserId"] !== undefined) {
|
|
911
867
|
contents.UserId = (0, smithy_client_1.expectString)(output["UserId"]);
|
|
912
868
|
}
|
|
@@ -919,11 +875,7 @@ const deserializeAws_queryGetCallerIdentityResponse = (output, context) => {
|
|
|
919
875
|
return contents;
|
|
920
876
|
};
|
|
921
877
|
const deserializeAws_queryGetFederationTokenResponse = (output, context) => {
|
|
922
|
-
const contents = {
|
|
923
|
-
Credentials: undefined,
|
|
924
|
-
FederatedUser: undefined,
|
|
925
|
-
PackedPolicySize: undefined,
|
|
926
|
-
};
|
|
878
|
+
const contents = {};
|
|
927
879
|
if (output["Credentials"] !== undefined) {
|
|
928
880
|
contents.Credentials = deserializeAws_queryCredentials(output["Credentials"], context);
|
|
929
881
|
}
|
|
@@ -936,72 +888,56 @@ const deserializeAws_queryGetFederationTokenResponse = (output, context) => {
|
|
|
936
888
|
return contents;
|
|
937
889
|
};
|
|
938
890
|
const deserializeAws_queryGetSessionTokenResponse = (output, context) => {
|
|
939
|
-
const contents = {
|
|
940
|
-
Credentials: undefined,
|
|
941
|
-
};
|
|
891
|
+
const contents = {};
|
|
942
892
|
if (output["Credentials"] !== undefined) {
|
|
943
893
|
contents.Credentials = deserializeAws_queryCredentials(output["Credentials"], context);
|
|
944
894
|
}
|
|
945
895
|
return contents;
|
|
946
896
|
};
|
|
947
897
|
const deserializeAws_queryIDPCommunicationErrorException = (output, context) => {
|
|
948
|
-
const contents = {
|
|
949
|
-
message: undefined,
|
|
950
|
-
};
|
|
898
|
+
const contents = {};
|
|
951
899
|
if (output["message"] !== undefined) {
|
|
952
900
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
953
901
|
}
|
|
954
902
|
return contents;
|
|
955
903
|
};
|
|
956
904
|
const deserializeAws_queryIDPRejectedClaimException = (output, context) => {
|
|
957
|
-
const contents = {
|
|
958
|
-
message: undefined,
|
|
959
|
-
};
|
|
905
|
+
const contents = {};
|
|
960
906
|
if (output["message"] !== undefined) {
|
|
961
907
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
962
908
|
}
|
|
963
909
|
return contents;
|
|
964
910
|
};
|
|
965
911
|
const deserializeAws_queryInvalidAuthorizationMessageException = (output, context) => {
|
|
966
|
-
const contents = {
|
|
967
|
-
message: undefined,
|
|
968
|
-
};
|
|
912
|
+
const contents = {};
|
|
969
913
|
if (output["message"] !== undefined) {
|
|
970
914
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
971
915
|
}
|
|
972
916
|
return contents;
|
|
973
917
|
};
|
|
974
918
|
const deserializeAws_queryInvalidIdentityTokenException = (output, context) => {
|
|
975
|
-
const contents = {
|
|
976
|
-
message: undefined,
|
|
977
|
-
};
|
|
919
|
+
const contents = {};
|
|
978
920
|
if (output["message"] !== undefined) {
|
|
979
921
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
980
922
|
}
|
|
981
923
|
return contents;
|
|
982
924
|
};
|
|
983
925
|
const deserializeAws_queryMalformedPolicyDocumentException = (output, context) => {
|
|
984
|
-
const contents = {
|
|
985
|
-
message: undefined,
|
|
986
|
-
};
|
|
926
|
+
const contents = {};
|
|
987
927
|
if (output["message"] !== undefined) {
|
|
988
928
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
989
929
|
}
|
|
990
930
|
return contents;
|
|
991
931
|
};
|
|
992
932
|
const deserializeAws_queryPackedPolicyTooLargeException = (output, context) => {
|
|
993
|
-
const contents = {
|
|
994
|
-
message: undefined,
|
|
995
|
-
};
|
|
933
|
+
const contents = {};
|
|
996
934
|
if (output["message"] !== undefined) {
|
|
997
935
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
998
936
|
}
|
|
999
937
|
return contents;
|
|
1000
938
|
};
|
|
1001
939
|
const deserializeAws_queryRegionDisabledException = (output, context) => {
|
|
1002
|
-
const contents = {
|
|
1003
|
-
message: undefined,
|
|
1004
|
-
};
|
|
940
|
+
const contents = {};
|
|
1005
941
|
if (output["message"] !== undefined) {
|
|
1006
942
|
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
1007
943
|
}
|
|
@@ -2,7 +2,6 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import { AssumeRoleRequestFilterSensitiveLog, AssumeRoleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_queryAssumeRoleCommand, serializeAws_queryAssumeRoleCommand } from "../protocols/Aws_query";
|
|
7
6
|
export class AssumeRoleCommand extends $Command {
|
|
8
7
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ export class AssumeRoleCommand extends $Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryAssumeRoleWithSAMLCommand, serializeAws_queryAssumeRoleWithSAMLCommand, } from "../protocols/Aws_query";
|
|
6
5
|
export class AssumeRoleWithSAMLCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -28,8 +27,8 @@ export class AssumeRoleWithSAMLCommand extends $Command {
|
|
|
28
27
|
logger,
|
|
29
28
|
clientName,
|
|
30
29
|
commandName,
|
|
31
|
-
inputFilterSensitiveLog:
|
|
32
|
-
outputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
32
|
};
|
|
34
33
|
const { requestHandler } = configuration;
|
|
35
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryAssumeRoleWithWebIdentityCommand, serializeAws_queryAssumeRoleWithWebIdentityCommand, } from "../protocols/Aws_query";
|
|
6
5
|
export class AssumeRoleWithWebIdentityCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -28,8 +27,8 @@ export class AssumeRoleWithWebIdentityCommand extends $Command {
|
|
|
28
27
|
logger,
|
|
29
28
|
clientName,
|
|
30
29
|
commandName,
|
|
31
|
-
inputFilterSensitiveLog:
|
|
32
|
-
outputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
32
|
};
|
|
34
33
|
const { requestHandler } = configuration;
|
|
35
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,7 +2,6 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import { DecodeAuthorizationMessageRequestFilterSensitiveLog, DecodeAuthorizationMessageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_queryDecodeAuthorizationMessageCommand, serializeAws_queryDecodeAuthorizationMessageCommand, } from "../protocols/Aws_query";
|
|
7
6
|
export class DecodeAuthorizationMessageCommand extends $Command {
|
|
8
7
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ export class DecodeAuthorizationMessageCommand extends $Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,7 +2,6 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import { GetAccessKeyInfoRequestFilterSensitiveLog, GetAccessKeyInfoResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_queryGetAccessKeyInfoCommand, serializeAws_queryGetAccessKeyInfoCommand, } from "../protocols/Aws_query";
|
|
7
6
|
export class GetAccessKeyInfoCommand extends $Command {
|
|
8
7
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ export class GetAccessKeyInfoCommand extends $Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,7 +2,6 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import { GetCallerIdentityRequestFilterSensitiveLog, GetCallerIdentityResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_queryGetCallerIdentityCommand, serializeAws_queryGetCallerIdentityCommand, } from "../protocols/Aws_query";
|
|
7
6
|
export class GetCallerIdentityCommand extends $Command {
|
|
8
7
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ export class GetCallerIdentityCommand extends $Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,7 +2,6 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import { GetFederationTokenRequestFilterSensitiveLog, GetFederationTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_queryGetFederationTokenCommand, serializeAws_queryGetFederationTokenCommand, } from "../protocols/Aws_query";
|
|
7
6
|
export class GetFederationTokenCommand extends $Command {
|
|
8
7
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ export class GetFederationTokenCommand extends $Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,7 +2,6 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import { GetSessionTokenRequestFilterSensitiveLog, GetSessionTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_queryGetSessionTokenCommand, serializeAws_queryGetSessionTokenCommand, } from "../protocols/Aws_query";
|
|
7
6
|
export class GetSessionTokenCommand extends $Command {
|
|
8
7
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ export class GetSessionTokenCommand extends $Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|