http://schemas.{region}.amazonaws.com/v1/registries/name/{registryName}/schemas/name/{schemaName}<p>Updates the schema definition</p> <note><p>Inactive schemas will be deleted after two years.</p></note>
The name of the registry.
The name of the schema.
The schema type for the events schema.
The source of the schema definition.
The description of the schema.
The ID of the client token.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request PUT \2 --url 'http://schemas.{region}.amazonaws.com/v1/registries/name/{registryName}/schemas/name/{schemaName}' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://schemas.{region}.amazonaws.com/v1/registries/name/{registryName}/schemas/name/{schemaName}<p>Updates the schema definition</p> <note><p>Inactive schemas will be deleted after two years.</p></note>
The name of the registry.
The name of the schema.
The schema type for the events schema.
The source of the schema definition.
The description of the schema.
The ID of the client token.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request PUT \2 --url 'http://schemas.{region}.amazonaws.com/v1/registries/name/{registryName}/schemas/name/{schemaName}' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}