// This file is autogenerated, DO NOT EDIT // Use `node scripts/generate-docs-examples.js` to generate the docs examples [source, js] ---- const response = await client.autoscaling.putAutoscalingPolicy({ name: "my_autoscaling_policy", policy: { roles: ["ml"], deciders: { ml: { num_anomaly_jobs_in_queue: 5, num_analytics_jobs_in_queue: 3, down_scale_delay: "30m", }, }, }, }); console.log(response); ----