describeEnvironmentMemberships

Gets information about environment members for an Cloud9 development environment.

Cloud9 is no longer available to new customers. Existing customers of Cloud9 can continue to use the service as normal. Learn more"

Samples

import aws.sdk.kotlin.services.cloud9.model.Permissions

fun main() { 
   //sampleStart 
   // The following example gets information about the owner of the specified development environment.
val resp = cloud9Client.describeEnvironmentMemberships {
    permissions = listOf<Permissions>(
        Permissions.fromValue("owner")
    )
    environmentId = "8d9967e2f0624182b74e7690ad69ebEX"
} 
   //sampleEnd
}
import aws.sdk.kotlin.services.cloud9.model.Permissions

fun main() { 
   //sampleStart 
   // The following example gets development environment membership information for the specified user.
val resp = cloud9Client.describeEnvironmentMemberships {
    userArn = "arn:aws:iam::123456789012:user/MyDemoUser"
} 
   //sampleEnd
}
import aws.sdk.kotlin.services.cloud9.model.Permissions

fun main() { 
   //sampleStart 
   // The following example gets information about all of the environment members for the specified
// development environment.
val resp = cloud9Client.describeEnvironmentMemberships {
    environmentId = "8d9967e2f0624182b74e7690ad69ebEX"
} 
   //sampleEnd
}