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.
@@ -801,6 +801,134 @@ module Aws::Connect
801
801
  req.send_request(options)
802
802
  end
803
803
 
804
+ # Associates an email address alias with an existing email address in an
805
+ # Amazon Connect instance. This creates a forwarding relationship where
806
+ # emails sent to the alias email address are automatically forwarded to
807
+ # the primary email address.
808
+ #
809
+ # **Use cases**
810
+ #
811
+ # Following are common uses cases for this API:
812
+ #
813
+ # * **Unified customer support**: Create multiple entry points (for
814
+ # example, support@example.com, help@example.com,
815
+ # customercare@example.com) that all forward to a single agent queue
816
+ # for streamlined management.
817
+ #
818
+ # * **Department consolidation**: Forward emails from legacy department
819
+ # addresses (for example, sales@example.com, info@example.com) to a
820
+ # centralized customer service email during organizational
821
+ # restructuring.
822
+ #
823
+ # * **Brand management**: Enable you to use familiar brand-specific
824
+ # email addresses that forward to the appropriate Amazon Connect
825
+ # instance email address.
826
+ #
827
+ # **Important things to know**
828
+ #
829
+ # * Each email address can have a maximum of one alias. You cannot
830
+ # create multiple aliases for the same email address.
831
+ #
832
+ # * If the alias email address already receives direct emails, it
833
+ # continues to receive direct emails plus forwarded emails.
834
+ #
835
+ # * You cannot chain email aliases together (that is, create an alias of
836
+ # an alias).
837
+ #
838
+ # `AssociateEmailAddressAlias` does not return the following
839
+ # information:
840
+ #
841
+ # * A confirmation of the alias relationship details (you must call
842
+ # [DescribeEmailAddress][1] to verify).
843
+ #
844
+ # * The timestamp of when the association occurred.
845
+ #
846
+ # * The status of the forwarding configuration.
847
+ #
848
+ # **Endpoints**: See [Amazon Connect endpoints and quotas][2].
849
+ #
850
+ # **Related operations**
851
+ #
852
+ # * [DisassociateEmailAddressAlias][3]: Removes the alias association
853
+ # between two email addresses in an Amazon Connect instance.
854
+ #
855
+ # * [DescribeEmailAddress][1]: View current alias configurations for an
856
+ # email address.
857
+ #
858
+ # * [SearchEmailAddresses][4]: Find email addresses and their alias
859
+ # relationships across an instance.
860
+ #
861
+ # * [CreateEmailAddress][5]: Create new email addresses that can
862
+ # participate in alias relationships.
863
+ #
864
+ # * [DeleteEmailAddress][6]: Remove email addresses (automatically
865
+ # removes any alias relationships).
866
+ #
867
+ # * [UpdateEmailAddressMetadata][7]: Modify email address properties
868
+ # (does not affect alias relationships).
869
+ #
870
+ #
871
+ #
872
+ # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeEmailAddress.html
873
+ # [2]: https://docs.aws.amazon.com/general/latest/gr/connect_region.html
874
+ # [3]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DisassociateEmailAddressAlias.html
875
+ # [4]: https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchEmailAddresses.html
876
+ # [5]: https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateEmailAddress.html
877
+ # [6]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteEmailAddress.html
878
+ # [7]: https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateEmailAddressMetadata.html
879
+ #
880
+ # @option params [required, String] :email_address_id
881
+ # The identifier of the email address.
882
+ #
883
+ # @option params [required, String] :instance_id
884
+ # The identifier of the Amazon Connect instance. You can [find the
885
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
886
+ #
887
+ #
888
+ #
889
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
890
+ #
891
+ # @option params [required, Types::AliasConfiguration] :alias_configuration
892
+ # Configuration object that specifies which email address will serve as
893
+ # the alias. The specified email address must already exist in the
894
+ # Amazon Connect instance and cannot already be configured as an alias
895
+ # or have an alias of its own.
896
+ #
897
+ # @option params [String] :client_token
898
+ # A unique, case-sensitive identifier that you provide to ensure the
899
+ # idempotency of the request. If not provided, the Amazon Web Services
900
+ # SDK populates this field. For more information about idempotency, see
901
+ # [Making retries safe with idempotent APIs][1].
902
+ #
903
+ # **A suitable default value is auto-generated.** You should normally
904
+ # not need to pass this option.**
905
+ #
906
+ #
907
+ #
908
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
909
+ #
910
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
911
+ #
912
+ # @example Request syntax with placeholder values
913
+ #
914
+ # resp = client.associate_email_address_alias({
915
+ # email_address_id: "EmailAddressId", # required
916
+ # instance_id: "InstanceId", # required
917
+ # alias_configuration: { # required
918
+ # email_address_id: "EmailAddressId", # required
919
+ # },
920
+ # client_token: "ClientToken",
921
+ # })
922
+ #
923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateEmailAddressAlias AWS API Documentation
924
+ #
925
+ # @overload associate_email_address_alias(params = {})
926
+ # @param [Hash] params ({})
927
+ def associate_email_address_alias(params = {}, options = {})
928
+ req = build_request(:associate_email_address_alias, params)
929
+ req.send_request(options)
930
+ end
931
+
804
932
  # Associates a connect resource to a flow.
805
933
  #
806
934
  # @option params [required, String] :instance_id
@@ -1617,6 +1745,19 @@ module Aws::Connect
1617
1745
  # campaign: {
1618
1746
  # campaign_id: "CampaignId",
1619
1747
  # },
1748
+ # outbound_strategy: {
1749
+ # type: "AGENT_FIRST", # required, accepts AGENT_FIRST
1750
+ # config: {
1751
+ # agent_first: {
1752
+ # preview: {
1753
+ # post_accept_timeout_config: { # required
1754
+ # duration_in_seconds: 1, # required
1755
+ # },
1756
+ # allowed_user_actions: ["CALL"], # required, accepts CALL, DISCARD
1757
+ # },
1758
+ # },
1759
+ # },
1760
+ # },
1620
1761
  # },
1621
1762
  # ],
1622
1763
  # })
@@ -1628,7 +1769,7 @@ module Aws::Connect
1628
1769
  # resp.successful_request_list[0].contact_id #=> String
1629
1770
  # resp.failed_request_list #=> Array
1630
1771
  # resp.failed_request_list[0].request_identifier #=> String
1631
- # resp.failed_request_list[0].failure_reason_code #=> String, one of "INVALID_ATTRIBUTE_KEY", "INVALID_CUSTOMER_ENDPOINT", "INVALID_SYSTEM_ENDPOINT", "INVALID_QUEUE", "MISSING_CAMPAIGN", "MISSING_CUSTOMER_ENDPOINT", "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT", "REQUEST_THROTTLED", "IDEMPOTENCY_EXCEPTION", "INTERNAL_ERROR"
1772
+ # resp.failed_request_list[0].failure_reason_code #=> String, one of "INVALID_ATTRIBUTE_KEY", "INVALID_CUSTOMER_ENDPOINT", "INVALID_SYSTEM_ENDPOINT", "INVALID_QUEUE", "INVALID_OUTBOUND_STRATEGY", "MISSING_CAMPAIGN", "MISSING_CUSTOMER_ENDPOINT", "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT", "REQUEST_THROTTLED", "IDEMPOTENCY_EXCEPTION", "INTERNAL_ERROR"
1632
1773
  # resp.failed_request_list[0].failure_reason_message #=> String
1633
1774
  #
1634
1775
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/BatchPutContact AWS API Documentation
@@ -2361,6 +2502,9 @@ module Aws::Connect
2361
2502
  # @option params [Types::EvaluationFormScoringStrategy] :scoring_strategy
2362
2503
  # A scoring strategy of the evaluation form.
2363
2504
  #
2505
+ # @option params [Types::EvaluationFormAutoEvaluationConfiguration] :auto_evaluation_configuration
2506
+ # Configuration information about automated evaluations.
2507
+ #
2364
2508
  # @option params [String] :client_token
2365
2509
  # A unique, case-sensitive identifier that you provide to ensure the
2366
2510
  # idempotency of the request. If not provided, the Amazon Web Services
@@ -2374,6 +2518,11 @@ module Aws::Connect
2374
2518
  #
2375
2519
  # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
2376
2520
  #
2521
+ # @option params [Hash<String,String>] :tags
2522
+ # The tags used to organize, track, or control access for this resource.
2523
+ # For example, \{ "Tags": \{"key1":"value1", "key2":"value2"}
2524
+ # }.
2525
+ #
2377
2526
  # @return [Types::CreateEvaluationFormResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2378
2527
  #
2379
2528
  # * {Types::CreateEvaluationFormResponse#evaluation_form_id #evaluation_form_id} => String
@@ -2412,11 +2561,17 @@ module Aws::Connect
2412
2561
  # max_value: 1, # required
2413
2562
  # score: 1,
2414
2563
  # automatic_fail: false,
2564
+ # automatic_fail_configuration: {
2565
+ # target_section: "ReferenceId",
2566
+ # },
2415
2567
  # },
2416
2568
  # ],
2417
2569
  # automation: {
2418
2570
  # property_value: {
2419
- # label: "OVERALL_CUSTOMER_SENTIMENT_SCORE", # required, accepts 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
2571
+ # label: "OVERALL_CUSTOMER_SENTIMENT_SCORE", # required, accepts 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
2572
+ # },
2573
+ # answer_source: {
2574
+ # source_type: "CONTACT_LENS_DATA", # required, accepts CONTACT_LENS_DATA, GEN_AI
2420
2575
  # },
2421
2576
  # },
2422
2577
  # },
@@ -2427,11 +2582,14 @@ module Aws::Connect
2427
2582
  # text: "EvaluationFormSingleSelectQuestionOptionText", # required
2428
2583
  # score: 1,
2429
2584
  # automatic_fail: false,
2585
+ # automatic_fail_configuration: {
2586
+ # target_section: "ReferenceId",
2587
+ # },
2430
2588
  # },
2431
2589
  # ],
2432
2590
  # display_as: "DROPDOWN", # accepts DROPDOWN, RADIO
2433
2591
  # automation: {
2434
- # options: [ # required
2592
+ # options: [
2435
2593
  # {
2436
2594
  # rule_category: {
2437
2595
  # category: "SingleSelectQuestionRuleCategoryAutomationLabel", # required
@@ -2441,8 +2599,45 @@ module Aws::Connect
2441
2599
  # },
2442
2600
  # ],
2443
2601
  # default_option_ref_id: "ReferenceId",
2602
+ # answer_source: {
2603
+ # source_type: "CONTACT_LENS_DATA", # required, accepts CONTACT_LENS_DATA, GEN_AI
2604
+ # },
2444
2605
  # },
2445
2606
  # },
2607
+ # text: {
2608
+ # automation: {
2609
+ # answer_source: {
2610
+ # source_type: "CONTACT_LENS_DATA", # required, accepts CONTACT_LENS_DATA, GEN_AI
2611
+ # },
2612
+ # },
2613
+ # },
2614
+ # },
2615
+ # enablement: {
2616
+ # condition: { # required
2617
+ # operands: [ # required
2618
+ # {
2619
+ # expression: {
2620
+ # source: { # required
2621
+ # type: "QUESTION_REF_ID", # required, accepts QUESTION_REF_ID
2622
+ # ref_id: "ReferenceId",
2623
+ # },
2624
+ # values: [ # required
2625
+ # {
2626
+ # type: "OPTION_REF_ID", # required, accepts OPTION_REF_ID
2627
+ # ref_id: "ReferenceId",
2628
+ # },
2629
+ # ],
2630
+ # comparator: "IN", # required, accepts IN, NOT_IN
2631
+ # },
2632
+ # condition: {
2633
+ # # recursive EvaluationFormItemEnablementCondition
2634
+ # },
2635
+ # },
2636
+ # ],
2637
+ # operator: "OR", # accepts OR, AND
2638
+ # },
2639
+ # action: "DISABLE", # required, accepts DISABLE, ENABLE
2640
+ # default_action: "DISABLE", # accepts DISABLE, ENABLE
2446
2641
  # },
2447
2642
  # weight: 1.0,
2448
2643
  # },
@@ -2452,7 +2647,13 @@ module Aws::Connect
2452
2647
  # mode: "QUESTION_ONLY", # required, accepts QUESTION_ONLY, SECTION_ONLY
2453
2648
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
2454
2649
  # },
2650
+ # auto_evaluation_configuration: {
2651
+ # enabled: false, # required
2652
+ # },
2455
2653
  # client_token: "ClientToken",
2654
+ # tags: {
2655
+ # "TagKey" => "TagValue",
2656
+ # },
2456
2657
  # })
2457
2658
  #
2458
2659
  # @example Response structure
@@ -5593,6 +5794,8 @@ module Aws::Connect
5593
5794
  # resp.contact.queue_info.id #=> String
5594
5795
  # resp.contact.queue_info.enqueue_timestamp #=> Time
5595
5796
  # resp.contact.agent_info.id #=> String
5797
+ # resp.contact.agent_info.accepted_by_agent_timestamp #=> Time
5798
+ # resp.contact.agent_info.preview_end_timestamp #=> Time
5596
5799
  # resp.contact.agent_info.connected_to_agent_timestamp #=> Time
5597
5800
  # resp.contact.agent_info.agent_pause_duration_in_seconds #=> Integer
5598
5801
  # resp.contact.agent_info.hierarchy_groups.level_1.arn #=> String
@@ -5741,6 +5944,10 @@ module Aws::Connect
5741
5944
  # resp.contact.task_template_info.name #=> String
5742
5945
  # resp.contact.contact_details.name #=> String
5743
5946
  # resp.contact.contact_details.description #=> String
5947
+ # resp.contact.outbound_strategy.type #=> String, one of "AGENT_FIRST"
5948
+ # resp.contact.outbound_strategy.config.agent_first.preview.post_accept_timeout_config.duration_in_seconds #=> Integer
5949
+ # resp.contact.outbound_strategy.config.agent_first.preview.allowed_user_actions #=> Array
5950
+ # resp.contact.outbound_strategy.config.agent_first.preview.allowed_user_actions[0] #=> String, one of "CALL", "DISCARD"
5744
5951
  # resp.contact.attributes #=> Hash
5745
5952
  # resp.contact.attributes["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
5746
5953
  #
@@ -5786,9 +5993,15 @@ module Aws::Connect
5786
5993
  # resp.evaluation.metadata.contact_id #=> String
5787
5994
  # resp.evaluation.metadata.evaluator_arn #=> String
5788
5995
  # resp.evaluation.metadata.contact_agent_id #=> String
5996
+ # resp.evaluation.metadata.calibration_session_id #=> String
5789
5997
  # resp.evaluation.metadata.score.percentage #=> Float
5790
5998
  # resp.evaluation.metadata.score.not_applicable #=> Boolean
5791
5999
  # resp.evaluation.metadata.score.automatic_fail #=> Boolean
6000
+ # resp.evaluation.metadata.auto_evaluation.auto_evaluation_enabled #=> Boolean
6001
+ # resp.evaluation.metadata.auto_evaluation.auto_evaluation_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED"
6002
+ # resp.evaluation.metadata.acknowledgement.acknowledged_time #=> Time
6003
+ # resp.evaluation.metadata.acknowledgement.acknowledged_by #=> String
6004
+ # resp.evaluation.metadata.acknowledgement.acknowledger_comment #=> String
5792
6005
  # resp.evaluation.answers #=> Hash
5793
6006
  # resp.evaluation.answers["ResourceId"].value.string_value #=> String
5794
6007
  # resp.evaluation.answers["ResourceId"].value.numeric_value #=> Float
@@ -5796,6 +6009,23 @@ module Aws::Connect
5796
6009
  # resp.evaluation.answers["ResourceId"].system_suggested_value.string_value #=> String
5797
6010
  # resp.evaluation.answers["ResourceId"].system_suggested_value.numeric_value #=> Float
5798
6011
  # resp.evaluation.answers["ResourceId"].system_suggested_value.not_applicable #=> Boolean
6012
+ # resp.evaluation.answers["ResourceId"].suggested_answers #=> Array
6013
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].value.string_value #=> String
6014
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].value.numeric_value #=> Float
6015
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].value.not_applicable #=> Boolean
6016
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED"
6017
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].input.transcript_type #=> String, one of "RAW", "REDACTED"
6018
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].analysis_type #=> String, one of "CONTACT_LENS_DATA", "GEN_AI"
6019
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].analysis_details.gen_ai.justification #=> String
6020
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].analysis_details.gen_ai.points_of_interest #=> Array
6021
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].analysis_details.gen_ai.points_of_interest[0].millisecond_offsets.begin_offset_millis #=> Integer
6022
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].analysis_details.gen_ai.points_of_interest[0].transcript_segment #=> String
6023
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].analysis_details.contact_lens.matched_rule_categories #=> Array
6024
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].analysis_details.contact_lens.matched_rule_categories[0].category #=> String
6025
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].analysis_details.contact_lens.matched_rule_categories[0].condition #=> String, one of "PRESENT", "NOT_PRESENT"
6026
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].analysis_details.contact_lens.matched_rule_categories[0].points_of_interest #=> Array
6027
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].analysis_details.contact_lens.matched_rule_categories[0].points_of_interest[0].millisecond_offsets.begin_offset_millis #=> Integer
6028
+ # resp.evaluation.answers["ResourceId"].suggested_answers[0].analysis_details.contact_lens.matched_rule_categories[0].points_of_interest[0].transcript_segment #=> String
5799
6029
  # resp.evaluation.notes #=> Hash
5800
6030
  # resp.evaluation.notes["ResourceId"].value #=> String
5801
6031
  # resp.evaluation.status #=> String, one of "DRAFT", "SUBMITTED"
@@ -5805,6 +6035,7 @@ module Aws::Connect
5805
6035
  # resp.evaluation.scores["ResourceId"].automatic_fail #=> Boolean
5806
6036
  # resp.evaluation.created_time #=> Time
5807
6037
  # resp.evaluation.last_modified_time #=> Time
6038
+ # resp.evaluation.evaluation_type #=> String, one of "STANDARD", "CALIBRATION"
5808
6039
  # resp.evaluation.tags #=> Hash
5809
6040
  # resp.evaluation.tags["TagKey"] #=> String
5810
6041
  # resp.evaluation_form.evaluation_form_version #=> Integer
@@ -5830,21 +6061,38 @@ module Aws::Connect
5830
6061
  # resp.evaluation_form.items[0].question.question_type_properties.numeric.options[0].max_value #=> Integer
5831
6062
  # resp.evaluation_form.items[0].question.question_type_properties.numeric.options[0].score #=> Integer
5832
6063
  # resp.evaluation_form.items[0].question.question_type_properties.numeric.options[0].automatic_fail #=> Boolean
5833
- # resp.evaluation_form.items[0].question.question_type_properties.numeric.automation.property_value.label #=> String, one of "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"
6064
+ # resp.evaluation_form.items[0].question.question_type_properties.numeric.options[0].automatic_fail_configuration.target_section #=> String
6065
+ # resp.evaluation_form.items[0].question.question_type_properties.numeric.automation.property_value.label #=> String, one of "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"
6066
+ # resp.evaluation_form.items[0].question.question_type_properties.numeric.automation.answer_source.source_type #=> String, one of "CONTACT_LENS_DATA", "GEN_AI"
5834
6067
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.options #=> Array
5835
6068
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.options[0].ref_id #=> String
5836
6069
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.options[0].text #=> String
5837
6070
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.options[0].score #=> Integer
5838
6071
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.options[0].automatic_fail #=> Boolean
6072
+ # resp.evaluation_form.items[0].question.question_type_properties.single_select.options[0].automatic_fail_configuration.target_section #=> String
5839
6073
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.display_as #=> String, one of "DROPDOWN", "RADIO"
5840
6074
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.options #=> Array
5841
6075
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.options[0].rule_category.category #=> String
5842
6076
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.options[0].rule_category.condition #=> String, one of "PRESENT", "NOT_PRESENT"
5843
6077
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.options[0].rule_category.option_ref_id #=> String
5844
6078
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.default_option_ref_id #=> String
6079
+ # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.answer_source.source_type #=> String, one of "CONTACT_LENS_DATA", "GEN_AI"
6080
+ # resp.evaluation_form.items[0].question.question_type_properties.text.automation.answer_source.source_type #=> String, one of "CONTACT_LENS_DATA", "GEN_AI"
6081
+ # resp.evaluation_form.items[0].question.enablement.condition.operands #=> Array
6082
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.source.type #=> String, one of "QUESTION_REF_ID"
6083
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.source.ref_id #=> String
6084
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.values #=> Array
6085
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.values[0].type #=> String, one of "OPTION_REF_ID"
6086
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.values[0].ref_id #=> String
6087
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.comparator #=> String, one of "IN", "NOT_IN"
6088
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].condition #=> Types::EvaluationFormItemEnablementCondition
6089
+ # resp.evaluation_form.items[0].question.enablement.condition.operator #=> String, one of "OR", "AND"
6090
+ # resp.evaluation_form.items[0].question.enablement.action #=> String, one of "DISABLE", "ENABLE"
6091
+ # resp.evaluation_form.items[0].question.enablement.default_action #=> String, one of "DISABLE", "ENABLE"
5845
6092
  # resp.evaluation_form.items[0].question.weight #=> Float
5846
6093
  # resp.evaluation_form.scoring_strategy.mode #=> String, one of "QUESTION_ONLY", "SECTION_ONLY"
5847
6094
  # resp.evaluation_form.scoring_strategy.status #=> String, one of "ENABLED", "DISABLED"
6095
+ # resp.evaluation_form.auto_evaluation_configuration.enabled #=> Boolean
5848
6096
  #
5849
6097
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactEvaluation AWS API Documentation
5850
6098
  #
@@ -5993,6 +6241,7 @@ module Aws::Connect
5993
6241
  # * {Types::DescribeEmailAddressResponse#description #description} => String
5994
6242
  # * {Types::DescribeEmailAddressResponse#create_timestamp #create_timestamp} => String
5995
6243
  # * {Types::DescribeEmailAddressResponse#modified_timestamp #modified_timestamp} => String
6244
+ # * {Types::DescribeEmailAddressResponse#alias_configurations #alias_configurations} => Array&lt;Types::AliasConfiguration&gt;
5996
6245
  # * {Types::DescribeEmailAddressResponse#tags #tags} => Hash&lt;String,String&gt;
5997
6246
  #
5998
6247
  # @example Request syntax with placeholder values
@@ -6011,6 +6260,8 @@ module Aws::Connect
6011
6260
  # resp.description #=> String
6012
6261
  # resp.create_timestamp #=> String
6013
6262
  # resp.modified_timestamp #=> String
6263
+ # resp.alias_configurations #=> Array
6264
+ # resp.alias_configurations[0].email_address_id #=> String
6014
6265
  # resp.tags #=> Hash
6015
6266
  # resp.tags["TagKey"] #=> String
6016
6267
  #
@@ -6080,18 +6331,34 @@ module Aws::Connect
6080
6331
  # resp.evaluation_form.items[0].question.question_type_properties.numeric.options[0].max_value #=> Integer
6081
6332
  # resp.evaluation_form.items[0].question.question_type_properties.numeric.options[0].score #=> Integer
6082
6333
  # resp.evaluation_form.items[0].question.question_type_properties.numeric.options[0].automatic_fail #=> Boolean
6083
- # resp.evaluation_form.items[0].question.question_type_properties.numeric.automation.property_value.label #=> String, one of "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"
6334
+ # resp.evaluation_form.items[0].question.question_type_properties.numeric.options[0].automatic_fail_configuration.target_section #=> String
6335
+ # resp.evaluation_form.items[0].question.question_type_properties.numeric.automation.property_value.label #=> String, one of "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"
6336
+ # resp.evaluation_form.items[0].question.question_type_properties.numeric.automation.answer_source.source_type #=> String, one of "CONTACT_LENS_DATA", "GEN_AI"
6084
6337
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.options #=> Array
6085
6338
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.options[0].ref_id #=> String
6086
6339
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.options[0].text #=> String
6087
6340
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.options[0].score #=> Integer
6088
6341
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.options[0].automatic_fail #=> Boolean
6342
+ # resp.evaluation_form.items[0].question.question_type_properties.single_select.options[0].automatic_fail_configuration.target_section #=> String
6089
6343
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.display_as #=> String, one of "DROPDOWN", "RADIO"
6090
6344
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.options #=> Array
6091
6345
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.options[0].rule_category.category #=> String
6092
6346
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.options[0].rule_category.condition #=> String, one of "PRESENT", "NOT_PRESENT"
6093
6347
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.options[0].rule_category.option_ref_id #=> String
6094
6348
  # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.default_option_ref_id #=> String
6349
+ # resp.evaluation_form.items[0].question.question_type_properties.single_select.automation.answer_source.source_type #=> String, one of "CONTACT_LENS_DATA", "GEN_AI"
6350
+ # resp.evaluation_form.items[0].question.question_type_properties.text.automation.answer_source.source_type #=> String, one of "CONTACT_LENS_DATA", "GEN_AI"
6351
+ # resp.evaluation_form.items[0].question.enablement.condition.operands #=> Array
6352
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.source.type #=> String, one of "QUESTION_REF_ID"
6353
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.source.ref_id #=> String
6354
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.values #=> Array
6355
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.values[0].type #=> String, one of "OPTION_REF_ID"
6356
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.values[0].ref_id #=> String
6357
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].expression.comparator #=> String, one of "IN", "NOT_IN"
6358
+ # resp.evaluation_form.items[0].question.enablement.condition.operands[0].condition #=> Types::EvaluationFormItemEnablementCondition
6359
+ # resp.evaluation_form.items[0].question.enablement.condition.operator #=> String, one of "OR", "AND"
6360
+ # resp.evaluation_form.items[0].question.enablement.action #=> String, one of "DISABLE", "ENABLE"
6361
+ # resp.evaluation_form.items[0].question.enablement.default_action #=> String, one of "DISABLE", "ENABLE"
6095
6362
  # resp.evaluation_form.items[0].question.weight #=> Float
6096
6363
  # resp.evaluation_form.scoring_strategy.mode #=> String, one of "QUESTION_ONLY", "SECTION_ONLY"
6097
6364
  # resp.evaluation_form.scoring_strategy.status #=> String, one of "ENABLED", "DISABLED"
@@ -6099,6 +6366,7 @@ module Aws::Connect
6099
6366
  # resp.evaluation_form.created_by #=> String
6100
6367
  # resp.evaluation_form.last_modified_time #=> Time
6101
6368
  # resp.evaluation_form.last_modified_by #=> String
6369
+ # resp.evaluation_form.auto_evaluation_configuration.enabled #=> Boolean
6102
6370
  # resp.evaluation_form.tags #=> Hash
6103
6371
  # resp.evaluation_form.tags["TagKey"] #=> String
6104
6372
  #
@@ -7335,6 +7603,134 @@ module Aws::Connect
7335
7603
  req.send_request(options)
7336
7604
  end
7337
7605
 
7606
+ # Removes the alias association between two email addresses in an Amazon
7607
+ # Connect instance. After disassociation, emails sent to the former
7608
+ # alias email address are no longer forwarded to the primary email
7609
+ # address. Both email addresses continue to exist independently and can
7610
+ # receive emails directly.
7611
+ #
7612
+ # **Use cases**
7613
+ #
7614
+ # Following are common uses cases for this API:
7615
+ #
7616
+ # * **Department separation**: Remove alias relationships when splitting
7617
+ # a consolidated support queue back into separate department-specific
7618
+ # queues.
7619
+ #
7620
+ # * **Email address retirement**: Cleanly remove forwarding
7621
+ # relationships before decommissioning old email addresses.
7622
+ #
7623
+ # * **Organizational restructuring**: Reconfigure email routing when
7624
+ # business processes change and aliases are no longer needed.
7625
+ #
7626
+ # **Important things to know**
7627
+ #
7628
+ # * Concurrent operations: This API uses distributed locking, so
7629
+ # concurrent operations on the same email addresses may be temporarily
7630
+ # blocked.
7631
+ #
7632
+ # * Emails sent to the former alias address are still delivered directly
7633
+ # to that address if it exists.
7634
+ #
7635
+ # * You do not need to delete the email addresses after disassociation.
7636
+ # Both addresses remain active independently.
7637
+ #
7638
+ # * After a successful disassociation, you can immediately create a new
7639
+ # alias relationship with the same addresses.
7640
+ #
7641
+ # * 200 status means alias was successfully disassociated.
7642
+ #
7643
+ # `DisassociateEmailAddressAlias` does not return the following
7644
+ # information:
7645
+ #
7646
+ # * Details in the response about the email that was disassociated. The
7647
+ # response returns an empty body.
7648
+ #
7649
+ # * The timestamp of when the disassociation occurred.
7650
+ #
7651
+ # **Endpoints**: See [Amazon Connect endpoints and quotas][1].
7652
+ #
7653
+ # **Related operations**
7654
+ #
7655
+ # * [AssociateEmailAddressAlias][2]: Associates an email address alias
7656
+ # with an existing email address in an Amazon Connect instance.
7657
+ #
7658
+ # * [DescribeEmailAddress][3]: View current alias configurations for an
7659
+ # email address.
7660
+ #
7661
+ # * [SearchEmailAddresses][4]: Find email addresses and their alias
7662
+ # relationships across an instance.
7663
+ #
7664
+ # * [CreateEmailAddress][5]: Create new email addresses that can
7665
+ # participate in alias relationships.
7666
+ #
7667
+ # * [DeleteEmailAddress][6]: Remove email addresses (automatically
7668
+ # removes any alias relationships).
7669
+ #
7670
+ # * [UpdateEmailAddressMetadata][7]: Modify email address properties
7671
+ # (does not affect alias relationships).
7672
+ #
7673
+ #
7674
+ #
7675
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/connect_region.html
7676
+ # [2]: https://docs.aws.amazon.com/connect/latest/APIReference/API_AssociateEmailAddressAlias.html
7677
+ # [3]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeEmailAddress.html
7678
+ # [4]: https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchEmailAddresses.html
7679
+ # [5]: https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateEmailAddress.html
7680
+ # [6]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteEmailAddress.html
7681
+ # [7]: https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateEmailAddressMetadata.html
7682
+ #
7683
+ # @option params [required, String] :email_address_id
7684
+ # The identifier of the email address.
7685
+ #
7686
+ # @option params [required, String] :instance_id
7687
+ # The identifier of the Amazon Connect instance. You can [find the
7688
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
7689
+ #
7690
+ #
7691
+ #
7692
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
7693
+ #
7694
+ # @option params [required, Types::AliasConfiguration] :alias_configuration
7695
+ # Configuration object that specifies which alias relationship to
7696
+ # remove. The alias association must currently exist between the primary
7697
+ # email address and the specified alias email address.
7698
+ #
7699
+ # @option params [String] :client_token
7700
+ # A unique, case-sensitive identifier that you provide to ensure the
7701
+ # idempotency of the request. If not provided, the Amazon Web Services
7702
+ # SDK populates this field. For more information about idempotency, see
7703
+ # [Making retries safe with idempotent APIs][1].
7704
+ #
7705
+ # **A suitable default value is auto-generated.** You should normally
7706
+ # not need to pass this option.**
7707
+ #
7708
+ #
7709
+ #
7710
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
7711
+ #
7712
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7713
+ #
7714
+ # @example Request syntax with placeholder values
7715
+ #
7716
+ # resp = client.disassociate_email_address_alias({
7717
+ # email_address_id: "EmailAddressId", # required
7718
+ # instance_id: "InstanceId", # required
7719
+ # alias_configuration: { # required
7720
+ # email_address_id: "EmailAddressId", # required
7721
+ # },
7722
+ # client_token: "ClientToken",
7723
+ # })
7724
+ #
7725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateEmailAddressAlias AWS API Documentation
7726
+ #
7727
+ # @overload disassociate_email_address_alias(params = {})
7728
+ # @param [Hash] params ({})
7729
+ def disassociate_email_address_alias(params = {}, options = {})
7730
+ req = build_request(:disassociate_email_address_alias, params)
7731
+ req.send_request(options)
7732
+ end
7733
+
7338
7734
  # Disassociates a connect resource from a flow.
7339
7735
  #
7340
7736
  # @option params [required, String] :instance_id
@@ -11572,11 +11968,18 @@ module Aws::Connect
11572
11968
  # resp.evaluation_summary_list[0].evaluation_arn #=> String
11573
11969
  # resp.evaluation_summary_list[0].evaluation_form_title #=> String
11574
11970
  # resp.evaluation_summary_list[0].evaluation_form_id #=> String
11971
+ # resp.evaluation_summary_list[0].calibration_session_id #=> String
11575
11972
  # resp.evaluation_summary_list[0].status #=> String, one of "DRAFT", "SUBMITTED"
11973
+ # resp.evaluation_summary_list[0].auto_evaluation_enabled #=> Boolean
11974
+ # resp.evaluation_summary_list[0].auto_evaluation_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED"
11576
11975
  # resp.evaluation_summary_list[0].evaluator_arn #=> String
11577
11976
  # resp.evaluation_summary_list[0].score.percentage #=> Float
11578
11977
  # resp.evaluation_summary_list[0].score.not_applicable #=> Boolean
11579
11978
  # resp.evaluation_summary_list[0].score.automatic_fail #=> Boolean
11979
+ # resp.evaluation_summary_list[0].acknowledgement.acknowledged_time #=> Time
11980
+ # resp.evaluation_summary_list[0].acknowledgement.acknowledged_by #=> String
11981
+ # resp.evaluation_summary_list[0].acknowledgement.acknowledger_comment #=> String
11982
+ # resp.evaluation_summary_list[0].evaluation_type #=> String, one of "STANDARD", "CALIBRATION"
11580
11983
  # resp.evaluation_summary_list[0].created_time #=> Time
11581
11984
  # resp.evaluation_summary_list[0].last_modified_time #=> Time
11582
11985
  # resp.next_token #=> String
@@ -14772,6 +15175,174 @@ module Aws::Connect
14772
15175
  req.send_request(options)
14773
15176
  end
14774
15177
 
15178
+ # Searches contact evaluations in an Amazon Connect instance, with
15179
+ # optional filtering.
15180
+ #
15181
+ # **Use cases**
15182
+ #
15183
+ # Following are common uses cases for this API:
15184
+ #
15185
+ # * Find contact evaluations by using specific search criteria.
15186
+ #
15187
+ # * Find contact evaluations that are tagged with a specific set of
15188
+ # tags.
15189
+ #
15190
+ # **Important things to know**
15191
+ #
15192
+ # * A Search operation, unlike a List operation, takes time to index
15193
+ # changes to resource (create, update or delete). If you don't see
15194
+ # updated information for recently changed contact evaluations, try
15195
+ # calling the API again in a few seconds. Contact Evaluations may not
15196
+ # be fully backfilled with historical data in all regions yet, however
15197
+ # all recently created Contact Evaluations should be available for
15198
+ # search.
15199
+ #
15200
+ # ^
15201
+ #
15202
+ # **Endpoints**: See [Amazon Connect endpoints and quotas][1].
15203
+ #
15204
+ #
15205
+ #
15206
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/connect_region.html
15207
+ #
15208
+ # @option params [required, String] :instance_id
15209
+ # The identifier of the Amazon Connect instance. You can [find the
15210
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
15211
+ #
15212
+ #
15213
+ #
15214
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
15215
+ #
15216
+ # @option params [String] :next_token
15217
+ # The token for the next set of results. Use the value returned in the
15218
+ # previous response in the next request to retrieve the next set of
15219
+ # results.
15220
+ #
15221
+ # @option params [Integer] :max_results
15222
+ # The maximum number of results to return per page.
15223
+ #
15224
+ # @option params [Types::EvaluationSearchCriteria] :search_criteria
15225
+ # The search criteria to be used to return contact evaluations.
15226
+ #
15227
+ # @option params [Types::EvaluationSearchFilter] :search_filter
15228
+ # Filters to be applied to search results.
15229
+ #
15230
+ # @return [Types::SearchContactEvaluationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15231
+ #
15232
+ # * {Types::SearchContactEvaluationsResponse#evaluation_search_summary_list #evaluation_search_summary_list} => Array&lt;Types::EvaluationSearchSummary&gt;
15233
+ # * {Types::SearchContactEvaluationsResponse#next_token #next_token} => String
15234
+ # * {Types::SearchContactEvaluationsResponse#approximate_total_count #approximate_total_count} => Integer
15235
+ #
15236
+ # @example Request syntax with placeholder values
15237
+ #
15238
+ # resp = client.search_contact_evaluations({
15239
+ # instance_id: "InstanceId", # required
15240
+ # next_token: "NextToken",
15241
+ # max_results: 1,
15242
+ # search_criteria: {
15243
+ # or_conditions: [
15244
+ # {
15245
+ # # recursive EvaluationSearchCriteria
15246
+ # },
15247
+ # ],
15248
+ # and_conditions: [
15249
+ # {
15250
+ # # recursive EvaluationSearchCriteria
15251
+ # },
15252
+ # ],
15253
+ # string_condition: {
15254
+ # field_name: "String",
15255
+ # value: "String",
15256
+ # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
15257
+ # },
15258
+ # number_condition: {
15259
+ # field_name: "String",
15260
+ # min_value: 1,
15261
+ # max_value: 1,
15262
+ # comparison_type: "GREATER_OR_EQUAL", # accepts GREATER_OR_EQUAL, GREATER, LESSER_OR_EQUAL, LESSER, EQUAL, NOT_EQUAL, RANGE
15263
+ # },
15264
+ # boolean_condition: {
15265
+ # field_name: "String",
15266
+ # comparison_type: "IS_TRUE", # accepts IS_TRUE, IS_FALSE
15267
+ # },
15268
+ # date_time_condition: {
15269
+ # field_name: "String",
15270
+ # min_value: "DateTimeFormat",
15271
+ # max_value: "DateTimeFormat",
15272
+ # comparison_type: "GREATER_THAN", # accepts GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN_OR_EQUAL_TO, EQUAL_TO, RANGE
15273
+ # },
15274
+ # decimal_condition: {
15275
+ # field_name: "String",
15276
+ # min_value: 1.0,
15277
+ # max_value: 1.0,
15278
+ # comparison_type: "GREATER_OR_EQUAL", # accepts GREATER_OR_EQUAL, GREATER, LESSER_OR_EQUAL, LESSER, EQUAL, NOT_EQUAL, RANGE
15279
+ # },
15280
+ # },
15281
+ # search_filter: {
15282
+ # attribute_filter: {
15283
+ # or_conditions: [
15284
+ # {
15285
+ # tag_conditions: [
15286
+ # {
15287
+ # tag_key: "String",
15288
+ # tag_value: "String",
15289
+ # },
15290
+ # ],
15291
+ # },
15292
+ # ],
15293
+ # and_condition: {
15294
+ # tag_conditions: [
15295
+ # {
15296
+ # tag_key: "String",
15297
+ # tag_value: "String",
15298
+ # },
15299
+ # ],
15300
+ # },
15301
+ # tag_condition: {
15302
+ # tag_key: "String",
15303
+ # tag_value: "String",
15304
+ # },
15305
+ # },
15306
+ # },
15307
+ # })
15308
+ #
15309
+ # @example Response structure
15310
+ #
15311
+ # resp.evaluation_search_summary_list #=> Array
15312
+ # resp.evaluation_search_summary_list[0].evaluation_id #=> String
15313
+ # resp.evaluation_search_summary_list[0].evaluation_arn #=> String
15314
+ # resp.evaluation_search_summary_list[0].evaluation_form_id #=> String
15315
+ # resp.evaluation_search_summary_list[0].evaluation_form_version #=> Integer
15316
+ # resp.evaluation_search_summary_list[0].metadata.contact_id #=> String
15317
+ # resp.evaluation_search_summary_list[0].metadata.evaluator_arn #=> String
15318
+ # resp.evaluation_search_summary_list[0].metadata.contact_agent_id #=> String
15319
+ # resp.evaluation_search_summary_list[0].metadata.calibration_session_id #=> String
15320
+ # resp.evaluation_search_summary_list[0].metadata.score_percentage #=> Float
15321
+ # resp.evaluation_search_summary_list[0].metadata.score_automatic_fail #=> Boolean
15322
+ # resp.evaluation_search_summary_list[0].metadata.score_not_applicable #=> Boolean
15323
+ # resp.evaluation_search_summary_list[0].metadata.auto_evaluation_enabled #=> Boolean
15324
+ # resp.evaluation_search_summary_list[0].metadata.auto_evaluation_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED"
15325
+ # resp.evaluation_search_summary_list[0].metadata.acknowledged_time #=> Time
15326
+ # resp.evaluation_search_summary_list[0].metadata.acknowledged_by #=> String
15327
+ # resp.evaluation_search_summary_list[0].metadata.acknowledger_comment #=> String
15328
+ # resp.evaluation_search_summary_list[0].status #=> String, one of "DRAFT", "SUBMITTED"
15329
+ # resp.evaluation_search_summary_list[0].evaluation_type #=> String, one of "STANDARD", "CALIBRATION"
15330
+ # resp.evaluation_search_summary_list[0].created_time #=> Time
15331
+ # resp.evaluation_search_summary_list[0].last_modified_time #=> Time
15332
+ # resp.evaluation_search_summary_list[0].tags #=> Hash
15333
+ # resp.evaluation_search_summary_list[0].tags["TagKey"] #=> String
15334
+ # resp.next_token #=> String
15335
+ # resp.approximate_total_count #=> Integer
15336
+ #
15337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchContactEvaluations AWS API Documentation
15338
+ #
15339
+ # @overload search_contact_evaluations(params = {})
15340
+ # @param [Hash] params ({})
15341
+ def search_contact_evaluations(params = {}, options = {})
15342
+ req = build_request(:search_contact_evaluations, params)
15343
+ req.send_request(options)
15344
+ end
15345
+
14775
15346
  # Searches the flow modules in an Amazon Connect instance, with optional
14776
15347
  # filtering.
14777
15348
  #
@@ -15268,6 +15839,8 @@ module Aws::Connect
15268
15839
  # resp.email_addresses[0].email_address #=> String
15269
15840
  # resp.email_addresses[0].description #=> String
15270
15841
  # resp.email_addresses[0].display_name #=> String
15842
+ # resp.email_addresses[0].alias_configurations #=> Array
15843
+ # resp.email_addresses[0].alias_configurations[0].email_address_id #=> String
15271
15844
  # resp.approximate_total_count #=> Integer
15272
15845
  #
15273
15846
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchEmailAddresses AWS API Documentation
@@ -15279,6 +15852,162 @@ module Aws::Connect
15279
15852
  req.send_request(options)
15280
15853
  end
15281
15854
 
15855
+ # Searches evaluation forms in an Amazon Connect instance, with optional
15856
+ # filtering.
15857
+ #
15858
+ # **Use cases**
15859
+ #
15860
+ # Following are common uses cases for this API:
15861
+ #
15862
+ # * List all evaluation forms in an instance.
15863
+ #
15864
+ # * Find all evaluation forms that meet specific criteria, such as
15865
+ # Title, Description, Status, and more.
15866
+ #
15867
+ # * Find all evaluation forms that are tagged with a specific set of
15868
+ # tags.
15869
+ #
15870
+ # **Important things to know**
15871
+ #
15872
+ # * A Search operation, unlike a List operation, takes time to index
15873
+ # changes to resource (create, update or delete). If you don't see
15874
+ # updated information for recently changed contact evaluations, try
15875
+ # calling the API again in a few seconds.
15876
+ #
15877
+ # ^
15878
+ #
15879
+ # **Endpoints**: See [Amazon Connect endpoints and quotas][1].
15880
+ #
15881
+ #
15882
+ #
15883
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/connect_region.html
15884
+ #
15885
+ # @option params [required, String] :instance_id
15886
+ # The identifier of the Amazon Connect instance. You can [find the
15887
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
15888
+ #
15889
+ #
15890
+ #
15891
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
15892
+ #
15893
+ # @option params [String] :next_token
15894
+ # The token for the next set of results. Use the value returned in the
15895
+ # previous response in the next request to retrieve the next set of
15896
+ # results.
15897
+ #
15898
+ # @option params [Integer] :max_results
15899
+ # The maximum number of results to return per page.
15900
+ #
15901
+ # @option params [Types::EvaluationFormSearchCriteria] :search_criteria
15902
+ # The search criteria to be used to return evaluation forms.
15903
+ #
15904
+ # @option params [Types::EvaluationFormSearchFilter] :search_filter
15905
+ # Filters to be applied to search results.
15906
+ #
15907
+ # @return [Types::SearchEvaluationFormsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15908
+ #
15909
+ # * {Types::SearchEvaluationFormsResponse#evaluation_form_search_summary_list #evaluation_form_search_summary_list} => Array&lt;Types::EvaluationFormSearchSummary&gt;
15910
+ # * {Types::SearchEvaluationFormsResponse#next_token #next_token} => String
15911
+ # * {Types::SearchEvaluationFormsResponse#approximate_total_count #approximate_total_count} => Integer
15912
+ #
15913
+ # @example Request syntax with placeholder values
15914
+ #
15915
+ # resp = client.search_evaluation_forms({
15916
+ # instance_id: "InstanceId", # required
15917
+ # next_token: "NextToken",
15918
+ # max_results: 1,
15919
+ # search_criteria: {
15920
+ # or_conditions: [
15921
+ # {
15922
+ # # recursive EvaluationFormSearchCriteria
15923
+ # },
15924
+ # ],
15925
+ # and_conditions: [
15926
+ # {
15927
+ # # recursive EvaluationFormSearchCriteria
15928
+ # },
15929
+ # ],
15930
+ # string_condition: {
15931
+ # field_name: "String",
15932
+ # value: "String",
15933
+ # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
15934
+ # },
15935
+ # number_condition: {
15936
+ # field_name: "String",
15937
+ # min_value: 1,
15938
+ # max_value: 1,
15939
+ # comparison_type: "GREATER_OR_EQUAL", # accepts GREATER_OR_EQUAL, GREATER, LESSER_OR_EQUAL, LESSER, EQUAL, NOT_EQUAL, RANGE
15940
+ # },
15941
+ # boolean_condition: {
15942
+ # field_name: "String",
15943
+ # comparison_type: "IS_TRUE", # accepts IS_TRUE, IS_FALSE
15944
+ # },
15945
+ # date_time_condition: {
15946
+ # field_name: "String",
15947
+ # min_value: "DateTimeFormat",
15948
+ # max_value: "DateTimeFormat",
15949
+ # comparison_type: "GREATER_THAN", # accepts GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN_OR_EQUAL_TO, EQUAL_TO, RANGE
15950
+ # },
15951
+ # },
15952
+ # search_filter: {
15953
+ # attribute_filter: {
15954
+ # or_conditions: [
15955
+ # {
15956
+ # tag_conditions: [
15957
+ # {
15958
+ # tag_key: "String",
15959
+ # tag_value: "String",
15960
+ # },
15961
+ # ],
15962
+ # },
15963
+ # ],
15964
+ # and_condition: {
15965
+ # tag_conditions: [
15966
+ # {
15967
+ # tag_key: "String",
15968
+ # tag_value: "String",
15969
+ # },
15970
+ # ],
15971
+ # },
15972
+ # tag_condition: {
15973
+ # tag_key: "String",
15974
+ # tag_value: "String",
15975
+ # },
15976
+ # },
15977
+ # },
15978
+ # })
15979
+ #
15980
+ # @example Response structure
15981
+ #
15982
+ # resp.evaluation_form_search_summary_list #=> Array
15983
+ # resp.evaluation_form_search_summary_list[0].evaluation_form_id #=> String
15984
+ # resp.evaluation_form_search_summary_list[0].evaluation_form_arn #=> String
15985
+ # resp.evaluation_form_search_summary_list[0].title #=> String
15986
+ # resp.evaluation_form_search_summary_list[0].status #=> String, one of "DRAFT", "ACTIVE"
15987
+ # resp.evaluation_form_search_summary_list[0].description #=> String
15988
+ # resp.evaluation_form_search_summary_list[0].created_time #=> Time
15989
+ # resp.evaluation_form_search_summary_list[0].created_by #=> String
15990
+ # resp.evaluation_form_search_summary_list[0].last_modified_time #=> Time
15991
+ # resp.evaluation_form_search_summary_list[0].last_modified_by #=> String
15992
+ # resp.evaluation_form_search_summary_list[0].last_activated_time #=> Time
15993
+ # resp.evaluation_form_search_summary_list[0].last_activated_by #=> String
15994
+ # resp.evaluation_form_search_summary_list[0].latest_version #=> Integer
15995
+ # resp.evaluation_form_search_summary_list[0].active_version #=> Integer
15996
+ # resp.evaluation_form_search_summary_list[0].auto_evaluation_enabled #=> Boolean
15997
+ # resp.evaluation_form_search_summary_list[0].tags #=> Hash
15998
+ # resp.evaluation_form_search_summary_list[0].tags["TagKey"] #=> String
15999
+ # resp.next_token #=> String
16000
+ # resp.approximate_total_count #=> Integer
16001
+ #
16002
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchEvaluationForms AWS API Documentation
16003
+ #
16004
+ # @overload search_evaluation_forms(params = {})
16005
+ # @param [Hash] params ({})
16006
+ def search_evaluation_forms(params = {}, options = {})
16007
+ req = build_request(:search_evaluation_forms, params)
16008
+ req.send_request(options)
16009
+ end
16010
+
15282
16011
  # Searches the hours of operation overrides.
15283
16012
  #
15284
16013
  # @option params [required, String] :instance_id
@@ -17204,6 +17933,9 @@ module Aws::Connect
17204
17933
  # @option params [required, String] :evaluation_form_id
17205
17934
  # The unique identifier for the evaluation form.
17206
17935
  #
17936
+ # @option params [Types::AutoEvaluationConfiguration] :auto_evaluation_configuration
17937
+ # Whether automated evaluations are enabled.
17938
+ #
17207
17939
  # @option params [String] :client_token
17208
17940
  # A unique, case-sensitive identifier that you provide to ensure the
17209
17941
  # idempotency of the request. If not provided, the Amazon Web Services
@@ -17217,6 +17949,11 @@ module Aws::Connect
17217
17949
  #
17218
17950
  # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
17219
17951
  #
17952
+ # @option params [Hash<String,String>] :tags
17953
+ # The tags used to organize, track, or control access for this resource.
17954
+ # For example, \{ "Tags": \{"key1":"value1", "key2":"value2"}
17955
+ # }.
17956
+ #
17220
17957
  # @return [Types::StartContactEvaluationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
17221
17958
  #
17222
17959
  # * {Types::StartContactEvaluationResponse#evaluation_id #evaluation_id} => String
@@ -17228,7 +17965,13 @@ module Aws::Connect
17228
17965
  # instance_id: "InstanceId", # required
17229
17966
  # contact_id: "ContactId", # required
17230
17967
  # evaluation_form_id: "ResourceId", # required
17968
+ # auto_evaluation_configuration: {
17969
+ # enabled: false, # required
17970
+ # },
17231
17971
  # client_token: "ClientToken",
17972
+ # tags: {
17973
+ # "TagKey" => "TagValue",
17974
+ # },
17232
17975
  # })
17233
17976
  #
17234
17977
  # @example Response structure
@@ -17984,6 +18727,9 @@ module Aws::Connect
17984
18727
  # Use `CAMPAIGN` if `EnableAnswerMachineDetection` is set to `true`. For
17985
18728
  # all other cases, use `GENERAL`.
17986
18729
  #
18730
+ # @option params [Types::OutboundStrategy] :outbound_strategy
18731
+ # Information about the outbound strategy.
18732
+ #
17987
18733
  # @return [Types::StartOutboundVoiceContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
17988
18734
  #
17989
18735
  # * {Types::StartOutboundVoiceContactResponse#contact_id #contact_id} => String
@@ -18018,6 +18764,19 @@ module Aws::Connect
18018
18764
  # },
18019
18765
  # campaign_id: "CampaignId",
18020
18766
  # traffic_type: "GENERAL", # accepts GENERAL, CAMPAIGN
18767
+ # outbound_strategy: {
18768
+ # type: "AGENT_FIRST", # required, accepts AGENT_FIRST
18769
+ # config: {
18770
+ # agent_first: {
18771
+ # preview: {
18772
+ # post_accept_timeout_config: { # required
18773
+ # duration_in_seconds: 1, # required
18774
+ # },
18775
+ # allowed_user_actions: ["CALL"], # required, accepts CALL, DISCARD
18776
+ # },
18777
+ # },
18778
+ # },
18779
+ # },
18021
18780
  # })
18022
18781
  #
18023
18782
  # @example Response structure
@@ -18475,7 +19234,14 @@ module Aws::Connect
18475
19234
  #
18476
19235
  # @option params [Types::DisconnectReason] :disconnect_reason
18477
19236
  # The reason a contact can be disconnected. Only Amazon Connect outbound
18478
- # campaigns can provide this field.
19237
+ # campaigns can provide this field. For a list and description of all
19238
+ # the possible disconnect reasons by channel (including outbound
19239
+ # campaign voice contacts) see DisconnectReason under
19240
+ # [ContactTraceRecord][1] in the *Amazon Connect Administrator Guide*.
19241
+ #
19242
+ #
19243
+ #
19244
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/ctr-data-model.html#ctr-ContactTraceRecord
18479
19245
  #
18480
19246
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
18481
19247
  #
@@ -18614,6 +19380,9 @@ module Aws::Connect
18614
19380
  # @option params [Hash<String,Types::EvaluationNote>] :notes
18615
19381
  # A map of question identifiers to note value.
18616
19382
  #
19383
+ # @option params [Types::EvaluatorUserUnion] :submitted_by
19384
+ # The ID of the user who submitted the contact evaluation.
19385
+ #
18617
19386
  # @return [Types::SubmitContactEvaluationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18618
19387
  #
18619
19388
  # * {Types::SubmitContactEvaluationResponse#evaluation_id #evaluation_id} => String
@@ -18638,6 +19407,9 @@ module Aws::Connect
18638
19407
  # value: "EvaluationNoteString",
18639
19408
  # },
18640
19409
  # },
19410
+ # submitted_by: {
19411
+ # connect_user_arn: "ARN",
19412
+ # },
18641
19413
  # })
18642
19414
  #
18643
19415
  # @example Response structure
@@ -19335,6 +20107,9 @@ module Aws::Connect
19335
20107
  # @option params [Hash<String,Types::EvaluationNote>] :notes
19336
20108
  # A map of question identifiers to note value.
19337
20109
  #
20110
+ # @option params [Types::EvaluatorUserUnion] :updated_by
20111
+ # The ID of the user who updated the contact evaluation.
20112
+ #
19338
20113
  # @return [Types::UpdateContactEvaluationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
19339
20114
  #
19340
20115
  # * {Types::UpdateContactEvaluationResponse#evaluation_id #evaluation_id} => String
@@ -19359,6 +20134,9 @@ module Aws::Connect
19359
20134
  # value: "EvaluationNoteString",
19360
20135
  # },
19361
20136
  # },
20137
+ # updated_by: {
20138
+ # connect_user_arn: "ARN",
20139
+ # },
19362
20140
  # })
19363
20141
  #
19364
20142
  # @example Response structure
@@ -19856,6 +20634,9 @@ module Aws::Connect
19856
20634
  # @option params [Types::EvaluationFormScoringStrategy] :scoring_strategy
19857
20635
  # A scoring strategy of the evaluation form.
19858
20636
  #
20637
+ # @option params [Types::EvaluationFormAutoEvaluationConfiguration] :auto_evaluation_configuration
20638
+ # Whether automated evaluations are enabled.
20639
+ #
19859
20640
  # @option params [String] :client_token
19860
20641
  # A unique, case-sensitive identifier that you provide to ensure the
19861
20642
  # idempotency of the request. If not provided, the Amazon Web Services
@@ -19911,11 +20692,17 @@ module Aws::Connect
19911
20692
  # max_value: 1, # required
19912
20693
  # score: 1,
19913
20694
  # automatic_fail: false,
20695
+ # automatic_fail_configuration: {
20696
+ # target_section: "ReferenceId",
20697
+ # },
19914
20698
  # },
19915
20699
  # ],
19916
20700
  # automation: {
19917
20701
  # property_value: {
19918
- # label: "OVERALL_CUSTOMER_SENTIMENT_SCORE", # required, accepts 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
20702
+ # label: "OVERALL_CUSTOMER_SENTIMENT_SCORE", # required, accepts 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
20703
+ # },
20704
+ # answer_source: {
20705
+ # source_type: "CONTACT_LENS_DATA", # required, accepts CONTACT_LENS_DATA, GEN_AI
19919
20706
  # },
19920
20707
  # },
19921
20708
  # },
@@ -19926,11 +20713,14 @@ module Aws::Connect
19926
20713
  # text: "EvaluationFormSingleSelectQuestionOptionText", # required
19927
20714
  # score: 1,
19928
20715
  # automatic_fail: false,
20716
+ # automatic_fail_configuration: {
20717
+ # target_section: "ReferenceId",
20718
+ # },
19929
20719
  # },
19930
20720
  # ],
19931
20721
  # display_as: "DROPDOWN", # accepts DROPDOWN, RADIO
19932
20722
  # automation: {
19933
- # options: [ # required
20723
+ # options: [
19934
20724
  # {
19935
20725
  # rule_category: {
19936
20726
  # category: "SingleSelectQuestionRuleCategoryAutomationLabel", # required
@@ -19940,9 +20730,46 @@ module Aws::Connect
19940
20730
  # },
19941
20731
  # ],
19942
20732
  # default_option_ref_id: "ReferenceId",
20733
+ # answer_source: {
20734
+ # source_type: "CONTACT_LENS_DATA", # required, accepts CONTACT_LENS_DATA, GEN_AI
20735
+ # },
20736
+ # },
20737
+ # },
20738
+ # text: {
20739
+ # automation: {
20740
+ # answer_source: {
20741
+ # source_type: "CONTACT_LENS_DATA", # required, accepts CONTACT_LENS_DATA, GEN_AI
20742
+ # },
19943
20743
  # },
19944
20744
  # },
19945
20745
  # },
20746
+ # enablement: {
20747
+ # condition: { # required
20748
+ # operands: [ # required
20749
+ # {
20750
+ # expression: {
20751
+ # source: { # required
20752
+ # type: "QUESTION_REF_ID", # required, accepts QUESTION_REF_ID
20753
+ # ref_id: "ReferenceId",
20754
+ # },
20755
+ # values: [ # required
20756
+ # {
20757
+ # type: "OPTION_REF_ID", # required, accepts OPTION_REF_ID
20758
+ # ref_id: "ReferenceId",
20759
+ # },
20760
+ # ],
20761
+ # comparator: "IN", # required, accepts IN, NOT_IN
20762
+ # },
20763
+ # condition: {
20764
+ # # recursive EvaluationFormItemEnablementCondition
20765
+ # },
20766
+ # },
20767
+ # ],
20768
+ # operator: "OR", # accepts OR, AND
20769
+ # },
20770
+ # action: "DISABLE", # required, accepts DISABLE, ENABLE
20771
+ # default_action: "DISABLE", # accepts DISABLE, ENABLE
20772
+ # },
19946
20773
  # weight: 1.0,
19947
20774
  # },
19948
20775
  # },
@@ -19951,6 +20778,9 @@ module Aws::Connect
19951
20778
  # mode: "QUESTION_ONLY", # required, accepts QUESTION_ONLY, SECTION_ONLY
19952
20779
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
19953
20780
  # },
20781
+ # auto_evaluation_configuration: {
20782
+ # enabled: false, # required
20783
+ # },
19954
20784
  # client_token: "ClientToken",
19955
20785
  # })
19956
20786
  #
@@ -22078,7 +22908,7 @@ module Aws::Connect
22078
22908
  tracer: tracer
22079
22909
  )
22080
22910
  context[:gem_name] = 'aws-sdk-connect'
22081
- context[:gem_version] = '1.220.0'
22911
+ context[:gem_version] = '1.222.0'
22082
22912
  Seahorse::Client::Request.new(handlers, context)
22083
22913
  end
22084
22914