pub struct UpdateQuerySuggestionsBlockListRequest {
pub description: Option<String>,
pub id: String,
pub index_id: String,
pub name: Option<String>,
pub role_arn: Option<String>,
pub source_s3_path: Option<S3Path>,
}
Fields
description: Option<String>
The description for a block list.
id: String
The unique identifier of a block list.
index_id: String
The identifier of the index for a block list.
name: Option<String>
The name of a block list.
role_arn: Option<String>
The IAM (Identity and Access Management) role used to access the block list text file in S3.
source_s3_path: Option<S3Path>
The S3 path where your block list text file sits in S3.
If you update your block list and provide the same path to the block list text file in S3, then Amazon Kendra reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block list. You need to call the UpdateQuerySuggestionsBlockList
API to refresh you block list.
If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.
Trait Implementations
sourceimpl Clone for UpdateQuerySuggestionsBlockListRequest
impl Clone for UpdateQuerySuggestionsBlockListRequest
sourcefn clone(&self) -> UpdateQuerySuggestionsBlockListRequest
fn clone(&self) -> UpdateQuerySuggestionsBlockListRequest
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 Default for UpdateQuerySuggestionsBlockListRequest
impl Default for UpdateQuerySuggestionsBlockListRequest
sourcefn default() -> UpdateQuerySuggestionsBlockListRequest
fn default() -> UpdateQuerySuggestionsBlockListRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateQuerySuggestionsBlockListRequest> for UpdateQuerySuggestionsBlockListRequest
impl PartialEq<UpdateQuerySuggestionsBlockListRequest> for UpdateQuerySuggestionsBlockListRequest
sourcefn eq(&self, other: &UpdateQuerySuggestionsBlockListRequest) -> bool
fn eq(&self, other: &UpdateQuerySuggestionsBlockListRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateQuerySuggestionsBlockListRequest) -> bool
fn ne(&self, other: &UpdateQuerySuggestionsBlockListRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateQuerySuggestionsBlockListRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateQuerySuggestionsBlockListRequest
impl Send for UpdateQuerySuggestionsBlockListRequest
impl Sync for UpdateQuerySuggestionsBlockListRequest
impl Unpin for UpdateQuerySuggestionsBlockListRequest
impl UnwindSafe for UpdateQuerySuggestionsBlockListRequest
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