aws-sdk-kendra 1.35.0 → 1.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2282d58d249eb1630518c7deac1d5f932458723afba5b268e132e9b82935639f
4
- data.tar.gz: 5083d471bbd04847ebca1f68975f21c07ac6e863fa8a9dbe712d4d32a3597a4e
3
+ metadata.gz: 172f57c667ef88d9f793c504de5c32fef9259ccf52a9864ce68007141e067807
4
+ data.tar.gz: b02997a43d46884fe6955b18cb7e880a50f8148ee59d85d186bf095d72eff62d
5
5
  SHA512:
6
- metadata.gz: c28ca33d5d70844f0ec81120878b9c15fe4e518566162000014c101f8e3e106c960d2f027fba735fc450922435406d0fa985fb2fd28e4ad3fa99a951f6e2abee
7
- data.tar.gz: 67e7157071675757df19b2eed929d09be883a07a7f66a28accf54a7cc492719851fbb08852f1a39fa51253ab457f21a76e59c48e273a6c87cad70b08f9d74be6
6
+ metadata.gz: 0751fb9977310e9553f28f91fc7f282194e587a5a6df48829a902ff8df0a8492b5ffa4d7e7592f508ba2d11bd75e55ef23b7225e1e0b3aee77d1e9cffcbf819b
7
+ data.tar.gz: 22f1e2bd9a6251f4ebc5eca281e99bd9a08272071865c0659c4cb706eaeffe81a3e695b78e3837d84825e759ed47a852c5e6ed1445085c55362a3636a4d17ae1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.36.0 (2021-10-07)
5
+ ------------------
6
+
7
+ * Feature - Amazon Kendra now supports indexing and querying documents in different languages.
8
+
4
9
  1.35.0 (2021-10-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.36.0
@@ -685,6 +685,16 @@ module Aws::Kendra
685
685
  # **A suitable default value is auto-generated.** You should normally
686
686
  # not need to pass this option.**
687
687
  #
688
+ # @option params [String] :language_code
689
+ # The code for a language. This allows you to support a language for all
690
+ # documents when creating the data source. English is supported by
691
+ # default. For more information on supported languages, including their
692
+ # codes, see [Adding documents in languages other than English][1].
693
+ #
694
+ #
695
+ #
696
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
697
+ #
688
698
  # @return [Types::CreateDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
689
699
  #
690
700
  # * {Types::CreateDataSourceResponse#id #id} => String
@@ -1017,6 +1027,7 @@ module Aws::Kendra
1017
1027
  # },
1018
1028
  # ],
1019
1029
  # client_token: "ClientTokenName",
1030
+ # language_code: "LanguageCode",
1020
1031
  # })
1021
1032
  #
1022
1033
  # @example Response structure
@@ -1083,6 +1094,16 @@ module Aws::Kendra
1083
1094
  # **A suitable default value is auto-generated.** You should normally
1084
1095
  # not need to pass this option.**
1085
1096
  #
1097
+ # @option params [String] :language_code
1098
+ # The code for a language. This allows you to support a language for the
1099
+ # FAQ document. English is supported by default. For more information on
1100
+ # supported languages, including their codes, see [Adding documents in
1101
+ # languages other than English][1].
1102
+ #
1103
+ #
1104
+ #
1105
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
1106
+ #
1086
1107
  # @return [Types::CreateFaqResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1087
1108
  #
1088
1109
  # * {Types::CreateFaqResponse#id #id} => String
@@ -1106,6 +1127,7 @@ module Aws::Kendra
1106
1127
  # ],
1107
1128
  # file_format: "CSV", # accepts CSV, CSV_WITH_HEADER, JSON
1108
1129
  # client_token: "ClientTokenName",
1130
+ # language_code: "LanguageCode",
1109
1131
  # })
1110
1132
  #
1111
1133
  # @example Response structure
@@ -1668,6 +1690,7 @@ module Aws::Kendra
1668
1690
  # * {Types::DescribeDataSourceResponse#schedule #schedule} => String
1669
1691
  # * {Types::DescribeDataSourceResponse#role_arn #role_arn} => String
1670
1692
  # * {Types::DescribeDataSourceResponse#error_message #error_message} => String
1693
+ # * {Types::DescribeDataSourceResponse#language_code #language_code} => String
1671
1694
  #
1672
1695
  # @example Request syntax with placeholder values
1673
1696
  #
@@ -1907,6 +1930,7 @@ module Aws::Kendra
1907
1930
  # resp.schedule #=> String
1908
1931
  # resp.role_arn #=> String
1909
1932
  # resp.error_message #=> String
1933
+ # resp.language_code #=> String
1910
1934
  #
1911
1935
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeDataSource AWS API Documentation
1912
1936
  #
@@ -1938,6 +1962,7 @@ module Aws::Kendra
1938
1962
  # * {Types::DescribeFaqResponse#role_arn #role_arn} => String
1939
1963
  # * {Types::DescribeFaqResponse#error_message #error_message} => String
1940
1964
  # * {Types::DescribeFaqResponse#file_format #file_format} => String
1965
+ # * {Types::DescribeFaqResponse#language_code #language_code} => String
1941
1966
  #
1942
1967
  # @example Request syntax with placeholder values
1943
1968
  #
@@ -1960,6 +1985,7 @@ module Aws::Kendra
1960
1985
  # resp.role_arn #=> String
1961
1986
  # resp.error_message #=> String
1962
1987
  # resp.file_format #=> String, one of "CSV", "CSV_WITH_HEADER", "JSON"
1988
+ # resp.language_code #=> String
1963
1989
  #
1964
1990
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeFaq AWS API Documentation
1965
1991
  #
@@ -2433,6 +2459,7 @@ module Aws::Kendra
2433
2459
  # resp.summary_items[0].created_at #=> Time
2434
2460
  # resp.summary_items[0].updated_at #=> Time
2435
2461
  # resp.summary_items[0].status #=> String, one of "CREATING", "DELETING", "FAILED", "UPDATING", "ACTIVE"
2462
+ # resp.summary_items[0].language_code #=> String
2436
2463
  # resp.next_token #=> String
2437
2464
  #
2438
2465
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListDataSources AWS API Documentation
@@ -2482,6 +2509,7 @@ module Aws::Kendra
2482
2509
  # resp.faq_summary_items[0].created_at #=> Time
2483
2510
  # resp.faq_summary_items[0].updated_at #=> Time
2484
2511
  # resp.faq_summary_items[0].file_format #=> String, one of "CSV", "CSV_WITH_HEADER", "JSON"
2512
+ # resp.faq_summary_items[0].language_code #=> String
2485
2513
  #
2486
2514
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListFaqs AWS API Documentation
2487
2515
  #
@@ -3120,7 +3148,7 @@ module Aws::Kendra
3120
3148
  # resp.result_items[0].document_attributes[0].value.string_list_value[0] #=> String
3121
3149
  # resp.result_items[0].document_attributes[0].value.long_value #=> Integer
3122
3150
  # 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"
3151
+ # resp.result_items[0].score_attributes.score_confidence #=> String, one of "VERY_HIGH", "HIGH", "MEDIUM", "LOW", "NOT_AVAILABLE"
3124
3152
  # resp.result_items[0].feedback_token #=> String
3125
3153
  # resp.facet_results #=> Array
3126
3154
  # resp.facet_results[0].document_attribute_key #=> String
@@ -3343,6 +3371,16 @@ module Aws::Kendra
3343
3371
  # The Amazon Resource Name (ARN) of the new role to use when the data
3344
3372
  # source is accessing resources on your behalf.
3345
3373
  #
3374
+ # @option params [String] :language_code
3375
+ # The code for a language. This allows you to support a language for all
3376
+ # documents when updating the data source. English is supported by
3377
+ # default. For more information on supported languages, including their
3378
+ # codes, see [Adding documents in languages other than English][1].
3379
+ #
3380
+ #
3381
+ #
3382
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html
3383
+ #
3346
3384
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3347
3385
  #
3348
3386
  # @example Request syntax with placeholder values
@@ -3666,6 +3704,7 @@ module Aws::Kendra
3666
3704
  # description: "Description",
3667
3705
  # schedule: "ScanSchedule",
3668
3706
  # role_arn: "RoleArn",
3707
+ # language_code: "LanguageCode",
3669
3708
  # })
3670
3709
  #
3671
3710
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateDataSource AWS API Documentation
@@ -4003,7 +4042,7 @@ module Aws::Kendra
4003
4042
  params: params,
4004
4043
  config: config)
4005
4044
  context[:gem_name] = 'aws-sdk-kendra'
4006
- context[:gem_version] = '1.35.0'
4045
+ context[:gem_version] = '1.36.0'
4007
4046
  Seahorse::Client::Request.new(handlers, context)
4008
4047
  end
4009
4048
 
@@ -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"))
@@ -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
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-kendra/customizations'
48
48
  # @!group service
49
49
  module Aws::Kendra
50
50
 
51
- GEM_VERSION = '1.35.0'
51
+ GEM_VERSION = '1.36.0'
52
52
 
53
53
  end
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.35.0
4
+ version: 1.36.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-10-06 00:00:00.000000000 Z
11
+ date: 2021-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core