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 [`DescribeContributorInsights`](crate::operation::describe_contributor_insights::builders::DescribeContributorInsightsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`table_name(impl ::std::convert::Into<String>)`](crate::operation::describe_contributor_insights::builders::DescribeContributorInsightsFluentBuilder::table_name) / [`set_table_name(Option<String>)`](crate::operation::describe_contributor_insights::builders::DescribeContributorInsightsFluentBuilder::set_table_name): <p>The name of the table to describe.</p>
    ///   - [`index_name(impl ::std::convert::Into<String>)`](crate::operation::describe_contributor_insights::builders::DescribeContributorInsightsFluentBuilder::index_name) / [`set_index_name(Option<String>)`](crate::operation::describe_contributor_insights::builders::DescribeContributorInsightsFluentBuilder::set_index_name): <p>The name of the global secondary index to describe, if applicable.</p>
    /// - On success, responds with [`DescribeContributorInsightsOutput`](crate::operation::describe_contributor_insights::DescribeContributorInsightsOutput) with field(s):
    ///   - [`table_name(Option<String>)`](crate::operation::describe_contributor_insights::DescribeContributorInsightsOutput::table_name): <p>The name of the table being described.</p>
    ///   - [`index_name(Option<String>)`](crate::operation::describe_contributor_insights::DescribeContributorInsightsOutput::index_name): <p>The name of the global secondary index being described.</p>
    ///   - [`contributor_insights_rule_list(Option<Vec<String>>)`](crate::operation::describe_contributor_insights::DescribeContributorInsightsOutput::contributor_insights_rule_list): <p>List of names of the associated contributor insights rules.</p>
    ///   - [`contributor_insights_status(Option<ContributorInsightsStatus>)`](crate::operation::describe_contributor_insights::DescribeContributorInsightsOutput::contributor_insights_status): <p>Current status of contributor insights.</p>
    ///   - [`last_update_date_time(Option<DateTime>)`](crate::operation::describe_contributor_insights::DescribeContributorInsightsOutput::last_update_date_time): <p>Timestamp of the last time the status was changed.</p>
    ///   - [`failure_exception(Option<FailureException>)`](crate::operation::describe_contributor_insights::DescribeContributorInsightsOutput::failure_exception): <p>Returns information about the last failure that was encountered.</p>  <p>The most common exceptions for a FAILED status are:</p>  <ul>   <li> <p>LimitExceededException - Per-account Amazon CloudWatch Contributor Insights rule limit reached. Please disable Contributor Insights for other tables/indexes OR disable Contributor Insights rules before retrying.</p> </li>   <li> <p>AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be modified due to insufficient permissions.</p> </li>   <li> <p>AccessDeniedException - Failed to create service-linked role for Contributor Insights due to insufficient permissions.</p> </li>   <li> <p>InternalServerError - Failed to create Amazon CloudWatch Contributor Insights rules. Please retry request.</p> </li>  </ul>
    /// - On failure, responds with [`SdkError<DescribeContributorInsightsError>`](crate::operation::describe_contributor_insights::DescribeContributorInsightsError)
    pub fn describe_contributor_insights(&self) -> crate::operation::describe_contributor_insights::builders::DescribeContributorInsightsFluentBuilder{
        crate::operation::describe_contributor_insights::builders::DescribeContributorInsightsFluentBuilder::new(self.handle.clone())
    }
}