aws-sdk-connectwisdomservice 1.8.0 → 1.9.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3908bd0c1313f15f5c7437b66571dd7eb29ed44a4b44625b30650ffce44475cc
|
4
|
+
data.tar.gz: 91097707cbcfa66b9d3bb1aefb49818103d4bd7f5602f39353c955211bd82749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b1f08e9ecdd71418e3e9f7202f9dec4ec605c45e35bfab387506c4eb1f3ed31a92127a6a42e0c9c88371a43d1e93a68624931511021530d9697983ddb02568c
|
7
|
+
data.tar.gz: ae11c6dd90743911f2cfd64d63e05d0f29823f422385d1aed0815890b9e8aad9e189ff2e9a1699e321f6e6e0f5b93f1431b8875774cf4a479988d63d5a7e4f71
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.9.0 (2022-10-13)
|
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.8.0 (2022-08-15)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0
|
@@ -1475,66 +1475,6 @@ module Aws::ConnectWisdomService
|
|
1475
1475
|
req.send_request(options)
|
1476
1476
|
end
|
1477
1477
|
|
1478
|
-
# Submits feedback to Wisdom. The feedback is used to improve future
|
1479
|
-
# recommendations from [GetRecommendations][1] or results from
|
1480
|
-
# [QueryAssistant][2]. Feedback can be resubmitted up to 6 hours after
|
1481
|
-
# submission.
|
1482
|
-
#
|
1483
|
-
#
|
1484
|
-
#
|
1485
|
-
# [1]: https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html
|
1486
|
-
# [2]: https://docs.aws.amazon.com/wisdom/latest/APIReference/API_QueryAssistant.html
|
1487
|
-
#
|
1488
|
-
# @option params [required, String] :assistant_id
|
1489
|
-
# The identifier of the Wisdom assistant. Can be either the ID or the
|
1490
|
-
# ARN. URLs cannot contain the ARN.
|
1491
|
-
#
|
1492
|
-
# @option params [required, Types::FeedbackData] :feedback
|
1493
|
-
# The feedback.
|
1494
|
-
#
|
1495
|
-
# @option params [required, String] :target_id
|
1496
|
-
# The identifier of a recommendation. or The identifier of the result
|
1497
|
-
# data.
|
1498
|
-
#
|
1499
|
-
# @option params [required, String] :target_type
|
1500
|
-
# The type of the targetId for which The feedback. is targeted.
|
1501
|
-
#
|
1502
|
-
# @return [Types::PutFeedbackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1503
|
-
#
|
1504
|
-
# * {Types::PutFeedbackResponse#assistant_arn #assistant_arn} => String
|
1505
|
-
# * {Types::PutFeedbackResponse#assistant_id #assistant_id} => String
|
1506
|
-
# * {Types::PutFeedbackResponse#feedback #feedback} => Types::FeedbackData
|
1507
|
-
# * {Types::PutFeedbackResponse#target_id #target_id} => String
|
1508
|
-
# * {Types::PutFeedbackResponse#target_type #target_type} => String
|
1509
|
-
#
|
1510
|
-
# @example Request syntax with placeholder values
|
1511
|
-
#
|
1512
|
-
# resp = client.put_feedback({
|
1513
|
-
# assistant_id: "UuidOrArn", # required
|
1514
|
-
# feedback: { # required
|
1515
|
-
# relevance: "HELPFUL", # required, accepts HELPFUL, NOT_HELPFUL
|
1516
|
-
# },
|
1517
|
-
# target_id: "String", # required
|
1518
|
-
# target_type: "RECOMMENDATION", # required, accepts RECOMMENDATION, RESULT
|
1519
|
-
# })
|
1520
|
-
#
|
1521
|
-
# @example Response structure
|
1522
|
-
#
|
1523
|
-
# resp.assistant_arn #=> String
|
1524
|
-
# resp.assistant_id #=> String
|
1525
|
-
# resp.feedback.relevance #=> String, one of "HELPFUL", "NOT_HELPFUL"
|
1526
|
-
# resp.target_id #=> String
|
1527
|
-
# resp.target_type #=> String, one of "RECOMMENDATION", "RESULT"
|
1528
|
-
#
|
1529
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/PutFeedback AWS API Documentation
|
1530
|
-
#
|
1531
|
-
# @overload put_feedback(params = {})
|
1532
|
-
# @param [Hash] params ({})
|
1533
|
-
def put_feedback(params = {}, options = {})
|
1534
|
-
req = build_request(:put_feedback, params)
|
1535
|
-
req.send_request(options)
|
1536
|
-
end
|
1537
|
-
|
1538
1478
|
# Performs a manual search against the specified assistant. To retrieve
|
1539
1479
|
# recommendations for an assistant, use [GetRecommendations][1].
|
1540
1480
|
#
|
@@ -2009,7 +1949,7 @@ module Aws::ConnectWisdomService
|
|
2009
1949
|
params: params,
|
2010
1950
|
config: config)
|
2011
1951
|
context[:gem_name] = 'aws-sdk-connectwisdomservice'
|
2012
|
-
context[:gem_version] = '1.
|
1952
|
+
context[:gem_version] = '1.9.0'
|
2013
1953
|
Seahorse::Client::Request.new(handlers, context)
|
2014
1954
|
end
|
2015
1955
|
|
@@ -59,7 +59,6 @@ module Aws::ConnectWisdomService
|
|
59
59
|
Description = Shapes::StringShape.new(name: 'Description')
|
60
60
|
Document = Shapes::StructureShape.new(name: 'Document')
|
61
61
|
DocumentText = Shapes::StructureShape.new(name: 'DocumentText')
|
62
|
-
FeedbackData = Shapes::StructureShape.new(name: 'FeedbackData')
|
63
62
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
64
63
|
FilterField = Shapes::StringShape.new(name: 'FilterField')
|
65
64
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
@@ -110,8 +109,6 @@ module Aws::ConnectWisdomService
|
|
110
109
|
NotifyRecommendationsReceivedResponse = Shapes::StructureShape.new(name: 'NotifyRecommendationsReceivedResponse')
|
111
110
|
ObjectFieldsList = Shapes::ListShape.new(name: 'ObjectFieldsList')
|
112
111
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
113
|
-
PutFeedbackRequest = Shapes::StructureShape.new(name: 'PutFeedbackRequest')
|
114
|
-
PutFeedbackResponse = Shapes::StructureShape.new(name: 'PutFeedbackResponse')
|
115
112
|
QueryAssistantRequest = Shapes::StructureShape.new(name: 'QueryAssistantRequest')
|
116
113
|
QueryAssistantResponse = Shapes::StructureShape.new(name: 'QueryAssistantResponse')
|
117
114
|
QueryRecommendationTriggerData = Shapes::StructureShape.new(name: 'QueryRecommendationTriggerData')
|
@@ -126,7 +123,6 @@ module Aws::ConnectWisdomService
|
|
126
123
|
RecommendationTriggerList = Shapes::ListShape.new(name: 'RecommendationTriggerList')
|
127
124
|
RecommendationTriggerType = Shapes::StringShape.new(name: 'RecommendationTriggerType')
|
128
125
|
RecommendationType = Shapes::StringShape.new(name: 'RecommendationType')
|
129
|
-
Relevance = Shapes::StringShape.new(name: 'Relevance')
|
130
126
|
RelevanceLevel = Shapes::StringShape.new(name: 'RelevanceLevel')
|
131
127
|
RelevanceScore = Shapes::FloatShape.new(name: 'RelevanceScore')
|
132
128
|
RemoveKnowledgeBaseTemplateUriRequest = Shapes::StructureShape.new(name: 'RemoveKnowledgeBaseTemplateUriRequest')
|
@@ -156,7 +152,6 @@ module Aws::ConnectWisdomService
|
|
156
152
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
157
153
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
158
154
|
Tags = Shapes::MapShape.new(name: 'Tags')
|
159
|
-
TargetType = Shapes::StringShape.new(name: 'TargetType')
|
160
155
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
161
156
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
162
157
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
@@ -363,9 +358,6 @@ module Aws::ConnectWisdomService
|
|
363
358
|
DocumentText.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "text"))
|
364
359
|
DocumentText.struct_class = Types::DocumentText
|
365
360
|
|
366
|
-
FeedbackData.add_member(:relevance, Shapes::ShapeRef.new(shape: Relevance, required: true, location_name: "relevance"))
|
367
|
-
FeedbackData.struct_class = Types::FeedbackData
|
368
|
-
|
369
361
|
Filter.add_member(:field, Shapes::ShapeRef.new(shape: FilterField, required: true, location_name: "field"))
|
370
362
|
Filter.add_member(:operator, Shapes::ShapeRef.new(shape: FilterOperator, required: true, location_name: "operator"))
|
371
363
|
Filter.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "value"))
|
@@ -523,19 +515,6 @@ module Aws::ConnectWisdomService
|
|
523
515
|
PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
524
516
|
PreconditionFailedException.struct_class = Types::PreconditionFailedException
|
525
517
|
|
526
|
-
PutFeedbackRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
527
|
-
PutFeedbackRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: FeedbackData, required: true, location_name: "feedback"))
|
528
|
-
PutFeedbackRequest.add_member(:target_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetId"))
|
529
|
-
PutFeedbackRequest.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, required: true, location_name: "targetType"))
|
530
|
-
PutFeedbackRequest.struct_class = Types::PutFeedbackRequest
|
531
|
-
|
532
|
-
PutFeedbackResponse.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location_name: "assistantArn"))
|
533
|
-
PutFeedbackResponse.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
|
534
|
-
PutFeedbackResponse.add_member(:feedback, Shapes::ShapeRef.new(shape: FeedbackData, required: true, location_name: "feedback"))
|
535
|
-
PutFeedbackResponse.add_member(:target_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "targetId"))
|
536
|
-
PutFeedbackResponse.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, required: true, location_name: "targetType"))
|
537
|
-
PutFeedbackResponse.struct_class = Types::PutFeedbackResponse
|
538
|
-
|
539
518
|
QueryAssistantRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
540
519
|
QueryAssistantRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
541
520
|
QueryAssistantRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
@@ -985,17 +964,6 @@ module Aws::ConnectWisdomService
|
|
985
964
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
986
965
|
end)
|
987
966
|
|
988
|
-
api.add_operation(:put_feedback, Seahorse::Model::Operation.new.tap do |o|
|
989
|
-
o.name = "PutFeedback"
|
990
|
-
o.http_method = "PUT"
|
991
|
-
o.http_request_uri = "/assistants/{assistantId}/feedback"
|
992
|
-
o.input = Shapes::ShapeRef.new(shape: PutFeedbackRequest)
|
993
|
-
o.output = Shapes::ShapeRef.new(shape: PutFeedbackResponse)
|
994
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
995
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
996
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
997
|
-
end)
|
998
|
-
|
999
967
|
api.add_operation(:query_assistant, Seahorse::Model::Operation.new.tap do |o|
|
1000
968
|
o.name = "QueryAssistant"
|
1001
969
|
o.http_method = "POST"
|
@@ -1044,27 +1044,6 @@ module Aws::ConnectWisdomService
|
|
1044
1044
|
include Aws::Structure
|
1045
1045
|
end
|
1046
1046
|
|
1047
|
-
# The feedback to submit to Wisdom.
|
1048
|
-
#
|
1049
|
-
# @note When making an API call, you may pass FeedbackData
|
1050
|
-
# data as a hash:
|
1051
|
-
#
|
1052
|
-
# {
|
1053
|
-
# relevance: "HELPFUL", # required, accepts HELPFUL, NOT_HELPFUL
|
1054
|
-
# }
|
1055
|
-
#
|
1056
|
-
# @!attribute [rw] relevance
|
1057
|
-
# The relevance of the target this feedback is for.
|
1058
|
-
# @return [String]
|
1059
|
-
#
|
1060
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/FeedbackData AWS API Documentation
|
1061
|
-
#
|
1062
|
-
class FeedbackData < Struct.new(
|
1063
|
-
:relevance)
|
1064
|
-
SENSITIVE = []
|
1065
|
-
include Aws::Structure
|
1066
|
-
end
|
1067
|
-
|
1068
1047
|
# A search filter.
|
1069
1048
|
#
|
1070
1049
|
# @note When making an API call, you may pass Filter
|
@@ -1854,80 +1833,6 @@ module Aws::ConnectWisdomService
|
|
1854
1833
|
include Aws::Structure
|
1855
1834
|
end
|
1856
1835
|
|
1857
|
-
# @note When making an API call, you may pass PutFeedbackRequest
|
1858
|
-
# data as a hash:
|
1859
|
-
#
|
1860
|
-
# {
|
1861
|
-
# assistant_id: "UuidOrArn", # required
|
1862
|
-
# feedback: { # required
|
1863
|
-
# relevance: "HELPFUL", # required, accepts HELPFUL, NOT_HELPFUL
|
1864
|
-
# },
|
1865
|
-
# target_id: "String", # required
|
1866
|
-
# target_type: "RECOMMENDATION", # required, accepts RECOMMENDATION, RESULT
|
1867
|
-
# }
|
1868
|
-
#
|
1869
|
-
# @!attribute [rw] assistant_id
|
1870
|
-
# The identifier of the Wisdom assistant. Can be either the ID or the
|
1871
|
-
# ARN. URLs cannot contain the ARN.
|
1872
|
-
# @return [String]
|
1873
|
-
#
|
1874
|
-
# @!attribute [rw] feedback
|
1875
|
-
# The feedback.
|
1876
|
-
# @return [Types::FeedbackData]
|
1877
|
-
#
|
1878
|
-
# @!attribute [rw] target_id
|
1879
|
-
# The identifier of a recommendation. or The identifier of the result
|
1880
|
-
# data.
|
1881
|
-
# @return [String]
|
1882
|
-
#
|
1883
|
-
# @!attribute [rw] target_type
|
1884
|
-
# The type of the targetId for which The feedback. is targeted.
|
1885
|
-
# @return [String]
|
1886
|
-
#
|
1887
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/PutFeedbackRequest AWS API Documentation
|
1888
|
-
#
|
1889
|
-
class PutFeedbackRequest < Struct.new(
|
1890
|
-
:assistant_id,
|
1891
|
-
:feedback,
|
1892
|
-
:target_id,
|
1893
|
-
:target_type)
|
1894
|
-
SENSITIVE = []
|
1895
|
-
include Aws::Structure
|
1896
|
-
end
|
1897
|
-
|
1898
|
-
# @!attribute [rw] assistant_arn
|
1899
|
-
# The Amazon Resource Name (ARN) of the Wisdom assistant.
|
1900
|
-
# @return [String]
|
1901
|
-
#
|
1902
|
-
# @!attribute [rw] assistant_id
|
1903
|
-
# The identifier of the Wisdom assistant.
|
1904
|
-
# @return [String]
|
1905
|
-
#
|
1906
|
-
# @!attribute [rw] feedback
|
1907
|
-
# The feedback.
|
1908
|
-
# @return [Types::FeedbackData]
|
1909
|
-
#
|
1910
|
-
# @!attribute [rw] target_id
|
1911
|
-
# The identifier of a recommendation. or The identifier of the result
|
1912
|
-
# data.
|
1913
|
-
# @return [String]
|
1914
|
-
#
|
1915
|
-
# @!attribute [rw] target_type
|
1916
|
-
# The type of the targetId for which The feedback. is targeted.
|
1917
|
-
# @return [String]
|
1918
|
-
#
|
1919
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/PutFeedbackResponse AWS API Documentation
|
1920
|
-
#
|
1921
|
-
class PutFeedbackResponse < Struct.new(
|
1922
|
-
:assistant_arn,
|
1923
|
-
:assistant_id,
|
1924
|
-
:feedback,
|
1925
|
-
:target_id,
|
1926
|
-
:target_type)
|
1927
|
-
SENSITIVE = []
|
1928
|
-
include Aws::Structure
|
1929
|
-
end
|
1930
|
-
|
1931
1836
|
# @note When making an API call, you may pass QueryAssistantRequest
|
1932
1837
|
# data as a hash:
|
1933
1838
|
#
|
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.9.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-
|
11
|
+
date: 2022-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|