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