getChannelPolicy

Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources.

Samples


fun main() { 
   //sampleStart 
   // Getting a Channel Policy
val resp = mediaPackageV2Client.getChannelPolicy {
    channelGroupName = "exampleChannelGroup"
    channelName = "exampleChannel"
} 
   //sampleEnd
}