#[non_exhaustive]pub struct BatchPutDocumentOutput {
pub failed_documents: Option<Vec<BatchPutDocumentResponseFailedDocument>>,
/* private fields */
}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.failed_documents: Option<Vec<BatchPutDocumentResponseFailedDocument>>A list of documents that were not added to the index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch logs.
Implementations§
source§impl BatchPutDocumentOutput
impl BatchPutDocumentOutput
sourcepub fn failed_documents(&self) -> &[BatchPutDocumentResponseFailedDocument]
pub fn failed_documents(&self) -> &[BatchPutDocumentResponseFailedDocument]
A list of documents that were not added to the index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch logs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failed_documents.is_none().
source§impl BatchPutDocumentOutput
impl BatchPutDocumentOutput
sourcepub fn builder() -> BatchPutDocumentOutputBuilder
pub fn builder() -> BatchPutDocumentOutputBuilder
Creates a new builder-style object to manufacture BatchPutDocumentOutput.
Trait Implementations§
source§impl Clone for BatchPutDocumentOutput
impl Clone for BatchPutDocumentOutput
source§fn clone(&self) -> BatchPutDocumentOutput
fn clone(&self) -> BatchPutDocumentOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BatchPutDocumentOutput
impl Debug for BatchPutDocumentOutput
source§impl PartialEq for BatchPutDocumentOutput
impl PartialEq for BatchPutDocumentOutput
source§fn eq(&self, other: &BatchPutDocumentOutput) -> bool
fn eq(&self, other: &BatchPutDocumentOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for BatchPutDocumentOutput
impl RequestId for BatchPutDocumentOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.