# NOT RUN {
# This example detaches the specified instance from the specified Auto
# Scaling group.
# }
# NOT RUN {
svc$detach_instances(
AutoScalingGroupName = "my-auto-scaling-group",
InstanceIds = list(
"i-93633f9b"
),
ShouldDecrementDesiredCapacity = TRUE
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab