describeTrafficSources
inline suspend fun AutoScalingClient.describeTrafficSources(crossinline block: DescribeTrafficSourcesRequest.Builder.() -> Unit): DescribeTrafficSourcesResponse
Gets information about the traffic sources for the specified Auto Scaling group.
You can optionally provide a traffic source type. If you provide a traffic source type, then the results only include that traffic source type.
If you do not provide a traffic source type, then the results include all the traffic sources for the specified Auto Scaling group.
Samples
fun main() {
//sampleStart
// This example describes the target groups attached to the specified Auto Scaling group.
val resp = autoScalingClient.describeTrafficSources {
autoScalingGroupName = "my-auto-scaling-group"
}
//sampleEnd
}