aws-sdk-connect 1.259.0 → 1.261.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.
@@ -54,7 +54,7 @@ module Aws::Connect
54
54
  autoload :EndpointProvider, 'aws-sdk-connect/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-connect/endpoints'
56
56
 
57
- GEM_VERSION = '1.259.0'
57
+ GEM_VERSION = '1.261.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -538,6 +538,24 @@ module Aws
538
538
  ) -> _CreateAgentStatusResponseSuccess
539
539
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentStatusResponseSuccess
540
540
 
541
+ interface _CreateAttachedFileResponseSuccess
542
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAttachedFileResponse]
543
+ def file_arn: () -> ::String
544
+ def file_id: () -> ::String
545
+ def creation_time: () -> ::String
546
+ def file_status: () -> ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
547
+ end
548
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#create_attached_file-instance_method
549
+ def create_attached_file: (
550
+ ?client_token: ::String,
551
+ instance_id: ::String,
552
+ file_use_case_type: ("CONTACT_ANALYSIS" | "EMAIL_MESSAGE" | "EMAIL_MESSAGE_PLAIN_TEXT" | "EMAIL_MESSAGE_REDACTED" | "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED" | "ATTACHMENT" | "VOICE_RECORDING"),
553
+ file_source_uri: ::String,
554
+ associated_resource_arn: ::String,
555
+ ?tags: Hash[::String, ::String]
556
+ ) -> _CreateAttachedFileResponseSuccess
557
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAttachedFileResponseSuccess
558
+
541
559
  interface _CreateContactResponseSuccess
542
560
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateContactResponse]
543
561
  def contact_id: () -> ::String
@@ -719,10 +737,7 @@ module Aws
719
737
  items: Array[
720
738
  Params::evaluation_form_item
721
739
  ],
722
- ?scoring_strategy: {
723
- mode: ("QUESTION_ONLY" | "SECTION_ONLY"),
724
- status: ("ENABLED" | "DISABLED")
725
- },
740
+ ?scoring_strategy: Params::evaluation_form_scoring_strategy,
726
741
  ?auto_evaluation_configuration: {
727
742
  enabled: bool
728
743
  },
@@ -2242,7 +2257,7 @@ module Aws
2242
2257
  def file_name: () -> ::String
2243
2258
  def file_size_in_bytes: () -> ::Integer
2244
2259
  def associated_resource_arn: () -> ::String
2245
- def file_use_case_type: () -> ("CONTACT_ANALYSIS" | "EMAIL_MESSAGE" | "EMAIL_MESSAGE_PLAIN_TEXT" | "EMAIL_MESSAGE_REDACTED" | "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED" | "ATTACHMENT")
2260
+ def file_use_case_type: () -> ("CONTACT_ANALYSIS" | "EMAIL_MESSAGE" | "EMAIL_MESSAGE_PLAIN_TEXT" | "EMAIL_MESSAGE_REDACTED" | "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED" | "ATTACHMENT" | "VOICE_RECORDING")
2246
2261
  def created_by: () -> Types::CreatedByInfo
2247
2262
  def download_url_metadata: () -> Types::DownloadUrlMetadata
2248
2263
  def tags: () -> ::Hash[::String, ::String]
@@ -2353,6 +2368,23 @@ module Aws
2353
2368
  ) -> _GetEffectiveHoursOfOperationsResponseSuccess
2354
2369
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEffectiveHoursOfOperationsResponseSuccess
2355
2370
 
2371
+ interface _GetEvaluationFormValidationResponseSuccess
2372
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEvaluationFormValidationResponse]
2373
+ def status: () -> ("IN_PROGRESS" | "COMPLETED" | "FAILED")
2374
+ def failure_reason: () -> ::String
2375
+ def evaluation_form_id: () -> ::String
2376
+ def evaluation_form_version: () -> ::Integer
2377
+ def started_time: () -> ::Time
2378
+ def findings: () -> ::Array[Types::EvaluationFormValidationFinding]
2379
+ end
2380
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#get_evaluation_form_validation-instance_method
2381
+ def get_evaluation_form_validation: (
2382
+ instance_id: ::String,
2383
+ evaluation_form_id: ::String,
2384
+ ?evaluation_form_version: ::Integer
2385
+ ) -> _GetEvaluationFormValidationResponseSuccess
2386
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEvaluationFormValidationResponseSuccess
2387
+
2356
2388
  interface _GetFederationTokenResponseSuccess
2357
2389
  include ::Seahorse::Client::_ResponseSuccess[Types::GetFederationTokenResponse]
2358
2390
  def credentials: () -> Types::Credentials
@@ -3666,7 +3698,24 @@ module Aws
3666
3698
  ?max_results: ::Integer,
3667
3699
  ?search_criteria: Params::evaluation_search_criteria,
3668
3700
  ?search_filter: {
3669
- attribute_filter: Params::control_plane_attribute_filter?
3701
+ attribute_filter: Params::control_plane_attribute_filter?,
3702
+ contact_evaluation_attribute_filter: {
3703
+ or_conditions: Array[
3704
+ Params::contact_evaluation_attribute_and_condition
3705
+ ]?,
3706
+ and_condition: Params::contact_evaluation_attribute_and_condition?,
3707
+ tag_condition: {
3708
+ tag_key: ::String?,
3709
+ tag_value: ::String?
3710
+ }?,
3711
+ contact_evaluation_attribute_condition: {
3712
+ attribute_key: ("ContactAgentId")?,
3713
+ attribute_value: {
3714
+ string_value: ::String?
3715
+ }?,
3716
+ comparison_type: ("EXACT")?
3717
+ }?
3718
+ }?
3670
3719
  }
3671
3720
  ) -> _SearchContactEvaluationsResponseSuccess
3672
3721
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchContactEvaluationsResponseSuccess
@@ -4273,7 +4322,7 @@ module Aws
4273
4322
  file_name: ::String,
4274
4323
  file_size_in_bytes: ::Integer,
4275
4324
  ?url_expiry_in_seconds: ::Integer,
4276
- file_use_case_type: ("CONTACT_ANALYSIS" | "EMAIL_MESSAGE" | "EMAIL_MESSAGE_PLAIN_TEXT" | "EMAIL_MESSAGE_REDACTED" | "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED" | "ATTACHMENT"),
4325
+ file_use_case_type: ("CONTACT_ANALYSIS" | "EMAIL_MESSAGE" | "EMAIL_MESSAGE_PLAIN_TEXT" | "EMAIL_MESSAGE_REDACTED" | "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED" | "ATTACHMENT" | "VOICE_RECORDING"),
4277
4326
  associated_resource_arn: ::String,
4278
4327
  ?created_by: {
4279
4328
  connect_user_arn: ::String?,
@@ -4319,6 +4368,40 @@ module Aws
4319
4368
  ) -> _StartChatContactResponseSuccess
4320
4369
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartChatContactResponseSuccess
4321
4370
 
4371
+ interface _StartContactConversationalAnalyticsJobResponseSuccess
4372
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartContactConversationalAnalyticsJobResponse]
4373
+ def instance_id: () -> ::String
4374
+ def contact_id: () -> ::String
4375
+ end
4376
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#start_contact_conversational_analytics_job-instance_method
4377
+ def start_contact_conversational_analytics_job: (
4378
+ instance_id: ::String,
4379
+ contact_id: ::String,
4380
+ analytics_modes: Array[("PostContact" | "RealTime" | "ContactLens" | "AutomatedInteraction")],
4381
+ analytics_configuration: {
4382
+ language_configuration: {
4383
+ language_locale: ::String?
4384
+ },
4385
+ redaction_configuration: {
4386
+ behavior: ("Enable" | "Disable"),
4387
+ policy: ("None" | "RedactedOnly" | "RedactedAndOriginal"),
4388
+ entities: Array[::String]?,
4389
+ mask_mode: ("PII" | "EntityType")?
4390
+ },
4391
+ sentiment_configuration: {
4392
+ behavior: ("Enable" | "Disable")
4393
+ },
4394
+ summary_configuration: {
4395
+ summary_modes: Array[("PostContact" | "AutomatedInteraction" | "ContactChain")]
4396
+ },
4397
+ rules_configuration: {
4398
+ behavior: ("Enable" | "Disable")?
4399
+ }
4400
+ },
4401
+ ?client_token: ::String
4402
+ ) -> _StartContactConversationalAnalyticsJobResponseSuccess
4403
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartContactConversationalAnalyticsJobResponseSuccess
4404
+
4322
4405
  interface _StartContactEvaluationResponseSuccess
4323
4406
  include ::Seahorse::Client::_ResponseSuccess[Types::StartContactEvaluationResponse]
4324
4407
  def evaluation_id: () -> ::String
@@ -4437,6 +4520,20 @@ module Aws
4437
4520
  ) -> _StartEmailContactResponseSuccess
4438
4521
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartEmailContactResponseSuccess
4439
4522
 
4523
+ interface _StartEvaluationFormValidationResponseSuccess
4524
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartEvaluationFormValidationResponse]
4525
+ def evaluation_form_id: () -> ::String
4526
+ def evaluation_form_arn: () -> ::String
4527
+ def evaluation_form_version: () -> ::Integer
4528
+ end
4529
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#start_evaluation_form_validation-instance_method
4530
+ def start_evaluation_form_validation: (
4531
+ instance_id: ::String,
4532
+ evaluation_form_id: ::String,
4533
+ evaluation_form_version: ::Integer
4534
+ ) -> _StartEvaluationFormValidationResponseSuccess
4535
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartEvaluationFormValidationResponseSuccess
4536
+
4440
4537
  interface _StartOutboundChatContactResponseSuccess
4441
4538
  include ::Seahorse::Client::_ResponseSuccess[Types::StartOutboundChatContactResponse]
4442
4539
  def contact_id: () -> ::String
@@ -5086,10 +5183,7 @@ module Aws
5086
5183
  items: Array[
5087
5184
  Params::evaluation_form_item
5088
5185
  ],
5089
- ?scoring_strategy: {
5090
- mode: ("QUESTION_ONLY" | "SECTION_ONLY"),
5091
- status: ("ENABLED" | "DISABLED")
5092
- },
5186
+ ?scoring_strategy: Params::evaluation_form_scoring_strategy,
5093
5187
  ?auto_evaluation_configuration: {
5094
5188
  enabled: bool
5095
5189
  },
data/sig/params.rbs CHANGED
@@ -133,7 +133,15 @@ module Aws
133
133
  items: Array[
134
134
  Params::evaluation_form_item
135
135
  ],
136
- weight: ::Float?
136
+ weight: ::Float?,
137
+ is_excluded_from_scoring: bool?,
138
+ score_thresholds: Array[
139
+ {
140
+ performance_category: ("NEEDS_IMPROVEMENT" | "EXCEEDS_EXPECTATIONS"),
141
+ min_score_percentage: ::Float?,
142
+ max_score_percentage: ::Float?
143
+ }
144
+ ]?
137
145
  }
138
146
 
139
147
  type evaluation_form_numeric_question_automation = {
@@ -196,10 +204,7 @@ module Aws
196
204
 
197
205
  type evaluation_form_multi_select_question_properties = {
198
206
  options: Array[
199
- {
200
- ref_id: ::String,
201
- text: ::String
202
- }
207
+ Params::evaluation_form_multi_select_question_option
203
208
  ],
204
209
  display_as: ("DROPDOWN" | "CHECKBOX")?,
205
210
  automation: Params::evaluation_form_multi_select_question_automation?
@@ -231,6 +236,22 @@ module Aws
231
236
  default_action: ("DISABLE" | "ENABLE")?
232
237
  }
233
238
 
239
+ type evaluation_form_question_scoring_configuration = {
240
+ points_configuration: {
241
+ max_point_value: ::Integer?,
242
+ min_point_value: ::Integer?,
243
+ is_bonus: bool?
244
+ }?,
245
+ is_excluded_from_scoring: bool?,
246
+ score_thresholds: Array[
247
+ {
248
+ performance_category: ("NEEDS_IMPROVEMENT" | "EXCEEDS_EXPECTATIONS"),
249
+ min_score_percentage: ::Float?,
250
+ max_score_percentage: ::Float?
251
+ }
252
+ ]?
253
+ }
254
+
234
255
  type evaluation_form_question = {
235
256
  title: ::String,
236
257
  instructions: ::String?,
@@ -239,7 +260,8 @@ module Aws
239
260
  question_type: ("TEXT" | "SINGLESELECT" | "NUMERIC" | "MULTISELECT" | "DATETIME"),
240
261
  question_type_properties: Params::evaluation_form_question_type_properties?,
241
262
  enablement: Params::evaluation_form_item_enablement_configuration?,
242
- weight: ::Float?
263
+ weight: ::Float?,
264
+ scoring_configuration: Params::evaluation_form_question_scoring_configuration?
243
265
  }
244
266
 
245
267
  type evaluation_form_item = {
@@ -254,6 +276,10 @@ module Aws
254
276
  automatic_fail: bool?,
255
277
  automatic_fail_configuration: {
256
278
  target_section: ::String?
279
+ }?,
280
+ points_configuration: {
281
+ point_value: ::Integer,
282
+ is_bonus: bool?
257
283
  }?
258
284
  }
259
285
 
@@ -264,6 +290,24 @@ module Aws
264
290
  automatic_fail: bool?,
265
291
  automatic_fail_configuration: {
266
292
  target_section: ::String?
293
+ }?,
294
+ points_configuration: {
295
+ point_value: ::Integer,
296
+ is_bonus: bool?
297
+ }?
298
+ }
299
+
300
+ type evaluation_form_multi_select_question_option = {
301
+ ref_id: ::String,
302
+ text: ::String,
303
+ score: ::Integer?,
304
+ automatic_fail: bool?,
305
+ automatic_fail_configuration: {
306
+ target_section: ::String?
307
+ }?,
308
+ points_configuration: {
309
+ point_value: ::Integer,
310
+ is_bonus: bool?
267
311
  }?
268
312
  }
269
313
 
@@ -286,6 +330,18 @@ module Aws
286
330
  condition: Params::evaluation_form_item_enablement_condition?
287
331
  }
288
332
 
333
+ type evaluation_form_scoring_strategy = {
334
+ mode: ("QUESTION_ONLY" | "SECTION_ONLY" | "POINTS_BASED"),
335
+ status: ("ENABLED" | "DISABLED"),
336
+ score_thresholds: Array[
337
+ {
338
+ performance_category: ("NEEDS_IMPROVEMENT" | "EXCEEDS_EXPECTATIONS"),
339
+ min_score_percentage: ::Float?,
340
+ max_score_percentage: ::Float?
341
+ }
342
+ ]?
343
+ }
344
+
289
345
  type evaluation_review_configuration = {
290
346
  review_notification_recipients: Array[
291
347
  {
@@ -735,6 +791,24 @@ module Aws
735
791
  }?
736
792
  }
737
793
 
794
+ type contact_evaluation_attribute_and_condition = {
795
+ tag_conditions: Array[
796
+ {
797
+ tag_key: ::String?,
798
+ tag_value: ::String?
799
+ }
800
+ ]?,
801
+ attribute_conditions: Array[
802
+ {
803
+ attribute_key: ("ContactAgentId")?,
804
+ attribute_value: {
805
+ string_value: ::String?
806
+ }?,
807
+ comparison_type: ("EXACT")?
808
+ }
809
+ ]?
810
+ }
811
+
738
812
  type control_plane_tag_filter = {
739
813
  or_conditions: Array[
740
814
  Array[