Struct rusoto_kendra::BatchPutDocumentRequest
source · [−]pub struct BatchPutDocumentRequest {
pub documents: Vec<Document>,
pub index_id: String,
pub role_arn: Option<String>,
}
Fields
documents: Vec<Document>
One or more documents to add to the index.
Documents can include custom attributes. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.
Documents have the following file size limits.
-
5 MB total size for inline documents
-
50 MB total size for files from an S3 bucket
-
5 MB extracted text for any file
For more information about file size and transaction per second quotas, see Quotas.
index_id: String
The identifier of the index to add the documents to. You need to create the index first using the CreateIndex
operation.
role_arn: Option<String>
The Amazon Resource Name (ARN) of a role that is allowed to run the BatchPutDocument
operation. For more information, see IAM Roles for Amazon Kendra.
Trait Implementations
sourceimpl Clone for BatchPutDocumentRequest
impl Clone for BatchPutDocumentRequest
sourcefn clone(&self) -> BatchPutDocumentRequest
fn clone(&self) -> BatchPutDocumentRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BatchPutDocumentRequest
impl Debug for BatchPutDocumentRequest
sourceimpl Default for BatchPutDocumentRequest
impl Default for BatchPutDocumentRequest
sourcefn default() -> BatchPutDocumentRequest
fn default() -> BatchPutDocumentRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<BatchPutDocumentRequest> for BatchPutDocumentRequest
impl PartialEq<BatchPutDocumentRequest> for BatchPutDocumentRequest
sourcefn eq(&self, other: &BatchPutDocumentRequest) -> bool
fn eq(&self, other: &BatchPutDocumentRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BatchPutDocumentRequest) -> bool
fn ne(&self, other: &BatchPutDocumentRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for BatchPutDocumentRequest
impl Serialize for BatchPutDocumentRequest
impl StructuralPartialEq for BatchPutDocumentRequest
Auto Trait Implementations
impl RefUnwindSafe for BatchPutDocumentRequest
impl Send for BatchPutDocumentRequest
impl Sync for BatchPutDocumentRequest
impl Unpin for BatchPutDocumentRequest
impl UnwindSafe for BatchPutDocumentRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more