CreateIndexRequest
public struct CreateIndexRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.”
Declaration
Swift
public let clientToken: String?
-
A description for the index.
Declaration
Swift
public let description: 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.
Declaration
Swift
public let edition: IndexEdition?
-
The name for the new index.
Declaration
Swift
public let name: String
-
An 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.
Declaration
Swift
public let roleArn: String
-
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.
Declaration
Swift
public let serverSideEncryptionConfiguration: ServerSideEncryptionConfiguration?
-
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.
Declaration
Swift
public let tags: [Tag]?
-
Undocumented
Declaration
Swift
public init(clientToken: String? = CreateIndexRequest.idempotencyToken(), description: String? = nil, edition: IndexEdition? = nil, name: String, roleArn: String, serverSideEncryptionConfiguration: ServerSideEncryptionConfiguration? = nil, tags: [Tag]? = nil)
-
Declaration
Swift
public func validate(name: String) throws