describeLaunchTemplateVersions
abstract suspend fun describeLaunchTemplateVersions(input: DescribeLaunchTemplateVersionsRequest = DescribeLaunchTemplateVersionsRequest { }): DescribeLaunchTemplateVersionsResponse
Describes one or more versions of a specified launch template. You can describe all versions, individual versions, or a range of versions. You can also describe all the latest versions or all the default versions of all the launch templates in your account.
Samples
fun main() {
//sampleStart
// This example describes the versions for the specified launch template.
val resp = ec2Client.describeLaunchTemplateVersions {
launchTemplateId = "068f72b72934aff71"
}
//sampleEnd
}