Struct rusoto_kendra::CreateIndexRequest
source · [−]pub struct CreateIndexRequest {
pub client_token: Option<String>,
pub description: Option<String>,
pub edition: Option<String>,
pub name: String,
pub role_arn: String,
pub server_side_encryption_configuration: Option<ServerSideEncryptionConfiguration>,
pub tags: Option<Vec<Tag>>,
pub user_context_policy: Option<String>,
pub user_token_configurations: Option<Vec<UserTokenConfiguration>>,
}
Fields
client_token: Option<String>
A token that you provide to identify the request to create an index. Multiple calls to the CreateIndex
operation with the same client token will create only one index.
description: Option<String>
A description for the index.
edition: Option<String>
The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION
for indexes intended for development, testing, or proof of concept. Use ENTERPRISE_EDITION
for your production databases. Once you set the edition for an index, it can't be changed.
The Edition
parameter is optional. If you don't supply a value, the default is ENTERPRISE_EDITION
.
name: String
The name for the new index.
role_arn: String
An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also the role used when you use the BatchPutDocument
operation to index documents from an Amazon S3 bucket.
server_side_encryption_configuration: Option<ServerSideEncryptionConfiguration>
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
A list of key-value pairs that identify the index. You can use the tags to identify and organize your resources and to control access to resources.
user_context_policy: Option<String>
The user context policy.
- ATTRIBUTEFILTER
-
All indexed content is searchable and displayable for all users. If there is an access control list, it is ignored. You can filter on user and group attributes.
- USERTOKEN
-
Enables SSO and token-based user access control. All documents with no access control and all documents accessible to the user will be searchable and displayable.
user_token_configurations: Option<Vec<UserTokenConfiguration>>
The user token configuration.
Trait Implementations
sourceimpl Clone for CreateIndexRequest
impl Clone for CreateIndexRequest
sourcefn clone(&self) -> CreateIndexRequest
fn clone(&self) -> CreateIndexRequest
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 CreateIndexRequest
impl Debug for CreateIndexRequest
sourceimpl Default for CreateIndexRequest
impl Default for CreateIndexRequest
sourcefn default() -> CreateIndexRequest
fn default() -> CreateIndexRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateIndexRequest> for CreateIndexRequest
impl PartialEq<CreateIndexRequest> for CreateIndexRequest
sourcefn eq(&self, other: &CreateIndexRequest) -> bool
fn eq(&self, other: &CreateIndexRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateIndexRequest) -> bool
fn ne(&self, other: &CreateIndexRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateIndexRequest
impl Serialize for CreateIndexRequest
impl StructuralPartialEq for CreateIndexRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateIndexRequest
impl Send for CreateIndexRequest
impl Sync for CreateIndexRequest
impl Unpin for CreateIndexRequest
impl UnwindSafe for CreateIndexRequest
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