Skip to content

Commit 6da1762

Browse files
author
AWS
committed
AWSKendraFrontendService Update: Amazon Kendra now supports indexing and querying documents in different languages.
1 parent 10bd63d commit 6da1762

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWSKendraFrontendService",
4+
"contributor": "",
5+
"description": "Amazon Kendra now supports indexing and querying documents in different languages."
6+
}

services/kendra/src/main/resources/codegen-resources/service-2.json

+37-1
Original file line numberDiff line numberDiff line change
@@ -1574,6 +1574,10 @@
15741574
"shape":"ClientTokenName",
15751575
"documentation":"<p>A token that you provide to identify the request to create a data source. Multiple calls to the <code>CreateDataSource</code> operation with the same client token will create only one data source.</p>",
15761576
"idempotencyToken":true
1577+
},
1578+
"LanguageCode":{
1579+
"shape":"LanguageCode",
1580+
"documentation":"<p>The code for a language. This allows you to support a language for all documents when creating the data source. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
15771581
}
15781582
}
15791583
},
@@ -1628,6 +1632,10 @@
16281632
"shape":"ClientTokenName",
16291633
"documentation":"<p>A token that you provide to identify the request to create a FAQ. Multiple calls to the <code>CreateFaqRequest</code> operation with the same client token will create only one FAQ. </p>",
16301634
"idempotencyToken":true
1635+
},
1636+
"LanguageCode":{
1637+
"shape":"LanguageCode",
1638+
"documentation":"<p>The code for a language. This allows you to support a language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
16311639
}
16321640
}
16331641
},
@@ -1935,6 +1943,10 @@
19351943
"Status":{
19361944
"shape":"DataSourceStatus",
19371945
"documentation":"<p>The status of the data source. When the status is <code>ACTIVE</code> the data source is ready to use.</p>"
1946+
},
1947+
"LanguageCode":{
1948+
"shape":"LanguageCode",
1949+
"documentation":"<p>The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
19381950
}
19391951
},
19401952
"documentation":"<p>Summary information for a Amazon Kendra data source. Returned in a call to the <code>DescribeDataSource</code> operation.</p>"
@@ -2333,6 +2345,10 @@
23332345
"ErrorMessage":{
23342346
"shape":"ErrorMessage",
23352347
"documentation":"<p>When the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a description of the error that caused the data source to fail.</p>"
2348+
},
2349+
"LanguageCode":{
2350+
"shape":"LanguageCode",
2351+
"documentation":"<p>The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
23362352
}
23372353
}
23382354
},
@@ -2396,6 +2412,10 @@
23962412
"FileFormat":{
23972413
"shape":"FaqFileFormat",
23982414
"documentation":"<p>The file format used by the input files for the FAQ.</p>"
2415+
},
2416+
"LanguageCode":{
2417+
"shape":"LanguageCode",
2418+
"documentation":"<p>The code for a language. This shows a supported language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
23992419
}
24002420
}
24012421
},
@@ -3114,6 +3134,10 @@
31143134
"FileFormat":{
31153135
"shape":"FaqFileFormat",
31163136
"documentation":"<p>The file type used to create the FAQ. </p>"
3137+
},
3138+
"LanguageCode":{
3139+
"shape":"LanguageCode",
3140+
"documentation":"<p>The code for a language. This shows a supported language for the FAQ document as part of the summary information for FAQs. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
31173141
}
31183142
},
31193143
"documentation":"<p>Provides information about a frequently asked questions and answer contained in an index.</p>"
@@ -3531,6 +3555,13 @@
35313555
"min":1,
35323556
"sensitive":true
35333557
},
3558+
"LanguageCode":{
3559+
"type":"string",
3560+
"documentation":"<p>The code for a language. The default language is English. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>",
3561+
"max":10,
3562+
"min":2,
3563+
"pattern":"[a-zA-Z-]*"
3564+
},
35343565
"ListDataSourceSyncJobsRequest":{
35353566
"type":"structure",
35363567
"required":[
@@ -4760,7 +4791,8 @@
47604791
"VERY_HIGH",
47614792
"HIGH",
47624793
"MEDIUM",
4763-
"LOW"
4794+
"LOW",
4795+
"NOT_AVAILABLE"
47644796
]
47654797
},
47664798
"Search":{
@@ -5517,6 +5549,10 @@
55175549
"RoleArn":{
55185550
"shape":"RoleArn",
55195551
"documentation":"<p>The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.</p>"
5552+
},
5553+
"LanguageCode":{
5554+
"shape":"LanguageCode",
5555+
"documentation":"<p>The code for a language. This allows you to support a language for all documents when updating the data source. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
55205556
}
55215557
}
55225558
},

0 commit comments

Comments
 (0)