AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Invokes the GetUser operation against Amazon Cognito Identity Provider. This operation uses anonymous authentication and does not require credential parameters to be supplied.

Syntax

Get-CGIPUser
-AccessToken <String>

Description

Gets the user attributes and metadata for a user.

Parameters

-AccessToken <String>
The access token returned by the server response to get information about the user.
Required?False
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)

Inputs

You can pipe a String object to this cmdlet for the AccessToken parameter.

Outputs

This cmdlet returns a Amazon.CognitoIdentityProvider.Model.GetUserResponse object containing multiple properties. The object can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.

Supported Version

AWS Tools for PowerShell: 2.x.y.z