Learn R Programming

paws.security.identity (version 0.1.12)

cognitoidentityprovider_get_user: Gets the user attributes and metadata for a user

Description

Gets the user attributes and metadata for a user.

Usage

cognitoidentityprovider_get_user(AccessToken)

Value

A list with the following syntax:

list(
  Username = "string",
  UserAttributes = list(
    list(
      Name = "string",
      Value = "string"
    )
  ),
  MFAOptions = list(
    list(
      DeliveryMedium = "SMS"|"EMAIL",
      AttributeName = "string"
    )
  ),
  PreferredMfaSetting = "string",
  UserMFASettingList = list(
    "string"
  )
)

Arguments

AccessToken

[required] The access token returned by the server response to get information about the user.

Request syntax

svc$get_user(
  AccessToken = "string"
)