{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-structure/user-pools-set-user-mfa-preference-request-structure.json", "name": "SetUserMFAPreferenceRequest", "description": "SetUserMFAPreferenceRequest schema from Amazon Cognito API", "type": "object", "properties": { "SMSMfaSettings": { "allOf": [ { "$ref": "#/components/schemas/SMSMfaSettingsType" }, { "description": "The SMS text message multi-factor authentication (MFA) settings." } ] }, "SoftwareTokenMfaSettings": { "allOf": [ { "$ref": "#/components/schemas/SoftwareTokenMfaSettingsType" }, { "description": "The time-based one-time password (TOTP) software token MFA settings." } ] }, "AccessToken": { "allOf": [ { "$ref": "#/components/schemas/TokenModelType" }, { "description": "A valid access token that Amazon Cognito issued to the user whose MFA preference you want to set." } ] } }, "required": [ "AccessToken" ] }