@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
|
@@ -3,263 +3,175 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetSessionTokenResponse = exports.GetSessionTokenRequest = exports.GetFederationTokenResponse = exports.FederatedUser = exports.GetFederationTokenRequest = exports.GetCallerIdentityResponse = exports.GetCallerIdentityRequest = exports.GetAccessKeyInfoResponse = exports.GetAccessKeyInfoRequest = exports.InvalidAuthorizationMessageException = exports.DecodeAuthorizationMessageResponse = exports.DecodeAuthorizationMessageRequest = exports.IDPCommunicationErrorException = exports.AssumeRoleWithWebIdentityResponse = exports.AssumeRoleWithWebIdentityRequest = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.AssumeRoleWithSAMLResponse = exports.AssumeRoleWithSAMLRequest = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = exports.AssumeRoleResponse = exports.Credentials = exports.AssumeRoleRequest = exports.Tag = exports.PolicyDescriptorType = exports.AssumedRoleUser = void 0;
|
|
4
4
|
var AssumedRoleUser;
|
|
5
5
|
(function (AssumedRoleUser) {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
AssumedRoleUser.filterSensitiveLog = (obj) => ({
|
|
10
7
|
...obj,
|
|
11
8
|
});
|
|
12
9
|
})(AssumedRoleUser = exports.AssumedRoleUser || (exports.AssumedRoleUser = {}));
|
|
13
10
|
var PolicyDescriptorType;
|
|
14
11
|
(function (PolicyDescriptorType) {
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
12
|
PolicyDescriptorType.filterSensitiveLog = (obj) => ({
|
|
19
13
|
...obj,
|
|
20
14
|
});
|
|
21
15
|
})(PolicyDescriptorType = exports.PolicyDescriptorType || (exports.PolicyDescriptorType = {}));
|
|
22
16
|
var Tag;
|
|
23
17
|
(function (Tag) {
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
18
|
Tag.filterSensitiveLog = (obj) => ({
|
|
28
19
|
...obj,
|
|
29
20
|
});
|
|
30
21
|
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
31
22
|
var AssumeRoleRequest;
|
|
32
23
|
(function (AssumeRoleRequest) {
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
24
|
AssumeRoleRequest.filterSensitiveLog = (obj) => ({
|
|
37
25
|
...obj,
|
|
38
26
|
});
|
|
39
27
|
})(AssumeRoleRequest = exports.AssumeRoleRequest || (exports.AssumeRoleRequest = {}));
|
|
40
28
|
var Credentials;
|
|
41
29
|
(function (Credentials) {
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
30
|
Credentials.filterSensitiveLog = (obj) => ({
|
|
46
31
|
...obj,
|
|
47
32
|
});
|
|
48
33
|
})(Credentials = exports.Credentials || (exports.Credentials = {}));
|
|
49
34
|
var AssumeRoleResponse;
|
|
50
35
|
(function (AssumeRoleResponse) {
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
36
|
AssumeRoleResponse.filterSensitiveLog = (obj) => ({
|
|
55
37
|
...obj,
|
|
56
38
|
});
|
|
57
39
|
})(AssumeRoleResponse = exports.AssumeRoleResponse || (exports.AssumeRoleResponse = {}));
|
|
58
40
|
var ExpiredTokenException;
|
|
59
41
|
(function (ExpiredTokenException) {
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
42
|
ExpiredTokenException.filterSensitiveLog = (obj) => ({
|
|
64
43
|
...obj,
|
|
65
44
|
});
|
|
66
45
|
})(ExpiredTokenException = exports.ExpiredTokenException || (exports.ExpiredTokenException = {}));
|
|
67
46
|
var MalformedPolicyDocumentException;
|
|
68
47
|
(function (MalformedPolicyDocumentException) {
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
48
|
MalformedPolicyDocumentException.filterSensitiveLog = (obj) => ({
|
|
73
49
|
...obj,
|
|
74
50
|
});
|
|
75
51
|
})(MalformedPolicyDocumentException = exports.MalformedPolicyDocumentException || (exports.MalformedPolicyDocumentException = {}));
|
|
76
52
|
var PackedPolicyTooLargeException;
|
|
77
53
|
(function (PackedPolicyTooLargeException) {
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
54
|
PackedPolicyTooLargeException.filterSensitiveLog = (obj) => ({
|
|
82
55
|
...obj,
|
|
83
56
|
});
|
|
84
57
|
})(PackedPolicyTooLargeException = exports.PackedPolicyTooLargeException || (exports.PackedPolicyTooLargeException = {}));
|
|
85
58
|
var RegionDisabledException;
|
|
86
59
|
(function (RegionDisabledException) {
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
60
|
RegionDisabledException.filterSensitiveLog = (obj) => ({
|
|
91
61
|
...obj,
|
|
92
62
|
});
|
|
93
63
|
})(RegionDisabledException = exports.RegionDisabledException || (exports.RegionDisabledException = {}));
|
|
94
64
|
var AssumeRoleWithSAMLRequest;
|
|
95
65
|
(function (AssumeRoleWithSAMLRequest) {
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
66
|
AssumeRoleWithSAMLRequest.filterSensitiveLog = (obj) => ({
|
|
100
67
|
...obj,
|
|
101
68
|
});
|
|
102
69
|
})(AssumeRoleWithSAMLRequest = exports.AssumeRoleWithSAMLRequest || (exports.AssumeRoleWithSAMLRequest = {}));
|
|
103
70
|
var AssumeRoleWithSAMLResponse;
|
|
104
71
|
(function (AssumeRoleWithSAMLResponse) {
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
72
|
AssumeRoleWithSAMLResponse.filterSensitiveLog = (obj) => ({
|
|
109
73
|
...obj,
|
|
110
74
|
});
|
|
111
75
|
})(AssumeRoleWithSAMLResponse = exports.AssumeRoleWithSAMLResponse || (exports.AssumeRoleWithSAMLResponse = {}));
|
|
112
76
|
var IDPRejectedClaimException;
|
|
113
77
|
(function (IDPRejectedClaimException) {
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
78
|
IDPRejectedClaimException.filterSensitiveLog = (obj) => ({
|
|
118
79
|
...obj,
|
|
119
80
|
});
|
|
120
81
|
})(IDPRejectedClaimException = exports.IDPRejectedClaimException || (exports.IDPRejectedClaimException = {}));
|
|
121
82
|
var InvalidIdentityTokenException;
|
|
122
83
|
(function (InvalidIdentityTokenException) {
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
84
|
InvalidIdentityTokenException.filterSensitiveLog = (obj) => ({
|
|
127
85
|
...obj,
|
|
128
86
|
});
|
|
129
87
|
})(InvalidIdentityTokenException = exports.InvalidIdentityTokenException || (exports.InvalidIdentityTokenException = {}));
|
|
130
88
|
var AssumeRoleWithWebIdentityRequest;
|
|
131
89
|
(function (AssumeRoleWithWebIdentityRequest) {
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
90
|
AssumeRoleWithWebIdentityRequest.filterSensitiveLog = (obj) => ({
|
|
136
91
|
...obj,
|
|
137
92
|
});
|
|
138
93
|
})(AssumeRoleWithWebIdentityRequest = exports.AssumeRoleWithWebIdentityRequest || (exports.AssumeRoleWithWebIdentityRequest = {}));
|
|
139
94
|
var AssumeRoleWithWebIdentityResponse;
|
|
140
95
|
(function (AssumeRoleWithWebIdentityResponse) {
|
|
141
|
-
/**
|
|
142
|
-
* @internal
|
|
143
|
-
*/
|
|
144
96
|
AssumeRoleWithWebIdentityResponse.filterSensitiveLog = (obj) => ({
|
|
145
97
|
...obj,
|
|
146
98
|
});
|
|
147
99
|
})(AssumeRoleWithWebIdentityResponse = exports.AssumeRoleWithWebIdentityResponse || (exports.AssumeRoleWithWebIdentityResponse = {}));
|
|
148
100
|
var IDPCommunicationErrorException;
|
|
149
101
|
(function (IDPCommunicationErrorException) {
|
|
150
|
-
/**
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
102
|
IDPCommunicationErrorException.filterSensitiveLog = (obj) => ({
|
|
154
103
|
...obj,
|
|
155
104
|
});
|
|
156
105
|
})(IDPCommunicationErrorException = exports.IDPCommunicationErrorException || (exports.IDPCommunicationErrorException = {}));
|
|
157
106
|
var DecodeAuthorizationMessageRequest;
|
|
158
107
|
(function (DecodeAuthorizationMessageRequest) {
|
|
159
|
-
/**
|
|
160
|
-
* @internal
|
|
161
|
-
*/
|
|
162
108
|
DecodeAuthorizationMessageRequest.filterSensitiveLog = (obj) => ({
|
|
163
109
|
...obj,
|
|
164
110
|
});
|
|
165
111
|
})(DecodeAuthorizationMessageRequest = exports.DecodeAuthorizationMessageRequest || (exports.DecodeAuthorizationMessageRequest = {}));
|
|
166
112
|
var DecodeAuthorizationMessageResponse;
|
|
167
113
|
(function (DecodeAuthorizationMessageResponse) {
|
|
168
|
-
/**
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
114
|
DecodeAuthorizationMessageResponse.filterSensitiveLog = (obj) => ({
|
|
172
115
|
...obj,
|
|
173
116
|
});
|
|
174
117
|
})(DecodeAuthorizationMessageResponse = exports.DecodeAuthorizationMessageResponse || (exports.DecodeAuthorizationMessageResponse = {}));
|
|
175
118
|
var InvalidAuthorizationMessageException;
|
|
176
119
|
(function (InvalidAuthorizationMessageException) {
|
|
177
|
-
/**
|
|
178
|
-
* @internal
|
|
179
|
-
*/
|
|
180
120
|
InvalidAuthorizationMessageException.filterSensitiveLog = (obj) => ({
|
|
181
121
|
...obj,
|
|
182
122
|
});
|
|
183
123
|
})(InvalidAuthorizationMessageException = exports.InvalidAuthorizationMessageException || (exports.InvalidAuthorizationMessageException = {}));
|
|
184
124
|
var GetAccessKeyInfoRequest;
|
|
185
125
|
(function (GetAccessKeyInfoRequest) {
|
|
186
|
-
/**
|
|
187
|
-
* @internal
|
|
188
|
-
*/
|
|
189
126
|
GetAccessKeyInfoRequest.filterSensitiveLog = (obj) => ({
|
|
190
127
|
...obj,
|
|
191
128
|
});
|
|
192
129
|
})(GetAccessKeyInfoRequest = exports.GetAccessKeyInfoRequest || (exports.GetAccessKeyInfoRequest = {}));
|
|
193
130
|
var GetAccessKeyInfoResponse;
|
|
194
131
|
(function (GetAccessKeyInfoResponse) {
|
|
195
|
-
/**
|
|
196
|
-
* @internal
|
|
197
|
-
*/
|
|
198
132
|
GetAccessKeyInfoResponse.filterSensitiveLog = (obj) => ({
|
|
199
133
|
...obj,
|
|
200
134
|
});
|
|
201
135
|
})(GetAccessKeyInfoResponse = exports.GetAccessKeyInfoResponse || (exports.GetAccessKeyInfoResponse = {}));
|
|
202
136
|
var GetCallerIdentityRequest;
|
|
203
137
|
(function (GetCallerIdentityRequest) {
|
|
204
|
-
/**
|
|
205
|
-
* @internal
|
|
206
|
-
*/
|
|
207
138
|
GetCallerIdentityRequest.filterSensitiveLog = (obj) => ({
|
|
208
139
|
...obj,
|
|
209
140
|
});
|
|
210
141
|
})(GetCallerIdentityRequest = exports.GetCallerIdentityRequest || (exports.GetCallerIdentityRequest = {}));
|
|
211
142
|
var GetCallerIdentityResponse;
|
|
212
143
|
(function (GetCallerIdentityResponse) {
|
|
213
|
-
/**
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
144
|
GetCallerIdentityResponse.filterSensitiveLog = (obj) => ({
|
|
217
145
|
...obj,
|
|
218
146
|
});
|
|
219
147
|
})(GetCallerIdentityResponse = exports.GetCallerIdentityResponse || (exports.GetCallerIdentityResponse = {}));
|
|
220
148
|
var GetFederationTokenRequest;
|
|
221
149
|
(function (GetFederationTokenRequest) {
|
|
222
|
-
/**
|
|
223
|
-
* @internal
|
|
224
|
-
*/
|
|
225
150
|
GetFederationTokenRequest.filterSensitiveLog = (obj) => ({
|
|
226
151
|
...obj,
|
|
227
152
|
});
|
|
228
153
|
})(GetFederationTokenRequest = exports.GetFederationTokenRequest || (exports.GetFederationTokenRequest = {}));
|
|
229
154
|
var FederatedUser;
|
|
230
155
|
(function (FederatedUser) {
|
|
231
|
-
/**
|
|
232
|
-
* @internal
|
|
233
|
-
*/
|
|
234
156
|
FederatedUser.filterSensitiveLog = (obj) => ({
|
|
235
157
|
...obj,
|
|
236
158
|
});
|
|
237
159
|
})(FederatedUser = exports.FederatedUser || (exports.FederatedUser = {}));
|
|
238
160
|
var GetFederationTokenResponse;
|
|
239
161
|
(function (GetFederationTokenResponse) {
|
|
240
|
-
/**
|
|
241
|
-
* @internal
|
|
242
|
-
*/
|
|
243
162
|
GetFederationTokenResponse.filterSensitiveLog = (obj) => ({
|
|
244
163
|
...obj,
|
|
245
164
|
});
|
|
246
165
|
})(GetFederationTokenResponse = exports.GetFederationTokenResponse || (exports.GetFederationTokenResponse = {}));
|
|
247
166
|
var GetSessionTokenRequest;
|
|
248
167
|
(function (GetSessionTokenRequest) {
|
|
249
|
-
/**
|
|
250
|
-
* @internal
|
|
251
|
-
*/
|
|
252
168
|
GetSessionTokenRequest.filterSensitiveLog = (obj) => ({
|
|
253
169
|
...obj,
|
|
254
170
|
});
|
|
255
171
|
})(GetSessionTokenRequest = exports.GetSessionTokenRequest || (exports.GetSessionTokenRequest = {}));
|
|
256
172
|
var GetSessionTokenResponse;
|
|
257
173
|
(function (GetSessionTokenResponse) {
|
|
258
|
-
/**
|
|
259
|
-
* @internal
|
|
260
|
-
*/
|
|
261
174
|
GetSessionTokenResponse.filterSensitiveLog = (obj) => ({
|
|
262
175
|
...obj,
|
|
263
176
|
});
|
|
264
177
|
})(GetSessionTokenResponse = exports.GetSessionTokenResponse || (exports.GetSessionTokenResponse = {}));
|
|
265
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -850,7 +850,7 @@ const serializeAws_queryGetSessionTokenRequest = (input, context) => {
|
|
|
850
850
|
const serializeAws_querypolicyDescriptorListType = (input, context) => {
|
|
851
851
|
const entries = {};
|
|
852
852
|
let counter = 1;
|
|
853
|
-
for (
|
|
853
|
+
for (const entry of input) {
|
|
854
854
|
if (entry === null) {
|
|
855
855
|
continue;
|
|
856
856
|
}
|
|
@@ -882,7 +882,7 @@ const serializeAws_queryTag = (input, context) => {
|
|
|
882
882
|
const serializeAws_querytagKeyListType = (input, context) => {
|
|
883
883
|
const entries = {};
|
|
884
884
|
let counter = 1;
|
|
885
|
-
for (
|
|
885
|
+
for (const entry of input) {
|
|
886
886
|
if (entry === null) {
|
|
887
887
|
continue;
|
|
888
888
|
}
|
|
@@ -894,7 +894,7 @@ const serializeAws_querytagKeyListType = (input, context) => {
|
|
|
894
894
|
const serializeAws_querytagListType = (input, context) => {
|
|
895
895
|
const entries = {};
|
|
896
896
|
let counter = 1;
|
|
897
|
-
for (
|
|
897
|
+
for (const entry of input) {
|
|
898
898
|
if (entry === null) {
|
|
899
899
|
continue;
|
|
900
900
|
}
|
|
@@ -907,7 +907,7 @@ const serializeAws_querytagListType = (input, context) => {
|
|
|
907
907
|
return entries;
|
|
908
908
|
};
|
|
909
909
|
const deserializeAws_queryAssumedRoleUser = (output, context) => {
|
|
910
|
-
|
|
910
|
+
const contents = {
|
|
911
911
|
AssumedRoleId: undefined,
|
|
912
912
|
Arn: undefined,
|
|
913
913
|
};
|
|
@@ -920,7 +920,7 @@ const deserializeAws_queryAssumedRoleUser = (output, context) => {
|
|
|
920
920
|
return contents;
|
|
921
921
|
};
|
|
922
922
|
const deserializeAws_queryAssumeRoleResponse = (output, context) => {
|
|
923
|
-
|
|
923
|
+
const contents = {
|
|
924
924
|
Credentials: undefined,
|
|
925
925
|
AssumedRoleUser: undefined,
|
|
926
926
|
PackedPolicySize: undefined,
|
|
@@ -941,7 +941,7 @@ const deserializeAws_queryAssumeRoleResponse = (output, context) => {
|
|
|
941
941
|
return contents;
|
|
942
942
|
};
|
|
943
943
|
const deserializeAws_queryAssumeRoleWithSAMLResponse = (output, context) => {
|
|
944
|
-
|
|
944
|
+
const contents = {
|
|
945
945
|
Credentials: undefined,
|
|
946
946
|
AssumedRoleUser: undefined,
|
|
947
947
|
PackedPolicySize: undefined,
|
|
@@ -982,7 +982,7 @@ const deserializeAws_queryAssumeRoleWithSAMLResponse = (output, context) => {
|
|
|
982
982
|
return contents;
|
|
983
983
|
};
|
|
984
984
|
const deserializeAws_queryAssumeRoleWithWebIdentityResponse = (output, context) => {
|
|
985
|
-
|
|
985
|
+
const contents = {
|
|
986
986
|
Credentials: undefined,
|
|
987
987
|
SubjectFromWebIdentityToken: undefined,
|
|
988
988
|
AssumedRoleUser: undefined,
|
|
@@ -1015,7 +1015,7 @@ const deserializeAws_queryAssumeRoleWithWebIdentityResponse = (output, context)
|
|
|
1015
1015
|
return contents;
|
|
1016
1016
|
};
|
|
1017
1017
|
const deserializeAws_queryCredentials = (output, context) => {
|
|
1018
|
-
|
|
1018
|
+
const contents = {
|
|
1019
1019
|
AccessKeyId: undefined,
|
|
1020
1020
|
SecretAccessKey: undefined,
|
|
1021
1021
|
SessionToken: undefined,
|
|
@@ -1036,7 +1036,7 @@ const deserializeAws_queryCredentials = (output, context) => {
|
|
|
1036
1036
|
return contents;
|
|
1037
1037
|
};
|
|
1038
1038
|
const deserializeAws_queryDecodeAuthorizationMessageResponse = (output, context) => {
|
|
1039
|
-
|
|
1039
|
+
const contents = {
|
|
1040
1040
|
DecodedMessage: undefined,
|
|
1041
1041
|
};
|
|
1042
1042
|
if (output["DecodedMessage"] !== undefined) {
|
|
@@ -1045,7 +1045,7 @@ const deserializeAws_queryDecodeAuthorizationMessageResponse = (output, context)
|
|
|
1045
1045
|
return contents;
|
|
1046
1046
|
};
|
|
1047
1047
|
const deserializeAws_queryExpiredTokenException = (output, context) => {
|
|
1048
|
-
|
|
1048
|
+
const contents = {
|
|
1049
1049
|
message: undefined,
|
|
1050
1050
|
};
|
|
1051
1051
|
if (output["message"] !== undefined) {
|
|
@@ -1054,7 +1054,7 @@ const deserializeAws_queryExpiredTokenException = (output, context) => {
|
|
|
1054
1054
|
return contents;
|
|
1055
1055
|
};
|
|
1056
1056
|
const deserializeAws_queryFederatedUser = (output, context) => {
|
|
1057
|
-
|
|
1057
|
+
const contents = {
|
|
1058
1058
|
FederatedUserId: undefined,
|
|
1059
1059
|
Arn: undefined,
|
|
1060
1060
|
};
|
|
@@ -1067,7 +1067,7 @@ const deserializeAws_queryFederatedUser = (output, context) => {
|
|
|
1067
1067
|
return contents;
|
|
1068
1068
|
};
|
|
1069
1069
|
const deserializeAws_queryGetAccessKeyInfoResponse = (output, context) => {
|
|
1070
|
-
|
|
1070
|
+
const contents = {
|
|
1071
1071
|
Account: undefined,
|
|
1072
1072
|
};
|
|
1073
1073
|
if (output["Account"] !== undefined) {
|
|
@@ -1076,7 +1076,7 @@ const deserializeAws_queryGetAccessKeyInfoResponse = (output, context) => {
|
|
|
1076
1076
|
return contents;
|
|
1077
1077
|
};
|
|
1078
1078
|
const deserializeAws_queryGetCallerIdentityResponse = (output, context) => {
|
|
1079
|
-
|
|
1079
|
+
const contents = {
|
|
1080
1080
|
UserId: undefined,
|
|
1081
1081
|
Account: undefined,
|
|
1082
1082
|
Arn: undefined,
|
|
@@ -1093,7 +1093,7 @@ const deserializeAws_queryGetCallerIdentityResponse = (output, context) => {
|
|
|
1093
1093
|
return contents;
|
|
1094
1094
|
};
|
|
1095
1095
|
const deserializeAws_queryGetFederationTokenResponse = (output, context) => {
|
|
1096
|
-
|
|
1096
|
+
const contents = {
|
|
1097
1097
|
Credentials: undefined,
|
|
1098
1098
|
FederatedUser: undefined,
|
|
1099
1099
|
PackedPolicySize: undefined,
|
|
@@ -1110,7 +1110,7 @@ const deserializeAws_queryGetFederationTokenResponse = (output, context) => {
|
|
|
1110
1110
|
return contents;
|
|
1111
1111
|
};
|
|
1112
1112
|
const deserializeAws_queryGetSessionTokenResponse = (output, context) => {
|
|
1113
|
-
|
|
1113
|
+
const contents = {
|
|
1114
1114
|
Credentials: undefined,
|
|
1115
1115
|
};
|
|
1116
1116
|
if (output["Credentials"] !== undefined) {
|
|
@@ -1119,7 +1119,7 @@ const deserializeAws_queryGetSessionTokenResponse = (output, context) => {
|
|
|
1119
1119
|
return contents;
|
|
1120
1120
|
};
|
|
1121
1121
|
const deserializeAws_queryIDPCommunicationErrorException = (output, context) => {
|
|
1122
|
-
|
|
1122
|
+
const contents = {
|
|
1123
1123
|
message: undefined,
|
|
1124
1124
|
};
|
|
1125
1125
|
if (output["message"] !== undefined) {
|
|
@@ -1128,7 +1128,7 @@ const deserializeAws_queryIDPCommunicationErrorException = (output, context) =>
|
|
|
1128
1128
|
return contents;
|
|
1129
1129
|
};
|
|
1130
1130
|
const deserializeAws_queryIDPRejectedClaimException = (output, context) => {
|
|
1131
|
-
|
|
1131
|
+
const contents = {
|
|
1132
1132
|
message: undefined,
|
|
1133
1133
|
};
|
|
1134
1134
|
if (output["message"] !== undefined) {
|
|
@@ -1137,7 +1137,7 @@ const deserializeAws_queryIDPRejectedClaimException = (output, context) => {
|
|
|
1137
1137
|
return contents;
|
|
1138
1138
|
};
|
|
1139
1139
|
const deserializeAws_queryInvalidAuthorizationMessageException = (output, context) => {
|
|
1140
|
-
|
|
1140
|
+
const contents = {
|
|
1141
1141
|
message: undefined,
|
|
1142
1142
|
};
|
|
1143
1143
|
if (output["message"] !== undefined) {
|
|
@@ -1146,7 +1146,7 @@ const deserializeAws_queryInvalidAuthorizationMessageException = (output, contex
|
|
|
1146
1146
|
return contents;
|
|
1147
1147
|
};
|
|
1148
1148
|
const deserializeAws_queryInvalidIdentityTokenException = (output, context) => {
|
|
1149
|
-
|
|
1149
|
+
const contents = {
|
|
1150
1150
|
message: undefined,
|
|
1151
1151
|
};
|
|
1152
1152
|
if (output["message"] !== undefined) {
|
|
@@ -1155,7 +1155,7 @@ const deserializeAws_queryInvalidIdentityTokenException = (output, context) => {
|
|
|
1155
1155
|
return contents;
|
|
1156
1156
|
};
|
|
1157
1157
|
const deserializeAws_queryMalformedPolicyDocumentException = (output, context) => {
|
|
1158
|
-
|
|
1158
|
+
const contents = {
|
|
1159
1159
|
message: undefined,
|
|
1160
1160
|
};
|
|
1161
1161
|
if (output["message"] !== undefined) {
|
|
@@ -1164,7 +1164,7 @@ const deserializeAws_queryMalformedPolicyDocumentException = (output, context) =
|
|
|
1164
1164
|
return contents;
|
|
1165
1165
|
};
|
|
1166
1166
|
const deserializeAws_queryPackedPolicyTooLargeException = (output, context) => {
|
|
1167
|
-
|
|
1167
|
+
const contents = {
|
|
1168
1168
|
message: undefined,
|
|
1169
1169
|
};
|
|
1170
1170
|
if (output["message"] !== undefined) {
|
|
@@ -1173,7 +1173,7 @@ const deserializeAws_queryPackedPolicyTooLargeException = (output, context) => {
|
|
|
1173
1173
|
return contents;
|
|
1174
1174
|
};
|
|
1175
1175
|
const deserializeAws_queryRegionDisabledException = (output, context) => {
|
|
1176
|
-
|
|
1176
|
+
const contents = {
|
|
1177
1177
|
message: undefined,
|
|
1178
1178
|
};
|
|
1179
1179
|
if (output["message"] !== undefined) {
|
|
@@ -1190,14 +1190,12 @@ const deserializeMetadata = (output) => {
|
|
|
1190
1190
|
cfId: output.headers["x-amz-cf-id"],
|
|
1191
1191
|
});
|
|
1192
1192
|
};
|
|
1193
|
-
// Collect low-level response body stream to Uint8Array.
|
|
1194
1193
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
1195
1194
|
if (streamBody instanceof Uint8Array) {
|
|
1196
1195
|
return Promise.resolve(streamBody);
|
|
1197
1196
|
}
|
|
1198
1197
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
1199
1198
|
};
|
|
1200
|
-
// Encode Uint8Array data into string with utf-8.
|
|
1201
1199
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1202
1200
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1203
1201
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1249,4 +1247,3 @@ const loadQueryErrorCode = (output, data) => {
|
|
|
1249
1247
|
}
|
|
1250
1248
|
return "";
|
|
1251
1249
|
};
|
|
1252
|
-
//# sourceMappingURL=Aws_query.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
15
|
const getRuntimeConfig = (config) => {
|
|
19
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
35
|
};
|
|
39
36
|
};
|
|
40
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const defaultStsRoleAssumers_1 = require("./defaultStsRoleAssumers");
|
|
7
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
19
|
const getRuntimeConfig = (config) => {
|
|
23
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
24
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
40
|
};
|
|
44
41
|
};
|
|
45
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
|
-
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { STSClient } from "./STSClient";
|
|
3
2
|
import { AssumeRoleCommand } from "./commands/AssumeRoleCommand";
|
|
4
3
|
import { AssumeRoleWithSAMLCommand, } from "./commands/AssumeRoleWithSAMLCommand";
|
|
5
4
|
import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
@@ -8,14 +7,8 @@ import { GetAccessKeyInfoCommand, } from "./commands/GetAccessKeyInfoCommand";
|
|
|
8
7
|
import { GetCallerIdentityCommand, } from "./commands/GetCallerIdentityCommand";
|
|
9
8
|
import { GetFederationTokenCommand, } from "./commands/GetFederationTokenCommand";
|
|
10
9
|
import { GetSessionTokenCommand, } from "./commands/GetSessionTokenCommand";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* <p>Security Token Service (STS) enables you to request temporary, limited-privilege
|
|
14
|
-
* credentials for Identity and Access Management (IAM) users or for users that you
|
|
15
|
-
* authenticate (federated users). This guide provides descriptions of the STS API. For
|
|
16
|
-
* more information about using this service, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>.</p>
|
|
17
|
-
*/
|
|
18
|
-
var STS = /** @class */ (function (_super) {
|
|
10
|
+
import { STSClient } from "./STSClient";
|
|
11
|
+
var STS = (function (_super) {
|
|
19
12
|
__extends(STS, _super);
|
|
20
13
|
function STS() {
|
|
21
14
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -135,4 +128,3 @@ var STS = /** @class */ (function (_super) {
|
|
|
135
128
|
return STS;
|
|
136
129
|
}(STSClient));
|
|
137
130
|
export { STS };
|
|
138
|
-
//# sourceMappingURL=STS.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,14 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { resolveStsAuthConfig } from "@aws-sdk/middleware-sdk-sts";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* <p>Security Token Service (STS) enables you to request temporary, limited-privilege
|
|
14
|
-
* credentials for Identity and Access Management (IAM) users or for users that you
|
|
15
|
-
* authenticate (federated users). This guide provides descriptions of the STS API. For
|
|
16
|
-
* more information about using this service, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>.</p>
|
|
17
|
-
*/
|
|
18
|
-
var STSClient = /** @class */ (function (_super) {
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
+
var STSClient = (function (_super) {
|
|
19
12
|
__extends(STSClient, _super);
|
|
20
13
|
function STSClient(configuration) {
|
|
21
14
|
var _this = this;
|
|
@@ -35,15 +28,9 @@ var STSClient = /** @class */ (function (_super) {
|
|
|
35
28
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
36
29
|
return _this;
|
|
37
30
|
}
|
|
38
|
-
/**
|
|
39
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
40
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
41
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
42
|
-
*/
|
|
43
31
|
STSClient.prototype.destroy = function () {
|
|
44
32
|
_super.prototype.destroy.call(this);
|
|
45
33
|
};
|
|
46
34
|
return STSClient;
|
|
47
35
|
}(__Client));
|
|
48
36
|
export { STSClient };
|
|
49
|
-
//# sourceMappingURL=STSClient.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 { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
|
|
6
|
+
import { deserializeAws_queryAssumeRoleCommand, serializeAws_queryAssumeRoleCommand } from "../protocols/Aws_query";
|
|
7
|
+
var AssumeRoleCommand = (function (_super) {
|
|
8
|
+
__extends(AssumeRoleCommand, _super);
|
|
9
|
+
function AssumeRoleCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
13
|
+
}
|
|
14
|
+
AssumeRoleCommand.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 = "AssumeRoleCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
25
|
+
inputFilterSensitiveLog: AssumeRoleRequest.filterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: AssumeRoleResponse.filterSensitiveLog,
|
|
27
|
+
};
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
AssumeRoleCommand.prototype.serialize = function (input, context) {
|
|
34
|
+
return serializeAws_queryAssumeRoleCommand(input, context);
|
|
35
|
+
};
|
|
36
|
+
AssumeRoleCommand.prototype.deserialize = function (output, context) {
|
|
37
|
+
return deserializeAws_queryAssumeRoleCommand(output, context);
|
|
38
|
+
};
|
|
39
|
+
return AssumeRoleCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { AssumeRoleCommand };
|