UpdateUserPoolRequest
public struct UpdateUserPoolRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Use this setting to define which verified available method a user can use to recover their password when they call ForgotPassword. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email.
Declaration
Swift
public let accountRecoverySetting: AccountRecoverySettingType?
-
The configuration for AdminCreateUser requests.
Declaration
Swift
public let adminCreateUserConfig: AdminCreateUserConfigType?
-
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
Declaration
Swift
public let autoVerifiedAttributes: [VerifiedAttributeType]?
-
Device configuration.
Declaration
Swift
public let deviceConfiguration: DeviceConfigurationType?
-
Email configuration.
Declaration
Swift
public let emailConfiguration: EmailConfigurationType?
-
The contents of the email verification message.
Declaration
Swift
public let emailVerificationMessage: String?
-
The subject of the email verification message.
Declaration
Swift
public let emailVerificationSubject: String?
-
The AWS Lambda configuration information from the request to update the user pool.
Declaration
Swift
public let lambdaConfig: LambdaConfigType?
-
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.
Declaration
Swift
public let mfaConfiguration: UserPoolMfaType?
-
A container with the policies you wish to update in a user pool.
Declaration
Swift
public let policies: UserPoolPolicyType?
-
The contents of the SMS authentication message.
Declaration
Swift
public let smsAuthenticationMessage: String?
-
SMS configuration.
Declaration
Swift
public let smsConfiguration: SmsConfigurationType?
-
A container with information about the SMS verification message.
Declaration
Swift
public let smsVerificationMessage: String?
-
Used to enable advanced security risk detection. Set the key AdvancedSecurityMode to the value “AUDIT”.
Declaration
Swift
public let userPoolAddOns: UserPoolAddOnsType?
-
The user pool ID for the user pool you want to update.
Declaration
Swift
public let userPoolId: String
-
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.
Declaration
Swift
public let userPoolTags: [String : String]?
-
The template for verification messages.
Declaration
Swift
public let verificationMessageTemplate: VerificationMessageTemplateType?
-
init(accountRecoverySetting:adminCreateUserConfig:autoVerifiedAttributes:deviceConfiguration:emailConfiguration:emailVerificationMessage:emailVerificationSubject:lambdaConfig:mfaConfiguration:policies:smsAuthenticationMessage:smsConfiguration:smsVerificationMessage:userPoolAddOns:userPoolId:userPoolTags:verificationMessageTemplate:)
Undocumented
Declaration
Swift
public init(accountRecoverySetting: AccountRecoverySettingType? = nil, adminCreateUserConfig: AdminCreateUserConfigType? = nil, autoVerifiedAttributes: [VerifiedAttributeType]? = nil, deviceConfiguration: DeviceConfigurationType? = nil, emailConfiguration: EmailConfigurationType? = nil, emailVerificationMessage: String? = nil, emailVerificationSubject: String? = nil, lambdaConfig: LambdaConfigType? = nil, mfaConfiguration: UserPoolMfaType? = nil, policies: UserPoolPolicyType? = nil, smsAuthenticationMessage: String? = nil, smsConfiguration: SmsConfigurationType? = nil, smsVerificationMessage: String? = nil, userPoolAddOns: UserPoolAddOnsType? = nil, userPoolId: String, userPoolTags: [String : String]? = nil, verificationMessageTemplate: VerificationMessageTemplateType? = nil)
-
Declaration
Swift
public func validate(name: String) throws