aws_sdk_qconnect/client/
get_content_summary.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 [`GetContentSummary`](crate::operation::get_content_summary::builders::GetContentSummaryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`content_id(impl Into<String>)`](crate::operation::get_content_summary::builders::GetContentSummaryFluentBuilder::content_id) / [`set_content_id(Option<String>)`](crate::operation::get_content_summary::builders::GetContentSummaryFluentBuilder::set_content_id):<br>required: **true**<br><p>The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
7    ///   - [`knowledge_base_id(impl Into<String>)`](crate::operation::get_content_summary::builders::GetContentSummaryFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::get_content_summary::builders::GetContentSummaryFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
8    /// - On success, responds with [`GetContentSummaryOutput`](crate::operation::get_content_summary::GetContentSummaryOutput) with field(s):
9    ///   - [`content_summary(Option<ContentSummary>)`](crate::operation::get_content_summary::GetContentSummaryOutput::content_summary): <p>The content summary.</p>
10    /// - On failure, responds with [`SdkError<GetContentSummaryError>`](crate::operation::get_content_summary::GetContentSummaryError)
11    pub fn get_content_summary(&self) -> crate::operation::get_content_summary::builders::GetContentSummaryFluentBuilder {
12        crate::operation::get_content_summary::builders::GetContentSummaryFluentBuilder::new(self.handle.clone())
13    }
14}