{ "version": "2.0", "metadata": { "apiVersion": "2014-06-30", "endpointPrefix": "cognito-identity", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "Amazon Cognito Identity", "serviceId": "Cognito Identity", "signatureVersion": "v4", "targetPrefix": "AWSCognitoIdentityService", "uid": "cognito-identity-2014-06-30" }, "operations": { "CreateIdentityPool": { "input": { "type": "structure", "required": [ "IdentityPoolName", "AllowUnauthenticatedIdentities" ], "members": { "IdentityPoolName": {}, "AllowUnauthenticatedIdentities": { "type": "boolean" }, "SupportedLoginProviders": { "shape": "S4" }, "DeveloperProviderName": {}, "OpenIdConnectProviderARNs": { "shape": "S8" }, "CognitoIdentityProviders": { "shape": "Sa" }, "SamlProviderARNs": { "shape": "Sf" }, "IdentityPoolTags": { "shape": "Sg" } } }, "output": { "shape": "Sj" } }, "DeleteIdentities": { "input": { "type": "structure", "required": [ "IdentityIdsToDelete" ], "members": { "IdentityIdsToDelete": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "UnprocessedIdentityIds": { "type": "list", "member": { "type": "structure", "members": { "IdentityId": {}, "ErrorCode": {} } } } } } }, "DeleteIdentityPool": { "input": { "type": "structure", "required": [ "IdentityPoolId" ], "members": { "IdentityPoolId": {} } } }, "DescribeIdentity": { "input": { "type": "structure", "required": [ "IdentityId" ], "members": { "IdentityId": {} } }, "output": { "shape": "Su" } }, "DescribeIdentityPool": { "input": { "type": "structure", "required": [ "IdentityPoolId" ], "members": { "IdentityPoolId": {} } }, "output": { "shape": "Sj" } }, "GetCredentialsForIdentity": { "input": { "type": "structure", "required": [ "IdentityId" ], "members": { "IdentityId": {}, "Logins": { "shape": "Sz" }, "CustomRoleArn": {} } }, "output": { "type": "structure", "members": { "IdentityId": {}, "Credentials": { "type": "structure", "members": { "AccessKeyId": {}, "SecretKey": {}, "SessionToken": {}, "Expiration": { "type": "timestamp" } } } } } }, "GetId": { "input": { "type": "structure", "required": [ "IdentityPoolId" ], "members": { "AccountId": {}, "IdentityPoolId": {}, "Logins": { "shape": "Sz" } } }, "output": { "type": "structure", "members": { "IdentityId": {} } } }, "GetIdentityPoolRoles": { "input": { "type": "structure", "required": [ "IdentityPoolId" ], "members": { "IdentityPoolId": {} } }, "output": { "type": "structure", "members": { "IdentityPoolId": {}, "Roles": { "shape": "S1b" }, "RoleMappings": { "shape": "S1d" } } } }, "GetOpenIdToken": { "input": { "type": "structure", "required": [ "IdentityId" ], "members": { "IdentityId": {}, "Logins": { "shape": "Sz" } } }, "output": { "type": "structure", "members": { "IdentityId": {}, "Token": {} } } }, "GetOpenIdTokenForDeveloperIdentity": { "input": { "type": "structure", "required": [ "IdentityPoolId", "Logins" ], "members": { "IdentityPoolId": {}, "IdentityId": {}, "Logins": { "shape": "Sz" }, "TokenDuration": { "type": "long" } } }, "output": { "type": "structure", "members": { "IdentityId": {}, "Token": {} } } }, "ListIdentities": { "input": { "type": "structure", "required": [ "IdentityPoolId", "MaxResults" ], "members": { "IdentityPoolId": {}, "MaxResults": { "type": "integer" }, "NextToken": {}, "HideDisabled": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "IdentityPoolId": {}, "Identities": { "type": "list", "member": { "shape": "Su" } }, "NextToken": {} } } }, "ListIdentityPools": { "input": { "type": "structure", "required": [ "MaxResults" ], "members": { "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "IdentityPools": { "type": "list", "member": { "type": "structure", "members": { "IdentityPoolId": {}, "IdentityPoolName": {} } } }, "NextToken": {} } } }, "ListTagsForResource": { "input": { "type": "structure", "required": [ "ResourceArn" ], "members": { "ResourceArn": {} } }, "output": { "type": "structure", "members": { "Tags": { "shape": "Sg" } } } }, "LookupDeveloperIdentity": { "input": { "type": "structure", "required": [ "IdentityPoolId" ], "members": { "IdentityPoolId": {}, "IdentityId": {}, "DeveloperUserIdentifier": {}, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "IdentityId": {}, "DeveloperUserIdentifierList": { "type": "list", "member": {} }, "NextToken": {} } } }, "MergeDeveloperIdentities": { "input": { "type": "structure", "required": [ "SourceUserIdentifier", "DestinationUserIdentifier", "DeveloperProviderName", "IdentityPoolId" ], "members": { "SourceUserIdentifier": {}, "DestinationUserIdentifier": {}, "DeveloperProviderName": {}, "IdentityPoolId": {} } }, "output": { "type": "structure", "members": { "IdentityId": {} } } }, "SetIdentityPoolRoles": { "input": { "type": "structure", "required": [ "IdentityPoolId", "Roles" ], "members": { "IdentityPoolId": {}, "Roles": { "shape": "S1b" }, "RoleMappings": { "shape": "S1d" } } } }, "TagResource": { "input": { "type": "structure", "required": [ "ResourceArn" ], "members": { "ResourceArn": {}, "Tags": { "shape": "Sg" } } }, "output": { "type": "structure", "members": {} } }, "UnlinkDeveloperIdentity": { "input": { "type": "structure", "required": [ "IdentityId", "IdentityPoolId", "DeveloperProviderName", "DeveloperUserIdentifier" ], "members": { "IdentityId": {}, "IdentityPoolId": {}, "DeveloperProviderName": {}, "DeveloperUserIdentifier": {} } } }, "UnlinkIdentity": { "input": { "type": "structure", "required": [ "IdentityId", "Logins", "LoginsToRemove" ], "members": { "IdentityId": {}, "Logins": { "shape": "Sz" }, "LoginsToRemove": { "shape": "Sv" } } } }, "UntagResource": { "input": { "type": "structure", "required": [ "ResourceArn" ], "members": { "ResourceArn": {}, "TagKeys": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": {} } }, "UpdateIdentityPool": { "input": { "shape": "Sj" }, "output": { "shape": "Sj" } } }, "shapes": { "S4": { "type": "map", "key": {}, "value": {} }, "S8": { "type": "list", "member": {} }, "Sa": { "type": "list", "member": { "type": "structure", "members": { "ProviderName": {}, "ClientId": {}, "ServerSideTokenCheck": { "type": "boolean" } } } }, "Sf": { "type": "list", "member": {} }, "Sg": { "type": "map", "key": {}, "value": {} }, "Sj": { "type": "structure", "required": [ "IdentityPoolId", "IdentityPoolName", "AllowUnauthenticatedIdentities" ], "members": { "IdentityPoolId": {}, "IdentityPoolName": {}, "AllowUnauthenticatedIdentities": { "type": "boolean" }, "SupportedLoginProviders": { "shape": "S4" }, "DeveloperProviderName": {}, "OpenIdConnectProviderARNs": { "shape": "S8" }, "CognitoIdentityProviders": { "shape": "Sa" }, "SamlProviderARNs": { "shape": "Sf" }, "IdentityPoolTags": { "shape": "Sg" } } }, "Su": { "type": "structure", "members": { "IdentityId": {}, "Logins": { "shape": "Sv" }, "CreationDate": { "type": "timestamp" }, "LastModifiedDate": { "type": "timestamp" } } }, "Sv": { "type": "list", "member": {} }, "Sz": { "type": "map", "key": {}, "value": {} }, "S1b": { "type": "map", "key": {}, "value": {} }, "S1d": { "type": "map", "key": {}, "value": { "type": "structure", "required": [ "Type" ], "members": { "Type": {}, "AmbiguousRoleResolution": {}, "RulesConfiguration": { "type": "structure", "required": [ "Rules" ], "members": { "Rules": { "type": "list", "member": { "type": "structure", "required": [ "Claim", "MatchType", "Value", "RoleARN" ], "members": { "Claim": {}, "MatchType": {}, "Value": {}, "RoleARN": {} } } } } } } } } } }