public class AdminConfirmSignUpRequest extends AmazonWebServiceRequest implements Serializable
Confirms user registration as an admin without using a confirmation code. Works on any user.
Calling this action requires developer credentials.
| Constructor and Description |
|---|
AdminConfirmSignUpRequest() |
| Modifier and Type | Method and Description |
|---|---|
AdminConfirmSignUpRequest |
addClientMetadataEntry(String key,
String value)
A map of custom key-value pairs that you can provide as input for any
custom workflows that this action triggers.
|
AdminConfirmSignUpRequest |
clearClientMetadataEntries()
Removes all the entries added into ClientMetadata.
|
boolean |
equals(Object obj) |
Map<String,String> |
getClientMetadata()
A map of custom key-value pairs that you can provide as input for any
custom workflows that this action triggers.
|
String |
getUsername()
The user name for which you want to confirm user registration.
|
String |
getUserPoolId()
The user pool ID for which you want to confirm user registration.
|
int |
hashCode() |
void |
setClientMetadata(Map<String,String> clientMetadata)
A map of custom key-value pairs that you can provide as input for any
custom workflows that this action triggers.
|
void |
setUsername(String username)
The user name for which you want to confirm user registration.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for which you want to confirm user registration.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminConfirmSignUpRequest |
withClientMetadata(Map<String,String> clientMetadata)
A map of custom key-value pairs that you can provide as input for any
custom workflows that this action triggers.
|
AdminConfirmSignUpRequest |
withUsername(String username)
The user name for which you want to confirm user registration.
|
AdminConfirmSignUpRequest |
withUserPoolId(String userPoolId)
The user pool ID for which you want to confirm user registration.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getUserPoolId()
The user pool ID for which you want to confirm user registration.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for which you want to confirm user registration.
public void setUserPoolId(String userPoolId)
The user pool ID for which you want to confirm user registration.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for which you want to confirm user registration.
public AdminConfirmSignUpRequest withUserPoolId(String userPoolId)
The user pool ID for which you want to confirm user registration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for which you want to confirm user registration.
public String getUsername()
The user name for which you want to confirm user registration.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name for which you want to confirm user registration.
public void setUsername(String username)
The user name for which you want to confirm user registration.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name for which you want to confirm user registration.
public AdminConfirmSignUpRequest withUsername(String username)
The user name for which you want to confirm user registration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name for which you want to confirm user registration.
public Map<String,String> getClientMetadata()
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
If your user pool configuration includes triggers, the AdminConfirmSignUp
API action invokes the AWS Lambda function that is specified for the
post confirmation trigger. When Amazon Cognito invokes this
function, it passes a JSON payload, which the function receives as input.
In this payload, the clientMetadata attribute provides the
data that you assigned to the ClientMetadata parameter in your
AdminConfirmSignUp request. In your function code in AWS Lambda, you can
process the ClientMetadata value to enhance your workflow for your
specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
Amazon Cognito does not store the ClientMetadata value. This data is available only to AWS Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
Amazon Cognito does not validate the ClientMetadata value.
Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
If your user pool configuration includes triggers, the
AdminConfirmSignUp API action invokes the AWS Lambda function
that is specified for the post confirmation trigger. When
Amazon Cognito invokes this function, it passes a JSON payload,
which the function receives as input. In this payload, the
clientMetadata attribute provides the data that you
assigned to the ClientMetadata parameter in your
AdminConfirmSignUp request. In your function code in AWS Lambda,
you can process the ClientMetadata value to enhance your workflow
for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
Amazon Cognito does not store the ClientMetadata value. This data is available only to AWS Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
Amazon Cognito does not validate the ClientMetadata value.
Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
public void setClientMetadata(Map<String,String> clientMetadata)
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
If your user pool configuration includes triggers, the AdminConfirmSignUp
API action invokes the AWS Lambda function that is specified for the
post confirmation trigger. When Amazon Cognito invokes this
function, it passes a JSON payload, which the function receives as input.
In this payload, the clientMetadata attribute provides the
data that you assigned to the ClientMetadata parameter in your
AdminConfirmSignUp request. In your function code in AWS Lambda, you can
process the ClientMetadata value to enhance your workflow for your
specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
Amazon Cognito does not store the ClientMetadata value. This data is available only to AWS Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
Amazon Cognito does not validate the ClientMetadata value.
Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
clientMetadata - A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
If your user pool configuration includes triggers, the
AdminConfirmSignUp API action invokes the AWS Lambda function
that is specified for the post confirmation trigger.
When Amazon Cognito invokes this function, it passes a JSON
payload, which the function receives as input. In this
payload, the clientMetadata attribute provides
the data that you assigned to the ClientMetadata parameter in
your AdminConfirmSignUp request. In your function code in AWS
Lambda, you can process the ClientMetadata value to enhance
your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
Amazon Cognito does not store the ClientMetadata value. This data is available only to AWS Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
Amazon Cognito does not validate the ClientMetadata value.
Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
public AdminConfirmSignUpRequest withClientMetadata(Map<String,String> clientMetadata)
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
If your user pool configuration includes triggers, the AdminConfirmSignUp
API action invokes the AWS Lambda function that is specified for the
post confirmation trigger. When Amazon Cognito invokes this
function, it passes a JSON payload, which the function receives as input.
In this payload, the clientMetadata attribute provides the
data that you assigned to the ClientMetadata parameter in your
AdminConfirmSignUp request. In your function code in AWS Lambda, you can
process the ClientMetadata value to enhance your workflow for your
specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
Amazon Cognito does not store the ClientMetadata value. This data is available only to AWS Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
Amazon Cognito does not validate the ClientMetadata value.
Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
Returns a reference to this object so that method calls can be chained together.
clientMetadata - A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
If your user pool configuration includes triggers, the
AdminConfirmSignUp API action invokes the AWS Lambda function
that is specified for the post confirmation trigger.
When Amazon Cognito invokes this function, it passes a JSON
payload, which the function receives as input. In this
payload, the clientMetadata attribute provides
the data that you assigned to the ClientMetadata parameter in
your AdminConfirmSignUp request. In your function code in AWS
Lambda, you can process the ClientMetadata value to enhance
your workflow for your specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
Amazon Cognito does not store the ClientMetadata value. This data is available only to AWS Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
Amazon Cognito does not validate the ClientMetadata value.
Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
public AdminConfirmSignUpRequest addClientMetadataEntry(String key, String value)
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
If your user pool configuration includes triggers, the AdminConfirmSignUp
API action invokes the AWS Lambda function that is specified for the
post confirmation trigger. When Amazon Cognito invokes this
function, it passes a JSON payload, which the function receives as input.
In this payload, the clientMetadata attribute provides the
data that you assigned to the ClientMetadata parameter in your
AdminConfirmSignUp request. In your function code in AWS Lambda, you can
process the ClientMetadata value to enhance your workflow for your
specific needs.
For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide.
Take the following limitations into consideration when you use the ClientMetadata parameter:
Amazon Cognito does not store the ClientMetadata value. This data is available only to AWS Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose.
Amazon Cognito does not validate the ClientMetadata value.
Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information.
The method adds a new key-value pair into ClientMetadata parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into ClientMetadata.value - The corresponding value of the entry to be added into
ClientMetadata.public AdminConfirmSignUpRequest clearClientMetadataEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.