aws-sdk-connectcontactlens 1.60.0 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectcontactlens/client.rb +17 -2
- data/lib/aws-sdk-connectcontactlens/client_api.rb +22 -0
- data/lib/aws-sdk-connectcontactlens/types.rb +85 -7
- data/lib/aws-sdk-connectcontactlens.rb +1 -1
- data/sig/types.rbs +16 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 00d759d2e9ea376cee147d2b1f86bdd7787d536e09f27ba8609aa6a5fdcce691
|
|
4
|
+
data.tar.gz: 3223290742c7147d571e4c50e67924274daa6adecbf0e8fe2fe5a5ffb30f638e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 754e3d3672774e91d1c873858601feed286ab4508dd09d252f945fb3fffe11985178872166bd7dce9de2341cf3b393e813477a794d5d0606425102ec09dfb9c8
|
|
7
|
+
data.tar.gz: 1200977981c28ffab3efb6f63c06ace70451dd2c82d1bde96a7cd1126e9cdcd014f27919a1bd915254eadc345519a8980cefaaed4d592773ee9b5a7cbd939e76
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.61.0 (2026-08-24)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds the ExtractedInformation segment to the ListRealtimeContactAnalysisSegments API, enabling customers to retrieve information extracted from real-time contact analysis.
|
|
8
|
+
|
|
4
9
|
1.60.0 (2026-07-09)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.61.0
|
|
@@ -474,7 +474,13 @@ module Aws::ConnectContactLens
|
|
|
474
474
|
|
|
475
475
|
# @!group API Operations
|
|
476
476
|
|
|
477
|
-
# Provides a list of analysis segments for a real-time analysis session
|
|
477
|
+
# Provides a list of analysis segments for a real-time analysis session
|
|
478
|
+
# for voice.
|
|
479
|
+
#
|
|
480
|
+
# <note markdown="1"> Voice data is retained for 24 hours. You must invoke this API during
|
|
481
|
+
# that time.
|
|
482
|
+
#
|
|
483
|
+
# </note>
|
|
478
484
|
#
|
|
479
485
|
# @option params [required, String] :instance_id
|
|
480
486
|
# The identifier of the Amazon Connect instance.
|
|
@@ -528,6 +534,15 @@ module Aws::ConnectContactLens
|
|
|
528
534
|
# resp.segments[0].post_contact_summary.content #=> String
|
|
529
535
|
# resp.segments[0].post_contact_summary.status #=> String, one of "FAILED", "COMPLETED"
|
|
530
536
|
# resp.segments[0].post_contact_summary.failure_code #=> String, one of "QUOTA_EXCEEDED", "INSUFFICIENT_CONVERSATION_CONTENT", "FAILED_SAFETY_GUIDELINES", "INVALID_ANALYSIS_CONFIGURATION", "INTERNAL_ERROR"
|
|
537
|
+
# resp.segments[0].extracted_information.extraction_definition_id #=> String
|
|
538
|
+
# resp.segments[0].extracted_information.extraction_definition_name #=> String
|
|
539
|
+
# resp.segments[0].extracted_information.extraction_definition_display_label #=> String
|
|
540
|
+
# resp.segments[0].extracted_information.extracted_values #=> Array
|
|
541
|
+
# resp.segments[0].extracted_information.extracted_values[0].content #=> String
|
|
542
|
+
# resp.segments[0].extracted_information.extracted_values[0].points_of_interest #=> Array
|
|
543
|
+
# resp.segments[0].extracted_information.extracted_values[0].points_of_interest[0].begin_offset_millis #=> Integer
|
|
544
|
+
# resp.segments[0].extracted_information.extracted_values[0].points_of_interest[0].end_offset_millis #=> Integer
|
|
545
|
+
# resp.segments[0].extracted_information.failure_code #=> String, one of "QUOTA_EXCEEDED", "INSUFFICIENT_CONVERSATION_CONTENT", "FAILED_SAFETY_GUIDELINES", "INTERNAL_ERROR", "MAX_PACKAGE_FEATURE_ONLY"
|
|
531
546
|
# resp.next_token #=> String
|
|
532
547
|
#
|
|
533
548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-contact-lens-2020-08-21/ListRealtimeContactAnalysisSegments AWS API Documentation
|
|
@@ -557,7 +572,7 @@ module Aws::ConnectContactLens
|
|
|
557
572
|
tracer: tracer
|
|
558
573
|
)
|
|
559
574
|
context[:gem_name] = 'aws-sdk-connectcontactlens'
|
|
560
|
-
context[:gem_version] = '1.
|
|
575
|
+
context[:gem_version] = '1.61.0'
|
|
561
576
|
Seahorse::Client::Request.new(handlers, context)
|
|
562
577
|
end
|
|
563
578
|
|
|
@@ -21,6 +21,14 @@ module Aws::ConnectContactLens
|
|
|
21
21
|
CharacterOffset = Shapes::IntegerShape.new(name: 'CharacterOffset')
|
|
22
22
|
CharacterOffsets = Shapes::StructureShape.new(name: 'CharacterOffsets')
|
|
23
23
|
ContactId = Shapes::StringShape.new(name: 'ContactId')
|
|
24
|
+
ExtractedInformation = Shapes::StructureShape.new(name: 'ExtractedInformation')
|
|
25
|
+
ExtractedInformationContent = Shapes::StringShape.new(name: 'ExtractedInformationContent')
|
|
26
|
+
ExtractedInformationFailureCode = Shapes::StringShape.new(name: 'ExtractedInformationFailureCode')
|
|
27
|
+
ExtractedInformationValue = Shapes::StructureShape.new(name: 'ExtractedInformationValue')
|
|
28
|
+
ExtractedInformationValues = Shapes::ListShape.new(name: 'ExtractedInformationValues')
|
|
29
|
+
ExtractionDefinitionDisplayLabel = Shapes::StringShape.new(name: 'ExtractionDefinitionDisplayLabel')
|
|
30
|
+
ExtractionDefinitionId = Shapes::StringShape.new(name: 'ExtractionDefinitionId')
|
|
31
|
+
ExtractionDefinitionName = Shapes::StringShape.new(name: 'ExtractionDefinitionName')
|
|
24
32
|
InstanceId = Shapes::StringShape.new(name: 'InstanceId')
|
|
25
33
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
|
26
34
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
|
@@ -65,6 +73,19 @@ module Aws::ConnectContactLens
|
|
|
65
73
|
CharacterOffsets.add_member(:end_offset_char, Shapes::ShapeRef.new(shape: CharacterOffset, required: true, location_name: "EndOffsetChar"))
|
|
66
74
|
CharacterOffsets.struct_class = Types::CharacterOffsets
|
|
67
75
|
|
|
76
|
+
ExtractedInformation.add_member(:extraction_definition_id, Shapes::ShapeRef.new(shape: ExtractionDefinitionId, required: true, location_name: "ExtractionDefinitionId"))
|
|
77
|
+
ExtractedInformation.add_member(:extraction_definition_name, Shapes::ShapeRef.new(shape: ExtractionDefinitionName, required: true, location_name: "ExtractionDefinitionName"))
|
|
78
|
+
ExtractedInformation.add_member(:extraction_definition_display_label, Shapes::ShapeRef.new(shape: ExtractionDefinitionDisplayLabel, location_name: "ExtractionDefinitionDisplayLabel"))
|
|
79
|
+
ExtractedInformation.add_member(:extracted_values, Shapes::ShapeRef.new(shape: ExtractedInformationValues, location_name: "ExtractedValues"))
|
|
80
|
+
ExtractedInformation.add_member(:failure_code, Shapes::ShapeRef.new(shape: ExtractedInformationFailureCode, location_name: "FailureCode"))
|
|
81
|
+
ExtractedInformation.struct_class = Types::ExtractedInformation
|
|
82
|
+
|
|
83
|
+
ExtractedInformationValue.add_member(:content, Shapes::ShapeRef.new(shape: ExtractedInformationContent, required: true, location_name: "Content"))
|
|
84
|
+
ExtractedInformationValue.add_member(:points_of_interest, Shapes::ShapeRef.new(shape: PointsOfInterest, required: true, location_name: "PointsOfInterest"))
|
|
85
|
+
ExtractedInformationValue.struct_class = Types::ExtractedInformationValue
|
|
86
|
+
|
|
87
|
+
ExtractedInformationValues.member = Shapes::ShapeRef.new(shape: ExtractedInformationValue)
|
|
88
|
+
|
|
68
89
|
InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
|
69
90
|
InternalServiceException.struct_class = Types::InternalServiceException
|
|
70
91
|
|
|
@@ -105,6 +126,7 @@ module Aws::ConnectContactLens
|
|
|
105
126
|
RealtimeContactAnalysisSegment.add_member(:transcript, Shapes::ShapeRef.new(shape: Transcript, location_name: "Transcript"))
|
|
106
127
|
RealtimeContactAnalysisSegment.add_member(:categories, Shapes::ShapeRef.new(shape: Categories, location_name: "Categories"))
|
|
107
128
|
RealtimeContactAnalysisSegment.add_member(:post_contact_summary, Shapes::ShapeRef.new(shape: PostContactSummary, location_name: "PostContactSummary"))
|
|
129
|
+
RealtimeContactAnalysisSegment.add_member(:extracted_information, Shapes::ShapeRef.new(shape: ExtractedInformation, location_name: "ExtractedInformation"))
|
|
108
130
|
RealtimeContactAnalysisSegment.struct_class = Types::RealtimeContactAnalysisSegment
|
|
109
131
|
|
|
110
132
|
RealtimeContactAnalysisSegments.member = Shapes::ShapeRef.new(shape: RealtimeContactAnalysisSegment)
|
|
@@ -78,6 +78,82 @@ module Aws::ConnectContactLens
|
|
|
78
78
|
include Aws::Structure
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
+
# Segment containing information extracted from the conversation. Each
|
|
82
|
+
# segment represents the results for a single extraction definition.
|
|
83
|
+
#
|
|
84
|
+
# @!attribute [rw] extraction_definition_id
|
|
85
|
+
# The identifier of the extraction definition that produced this
|
|
86
|
+
# result.
|
|
87
|
+
# @return [String]
|
|
88
|
+
#
|
|
89
|
+
# @!attribute [rw] extraction_definition_name
|
|
90
|
+
# The name of the extraction definition that produced this result.
|
|
91
|
+
# @return [String]
|
|
92
|
+
#
|
|
93
|
+
# @!attribute [rw] extraction_definition_display_label
|
|
94
|
+
# The display label of the extraction definition that produced this
|
|
95
|
+
# result.
|
|
96
|
+
# @return [String]
|
|
97
|
+
#
|
|
98
|
+
# @!attribute [rw] extracted_values
|
|
99
|
+
# The list of values extracted from the conversation for this
|
|
100
|
+
# extraction definition. This field is empty when a `FailureCode` is
|
|
101
|
+
# present.
|
|
102
|
+
# @return [Array<Types::ExtractedInformationValue>]
|
|
103
|
+
#
|
|
104
|
+
# @!attribute [rw] failure_code
|
|
105
|
+
# If the information failed to be extracted, one of the following
|
|
106
|
+
# failure codes occurs:
|
|
107
|
+
#
|
|
108
|
+
# * `QUOTA_EXCEEDED`: The number of concurrent analytics jobs reached
|
|
109
|
+
# your service quota.
|
|
110
|
+
#
|
|
111
|
+
# * `INSUFFICIENT_CONVERSATION_CONTENT`: Information extraction
|
|
112
|
+
# requires a conversation with at least one turn from each
|
|
113
|
+
# participant.
|
|
114
|
+
#
|
|
115
|
+
# * `FAILED_SAFETY_GUIDELINES`: The extracted information cannot be
|
|
116
|
+
# provided because it failed to meet system safety guidelines.
|
|
117
|
+
#
|
|
118
|
+
# * `INTERNAL_ERROR`: Internal system error.
|
|
119
|
+
#
|
|
120
|
+
# * `MAX_PACKAGE_FEATURE_ONLY`: Information extraction is only
|
|
121
|
+
# available in Amazon Connect Customer instances.
|
|
122
|
+
# @return [String]
|
|
123
|
+
#
|
|
124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-contact-lens-2020-08-21/ExtractedInformation AWS API Documentation
|
|
125
|
+
#
|
|
126
|
+
class ExtractedInformation < Struct.new(
|
|
127
|
+
:extraction_definition_id,
|
|
128
|
+
:extraction_definition_name,
|
|
129
|
+
:extraction_definition_display_label,
|
|
130
|
+
:extracted_values,
|
|
131
|
+
:failure_code)
|
|
132
|
+
SENSITIVE = []
|
|
133
|
+
include Aws::Structure
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# An individual value extracted from the conversation, including its
|
|
137
|
+
# content and the locations where it was found.
|
|
138
|
+
#
|
|
139
|
+
# @!attribute [rw] content
|
|
140
|
+
# The text content of the extracted value.
|
|
141
|
+
# @return [String]
|
|
142
|
+
#
|
|
143
|
+
# @!attribute [rw] points_of_interest
|
|
144
|
+
# The sections in the conversation that indicate where the extracted
|
|
145
|
+
# value was found.
|
|
146
|
+
# @return [Array<Types::PointOfInterest>]
|
|
147
|
+
#
|
|
148
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-contact-lens-2020-08-21/ExtractedInformationValue AWS API Documentation
|
|
149
|
+
#
|
|
150
|
+
class ExtractedInformationValue < Struct.new(
|
|
151
|
+
:content,
|
|
152
|
+
:points_of_interest)
|
|
153
|
+
SENSITIVE = []
|
|
154
|
+
include Aws::Structure
|
|
155
|
+
end
|
|
156
|
+
|
|
81
157
|
# Request processing failed due to an error or failure with the service.
|
|
82
158
|
#
|
|
83
159
|
# @!attribute [rw] message
|
|
@@ -176,17 +252,14 @@ module Aws::ConnectContactLens
|
|
|
176
252
|
include Aws::Structure
|
|
177
253
|
end
|
|
178
254
|
|
|
179
|
-
# The section of the contact audio where
|
|
180
|
-
# detected.
|
|
255
|
+
# The section of the contact audio where a match was detected.
|
|
181
256
|
#
|
|
182
257
|
# @!attribute [rw] begin_offset_millis
|
|
183
|
-
# The beginning offset in milliseconds where the
|
|
184
|
-
# detected.
|
|
258
|
+
# The beginning offset (in milliseconds) where the match was detected.
|
|
185
259
|
# @return [Integer]
|
|
186
260
|
#
|
|
187
261
|
# @!attribute [rw] end_offset_millis
|
|
188
|
-
# The ending offset in milliseconds where the
|
|
189
|
-
# detected.
|
|
262
|
+
# The ending offset (in milliseconds) where the match was detected.
|
|
190
263
|
# @return [Integer]
|
|
191
264
|
#
|
|
192
265
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-contact-lens-2020-08-21/PointOfInterest AWS API Documentation
|
|
@@ -258,12 +331,17 @@ module Aws::ConnectContactLens
|
|
|
258
331
|
# Information about the post-contact summary.
|
|
259
332
|
# @return [Types::PostContactSummary]
|
|
260
333
|
#
|
|
334
|
+
# @!attribute [rw] extracted_information
|
|
335
|
+
# The extracted information from the conversation.
|
|
336
|
+
# @return [Types::ExtractedInformation]
|
|
337
|
+
#
|
|
261
338
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-contact-lens-2020-08-21/RealtimeContactAnalysisSegment AWS API Documentation
|
|
262
339
|
#
|
|
263
340
|
class RealtimeContactAnalysisSegment < Struct.new(
|
|
264
341
|
:transcript,
|
|
265
342
|
:categories,
|
|
266
|
-
:post_contact_summary
|
|
343
|
+
:post_contact_summary,
|
|
344
|
+
:extracted_information)
|
|
267
345
|
SENSITIVE = []
|
|
268
346
|
include Aws::Structure
|
|
269
347
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -30,6 +30,21 @@ module Aws::ConnectContactLens
|
|
|
30
30
|
SENSITIVE: []
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
+
class ExtractedInformation
|
|
34
|
+
attr_accessor extraction_definition_id: ::String
|
|
35
|
+
attr_accessor extraction_definition_name: ::String
|
|
36
|
+
attr_accessor extraction_definition_display_label: ::String
|
|
37
|
+
attr_accessor extracted_values: ::Array[Types::ExtractedInformationValue]
|
|
38
|
+
attr_accessor failure_code: ("QUOTA_EXCEEDED" | "INSUFFICIENT_CONVERSATION_CONTENT" | "FAILED_SAFETY_GUIDELINES" | "INTERNAL_ERROR" | "MAX_PACKAGE_FEATURE_ONLY")
|
|
39
|
+
SENSITIVE: []
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
class ExtractedInformationValue
|
|
43
|
+
attr_accessor content: ::String
|
|
44
|
+
attr_accessor points_of_interest: ::Array[Types::PointOfInterest]
|
|
45
|
+
SENSITIVE: []
|
|
46
|
+
end
|
|
47
|
+
|
|
33
48
|
class InternalServiceException
|
|
34
49
|
attr_accessor message: ::String
|
|
35
50
|
SENSITIVE: []
|
|
@@ -76,6 +91,7 @@ module Aws::ConnectContactLens
|
|
|
76
91
|
attr_accessor transcript: Types::Transcript
|
|
77
92
|
attr_accessor categories: Types::Categories
|
|
78
93
|
attr_accessor post_contact_summary: Types::PostContactSummary
|
|
94
|
+
attr_accessor extracted_information: Types::ExtractedInformation
|
|
79
95
|
SENSITIVE: []
|
|
80
96
|
end
|
|
81
97
|
|