aws-sdk-connect 1.221.0 → 1.222.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.221.0'
57
+ GEM_VERSION = '1.222.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -590,12 +590,18 @@ module Aws
590
590
  min_value: ::Integer,
591
591
  max_value: ::Integer,
592
592
  score: ::Integer?,
593
- automatic_fail: bool?
593
+ automatic_fail: bool?,
594
+ automatic_fail_configuration: {
595
+ target_section: ::String?
596
+ }?
594
597
  },
595
598
  ]?,
596
599
  automation: {
597
600
  property_value: {
598
- label: ("OVERALL_CUSTOMER_SENTIMENT_SCORE" | "OVERALL_AGENT_SENTIMENT_SCORE" | "NON_TALK_TIME" | "NON_TALK_TIME_PERCENTAGE" | "NUMBER_OF_INTERRUPTIONS" | "CONTACT_DURATION" | "AGENT_INTERACTION_DURATION" | "CUSTOMER_HOLD_TIME")
601
+ label: ("OVERALL_CUSTOMER_SENTIMENT_SCORE" | "OVERALL_AGENT_SENTIMENT_SCORE" | "NON_TALK_TIME" | "NON_TALK_TIME_PERCENTAGE" | "NUMBER_OF_INTERRUPTIONS" | "CONTACT_DURATION" | "AGENT_INTERACTION_DURATION" | "CUSTOMER_HOLD_TIME" | "LONGEST_HOLD_DURATION" | "NUMBER_OF_HOLDS" | "AGENT_INTERACTION_AND_HOLD_DURATION")
602
+ }?,
603
+ answer_source: {
604
+ source_type: ("CONTACT_LENS_DATA" | "GEN_AI")
599
605
  }?
600
606
  }?
601
607
  }?,
@@ -605,7 +611,10 @@ module Aws
605
611
  ref_id: ::String,
606
612
  text: ::String,
607
613
  score: ::Integer?,
608
- automatic_fail: bool?
614
+ automatic_fail: bool?,
615
+ automatic_fail_configuration: {
616
+ target_section: ::String?
617
+ }?
609
618
  },
610
619
  ],
611
620
  display_as: ("DROPDOWN" | "RADIO")?,
@@ -618,11 +627,46 @@ module Aws
618
627
  option_ref_id: ::String
619
628
  }?
620
629
  },
621
- ],
622
- default_option_ref_id: ::String?
630
+ ]?,
631
+ default_option_ref_id: ::String?,
632
+ answer_source: {
633
+ source_type: ("CONTACT_LENS_DATA" | "GEN_AI")
634
+ }?
635
+ }?
636
+ }?,
637
+ text: {
638
+ automation: {
639
+ answer_source: {
640
+ source_type: ("CONTACT_LENS_DATA" | "GEN_AI")
641
+ }?
623
642
  }?
624
643
  }?
625
644
  }?,
645
+ enablement: {
646
+ condition: {
647
+ operands: Array[
648
+ {
649
+ expression: {
650
+ source: {
651
+ type: ("QUESTION_REF_ID"),
652
+ ref_id: ::String?
653
+ },
654
+ values: Array[
655
+ {
656
+ type: ("OPTION_REF_ID"),
657
+ ref_id: ::String?
658
+ },
659
+ ],
660
+ comparator: ("IN" | "NOT_IN")
661
+ }?,
662
+ condition: untyped?
663
+ },
664
+ ],
665
+ operator: ("OR" | "AND")?
666
+ },
667
+ action: ("DISABLE" | "ENABLE"),
668
+ default_action: ("DISABLE" | "ENABLE")?
669
+ }?,
626
670
  weight: ::Float?
627
671
  }?
628
672
  },
@@ -631,7 +675,11 @@ module Aws
631
675
  mode: ("QUESTION_ONLY" | "SECTION_ONLY"),
632
676
  status: ("ENABLED" | "DISABLED")
633
677
  },
634
- ?client_token: ::String
678
+ ?auto_evaluation_configuration: {
679
+ enabled: bool
680
+ },
681
+ ?client_token: ::String,
682
+ ?tags: Hash[::String, ::String]
635
683
  ) -> _CreateEvaluationFormResponseSuccess
636
684
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEvaluationFormResponseSuccess
637
685
 
@@ -3073,6 +3121,81 @@ module Aws
3073
3121
  ) -> _SearchAvailablePhoneNumbersResponseSuccess
3074
3122
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchAvailablePhoneNumbersResponseSuccess
3075
3123
 
3124
+ interface _SearchContactEvaluationsResponseSuccess
3125
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchContactEvaluationsResponse]
3126
+ def evaluation_search_summary_list: () -> ::Array[Types::EvaluationSearchSummary]
3127
+ def next_token: () -> ::String
3128
+ def approximate_total_count: () -> ::Integer
3129
+ end
3130
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#search_contact_evaluations-instance_method
3131
+ def search_contact_evaluations: (
3132
+ instance_id: ::String,
3133
+ ?next_token: ::String,
3134
+ ?max_results: ::Integer,
3135
+ ?search_criteria: {
3136
+ or_conditions: Array[
3137
+ untyped,
3138
+ ]?,
3139
+ and_conditions: Array[
3140
+ untyped,
3141
+ ]?,
3142
+ string_condition: {
3143
+ field_name: ::String?,
3144
+ value: ::String?,
3145
+ comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
3146
+ }?,
3147
+ number_condition: {
3148
+ field_name: ::String?,
3149
+ min_value: ::Integer?,
3150
+ max_value: ::Integer?,
3151
+ comparison_type: ("GREATER_OR_EQUAL" | "GREATER" | "LESSER_OR_EQUAL" | "LESSER" | "EQUAL" | "NOT_EQUAL" | "RANGE")?
3152
+ }?,
3153
+ boolean_condition: {
3154
+ field_name: ::String?,
3155
+ comparison_type: ("IS_TRUE" | "IS_FALSE")?
3156
+ }?,
3157
+ date_time_condition: {
3158
+ field_name: ::String?,
3159
+ min_value: ::String?,
3160
+ max_value: ::String?,
3161
+ comparison_type: ("GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL_TO" | "LESS_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "RANGE")?
3162
+ }?,
3163
+ decimal_condition: {
3164
+ field_name: ::String?,
3165
+ min_value: ::Float?,
3166
+ max_value: ::Float?,
3167
+ comparison_type: ("GREATER_OR_EQUAL" | "GREATER" | "LESSER_OR_EQUAL" | "LESSER" | "EQUAL" | "NOT_EQUAL" | "RANGE")?
3168
+ }?
3169
+ },
3170
+ ?search_filter: {
3171
+ attribute_filter: {
3172
+ or_conditions: Array[
3173
+ {
3174
+ tag_conditions: Array[
3175
+ {
3176
+ tag_key: ::String?,
3177
+ tag_value: ::String?
3178
+ },
3179
+ ]?
3180
+ },
3181
+ ]?,
3182
+ and_condition: {
3183
+ tag_conditions: Array[
3184
+ {
3185
+ tag_key: ::String?,
3186
+ tag_value: ::String?
3187
+ },
3188
+ ]?
3189
+ }?,
3190
+ tag_condition: {
3191
+ tag_key: ::String?,
3192
+ tag_value: ::String?
3193
+ }?
3194
+ }?
3195
+ }
3196
+ ) -> _SearchContactEvaluationsResponseSuccess
3197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchContactEvaluationsResponseSuccess
3198
+
3076
3199
  interface _SearchContactFlowModulesResponseSuccess
3077
3200
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchContactFlowModulesResponse]
3078
3201
  def contact_flow_modules: () -> ::Array[Types::ContactFlowModule]
@@ -3321,6 +3444,75 @@ module Aws
3321
3444
  ) -> _SearchEmailAddressesResponseSuccess
3322
3445
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchEmailAddressesResponseSuccess
3323
3446
 
3447
+ interface _SearchEvaluationFormsResponseSuccess
3448
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchEvaluationFormsResponse]
3449
+ def evaluation_form_search_summary_list: () -> ::Array[Types::EvaluationFormSearchSummary]
3450
+ def next_token: () -> ::String
3451
+ def approximate_total_count: () -> ::Integer
3452
+ end
3453
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#search_evaluation_forms-instance_method
3454
+ def search_evaluation_forms: (
3455
+ instance_id: ::String,
3456
+ ?next_token: ::String,
3457
+ ?max_results: ::Integer,
3458
+ ?search_criteria: {
3459
+ or_conditions: Array[
3460
+ untyped,
3461
+ ]?,
3462
+ and_conditions: Array[
3463
+ untyped,
3464
+ ]?,
3465
+ string_condition: {
3466
+ field_name: ::String?,
3467
+ value: ::String?,
3468
+ comparison_type: ("STARTS_WITH" | "CONTAINS" | "EXACT")?
3469
+ }?,
3470
+ number_condition: {
3471
+ field_name: ::String?,
3472
+ min_value: ::Integer?,
3473
+ max_value: ::Integer?,
3474
+ comparison_type: ("GREATER_OR_EQUAL" | "GREATER" | "LESSER_OR_EQUAL" | "LESSER" | "EQUAL" | "NOT_EQUAL" | "RANGE")?
3475
+ }?,
3476
+ boolean_condition: {
3477
+ field_name: ::String?,
3478
+ comparison_type: ("IS_TRUE" | "IS_FALSE")?
3479
+ }?,
3480
+ date_time_condition: {
3481
+ field_name: ::String?,
3482
+ min_value: ::String?,
3483
+ max_value: ::String?,
3484
+ comparison_type: ("GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL_TO" | "LESS_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "RANGE")?
3485
+ }?
3486
+ },
3487
+ ?search_filter: {
3488
+ attribute_filter: {
3489
+ or_conditions: Array[
3490
+ {
3491
+ tag_conditions: Array[
3492
+ {
3493
+ tag_key: ::String?,
3494
+ tag_value: ::String?
3495
+ },
3496
+ ]?
3497
+ },
3498
+ ]?,
3499
+ and_condition: {
3500
+ tag_conditions: Array[
3501
+ {
3502
+ tag_key: ::String?,
3503
+ tag_value: ::String?
3504
+ },
3505
+ ]?
3506
+ }?,
3507
+ tag_condition: {
3508
+ tag_key: ::String?,
3509
+ tag_value: ::String?
3510
+ }?
3511
+ }?
3512
+ }
3513
+ ) -> _SearchEvaluationFormsResponseSuccess
3514
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchEvaluationFormsResponseSuccess
3515
+
3324
3516
  interface _SearchHoursOfOperationOverridesResponseSuccess
3325
3517
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchHoursOfOperationOverridesResponse]
3326
3518
  def hours_of_operation_overrides: () -> ::Array[Types::HoursOfOperationOverride]
@@ -4046,7 +4238,11 @@ module Aws
4046
4238
  instance_id: ::String,
4047
4239
  contact_id: ::String,
4048
4240
  evaluation_form_id: ::String,
4049
- ?client_token: ::String
4241
+ ?auto_evaluation_configuration: {
4242
+ enabled: bool
4243
+ },
4244
+ ?client_token: ::String,
4245
+ ?tags: Hash[::String, ::String]
4050
4246
  ) -> _StartContactEvaluationResponseSuccess
4051
4247
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartContactEvaluationResponseSuccess
4052
4248
 
@@ -4414,7 +4610,10 @@ module Aws
4414
4610
  }],
4415
4611
  ?notes: Hash[::String, {
4416
4612
  value: ::String?
4417
- }]
4613
+ }],
4614
+ ?submitted_by: {
4615
+ connect_user_arn: ::String?
4616
+ }
4418
4617
  ) -> _SubmitContactEvaluationResponseSuccess
4419
4618
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubmitContactEvaluationResponseSuccess
4420
4619
 
@@ -4577,7 +4776,10 @@ module Aws
4577
4776
  }],
4578
4777
  ?notes: Hash[::String, {
4579
4778
  value: ::String?
4580
- }]
4779
+ }],
4780
+ ?updated_by: {
4781
+ connect_user_arn: ::String?
4782
+ }
4581
4783
  ) -> _UpdateContactEvaluationResponseSuccess
4582
4784
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContactEvaluationResponseSuccess
4583
4785
 
@@ -4764,12 +4966,18 @@ module Aws
4764
4966
  min_value: ::Integer,
4765
4967
  max_value: ::Integer,
4766
4968
  score: ::Integer?,
4767
- automatic_fail: bool?
4969
+ automatic_fail: bool?,
4970
+ automatic_fail_configuration: {
4971
+ target_section: ::String?
4972
+ }?
4768
4973
  },
4769
4974
  ]?,
4770
4975
  automation: {
4771
4976
  property_value: {
4772
- label: ("OVERALL_CUSTOMER_SENTIMENT_SCORE" | "OVERALL_AGENT_SENTIMENT_SCORE" | "NON_TALK_TIME" | "NON_TALK_TIME_PERCENTAGE" | "NUMBER_OF_INTERRUPTIONS" | "CONTACT_DURATION" | "AGENT_INTERACTION_DURATION" | "CUSTOMER_HOLD_TIME")
4977
+ label: ("OVERALL_CUSTOMER_SENTIMENT_SCORE" | "OVERALL_AGENT_SENTIMENT_SCORE" | "NON_TALK_TIME" | "NON_TALK_TIME_PERCENTAGE" | "NUMBER_OF_INTERRUPTIONS" | "CONTACT_DURATION" | "AGENT_INTERACTION_DURATION" | "CUSTOMER_HOLD_TIME" | "LONGEST_HOLD_DURATION" | "NUMBER_OF_HOLDS" | "AGENT_INTERACTION_AND_HOLD_DURATION")
4978
+ }?,
4979
+ answer_source: {
4980
+ source_type: ("CONTACT_LENS_DATA" | "GEN_AI")
4773
4981
  }?
4774
4982
  }?
4775
4983
  }?,
@@ -4779,7 +4987,10 @@ module Aws
4779
4987
  ref_id: ::String,
4780
4988
  text: ::String,
4781
4989
  score: ::Integer?,
4782
- automatic_fail: bool?
4990
+ automatic_fail: bool?,
4991
+ automatic_fail_configuration: {
4992
+ target_section: ::String?
4993
+ }?
4783
4994
  },
4784
4995
  ],
4785
4996
  display_as: ("DROPDOWN" | "RADIO")?,
@@ -4792,11 +5003,46 @@ module Aws
4792
5003
  option_ref_id: ::String
4793
5004
  }?
4794
5005
  },
4795
- ],
4796
- default_option_ref_id: ::String?
5006
+ ]?,
5007
+ default_option_ref_id: ::String?,
5008
+ answer_source: {
5009
+ source_type: ("CONTACT_LENS_DATA" | "GEN_AI")
5010
+ }?
5011
+ }?
5012
+ }?,
5013
+ text: {
5014
+ automation: {
5015
+ answer_source: {
5016
+ source_type: ("CONTACT_LENS_DATA" | "GEN_AI")
5017
+ }?
4797
5018
  }?
4798
5019
  }?
4799
5020
  }?,
5021
+ enablement: {
5022
+ condition: {
5023
+ operands: Array[
5024
+ {
5025
+ expression: {
5026
+ source: {
5027
+ type: ("QUESTION_REF_ID"),
5028
+ ref_id: ::String?
5029
+ },
5030
+ values: Array[
5031
+ {
5032
+ type: ("OPTION_REF_ID"),
5033
+ ref_id: ::String?
5034
+ },
5035
+ ],
5036
+ comparator: ("IN" | "NOT_IN")
5037
+ }?,
5038
+ condition: untyped?
5039
+ },
5040
+ ],
5041
+ operator: ("OR" | "AND")?
5042
+ },
5043
+ action: ("DISABLE" | "ENABLE"),
5044
+ default_action: ("DISABLE" | "ENABLE")?
5045
+ }?,
4800
5046
  weight: ::Float?
4801
5047
  }?
4802
5048
  },
@@ -4805,6 +5051,9 @@ module Aws
4805
5051
  mode: ("QUESTION_ONLY" | "SECTION_ONLY"),
4806
5052
  status: ("ENABLED" | "DISABLED")
4807
5053
  },
5054
+ ?auto_evaluation_configuration: {
5055
+ enabled: bool
5056
+ },
4808
5057
  ?client_token: ::String
4809
5058
  ) -> _UpdateEvaluationFormResponseSuccess
4810
5059
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEvaluationFormResponseSuccess