1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeChannelBan`](crate::operation::describe_channel_ban::builders::DescribeChannelBanFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`channel_arn(impl Into<String>)`](crate::operation::describe_channel_ban::builders::DescribeChannelBanFluentBuilder::channel_arn) / [`set_channel_arn(Option<String>)`](crate::operation::describe_channel_ban::builders::DescribeChannelBanFluentBuilder::set_channel_arn): <p>The ARN of the channel from which the user is banned.</p>
    ///   - [`member_arn(impl Into<String>)`](crate::operation::describe_channel_ban::builders::DescribeChannelBanFluentBuilder::member_arn) / [`set_member_arn(Option<String>)`](crate::operation::describe_channel_ban::builders::DescribeChannelBanFluentBuilder::set_member_arn): <p>The ARN of the member being banned.</p>
    ///   - [`chime_bearer(impl Into<String>)`](crate::operation::describe_channel_ban::builders::DescribeChannelBanFluentBuilder::chime_bearer) / [`set_chime_bearer(Option<String>)`](crate::operation::describe_channel_ban::builders::DescribeChannelBanFluentBuilder::set_chime_bearer): <p>The <code>AppInstanceUserArn</code> of the user that makes the API call.</p>
    /// - On success, responds with [`DescribeChannelBanOutput`](crate::operation::describe_channel_ban::DescribeChannelBanOutput) with field(s):
    ///   - [`channel_ban(Option<ChannelBan>)`](crate::operation::describe_channel_ban::DescribeChannelBanOutput::channel_ban): <p>The details of the ban.</p>
    /// - On failure, responds with [`SdkError<DescribeChannelBanError>`](crate::operation::describe_channel_ban::DescribeChannelBanError)
    pub fn describe_channel_ban(
        &self,
    ) -> crate::operation::describe_channel_ban::builders::DescribeChannelBanFluentBuilder {
        crate::operation::describe_channel_ban::builders::DescribeChannelBanFluentBuilder::new(
            self.handle.clone(),
        )
    }
}