Skip to content

Commit fb0b1fd

Browse files
This release adds GenAI Index in Amazon Kendra for Retrieval Augmented Generation (RAG) and intelligent search. With the Kendra GenAI Index, customers get high retrieval accuracy powered by the latest information retrieval technologies and semantic models.
1 parent e2a17ba commit fb0b1fd

File tree

52 files changed

+775
-263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+775
-263
lines changed

generator/ServiceModels/kendra/kendra-2019-02-03.api.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
"endpointPrefix":"kendra",
66
"jsonVersion":"1.1",
77
"protocol":"json",
8+
"protocols":["json"],
89
"serviceAbbreviation":"kendra",
910
"serviceFullName":"AWSKendraFrontendService",
1011
"serviceId":"kendra",
1112
"signatureVersion":"v4",
1213
"signingName":"kendra",
1314
"targetPrefix":"AWSKendraFrontendService",
14-
"uid":"kendra-2019-02-03"
15+
"uid":"kendra-2019-02-03",
16+
"auth":["aws.auth#sigv4"]
1517
},
1618
"operations":{
1719
"AssociateEntitiesToExperience":{
@@ -1362,6 +1364,7 @@
13621364
"type":"structure",
13631365
"members":{
13641366
"Id":{"shape":"DocumentId"},
1367+
"DataSourceId":{"shape":"DataSourceId"},
13651368
"ErrorCode":{"shape":"ErrorCode"},
13661369
"ErrorMessage":{"shape":"ErrorMessage"}
13671370
}
@@ -1427,6 +1430,7 @@
14271430
"type":"structure",
14281431
"members":{
14291432
"DocumentId":{"shape":"DocumentId"},
1433+
"DataSourceId":{"shape":"DataSourceId"},
14301434
"ErrorCode":{"shape":"ErrorCode"},
14311435
"ErrorMessage":{"shape":"ErrorMessage"}
14321436
}
@@ -1458,6 +1462,7 @@
14581462
"type":"structure",
14591463
"members":{
14601464
"Id":{"shape":"DocumentId"},
1465+
"DataSourceId":{"shape":"DataSourceId"},
14611466
"ErrorCode":{"shape":"ErrorCode"},
14621467
"ErrorMessage":{"shape":"ErrorMessage"}
14631468
}
@@ -3657,7 +3662,8 @@
36573662
"type":"string",
36583663
"enum":[
36593664
"DEVELOPER_EDITION",
3660-
"ENTERPRISE_EDITION"
3665+
"ENTERPRISE_EDITION",
3666+
"GEN_AI_ENTERPRISE_EDITION"
36613667
]
36623668
},
36633669
"IndexFieldName":{

generator/ServiceModels/kendra/kendra-2019-02-03.docs.json

Lines changed: 57 additions & 54 deletions
Large diffs are not rendered by default.

generator/ServiceModels/kendra/kendra-2019-02-03.normal.json

Lines changed: 71 additions & 56 deletions
Large diffs are not rendered by default.

sdk/code-analysis/ServiceAnalysis/Kendra/Generated/PropertyValueRules.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,6 +1540,12 @@
15401540
<min>1</min>
15411541
<max>65535</max>
15421542
</property-value-rule>
1543+
<property-value-rule>
1544+
<property>Amazon.Kendra.Model.BatchDeleteDocumentResponseFailedDocument.DataSourceId</property>
1545+
<min>1</min>
1546+
<max>100</max>
1547+
<pattern>[a-zA-Z0-9][a-zA-Z0-9_-]*</pattern>
1548+
</property-value-rule>
15431549
<property-value-rule>
15441550
<property>Amazon.Kendra.Model.BatchDeleteDocumentResponseFailedDocument.ErrorMessage</property>
15451551
<min>1</min>
@@ -1563,6 +1569,12 @@
15631569
<max>36</max>
15641570
<pattern>^[a-zA-Z-0-9]*</pattern>
15651571
</property-value-rule>
1572+
<property-value-rule>
1573+
<property>Amazon.Kendra.Model.BatchGetDocumentStatusResponseError.DataSourceId</property>
1574+
<min>1</min>
1575+
<max>100</max>
1576+
<pattern>[a-zA-Z0-9][a-zA-Z0-9_-]*</pattern>
1577+
</property-value-rule>
15661578
<property-value-rule>
15671579
<property>Amazon.Kendra.Model.BatchGetDocumentStatusResponseError.DocumentId</property>
15681580
<min>1</min>
@@ -1574,6 +1586,12 @@
15741586
<max>2048</max>
15751587
<pattern>^\P{C}*$</pattern>
15761588
</property-value-rule>
1589+
<property-value-rule>
1590+
<property>Amazon.Kendra.Model.BatchPutDocumentResponseFailedDocument.DataSourceId</property>
1591+
<min>1</min>
1592+
<max>100</max>
1593+
<pattern>[a-zA-Z0-9][a-zA-Z0-9_-]*</pattern>
1594+
</property-value-rule>
15771595
<property-value-rule>
15781596
<property>Amazon.Kendra.Model.BatchPutDocumentResponseFailedDocument.ErrorMessage</property>
15791597
<min>1</min>

sdk/src/Services/Kendra/Generated/Model/AttributeFilter.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace Amazon.Kendra.Model
4242
/// </para>
4343
///
4444
/// <para>
45-
/// You can use <c>AndAllFilters</c> and <c>AndOrFilters</c> in combination with each
45+
/// You can use <c>AndAllFilters</c> and <c>OrAllFilters</c> in combination with each
4646
/// other or with other operations such as <c>EqualsTo</c>. For example:
4747
/// </para>
4848
///
@@ -55,16 +55,16 @@ namespace Amazon.Kendra.Model
5555
/// </para>
5656
/// </li> <li>
5757
/// <para>
58-
/// <c>AndOrFilters</c>
58+
/// <c>OrAllFilters</c>
5959
/// </para>
6060
/// <ul> <li>
6161
/// <para>
6262
/// <c>ContainsAny</c>: "Project Name", ["new hires", "new hiring"]
6363
/// </para>
6464
/// </li> </ul> </li> </ul>
6565
/// <para>
66-
/// This example filters results or documents that belong to the HR department <i>and</i>
67-
/// belong to projects that contain "new hires" <i>or</i> "new hiring" in the project
66+
/// This example filters results or documents that belong to the HR department <c>AND</c>
67+
/// belong to projects that contain "new hires" <c>OR</c> "new hiring" in the project
6868
/// name (must use <c>ContainAny</c> with <c>StringListValue</c>). This example is filtering
6969
/// with a depth of 2.
7070
/// </para>

sdk/src/Services/Kendra/Generated/Model/BasicAuthenticationConfiguration.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public partial class BasicAuthenticationConfiguration
4242
/// <summary>
4343
/// Gets and sets the property Credentials.
4444
/// <para>
45-
/// Your secret ARN, which you can create in <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html">Secrets
45+
/// The Amazon Resource Name (ARN) of an Secrets Manager secret. You create a secret to
46+
/// store your credentials in <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html">Secrets
4647
/// Manager</a>
4748
/// </para>
4849
///

sdk/src/Services/Kendra/Generated/Model/BatchDeleteDocumentResponseFailedDocument.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,30 @@ namespace Amazon.Kendra.Model
3535
/// </summary>
3636
public partial class BatchDeleteDocumentResponseFailedDocument
3737
{
38+
private string _dataSourceId;
3839
private ErrorCode _errorCode;
3940
private string _errorMessage;
4041
private string _id;
4142

43+
/// <summary>
44+
/// Gets and sets the property DataSourceId.
45+
/// <para>
46+
/// The identifier of the data source connector that the document belongs to.
47+
/// </para>
48+
/// </summary>
49+
[AWSProperty(Min=1, Max=100)]
50+
public string DataSourceId
51+
{
52+
get { return this._dataSourceId; }
53+
set { this._dataSourceId = value; }
54+
}
55+
56+
// Check to see if DataSourceId property is set
57+
internal bool IsSetDataSourceId()
58+
{
59+
return this._dataSourceId != null;
60+
}
61+
4262
/// <summary>
4363
/// Gets and sets the property ErrorCode.
4464
/// <para>

sdk/src/Services/Kendra/Generated/Model/BatchGetDocumentStatusResponseError.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,31 @@ namespace Amazon.Kendra.Model
3434
/// </summary>
3535
public partial class BatchGetDocumentStatusResponseError
3636
{
37+
private string _dataSourceId;
3738
private string _documentId;
3839
private ErrorCode _errorCode;
3940
private string _errorMessage;
4041

42+
/// <summary>
43+
/// Gets and sets the property DataSourceId.
44+
/// <para>
45+
/// The identifier of the data source connector that the failed document belongs to.
46+
///
47+
/// </para>
48+
/// </summary>
49+
[AWSProperty(Min=1, Max=100)]
50+
public string DataSourceId
51+
{
52+
get { return this._dataSourceId; }
53+
set { this._dataSourceId = value; }
54+
}
55+
56+
// Check to see if DataSourceId property is set
57+
internal bool IsSetDataSourceId()
58+
{
59+
return this._dataSourceId != null;
60+
}
61+
4162
/// <summary>
4263
/// Gets and sets the property DocumentId.
4364
/// <para>

sdk/src/Services/Kendra/Generated/Model/BatchPutDocumentResponseFailedDocument.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,31 @@ namespace Amazon.Kendra.Model
3434
/// </summary>
3535
public partial class BatchPutDocumentResponseFailedDocument
3636
{
37+
private string _dataSourceId;
3738
private ErrorCode _errorCode;
3839
private string _errorMessage;
3940
private string _id;
4041

42+
/// <summary>
43+
/// Gets and sets the property DataSourceId.
44+
/// <para>
45+
/// The identifier of the data source connector that the failed document belongs to.
46+
///
47+
/// </para>
48+
/// </summary>
49+
[AWSProperty(Min=1, Max=100)]
50+
public string DataSourceId
51+
{
52+
get { return this._dataSourceId; }
53+
set { this._dataSourceId = value; }
54+
}
55+
56+
// Check to see if DataSourceId property is set
57+
internal bool IsSetDataSourceId()
58+
{
59+
return this._dataSourceId != null;
60+
}
61+
4162
/// <summary>
4263
/// Gets and sets the property ErrorCode.
4364
/// <para>

sdk/src/Services/Kendra/Generated/Model/ConnectionConfiguration.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ internal bool IsSetDatabasePort()
101101
/// <summary>
102102
/// Gets and sets the property SecretArn.
103103
/// <para>
104-
/// The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials
105-
/// should be a user/password pair. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-database.html">Using
104+
/// The Amazon Resource Name (ARN) of an Secrets Manager secret that stores the credentials.
105+
/// The credentials should be a user-password pair. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-database.html">Using
106106
/// a Database Data Source</a>. For more information about Secrets Manager, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html">
107-
/// What Is Secrets Manager</a> in the <i> Secrets Manager </i> user guide.
107+
/// What Is Secrets Manager</a> in the <i>Secrets Manager</i> user guide.
108108
/// </para>
109109
/// </summary>
110110
[AWSProperty(Required=true, Min=1, Max=1284)]

0 commit comments

Comments
 (0)