aws-sdk-kendra 1.6.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c065805bbd863e000e77fb894b0b1bdad1b3887de5c64c3c50a39940b42bd35d
4
- data.tar.gz: 56438bd0a9ad0773cabb0efdeb7fb7ea655334d5573672024dc78e990f3ee81f
3
+ metadata.gz: abfacf08de6f3043dd57d7c7da0e11bbc5fc6133dd7326e72e19dd7ef2a70ebe
4
+ data.tar.gz: 867290116b28c84a0a114755e84262ccd1026003eab2a9c4d9fae25b28000595
5
5
  SHA512:
6
- metadata.gz: 7edac96e82fb4204d12e7dd06de7383c7b81108598c9a529875256f3c9aae437174a748b35fe8947a7b56ed80c866b8fc8058bc6e7b456a568478b34337fa34f
7
- data.tar.gz: 8b974a9d4872f480825bd966b385deedba47ff5273b25e9793621d7488765bf02df9338fead7722faaddf86f7c4245ff2bf1a8993de0d2c436f3424d1a464fef
6
+ metadata.gz: 0e6f9fffd0fcd81d7b4a66504d6767783b684a7e03a94ca25574771c00a2a617067b44e2e38d93679cc9bd2ccf569089008a75c1a764959635859f44b6cadc0c
7
+ data.tar.gz: 3b3f01f42e40766b8b82d85ce648c3054cffca63936408e13990bdd7aa552dc172474c946d41516904bba764b9b21d104176f8e4d132963fa31ded17009dbd25
@@ -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.6.0'
50
+ GEM_VERSION = '1.11.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
@@ -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
@@ -1707,6 +1745,7 @@ module Aws::Kendra
1707
1745
  # resp.result_items[0].document_attributes[0].value.string_list_value[0] #=> String
1708
1746
  # resp.result_items[0].document_attributes[0].value.long_value #=> Integer
1709
1747
  # resp.result_items[0].document_attributes[0].value.date_value #=> Time
1748
+ # resp.result_items[0].score_attributes.score_confidence #=> String, one of "VERY_HIGH", "HIGH", "MEDIUM"
1710
1749
  # resp.facet_results #=> Array
1711
1750
  # resp.facet_results[0].document_attribute_key #=> String
1712
1751
  # resp.facet_results[0].document_attribute_value_count_pairs #=> Array
@@ -1996,6 +2035,9 @@ module Aws::Kendra
1996
2035
  # acl_configuration: {
1997
2036
  # allowed_groups_column_name: "ColumnName", # required
1998
2037
  # },
2038
+ # sql_configuration: {
2039
+ # query_identifiers_enclosing_option: "DOUBLE_QUOTES", # accepts DOUBLE_QUOTES, NONE
2040
+ # },
1999
2041
  # },
2000
2042
  # salesforce_configuration: {
2001
2043
  # server_url: "Url", # required
@@ -2188,6 +2230,7 @@ module Aws::Kendra
2188
2230
  # facetable: false,
2189
2231
  # searchable: false,
2190
2232
  # displayable: false,
2233
+ # sortable: false,
2191
2234
  # },
2192
2235
  # },
2193
2236
  # ],
@@ -2219,7 +2262,7 @@ module Aws::Kendra
2219
2262
  params: params,
2220
2263
  config: config)
2221
2264
  context[:gem_name] = 'aws-sdk-kendra'
2222
- context[:gem_version] = '1.6.0'
2265
+ context[:gem_version] = '1.11.0'
2223
2266
  Seahorse::Client::Request.new(handlers, context)
2224
2267
  end
2225
2268
 
@@ -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')
@@ -196,6 +199,8 @@ module Aws::Kendra
196
199
  SalesforceStandardObjectConfigurationList = Shapes::ListShape.new(name: 'SalesforceStandardObjectConfigurationList')
197
200
  SalesforceStandardObjectName = Shapes::StringShape.new(name: 'SalesforceStandardObjectName')
198
201
  ScanSchedule = Shapes::StringShape.new(name: 'ScanSchedule')
202
+ ScoreAttributes = Shapes::StructureShape.new(name: 'ScoreAttributes')
203
+ ScoreConfidence = Shapes::StringShape.new(name: 'ScoreConfidence')
199
204
  Search = Shapes::StructureShape.new(name: 'Search')
200
205
  SecretArn = Shapes::StringShape.new(name: 'SecretArn')
201
206
  SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
@@ -209,6 +214,9 @@ module Aws::Kendra
209
214
  SharePointConfiguration = Shapes::StructureShape.new(name: 'SharePointConfiguration')
210
215
  SharePointUrlList = Shapes::ListShape.new(name: 'SharePointUrlList')
211
216
  SharePointVersion = Shapes::StringShape.new(name: 'SharePointVersion')
217
+ SortOrder = Shapes::StringShape.new(name: 'SortOrder')
218
+ SortingConfiguration = Shapes::StructureShape.new(name: 'SortingConfiguration')
219
+ SqlConfiguration = Shapes::StructureShape.new(name: 'SqlConfiguration')
212
220
  StartDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobRequest')
213
221
  StartDataSourceSyncJobResponse = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobResponse')
214
222
  StopDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StopDataSourceSyncJobRequest')
@@ -429,6 +437,7 @@ module Aws::Kendra
429
437
  DatabaseConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
430
438
  DatabaseConfiguration.add_member(:column_configuration, Shapes::ShapeRef.new(shape: ColumnConfiguration, required: true, location_name: "ColumnConfiguration"))
431
439
  DatabaseConfiguration.add_member(:acl_configuration, Shapes::ShapeRef.new(shape: AclConfiguration, location_name: "AclConfiguration"))
440
+ DatabaseConfiguration.add_member(:sql_configuration, Shapes::ShapeRef.new(shape: SqlConfiguration, location_name: "SqlConfiguration"))
432
441
  DatabaseConfiguration.struct_class = Types::DatabaseConfiguration
433
442
 
434
443
  DeleteDataSourceRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
@@ -660,6 +669,7 @@ module Aws::Kendra
660
669
  QueryRequest.add_member(:query_result_type_filter, Shapes::ShapeRef.new(shape: QueryResultType, location_name: "QueryResultTypeFilter"))
661
670
  QueryRequest.add_member(:page_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PageNumber"))
662
671
  QueryRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: Integer, location_name: "PageSize"))
672
+ QueryRequest.add_member(:sorting_configuration, Shapes::ShapeRef.new(shape: SortingConfiguration, location_name: "SortingConfiguration"))
663
673
  QueryRequest.struct_class = Types::QueryRequest
664
674
 
665
675
  QueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "QueryId"))
@@ -676,6 +686,7 @@ module Aws::Kendra
676
686
  QueryResultItem.add_member(:document_excerpt, Shapes::ShapeRef.new(shape: TextWithHighlights, location_name: "DocumentExcerpt"))
677
687
  QueryResultItem.add_member(:document_uri, Shapes::ShapeRef.new(shape: Url, location_name: "DocumentURI"))
678
688
  QueryResultItem.add_member(:document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "DocumentAttributes"))
689
+ QueryResultItem.add_member(:score_attributes, Shapes::ShapeRef.new(shape: ScoreAttributes, location_name: "ScoreAttributes"))
679
690
  QueryResultItem.struct_class = Types::QueryResultItem
680
691
 
681
692
  QueryResultItemList.member = Shapes::ShapeRef.new(shape: QueryResultItem)
@@ -767,9 +778,13 @@ module Aws::Kendra
767
778
 
768
779
  SalesforceStandardObjectConfigurationList.member = Shapes::ShapeRef.new(shape: SalesforceStandardObjectConfiguration)
769
780
 
781
+ ScoreAttributes.add_member(:score_confidence, Shapes::ShapeRef.new(shape: ScoreConfidence, location_name: "ScoreConfidence"))
782
+ ScoreAttributes.struct_class = Types::ScoreAttributes
783
+
770
784
  Search.add_member(:facetable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Facetable"))
771
785
  Search.add_member(:searchable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Searchable"))
772
786
  Search.add_member(:displayable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Displayable"))
787
+ Search.add_member(:sortable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Sortable"))
773
788
  Search.struct_class = Types::Search
774
789
 
775
790
  SecurityGroupIdList.member = Shapes::ShapeRef.new(shape: VpcSecurityGroupId)
@@ -817,6 +832,13 @@ module Aws::Kendra
817
832
 
818
833
  SharePointUrlList.member = Shapes::ShapeRef.new(shape: Url)
819
834
 
835
+ SortingConfiguration.add_member(:document_attribute_key, Shapes::ShapeRef.new(shape: DocumentAttributeKey, required: true, location_name: "DocumentAttributeKey"))
836
+ SortingConfiguration.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "SortOrder"))
837
+ SortingConfiguration.struct_class = Types::SortingConfiguration
838
+
839
+ SqlConfiguration.add_member(:query_identifiers_enclosing_option, Shapes::ShapeRef.new(shape: QueryIdentifiersEnclosingOption, location_name: "QueryIdentifiersEnclosingOption"))
840
+ SqlConfiguration.struct_class = Types::SqlConfiguration
841
+
820
842
  StartDataSourceSyncJobRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
821
843
  StartDataSourceSyncJobRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
822
844
  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
 
@@ -432,13 +439,13 @@ module Aws::Kendra
432
439
  #
433
440
  # @!attribute [rw] contains_all
434
441
  # Returns true when a document contains all of the specified document
435
- # attributes. This filter is only appicable to `StringListValue`
442
+ # attributes. This filter is only applicable to `StringListValue`
436
443
  # metadata.
437
444
  # @return [Types::DocumentAttribute]
438
445
  #
439
446
  # @!attribute [rw] contains_any
440
447
  # Returns true when a document contains any of the specified document
441
- # attributes.This filter is only appicable to `StringListValue`
448
+ # attributes. This filter is only applicable to `StringListValue`
442
449
  # metadata.
443
450
  # @return [Types::DocumentAttribute]
444
451
  #
@@ -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
 
@@ -3223,7 +3326,7 @@ module Aws::Kendra
3223
3326
  # @return [String]
3224
3327
  #
3225
3328
  # @!attribute [rw] additional_attributes
3226
- # One or more additional attribues associated with the query result.
3329
+ # One or more additional attributes associated with the query result.
3227
3330
  # @return [Array<Types::AdditionalResultAttribute>]
3228
3331
  #
3229
3332
  # @!attribute [rw] document_id
@@ -3250,6 +3353,18 @@ module Aws::Kendra
3250
3353
  # source URI (SourceUri) of the document.
3251
3354
  # @return [Array<Types::DocumentAttribute>]
3252
3355
  #
3356
+ # @!attribute [rw] score_attributes
3357
+ # Indicates the confidence that Amazon Kendra has that a result
3358
+ # matches the query that you provided. Each result is placed into a
3359
+ # bin that indicates the confidence, `VERY_HIGH`, `HIGH`, and
3360
+ # `MEDIUM`. You can use the score to determine if a response meets the
3361
+ # confidence needed for your application.
3362
+ #
3363
+ # Confidence scores are only returned for results with the `Type`
3364
+ # field set to `QUESTION_ANSWER` or `ANSWER`. This field is not
3365
+ # returned if the `Type` field is set to `DOCUMENT`.
3366
+ # @return [Types::ScoreAttributes]
3367
+ #
3253
3368
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QueryResultItem AWS API Documentation
3254
3369
  #
3255
3370
  class QueryResultItem < Struct.new(
@@ -3260,7 +3375,9 @@ module Aws::Kendra
3260
3375
  :document_title,
3261
3376
  :document_excerpt,
3262
3377
  :document_uri,
3263
- :document_attributes)
3378
+ :document_attributes,
3379
+ :score_attributes)
3380
+ SENSITIVE = []
3264
3381
  include Aws::Structure
3265
3382
  end
3266
3383
 
@@ -3343,6 +3460,7 @@ module Aws::Kendra
3343
3460
  :duration,
3344
3461
  :rank_order,
3345
3462
  :value_importance_map)
3463
+ SENSITIVE = []
3346
3464
  include Aws::Structure
3347
3465
  end
3348
3466
 
@@ -3372,6 +3490,7 @@ module Aws::Kendra
3372
3490
  class RelevanceFeedback < Struct.new(
3373
3491
  :result_id,
3374
3492
  :relevance_value)
3493
+ SENSITIVE = []
3375
3494
  include Aws::Structure
3376
3495
  end
3377
3496
 
@@ -3382,6 +3501,7 @@ module Aws::Kendra
3382
3501
  #
3383
3502
  class ResourceAlreadyExistException < Struct.new(
3384
3503
  :message)
3504
+ SENSITIVE = []
3385
3505
  include Aws::Structure
3386
3506
  end
3387
3507
 
@@ -3392,6 +3512,7 @@ module Aws::Kendra
3392
3512
  #
3393
3513
  class ResourceInUseException < Struct.new(
3394
3514
  :message)
3515
+ SENSITIVE = []
3395
3516
  include Aws::Structure
3396
3517
  end
3397
3518
 
@@ -3402,6 +3523,7 @@ module Aws::Kendra
3402
3523
  #
3403
3524
  class ResourceNotFoundException < Struct.new(
3404
3525
  :message)
3526
+ SENSITIVE = []
3405
3527
  include Aws::Structure
3406
3528
  end
3407
3529
 
@@ -3412,6 +3534,7 @@ module Aws::Kendra
3412
3534
  #
3413
3535
  class ResourceUnavailableException < Struct.new(
3414
3536
  :message)
3537
+ SENSITIVE = []
3415
3538
  include Aws::Structure
3416
3539
  end
3417
3540
 
@@ -3475,6 +3598,7 @@ module Aws::Kendra
3475
3598
  :exclusion_patterns,
3476
3599
  :documents_metadata_configuration,
3477
3600
  :access_control_list_configuration)
3601
+ SENSITIVE = []
3478
3602
  include Aws::Structure
3479
3603
  end
3480
3604
 
@@ -3501,6 +3625,7 @@ module Aws::Kendra
3501
3625
  class S3Path < Struct.new(
3502
3626
  :bucket,
3503
3627
  :key)
3628
+ SENSITIVE = []
3504
3629
  include Aws::Structure
3505
3630
  end
3506
3631
 
@@ -3554,6 +3679,7 @@ module Aws::Kendra
3554
3679
  :document_title_field_name,
3555
3680
  :field_mappings,
3556
3681
  :include_filter_types)
3682
+ SENSITIVE = []
3557
3683
  include Aws::Structure
3558
3684
  end
3559
3685
 
@@ -3722,6 +3848,7 @@ module Aws::Kendra
3722
3848
  :standard_object_attachment_configuration,
3723
3849
  :include_attachment_file_patterns,
3724
3850
  :exclude_attachment_file_patterns)
3851
+ SENSITIVE = []
3725
3852
  include Aws::Structure
3726
3853
  end
3727
3854
 
@@ -3770,6 +3897,7 @@ module Aws::Kendra
3770
3897
  :document_data_field_name,
3771
3898
  :document_title_field_name,
3772
3899
  :field_mappings)
3900
+ SENSITIVE = []
3773
3901
  include Aws::Structure
3774
3902
  end
3775
3903
 
@@ -3832,6 +3960,7 @@ module Aws::Kendra
3832
3960
  :included_states,
3833
3961
  :standard_knowledge_article_type_configuration,
3834
3962
  :custom_knowledge_article_type_configurations)
3963
+ SENSITIVE = []
3835
3964
  include Aws::Structure
3836
3965
  end
3837
3966
 
@@ -3873,6 +4002,7 @@ module Aws::Kendra
3873
4002
  :document_data_field_name,
3874
4003
  :document_title_field_name,
3875
4004
  :field_mappings)
4005
+ SENSITIVE = []
3876
4006
  include Aws::Structure
3877
4007
  end
3878
4008
 
@@ -3907,6 +4037,7 @@ module Aws::Kendra
3907
4037
  class SalesforceStandardObjectAttachmentConfiguration < Struct.new(
3908
4038
  :document_title_field_name,
3909
4039
  :field_mappings)
4040
+ SENSITIVE = []
3910
4041
  include Aws::Structure
3911
4042
  end
3912
4043
 
@@ -3956,6 +4087,22 @@ module Aws::Kendra
3956
4087
  :document_data_field_name,
3957
4088
  :document_title_field_name,
3958
4089
  :field_mappings)
4090
+ SENSITIVE = []
4091
+ include Aws::Structure
4092
+ end
4093
+
4094
+ # Provides a relative ranking that indicates how confident Amazon Kendra
4095
+ # is that the response matches the query.
4096
+ #
4097
+ # @!attribute [rw] score_confidence
4098
+ # A relative ranking for how well the response matches the query.
4099
+ # @return [String]
4100
+ #
4101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ScoreAttributes AWS API Documentation
4102
+ #
4103
+ class ScoreAttributes < Struct.new(
4104
+ :score_confidence)
4105
+ SENSITIVE = []
3959
4106
  include Aws::Structure
3960
4107
  end
3961
4108
 
@@ -3969,6 +4116,7 @@ module Aws::Kendra
3969
4116
  # facetable: false,
3970
4117
  # searchable: false,
3971
4118
  # displayable: false,
4119
+ # sortable: false,
3972
4120
  # }
3973
4121
  #
3974
4122
  # @!attribute [rw] facetable
@@ -3990,12 +4138,21 @@ module Aws::Kendra
3990
4138
  # default is `true`.
3991
4139
  # @return [Boolean]
3992
4140
  #
4141
+ # @!attribute [rw] sortable
4142
+ # Determines whether the field can be used to sort the results of a
4143
+ # query. If you specify sorting on a field that does not have
4144
+ # `Sortable` set to `true`, Amazon Kendra returns an exception. The
4145
+ # default is `false`.
4146
+ # @return [Boolean]
4147
+ #
3993
4148
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/Search AWS API Documentation
3994
4149
  #
3995
4150
  class Search < Struct.new(
3996
4151
  :facetable,
3997
4152
  :searchable,
3998
- :displayable)
4153
+ :displayable,
4154
+ :sortable)
4155
+ SENSITIVE = []
3999
4156
  include Aws::Structure
4000
4157
  end
4001
4158
 
@@ -4019,6 +4176,7 @@ module Aws::Kendra
4019
4176
  #
4020
4177
  class ServerSideEncryptionConfiguration < Struct.new(
4021
4178
  :kms_key_id)
4179
+ SENSITIVE = [:kms_key_id]
4022
4180
  include Aws::Structure
4023
4181
  end
4024
4182
 
@@ -4097,6 +4255,7 @@ module Aws::Kendra
4097
4255
  :service_now_build_version,
4098
4256
  :knowledge_article_configuration,
4099
4257
  :service_catalog_configuration)
4258
+ SENSITIVE = []
4100
4259
  include Aws::Structure
4101
4260
  end
4102
4261
 
@@ -4162,6 +4321,7 @@ module Aws::Kendra
4162
4321
  :document_data_field_name,
4163
4322
  :document_title_field_name,
4164
4323
  :field_mappings)
4324
+ SENSITIVE = []
4165
4325
  include Aws::Structure
4166
4326
  end
4167
4327
 
@@ -4225,6 +4385,7 @@ module Aws::Kendra
4225
4385
  :document_data_field_name,
4226
4386
  :document_title_field_name,
4227
4387
  :field_mappings)
4388
+ SENSITIVE = []
4228
4389
  include Aws::Structure
4229
4390
  end
4230
4391
 
@@ -4235,6 +4396,7 @@ module Aws::Kendra
4235
4396
  #
4236
4397
  class ServiceQuotaExceededException < Struct.new(
4237
4398
  :message)
4399
+ SENSITIVE = []
4238
4400
  include Aws::Structure
4239
4401
  end
4240
4402
 
@@ -4314,7 +4476,7 @@ module Aws::Kendra
4314
4476
  # @return [Array<String>]
4315
4477
  #
4316
4478
  # @!attribute [rw] exclusion_patterns
4317
- # A list of regulary expression patterns. Documents that match the
4479
+ # A list of regular expression patterns. Documents that match the
4318
4480
  # patterns are excluded from the index. Documents that don't match
4319
4481
  # the patterns are included in the index. If a document matches both
4320
4482
  # an exclusion pattern and an inclusion pattern, the document is not
@@ -4357,6 +4519,101 @@ module Aws::Kendra
4357
4519
  :vpc_configuration,
4358
4520
  :field_mappings,
4359
4521
  :document_title_field_name)
4522
+ SENSITIVE = []
4523
+ include Aws::Structure
4524
+ end
4525
+
4526
+ # Specifies the document attribute to use to sort the response to a
4527
+ # Amazon Kendra query. You can specify a single attribute for sorting.
4528
+ # The attribute must have the `Sortable` flag set to `true`, otherwise
4529
+ # Amazon Kendra returns an exception.
4530
+ #
4531
+ # You can sort attributes of the following types.
4532
+ #
4533
+ # * Date value
4534
+ #
4535
+ # * Long value
4536
+ #
4537
+ # * String value
4538
+ #
4539
+ # You can't sort attributes of the following type.
4540
+ #
4541
+ # * String list value
4542
+ #
4543
+ # ^
4544
+ #
4545
+ # @note When making an API call, you may pass SortingConfiguration
4546
+ # data as a hash:
4547
+ #
4548
+ # {
4549
+ # document_attribute_key: "DocumentAttributeKey", # required
4550
+ # sort_order: "DESC", # required, accepts DESC, ASC
4551
+ # }
4552
+ #
4553
+ # @!attribute [rw] document_attribute_key
4554
+ # The name of the document attribute used to sort the response. You
4555
+ # can use any field that has the `Sortable` flag set to true.
4556
+ #
4557
+ # You can also sort by any of the following built-in attributes:
4558
+ #
4559
+ # * \_category
4560
+ #
4561
+ # * \_created\_at
4562
+ #
4563
+ # * \_last\_updated\_at
4564
+ #
4565
+ # * \_version
4566
+ #
4567
+ # * \_view\_count
4568
+ # @return [String]
4569
+ #
4570
+ # @!attribute [rw] sort_order
4571
+ # The order that the results should be returned in. In case of ties,
4572
+ # the relevance assigned to the result by Amazon Kendra is used as the
4573
+ # tie-breaker.
4574
+ # @return [String]
4575
+ #
4576
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/SortingConfiguration AWS API Documentation
4577
+ #
4578
+ class SortingConfiguration < Struct.new(
4579
+ :document_attribute_key,
4580
+ :sort_order)
4581
+ SENSITIVE = []
4582
+ include Aws::Structure
4583
+ end
4584
+
4585
+ # Provides information that configures Amazon Kendra to use a SQL
4586
+ # database.
4587
+ #
4588
+ # @note When making an API call, you may pass SqlConfiguration
4589
+ # data as a hash:
4590
+ #
4591
+ # {
4592
+ # query_identifiers_enclosing_option: "DOUBLE_QUOTES", # accepts DOUBLE_QUOTES, NONE
4593
+ # }
4594
+ #
4595
+ # @!attribute [rw] query_identifiers_enclosing_option
4596
+ # Determines whether Amazon Kendra encloses SQL identifiers for tables
4597
+ # and column names in double quotes (") when making a database query.
4598
+ #
4599
+ # By default, Amazon Kendra passes SQL identifiers the way that they
4600
+ # are entered into the data source configuration. It does not change
4601
+ # the case of identifiers or enclose them in quotes.
4602
+ #
4603
+ # PostgreSQL internally converts uppercase characters to lower case
4604
+ # characters in identifiers unless they are quoted. Choosing this
4605
+ # option encloses identifiers in quotes so that PostgreSQL does not
4606
+ # convert the character's case.
4607
+ #
4608
+ # For MySQL databases, you must enable the `ansi_quotes` option when
4609
+ # you set this field to `DOUBLE_QUOTES`.
4610
+ # @return [String]
4611
+ #
4612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/SqlConfiguration AWS API Documentation
4613
+ #
4614
+ class SqlConfiguration < Struct.new(
4615
+ :query_identifiers_enclosing_option)
4616
+ SENSITIVE = []
4360
4617
  include Aws::Structure
4361
4618
  end
4362
4619
 
@@ -4381,6 +4638,7 @@ module Aws::Kendra
4381
4638
  class StartDataSourceSyncJobRequest < Struct.new(
4382
4639
  :id,
4383
4640
  :index_id)
4641
+ SENSITIVE = []
4384
4642
  include Aws::Structure
4385
4643
  end
4386
4644
 
@@ -4392,6 +4650,7 @@ module Aws::Kendra
4392
4650
  #
4393
4651
  class StartDataSourceSyncJobResponse < Struct.new(
4394
4652
  :execution_id)
4653
+ SENSITIVE = []
4395
4654
  include Aws::Structure
4396
4655
  end
4397
4656
 
@@ -4417,6 +4676,7 @@ module Aws::Kendra
4417
4676
  class StopDataSourceSyncJobRequest < Struct.new(
4418
4677
  :id,
4419
4678
  :index_id)
4679
+ SENSITIVE = []
4420
4680
  include Aws::Structure
4421
4681
  end
4422
4682
 
@@ -4466,6 +4726,7 @@ module Aws::Kendra
4466
4726
  :query_id,
4467
4727
  :click_feedback_items,
4468
4728
  :relevance_feedback_items)
4729
+ SENSITIVE = []
4469
4730
  include Aws::Structure
4470
4731
  end
4471
4732
 
@@ -4496,6 +4757,7 @@ module Aws::Kendra
4496
4757
  class Tag < Struct.new(
4497
4758
  :key,
4498
4759
  :value)
4760
+ SENSITIVE = []
4499
4761
  include Aws::Structure
4500
4762
  end
4501
4763
 
@@ -4528,6 +4790,7 @@ module Aws::Kendra
4528
4790
  class TagResourceRequest < Struct.new(
4529
4791
  :resource_arn,
4530
4792
  :tags)
4793
+ SENSITIVE = []
4531
4794
  include Aws::Structure
4532
4795
  end
4533
4796
 
@@ -4550,6 +4813,7 @@ module Aws::Kendra
4550
4813
  class TextDocumentStatistics < Struct.new(
4551
4814
  :indexed_text_documents_count,
4552
4815
  :indexed_text_bytes)
4816
+ SENSITIVE = []
4553
4817
  include Aws::Structure
4554
4818
  end
4555
4819
 
@@ -4568,6 +4832,7 @@ module Aws::Kendra
4568
4832
  class TextWithHighlights < Struct.new(
4569
4833
  :text,
4570
4834
  :highlights)
4835
+ SENSITIVE = []
4571
4836
  include Aws::Structure
4572
4837
  end
4573
4838
 
@@ -4578,6 +4843,7 @@ module Aws::Kendra
4578
4843
  #
4579
4844
  class ThrottlingException < Struct.new(
4580
4845
  :message)
4846
+ SENSITIVE = []
4581
4847
  include Aws::Structure
4582
4848
  end
4583
4849
 
@@ -4604,6 +4870,7 @@ module Aws::Kendra
4604
4870
  class TimeRange < Struct.new(
4605
4871
  :start_time,
4606
4872
  :end_time)
4873
+ SENSITIVE = []
4607
4874
  include Aws::Structure
4608
4875
  end
4609
4876
 
@@ -4630,6 +4897,7 @@ module Aws::Kendra
4630
4897
  class UntagResourceRequest < Struct.new(
4631
4898
  :resource_arn,
4632
4899
  :tag_keys)
4900
+ SENSITIVE = []
4633
4901
  include Aws::Structure
4634
4902
  end
4635
4903
 
@@ -4706,6 +4974,9 @@ module Aws::Kendra
4706
4974
  # acl_configuration: {
4707
4975
  # allowed_groups_column_name: "ColumnName", # required
4708
4976
  # },
4977
+ # sql_configuration: {
4978
+ # query_identifiers_enclosing_option: "DOUBLE_QUOTES", # accepts DOUBLE_QUOTES, NONE
4979
+ # },
4709
4980
  # },
4710
4981
  # salesforce_configuration: {
4711
4982
  # server_url: "Url", # required
@@ -4878,6 +5149,7 @@ module Aws::Kendra
4878
5149
  :description,
4879
5150
  :schedule,
4880
5151
  :role_arn)
5152
+ SENSITIVE = []
4881
5153
  include Aws::Structure
4882
5154
  end
4883
5155
 
@@ -4906,6 +5178,7 @@ module Aws::Kendra
4906
5178
  # facetable: false,
4907
5179
  # searchable: false,
4908
5180
  # displayable: false,
5181
+ # sortable: false,
4909
5182
  # },
4910
5183
  # },
4911
5184
  # ],
@@ -4955,6 +5228,7 @@ module Aws::Kendra
4955
5228
  :description,
4956
5229
  :document_metadata_configuration_updates,
4957
5230
  :capacity_units)
5231
+ SENSITIVE = []
4958
5232
  include Aws::Structure
4959
5233
  end
4960
5234
 
@@ -4965,6 +5239,7 @@ module Aws::Kendra
4965
5239
  #
4966
5240
  class ValidationException < Struct.new(
4967
5241
  :message)
5242
+ SENSITIVE = []
4968
5243
  include Aws::Structure
4969
5244
  end
4970
5245