aws-sdk-kendra 1.17.0 → 1.18.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 +4 -4
- data/lib/aws-sdk-kendra.rb +1 -1
- data/lib/aws-sdk-kendra/client.rb +89 -4
- data/lib/aws-sdk-kendra/client_api.rb +43 -0
- data/lib/aws-sdk-kendra/types.rb +261 -12
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a8ebb2b5b56b9898e08dda8db191a2bc4351bad70c534529db7940dab11ae498
|
|
4
|
+
data.tar.gz: 0d80ae94eaff1e769e39e7b68277008204131b228338d8155a33269025928c7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 695c605f0c0f1628b3885a70683fb2b15af4259263c14ab3689e7b1fed6d3cb3e1334a63cf2e703a7313bf5f7a044533965a7b0b0c5fbd6ef501808923d5e0cd
|
|
7
|
+
data.tar.gz: 8fc5de58b97da0b2c8331b01460de2e786ae98e97ec92632203d0cb1eae16ff9f7bbb0ae5ac23f5ad40d288c676da58d070add5412620f2346932fe03d776056
|
data/lib/aws-sdk-kendra.rb
CHANGED
|
@@ -600,6 +600,7 @@ module Aws::Kendra
|
|
|
600
600
|
# },
|
|
601
601
|
# ],
|
|
602
602
|
# document_title_field_name: "DataSourceFieldName",
|
|
603
|
+
# disable_local_groups: false,
|
|
603
604
|
# },
|
|
604
605
|
# database_configuration: {
|
|
605
606
|
# database_engine_type: "RDS_AURORA_MYSQL", # required, accepts RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
|
|
@@ -724,6 +725,7 @@ module Aws::Kendra
|
|
|
724
725
|
# index_field_name: "IndexFieldName", # required
|
|
725
726
|
# },
|
|
726
727
|
# ],
|
|
728
|
+
# disable_local_groups: false,
|
|
727
729
|
# },
|
|
728
730
|
# service_now_configuration: {
|
|
729
731
|
# host_url: "ServiceNowHostUrl", # required
|
|
@@ -761,7 +763,7 @@ module Aws::Kendra
|
|
|
761
763
|
# confluence_configuration: {
|
|
762
764
|
# server_url: "Url", # required
|
|
763
765
|
# secret_arn: "SecretArn", # required
|
|
764
|
-
# version: "
|
|
766
|
+
# version: "CLOUD", # required, accepts CLOUD, SERVER
|
|
765
767
|
# space_configuration: {
|
|
766
768
|
# crawl_personal_spaces: false,
|
|
767
769
|
# crawl_archived_spaces: false,
|
|
@@ -973,6 +975,24 @@ module Aws::Kendra
|
|
|
973
975
|
# tags to identify and organize your resources and to control access to
|
|
974
976
|
# resources.
|
|
975
977
|
#
|
|
978
|
+
# @option params [Array<Types::UserTokenConfiguration>] :user_token_configurations
|
|
979
|
+
# The user token configuration.
|
|
980
|
+
#
|
|
981
|
+
# @option params [String] :user_context_policy
|
|
982
|
+
# The user context policy.
|
|
983
|
+
#
|
|
984
|
+
# ATTRIBUTE\_FILTER
|
|
985
|
+
#
|
|
986
|
+
# : All indexed content is searchable and displayable for all users. If
|
|
987
|
+
# there is an access control list, it is ignored. You can filter on
|
|
988
|
+
# user and group attributes.
|
|
989
|
+
#
|
|
990
|
+
# USER\_TOKEN
|
|
991
|
+
#
|
|
992
|
+
# : Enables SSO and token-based user access control. All documents with
|
|
993
|
+
# no access control and all documents accessible to the user will be
|
|
994
|
+
# searchable and displayable.
|
|
995
|
+
#
|
|
976
996
|
# @return [Types::CreateIndexResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
977
997
|
#
|
|
978
998
|
# * {Types::CreateIndexResponse#id #id} => String
|
|
@@ -994,6 +1014,24 @@ module Aws::Kendra
|
|
|
994
1014
|
# value: "TagValue", # required
|
|
995
1015
|
# },
|
|
996
1016
|
# ],
|
|
1017
|
+
# user_token_configurations: [
|
|
1018
|
+
# {
|
|
1019
|
+
# jwt_token_type_configuration: {
|
|
1020
|
+
# key_location: "URL", # required, accepts URL, SECRET_MANAGER
|
|
1021
|
+
# url: "Url",
|
|
1022
|
+
# secret_manager_arn: "RoleArn",
|
|
1023
|
+
# user_name_attribute_field: "UserNameAttributeField",
|
|
1024
|
+
# group_attribute_field: "GroupAttributeField",
|
|
1025
|
+
# issuer: "Issuer",
|
|
1026
|
+
# claim_regex: "ClaimRegex",
|
|
1027
|
+
# },
|
|
1028
|
+
# json_token_type_configuration: {
|
|
1029
|
+
# user_name_attribute_field: "String", # required
|
|
1030
|
+
# group_attribute_field: "String", # required
|
|
1031
|
+
# },
|
|
1032
|
+
# },
|
|
1033
|
+
# ],
|
|
1034
|
+
# user_context_policy: "ATTRIBUTE_FILTER", # accepts ATTRIBUTE_FILTER, USER_TOKEN
|
|
997
1035
|
# })
|
|
998
1036
|
#
|
|
999
1037
|
# @example Response structure
|
|
@@ -1158,6 +1196,7 @@ module Aws::Kendra
|
|
|
1158
1196
|
# resp.configuration.share_point_configuration.field_mappings[0].date_field_format #=> String
|
|
1159
1197
|
# resp.configuration.share_point_configuration.field_mappings[0].index_field_name #=> String
|
|
1160
1198
|
# resp.configuration.share_point_configuration.document_title_field_name #=> String
|
|
1199
|
+
# resp.configuration.share_point_configuration.disable_local_groups #=> Boolean
|
|
1161
1200
|
# resp.configuration.database_configuration.database_engine_type #=> String, one of "RDS_AURORA_MYSQL", "RDS_AURORA_POSTGRESQL", "RDS_MYSQL", "RDS_POSTGRESQL"
|
|
1162
1201
|
# resp.configuration.database_configuration.connection_configuration.database_host #=> String
|
|
1163
1202
|
# resp.configuration.database_configuration.connection_configuration.database_port #=> Integer
|
|
@@ -1237,6 +1276,7 @@ module Aws::Kendra
|
|
|
1237
1276
|
# resp.configuration.one_drive_configuration.field_mappings[0].data_source_field_name #=> String
|
|
1238
1277
|
# resp.configuration.one_drive_configuration.field_mappings[0].date_field_format #=> String
|
|
1239
1278
|
# resp.configuration.one_drive_configuration.field_mappings[0].index_field_name #=> String
|
|
1279
|
+
# resp.configuration.one_drive_configuration.disable_local_groups #=> Boolean
|
|
1240
1280
|
# resp.configuration.service_now_configuration.host_url #=> String
|
|
1241
1281
|
# resp.configuration.service_now_configuration.secret_arn #=> String
|
|
1242
1282
|
# resp.configuration.service_now_configuration.service_now_build_version #=> String, one of "LONDON", "OTHERS"
|
|
@@ -1264,7 +1304,7 @@ module Aws::Kendra
|
|
|
1264
1304
|
# resp.configuration.service_now_configuration.service_catalog_configuration.field_mappings[0].index_field_name #=> String
|
|
1265
1305
|
# resp.configuration.confluence_configuration.server_url #=> String
|
|
1266
1306
|
# resp.configuration.confluence_configuration.secret_arn #=> String
|
|
1267
|
-
# resp.configuration.confluence_configuration.version #=> String, one of "SERVER"
|
|
1307
|
+
# resp.configuration.confluence_configuration.version #=> String, one of "CLOUD", "SERVER"
|
|
1268
1308
|
# resp.configuration.confluence_configuration.space_configuration.crawl_personal_spaces #=> Boolean
|
|
1269
1309
|
# resp.configuration.confluence_configuration.space_configuration.crawl_archived_spaces #=> Boolean
|
|
1270
1310
|
# resp.configuration.confluence_configuration.space_configuration.include_spaces #=> Array
|
|
@@ -1386,6 +1426,8 @@ module Aws::Kendra
|
|
|
1386
1426
|
# * {Types::DescribeIndexResponse#index_statistics #index_statistics} => Types::IndexStatistics
|
|
1387
1427
|
# * {Types::DescribeIndexResponse#error_message #error_message} => String
|
|
1388
1428
|
# * {Types::DescribeIndexResponse#capacity_units #capacity_units} => Types::CapacityUnitsConfiguration
|
|
1429
|
+
# * {Types::DescribeIndexResponse#user_token_configurations #user_token_configurations} => Array<Types::UserTokenConfiguration>
|
|
1430
|
+
# * {Types::DescribeIndexResponse#user_context_policy #user_context_policy} => String
|
|
1389
1431
|
#
|
|
1390
1432
|
# @example Request syntax with placeholder values
|
|
1391
1433
|
#
|
|
@@ -1423,6 +1465,17 @@ module Aws::Kendra
|
|
|
1423
1465
|
# resp.error_message #=> String
|
|
1424
1466
|
# resp.capacity_units.storage_capacity_units #=> Integer
|
|
1425
1467
|
# resp.capacity_units.query_capacity_units #=> Integer
|
|
1468
|
+
# resp.user_token_configurations #=> Array
|
|
1469
|
+
# resp.user_token_configurations[0].jwt_token_type_configuration.key_location #=> String, one of "URL", "SECRET_MANAGER"
|
|
1470
|
+
# resp.user_token_configurations[0].jwt_token_type_configuration.url #=> String
|
|
1471
|
+
# resp.user_token_configurations[0].jwt_token_type_configuration.secret_manager_arn #=> String
|
|
1472
|
+
# resp.user_token_configurations[0].jwt_token_type_configuration.user_name_attribute_field #=> String
|
|
1473
|
+
# resp.user_token_configurations[0].jwt_token_type_configuration.group_attribute_field #=> String
|
|
1474
|
+
# resp.user_token_configurations[0].jwt_token_type_configuration.issuer #=> String
|
|
1475
|
+
# resp.user_token_configurations[0].jwt_token_type_configuration.claim_regex #=> String
|
|
1476
|
+
# resp.user_token_configurations[0].json_token_type_configuration.user_name_attribute_field #=> String
|
|
1477
|
+
# resp.user_token_configurations[0].json_token_type_configuration.group_attribute_field #=> String
|
|
1478
|
+
# resp.user_context_policy #=> String, one of "ATTRIBUTE_FILTER", "USER_TOKEN"
|
|
1426
1479
|
#
|
|
1427
1480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeIndex AWS API Documentation
|
|
1428
1481
|
#
|
|
@@ -1751,6 +1804,9 @@ module Aws::Kendra
|
|
|
1751
1804
|
# If you don't provide sorting configuration, the results are sorted by
|
|
1752
1805
|
# the relevance that Amazon Kendra determines for the result.
|
|
1753
1806
|
#
|
|
1807
|
+
# @option params [Types::UserContext] :user_context
|
|
1808
|
+
# The user context token.
|
|
1809
|
+
#
|
|
1754
1810
|
# @return [Types::QueryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1755
1811
|
#
|
|
1756
1812
|
# * {Types::QueryResult#query_id #query_id} => String
|
|
@@ -1854,6 +1910,9 @@ module Aws::Kendra
|
|
|
1854
1910
|
# document_attribute_key: "DocumentAttributeKey", # required
|
|
1855
1911
|
# sort_order: "DESC", # required, accepts DESC, ASC
|
|
1856
1912
|
# },
|
|
1913
|
+
# user_context: {
|
|
1914
|
+
# token: "Token",
|
|
1915
|
+
# },
|
|
1857
1916
|
# })
|
|
1858
1917
|
#
|
|
1859
1918
|
# @example Response structure
|
|
@@ -2151,6 +2210,7 @@ module Aws::Kendra
|
|
|
2151
2210
|
# },
|
|
2152
2211
|
# ],
|
|
2153
2212
|
# document_title_field_name: "DataSourceFieldName",
|
|
2213
|
+
# disable_local_groups: false,
|
|
2154
2214
|
# },
|
|
2155
2215
|
# database_configuration: {
|
|
2156
2216
|
# database_engine_type: "RDS_AURORA_MYSQL", # required, accepts RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
|
|
@@ -2275,6 +2335,7 @@ module Aws::Kendra
|
|
|
2275
2335
|
# index_field_name: "IndexFieldName", # required
|
|
2276
2336
|
# },
|
|
2277
2337
|
# ],
|
|
2338
|
+
# disable_local_groups: false,
|
|
2278
2339
|
# },
|
|
2279
2340
|
# service_now_configuration: {
|
|
2280
2341
|
# host_url: "ServiceNowHostUrl", # required
|
|
@@ -2312,7 +2373,7 @@ module Aws::Kendra
|
|
|
2312
2373
|
# confluence_configuration: {
|
|
2313
2374
|
# server_url: "Url", # required
|
|
2314
2375
|
# secret_arn: "SecretArn", # required
|
|
2315
|
-
# version: "
|
|
2376
|
+
# version: "CLOUD", # required, accepts CLOUD, SERVER
|
|
2316
2377
|
# space_configuration: {
|
|
2317
2378
|
# crawl_personal_spaces: false,
|
|
2318
2379
|
# crawl_archived_spaces: false,
|
|
@@ -2402,6 +2463,12 @@ module Aws::Kendra
|
|
|
2402
2463
|
# If you are using extra storage units, you can't reduce the storage
|
|
2403
2464
|
# capacity below that required to meet the storage needs for your index.
|
|
2404
2465
|
#
|
|
2466
|
+
# @option params [Array<Types::UserTokenConfiguration>] :user_token_configurations
|
|
2467
|
+
# The user token configuration.
|
|
2468
|
+
#
|
|
2469
|
+
# @option params [String] :user_context_policy
|
|
2470
|
+
# The user user token context policy.
|
|
2471
|
+
#
|
|
2405
2472
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2406
2473
|
#
|
|
2407
2474
|
# @example Request syntax with placeholder values
|
|
@@ -2436,6 +2503,24 @@ module Aws::Kendra
|
|
|
2436
2503
|
# storage_capacity_units: 1, # required
|
|
2437
2504
|
# query_capacity_units: 1, # required
|
|
2438
2505
|
# },
|
|
2506
|
+
# user_token_configurations: [
|
|
2507
|
+
# {
|
|
2508
|
+
# jwt_token_type_configuration: {
|
|
2509
|
+
# key_location: "URL", # required, accepts URL, SECRET_MANAGER
|
|
2510
|
+
# url: "Url",
|
|
2511
|
+
# secret_manager_arn: "RoleArn",
|
|
2512
|
+
# user_name_attribute_field: "UserNameAttributeField",
|
|
2513
|
+
# group_attribute_field: "GroupAttributeField",
|
|
2514
|
+
# issuer: "Issuer",
|
|
2515
|
+
# claim_regex: "ClaimRegex",
|
|
2516
|
+
# },
|
|
2517
|
+
# json_token_type_configuration: {
|
|
2518
|
+
# user_name_attribute_field: "String", # required
|
|
2519
|
+
# group_attribute_field: "String", # required
|
|
2520
|
+
# },
|
|
2521
|
+
# },
|
|
2522
|
+
# ],
|
|
2523
|
+
# user_context_policy: "ATTRIBUTE_FILTER", # accepts ATTRIBUTE_FILTER, USER_TOKEN
|
|
2439
2524
|
# })
|
|
2440
2525
|
#
|
|
2441
2526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateIndex AWS API Documentation
|
|
@@ -2460,7 +2545,7 @@ module Aws::Kendra
|
|
|
2460
2545
|
params: params,
|
|
2461
2546
|
config: config)
|
|
2462
2547
|
context[:gem_name] = 'aws-sdk-kendra'
|
|
2463
|
-
context[:gem_version] = '1.
|
|
2548
|
+
context[:gem_version] = '1.18.0'
|
|
2464
2549
|
Seahorse::Client::Request.new(handlers, context)
|
|
2465
2550
|
end
|
|
2466
2551
|
|
|
@@ -35,6 +35,7 @@ module Aws::Kendra
|
|
|
35
35
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
36
36
|
CapacityUnitsConfiguration = Shapes::StructureShape.new(name: 'CapacityUnitsConfiguration')
|
|
37
37
|
ChangeDetectingColumns = Shapes::ListShape.new(name: 'ChangeDetectingColumns')
|
|
38
|
+
ClaimRegex = Shapes::StringShape.new(name: 'ClaimRegex')
|
|
38
39
|
ClickFeedback = Shapes::StructureShape.new(name: 'ClickFeedback')
|
|
39
40
|
ClickFeedbackList = Shapes::ListShape.new(name: 'ClickFeedbackList')
|
|
40
41
|
ClientTokenName = Shapes::StringShape.new(name: 'ClientTokenName')
|
|
@@ -137,6 +138,7 @@ module Aws::Kendra
|
|
|
137
138
|
FaqStatus = Shapes::StringShape.new(name: 'FaqStatus')
|
|
138
139
|
FaqSummary = Shapes::StructureShape.new(name: 'FaqSummary')
|
|
139
140
|
FaqSummaryItems = Shapes::ListShape.new(name: 'FaqSummaryItems')
|
|
141
|
+
GroupAttributeField = Shapes::StringShape.new(name: 'GroupAttributeField')
|
|
140
142
|
Highlight = Shapes::StructureShape.new(name: 'Highlight')
|
|
141
143
|
HighlightList = Shapes::ListShape.new(name: 'HighlightList')
|
|
142
144
|
Importance = Shapes::IntegerShape.new(name: 'Importance')
|
|
@@ -153,6 +155,10 @@ module Aws::Kendra
|
|
|
153
155
|
IndexedTextDocumentsCount = Shapes::IntegerShape.new(name: 'IndexedTextDocumentsCount')
|
|
154
156
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
155
157
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
158
|
+
Issuer = Shapes::StringShape.new(name: 'Issuer')
|
|
159
|
+
JsonTokenTypeConfiguration = Shapes::StructureShape.new(name: 'JsonTokenTypeConfiguration')
|
|
160
|
+
JwtTokenTypeConfiguration = Shapes::StructureShape.new(name: 'JwtTokenTypeConfiguration')
|
|
161
|
+
KeyLocation = Shapes::StringShape.new(name: 'KeyLocation')
|
|
156
162
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
|
157
163
|
ListDataSourceSyncJobsRequest = Shapes::StructureShape.new(name: 'ListDataSourceSyncJobsRequest')
|
|
158
164
|
ListDataSourceSyncJobsResponse = Shapes::StructureShape.new(name: 'ListDataSourceSyncJobsResponse')
|
|
@@ -261,11 +267,17 @@ module Aws::Kendra
|
|
|
261
267
|
TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
|
|
262
268
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
263
269
|
Title = Shapes::StringShape.new(name: 'Title')
|
|
270
|
+
Token = Shapes::StringShape.new(name: 'Token')
|
|
264
271
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
265
272
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
266
273
|
UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
|
|
267
274
|
UpdateIndexRequest = Shapes::StructureShape.new(name: 'UpdateIndexRequest')
|
|
268
275
|
Url = Shapes::StringShape.new(name: 'Url')
|
|
276
|
+
UserContext = Shapes::StructureShape.new(name: 'UserContext')
|
|
277
|
+
UserContextPolicy = Shapes::StringShape.new(name: 'UserContextPolicy')
|
|
278
|
+
UserNameAttributeField = Shapes::StringShape.new(name: 'UserNameAttributeField')
|
|
279
|
+
UserTokenConfiguration = Shapes::StructureShape.new(name: 'UserTokenConfiguration')
|
|
280
|
+
UserTokenConfigurationList = Shapes::ListShape.new(name: 'UserTokenConfigurationList')
|
|
269
281
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
270
282
|
ValueImportanceMap = Shapes::MapShape.new(name: 'ValueImportanceMap')
|
|
271
283
|
ValueImportanceMapKey = Shapes::StringShape.new(name: 'ValueImportanceMapKey')
|
|
@@ -456,6 +468,8 @@ module Aws::Kendra
|
|
|
456
468
|
CreateIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
457
469
|
CreateIndexRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenName, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
|
458
470
|
CreateIndexRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
471
|
+
CreateIndexRequest.add_member(:user_token_configurations, Shapes::ShapeRef.new(shape: UserTokenConfigurationList, location_name: "UserTokenConfigurations"))
|
|
472
|
+
CreateIndexRequest.add_member(:user_context_policy, Shapes::ShapeRef.new(shape: UserContextPolicy, location_name: "UserContextPolicy"))
|
|
459
473
|
CreateIndexRequest.struct_class = Types::CreateIndexRequest
|
|
460
474
|
|
|
461
475
|
CreateIndexResponse.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, location_name: "Id"))
|
|
@@ -586,6 +600,8 @@ module Aws::Kendra
|
|
|
586
600
|
DescribeIndexResponse.add_member(:index_statistics, Shapes::ShapeRef.new(shape: IndexStatistics, location_name: "IndexStatistics"))
|
|
587
601
|
DescribeIndexResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
|
588
602
|
DescribeIndexResponse.add_member(:capacity_units, Shapes::ShapeRef.new(shape: CapacityUnitsConfiguration, location_name: "CapacityUnits"))
|
|
603
|
+
DescribeIndexResponse.add_member(:user_token_configurations, Shapes::ShapeRef.new(shape: UserTokenConfigurationList, location_name: "UserTokenConfigurations"))
|
|
604
|
+
DescribeIndexResponse.add_member(:user_context_policy, Shapes::ShapeRef.new(shape: UserContextPolicy, location_name: "UserContextPolicy"))
|
|
589
605
|
DescribeIndexResponse.struct_class = Types::DescribeIndexResponse
|
|
590
606
|
|
|
591
607
|
Document.add_member(:id, Shapes::ShapeRef.new(shape: DocumentId, required: true, location_name: "Id"))
|
|
@@ -683,6 +699,19 @@ module Aws::Kendra
|
|
|
683
699
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
684
700
|
InternalServerException.struct_class = Types::InternalServerException
|
|
685
701
|
|
|
702
|
+
JsonTokenTypeConfiguration.add_member(:user_name_attribute_field, Shapes::ShapeRef.new(shape: String, required: true, location_name: "UserNameAttributeField"))
|
|
703
|
+
JsonTokenTypeConfiguration.add_member(:group_attribute_field, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupAttributeField"))
|
|
704
|
+
JsonTokenTypeConfiguration.struct_class = Types::JsonTokenTypeConfiguration
|
|
705
|
+
|
|
706
|
+
JwtTokenTypeConfiguration.add_member(:key_location, Shapes::ShapeRef.new(shape: KeyLocation, required: true, location_name: "KeyLocation"))
|
|
707
|
+
JwtTokenTypeConfiguration.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "URL"))
|
|
708
|
+
JwtTokenTypeConfiguration.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "SecretManagerArn"))
|
|
709
|
+
JwtTokenTypeConfiguration.add_member(:user_name_attribute_field, Shapes::ShapeRef.new(shape: UserNameAttributeField, location_name: "UserNameAttributeField"))
|
|
710
|
+
JwtTokenTypeConfiguration.add_member(:group_attribute_field, Shapes::ShapeRef.new(shape: GroupAttributeField, location_name: "GroupAttributeField"))
|
|
711
|
+
JwtTokenTypeConfiguration.add_member(:issuer, Shapes::ShapeRef.new(shape: Issuer, location_name: "Issuer"))
|
|
712
|
+
JwtTokenTypeConfiguration.add_member(:claim_regex, Shapes::ShapeRef.new(shape: ClaimRegex, location_name: "ClaimRegex"))
|
|
713
|
+
JwtTokenTypeConfiguration.struct_class = Types::JwtTokenTypeConfiguration
|
|
714
|
+
|
|
686
715
|
ListDataSourceSyncJobsRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
|
|
687
716
|
ListDataSourceSyncJobsRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
|
688
717
|
ListDataSourceSyncJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
@@ -733,6 +762,7 @@ module Aws::Kendra
|
|
|
733
762
|
OneDriveConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
|
|
734
763
|
OneDriveConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
|
|
735
764
|
OneDriveConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
|
|
765
|
+
OneDriveConfiguration.add_member(:disable_local_groups, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableLocalGroups"))
|
|
736
766
|
OneDriveConfiguration.struct_class = Types::OneDriveConfiguration
|
|
737
767
|
|
|
738
768
|
OneDriveUserList.member = Shapes::ShapeRef.new(shape: OneDriveUser)
|
|
@@ -757,6 +787,7 @@ module Aws::Kendra
|
|
|
757
787
|
QueryRequest.add_member(:page_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PageNumber"))
|
|
758
788
|
QueryRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: Integer, location_name: "PageSize"))
|
|
759
789
|
QueryRequest.add_member(:sorting_configuration, Shapes::ShapeRef.new(shape: SortingConfiguration, location_name: "SortingConfiguration"))
|
|
790
|
+
QueryRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "UserContext"))
|
|
760
791
|
QueryRequest.struct_class = Types::QueryRequest
|
|
761
792
|
|
|
762
793
|
QueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "QueryId"))
|
|
@@ -916,6 +947,7 @@ module Aws::Kendra
|
|
|
916
947
|
SharePointConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
|
|
917
948
|
SharePointConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
|
|
918
949
|
SharePointConfiguration.add_member(:document_title_field_name, Shapes::ShapeRef.new(shape: DataSourceFieldName, location_name: "DocumentTitleFieldName"))
|
|
950
|
+
SharePointConfiguration.add_member(:disable_local_groups, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableLocalGroups"))
|
|
919
951
|
SharePointConfiguration.struct_class = Types::SharePointConfiguration
|
|
920
952
|
|
|
921
953
|
SharePointUrlList.member = Shapes::ShapeRef.new(shape: Url)
|
|
@@ -996,8 +1028,19 @@ module Aws::Kendra
|
|
|
996
1028
|
UpdateIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
|
997
1029
|
UpdateIndexRequest.add_member(:document_metadata_configuration_updates, Shapes::ShapeRef.new(shape: DocumentMetadataConfigurationList, location_name: "DocumentMetadataConfigurationUpdates"))
|
|
998
1030
|
UpdateIndexRequest.add_member(:capacity_units, Shapes::ShapeRef.new(shape: CapacityUnitsConfiguration, location_name: "CapacityUnits"))
|
|
1031
|
+
UpdateIndexRequest.add_member(:user_token_configurations, Shapes::ShapeRef.new(shape: UserTokenConfigurationList, location_name: "UserTokenConfigurations"))
|
|
1032
|
+
UpdateIndexRequest.add_member(:user_context_policy, Shapes::ShapeRef.new(shape: UserContextPolicy, location_name: "UserContextPolicy"))
|
|
999
1033
|
UpdateIndexRequest.struct_class = Types::UpdateIndexRequest
|
|
1000
1034
|
|
|
1035
|
+
UserContext.add_member(:token, Shapes::ShapeRef.new(shape: Token, location_name: "Token"))
|
|
1036
|
+
UserContext.struct_class = Types::UserContext
|
|
1037
|
+
|
|
1038
|
+
UserTokenConfiguration.add_member(:jwt_token_type_configuration, Shapes::ShapeRef.new(shape: JwtTokenTypeConfiguration, location_name: "JwtTokenTypeConfiguration"))
|
|
1039
|
+
UserTokenConfiguration.add_member(:json_token_type_configuration, Shapes::ShapeRef.new(shape: JsonTokenTypeConfiguration, location_name: "JsonTokenTypeConfiguration"))
|
|
1040
|
+
UserTokenConfiguration.struct_class = Types::UserTokenConfiguration
|
|
1041
|
+
|
|
1042
|
+
UserTokenConfigurationList.member = Shapes::ShapeRef.new(shape: UserTokenConfiguration)
|
|
1043
|
+
|
|
1001
1044
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
1002
1045
|
ValidationException.struct_class = Types::ValidationException
|
|
1003
1046
|
|
data/lib/aws-sdk-kendra/types.rb
CHANGED
|
@@ -986,7 +986,7 @@ module Aws::Kendra
|
|
|
986
986
|
# {
|
|
987
987
|
# server_url: "Url", # required
|
|
988
988
|
# secret_arn: "SecretArn", # required
|
|
989
|
-
# version: "
|
|
989
|
+
# version: "CLOUD", # required, accepts CLOUD, SERVER
|
|
990
990
|
# space_configuration: {
|
|
991
991
|
# crawl_personal_spaces: false,
|
|
992
992
|
# crawl_archived_spaces: false,
|
|
@@ -1048,8 +1048,8 @@ module Aws::Kendra
|
|
|
1048
1048
|
# server. The secret must contain a JSON structure with the following
|
|
1049
1049
|
# keys:
|
|
1050
1050
|
#
|
|
1051
|
-
# * username - The user name of a user with
|
|
1052
|
-
# for the Confluence server.
|
|
1051
|
+
# * username - The user name or email address of a user with
|
|
1052
|
+
# administrative privileges for the Confluence server.
|
|
1053
1053
|
#
|
|
1054
1054
|
# * password - The password associated with the user logging in to the
|
|
1055
1055
|
# Confluence server.
|
|
@@ -1398,6 +1398,7 @@ module Aws::Kendra
|
|
|
1398
1398
|
# },
|
|
1399
1399
|
# ],
|
|
1400
1400
|
# document_title_field_name: "DataSourceFieldName",
|
|
1401
|
+
# disable_local_groups: false,
|
|
1401
1402
|
# },
|
|
1402
1403
|
# database_configuration: {
|
|
1403
1404
|
# database_engine_type: "RDS_AURORA_MYSQL", # required, accepts RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
|
|
@@ -1522,6 +1523,7 @@ module Aws::Kendra
|
|
|
1522
1523
|
# index_field_name: "IndexFieldName", # required
|
|
1523
1524
|
# },
|
|
1524
1525
|
# ],
|
|
1526
|
+
# disable_local_groups: false,
|
|
1525
1527
|
# },
|
|
1526
1528
|
# service_now_configuration: {
|
|
1527
1529
|
# host_url: "ServiceNowHostUrl", # required
|
|
@@ -1559,7 +1561,7 @@ module Aws::Kendra
|
|
|
1559
1561
|
# confluence_configuration: {
|
|
1560
1562
|
# server_url: "Url", # required
|
|
1561
1563
|
# secret_arn: "SecretArn", # required
|
|
1562
|
-
# version: "
|
|
1564
|
+
# version: "CLOUD", # required, accepts CLOUD, SERVER
|
|
1563
1565
|
# space_configuration: {
|
|
1564
1566
|
# crawl_personal_spaces: false,
|
|
1565
1567
|
# crawl_archived_spaces: false,
|
|
@@ -1844,6 +1846,24 @@ module Aws::Kendra
|
|
|
1844
1846
|
# value: "TagValue", # required
|
|
1845
1847
|
# },
|
|
1846
1848
|
# ],
|
|
1849
|
+
# user_token_configurations: [
|
|
1850
|
+
# {
|
|
1851
|
+
# jwt_token_type_configuration: {
|
|
1852
|
+
# key_location: "URL", # required, accepts URL, SECRET_MANAGER
|
|
1853
|
+
# url: "Url",
|
|
1854
|
+
# secret_manager_arn: "RoleArn",
|
|
1855
|
+
# user_name_attribute_field: "UserNameAttributeField",
|
|
1856
|
+
# group_attribute_field: "GroupAttributeField",
|
|
1857
|
+
# issuer: "Issuer",
|
|
1858
|
+
# claim_regex: "ClaimRegex",
|
|
1859
|
+
# },
|
|
1860
|
+
# json_token_type_configuration: {
|
|
1861
|
+
# user_name_attribute_field: "String", # required
|
|
1862
|
+
# group_attribute_field: "String", # required
|
|
1863
|
+
# },
|
|
1864
|
+
# },
|
|
1865
|
+
# ],
|
|
1866
|
+
# user_context_policy: "ATTRIBUTE_FILTER", # accepts ATTRIBUTE_FILTER, USER_TOKEN
|
|
1847
1867
|
# }
|
|
1848
1868
|
#
|
|
1849
1869
|
# @!attribute [rw] name
|
|
@@ -1894,6 +1914,26 @@ module Aws::Kendra
|
|
|
1894
1914
|
# to resources.
|
|
1895
1915
|
# @return [Array<Types::Tag>]
|
|
1896
1916
|
#
|
|
1917
|
+
# @!attribute [rw] user_token_configurations
|
|
1918
|
+
# The user token configuration.
|
|
1919
|
+
# @return [Array<Types::UserTokenConfiguration>]
|
|
1920
|
+
#
|
|
1921
|
+
# @!attribute [rw] user_context_policy
|
|
1922
|
+
# The user context policy.
|
|
1923
|
+
#
|
|
1924
|
+
# ATTRIBUTE\_FILTER
|
|
1925
|
+
#
|
|
1926
|
+
# : All indexed content is searchable and displayable for all users.
|
|
1927
|
+
# If there is an access control list, it is ignored. You can filter
|
|
1928
|
+
# on user and group attributes.
|
|
1929
|
+
#
|
|
1930
|
+
# USER\_TOKEN
|
|
1931
|
+
#
|
|
1932
|
+
# : Enables SSO and token-based user access control. All documents
|
|
1933
|
+
# with no access control and all documents accessible to the user
|
|
1934
|
+
# will be searchable and displayable.
|
|
1935
|
+
# @return [String]
|
|
1936
|
+
#
|
|
1897
1937
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateIndexRequest AWS API Documentation
|
|
1898
1938
|
#
|
|
1899
1939
|
class CreateIndexRequest < Struct.new(
|
|
@@ -1903,7 +1943,9 @@ module Aws::Kendra
|
|
|
1903
1943
|
:server_side_encryption_configuration,
|
|
1904
1944
|
:description,
|
|
1905
1945
|
:client_token,
|
|
1906
|
-
:tags
|
|
1946
|
+
:tags,
|
|
1947
|
+
:user_token_configurations,
|
|
1948
|
+
:user_context_policy)
|
|
1907
1949
|
SENSITIVE = []
|
|
1908
1950
|
include Aws::Structure
|
|
1909
1951
|
end
|
|
@@ -1959,6 +2001,7 @@ module Aws::Kendra
|
|
|
1959
2001
|
# },
|
|
1960
2002
|
# ],
|
|
1961
2003
|
# document_title_field_name: "DataSourceFieldName",
|
|
2004
|
+
# disable_local_groups: false,
|
|
1962
2005
|
# },
|
|
1963
2006
|
# database_configuration: {
|
|
1964
2007
|
# database_engine_type: "RDS_AURORA_MYSQL", # required, accepts RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
|
|
@@ -2083,6 +2126,7 @@ module Aws::Kendra
|
|
|
2083
2126
|
# index_field_name: "IndexFieldName", # required
|
|
2084
2127
|
# },
|
|
2085
2128
|
# ],
|
|
2129
|
+
# disable_local_groups: false,
|
|
2086
2130
|
# },
|
|
2087
2131
|
# service_now_configuration: {
|
|
2088
2132
|
# host_url: "ServiceNowHostUrl", # required
|
|
@@ -2120,7 +2164,7 @@ module Aws::Kendra
|
|
|
2120
2164
|
# confluence_configuration: {
|
|
2121
2165
|
# server_url: "Url", # required
|
|
2122
2166
|
# secret_arn: "SecretArn", # required
|
|
2123
|
-
# version: "
|
|
2167
|
+
# version: "CLOUD", # required, accepts CLOUD, SERVER
|
|
2124
2168
|
# space_configuration: {
|
|
2125
2169
|
# crawl_personal_spaces: false,
|
|
2126
2170
|
# crawl_archived_spaces: false,
|
|
@@ -2875,6 +2919,14 @@ module Aws::Kendra
|
|
|
2875
2919
|
# capacity for the index.
|
|
2876
2920
|
# @return [Types::CapacityUnitsConfiguration]
|
|
2877
2921
|
#
|
|
2922
|
+
# @!attribute [rw] user_token_configurations
|
|
2923
|
+
# The user token configuration for the Amazon Kendra index.
|
|
2924
|
+
# @return [Array<Types::UserTokenConfiguration>]
|
|
2925
|
+
#
|
|
2926
|
+
# @!attribute [rw] user_context_policy
|
|
2927
|
+
# The user context policy for the Amazon Kendra index.
|
|
2928
|
+
# @return [String]
|
|
2929
|
+
#
|
|
2878
2930
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeIndexResponse AWS API Documentation
|
|
2879
2931
|
#
|
|
2880
2932
|
class DescribeIndexResponse < Struct.new(
|
|
@@ -2890,7 +2942,9 @@ module Aws::Kendra
|
|
|
2890
2942
|
:document_metadata_configurations,
|
|
2891
2943
|
:index_statistics,
|
|
2892
2944
|
:error_message,
|
|
2893
|
-
:capacity_units
|
|
2945
|
+
:capacity_units,
|
|
2946
|
+
:user_token_configurations,
|
|
2947
|
+
:user_context_policy)
|
|
2894
2948
|
SENSITIVE = []
|
|
2895
2949
|
include Aws::Structure
|
|
2896
2950
|
end
|
|
@@ -3362,6 +3416,90 @@ module Aws::Kendra
|
|
|
3362
3416
|
include Aws::Structure
|
|
3363
3417
|
end
|
|
3364
3418
|
|
|
3419
|
+
# Configuration information for the JSON token type.
|
|
3420
|
+
#
|
|
3421
|
+
# @note When making an API call, you may pass JsonTokenTypeConfiguration
|
|
3422
|
+
# data as a hash:
|
|
3423
|
+
#
|
|
3424
|
+
# {
|
|
3425
|
+
# user_name_attribute_field: "String", # required
|
|
3426
|
+
# group_attribute_field: "String", # required
|
|
3427
|
+
# }
|
|
3428
|
+
#
|
|
3429
|
+
# @!attribute [rw] user_name_attribute_field
|
|
3430
|
+
# The user name attribute field.
|
|
3431
|
+
# @return [String]
|
|
3432
|
+
#
|
|
3433
|
+
# @!attribute [rw] group_attribute_field
|
|
3434
|
+
# The group attribute field.
|
|
3435
|
+
# @return [String]
|
|
3436
|
+
#
|
|
3437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/JsonTokenTypeConfiguration AWS API Documentation
|
|
3438
|
+
#
|
|
3439
|
+
class JsonTokenTypeConfiguration < Struct.new(
|
|
3440
|
+
:user_name_attribute_field,
|
|
3441
|
+
:group_attribute_field)
|
|
3442
|
+
SENSITIVE = []
|
|
3443
|
+
include Aws::Structure
|
|
3444
|
+
end
|
|
3445
|
+
|
|
3446
|
+
# Configuration information for the JWT token type.
|
|
3447
|
+
#
|
|
3448
|
+
# @note When making an API call, you may pass JwtTokenTypeConfiguration
|
|
3449
|
+
# data as a hash:
|
|
3450
|
+
#
|
|
3451
|
+
# {
|
|
3452
|
+
# key_location: "URL", # required, accepts URL, SECRET_MANAGER
|
|
3453
|
+
# url: "Url",
|
|
3454
|
+
# secret_manager_arn: "RoleArn",
|
|
3455
|
+
# user_name_attribute_field: "UserNameAttributeField",
|
|
3456
|
+
# group_attribute_field: "GroupAttributeField",
|
|
3457
|
+
# issuer: "Issuer",
|
|
3458
|
+
# claim_regex: "ClaimRegex",
|
|
3459
|
+
# }
|
|
3460
|
+
#
|
|
3461
|
+
# @!attribute [rw] key_location
|
|
3462
|
+
# The location of the key.
|
|
3463
|
+
# @return [String]
|
|
3464
|
+
#
|
|
3465
|
+
# @!attribute [rw] url
|
|
3466
|
+
# The signing key URL.
|
|
3467
|
+
# @return [String]
|
|
3468
|
+
#
|
|
3469
|
+
# @!attribute [rw] secret_manager_arn
|
|
3470
|
+
# The Amazon Resource Name (arn) of the secret.
|
|
3471
|
+
# @return [String]
|
|
3472
|
+
#
|
|
3473
|
+
# @!attribute [rw] user_name_attribute_field
|
|
3474
|
+
# The user name attribute field.
|
|
3475
|
+
# @return [String]
|
|
3476
|
+
#
|
|
3477
|
+
# @!attribute [rw] group_attribute_field
|
|
3478
|
+
# The group attribute field.
|
|
3479
|
+
# @return [String]
|
|
3480
|
+
#
|
|
3481
|
+
# @!attribute [rw] issuer
|
|
3482
|
+
# The issuer of the token.
|
|
3483
|
+
# @return [String]
|
|
3484
|
+
#
|
|
3485
|
+
# @!attribute [rw] claim_regex
|
|
3486
|
+
# The regular expression that identifies the claim.
|
|
3487
|
+
# @return [String]
|
|
3488
|
+
#
|
|
3489
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/JwtTokenTypeConfiguration AWS API Documentation
|
|
3490
|
+
#
|
|
3491
|
+
class JwtTokenTypeConfiguration < Struct.new(
|
|
3492
|
+
:key_location,
|
|
3493
|
+
:url,
|
|
3494
|
+
:secret_manager_arn,
|
|
3495
|
+
:user_name_attribute_field,
|
|
3496
|
+
:group_attribute_field,
|
|
3497
|
+
:issuer,
|
|
3498
|
+
:claim_regex)
|
|
3499
|
+
SENSITIVE = []
|
|
3500
|
+
include Aws::Structure
|
|
3501
|
+
end
|
|
3502
|
+
|
|
3365
3503
|
# @note When making an API call, you may pass ListDataSourceSyncJobsRequest
|
|
3366
3504
|
# data as a hash:
|
|
3367
3505
|
#
|
|
@@ -3654,6 +3792,7 @@ module Aws::Kendra
|
|
|
3654
3792
|
# index_field_name: "IndexFieldName", # required
|
|
3655
3793
|
# },
|
|
3656
3794
|
# ],
|
|
3795
|
+
# disable_local_groups: false,
|
|
3657
3796
|
# }
|
|
3658
3797
|
#
|
|
3659
3798
|
# @!attribute [rw] tenant_domain
|
|
@@ -3696,6 +3835,11 @@ module Aws::Kendra
|
|
|
3696
3835
|
# must first create the index fields before you map OneDrive fields.
|
|
3697
3836
|
# @return [Array<Types::DataSourceToIndexFieldMapping>]
|
|
3698
3837
|
#
|
|
3838
|
+
# @!attribute [rw] disable_local_groups
|
|
3839
|
+
# A Boolean value that specifies whether local groups are disabled
|
|
3840
|
+
# (`True`) or enabled (`False`).
|
|
3841
|
+
# @return [Boolean]
|
|
3842
|
+
#
|
|
3699
3843
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/OneDriveConfiguration AWS API Documentation
|
|
3700
3844
|
#
|
|
3701
3845
|
class OneDriveConfiguration < Struct.new(
|
|
@@ -3704,7 +3848,8 @@ module Aws::Kendra
|
|
|
3704
3848
|
:one_drive_users,
|
|
3705
3849
|
:inclusion_patterns,
|
|
3706
3850
|
:exclusion_patterns,
|
|
3707
|
-
:field_mappings
|
|
3851
|
+
:field_mappings,
|
|
3852
|
+
:disable_local_groups)
|
|
3708
3853
|
SENSITIVE = []
|
|
3709
3854
|
include Aws::Structure
|
|
3710
3855
|
end
|
|
@@ -3874,6 +4019,9 @@ module Aws::Kendra
|
|
|
3874
4019
|
# document_attribute_key: "DocumentAttributeKey", # required
|
|
3875
4020
|
# sort_order: "DESC", # required, accepts DESC, ASC
|
|
3876
4021
|
# },
|
|
4022
|
+
# user_context: {
|
|
4023
|
+
# token: "Token",
|
|
4024
|
+
# },
|
|
3877
4025
|
# }
|
|
3878
4026
|
#
|
|
3879
4027
|
# @!attribute [rw] index_id
|
|
@@ -3937,6 +4085,10 @@ module Aws::Kendra
|
|
|
3937
4085
|
# by the relevance that Amazon Kendra determines for the result.
|
|
3938
4086
|
# @return [Types::SortingConfiguration]
|
|
3939
4087
|
#
|
|
4088
|
+
# @!attribute [rw] user_context
|
|
4089
|
+
# The user context token.
|
|
4090
|
+
# @return [Types::UserContext]
|
|
4091
|
+
#
|
|
3940
4092
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QueryRequest AWS API Documentation
|
|
3941
4093
|
#
|
|
3942
4094
|
class QueryRequest < Struct.new(
|
|
@@ -3948,7 +4100,8 @@ module Aws::Kendra
|
|
|
3948
4100
|
:query_result_type_filter,
|
|
3949
4101
|
:page_number,
|
|
3950
4102
|
:page_size,
|
|
3951
|
-
:sorting_configuration
|
|
4103
|
+
:sorting_configuration,
|
|
4104
|
+
:user_context)
|
|
3952
4105
|
SENSITIVE = []
|
|
3953
4106
|
include Aws::Structure
|
|
3954
4107
|
end
|
|
@@ -5116,6 +5269,7 @@ module Aws::Kendra
|
|
|
5116
5269
|
# },
|
|
5117
5270
|
# ],
|
|
5118
5271
|
# document_title_field_name: "DataSourceFieldName",
|
|
5272
|
+
# disable_local_groups: false,
|
|
5119
5273
|
# }
|
|
5120
5274
|
#
|
|
5121
5275
|
# @!attribute [rw] share_point_version
|
|
@@ -5196,6 +5350,11 @@ module Aws::Kendra
|
|
|
5196
5350
|
# the document.
|
|
5197
5351
|
# @return [String]
|
|
5198
5352
|
#
|
|
5353
|
+
# @!attribute [rw] disable_local_groups
|
|
5354
|
+
# A Boolean value that specifies whether local groups are disabled
|
|
5355
|
+
# (`True`) or enabled (`False`).
|
|
5356
|
+
# @return [Boolean]
|
|
5357
|
+
#
|
|
5199
5358
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/SharePointConfiguration AWS API Documentation
|
|
5200
5359
|
#
|
|
5201
5360
|
class SharePointConfiguration < Struct.new(
|
|
@@ -5208,7 +5367,8 @@ module Aws::Kendra
|
|
|
5208
5367
|
:exclusion_patterns,
|
|
5209
5368
|
:vpc_configuration,
|
|
5210
5369
|
:field_mappings,
|
|
5211
|
-
:document_title_field_name
|
|
5370
|
+
:document_title_field_name,
|
|
5371
|
+
:disable_local_groups)
|
|
5212
5372
|
SENSITIVE = []
|
|
5213
5373
|
include Aws::Structure
|
|
5214
5374
|
end
|
|
@@ -5635,6 +5795,7 @@ module Aws::Kendra
|
|
|
5635
5795
|
# },
|
|
5636
5796
|
# ],
|
|
5637
5797
|
# document_title_field_name: "DataSourceFieldName",
|
|
5798
|
+
# disable_local_groups: false,
|
|
5638
5799
|
# },
|
|
5639
5800
|
# database_configuration: {
|
|
5640
5801
|
# database_engine_type: "RDS_AURORA_MYSQL", # required, accepts RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
|
|
@@ -5759,6 +5920,7 @@ module Aws::Kendra
|
|
|
5759
5920
|
# index_field_name: "IndexFieldName", # required
|
|
5760
5921
|
# },
|
|
5761
5922
|
# ],
|
|
5923
|
+
# disable_local_groups: false,
|
|
5762
5924
|
# },
|
|
5763
5925
|
# service_now_configuration: {
|
|
5764
5926
|
# host_url: "ServiceNowHostUrl", # required
|
|
@@ -5796,7 +5958,7 @@ module Aws::Kendra
|
|
|
5796
5958
|
# confluence_configuration: {
|
|
5797
5959
|
# server_url: "Url", # required
|
|
5798
5960
|
# secret_arn: "SecretArn", # required
|
|
5799
|
-
# version: "
|
|
5961
|
+
# version: "CLOUD", # required, accepts CLOUD, SERVER
|
|
5800
5962
|
# space_configuration: {
|
|
5801
5963
|
# crawl_personal_spaces: false,
|
|
5802
5964
|
# crawl_archived_spaces: false,
|
|
@@ -5929,6 +6091,24 @@ module Aws::Kendra
|
|
|
5929
6091
|
# storage_capacity_units: 1, # required
|
|
5930
6092
|
# query_capacity_units: 1, # required
|
|
5931
6093
|
# },
|
|
6094
|
+
# user_token_configurations: [
|
|
6095
|
+
# {
|
|
6096
|
+
# jwt_token_type_configuration: {
|
|
6097
|
+
# key_location: "URL", # required, accepts URL, SECRET_MANAGER
|
|
6098
|
+
# url: "Url",
|
|
6099
|
+
# secret_manager_arn: "RoleArn",
|
|
6100
|
+
# user_name_attribute_field: "UserNameAttributeField",
|
|
6101
|
+
# group_attribute_field: "GroupAttributeField",
|
|
6102
|
+
# issuer: "Issuer",
|
|
6103
|
+
# claim_regex: "ClaimRegex",
|
|
6104
|
+
# },
|
|
6105
|
+
# json_token_type_configuration: {
|
|
6106
|
+
# user_name_attribute_field: "String", # required
|
|
6107
|
+
# group_attribute_field: "String", # required
|
|
6108
|
+
# },
|
|
6109
|
+
# },
|
|
6110
|
+
# ],
|
|
6111
|
+
# user_context_policy: "ATTRIBUTE_FILTER", # accepts ATTRIBUTE_FILTER, USER_TOKEN
|
|
5932
6112
|
# }
|
|
5933
6113
|
#
|
|
5934
6114
|
# @!attribute [rw] id
|
|
@@ -5962,6 +6142,14 @@ module Aws::Kendra
|
|
|
5962
6142
|
# index.
|
|
5963
6143
|
# @return [Types::CapacityUnitsConfiguration]
|
|
5964
6144
|
#
|
|
6145
|
+
# @!attribute [rw] user_token_configurations
|
|
6146
|
+
# The user token configuration.
|
|
6147
|
+
# @return [Array<Types::UserTokenConfiguration>]
|
|
6148
|
+
#
|
|
6149
|
+
# @!attribute [rw] user_context_policy
|
|
6150
|
+
# The user user token context policy.
|
|
6151
|
+
# @return [String]
|
|
6152
|
+
#
|
|
5965
6153
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateIndexRequest AWS API Documentation
|
|
5966
6154
|
#
|
|
5967
6155
|
class UpdateIndexRequest < Struct.new(
|
|
@@ -5970,7 +6158,68 @@ module Aws::Kendra
|
|
|
5970
6158
|
:role_arn,
|
|
5971
6159
|
:description,
|
|
5972
6160
|
:document_metadata_configuration_updates,
|
|
5973
|
-
:capacity_units
|
|
6161
|
+
:capacity_units,
|
|
6162
|
+
:user_token_configurations,
|
|
6163
|
+
:user_context_policy)
|
|
6164
|
+
SENSITIVE = []
|
|
6165
|
+
include Aws::Structure
|
|
6166
|
+
end
|
|
6167
|
+
|
|
6168
|
+
# Provides information about the user context for a Amazon Kendra index.
|
|
6169
|
+
#
|
|
6170
|
+
# @note When making an API call, you may pass UserContext
|
|
6171
|
+
# data as a hash:
|
|
6172
|
+
#
|
|
6173
|
+
# {
|
|
6174
|
+
# token: "Token",
|
|
6175
|
+
# }
|
|
6176
|
+
#
|
|
6177
|
+
# @!attribute [rw] token
|
|
6178
|
+
# The user context token. It must be a JWT or a JSON token.
|
|
6179
|
+
# @return [String]
|
|
6180
|
+
#
|
|
6181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UserContext AWS API Documentation
|
|
6182
|
+
#
|
|
6183
|
+
class UserContext < Struct.new(
|
|
6184
|
+
:token)
|
|
6185
|
+
SENSITIVE = []
|
|
6186
|
+
include Aws::Structure
|
|
6187
|
+
end
|
|
6188
|
+
|
|
6189
|
+
# Provides configuration information for a token configuration.
|
|
6190
|
+
#
|
|
6191
|
+
# @note When making an API call, you may pass UserTokenConfiguration
|
|
6192
|
+
# data as a hash:
|
|
6193
|
+
#
|
|
6194
|
+
# {
|
|
6195
|
+
# jwt_token_type_configuration: {
|
|
6196
|
+
# key_location: "URL", # required, accepts URL, SECRET_MANAGER
|
|
6197
|
+
# url: "Url",
|
|
6198
|
+
# secret_manager_arn: "RoleArn",
|
|
6199
|
+
# user_name_attribute_field: "UserNameAttributeField",
|
|
6200
|
+
# group_attribute_field: "GroupAttributeField",
|
|
6201
|
+
# issuer: "Issuer",
|
|
6202
|
+
# claim_regex: "ClaimRegex",
|
|
6203
|
+
# },
|
|
6204
|
+
# json_token_type_configuration: {
|
|
6205
|
+
# user_name_attribute_field: "String", # required
|
|
6206
|
+
# group_attribute_field: "String", # required
|
|
6207
|
+
# },
|
|
6208
|
+
# }
|
|
6209
|
+
#
|
|
6210
|
+
# @!attribute [rw] jwt_token_type_configuration
|
|
6211
|
+
# Information about the JWT token type configuration.
|
|
6212
|
+
# @return [Types::JwtTokenTypeConfiguration]
|
|
6213
|
+
#
|
|
6214
|
+
# @!attribute [rw] json_token_type_configuration
|
|
6215
|
+
# Information about the JSON token type configuration.
|
|
6216
|
+
# @return [Types::JsonTokenTypeConfiguration]
|
|
6217
|
+
#
|
|
6218
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UserTokenConfiguration AWS API Documentation
|
|
6219
|
+
#
|
|
6220
|
+
class UserTokenConfiguration < Struct.new(
|
|
6221
|
+
:jwt_token_type_configuration,
|
|
6222
|
+
:json_token_type_configuration)
|
|
5974
6223
|
SENSITIVE = []
|
|
5975
6224
|
include Aws::Structure
|
|
5976
6225
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-kendra
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.18.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-
|
|
11
|
+
date: 2020-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|