'Generates (or retrieves) a Cognito ID. Supplying multiple
logins will create an implicit linked account.
:type account_id: string
:param account_id: A standard AWS account ID (9+ digits).
:type identity_pool_id: string
:param identity_pool_id: An identity pool ID in the format REGION:GUID.
:type logins: map
:param logins: A set of optional name-value pairs that map provider
names to provider tokens.
The available provider names for `Logins` are as follows:
+ Facebook: `graph.facebook.com`
+ Google: `accounts.google.com`
+ Amazon: `www.amazon.com`'

def get_id(self, account_id, identity_pool_id, logins=None):

    params = {'AccountId': account_id, 'IdentityPoolId': identity_pool_id}
    if (logins is not None):
        params['Logins'] = logins
    return self.make_request(action='GetId', body=json.dumps(params))
