aws-sdk-kendra 1.5.0 → 1.10.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: 1afd0fafb0bfd970e8dde3ace760ed77dd6949081de8d1ac922893d078a819b0
4
- data.tar.gz: dfd8199c82c90b56c96ec65e38a7df42ed2fc6541357cc3ba1dda0ca856f235b
3
+ metadata.gz: 06c3a96d7196016b1845f9582d6cd0d56518d90a36aa5a09464f4a224108f655
4
+ data.tar.gz: 177515e95fbc56433ce011886ceec91dd45ecd8f5f928c80d1e55ec155c54e65
5
5
  SHA512:
6
- metadata.gz: 9b3895c24994f135f93026de0081ad5816f43e0bd2fe8c6b73186dadc4e7f6a460b58c872f17753bb2fa6df85c6e299e3704184f49752181aa1dcd844fd784ac
7
- data.tar.gz: ab705626c3f15b1db8e50cbed4a152311f1d70264b2cf3561838e8ae70b747d755cd35725eb52656d7fe1aaf0f5b15e155183ce3a305a32281e359846ee9b279
6
+ metadata.gz: b9c36ab72c9c37b4b529d3a5dfcab4168849de0ec905462e5c49d1bf8d8b97bc5e52c601405c74928768d579f0fd31f7594d2dd9db561a00af13c8547acf391b
7
+ data.tar.gz: 79b7e58aabb22f8b4c590d9a03e7cf80c149fb95270d145c5ac121ad8a69d8b911eef7d603dde794003d910f69c8d88b608fc0a064c47942ed24e38e17ad8288
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-kendra/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::Kendra
47
49
 
48
- GEM_VERSION = '1.5.0'
50
+ GEM_VERSION = '1.10.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::Kendra
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -81,13 +85,28 @@ module Aws::Kendra
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,10 +116,10 @@ module Aws::Kendra
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
@@ -161,7 +180,7 @@ module Aws::Kendra
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +195,7 @@ module Aws::Kendra
176
195
  # requests fetching endpoints information. Defaults to 60 sec.
177
196
  #
178
197
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
199
  #
181
200
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
201
  # The log formatter.
@@ -588,6 +607,9 @@ module Aws::Kendra
588
607
  # acl_configuration: {
589
608
  # allowed_groups_column_name: "ColumnName", # required
590
609
  # },
610
+ # sql_configuration: {
611
+ # query_identifiers_enclosing_option: "DOUBLE_QUOTES", # accepts DOUBLE_QUOTES, NONE
612
+ # },
591
613
  # },
592
614
  # salesforce_configuration: {
593
615
  # server_url: "Url", # required
@@ -1051,6 +1073,7 @@ module Aws::Kendra
1051
1073
  # resp.configuration.database_configuration.column_configuration.change_detecting_columns #=> Array
1052
1074
  # resp.configuration.database_configuration.column_configuration.change_detecting_columns[0] #=> String
1053
1075
  # resp.configuration.database_configuration.acl_configuration.allowed_groups_column_name #=> String
1076
+ # resp.configuration.database_configuration.sql_configuration.query_identifiers_enclosing_option #=> String, one of "DOUBLE_QUOTES", "NONE"
1054
1077
  # resp.configuration.salesforce_configuration.server_url #=> String
1055
1078
  # resp.configuration.salesforce_configuration.secret_arn #=> String
1056
1079
  # resp.configuration.salesforce_configuration.standard_object_configurations #=> Array
@@ -1252,6 +1275,7 @@ module Aws::Kendra
1252
1275
  # resp.document_metadata_configurations[0].search.facetable #=> Boolean
1253
1276
  # resp.document_metadata_configurations[0].search.searchable #=> Boolean
1254
1277
  # resp.document_metadata_configurations[0].search.displayable #=> Boolean
1278
+ # resp.document_metadata_configurations[0].search.sortable #=> Boolean
1255
1279
  # resp.index_statistics.faq_statistics.indexed_question_answers_count #=> Integer
1256
1280
  # resp.index_statistics.text_document_statistics.indexed_text_documents_count #=> Integer
1257
1281
  # resp.index_statistics.text_document_statistics.indexed_text_bytes #=> Integer
@@ -1573,6 +1597,16 @@ module Aws::Kendra
1573
1597
  # The default page size is 10. The maximum number of results returned is
1574
1598
  # 100. If you ask for more than 100 results, only 100 are returned.
1575
1599
  #
1600
+ # @option params [Types::SortingConfiguration] :sorting_configuration
1601
+ # Provides information that determines how the results of the query are
1602
+ # sorted. You can set the field that Amazon Kendra should sort the
1603
+ # results on, and specify whether the results should be sorted in
1604
+ # ascending or descending order. In the case of ties in sorting the
1605
+ # results, the results are sorted by relevance.
1606
+ #
1607
+ # If you don't provide sorting configuration, the results are sorted by
1608
+ # the relevance that Amazon Kendra determines for the result.
1609
+ #
1576
1610
  # @return [Types::QueryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1577
1611
  #
1578
1612
  # * {Types::QueryResult#query_id #query_id} => String
@@ -1672,6 +1706,10 @@ module Aws::Kendra
1672
1706
  # query_result_type_filter: "DOCUMENT", # accepts DOCUMENT, QUESTION_ANSWER, ANSWER
1673
1707
  # page_number: 1,
1674
1708
  # page_size: 1,
1709
+ # sorting_configuration: {
1710
+ # document_attribute_key: "DocumentAttributeKey", # required
1711
+ # sort_order: "DESC", # required, accepts DESC, ASC
1712
+ # },
1675
1713
  # })
1676
1714
  #
1677
1715
  # @example Response structure
@@ -1996,6 +2034,9 @@ module Aws::Kendra
1996
2034
  # acl_configuration: {
1997
2035
  # allowed_groups_column_name: "ColumnName", # required
1998
2036
  # },
2037
+ # sql_configuration: {
2038
+ # query_identifiers_enclosing_option: "DOUBLE_QUOTES", # accepts DOUBLE_QUOTES, NONE
2039
+ # },
1999
2040
  # },
2000
2041
  # salesforce_configuration: {
2001
2042
  # server_url: "Url", # required
@@ -2188,6 +2229,7 @@ module Aws::Kendra
2188
2229
  # facetable: false,
2189
2230
  # searchable: false,
2190
2231
  # displayable: false,
2232
+ # sortable: false,
2191
2233
  # },
2192
2234
  # },
2193
2235
  # ],
@@ -2219,7 +2261,7 @@ module Aws::Kendra
2219
2261
  params: params,
2220
2262
  config: config)
2221
2263
  context[:gem_name] = 'aws-sdk-kendra'
2222
- context[:gem_version] = '1.5.0'
2264
+ context[:gem_version] = '1.10.0'
2223
2265
  Seahorse::Client::Request.new(handlers, context)
2224
2266
  end
2225
2267
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -159,6 +161,7 @@ module Aws::Kendra
159
161
  PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
160
162
  QueryCapacityUnit = Shapes::IntegerShape.new(name: 'QueryCapacityUnit')
161
163
  QueryId = Shapes::StringShape.new(name: 'QueryId')
164
+ QueryIdentifiersEnclosingOption = Shapes::StringShape.new(name: 'QueryIdentifiersEnclosingOption')
162
165
  QueryRequest = Shapes::StructureShape.new(name: 'QueryRequest')
163
166
  QueryResult = Shapes::StructureShape.new(name: 'QueryResult')
164
167
  QueryResultItem = Shapes::StructureShape.new(name: 'QueryResultItem')
@@ -209,6 +212,9 @@ module Aws::Kendra
209
212
  SharePointConfiguration = Shapes::StructureShape.new(name: 'SharePointConfiguration')
210
213
  SharePointUrlList = Shapes::ListShape.new(name: 'SharePointUrlList')
211
214
  SharePointVersion = Shapes::StringShape.new(name: 'SharePointVersion')
215
+ SortOrder = Shapes::StringShape.new(name: 'SortOrder')
216
+ SortingConfiguration = Shapes::StructureShape.new(name: 'SortingConfiguration')
217
+ SqlConfiguration = Shapes::StructureShape.new(name: 'SqlConfiguration')
212
218
  StartDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobRequest')
213
219
  StartDataSourceSyncJobResponse = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobResponse')
214
220
  StopDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StopDataSourceSyncJobRequest')
@@ -429,6 +435,7 @@ module Aws::Kendra
429
435
  DatabaseConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
430
436
  DatabaseConfiguration.add_member(:column_configuration, Shapes::ShapeRef.new(shape: ColumnConfiguration, required: true, location_name: "ColumnConfiguration"))
431
437
  DatabaseConfiguration.add_member(:acl_configuration, Shapes::ShapeRef.new(shape: AclConfiguration, location_name: "AclConfiguration"))
438
+ DatabaseConfiguration.add_member(:sql_configuration, Shapes::ShapeRef.new(shape: SqlConfiguration, location_name: "SqlConfiguration"))
432
439
  DatabaseConfiguration.struct_class = Types::DatabaseConfiguration
433
440
 
434
441
  DeleteDataSourceRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
@@ -660,6 +667,7 @@ module Aws::Kendra
660
667
  QueryRequest.add_member(:query_result_type_filter, Shapes::ShapeRef.new(shape: QueryResultType, location_name: "QueryResultTypeFilter"))
661
668
  QueryRequest.add_member(:page_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PageNumber"))
662
669
  QueryRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: Integer, location_name: "PageSize"))
670
+ QueryRequest.add_member(:sorting_configuration, Shapes::ShapeRef.new(shape: SortingConfiguration, location_name: "SortingConfiguration"))
663
671
  QueryRequest.struct_class = Types::QueryRequest
664
672
 
665
673
  QueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "QueryId"))
@@ -770,6 +778,7 @@ module Aws::Kendra
770
778
  Search.add_member(:facetable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Facetable"))
771
779
  Search.add_member(:searchable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Searchable"))
772
780
  Search.add_member(:displayable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Displayable"))
781
+ Search.add_member(:sortable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Sortable"))
773
782
  Search.struct_class = Types::Search
774
783
 
775
784
  SecurityGroupIdList.member = Shapes::ShapeRef.new(shape: VpcSecurityGroupId)
@@ -817,6 +826,13 @@ module Aws::Kendra
817
826
 
818
827
  SharePointUrlList.member = Shapes::ShapeRef.new(shape: Url)
819
828
 
829
+ SortingConfiguration.add_member(:document_attribute_key, Shapes::ShapeRef.new(shape: DocumentAttributeKey, required: true, location_name: "DocumentAttributeKey"))
830
+ SortingConfiguration.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "SortOrder"))
831
+ SortingConfiguration.struct_class = Types::SortingConfiguration
832
+
833
+ SqlConfiguration.add_member(:query_identifiers_enclosing_option, Shapes::ShapeRef.new(shape: QueryIdentifiersEnclosingOption, location_name: "QueryIdentifiersEnclosingOption"))
834
+ SqlConfiguration.struct_class = Types::SqlConfiguration
835
+
820
836
  StartDataSourceSyncJobRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
821
837
  StartDataSourceSyncJobRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
822
838
  StartDataSourceSyncJobRequest.struct_class = Types::StartDataSourceSyncJobRequest
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -25,6 +27,7 @@ module Aws::Kendra
25
27
  #
26
28
  class AccessControlListConfiguration < Struct.new(
27
29
  :key_path)
30
+ SENSITIVE = []
28
31
  include Aws::Structure
29
32
  end
30
33
 
@@ -35,6 +38,7 @@ module Aws::Kendra
35
38
  #
36
39
  class AccessDeniedException < Struct.new(
37
40
  :message)
41
+ SENSITIVE = []
38
42
  include Aws::Structure
39
43
  end
40
44
 
@@ -59,6 +63,7 @@ module Aws::Kendra
59
63
  #
60
64
  class AclConfiguration < Struct.new(
61
65
  :allowed_groups_column_name)
66
+ SENSITIVE = []
62
67
  include Aws::Structure
63
68
  end
64
69
 
@@ -82,6 +87,7 @@ module Aws::Kendra
82
87
  :key,
83
88
  :value_type,
84
89
  :value)
90
+ SENSITIVE = []
85
91
  include Aws::Structure
86
92
  end
87
93
 
@@ -96,6 +102,7 @@ module Aws::Kendra
96
102
  #
97
103
  class AdditionalResultAttributeValue < Struct.new(
98
104
  :text_with_highlights_value)
105
+ SENSITIVE = []
99
106
  include Aws::Structure
100
107
  end
101
108
 
@@ -476,6 +483,7 @@ module Aws::Kendra
476
483
  :greater_than_or_equals,
477
484
  :less_than,
478
485
  :less_than_or_equals)
486
+ SENSITIVE = []
479
487
  include Aws::Structure
480
488
  end
481
489
 
@@ -509,6 +517,7 @@ module Aws::Kendra
509
517
  :index_id,
510
518
  :document_id_list,
511
519
  :data_source_sync_job_metric_target)
520
+ SENSITIVE = []
512
521
  include Aws::Structure
513
522
  end
514
523
 
@@ -522,6 +531,7 @@ module Aws::Kendra
522
531
  #
523
532
  class BatchDeleteDocumentResponse < Struct.new(
524
533
  :failed_documents)
534
+ SENSITIVE = []
525
535
  include Aws::Structure
526
536
  end
527
537
 
@@ -549,6 +559,7 @@ module Aws::Kendra
549
559
  :id,
550
560
  :error_code,
551
561
  :error_message)
562
+ SENSITIVE = []
552
563
  include Aws::Structure
553
564
  end
554
565
 
@@ -630,6 +641,7 @@ module Aws::Kendra
630
641
  :index_id,
631
642
  :role_arn,
632
643
  :documents)
644
+ SENSITIVE = []
633
645
  include Aws::Structure
634
646
  end
635
647
 
@@ -652,6 +664,7 @@ module Aws::Kendra
652
664
  #
653
665
  class BatchPutDocumentResponse < Struct.new(
654
666
  :failed_documents)
667
+ SENSITIVE = []
655
668
  include Aws::Structure
656
669
  end
657
670
 
@@ -675,6 +688,7 @@ module Aws::Kendra
675
688
  :id,
676
689
  :error_code,
677
690
  :error_message)
691
+ SENSITIVE = []
678
692
  include Aws::Structure
679
693
  end
680
694
 
@@ -705,6 +719,7 @@ module Aws::Kendra
705
719
  class CapacityUnitsConfiguration < Struct.new(
706
720
  :storage_capacity_units,
707
721
  :query_capacity_units)
722
+ SENSITIVE = []
708
723
  include Aws::Structure
709
724
  end
710
725
 
@@ -733,6 +748,7 @@ module Aws::Kendra
733
748
  class ClickFeedback < Struct.new(
734
749
  :result_id,
735
750
  :click_time)
751
+ SENSITIVE = []
736
752
  include Aws::Structure
737
753
  end
738
754
 
@@ -787,6 +803,7 @@ module Aws::Kendra
787
803
  :document_title_column_name,
788
804
  :field_mappings,
789
805
  :change_detecting_columns)
806
+ SENSITIVE = []
790
807
  include Aws::Structure
791
808
  end
792
809
 
@@ -797,6 +814,7 @@ module Aws::Kendra
797
814
  #
798
815
  class ConflictException < Struct.new(
799
816
  :message)
817
+ SENSITIVE = []
800
818
  include Aws::Structure
801
819
  end
802
820
 
@@ -851,6 +869,7 @@ module Aws::Kendra
851
869
  :database_name,
852
870
  :table_name,
853
871
  :secret_arn)
872
+ SENSITIVE = []
854
873
  include Aws::Structure
855
874
  end
856
875
 
@@ -923,6 +942,9 @@ module Aws::Kendra
923
942
  # acl_configuration: {
924
943
  # allowed_groups_column_name: "ColumnName", # required
925
944
  # },
945
+ # sql_configuration: {
946
+ # query_identifiers_enclosing_option: "DOUBLE_QUOTES", # accepts DOUBLE_QUOTES, NONE
947
+ # },
926
948
  # },
927
949
  # salesforce_configuration: {
928
950
  # server_url: "Url", # required
@@ -1117,6 +1139,7 @@ module Aws::Kendra
1117
1139
  :schedule,
1118
1140
  :role_arn,
1119
1141
  :tags)
1142
+ SENSITIVE = []
1120
1143
  include Aws::Structure
1121
1144
  end
1122
1145
 
@@ -1128,6 +1151,7 @@ module Aws::Kendra
1128
1151
  #
1129
1152
  class CreateDataSourceResponse < Struct.new(
1130
1153
  :id)
1154
+ SENSITIVE = []
1131
1155
  include Aws::Structure
1132
1156
  end
1133
1157
 
@@ -1192,6 +1216,7 @@ module Aws::Kendra
1192
1216
  :s3_path,
1193
1217
  :role_arn,
1194
1218
  :tags)
1219
+ SENSITIVE = []
1195
1220
  include Aws::Structure
1196
1221
  end
1197
1222
 
@@ -1203,6 +1228,7 @@ module Aws::Kendra
1203
1228
  #
1204
1229
  class CreateFaqResponse < Struct.new(
1205
1230
  :id)
1231
+ SENSITIVE = []
1206
1232
  include Aws::Structure
1207
1233
  end
1208
1234
 
@@ -1280,6 +1306,7 @@ module Aws::Kendra
1280
1306
  :description,
1281
1307
  :client_token,
1282
1308
  :tags)
1309
+ SENSITIVE = []
1283
1310
  include Aws::Structure
1284
1311
  end
1285
1312
 
@@ -1292,6 +1319,7 @@ module Aws::Kendra
1292
1319
  #
1293
1320
  class CreateIndexResponse < Struct.new(
1294
1321
  :id)
1322
+ SENSITIVE = []
1295
1323
  include Aws::Structure
1296
1324
  end
1297
1325
 
@@ -1362,6 +1390,9 @@ module Aws::Kendra
1362
1390
  # acl_configuration: {
1363
1391
  # allowed_groups_column_name: "ColumnName", # required
1364
1392
  # },
1393
+ # sql_configuration: {
1394
+ # query_identifiers_enclosing_option: "DOUBLE_QUOTES", # accepts DOUBLE_QUOTES, NONE
1395
+ # },
1365
1396
  # },
1366
1397
  # salesforce_configuration: {
1367
1398
  # server_url: "Url", # required
@@ -1527,6 +1558,7 @@ module Aws::Kendra
1527
1558
  :salesforce_configuration,
1528
1559
  :one_drive_configuration,
1529
1560
  :service_now_configuration)
1561
+ SENSITIVE = []
1530
1562
  include Aws::Structure
1531
1563
  end
1532
1564
 
@@ -1567,6 +1599,7 @@ module Aws::Kendra
1567
1599
  :created_at,
1568
1600
  :updated_at,
1569
1601
  :status)
1602
+ SENSITIVE = []
1570
1603
  include Aws::Structure
1571
1604
  end
1572
1605
 
@@ -1625,6 +1658,7 @@ module Aws::Kendra
1625
1658
  :error_code,
1626
1659
  :data_source_error_code,
1627
1660
  :metrics)
1661
+ SENSITIVE = []
1628
1662
  include Aws::Structure
1629
1663
  end
1630
1664
 
@@ -1651,6 +1685,7 @@ module Aws::Kendra
1651
1685
  class DataSourceSyncJobMetricTarget < Struct.new(
1652
1686
  :data_source_id,
1653
1687
  :data_source_sync_job_id)
1688
+ SENSITIVE = []
1654
1689
  include Aws::Structure
1655
1690
  end
1656
1691
 
@@ -1691,6 +1726,7 @@ module Aws::Kendra
1691
1726
  :documents_deleted,
1692
1727
  :documents_failed,
1693
1728
  :documents_scanned)
1729
+ SENSITIVE = []
1694
1730
  include Aws::Structure
1695
1731
  end
1696
1732
 
@@ -1725,6 +1761,7 @@ module Aws::Kendra
1725
1761
  :data_source_field_name,
1726
1762
  :date_field_format,
1727
1763
  :index_field_name)
1764
+ SENSITIVE = []
1728
1765
  include Aws::Structure
1729
1766
  end
1730
1767
 
@@ -1755,6 +1792,7 @@ module Aws::Kendra
1755
1792
  class DataSourceVpcConfiguration < Struct.new(
1756
1793
  :subnet_ids,
1757
1794
  :security_group_ids)
1795
+ SENSITIVE = []
1758
1796
  include Aws::Structure
1759
1797
  end
1760
1798
 
@@ -1792,6 +1830,9 @@ module Aws::Kendra
1792
1830
  # acl_configuration: {
1793
1831
  # allowed_groups_column_name: "ColumnName", # required
1794
1832
  # },
1833
+ # sql_configuration: {
1834
+ # query_identifiers_enclosing_option: "DOUBLE_QUOTES", # accepts DOUBLE_QUOTES, NONE
1835
+ # },
1795
1836
  # }
1796
1837
  #
1797
1838
  # @!attribute [rw] database_engine_type
@@ -1816,6 +1857,11 @@ module Aws::Kendra
1816
1857
  # user context filtering.
1817
1858
  # @return [Types::AclConfiguration]
1818
1859
  #
1860
+ # @!attribute [rw] sql_configuration
1861
+ # Provides information about how Amazon Kendra uses quote marks around
1862
+ # SQL identifiers when querying a database data source.
1863
+ # @return [Types::SqlConfiguration]
1864
+ #
1819
1865
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DatabaseConfiguration AWS API Documentation
1820
1866
  #
1821
1867
  class DatabaseConfiguration < Struct.new(
@@ -1823,7 +1869,9 @@ module Aws::Kendra
1823
1869
  :connection_configuration,
1824
1870
  :vpc_configuration,
1825
1871
  :column_configuration,
1826
- :acl_configuration)
1872
+ :acl_configuration,
1873
+ :sql_configuration)
1874
+ SENSITIVE = []
1827
1875
  include Aws::Structure
1828
1876
  end
1829
1877
 
@@ -1848,6 +1896,7 @@ module Aws::Kendra
1848
1896
  class DeleteDataSourceRequest < Struct.new(
1849
1897
  :id,
1850
1898
  :index_id)
1899
+ SENSITIVE = []
1851
1900
  include Aws::Structure
1852
1901
  end
1853
1902
 
@@ -1872,6 +1921,7 @@ module Aws::Kendra
1872
1921
  class DeleteFaqRequest < Struct.new(
1873
1922
  :id,
1874
1923
  :index_id)
1924
+ SENSITIVE = []
1875
1925
  include Aws::Structure
1876
1926
  end
1877
1927
 
@@ -1890,6 +1940,7 @@ module Aws::Kendra
1890
1940
  #
1891
1941
  class DeleteIndexRequest < Struct.new(
1892
1942
  :id)
1943
+ SENSITIVE = []
1893
1944
  include Aws::Structure
1894
1945
  end
1895
1946
 
@@ -1914,6 +1965,7 @@ module Aws::Kendra
1914
1965
  class DescribeDataSourceRequest < Struct.new(
1915
1966
  :id,
1916
1967
  :index_id)
1968
+ SENSITIVE = []
1917
1969
  include Aws::Structure
1918
1970
  end
1919
1971
 
@@ -1988,6 +2040,7 @@ module Aws::Kendra
1988
2040
  :schedule,
1989
2041
  :role_arn,
1990
2042
  :error_message)
2043
+ SENSITIVE = []
1991
2044
  include Aws::Structure
1992
2045
  end
1993
2046
 
@@ -2012,6 +2065,7 @@ module Aws::Kendra
2012
2065
  class DescribeFaqRequest < Struct.new(
2013
2066
  :id,
2014
2067
  :index_id)
2068
+ SENSITIVE = []
2015
2069
  include Aws::Structure
2016
2070
  end
2017
2071
 
@@ -2071,6 +2125,7 @@ module Aws::Kendra
2071
2125
  :status,
2072
2126
  :role_arn,
2073
2127
  :error_message)
2128
+ SENSITIVE = []
2074
2129
  include Aws::Structure
2075
2130
  end
2076
2131
 
@@ -2089,6 +2144,7 @@ module Aws::Kendra
2089
2144
  #
2090
2145
  class DescribeIndexRequest < Struct.new(
2091
2146
  :id)
2147
+ SENSITIVE = []
2092
2148
  include Aws::Structure
2093
2149
  end
2094
2150
 
@@ -2172,6 +2228,7 @@ module Aws::Kendra
2172
2228
  :index_statistics,
2173
2229
  :error_message,
2174
2230
  :capacity_units)
2231
+ SENSITIVE = []
2175
2232
  include Aws::Structure
2176
2233
  end
2177
2234
 
@@ -2256,6 +2313,7 @@ module Aws::Kendra
2256
2313
  :attributes,
2257
2314
  :access_control_list,
2258
2315
  :content_type)
2316
+ SENSITIVE = []
2259
2317
  include Aws::Structure
2260
2318
  end
2261
2319
 
@@ -2287,6 +2345,7 @@ module Aws::Kendra
2287
2345
  class DocumentAttribute < Struct.new(
2288
2346
  :key,
2289
2347
  :value)
2348
+ SENSITIVE = []
2290
2349
  include Aws::Structure
2291
2350
  end
2292
2351
 
@@ -2316,7 +2375,7 @@ module Aws::Kendra
2316
2375
  # @return [Integer]
2317
2376
  #
2318
2377
  # @!attribute [rw] date_value
2319
- # A date value expressed as seconds from the Unix epoch.
2378
+ # A date expressed as an ISO 8601 string.
2320
2379
  # @return [Time]
2321
2380
  #
2322
2381
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DocumentAttributeValue AWS API Documentation
@@ -2326,6 +2385,7 @@ module Aws::Kendra
2326
2385
  :string_list_value,
2327
2386
  :long_value,
2328
2387
  :date_value)
2388
+ SENSITIVE = []
2329
2389
  include Aws::Structure
2330
2390
  end
2331
2391
 
@@ -2346,6 +2406,7 @@ module Aws::Kendra
2346
2406
  class DocumentAttributeValueCountPair < Struct.new(
2347
2407
  :document_attribute_value,
2348
2408
  :count)
2409
+ SENSITIVE = []
2349
2410
  include Aws::Structure
2350
2411
  end
2351
2412
 
@@ -2370,6 +2431,7 @@ module Aws::Kendra
2370
2431
  # facetable: false,
2371
2432
  # searchable: false,
2372
2433
  # displayable: false,
2434
+ # sortable: false,
2373
2435
  # },
2374
2436
  # }
2375
2437
  #
@@ -2397,6 +2459,7 @@ module Aws::Kendra
2397
2459
  :type,
2398
2460
  :relevance,
2399
2461
  :search)
2462
+ SENSITIVE = []
2400
2463
  include Aws::Structure
2401
2464
  end
2402
2465
 
@@ -2422,6 +2485,7 @@ module Aws::Kendra
2422
2485
  #
2423
2486
  class DocumentsMetadataConfiguration < Struct.new(
2424
2487
  :s3_prefix)
2488
+ SENSITIVE = []
2425
2489
  include Aws::Structure
2426
2490
  end
2427
2491
 
@@ -2442,6 +2506,7 @@ module Aws::Kendra
2442
2506
  #
2443
2507
  class Facet < Struct.new(
2444
2508
  :document_attribute_key)
2509
+ SENSITIVE = []
2445
2510
  include Aws::Structure
2446
2511
  end
2447
2512
 
@@ -2463,6 +2528,7 @@ module Aws::Kendra
2463
2528
  class FacetResult < Struct.new(
2464
2529
  :document_attribute_key,
2465
2530
  :document_attribute_value_count_pairs)
2531
+ SENSITIVE = []
2466
2532
  include Aws::Structure
2467
2533
  end
2468
2534
 
@@ -2478,6 +2544,7 @@ module Aws::Kendra
2478
2544
  #
2479
2545
  class FaqStatistics < Struct.new(
2480
2546
  :indexed_question_answers_count)
2547
+ SENSITIVE = []
2481
2548
  include Aws::Structure
2482
2549
  end
2483
2550
 
@@ -2514,6 +2581,7 @@ module Aws::Kendra
2514
2581
  :status,
2515
2582
  :created_at,
2516
2583
  :updated_at)
2584
+ SENSITIVE = []
2517
2585
  include Aws::Structure
2518
2586
  end
2519
2587
 
@@ -2541,6 +2609,7 @@ module Aws::Kendra
2541
2609
  :begin_offset,
2542
2610
  :end_offset,
2543
2611
  :top_answer)
2612
+ SENSITIVE = []
2544
2613
  include Aws::Structure
2545
2614
  end
2546
2615
 
@@ -2584,6 +2653,7 @@ module Aws::Kendra
2584
2653
  :created_at,
2585
2654
  :updated_at,
2586
2655
  :status)
2656
+ SENSITIVE = []
2587
2657
  include Aws::Structure
2588
2658
  end
2589
2659
 
@@ -2603,6 +2673,7 @@ module Aws::Kendra
2603
2673
  class IndexStatistics < Struct.new(
2604
2674
  :faq_statistics,
2605
2675
  :text_document_statistics)
2676
+ SENSITIVE = []
2606
2677
  include Aws::Structure
2607
2678
  end
2608
2679
 
@@ -2613,6 +2684,7 @@ module Aws::Kendra
2613
2684
  #
2614
2685
  class InternalServerException < Struct.new(
2615
2686
  :message)
2687
+ SENSITIVE = []
2616
2688
  include Aws::Structure
2617
2689
  end
2618
2690
 
@@ -2670,6 +2742,7 @@ module Aws::Kendra
2670
2742
  :max_results,
2671
2743
  :start_time_filter,
2672
2744
  :status_filter)
2745
+ SENSITIVE = []
2673
2746
  include Aws::Structure
2674
2747
  end
2675
2748
 
@@ -2691,6 +2764,7 @@ module Aws::Kendra
2691
2764
  class ListDataSourceSyncJobsResponse < Struct.new(
2692
2765
  :history,
2693
2766
  :next_token)
2767
+ SENSITIVE = []
2694
2768
  include Aws::Structure
2695
2769
  end
2696
2770
 
@@ -2724,6 +2798,7 @@ module Aws::Kendra
2724
2798
  :index_id,
2725
2799
  :next_token,
2726
2800
  :max_results)
2801
+ SENSITIVE = []
2727
2802
  include Aws::Structure
2728
2803
  end
2729
2804
 
@@ -2742,6 +2817,7 @@ module Aws::Kendra
2742
2817
  class ListDataSourcesResponse < Struct.new(
2743
2818
  :summary_items,
2744
2819
  :next_token)
2820
+ SENSITIVE = []
2745
2821
  include Aws::Structure
2746
2822
  end
2747
2823
 
@@ -2775,6 +2851,7 @@ module Aws::Kendra
2775
2851
  :index_id,
2776
2852
  :next_token,
2777
2853
  :max_results)
2854
+ SENSITIVE = []
2778
2855
  include Aws::Structure
2779
2856
  end
2780
2857
 
@@ -2795,6 +2872,7 @@ module Aws::Kendra
2795
2872
  class ListFaqsResponse < Struct.new(
2796
2873
  :next_token,
2797
2874
  :faq_summary_items)
2875
+ SENSITIVE = []
2798
2876
  include Aws::Structure
2799
2877
  end
2800
2878
 
@@ -2822,6 +2900,7 @@ module Aws::Kendra
2822
2900
  class ListIndicesRequest < Struct.new(
2823
2901
  :next_token,
2824
2902
  :max_results)
2903
+ SENSITIVE = []
2825
2904
  include Aws::Structure
2826
2905
  end
2827
2906
 
@@ -2840,6 +2919,7 @@ module Aws::Kendra
2840
2919
  class ListIndicesResponse < Struct.new(
2841
2920
  :index_configuration_summary_items,
2842
2921
  :next_token)
2922
+ SENSITIVE = []
2843
2923
  include Aws::Structure
2844
2924
  end
2845
2925
 
@@ -2859,6 +2939,7 @@ module Aws::Kendra
2859
2939
  #
2860
2940
  class ListTagsForResourceRequest < Struct.new(
2861
2941
  :resource_arn)
2942
+ SENSITIVE = []
2862
2943
  include Aws::Structure
2863
2944
  end
2864
2945
 
@@ -2870,6 +2951,7 @@ module Aws::Kendra
2870
2951
  #
2871
2952
  class ListTagsForResourceResponse < Struct.new(
2872
2953
  :tags)
2954
+ SENSITIVE = []
2873
2955
  include Aws::Structure
2874
2956
  end
2875
2957
 
@@ -2949,6 +3031,7 @@ module Aws::Kendra
2949
3031
  :inclusion_patterns,
2950
3032
  :exclusion_patterns,
2951
3033
  :field_mappings)
3034
+ SENSITIVE = []
2952
3035
  include Aws::Structure
2953
3036
  end
2954
3037
 
@@ -2983,6 +3066,7 @@ module Aws::Kendra
2983
3066
  class OneDriveUsers < Struct.new(
2984
3067
  :one_drive_user_list,
2985
3068
  :one_drive_user_s3_path)
3069
+ SENSITIVE = []
2986
3070
  include Aws::Structure
2987
3071
  end
2988
3072
 
@@ -3015,6 +3099,7 @@ module Aws::Kendra
3015
3099
  :name,
3016
3100
  :type,
3017
3101
  :access)
3102
+ SENSITIVE = []
3018
3103
  include Aws::Structure
3019
3104
  end
3020
3105
 
@@ -3111,6 +3196,10 @@ module Aws::Kendra
3111
3196
  # query_result_type_filter: "DOCUMENT", # accepts DOCUMENT, QUESTION_ANSWER, ANSWER
3112
3197
  # page_number: 1,
3113
3198
  # page_size: 1,
3199
+ # sorting_configuration: {
3200
+ # document_attribute_key: "DocumentAttributeKey", # required
3201
+ # sort_order: "DESC", # required, accepts DESC, ASC
3202
+ # },
3114
3203
  # }
3115
3204
  #
3116
3205
  # @!attribute [rw] index_id
@@ -3163,6 +3252,17 @@ module Aws::Kendra
3163
3252
  # returned.
3164
3253
  # @return [Integer]
3165
3254
  #
3255
+ # @!attribute [rw] sorting_configuration
3256
+ # Provides information that determines how the results of the query
3257
+ # are sorted. You can set the field that Amazon Kendra should sort the
3258
+ # results on, and specify whether the results should be sorted in
3259
+ # ascending or descending order. In the case of ties in sorting the
3260
+ # results, the results are sorted by relevance.
3261
+ #
3262
+ # If you don't provide sorting configuration, the results are sorted
3263
+ # by the relevance that Amazon Kendra determines for the result.
3264
+ # @return [Types::SortingConfiguration]
3265
+ #
3166
3266
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QueryRequest AWS API Documentation
3167
3267
  #
3168
3268
  class QueryRequest < Struct.new(
@@ -3173,7 +3273,9 @@ module Aws::Kendra
3173
3273
  :requested_document_attributes,
3174
3274
  :query_result_type_filter,
3175
3275
  :page_number,
3176
- :page_size)
3276
+ :page_size,
3277
+ :sorting_configuration)
3278
+ SENSITIVE = []
3177
3279
  include Aws::Structure
3178
3280
  end
3179
3281
 
@@ -3204,6 +3306,7 @@ module Aws::Kendra
3204
3306
  :result_items,
3205
3307
  :facet_results,
3206
3308
  :total_number_of_results)
3309
+ SENSITIVE = []
3207
3310
  include Aws::Structure
3208
3311
  end
3209
3312
 
@@ -3261,6 +3364,7 @@ module Aws::Kendra
3261
3364
  :document_excerpt,
3262
3365
  :document_uri,
3263
3366
  :document_attributes)
3367
+ SENSITIVE = []
3264
3368
  include Aws::Structure
3265
3369
  end
3266
3370
 
@@ -3343,6 +3447,7 @@ module Aws::Kendra
3343
3447
  :duration,
3344
3448
  :rank_order,
3345
3449
  :value_importance_map)
3450
+ SENSITIVE = []
3346
3451
  include Aws::Structure
3347
3452
  end
3348
3453
 
@@ -3372,6 +3477,7 @@ module Aws::Kendra
3372
3477
  class RelevanceFeedback < Struct.new(
3373
3478
  :result_id,
3374
3479
  :relevance_value)
3480
+ SENSITIVE = []
3375
3481
  include Aws::Structure
3376
3482
  end
3377
3483
 
@@ -3382,6 +3488,7 @@ module Aws::Kendra
3382
3488
  #
3383
3489
  class ResourceAlreadyExistException < Struct.new(
3384
3490
  :message)
3491
+ SENSITIVE = []
3385
3492
  include Aws::Structure
3386
3493
  end
3387
3494
 
@@ -3392,6 +3499,7 @@ module Aws::Kendra
3392
3499
  #
3393
3500
  class ResourceInUseException < Struct.new(
3394
3501
  :message)
3502
+ SENSITIVE = []
3395
3503
  include Aws::Structure
3396
3504
  end
3397
3505
 
@@ -3402,6 +3510,7 @@ module Aws::Kendra
3402
3510
  #
3403
3511
  class ResourceNotFoundException < Struct.new(
3404
3512
  :message)
3513
+ SENSITIVE = []
3405
3514
  include Aws::Structure
3406
3515
  end
3407
3516
 
@@ -3412,6 +3521,7 @@ module Aws::Kendra
3412
3521
  #
3413
3522
  class ResourceUnavailableException < Struct.new(
3414
3523
  :message)
3524
+ SENSITIVE = []
3415
3525
  include Aws::Structure
3416
3526
  end
3417
3527
 
@@ -3475,6 +3585,7 @@ module Aws::Kendra
3475
3585
  :exclusion_patterns,
3476
3586
  :documents_metadata_configuration,
3477
3587
  :access_control_list_configuration)
3588
+ SENSITIVE = []
3478
3589
  include Aws::Structure
3479
3590
  end
3480
3591
 
@@ -3501,6 +3612,7 @@ module Aws::Kendra
3501
3612
  class S3Path < Struct.new(
3502
3613
  :bucket,
3503
3614
  :key)
3615
+ SENSITIVE = []
3504
3616
  include Aws::Structure
3505
3617
  end
3506
3618
 
@@ -3554,6 +3666,7 @@ module Aws::Kendra
3554
3666
  :document_title_field_name,
3555
3667
  :field_mappings,
3556
3668
  :include_filter_types)
3669
+ SENSITIVE = []
3557
3670
  include Aws::Structure
3558
3671
  end
3559
3672
 
@@ -3722,6 +3835,7 @@ module Aws::Kendra
3722
3835
  :standard_object_attachment_configuration,
3723
3836
  :include_attachment_file_patterns,
3724
3837
  :exclude_attachment_file_patterns)
3838
+ SENSITIVE = []
3725
3839
  include Aws::Structure
3726
3840
  end
3727
3841
 
@@ -3770,6 +3884,7 @@ module Aws::Kendra
3770
3884
  :document_data_field_name,
3771
3885
  :document_title_field_name,
3772
3886
  :field_mappings)
3887
+ SENSITIVE = []
3773
3888
  include Aws::Structure
3774
3889
  end
3775
3890
 
@@ -3832,6 +3947,7 @@ module Aws::Kendra
3832
3947
  :included_states,
3833
3948
  :standard_knowledge_article_type_configuration,
3834
3949
  :custom_knowledge_article_type_configurations)
3950
+ SENSITIVE = []
3835
3951
  include Aws::Structure
3836
3952
  end
3837
3953
 
@@ -3873,6 +3989,7 @@ module Aws::Kendra
3873
3989
  :document_data_field_name,
3874
3990
  :document_title_field_name,
3875
3991
  :field_mappings)
3992
+ SENSITIVE = []
3876
3993
  include Aws::Structure
3877
3994
  end
3878
3995
 
@@ -3907,6 +4024,7 @@ module Aws::Kendra
3907
4024
  class SalesforceStandardObjectAttachmentConfiguration < Struct.new(
3908
4025
  :document_title_field_name,
3909
4026
  :field_mappings)
4027
+ SENSITIVE = []
3910
4028
  include Aws::Structure
3911
4029
  end
3912
4030
 
@@ -3956,6 +4074,7 @@ module Aws::Kendra
3956
4074
  :document_data_field_name,
3957
4075
  :document_title_field_name,
3958
4076
  :field_mappings)
4077
+ SENSITIVE = []
3959
4078
  include Aws::Structure
3960
4079
  end
3961
4080
 
@@ -3969,6 +4088,7 @@ module Aws::Kendra
3969
4088
  # facetable: false,
3970
4089
  # searchable: false,
3971
4090
  # displayable: false,
4091
+ # sortable: false,
3972
4092
  # }
3973
4093
  #
3974
4094
  # @!attribute [rw] facetable
@@ -3990,12 +4110,21 @@ module Aws::Kendra
3990
4110
  # default is `true`.
3991
4111
  # @return [Boolean]
3992
4112
  #
4113
+ # @!attribute [rw] sortable
4114
+ # Determines whether the field can be used to sort the results of a
4115
+ # query. If you specify sorting on a field that does not have
4116
+ # `Sortable` set to `true`, Amazon Kendra returns an exception. The
4117
+ # default is `false`.
4118
+ # @return [Boolean]
4119
+ #
3993
4120
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/Search AWS API Documentation
3994
4121
  #
3995
4122
  class Search < Struct.new(
3996
4123
  :facetable,
3997
4124
  :searchable,
3998
- :displayable)
4125
+ :displayable,
4126
+ :sortable)
4127
+ SENSITIVE = []
3999
4128
  include Aws::Structure
4000
4129
  end
4001
4130
 
@@ -4019,6 +4148,7 @@ module Aws::Kendra
4019
4148
  #
4020
4149
  class ServerSideEncryptionConfiguration < Struct.new(
4021
4150
  :kms_key_id)
4151
+ SENSITIVE = [:kms_key_id]
4022
4152
  include Aws::Structure
4023
4153
  end
4024
4154
 
@@ -4097,6 +4227,7 @@ module Aws::Kendra
4097
4227
  :service_now_build_version,
4098
4228
  :knowledge_article_configuration,
4099
4229
  :service_catalog_configuration)
4230
+ SENSITIVE = []
4100
4231
  include Aws::Structure
4101
4232
  end
4102
4233
 
@@ -4162,6 +4293,7 @@ module Aws::Kendra
4162
4293
  :document_data_field_name,
4163
4294
  :document_title_field_name,
4164
4295
  :field_mappings)
4296
+ SENSITIVE = []
4165
4297
  include Aws::Structure
4166
4298
  end
4167
4299
 
@@ -4225,6 +4357,7 @@ module Aws::Kendra
4225
4357
  :document_data_field_name,
4226
4358
  :document_title_field_name,
4227
4359
  :field_mappings)
4360
+ SENSITIVE = []
4228
4361
  include Aws::Structure
4229
4362
  end
4230
4363
 
@@ -4235,6 +4368,7 @@ module Aws::Kendra
4235
4368
  #
4236
4369
  class ServiceQuotaExceededException < Struct.new(
4237
4370
  :message)
4371
+ SENSITIVE = []
4238
4372
  include Aws::Structure
4239
4373
  end
4240
4374
 
@@ -4314,7 +4448,7 @@ module Aws::Kendra
4314
4448
  # @return [Array<String>]
4315
4449
  #
4316
4450
  # @!attribute [rw] exclusion_patterns
4317
- # A list of regulary expression patterns. Documents that match the
4451
+ # A list of regular expression patterns. Documents that match the
4318
4452
  # patterns are excluded from the index. Documents that don't match
4319
4453
  # the patterns are included in the index. If a document matches both
4320
4454
  # an exclusion pattern and an inclusion pattern, the document is not
@@ -4357,6 +4491,87 @@ module Aws::Kendra
4357
4491
  :vpc_configuration,
4358
4492
  :field_mappings,
4359
4493
  :document_title_field_name)
4494
+ SENSITIVE = []
4495
+ include Aws::Structure
4496
+ end
4497
+
4498
+ # Specifies the document attribute to use to sort the response to a
4499
+ # Amazon Kendra query. You can specify a single attribute for sorting.
4500
+ # The attribute must have the `Sortable` flag set to `true`, otherwise
4501
+ # Amazon Kendra returns an exception.
4502
+ #
4503
+ # @note When making an API call, you may pass SortingConfiguration
4504
+ # data as a hash:
4505
+ #
4506
+ # {
4507
+ # document_attribute_key: "DocumentAttributeKey", # required
4508
+ # sort_order: "DESC", # required, accepts DESC, ASC
4509
+ # }
4510
+ #
4511
+ # @!attribute [rw] document_attribute_key
4512
+ # The name of the document attribute used to sort the response. You
4513
+ # can use any field that has the `Sortable` flag set to true.
4514
+ #
4515
+ # You can also sort by any of the following built-in attributes:
4516
+ #
4517
+ # * \_category
4518
+ #
4519
+ # * \_created\_at
4520
+ #
4521
+ # * \_last\_updated\_at
4522
+ #
4523
+ # * \_version
4524
+ #
4525
+ # * \_view\_count
4526
+ # @return [String]
4527
+ #
4528
+ # @!attribute [rw] sort_order
4529
+ # The order that the results should be returned in. In case of ties,
4530
+ # the relevance assigned to the result by Amazon Kendra is used as the
4531
+ # tie-breaker.
4532
+ # @return [String]
4533
+ #
4534
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/SortingConfiguration AWS API Documentation
4535
+ #
4536
+ class SortingConfiguration < Struct.new(
4537
+ :document_attribute_key,
4538
+ :sort_order)
4539
+ SENSITIVE = []
4540
+ include Aws::Structure
4541
+ end
4542
+
4543
+ # Provides information that configures Amazon Kendra to use a SQL
4544
+ # database.
4545
+ #
4546
+ # @note When making an API call, you may pass SqlConfiguration
4547
+ # data as a hash:
4548
+ #
4549
+ # {
4550
+ # query_identifiers_enclosing_option: "DOUBLE_QUOTES", # accepts DOUBLE_QUOTES, NONE
4551
+ # }
4552
+ #
4553
+ # @!attribute [rw] query_identifiers_enclosing_option
4554
+ # Determines whether Amazon Kendra encloses SQL identifiers in double
4555
+ # quotes (") when making a database query.
4556
+ #
4557
+ # By default, Amazon Kendra passes SQL identifiers the way that they
4558
+ # are entered into the data source configuration. It does not change
4559
+ # the case of identifiers or enclose them in quotes.
4560
+ #
4561
+ # PostgreSQL internally converts uppercase characters to lower case
4562
+ # characters in identifiers unless they are quoted. Choosing this
4563
+ # option encloses identifiers in quotes so that PostgreSQL does not
4564
+ # convert the character's case.
4565
+ #
4566
+ # For MySQL databases, you must enable the `ansi_quotes` option when
4567
+ # you choose this option.
4568
+ # @return [String]
4569
+ #
4570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/SqlConfiguration AWS API Documentation
4571
+ #
4572
+ class SqlConfiguration < Struct.new(
4573
+ :query_identifiers_enclosing_option)
4574
+ SENSITIVE = []
4360
4575
  include Aws::Structure
4361
4576
  end
4362
4577
 
@@ -4381,6 +4596,7 @@ module Aws::Kendra
4381
4596
  class StartDataSourceSyncJobRequest < Struct.new(
4382
4597
  :id,
4383
4598
  :index_id)
4599
+ SENSITIVE = []
4384
4600
  include Aws::Structure
4385
4601
  end
4386
4602
 
@@ -4392,6 +4608,7 @@ module Aws::Kendra
4392
4608
  #
4393
4609
  class StartDataSourceSyncJobResponse < Struct.new(
4394
4610
  :execution_id)
4611
+ SENSITIVE = []
4395
4612
  include Aws::Structure
4396
4613
  end
4397
4614
 
@@ -4417,6 +4634,7 @@ module Aws::Kendra
4417
4634
  class StopDataSourceSyncJobRequest < Struct.new(
4418
4635
  :id,
4419
4636
  :index_id)
4637
+ SENSITIVE = []
4420
4638
  include Aws::Structure
4421
4639
  end
4422
4640
 
@@ -4466,6 +4684,7 @@ module Aws::Kendra
4466
4684
  :query_id,
4467
4685
  :click_feedback_items,
4468
4686
  :relevance_feedback_items)
4687
+ SENSITIVE = []
4469
4688
  include Aws::Structure
4470
4689
  end
4471
4690
 
@@ -4496,6 +4715,7 @@ module Aws::Kendra
4496
4715
  class Tag < Struct.new(
4497
4716
  :key,
4498
4717
  :value)
4718
+ SENSITIVE = []
4499
4719
  include Aws::Structure
4500
4720
  end
4501
4721
 
@@ -4528,6 +4748,7 @@ module Aws::Kendra
4528
4748
  class TagResourceRequest < Struct.new(
4529
4749
  :resource_arn,
4530
4750
  :tags)
4751
+ SENSITIVE = []
4531
4752
  include Aws::Structure
4532
4753
  end
4533
4754
 
@@ -4550,6 +4771,7 @@ module Aws::Kendra
4550
4771
  class TextDocumentStatistics < Struct.new(
4551
4772
  :indexed_text_documents_count,
4552
4773
  :indexed_text_bytes)
4774
+ SENSITIVE = []
4553
4775
  include Aws::Structure
4554
4776
  end
4555
4777
 
@@ -4568,6 +4790,7 @@ module Aws::Kendra
4568
4790
  class TextWithHighlights < Struct.new(
4569
4791
  :text,
4570
4792
  :highlights)
4793
+ SENSITIVE = []
4571
4794
  include Aws::Structure
4572
4795
  end
4573
4796
 
@@ -4578,6 +4801,7 @@ module Aws::Kendra
4578
4801
  #
4579
4802
  class ThrottlingException < Struct.new(
4580
4803
  :message)
4804
+ SENSITIVE = []
4581
4805
  include Aws::Structure
4582
4806
  end
4583
4807
 
@@ -4604,6 +4828,7 @@ module Aws::Kendra
4604
4828
  class TimeRange < Struct.new(
4605
4829
  :start_time,
4606
4830
  :end_time)
4831
+ SENSITIVE = []
4607
4832
  include Aws::Structure
4608
4833
  end
4609
4834
 
@@ -4630,6 +4855,7 @@ module Aws::Kendra
4630
4855
  class UntagResourceRequest < Struct.new(
4631
4856
  :resource_arn,
4632
4857
  :tag_keys)
4858
+ SENSITIVE = []
4633
4859
  include Aws::Structure
4634
4860
  end
4635
4861
 
@@ -4706,6 +4932,9 @@ module Aws::Kendra
4706
4932
  # acl_configuration: {
4707
4933
  # allowed_groups_column_name: "ColumnName", # required
4708
4934
  # },
4935
+ # sql_configuration: {
4936
+ # query_identifiers_enclosing_option: "DOUBLE_QUOTES", # accepts DOUBLE_QUOTES, NONE
4937
+ # },
4709
4938
  # },
4710
4939
  # salesforce_configuration: {
4711
4940
  # server_url: "Url", # required
@@ -4878,6 +5107,7 @@ module Aws::Kendra
4878
5107
  :description,
4879
5108
  :schedule,
4880
5109
  :role_arn)
5110
+ SENSITIVE = []
4881
5111
  include Aws::Structure
4882
5112
  end
4883
5113
 
@@ -4906,6 +5136,7 @@ module Aws::Kendra
4906
5136
  # facetable: false,
4907
5137
  # searchable: false,
4908
5138
  # displayable: false,
5139
+ # sortable: false,
4909
5140
  # },
4910
5141
  # },
4911
5142
  # ],
@@ -4955,6 +5186,7 @@ module Aws::Kendra
4955
5186
  :description,
4956
5187
  :document_metadata_configuration_updates,
4957
5188
  :capacity_units)
5189
+ SENSITIVE = []
4958
5190
  include Aws::Structure
4959
5191
  end
4960
5192
 
@@ -4965,6 +5197,7 @@ module Aws::Kendra
4965
5197
  #
4966
5198
  class ValidationException < Struct.new(
4967
5199
  :message)
5200
+ SENSITIVE = []
4968
5201
  include Aws::Structure
4969
5202
  end
4970
5203
 
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.5.0
4
+ version: 1.10.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: 2020-05-11 00:00:00.000000000 Z
11
+ date: 2020-08-25 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement