aws_sdk_wisdom/client/
get_content_summary.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetContentSummary`](crate::operation::get_content_summary::builders::GetContentSummaryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
    /// - On success, responds with [`GetContentSummaryOutput`](crate::operation::get_content_summary::GetContentSummaryOutput) with field(s):
    ///   - [`content_summary(Option<ContentSummary>)`](crate::operation::get_content_summary::GetContentSummaryOutput::content_summary): <p>The content summary.</p>
    /// - On failure, responds with [`SdkError<GetContentSummaryError>`](crate::operation::get_content_summary::GetContentSummaryError)
    pub fn get_content_summary(&self) -> crate::operation::get_content_summary::builders::GetContentSummaryFluentBuilder {
        crate::operation::get_content_summary::builders::GetContentSummaryFluentBuilder::new(self.handle.clone())
    }
}