aws-sdk-connect 1.220.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.220.0'
57
+ GEM_VERSION = '1.222.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -151,6 +151,20 @@ module Aws
151
151
  ) -> _AssociateDefaultVocabularyResponseSuccess
152
152
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDefaultVocabularyResponseSuccess
153
153
 
154
+ interface _AssociateEmailAddressAliasResponseSuccess
155
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateEmailAddressAliasResponse]
156
+ end
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#associate_email_address_alias-instance_method
158
+ def associate_email_address_alias: (
159
+ email_address_id: ::String,
160
+ instance_id: ::String,
161
+ alias_configuration: {
162
+ email_address_id: ::String
163
+ },
164
+ ?client_token: ::String
165
+ ) -> _AssociateEmailAddressAliasResponseSuccess
166
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateEmailAddressAliasResponseSuccess
167
+
154
168
  interface _AssociateFlowResponseSuccess
155
169
  include ::Seahorse::Client::_ResponseSuccess[Types::AssociateFlowResponse]
156
170
  end
@@ -373,6 +387,19 @@ module Aws
373
387
  attributes: Hash[::String, ::String]?,
374
388
  campaign: {
375
389
  campaign_id: ::String?
390
+ }?,
391
+ outbound_strategy: {
392
+ type: ("AGENT_FIRST"),
393
+ config: {
394
+ agent_first: {
395
+ preview: {
396
+ post_accept_timeout_config: {
397
+ duration_in_seconds: ::Integer
398
+ },
399
+ allowed_user_actions: Array[("CALL" | "DISCARD")]
400
+ }?
401
+ }?
402
+ }?
376
403
  }?
377
404
  },
378
405
  ]
@@ -563,12 +590,18 @@ module Aws
563
590
  min_value: ::Integer,
564
591
  max_value: ::Integer,
565
592
  score: ::Integer?,
566
- automatic_fail: bool?
593
+ automatic_fail: bool?,
594
+ automatic_fail_configuration: {
595
+ target_section: ::String?
596
+ }?
567
597
  },
568
598
  ]?,
569
599
  automation: {
570
600
  property_value: {
571
- 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")
572
605
  }?
573
606
  }?
574
607
  }?,
@@ -578,7 +611,10 @@ module Aws
578
611
  ref_id: ::String,
579
612
  text: ::String,
580
613
  score: ::Integer?,
581
- automatic_fail: bool?
614
+ automatic_fail: bool?,
615
+ automatic_fail_configuration: {
616
+ target_section: ::String?
617
+ }?
582
618
  },
583
619
  ],
584
620
  display_as: ("DROPDOWN" | "RADIO")?,
@@ -591,11 +627,46 @@ module Aws
591
627
  option_ref_id: ::String
592
628
  }?
593
629
  },
594
- ],
595
- 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
+ }?
596
642
  }?
597
643
  }?
598
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
+ }?,
599
670
  weight: ::Float?
600
671
  }?
601
672
  },
@@ -604,7 +675,11 @@ module Aws
604
675
  mode: ("QUESTION_ONLY" | "SECTION_ONLY"),
605
676
  status: ("ENABLED" | "DISABLED")
606
677
  },
607
- ?client_token: ::String
678
+ ?auto_evaluation_configuration: {
679
+ enabled: bool
680
+ },
681
+ ?client_token: ::String,
682
+ ?tags: Hash[::String, ::String]
608
683
  ) -> _CreateEvaluationFormResponseSuccess
609
684
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEvaluationFormResponseSuccess
610
685
 
@@ -1510,6 +1585,7 @@ module Aws
1510
1585
  def description: () -> ::String
1511
1586
  def create_timestamp: () -> ::String
1512
1587
  def modified_timestamp: () -> ::String
1588
+ def alias_configurations: () -> ::Array[Types::AliasConfiguration]
1513
1589
  def tags: () -> ::Hash[::String, ::String]
1514
1590
  end
1515
1591
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#describe_email_address-instance_method
@@ -1769,6 +1845,20 @@ module Aws
1769
1845
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1770
1846
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1771
1847
 
1848
+ interface _DisassociateEmailAddressAliasResponseSuccess
1849
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateEmailAddressAliasResponse]
1850
+ end
1851
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#disassociate_email_address_alias-instance_method
1852
+ def disassociate_email_address_alias: (
1853
+ email_address_id: ::String,
1854
+ instance_id: ::String,
1855
+ alias_configuration: {
1856
+ email_address_id: ::String
1857
+ },
1858
+ ?client_token: ::String
1859
+ ) -> _DisassociateEmailAddressAliasResponseSuccess
1860
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateEmailAddressAliasResponseSuccess
1861
+
1772
1862
  interface _DisassociateFlowResponseSuccess
1773
1863
  include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateFlowResponse]
1774
1864
  end
@@ -3031,6 +3121,81 @@ module Aws
3031
3121
  ) -> _SearchAvailablePhoneNumbersResponseSuccess
3032
3122
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchAvailablePhoneNumbersResponseSuccess
3033
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
+
3034
3199
  interface _SearchContactFlowModulesResponseSuccess
3035
3200
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchContactFlowModulesResponse]
3036
3201
  def contact_flow_modules: () -> ::Array[Types::ContactFlowModule]
@@ -3279,6 +3444,75 @@ module Aws
3279
3444
  ) -> _SearchEmailAddressesResponseSuccess
3280
3445
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchEmailAddressesResponseSuccess
3281
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
+
3282
3516
  interface _SearchHoursOfOperationOverridesResponseSuccess
3283
3517
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchHoursOfOperationOverridesResponse]
3284
3518
  def hours_of_operation_overrides: () -> ::Array[Types::HoursOfOperationOverride]
@@ -4004,7 +4238,11 @@ module Aws
4004
4238
  instance_id: ::String,
4005
4239
  contact_id: ::String,
4006
4240
  evaluation_form_id: ::String,
4007
- ?client_token: ::String
4241
+ ?auto_evaluation_configuration: {
4242
+ enabled: bool
4243
+ },
4244
+ ?client_token: ::String,
4245
+ ?tags: Hash[::String, ::String]
4008
4246
  ) -> _StartContactEvaluationResponseSuccess
4009
4247
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartContactEvaluationResponseSuccess
4010
4248
 
@@ -4216,7 +4454,20 @@ module Aws
4216
4454
  await_answer_machine_prompt: bool?
4217
4455
  },
4218
4456
  ?campaign_id: ::String,
4219
- ?traffic_type: ("GENERAL" | "CAMPAIGN")
4457
+ ?traffic_type: ("GENERAL" | "CAMPAIGN"),
4458
+ ?outbound_strategy: {
4459
+ type: ("AGENT_FIRST"),
4460
+ config: {
4461
+ agent_first: {
4462
+ preview: {
4463
+ post_accept_timeout_config: {
4464
+ duration_in_seconds: ::Integer
4465
+ },
4466
+ allowed_user_actions: Array[("CALL" | "DISCARD")]
4467
+ }?
4468
+ }?
4469
+ }?
4470
+ }
4220
4471
  ) -> _StartOutboundVoiceContactResponseSuccess
4221
4472
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartOutboundVoiceContactResponseSuccess
4222
4473
 
@@ -4359,7 +4610,10 @@ module Aws
4359
4610
  }],
4360
4611
  ?notes: Hash[::String, {
4361
4612
  value: ::String?
4362
- }]
4613
+ }],
4614
+ ?submitted_by: {
4615
+ connect_user_arn: ::String?
4616
+ }
4363
4617
  ) -> _SubmitContactEvaluationResponseSuccess
4364
4618
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubmitContactEvaluationResponseSuccess
4365
4619
 
@@ -4522,7 +4776,10 @@ module Aws
4522
4776
  }],
4523
4777
  ?notes: Hash[::String, {
4524
4778
  value: ::String?
4525
- }]
4779
+ }],
4780
+ ?updated_by: {
4781
+ connect_user_arn: ::String?
4782
+ }
4526
4783
  ) -> _UpdateContactEvaluationResponseSuccess
4527
4784
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContactEvaluationResponseSuccess
4528
4785
 
@@ -4709,12 +4966,18 @@ module Aws
4709
4966
  min_value: ::Integer,
4710
4967
  max_value: ::Integer,
4711
4968
  score: ::Integer?,
4712
- automatic_fail: bool?
4969
+ automatic_fail: bool?,
4970
+ automatic_fail_configuration: {
4971
+ target_section: ::String?
4972
+ }?
4713
4973
  },
4714
4974
  ]?,
4715
4975
  automation: {
4716
4976
  property_value: {
4717
- 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")
4718
4981
  }?
4719
4982
  }?
4720
4983
  }?,
@@ -4724,7 +4987,10 @@ module Aws
4724
4987
  ref_id: ::String,
4725
4988
  text: ::String,
4726
4989
  score: ::Integer?,
4727
- automatic_fail: bool?
4990
+ automatic_fail: bool?,
4991
+ automatic_fail_configuration: {
4992
+ target_section: ::String?
4993
+ }?
4728
4994
  },
4729
4995
  ],
4730
4996
  display_as: ("DROPDOWN" | "RADIO")?,
@@ -4737,11 +5003,46 @@ module Aws
4737
5003
  option_ref_id: ::String
4738
5004
  }?
4739
5005
  },
4740
- ],
4741
- 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
+ }?
4742
5018
  }?
4743
5019
  }?
4744
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
+ }?,
4745
5046
  weight: ::Float?
4746
5047
  }?
4747
5048
  },
@@ -4750,6 +5051,9 @@ module Aws
4750
5051
  mode: ("QUESTION_ONLY" | "SECTION_ONLY"),
4751
5052
  status: ("ENABLED" | "DISABLED")
4752
5053
  },
5054
+ ?auto_evaluation_configuration: {
5055
+ enabled: bool
5056
+ },
4753
5057
  ?client_token: ::String
4754
5058
  ) -> _UpdateEvaluationFormResponseSuccess
4755
5059
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEvaluationFormResponseSuccess