AWSCognitoIdentityProviderAdminSetUserSettingsRequest

Objective-C

@interface AWSCognitoIdentityProviderAdminSetUserSettingsRequest

Swift

class AWSCognitoIdentityProviderAdminSetUserSettingsRequest

You can use this parameter to set an MFA configuration that uses the SMS delivery medium.

Required parameters: [UserPoolId, Username, MFAOptions]

  • You can use this parameter only to set an SMS configuration that uses SMS for delivery.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSCognitoIdentityProviderMFAOptionType *> *_Nullable MFAOptions;

    Swift

    var mfaOptions: [AWSCognitoIdentityProviderMFAOptionType]? { get set }
  • The ID of the user pool that contains the user whose options you’re setting.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable userPoolId;

    Swift

    var userPoolId: String? { get set }
  • The username of the user that you want to query or modify. The value of this parameter is typically your user’s username, but it can be any of their alias attributes. If username isn’t an alias attribute in your user pool, you can also use their sub in this request.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable username;

    Swift

    var username: String? { get set }