@aws-sdk/client-cognito-identity 3.645.0 → 3.650.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.
Files changed (36) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +87 -75
  3. package/dist-es/commands/CreateIdentityPoolCommand.js +1 -3
  4. package/dist-es/commands/DeleteIdentitiesCommand.js +1 -3
  5. package/dist-es/commands/DeleteIdentityPoolCommand.js +1 -3
  6. package/dist-es/commands/DescribeIdentityCommand.js +1 -3
  7. package/dist-es/commands/DescribeIdentityPoolCommand.js +1 -3
  8. package/dist-es/commands/GetCredentialsForIdentityCommand.js +3 -4
  9. package/dist-es/commands/GetIdCommand.js +3 -4
  10. package/dist-es/commands/GetIdentityPoolRolesCommand.js +1 -3
  11. package/dist-es/commands/GetOpenIdTokenCommand.js +3 -4
  12. package/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +3 -4
  13. package/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +1 -3
  14. package/dist-es/commands/ListIdentitiesCommand.js +1 -3
  15. package/dist-es/commands/ListIdentityPoolsCommand.js +1 -3
  16. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  17. package/dist-es/commands/LookupDeveloperIdentityCommand.js +1 -3
  18. package/dist-es/commands/MergeDeveloperIdentitiesCommand.js +1 -3
  19. package/dist-es/commands/SetIdentityPoolRolesCommand.js +1 -3
  20. package/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +1 -3
  21. package/dist-es/commands/TagResourceCommand.js +1 -3
  22. package/dist-es/commands/UnlinkDeveloperIdentityCommand.js +1 -3
  23. package/dist-es/commands/UnlinkIdentityCommand.js +3 -4
  24. package/dist-es/commands/UntagResourceCommand.js +1 -3
  25. package/dist-es/commands/UpdateIdentityPoolCommand.js +1 -3
  26. package/dist-es/endpoint/endpointResolver.js +7 -3
  27. package/dist-es/models/models_0.js +37 -0
  28. package/dist-types/models/models_0.d.ts +36 -0
  29. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  30. package/dist-types/runtimeConfig.d.ts +2 -0
  31. package/dist-types/runtimeConfig.native.d.ts +2 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +23 -0
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  36. package/package.json +36 -36
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
5
  const util_endpoints_2 = require("@smithy/util-endpoints");
6
6
  const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
+ });
7
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
8
- return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
9
13
  endpointParams: endpointParams,
10
14
  logger: context.logger,
11
- });
15
+ }));
12
16
  };
13
17
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
18
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -27,6 +27,7 @@ __export(src_exports, {
27
27
  CognitoIdentityServiceException: () => CognitoIdentityServiceException,
28
28
  ConcurrentModificationException: () => ConcurrentModificationException,
29
29
  CreateIdentityPoolCommand: () => CreateIdentityPoolCommand,
30
+ CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,
30
31
  DeleteIdentitiesCommand: () => DeleteIdentitiesCommand,
31
32
  DeleteIdentityPoolCommand: () => DeleteIdentityPoolCommand,
32
33
  DescribeIdentityCommand: () => DescribeIdentityCommand,
@@ -35,10 +36,17 @@ __export(src_exports, {
35
36
  ErrorCode: () => ErrorCode,
36
37
  ExternalServiceException: () => ExternalServiceException,
37
38
  GetCredentialsForIdentityCommand: () => GetCredentialsForIdentityCommand,
39
+ GetCredentialsForIdentityInputFilterSensitiveLog: () => GetCredentialsForIdentityInputFilterSensitiveLog,
40
+ GetCredentialsForIdentityResponseFilterSensitiveLog: () => GetCredentialsForIdentityResponseFilterSensitiveLog,
38
41
  GetIdCommand: () => GetIdCommand,
42
+ GetIdInputFilterSensitiveLog: () => GetIdInputFilterSensitiveLog,
39
43
  GetIdentityPoolRolesCommand: () => GetIdentityPoolRolesCommand,
40
44
  GetOpenIdTokenCommand: () => GetOpenIdTokenCommand,
41
45
  GetOpenIdTokenForDeveloperIdentityCommand: () => GetOpenIdTokenForDeveloperIdentityCommand,
46
+ GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog: () => GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog,
47
+ GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog: () => GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog,
48
+ GetOpenIdTokenInputFilterSensitiveLog: () => GetOpenIdTokenInputFilterSensitiveLog,
49
+ GetOpenIdTokenResponseFilterSensitiveLog: () => GetOpenIdTokenResponseFilterSensitiveLog,
42
50
  GetPrincipalTagAttributeMapCommand: () => GetPrincipalTagAttributeMapCommand,
43
51
  InternalErrorException: () => InternalErrorException,
44
52
  InvalidIdentityPoolConfigurationException: () => InvalidIdentityPoolConfigurationException,
@@ -60,6 +68,7 @@ __export(src_exports, {
60
68
  TooManyRequestsException: () => TooManyRequestsException,
61
69
  UnlinkDeveloperIdentityCommand: () => UnlinkDeveloperIdentityCommand,
62
70
  UnlinkIdentityCommand: () => UnlinkIdentityCommand,
71
+ UnlinkIdentityInputFilterSensitiveLog: () => UnlinkIdentityInputFilterSensitiveLog,
63
72
  UntagResourceCommand: () => UntagResourceCommand,
64
73
  UpdateIdentityPoolCommand: () => UpdateIdentityPoolCommand,
65
74
  __Client: () => import_smithy_client.Client,
@@ -232,6 +241,7 @@ __name(_CognitoIdentityServiceException, "CognitoIdentityServiceException");
232
241
  var CognitoIdentityServiceException = _CognitoIdentityServiceException;
233
242
 
234
243
  // src/models/models_0.ts
244
+
235
245
  var AmbiguousRoleResolutionType = {
236
246
  AUTHENTICATED_ROLE: "AuthenticatedRole",
237
247
  DENY: "Deny"
@@ -437,6 +447,42 @@ var _ConcurrentModificationException = class _ConcurrentModificationException ex
437
447
  };
438
448
  __name(_ConcurrentModificationException, "ConcurrentModificationException");
439
449
  var ConcurrentModificationException = _ConcurrentModificationException;
450
+ var GetCredentialsForIdentityInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
451
+ ...obj,
452
+ ...obj.Logins && { Logins: import_smithy_client.SENSITIVE_STRING }
453
+ }), "GetCredentialsForIdentityInputFilterSensitiveLog");
454
+ var CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
455
+ ...obj,
456
+ ...obj.SecretKey && { SecretKey: import_smithy_client.SENSITIVE_STRING }
457
+ }), "CredentialsFilterSensitiveLog");
458
+ var GetCredentialsForIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
459
+ ...obj,
460
+ ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }
461
+ }), "GetCredentialsForIdentityResponseFilterSensitiveLog");
462
+ var GetIdInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
463
+ ...obj,
464
+ ...obj.Logins && { Logins: import_smithy_client.SENSITIVE_STRING }
465
+ }), "GetIdInputFilterSensitiveLog");
466
+ var GetOpenIdTokenInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
467
+ ...obj,
468
+ ...obj.Logins && { Logins: import_smithy_client.SENSITIVE_STRING }
469
+ }), "GetOpenIdTokenInputFilterSensitiveLog");
470
+ var GetOpenIdTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
471
+ ...obj,
472
+ ...obj.Token && { Token: import_smithy_client.SENSITIVE_STRING }
473
+ }), "GetOpenIdTokenResponseFilterSensitiveLog");
474
+ var GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
475
+ ...obj,
476
+ ...obj.Logins && { Logins: import_smithy_client.SENSITIVE_STRING }
477
+ }), "GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog");
478
+ var GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
479
+ ...obj,
480
+ ...obj.Token && { Token: import_smithy_client.SENSITIVE_STRING }
481
+ }), "GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog");
482
+ var UnlinkIdentityInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
483
+ ...obj,
484
+ ...obj.Logins && { Logins: import_smithy_client.SENSITIVE_STRING }
485
+ }), "UnlinkIdentityInputFilterSensitiveLog");
440
486
 
441
487
  // src/protocols/Aws_json1_1.ts
442
488
  var se_CreateIdentityPoolCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1081,9 +1127,7 @@ function sharedHeaders(operation) {
1081
1127
  __name(sharedHeaders, "sharedHeaders");
1082
1128
 
1083
1129
  // src/commands/CreateIdentityPoolCommand.ts
1084
- var _CreateIdentityPoolCommand = class _CreateIdentityPoolCommand extends import_smithy_client.Command.classBuilder().ep({
1085
- ...commonParams
1086
- }).m(function(Command, cs, config, o) {
1130
+ var _CreateIdentityPoolCommand = class _CreateIdentityPoolCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1087
1131
  return [
1088
1132
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1089
1133
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1097,9 +1141,7 @@ var CreateIdentityPoolCommand = _CreateIdentityPoolCommand;
1097
1141
 
1098
1142
 
1099
1143
 
1100
- var _DeleteIdentitiesCommand = class _DeleteIdentitiesCommand extends import_smithy_client.Command.classBuilder().ep({
1101
- ...commonParams
1102
- }).m(function(Command, cs, config, o) {
1144
+ var _DeleteIdentitiesCommand = class _DeleteIdentitiesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1103
1145
  return [
1104
1146
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1105
1147
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1113,9 +1155,7 @@ var DeleteIdentitiesCommand = _DeleteIdentitiesCommand;
1113
1155
 
1114
1156
 
1115
1157
 
1116
- var _DeleteIdentityPoolCommand = class _DeleteIdentityPoolCommand extends import_smithy_client.Command.classBuilder().ep({
1117
- ...commonParams
1118
- }).m(function(Command, cs, config, o) {
1158
+ var _DeleteIdentityPoolCommand = class _DeleteIdentityPoolCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1119
1159
  return [
1120
1160
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1121
1161
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1129,9 +1169,7 @@ var DeleteIdentityPoolCommand = _DeleteIdentityPoolCommand;
1129
1169
 
1130
1170
 
1131
1171
 
1132
- var _DescribeIdentityCommand = class _DescribeIdentityCommand extends import_smithy_client.Command.classBuilder().ep({
1133
- ...commonParams
1134
- }).m(function(Command, cs, config, o) {
1172
+ var _DescribeIdentityCommand = class _DescribeIdentityCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1135
1173
  return [
1136
1174
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1137
1175
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1145,9 +1183,7 @@ var DescribeIdentityCommand = _DescribeIdentityCommand;
1145
1183
 
1146
1184
 
1147
1185
 
1148
- var _DescribeIdentityPoolCommand = class _DescribeIdentityPoolCommand extends import_smithy_client.Command.classBuilder().ep({
1149
- ...commonParams
1150
- }).m(function(Command, cs, config, o) {
1186
+ var _DescribeIdentityPoolCommand = class _DescribeIdentityPoolCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1151
1187
  return [
1152
1188
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1153
1189
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1161,14 +1197,12 @@ var DescribeIdentityPoolCommand = _DescribeIdentityPoolCommand;
1161
1197
 
1162
1198
 
1163
1199
 
1164
- var _GetCredentialsForIdentityCommand = class _GetCredentialsForIdentityCommand extends import_smithy_client.Command.classBuilder().ep({
1165
- ...commonParams
1166
- }).m(function(Command, cs, config, o) {
1200
+ var _GetCredentialsForIdentityCommand = class _GetCredentialsForIdentityCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1167
1201
  return [
1168
1202
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1169
1203
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1170
1204
  ];
1171
- }).s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {}).n("CognitoIdentityClient", "GetCredentialsForIdentityCommand").f(void 0, void 0).ser(se_GetCredentialsForIdentityCommand).de(de_GetCredentialsForIdentityCommand).build() {
1205
+ }).s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {}).n("CognitoIdentityClient", "GetCredentialsForIdentityCommand").f(GetCredentialsForIdentityInputFilterSensitiveLog, GetCredentialsForIdentityResponseFilterSensitiveLog).ser(se_GetCredentialsForIdentityCommand).de(de_GetCredentialsForIdentityCommand).build() {
1172
1206
  };
1173
1207
  __name(_GetCredentialsForIdentityCommand, "GetCredentialsForIdentityCommand");
1174
1208
  var GetCredentialsForIdentityCommand = _GetCredentialsForIdentityCommand;
@@ -1177,14 +1211,12 @@ var GetCredentialsForIdentityCommand = _GetCredentialsForIdentityCommand;
1177
1211
 
1178
1212
 
1179
1213
 
1180
- var _GetIdCommand = class _GetIdCommand extends import_smithy_client.Command.classBuilder().ep({
1181
- ...commonParams
1182
- }).m(function(Command, cs, config, o) {
1214
+ var _GetIdCommand = class _GetIdCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1183
1215
  return [
1184
1216
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1185
1217
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1186
1218
  ];
1187
- }).s("AWSCognitoIdentityService", "GetId", {}).n("CognitoIdentityClient", "GetIdCommand").f(void 0, void 0).ser(se_GetIdCommand).de(de_GetIdCommand).build() {
1219
+ }).s("AWSCognitoIdentityService", "GetId", {}).n("CognitoIdentityClient", "GetIdCommand").f(GetIdInputFilterSensitiveLog, void 0).ser(se_GetIdCommand).de(de_GetIdCommand).build() {
1188
1220
  };
1189
1221
  __name(_GetIdCommand, "GetIdCommand");
1190
1222
  var GetIdCommand = _GetIdCommand;
@@ -1193,9 +1225,7 @@ var GetIdCommand = _GetIdCommand;
1193
1225
 
1194
1226
 
1195
1227
 
1196
- var _GetIdentityPoolRolesCommand = class _GetIdentityPoolRolesCommand extends import_smithy_client.Command.classBuilder().ep({
1197
- ...commonParams
1198
- }).m(function(Command, cs, config, o) {
1228
+ var _GetIdentityPoolRolesCommand = class _GetIdentityPoolRolesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1199
1229
  return [
1200
1230
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1201
1231
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1209,14 +1239,12 @@ var GetIdentityPoolRolesCommand = _GetIdentityPoolRolesCommand;
1209
1239
 
1210
1240
 
1211
1241
 
1212
- var _GetOpenIdTokenCommand = class _GetOpenIdTokenCommand extends import_smithy_client.Command.classBuilder().ep({
1213
- ...commonParams
1214
- }).m(function(Command, cs, config, o) {
1242
+ var _GetOpenIdTokenCommand = class _GetOpenIdTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1215
1243
  return [
1216
1244
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1217
1245
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1218
1246
  ];
1219
- }).s("AWSCognitoIdentityService", "GetOpenIdToken", {}).n("CognitoIdentityClient", "GetOpenIdTokenCommand").f(void 0, void 0).ser(se_GetOpenIdTokenCommand).de(de_GetOpenIdTokenCommand).build() {
1247
+ }).s("AWSCognitoIdentityService", "GetOpenIdToken", {}).n("CognitoIdentityClient", "GetOpenIdTokenCommand").f(GetOpenIdTokenInputFilterSensitiveLog, GetOpenIdTokenResponseFilterSensitiveLog).ser(se_GetOpenIdTokenCommand).de(de_GetOpenIdTokenCommand).build() {
1220
1248
  };
1221
1249
  __name(_GetOpenIdTokenCommand, "GetOpenIdTokenCommand");
1222
1250
  var GetOpenIdTokenCommand = _GetOpenIdTokenCommand;
@@ -1225,14 +1253,15 @@ var GetOpenIdTokenCommand = _GetOpenIdTokenCommand;
1225
1253
 
1226
1254
 
1227
1255
 
1228
- var _GetOpenIdTokenForDeveloperIdentityCommand = class _GetOpenIdTokenForDeveloperIdentityCommand extends import_smithy_client.Command.classBuilder().ep({
1229
- ...commonParams
1230
- }).m(function(Command, cs, config, o) {
1256
+ var _GetOpenIdTokenForDeveloperIdentityCommand = class _GetOpenIdTokenForDeveloperIdentityCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1231
1257
  return [
1232
1258
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1233
1259
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1234
1260
  ];
1235
- }).s("AWSCognitoIdentityService", "GetOpenIdTokenForDeveloperIdentity", {}).n("CognitoIdentityClient", "GetOpenIdTokenForDeveloperIdentityCommand").f(void 0, void 0).ser(se_GetOpenIdTokenForDeveloperIdentityCommand).de(de_GetOpenIdTokenForDeveloperIdentityCommand).build() {
1261
+ }).s("AWSCognitoIdentityService", "GetOpenIdTokenForDeveloperIdentity", {}).n("CognitoIdentityClient", "GetOpenIdTokenForDeveloperIdentityCommand").f(
1262
+ GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog,
1263
+ GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog
1264
+ ).ser(se_GetOpenIdTokenForDeveloperIdentityCommand).de(de_GetOpenIdTokenForDeveloperIdentityCommand).build() {
1236
1265
  };
1237
1266
  __name(_GetOpenIdTokenForDeveloperIdentityCommand, "GetOpenIdTokenForDeveloperIdentityCommand");
1238
1267
  var GetOpenIdTokenForDeveloperIdentityCommand = _GetOpenIdTokenForDeveloperIdentityCommand;
@@ -1241,9 +1270,7 @@ var GetOpenIdTokenForDeveloperIdentityCommand = _GetOpenIdTokenForDeveloperIdent
1241
1270
 
1242
1271
 
1243
1272
 
1244
- var _GetPrincipalTagAttributeMapCommand = class _GetPrincipalTagAttributeMapCommand extends import_smithy_client.Command.classBuilder().ep({
1245
- ...commonParams
1246
- }).m(function(Command, cs, config, o) {
1273
+ var _GetPrincipalTagAttributeMapCommand = class _GetPrincipalTagAttributeMapCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1247
1274
  return [
1248
1275
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1249
1276
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1257,9 +1284,7 @@ var GetPrincipalTagAttributeMapCommand = _GetPrincipalTagAttributeMapCommand;
1257
1284
 
1258
1285
 
1259
1286
 
1260
- var _ListIdentitiesCommand = class _ListIdentitiesCommand extends import_smithy_client.Command.classBuilder().ep({
1261
- ...commonParams
1262
- }).m(function(Command, cs, config, o) {
1287
+ var _ListIdentitiesCommand = class _ListIdentitiesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1263
1288
  return [
1264
1289
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1265
1290
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1273,9 +1298,7 @@ var ListIdentitiesCommand = _ListIdentitiesCommand;
1273
1298
 
1274
1299
 
1275
1300
 
1276
- var _ListIdentityPoolsCommand = class _ListIdentityPoolsCommand extends import_smithy_client.Command.classBuilder().ep({
1277
- ...commonParams
1278
- }).m(function(Command, cs, config, o) {
1301
+ var _ListIdentityPoolsCommand = class _ListIdentityPoolsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1279
1302
  return [
1280
1303
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1281
1304
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1289,9 +1312,7 @@ var ListIdentityPoolsCommand = _ListIdentityPoolsCommand;
1289
1312
 
1290
1313
 
1291
1314
 
1292
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1293
- ...commonParams
1294
- }).m(function(Command, cs, config, o) {
1315
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1295
1316
  return [
1296
1317
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1297
1318
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1305,9 +1326,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1305
1326
 
1306
1327
 
1307
1328
 
1308
- var _LookupDeveloperIdentityCommand = class _LookupDeveloperIdentityCommand extends import_smithy_client.Command.classBuilder().ep({
1309
- ...commonParams
1310
- }).m(function(Command, cs, config, o) {
1329
+ var _LookupDeveloperIdentityCommand = class _LookupDeveloperIdentityCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1311
1330
  return [
1312
1331
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1313
1332
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1321,9 +1340,7 @@ var LookupDeveloperIdentityCommand = _LookupDeveloperIdentityCommand;
1321
1340
 
1322
1341
 
1323
1342
 
1324
- var _MergeDeveloperIdentitiesCommand = class _MergeDeveloperIdentitiesCommand extends import_smithy_client.Command.classBuilder().ep({
1325
- ...commonParams
1326
- }).m(function(Command, cs, config, o) {
1343
+ var _MergeDeveloperIdentitiesCommand = class _MergeDeveloperIdentitiesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1327
1344
  return [
1328
1345
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1329
1346
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1337,9 +1354,7 @@ var MergeDeveloperIdentitiesCommand = _MergeDeveloperIdentitiesCommand;
1337
1354
 
1338
1355
 
1339
1356
 
1340
- var _SetIdentityPoolRolesCommand = class _SetIdentityPoolRolesCommand extends import_smithy_client.Command.classBuilder().ep({
1341
- ...commonParams
1342
- }).m(function(Command, cs, config, o) {
1357
+ var _SetIdentityPoolRolesCommand = class _SetIdentityPoolRolesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1343
1358
  return [
1344
1359
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1345
1360
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1353,9 +1368,7 @@ var SetIdentityPoolRolesCommand = _SetIdentityPoolRolesCommand;
1353
1368
 
1354
1369
 
1355
1370
 
1356
- var _SetPrincipalTagAttributeMapCommand = class _SetPrincipalTagAttributeMapCommand extends import_smithy_client.Command.classBuilder().ep({
1357
- ...commonParams
1358
- }).m(function(Command, cs, config, o) {
1371
+ var _SetPrincipalTagAttributeMapCommand = class _SetPrincipalTagAttributeMapCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1359
1372
  return [
1360
1373
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1361
1374
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1369,9 +1382,7 @@ var SetPrincipalTagAttributeMapCommand = _SetPrincipalTagAttributeMapCommand;
1369
1382
 
1370
1383
 
1371
1384
 
1372
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1373
- ...commonParams
1374
- }).m(function(Command, cs, config, o) {
1385
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1375
1386
  return [
1376
1387
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1377
1388
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1385,9 +1396,7 @@ var TagResourceCommand = _TagResourceCommand;
1385
1396
 
1386
1397
 
1387
1398
 
1388
- var _UnlinkDeveloperIdentityCommand = class _UnlinkDeveloperIdentityCommand extends import_smithy_client.Command.classBuilder().ep({
1389
- ...commonParams
1390
- }).m(function(Command, cs, config, o) {
1399
+ var _UnlinkDeveloperIdentityCommand = class _UnlinkDeveloperIdentityCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1391
1400
  return [
1392
1401
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1393
1402
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1401,14 +1410,12 @@ var UnlinkDeveloperIdentityCommand = _UnlinkDeveloperIdentityCommand;
1401
1410
 
1402
1411
 
1403
1412
 
1404
- var _UnlinkIdentityCommand = class _UnlinkIdentityCommand extends import_smithy_client.Command.classBuilder().ep({
1405
- ...commonParams
1406
- }).m(function(Command, cs, config, o) {
1413
+ var _UnlinkIdentityCommand = class _UnlinkIdentityCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1407
1414
  return [
1408
1415
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1409
1416
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1410
1417
  ];
1411
- }).s("AWSCognitoIdentityService", "UnlinkIdentity", {}).n("CognitoIdentityClient", "UnlinkIdentityCommand").f(void 0, void 0).ser(se_UnlinkIdentityCommand).de(de_UnlinkIdentityCommand).build() {
1418
+ }).s("AWSCognitoIdentityService", "UnlinkIdentity", {}).n("CognitoIdentityClient", "UnlinkIdentityCommand").f(UnlinkIdentityInputFilterSensitiveLog, void 0).ser(se_UnlinkIdentityCommand).de(de_UnlinkIdentityCommand).build() {
1412
1419
  };
1413
1420
  __name(_UnlinkIdentityCommand, "UnlinkIdentityCommand");
1414
1421
  var UnlinkIdentityCommand = _UnlinkIdentityCommand;
@@ -1417,9 +1424,7 @@ var UnlinkIdentityCommand = _UnlinkIdentityCommand;
1417
1424
 
1418
1425
 
1419
1426
 
1420
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1421
- ...commonParams
1422
- }).m(function(Command, cs, config, o) {
1427
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1423
1428
  return [
1424
1429
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1425
1430
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1433,9 +1438,7 @@ var UntagResourceCommand = _UntagResourceCommand;
1433
1438
 
1434
1439
 
1435
1440
 
1436
- var _UpdateIdentityPoolCommand = class _UpdateIdentityPoolCommand extends import_smithy_client.Command.classBuilder().ep({
1437
- ...commonParams
1438
- }).m(function(Command, cs, config, o) {
1441
+ var _UpdateIdentityPoolCommand = class _UpdateIdentityPoolCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1439
1442
  return [
1440
1443
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1441
1444
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1526,6 +1529,15 @@ var paginateListIdentityPools = (0, import_core.createPaginator)(CognitoIdentity
1526
1529
  MappingRuleMatchType,
1527
1530
  RoleMappingType,
1528
1531
  DeveloperUserAlreadyRegisteredException,
1529
- ConcurrentModificationException
1532
+ ConcurrentModificationException,
1533
+ GetCredentialsForIdentityInputFilterSensitiveLog,
1534
+ CredentialsFilterSensitiveLog,
1535
+ GetCredentialsForIdentityResponseFilterSensitiveLog,
1536
+ GetIdInputFilterSensitiveLog,
1537
+ GetOpenIdTokenInputFilterSensitiveLog,
1538
+ GetOpenIdTokenResponseFilterSensitiveLog,
1539
+ GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog,
1540
+ GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog,
1541
+ UnlinkIdentityInputFilterSensitiveLog
1530
1542
  });
1531
1543
 
@@ -6,9 +6,7 @@ import { de_CreateIdentityPoolCommand, se_CreateIdentityPoolCommand } from "../p
6
6
  export { $Command };
7
7
  export class CreateIdentityPoolCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteIdentitiesCommand, se_DeleteIdentitiesCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DeleteIdentitiesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteIdentityPoolCommand, se_DeleteIdentityPoolCommand } from "../p
6
6
  export { $Command };
7
7
  export class DeleteIdentityPoolCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeIdentityCommand, se_DescribeIdentityCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DescribeIdentityCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeIdentityPoolCommand, se_DescribeIdentityPoolCommand } from "
6
6
  export { $Command };
7
7
  export class DescribeIdentityPoolCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -2,13 +2,12 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetCredentialsForIdentityInputFilterSensitiveLog, GetCredentialsForIdentityResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_GetCredentialsForIdentityCommand, se_GetCredentialsForIdentityCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class GetCredentialsForIdentityCommand extends $Command
8
9
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
10
+ .ep(commonParams)
12
11
  .m(function (Command, cs, config, o) {
13
12
  return [
14
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -17,7 +16,7 @@ export class GetCredentialsForIdentityCommand extends $Command
17
16
  })
18
17
  .s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {})
19
18
  .n("CognitoIdentityClient", "GetCredentialsForIdentityCommand")
20
- .f(void 0, void 0)
19
+ .f(GetCredentialsForIdentityInputFilterSensitiveLog, GetCredentialsForIdentityResponseFilterSensitiveLog)
21
20
  .ser(se_GetCredentialsForIdentityCommand)
22
21
  .de(de_GetCredentialsForIdentityCommand)
23
22
  .build() {
@@ -2,13 +2,12 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetIdInputFilterSensitiveLog } from "../models/models_0";
5
6
  import { de_GetIdCommand, se_GetIdCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class GetIdCommand extends $Command
8
9
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
10
+ .ep(commonParams)
12
11
  .m(function (Command, cs, config, o) {
13
12
  return [
14
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -17,7 +16,7 @@ export class GetIdCommand extends $Command
17
16
  })
18
17
  .s("AWSCognitoIdentityService", "GetId", {})
19
18
  .n("CognitoIdentityClient", "GetIdCommand")
20
- .f(void 0, void 0)
19
+ .f(GetIdInputFilterSensitiveLog, void 0)
21
20
  .ser(se_GetIdCommand)
22
21
  .de(de_GetIdCommand)
23
22
  .build() {
@@ -6,9 +6,7 @@ import { de_GetIdentityPoolRolesCommand, se_GetIdentityPoolRolesCommand } from "
6
6
  export { $Command };
7
7
  export class GetIdentityPoolRolesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -2,13 +2,12 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetOpenIdTokenInputFilterSensitiveLog, GetOpenIdTokenResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_GetOpenIdTokenCommand, se_GetOpenIdTokenCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class GetOpenIdTokenCommand extends $Command
8
9
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
10
+ .ep(commonParams)
12
11
  .m(function (Command, cs, config, o) {
13
12
  return [
14
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -17,7 +16,7 @@ export class GetOpenIdTokenCommand extends $Command
17
16
  })
18
17
  .s("AWSCognitoIdentityService", "GetOpenIdToken", {})
19
18
  .n("CognitoIdentityClient", "GetOpenIdTokenCommand")
20
- .f(void 0, void 0)
19
+ .f(GetOpenIdTokenInputFilterSensitiveLog, GetOpenIdTokenResponseFilterSensitiveLog)
21
20
  .ser(se_GetOpenIdTokenCommand)
22
21
  .de(de_GetOpenIdTokenCommand)
23
22
  .build() {
@@ -2,13 +2,12 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog, GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_GetOpenIdTokenForDeveloperIdentityCommand, se_GetOpenIdTokenForDeveloperIdentityCommand, } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command
8
9
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
10
+ .ep(commonParams)
12
11
  .m(function (Command, cs, config, o) {
13
12
  return [
14
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -17,7 +16,7 @@ export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command
17
16
  })
18
17
  .s("AWSCognitoIdentityService", "GetOpenIdTokenForDeveloperIdentity", {})
19
18
  .n("CognitoIdentityClient", "GetOpenIdTokenForDeveloperIdentityCommand")
20
- .f(void 0, void 0)
19
+ .f(GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog, GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog)
21
20
  .ser(se_GetOpenIdTokenForDeveloperIdentityCommand)
22
21
  .de(de_GetOpenIdTokenForDeveloperIdentityCommand)
23
22
  .build() {
@@ -6,9 +6,7 @@ import { de_GetPrincipalTagAttributeMapCommand, se_GetPrincipalTagAttributeMapCo
6
6
  export { $Command };
7
7
  export class GetPrincipalTagAttributeMapCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListIdentitiesCommand, se_ListIdentitiesCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListIdentitiesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListIdentityPoolsCommand, se_ListIdentityPoolsCommand } from "../pro
6
6
  export { $Command };
7
7
  export class ListIdentityPoolsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_LookupDeveloperIdentityCommand, se_LookupDeveloperIdentityCommand }
6
6
  export { $Command };
7
7
  export class LookupDeveloperIdentityCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_MergeDeveloperIdentitiesCommand, se_MergeDeveloperIdentitiesCommand
6
6
  export { $Command };
7
7
  export class MergeDeveloperIdentitiesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_SetIdentityPoolRolesCommand, se_SetIdentityPoolRolesCommand } from "
6
6
  export { $Command };
7
7
  export class SetIdentityPoolRolesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_SetPrincipalTagAttributeMapCommand, se_SetPrincipalTagAttributeMapCo
6
6
  export { $Command };
7
7
  export class SetPrincipalTagAttributeMapCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UnlinkDeveloperIdentityCommand, se_UnlinkDeveloperIdentityCommand }
6
6
  export { $Command };
7
7
  export class UnlinkDeveloperIdentityCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -2,13 +2,12 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UnlinkIdentityInputFilterSensitiveLog } from "../models/models_0";
5
6
  import { de_UnlinkIdentityCommand, se_UnlinkIdentityCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class UnlinkIdentityCommand extends $Command
8
9
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
10
+ .ep(commonParams)
12
11
  .m(function (Command, cs, config, o) {
13
12
  return [
14
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -17,7 +16,7 @@ export class UnlinkIdentityCommand extends $Command
17
16
  })
18
17
  .s("AWSCognitoIdentityService", "UnlinkIdentity", {})
19
18
  .n("CognitoIdentityClient", "UnlinkIdentityCommand")
20
- .f(void 0, void 0)
19
+ .f(UnlinkIdentityInputFilterSensitiveLog, void 0)
21
20
  .ser(se_UnlinkIdentityCommand)
22
21
  .de(de_UnlinkIdentityCommand)
23
22
  .build() {
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateIdentityPoolCommand, se_UpdateIdentityPoolCommand } from "../p
6
6
  export { $Command };
7
7
  export class UpdateIdentityPoolCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
@@ -1,3 +1,4 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
1
2
  import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException";
2
3
  export const AmbiguousRoleResolutionType = {
3
4
  AUTHENTICATED_ROLE: "AuthenticatedRole",
@@ -149,3 +150,39 @@ export class ConcurrentModificationException extends __BaseException {
149
150
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
150
151
  }
151
152
  }
153
+ export const GetCredentialsForIdentityInputFilterSensitiveLog = (obj) => ({
154
+ ...obj,
155
+ ...(obj.Logins && { Logins: SENSITIVE_STRING }),
156
+ });
157
+ export const CredentialsFilterSensitiveLog = (obj) => ({
158
+ ...obj,
159
+ ...(obj.SecretKey && { SecretKey: SENSITIVE_STRING }),
160
+ });
161
+ export const GetCredentialsForIdentityResponseFilterSensitiveLog = (obj) => ({
162
+ ...obj,
163
+ ...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
164
+ });
165
+ export const GetIdInputFilterSensitiveLog = (obj) => ({
166
+ ...obj,
167
+ ...(obj.Logins && { Logins: SENSITIVE_STRING }),
168
+ });
169
+ export const GetOpenIdTokenInputFilterSensitiveLog = (obj) => ({
170
+ ...obj,
171
+ ...(obj.Logins && { Logins: SENSITIVE_STRING }),
172
+ });
173
+ export const GetOpenIdTokenResponseFilterSensitiveLog = (obj) => ({
174
+ ...obj,
175
+ ...(obj.Token && { Token: SENSITIVE_STRING }),
176
+ });
177
+ export const GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog = (obj) => ({
178
+ ...obj,
179
+ ...(obj.Logins && { Logins: SENSITIVE_STRING }),
180
+ });
181
+ export const GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog = (obj) => ({
182
+ ...obj,
183
+ ...(obj.Token && { Token: SENSITIVE_STRING }),
184
+ });
185
+ export const UnlinkIdentityInputFilterSensitiveLog = (obj) => ({
186
+ ...obj,
187
+ ...(obj.Logins && { Logins: SENSITIVE_STRING }),
188
+ });
@@ -1214,3 +1214,39 @@ export interface UntagResourceInput {
1214
1214
  */
1215
1215
  export interface UntagResourceResponse {
1216
1216
  }
1217
+ /**
1218
+ * @internal
1219
+ */
1220
+ export declare const GetCredentialsForIdentityInputFilterSensitiveLog: (obj: GetCredentialsForIdentityInput) => any;
1221
+ /**
1222
+ * @internal
1223
+ */
1224
+ export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
1225
+ /**
1226
+ * @internal
1227
+ */
1228
+ export declare const GetCredentialsForIdentityResponseFilterSensitiveLog: (obj: GetCredentialsForIdentityResponse) => any;
1229
+ /**
1230
+ * @internal
1231
+ */
1232
+ export declare const GetIdInputFilterSensitiveLog: (obj: GetIdInput) => any;
1233
+ /**
1234
+ * @internal
1235
+ */
1236
+ export declare const GetOpenIdTokenInputFilterSensitiveLog: (obj: GetOpenIdTokenInput) => any;
1237
+ /**
1238
+ * @internal
1239
+ */
1240
+ export declare const GetOpenIdTokenResponseFilterSensitiveLog: (obj: GetOpenIdTokenResponse) => any;
1241
+ /**
1242
+ * @internal
1243
+ */
1244
+ export declare const GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog: (obj: GetOpenIdTokenForDeveloperIdentityInput) => any;
1245
+ /**
1246
+ * @internal
1247
+ */
1248
+ export declare const GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog: (obj: GetOpenIdTokenForDeveloperIdentityResponse) => any;
1249
+ /**
1250
+ * @internal
1251
+ */
1252
+ export declare const UnlinkIdentityInputFilterSensitiveLog: (obj: UnlinkIdentityInput) => any;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
38
40
  schemeId: string;
39
41
  identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
38
40
  schemeId: string;
39
41
  identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
10
11
  urlParser: import("@smithy/types").UrlParser;
11
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
13
  streamCollector: import("@smithy/types").StreamCollector;
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
33
34
  logger?: import("@smithy/types").Logger | undefined;
34
35
  }) => import("@smithy/types").EndpointV2;
35
36
  tls?: boolean | undefined;
37
+ serviceConfiguredEndpoint?: undefined;
36
38
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
37
39
  schemeId: string;
38
40
  identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
@@ -326,3 +326,26 @@ export interface UntagResourceInput {
326
326
  TagKeys: string[] | undefined;
327
327
  }
328
328
  export interface UntagResourceResponse {}
329
+ export declare const GetCredentialsForIdentityInputFilterSensitiveLog: (
330
+ obj: GetCredentialsForIdentityInput
331
+ ) => any;
332
+ export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
333
+ export declare const GetCredentialsForIdentityResponseFilterSensitiveLog: (
334
+ obj: GetCredentialsForIdentityResponse
335
+ ) => any;
336
+ export declare const GetIdInputFilterSensitiveLog: (obj: GetIdInput) => any;
337
+ export declare const GetOpenIdTokenInputFilterSensitiveLog: (
338
+ obj: GetOpenIdTokenInput
339
+ ) => any;
340
+ export declare const GetOpenIdTokenResponseFilterSensitiveLog: (
341
+ obj: GetOpenIdTokenResponse
342
+ ) => any;
343
+ export declare const GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog: (
344
+ obj: GetOpenIdTokenForDeveloperIdentityInput
345
+ ) => any;
346
+ export declare const GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog: (
347
+ obj: GetOpenIdTokenForDeveloperIdentityResponse
348
+ ) => any;
349
+ export declare const UnlinkIdentityInputFilterSensitiveLog: (
350
+ obj: UnlinkIdentityInput
351
+ ) => any;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (
25
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  apiVersion: string;
28
+ cacheMiddleware?: boolean | undefined;
28
29
  urlParser: import("@smithy/types").UrlParser;
29
30
  base64Decoder: import("@smithy/types").Decoder;
30
31
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -63,6 +64,7 @@ export declare const getRuntimeConfig: (
63
64
  }
64
65
  ) => import("@smithy/types").EndpointV2;
65
66
  tls?: boolean | undefined;
67
+ serviceConfiguredEndpoint?: undefined;
66
68
  httpAuthSchemes:
67
69
  | import("@smithy/types").HttpAuthScheme[]
68
70
  | (
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (
29
29
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
31
  apiVersion: string;
32
+ cacheMiddleware?: boolean | undefined;
32
33
  urlParser: import("@smithy/types").UrlParser;
33
34
  base64Decoder: import("@smithy/types").Decoder;
34
35
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -67,6 +68,7 @@ export declare const getRuntimeConfig: (
67
68
  }
68
69
  ) => import("@smithy/types").EndpointV2;
69
70
  tls?: boolean | undefined;
71
+ serviceConfiguredEndpoint?: undefined;
70
72
  httpAuthSchemes:
71
73
  | import("@smithy/types").HttpAuthScheme[]
72
74
  | (
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
+ cacheMiddleware?: boolean | undefined;
14
15
  urlParser: import("@smithy/types").UrlParser;
15
16
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -57,6 +58,7 @@ export declare const getRuntimeConfig: (
57
58
  }
58
59
  ) => import("@smithy/types").EndpointV2;
59
60
  tls?: boolean | undefined;
61
+ serviceConfiguredEndpoint?: undefined;
60
62
  httpAuthSchemes:
61
63
  | import("@smithy/types").HttpAuthScheme[]
62
64
  | (
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native",
4
- "version": "3.645.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cognito-identity",
@@ -21,48 +21,48 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/client-sso-oidc": "3.645.0",
25
- "@aws-sdk/client-sts": "3.645.0",
26
- "@aws-sdk/core": "3.635.0",
27
- "@aws-sdk/credential-provider-node": "3.645.0",
28
- "@aws-sdk/middleware-host-header": "3.620.0",
29
- "@aws-sdk/middleware-logger": "3.609.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
31
- "@aws-sdk/middleware-user-agent": "3.645.0",
32
- "@aws-sdk/region-config-resolver": "3.614.0",
33
- "@aws-sdk/types": "3.609.0",
34
- "@aws-sdk/util-endpoints": "3.645.0",
35
- "@aws-sdk/util-user-agent-browser": "3.609.0",
36
- "@aws-sdk/util-user-agent-node": "3.614.0",
37
- "@smithy/config-resolver": "^3.0.5",
38
- "@smithy/core": "^2.4.0",
39
- "@smithy/fetch-http-handler": "^3.2.4",
40
- "@smithy/hash-node": "^3.0.3",
41
- "@smithy/invalid-dependency": "^3.0.3",
42
- "@smithy/middleware-content-length": "^3.0.5",
43
- "@smithy/middleware-endpoint": "^3.1.0",
44
- "@smithy/middleware-retry": "^3.0.15",
45
- "@smithy/middleware-serde": "^3.0.3",
46
- "@smithy/middleware-stack": "^3.0.3",
47
- "@smithy/node-config-provider": "^3.1.4",
48
- "@smithy/node-http-handler": "^3.1.4",
49
- "@smithy/protocol-http": "^4.1.0",
50
- "@smithy/smithy-client": "^3.2.0",
51
- "@smithy/types": "^3.3.0",
52
- "@smithy/url-parser": "^3.0.3",
24
+ "@aws-sdk/client-sso-oidc": "3.650.0",
25
+ "@aws-sdk/client-sts": "3.650.0",
26
+ "@aws-sdk/core": "3.649.0",
27
+ "@aws-sdk/credential-provider-node": "3.650.0",
28
+ "@aws-sdk/middleware-host-header": "3.649.0",
29
+ "@aws-sdk/middleware-logger": "3.649.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.649.0",
31
+ "@aws-sdk/middleware-user-agent": "3.649.0",
32
+ "@aws-sdk/region-config-resolver": "3.649.0",
33
+ "@aws-sdk/types": "3.649.0",
34
+ "@aws-sdk/util-endpoints": "3.649.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.649.0",
36
+ "@aws-sdk/util-user-agent-node": "3.649.0",
37
+ "@smithy/config-resolver": "^3.0.6",
38
+ "@smithy/core": "^2.4.1",
39
+ "@smithy/fetch-http-handler": "^3.2.5",
40
+ "@smithy/hash-node": "^3.0.4",
41
+ "@smithy/invalid-dependency": "^3.0.4",
42
+ "@smithy/middleware-content-length": "^3.0.6",
43
+ "@smithy/middleware-endpoint": "^3.1.1",
44
+ "@smithy/middleware-retry": "^3.0.16",
45
+ "@smithy/middleware-serde": "^3.0.4",
46
+ "@smithy/middleware-stack": "^3.0.4",
47
+ "@smithy/node-config-provider": "^3.1.5",
48
+ "@smithy/node-http-handler": "^3.2.0",
49
+ "@smithy/protocol-http": "^4.1.1",
50
+ "@smithy/smithy-client": "^3.3.0",
51
+ "@smithy/types": "^3.4.0",
52
+ "@smithy/url-parser": "^3.0.4",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.15",
57
- "@smithy/util-defaults-mode-node": "^3.0.15",
58
- "@smithy/util-endpoints": "^2.0.5",
59
- "@smithy/util-middleware": "^3.0.3",
60
- "@smithy/util-retry": "^3.0.3",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.16",
57
+ "@smithy/util-defaults-mode-node": "^3.0.16",
58
+ "@smithy/util-endpoints": "^2.1.0",
59
+ "@smithy/util-middleware": "^3.0.4",
60
+ "@smithy/util-retry": "^3.0.4",
61
61
  "@smithy/util-utf8": "^3.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@aws-sdk/client-iam": "3.645.0",
65
+ "@aws-sdk/client-iam": "3.650.0",
66
66
  "@tsconfig/node16": "16.1.3",
67
67
  "@types/chai": "^4.2.11",
68
68
  "@types/mocha": "^8.0.4",