aws-sdk-kendra 1.0.0 → 1.1.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 +7 -3
- data/lib/aws-sdk-kendra/client_api.rb +1 -0
- data/lib/aws-sdk-kendra/types.rb +22 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d39e5542382142c9a0f6d17083cdde3fed30a40
|
4
|
+
data.tar.gz: cc9d2f94dc9242779004e6f36eab3abb90f8c974
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0eb4d300cfcbe419963544ad8431201789a91fb76faa4091059162b17fe7b2a37d27f8685bdb5ef4cdfdec0aba6e50ec1dc4a68fcbaa4226db2356789d8d1f2
|
7
|
+
data.tar.gz: 525339ff42be0d6bfdd65abc7f94fcb3dd32a3c6ffdaa97d4816ae5e89e81bfd79ead7ffe1ee90ea680b5353036c86f02880017415da1228983d8fc3402f0f5b
|
data/lib/aws-sdk-kendra.rb
CHANGED
@@ -476,6 +476,7 @@ module Aws::Kendra
|
|
476
476
|
# index_field_name: "IndexFieldName", # required
|
477
477
|
# },
|
478
478
|
# ],
|
479
|
+
# document_title_field_name: "DataSourceFieldName",
|
479
480
|
# },
|
480
481
|
# database_configuration: {
|
481
482
|
# database_engine_type: "RDS_AURORA_MYSQL", # required, accepts RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
|
@@ -598,8 +599,9 @@ module Aws::Kendra
|
|
598
599
|
# bucket.
|
599
600
|
#
|
600
601
|
# @option params [Types::ServerSideEncryptionConfiguration] :server_side_encryption_configuration
|
601
|
-
# The identifier of the KMS key to use to
|
602
|
-
# Kendra.
|
602
|
+
# The identifier of the AWS KMS customer managed key (CMK) to use to
|
603
|
+
# encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support
|
604
|
+
# asymmetric CMKs.
|
603
605
|
#
|
604
606
|
# @option params [String] :description
|
605
607
|
# A description for the index.
|
@@ -739,6 +741,7 @@ module Aws::Kendra
|
|
739
741
|
# resp.configuration.share_point_configuration.field_mappings[0].data_source_field_name #=> String
|
740
742
|
# resp.configuration.share_point_configuration.field_mappings[0].date_field_format #=> String
|
741
743
|
# resp.configuration.share_point_configuration.field_mappings[0].index_field_name #=> String
|
744
|
+
# resp.configuration.share_point_configuration.document_title_field_name #=> String
|
742
745
|
# resp.configuration.database_configuration.database_engine_type #=> String, one of "RDS_AURORA_MYSQL", "RDS_AURORA_POSTGRESQL", "RDS_MYSQL", "RDS_POSTGRESQL"
|
743
746
|
# resp.configuration.database_configuration.connection_configuration.database_host #=> String
|
744
747
|
# resp.configuration.database_configuration.connection_configuration.database_port #=> Integer
|
@@ -1473,6 +1476,7 @@ module Aws::Kendra
|
|
1473
1476
|
# index_field_name: "IndexFieldName", # required
|
1474
1477
|
# },
|
1475
1478
|
# ],
|
1479
|
+
# document_title_field_name: "DataSourceFieldName",
|
1476
1480
|
# },
|
1477
1481
|
# database_configuration: {
|
1478
1482
|
# database_engine_type: "RDS_AURORA_MYSQL", # required, accepts RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
|
@@ -1590,7 +1594,7 @@ module Aws::Kendra
|
|
1590
1594
|
params: params,
|
1591
1595
|
config: config)
|
1592
1596
|
context[:gem_name] = 'aws-sdk-kendra'
|
1593
|
-
context[:gem_version] = '1.
|
1597
|
+
context[:gem_version] = '1.1.0'
|
1594
1598
|
Seahorse::Client::Request.new(handlers, context)
|
1595
1599
|
end
|
1596
1600
|
|
@@ -635,6 +635,7 @@ module Aws::Kendra
|
|
635
635
|
SharePointConfiguration.add_member(:crawl_attachments, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlAttachments"))
|
636
636
|
SharePointConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
|
637
637
|
SharePointConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
|
638
|
+
SharePointConfiguration.add_member(:document_title_field_name, Shapes::ShapeRef.new(shape: DataSourceFieldName, location_name: "DocumentTitleFieldName"))
|
638
639
|
SharePointConfiguration.struct_class = Types::SharePointConfiguration
|
639
640
|
|
640
641
|
SharePointUrlList.member = Shapes::ShapeRef.new(shape: Url)
|
data/lib/aws-sdk-kendra/types.rb
CHANGED
@@ -812,6 +812,7 @@ module Aws::Kendra
|
|
812
812
|
# index_field_name: "IndexFieldName", # required
|
813
813
|
# },
|
814
814
|
# ],
|
815
|
+
# document_title_field_name: "DataSourceFieldName",
|
815
816
|
# },
|
816
817
|
# database_configuration: {
|
817
818
|
# database_engine_type: "RDS_AURORA_MYSQL", # required, accepts RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
|
@@ -999,8 +1000,9 @@ module Aws::Kendra
|
|
999
1000
|
# @return [String]
|
1000
1001
|
#
|
1001
1002
|
# @!attribute [rw] server_side_encryption_configuration
|
1002
|
-
# The identifier of the KMS key to use to
|
1003
|
-
# Amazon Kendra.
|
1003
|
+
# The identifier of the AWS KMS customer managed key (CMK) to use to
|
1004
|
+
# encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't
|
1005
|
+
# support asymmetric CMKs.
|
1004
1006
|
# @return [Types::ServerSideEncryptionConfiguration]
|
1005
1007
|
#
|
1006
1008
|
# @!attribute [rw] description
|
@@ -1062,6 +1064,7 @@ module Aws::Kendra
|
|
1062
1064
|
# index_field_name: "IndexFieldName", # required
|
1063
1065
|
# },
|
1064
1066
|
# ],
|
1067
|
+
# document_title_field_name: "DataSourceFieldName",
|
1065
1068
|
# },
|
1066
1069
|
# database_configuration: {
|
1067
1070
|
# database_engine_type: "RDS_AURORA_MYSQL", # required, accepts RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
|
@@ -1597,7 +1600,8 @@ module Aws::Kendra
|
|
1597
1600
|
# @return [String]
|
1598
1601
|
#
|
1599
1602
|
# @!attribute [rw] server_side_encryption_configuration
|
1600
|
-
# The identifier of the KMS key used to
|
1603
|
+
# The identifier of the AWS KMS customer master key (CMK) used to
|
1604
|
+
# encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.
|
1601
1605
|
# @return [Types::ServerSideEncryptionConfiguration]
|
1602
1606
|
#
|
1603
1607
|
# @!attribute [rw] status
|
@@ -2769,7 +2773,7 @@ module Aws::Kendra
|
|
2769
2773
|
#
|
2770
2774
|
#
|
2771
2775
|
#
|
2772
|
-
# [1]: http://wikipedia.org/wiki/Glob_%
|
2776
|
+
# [1]: http://wikipedia.org/wiki/Glob_%28programming%29
|
2773
2777
|
# @return [Array<String>]
|
2774
2778
|
#
|
2775
2779
|
# @!attribute [rw] documents_metadata_configuration
|
@@ -2861,8 +2865,9 @@ module Aws::Kendra
|
|
2861
2865
|
include Aws::Structure
|
2862
2866
|
end
|
2863
2867
|
|
2864
|
-
# Provides the identifier of the KMS
|
2865
|
-
# Amazon Kendra.
|
2868
|
+
# Provides the identifier of the AWS KMS customer master key (CMK) used
|
2869
|
+
# to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't
|
2870
|
+
# support asymmetric CMKs.
|
2866
2871
|
#
|
2867
2872
|
# @note When making an API call, you may pass ServerSideEncryptionConfiguration
|
2868
2873
|
# data as a hash:
|
@@ -2872,7 +2877,8 @@ module Aws::Kendra
|
|
2872
2877
|
# }
|
2873
2878
|
#
|
2874
2879
|
# @!attribute [rw] kms_key_id
|
2875
|
-
# The identifier of the KMS key.
|
2880
|
+
# The identifier of the AWS KMS customer master key (CMK). Amazon
|
2881
|
+
# Kendra doesn't support asymmetric CMKs.
|
2876
2882
|
# @return [String]
|
2877
2883
|
#
|
2878
2884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ServerSideEncryptionConfiguration AWS API Documentation
|
@@ -2914,6 +2920,7 @@ module Aws::Kendra
|
|
2914
2920
|
# index_field_name: "IndexFieldName", # required
|
2915
2921
|
# },
|
2916
2922
|
# ],
|
2923
|
+
# document_title_field_name: "DataSourceFieldName",
|
2917
2924
|
# }
|
2918
2925
|
#
|
2919
2926
|
# @!attribute [rw] share_point_version
|
@@ -2960,6 +2967,11 @@ module Aws::Kendra
|
|
2960
2967
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
|
2961
2968
|
# @return [Array<Types::DataSourceToIndexFieldMapping>]
|
2962
2969
|
#
|
2970
|
+
# @!attribute [rw] document_title_field_name
|
2971
|
+
# The Microsoft SharePoint attribute field that contains the title of
|
2972
|
+
# the document.
|
2973
|
+
# @return [String]
|
2974
|
+
#
|
2963
2975
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/SharePointConfiguration AWS API Documentation
|
2964
2976
|
#
|
2965
2977
|
class SharePointConfiguration < Struct.new(
|
@@ -2968,7 +2980,8 @@ module Aws::Kendra
|
|
2968
2980
|
:secret_arn,
|
2969
2981
|
:crawl_attachments,
|
2970
2982
|
:vpc_configuration,
|
2971
|
-
:field_mappings
|
2983
|
+
:field_mappings,
|
2984
|
+
:document_title_field_name)
|
2972
2985
|
include Aws::Structure
|
2973
2986
|
end
|
2974
2987
|
|
@@ -3183,6 +3196,7 @@ module Aws::Kendra
|
|
3183
3196
|
# index_field_name: "IndexFieldName", # required
|
3184
3197
|
# },
|
3185
3198
|
# ],
|
3199
|
+
# document_title_field_name: "DataSourceFieldName",
|
3186
3200
|
# },
|
3187
3201
|
# database_configuration: {
|
3188
3202
|
# database_engine_type: "RDS_AURORA_MYSQL", # required, accepts RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
|
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.1.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: 2019-12-
|
11
|
+
date: 2019-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|