swapEnvironmentCnames
inline suspend fun ElasticBeanstalkClient.swapEnvironmentCnames(crossinline block: SwapEnvironmentCnamesRequest.Builder.() -> Unit): SwapEnvironmentCnamesResponse
Swaps the CNAMEs of two environments.
Samples
fun main() {
//sampleStart
// The following operation swaps the assigned subdomains of two environments
elasticBeanstalkClient.swapEnvironmentCnames {
sourceEnvironmentName = "my-env-blue"
destinationEnvironmentName = "my-env-green"
}
//sampleEnd
}