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