var AWS = require('aws-sdk'); AWS.config.update({region: 'ap-northeast-1'}); var cognitoidentityserviceprovider = new AWS.CognitoIdentityServiceProvider(); var params = { UserPoolId: 'UserPoolsId', AttributesToGet: ['AttributeName'], Limit: 60 }; cognitoidentityserviceprovider.listUsers(params, function(err, data) { if (err) console.log(err, err.stack); else console.log(data); });
上記のようにCognito User Poolsからユーザリストを取得する場合、1回のAPIコールで60件までしかリストを取得できないようになっています。(Limitを60より大きくするとエラーとなる。)
61件目以降のリストを取得したのですが、どのようにすればよいのでしょうか?
取得リストの開始位置を指定することは可能でしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。