aws-sdk-connectwisdomservice 1.4.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectwisdomservice/client.rb +35 -23
- data/lib/aws-sdk-connectwisdomservice/client_api.rb +33 -6
- data/lib/aws-sdk-connectwisdomservice/types.rb +128 -43
- data/lib/aws-sdk-connectwisdomservice.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d76798ee10a302f7353cccda0ce826b4e5de63b7b738be4ea1b6b72a90e58a0
|
4
|
+
data.tar.gz: b88942a0bfd5aa25a1411a951938614735bc8934e28821183ead9a9c89e14755
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35587abdcf771ea8caf87d1f83923b44d17a0fb9d89bd5198d4a0563f03313c5af7f7c2752b89f515763db75abc6fd5205e8a3b1f91cdec812940712eb6d10a2
|
7
|
+
data.tar.gz: 85f32e1d97ff4342b0dc727c9ace992e52e4228614ba1dc1b191988ed7ae2b015ec3248e32f540615d83679248a75d11e0bbe2bd2c1e9398de3519dd36882fe4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.7.0 (2022-04-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release updates the GetRecommendations API to include a trigger event list for classifying and grouping recommendations.
|
8
|
+
|
9
|
+
1.6.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.5.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.4.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.7.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::ConnectWisdomService
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -489,8 +493,8 @@ module Aws::ConnectWisdomService
|
|
489
493
|
# not need to pass this option.**
|
490
494
|
#
|
491
495
|
# @option params [required, String] :knowledge_base_id
|
492
|
-
# The
|
493
|
-
#
|
496
|
+
# The identifier of the knowledge base. Can be either the ID or the ARN.
|
497
|
+
# URLs cannot contain the ARN.
|
494
498
|
#
|
495
499
|
# @option params [Hash<String,String>] :metadata
|
496
500
|
# A key/value map to store attributes without affecting tagging or
|
@@ -790,8 +794,8 @@ module Aws::ConnectWisdomService
|
|
790
794
|
# cannot contain the ARN.
|
791
795
|
#
|
792
796
|
# @option params [required, String] :knowledge_base_id
|
793
|
-
# The
|
794
|
-
#
|
797
|
+
# The identifier of the knowledge base. Can be either the ID or the ARN.
|
798
|
+
# URLs cannot contain the ARN.
|
795
799
|
#
|
796
800
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
797
801
|
#
|
@@ -936,8 +940,8 @@ module Aws::ConnectWisdomService
|
|
936
940
|
# cannot contain the ARN.
|
937
941
|
#
|
938
942
|
# @option params [required, String] :knowledge_base_id
|
939
|
-
# The
|
940
|
-
#
|
943
|
+
# The identifier of the knowledge base. Can be either the ID or the ARN.
|
944
|
+
# URLs cannot contain the ARN.
|
941
945
|
#
|
942
946
|
# @return [Types::GetContentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
943
947
|
#
|
@@ -985,8 +989,8 @@ module Aws::ConnectWisdomService
|
|
985
989
|
# cannot contain the ARN.
|
986
990
|
#
|
987
991
|
# @option params [required, String] :knowledge_base_id
|
988
|
-
# The
|
989
|
-
#
|
992
|
+
# The identifier of the knowledge base. Can be either the ID or the ARN.
|
993
|
+
# URLs cannot contain the ARN.
|
990
994
|
#
|
991
995
|
# @return [Types::GetContentSummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
992
996
|
#
|
@@ -1027,8 +1031,8 @@ module Aws::ConnectWisdomService
|
|
1027
1031
|
# Retrieves information about the knowledge base.
|
1028
1032
|
#
|
1029
1033
|
# @option params [required, String] :knowledge_base_id
|
1030
|
-
# The
|
1031
|
-
#
|
1034
|
+
# The identifier of the knowledge base. Can be either the ID or the ARN.
|
1035
|
+
# URLs cannot contain the ARN.
|
1032
1036
|
#
|
1033
1037
|
# @return [Types::GetKnowledgeBaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1034
1038
|
#
|
@@ -1100,6 +1104,7 @@ module Aws::ConnectWisdomService
|
|
1100
1104
|
# @return [Types::GetRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1101
1105
|
#
|
1102
1106
|
# * {Types::GetRecommendationsResponse#recommendations #recommendations} => Array<Types::RecommendationData>
|
1107
|
+
# * {Types::GetRecommendationsResponse#triggers #triggers} => Array<Types::RecommendationTrigger>
|
1103
1108
|
#
|
1104
1109
|
# @example Request syntax with placeholder values
|
1105
1110
|
#
|
@@ -1128,6 +1133,14 @@ module Aws::ConnectWisdomService
|
|
1128
1133
|
# resp.recommendations[0].recommendation_id #=> String
|
1129
1134
|
# resp.recommendations[0].relevance_level #=> String, one of "HIGH", "MEDIUM", "LOW"
|
1130
1135
|
# resp.recommendations[0].relevance_score #=> Float
|
1136
|
+
# resp.recommendations[0].type #=> String, one of "KNOWLEDGE_CONTENT"
|
1137
|
+
# resp.triggers #=> Array
|
1138
|
+
# resp.triggers[0].data.query.text #=> String
|
1139
|
+
# resp.triggers[0].id #=> String
|
1140
|
+
# resp.triggers[0].recommendation_ids #=> Array
|
1141
|
+
# resp.triggers[0].recommendation_ids[0] #=> String
|
1142
|
+
# resp.triggers[0].source #=> String, one of "ISSUE_DETECTION", "RULE_EVALUATION", "OTHER"
|
1143
|
+
# resp.triggers[0].type #=> String, one of "QUERY"
|
1131
1144
|
#
|
1132
1145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetRecommendations AWS API Documentation
|
1133
1146
|
#
|
@@ -1279,8 +1292,8 @@ module Aws::ConnectWisdomService
|
|
1279
1292
|
# Lists the content.
|
1280
1293
|
#
|
1281
1294
|
# @option params [required, String] :knowledge_base_id
|
1282
|
-
# The
|
1283
|
-
#
|
1295
|
+
# The identifier of the knowledge base. Can be either the ID or the ARN.
|
1296
|
+
# URLs cannot contain the ARN.
|
1284
1297
|
#
|
1285
1298
|
# @option params [Integer] :max_results
|
1286
1299
|
# The maximum number of results to return per page.
|
@@ -1531,8 +1544,8 @@ module Aws::ConnectWisdomService
|
|
1531
1544
|
# Removes a URI template from a knowledge base.
|
1532
1545
|
#
|
1533
1546
|
# @option params [required, String] :knowledge_base_id
|
1534
|
-
# The
|
1535
|
-
#
|
1547
|
+
# The identifier of the knowledge base. Can be either the ID or the ARN.
|
1548
|
+
# URLs cannot contain the ARN.
|
1536
1549
|
#
|
1537
1550
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1538
1551
|
#
|
@@ -1555,8 +1568,8 @@ module Aws::ConnectWisdomService
|
|
1555
1568
|
# a specific content resource by its name.
|
1556
1569
|
#
|
1557
1570
|
# @option params [required, String] :knowledge_base_id
|
1558
|
-
# The
|
1559
|
-
#
|
1571
|
+
# The identifier of the knowledge base. Can be either the ID or the ARN.
|
1572
|
+
# URLs cannot contain the ARN.
|
1560
1573
|
#
|
1561
1574
|
# @option params [Integer] :max_results
|
1562
1575
|
# The maximum number of results to return per page.
|
@@ -1695,8 +1708,8 @@ module Aws::ConnectWisdomService
|
|
1695
1708
|
# The type of content to upload.
|
1696
1709
|
#
|
1697
1710
|
# @option params [required, String] :knowledge_base_id
|
1698
|
-
# The
|
1699
|
-
#
|
1711
|
+
# The identifier of the knowledge base. Can be either the ID or the ARN.
|
1712
|
+
# URLs cannot contain the ARN.
|
1700
1713
|
#
|
1701
1714
|
# @return [Types::StartContentUploadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1702
1715
|
#
|
@@ -1790,8 +1803,7 @@ module Aws::ConnectWisdomService
|
|
1790
1803
|
# cannot contain the ARN.
|
1791
1804
|
#
|
1792
1805
|
# @option params [required, String] :knowledge_base_id
|
1793
|
-
# The
|
1794
|
-
# ARN
|
1806
|
+
# The identifier of the knowledge base. Can be either the ID or the ARN
|
1795
1807
|
#
|
1796
1808
|
# @option params [Hash<String,String>] :metadata
|
1797
1809
|
# A key/value map to store attributes without affecting tagging or
|
@@ -1881,8 +1893,8 @@ module Aws::ConnectWisdomService
|
|
1881
1893
|
# `https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*$\{Id\}*/view`.
|
1882
1894
|
#
|
1883
1895
|
# @option params [required, String] :knowledge_base_id
|
1884
|
-
# The
|
1885
|
-
#
|
1896
|
+
# The identifier of the knowledge base. Can be either the ID or the ARN.
|
1897
|
+
# URLs cannot contain the ARN.
|
1886
1898
|
#
|
1887
1899
|
# @option params [required, String] :template_uri
|
1888
1900
|
# The template URI to update.
|
@@ -1937,7 +1949,7 @@ module Aws::ConnectWisdomService
|
|
1937
1949
|
params: params,
|
1938
1950
|
config: config)
|
1939
1951
|
context[:gem_name] = 'aws-sdk-connectwisdomservice'
|
1940
|
-
context[:gem_version] = '1.
|
1952
|
+
context[:gem_version] = '1.7.0'
|
1941
1953
|
Seahorse::Client::Request.new(handlers, context)
|
1942
1954
|
end
|
1943
1955
|
|
@@ -111,11 +111,18 @@ module Aws::ConnectWisdomService
|
|
111
111
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
112
112
|
QueryAssistantRequest = Shapes::StructureShape.new(name: 'QueryAssistantRequest')
|
113
113
|
QueryAssistantResponse = Shapes::StructureShape.new(name: 'QueryAssistantResponse')
|
114
|
+
QueryRecommendationTriggerData = Shapes::StructureShape.new(name: 'QueryRecommendationTriggerData')
|
114
115
|
QueryResultsList = Shapes::ListShape.new(name: 'QueryResultsList')
|
115
116
|
QueryText = Shapes::StringShape.new(name: 'QueryText')
|
116
117
|
RecommendationData = Shapes::StructureShape.new(name: 'RecommendationData')
|
117
118
|
RecommendationIdList = Shapes::ListShape.new(name: 'RecommendationIdList')
|
118
119
|
RecommendationList = Shapes::ListShape.new(name: 'RecommendationList')
|
120
|
+
RecommendationSourceType = Shapes::StringShape.new(name: 'RecommendationSourceType')
|
121
|
+
RecommendationTrigger = Shapes::StructureShape.new(name: 'RecommendationTrigger')
|
122
|
+
RecommendationTriggerData = Shapes::UnionShape.new(name: 'RecommendationTriggerData')
|
123
|
+
RecommendationTriggerList = Shapes::ListShape.new(name: 'RecommendationTriggerList')
|
124
|
+
RecommendationTriggerType = Shapes::StringShape.new(name: 'RecommendationTriggerType')
|
125
|
+
RecommendationType = Shapes::StringShape.new(name: 'RecommendationType')
|
119
126
|
RelevanceLevel = Shapes::StringShape.new(name: 'RelevanceLevel')
|
120
127
|
RelevanceScore = Shapes::FloatShape.new(name: 'RelevanceScore')
|
121
128
|
RemoveKnowledgeBaseTemplateUriRequest = Shapes::StructureShape.new(name: 'RemoveKnowledgeBaseTemplateUriRequest')
|
@@ -128,6 +135,7 @@ module Aws::ConnectWisdomService
|
|
128
135
|
SearchExpression = Shapes::StructureShape.new(name: 'SearchExpression')
|
129
136
|
SearchSessionsRequest = Shapes::StructureShape.new(name: 'SearchSessionsRequest')
|
130
137
|
SearchSessionsResponse = Shapes::StructureShape.new(name: 'SearchSessionsResponse')
|
138
|
+
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
131
139
|
ServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'ServerSideEncryptionConfiguration')
|
132
140
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
133
141
|
SessionData = Shapes::StructureShape.new(name: 'SessionData')
|
@@ -137,9 +145,6 @@ module Aws::ConnectWisdomService
|
|
137
145
|
StartContentUploadRequest = Shapes::StructureShape.new(name: 'StartContentUploadRequest')
|
138
146
|
StartContentUploadResponse = Shapes::StructureShape.new(name: 'StartContentUploadResponse')
|
139
147
|
String = Shapes::StringShape.new(name: 'String')
|
140
|
-
SyntheticContentDataUrl = Shapes::StringShape.new(name: 'SyntheticContentDataUrl')
|
141
|
-
SyntheticDocumentTextString = Shapes::StringShape.new(name: 'SyntheticDocumentTextString')
|
142
|
-
SyntheticStartContentUploadResponseUrl = Shapes::StringShape.new(name: 'SyntheticStartContentUploadResponseUrl')
|
143
148
|
SyntheticTimestamp_epoch_seconds = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_epoch_seconds', timestampFormat: "unixTimestamp")
|
144
149
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
145
150
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -155,6 +160,7 @@ module Aws::ConnectWisdomService
|
|
155
160
|
UpdateKnowledgeBaseTemplateUriRequest = Shapes::StructureShape.new(name: 'UpdateKnowledgeBaseTemplateUriRequest')
|
156
161
|
UpdateKnowledgeBaseTemplateUriResponse = Shapes::StructureShape.new(name: 'UpdateKnowledgeBaseTemplateUriResponse')
|
157
162
|
Uri = Shapes::StringShape.new(name: 'Uri')
|
163
|
+
Url = Shapes::StringShape.new(name: 'Url')
|
158
164
|
Uuid = Shapes::StringShape.new(name: 'Uuid')
|
159
165
|
UuidOrArn = Shapes::StringShape.new(name: 'UuidOrArn')
|
160
166
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
@@ -236,7 +242,7 @@ module Aws::ConnectWisdomService
|
|
236
242
|
ContentData.add_member(:status, Shapes::ShapeRef.new(shape: ContentStatus, required: true, location_name: "status"))
|
237
243
|
ContentData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
238
244
|
ContentData.add_member(:title, Shapes::ShapeRef.new(shape: ContentTitle, required: true, location_name: "title"))
|
239
|
-
ContentData.add_member(:url, Shapes::ShapeRef.new(shape:
|
245
|
+
ContentData.add_member(:url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "url"))
|
240
246
|
ContentData.add_member(:url_expiry, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "urlExpiry"))
|
241
247
|
ContentData.struct_class = Types::ContentData
|
242
248
|
|
@@ -349,7 +355,7 @@ module Aws::ConnectWisdomService
|
|
349
355
|
Document.struct_class = Types::Document
|
350
356
|
|
351
357
|
DocumentText.add_member(:highlights, Shapes::ShapeRef.new(shape: Highlights, location_name: "highlights"))
|
352
|
-
DocumentText.add_member(:text, Shapes::ShapeRef.new(shape:
|
358
|
+
DocumentText.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "text"))
|
353
359
|
DocumentText.struct_class = Types::DocumentText
|
354
360
|
|
355
361
|
Filter.add_member(:field, Shapes::ShapeRef.new(shape: FilterField, required: true, location_name: "field"))
|
@@ -399,6 +405,7 @@ module Aws::ConnectWisdomService
|
|
399
405
|
GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
|
400
406
|
|
401
407
|
GetRecommendationsResponse.add_member(:recommendations, Shapes::ShapeRef.new(shape: RecommendationList, required: true, location_name: "recommendations"))
|
408
|
+
GetRecommendationsResponse.add_member(:triggers, Shapes::ShapeRef.new(shape: RecommendationTriggerList, location_name: "triggers"))
|
402
409
|
GetRecommendationsResponse.struct_class = Types::GetRecommendationsResponse
|
403
410
|
|
404
411
|
GetSessionRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
@@ -518,18 +525,37 @@ module Aws::ConnectWisdomService
|
|
518
525
|
QueryAssistantResponse.add_member(:results, Shapes::ShapeRef.new(shape: QueryResultsList, required: true, location_name: "results"))
|
519
526
|
QueryAssistantResponse.struct_class = Types::QueryAssistantResponse
|
520
527
|
|
528
|
+
QueryRecommendationTriggerData.add_member(:text, Shapes::ShapeRef.new(shape: QueryText, location_name: "text"))
|
529
|
+
QueryRecommendationTriggerData.struct_class = Types::QueryRecommendationTriggerData
|
530
|
+
|
521
531
|
QueryResultsList.member = Shapes::ShapeRef.new(shape: ResultData)
|
522
532
|
|
523
533
|
RecommendationData.add_member(:document, Shapes::ShapeRef.new(shape: Document, required: true, location_name: "document"))
|
524
534
|
RecommendationData.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "recommendationId"))
|
525
535
|
RecommendationData.add_member(:relevance_level, Shapes::ShapeRef.new(shape: RelevanceLevel, location_name: "relevanceLevel"))
|
526
536
|
RecommendationData.add_member(:relevance_score, Shapes::ShapeRef.new(shape: RelevanceScore, location_name: "relevanceScore"))
|
537
|
+
RecommendationData.add_member(:type, Shapes::ShapeRef.new(shape: RecommendationType, location_name: "type"))
|
527
538
|
RecommendationData.struct_class = Types::RecommendationData
|
528
539
|
|
529
540
|
RecommendationIdList.member = Shapes::ShapeRef.new(shape: String)
|
530
541
|
|
531
542
|
RecommendationList.member = Shapes::ShapeRef.new(shape: RecommendationData)
|
532
543
|
|
544
|
+
RecommendationTrigger.add_member(:data, Shapes::ShapeRef.new(shape: RecommendationTriggerData, required: true, location_name: "data"))
|
545
|
+
RecommendationTrigger.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
|
546
|
+
RecommendationTrigger.add_member(:recommendation_ids, Shapes::ShapeRef.new(shape: RecommendationIdList, required: true, location_name: "recommendationIds"))
|
547
|
+
RecommendationTrigger.add_member(:source, Shapes::ShapeRef.new(shape: RecommendationSourceType, required: true, location_name: "source"))
|
548
|
+
RecommendationTrigger.add_member(:type, Shapes::ShapeRef.new(shape: RecommendationTriggerType, required: true, location_name: "type"))
|
549
|
+
RecommendationTrigger.struct_class = Types::RecommendationTrigger
|
550
|
+
|
551
|
+
RecommendationTriggerData.add_member(:query, Shapes::ShapeRef.new(shape: QueryRecommendationTriggerData, location_name: "query"))
|
552
|
+
RecommendationTriggerData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
553
|
+
RecommendationTriggerData.add_member_subclass(:query, Types::RecommendationTriggerData::Query)
|
554
|
+
RecommendationTriggerData.add_member_subclass(:unknown, Types::RecommendationTriggerData::Unknown)
|
555
|
+
RecommendationTriggerData.struct_class = Types::RecommendationTriggerData
|
556
|
+
|
557
|
+
RecommendationTriggerList.member = Shapes::ShapeRef.new(shape: RecommendationTrigger)
|
558
|
+
|
533
559
|
RemoveKnowledgeBaseTemplateUriRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
534
560
|
RemoveKnowledgeBaseTemplateUriRequest.struct_class = Types::RemoveKnowledgeBaseTemplateUriRequest
|
535
561
|
|
@@ -603,7 +629,7 @@ module Aws::ConnectWisdomService
|
|
603
629
|
|
604
630
|
StartContentUploadResponse.add_member(:headers_to_include, Shapes::ShapeRef.new(shape: Headers, required: true, location_name: "headersToInclude"))
|
605
631
|
StartContentUploadResponse.add_member(:upload_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "uploadId"))
|
606
|
-
StartContentUploadResponse.add_member(:url, Shapes::ShapeRef.new(shape:
|
632
|
+
StartContentUploadResponse.add_member(:url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "url"))
|
607
633
|
StartContentUploadResponse.add_member(:url_expiry, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "urlExpiry"))
|
608
634
|
StartContentUploadResponse.struct_class = Types::StartContentUploadResponse
|
609
635
|
|
@@ -770,6 +796,7 @@ module Aws::ConnectWisdomService
|
|
770
796
|
o.input = Shapes::ShapeRef.new(shape: DeleteKnowledgeBaseRequest)
|
771
797
|
o.output = Shapes::ShapeRef.new(shape: DeleteKnowledgeBaseResponse)
|
772
798
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
799
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
773
800
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
774
801
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
775
802
|
end)
|
@@ -51,8 +51,8 @@ module Aws::ConnectWisdomService
|
|
51
51
|
# `short_description`, `sys_mod_count`, `workflow_state`, and
|
52
52
|
# `active`.
|
53
53
|
#
|
54
|
-
# Make sure to include additional
|
55
|
-
# to source recommendations.
|
54
|
+
# Make sure to include additional fields. These fields are indexed and
|
55
|
+
# used to source recommendations.
|
56
56
|
#
|
57
57
|
#
|
58
58
|
#
|
@@ -72,7 +72,7 @@ module Aws::ConnectWisdomService
|
|
72
72
|
# Information about the assistant association.
|
73
73
|
#
|
74
74
|
# @!attribute [rw] assistant_arn
|
75
|
-
# The Amazon Resource Name (ARN) of the Wisdom assistant
|
75
|
+
# The Amazon Resource Name (ARN) of the Wisdom assistant.
|
76
76
|
# @return [String]
|
77
77
|
#
|
78
78
|
# @!attribute [rw] assistant_association_arn
|
@@ -121,7 +121,7 @@ module Aws::ConnectWisdomService
|
|
121
121
|
# @note AssistantAssociationInputData is a union - when making an API calls you must set exactly one of the members.
|
122
122
|
#
|
123
123
|
# @!attribute [rw] knowledge_base_id
|
124
|
-
# The
|
124
|
+
# The identifier of the knowledge base.
|
125
125
|
# @return [String]
|
126
126
|
#
|
127
127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/AssistantAssociationInputData AWS API Documentation
|
@@ -161,7 +161,7 @@ module Aws::ConnectWisdomService
|
|
161
161
|
# Summary information about the assistant association.
|
162
162
|
#
|
163
163
|
# @!attribute [rw] assistant_arn
|
164
|
-
# The Amazon Resource Name (ARN) of the Wisdom assistant
|
164
|
+
# The Amazon Resource Name (ARN) of the Wisdom assistant.
|
165
165
|
# @return [String]
|
166
166
|
#
|
167
167
|
# @!attribute [rw] assistant_association_arn
|
@@ -206,7 +206,7 @@ module Aws::ConnectWisdomService
|
|
206
206
|
# The assistant data.
|
207
207
|
#
|
208
208
|
# @!attribute [rw] assistant_arn
|
209
|
-
# The Amazon Resource Name (ARN) of the Wisdom assistant
|
209
|
+
# The Amazon Resource Name (ARN) of the Wisdom assistant.
|
210
210
|
# @return [String]
|
211
211
|
#
|
212
212
|
# @!attribute [rw] assistant_id
|
@@ -256,7 +256,7 @@ module Aws::ConnectWisdomService
|
|
256
256
|
# Summary information about the assistant.
|
257
257
|
#
|
258
258
|
# @!attribute [rw] assistant_arn
|
259
|
-
# The Amazon Resource Name (ARN) of the Wisdom assistant
|
259
|
+
# The Amazon Resource Name (ARN) of the Wisdom assistant.
|
260
260
|
# @return [String]
|
261
261
|
#
|
262
262
|
# @!attribute [rw] assistant_id
|
@@ -338,7 +338,7 @@ module Aws::ConnectWisdomService
|
|
338
338
|
# @return [String]
|
339
339
|
#
|
340
340
|
# @!attribute [rw] knowledge_base_id
|
341
|
-
# The
|
341
|
+
# The identifier of the knowledge base.
|
342
342
|
# @return [String]
|
343
343
|
#
|
344
344
|
# @!attribute [rw] link_out_uri
|
@@ -417,7 +417,7 @@ module Aws::ConnectWisdomService
|
|
417
417
|
# @return [String]
|
418
418
|
#
|
419
419
|
# @!attribute [rw] knowledge_base_id
|
420
|
-
# The
|
420
|
+
# The identifier of the knowledge base.
|
421
421
|
# @return [String]
|
422
422
|
#
|
423
423
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ContentReference AWS API Documentation
|
@@ -450,7 +450,7 @@ module Aws::ConnectWisdomService
|
|
450
450
|
# @return [String]
|
451
451
|
#
|
452
452
|
# @!attribute [rw] knowledge_base_id
|
453
|
-
# The
|
453
|
+
# The identifier of the knowledge base.
|
454
454
|
# @return [String]
|
455
455
|
#
|
456
456
|
# @!attribute [rw] metadata
|
@@ -661,8 +661,8 @@ module Aws::ConnectWisdomService
|
|
661
661
|
# @return [String]
|
662
662
|
#
|
663
663
|
# @!attribute [rw] knowledge_base_id
|
664
|
-
# The
|
665
|
-
#
|
664
|
+
# The identifier of the knowledge base. Can be either the ID or the
|
665
|
+
# ARN. URLs cannot contain the ARN.
|
666
666
|
# @return [String]
|
667
667
|
#
|
668
668
|
# @!attribute [rw] metadata
|
@@ -960,8 +960,8 @@ module Aws::ConnectWisdomService
|
|
960
960
|
# @return [String]
|
961
961
|
#
|
962
962
|
# @!attribute [rw] knowledge_base_id
|
963
|
-
# The
|
964
|
-
#
|
963
|
+
# The identifier of the knowledge base. Can be either the ID or the
|
964
|
+
# ARN. URLs cannot contain the ARN.
|
965
965
|
# @return [String]
|
966
966
|
#
|
967
967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteContentRequest AWS API Documentation
|
@@ -1163,8 +1163,8 @@ module Aws::ConnectWisdomService
|
|
1163
1163
|
# @return [String]
|
1164
1164
|
#
|
1165
1165
|
# @!attribute [rw] knowledge_base_id
|
1166
|
-
# The
|
1167
|
-
#
|
1166
|
+
# The identifier of the knowledge base. Can be either the ID or the
|
1167
|
+
# ARN. URLs cannot contain the ARN.
|
1168
1168
|
# @return [String]
|
1169
1169
|
#
|
1170
1170
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetContentRequest AWS API Documentation
|
@@ -1202,8 +1202,8 @@ module Aws::ConnectWisdomService
|
|
1202
1202
|
# @return [String]
|
1203
1203
|
#
|
1204
1204
|
# @!attribute [rw] knowledge_base_id
|
1205
|
-
# The
|
1206
|
-
#
|
1205
|
+
# The identifier of the knowledge base. Can be either the ID or the
|
1206
|
+
# ARN. URLs cannot contain the ARN.
|
1207
1207
|
# @return [String]
|
1208
1208
|
#
|
1209
1209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetContentSummaryRequest AWS API Documentation
|
@@ -1235,8 +1235,8 @@ module Aws::ConnectWisdomService
|
|
1235
1235
|
# }
|
1236
1236
|
#
|
1237
1237
|
# @!attribute [rw] knowledge_base_id
|
1238
|
-
# The
|
1239
|
-
#
|
1238
|
+
# The identifier of the knowledge base. Can be either the ID or the
|
1239
|
+
# ARN. URLs cannot contain the ARN.
|
1240
1240
|
# @return [String]
|
1241
1241
|
#
|
1242
1242
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetKnowledgeBaseRequest AWS API Documentation
|
@@ -1306,10 +1306,15 @@ module Aws::ConnectWisdomService
|
|
1306
1306
|
# The recommendations.
|
1307
1307
|
# @return [Array<Types::RecommendationData>]
|
1308
1308
|
#
|
1309
|
+
# @!attribute [rw] triggers
|
1310
|
+
# The triggers corresponding to recommendations.
|
1311
|
+
# @return [Array<Types::RecommendationTrigger>]
|
1312
|
+
#
|
1309
1313
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetRecommendationsResponse AWS API Documentation
|
1310
1314
|
#
|
1311
1315
|
class GetRecommendationsResponse < Struct.new(
|
1312
|
-
:recommendations
|
1316
|
+
:recommendations,
|
1317
|
+
:triggers)
|
1313
1318
|
SENSITIVE = []
|
1314
1319
|
include Aws::Structure
|
1315
1320
|
end
|
@@ -1380,7 +1385,7 @@ module Aws::ConnectWisdomService
|
|
1380
1385
|
# @return [String]
|
1381
1386
|
#
|
1382
1387
|
# @!attribute [rw] knowledge_base_id
|
1383
|
-
# The
|
1388
|
+
# The identifier of the knowledge base.
|
1384
1389
|
# @return [String]
|
1385
1390
|
#
|
1386
1391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/KnowledgeBaseAssociationData AWS API Documentation
|
@@ -1403,7 +1408,7 @@ module Aws::ConnectWisdomService
|
|
1403
1408
|
# @return [String]
|
1404
1409
|
#
|
1405
1410
|
# @!attribute [rw] knowledge_base_id
|
1406
|
-
# The
|
1411
|
+
# The identifier of the knowledge base.
|
1407
1412
|
# @return [String]
|
1408
1413
|
#
|
1409
1414
|
# @!attribute [rw] knowledge_base_type
|
@@ -1470,7 +1475,7 @@ module Aws::ConnectWisdomService
|
|
1470
1475
|
# @return [String]
|
1471
1476
|
#
|
1472
1477
|
# @!attribute [rw] knowledge_base_id
|
1473
|
-
# The
|
1478
|
+
# The identifier of the knowledge base.
|
1474
1479
|
# @return [String]
|
1475
1480
|
#
|
1476
1481
|
# @!attribute [rw] knowledge_base_type
|
@@ -1490,7 +1495,7 @@ module Aws::ConnectWisdomService
|
|
1490
1495
|
# @return [Types::ServerSideEncryptionConfiguration]
|
1491
1496
|
#
|
1492
1497
|
# @!attribute [rw] source_configuration
|
1493
|
-
#
|
1498
|
+
# Configuration information about the external data source.
|
1494
1499
|
# @return [Types::SourceConfiguration]
|
1495
1500
|
#
|
1496
1501
|
# @!attribute [rw] status
|
@@ -1626,8 +1631,8 @@ module Aws::ConnectWisdomService
|
|
1626
1631
|
# }
|
1627
1632
|
#
|
1628
1633
|
# @!attribute [rw] knowledge_base_id
|
1629
|
-
# The
|
1630
|
-
#
|
1634
|
+
# The identifier of the knowledge base. Can be either the ID or the
|
1635
|
+
# ARN. URLs cannot contain the ARN.
|
1631
1636
|
# @return [String]
|
1632
1637
|
#
|
1633
1638
|
# @!attribute [rw] max_results
|
@@ -1886,6 +1891,20 @@ module Aws::ConnectWisdomService
|
|
1886
1891
|
include Aws::Structure
|
1887
1892
|
end
|
1888
1893
|
|
1894
|
+
# Data associated with the QUERY RecommendationTriggerType.
|
1895
|
+
#
|
1896
|
+
# @!attribute [rw] text
|
1897
|
+
# The text associated with the recommendation trigger.
|
1898
|
+
# @return [String]
|
1899
|
+
#
|
1900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/QueryRecommendationTriggerData AWS API Documentation
|
1901
|
+
#
|
1902
|
+
class QueryRecommendationTriggerData < Struct.new(
|
1903
|
+
:text)
|
1904
|
+
SENSITIVE = [:text]
|
1905
|
+
include Aws::Structure
|
1906
|
+
end
|
1907
|
+
|
1889
1908
|
# Information about the recommendation.
|
1890
1909
|
#
|
1891
1910
|
# @!attribute [rw] document
|
@@ -1904,17 +1923,85 @@ module Aws::ConnectWisdomService
|
|
1904
1923
|
# The relevance score of the recommendation.
|
1905
1924
|
# @return [Float]
|
1906
1925
|
#
|
1926
|
+
# @!attribute [rw] type
|
1927
|
+
# The type of recommendation.
|
1928
|
+
# @return [String]
|
1929
|
+
#
|
1907
1930
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/RecommendationData AWS API Documentation
|
1908
1931
|
#
|
1909
1932
|
class RecommendationData < Struct.new(
|
1910
1933
|
:document,
|
1911
1934
|
:recommendation_id,
|
1912
1935
|
:relevance_level,
|
1913
|
-
:relevance_score
|
1936
|
+
:relevance_score,
|
1937
|
+
:type)
|
1914
1938
|
SENSITIVE = []
|
1915
1939
|
include Aws::Structure
|
1916
1940
|
end
|
1917
1941
|
|
1942
|
+
# A recommendation trigger provides context on the event that produced
|
1943
|
+
# the referenced recommendations. Recommendations are only referenced in
|
1944
|
+
# `recommendationIds` by a single RecommendationTrigger.
|
1945
|
+
#
|
1946
|
+
# @!attribute [rw] data
|
1947
|
+
# A union type containing information related to the trigger.
|
1948
|
+
# @return [Types::RecommendationTriggerData]
|
1949
|
+
#
|
1950
|
+
# @!attribute [rw] id
|
1951
|
+
# The identifier of the recommendation trigger.
|
1952
|
+
# @return [String]
|
1953
|
+
#
|
1954
|
+
# @!attribute [rw] recommendation_ids
|
1955
|
+
# The identifiers of the recommendations.
|
1956
|
+
# @return [Array<String>]
|
1957
|
+
#
|
1958
|
+
# @!attribute [rw] source
|
1959
|
+
# The source of the recommendation trigger.
|
1960
|
+
#
|
1961
|
+
# * ISSUE\_DETECTION: The corresponding recommendations were triggered
|
1962
|
+
# by a Contact Lens issue.
|
1963
|
+
#
|
1964
|
+
# * RULE\_EVALUATION: The corresponding recommendations were triggered
|
1965
|
+
# by a Contact Lens rule.
|
1966
|
+
# @return [String]
|
1967
|
+
#
|
1968
|
+
# @!attribute [rw] type
|
1969
|
+
# The type of recommendation trigger.
|
1970
|
+
# @return [String]
|
1971
|
+
#
|
1972
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/RecommendationTrigger AWS API Documentation
|
1973
|
+
#
|
1974
|
+
class RecommendationTrigger < Struct.new(
|
1975
|
+
:data,
|
1976
|
+
:id,
|
1977
|
+
:recommendation_ids,
|
1978
|
+
:source,
|
1979
|
+
:type)
|
1980
|
+
SENSITIVE = []
|
1981
|
+
include Aws::Structure
|
1982
|
+
end
|
1983
|
+
|
1984
|
+
# A union type containing information related to the trigger.
|
1985
|
+
#
|
1986
|
+
# @note RecommendationTriggerData is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RecommendationTriggerData corresponding to the set member.
|
1987
|
+
#
|
1988
|
+
# @!attribute [rw] query
|
1989
|
+
# Data associated with the QUERY RecommendationTriggerType.
|
1990
|
+
# @return [Types::QueryRecommendationTriggerData]
|
1991
|
+
#
|
1992
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/RecommendationTriggerData AWS API Documentation
|
1993
|
+
#
|
1994
|
+
class RecommendationTriggerData < Struct.new(
|
1995
|
+
:query,
|
1996
|
+
:unknown)
|
1997
|
+
SENSITIVE = []
|
1998
|
+
include Aws::Structure
|
1999
|
+
include Aws::Structure::Union
|
2000
|
+
|
2001
|
+
class Query < RecommendationTriggerData; end
|
2002
|
+
class Unknown < RecommendationTriggerData; end
|
2003
|
+
end
|
2004
|
+
|
1918
2005
|
# @note When making an API call, you may pass RemoveKnowledgeBaseTemplateUriRequest
|
1919
2006
|
# data as a hash:
|
1920
2007
|
#
|
@@ -1923,8 +2010,8 @@ module Aws::ConnectWisdomService
|
|
1923
2010
|
# }
|
1924
2011
|
#
|
1925
2012
|
# @!attribute [rw] knowledge_base_id
|
1926
|
-
# The
|
1927
|
-
#
|
2013
|
+
# The identifier of the knowledge base. Can be either the ID or the
|
2014
|
+
# ARN. URLs cannot contain the ARN.
|
1928
2015
|
# @return [String]
|
1929
2016
|
#
|
1930
2017
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/RemoveKnowledgeBaseTemplateUriRequest AWS API Documentation
|
@@ -2033,8 +2120,8 @@ module Aws::ConnectWisdomService
|
|
2033
2120
|
# }
|
2034
2121
|
#
|
2035
2122
|
# @!attribute [rw] knowledge_base_id
|
2036
|
-
# The
|
2037
|
-
#
|
2123
|
+
# The identifier of the knowledge base. Can be either the ID or the
|
2124
|
+
# ARN. URLs cannot contain the ARN.
|
2038
2125
|
# @return [String]
|
2039
2126
|
#
|
2040
2127
|
# @!attribute [rw] max_results
|
@@ -2184,8 +2271,7 @@ module Aws::ConnectWisdomService
|
|
2184
2271
|
#
|
2185
2272
|
# @!attribute [rw] kms_key_id
|
2186
2273
|
# The KMS key. For information about valid ID values, see [Key
|
2187
|
-
# identifiers (KeyId)][1]
|
2188
|
-
# Guide*.
|
2274
|
+
# identifiers (KeyId)][1].
|
2189
2275
|
#
|
2190
2276
|
#
|
2191
2277
|
#
|
@@ -2253,7 +2339,7 @@ module Aws::ConnectWisdomService
|
|
2253
2339
|
# Summary information about the session.
|
2254
2340
|
#
|
2255
2341
|
# @!attribute [rw] assistant_arn
|
2256
|
-
# The Amazon Resource Name (ARN) of the Wisdom assistant
|
2342
|
+
# The Amazon Resource Name (ARN) of the Wisdom assistant.
|
2257
2343
|
# @return [String]
|
2258
2344
|
#
|
2259
2345
|
# @!attribute [rw] assistant_id
|
@@ -2316,8 +2402,8 @@ module Aws::ConnectWisdomService
|
|
2316
2402
|
# @return [String]
|
2317
2403
|
#
|
2318
2404
|
# @!attribute [rw] knowledge_base_id
|
2319
|
-
# The
|
2320
|
-
#
|
2405
|
+
# The identifier of the knowledge base. Can be either the ID or the
|
2406
|
+
# ARN. URLs cannot contain the ARN.
|
2321
2407
|
# @return [String]
|
2322
2408
|
#
|
2323
2409
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/StartContentUploadRequest AWS API Documentation
|
@@ -2458,8 +2544,8 @@ module Aws::ConnectWisdomService
|
|
2458
2544
|
# @return [String]
|
2459
2545
|
#
|
2460
2546
|
# @!attribute [rw] knowledge_base_id
|
2461
|
-
# The
|
2462
|
-
#
|
2547
|
+
# The identifier of the knowledge base. Can be either the ID or the
|
2548
|
+
# ARN
|
2463
2549
|
# @return [String]
|
2464
2550
|
#
|
2465
2551
|
# @!attribute [rw] metadata
|
@@ -2538,8 +2624,8 @@ module Aws::ConnectWisdomService
|
|
2538
2624
|
# }
|
2539
2625
|
#
|
2540
2626
|
# @!attribute [rw] knowledge_base_id
|
2541
|
-
# The
|
2542
|
-
#
|
2627
|
+
# The identifier of the knowledge base. Can be either the ID or the
|
2628
|
+
# ARN. URLs cannot contain the ARN.
|
2543
2629
|
# @return [String]
|
2544
2630
|
#
|
2545
2631
|
# @!attribute [rw] template_uri
|
@@ -2567,8 +2653,7 @@ module Aws::ConnectWisdomService
|
|
2567
2653
|
include Aws::Structure
|
2568
2654
|
end
|
2569
2655
|
|
2570
|
-
# The input fails to satisfy the constraints specified by
|
2571
|
-
# service.
|
2656
|
+
# The input fails to satisfy the constraints specified by a service.
|
2572
2657
|
#
|
2573
2658
|
# @!attribute [rw] message
|
2574
2659
|
# @return [String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connectwisdomservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.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:
|
11
|
+
date: 2022-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|