retrieveEnvironmentInfo

Retrieves the compiled information from a RequestEnvironmentInfo request.

Related Topics

  • RequestEnvironmentInfo

Samples

import aws.sdk.kotlin.services.elasticbeanstalk.model.EnvironmentInfoType

fun main() { 
   //sampleStart 
   // The following operation retrieves a link to logs from an environment named my env
val resp = elasticBeanstalkClient.retrieveEnvironmentInfo {
    environmentName = "my-env"
    infoType = EnvironmentInfoType.fromValue("tail")
} 
   //sampleEnd
}