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 VerifyUserAttribute operation against Amazon Cognito Identity Provider. This operation uses anonymous authentication and does not require credential parameters to be supplied.

Syntax

Test-CGIPUserAttribute
-AccessToken <String>
-AttributeName <String>
-Code <String>
-PassThru <SwitchParameter>

Description

Verifies the specified user attributes in the user pool.

Parameters

-AccessToken <String>
Represents the access token of the request to verify user attributes.
Required?False
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-AttributeName <String>
The attribute name in the request to verify user attributes.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Code <String>
The verification code in the request to verify user attributes.
Required?False
Position?Named
Accept pipeline input?False
-PassThru <SwitchParameter>
Returns the value passed to the AccessToken parameter. By default, this cmdlet does not generate any output.
Required?False
Position?Named
Accept pipeline input?False

Inputs

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

Outputs

None or System.String
When you use the PassThru parameter, this cmdlet outputs the value supplied to the AccessToken parameter. Otherwise, this cmdlet does not return any output. The service response (type Amazon.CognitoIdentityProvider.Model.VerifyUserAttributeResponse) can be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.

Supported Version

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