/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the kendra-2019-02-03.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Kendra.Model { /// /// Container for the parameters to the CreateExperience operation. /// Creates an Amazon Kendra experience such as a search application. For more information /// on creating a search application experience, including using the Python and Java SDKs, /// see Building /// a search experience with no code. /// public partial class CreateExperienceRequest : AmazonKendraRequest { private string _clientToken; private ExperienceConfiguration _configuration; private string _description; private string _indexId; private string _name; private string _roleArn; /// /// Gets and sets the property ClientToken. /// /// A token that you provide to identify the request to create your Amazon Kendra experience. /// Multiple calls to the CreateExperience API with the same client token /// creates only one Amazon Kendra experience. /// /// [AWSProperty(Min=1, Max=100)] public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// /// Gets and sets the property Configuration. /// /// Configuration information for your Amazon Kendra experience. This includes ContentSourceConfiguration, /// which specifies the data source IDs and/or FAQ IDs, and UserIdentityConfiguration, /// which specifies the user or group information to grant access to your Amazon Kendra /// experience. /// /// public ExperienceConfiguration Configuration { get { return this._configuration; } set { this._configuration = value; } } // Check to see if Configuration property is set internal bool IsSetConfiguration() { return this._configuration != null; } /// /// Gets and sets the property Description. /// /// A description for your Amazon Kendra experience. /// /// [AWSProperty(Min=0, Max=1000)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property IndexId. /// /// The identifier of the index for your Amazon Kendra experience. /// /// [AWSProperty(Required=true, Min=36, Max=36)] public string IndexId { get { return this._indexId; } set { this._indexId = value; } } // Check to see if IndexId property is set internal bool IsSetIndexId() { return this._indexId != null; } /// /// Gets and sets the property Name. /// /// A name for your Amazon Kendra experience. /// /// [AWSProperty(Required=true, Min=1, Max=1000)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property RoleArn. /// /// The Amazon Resource Name (ARN) of an IAM role with permission to access Query /// API, GetQuerySuggestions API, and other required APIs. The role also /// must include permission to access IAM Identity Center (successor to Single Sign-On) /// that stores your user and group information. For more information, see IAM /// access roles for Amazon Kendra. /// /// [AWSProperty(Min=0, Max=1284)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } } }