# NOT RUN {
# This example disables collecting data for the GroupDesiredCapacity
# metric for the specified Auto Scaling group.
svc$disable_metrics_collection(
AutoScalingGroupName = "my-auto-scaling-group",
Metrics = list(
"GroupDesiredCapacity"
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab