aws-sdk-kendra 1.18.0 → 1.19.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: a8ebb2b5b56b9898e08dda8db191a2bc4351bad70c534529db7940dab11ae498
4
- data.tar.gz: 0d80ae94eaff1e769e39e7b68277008204131b228338d8155a33269025928c7a
3
+ metadata.gz: 27025edb758f765772fdad0d00fbac9bc77db5476e1142aaed59814631b0b84e
4
+ data.tar.gz: 49fd84b84696847381dc9f54d521c2feb98ae5fdd112e5e3c64c3a02e465908e
5
5
  SHA512:
6
- metadata.gz: 695c605f0c0f1628b3885a70683fb2b15af4259263c14ab3689e7b1fed6d3cb3e1334a63cf2e703a7313bf5f7a044533965a7b0b0c5fbd6ef501808923d5e0cd
7
- data.tar.gz: 8fc5de58b97da0b2c8331b01460de2e786ae98e97ec92632203d0cb1eae16ff9f7bbb0ae5ac23f5ad40d288c676da58d070add5412620f2346932fe03d776056
6
+ metadata.gz: 1b81863b3388684a2f0b21590fae0c70cdd1c9b13c5487102174a365287e85a3e9b4cef76dceb9f0c55283167a01be137ee3279d8da007a663e8c1c88cf9a01c
7
+ data.tar.gz: 9aa3b59165778e48e1e6d4640019a612248dd68f305bc16c053dc0b2050f87980566a91078f1e0393d606c7297e7742d51ef892eae121143aff78460dadb5379
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-kendra/customizations'
48
48
  # @!group service
49
49
  module Aws::Kendra
50
50
 
51
- GEM_VERSION = '1.18.0'
51
+ GEM_VERSION = '1.19.0'
52
52
 
53
53
  end
@@ -566,7 +566,7 @@ module Aws::Kendra
566
566
  # resp = client.create_data_source({
567
567
  # name: "DataSourceName", # required
568
568
  # index_id: "IndexId", # required
569
- # type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE
569
+ # type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE, GOOGLEDRIVE
570
570
  # configuration: {
571
571
  # s3_configuration: {
572
572
  # bucket_name: "S3BucketName", # required
@@ -812,6 +812,21 @@ module Aws::Kendra
812
812
  # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
813
813
  # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
814
814
  # },
815
+ # google_drive_configuration: {
816
+ # secret_arn: "SecretArn", # required
817
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
818
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
819
+ # field_mappings: [
820
+ # {
821
+ # data_source_field_name: "DataSourceFieldName", # required
822
+ # date_field_format: "DataSourceDateFieldFormat",
823
+ # index_field_name: "IndexFieldName", # required
824
+ # },
825
+ # ],
826
+ # exclude_mime_types: ["MimeType"],
827
+ # exclude_user_accounts: ["UserAccount"],
828
+ # exclude_shared_drives: ["SharedDriveId"],
829
+ # },
815
830
  # },
816
831
  # description: "Description",
817
832
  # schedule: "ScanSchedule",
@@ -1167,7 +1182,7 @@ module Aws::Kendra
1167
1182
  # resp.id #=> String
1168
1183
  # resp.index_id #=> String
1169
1184
  # resp.name #=> String
1170
- # resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE"
1185
+ # resp.type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE"
1171
1186
  # resp.configuration.s3_configuration.bucket_name #=> String
1172
1187
  # resp.configuration.s3_configuration.inclusion_prefixes #=> Array
1173
1188
  # resp.configuration.s3_configuration.inclusion_prefixes[0] #=> String
@@ -1336,6 +1351,21 @@ module Aws::Kendra
1336
1351
  # resp.configuration.confluence_configuration.inclusion_patterns[0] #=> String
1337
1352
  # resp.configuration.confluence_configuration.exclusion_patterns #=> Array
1338
1353
  # resp.configuration.confluence_configuration.exclusion_patterns[0] #=> String
1354
+ # resp.configuration.google_drive_configuration.secret_arn #=> String
1355
+ # resp.configuration.google_drive_configuration.inclusion_patterns #=> Array
1356
+ # resp.configuration.google_drive_configuration.inclusion_patterns[0] #=> String
1357
+ # resp.configuration.google_drive_configuration.exclusion_patterns #=> Array
1358
+ # resp.configuration.google_drive_configuration.exclusion_patterns[0] #=> String
1359
+ # resp.configuration.google_drive_configuration.field_mappings #=> Array
1360
+ # resp.configuration.google_drive_configuration.field_mappings[0].data_source_field_name #=> String
1361
+ # resp.configuration.google_drive_configuration.field_mappings[0].date_field_format #=> String
1362
+ # resp.configuration.google_drive_configuration.field_mappings[0].index_field_name #=> String
1363
+ # resp.configuration.google_drive_configuration.exclude_mime_types #=> Array
1364
+ # resp.configuration.google_drive_configuration.exclude_mime_types[0] #=> String
1365
+ # resp.configuration.google_drive_configuration.exclude_user_accounts #=> Array
1366
+ # resp.configuration.google_drive_configuration.exclude_user_accounts[0] #=> String
1367
+ # resp.configuration.google_drive_configuration.exclude_shared_drives #=> Array
1368
+ # resp.configuration.google_drive_configuration.exclude_shared_drives[0] #=> String
1339
1369
  # resp.created_at #=> Time
1340
1370
  # resp.updated_at #=> Time
1341
1371
  # resp.description #=> String
@@ -1592,7 +1622,7 @@ module Aws::Kendra
1592
1622
  # resp.summary_items #=> Array
1593
1623
  # resp.summary_items[0].name #=> String
1594
1624
  # resp.summary_items[0].id #=> String
1595
- # resp.summary_items[0].type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE"
1625
+ # resp.summary_items[0].type #=> String, one of "S3", "SHAREPOINT", "DATABASE", "SALESFORCE", "ONEDRIVE", "SERVICENOW", "CUSTOM", "CONFLUENCE", "GOOGLEDRIVE"
1596
1626
  # resp.summary_items[0].created_at #=> Time
1597
1627
  # resp.summary_items[0].updated_at #=> Time
1598
1628
  # resp.summary_items[0].status #=> String, one of "CREATING", "DELETING", "FAILED", "UPDATING", "ACTIVE"
@@ -1807,6 +1837,12 @@ module Aws::Kendra
1807
1837
  # @option params [Types::UserContext] :user_context
1808
1838
  # The user context token.
1809
1839
  #
1840
+ # @option params [String] :visitor_id
1841
+ # Provides an identifier for a specific user. The `VisitorId` should be
1842
+ # a unique identifier, such as a GUID. Don't use personally
1843
+ # identifiable information, such as the user's email address, as the
1844
+ # `VisitorId`.
1845
+ #
1810
1846
  # @return [Types::QueryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1811
1847
  #
1812
1848
  # * {Types::QueryResult#query_id #query_id} => String
@@ -1913,6 +1949,7 @@ module Aws::Kendra
1913
1949
  # user_context: {
1914
1950
  # token: "Token",
1915
1951
  # },
1952
+ # visitor_id: "VisitorId",
1916
1953
  # })
1917
1954
  #
1918
1955
  # @example Response structure
@@ -1949,6 +1986,7 @@ module Aws::Kendra
1949
1986
  # resp.result_items[0].document_attributes[0].value.long_value #=> Integer
1950
1987
  # resp.result_items[0].document_attributes[0].value.date_value #=> Time
1951
1988
  # resp.result_items[0].score_attributes.score_confidence #=> String, one of "VERY_HIGH", "HIGH", "MEDIUM", "LOW"
1989
+ # resp.result_items[0].feedback_token #=> String
1952
1990
  # resp.facet_results #=> Array
1953
1991
  # resp.facet_results[0].document_attribute_key #=> String
1954
1992
  # resp.facet_results[0].document_attribute_value_type #=> String, one of "STRING_VALUE", "STRING_LIST_VALUE", "LONG_VALUE", "DATE_VALUE"
@@ -2422,6 +2460,21 @@ module Aws::Kendra
2422
2460
  # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2423
2461
  # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2424
2462
  # },
2463
+ # google_drive_configuration: {
2464
+ # secret_arn: "SecretArn", # required
2465
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2466
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2467
+ # field_mappings: [
2468
+ # {
2469
+ # data_source_field_name: "DataSourceFieldName", # required
2470
+ # date_field_format: "DataSourceDateFieldFormat",
2471
+ # index_field_name: "IndexFieldName", # required
2472
+ # },
2473
+ # ],
2474
+ # exclude_mime_types: ["MimeType"],
2475
+ # exclude_user_accounts: ["UserAccount"],
2476
+ # exclude_shared_drives: ["SharedDriveId"],
2477
+ # },
2425
2478
  # },
2426
2479
  # description: "Description",
2427
2480
  # schedule: "ScanSchedule",
@@ -2545,7 +2598,7 @@ module Aws::Kendra
2545
2598
  params: params,
2546
2599
  config: config)
2547
2600
  context[:gem_name] = 'aws-sdk-kendra'
2548
- context[:gem_version] = '1.18.0'
2601
+ context[:gem_version] = '1.19.0'
2549
2602
  Seahorse::Client::Request.new(handlers, context)
2550
2603
  end
2551
2604
 
@@ -127,6 +127,9 @@ module Aws::Kendra
127
127
  Duration = Shapes::StringShape.new(name: 'Duration')
128
128
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
129
129
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
130
+ ExcludeMimeTypesList = Shapes::ListShape.new(name: 'ExcludeMimeTypesList')
131
+ ExcludeSharedDrivesList = Shapes::ListShape.new(name: 'ExcludeSharedDrivesList')
132
+ ExcludeUserAccountsList = Shapes::ListShape.new(name: 'ExcludeUserAccountsList')
130
133
  Facet = Shapes::StructureShape.new(name: 'Facet')
131
134
  FacetList = Shapes::ListShape.new(name: 'FacetList')
132
135
  FacetResult = Shapes::StructureShape.new(name: 'FacetResult')
@@ -138,6 +141,8 @@ module Aws::Kendra
138
141
  FaqStatus = Shapes::StringShape.new(name: 'FaqStatus')
139
142
  FaqSummary = Shapes::StructureShape.new(name: 'FaqSummary')
140
143
  FaqSummaryItems = Shapes::ListShape.new(name: 'FaqSummaryItems')
144
+ FeedbackToken = Shapes::StringShape.new(name: 'FeedbackToken')
145
+ GoogleDriveConfiguration = Shapes::StructureShape.new(name: 'GoogleDriveConfiguration')
141
146
  GroupAttributeField = Shapes::StringShape.new(name: 'GroupAttributeField')
142
147
  Highlight = Shapes::StructureShape.new(name: 'Highlight')
143
148
  HighlightList = Shapes::ListShape.new(name: 'HighlightList')
@@ -176,6 +181,7 @@ module Aws::Kendra
176
181
  MaxResultsIntegerForListFaqsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListFaqsRequest')
177
182
  MaxResultsIntegerForListIndicesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListIndicesRequest')
178
183
  MetricValue = Shapes::StringShape.new(name: 'MetricValue')
184
+ MimeType = Shapes::StringShape.new(name: 'MimeType')
179
185
  NextToken = Shapes::StringShape.new(name: 'NextToken')
180
186
  OneDriveConfiguration = Shapes::StructureShape.new(name: 'OneDriveConfiguration')
181
187
  OneDriveUser = Shapes::StringShape.new(name: 'OneDriveUser')
@@ -241,6 +247,7 @@ module Aws::Kendra
241
247
  SharePointConfiguration = Shapes::StructureShape.new(name: 'SharePointConfiguration')
242
248
  SharePointUrlList = Shapes::ListShape.new(name: 'SharePointUrlList')
243
249
  SharePointVersion = Shapes::StringShape.new(name: 'SharePointVersion')
250
+ SharedDriveId = Shapes::StringShape.new(name: 'SharedDriveId')
244
251
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
245
252
  SortingConfiguration = Shapes::StructureShape.new(name: 'SortingConfiguration')
246
253
  SqlConfiguration = Shapes::StructureShape.new(name: 'SqlConfiguration')
@@ -273,6 +280,7 @@ module Aws::Kendra
273
280
  UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
274
281
  UpdateIndexRequest = Shapes::StructureShape.new(name: 'UpdateIndexRequest')
275
282
  Url = Shapes::StringShape.new(name: 'Url')
283
+ UserAccount = Shapes::StringShape.new(name: 'UserAccount')
276
284
  UserContext = Shapes::StructureShape.new(name: 'UserContext')
277
285
  UserContextPolicy = Shapes::StringShape.new(name: 'UserContextPolicy')
278
286
  UserNameAttributeField = Shapes::StringShape.new(name: 'UserNameAttributeField')
@@ -281,6 +289,7 @@ module Aws::Kendra
281
289
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
282
290
  ValueImportanceMap = Shapes::MapShape.new(name: 'ValueImportanceMap')
283
291
  ValueImportanceMapKey = Shapes::StringShape.new(name: 'ValueImportanceMapKey')
292
+ VisitorId = Shapes::StringShape.new(name: 'VisitorId')
284
293
  VpcSecurityGroupId = Shapes::StringShape.new(name: 'VpcSecurityGroupId')
285
294
 
286
295
  AccessControlListConfiguration.add_member(:key_path, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "KeyPath"))
@@ -482,6 +491,7 @@ module Aws::Kendra
482
491
  DataSourceConfiguration.add_member(:one_drive_configuration, Shapes::ShapeRef.new(shape: OneDriveConfiguration, location_name: "OneDriveConfiguration"))
483
492
  DataSourceConfiguration.add_member(:service_now_configuration, Shapes::ShapeRef.new(shape: ServiceNowConfiguration, location_name: "ServiceNowConfiguration"))
484
493
  DataSourceConfiguration.add_member(:confluence_configuration, Shapes::ShapeRef.new(shape: ConfluenceConfiguration, location_name: "ConfluenceConfiguration"))
494
+ DataSourceConfiguration.add_member(:google_drive_configuration, Shapes::ShapeRef.new(shape: GoogleDriveConfiguration, location_name: "GoogleDriveConfiguration"))
485
495
  DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
486
496
 
487
497
  DataSourceInclusionsExclusionsStrings.member = Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStringsMember)
@@ -650,6 +660,12 @@ module Aws::Kendra
650
660
  DocumentsMetadataConfiguration.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "S3Prefix"))
651
661
  DocumentsMetadataConfiguration.struct_class = Types::DocumentsMetadataConfiguration
652
662
 
663
+ ExcludeMimeTypesList.member = Shapes::ShapeRef.new(shape: MimeType)
664
+
665
+ ExcludeSharedDrivesList.member = Shapes::ShapeRef.new(shape: SharedDriveId)
666
+
667
+ ExcludeUserAccountsList.member = Shapes::ShapeRef.new(shape: UserAccount)
668
+
653
669
  Facet.add_member(:document_attribute_key, Shapes::ShapeRef.new(shape: DocumentAttributeKey, location_name: "DocumentAttributeKey"))
654
670
  Facet.struct_class = Types::Facet
655
671
 
@@ -675,6 +691,15 @@ module Aws::Kendra
675
691
 
676
692
  FaqSummaryItems.member = Shapes::ShapeRef.new(shape: FaqSummary)
677
693
 
694
+ GoogleDriveConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
695
+ GoogleDriveConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
696
+ GoogleDriveConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
697
+ GoogleDriveConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
698
+ GoogleDriveConfiguration.add_member(:exclude_mime_types, Shapes::ShapeRef.new(shape: ExcludeMimeTypesList, location_name: "ExcludeMimeTypes"))
699
+ GoogleDriveConfiguration.add_member(:exclude_user_accounts, Shapes::ShapeRef.new(shape: ExcludeUserAccountsList, location_name: "ExcludeUserAccounts"))
700
+ GoogleDriveConfiguration.add_member(:exclude_shared_drives, Shapes::ShapeRef.new(shape: ExcludeSharedDrivesList, location_name: "ExcludeSharedDrives"))
701
+ GoogleDriveConfiguration.struct_class = Types::GoogleDriveConfiguration
702
+
678
703
  Highlight.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "BeginOffset"))
679
704
  Highlight.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "EndOffset"))
680
705
  Highlight.add_member(:top_answer, Shapes::ShapeRef.new(shape: Boolean, location_name: "TopAnswer"))
@@ -788,6 +813,7 @@ module Aws::Kendra
788
813
  QueryRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: Integer, location_name: "PageSize"))
789
814
  QueryRequest.add_member(:sorting_configuration, Shapes::ShapeRef.new(shape: SortingConfiguration, location_name: "SortingConfiguration"))
790
815
  QueryRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "UserContext"))
816
+ QueryRequest.add_member(:visitor_id, Shapes::ShapeRef.new(shape: VisitorId, location_name: "VisitorId"))
791
817
  QueryRequest.struct_class = Types::QueryRequest
792
818
 
793
819
  QueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "QueryId"))
@@ -805,6 +831,7 @@ module Aws::Kendra
805
831
  QueryResultItem.add_member(:document_uri, Shapes::ShapeRef.new(shape: Url, location_name: "DocumentURI"))
806
832
  QueryResultItem.add_member(:document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "DocumentAttributes"))
807
833
  QueryResultItem.add_member(:score_attributes, Shapes::ShapeRef.new(shape: ScoreAttributes, location_name: "ScoreAttributes"))
834
+ QueryResultItem.add_member(:feedback_token, Shapes::ShapeRef.new(shape: FeedbackToken, location_name: "FeedbackToken"))
808
835
  QueryResultItem.struct_class = Types::QueryResultItem
809
836
 
810
837
  QueryResultItemList.member = Shapes::ShapeRef.new(shape: QueryResultItem)
@@ -10,7 +10,12 @@
10
10
  module Aws::Kendra
11
11
  module Types
12
12
 
13
- # Access Control List files for the documents in a data source.
13
+ # Access Control List files for the documents in a data source. For the
14
+ # format of the file, see [Access control for S3 data sources][1].
15
+ #
16
+ #
17
+ #
18
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/s3-acl.html
14
19
  #
15
20
  # @note When making an API call, you may pass AccessControlListConfiguration
16
21
  # data as a hash:
@@ -1364,7 +1369,7 @@ module Aws::Kendra
1364
1369
  # {
1365
1370
  # name: "DataSourceName", # required
1366
1371
  # index_id: "IndexId", # required
1367
- # type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE
1372
+ # type: "S3", # required, accepts S3, SHAREPOINT, DATABASE, SALESFORCE, ONEDRIVE, SERVICENOW, CUSTOM, CONFLUENCE, GOOGLEDRIVE
1368
1373
  # configuration: {
1369
1374
  # s3_configuration: {
1370
1375
  # bucket_name: "S3BucketName", # required
@@ -1610,6 +1615,21 @@ module Aws::Kendra
1610
1615
  # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
1611
1616
  # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
1612
1617
  # },
1618
+ # google_drive_configuration: {
1619
+ # secret_arn: "SecretArn", # required
1620
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
1621
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
1622
+ # field_mappings: [
1623
+ # {
1624
+ # data_source_field_name: "DataSourceFieldName", # required
1625
+ # date_field_format: "DataSourceDateFieldFormat",
1626
+ # index_field_name: "IndexFieldName", # required
1627
+ # },
1628
+ # ],
1629
+ # exclude_mime_types: ["MimeType"],
1630
+ # exclude_user_accounts: ["UserAccount"],
1631
+ # exclude_shared_drives: ["SharedDriveId"],
1632
+ # },
1613
1633
  # },
1614
1634
  # description: "Description",
1615
1635
  # schedule: "ScanSchedule",
@@ -2213,6 +2233,21 @@ module Aws::Kendra
2213
2233
  # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2214
2234
  # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2215
2235
  # },
2236
+ # google_drive_configuration: {
2237
+ # secret_arn: "SecretArn", # required
2238
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2239
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
2240
+ # field_mappings: [
2241
+ # {
2242
+ # data_source_field_name: "DataSourceFieldName", # required
2243
+ # date_field_format: "DataSourceDateFieldFormat",
2244
+ # index_field_name: "IndexFieldName", # required
2245
+ # },
2246
+ # ],
2247
+ # exclude_mime_types: ["MimeType"],
2248
+ # exclude_user_accounts: ["UserAccount"],
2249
+ # exclude_shared_drives: ["SharedDriveId"],
2250
+ # },
2216
2251
  # }
2217
2252
  #
2218
2253
  # @!attribute [rw] s3_configuration
@@ -2236,7 +2271,7 @@ module Aws::Kendra
2236
2271
  # @return [Types::SalesforceConfiguration]
2237
2272
  #
2238
2273
  # @!attribute [rw] one_drive_configuration
2239
- # Provided configuration for data sources that connect to Microsoft
2274
+ # Provides configuration for data sources that connect to Microsoft
2240
2275
  # OneDrive.
2241
2276
  # @return [Types::OneDriveConfiguration]
2242
2277
  #
@@ -2250,6 +2285,11 @@ module Aws::Kendra
2250
2285
  # data source.
2251
2286
  # @return [Types::ConfluenceConfiguration]
2252
2287
  #
2288
+ # @!attribute [rw] google_drive_configuration
2289
+ # Provides configuration for data sources that connect to Google
2290
+ # Drive.
2291
+ # @return [Types::GoogleDriveConfiguration]
2292
+ #
2253
2293
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DataSourceConfiguration AWS API Documentation
2254
2294
  #
2255
2295
  class DataSourceConfiguration < Struct.new(
@@ -2259,7 +2299,8 @@ module Aws::Kendra
2259
2299
  :salesforce_configuration,
2260
2300
  :one_drive_configuration,
2261
2301
  :service_now_configuration,
2262
- :confluence_configuration)
2302
+ :confluence_configuration,
2303
+ :google_drive_configuration)
2263
2304
  SENSITIVE = []
2264
2305
  include Aws::Structure
2265
2306
  end
@@ -3313,6 +3354,103 @@ module Aws::Kendra
3313
3354
  include Aws::Structure
3314
3355
  end
3315
3356
 
3357
+ # Provides configuration information for data sources that connect to
3358
+ # Google Drive.
3359
+ #
3360
+ # @note When making an API call, you may pass GoogleDriveConfiguration
3361
+ # data as a hash:
3362
+ #
3363
+ # {
3364
+ # secret_arn: "SecretArn", # required
3365
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
3366
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
3367
+ # field_mappings: [
3368
+ # {
3369
+ # data_source_field_name: "DataSourceFieldName", # required
3370
+ # date_field_format: "DataSourceDateFieldFormat",
3371
+ # index_field_name: "IndexFieldName", # required
3372
+ # },
3373
+ # ],
3374
+ # exclude_mime_types: ["MimeType"],
3375
+ # exclude_user_accounts: ["UserAccount"],
3376
+ # exclude_shared_drives: ["SharedDriveId"],
3377
+ # }
3378
+ #
3379
+ # @!attribute [rw] secret_arn
3380
+ # The Amazon Resource Name (ARN) of a AWS Secrets Manager secret that
3381
+ # contains the credentials required to connect to Google Drive. For
3382
+ # more information, see [Using a Google Workspace Drive data
3383
+ # source][1].
3384
+ #
3385
+ #
3386
+ #
3387
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-google-drive.html
3388
+ # @return [String]
3389
+ #
3390
+ # @!attribute [rw] inclusion_patterns
3391
+ # A list of regular expression patterns that apply to path on Google
3392
+ # Drive. Items that match the pattern are included in the index from
3393
+ # both shared drives and users' My Drives. Items that don't match
3394
+ # the pattern are excluded from the index. If an item matches both an
3395
+ # inclusion pattern and an exclusion pattern, it is excluded from the
3396
+ # index.
3397
+ # @return [Array<String>]
3398
+ #
3399
+ # @!attribute [rw] exclusion_patterns
3400
+ # A list of regular expression patterns that apply to the path on
3401
+ # Google Drive. Items that match the pattern are excluded from the
3402
+ # index from both shared drives and users' My Drives. Items that
3403
+ # don't match the pattern are included in the index. If an item
3404
+ # matches both an exclusion pattern and an inclusion pattern, it is
3405
+ # excluded from the index.
3406
+ # @return [Array<String>]
3407
+ #
3408
+ # @!attribute [rw] field_mappings
3409
+ # Defines mapping between a field in the Google Drive and a Amazon
3410
+ # Kendra index field.
3411
+ #
3412
+ # If you are using the console, you can define index fields when
3413
+ # creating the mapping. If you are using the API, you must first
3414
+ # create the field using the UpdateIndex operation.
3415
+ # @return [Array<Types::DataSourceToIndexFieldMapping>]
3416
+ #
3417
+ # @!attribute [rw] exclude_mime_types
3418
+ # A list of MIME types to exclude from the index. All documents
3419
+ # matching the specified MIME type are excluded.
3420
+ #
3421
+ # For a list of MIME types, see [Using a Google Workspace Drive data
3422
+ # source][1].
3423
+ #
3424
+ #
3425
+ #
3426
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-google-drive.html
3427
+ # @return [Array<String>]
3428
+ #
3429
+ # @!attribute [rw] exclude_user_accounts
3430
+ # A list of email addresses of the users. Documents owned by these
3431
+ # users are excluded from the index. Documents shared with excluded
3432
+ # users are indexed unless they are excluded in another way.
3433
+ # @return [Array<String>]
3434
+ #
3435
+ # @!attribute [rw] exclude_shared_drives
3436
+ # A list of identifiers or shared drives to exclude from the index.
3437
+ # All files and folders stored on the shared drive are excluded.
3438
+ # @return [Array<String>]
3439
+ #
3440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/GoogleDriveConfiguration AWS API Documentation
3441
+ #
3442
+ class GoogleDriveConfiguration < Struct.new(
3443
+ :secret_arn,
3444
+ :inclusion_patterns,
3445
+ :exclusion_patterns,
3446
+ :field_mappings,
3447
+ :exclude_mime_types,
3448
+ :exclude_user_accounts,
3449
+ :exclude_shared_drives)
3450
+ SENSITIVE = []
3451
+ include Aws::Structure
3452
+ end
3453
+
3316
3454
  # Provides information that you can use to highlight a search result so
3317
3455
  # that your users can quickly identify terms in the response.
3318
3456
  #
@@ -3796,7 +3934,7 @@ module Aws::Kendra
3796
3934
  # }
3797
3935
  #
3798
3936
  # @!attribute [rw] tenant_domain
3799
- # Tha Azure Active Directory domain of the organization.
3937
+ # The Azure Active Directory domain of the organization.
3800
3938
  # @return [String]
3801
3939
  #
3802
3940
  # @!attribute [rw] secret_arn
@@ -4022,6 +4160,7 @@ module Aws::Kendra
4022
4160
  # user_context: {
4023
4161
  # token: "Token",
4024
4162
  # },
4163
+ # visitor_id: "VisitorId",
4025
4164
  # }
4026
4165
  #
4027
4166
  # @!attribute [rw] index_id
@@ -4089,6 +4228,13 @@ module Aws::Kendra
4089
4228
  # The user context token.
4090
4229
  # @return [Types::UserContext]
4091
4230
  #
4231
+ # @!attribute [rw] visitor_id
4232
+ # Provides an identifier for a specific user. The `VisitorId` should
4233
+ # be a unique identifier, such as a GUID. Don't use personally
4234
+ # identifiable information, such as the user's email address, as the
4235
+ # `VisitorId`.
4236
+ # @return [String]
4237
+ #
4092
4238
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QueryRequest AWS API Documentation
4093
4239
  #
4094
4240
  class QueryRequest < Struct.new(
@@ -4101,7 +4247,8 @@ module Aws::Kendra
4101
4247
  :page_number,
4102
4248
  :page_size,
4103
4249
  :sorting_configuration,
4104
- :user_context)
4250
+ :user_context,
4251
+ :visitor_id)
4105
4252
  SENSITIVE = []
4106
4253
  include Aws::Structure
4107
4254
  end
@@ -4193,6 +4340,16 @@ module Aws::Kendra
4193
4340
  # matches the query.
4194
4341
  # @return [Types::ScoreAttributes]
4195
4342
  #
4343
+ # @!attribute [rw] feedback_token
4344
+ # A token that identifies a particular result from a particular query.
4345
+ # Use this token to provide click-through feedback for the result. For
4346
+ # more information, see [ Submitting feedback ][1].
4347
+ #
4348
+ #
4349
+ #
4350
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/submitting-feedback.html
4351
+ # @return [String]
4352
+ #
4196
4353
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QueryResultItem AWS API Documentation
4197
4354
  #
4198
4355
  class QueryResultItem < Struct.new(
@@ -4204,7 +4361,8 @@ module Aws::Kendra
4204
4361
  :document_excerpt,
4205
4362
  :document_uri,
4206
4363
  :document_attributes,
4207
- :score_attributes)
4364
+ :score_attributes,
4365
+ :feedback_token)
4208
4366
  SENSITIVE = []
4209
4367
  include Aws::Structure
4210
4368
  end
@@ -4429,7 +4587,12 @@ module Aws::Kendra
4429
4587
  #
4430
4588
  # @!attribute [rw] access_control_list_configuration
4431
4589
  # Provides the path to the S3 bucket that contains the user context
4432
- # filtering files for the data source.
4590
+ # filtering files for the data source. For the format of the file, see
4591
+ # [Access control for S3 data sources][1].
4592
+ #
4593
+ #
4594
+ #
4595
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/s3-acl.html
4433
4596
  # @return [Types::AccessControlListConfiguration]
4434
4597
  #
4435
4598
  # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/S3DataSourceConfiguration AWS API Documentation
@@ -6007,6 +6170,21 @@ module Aws::Kendra
6007
6170
  # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
6008
6171
  # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
6009
6172
  # },
6173
+ # google_drive_configuration: {
6174
+ # secret_arn: "SecretArn", # required
6175
+ # inclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
6176
+ # exclusion_patterns: ["DataSourceInclusionsExclusionsStringsMember"],
6177
+ # field_mappings: [
6178
+ # {
6179
+ # data_source_field_name: "DataSourceFieldName", # required
6180
+ # date_field_format: "DataSourceDateFieldFormat",
6181
+ # index_field_name: "IndexFieldName", # required
6182
+ # },
6183
+ # ],
6184
+ # exclude_mime_types: ["MimeType"],
6185
+ # exclude_user_accounts: ["UserAccount"],
6186
+ # exclude_shared_drives: ["SharedDriveId"],
6187
+ # },
6010
6188
  # },
6011
6189
  # description: "Description",
6012
6190
  # schedule: "ScanSchedule",
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.18.0
4
+ version: 1.19.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-05 00:00:00.000000000 Z
11
+ date: 2020-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core