aws-sdk-bedrockagentruntime 1.135.0

AWS SDK for Agents for Amazon Bedrock Runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetIngestedDocumentAcl`](crate::operation::get_ingested_document_acl::builders::GetIngestedDocumentAclFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`knowledge_base_id(impl Into<String>)`](crate::operation::get_ingested_document_acl::builders::GetIngestedDocumentAclFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::get_ingested_document_acl::builders::GetIngestedDocumentAclFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The unique identifier of the knowledge base that contains the document.</p><br>
    ///   - [`data_source_id(impl Into<String>)`](crate::operation::get_ingested_document_acl::builders::GetIngestedDocumentAclFluentBuilder::data_source_id) / [`set_data_source_id(Option<String>)`](crate::operation::get_ingested_document_acl::builders::GetIngestedDocumentAclFluentBuilder::set_data_source_id):<br>required: **true**<br><p>The unique identifier of the data source that contains the document.</p><br>
    ///   - [`document_id(impl Into<String>)`](crate::operation::get_ingested_document_acl::builders::GetIngestedDocumentAclFluentBuilder::document_id) / [`set_document_id(Option<String>)`](crate::operation::get_ingested_document_acl::builders::GetIngestedDocumentAclFluentBuilder::set_document_id):<br>required: **true**<br><p>The unique identifier of the document to retrieve the ingested access control list (ACL) for.</p><br>
    /// - On success, responds with [`GetIngestedDocumentAclOutput`](crate::operation::get_ingested_document_acl::GetIngestedDocumentAclOutput) with field(s):
    ///   - [`document_acl(Option<DocumentAcl>)`](crate::operation::get_ingested_document_acl::GetIngestedDocumentAclOutput::document_acl): <p>The ingested document access control list (ACL) containing allow and deny membership information.</p>
    /// - On failure, responds with [`SdkError<GetIngestedDocumentAclError>`](crate::operation::get_ingested_document_acl::GetIngestedDocumentAclError)
    pub fn get_ingested_document_acl(&self) -> crate::operation::get_ingested_document_acl::builders::GetIngestedDocumentAclFluentBuilder {
        crate::operation::get_ingested_document_acl::builders::GetIngestedDocumentAclFluentBuilder::new(self.handle.clone())
    }
}