aws-sdk-connectcontactlens 1.30.0 → 1.32.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: 362e141109d9b2b8d69c7141c3cb6eab6176efd6a4c07c4002488d2d6b14b420
4
- data.tar.gz: 69187d7d3849fd033c9f1bc98b4eae1bda2cdc333196d858e3bf799a5b7e5752
3
+ metadata.gz: e3fe6b46a7424011604f5c2cc5e5e1fe63132552fe29f9f6eaebd67b82451661
4
+ data.tar.gz: b99ac38559a9a0df6b80ecbbf29ef802130e09b7d402a145d11b482115d1fbbf
5
5
  SHA512:
6
- metadata.gz: 46478b7cd88597d2225e9413de667202b4e8e1e5aa64501ddbb335bd515b158a61fcfc4ebe3f7a8fc7905818cc7742111c659591710cdc7146d2760646389937
7
- data.tar.gz: 5c5192152b770b4ce836c29039db5111ffcc0dbe354880a80d3e8cddcc84470a83a3949e0444e90628f2a197f96f48535574176091a045f17b33d08d567c506f
6
+ metadata.gz: f5bb83ca23651da232f481d9450a9da37ddb4eaaf15860ac64423e71943917fe66dbb487bcdd5904fd871ad873c80f2c8d5b2f4857109b128b1891a37d5a9802
7
+ data.tar.gz: bec9bbc56dcb43c6689688b72f006fca91633f99e255b90129aa2339ccb4c0da3b04837a1e68bed36cd9e14f23094479805fb7138555cb9612f6d93962146d5f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.32.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.31.0 (2024-07-23)
10
+ ------------------
11
+
12
+ * Feature - Added PostContactSummary segment type on ListRealTimeContactAnalysisSegments API
13
+
4
14
  1.30.0 (2024-07-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.30.0
1
+ 1.32.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::ConnectContactLens
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::RestJson)
88
90
  add_plugin(Aws::ConnectContactLens::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::ConnectContactLens
330
332
  # ** Please note ** When response stubbing is enabled, no HTTP
331
333
  # requests are made, and retries are disabled.
332
334
  #
335
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
336
+ # Allows you to provide a telemetry provider, which is used to
337
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
338
+ # will not record or emit any telemetry data. The SDK supports the
339
+ # following telemetry providers:
340
+ #
341
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
342
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
343
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
344
+ #
333
345
  # @option options [Aws::TokenProvider] :token_provider
334
346
  # A Bearer Token Provider. This can be an instance of any one of the
335
347
  # following classes:
@@ -434,7 +446,7 @@ module Aws::ConnectContactLens
434
446
  # The identifier of the contact.
435
447
  #
436
448
  # @option params [Integer] :max_results
437
- # The maximimum number of results to return per page.
449
+ # The maximum number of results to return per page.
438
450
  #
439
451
  # @option params [String] :next_token
440
452
  # The token for the next set of results. Use the value returned in the
@@ -476,6 +488,9 @@ module Aws::ConnectContactLens
476
488
  # resp.segments[0].categories.matched_details["CategoryName"].points_of_interest #=> Array
477
489
  # resp.segments[0].categories.matched_details["CategoryName"].points_of_interest[0].begin_offset_millis #=> Integer
478
490
  # resp.segments[0].categories.matched_details["CategoryName"].points_of_interest[0].end_offset_millis #=> Integer
491
+ # resp.segments[0].post_contact_summary.content #=> String
492
+ # resp.segments[0].post_contact_summary.status #=> String, one of "FAILED", "COMPLETED"
493
+ # 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
494
  # resp.next_token #=> String
480
495
  #
481
496
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-contact-lens-2020-08-21/ListRealtimeContactAnalysisSegments AWS API Documentation
@@ -493,14 +508,19 @@ module Aws::ConnectContactLens
493
508
  # @api private
494
509
  def build_request(operation_name, params = {})
495
510
  handlers = @handlers.for(operation_name)
511
+ tracer = config.telemetry_provider.tracer_provider.tracer(
512
+ Aws::Telemetry.module_to_tracer_name('Aws::ConnectContactLens')
513
+ )
496
514
  context = Seahorse::Client::RequestContext.new(
497
515
  operation_name: operation_name,
498
516
  operation: config.api.operation(operation_name),
499
517
  client: self,
500
518
  params: params,
501
- config: config)
519
+ config: config,
520
+ tracer: tracer
521
+ )
502
522
  context[:gem_name] = 'aws-sdk-connectcontactlens'
503
- context[:gem_version] = '1.30.0'
523
+ context[:gem_version] = '1.32.0'
504
524
  Seahorse::Client::Request.new(handlers, context)
505
525
  end
506
526
 
@@ -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?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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 maximimum number of results to return per page.
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 of the detected for this piece of transcript.
326
+ # The sentiment detected for this piece of transcript.
275
327
  # @return [String]
276
328
  #
277
329
  # @!attribute [rw] issues_detected
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connectcontactlens/customizations'
52
52
  # @!group service
53
53
  module Aws::ConnectContactLens
54
54
 
55
- GEM_VERSION = '1.30.0'
55
+ GEM_VERSION = '1.32.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
data/sig/resource.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
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.30.0
4
+ version: 1.32.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-02 00:00:00.000000000 Z
11
+ date: 2024-09-03 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.201.0
22
+ version: 3.203.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.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement