getChannel
inline suspend fun MediaPackageV2Client.getChannel(crossinline block: GetChannelRequest.Builder.() -> Unit): GetChannelResponse
Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
Samples
fun main() {
//sampleStart
// Getting a Channel
val resp = mediaPackageV2Client.getChannel {
channelGroupName = "exampleChannelGroup"
channelName = "exampleChannel"
}
//sampleEnd
}