Struct rusoto_kendra::CreateIndexRequest [−][src]
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
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self