@aws-sdk/client-cognito-identity 3.1075.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.
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,82 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
- const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
+ const { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultCognitoIdentityHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreateIdentityPool$, DeleteIdentities$, DeleteIdentityPool$, DescribeIdentity$, DescribeIdentityPool$, GetCredentialsForIdentity$, GetId$, GetIdentityPoolRoles$, GetOpenIdToken$, GetOpenIdTokenForDeveloperIdentity$, GetPrincipalTagAttributeMap$, ListIdentities$, ListIdentityPools$, ListTagsForResource$, LookupDeveloperIdentity$, MergeDeveloperIdentities$, SetIdentityPoolRoles$, SetPrincipalTagAttributeMap$, TagResource$, UnlinkDeveloperIdentity$, UnlinkIdentity$, UntagResource$, UpdateIdentityPool$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { CognitoIdentityServiceException } = require("./models/CognitoIdentityServiceException");
18
- exports.CognitoIdentityServiceException = CognitoIdentityServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultCognitoIdentityHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "cognito-identity",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
41
+ return {
42
+ schemeId: "smithy.api#noAuth",
43
+ };
44
+ }
45
+ const defaultCognitoIdentityHttpAuthSchemeProvider = (authParameters) => {
46
+ const options = [];
47
+ switch (authParameters.operation) {
48
+ case "GetCredentialsForIdentity":
49
+ {
50
+ options.push(createSmithyApiNoAuthHttpAuthOption());
51
+ break;
52
+ }
53
+ case "GetId":
54
+ {
55
+ options.push(createSmithyApiNoAuthHttpAuthOption());
56
+ break;
57
+ }
58
+ case "GetOpenIdToken":
59
+ {
60
+ options.push(createSmithyApiNoAuthHttpAuthOption());
61
+ break;
62
+ }
63
+ case "UnlinkIdentity":
64
+ {
65
+ options.push(createSmithyApiNoAuthHttpAuthOption());
66
+ break;
67
+ }
68
+ default: {
69
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
70
+ }
71
+ }
72
+ return options;
73
+ };
74
+ const resolveHttpAuthSchemeConfig = (config) => {
75
+ const config_0 = resolveAwsSdkSigV4Config(config);
76
+ return Object.assign(config_0, {
77
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
78
+ });
79
+ };
19
80
 
20
81
  const resolveClientEndpointParameters = (options) => {
21
82
  return Object.assign(options, {
@@ -31,6 +92,848 @@ const commonParams = {
31
92
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
93
  };
33
94
 
95
+ var version = "3.1075.0";
96
+ var packageInfo = {
97
+ version: version};
98
+
99
+ const m = "ref";
100
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { [m]: "Region" }, k = {}, l = [j];
101
+ const _data = {
102
+ conditions: [
103
+ [c, [h]],
104
+ [c, l],
105
+ ["aws.partition", l, d],
106
+ [e, [{ [m]: "UseFIPS" }, b]],
107
+ [e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]],
108
+ [e, [{ [m]: "UseDualStack" }, b]],
109
+ [e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]],
110
+ [g, [{ fn: f, argv: [i, "name"] }, "aws"]],
111
+ [g, [j, "us-east-1"]],
112
+ [g, [j, "us-east-2"]],
113
+ [g, [j, "us-west-1"]],
114
+ [g, [j, "us-west-2"]]
115
+ ],
116
+ results: [
117
+ [a],
118
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
119
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
120
+ [h, k],
121
+ ["https://cognito-identity-fips.us-east-1.amazonaws.com", k],
122
+ ["https://cognito-identity-fips.us-east-2.amazonaws.com", k],
123
+ ["https://cognito-identity-fips.us-west-1.amazonaws.com", k],
124
+ ["https://cognito-identity-fips.us-west-2.amazonaws.com", k],
125
+ ["https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
126
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
127
+ ["https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}", k],
128
+ [a, "FIPS is enabled but this partition does not support FIPS"],
129
+ ["https://cognito-identity.{Region}.amazonaws.com", k],
130
+ ["https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
131
+ [a, "DualStack is enabled but this partition does not support DualStack"],
132
+ ["https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}", k],
133
+ [a, "Invalid Configuration: Missing Region"]
134
+ ]
135
+ };
136
+ const root = 2;
137
+ const r = 100_000_000;
138
+ const nodes = new Int32Array([
139
+ -1, 1, -1,
140
+ 0, 17, 3,
141
+ 1, 4, r + 16,
142
+ 2, 5, r + 16,
143
+ 3, 9, 6,
144
+ 5, 7, r + 15,
145
+ 6, 8, r + 14,
146
+ 7, r + 12, r + 13,
147
+ 4, 11, 10,
148
+ 5, r + 9, r + 11,
149
+ 5, 12, r + 10,
150
+ 6, 13, r + 9,
151
+ 8, r + 4, 14,
152
+ 9, r + 5, 15,
153
+ 10, r + 6, 16,
154
+ 11, r + 7, r + 8,
155
+ 3, r + 1, 18,
156
+ 5, r + 2, r + 3,
157
+ ]);
158
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
159
+
160
+ const cache = new EndpointCache({
161
+ size: 50,
162
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
163
+ });
164
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
165
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
166
+ endpointParams: endpointParams,
167
+ logger: context.logger,
168
+ }));
169
+ };
170
+ customEndpointFunctions.aws = awsEndpointFunctions;
171
+
172
+ class CognitoIdentityServiceException extends ServiceException {
173
+ constructor(options) {
174
+ super(options);
175
+ Object.setPrototypeOf(this, CognitoIdentityServiceException.prototype);
176
+ }
177
+ }
178
+
179
+ class InternalErrorException extends CognitoIdentityServiceException {
180
+ name = "InternalErrorException";
181
+ $fault = "server";
182
+ constructor(opts) {
183
+ super({
184
+ name: "InternalErrorException",
185
+ $fault: "server",
186
+ ...opts,
187
+ });
188
+ Object.setPrototypeOf(this, InternalErrorException.prototype);
189
+ }
190
+ }
191
+ class InvalidParameterException extends CognitoIdentityServiceException {
192
+ name = "InvalidParameterException";
193
+ $fault = "client";
194
+ constructor(opts) {
195
+ super({
196
+ name: "InvalidParameterException",
197
+ $fault: "client",
198
+ ...opts,
199
+ });
200
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
201
+ }
202
+ }
203
+ class LimitExceededException extends CognitoIdentityServiceException {
204
+ name = "LimitExceededException";
205
+ $fault = "client";
206
+ constructor(opts) {
207
+ super({
208
+ name: "LimitExceededException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
213
+ }
214
+ }
215
+ class NotAuthorizedException extends CognitoIdentityServiceException {
216
+ name = "NotAuthorizedException";
217
+ $fault = "client";
218
+ constructor(opts) {
219
+ super({
220
+ name: "NotAuthorizedException",
221
+ $fault: "client",
222
+ ...opts,
223
+ });
224
+ Object.setPrototypeOf(this, NotAuthorizedException.prototype);
225
+ }
226
+ }
227
+ class ResourceConflictException extends CognitoIdentityServiceException {
228
+ name = "ResourceConflictException";
229
+ $fault = "client";
230
+ constructor(opts) {
231
+ super({
232
+ name: "ResourceConflictException",
233
+ $fault: "client",
234
+ ...opts,
235
+ });
236
+ Object.setPrototypeOf(this, ResourceConflictException.prototype);
237
+ }
238
+ }
239
+ class TooManyRequestsException extends CognitoIdentityServiceException {
240
+ name = "TooManyRequestsException";
241
+ $fault = "client";
242
+ constructor(opts) {
243
+ super({
244
+ name: "TooManyRequestsException",
245
+ $fault: "client",
246
+ ...opts,
247
+ });
248
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
249
+ }
250
+ }
251
+ class ResourceNotFoundException extends CognitoIdentityServiceException {
252
+ name = "ResourceNotFoundException";
253
+ $fault = "client";
254
+ constructor(opts) {
255
+ super({
256
+ name: "ResourceNotFoundException",
257
+ $fault: "client",
258
+ ...opts,
259
+ });
260
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
261
+ }
262
+ }
263
+ class ExternalServiceException extends CognitoIdentityServiceException {
264
+ name = "ExternalServiceException";
265
+ $fault = "client";
266
+ constructor(opts) {
267
+ super({
268
+ name: "ExternalServiceException",
269
+ $fault: "client",
270
+ ...opts,
271
+ });
272
+ Object.setPrototypeOf(this, ExternalServiceException.prototype);
273
+ }
274
+ }
275
+ class InvalidIdentityPoolConfigurationException extends CognitoIdentityServiceException {
276
+ name = "InvalidIdentityPoolConfigurationException";
277
+ $fault = "client";
278
+ constructor(opts) {
279
+ super({
280
+ name: "InvalidIdentityPoolConfigurationException",
281
+ $fault: "client",
282
+ ...opts,
283
+ });
284
+ Object.setPrototypeOf(this, InvalidIdentityPoolConfigurationException.prototype);
285
+ }
286
+ }
287
+ class DeveloperUserAlreadyRegisteredException extends CognitoIdentityServiceException {
288
+ name = "DeveloperUserAlreadyRegisteredException";
289
+ $fault = "client";
290
+ constructor(opts) {
291
+ super({
292
+ name: "DeveloperUserAlreadyRegisteredException",
293
+ $fault: "client",
294
+ ...opts,
295
+ });
296
+ Object.setPrototypeOf(this, DeveloperUserAlreadyRegisteredException.prototype);
297
+ }
298
+ }
299
+ class ConcurrentModificationException extends CognitoIdentityServiceException {
300
+ name = "ConcurrentModificationException";
301
+ $fault = "client";
302
+ constructor(opts) {
303
+ super({
304
+ name: "ConcurrentModificationException",
305
+ $fault: "client",
306
+ ...opts,
307
+ });
308
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
309
+ }
310
+ }
311
+
312
+ const _ACF = "AllowClassicFlow";
313
+ const _AI = "AccountId";
314
+ const _AKI = "AccessKeyId";
315
+ const _ARR = "AmbiguousRoleResolution";
316
+ const _AUI = "AllowUnauthenticatedIdentities";
317
+ const _C = "Credentials";
318
+ const _CD = "CreationDate";
319
+ const _CI = "ClientId";
320
+ const _CIP = "CognitoIdentityProvider";
321
+ const _CIPI = "CreateIdentityPoolInput";
322
+ const _CIPL = "CognitoIdentityProviderList";
323
+ const _CIPo = "CognitoIdentityProviders";
324
+ const _CIPr = "CreateIdentityPool";
325
+ const _CME = "ConcurrentModificationException";
326
+ const _CRA = "CustomRoleArn";
327
+ const _Cl = "Claim";
328
+ const _DI = "DeleteIdentities";
329
+ const _DII = "DeleteIdentitiesInput";
330
+ const _DIIe = "DescribeIdentityInput";
331
+ const _DIP = "DeleteIdentityPool";
332
+ const _DIPI = "DeleteIdentityPoolInput";
333
+ const _DIPIe = "DescribeIdentityPoolInput";
334
+ const _DIPe = "DescribeIdentityPool";
335
+ const _DIR = "DeleteIdentitiesResponse";
336
+ const _DIe = "DescribeIdentity";
337
+ const _DPN = "DeveloperProviderName";
338
+ const _DUARE = "DeveloperUserAlreadyRegisteredException";
339
+ const _DUI = "DeveloperUserIdentifier";
340
+ const _DUIL = "DeveloperUserIdentifierList";
341
+ const _DUIe = "DestinationUserIdentifier";
342
+ const _E = "Expiration";
343
+ const _EC = "ErrorCode";
344
+ const _ESE = "ExternalServiceException";
345
+ const _GCFI = "GetCredentialsForIdentity";
346
+ const _GCFII = "GetCredentialsForIdentityInput";
347
+ const _GCFIR = "GetCredentialsForIdentityResponse";
348
+ const _GI = "GetId";
349
+ const _GII = "GetIdInput";
350
+ const _GIPR = "GetIdentityPoolRoles";
351
+ const _GIPRI = "GetIdentityPoolRolesInput";
352
+ const _GIPRR = "GetIdentityPoolRolesResponse";
353
+ const _GIR = "GetIdResponse";
354
+ const _GOIT = "GetOpenIdToken";
355
+ const _GOITFDI = "GetOpenIdTokenForDeveloperIdentity";
356
+ const _GOITFDII = "GetOpenIdTokenForDeveloperIdentityInput";
357
+ const _GOITFDIR = "GetOpenIdTokenForDeveloperIdentityResponse";
358
+ const _GOITI = "GetOpenIdTokenInput";
359
+ const _GOITR = "GetOpenIdTokenResponse";
360
+ const _GPTAM = "GetPrincipalTagAttributeMap";
361
+ const _GPTAMI = "GetPrincipalTagAttributeMapInput";
362
+ const _GPTAMR = "GetPrincipalTagAttributeMapResponse";
363
+ const _HD = "HideDisabled";
364
+ const _I = "Identities";
365
+ const _ID = "IdentityDescription";
366
+ const _IEE = "InternalErrorException";
367
+ const _II = "IdentityId";
368
+ const _IIPCE = "InvalidIdentityPoolConfigurationException";
369
+ const _IITD = "IdentityIdsToDelete";
370
+ const _IL = "IdentitiesList";
371
+ const _IP = "IdentityPool";
372
+ const _IPE = "InvalidParameterException";
373
+ const _IPI = "IdentityPoolId";
374
+ const _IPL = "IdentityPoolsList";
375
+ const _IPN = "IdentityPoolName";
376
+ const _IPNd = "IdentityProviderName";
377
+ const _IPSD = "IdentityPoolShortDescription";
378
+ const _IPT = "IdentityProviderToken";
379
+ const _IPTd = "IdentityPoolTags";
380
+ const _IPd = "IdentityPools";
381
+ const _L = "Logins";
382
+ const _LDI = "LookupDeveloperIdentity";
383
+ const _LDII = "LookupDeveloperIdentityInput";
384
+ const _LDIR = "LookupDeveloperIdentityResponse";
385
+ const _LEE = "LimitExceededException";
386
+ const _LI = "ListIdentities";
387
+ const _LII = "ListIdentitiesInput";
388
+ const _LIP = "ListIdentityPools";
389
+ const _LIPI = "ListIdentityPoolsInput";
390
+ const _LIPR = "ListIdentityPoolsResponse";
391
+ const _LIR = "ListIdentitiesResponse";
392
+ const _LM = "LoginsMap";
393
+ const _LMD = "LastModifiedDate";
394
+ const _LTFR = "ListTagsForResource";
395
+ const _LTFRI = "ListTagsForResourceInput";
396
+ const _LTFRR = "ListTagsForResourceResponse";
397
+ const _LTR = "LoginsToRemove";
398
+ const _MDI = "MergeDeveloperIdentities";
399
+ const _MDII = "MergeDeveloperIdentitiesInput";
400
+ const _MDIR = "MergeDeveloperIdentitiesResponse";
401
+ const _MR = "MaxResults";
402
+ const _MRL = "MappingRulesList";
403
+ const _MRa = "MappingRule";
404
+ const _MT = "MatchType";
405
+ const _NAE = "NotAuthorizedException";
406
+ const _NT = "NextToken";
407
+ const _OICPARN = "OpenIdConnectProviderARNs";
408
+ const _OIDCT = "OIDCToken";
409
+ const _PN = "ProviderName";
410
+ const _PT = "PrincipalTags";
411
+ const _R = "Roles";
412
+ const _RA = "ResourceArn";
413
+ const _RARN = "RoleARN";
414
+ const _RC = "RulesConfiguration";
415
+ const _RCE = "ResourceConflictException";
416
+ const _RCT = "RulesConfigurationType";
417
+ const _RM = "RoleMappings";
418
+ const _RMM = "RoleMappingMap";
419
+ const _RMo = "RoleMapping";
420
+ const _RNFE = "ResourceNotFoundException";
421
+ const _Ru = "Rules";
422
+ const _SIPR = "SetIdentityPoolRoles";
423
+ const _SIPRI = "SetIdentityPoolRolesInput";
424
+ const _SK = "SecretKey";
425
+ const _SKS = "SecretKeyString";
426
+ const _SLP = "SupportedLoginProviders";
427
+ const _SPARN = "SamlProviderARNs";
428
+ const _SPTAM = "SetPrincipalTagAttributeMap";
429
+ const _SPTAMI = "SetPrincipalTagAttributeMapInput";
430
+ const _SPTAMR = "SetPrincipalTagAttributeMapResponse";
431
+ const _SSTC = "ServerSideTokenCheck";
432
+ const _ST = "SessionToken";
433
+ const _SUI = "SourceUserIdentifier";
434
+ const _T = "Token";
435
+ const _TD = "TokenDuration";
436
+ const _TK = "TagKeys";
437
+ const _TMRE = "TooManyRequestsException";
438
+ const _TR = "TagResource";
439
+ const _TRI = "TagResourceInput";
440
+ const _TRR = "TagResourceResponse";
441
+ const _Ta = "Tags";
442
+ const _Ty = "Type";
443
+ const _UD = "UseDefaults";
444
+ const _UDI = "UnlinkDeveloperIdentity";
445
+ const _UDII = "UnlinkDeveloperIdentityInput";
446
+ const _UI = "UnlinkIdentity";
447
+ const _UII = "UnprocessedIdentityIds";
448
+ const _UIIL = "UnprocessedIdentityIdList";
449
+ const _UIIn = "UnlinkIdentityInput";
450
+ const _UIInp = "UnprocessedIdentityId";
451
+ const _UIP = "UpdateIdentityPool";
452
+ const _UR = "UntagResource";
453
+ const _URI = "UntagResourceInput";
454
+ const _URR = "UntagResourceResponse";
455
+ const _V = "Value";
456
+ const _c = "client";
457
+ const _e = "error";
458
+ const _hE = "httpError";
459
+ const _m = "message";
460
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentity";
461
+ const _se = "server";
462
+ const n0 = "com.amazonaws.cognitoidentity";
463
+ const _s_registry = TypeRegistry.for(_s);
464
+ var CognitoIdentityServiceException$ = [-3, _s, "CognitoIdentityServiceException", 0, [], []];
465
+ _s_registry.registerError(CognitoIdentityServiceException$, CognitoIdentityServiceException);
466
+ const n0_registry = TypeRegistry.for(n0);
467
+ var ConcurrentModificationException$ = [-3, n0, _CME,
468
+ { [_e]: _c, [_hE]: 400 },
469
+ [_m],
470
+ [0]
471
+ ];
472
+ n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
473
+ var DeveloperUserAlreadyRegisteredException$ = [-3, n0, _DUARE,
474
+ { [_e]: _c, [_hE]: 400 },
475
+ [_m],
476
+ [0]
477
+ ];
478
+ n0_registry.registerError(DeveloperUserAlreadyRegisteredException$, DeveloperUserAlreadyRegisteredException);
479
+ var ExternalServiceException$ = [-3, n0, _ESE,
480
+ { [_e]: _c, [_hE]: 400 },
481
+ [_m],
482
+ [0]
483
+ ];
484
+ n0_registry.registerError(ExternalServiceException$, ExternalServiceException);
485
+ var InternalErrorException$ = [-3, n0, _IEE,
486
+ { [_e]: _se },
487
+ [_m],
488
+ [0]
489
+ ];
490
+ n0_registry.registerError(InternalErrorException$, InternalErrorException);
491
+ var InvalidIdentityPoolConfigurationException$ = [-3, n0, _IIPCE,
492
+ { [_e]: _c, [_hE]: 400 },
493
+ [_m],
494
+ [0]
495
+ ];
496
+ n0_registry.registerError(InvalidIdentityPoolConfigurationException$, InvalidIdentityPoolConfigurationException);
497
+ var InvalidParameterException$ = [-3, n0, _IPE,
498
+ { [_e]: _c, [_hE]: 400 },
499
+ [_m],
500
+ [0]
501
+ ];
502
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
503
+ var LimitExceededException$ = [-3, n0, _LEE,
504
+ { [_e]: _c, [_hE]: 400 },
505
+ [_m],
506
+ [0]
507
+ ];
508
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
509
+ var NotAuthorizedException$ = [-3, n0, _NAE,
510
+ { [_e]: _c, [_hE]: 403 },
511
+ [_m],
512
+ [0]
513
+ ];
514
+ n0_registry.registerError(NotAuthorizedException$, NotAuthorizedException);
515
+ var ResourceConflictException$ = [-3, n0, _RCE,
516
+ { [_e]: _c, [_hE]: 409 },
517
+ [_m],
518
+ [0]
519
+ ];
520
+ n0_registry.registerError(ResourceConflictException$, ResourceConflictException);
521
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
522
+ { [_e]: _c, [_hE]: 404 },
523
+ [_m],
524
+ [0]
525
+ ];
526
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
527
+ var TooManyRequestsException$ = [-3, n0, _TMRE,
528
+ { [_e]: _c, [_hE]: 429 },
529
+ [_m],
530
+ [0]
531
+ ];
532
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
533
+ const errorTypeRegistries = [
534
+ _s_registry,
535
+ n0_registry,
536
+ ];
537
+ var IdentityProviderToken = [0, n0, _IPT, 8, 0];
538
+ var OIDCToken = [0, n0, _OIDCT, 8, 0];
539
+ var SecretKeyString = [0, n0, _SKS, 8, 0];
540
+ var CognitoIdentityProvider$ = [3, n0, _CIP,
541
+ 0,
542
+ [_PN, _CI, _SSTC],
543
+ [0, 0, 2]
544
+ ];
545
+ var CreateIdentityPoolInput$ = [3, n0, _CIPI,
546
+ 0,
547
+ [_IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPTd],
548
+ [0, 2, 2, 128 | 0, 0, 64 | 0, () => CognitoIdentityProviderList, 64 | 0, 128 | 0], 2
549
+ ];
550
+ var Credentials$ = [3, n0, _C,
551
+ 0,
552
+ [_AKI, _SK, _ST, _E],
553
+ [0, [() => SecretKeyString, 0], 0, 4]
554
+ ];
555
+ var DeleteIdentitiesInput$ = [3, n0, _DII,
556
+ 0,
557
+ [_IITD],
558
+ [64 | 0], 1
559
+ ];
560
+ var DeleteIdentitiesResponse$ = [3, n0, _DIR,
561
+ 0,
562
+ [_UII],
563
+ [() => UnprocessedIdentityIdList]
564
+ ];
565
+ var DeleteIdentityPoolInput$ = [3, n0, _DIPI,
566
+ 0,
567
+ [_IPI],
568
+ [0], 1
569
+ ];
570
+ var DescribeIdentityInput$ = [3, n0, _DIIe,
571
+ 0,
572
+ [_II],
573
+ [0], 1
574
+ ];
575
+ var DescribeIdentityPoolInput$ = [3, n0, _DIPIe,
576
+ 0,
577
+ [_IPI],
578
+ [0], 1
579
+ ];
580
+ var GetCredentialsForIdentityInput$ = [3, n0, _GCFII,
581
+ 0,
582
+ [_II, _L, _CRA],
583
+ [0, [() => LoginsMap, 0], 0], 1
584
+ ];
585
+ var GetCredentialsForIdentityResponse$ = [3, n0, _GCFIR,
586
+ 0,
587
+ [_II, _C],
588
+ [0, [() => Credentials$, 0]]
589
+ ];
590
+ var GetIdentityPoolRolesInput$ = [3, n0, _GIPRI,
591
+ 0,
592
+ [_IPI],
593
+ [0], 1
594
+ ];
595
+ var GetIdentityPoolRolesResponse$ = [3, n0, _GIPRR,
596
+ 0,
597
+ [_IPI, _R, _RM],
598
+ [0, 128 | 0, () => RoleMappingMap]
599
+ ];
600
+ var GetIdInput$ = [3, n0, _GII,
601
+ 0,
602
+ [_IPI, _AI, _L],
603
+ [0, 0, [() => LoginsMap, 0]], 1
604
+ ];
605
+ var GetIdResponse$ = [3, n0, _GIR,
606
+ 0,
607
+ [_II],
608
+ [0]
609
+ ];
610
+ var GetOpenIdTokenForDeveloperIdentityInput$ = [3, n0, _GOITFDII,
611
+ 0,
612
+ [_IPI, _L, _II, _PT, _TD],
613
+ [0, [() => LoginsMap, 0], 0, 128 | 0, 1], 2
614
+ ];
615
+ var GetOpenIdTokenForDeveloperIdentityResponse$ = [3, n0, _GOITFDIR,
616
+ 0,
617
+ [_II, _T],
618
+ [0, [() => OIDCToken, 0]]
619
+ ];
620
+ var GetOpenIdTokenInput$ = [3, n0, _GOITI,
621
+ 0,
622
+ [_II, _L],
623
+ [0, [() => LoginsMap, 0]], 1
624
+ ];
625
+ var GetOpenIdTokenResponse$ = [3, n0, _GOITR,
626
+ 0,
627
+ [_II, _T],
628
+ [0, [() => OIDCToken, 0]]
629
+ ];
630
+ var GetPrincipalTagAttributeMapInput$ = [3, n0, _GPTAMI,
631
+ 0,
632
+ [_IPI, _IPNd],
633
+ [0, 0], 2
634
+ ];
635
+ var GetPrincipalTagAttributeMapResponse$ = [3, n0, _GPTAMR,
636
+ 0,
637
+ [_IPI, _IPNd, _UD, _PT],
638
+ [0, 0, 2, 128 | 0]
639
+ ];
640
+ var IdentityDescription$ = [3, n0, _ID,
641
+ 0,
642
+ [_II, _L, _CD, _LMD],
643
+ [0, 64 | 0, 4, 4]
644
+ ];
645
+ var IdentityPool$ = [3, n0, _IP,
646
+ 0,
647
+ [_IPI, _IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPTd],
648
+ [0, 0, 2, 2, 128 | 0, 0, 64 | 0, () => CognitoIdentityProviderList, 64 | 0, 128 | 0], 3
649
+ ];
650
+ var IdentityPoolShortDescription$ = [3, n0, _IPSD,
651
+ 0,
652
+ [_IPI, _IPN],
653
+ [0, 0]
654
+ ];
655
+ var ListIdentitiesInput$ = [3, n0, _LII,
656
+ 0,
657
+ [_IPI, _MR, _NT, _HD],
658
+ [0, 1, 0, 2], 2
659
+ ];
660
+ var ListIdentitiesResponse$ = [3, n0, _LIR,
661
+ 0,
662
+ [_IPI, _I, _NT],
663
+ [0, () => IdentitiesList, 0]
664
+ ];
665
+ var ListIdentityPoolsInput$ = [3, n0, _LIPI,
666
+ 0,
667
+ [_MR, _NT],
668
+ [1, 0], 1
669
+ ];
670
+ var ListIdentityPoolsResponse$ = [3, n0, _LIPR,
671
+ 0,
672
+ [_IPd, _NT],
673
+ [() => IdentityPoolsList, 0]
674
+ ];
675
+ var ListTagsForResourceInput$ = [3, n0, _LTFRI,
676
+ 0,
677
+ [_RA],
678
+ [0], 1
679
+ ];
680
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRR,
681
+ 0,
682
+ [_Ta],
683
+ [128 | 0]
684
+ ];
685
+ var LookupDeveloperIdentityInput$ = [3, n0, _LDII,
686
+ 0,
687
+ [_IPI, _II, _DUI, _MR, _NT],
688
+ [0, 0, 0, 1, 0], 1
689
+ ];
690
+ var LookupDeveloperIdentityResponse$ = [3, n0, _LDIR,
691
+ 0,
692
+ [_II, _DUIL, _NT],
693
+ [0, 64 | 0, 0]
694
+ ];
695
+ var MappingRule$ = [3, n0, _MRa,
696
+ 0,
697
+ [_Cl, _MT, _V, _RARN],
698
+ [0, 0, 0, 0], 4
699
+ ];
700
+ var MergeDeveloperIdentitiesInput$ = [3, n0, _MDII,
701
+ 0,
702
+ [_SUI, _DUIe, _DPN, _IPI],
703
+ [0, 0, 0, 0], 4
704
+ ];
705
+ var MergeDeveloperIdentitiesResponse$ = [3, n0, _MDIR,
706
+ 0,
707
+ [_II],
708
+ [0]
709
+ ];
710
+ var RoleMapping$ = [3, n0, _RMo,
711
+ 0,
712
+ [_Ty, _ARR, _RC],
713
+ [0, 0, () => RulesConfigurationType$], 1
714
+ ];
715
+ var RulesConfigurationType$ = [3, n0, _RCT,
716
+ 0,
717
+ [_Ru],
718
+ [() => MappingRulesList], 1
719
+ ];
720
+ var SetIdentityPoolRolesInput$ = [3, n0, _SIPRI,
721
+ 0,
722
+ [_IPI, _R, _RM],
723
+ [0, 128 | 0, () => RoleMappingMap], 2
724
+ ];
725
+ var SetPrincipalTagAttributeMapInput$ = [3, n0, _SPTAMI,
726
+ 0,
727
+ [_IPI, _IPNd, _UD, _PT],
728
+ [0, 0, 2, 128 | 0], 2
729
+ ];
730
+ var SetPrincipalTagAttributeMapResponse$ = [3, n0, _SPTAMR,
731
+ 0,
732
+ [_IPI, _IPNd, _UD, _PT],
733
+ [0, 0, 2, 128 | 0]
734
+ ];
735
+ var TagResourceInput$ = [3, n0, _TRI,
736
+ 0,
737
+ [_RA, _Ta],
738
+ [0, 128 | 0], 2
739
+ ];
740
+ var TagResourceResponse$ = [3, n0, _TRR,
741
+ 0,
742
+ [],
743
+ []
744
+ ];
745
+ var UnlinkDeveloperIdentityInput$ = [3, n0, _UDII,
746
+ 0,
747
+ [_II, _IPI, _DPN, _DUI],
748
+ [0, 0, 0, 0], 4
749
+ ];
750
+ var UnlinkIdentityInput$ = [3, n0, _UIIn,
751
+ 0,
752
+ [_II, _L, _LTR],
753
+ [0, [() => LoginsMap, 0], 64 | 0], 3
754
+ ];
755
+ var UnprocessedIdentityId$ = [3, n0, _UIInp,
756
+ 0,
757
+ [_II, _EC],
758
+ [0, 0]
759
+ ];
760
+ var UntagResourceInput$ = [3, n0, _URI,
761
+ 0,
762
+ [_RA, _TK],
763
+ [0, 64 | 0], 2
764
+ ];
765
+ var UntagResourceResponse$ = [3, n0, _URR,
766
+ 0,
767
+ [],
768
+ []
769
+ ];
770
+ var __Unit = "unit";
771
+ var CognitoIdentityProviderList = [1, n0, _CIPL,
772
+ 0, () => CognitoIdentityProvider$
773
+ ];
774
+ var IdentitiesList = [1, n0, _IL,
775
+ 0, () => IdentityDescription$
776
+ ];
777
+ var IdentityPoolsList = [1, n0, _IPL,
778
+ 0, () => IdentityPoolShortDescription$
779
+ ];
780
+ var MappingRulesList = [1, n0, _MRL,
781
+ 0, () => MappingRule$
782
+ ];
783
+ var UnprocessedIdentityIdList = [1, n0, _UIIL,
784
+ 0, () => UnprocessedIdentityId$
785
+ ];
786
+ var LoginsMap = [2, n0, _LM,
787
+ 0, [0,
788
+ 0],
789
+ [() => IdentityProviderToken,
790
+ 0]
791
+ ];
792
+ var RoleMappingMap = [2, n0, _RMM,
793
+ 0, 0, () => RoleMapping$
794
+ ];
795
+ var CreateIdentityPool$ = [9, n0, _CIPr,
796
+ 0, () => CreateIdentityPoolInput$, () => IdentityPool$
797
+ ];
798
+ var DeleteIdentities$ = [9, n0, _DI,
799
+ 0, () => DeleteIdentitiesInput$, () => DeleteIdentitiesResponse$
800
+ ];
801
+ var DeleteIdentityPool$ = [9, n0, _DIP,
802
+ 0, () => DeleteIdentityPoolInput$, () => __Unit
803
+ ];
804
+ var DescribeIdentity$ = [9, n0, _DIe,
805
+ 0, () => DescribeIdentityInput$, () => IdentityDescription$
806
+ ];
807
+ var DescribeIdentityPool$ = [9, n0, _DIPe,
808
+ 0, () => DescribeIdentityPoolInput$, () => IdentityPool$
809
+ ];
810
+ var GetCredentialsForIdentity$ = [9, n0, _GCFI,
811
+ 0, () => GetCredentialsForIdentityInput$, () => GetCredentialsForIdentityResponse$
812
+ ];
813
+ var GetId$ = [9, n0, _GI,
814
+ 0, () => GetIdInput$, () => GetIdResponse$
815
+ ];
816
+ var GetIdentityPoolRoles$ = [9, n0, _GIPR,
817
+ 0, () => GetIdentityPoolRolesInput$, () => GetIdentityPoolRolesResponse$
818
+ ];
819
+ var GetOpenIdToken$ = [9, n0, _GOIT,
820
+ 0, () => GetOpenIdTokenInput$, () => GetOpenIdTokenResponse$
821
+ ];
822
+ var GetOpenIdTokenForDeveloperIdentity$ = [9, n0, _GOITFDI,
823
+ 0, () => GetOpenIdTokenForDeveloperIdentityInput$, () => GetOpenIdTokenForDeveloperIdentityResponse$
824
+ ];
825
+ var GetPrincipalTagAttributeMap$ = [9, n0, _GPTAM,
826
+ 0, () => GetPrincipalTagAttributeMapInput$, () => GetPrincipalTagAttributeMapResponse$
827
+ ];
828
+ var ListIdentities$ = [9, n0, _LI,
829
+ 0, () => ListIdentitiesInput$, () => ListIdentitiesResponse$
830
+ ];
831
+ var ListIdentityPools$ = [9, n0, _LIP,
832
+ 0, () => ListIdentityPoolsInput$, () => ListIdentityPoolsResponse$
833
+ ];
834
+ var ListTagsForResource$ = [9, n0, _LTFR,
835
+ 0, () => ListTagsForResourceInput$, () => ListTagsForResourceResponse$
836
+ ];
837
+ var LookupDeveloperIdentity$ = [9, n0, _LDI,
838
+ 0, () => LookupDeveloperIdentityInput$, () => LookupDeveloperIdentityResponse$
839
+ ];
840
+ var MergeDeveloperIdentities$ = [9, n0, _MDI,
841
+ 0, () => MergeDeveloperIdentitiesInput$, () => MergeDeveloperIdentitiesResponse$
842
+ ];
843
+ var SetIdentityPoolRoles$ = [9, n0, _SIPR,
844
+ 0, () => SetIdentityPoolRolesInput$, () => __Unit
845
+ ];
846
+ var SetPrincipalTagAttributeMap$ = [9, n0, _SPTAM,
847
+ 0, () => SetPrincipalTagAttributeMapInput$, () => SetPrincipalTagAttributeMapResponse$
848
+ ];
849
+ var TagResource$ = [9, n0, _TR,
850
+ 0, () => TagResourceInput$, () => TagResourceResponse$
851
+ ];
852
+ var UnlinkDeveloperIdentity$ = [9, n0, _UDI,
853
+ 0, () => UnlinkDeveloperIdentityInput$, () => __Unit
854
+ ];
855
+ var UnlinkIdentity$ = [9, n0, _UI,
856
+ 0, () => UnlinkIdentityInput$, () => __Unit
857
+ ];
858
+ var UntagResource$ = [9, n0, _UR,
859
+ 0, () => UntagResourceInput$, () => UntagResourceResponse$
860
+ ];
861
+ var UpdateIdentityPool$ = [9, n0, _UIP,
862
+ 0, () => IdentityPool$, () => IdentityPool$
863
+ ];
864
+
865
+ const getRuntimeConfig$1 = (config) => {
866
+ return {
867
+ apiVersion: "2014-06-30",
868
+ base64Decoder: config?.base64Decoder ?? fromBase64,
869
+ base64Encoder: config?.base64Encoder ?? toBase64,
870
+ disableHostPrefix: config?.disableHostPrefix ?? false,
871
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
872
+ extensions: config?.extensions ?? [],
873
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCognitoIdentityHttpAuthSchemeProvider,
874
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
875
+ {
876
+ schemeId: "aws.auth#sigv4",
877
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
878
+ signer: new AwsSdkSigV4Signer(),
879
+ },
880
+ {
881
+ schemeId: "smithy.api#noAuth",
882
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
883
+ signer: new NoAuthSigner(),
884
+ },
885
+ ],
886
+ logger: config?.logger ?? new NoOpLogger(),
887
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
888
+ protocolSettings: config?.protocolSettings ?? {
889
+ defaultNamespace: "com.amazonaws.cognitoidentity",
890
+ errorTypeRegistries,
891
+ xmlNamespace: "http://cognito-identity.amazonaws.com/doc/2014-06-30/",
892
+ version: "2014-06-30",
893
+ serviceTarget: "AWSCognitoIdentityService",
894
+ },
895
+ serviceId: config?.serviceId ?? "Cognito Identity",
896
+ urlParser: config?.urlParser ?? parseUrl,
897
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
898
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
899
+ };
900
+ };
901
+
902
+ const getRuntimeConfig = (config) => {
903
+ emitWarningIfUnsupportedVersion(process.version);
904
+ const defaultsMode = resolveDefaultsModeConfig(config);
905
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
906
+ const clientSharedValues = getRuntimeConfig$1(config);
907
+ emitWarningIfUnsupportedVersion$1(process.version);
908
+ const loaderConfig = {
909
+ profile: config?.profile,
910
+ logger: clientSharedValues.logger,
911
+ };
912
+ return {
913
+ ...clientSharedValues,
914
+ ...config,
915
+ runtime: "node",
916
+ defaultsMode,
917
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
918
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
919
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
920
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
921
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
922
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
923
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
924
+ retryMode: config?.retryMode ??
925
+ loadConfig({
926
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
927
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
928
+ }, config),
929
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
930
+ streamCollector: config?.streamCollector ?? streamCollector,
931
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
932
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
933
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
934
+ };
935
+ };
936
+
34
937
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
938
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
939
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -443,30 +1346,124 @@ const RoleMappingType = {
443
1346
  exports.AmbiguousRoleResolutionType = AmbiguousRoleResolutionType;
444
1347
  exports.CognitoIdentity = CognitoIdentity;
445
1348
  exports.CognitoIdentityClient = CognitoIdentityClient;
1349
+ exports.CognitoIdentityProvider$ = CognitoIdentityProvider$;
1350
+ exports.CognitoIdentityServiceException = CognitoIdentityServiceException;
1351
+ exports.CognitoIdentityServiceException$ = CognitoIdentityServiceException$;
1352
+ exports.ConcurrentModificationException = ConcurrentModificationException;
1353
+ exports.ConcurrentModificationException$ = ConcurrentModificationException$;
1354
+ exports.CreateIdentityPool$ = CreateIdentityPool$;
446
1355
  exports.CreateIdentityPoolCommand = CreateIdentityPoolCommand;
1356
+ exports.CreateIdentityPoolInput$ = CreateIdentityPoolInput$;
1357
+ exports.Credentials$ = Credentials$;
1358
+ exports.DeleteIdentities$ = DeleteIdentities$;
447
1359
  exports.DeleteIdentitiesCommand = DeleteIdentitiesCommand;
1360
+ exports.DeleteIdentitiesInput$ = DeleteIdentitiesInput$;
1361
+ exports.DeleteIdentitiesResponse$ = DeleteIdentitiesResponse$;
1362
+ exports.DeleteIdentityPool$ = DeleteIdentityPool$;
448
1363
  exports.DeleteIdentityPoolCommand = DeleteIdentityPoolCommand;
1364
+ exports.DeleteIdentityPoolInput$ = DeleteIdentityPoolInput$;
1365
+ exports.DescribeIdentity$ = DescribeIdentity$;
449
1366
  exports.DescribeIdentityCommand = DescribeIdentityCommand;
1367
+ exports.DescribeIdentityInput$ = DescribeIdentityInput$;
1368
+ exports.DescribeIdentityPool$ = DescribeIdentityPool$;
450
1369
  exports.DescribeIdentityPoolCommand = DescribeIdentityPoolCommand;
1370
+ exports.DescribeIdentityPoolInput$ = DescribeIdentityPoolInput$;
1371
+ exports.DeveloperUserAlreadyRegisteredException = DeveloperUserAlreadyRegisteredException;
1372
+ exports.DeveloperUserAlreadyRegisteredException$ = DeveloperUserAlreadyRegisteredException$;
451
1373
  exports.ErrorCode = ErrorCode;
1374
+ exports.ExternalServiceException = ExternalServiceException;
1375
+ exports.ExternalServiceException$ = ExternalServiceException$;
1376
+ exports.GetCredentialsForIdentity$ = GetCredentialsForIdentity$;
452
1377
  exports.GetCredentialsForIdentityCommand = GetCredentialsForIdentityCommand;
1378
+ exports.GetCredentialsForIdentityInput$ = GetCredentialsForIdentityInput$;
1379
+ exports.GetCredentialsForIdentityResponse$ = GetCredentialsForIdentityResponse$;
1380
+ exports.GetId$ = GetId$;
453
1381
  exports.GetIdCommand = GetIdCommand;
1382
+ exports.GetIdInput$ = GetIdInput$;
1383
+ exports.GetIdResponse$ = GetIdResponse$;
1384
+ exports.GetIdentityPoolRoles$ = GetIdentityPoolRoles$;
454
1385
  exports.GetIdentityPoolRolesCommand = GetIdentityPoolRolesCommand;
1386
+ exports.GetIdentityPoolRolesInput$ = GetIdentityPoolRolesInput$;
1387
+ exports.GetIdentityPoolRolesResponse$ = GetIdentityPoolRolesResponse$;
1388
+ exports.GetOpenIdToken$ = GetOpenIdToken$;
455
1389
  exports.GetOpenIdTokenCommand = GetOpenIdTokenCommand;
1390
+ exports.GetOpenIdTokenForDeveloperIdentity$ = GetOpenIdTokenForDeveloperIdentity$;
456
1391
  exports.GetOpenIdTokenForDeveloperIdentityCommand = GetOpenIdTokenForDeveloperIdentityCommand;
1392
+ exports.GetOpenIdTokenForDeveloperIdentityInput$ = GetOpenIdTokenForDeveloperIdentityInput$;
1393
+ exports.GetOpenIdTokenForDeveloperIdentityResponse$ = GetOpenIdTokenForDeveloperIdentityResponse$;
1394
+ exports.GetOpenIdTokenInput$ = GetOpenIdTokenInput$;
1395
+ exports.GetOpenIdTokenResponse$ = GetOpenIdTokenResponse$;
1396
+ exports.GetPrincipalTagAttributeMap$ = GetPrincipalTagAttributeMap$;
457
1397
  exports.GetPrincipalTagAttributeMapCommand = GetPrincipalTagAttributeMapCommand;
1398
+ exports.GetPrincipalTagAttributeMapInput$ = GetPrincipalTagAttributeMapInput$;
1399
+ exports.GetPrincipalTagAttributeMapResponse$ = GetPrincipalTagAttributeMapResponse$;
1400
+ exports.IdentityDescription$ = IdentityDescription$;
1401
+ exports.IdentityPool$ = IdentityPool$;
1402
+ exports.IdentityPoolShortDescription$ = IdentityPoolShortDescription$;
1403
+ exports.InternalErrorException = InternalErrorException;
1404
+ exports.InternalErrorException$ = InternalErrorException$;
1405
+ exports.InvalidIdentityPoolConfigurationException = InvalidIdentityPoolConfigurationException;
1406
+ exports.InvalidIdentityPoolConfigurationException$ = InvalidIdentityPoolConfigurationException$;
1407
+ exports.InvalidParameterException = InvalidParameterException;
1408
+ exports.InvalidParameterException$ = InvalidParameterException$;
1409
+ exports.LimitExceededException = LimitExceededException;
1410
+ exports.LimitExceededException$ = LimitExceededException$;
1411
+ exports.ListIdentities$ = ListIdentities$;
458
1412
  exports.ListIdentitiesCommand = ListIdentitiesCommand;
1413
+ exports.ListIdentitiesInput$ = ListIdentitiesInput$;
1414
+ exports.ListIdentitiesResponse$ = ListIdentitiesResponse$;
1415
+ exports.ListIdentityPools$ = ListIdentityPools$;
459
1416
  exports.ListIdentityPoolsCommand = ListIdentityPoolsCommand;
1417
+ exports.ListIdentityPoolsInput$ = ListIdentityPoolsInput$;
1418
+ exports.ListIdentityPoolsResponse$ = ListIdentityPoolsResponse$;
1419
+ exports.ListTagsForResource$ = ListTagsForResource$;
460
1420
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1421
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
1422
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1423
+ exports.LookupDeveloperIdentity$ = LookupDeveloperIdentity$;
461
1424
  exports.LookupDeveloperIdentityCommand = LookupDeveloperIdentityCommand;
1425
+ exports.LookupDeveloperIdentityInput$ = LookupDeveloperIdentityInput$;
1426
+ exports.LookupDeveloperIdentityResponse$ = LookupDeveloperIdentityResponse$;
1427
+ exports.MappingRule$ = MappingRule$;
462
1428
  exports.MappingRuleMatchType = MappingRuleMatchType;
1429
+ exports.MergeDeveloperIdentities$ = MergeDeveloperIdentities$;
463
1430
  exports.MergeDeveloperIdentitiesCommand = MergeDeveloperIdentitiesCommand;
1431
+ exports.MergeDeveloperIdentitiesInput$ = MergeDeveloperIdentitiesInput$;
1432
+ exports.MergeDeveloperIdentitiesResponse$ = MergeDeveloperIdentitiesResponse$;
1433
+ exports.NotAuthorizedException = NotAuthorizedException;
1434
+ exports.NotAuthorizedException$ = NotAuthorizedException$;
1435
+ exports.ResourceConflictException = ResourceConflictException;
1436
+ exports.ResourceConflictException$ = ResourceConflictException$;
1437
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1438
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1439
+ exports.RoleMapping$ = RoleMapping$;
464
1440
  exports.RoleMappingType = RoleMappingType;
1441
+ exports.RulesConfigurationType$ = RulesConfigurationType$;
1442
+ exports.SetIdentityPoolRoles$ = SetIdentityPoolRoles$;
465
1443
  exports.SetIdentityPoolRolesCommand = SetIdentityPoolRolesCommand;
1444
+ exports.SetIdentityPoolRolesInput$ = SetIdentityPoolRolesInput$;
1445
+ exports.SetPrincipalTagAttributeMap$ = SetPrincipalTagAttributeMap$;
466
1446
  exports.SetPrincipalTagAttributeMapCommand = SetPrincipalTagAttributeMapCommand;
1447
+ exports.SetPrincipalTagAttributeMapInput$ = SetPrincipalTagAttributeMapInput$;
1448
+ exports.SetPrincipalTagAttributeMapResponse$ = SetPrincipalTagAttributeMapResponse$;
1449
+ exports.TagResource$ = TagResource$;
467
1450
  exports.TagResourceCommand = TagResourceCommand;
1451
+ exports.TagResourceInput$ = TagResourceInput$;
1452
+ exports.TagResourceResponse$ = TagResourceResponse$;
1453
+ exports.TooManyRequestsException = TooManyRequestsException;
1454
+ exports.TooManyRequestsException$ = TooManyRequestsException$;
1455
+ exports.UnlinkDeveloperIdentity$ = UnlinkDeveloperIdentity$;
468
1456
  exports.UnlinkDeveloperIdentityCommand = UnlinkDeveloperIdentityCommand;
1457
+ exports.UnlinkDeveloperIdentityInput$ = UnlinkDeveloperIdentityInput$;
1458
+ exports.UnlinkIdentity$ = UnlinkIdentity$;
469
1459
  exports.UnlinkIdentityCommand = UnlinkIdentityCommand;
1460
+ exports.UnlinkIdentityInput$ = UnlinkIdentityInput$;
1461
+ exports.UnprocessedIdentityId$ = UnprocessedIdentityId$;
1462
+ exports.UntagResource$ = UntagResource$;
470
1463
  exports.UntagResourceCommand = UntagResourceCommand;
1464
+ exports.UntagResourceInput$ = UntagResourceInput$;
1465
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1466
+ exports.UpdateIdentityPool$ = UpdateIdentityPool$;
471
1467
  exports.UpdateIdentityPoolCommand = UpdateIdentityPoolCommand;
1468
+ exports.errorTypeRegistries = errorTypeRegistries;
472
1469
  exports.paginateListIdentityPools = paginateListIdentityPools;