SetRiskConfigurationRequest is a JSON Structure definition published by Amazon Cognito, describing 5 properties, of which 1 is required. 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-set-risk-configuration-request-structure.json",
"name": "SetRiskConfigurationRequest",
"description": "SetRiskConfigurationRequest schema from Amazon Cognito API",
"type": "object",
"properties": {
"UserPoolId": {
"allOf": [
{
"$ref": "#/components/schemas/UserPoolIdType"
},
{
"description": "The user pool ID. "
}
]
},
"ClientId": {
"allOf": [
{
"$ref": "#/components/schemas/ClientIdType"
},
{
"description": "<p>The app client ID. If <code>ClientId</code> is null, then the risk configuration is mapped to <code>userPoolId</code>. When the client ID is null, the same risk configuration is applied to all the clients in the userPool.</p> <p>Otherwise, <code>ClientId</code> is mapped to the client. When the client ID isn't null, the user pool configuration is overridden and the risk configuration for the client is used instead.</p>"
}
]
},
"CompromisedCredentialsRiskConfiguration": {
"allOf": [
{
"$ref": "#/components/schemas/CompromisedCredentialsRiskConfigurationType"
},
{
"description": "The compromised credentials risk configuration."
}
]
},
"AccountTakeoverRiskConfiguration": {
"allOf": [
{
"$ref": "#/components/schemas/AccountTakeoverRiskConfigurationType"
},
{
"description": "The account takeover risk configuration."
}
]
},
"RiskExceptionConfiguration": {
"allOf": [
{
"$ref": "#/components/schemas/RiskExceptionConfigurationType"
},
{
"description": "The configuration to override the risk decision."
}
]
}
},
"required": [
"UserPoolId"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and
Terms.