@aws-sdk/client-signin 3.1074.0 → 3.1076.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.
@@ -1,330 +0,0 @@
1
- const _A = "Action";
2
- const _ADE = "AccessDeniedException";
3
- const _AT = "AccessToken";
4
- const _C = "Condition";
5
- const _CB = "ConditionBlock";
6
- const _CE = "ConflictException";
7
- const _COAT = "CreateOAuth2Token";
8
- const _COATR = "CreateOAuth2TokenRequest";
9
- const _COATRB = "CreateOAuth2TokenRequestBody";
10
- const _COATRBr = "CreateOAuth2TokenResponseBody";
11
- const _COATRr = "CreateOAuth2TokenResponse";
12
- const _DCAC = "DeleteConsoleAuthorizationConfiguration";
13
- const _DCACI = "DeleteConsoleAuthorizationConfigurationInput";
14
- const _DCACO = "DeleteConsoleAuthorizationConfigurationOutput";
15
- const _DRPS = "DeleteResourcePermissionStatement";
16
- const _DRPSI = "DeleteResourcePermissionStatementInput";
17
- const _DRPSO = "DeleteResourcePermissionStatementOutput";
18
- const _E = "Effect";
19
- const _GCAC = "GetConsoleAuthorizationConfiguration";
20
- const _GCACI = "GetConsoleAuthorizationConfigurationInput";
21
- const _GCACO = "GetConsoleAuthorizationConfigurationOutput";
22
- const _GRP = "GetResourcePolicy";
23
- const _GRPI = "GetResourcePolicyInput";
24
- const _GRPO = "GetResourcePolicyOutput";
25
- const _ISE = "InternalServerException";
26
- const _LRPS = "ListResourcePermissionStatements";
27
- const _LRPSI = "ListResourcePermissionStatementsInput";
28
- const _LRPSO = "ListResourcePermissionStatementsOutput";
29
- const _P = "Principal";
30
- const _PCAC = "PutConsoleAuthorizationConfiguration";
31
- const _PCACI = "PutConsoleAuthorizationConfigurationInput";
32
- const _PCACO = "PutConsoleAuthorizationConfigurationOutput";
33
- const _PRPS = "PutResourcePermissionStatement";
34
- const _PRPSI = "PutResourcePermissionStatementInput";
35
- const _PRPSO = "PutResourcePermissionStatementOutput";
36
- const _PS = "PolicyStatement";
37
- const _PSS = "PermissionStatementSummary";
38
- const _PSSe = "PermissionStatementSummaries";
39
- const _PSo = "PolicyStatements";
40
- const _R = "Resource";
41
- const _RNFE = "ResourceNotFoundException";
42
- const _RT = "RefreshToken";
43
- const _S = "Statement";
44
- const _SQEE = "ServiceQuotaExceededException";
45
- const _SRBP = "SigninResourceBasedPolicy";
46
- const _TMRE = "TooManyRequestsError";
47
- const _V = "Version";
48
- const _VE = "ValidationException";
49
- const _a = "action";
50
- const _aKI = "accessKeyId";
51
- const _aT = "accessToken";
52
- const _c = "client";
53
- const _cAE = "consoleAuthorizationEnabled";
54
- const _cI = "clientId";
55
- const _cSV = "consoleSourceVpce";
56
- const _cT = "clientToken";
57
- const _cV = "codeVerifier";
58
- const _co = "code";
59
- const _con = "condition";
60
- const _e = "error";
61
- const _eI = "expiresIn";
62
- const _eP = "excludedPrincipal";
63
- const _ef = "effect";
64
- const _gT = "grantType";
65
- const _h = "http";
66
- const _hE = "httpError";
67
- const _iT = "idToken";
68
- const _jN = "jsonName";
69
- const _m = "message";
70
- const _mR = "maxResults";
71
- const _nT = "nextToken";
72
- const _p = "principal";
73
- const _pS = "permissionStatements";
74
- const _r = "resource";
75
- const _rR = "requestedRegion";
76
- const _rT = "refreshToken";
77
- const _rU = "redirectUri";
78
- const _s = "smithy.ts.sdk.synthetic.com.amazonaws.signin";
79
- const _sAK = "secretAccessKey";
80
- const _sI = "statementId";
81
- const _sIo = "sourceIp";
82
- const _sRBP = "signinResourceBasedPolicy";
83
- const _sSV = "signinSourceVpce";
84
- const _sT = "sessionToken";
85
- const _sV = "sourceVpc";
86
- const _sc = "scope";
87
- const _se = "server";
88
- const _si = "sid";
89
- const _st = "statement";
90
- const _tI = "tokenInput";
91
- const _tIa = "targetId";
92
- const _tO = "tokenOutput";
93
- const _tT = "tokenType";
94
- const _v = "version";
95
- const _vSI = "vpcSourceIp";
96
- const n0 = "com.amazonaws.signin";
97
- const { TypeRegistry } = require("@smithy/core/schema");
98
- const { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, TooManyRequestsError, ValidationException } = require("../models/errors");
99
- const { SigninServiceException } = require("../models/SigninServiceException");
100
- const _s_registry = TypeRegistry.for(_s);
101
- const SigninServiceException$ = [-3, _s, "SigninServiceException", 0, [], []];
102
- exports.SigninServiceException$ = SigninServiceException$;
103
- _s_registry.registerError(SigninServiceException$, SigninServiceException);
104
- const n0_registry = TypeRegistry.for(n0);
105
- const AccessDeniedException$ = [-3, n0, _ADE,
106
- { [_e]: _c },
107
- [_e, _m],
108
- [0, 0], 2
109
- ];
110
- exports.AccessDeniedException$ = AccessDeniedException$;
111
- n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
112
- const ConflictException$ = [-3, n0, _CE,
113
- { [_e]: _c, [_hE]: 409 },
114
- [_e, _m],
115
- [0, 0], 2
116
- ];
117
- exports.ConflictException$ = ConflictException$;
118
- n0_registry.registerError(ConflictException$, ConflictException);
119
- const InternalServerException$ = [-3, n0, _ISE,
120
- { [_e]: _se, [_hE]: 500 },
121
- [_e, _m],
122
- [0, 0], 2
123
- ];
124
- exports.InternalServerException$ = InternalServerException$;
125
- n0_registry.registerError(InternalServerException$, InternalServerException);
126
- const ResourceNotFoundException$ = [-3, n0, _RNFE,
127
- { [_e]: _c, [_hE]: 404 },
128
- [_e, _m],
129
- [0, 0], 2
130
- ];
131
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
132
- n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
133
- const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
134
- { [_e]: _c, [_hE]: 402 },
135
- [_e, _m],
136
- [0, 0], 2
137
- ];
138
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
139
- n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
140
- const TooManyRequestsError$ = [-3, n0, _TMRE,
141
- { [_e]: _c, [_hE]: 429 },
142
- [_e, _m],
143
- [0, 0], 2
144
- ];
145
- exports.TooManyRequestsError$ = TooManyRequestsError$;
146
- n0_registry.registerError(TooManyRequestsError$, TooManyRequestsError);
147
- const ValidationException$ = [-3, n0, _VE,
148
- { [_e]: _c, [_hE]: 400 },
149
- [_e, _m],
150
- [0, 0], 2
151
- ];
152
- exports.ValidationException$ = ValidationException$;
153
- n0_registry.registerError(ValidationException$, ValidationException);
154
- exports.errorTypeRegistries = [
155
- _s_registry,
156
- n0_registry,
157
- ];
158
- var RefreshToken = [0, n0, _RT, 8, 0];
159
- const AccessToken$ = [3, n0, _AT,
160
- 8,
161
- [_aKI, _sAK, _sT],
162
- [[0, { [_jN]: _aKI }], [0, { [_jN]: _sAK }], [0, { [_jN]: _sT }]], 3
163
- ];
164
- exports.AccessToken$ = AccessToken$;
165
- const CreateOAuth2TokenRequest$ = [3, n0, _COATR,
166
- 0,
167
- [_tI],
168
- [[() => CreateOAuth2TokenRequestBody$, 16]], 1
169
- ];
170
- exports.CreateOAuth2TokenRequest$ = CreateOAuth2TokenRequest$;
171
- const CreateOAuth2TokenRequestBody$ = [3, n0, _COATRB,
172
- 0,
173
- [_cI, _gT, _co, _rU, _cV, _rT],
174
- [[0, { [_jN]: _cI }], [0, { [_jN]: _gT }], 0, [0, { [_jN]: _rU }], [0, { [_jN]: _cV }], [() => RefreshToken, { [_jN]: _rT }]], 2
175
- ];
176
- exports.CreateOAuth2TokenRequestBody$ = CreateOAuth2TokenRequestBody$;
177
- const CreateOAuth2TokenResponse$ = [3, n0, _COATRr,
178
- 0,
179
- [_tO],
180
- [[() => CreateOAuth2TokenResponseBody$, 16]], 1
181
- ];
182
- exports.CreateOAuth2TokenResponse$ = CreateOAuth2TokenResponse$;
183
- const CreateOAuth2TokenResponseBody$ = [3, n0, _COATRBr,
184
- 0,
185
- [_aT, _tT, _eI, _rT, _iT],
186
- [[() => AccessToken$, { [_jN]: _aT }], [0, { [_jN]: _tT }], [1, { [_jN]: _eI }], [() => RefreshToken, { [_jN]: _rT }], [0, { [_jN]: _iT }]], 4
187
- ];
188
- exports.CreateOAuth2TokenResponseBody$ = CreateOAuth2TokenResponseBody$;
189
- const DeleteConsoleAuthorizationConfigurationInput$ = [3, n0, _DCACI,
190
- 0,
191
- [_tIa],
192
- [0]
193
- ];
194
- exports.DeleteConsoleAuthorizationConfigurationInput$ = DeleteConsoleAuthorizationConfigurationInput$;
195
- const DeleteConsoleAuthorizationConfigurationOutput$ = [3, n0, _DCACO,
196
- 0,
197
- [_tIa, _sc, _cAE],
198
- [0, 0, 2], 3
199
- ];
200
- exports.DeleteConsoleAuthorizationConfigurationOutput$ = DeleteConsoleAuthorizationConfigurationOutput$;
201
- const DeleteResourcePermissionStatementInput$ = [3, n0, _DRPSI,
202
- 0,
203
- [_sI, _cT],
204
- [0, [0, 4]], 1
205
- ];
206
- exports.DeleteResourcePermissionStatementInput$ = DeleteResourcePermissionStatementInput$;
207
- const DeleteResourcePermissionStatementOutput$ = [3, n0, _DRPSO,
208
- 0,
209
- [],
210
- []
211
- ];
212
- exports.DeleteResourcePermissionStatementOutput$ = DeleteResourcePermissionStatementOutput$;
213
- const GetConsoleAuthorizationConfigurationInput$ = [3, n0, _GCACI,
214
- 0,
215
- [_tIa],
216
- [0]
217
- ];
218
- exports.GetConsoleAuthorizationConfigurationInput$ = GetConsoleAuthorizationConfigurationInput$;
219
- const GetConsoleAuthorizationConfigurationOutput$ = [3, n0, _GCACO,
220
- 0,
221
- [_tIa, _sc, _cAE],
222
- [0, 0, 2], 3
223
- ];
224
- exports.GetConsoleAuthorizationConfigurationOutput$ = GetConsoleAuthorizationConfigurationOutput$;
225
- const GetResourcePolicyInput$ = [3, n0, _GRPI,
226
- 0,
227
- [],
228
- []
229
- ];
230
- exports.GetResourcePolicyInput$ = GetResourcePolicyInput$;
231
- const GetResourcePolicyOutput$ = [3, n0, _GRPO,
232
- 0,
233
- [_sRBP],
234
- [[() => SigninResourceBasedPolicy$, 0]], 1
235
- ];
236
- exports.GetResourcePolicyOutput$ = GetResourcePolicyOutput$;
237
- const ListResourcePermissionStatementsInput$ = [3, n0, _LRPSI,
238
- 0,
239
- [_mR, _nT],
240
- [1, 0]
241
- ];
242
- exports.ListResourcePermissionStatementsInput$ = ListResourcePermissionStatementsInput$;
243
- const ListResourcePermissionStatementsOutput$ = [3, n0, _LRPSO,
244
- 0,
245
- [_pS, _nT],
246
- [() => PermissionStatementSummaries, 0], 1
247
- ];
248
- exports.ListResourcePermissionStatementsOutput$ = ListResourcePermissionStatementsOutput$;
249
- const PermissionStatementSummary$ = [3, n0, _PSS,
250
- 0,
251
- [_si, _con],
252
- [0, [2, n0, _CB, 0, 0, [2, n0, _C, 0, 0, 64 | 0]]], 1
253
- ];
254
- exports.PermissionStatementSummary$ = PermissionStatementSummary$;
255
- const PolicyStatement$ = [3, n0, _PS,
256
- 0,
257
- [_ef, _p, _a, _r, _con],
258
- [[0, { [_jN]: _E }], [128 | 0, { [_jN]: _P }], [64 | 0, { [_jN]: _A }], [0, { [_jN]: _R }], [[2, n0, _CB, 0, 0, [2, n0, _C, 0, 0, 64 | 0]], { [_jN]: _C }]]
259
- ];
260
- exports.PolicyStatement$ = PolicyStatement$;
261
- const PutConsoleAuthorizationConfigurationInput$ = [3, n0, _PCACI,
262
- 0,
263
- [_tIa],
264
- [0]
265
- ];
266
- exports.PutConsoleAuthorizationConfigurationInput$ = PutConsoleAuthorizationConfigurationInput$;
267
- const PutConsoleAuthorizationConfigurationOutput$ = [3, n0, _PCACO,
268
- 0,
269
- [_tIa, _sc, _cAE],
270
- [0, 0, 2], 3
271
- ];
272
- exports.PutConsoleAuthorizationConfigurationOutput$ = PutConsoleAuthorizationConfigurationOutput$;
273
- const PutResourcePermissionStatementInput$ = [3, n0, _PRPSI,
274
- 0,
275
- [_sV, _sSV, _cSV, _vSI, _sIo, _rR, _eP, _cT],
276
- [0, 0, 0, 0, 0, 0, 0, [0, 4]]
277
- ];
278
- exports.PutResourcePermissionStatementInput$ = PutResourcePermissionStatementInput$;
279
- const PutResourcePermissionStatementOutput$ = [3, n0, _PRPSO,
280
- 0,
281
- [_sI],
282
- [0], 1
283
- ];
284
- exports.PutResourcePermissionStatementOutput$ = PutResourcePermissionStatementOutput$;
285
- const SigninResourceBasedPolicy$ = [3, n0, _SRBP,
286
- 0,
287
- [_v, _st],
288
- [[0, { [_jN]: _V }], [() => PolicyStatements, { [_jN]: _S }]]
289
- ];
290
- exports.SigninResourceBasedPolicy$ = SigninResourceBasedPolicy$;
291
- var ConditionValues = 64 | 0;
292
- var PermissionStatementSummaries = [1, n0, _PSSe,
293
- 0, () => PermissionStatementSummary$
294
- ];
295
- var PolicyActions = 64 | 0;
296
- var PolicyStatements = [1, n0, _PSo,
297
- 0, [() => PolicyStatement$,
298
- 0]
299
- ];
300
- var Condition = [2, n0, _C,
301
- 0, 0, 64 | 0
302
- ];
303
- var ConditionBlock = [2, n0, _CB,
304
- 0, 0, [2, n0, _C, 0, 0, 64 | 0]
305
- ];
306
- var Principal = 128 | 0;
307
- exports.CreateOAuth2Token$ = [9, n0, _COAT,
308
- { [_h]: ["POST", "/v1/token", 200] }, () => CreateOAuth2TokenRequest$, () => CreateOAuth2TokenResponse$
309
- ];
310
- exports.DeleteConsoleAuthorizationConfiguration$ = [9, n0, _DCAC,
311
- { [_h]: ["POST", "/delete-console-authorization-configuration", 200] }, () => DeleteConsoleAuthorizationConfigurationInput$, () => DeleteConsoleAuthorizationConfigurationOutput$
312
- ];
313
- exports.DeleteResourcePermissionStatement$ = [9, n0, _DRPS,
314
- { [_h]: ["POST", "/delete-resource-permission-statement", 200] }, () => DeleteResourcePermissionStatementInput$, () => DeleteResourcePermissionStatementOutput$
315
- ];
316
- exports.GetConsoleAuthorizationConfiguration$ = [9, n0, _GCAC,
317
- { [_h]: ["POST", "/get-console-authorization-configuration", 200] }, () => GetConsoleAuthorizationConfigurationInput$, () => GetConsoleAuthorizationConfigurationOutput$
318
- ];
319
- exports.GetResourcePolicy$ = [9, n0, _GRP,
320
- { [_h]: ["POST", "/get-resource-policy", 200] }, () => GetResourcePolicyInput$, () => GetResourcePolicyOutput$
321
- ];
322
- exports.ListResourcePermissionStatements$ = [9, n0, _LRPS,
323
- { [_h]: ["POST", "/list-resource-permission-statements", 200] }, () => ListResourcePermissionStatementsInput$, () => ListResourcePermissionStatementsOutput$
324
- ];
325
- exports.PutConsoleAuthorizationConfiguration$ = [9, n0, _PCAC,
326
- { [_h]: ["POST", "/put-console-authorization-configuration", 200] }, () => PutConsoleAuthorizationConfigurationInput$, () => PutConsoleAuthorizationConfigurationOutput$
327
- ];
328
- exports.PutResourcePermissionStatement$ = [9, n0, _PRPS,
329
- { [_h]: ["POST", "/put-resource-permission-statement", 200] }, () => PutResourcePermissionStatementInput$, () => PutResourcePermissionStatementOutput$
330
- ];