aws-sdk-kendra 1.35.0 → 1.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kendra/client.rb +53 -3
- data/lib/aws-sdk-kendra/client_api.rb +8 -0
- data/lib/aws-sdk-kendra/types.rb +97 -7
- data/lib/aws-sdk-kendra.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b21f60470d2a343543d9c27db715945ff3003639ff60603ad68f27942cce9ba
|
4
|
+
data.tar.gz: e233aec9f3e5e7dc7d56a64e86d1267c1743581828d87743279da0eca3059031
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a323dfcf6fd30136755bc7a8b3571be31ac8359dd362c4e8ed1d1c0dcddeccff392d1ec12b9f35f5af0e7fded6a3899fbe67243f35bfc6736b97f2e229b61952
|
7
|
+
data.tar.gz: 38dae98c9c9b7f3a8b67849a55c8f235031d5f6d4c95f77b4fc7e4e4525dc96fe2e8aafe5db64edba1788c47f1735bfa9ae0f69cc27e16d6f97f6fd15e30039e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.39.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.38.0 (2021-11-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.37.0 (2021-10-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.36.0 (2021-10-07)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Amazon Kendra now supports indexing and querying documents in different languages.
|
23
|
+
|
4
24
|
1.35.0 (2021-10-06)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.39.0
|
@@ -119,7 +119,9 @@ module Aws::Kendra
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -285,6 +287,15 @@ module Aws::Kendra
|
|
285
287
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
288
|
# requests are made, and retries are disabled.
|
287
289
|
#
|
290
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
291
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
|
+
# will be used if available.
|
293
|
+
#
|
294
|
+
# @option options [Boolean] :use_fips_endpoint
|
295
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
296
|
+
# When a `fips` region is used, the region is normalized and this config
|
297
|
+
# is set to `true`.
|
298
|
+
#
|
288
299
|
# @option options [Boolean] :validate_params (true)
|
289
300
|
# When `true`, request parameters are validated before
|
290
301
|
# sending the request.
|
@@ -685,6 +696,16 @@ module Aws::Kendra
|
|
685
696
|
# **A suitable default value is auto-generated.** You should normally
|
686
697
|
# not need to pass this option.**
|
687
698
|
#
|
699
|
+
# @option params [String] :language_code
|
700
|
+
# The code for a language. This allows you to support a language for all
|
701
|
+
# documents when creating the data source. English is supported by
|
702
|
+
# default. For more information on supported languages, including their
|
703
|
+
# codes, see [Adding documents in languages other than English][1].
|
704
|
+
#
|
705
|
+
#
|
706
|
+
#
|
707
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
|
708
|
+
#
|
688
709
|
# @return [Types::CreateDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
689
710
|
#
|
690
711
|
# * {Types::CreateDataSourceResponse#id #id} => String
|
@@ -1017,6 +1038,7 @@ module Aws::Kendra
|
|
1017
1038
|
# },
|
1018
1039
|
# ],
|
1019
1040
|
# client_token: "ClientTokenName",
|
1041
|
+
# language_code: "LanguageCode",
|
1020
1042
|
# })
|
1021
1043
|
#
|
1022
1044
|
# @example Response structure
|
@@ -1083,6 +1105,16 @@ module Aws::Kendra
|
|
1083
1105
|
# **A suitable default value is auto-generated.** You should normally
|
1084
1106
|
# not need to pass this option.**
|
1085
1107
|
#
|
1108
|
+
# @option params [String] :language_code
|
1109
|
+
# The code for a language. This allows you to support a language for the
|
1110
|
+
# FAQ document. English is supported by default. For more information on
|
1111
|
+
# supported languages, including their codes, see [Adding documents in
|
1112
|
+
# languages other than English][1].
|
1113
|
+
#
|
1114
|
+
#
|
1115
|
+
#
|
1116
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
|
1117
|
+
#
|
1086
1118
|
# @return [Types::CreateFaqResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1087
1119
|
#
|
1088
1120
|
# * {Types::CreateFaqResponse#id #id} => String
|
@@ -1106,6 +1138,7 @@ module Aws::Kendra
|
|
1106
1138
|
# ],
|
1107
1139
|
# file_format: "CSV", # accepts CSV, CSV_WITH_HEADER, JSON
|
1108
1140
|
# client_token: "ClientTokenName",
|
1141
|
+
# language_code: "LanguageCode",
|
1109
1142
|
# })
|
1110
1143
|
#
|
1111
1144
|
# @example Response structure
|
@@ -1668,6 +1701,7 @@ module Aws::Kendra
|
|
1668
1701
|
# * {Types::DescribeDataSourceResponse#schedule #schedule} => String
|
1669
1702
|
# * {Types::DescribeDataSourceResponse#role_arn #role_arn} => String
|
1670
1703
|
# * {Types::DescribeDataSourceResponse#error_message #error_message} => String
|
1704
|
+
# * {Types::DescribeDataSourceResponse#language_code #language_code} => String
|
1671
1705
|
#
|
1672
1706
|
# @example Request syntax with placeholder values
|
1673
1707
|
#
|
@@ -1907,6 +1941,7 @@ module Aws::Kendra
|
|
1907
1941
|
# resp.schedule #=> String
|
1908
1942
|
# resp.role_arn #=> String
|
1909
1943
|
# resp.error_message #=> String
|
1944
|
+
# resp.language_code #=> String
|
1910
1945
|
#
|
1911
1946
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeDataSource AWS API Documentation
|
1912
1947
|
#
|
@@ -1938,6 +1973,7 @@ module Aws::Kendra
|
|
1938
1973
|
# * {Types::DescribeFaqResponse#role_arn #role_arn} => String
|
1939
1974
|
# * {Types::DescribeFaqResponse#error_message #error_message} => String
|
1940
1975
|
# * {Types::DescribeFaqResponse#file_format #file_format} => String
|
1976
|
+
# * {Types::DescribeFaqResponse#language_code #language_code} => String
|
1941
1977
|
#
|
1942
1978
|
# @example Request syntax with placeholder values
|
1943
1979
|
#
|
@@ -1960,6 +1996,7 @@ module Aws::Kendra
|
|
1960
1996
|
# resp.role_arn #=> String
|
1961
1997
|
# resp.error_message #=> String
|
1962
1998
|
# resp.file_format #=> String, one of "CSV", "CSV_WITH_HEADER", "JSON"
|
1999
|
+
# resp.language_code #=> String
|
1963
2000
|
#
|
1964
2001
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeFaq AWS API Documentation
|
1965
2002
|
#
|
@@ -2433,6 +2470,7 @@ module Aws::Kendra
|
|
2433
2470
|
# resp.summary_items[0].created_at #=> Time
|
2434
2471
|
# resp.summary_items[0].updated_at #=> Time
|
2435
2472
|
# resp.summary_items[0].status #=> String, one of "CREATING", "DELETING", "FAILED", "UPDATING", "ACTIVE"
|
2473
|
+
# resp.summary_items[0].language_code #=> String
|
2436
2474
|
# resp.next_token #=> String
|
2437
2475
|
#
|
2438
2476
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListDataSources AWS API Documentation
|
@@ -2482,6 +2520,7 @@ module Aws::Kendra
|
|
2482
2520
|
# resp.faq_summary_items[0].created_at #=> Time
|
2483
2521
|
# resp.faq_summary_items[0].updated_at #=> Time
|
2484
2522
|
# resp.faq_summary_items[0].file_format #=> String, one of "CSV", "CSV_WITH_HEADER", "JSON"
|
2523
|
+
# resp.faq_summary_items[0].language_code #=> String
|
2485
2524
|
#
|
2486
2525
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListFaqs AWS API Documentation
|
2487
2526
|
#
|
@@ -3120,7 +3159,7 @@ module Aws::Kendra
|
|
3120
3159
|
# resp.result_items[0].document_attributes[0].value.string_list_value[0] #=> String
|
3121
3160
|
# resp.result_items[0].document_attributes[0].value.long_value #=> Integer
|
3122
3161
|
# resp.result_items[0].document_attributes[0].value.date_value #=> Time
|
3123
|
-
# resp.result_items[0].score_attributes.score_confidence #=> String, one of "VERY_HIGH", "HIGH", "MEDIUM", "LOW"
|
3162
|
+
# resp.result_items[0].score_attributes.score_confidence #=> String, one of "VERY_HIGH", "HIGH", "MEDIUM", "LOW", "NOT_AVAILABLE"
|
3124
3163
|
# resp.result_items[0].feedback_token #=> String
|
3125
3164
|
# resp.facet_results #=> Array
|
3126
3165
|
# resp.facet_results[0].document_attribute_key #=> String
|
@@ -3343,6 +3382,16 @@ module Aws::Kendra
|
|
3343
3382
|
# The Amazon Resource Name (ARN) of the new role to use when the data
|
3344
3383
|
# source is accessing resources on your behalf.
|
3345
3384
|
#
|
3385
|
+
# @option params [String] :language_code
|
3386
|
+
# The code for a language. This allows you to support a language for all
|
3387
|
+
# documents when updating the data source. English is supported by
|
3388
|
+
# default. For more information on supported languages, including their
|
3389
|
+
# codes, see [Adding documents in languages other than English][1].
|
3390
|
+
#
|
3391
|
+
#
|
3392
|
+
#
|
3393
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
|
3394
|
+
#
|
3346
3395
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3347
3396
|
#
|
3348
3397
|
# @example Request syntax with placeholder values
|
@@ -3666,6 +3715,7 @@ module Aws::Kendra
|
|
3666
3715
|
# description: "Description",
|
3667
3716
|
# schedule: "ScanSchedule",
|
3668
3717
|
# role_arn: "RoleArn",
|
3718
|
+
# language_code: "LanguageCode",
|
3669
3719
|
# })
|
3670
3720
|
#
|
3671
3721
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateDataSource AWS API Documentation
|
@@ -4003,7 +4053,7 @@ module Aws::Kendra
|
|
4003
4053
|
params: params,
|
4004
4054
|
config: config)
|
4005
4055
|
context[:gem_name] = 'aws-sdk-kendra'
|
4006
|
-
context[:gem_version] = '1.
|
4056
|
+
context[:gem_version] = '1.39.0'
|
4007
4057
|
Seahorse::Client::Request.new(handlers, context)
|
4008
4058
|
end
|
4009
4059
|
|
@@ -210,6 +210,7 @@ module Aws::Kendra
|
|
210
210
|
JwtTokenTypeConfiguration = Shapes::StructureShape.new(name: 'JwtTokenTypeConfiguration')
|
211
211
|
KeyLocation = Shapes::StringShape.new(name: 'KeyLocation')
|
212
212
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
213
|
+
LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
|
213
214
|
ListDataSourceSyncJobsRequest = Shapes::StructureShape.new(name: 'ListDataSourceSyncJobsRequest')
|
214
215
|
ListDataSourceSyncJobsResponse = Shapes::StructureShape.new(name: 'ListDataSourceSyncJobsResponse')
|
215
216
|
ListDataSourcesRequest = Shapes::StructureShape.new(name: 'ListDataSourcesRequest')
|
@@ -590,6 +591,7 @@ module Aws::Kendra
|
|
590
591
|
CreateDataSourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
591
592
|
CreateDataSourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
592
593
|
CreateDataSourceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenName, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
594
|
+
CreateDataSourceRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
593
595
|
CreateDataSourceRequest.struct_class = Types::CreateDataSourceRequest
|
594
596
|
|
595
597
|
CreateDataSourceResponse.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
|
@@ -603,6 +605,7 @@ module Aws::Kendra
|
|
603
605
|
CreateFaqRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
604
606
|
CreateFaqRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: FaqFileFormat, location_name: "FileFormat"))
|
605
607
|
CreateFaqRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenName, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
608
|
+
CreateFaqRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
606
609
|
CreateFaqRequest.struct_class = Types::CreateFaqRequest
|
607
610
|
|
608
611
|
CreateFaqResponse.add_member(:id, Shapes::ShapeRef.new(shape: FaqId, location_name: "Id"))
|
@@ -673,6 +676,7 @@ module Aws::Kendra
|
|
673
676
|
DataSourceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
674
677
|
DataSourceSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
675
678
|
DataSourceSummary.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, location_name: "Status"))
|
679
|
+
DataSourceSummary.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
676
680
|
DataSourceSummary.struct_class = Types::DataSourceSummary
|
677
681
|
|
678
682
|
DataSourceSummaryList.member = Shapes::ShapeRef.new(shape: DataSourceSummary)
|
@@ -760,6 +764,7 @@ module Aws::Kendra
|
|
760
764
|
DescribeDataSourceResponse.add_member(:schedule, Shapes::ShapeRef.new(shape: ScanSchedule, location_name: "Schedule"))
|
761
765
|
DescribeDataSourceResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
762
766
|
DescribeDataSourceResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
767
|
+
DescribeDataSourceResponse.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
763
768
|
DescribeDataSourceResponse.struct_class = Types::DescribeDataSourceResponse
|
764
769
|
|
765
770
|
DescribeFaqRequest.add_member(:id, Shapes::ShapeRef.new(shape: FaqId, required: true, location_name: "Id"))
|
@@ -777,6 +782,7 @@ module Aws::Kendra
|
|
777
782
|
DescribeFaqResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
778
783
|
DescribeFaqResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
779
784
|
DescribeFaqResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: FaqFileFormat, location_name: "FileFormat"))
|
785
|
+
DescribeFaqResponse.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
780
786
|
DescribeFaqResponse.struct_class = Types::DescribeFaqResponse
|
781
787
|
|
782
788
|
DescribeIndexRequest.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "Id"))
|
@@ -950,6 +956,7 @@ module Aws::Kendra
|
|
950
956
|
FaqSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
951
957
|
FaqSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
952
958
|
FaqSummary.add_member(:file_format, Shapes::ShapeRef.new(shape: FaqFileFormat, location_name: "FileFormat"))
|
959
|
+
FaqSummary.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
953
960
|
FaqSummary.struct_class = Types::FaqSummary
|
954
961
|
|
955
962
|
FaqSummaryItems.member = Shapes::ShapeRef.new(shape: FaqSummary)
|
@@ -1460,6 +1467,7 @@ module Aws::Kendra
|
|
1460
1467
|
UpdateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
1461
1468
|
UpdateDataSourceRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: ScanSchedule, location_name: "Schedule"))
|
1462
1469
|
UpdateDataSourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
1470
|
+
UpdateDataSourceRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
1463
1471
|
UpdateDataSourceRequest.struct_class = Types::UpdateDataSourceRequest
|
1464
1472
|
|
1465
1473
|
UpdateIndexRequest.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "Id"))
|
data/lib/aws-sdk-kendra/types.rb
CHANGED
@@ -1939,6 +1939,7 @@ module Aws::Kendra
|
|
1939
1939
|
# },
|
1940
1940
|
# ],
|
1941
1941
|
# client_token: "ClientTokenName",
|
1942
|
+
# language_code: "LanguageCode",
|
1942
1943
|
# }
|
1943
1944
|
#
|
1944
1945
|
# @!attribute [rw] name
|
@@ -2013,6 +2014,18 @@ module Aws::Kendra
|
|
2013
2014
|
# not need to pass this option.
|
2014
2015
|
# @return [String]
|
2015
2016
|
#
|
2017
|
+
# @!attribute [rw] language_code
|
2018
|
+
# The code for a language. This allows you to support a language for
|
2019
|
+
# all documents when creating the data source. English is supported by
|
2020
|
+
# default. For more information on supported languages, including
|
2021
|
+
# their codes, see [Adding documents in languages other than
|
2022
|
+
# English][1].
|
2023
|
+
#
|
2024
|
+
#
|
2025
|
+
#
|
2026
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
|
2027
|
+
# @return [String]
|
2028
|
+
#
|
2016
2029
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateDataSourceRequest AWS API Documentation
|
2017
2030
|
#
|
2018
2031
|
class CreateDataSourceRequest < Struct.new(
|
@@ -2024,7 +2037,8 @@ module Aws::Kendra
|
|
2024
2037
|
:schedule,
|
2025
2038
|
:role_arn,
|
2026
2039
|
:tags,
|
2027
|
-
:client_token
|
2040
|
+
:client_token,
|
2041
|
+
:language_code)
|
2028
2042
|
SENSITIVE = []
|
2029
2043
|
include Aws::Structure
|
2030
2044
|
end
|
@@ -2061,6 +2075,7 @@ module Aws::Kendra
|
|
2061
2075
|
# ],
|
2062
2076
|
# file_format: "CSV", # accepts CSV, CSV_WITH_HEADER, JSON
|
2063
2077
|
# client_token: "ClientTokenName",
|
2078
|
+
# language_code: "LanguageCode",
|
2064
2079
|
# }
|
2065
2080
|
#
|
2066
2081
|
# @!attribute [rw] index_id
|
@@ -2119,6 +2134,17 @@ module Aws::Kendra
|
|
2119
2134
|
# not need to pass this option.
|
2120
2135
|
# @return [String]
|
2121
2136
|
#
|
2137
|
+
# @!attribute [rw] language_code
|
2138
|
+
# The code for a language. This allows you to support a language for
|
2139
|
+
# the FAQ document. English is supported by default. For more
|
2140
|
+
# information on supported languages, including their codes, see
|
2141
|
+
# [Adding documents in languages other than English][1].
|
2142
|
+
#
|
2143
|
+
#
|
2144
|
+
#
|
2145
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
|
2146
|
+
# @return [String]
|
2147
|
+
#
|
2122
2148
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateFaqRequest AWS API Documentation
|
2123
2149
|
#
|
2124
2150
|
class CreateFaqRequest < Struct.new(
|
@@ -2129,7 +2155,8 @@ module Aws::Kendra
|
|
2129
2155
|
:role_arn,
|
2130
2156
|
:tags,
|
2131
2157
|
:file_format,
|
2132
|
-
:client_token
|
2158
|
+
:client_token,
|
2159
|
+
:language_code)
|
2133
2160
|
SENSITIVE = []
|
2134
2161
|
include Aws::Structure
|
2135
2162
|
end
|
@@ -2935,6 +2962,17 @@ module Aws::Kendra
|
|
2935
2962
|
# source is ready to use.
|
2936
2963
|
# @return [String]
|
2937
2964
|
#
|
2965
|
+
# @!attribute [rw] language_code
|
2966
|
+
# The code for a language. This shows a supported language for all
|
2967
|
+
# documents in the data source. English is supported by default. For
|
2968
|
+
# more information on supported languages, including their codes, see
|
2969
|
+
# [Adding documents in languages other than English][1].
|
2970
|
+
#
|
2971
|
+
#
|
2972
|
+
#
|
2973
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
|
2974
|
+
# @return [String]
|
2975
|
+
#
|
2938
2976
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DataSourceSummary AWS API Documentation
|
2939
2977
|
#
|
2940
2978
|
class DataSourceSummary < Struct.new(
|
@@ -2943,7 +2981,8 @@ module Aws::Kendra
|
|
2943
2981
|
:type,
|
2944
2982
|
:created_at,
|
2945
2983
|
:updated_at,
|
2946
|
-
:status
|
2984
|
+
:status,
|
2985
|
+
:language_code)
|
2947
2986
|
SENSITIVE = []
|
2948
2987
|
include Aws::Structure
|
2949
2988
|
end
|
@@ -3491,6 +3530,17 @@ module Aws::Kendra
|
|
3491
3530
|
# fail.
|
3492
3531
|
# @return [String]
|
3493
3532
|
#
|
3533
|
+
# @!attribute [rw] language_code
|
3534
|
+
# The code for a language. This shows a supported language for all
|
3535
|
+
# documents in the data source. English is supported by default. For
|
3536
|
+
# more information on supported languages, including their codes, see
|
3537
|
+
# [Adding documents in languages other than English][1].
|
3538
|
+
#
|
3539
|
+
#
|
3540
|
+
#
|
3541
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
|
3542
|
+
# @return [String]
|
3543
|
+
#
|
3494
3544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeDataSourceResponse AWS API Documentation
|
3495
3545
|
#
|
3496
3546
|
class DescribeDataSourceResponse < Struct.new(
|
@@ -3505,7 +3555,8 @@ module Aws::Kendra
|
|
3505
3555
|
:status,
|
3506
3556
|
:schedule,
|
3507
3557
|
:role_arn,
|
3508
|
-
:error_message
|
3558
|
+
:error_message,
|
3559
|
+
:language_code)
|
3509
3560
|
SENSITIVE = []
|
3510
3561
|
include Aws::Structure
|
3511
3562
|
end
|
@@ -3582,6 +3633,17 @@ module Aws::Kendra
|
|
3582
3633
|
# The file format used by the input files for the FAQ.
|
3583
3634
|
# @return [String]
|
3584
3635
|
#
|
3636
|
+
# @!attribute [rw] language_code
|
3637
|
+
# The code for a language. This shows a supported language for the FAQ
|
3638
|
+
# document. English is supported by default. For more information on
|
3639
|
+
# supported languages, including their codes, see [Adding documents in
|
3640
|
+
# languages other than English][1].
|
3641
|
+
#
|
3642
|
+
#
|
3643
|
+
#
|
3644
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
|
3645
|
+
# @return [String]
|
3646
|
+
#
|
3585
3647
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeFaqResponse AWS API Documentation
|
3586
3648
|
#
|
3587
3649
|
class DescribeFaqResponse < Struct.new(
|
@@ -3595,7 +3657,8 @@ module Aws::Kendra
|
|
3595
3657
|
:status,
|
3596
3658
|
:role_arn,
|
3597
3659
|
:error_message,
|
3598
|
-
:file_format
|
3660
|
+
:file_format,
|
3661
|
+
:language_code)
|
3599
3662
|
SENSITIVE = []
|
3600
3663
|
include Aws::Structure
|
3601
3664
|
end
|
@@ -4595,6 +4658,18 @@ module Aws::Kendra
|
|
4595
4658
|
# The file type used to create the FAQ.
|
4596
4659
|
# @return [String]
|
4597
4660
|
#
|
4661
|
+
# @!attribute [rw] language_code
|
4662
|
+
# The code for a language. This shows a supported language for the FAQ
|
4663
|
+
# document as part of the summary information for FAQs. English is
|
4664
|
+
# supported by default. For more information on supported languages,
|
4665
|
+
# including their codes, see [Adding documents in languages other than
|
4666
|
+
# English][1].
|
4667
|
+
#
|
4668
|
+
#
|
4669
|
+
#
|
4670
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
|
4671
|
+
# @return [String]
|
4672
|
+
#
|
4598
4673
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/FaqSummary AWS API Documentation
|
4599
4674
|
#
|
4600
4675
|
class FaqSummary < Struct.new(
|
@@ -4603,7 +4678,8 @@ module Aws::Kendra
|
|
4603
4678
|
:status,
|
4604
4679
|
:created_at,
|
4605
4680
|
:updated_at,
|
4606
|
-
:file_format
|
4681
|
+
:file_format,
|
4682
|
+
:language_code)
|
4607
4683
|
SENSITIVE = []
|
4608
4684
|
include Aws::Structure
|
4609
4685
|
end
|
@@ -8532,6 +8608,7 @@ module Aws::Kendra
|
|
8532
8608
|
# description: "Description",
|
8533
8609
|
# schedule: "ScanSchedule",
|
8534
8610
|
# role_arn: "RoleArn",
|
8611
|
+
# language_code: "LanguageCode",
|
8535
8612
|
# }
|
8536
8613
|
#
|
8537
8614
|
# @!attribute [rw] id
|
@@ -8565,6 +8642,18 @@ module Aws::Kendra
|
|
8565
8642
|
# source is accessing resources on your behalf.
|
8566
8643
|
# @return [String]
|
8567
8644
|
#
|
8645
|
+
# @!attribute [rw] language_code
|
8646
|
+
# The code for a language. This allows you to support a language for
|
8647
|
+
# all documents when updating the data source. English is supported by
|
8648
|
+
# default. For more information on supported languages, including
|
8649
|
+
# their codes, see [Adding documents in languages other than
|
8650
|
+
# English][1].
|
8651
|
+
#
|
8652
|
+
#
|
8653
|
+
#
|
8654
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
|
8655
|
+
# @return [String]
|
8656
|
+
#
|
8568
8657
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateDataSourceRequest AWS API Documentation
|
8569
8658
|
#
|
8570
8659
|
class UpdateDataSourceRequest < Struct.new(
|
@@ -8574,7 +8663,8 @@ module Aws::Kendra
|
|
8574
8663
|
:configuration,
|
8575
8664
|
:description,
|
8576
8665
|
:schedule,
|
8577
|
-
:role_arn
|
8666
|
+
:role_arn,
|
8667
|
+
:language_code)
|
8578
8668
|
SENSITIVE = []
|
8579
8669
|
include Aws::Structure
|
8580
8670
|
end
|
data/lib/aws-sdk-kendra.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kendra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|