AccountTakeoverActionType lowAction
Action to take for a low risk.
AccountTakeoverActionType mediumAction
Action to take for a medium risk.
AccountTakeoverActionType highAction
Action to take for a high risk.
Boolean notify
Flag specifying whether to send a notification.
String eventAction
The event action.
BLOCK Choosing this action will block the request.
MFA_IF_CONFIGURED Throw MFA challenge if user has configured
it, else allow the request.
MFA_REQUIRED Throw MFA challenge if user has configured it,
else block the request.
NO_ACTION Allow the user sign-in.
Constraints:
Allowed Values: BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
NotifyConfigurationType notifyConfiguration
The notify configuration used to construct email notifications.
AccountTakeoverActionsType actions
Account takeover risk configuration actions
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The username for the user.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String groupName
The group name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String userPoolId
The user pool ID for which you want to confirm user registration.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
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}]+
Boolean allowAdminCreateUserOnly
Set to True if only the administrator is allowed to create
user profiles. Set to False if users can sign themselves up
via an app.
Integer unusedAccountValidityDays
The user account expiration limit, in days, after which the account is no
longer usable. To reset the account after that time limit, you must call
AdminCreateUser again, specifying "RESEND" for
the MessageAction parameter. The default value for this
parameter is 7.
If you set a value for TemporaryPasswordValidityDays in
PasswordPolicy, that value will be used and
UnusedAccountValidityDays will be deprecated for that user
pool.
Constraints:
Range: 0 - 365
MessageTemplateType inviteMessageTemplate
The message template to be used for the welcome message to new users.
See also Customizing User Invitation Messages.
String userPoolId
The user pool ID for the user pool where the user will be created.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The username for the user. Must be unique within the user pool. Must be a UTF-8 string between 1 and 128 characters. After the user is created, the username cannot be changed.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
List<E> userAttributes
An array of name-value pairs that contain user attributes and attribute
values to be set for the user to be created. You can create a user
without specifying any attributes other than Username.
However, any attributes that you specify as required (in or in the
Attributes tab of the console) must be supplied either by you (in
your call to AdminCreateUser) or by the user (when he or she
signs up in response to your welcome message).
For custom attributes, you must prepend the custom: prefix
to the attribute name.
To send a message inviting the user to sign up, you must specify the user's email address or phone number. This can be done in your call to AdminCreateUser or in the Users tab of the Amazon Cognito console for managing your user pools.
In your call to AdminCreateUser, you can set the
email_verified attribute to True, and you can
set the phone_number_verified attribute to True
. (You can also do this by calling .)
email: The email address of the user to whom the message that
contains the code and username will be sent. Required if the
email_verified attribute is set to True, or if
"EMAIL" is specified in the
DesiredDeliveryMediums parameter.
phone_number: The phone number of the user to whom the message
that contains the code and username will be sent. Required if the
phone_number_verified attribute is set to True,
or if "SMS" is specified in the
DesiredDeliveryMediums parameter.
List<E> validationData
The user's validation data. This is an array of name-value pairs that contain user attributes and attribute values that you can use for custom validation, such as restricting the types of user accounts that can be registered. For example, you might choose to allow or disallow user sign-up based on the user's domain.
To configure custom validation, you must create a Pre Sign-up Lambda trigger for the user pool as described in the Amazon Cognito Developer Guide. The Lambda trigger receives the validation data and uses it in the validation process.
The user's validation data is not persisted.
String temporaryPassword
The user's temporary password. This password must conform to the password policy that you specified when you created the user pool.
The temporary password is valid only once. To complete the Admin Create User flow, the user must enter the temporary password in the sign-in page along with a new password to be used in all future sign-ins.
This parameter is not required. If you do not specify a value, Amazon Cognito generates one for you.
The temporary password can only be used until the user account expiration
limit that you specified when you created the user pool. To reset the
account after that time limit, you must call AdminCreateUser
again, specifying "RESEND" for the
MessageAction parameter.
Constraints:
Length: 6 - 256
Pattern: [\S]+
Boolean forceAliasCreation
This parameter is only used if the phone_number_verified or
email_verified attribute is set to True.
Otherwise, it is ignored.
If this parameter is set to True and the phone number or
email address specified in the UserAttributes parameter already exists as
an alias with a different user, the API call will migrate the alias from
the previous user to the newly created user. The previous user will no
longer be able to log in using that alias.
If this parameter is set to False, the API throws an
AliasExistsException error if the alias already exists. The
default value is False.
String messageAction
Set to "RESEND" to resend the invitation message to a user
that already exists and reset the expiration limit on the user's account.
Set to "SUPPRESS" to suppress sending the message. Only one
value can be specified.
Constraints:
Allowed Values: RESEND, SUPPRESS
List<E> desiredDeliveryMediums
Specify "EMAIL" if email will be used to send the welcome
message. Specify "SMS" if the phone number will be used. The
default value is "SMS". More than one value can be
specified.
UserType user
The newly created user.
String userPoolId
The user pool ID for the user pool where you want to delete user attributes.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user name of the user from which you would like to delete attributes.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
List<E> userAttributeNames
An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the custom: prefix
to the attribute name.
String userPoolId
The user pool ID for the user pool.
ProviderUserIdentifierType user
The user to be disabled.
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String deviceKey
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
String deviceKey
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
DeviceType device
The device.
String userPoolId
The user pool ID for the user pool where you want to get information about the user.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user name of the user you wish to retrieve.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String username
The user name of the user about whom you are receiving information.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
List<E> userAttributes
An array of name-value pairs representing user attributes.
Date userCreateDate
The date the user was created.
Date userLastModifiedDate
The date the user was last modified.
Boolean enabled
Indicates that the status is enabled.
String userStatus
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change his or her password to a new value before doing anything else.
Constraints:
Allowed Values: UNCONFIRMED, CONFIRMED, ARCHIVED, COMPROMISED,
UNKNOWN, RESET_REQUIRED, FORCE_CHANGE_PASSWORD
List<E> mFAOptions
Specifies the options for MFA (e.g., email or phone number).
String preferredMfaSetting
The user's preferred MFA setting.
List<E> userMFASettingList
The list of the user's MFA settings.
String userPoolId
The ID of the Amazon Cognito user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String clientId
The app client ID.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String authFlow
The authentication flow for this call to execute. The API action will depend on this value. For example:
REFRESH_TOKEN_AUTH will take in a valid refresh token and
return new tokens.
USER_SRP_AUTH will take in USERNAME and
SRP_A and return the SRP variables to be used for next
challenge execution.
USER_PASSWORD_AUTH will take in USERNAME and
PASSWORD and return the next challenge or tokens.
Valid values include:
USER_SRP_AUTH: Authentication flow for the Secure Remote
Password (SRP) protocol.
REFRESH_TOKEN_AUTH/REFRESH_TOKEN:
Authentication flow for refreshing the access token and ID token by
supplying a valid refresh token.
CUSTOM_AUTH: Custom authentication flow.
ADMIN_NO_SRP_AUTH: Non-SRP authentication flow; you can pass
in the USERNAME and PASSWORD directly if the flow is enabled for calling
the app client.
USER_PASSWORD_AUTH: Non-SRP authentication flow; USERNAME
and PASSWORD are passed directly. If a user migration Lambda trigger is
set, this flow will invoke the user migration Lambda if the USERNAME is
not found in the user pool.
Constraints:
Allowed Values: USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN,
CUSTOM_AUTH, ADMIN_NO_SRP_AUTH, USER_PASSWORD_AUTH
Map<K,V> authParameters
The authentication parameters. These are inputs corresponding to the
AuthFlow that you are invoking. The required values depend
on the value of AuthFlow:
For USER_SRP_AUTH: USERNAME (required),
SRP_A (required), SECRET_HASH (required if the
app client is configured with a client secret), DEVICE_KEY
For REFRESH_TOKEN_AUTH/REFRESH_TOKEN:
REFRESH_TOKEN (required), SECRET_HASH (required
if the app client is configured with a client secret),
DEVICE_KEY
For ADMIN_NO_SRP_AUTH: USERNAME (required),
SECRET_HASH (if app client is configured with client
secret), PASSWORD (required), DEVICE_KEY
For CUSTOM_AUTH: USERNAME (required),
SECRET_HASH (if app client is configured with client
secret), DEVICE_KEY
Map<K,V> clientMetadata
This is a random key-value pair map which can contain any key and will be passed to your PreAuthentication Lambda trigger as-is. It can be used to implement additional validations around authentication.
AnalyticsMetadataType analyticsMetadata
The analytics metadata for collecting Amazon Pinpoint metrics for
AdminInitiateAuth calls.
ContextDataType contextData
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
String challengeName
The name of the challenge which you are responding to with this call.
This is returned to you in the AdminInitiateAuth response if
you need to pass another challenge.
MFA_SETUP: If MFA is required, users who do not have at
least one of the MFA methods set up are presented with an
MFA_SETUP challenge. The user must set up at least one MFA
type to continue to authenticate.
SELECT_MFA_TYPE: Selects the MFA type. Valid MFA options are
SMS_MFA for text SMS MFA, and
SOFTWARE_TOKEN_MFA for TOTP software token MFA.
SMS_MFA: Next challenge is to supply an
SMS_MFA_CODE, delivered via SMS.
PASSWORD_VERIFIER: Next challenge is to supply
PASSWORD_CLAIM_SIGNATURE,
PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP
after the client-side SRP calculations.
CUSTOM_CHALLENGE: This is returned if your custom
authentication flow determines that the user should pass another
challenge before tokens are issued.
DEVICE_SRP_AUTH: If device tracking was enabled on your user
pool and the previous challenges were passed, this challenge is returned
so that Amazon Cognito can start tracking this device.
DEVICE_PASSWORD_VERIFIER: Similar to
PASSWORD_VERIFIER, but for devices only.
ADMIN_NO_SRP_AUTH: This is returned if you need to
authenticate with USERNAME and PASSWORD
directly. An app client must be enabled to use this flow.
NEW_PASSWORD_REQUIRED: For users which are required to
change their passwords after successful first login. This challenge
should be passed with NEW_PASSWORD and any other required
attributes.
Constraints:
Allowed Values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE,
MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH,
DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
String session
The session which should be passed both ways in challenge-response calls
to the service. If AdminInitiateAuth or
AdminRespondToAuthChallenge API call determines that the
caller needs to go through another challenge, they return a session with
other challenge parameters. This session should be passed as it is to the
next AdminRespondToAuthChallenge API call.
Constraints:
Length: 20 - 2048
Map<K,V> challengeParameters
The challenge parameters. These are returned to you in the
AdminInitiateAuth response if you need to pass another
challenge. The responses in this parameter should be used to compute
inputs to the next call (AdminRespondToAuthChallenge).
All challenges require USERNAME and SECRET_HASH
(if applicable).
The value of the USER_ID_FOR_SRP attribute will be the
user's actual username, not an alias (such as email address or phone
number), even if you specified an alias in your call to
AdminInitiateAuth. This is because, in the
AdminRespondToAuthChallenge API
ChallengeResponses, the USERNAME attribute
cannot be an alias.
AuthenticationResultType authenticationResult
The result of the authentication response. This is only returned if the
caller does not need to pass another challenge. If the caller does need
to pass another challenge before it gets tokens,
ChallengeName, ChallengeParameters, and
Session are returned.
String userPoolId
The user pool ID for the user pool.
ProviderUserIdentifierType destinationUser
The existing user in the user pool to be linked to the external identity provider user account. Can be a native (Username + Password) Cognito User Pools user or a federated user (for example, a SAML or Facebook user). If the user doesn't exist, an exception is thrown. This is the user that is returned when the new user (with the linked identity provider attribute) signs in.
For a native username + password user, the
ProviderAttributeValue for the DestinationUser
should be the username in the user pool. For a federated user, it should
be the provider-specific user_id.
The ProviderAttributeName of the
DestinationUser is ignored.
The ProviderName should be set to Cognito for
users in Cognito user pools.
ProviderUserIdentifierType sourceUser
An external identity provider account for a user who does not currently exist yet in the user pool. This user must be a federated user (for example, a SAML or Facebook user), not another native user.
If the SourceUser is a federated social identity provider
user (Facebook, Google, or Login with Amazon), you must set the
ProviderAttributeName to Cognito_Subject. For
social identity providers, the ProviderName will be
Facebook, Google, or
LoginWithAmazon, and Cognito will automatically parse the
Facebook, Google, and Login with Amazon tokens for id,
sub, and user_id, respectively. The
ProviderAttributeValue for the user must be the same value
as the id, sub, or user_id value
found in the social identity provider token.
For SAML, the ProviderAttributeName can be any value that
matches a claim in the SAML assertion. If you wish to link SAML users
based on the subject of the SAML assertion, you should map the subject to
a claim through the SAML identity provider and submit that claim name as
the ProviderAttributeName. If you set
ProviderAttributeName to Cognito_Subject,
Cognito will automatically parse the default unique identifier found in
the subject from the SAML token.
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
Integer limit
The limit of the devices request.
Constraints:
Range: 0 - 60
String paginationToken
The pagination token.
Constraints:
Length: 1 -
Pattern: [\S]+
String username
The username for the user.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
Integer limit
The limit of the request to list groups.
Constraints:
Range: 0 - 60
String nextToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user pool username or an alias.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
Integer maxResults
The maximum number of authentication events to return.
Constraints:
Range: 0 - 60
String nextToken
A pagination token.
Constraints:
Length: 1 -
Pattern: [\S]+
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The username for the user.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String groupName
The group name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String userPoolId
The user pool ID for the user pool where you want to reset the user's password.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user name of the user whose password you wish to reset.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String userPoolId
The ID of the Amazon Cognito user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String clientId
The app client ID.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String challengeName
The challenge name. For more information, see .
Constraints:
Allowed Values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE,
MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH,
DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
Map<K,V> challengeResponses
The challenge responses. These are inputs corresponding to the value of
ChallengeName, for example:
SMS_MFA: SMS_MFA_CODE, USERNAME,
SECRET_HASH (if app client is configured with client
secret).
PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE,
PASSWORD_CLAIM_SECRET_BLOCK, TIMESTAMP,
USERNAME, SECRET_HASH (if app client is
configured with client secret).
ADMIN_NO_SRP_AUTH: PASSWORD,
USERNAME, SECRET_HASH (if app client is
configured with client secret).
NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other
required attributes, USERNAME, SECRET_HASH (if
app client is configured with client secret).
The value of the USERNAME attribute must be the user's
actual username, not an alias (such as email address or phone number). To
make this easier, the AdminInitiateAuth response includes
the actual username value in the USERNAMEUSER_ID_FOR_SRP
attribute, even if you specified an alias in your call to
AdminInitiateAuth.
String session
The session which should be passed both ways in challenge-response calls
to the service. If InitiateAuth or
RespondToAuthChallenge API call determines that the caller
needs to go through another challenge, they return a session with other
challenge parameters. This session should be passed as it is to the next
RespondToAuthChallenge API call.
Constraints:
Length: 20 - 2048
AnalyticsMetadataType analyticsMetadata
The analytics metadata for collecting Amazon Pinpoint metrics for
AdminRespondToAuthChallenge calls.
ContextDataType contextData
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
String challengeName
The name of the challenge. For more information, see .
Constraints:
Allowed Values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE,
MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH,
DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
String session
The session which should be passed both ways in challenge-response calls
to the service. If the or API call determines that the caller needs to go
through another challenge, they return a session with other challenge
parameters. This session should be passed as it is to the next
RespondToAuthChallenge API call.
Constraints:
Length: 20 - 2048
Map<K,V> challengeParameters
The challenge parameters. For more information, see .
AuthenticationResultType authenticationResult
The result returned by the server in response to the authentication request.
SMSMfaSettingsType sMSMfaSettings
The SMS text message MFA settings.
SoftwareTokenMfaSettingsType softwareTokenMfaSettings
The time-based one-time password software token MFA settings.
String username
The user pool username or alias.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String userPoolId
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user name of the user for whom you wish to set user settings.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
List<E> mFAOptions
Specifies the options for MFA (e.g., email or phone number).
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user pool username.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String eventId
The authentication event ID.
Constraints:
Length: 1 - 50
Pattern: [\w+-]+
String feedbackValue
The authentication event feedback value.
Constraints:
Allowed Values: Valid, Invalid
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String deviceKey
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
String deviceRememberedStatus
The status indicating whether a device has been remembered or not.
Constraints:
Allowed Values: remembered, not_remembered
String userPoolId
The user pool ID for the user pool where you want to update user attributes.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user name of the user for whom you want to update user attributes.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
List<E> userAttributes
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom: prefix
to the attribute name.
String applicationId
The application ID for an Amazon Pinpoint application.
Constraints:
Pattern: ^[0-9a-fA-F]+$
String roleArn
The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String externalId
The external ID.
Boolean userDataShared
If UserDataShared is true, Amazon Cognito will
include user data in the events it publishes to Amazon Pinpoint
analytics.
String analyticsEndpointId
The endpoint ID.
String accessToken
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String session
The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
Constraints:
Length: 20 - 2048
String secretCode
A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.
Constraints:
Length: 16 -
Pattern: [A-Za-z0-9]+
String session
The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
Constraints:
Length: 20 - 2048
String accessToken
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
Integer expiresIn
The expiration period of the authentication result in seconds.
String tokenType
The token type.
String refreshToken
The refresh token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String idToken
The ID token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
NewDeviceMetadataType newDeviceMetadata
The new device metadata from an authentication result.
String eventId
The event ID.
String eventType
The event type.
Constraints:
Allowed Values: SignIn, SignUp, ForgotPassword
Date creationDate
The creation date
String eventResponse
The event response.
Constraints:
Allowed Values: Success, Failure
EventRiskType eventRisk
The event risk.
List<E> challengeResponses
The challenge responses.
EventContextDataType eventContextData
The user context data captured at the time of an event request. It provides additional information about the client from which event the request is received.
EventFeedbackType eventFeedback
A flag specifying the user feedback captured at the time of an event request is good or bad.
String destination
The destination for the code delivery details.
String deliveryMedium
The delivery medium (email message or phone number).
Constraints:
Allowed Values: SMS, EMAIL
String attributeName
The attribute name.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String eventAction
The event action.
Constraints:
Allowed Values: BLOCK, NO_ACTION
List<E> eventFilter
Perform the action for these events. The default is to perform all events if no event filter is specified.
CompromisedCredentialsActionsType actions
The compromised credentials risk configuration actions.
String accessToken
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String deviceKey
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
DeviceSecretVerifierConfigType deviceSecretVerifierConfig
The configuration of the device secret verifier.
String deviceName
The device name.
Constraints:
Length: 1 - 1024
Boolean userConfirmationNecessary
Indicates whether the user confirmation is necessary to confirm the device response.
String clientId
The app client ID of the app associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String secretHash
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
Constraints:
Length: 1 - 128
Pattern: [\w+=/]+
String username
The user name of the user for whom you want to enter a code to retrieve a forgotten password.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String confirmationCode
The confirmation code sent by a user's request to retrieve a forgotten password. For more information, see
Constraints:
Length: 1 - 2048
Pattern: [\S]+
String password
The password sent by a user's request to retrieve a forgotten password.
Constraints:
Length: 6 - 256
Pattern: [\S]+
AnalyticsMetadataType analyticsMetadata
The Amazon Pinpoint analytics metadata for collecting metrics for
ConfirmForgotPassword calls.
UserContextDataType userContextData
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
String clientId
The ID of the app client associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String secretHash
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
Constraints:
Length: 1 - 128
Pattern: [\w+=/]+
String username
The user name of the user whose registration you wish to confirm.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String confirmationCode
The confirmation code sent by a user's request to confirm registration.
Constraints:
Length: 1 - 2048
Pattern: [\S]+
Boolean forceAliasCreation
Boolean to be specified to force user confirmation irrespective of
existing alias. By default set to False. If this parameter
is set to True and the phone number/email used for sign up
confirmation already exists as an alias with a different user, the API
call will migrate the alias from the previous user to the newly created
user being confirmed. If set to False, the API will throw an
AliasExistsException error.
AnalyticsMetadataType analyticsMetadata
The Amazon Pinpoint analytics metadata for collecting metrics for
ConfirmSignUp calls.
UserContextDataType userContextData
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
String ipAddress
Source IP address of your user.
String serverName
Your server endpoint where this API is invoked.
String serverPath
Your server path where this API is invoked.
List<E> httpHeaders
HttpHeaders received on your server in same order.
String encodedData
Encoded data containing device fingerprinting details, collected using the Amazon Cognito context data collection library.
String groupName
The name of the group. Must be unique.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String description
A string containing the description of the group.
Constraints:
Length: - 2048
String roleArn
The role ARN for the group.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
Integer precedence
A nonnegative integer value that specifies the precedence of this group
relative to the other groups that a user can belong to in the user pool.
Zero is the highest precedence value. Groups with lower
Precedence values take precedence over groups with higher or
null Precedence values. If a user belongs to two or more
groups, it is the group with the lowest precedence value whose role ARN
will be used in the cognito:roles and
cognito:preferred_role claims in the user's tokens.
Two groups can have the same Precedence value. If this
happens, neither group takes precedence over the other. If two groups
with the same Precedence have the same role ARN, that role
is used in the cognito:preferred_role claim in tokens for
users in each group. If the two groups have different role ARNs, the
cognito:preferred_role claim is not set in users' tokens.
The default Precedence value is null.
Constraints:
Range: 0 -
GroupType group
The group object for the group.
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String providerName
The identity provider name.
Constraints:
Length: 1 - 32
Pattern: [^_][\p{L}\p{M}\p{S}\p{N}\p{P}][^_]+
String providerType
The identity provider type.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon, OIDC
Map<K,V> providerDetails
The identity provider details, such as MetadataURL and
MetadataFile.
Map<K,V> attributeMapping
A mapping of identity provider attributes to standard and custom user pool attributes.
List<E> idpIdentifiers
A list of identity provider identifiers.
IdentityProviderType identityProvider
The newly created identity provider object.
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String identifier
A unique resource server identifier for the resource server. This could
be an HTTPS endpoint where the resource server is located. For example,
https://my-weather-api.example.com.
Constraints:
Length: 1 - 256
Pattern: [\x21\x23-\x5B\x5D-\x7E]+
String name
A friendly name for the resource server.
Constraints:
Length: 1 - 256
Pattern: [\w\s+=,.@-]+
List<E> scopes
A list of scopes. Each scope is map, where the keys are name
and description.
ResourceServerType resourceServer
The newly created resource server.
String jobName
The job name for the user import job.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
String userPoolId
The user pool ID for the user pool that the users are being imported into.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String cloudWatchLogsRoleArn
The role ARN for the Amazon CloudWatch Logging role for the user import job.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
UserImportJobType userImportJob
The job object that represents the user import job.
String userPoolId
The user pool ID for the user pool where you want to create a user pool client.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String clientName
The client name for the user pool client you would like to create.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
Boolean generateSecret
Boolean to specify whether you want to generate a secret for the user pool client being created.
Integer refreshTokenValidity
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
Constraints:
Range: 0 - 3650
List<E> readAttributes
The read attributes.
List<E> writeAttributes
The user pool attributes that the app client can write to.
If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
List<E> explicitAuthFlows
The explicit authentication flows.
List<E> supportedIdentityProviders
A list of provider names for the identity providers that are supported on
this client. The following are supported: COGNITO,
Facebook, Google and
LoginWithAmazon.
List<E> callbackURLs
A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
List<E> logoutURLs
A list of allowed logout URLs for the identity providers.
String defaultRedirectURI
The default redirect URI. Must be in the CallbackURLs list.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
Constraints:
Length: 1 - 1024
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
List<E> allowedOAuthFlows
Set to code to initiate a code grant flow, which provides an
authorization code as the response. This code can be exchanged for access
tokens with the token endpoint.
Set to token to specify that the client should get the
access token (and, optionally, ID token, based on scopes) directly.
List<E> allowedOAuthScopes
A list of allowed OAuth scopes. Currently supported values
are "phone", "email", "openid",
and "Cognito".
Boolean allowedOAuthFlowsUserPoolClient
Set to True if the client is allowed to follow the OAuth
protocol when interacting with Cognito user pools.
AnalyticsConfigurationType analyticsConfiguration
The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
UserPoolClientType userPoolClient
The user pool client that was just created.
String domain
The domain string.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
CustomDomainConfigType customDomainConfig
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
String cloudFrontDomain
The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
String poolName
A string used to name the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
UserPoolPolicyType policies
The policies associated with the new user pool.
LambdaConfigType lambdaConfig
The Lambda trigger configuration information for the new user pool.
In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you will need to make an extra call to add permission for these event sources to invoke your Lambda function.
For more information on using the Lambda API to add permission, see AddPermission .
For adding permission using the AWS CLI, see add-permission .
List<E> autoVerifiedAttributes
The attributes to be auto-verified. Possible values: email, phone_number.
List<E> aliasAttributes
Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.
List<E> usernameAttributes
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
String smsVerificationMessage
A string representing the SMS verification message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
String emailVerificationMessage
A string representing the email verification message.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
String emailVerificationSubject
A string representing the email verification subject.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
VerificationMessageTemplateType verificationMessageTemplate
The template for the verification message that the user sees when the app requests permission to access the user's information.
String smsAuthenticationMessage
A string representing the SMS authentication message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
String mfaConfiguration
Specifies MFA configuration details.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
DeviceConfigurationType deviceConfiguration
The device configuration.
EmailConfigurationType emailConfiguration
The email configuration.
SmsConfigurationType smsConfiguration
The SMS configuration.
Map<K,V> userPoolTags
The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.
AdminCreateUserConfigType adminCreateUserConfig
The configuration for AdminCreateUser requests.
List<E> schema
An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
UserPoolAddOnsType userPoolAddOns
Used to enable advanced security risk detection. Set the key
AdvancedSecurityMode to the value "AUDIT".
UserPoolType userPool
A container for the user pool details.
String certificateArn
The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
List<E> userAttributeNames
An array of strings representing the user attribute names you wish to delete.
For custom attributes, you must prepend the custom: prefix
to the attribute name.
String accessToken
The access token used in the request to delete user attributes.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String userPoolId
The user pool ID for the user pool you want to delete.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String accessToken
The access token from a request to delete a user.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
IdentityProviderType identityProvider
The identity provider that was deleted.
ResourceServerType resourceServer
The resource server.
RiskConfigurationType riskConfiguration
The risk configuration.
UserImportJobType userImportJob
The job object that represents the user import job.
UserPoolClientType userPoolClient
The user pool client from a server response to describe the user pool client.
String domain
The domain string.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
DomainDescriptionType domainDescription
A domain description object containing information about the domain.
String userPoolId
The user pool ID for the user pool you want to describe.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
UserPoolType userPool
The container of metadata returned by the server to describe the pool.
String deviceKey
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
List<E> deviceAttributes
The device attributes.
Date deviceCreateDate
The creation date of the device.
Date deviceLastModifiedDate
The last modified date of the device.
Date deviceLastAuthenticatedDate
The date in which the device was last authenticated.
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String aWSAccountId
The AWS account ID for the user pool owner.
String domain
The domain string.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
String s3Bucket
The S3 bucket where the static files for this domain are stored.
Constraints:
Length: 3 - 1024
Pattern: ^[0-9A-Za-z\.\-_]*(?
String cloudFrontDistribution
The ARN of the CloudFront distribution.
String version
The app version.
Constraints:
Length: 1 - 20
String status
The domain status.
Constraints:
Allowed Values: CREATING, DELETING, UPDATING, ACTIVE, FAILED
CustomDomainConfigType customDomainConfig
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
String sourceArn
The Amazon Resource Name (ARN) of a verified email address in Amazon SES.
This email address is used in one of the following ways, depending on the
value that you specify for the EmailSendingAccount
parameter:
If you specify COGNITO_DEFAULT, Amazon Cognito uses this
address as the custom FROM address when it emails your users by using its
built-in email account.
If you specify DEVELOPER, Amazon Cognito emails your users
with this address by calling Amazon SES on your behalf.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String replyToEmailAddress
The destination to which the receiver of the email should reply to.
Constraints:
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+@[\p{L}\p{M}\p{S}\p{N}\p{P}]+
String emailSendingAccount
Specifies whether Amazon Cognito emails your users by using its built-in email functionality or your Amazon SES email configuration. Specify one of the following values:
When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. For typical production environments, the default email limit is below the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email configuration.
To look up the email delivery limit for the default option, see Limits in Amazon Cognito in the Amazon Cognito Developer Guide.
The default FROM address is no-reply@verificationemail.com. To customize
the FROM address, provide the ARN of an Amazon SES verified email address
for the SourceArn parameter.
When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your AWS account.
If you use this option, you must provide the ARN of an Amazon SES
verified email address for the SourceArn parameter.
Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a service-linked role, which is a type of IAM role, in your AWS account. This role contains the permissions that allow Amazon Cognito to access Amazon SES and send email messages with your address. For more information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the Amazon Cognito Developer Guide.
Constraints:
Allowed Values: COGNITO_DEFAULT, DEVELOPER
String clientId
The ID of the client associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String secretHash
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
Constraints:
Length: 1 - 128
Pattern: [\w+=/]+
UserContextDataType userContextData
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
String username
The user name of the user for whom you want to enter a code to reset a forgotten password.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
AnalyticsMetadataType analyticsMetadata
The Amazon Pinpoint analytics metadata for collecting metrics for
ForgotPassword calls.
CodeDeliveryDetailsType codeDeliveryDetails
The code delivery details returned by the server in response to the request to reset a password.
String userPoolId
The user pool ID for the user pool that the users are to be imported into.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
DeviceType device
The device.
GroupType group
The group object for the group.
IdentityProviderType identityProvider
The identity provider object.
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String certificate
The signing certificate.
UICustomizationType uICustomization
The UI customization information.
String accessToken
The access token returned by the server response to get the user attribute verification code.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String attributeName
The attribute name returned by the server response to get the user attribute verification code.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
CodeDeliveryDetailsType codeDeliveryDetails
The code delivery details returned by the server in response to the request to get the user attribute verification code.
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
SmsMfaConfigType smsMfaConfiguration
The SMS text message multi-factor (MFA) configuration.
SoftwareTokenMfaConfigType softwareTokenMfaConfiguration
The software token multi-factor (MFA) configuration.
String mfaConfiguration
The multi-factor (MFA) configuration.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
String accessToken
The access token returned by the server response to get information about the user.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String username
The user name of the user you wish to retrieve from the get user request.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
List<E> userAttributes
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom: prefix
to the attribute name.
List<E> mFAOptions
Specifies the options for MFA (e.g., email or phone number).
String preferredMfaSetting
The user's preferred MFA setting.
List<E> userMFASettingList
The list of the user's MFA settings.
String accessToken
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String groupName
The name of the group.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String description
A string containing the description of the group.
Constraints:
Length: - 2048
String roleArn
The role ARN for the group.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
Integer precedence
A nonnegative integer value that specifies the precedence of this group
relative to the other groups that a user can belong to in the user pool.
If a user belongs to two or more groups, it is the group with the highest
precedence whose role ARN will be used in the cognito:roles
and cognito:preferred_role claims in the user's tokens.
Groups with higher Precedence values take precedence over
groups with lower Precedence values or with null
Precedence values.
Two groups can have the same Precedence value. If this
happens, neither group takes precedence over the other. If two groups
with the same Precedence have the same role ARN, that role
is used in the cognito:preferred_role claim in tokens for
users in each group. If the two groups have different role ARNs, the
cognito:preferred_role claim is not set in users' tokens.
The default Precedence value is null.
Constraints:
Range: 0 -
Date lastModifiedDate
The date the group was last modified.
Date creationDate
The date the group was created.
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String providerName
The identity provider name.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String providerType
The identity provider type.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon, OIDC
Map<K,V> providerDetails
The identity provider details, such as MetadataURL and
MetadataFile.
Map<K,V> attributeMapping
A mapping of identity provider attributes to standard and custom user pool attributes.
List<E> idpIdentifiers
A list of identity provider identifiers.
Date lastModifiedDate
The date the identity provider was last modified.
Date creationDate
The date the identity provider was created.
String authFlow
The authentication flow for this call to execute. The API action will depend on this value. For example:
REFRESH_TOKEN_AUTH will take in a valid refresh token and
return new tokens.
USER_SRP_AUTH will take in USERNAME and
SRP_A and return the SRP variables to be used for next
challenge execution.
USER_PASSWORD_AUTH will take in USERNAME and
PASSWORD and return the next challenge or tokens.
Valid values include:
USER_SRP_AUTH: Authentication flow for the Secure Remote
Password (SRP) protocol.
REFRESH_TOKEN_AUTH/REFRESH_TOKEN:
Authentication flow for refreshing the access token and ID token by
supplying a valid refresh token.
CUSTOM_AUTH: Custom authentication flow.
USER_PASSWORD_AUTH: Non-SRP authentication flow; USERNAME
and PASSWORD are passed directly. If a user migration Lambda trigger is
set, this flow will invoke the user migration Lambda if the USERNAME is
not found in the user pool.
ADMIN_NO_SRP_AUTH is not a valid value.
Constraints:
Allowed Values: USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN,
CUSTOM_AUTH, ADMIN_NO_SRP_AUTH, USER_PASSWORD_AUTH
Map<K,V> authParameters
The authentication parameters. These are inputs corresponding to the
AuthFlow that you are invoking. The required values depend
on the value of AuthFlow:
For USER_SRP_AUTH: USERNAME (required),
SRP_A (required), SECRET_HASH (required if the
app client is configured with a client secret), DEVICE_KEY
For REFRESH_TOKEN_AUTH/REFRESH_TOKEN:
REFRESH_TOKEN (required), SECRET_HASH (required
if the app client is configured with a client secret),
DEVICE_KEY
For CUSTOM_AUTH: USERNAME (required),
SECRET_HASH (if app client is configured with client
secret), DEVICE_KEY
Map<K,V> clientMetadata
This is a random key-value pair map which can contain any key and will be passed to your PreAuthentication Lambda trigger as-is. It can be used to implement additional validations around authentication.
String clientId
The app client ID.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
AnalyticsMetadataType analyticsMetadata
The Amazon Pinpoint analytics metadata for collecting metrics for
InitiateAuth calls.
UserContextDataType userContextData
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
String challengeName
The name of the challenge which you are responding to with this call.
This is returned to you in the AdminInitiateAuth response if
you need to pass another challenge.
Valid values include the following. Note that all of these challenges
require USERNAME and SECRET_HASH (if
applicable) in the parameters.
SMS_MFA: Next challenge is to supply an
SMS_MFA_CODE, delivered via SMS.
PASSWORD_VERIFIER: Next challenge is to supply
PASSWORD_CLAIM_SIGNATURE,
PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP
after the client-side SRP calculations.
CUSTOM_CHALLENGE: This is returned if your custom
authentication flow determines that the user should pass another
challenge before tokens are issued.
DEVICE_SRP_AUTH: If device tracking was enabled on your user
pool and the previous challenges were passed, this challenge is returned
so that Amazon Cognito can start tracking this device.
DEVICE_PASSWORD_VERIFIER: Similar to
PASSWORD_VERIFIER, but for devices only.
NEW_PASSWORD_REQUIRED: For users which are required to
change their passwords after successful first login. This challenge
should be passed with NEW_PASSWORD and any other required
attributes.
Constraints:
Allowed Values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE,
MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH,
DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
String session
The session which should be passed both ways in challenge-response calls
to the service. If the or API call determines that the caller needs to go
through another challenge, they return a session with other challenge
parameters. This session should be passed as it is to the next
RespondToAuthChallenge API call.
Constraints:
Length: 20 - 2048
Map<K,V> challengeParameters
The challenge parameters. These are returned to you in the
InitiateAuth response if you need to pass another challenge.
The responses in this parameter should be used to compute inputs to the
next call (RespondToAuthChallenge).
All challenges require USERNAME and SECRET_HASH
(if applicable).
AuthenticationResultType authenticationResult
The result of the authentication response. This is only returned if the
caller does not need to pass another challenge. If the caller does need
to pass another challenge before it gets tokens,
ChallengeName, ChallengeParameters, and
Session are returned.
String preSignUp
A pre-registration AWS Lambda trigger.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String customMessage
A custom Message AWS Lambda trigger.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String postConfirmation
A post-confirmation AWS Lambda trigger.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String preAuthentication
A pre-authentication AWS Lambda trigger.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String postAuthentication
A post-authentication AWS Lambda trigger.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String defineAuthChallenge
Defines the authentication challenge.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String createAuthChallenge
Creates an authentication challenge.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String verifyAuthChallengeResponse
Verifies the authentication challenge response.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String preTokenGeneration
A Lambda trigger that is invoked before token generation.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String userMigration
The user migration Lambda config type.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String accessToken
The access tokens for the request to list devices.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
Integer limit
The limit of the device request.
Constraints:
Range: 0 - 60
String paginationToken
The pagination token for the list request.
Constraints:
Length: 1 -
Pattern: [\S]+
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
Integer limit
The limit of the request to list groups.
Constraints:
Range: 0 - 60
String nextToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
Integer maxResults
The maximum number of resource servers to return.
Constraints:
Range: 1 - 50
String nextToken
A pagination token.
Constraints:
Length: 1 -
Pattern: [\S]+
String resourceArn
The Amazon Resource Name (ARN) of the user pool that the tags are assigned to.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String userPoolId
The user pool ID for the user pool that the users are being imported into.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
Integer maxResults
The maximum number of import jobs you want the request to return.
Constraints:
Range: 1 - 60
String paginationToken
An identifier that was returned from the previous call to
ListUserImportJobs, which can be used to return the next set
of import jobs in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
String userPoolId
The user pool ID for the user pool where you want to list user pool clients.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
Integer maxResults
The maximum number of results you want the request to return when listing the user pool clients.
Constraints:
Range: 1 - 60
String nextToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
List<E> userPoolClients
The user pool clients in the response that lists user pool clients.
String nextToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
String nextToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
Integer maxResults
The maximum number of results you want the request to return when listing the user pools.
Constraints:
Range: 1 - 60
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String groupName
The name of the group.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
Integer limit
The limit of the request to list users.
Constraints:
Range: 0 - 60
String nextToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
String userPoolId
The user pool ID for the user pool on which the search should be performed.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
List<E> attributesToGet
An array of strings, where each string is the name of a user attribute to be returned for each user in the search results. If the array is null, all attributes are returned.
Integer limit
Maximum number of users to be returned.
Constraints:
Range: 0 - 60
String paginationToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Constraints:
Length: 1 -
Pattern: [\S]+
String filter
A filter string of the form
"AttributeName Filter-Type "AttributeValue"".
Quotation marks within the filter string must be escaped using the
backslash (\) character. For example, "family_name =
\"Reddy\"".
AttributeName: The name of the attribute to search for. You can only search for one attribute at a time.
Filter-Type: For an exact match, use =, for example, "
given_name = \"Jon\"". For a prefix ("starts with") match,
use ^=, for example, "given_name ^= \"Jon\"".
AttributeValue: The attribute value that must be matched for each user.
If the filter string is empty, ListUsers returns all users
in the user pool.
You can only search for the following standard attributes:
username (case-sensitive)
email
phone_number
name
given_name
family_name
preferred_username
cognito:user_status (called Status in the Console)
(case-insensitive)
status (called Enabled in the Console) (case-sensitive)
sub
Custom attributes are not searchable.
For more information, see Searching for Users Using the ListUsers API and Examples of Using the ListUsers API in the Amazon Cognito Developer Guide.
Constraints:
Length: - 256
String sMSMessage
The message template for SMS messages.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
String emailMessage
The message template for email messages.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
String emailSubject
The subject line for email messages.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
String from
The email address that is sending the email. It must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
String replyTo
The destination to which the receiver of an email should reply to.
String sourceArn
The Amazon Resource Name (ARN) of the identity that is associated with
the sending authorization policy. It permits Amazon Cognito to send for
the email address specified in the From parameter.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
NotifyEmailType blockEmail
Email template used when a detected risk event is blocked.
NotifyEmailType noActionEmail
The email template used when a detected risk event is allowed.
NotifyEmailType mfaEmail
The MFA email template used when MFA is challenged as part of a detected risk.
String subject
The subject.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
String htmlBody
The HTML body.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
String textBody
The text body.
Constraints:
Length: 6 - 20000
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s*]+
Integer minimumLength
The minimum length of the password policy that you have set. Cannot be less than 6.
Constraints:
Range: 6 - 99
Boolean requireUppercase
In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
Boolean requireLowercase
In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
Boolean requireNumbers
In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
Boolean requireSymbols
In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
String providerName
The identity provider name.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String providerType
The identity provider type.
Constraints:
Allowed Values: SAML, Facebook, Google, LoginWithAmazon, OIDC
Date lastModifiedDate
The date the provider was last modified.
Date creationDate
The date the provider was added to the user pool.
String providerName
The name of the provider, for example, Facebook, Google, or Login with Amazon.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String providerAttributeName
The name of the provider attribute to link to, for example,
NameID.
String providerAttributeValue
The value of the provider attribute to link to, for example,
xxxxx_account.
String clientId
The ID of the client associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String secretHash
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
Constraints:
Length: 1 - 128
Pattern: [\w+=/]+
UserContextDataType userContextData
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
String username
The user name of the user to whom you wish to resend a confirmation code.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
AnalyticsMetadataType analyticsMetadata
The Amazon Pinpoint analytics metadata for collecting metrics for
ResendConfirmationCode calls.
CodeDeliveryDetailsType codeDeliveryDetails
The code delivery details returned by the server in response to the request to resend the confirmation code.
String userPoolId
The user pool ID for the user pool that hosts the resource server.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String identifier
The identifier for the resource server.
Constraints:
Length: 1 - 256
Pattern: [\x21\x23-\x5B\x5D-\x7E]+
String name
The name of the resource server.
Constraints:
Length: 1 - 256
Pattern: [\w\s+=,.@-]+
List<E> scopes
A list of scopes that are defined for the resource server.
String clientId
The app client ID.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String challengeName
The challenge name. For more information, see .
ADMIN_NO_SRP_AUTH is not a valid value.
Constraints:
Allowed Values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE,
MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH,
DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
String session
The session which should be passed both ways in challenge-response calls
to the service. If InitiateAuth or
RespondToAuthChallenge API call determines that the caller
needs to go through another challenge, they return a session with other
challenge parameters. This session should be passed as it is to the next
RespondToAuthChallenge API call.
Constraints:
Length: 20 - 2048
Map<K,V> challengeResponses
The challenge responses. These are inputs corresponding to the value of
ChallengeName, for example:
SMS_MFA: SMS_MFA_CODE, USERNAME,
SECRET_HASH (if app client is configured with client
secret).
PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE,
PASSWORD_CLAIM_SECRET_BLOCK, TIMESTAMP,
USERNAME, SECRET_HASH (if app client is
configured with client secret).
NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other
required attributes, USERNAME, SECRET_HASH (if
app client is configured with client secret).
AnalyticsMetadataType analyticsMetadata
The Amazon Pinpoint analytics metadata for collecting metrics for
RespondToAuthChallenge calls.
UserContextDataType userContextData
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
String challengeName
The challenge name. For more information, see .
Constraints:
Allowed Values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE,
MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH,
DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
String session
The session which should be passed both ways in challenge-response calls
to the service. If the or API call determines that the caller needs to go
through another challenge, they return a session with other challenge
parameters. This session should be passed as it is to the next
RespondToAuthChallenge API call.
Constraints:
Length: 20 - 2048
Map<K,V> challengeParameters
The challenge parameters. For more information, see .
AuthenticationResultType authenticationResult
The result returned by the server in response to the request to respond to the authentication challenge.
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String clientId
The app client ID.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
CompromisedCredentialsRiskConfigurationType compromisedCredentialsRiskConfiguration
The compromised credentials risk configuration object including the
EventFilter and the EventAction
AccountTakeoverRiskConfigurationType accountTakeoverRiskConfiguration
The account takeover risk configuration object including the
NotifyConfiguration object and Actions to take
in the case of an account takeover.
RiskExceptionConfigurationType riskExceptionConfiguration
The configuration to override the risk decision.
Date lastModifiedDate
The last modified date.
List<E> blockedIPRangeList
Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation: a compact representation of an IP address and its associated routing prefix.
List<E> skippedIPRangeList
Risk detection is not performed on the IP addresses in the range list. The IP range is in CIDR notation.
String name
A schema attribute of the name type.
Constraints:
Length: 1 - 20
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String attributeDataType
The attribute data type.
Constraints:
Allowed Values: String, Number, DateTime, Boolean
Boolean developerOnlyAttribute
Specifies whether the attribute type is developer only.
Boolean mutable
Specifies whether the value of the attribute can be changed.
For any user pool attribute that's mapped to an identity provider
attribute, you must set this parameter to true. Amazon
Cognito updates mapped attributes when users sign in to your application
through an identity provider. If an attribute is immutable, Amazon
Cognito throws an error when it attempts to update the attribute. For
more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
Boolean required
Specifies whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail.
NumberAttributeConstraintsType numberAttributeConstraints
Specifies the constraints for an attribute of the number type.
StringAttributeConstraintsType stringAttributeConstraints
Specifies the constraints for an attribute of the string type.
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String clientId
The app client ID. If ClientId is null, then the risk
configuration is mapped to userPoolId. When the client ID is
null, the same risk configuration is applied to all the clients in the
userPool.
Otherwise, ClientId is mapped to the client. When the client
ID is not null, the user pool configuration is overridden and the risk
configuration for the client is used instead.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
CompromisedCredentialsRiskConfigurationType compromisedCredentialsRiskConfiguration
The compromised credentials risk configuration.
AccountTakeoverRiskConfigurationType accountTakeoverRiskConfiguration
The account takeover risk configuration.
RiskExceptionConfigurationType riskExceptionConfiguration
The configuration to override the risk decision.
RiskConfigurationType riskConfiguration
The risk configuration.
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String clientId
The client ID for the client app.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String cSS
The CSS values in the UI customization.
ByteBuffer imageFile
The uploaded logo image for the UI customization.
UICustomizationType uICustomization
The UI customization information.
SMSMfaSettingsType sMSMfaSettings
The SMS text message multi-factor authentication (MFA) settings.
SoftwareTokenMfaSettingsType softwareTokenMfaSettings
The time-based one-time password software token MFA settings.
String accessToken
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
SmsMfaConfigType smsMfaConfiguration
The SMS text message MFA configuration.
SoftwareTokenMfaConfigType softwareTokenMfaConfiguration
The software token MFA configuration.
String mfaConfiguration
The MFA configuration.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
SmsMfaConfigType smsMfaConfiguration
The SMS text message MFA configuration.
SoftwareTokenMfaConfigType softwareTokenMfaConfiguration
The software token MFA configuration.
String mfaConfiguration
The MFA configuration.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
String clientId
The ID of the client associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String secretHash
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
Constraints:
Length: 1 - 128
Pattern: [\w+=/]+
String username
The user name of the user you wish to register.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String password
The password of the user you wish to register.
Constraints:
Length: 6 - 256
Pattern: [\S]+
List<E> userAttributes
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom: prefix
to the attribute name.
List<E> validationData
The validation data in the request to register a user.
AnalyticsMetadataType analyticsMetadata
The Amazon Pinpoint analytics metadata for collecting metrics for
SignUp calls.
UserContextDataType userContextData
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
Boolean userConfirmed
A response from the server indicating that a user registration has been confirmed.
CodeDeliveryDetailsType codeDeliveryDetails
The code delivery details returned by the server response to the user registration request.
String userSub
The UUID of the authenticated user. This is not the same as
username.
String snsCallerArn
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String externalId
The external ID.
String smsAuthenticationMessage
The SMS authentication message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
SmsConfigurationType smsConfiguration
The SMS configuration.
Boolean enabled
Specifies whether software token MFA is enabled.
UserImportJobType userImportJob
The job object that represents the user import job.
UserImportJobType userImportJob
The job object that represents the user import job.
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String clientId
The client ID for the client app.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String imageUrl
The logo image for the UI customization.
String cSS
The CSS values in the UI customization.
String cSSVersion
The CSS version number.
Date lastModifiedDate
The last-modified date for the UI customization.
Date creationDate
The creation date for the UI customization.
String resourceArn
The Amazon Resource Name (ARN) of the user pool that the tags are assigned to.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
List<E> tagKeys
The keys of the tags to remove from the user pool.
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String username
The user pool username.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String eventId
The event ID.
Constraints:
Length: 1 - 50
Pattern: [\w+-]+
String feedbackToken
The feedback token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String feedbackValue
The authentication event feedback value.
Constraints:
Allowed Values: Valid, Invalid
String accessToken
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String deviceKey
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
String deviceRememberedStatus
The status of whether a device is remembered.
Constraints:
Allowed Values: remembered, not_remembered
String groupName
The name of the group.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String description
A string containing the new description of the group.
Constraints:
Length: - 2048
String roleArn
The new role ARN for the group. This is used for setting the
cognito:roles and cognito:preferred_role claims
in the token.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
Integer precedence
The new precedence value for the group. For more information about this parameter, see .
Constraints:
Range: 0 -
GroupType group
The group object for the group.
String userPoolId
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String providerName
The identity provider name.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
Map<K,V> providerDetails
The identity provider details to be updated, such as
MetadataURL and MetadataFile.
Map<K,V> attributeMapping
The identity provider attribute mapping to be changed.
List<E> idpIdentifiers
A list of identity provider identifiers.
IdentityProviderType identityProvider
The identity provider object.
String userPoolId
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String identifier
The identifier for the resource server.
Constraints:
Length: 1 - 256
Pattern: [\x21\x23-\x5B\x5D-\x7E]+
String name
The name of the resource server.
Constraints:
Length: 1 - 256
Pattern: [\w\s+=,.@-]+
List<E> scopes
The scope values to be set for the resource server.
ResourceServerType resourceServer
The resource server.
List<E> userAttributes
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom: prefix
to the attribute name.
String accessToken
The access token for the request to update user attributes.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String userPoolId
The user pool ID for the user pool where you want to update the user pool client.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String clientId
The ID of the client associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String clientName
The client name from the update user pool client request.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
Integer refreshTokenValidity
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
Constraints:
Range: 0 - 3650
List<E> readAttributes
The read-only attributes of the user pool.
List<E> writeAttributes
The writeable attributes of the user pool.
List<E> explicitAuthFlows
Explicit authentication flows.
List<E> supportedIdentityProviders
A list of provider names for the identity providers that are supported on this client.
List<E> callbackURLs
A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
List<E> logoutURLs
A list of allowed logout URLs for the identity providers.
String defaultRedirectURI
The default redirect URI. Must be in the CallbackURLs list.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
Constraints:
Length: 1 - 1024
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
List<E> allowedOAuthFlows
Set to code to initiate a code grant flow, which provides an
authorization code as the response. This code can be exchanged for access
tokens with the token endpoint.
List<E> allowedOAuthScopes
A list of allowed OAuth scopes. Currently supported values
are "phone", "email", "openid",
and "Cognito".
Boolean allowedOAuthFlowsUserPoolClient
Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
AnalyticsConfigurationType analyticsConfiguration
The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
UserPoolClientType userPoolClient
The user pool client value from the response from the server when an update user pool client request is made.
String domain
The domain name for the custom domain that hosts the sign-up and sign-in
pages for your application. For example: auth.example.com.
This string can include only lowercase letters, numbers, and hyphens. Do not use a hyphen for the first or last character. Use periods to separate subdomain names.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
String userPoolId
The ID of the user pool that is associated with the custom domain that you are updating the certificate for.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
CustomDomainConfigType customDomainConfig
The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.
String cloudFrontDomain
The Amazon CloudFront endpoint that Amazon Cognito set up when you added the custom domain to your user pool.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
String userPoolId
The user pool ID for the user pool you want to update.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
UserPoolPolicyType policies
A container with the policies you wish to update in a user pool.
LambdaConfigType lambdaConfig
The AWS Lambda configuration information from the request to update the user pool.
List<E> autoVerifiedAttributes
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
String smsVerificationMessage
A container with information about the SMS verification message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
String emailVerificationMessage
The contents of the email verification message.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
String emailVerificationSubject
The subject of the email verification message.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
VerificationMessageTemplateType verificationMessageTemplate
The template for verification messages.
String smsAuthenticationMessage
The contents of the SMS authentication message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
String mfaConfiguration
Can be one of the following values:
OFF - MFA tokens are not required and cannot be specified
during user registration.
ON - MFA tokens are required for all user registrations. You
can only specify required when you are initially creating a user pool.
OPTIONAL - Users have the option when registering to create
an MFA token.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
DeviceConfigurationType deviceConfiguration
Device configuration.
EmailConfigurationType emailConfiguration
Email configuration.
SmsConfigurationType smsConfiguration
SMS configuration.
Map<K,V> userPoolTags
The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.
AdminCreateUserConfigType adminCreateUserConfig
The configuration for AdminCreateUser requests.
UserPoolAddOnsType userPoolAddOns
Used to enable advanced security risk detection. Set the key
AdvancedSecurityMode to the value "AUDIT".
String encodedData
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
String jobName
The job name for the user import job.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
String jobId
The job ID for the user import job.
Constraints:
Length: 1 - 55
Pattern: import-[0-9a-zA-Z-]+
String userPoolId
The user pool ID for the user pool that the users are being imported into.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String preSignedUrl
The pre-signed URL to be used to upload the .csv file.
Constraints:
Length: 0 - 2048
Date creationDate
The date the user import job was created.
Date startDate
The date when the user import job was started.
Date completionDate
The date when the user import job was completed.
String status
The status of the user import job. One of the following:
Created - The job was created but not started.
Pending - A transition state. You have started the job, but
it has not begun importing users yet.
InProgress - The job has started, and users are being
imported.
Stopping - You have stopped the job, but the job has not
stopped importing users yet.
Stopped - You have stopped the job, and the job has stopped
importing users.
Succeeded - The job has completed successfully.
Failed - The job has stopped due to an error.
Expired - You created a job, but did not start the job
within 24-48 hours. All data associated with the job was deleted, and the
job cannot be started.
Constraints:
Allowed Values: Created, Pending, InProgress, Stopping, Expired,
Stopped, Failed, Succeeded
String cloudWatchLogsRoleArn
The role ARN for the Amazon CloudWatch Logging role for the user import job. For more information, see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito Developer Guide.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
Long importedUsers
The number of users that were successfully imported.
Long skippedUsers
The number of users that were skipped.
Long failedUsers
The number of users that could not be imported.
String completionMessage
The message returned when the user import job is completed.
Constraints:
Length: 1 - 128
Pattern: [\w]+
String advancedSecurityMode
The advanced security mode.
Constraints:
Allowed Values: OFF, AUDIT, ENFORCED
String clientId
The ID of the client associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String userPoolId
The user pool ID for the user pool where you want to describe the user pool client.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String clientName
The client name from the user pool client description.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
String userPoolId
The user pool ID for the user pool client.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String clientName
The client name from the user pool request of the client type.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
String clientId
The ID of the client associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
String clientSecret
The client secret from the user pool request of the client type.
Constraints:
Length: 1 - 64
Pattern: [\w+]+
Date lastModifiedDate
The date the user pool client was last modified.
Date creationDate
The date the user pool client was created.
Integer refreshTokenValidity
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
Constraints:
Range: 0 - 3650
List<E> readAttributes
The Read-only attributes.
List<E> writeAttributes
The writeable attributes.
List<E> explicitAuthFlows
The explicit authentication flows.
List<E> supportedIdentityProviders
A list of provider names for the identity providers that are supported on this client.
List<E> callbackURLs
A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
List<E> logoutURLs
A list of allowed logout URLs for the identity providers.
String defaultRedirectURI
The default redirect URI. Must be in the CallbackURLs list.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
Constraints:
Length: 1 - 1024
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
List<E> allowedOAuthFlows
Set to code to initiate a code grant flow, which provides an
authorization code as the response. This code can be exchanged for access
tokens with the token endpoint.
Set to token to specify that the client should get the
access token (and, optionally, ID token, based on scopes) directly.
List<E> allowedOAuthScopes
A list of allowed OAuth scopes. Currently supported values
are "phone", "email", "openid",
and "Cognito".
Boolean allowedOAuthFlowsUserPoolClient
Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
AnalyticsConfigurationType analyticsConfiguration
The Amazon Pinpoint analytics configuration for the user pool client.
String id
The ID in a user pool description.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String name
The name in a user pool description.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
LambdaConfigType lambdaConfig
The AWS Lambda configuration information in a user pool description.
String status
The user pool status in a user pool description.
Constraints:
Allowed Values: Enabled, Disabled
Date lastModifiedDate
The date the user pool description was last modified.
Date creationDate
The date the user pool description was created.
PasswordPolicyType passwordPolicy
The password policy.
String id
The ID of the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
String name
The name of the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
UserPoolPolicyType policies
The policies associated with the user pool.
LambdaConfigType lambdaConfig
The AWS Lambda triggers associated with the user pool.
String status
The status of a user pool.
Constraints:
Allowed Values: Enabled, Disabled
Date lastModifiedDate
The date the user pool was last modified.
Date creationDate
The date the user pool was created.
List<E> schemaAttributes
A container with the schema attributes of a user pool.
List<E> autoVerifiedAttributes
Specifies the attributes that are auto-verified in a user pool.
List<E> aliasAttributes
Specifies the attributes that are aliased in a user pool.
List<E> usernameAttributes
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
String smsVerificationMessage
The contents of the SMS verification message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
String emailVerificationMessage
The contents of the email verification message.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
String emailVerificationSubject
The subject of the email verification message.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
VerificationMessageTemplateType verificationMessageTemplate
The template for verification messages.
String smsAuthenticationMessage
The contents of the SMS authentication message.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
String mfaConfiguration
Can be one of the following values:
OFF - MFA tokens are not required and cannot be specified
during user registration.
ON - MFA tokens are required for all user registrations. You
can only specify required when you are initially creating a user pool.
OPTIONAL - Users have the option when registering to create
an MFA token.
Constraints:
Allowed Values: OFF, ON, OPTIONAL
DeviceConfigurationType deviceConfiguration
The device configuration.
Integer estimatedNumberOfUsers
A number estimating the size of the user pool.
EmailConfigurationType emailConfiguration
The email configuration.
SmsConfigurationType smsConfiguration
The SMS configuration.
Map<K,V> userPoolTags
The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
String smsConfigurationFailure
The reason why the SMS configuration cannot send the messages to your users.
String emailConfigurationFailure
The reason why the email configuration cannot send the messages to your users.
String domain
Holds the domain prefix if the user pool has a domain associated with it.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
String customDomain
A custom domain name that you provide to Amazon Cognito. This parameter
applies only if you use a custom domain to host the sign-up and sign-in
pages for your application. For example: auth.example.com.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
AdminCreateUserConfigType adminCreateUserConfig
The configuration for AdminCreateUser requests.
UserPoolAddOnsType userPoolAddOns
The user pool add-ons.
String arn
The Amazon Resource Name (ARN) for the user pool.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
String username
The user name of the user you wish to describe.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
List<E> attributes
A container with information about the user type attributes.
Date userCreateDate
The creation date of the user.
Date userLastModifiedDate
The last modified date of the user.
Boolean enabled
Specifies whether the user is enabled.
String userStatus
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change his or her password to a new value before doing anything else.
Constraints:
Allowed Values: UNCONFIRMED, CONFIRMED, ARCHIVED, COMPROMISED,
UNKNOWN, RESET_REQUIRED, FORCE_CHANGE_PASSWORD
List<E> mFAOptions
The MFA options for the user.
String smsMessage
The SMS message template.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
String emailMessage
The email message template.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
String emailSubject
The subject line for the email message template.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
String emailMessageByLink
The email message template for sending a confirmation link to the user.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{##[\p{L}\p{M}\p{S}\p{N}\p
{P}\s*]*##\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*
String emailSubjectByLink
The subject line for the email message template for sending a confirmation link to the user.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
String defaultEmailOption
The default email option.
Constraints:
Allowed Values: CONFIRM_WITH_LINK, CONFIRM_WITH_CODE
String accessToken
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String session
The session which should be passed both ways in challenge-response calls to the service.
Constraints:
Length: 20 - 2048
String userCode
The one time password computed using the secret code returned by
Constraints:
Length: 6 - 6
Pattern: [0-9]+
String friendlyDeviceName
The friendly device name.
String accessToken
Represents the access token of the request to verify user attributes.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
String attributeName
The attribute name in the request to verify user attributes.
Constraints:
Length: 1 - 32
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
String code
The verification code in the request to verify user attributes.
Constraints:
Length: 1 - 2048
Pattern: [\S]+
Copyright © 2019. All rights reserved.