User Pools Associate Software Token Request Structure
AssociateSoftwareTokenRequest schema from Amazon Cognito API
Type: objectProperties: 2
AuthenticationAmazon Web ServicesIdentityOpenID ConnectSAMLUser ManagementFederated IdentityIdentity Federation
AssociateSoftwareTokenRequest is a JSON Structure definition published by Amazon Cognito, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-structure/user-pools-associate-software-token-request-structure.json",
"name": "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."
}
]
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.