{
"type": "object",
"properties": {
"GroupName": {
"allOf": [
{
"$ref": "#/components/schemas/GroupNameType"
},
{
"description": "The name of the group."
}
]
},
"UserPoolId": {
"allOf": [
{
"$ref": "#/components/schemas/UserPoolIdType"
},
{
"description": "The user pool ID for the user pool."
}
]
},
"Description": {
"allOf": [
{
"$ref": "#/components/schemas/DescriptionType"
},
{
"description": "A string containing the new description of the group."
}
]
},
"RoleArn": {
"allOf": [
{
"$ref": "#/components/schemas/ArnType"
},
{
"description": "The new role Amazon Resource Name (ARN) for the group. This is used for setting the cognito:roles and cognito:preferred_role claims in the token."
}
]
},
"Precedence": {
"allOf": [
{
"$ref": "#/components/schemas/PrecedenceType"
},
{
"description": "The new precedence value for the group. For more information about this parameter, see CreateGroup."
}
]
}
},
"required": [
"GroupName",
"UserPoolId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/aws-cognito/refs/heads/main/json-schema/cognito-idp-update-group-request-schema.json",
"title": "UpdateGroupRequest",
"description": "UpdateGroupRequest schema from Amazon Cognito"
}