aws-sdk-connectwisdomservice 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f06a5c4d25493200060aa2a2ef722c3966c5ec469f2b1beabf98ee3a4ceb0299
4
- data.tar.gz: f5d825bf9009529f7960b432e1f8bb52f294fa227d618bdc30742b40170e6a4e
3
+ metadata.gz: 0d76798ee10a302f7353cccda0ce826b4e5de63b7b738be4ea1b6b72a90e58a0
4
+ data.tar.gz: b88942a0bfd5aa25a1411a951938614735bc8934e28821183ead9a9c89e14755
5
5
  SHA512:
6
- metadata.gz: b7b52ad995cddc8d0733ce82e98b21abb9849ca6c0a2b0b62d8d6c757bbe0619b7e84fde30d4eec5e1fa219a53543de0a9c19513ca5eea044afc6ff1f2e3499c
7
- data.tar.gz: e5fc4228ce4849f11076d46c5fa0d5f69500a0d50c69f7a0e98ce30f4cb8c9cd327d6f72f6f8f46e3daaa8cd531254e0e6b70e6730645d3ad2b87e7730236940
6
+ metadata.gz: 35587abdcf771ea8caf87d1f83923b44d17a0fb9d89bd5198d4a0563f03313c5af7f7c2752b89f515763db75abc6fd5205e8a3b1f91cdec812940712eb6d10a2
7
+ data.tar.gz: 85f32e1d97ff4342b0dc727c9ace992e52e4228614ba1dc1b191988ed7ae2b015ec3248e32f540615d83679248a75d11e0bbe2bd2c1e9398de3519dd36882fe4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.6.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.7.0
@@ -493,8 +493,8 @@ module Aws::ConnectWisdomService
493
493
  # not need to pass this option.**
494
494
  #
495
495
  # @option params [required, String] :knowledge_base_id
496
- # The the identifier of the knowledge base. Can be either the ID or the
497
- # ARN. URLs cannot contain the ARN.
496
+ # The identifier of the knowledge base. Can be either the ID or the ARN.
497
+ # URLs cannot contain the ARN.
498
498
  #
499
499
  # @option params [Hash<String,String>] :metadata
500
500
  # A key/value map to store attributes without affecting tagging or
@@ -794,8 +794,8 @@ module Aws::ConnectWisdomService
794
794
  # cannot contain the ARN.
795
795
  #
796
796
  # @option params [required, String] :knowledge_base_id
797
- # The the identifier of the knowledge base. Can be either the ID or the
798
- # ARN. URLs cannot contain the ARN.
797
+ # The identifier of the knowledge base. Can be either the ID or the ARN.
798
+ # URLs cannot contain the ARN.
799
799
  #
800
800
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
801
801
  #
@@ -940,8 +940,8 @@ module Aws::ConnectWisdomService
940
940
  # cannot contain the ARN.
941
941
  #
942
942
  # @option params [required, String] :knowledge_base_id
943
- # The the identifier of the knowledge base. Can be either the ID or the
944
- # ARN. URLs cannot contain the ARN.
943
+ # The identifier of the knowledge base. Can be either the ID or the ARN.
944
+ # URLs cannot contain the ARN.
945
945
  #
946
946
  # @return [Types::GetContentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
947
947
  #
@@ -989,8 +989,8 @@ module Aws::ConnectWisdomService
989
989
  # cannot contain the ARN.
990
990
  #
991
991
  # @option params [required, String] :knowledge_base_id
992
- # The the identifier of the knowledge base. Can be either the ID or the
993
- # ARN. URLs cannot contain the ARN.
992
+ # The identifier of the knowledge base. Can be either the ID or the ARN.
993
+ # URLs cannot contain the ARN.
994
994
  #
995
995
  # @return [Types::GetContentSummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
996
996
  #
@@ -1031,8 +1031,8 @@ module Aws::ConnectWisdomService
1031
1031
  # Retrieves information about the knowledge base.
1032
1032
  #
1033
1033
  # @option params [required, String] :knowledge_base_id
1034
- # The the identifier of the knowledge base. Can be either the ID or the
1035
- # ARN. URLs cannot contain the ARN.
1034
+ # The identifier of the knowledge base. Can be either the ID or the ARN.
1035
+ # URLs cannot contain the ARN.
1036
1036
  #
1037
1037
  # @return [Types::GetKnowledgeBaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1038
1038
  #
@@ -1104,6 +1104,7 @@ module Aws::ConnectWisdomService
1104
1104
  # @return [Types::GetRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1105
1105
  #
1106
1106
  # * {Types::GetRecommendationsResponse#recommendations #recommendations} => Array&lt;Types::RecommendationData&gt;
1107
+ # * {Types::GetRecommendationsResponse#triggers #triggers} => Array&lt;Types::RecommendationTrigger&gt;
1107
1108
  #
1108
1109
  # @example Request syntax with placeholder values
1109
1110
  #
@@ -1132,6 +1133,14 @@ module Aws::ConnectWisdomService
1132
1133
  # resp.recommendations[0].recommendation_id #=> String
1133
1134
  # resp.recommendations[0].relevance_level #=> String, one of "HIGH", "MEDIUM", "LOW"
1134
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"
1135
1144
  #
1136
1145
  # @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetRecommendations AWS API Documentation
1137
1146
  #
@@ -1283,8 +1292,8 @@ module Aws::ConnectWisdomService
1283
1292
  # Lists the content.
1284
1293
  #
1285
1294
  # @option params [required, String] :knowledge_base_id
1286
- # The the identifier of the knowledge base. Can be either the ID or the
1287
- # ARN. URLs cannot contain the ARN.
1295
+ # The identifier of the knowledge base. Can be either the ID or the ARN.
1296
+ # URLs cannot contain the ARN.
1288
1297
  #
1289
1298
  # @option params [Integer] :max_results
1290
1299
  # The maximum number of results to return per page.
@@ -1535,8 +1544,8 @@ module Aws::ConnectWisdomService
1535
1544
  # Removes a URI template from a knowledge base.
1536
1545
  #
1537
1546
  # @option params [required, String] :knowledge_base_id
1538
- # The the identifier of the knowledge base. Can be either the ID or the
1539
- # ARN. URLs cannot contain the ARN.
1547
+ # The identifier of the knowledge base. Can be either the ID or the ARN.
1548
+ # URLs cannot contain the ARN.
1540
1549
  #
1541
1550
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1542
1551
  #
@@ -1559,8 +1568,8 @@ module Aws::ConnectWisdomService
1559
1568
  # a specific content resource by its name.
1560
1569
  #
1561
1570
  # @option params [required, String] :knowledge_base_id
1562
- # The the identifier of the knowledge base. Can be either the ID or the
1563
- # ARN. URLs cannot contain the ARN.
1571
+ # The identifier of the knowledge base. Can be either the ID or the ARN.
1572
+ # URLs cannot contain the ARN.
1564
1573
  #
1565
1574
  # @option params [Integer] :max_results
1566
1575
  # The maximum number of results to return per page.
@@ -1699,8 +1708,8 @@ module Aws::ConnectWisdomService
1699
1708
  # The type of content to upload.
1700
1709
  #
1701
1710
  # @option params [required, String] :knowledge_base_id
1702
- # The the identifier of the knowledge base. Can be either the ID or the
1703
- # ARN. URLs cannot contain the ARN.
1711
+ # The identifier of the knowledge base. Can be either the ID or the ARN.
1712
+ # URLs cannot contain the ARN.
1704
1713
  #
1705
1714
  # @return [Types::StartContentUploadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1706
1715
  #
@@ -1794,8 +1803,7 @@ module Aws::ConnectWisdomService
1794
1803
  # cannot contain the ARN.
1795
1804
  #
1796
1805
  # @option params [required, String] :knowledge_base_id
1797
- # The the identifier of the knowledge base. Can be either the ID or the
1798
- # ARN
1806
+ # The identifier of the knowledge base. Can be either the ID or the ARN
1799
1807
  #
1800
1808
  # @option params [Hash<String,String>] :metadata
1801
1809
  # A key/value map to store attributes without affecting tagging or
@@ -1885,8 +1893,8 @@ module Aws::ConnectWisdomService
1885
1893
  # `https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*$\{Id\}*/view`.
1886
1894
  #
1887
1895
  # @option params [required, String] :knowledge_base_id
1888
- # The the identifier of the knowledge base. Can be either the ID or the
1889
- # ARN. URLs cannot contain the ARN.
1896
+ # The identifier of the knowledge base. Can be either the ID or the ARN.
1897
+ # URLs cannot contain the ARN.
1890
1898
  #
1891
1899
  # @option params [required, String] :template_uri
1892
1900
  # The template URI to update.
@@ -1941,7 +1949,7 @@ module Aws::ConnectWisdomService
1941
1949
  params: params,
1942
1950
  config: config)
1943
1951
  context[:gem_name] = 'aws-sdk-connectwisdomservice'
1944
- context[:gem_version] = '1.6.0'
1952
+ context[:gem_version] = '1.7.0'
1945
1953
  Seahorse::Client::Request.new(handlers, context)
1946
1954
  end
1947
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: SyntheticContentDataUrl, required: true, location_name: "url"))
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: SyntheticDocumentTextString, location_name: "text"))
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: SyntheticStartContentUploadResponseUrl, required: true, location_name: "url"))
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 field(s); these are indexed and used
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 the identifier of the knowledge base.
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 the identifier of the knowledge base.
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 the identifier of the knowledge base.
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 the identifier of the knowledge base.
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 the identifier of the knowledge base. Can be either the ID or
665
- # the ARN. URLs cannot contain the ARN.
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 the identifier of the knowledge base. Can be either the ID or
964
- # the ARN. URLs cannot contain the ARN.
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 the identifier of the knowledge base. Can be either the ID or
1167
- # the ARN. URLs cannot contain the ARN.
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 the identifier of the knowledge base. Can be either the ID or
1206
- # the ARN. URLs cannot contain the ARN.
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 the identifier of the knowledge base. Can be either the ID or
1239
- # the ARN. URLs cannot contain the ARN.
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 the identifier of the knowledge base.
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 the identifier of the knowledge base.
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 the identifier of the knowledge base.
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
- # \[KEVIN\]
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 the identifier of the knowledge base. Can be either the ID or
1630
- # the ARN. URLs cannot contain the ARN.
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 the identifier of the knowledge base. Can be either the ID or
1927
- # the ARN. URLs cannot contain the ARN.
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 the identifier of the knowledge base. Can be either the ID or
2037
- # the ARN. URLs cannot contain the ARN.
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] in the *AWS Key Management Service Developer
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 the identifier of the knowledge base. Can be either the ID or
2320
- # the ARN. URLs cannot contain the ARN.
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 the identifier of the knowledge base. Can be either the ID or
2462
- # the ARN
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 the identifier of the knowledge base. Can be either the ID or
2542
- # the ARN. URLs cannot contain the ARN.
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 an AWS
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]
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-connectwisdomservice/customizations'
48
48
  # @!group service
49
49
  module Aws::ConnectWisdomService
50
50
 
51
- GEM_VERSION = '1.6.0'
51
+ GEM_VERSION = '1.7.0'
52
52
 
53
53
  end
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.6.0
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: 2022-02-24 00:00:00.000000000 Z
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