describeScalableTargets
inline suspend fun ApplicationAutoScalingClient.describeScalableTargets(crossinline block: DescribeScalableTargetsRequest.Builder.() -> Unit): DescribeScalableTargetsResponse
Gets information about the scalable targets in the specified namespace.
You can filter the results using ResourceIds
and ScalableDimension
.
Samples
fun main() {
//sampleStart
// This example describes the scalable targets for the ECS service namespace.
val resp = applicationAutoScalingClient.describeScalableTargets {
serviceNamespace = ServiceNamespace.fromValue("ecs")
}
//sampleEnd
}