cognito-identity-2014-06-30.min.json (10145B)
1 { 2 "version": "2.0", 3 "metadata": { 4 "apiVersion": "2014-06-30", 5 "endpointPrefix": "cognito-identity", 6 "jsonVersion": "1.1", 7 "protocol": "json", 8 "serviceFullName": "Amazon Cognito Identity", 9 "signatureVersion": "v4", 10 "targetPrefix": "AWSCognitoIdentityService" 11 }, 12 "operations": { 13 "CreateIdentityPool": { 14 "input": { 15 "type": "structure", 16 "required": [ 17 "IdentityPoolName", 18 "AllowUnauthenticatedIdentities" 19 ], 20 "members": { 21 "IdentityPoolName": {}, 22 "AllowUnauthenticatedIdentities": { 23 "type": "boolean" 24 }, 25 "SupportedLoginProviders": { 26 "shape": "S4" 27 }, 28 "DeveloperProviderName": {}, 29 "OpenIdConnectProviderARNs": { 30 "shape": "S8" 31 }, 32 "CognitoIdentityProviders": { 33 "shape": "Sa" 34 }, 35 "SamlProviderARNs": { 36 "shape": "Se" 37 } 38 } 39 }, 40 "output": { 41 "shape": "Sf" 42 } 43 }, 44 "DeleteIdentities": { 45 "input": { 46 "type": "structure", 47 "required": [ 48 "IdentityIdsToDelete" 49 ], 50 "members": { 51 "IdentityIdsToDelete": { 52 "type": "list", 53 "member": {} 54 } 55 } 56 }, 57 "output": { 58 "type": "structure", 59 "members": { 60 "UnprocessedIdentityIds": { 61 "type": "list", 62 "member": { 63 "type": "structure", 64 "members": { 65 "IdentityId": {}, 66 "ErrorCode": {} 67 } 68 } 69 } 70 } 71 } 72 }, 73 "DeleteIdentityPool": { 74 "input": { 75 "type": "structure", 76 "required": [ 77 "IdentityPoolId" 78 ], 79 "members": { 80 "IdentityPoolId": {} 81 } 82 } 83 }, 84 "DescribeIdentity": { 85 "input": { 86 "type": "structure", 87 "required": [ 88 "IdentityId" 89 ], 90 "members": { 91 "IdentityId": {} 92 } 93 }, 94 "output": { 95 "shape": "Sq" 96 } 97 }, 98 "DescribeIdentityPool": { 99 "input": { 100 "type": "structure", 101 "required": [ 102 "IdentityPoolId" 103 ], 104 "members": { 105 "IdentityPoolId": {} 106 } 107 }, 108 "output": { 109 "shape": "Sf" 110 } 111 }, 112 "GetCredentialsForIdentity": { 113 "input": { 114 "type": "structure", 115 "required": [ 116 "IdentityId" 117 ], 118 "members": { 119 "IdentityId": {}, 120 "Logins": { 121 "shape": "Sv" 122 }, 123 "CustomRoleArn": {} 124 } 125 }, 126 "output": { 127 "type": "structure", 128 "members": { 129 "IdentityId": {}, 130 "Credentials": { 131 "type": "structure", 132 "members": { 133 "AccessKeyId": {}, 134 "SecretKey": {}, 135 "SessionToken": {}, 136 "Expiration": { 137 "type": "timestamp" 138 } 139 } 140 } 141 } 142 } 143 }, 144 "GetId": { 145 "input": { 146 "type": "structure", 147 "required": [ 148 "IdentityPoolId" 149 ], 150 "members": { 151 "AccountId": {}, 152 "IdentityPoolId": {}, 153 "Logins": { 154 "shape": "Sv" 155 } 156 } 157 }, 158 "output": { 159 "type": "structure", 160 "members": { 161 "IdentityId": {} 162 } 163 } 164 }, 165 "GetIdentityPoolRoles": { 166 "input": { 167 "type": "structure", 168 "required": [ 169 "IdentityPoolId" 170 ], 171 "members": { 172 "IdentityPoolId": {} 173 } 174 }, 175 "output": { 176 "type": "structure", 177 "members": { 178 "IdentityPoolId": {}, 179 "Roles": { 180 "shape": "S17" 181 } 182 } 183 } 184 }, 185 "GetOpenIdToken": { 186 "input": { 187 "type": "structure", 188 "required": [ 189 "IdentityId" 190 ], 191 "members": { 192 "IdentityId": {}, 193 "Logins": { 194 "shape": "Sv" 195 } 196 } 197 }, 198 "output": { 199 "type": "structure", 200 "members": { 201 "IdentityId": {}, 202 "Token": {} 203 } 204 } 205 }, 206 "GetOpenIdTokenForDeveloperIdentity": { 207 "input": { 208 "type": "structure", 209 "required": [ 210 "IdentityPoolId", 211 "Logins" 212 ], 213 "members": { 214 "IdentityPoolId": {}, 215 "IdentityId": {}, 216 "Logins": { 217 "shape": "Sv" 218 }, 219 "TokenDuration": { 220 "type": "long" 221 } 222 } 223 }, 224 "output": { 225 "type": "structure", 226 "members": { 227 "IdentityId": {}, 228 "Token": {} 229 } 230 } 231 }, 232 "ListIdentities": { 233 "input": { 234 "type": "structure", 235 "required": [ 236 "IdentityPoolId", 237 "MaxResults" 238 ], 239 "members": { 240 "IdentityPoolId": {}, 241 "MaxResults": { 242 "type": "integer" 243 }, 244 "NextToken": {}, 245 "HideDisabled": { 246 "type": "boolean" 247 } 248 } 249 }, 250 "output": { 251 "type": "structure", 252 "members": { 253 "IdentityPoolId": {}, 254 "Identities": { 255 "type": "list", 256 "member": { 257 "shape": "Sq" 258 } 259 }, 260 "NextToken": {} 261 } 262 } 263 }, 264 "ListIdentityPools": { 265 "input": { 266 "type": "structure", 267 "required": [ 268 "MaxResults" 269 ], 270 "members": { 271 "MaxResults": { 272 "type": "integer" 273 }, 274 "NextToken": {} 275 } 276 }, 277 "output": { 278 "type": "structure", 279 "members": { 280 "IdentityPools": { 281 "type": "list", 282 "member": { 283 "type": "structure", 284 "members": { 285 "IdentityPoolId": {}, 286 "IdentityPoolName": {} 287 } 288 } 289 }, 290 "NextToken": {} 291 } 292 } 293 }, 294 "LookupDeveloperIdentity": { 295 "input": { 296 "type": "structure", 297 "required": [ 298 "IdentityPoolId" 299 ], 300 "members": { 301 "IdentityPoolId": {}, 302 "IdentityId": {}, 303 "DeveloperUserIdentifier": {}, 304 "MaxResults": { 305 "type": "integer" 306 }, 307 "NextToken": {} 308 } 309 }, 310 "output": { 311 "type": "structure", 312 "members": { 313 "IdentityId": {}, 314 "DeveloperUserIdentifierList": { 315 "type": "list", 316 "member": {} 317 }, 318 "NextToken": {} 319 } 320 } 321 }, 322 "MergeDeveloperIdentities": { 323 "input": { 324 "type": "structure", 325 "required": [ 326 "SourceUserIdentifier", 327 "DestinationUserIdentifier", 328 "DeveloperProviderName", 329 "IdentityPoolId" 330 ], 331 "members": { 332 "SourceUserIdentifier": {}, 333 "DestinationUserIdentifier": {}, 334 "DeveloperProviderName": {}, 335 "IdentityPoolId": {} 336 } 337 }, 338 "output": { 339 "type": "structure", 340 "members": { 341 "IdentityId": {} 342 } 343 } 344 }, 345 "SetIdentityPoolRoles": { 346 "input": { 347 "type": "structure", 348 "required": [ 349 "IdentityPoolId", 350 "Roles" 351 ], 352 "members": { 353 "IdentityPoolId": {}, 354 "Roles": { 355 "shape": "S17" 356 } 357 } 358 } 359 }, 360 "UnlinkDeveloperIdentity": { 361 "input": { 362 "type": "structure", 363 "required": [ 364 "IdentityId", 365 "IdentityPoolId", 366 "DeveloperProviderName", 367 "DeveloperUserIdentifier" 368 ], 369 "members": { 370 "IdentityId": {}, 371 "IdentityPoolId": {}, 372 "DeveloperProviderName": {}, 373 "DeveloperUserIdentifier": {} 374 } 375 } 376 }, 377 "UnlinkIdentity": { 378 "input": { 379 "type": "structure", 380 "required": [ 381 "IdentityId", 382 "Logins", 383 "LoginsToRemove" 384 ], 385 "members": { 386 "IdentityId": {}, 387 "Logins": { 388 "shape": "Sv" 389 }, 390 "LoginsToRemove": { 391 "shape": "Sr" 392 } 393 } 394 } 395 }, 396 "UpdateIdentityPool": { 397 "input": { 398 "shape": "Sf" 399 }, 400 "output": { 401 "shape": "Sf" 402 } 403 } 404 }, 405 "shapes": { 406 "S4": { 407 "type": "map", 408 "key": {}, 409 "value": {} 410 }, 411 "S8": { 412 "type": "list", 413 "member": {} 414 }, 415 "Sa": { 416 "type": "list", 417 "member": { 418 "type": "structure", 419 "members": { 420 "ProviderName": {}, 421 "ClientId": {} 422 } 423 } 424 }, 425 "Se": { 426 "type": "list", 427 "member": {} 428 }, 429 "Sf": { 430 "type": "structure", 431 "required": [ 432 "IdentityPoolId", 433 "IdentityPoolName", 434 "AllowUnauthenticatedIdentities" 435 ], 436 "members": { 437 "IdentityPoolId": {}, 438 "IdentityPoolName": {}, 439 "AllowUnauthenticatedIdentities": { 440 "type": "boolean" 441 }, 442 "SupportedLoginProviders": { 443 "shape": "S4" 444 }, 445 "DeveloperProviderName": {}, 446 "OpenIdConnectProviderARNs": { 447 "shape": "S8" 448 }, 449 "CognitoIdentityProviders": { 450 "shape": "Sa" 451 }, 452 "SamlProviderARNs": { 453 "shape": "Se" 454 } 455 } 456 }, 457 "Sq": { 458 "type": "structure", 459 "members": { 460 "IdentityId": {}, 461 "Logins": { 462 "shape": "Sr" 463 }, 464 "CreationDate": { 465 "type": "timestamp" 466 }, 467 "LastModifiedDate": { 468 "type": "timestamp" 469 } 470 } 471 }, 472 "Sr": { 473 "type": "list", 474 "member": {} 475 }, 476 "Sv": { 477 "type": "map", 478 "key": {}, 479 "value": {} 480 }, 481 "S17": { 482 "type": "map", 483 "key": {}, 484 "value": {} 485 } 486 } 487 }