pub struct ConfluenceSpaceConfiguration {
pub crawl_archived_spaces: Option<bool>,
pub crawl_personal_spaces: Option<bool>,
pub exclude_spaces: Option<Vec<String>>,
pub include_spaces: Option<Vec<String>>,
pub space_field_mappings: Option<Vec<ConfluenceSpaceToIndexFieldMapping>>,
}
Expand description
Specifies the configuration for indexing Confluence spaces.
Fields
crawl_archived_spaces: Option<bool>
Specifies whether Amazon Kendra should index archived spaces.
crawl_personal_spaces: Option<bool>
Specifies whether Amazon Kendra should index personal spaces. Users can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context.
exclude_spaces: Option<Vec<String>>
A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are not indexed. If a space is in both the ExcludeSpaces
and the IncludeSpaces
list, the space is excluded.
include_spaces: Option<Vec<String>>
A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist. Otherwise, Amazon Kendra logs an error when the data source is synchronized. If a space is in both the IncludeSpaces
and the ExcludeSpaces
list, the space is excluded.
space_field_mappings: Option<Vec<ConfluenceSpaceToIndexFieldMapping>>
Defines how space metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex
operation.
If you specify the SpaceFieldMappings
parameter, you must specify at least one field mapping.
Trait Implementations
sourceimpl Clone for ConfluenceSpaceConfiguration
impl Clone for ConfluenceSpaceConfiguration
sourcefn clone(&self) -> ConfluenceSpaceConfiguration
fn clone(&self) -> ConfluenceSpaceConfiguration
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 ConfluenceSpaceConfiguration
impl Debug for ConfluenceSpaceConfiguration
sourceimpl Default for ConfluenceSpaceConfiguration
impl Default for ConfluenceSpaceConfiguration
sourcefn default() -> ConfluenceSpaceConfiguration
fn default() -> ConfluenceSpaceConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ConfluenceSpaceConfiguration
impl<'de> Deserialize<'de> for ConfluenceSpaceConfiguration
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ConfluenceSpaceConfiguration> for ConfluenceSpaceConfiguration
impl PartialEq<ConfluenceSpaceConfiguration> for ConfluenceSpaceConfiguration
sourcefn eq(&self, other: &ConfluenceSpaceConfiguration) -> bool
fn eq(&self, other: &ConfluenceSpaceConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConfluenceSpaceConfiguration) -> bool
fn ne(&self, other: &ConfluenceSpaceConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for ConfluenceSpaceConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ConfluenceSpaceConfiguration
impl Send for ConfluenceSpaceConfiguration
impl Sync for ConfluenceSpaceConfiguration
impl Unpin for ConfluenceSpaceConfiguration
impl UnwindSafe for ConfluenceSpaceConfiguration
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