@aws-sdk/client-cognito-identity 3.1077.0 → 3.1079.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 (77) hide show
  1. package/dist-cjs/index.js +31 -233
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateIdentityPoolCommand.js +2 -14
  4. package/dist-es/commands/DeleteIdentitiesCommand.js +2 -14
  5. package/dist-es/commands/DeleteIdentityPoolCommand.js +2 -14
  6. package/dist-es/commands/DescribeIdentityCommand.js +2 -14
  7. package/dist-es/commands/DescribeIdentityPoolCommand.js +2 -14
  8. package/dist-es/commands/GetCredentialsForIdentityCommand.js +2 -14
  9. package/dist-es/commands/GetIdCommand.js +2 -14
  10. package/dist-es/commands/GetIdentityPoolRolesCommand.js +2 -14
  11. package/dist-es/commands/GetOpenIdTokenCommand.js +2 -14
  12. package/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +2 -14
  13. package/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +2 -14
  14. package/dist-es/commands/ListIdentitiesCommand.js +2 -14
  15. package/dist-es/commands/ListIdentityPoolsCommand.js +2 -14
  16. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  17. package/dist-es/commands/LookupDeveloperIdentityCommand.js +2 -14
  18. package/dist-es/commands/MergeDeveloperIdentitiesCommand.js +2 -14
  19. package/dist-es/commands/SetIdentityPoolRolesCommand.js +2 -14
  20. package/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +2 -14
  21. package/dist-es/commands/TagResourceCommand.js +2 -14
  22. package/dist-es/commands/UnlinkDeveloperIdentityCommand.js +2 -14
  23. package/dist-es/commands/UnlinkIdentityCommand.js +2 -14
  24. package/dist-es/commands/UntagResourceCommand.js +2 -14
  25. package/dist-es/commands/UpdateIdentityPoolCommand.js +2 -14
  26. package/dist-es/index.js +1 -0
  27. package/dist-types/commandBuilder.d.ts +18 -0
  28. package/dist-types/commands/CreateIdentityPoolCommand.d.ts +3 -8
  29. package/dist-types/commands/DeleteIdentitiesCommand.d.ts +3 -8
  30. package/dist-types/commands/DeleteIdentityPoolCommand.d.ts +3 -8
  31. package/dist-types/commands/DescribeIdentityCommand.d.ts +3 -8
  32. package/dist-types/commands/DescribeIdentityPoolCommand.d.ts +3 -8
  33. package/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +3 -8
  34. package/dist-types/commands/GetIdCommand.d.ts +3 -8
  35. package/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +3 -8
  36. package/dist-types/commands/GetOpenIdTokenCommand.d.ts +3 -8
  37. package/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +3 -8
  38. package/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +3 -8
  39. package/dist-types/commands/ListIdentitiesCommand.d.ts +3 -8
  40. package/dist-types/commands/ListIdentityPoolsCommand.d.ts +3 -8
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  42. package/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +3 -8
  43. package/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +3 -8
  44. package/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +3 -8
  45. package/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +3 -8
  46. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  47. package/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +3 -8
  48. package/dist-types/commands/UnlinkIdentityCommand.d.ts +3 -8
  49. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  50. package/dist-types/commands/UpdateIdentityPoolCommand.d.ts +3 -8
  51. package/dist-types/index.d.ts +1 -0
  52. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  53. package/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/GetIdCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/index.d.ts +1 -0
  77. package/package.json +10 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
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
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");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  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
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -93,7 +94,7 @@ const commonParams = {
93
94
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
94
95
  };
95
96
 
96
- var version = "3.1076.0";
97
+ var version = "3.1078.0";
97
98
  var packageInfo = {
98
99
  version: version};
99
100
 
@@ -1015,280 +1016,77 @@ class CognitoIdentityClient extends Client {
1015
1016
  }
1016
1017
  }
1017
1018
 
1018
- class CreateIdentityPoolCommand extends Command
1019
- .classBuilder()
1020
- .ep(commonParams)
1021
- .m(function (Command, cs, config, o) {
1022
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1023
- })
1024
- .s("AWSCognitoIdentityService", "CreateIdentityPool", {})
1025
- .n("CognitoIdentityClient", "CreateIdentityPoolCommand")
1026
- .sc(CreateIdentityPool$)
1027
- .build() {
1019
+ const command = makeBuilder(commonParams, "AWSCognitoIdentityService", "CognitoIdentityClient", getEndpointPlugin);
1020
+ const _ep0 = {};
1021
+ const _mw0 = (Command, cs, config, o) => [];
1022
+
1023
+ class CreateIdentityPoolCommand extends command(_ep0, _mw0, "CreateIdentityPool", CreateIdentityPool$) {
1028
1024
  }
1029
1025
 
1030
- class DeleteIdentitiesCommand extends Command
1031
- .classBuilder()
1032
- .ep(commonParams)
1033
- .m(function (Command, cs, config, o) {
1034
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1035
- })
1036
- .s("AWSCognitoIdentityService", "DeleteIdentities", {})
1037
- .n("CognitoIdentityClient", "DeleteIdentitiesCommand")
1038
- .sc(DeleteIdentities$)
1039
- .build() {
1026
+ class DeleteIdentitiesCommand extends command(_ep0, _mw0, "DeleteIdentities", DeleteIdentities$) {
1040
1027
  }
1041
1028
 
1042
- class DeleteIdentityPoolCommand extends Command
1043
- .classBuilder()
1044
- .ep(commonParams)
1045
- .m(function (Command, cs, config, o) {
1046
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1047
- })
1048
- .s("AWSCognitoIdentityService", "DeleteIdentityPool", {})
1049
- .n("CognitoIdentityClient", "DeleteIdentityPoolCommand")
1050
- .sc(DeleteIdentityPool$)
1051
- .build() {
1029
+ class DeleteIdentityPoolCommand extends command(_ep0, _mw0, "DeleteIdentityPool", DeleteIdentityPool$) {
1052
1030
  }
1053
1031
 
1054
- class DescribeIdentityCommand extends Command
1055
- .classBuilder()
1056
- .ep(commonParams)
1057
- .m(function (Command, cs, config, o) {
1058
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1059
- })
1060
- .s("AWSCognitoIdentityService", "DescribeIdentity", {})
1061
- .n("CognitoIdentityClient", "DescribeIdentityCommand")
1062
- .sc(DescribeIdentity$)
1063
- .build() {
1032
+ class DescribeIdentityCommand extends command(_ep0, _mw0, "DescribeIdentity", DescribeIdentity$) {
1064
1033
  }
1065
1034
 
1066
- class DescribeIdentityPoolCommand extends Command
1067
- .classBuilder()
1068
- .ep(commonParams)
1069
- .m(function (Command, cs, config, o) {
1070
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1071
- })
1072
- .s("AWSCognitoIdentityService", "DescribeIdentityPool", {})
1073
- .n("CognitoIdentityClient", "DescribeIdentityPoolCommand")
1074
- .sc(DescribeIdentityPool$)
1075
- .build() {
1035
+ class DescribeIdentityPoolCommand extends command(_ep0, _mw0, "DescribeIdentityPool", DescribeIdentityPool$) {
1076
1036
  }
1077
1037
 
1078
- class GetCredentialsForIdentityCommand extends Command
1079
- .classBuilder()
1080
- .ep(commonParams)
1081
- .m(function (Command, cs, config, o) {
1082
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1083
- })
1084
- .s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {})
1085
- .n("CognitoIdentityClient", "GetCredentialsForIdentityCommand")
1086
- .sc(GetCredentialsForIdentity$)
1087
- .build() {
1038
+ class GetCredentialsForIdentityCommand extends command(_ep0, _mw0, "GetCredentialsForIdentity", GetCredentialsForIdentity$) {
1088
1039
  }
1089
1040
 
1090
- class GetIdCommand extends Command
1091
- .classBuilder()
1092
- .ep(commonParams)
1093
- .m(function (Command, cs, config, o) {
1094
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1095
- })
1096
- .s("AWSCognitoIdentityService", "GetId", {})
1097
- .n("CognitoIdentityClient", "GetIdCommand")
1098
- .sc(GetId$)
1099
- .build() {
1041
+ class GetIdCommand extends command(_ep0, _mw0, "GetId", GetId$) {
1100
1042
  }
1101
1043
 
1102
- class GetIdentityPoolRolesCommand extends Command
1103
- .classBuilder()
1104
- .ep(commonParams)
1105
- .m(function (Command, cs, config, o) {
1106
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1107
- })
1108
- .s("AWSCognitoIdentityService", "GetIdentityPoolRoles", {})
1109
- .n("CognitoIdentityClient", "GetIdentityPoolRolesCommand")
1110
- .sc(GetIdentityPoolRoles$)
1111
- .build() {
1044
+ class GetIdentityPoolRolesCommand extends command(_ep0, _mw0, "GetIdentityPoolRoles", GetIdentityPoolRoles$) {
1112
1045
  }
1113
1046
 
1114
- class GetOpenIdTokenCommand extends Command
1115
- .classBuilder()
1116
- .ep(commonParams)
1117
- .m(function (Command, cs, config, o) {
1118
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1119
- })
1120
- .s("AWSCognitoIdentityService", "GetOpenIdToken", {})
1121
- .n("CognitoIdentityClient", "GetOpenIdTokenCommand")
1122
- .sc(GetOpenIdToken$)
1123
- .build() {
1047
+ class GetOpenIdTokenCommand extends command(_ep0, _mw0, "GetOpenIdToken", GetOpenIdToken$) {
1124
1048
  }
1125
1049
 
1126
- class GetOpenIdTokenForDeveloperIdentityCommand extends Command
1127
- .classBuilder()
1128
- .ep(commonParams)
1129
- .m(function (Command, cs, config, o) {
1130
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1131
- })
1132
- .s("AWSCognitoIdentityService", "GetOpenIdTokenForDeveloperIdentity", {})
1133
- .n("CognitoIdentityClient", "GetOpenIdTokenForDeveloperIdentityCommand")
1134
- .sc(GetOpenIdTokenForDeveloperIdentity$)
1135
- .build() {
1050
+ class GetOpenIdTokenForDeveloperIdentityCommand extends command(_ep0, _mw0, "GetOpenIdTokenForDeveloperIdentity", GetOpenIdTokenForDeveloperIdentity$) {
1136
1051
  }
1137
1052
 
1138
- class GetPrincipalTagAttributeMapCommand extends Command
1139
- .classBuilder()
1140
- .ep(commonParams)
1141
- .m(function (Command, cs, config, o) {
1142
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1143
- })
1144
- .s("AWSCognitoIdentityService", "GetPrincipalTagAttributeMap", {})
1145
- .n("CognitoIdentityClient", "GetPrincipalTagAttributeMapCommand")
1146
- .sc(GetPrincipalTagAttributeMap$)
1147
- .build() {
1053
+ class GetPrincipalTagAttributeMapCommand extends command(_ep0, _mw0, "GetPrincipalTagAttributeMap", GetPrincipalTagAttributeMap$) {
1148
1054
  }
1149
1055
 
1150
- class ListIdentitiesCommand extends Command
1151
- .classBuilder()
1152
- .ep(commonParams)
1153
- .m(function (Command, cs, config, o) {
1154
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1155
- })
1156
- .s("AWSCognitoIdentityService", "ListIdentities", {})
1157
- .n("CognitoIdentityClient", "ListIdentitiesCommand")
1158
- .sc(ListIdentities$)
1159
- .build() {
1056
+ class ListIdentitiesCommand extends command(_ep0, _mw0, "ListIdentities", ListIdentities$) {
1160
1057
  }
1161
1058
 
1162
- class ListIdentityPoolsCommand extends Command
1163
- .classBuilder()
1164
- .ep(commonParams)
1165
- .m(function (Command, cs, config, o) {
1166
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1167
- })
1168
- .s("AWSCognitoIdentityService", "ListIdentityPools", {})
1169
- .n("CognitoIdentityClient", "ListIdentityPoolsCommand")
1170
- .sc(ListIdentityPools$)
1171
- .build() {
1059
+ class ListIdentityPoolsCommand extends command(_ep0, _mw0, "ListIdentityPools", ListIdentityPools$) {
1172
1060
  }
1173
1061
 
1174
- class ListTagsForResourceCommand extends Command
1175
- .classBuilder()
1176
- .ep(commonParams)
1177
- .m(function (Command, cs, config, o) {
1178
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1179
- })
1180
- .s("AWSCognitoIdentityService", "ListTagsForResource", {})
1181
- .n("CognitoIdentityClient", "ListTagsForResourceCommand")
1182
- .sc(ListTagsForResource$)
1183
- .build() {
1062
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1184
1063
  }
1185
1064
 
1186
- class LookupDeveloperIdentityCommand extends Command
1187
- .classBuilder()
1188
- .ep(commonParams)
1189
- .m(function (Command, cs, config, o) {
1190
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1191
- })
1192
- .s("AWSCognitoIdentityService", "LookupDeveloperIdentity", {})
1193
- .n("CognitoIdentityClient", "LookupDeveloperIdentityCommand")
1194
- .sc(LookupDeveloperIdentity$)
1195
- .build() {
1065
+ class LookupDeveloperIdentityCommand extends command(_ep0, _mw0, "LookupDeveloperIdentity", LookupDeveloperIdentity$) {
1196
1066
  }
1197
1067
 
1198
- class MergeDeveloperIdentitiesCommand extends Command
1199
- .classBuilder()
1200
- .ep(commonParams)
1201
- .m(function (Command, cs, config, o) {
1202
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1203
- })
1204
- .s("AWSCognitoIdentityService", "MergeDeveloperIdentities", {})
1205
- .n("CognitoIdentityClient", "MergeDeveloperIdentitiesCommand")
1206
- .sc(MergeDeveloperIdentities$)
1207
- .build() {
1068
+ class MergeDeveloperIdentitiesCommand extends command(_ep0, _mw0, "MergeDeveloperIdentities", MergeDeveloperIdentities$) {
1208
1069
  }
1209
1070
 
1210
- class SetIdentityPoolRolesCommand extends Command
1211
- .classBuilder()
1212
- .ep(commonParams)
1213
- .m(function (Command, cs, config, o) {
1214
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1215
- })
1216
- .s("AWSCognitoIdentityService", "SetIdentityPoolRoles", {})
1217
- .n("CognitoIdentityClient", "SetIdentityPoolRolesCommand")
1218
- .sc(SetIdentityPoolRoles$)
1219
- .build() {
1071
+ class SetIdentityPoolRolesCommand extends command(_ep0, _mw0, "SetIdentityPoolRoles", SetIdentityPoolRoles$) {
1220
1072
  }
1221
1073
 
1222
- class SetPrincipalTagAttributeMapCommand extends Command
1223
- .classBuilder()
1224
- .ep(commonParams)
1225
- .m(function (Command, cs, config, o) {
1226
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1227
- })
1228
- .s("AWSCognitoIdentityService", "SetPrincipalTagAttributeMap", {})
1229
- .n("CognitoIdentityClient", "SetPrincipalTagAttributeMapCommand")
1230
- .sc(SetPrincipalTagAttributeMap$)
1231
- .build() {
1074
+ class SetPrincipalTagAttributeMapCommand extends command(_ep0, _mw0, "SetPrincipalTagAttributeMap", SetPrincipalTagAttributeMap$) {
1232
1075
  }
1233
1076
 
1234
- class TagResourceCommand extends Command
1235
- .classBuilder()
1236
- .ep(commonParams)
1237
- .m(function (Command, cs, config, o) {
1238
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1239
- })
1240
- .s("AWSCognitoIdentityService", "TagResource", {})
1241
- .n("CognitoIdentityClient", "TagResourceCommand")
1242
- .sc(TagResource$)
1243
- .build() {
1077
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1244
1078
  }
1245
1079
 
1246
- class UnlinkDeveloperIdentityCommand extends Command
1247
- .classBuilder()
1248
- .ep(commonParams)
1249
- .m(function (Command, cs, config, o) {
1250
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1251
- })
1252
- .s("AWSCognitoIdentityService", "UnlinkDeveloperIdentity", {})
1253
- .n("CognitoIdentityClient", "UnlinkDeveloperIdentityCommand")
1254
- .sc(UnlinkDeveloperIdentity$)
1255
- .build() {
1080
+ class UnlinkDeveloperIdentityCommand extends command(_ep0, _mw0, "UnlinkDeveloperIdentity", UnlinkDeveloperIdentity$) {
1256
1081
  }
1257
1082
 
1258
- class UnlinkIdentityCommand extends Command
1259
- .classBuilder()
1260
- .ep(commonParams)
1261
- .m(function (Command, cs, config, o) {
1262
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1263
- })
1264
- .s("AWSCognitoIdentityService", "UnlinkIdentity", {})
1265
- .n("CognitoIdentityClient", "UnlinkIdentityCommand")
1266
- .sc(UnlinkIdentity$)
1267
- .build() {
1083
+ class UnlinkIdentityCommand extends command(_ep0, _mw0, "UnlinkIdentity", UnlinkIdentity$) {
1268
1084
  }
1269
1085
 
1270
- class UntagResourceCommand extends Command
1271
- .classBuilder()
1272
- .ep(commonParams)
1273
- .m(function (Command, cs, config, o) {
1274
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1275
- })
1276
- .s("AWSCognitoIdentityService", "UntagResource", {})
1277
- .n("CognitoIdentityClient", "UntagResourceCommand")
1278
- .sc(UntagResource$)
1279
- .build() {
1086
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1280
1087
  }
1281
1088
 
1282
- class UpdateIdentityPoolCommand extends Command
1283
- .classBuilder()
1284
- .ep(commonParams)
1285
- .m(function (Command, cs, config, o) {
1286
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1287
- })
1288
- .s("AWSCognitoIdentityService", "UpdateIdentityPool", {})
1289
- .n("CognitoIdentityClient", "UpdateIdentityPoolCommand")
1290
- .sc(UpdateIdentityPool$)
1291
- .build() {
1089
+ class UpdateIdentityPoolCommand extends command(_ep0, _mw0, "UpdateIdentityPool", UpdateIdentityPool$) {
1292
1090
  }
1293
1091
 
1294
1092
  const paginateListIdentityPools = createPaginator(CognitoIdentityClient, ListIdentityPoolsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSCognitoIdentityService", "CognitoIdentityClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateIdentityPool$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateIdentityPoolCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "CreateIdentityPool", {})
13
- .n("CognitoIdentityClient", "CreateIdentityPoolCommand")
14
- .sc(CreateIdentityPool$)
15
- .build() {
3
+ export class CreateIdentityPoolCommand extends command(_ep0, _mw0, "CreateIdentityPool", CreateIdentityPool$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteIdentities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteIdentitiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "DeleteIdentities", {})
13
- .n("CognitoIdentityClient", "DeleteIdentitiesCommand")
14
- .sc(DeleteIdentities$)
15
- .build() {
3
+ export class DeleteIdentitiesCommand extends command(_ep0, _mw0, "DeleteIdentities", DeleteIdentities$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteIdentityPool$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteIdentityPoolCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "DeleteIdentityPool", {})
13
- .n("CognitoIdentityClient", "DeleteIdentityPoolCommand")
14
- .sc(DeleteIdentityPool$)
15
- .build() {
3
+ export class DeleteIdentityPoolCommand extends command(_ep0, _mw0, "DeleteIdentityPool", DeleteIdentityPool$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeIdentity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeIdentityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "DescribeIdentity", {})
13
- .n("CognitoIdentityClient", "DescribeIdentityCommand")
14
- .sc(DescribeIdentity$)
15
- .build() {
3
+ export class DescribeIdentityCommand extends command(_ep0, _mw0, "DescribeIdentity", DescribeIdentity$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeIdentityPool$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeIdentityPoolCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "DescribeIdentityPool", {})
13
- .n("CognitoIdentityClient", "DescribeIdentityPoolCommand")
14
- .sc(DescribeIdentityPool$)
15
- .build() {
3
+ export class DescribeIdentityPoolCommand extends command(_ep0, _mw0, "DescribeIdentityPool", DescribeIdentityPool$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetCredentialsForIdentity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCredentialsForIdentityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {})
13
- .n("CognitoIdentityClient", "GetCredentialsForIdentityCommand")
14
- .sc(GetCredentialsForIdentity$)
15
- .build() {
3
+ export class GetCredentialsForIdentityCommand extends command(_ep0, _mw0, "GetCredentialsForIdentity", GetCredentialsForIdentity$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetId$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetIdCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "GetId", {})
13
- .n("CognitoIdentityClient", "GetIdCommand")
14
- .sc(GetId$)
15
- .build() {
3
+ export class GetIdCommand extends command(_ep0, _mw0, "GetId", GetId$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetIdentityPoolRoles$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetIdentityPoolRolesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "GetIdentityPoolRoles", {})
13
- .n("CognitoIdentityClient", "GetIdentityPoolRolesCommand")
14
- .sc(GetIdentityPoolRoles$)
15
- .build() {
3
+ export class GetIdentityPoolRolesCommand extends command(_ep0, _mw0, "GetIdentityPoolRoles", GetIdentityPoolRoles$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetOpenIdToken$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetOpenIdTokenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "GetOpenIdToken", {})
13
- .n("CognitoIdentityClient", "GetOpenIdTokenCommand")
14
- .sc(GetOpenIdToken$)
15
- .build() {
3
+ export class GetOpenIdTokenCommand extends command(_ep0, _mw0, "GetOpenIdToken", GetOpenIdToken$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetOpenIdTokenForDeveloperIdentity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "GetOpenIdTokenForDeveloperIdentity", {})
13
- .n("CognitoIdentityClient", "GetOpenIdTokenForDeveloperIdentityCommand")
14
- .sc(GetOpenIdTokenForDeveloperIdentity$)
15
- .build() {
3
+ export class GetOpenIdTokenForDeveloperIdentityCommand extends command(_ep0, _mw0, "GetOpenIdTokenForDeveloperIdentity", GetOpenIdTokenForDeveloperIdentity$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetPrincipalTagAttributeMap$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPrincipalTagAttributeMapCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "GetPrincipalTagAttributeMap", {})
13
- .n("CognitoIdentityClient", "GetPrincipalTagAttributeMapCommand")
14
- .sc(GetPrincipalTagAttributeMap$)
15
- .build() {
3
+ export class GetPrincipalTagAttributeMapCommand extends command(_ep0, _mw0, "GetPrincipalTagAttributeMap", GetPrincipalTagAttributeMap$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListIdentities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListIdentitiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "ListIdentities", {})
13
- .n("CognitoIdentityClient", "ListIdentitiesCommand")
14
- .sc(ListIdentities$)
15
- .build() {
3
+ export class ListIdentitiesCommand extends command(_ep0, _mw0, "ListIdentities", ListIdentities$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListIdentityPools$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListIdentityPoolsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "ListIdentityPools", {})
13
- .n("CognitoIdentityClient", "ListIdentityPoolsCommand")
14
- .sc(ListIdentityPools$)
15
- .build() {
3
+ export class ListIdentityPoolsCommand extends command(_ep0, _mw0, "ListIdentityPools", ListIdentityPools$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "ListTagsForResource", {})
13
- .n("CognitoIdentityClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { LookupDeveloperIdentity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class LookupDeveloperIdentityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSCognitoIdentityService", "LookupDeveloperIdentity", {})
13
- .n("CognitoIdentityClient", "LookupDeveloperIdentityCommand")
14
- .sc(LookupDeveloperIdentity$)
15
- .build() {
3
+ export class LookupDeveloperIdentityCommand extends command(_ep0, _mw0, "LookupDeveloperIdentity", LookupDeveloperIdentity$) {
16
4
  }