{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-schema/user-pools-associate-software-token-request-schema.json", "title": "AssociateSoftwareTokenRequest", "description": "AssociateSoftwareTokenRequest schema from Amazon Cognito API", "type": "object", "properties": { "AccessToken": { "allOf": [ { "$ref": "#/components/schemas/TokenModelType" }, { "description": "A valid access token that Amazon Cognito issued to the user whose software token you want to generate." } ] }, "Session": { "allOf": [ { "$ref": "#/components/schemas/SessionType" }, { "description": "The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process." } ] } } }