aws-sdk-kendra 1.14.0 → 1.15.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 +53 -15
- data/lib/aws-sdk-kendra/client_api.rb +5 -2
- data/lib/aws-sdk-kendra/types.rb +72 -14
- 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: c77b5b18cc4e0ecb4bcc79d4ea634e97ab6ab111fbe61b0d4e9fc1e7a0c4eb4e
|
4
|
+
data.tar.gz: cd63a111a6d43ce21f5529422159df0105676114a7c74fac2589486caf988a1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b4292ac03075fe1c885c6887daa5340c5d4b448c3fea5a30cd50b0fef4f1a3a457d8f5223b187a7eb0303de713c43e8f8ce7dc8e3a6fc3365622fabf30e0843
|
7
|
+
data.tar.gz: 4a0571ccd44824781a50c68bbd7962caa7261f57a77b191297ba13dbff2d353a93c672237c45db93728ffe8bed6c073fa4fdb81189a889954510c43ee383a76d
|
data/lib/aws-sdk-kendra.rb
CHANGED
@@ -506,9 +506,15 @@ module Aws::Kendra
|
|
506
506
|
# @option params [required, String] :type
|
507
507
|
# The type of repository that contains the data source.
|
508
508
|
#
|
509
|
-
# @option params [
|
510
|
-
# The
|
511
|
-
#
|
509
|
+
# @option params [Types::DataSourceConfiguration] :configuration
|
510
|
+
# The connector configuration information that is required to access the
|
511
|
+
# repository.
|
512
|
+
#
|
513
|
+
# You can't specify the `Configuration` parameter when the `Type`
|
514
|
+
# parameter is set to `CUSTOM`. If you do, you receive a
|
515
|
+
# `ValidationException` exception.
|
516
|
+
#
|
517
|
+
# The `Configuration` parameter is required for all other data sources.
|
512
518
|
#
|
513
519
|
# @option params [String] :description
|
514
520
|
# A description for the data source.
|
@@ -519,11 +525,21 @@ module Aws::Kendra
|
|
519
525
|
# Kendra will not periodically update the index. You can call the
|
520
526
|
# `StartDataSourceSyncJob` operation to update the index.
|
521
527
|
#
|
522
|
-
#
|
528
|
+
# You can't specify the `Schedule` parameter when the `Type` parameter
|
529
|
+
# is set to `CUSTOM`. If you do, you receive a `ValidationException`
|
530
|
+
# exception.
|
531
|
+
#
|
532
|
+
# @option params [String] :role_arn
|
523
533
|
# The Amazon Resource Name (ARN) of a role with permission to access the
|
524
534
|
# data source. For more information, see [IAM Roles for Amazon
|
525
535
|
# Kendra][1].
|
526
536
|
#
|
537
|
+
# You can't specify the `RoleArn` parameter when the `Type` parameter
|
538
|
+
# is set to `CUSTOM`. If you do, you receive a `ValidationException`
|
539
|
+
# exception.
|
540
|
+
#
|
541
|
+
# The `RoleArn` parameter is required for all other data sources.
|
542
|
+
#
|
527
543
|
#
|
528
544
|
#
|
529
545
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html
|
@@ -533,6 +549,14 @@ module Aws::Kendra
|
|
533
549
|
# the tags to identify and organize your resources and to control access
|
534
550
|
# to resources.
|
535
551
|
#
|
552
|
+
# @option params [String] :client_token
|
553
|
+
# A token that you provide to identify the request to create a data
|
554
|
+
# source. Multiple calls to the `CreateDataSource` operation with the
|
555
|
+
# same client token will create only one data source.
|
556
|
+
#
|
557
|
+
# **A suitable default value is auto-generated.** You should normally
|
558
|
+
# not need to pass this option.**
|
559
|
+
#
|
536
560
|
# @return [Types::CreateDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
537
561
|
#
|
538
562
|
# * {Types::CreateDataSourceResponse#id #id} => String
|
@@ -542,11 +566,12 @@ module Aws::Kendra
|
|
542
566
|
# resp = client.create_data_source({
|
543
567
|
# name: "DataSourceName", # required
|
544
568
|
# index_id: "IndexId", # required
|
545
|
-
# type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW
|
546
|
-
# configuration: {
|
569
|
+
# type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM
|
570
|
+
# configuration: {
|
547
571
|
# s3_configuration: {
|
548
572
|
# bucket_name: "S3BucketName", # required
|
549
573
|
# inclusion_prefixes: ["DataSourceInclusionsExclusionsStringsMember"],
|
574
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
550
575
|
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
551
576
|
# documents_metadata_configuration: {
|
552
577
|
# s3_prefix: "S3ObjectKey",
|
@@ -736,13 +761,14 @@ module Aws::Kendra
|
|
736
761
|
# },
|
737
762
|
# description: "Description",
|
738
763
|
# schedule: "ScanSchedule",
|
739
|
-
# role_arn: "RoleArn",
|
764
|
+
# role_arn: "RoleArn",
|
740
765
|
# tags: [
|
741
766
|
# {
|
742
767
|
# key: "TagKey", # required
|
743
768
|
# value: "TagValue", # required
|
744
769
|
# },
|
745
770
|
# ],
|
771
|
+
# client_token: "ClientTokenName",
|
746
772
|
# })
|
747
773
|
#
|
748
774
|
# @example Response structure
|
@@ -801,6 +827,14 @@ module Aws::Kendra
|
|
801
827
|
#
|
802
828
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html
|
803
829
|
#
|
830
|
+
# @option params [String] :client_token
|
831
|
+
# A token that you provide to identify the request to create a FAQ.
|
832
|
+
# Multiple calls to the `CreateFaqRequest` operation with the same
|
833
|
+
# client token will create only one FAQ.
|
834
|
+
#
|
835
|
+
# **A suitable default value is auto-generated.** You should normally
|
836
|
+
# not need to pass this option.**
|
837
|
+
#
|
804
838
|
# @return [Types::CreateFaqResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
805
839
|
#
|
806
840
|
# * {Types::CreateFaqResponse#id #id} => String
|
@@ -823,6 +857,7 @@ module Aws::Kendra
|
|
823
857
|
# },
|
824
858
|
# ],
|
825
859
|
# file_format: "CSV", # accepts CSV, CSV_WITH_HEADER, JSON
|
860
|
+
# client_token: "ClientTokenName",
|
826
861
|
# })
|
827
862
|
#
|
828
863
|
# @example Response structure
|
@@ -860,10 +895,10 @@ module Aws::Kendra
|
|
860
895
|
# default is `ENTERPRISE_EDITION`.
|
861
896
|
#
|
862
897
|
# @option params [required, String] :role_arn
|
863
|
-
# An
|
864
|
-
#
|
865
|
-
#
|
866
|
-
# bucket.
|
898
|
+
# An AWS Identity and Access Management (IAM) role that gives Amazon
|
899
|
+
# Kendra permissions to access your Amazon CloudWatch logs and metrics.
|
900
|
+
# This is also the role used when you use the `BatchPutDocument`
|
901
|
+
# operation to index documents from an Amazon S3 bucket.
|
867
902
|
#
|
868
903
|
# @option params [Types::ServerSideEncryptionConfiguration] :server_side_encryption_configuration
|
869
904
|
# The identifier of the AWS KMS customer managed key (CMK) to use to
|
@@ -876,7 +911,7 @@ module Aws::Kendra
|
|
876
911
|
# @option params [String] :client_token
|
877
912
|
# A token that you provide to identify the request to create an index.
|
878
913
|
# Multiple calls to the `CreateIndex` operation with the same client
|
879
|
-
# token will create only one index
|
914
|
+
# token will create only one index.
|
880
915
|
#
|
881
916
|
# **A suitable default value is auto-generated.** You should normally
|
882
917
|
# not need to pass this option.**
|
@@ -1042,10 +1077,12 @@ module Aws::Kendra
|
|
1042
1077
|
# resp.id #=> String
|
1043
1078
|
# resp.index_id #=> String
|
1044
1079
|
# resp.name #=> String
|
1045
|
-
# resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW"
|
1080
|
+
# resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM"
|
1046
1081
|
# resp.configuration.s3_configuration.bucket_name #=> String
|
1047
1082
|
# resp.configuration.s3_configuration.inclusion_prefixes #=> Array
|
1048
1083
|
# resp.configuration.s3_configuration.inclusion_prefixes[0] #=> String
|
1084
|
+
# resp.configuration.s3_configuration.inclusion_patterns #=> Array
|
1085
|
+
# resp.configuration.s3_configuration.inclusion_patterns[0] #=> String
|
1049
1086
|
# resp.configuration.s3_configuration.exclusion_patterns #=> Array
|
1050
1087
|
# resp.configuration.s3_configuration.exclusion_patterns[0] #=> String
|
1051
1088
|
# resp.configuration.s3_configuration.documents_metadata_configuration.s3_prefix #=> String
|
@@ -1416,7 +1453,7 @@ module Aws::Kendra
|
|
1416
1453
|
# resp.summary_items #=> Array
|
1417
1454
|
# resp.summary_items[0].name #=> String
|
1418
1455
|
# resp.summary_items[0].id #=> String
|
1419
|
-
# resp.summary_items[0].type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW"
|
1456
|
+
# resp.summary_items[0].type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM"
|
1420
1457
|
# resp.summary_items[0].created_at #=> Time
|
1421
1458
|
# resp.summary_items[0].updated_at #=> Time
|
1422
1459
|
# resp.summary_items[0].status #=> String, one of "CREATING", "DELETING", "FAILED", "UPDATING", "ACTIVE"
|
@@ -1999,6 +2036,7 @@ module Aws::Kendra
|
|
1999
2036
|
# s3_configuration: {
|
2000
2037
|
# bucket_name: "S3BucketName", # required
|
2001
2038
|
# inclusion_prefixes: ["DataSourceInclusionsExclusionsStringsMember"],
|
2039
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
2002
2040
|
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
2003
2041
|
# documents_metadata_configuration: {
|
2004
2042
|
# s3_prefix: "S3ObjectKey",
|
@@ -2284,7 +2322,7 @@ module Aws::Kendra
|
|
2284
2322
|
params: params,
|
2285
2323
|
config: config)
|
2286
2324
|
context[:gem_name] = 'aws-sdk-kendra'
|
2287
|
-
context[:gem_version] = '1.
|
2325
|
+
context[:gem_version] = '1.15.0'
|
2288
2326
|
Seahorse::Client::Request.new(handlers, context)
|
2289
2327
|
end
|
2290
2328
|
|
@@ -346,11 +346,12 @@ module Aws::Kendra
|
|
346
346
|
CreateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location_name: "Name"))
|
347
347
|
CreateDataSourceRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
348
348
|
CreateDataSourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "Type"))
|
349
|
-
CreateDataSourceRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration,
|
349
|
+
CreateDataSourceRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, location_name: "Configuration"))
|
350
350
|
CreateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
351
351
|
CreateDataSourceRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: ScanSchedule, location_name: "Schedule"))
|
352
|
-
CreateDataSourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn,
|
352
|
+
CreateDataSourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
353
353
|
CreateDataSourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
354
|
+
CreateDataSourceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenName, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
354
355
|
CreateDataSourceRequest.struct_class = Types::CreateDataSourceRequest
|
355
356
|
|
356
357
|
CreateDataSourceResponse.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
|
@@ -363,6 +364,7 @@ module Aws::Kendra
|
|
363
364
|
CreateFaqRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
364
365
|
CreateFaqRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
365
366
|
CreateFaqRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: FaqFileFormat, location_name: "FileFormat"))
|
367
|
+
CreateFaqRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenName, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
366
368
|
CreateFaqRequest.struct_class = Types::CreateFaqRequest
|
367
369
|
|
368
370
|
CreateFaqResponse.add_member(:id, Shapes::ShapeRef.new(shape: FaqId, location_name: "Id"))
|
@@ -723,6 +725,7 @@ module Aws::Kendra
|
|
723
725
|
|
724
726
|
S3DataSourceConfiguration.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "BucketName"))
|
725
727
|
S3DataSourceConfiguration.add_member(:inclusion_prefixes, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPrefixes"))
|
728
|
+
S3DataSourceConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
|
726
729
|
S3DataSourceConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
|
727
730
|
S3DataSourceConfiguration.add_member(:documents_metadata_configuration, Shapes::ShapeRef.new(shape: DocumentsMetadataConfiguration, location_name: "DocumentsMetadataConfiguration"))
|
728
731
|
S3DataSourceConfiguration.add_member(:access_control_list_configuration, Shapes::ShapeRef.new(shape: AccessControlListConfiguration, location_name: "AccessControlListConfiguration"))
|
data/lib/aws-sdk-kendra/types.rb
CHANGED
@@ -879,11 +879,12 @@ module Aws::Kendra
|
|
879
879
|
# {
|
880
880
|
# name: "DataSourceName", # required
|
881
881
|
# index_id: "IndexId", # required
|
882
|
-
# type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW
|
883
|
-
# configuration: {
|
882
|
+
# type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM
|
883
|
+
# configuration: {
|
884
884
|
# s3_configuration: {
|
885
885
|
# bucket_name: "S3BucketName", # required
|
886
886
|
# inclusion_prefixes: ["DataSourceInclusionsExclusionsStringsMember"],
|
887
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
887
888
|
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
888
889
|
# documents_metadata_configuration: {
|
889
890
|
# s3_prefix: "S3ObjectKey",
|
@@ -1073,13 +1074,14 @@ module Aws::Kendra
|
|
1073
1074
|
# },
|
1074
1075
|
# description: "Description",
|
1075
1076
|
# schedule: "ScanSchedule",
|
1076
|
-
# role_arn: "RoleArn",
|
1077
|
+
# role_arn: "RoleArn",
|
1077
1078
|
# tags: [
|
1078
1079
|
# {
|
1079
1080
|
# key: "TagKey", # required
|
1080
1081
|
# value: "TagValue", # required
|
1081
1082
|
# },
|
1082
1083
|
# ],
|
1084
|
+
# client_token: "ClientTokenName",
|
1083
1085
|
# }
|
1084
1086
|
#
|
1085
1087
|
# @!attribute [rw] name
|
@@ -1097,8 +1099,15 @@ module Aws::Kendra
|
|
1097
1099
|
# @return [String]
|
1098
1100
|
#
|
1099
1101
|
# @!attribute [rw] configuration
|
1100
|
-
# The
|
1101
|
-
#
|
1102
|
+
# The connector configuration information that is required to access
|
1103
|
+
# the repository.
|
1104
|
+
#
|
1105
|
+
# You can't specify the `Configuration` parameter when the `Type`
|
1106
|
+
# parameter is set to `CUSTOM`. If you do, you receive a
|
1107
|
+
# `ValidationException` exception.
|
1108
|
+
#
|
1109
|
+
# The `Configuration` parameter is required for all other data
|
1110
|
+
# sources.
|
1102
1111
|
# @return [Types::DataSourceConfiguration]
|
1103
1112
|
#
|
1104
1113
|
# @!attribute [rw] description
|
@@ -1110,6 +1119,10 @@ module Aws::Kendra
|
|
1110
1119
|
# your repository and update the index. If you don't set a schedule
|
1111
1120
|
# Amazon Kendra will not periodically update the index. You can call
|
1112
1121
|
# the `StartDataSourceSyncJob` operation to update the index.
|
1122
|
+
#
|
1123
|
+
# You can't specify the `Schedule` parameter when the `Type`
|
1124
|
+
# parameter is set to `CUSTOM`. If you do, you receive a
|
1125
|
+
# `ValidationException` exception.
|
1113
1126
|
# @return [String]
|
1114
1127
|
#
|
1115
1128
|
# @!attribute [rw] role_arn
|
@@ -1117,6 +1130,12 @@ module Aws::Kendra
|
|
1117
1130
|
# the data source. For more information, see [IAM Roles for Amazon
|
1118
1131
|
# Kendra][1].
|
1119
1132
|
#
|
1133
|
+
# You can't specify the `RoleArn` parameter when the `Type` parameter
|
1134
|
+
# is set to `CUSTOM`. If you do, you receive a `ValidationException`
|
1135
|
+
# exception.
|
1136
|
+
#
|
1137
|
+
# The `RoleArn` parameter is required for all other data sources.
|
1138
|
+
#
|
1120
1139
|
#
|
1121
1140
|
#
|
1122
1141
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html
|
@@ -1128,6 +1147,15 @@ module Aws::Kendra
|
|
1128
1147
|
# access to resources.
|
1129
1148
|
# @return [Array<Types::Tag>]
|
1130
1149
|
#
|
1150
|
+
# @!attribute [rw] client_token
|
1151
|
+
# A token that you provide to identify the request to create a data
|
1152
|
+
# source. Multiple calls to the `CreateDataSource` operation with the
|
1153
|
+
# same client token will create only one data source.
|
1154
|
+
#
|
1155
|
+
# **A suitable default value is auto-generated.** You should normally
|
1156
|
+
# not need to pass this option.
|
1157
|
+
# @return [String]
|
1158
|
+
#
|
1131
1159
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateDataSourceRequest AWS API Documentation
|
1132
1160
|
#
|
1133
1161
|
class CreateDataSourceRequest < Struct.new(
|
@@ -1138,7 +1166,8 @@ module Aws::Kendra
|
|
1138
1166
|
:description,
|
1139
1167
|
:schedule,
|
1140
1168
|
:role_arn,
|
1141
|
-
:tags
|
1169
|
+
:tags,
|
1170
|
+
:client_token)
|
1142
1171
|
SENSITIVE = []
|
1143
1172
|
include Aws::Structure
|
1144
1173
|
end
|
@@ -1174,6 +1203,7 @@ module Aws::Kendra
|
|
1174
1203
|
# },
|
1175
1204
|
# ],
|
1176
1205
|
# file_format: "CSV", # accepts CSV, CSV_WITH_HEADER, JSON
|
1206
|
+
# client_token: "ClientTokenName",
|
1177
1207
|
# }
|
1178
1208
|
#
|
1179
1209
|
# @!attribute [rw] index_id
|
@@ -1223,6 +1253,15 @@ module Aws::Kendra
|
|
1223
1253
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html
|
1224
1254
|
# @return [String]
|
1225
1255
|
#
|
1256
|
+
# @!attribute [rw] client_token
|
1257
|
+
# A token that you provide to identify the request to create a FAQ.
|
1258
|
+
# Multiple calls to the `CreateFaqRequest` operation with the same
|
1259
|
+
# client token will create only one FAQ.
|
1260
|
+
#
|
1261
|
+
# **A suitable default value is auto-generated.** You should normally
|
1262
|
+
# not need to pass this option.
|
1263
|
+
# @return [String]
|
1264
|
+
#
|
1226
1265
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateFaqRequest AWS API Documentation
|
1227
1266
|
#
|
1228
1267
|
class CreateFaqRequest < Struct.new(
|
@@ -1232,7 +1271,8 @@ module Aws::Kendra
|
|
1232
1271
|
:s3_path,
|
1233
1272
|
:role_arn,
|
1234
1273
|
:tags,
|
1235
|
-
:file_format
|
1274
|
+
:file_format,
|
1275
|
+
:client_token)
|
1236
1276
|
SENSITIVE = []
|
1237
1277
|
include Aws::Structure
|
1238
1278
|
end
|
@@ -1285,10 +1325,11 @@ module Aws::Kendra
|
|
1285
1325
|
# @return [String]
|
1286
1326
|
#
|
1287
1327
|
# @!attribute [rw] role_arn
|
1288
|
-
# An IAM role that gives Amazon
|
1289
|
-
#
|
1290
|
-
#
|
1291
|
-
# Amazon S3
|
1328
|
+
# An AWS Identity and Access Management (IAM) role that gives Amazon
|
1329
|
+
# Kendra permissions to access your Amazon CloudWatch logs and
|
1330
|
+
# metrics. This is also the role used when you use the
|
1331
|
+
# `BatchPutDocument` operation to index documents from an Amazon S3
|
1332
|
+
# bucket.
|
1292
1333
|
# @return [String]
|
1293
1334
|
#
|
1294
1335
|
# @!attribute [rw] server_side_encryption_configuration
|
@@ -1304,7 +1345,7 @@ module Aws::Kendra
|
|
1304
1345
|
# @!attribute [rw] client_token
|
1305
1346
|
# A token that you provide to identify the request to create an index.
|
1306
1347
|
# Multiple calls to the `CreateIndex` operation with the same client
|
1307
|
-
# token will create only one index
|
1348
|
+
# token will create only one index.
|
1308
1349
|
#
|
1309
1350
|
# **A suitable default value is auto-generated.** You should normally
|
1310
1351
|
# not need to pass this option.
|
@@ -1352,6 +1393,7 @@ module Aws::Kendra
|
|
1352
1393
|
# s3_configuration: {
|
1353
1394
|
# bucket_name: "S3BucketName", # required
|
1354
1395
|
# inclusion_prefixes: ["DataSourceInclusionsExclusionsStringsMember"],
|
1396
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
1355
1397
|
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
1356
1398
|
# documents_metadata_configuration: {
|
1357
1399
|
# s3_prefix: "S3ObjectKey",
|
@@ -3585,6 +3627,7 @@ module Aws::Kendra
|
|
3585
3627
|
# {
|
3586
3628
|
# bucket_name: "S3BucketName", # required
|
3587
3629
|
# inclusion_prefixes: ["DataSourceInclusionsExclusionsStringsMember"],
|
3630
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
3588
3631
|
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
3589
3632
|
# documents_metadata_configuration: {
|
3590
3633
|
# s3_prefix: "S3ObjectKey",
|
@@ -3603,10 +3646,23 @@ module Aws::Kendra
|
|
3603
3646
|
# the index.
|
3604
3647
|
# @return [Array<String>]
|
3605
3648
|
#
|
3649
|
+
# @!attribute [rw] inclusion_patterns
|
3650
|
+
# A list of glob patterns for documents that should be indexed. If a
|
3651
|
+
# document that matches an inclusion pattern also matches an exclusion
|
3652
|
+
# pattern, the document is not indexed.
|
3653
|
+
#
|
3654
|
+
# For more information about glob patterns, see [glob
|
3655
|
+
# (programming)][1] in *Wikipedia*.
|
3656
|
+
#
|
3657
|
+
#
|
3658
|
+
#
|
3659
|
+
# [1]: https://en.wikipedia.org/wiki/Glob_(programming)
|
3660
|
+
# @return [Array<String>]
|
3661
|
+
#
|
3606
3662
|
# @!attribute [rw] exclusion_patterns
|
3607
3663
|
# A list of glob patterns for documents that should not be indexed. If
|
3608
|
-
# a document that matches an inclusion prefix
|
3609
|
-
# exclusion pattern, the document is not indexed.
|
3664
|
+
# a document that matches an inclusion prefix or inclusion pattern
|
3665
|
+
# also matches an exclusion pattern, the document is not indexed.
|
3610
3666
|
#
|
3611
3667
|
# For more information about glob patterns, see [glob
|
3612
3668
|
# (programming)][1] in *Wikipedia*.
|
@@ -3633,6 +3689,7 @@ module Aws::Kendra
|
|
3633
3689
|
class S3DataSourceConfiguration < Struct.new(
|
3634
3690
|
:bucket_name,
|
3635
3691
|
:inclusion_prefixes,
|
3692
|
+
:inclusion_patterns,
|
3636
3693
|
:exclusion_patterns,
|
3637
3694
|
:documents_metadata_configuration,
|
3638
3695
|
:access_control_list_configuration)
|
@@ -4954,6 +5011,7 @@ module Aws::Kendra
|
|
4954
5011
|
# s3_configuration: {
|
4955
5012
|
# bucket_name: "S3BucketName", # required
|
4956
5013
|
# inclusion_prefixes: ["DataSourceInclusionsExclusionsStringsMember"],
|
5014
|
+
# inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
4957
5015
|
# exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
|
4958
5016
|
# documents_metadata_configuration: {
|
4959
5017
|
# s3_prefix: "S3ObjectKey",
|
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.15.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-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|