// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetChannelPolicy`](crate::operation::get_channel_policy::builders::GetChannelPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`channel_group_name(impl Into<String>)`](crate::operation::get_channel_policy::builders::GetChannelPolicyFluentBuilder::channel_group_name) / [`set_channel_group_name(Option<String>)`](crate::operation::get_channel_policy::builders::GetChannelPolicyFluentBuilder::set_channel_group_name):<br>required: **true**<br><p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p><br>
/// - [`channel_name(impl Into<String>)`](crate::operation::get_channel_policy::builders::GetChannelPolicyFluentBuilder::channel_name) / [`set_channel_name(Option<String>)`](crate::operation::get_channel_policy::builders::GetChannelPolicyFluentBuilder::set_channel_name):<br>required: **true**<br><p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p><br>
/// - On success, responds with [`GetChannelPolicyOutput`](crate::operation::get_channel_policy::GetChannelPolicyOutput) with field(s):
/// - [`channel_group_name(String)`](crate::operation::get_channel_policy::GetChannelPolicyOutput::channel_group_name): <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
/// - [`channel_name(String)`](crate::operation::get_channel_policy::GetChannelPolicyOutput::channel_name): <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.</p>
/// - [`policy(String)`](crate::operation::get_channel_policy::GetChannelPolicyOutput::policy): <p>The policy assigned to the channel.</p>
/// - On failure, responds with [`SdkError<GetChannelPolicyError>`](crate::operation::get_channel_policy::GetChannelPolicyError)
pub fn get_channel_policy(&self) -> crate::operation::get_channel_policy::builders::GetChannelPolicyFluentBuilder {
crate::operation::get_channel_policy::builders::GetChannelPolicyFluentBuilder::new(self.handle.clone())
}
}