aws_sdk_qconnect/client/
delete_content.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 [`DeleteContent`](crate::operation::delete_content::builders::DeleteContentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`knowledge_base_id(impl Into<String>)`](crate::operation::delete_content::builders::DeleteContentFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::delete_content::builders::DeleteContentFluentBuilder::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>
7    ///   - [`content_id(impl Into<String>)`](crate::operation::delete_content::builders::DeleteContentFluentBuilder::content_id) / [`set_content_id(Option<String>)`](crate::operation::delete_content::builders::DeleteContentFluentBuilder::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>
8    /// - On success, responds with [`DeleteContentOutput`](crate::operation::delete_content::DeleteContentOutput)
9    /// - On failure, responds with [`SdkError<DeleteContentError>`](crate::operation::delete_content::DeleteContentError)
10    pub fn delete_content(&self) -> crate::operation::delete_content::builders::DeleteContentFluentBuilder {
11        crate::operation::delete_content::builders::DeleteContentFluentBuilder::new(self.handle.clone())
12    }
13}