aws-sdk-connectcontactlens 1.30.0 → 1.31.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectcontactlens/client.rb +5 -2
- data/lib/aws-sdk-connectcontactlens/client_api.rb +10 -0
- data/lib/aws-sdk-connectcontactlens/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-connectcontactlens/types.rb +56 -4
- data/lib/aws-sdk-connectcontactlens.rb +1 -1
- data/sig/types.rbs +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3ec8a977417203411331798972f91793f7079f790d1b211fd0a48318834eec3
|
4
|
+
data.tar.gz: 689d1d03bc73036d013e610687d592dafabb2013453daa68621d6566b8caae66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f4fa03501d1f63464923f3a2d3297ac2f3b54f9a9142a72b62601f29a20c9f6b0cc2cba3ca9bf282133ff7a823d894cf19a280ae212e198510c892be7230fab
|
7
|
+
data.tar.gz: 55395585bacc32fc0a556216811934ed41fe1b288c6b419637a92b7aa19c47e6d093f3659951c93853eb63684c2b9cdd9f85147ed9ddf12ac3b9f13e1e4740ac
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
@@ -434,7 +434,7 @@ module Aws::ConnectContactLens
|
|
434
434
|
# The identifier of the contact.
|
435
435
|
#
|
436
436
|
# @option params [Integer] :max_results
|
437
|
-
# The
|
437
|
+
# The maximum number of results to return per page.
|
438
438
|
#
|
439
439
|
# @option params [String] :next_token
|
440
440
|
# The token for the next set of results. Use the value returned in the
|
@@ -476,6 +476,9 @@ module Aws::ConnectContactLens
|
|
476
476
|
# resp.segments[0].categories.matched_details["CategoryName"].points_of_interest #=> Array
|
477
477
|
# resp.segments[0].categories.matched_details["CategoryName"].points_of_interest[0].begin_offset_millis #=> Integer
|
478
478
|
# resp.segments[0].categories.matched_details["CategoryName"].points_of_interest[0].end_offset_millis #=> Integer
|
479
|
+
# resp.segments[0].post_contact_summary.content #=> String
|
480
|
+
# resp.segments[0].post_contact_summary.status #=> String, one of "FAILED", "COMPLETED"
|
481
|
+
# resp.segments[0].post_contact_summary.failure_code #=> String, one of "QUOTA_EXCEEDED", "INSUFFICIENT_CONVERSATION_CONTENT", "FAILED_SAFETY_GUIDELINES", "INVALID_ANALYSIS_CONFIGURATION", "INTERNAL_ERROR"
|
479
482
|
# resp.next_token #=> String
|
480
483
|
#
|
481
484
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-contact-lens-2020-08-21/ListRealtimeContactAnalysisSegments AWS API Documentation
|
@@ -500,7 +503,7 @@ module Aws::ConnectContactLens
|
|
500
503
|
params: params,
|
501
504
|
config: config)
|
502
505
|
context[:gem_name] = 'aws-sdk-connectcontactlens'
|
503
|
-
context[:gem_version] = '1.
|
506
|
+
context[:gem_version] = '1.31.0'
|
504
507
|
Seahorse::Client::Request.new(handlers, context)
|
505
508
|
end
|
506
509
|
|
@@ -37,6 +37,10 @@ module Aws::ConnectContactLens
|
|
37
37
|
ParticipantRole = Shapes::StringShape.new(name: 'ParticipantRole')
|
38
38
|
PointOfInterest = Shapes::StructureShape.new(name: 'PointOfInterest')
|
39
39
|
PointsOfInterest = Shapes::ListShape.new(name: 'PointsOfInterest')
|
40
|
+
PostContactSummary = Shapes::StructureShape.new(name: 'PostContactSummary')
|
41
|
+
PostContactSummaryContent = Shapes::StringShape.new(name: 'PostContactSummaryContent')
|
42
|
+
PostContactSummaryFailureCode = Shapes::StringShape.new(name: 'PostContactSummaryFailureCode')
|
43
|
+
PostContactSummaryStatus = Shapes::StringShape.new(name: 'PostContactSummaryStatus')
|
40
44
|
RealtimeContactAnalysisSegment = Shapes::StructureShape.new(name: 'RealtimeContactAnalysisSegment')
|
41
45
|
RealtimeContactAnalysisSegments = Shapes::ListShape.new(name: 'RealtimeContactAnalysisSegments')
|
42
46
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -92,8 +96,14 @@ module Aws::ConnectContactLens
|
|
92
96
|
|
93
97
|
PointsOfInterest.member = Shapes::ShapeRef.new(shape: PointOfInterest)
|
94
98
|
|
99
|
+
PostContactSummary.add_member(:content, Shapes::ShapeRef.new(shape: PostContactSummaryContent, location_name: "Content"))
|
100
|
+
PostContactSummary.add_member(:status, Shapes::ShapeRef.new(shape: PostContactSummaryStatus, required: true, location_name: "Status"))
|
101
|
+
PostContactSummary.add_member(:failure_code, Shapes::ShapeRef.new(shape: PostContactSummaryFailureCode, location_name: "FailureCode"))
|
102
|
+
PostContactSummary.struct_class = Types::PostContactSummary
|
103
|
+
|
95
104
|
RealtimeContactAnalysisSegment.add_member(:transcript, Shapes::ShapeRef.new(shape: Transcript, location_name: "Transcript"))
|
96
105
|
RealtimeContactAnalysisSegment.add_member(:categories, Shapes::ShapeRef.new(shape: Categories, location_name: "Categories"))
|
106
|
+
RealtimeContactAnalysisSegment.add_member(:post_contact_summary, Shapes::ShapeRef.new(shape: PostContactSummary, location_name: "PostContactSummary"))
|
97
107
|
RealtimeContactAnalysisSegment.struct_class = Types::RealtimeContactAnalysisSegment
|
98
108
|
|
99
109
|
RealtimeContactAnalysisSegments.member = Shapes::ShapeRef.new(shape: RealtimeContactAnalysisSegment)
|
@@ -32,7 +32,7 @@ module Aws::ConnectContactLens
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://contact-lens-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -128,7 +128,7 @@ module Aws::ConnectContactLens
|
|
128
128
|
# @return [String]
|
129
129
|
#
|
130
130
|
# @!attribute [rw] max_results
|
131
|
-
# The
|
131
|
+
# The maximum number of results to return per page.
|
132
132
|
# @return [Integer]
|
133
133
|
#
|
134
134
|
# @!attribute [rw] next_token
|
@@ -198,6 +198,52 @@ module Aws::ConnectContactLens
|
|
198
198
|
include Aws::Structure
|
199
199
|
end
|
200
200
|
|
201
|
+
# Information about the post-contact summary.
|
202
|
+
#
|
203
|
+
# @!attribute [rw] content
|
204
|
+
# The content of the summary.
|
205
|
+
# @return [String]
|
206
|
+
#
|
207
|
+
# @!attribute [rw] status
|
208
|
+
# Whether the summary was successfully COMPLETED or FAILED to be
|
209
|
+
# generated.
|
210
|
+
# @return [String]
|
211
|
+
#
|
212
|
+
# @!attribute [rw] failure_code
|
213
|
+
# If the summary failed to be generated, one of the following failure
|
214
|
+
# codes occurs:
|
215
|
+
#
|
216
|
+
# * `QUOTA_EXCEEDED`: The number of concurrent analytics jobs reached
|
217
|
+
# your service quota.
|
218
|
+
#
|
219
|
+
# * `INSUFFICIENT_CONVERSATION_CONTENT`: The conversation needs to
|
220
|
+
# have at least one turn from both the participants in order to
|
221
|
+
# generate the summary.
|
222
|
+
#
|
223
|
+
# * `FAILED_SAFETY_GUIDELINES`: The generated summary cannot be
|
224
|
+
# provided because it failed to meet system safety guidelines.
|
225
|
+
#
|
226
|
+
# * `INVALID_ANALYSIS_CONFIGURATION`: This code occurs when, for
|
227
|
+
# example, you're using a [language][1] that isn't supported by
|
228
|
+
# generative AI-powered post-contact summaries.
|
229
|
+
#
|
230
|
+
# * `INTERNAL_ERROR`: Internal system error.
|
231
|
+
#
|
232
|
+
#
|
233
|
+
#
|
234
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/supported-languages.html#supported-languages-contact-lens
|
235
|
+
# @return [String]
|
236
|
+
#
|
237
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-contact-lens-2020-08-21/PostContactSummary AWS API Documentation
|
238
|
+
#
|
239
|
+
class PostContactSummary < Struct.new(
|
240
|
+
:content,
|
241
|
+
:status,
|
242
|
+
:failure_code)
|
243
|
+
SENSITIVE = []
|
244
|
+
include Aws::Structure
|
245
|
+
end
|
246
|
+
|
201
247
|
# An analyzed segment for a real-time analysis session.
|
202
248
|
#
|
203
249
|
# @!attribute [rw] transcript
|
@@ -208,11 +254,16 @@ module Aws::ConnectContactLens
|
|
208
254
|
# The matched category rules.
|
209
255
|
# @return [Types::Categories]
|
210
256
|
#
|
257
|
+
# @!attribute [rw] post_contact_summary
|
258
|
+
# Information about the post-contact summary.
|
259
|
+
# @return [Types::PostContactSummary]
|
260
|
+
#
|
211
261
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-contact-lens-2020-08-21/RealtimeContactAnalysisSegment AWS API Documentation
|
212
262
|
#
|
213
263
|
class RealtimeContactAnalysisSegment < Struct.new(
|
214
264
|
:transcript,
|
215
|
-
:categories
|
265
|
+
:categories,
|
266
|
+
:post_contact_summary)
|
216
267
|
SENSITIVE = []
|
217
268
|
include Aws::Structure
|
218
269
|
end
|
@@ -250,7 +301,8 @@ module Aws::ConnectContactLens
|
|
250
301
|
# @return [String]
|
251
302
|
#
|
252
303
|
# @!attribute [rw] participant_id
|
253
|
-
# The identifier of the participant.
|
304
|
+
# The identifier of the participant. Valid values are CUSTOMER or
|
305
|
+
# AGENT.
|
254
306
|
# @return [String]
|
255
307
|
#
|
256
308
|
# @!attribute [rw] participant_role
|
@@ -271,7 +323,7 @@ module Aws::ConnectContactLens
|
|
271
323
|
# @return [Integer]
|
272
324
|
#
|
273
325
|
# @!attribute [rw] sentiment
|
274
|
-
# The sentiment
|
326
|
+
# The sentiment detected for this piece of transcript.
|
275
327
|
# @return [String]
|
276
328
|
#
|
277
329
|
# @!attribute [rw] issues_detected
|
data/sig/types.rbs
CHANGED
@@ -65,9 +65,17 @@ module Aws::ConnectContactLens
|
|
65
65
|
SENSITIVE: []
|
66
66
|
end
|
67
67
|
|
68
|
+
class PostContactSummary
|
69
|
+
attr_accessor content: ::String
|
70
|
+
attr_accessor status: ("FAILED" | "COMPLETED")
|
71
|
+
attr_accessor failure_code: ("QUOTA_EXCEEDED" | "INSUFFICIENT_CONVERSATION_CONTENT" | "FAILED_SAFETY_GUIDELINES" | "INVALID_ANALYSIS_CONFIGURATION" | "INTERNAL_ERROR")
|
72
|
+
SENSITIVE: []
|
73
|
+
end
|
74
|
+
|
68
75
|
class RealtimeContactAnalysisSegment
|
69
76
|
attr_accessor transcript: Types::Transcript
|
70
77
|
attr_accessor categories: Types::Categories
|
78
|
+
attr_accessor post_contact_summary: Types::PostContactSummary
|
71
79
|
SENSITIVE: []
|
72
80
|
end
|
73
81
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connectcontactlens
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.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: 2024-07-
|
11
|
+
date: 2024-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|