Amazon Cognito · JSON Structure

Cognito Idp Admin Set User Mfa Preference Request Structure

AdminSetUserMFAPreferenceRequest schema from Amazon Cognito

Type: object Properties: 4 Required: 2
AuthenticationAuthorizationIdentityIdentity ProviderOAuth2OIDC

AdminSetUserMFAPreferenceRequest is a JSON Structure definition published by Amazon Cognito, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

SMSMfaSettings SoftwareTokenMfaSettings Username UserPoolId

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "properties": {
    "SMSMfaSettings": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SMSMfaSettingsType"
        },
        {
          "description": "The SMS text message MFA settings."
        }
      ]
    },
    "SoftwareTokenMfaSettings": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SoftwareTokenMfaSettingsType"
        },
        {
          "description": "The time-based one-time password software token MFA settings."
        }
      ]
    },
    "Username": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UsernameType"
        },
        {
          "description": "The user pool username or alias."
        }
      ]
    },
    "UserPoolId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserPoolIdType"
        },
        {
          "description": "The user pool ID."
        }
      ]
    }
  },
  "required": [
    "Username",
    "UserPoolId"
  ],
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-cognito/refs/heads/main/json-structure/cognito-idp-admin-set-user-mfa-preference-request-structure.json",
  "name": "AdminSetUserMFAPreferenceRequest",
  "description": "AdminSetUserMFAPreferenceRequest schema from Amazon Cognito"
}