aws_sdk_dynamodb/client/describe_contributor_insights.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DescribeContributorInsights`](crate::operation::describe_contributor_insights::builders::DescribeContributorInsightsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`table_name(impl 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):<br>required: **true**<br><p>The name of the table to describe. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.</p><br>
7 /// - [`index_name(impl 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):<br>required: **false**<br><p>The name of the global secondary index to describe, if applicable.</p><br>
8 /// - On success, responds with [`DescribeContributorInsightsOutput`](crate::operation::describe_contributor_insights::DescribeContributorInsightsOutput) with field(s):
9 /// - [`table_name(Option<String>)`](crate::operation::describe_contributor_insights::DescribeContributorInsightsOutput::table_name): <p>The name of the table being described.</p>
10 /// - [`index_name(Option<String>)`](crate::operation::describe_contributor_insights::DescribeContributorInsightsOutput::index_name): <p>The name of the global secondary index being described.</p>
11 /// - [`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>
12 /// - [`contributor_insights_status(Option<ContributorInsightsStatus>)`](crate::operation::describe_contributor_insights::DescribeContributorInsightsOutput::contributor_insights_status): <p>Current status of contributor insights.</p>
13 /// - [`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>
14 /// - [`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>
15 /// - On failure, responds with [`SdkError<DescribeContributorInsightsError>`](crate::operation::describe_contributor_insights::DescribeContributorInsightsError)
16 pub fn describe_contributor_insights(&self) -> crate::operation::describe_contributor_insights::builders::DescribeContributorInsightsFluentBuilder {
17 crate::operation::describe_contributor_insights::builders::DescribeContributorInsightsFluentBuilder::new(self.handle.clone())
18 }
19}
20