aws_sdk_qconnect/client/get_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 [`GetContentAssociation`](crate::operation::get_content_association::builders::GetContentAssociationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`knowledge_base_id(impl Into<String>)`](crate::operation::get_content_association::builders::GetContentAssociationFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::get_content_association::builders::GetContentAssociationFluentBuilder::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::get_content_association::builders::GetContentAssociationFluentBuilder::content_id) / [`set_content_id(Option<String>)`](crate::operation::get_content_association::builders::GetContentAssociationFluentBuilder::set_content_id):<br>required: **true**<br><p>The identifier of the content.</p><br>
8 /// - [`content_association_id(impl Into<String>)`](crate::operation::get_content_association::builders::GetContentAssociationFluentBuilder::content_association_id) / [`set_content_association_id(Option<String>)`](crate::operation::get_content_association::builders::GetContentAssociationFluentBuilder::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 [`GetContentAssociationOutput`](crate::operation::get_content_association::GetContentAssociationOutput) with field(s):
10 /// - [`content_association(Option<ContentAssociationData>)`](crate::operation::get_content_association::GetContentAssociationOutput::content_association): <p>The association between Amazon Q in Connect content and another resource.</p>
11 /// - On failure, responds with [`SdkError<GetContentAssociationError>`](crate::operation::get_content_association::GetContentAssociationError)
12 pub fn get_content_association(&self) -> crate::operation::get_content_association::builders::GetContentAssociationFluentBuilder {
13 crate::operation::get_content_association::builders::GetContentAssociationFluentBuilder::new(self.handle.clone())
14 }
15}