Learn R Programming

paws.security.identity (version 0.8.0)

cognitoidentityprovider_admin_list_devices: Lists a user's registered devices

Description

Lists a user's registered devices. Remembered devices are used in authentication services where you offer a "Remember me" option for users who you want to permit to sign in without MFA from a trusted device. Users can bypass MFA while your application performs device SRP authentication on the back end. For more information, see Working with devices.

See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_admin_list_devices/ for full documentation.

Usage

cognitoidentityprovider_admin_list_devices(
  UserPoolId,
  Username,
  Limit = NULL,
  PaginationToken = NULL
)

Arguments

UserPoolId

[required] The ID of the user pool where the device owner is a user.

Username

[required] The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

Limit

The maximum number of devices that you want Amazon Cognito to return in the response.

PaginationToken

This API operation returns a limited number of results. The pagination token is an identifier that you can present in an additional API request with the same parameters. When you include the pagination token, Amazon Cognito returns the next set of items after the current list. Subsequent requests return a new pagination token. By use of this token, you can paginate through the full list of items.