#[non_exhaustive]pub struct BatchPutDocumentInput {
pub application_id: Option<String>,
pub index_id: Option<String>,
pub documents: Option<Vec<Document>>,
pub role_arn: Option<String>,
pub data_source_sync_id: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.application_id: Option<String>The identifier of the Amazon Q application.
index_id: Option<String>The identifier of the Amazon Q index to add the documents to.
documents: Option<Vec<Document>>One or more documents to add to the index.
role_arn: Option<String>The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
data_source_sync_id: Option<String>The identifier of the data source sync during which the documents were added.
Implementations§
source§impl BatchPutDocumentInput
impl BatchPutDocumentInput
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The identifier of the Amazon Q application.
sourcepub fn index_id(&self) -> Option<&str>
pub fn index_id(&self) -> Option<&str>
The identifier of the Amazon Q index to add the documents to.
sourcepub fn documents(&self) -> &[Document]
pub fn documents(&self) -> &[Document]
One or more documents to add to the index.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .documents.is_none().
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
sourcepub fn data_source_sync_id(&self) -> Option<&str>
pub fn data_source_sync_id(&self) -> Option<&str>
The identifier of the data source sync during which the documents were added.
source§impl BatchPutDocumentInput
impl BatchPutDocumentInput
sourcepub fn builder() -> BatchPutDocumentInputBuilder
pub fn builder() -> BatchPutDocumentInputBuilder
Creates a new builder-style object to manufacture BatchPutDocumentInput.
Trait Implementations§
source§impl Clone for BatchPutDocumentInput
impl Clone for BatchPutDocumentInput
source§fn clone(&self) -> BatchPutDocumentInput
fn clone(&self) -> BatchPutDocumentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BatchPutDocumentInput
impl Debug for BatchPutDocumentInput
source§impl PartialEq for BatchPutDocumentInput
impl PartialEq for BatchPutDocumentInput
source§fn eq(&self, other: &BatchPutDocumentInput) -> bool
fn eq(&self, other: &BatchPutDocumentInput) -> bool
self and other values to be equal, and is used
by ==.