CognitoAdminCreateUserRequest class

Request class for AdminCreateUser API operation

Constructors

CognitoAdminCreateUserRequest({required String userPoolId, required String username, required String region, required CognitoHttpClient httpClient, List<CognitoAttributeType>? userAttributes, List<String>? desiredDeliveryMediums, bool? forceAliasCreation, CognitoMessageActionType? messageAction, String? temporaryPassword, Map<String, String>? clientMetadata, List<CognitoAttributeType>? validationData, int maxRetries = 2, Duration requestTimeout = const Duration(seconds: 20)})
Creates a new AdminCreateUser request

Properties

clientMetadata Map<String, String>?
Metadata to pass to Lambda triggers
final
desiredDeliveryMediums List<String>?
The delivery mediums for the invitation message
final
forceAliasCreation bool?
Whether to force alias creation
final
hashCode int
The hash code for this object.
no setterinherited
httpClient CognitoHttpClient
Configured HTTP client
final
maxRetries int
Maximum retry attempts
final
messageAction CognitoMessageActionType?
Action to take regarding the invitation message
final
region String
The AWS region for the request
final
requestTimeout Duration
Request timeout duration
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
temporaryPassword String?
Temporary password for the user
final
userAttributes List<CognitoAttributeType>?
List of user attributes (name/value pairs)
final
username String
The username for the new user
final
userPoolId String
The user pool ID for the user pool where the user will be created
final
validationData List<CognitoAttributeType>?
Temporary attributes for pre sign-up triggers
final

Methods

execute() Future<CognitoAdminCreateUserResult>
Executes the AdminCreateUser request
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited