1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListViews`](crate::operation::list_views::builders::ListViewsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_views::builders::ListViewsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::list_views::builders::ListViewsFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::list_views::builders::ListViewsFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p><br>
    ///   - [`r#type(ViewType)`](crate::operation::list_views::builders::ListViewsFluentBuilder::type) / [`set_type(Option<ViewType>)`](crate::operation::list_views::builders::ListViewsFluentBuilder::set_type):<br>required: **false**<br><p>The type of the view.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_views::builders::ListViewsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_views::builders::ListViewsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_views::builders::ListViewsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_views::builders::ListViewsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page. The default MaxResult size is 100.</p><br>
    /// - On success, responds with [`ListViewsOutput`](crate::operation::list_views::ListViewsOutput) with field(s):
    ///   - [`views_summary_list(Option<Vec::<ViewSummary>>)`](crate::operation::list_views::ListViewsOutput::views_summary_list): <p>A list of view summaries.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_views::ListViewsOutput::next_token): <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListViewsError>`](crate::operation::list_views::ListViewsError)
    pub fn list_views(&self) -> crate::operation::list_views::builders::ListViewsFluentBuilder {
        crate::operation::list_views::builders::ListViewsFluentBuilder::new(self.handle.clone())
    }
}