getChannelPolicy
inline suspend fun MediaPackageV2Client.getChannelPolicy(crossinline block: GetChannelPolicyRequest.Builder.() -> Unit): GetChannelPolicyResponse
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
// Getting a Channel Policy
val resp = mediaPackageV2Client.getChannelPolicy {
channelGroupName = "exampleChannelGroup"
channelName = "exampleChannel"
}Content copied to clipboard