title: How to add user to User Pools of Amazon Congnito with Amazon PHP SDK
body: <p>I can get identity id with <strong><em>Facebook token</em></strong> from <strong><em>Amazon Cognito</em></strong> by using <strong>Aws\CognitoIdentity\CognitoIdentityClient</strong> of Amazon PHP SDK ( <a href="https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.CognitoIdentity.CognitoIdentityClient.html" rel="nofollow">https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.CognitoIdentity.CognitoIdentityClient.html</a> ). </p>
  
  <pre><code>$identityClient = AWS::createClient('CognitoIdentity');
  $idResp = $identityClient-&gt;getId(array(
      'AccountId' =&gt; 'MY_ACCOUNT_ID',
      'IdentityPoolId' =&gt; 'MY_IDENTITY_POOL_ID',
      'Logins' =&gt; array(
          'graph.facebook.com' =&gt; $fbUser-&gt;token,
      )
  ));
  
  $identityId = $idResp["IdentityId"];
  </code></pre>
  
  <p>I can see the identity id in the <strong><em>identity browser</em></strong> page of <strong><em>Federated Identities</em></strong>, but there are no any user record in the <strong><em>Users</em></strong> page of <strong><em>User Pools</em></strong>.</p>
  
  <p>Is this a expected result ? If it is, how can I add user info into <strong><em>User Pools</em></strong> and get them ?</p>
  
  <p>Any help is appreciated.</p>