aws-sdk-connect 1.300.0 → 1.301.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.
@@ -833,15 +833,24 @@ module Aws::Connect
833
833
  EvaluationAutomationRuleCategoryList = Shapes::ListShape.new(name: 'EvaluationAutomationRuleCategoryList')
834
834
  EvaluationContactLensAnswerAnalysisDetails = Shapes::StructureShape.new(name: 'EvaluationContactLensAnswerAnalysisDetails')
835
835
  EvaluationContactParticipant = Shapes::StructureShape.new(name: 'EvaluationContactParticipant')
836
+ EvaluationEnablementStatus = Shapes::StringShape.new(name: 'EvaluationEnablementStatus')
837
+ EvaluationEnablementStatusMap = Shapes::MapShape.new(name: 'EvaluationEnablementStatusMap')
836
838
  EvaluationForm = Shapes::StructureShape.new(name: 'EvaluationForm')
837
839
  EvaluationFormAIVersion = Shapes::StringShape.new(name: 'EvaluationFormAIVersion')
838
840
  EvaluationFormAIVersionLifecycle = Shapes::StructureShape.new(name: 'EvaluationFormAIVersionLifecycle')
839
841
  EvaluationFormAIVersionStatus = Shapes::StringShape.new(name: 'EvaluationFormAIVersionStatus')
840
842
  EvaluationFormAIVersionSummary = Shapes::StructureShape.new(name: 'EvaluationFormAIVersionSummary')
841
843
  EvaluationFormAIVersionSummaryList = Shapes::ListShape.new(name: 'EvaluationFormAIVersionSummaryList')
844
+ EvaluationFormAiMetricsField = Shapes::StringShape.new(name: 'EvaluationFormAiMetricsField')
842
845
  EvaluationFormAutoEvaluationConfiguration = Shapes::StructureShape.new(name: 'EvaluationFormAutoEvaluationConfiguration')
846
+ EvaluationFormContactAttributeKey = Shapes::StringShape.new(name: 'EvaluationFormContactAttributeKey')
847
+ EvaluationFormContactField = Shapes::StringShape.new(name: 'EvaluationFormContactField')
843
848
  EvaluationFormContent = Shapes::StructureShape.new(name: 'EvaluationFormContent')
844
849
  EvaluationFormDescription = Shapes::StringShape.new(name: 'EvaluationFormDescription')
850
+ EvaluationFormEnablementBooleanValue = Shapes::BooleanShape.new(name: 'EvaluationFormEnablementBooleanValue')
851
+ EvaluationFormEnablementNumericValue = Shapes::FloatShape.new(name: 'EvaluationFormEnablementNumericValue')
852
+ EvaluationFormEnablementStringValue = Shapes::StringShape.new(name: 'EvaluationFormEnablementStringValue')
853
+ EvaluationFormEvaluationMetadataField = Shapes::StringShape.new(name: 'EvaluationFormEvaluationMetadataField')
845
854
  EvaluationFormId = Shapes::StringShape.new(name: 'EvaluationFormId')
846
855
  EvaluationFormItem = Shapes::UnionShape.new(name: 'EvaluationFormItem')
847
856
  EvaluationFormItemEnablementAction = Shapes::StringShape.new(name: 'EvaluationFormItemEnablementAction')
@@ -897,6 +906,7 @@ module Aws::Connect
897
906
  EvaluationFormSearchSummaryList = Shapes::ListShape.new(name: 'EvaluationFormSearchSummaryList')
898
907
  EvaluationFormSection = Shapes::StructureShape.new(name: 'EvaluationFormSection')
899
908
  EvaluationFormSectionTitle = Shapes::StringShape.new(name: 'EvaluationFormSectionTitle')
909
+ EvaluationFormSegmentAttributeKey = Shapes::StringShape.new(name: 'EvaluationFormSegmentAttributeKey')
900
910
  EvaluationFormSingleSelectQuestionAutomation = Shapes::StructureShape.new(name: 'EvaluationFormSingleSelectQuestionAutomation')
901
911
  EvaluationFormSingleSelectQuestionAutomationOption = Shapes::UnionShape.new(name: 'EvaluationFormSingleSelectQuestionAutomationOption')
902
912
  EvaluationFormSingleSelectQuestionAutomationOptionList = Shapes::ListShape.new(name: 'EvaluationFormSingleSelectQuestionAutomationOptionList')
@@ -928,6 +938,7 @@ module Aws::Connect
928
938
  EvaluationFormVersionSummaryList = Shapes::ListShape.new(name: 'EvaluationFormVersionSummaryList')
929
939
  EvaluationGenAIAnswerAnalysisDetails = Shapes::StructureShape.new(name: 'EvaluationGenAIAnswerAnalysisDetails')
930
940
  EvaluationId = Shapes::StringShape.new(name: 'EvaluationId')
941
+ EvaluationItemResolutionStatus = Shapes::StringShape.new(name: 'EvaluationItemResolutionStatus')
931
942
  EvaluationMetadata = Shapes::StructureShape.new(name: 'EvaluationMetadata')
932
943
  EvaluationNote = Shapes::StructureShape.new(name: 'EvaluationNote')
933
944
  EvaluationNoteString = Shapes::StringShape.new(name: 'EvaluationNoteString')
@@ -935,6 +946,9 @@ module Aws::Connect
935
946
  EvaluationQuestionAnswerAnalysisDetails = Shapes::UnionShape.new(name: 'EvaluationQuestionAnswerAnalysisDetails')
936
947
  EvaluationQuestionAnswerAnalysisType = Shapes::StringShape.new(name: 'EvaluationQuestionAnswerAnalysisType')
937
948
  EvaluationQuestionInputDetails = Shapes::StructureShape.new(name: 'EvaluationQuestionInputDetails')
949
+ EvaluationResolvedSource = Shapes::StructureShape.new(name: 'EvaluationResolvedSource')
950
+ EvaluationResolvedSourceList = Shapes::ListShape.new(name: 'EvaluationResolvedSourceList')
951
+ EvaluationResolvedSourceValueList = Shapes::ListShape.new(name: 'EvaluationResolvedSourceValueList')
938
952
  EvaluationReviewConfiguration = Shapes::StructureShape.new(name: 'EvaluationReviewConfiguration')
939
953
  EvaluationReviewMetadata = Shapes::StructureShape.new(name: 'EvaluationReviewMetadata')
940
954
  EvaluationReviewNotificationRecipient = Shapes::StructureShape.new(name: 'EvaluationReviewNotificationRecipient')
@@ -1985,6 +1999,7 @@ module Aws::Connect
1985
1999
  SignInDistribution = Shapes::StructureShape.new(name: 'SignInDistribution')
1986
2000
  SignInDistributionList = Shapes::ListShape.new(name: 'SignInDistributionList')
1987
2001
  SingleSelectOptions = Shapes::ListShape.new(name: 'SingleSelectOptions')
2002
+ SingleSelectQuestionAutomationRule = Shapes::StructureShape.new(name: 'SingleSelectQuestionAutomationRule')
1988
2003
  SingleSelectQuestionRuleCategoryAutomation = Shapes::StructureShape.new(name: 'SingleSelectQuestionRuleCategoryAutomation')
1989
2004
  SingleSelectQuestionRuleCategoryAutomationCondition = Shapes::StringShape.new(name: 'SingleSelectQuestionRuleCategoryAutomationCondition')
1990
2005
  SingleSelectQuestionRuleCategoryAutomationLabel = Shapes::StringShape.new(name: 'SingleSelectQuestionRuleCategoryAutomationLabel')
@@ -5224,6 +5239,9 @@ module Aws::Connect
5224
5239
  Evaluation.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
5225
5240
  Evaluation.add_member(:evaluation_type, Shapes::ShapeRef.new(shape: EvaluationType, location_name: "EvaluationType"))
5226
5241
  Evaluation.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
5242
+ Evaluation.add_member(:item_enablement_status, Shapes::ShapeRef.new(shape: EvaluationEnablementStatusMap, location_name: "ItemEnablementStatus"))
5243
+ Evaluation.add_member(:source_resolution_status, Shapes::ShapeRef.new(shape: EvaluationItemResolutionStatus, location_name: "SourceResolutionStatus"))
5244
+ Evaluation.add_member(:source_values, Shapes::ShapeRef.new(shape: EvaluationResolvedSourceList, location_name: "SourceValues"))
5227
5245
  Evaluation.struct_class = Types::Evaluation
5228
5246
 
5229
5247
  EvaluationAcknowledgement.add_member(:acknowledged_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "AcknowledgedTime"))
@@ -5280,6 +5298,9 @@ module Aws::Connect
5280
5298
  EvaluationContactParticipant.add_member(:contact_participant_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ContactParticipantId"))
5281
5299
  EvaluationContactParticipant.struct_class = Types::EvaluationContactParticipant
5282
5300
 
5301
+ EvaluationEnablementStatusMap.key = Shapes::ShapeRef.new(shape: ReferenceId)
5302
+ EvaluationEnablementStatusMap.value = Shapes::ShapeRef.new(shape: EvaluationEnablementStatus)
5303
+
5283
5304
  EvaluationForm.add_member(:evaluation_form_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "EvaluationFormId"))
5284
5305
  EvaluationForm.add_member(:evaluation_form_version, Shapes::ShapeRef.new(shape: VersionNumber, required: true, location_name: "EvaluationFormVersion"))
5285
5306
  EvaluationForm.add_member(:locked, Shapes::ShapeRef.new(shape: EvaluationFormVersionIsLocked, required: true, location_name: "Locked"))
@@ -5365,10 +5386,19 @@ module Aws::Connect
5365
5386
 
5366
5387
  EvaluationFormItemEnablementSource.add_member(:type, Shapes::ShapeRef.new(shape: EvaluationFormItemEnablementSourceType, required: true, location_name: "Type"))
5367
5388
  EvaluationFormItemEnablementSource.add_member(:ref_id, Shapes::ShapeRef.new(shape: ReferenceId, location_name: "RefId"))
5389
+ EvaluationFormItemEnablementSource.add_member(:contact_field, Shapes::ShapeRef.new(shape: EvaluationFormContactField, location_name: "ContactField"))
5390
+ EvaluationFormItemEnablementSource.add_member(:contact_attribute_key, Shapes::ShapeRef.new(shape: EvaluationFormContactAttributeKey, location_name: "ContactAttributeKey"))
5391
+ EvaluationFormItemEnablementSource.add_member(:segment_attribute_key, Shapes::ShapeRef.new(shape: EvaluationFormSegmentAttributeKey, location_name: "SegmentAttributeKey"))
5392
+ EvaluationFormItemEnablementSource.add_member(:evaluation_metadata_field, Shapes::ShapeRef.new(shape: EvaluationFormEvaluationMetadataField, location_name: "EvaluationMetadataField"))
5393
+ EvaluationFormItemEnablementSource.add_member(:ai_metrics_field, Shapes::ShapeRef.new(shape: EvaluationFormAiMetricsField, location_name: "AiMetricsField"))
5368
5394
  EvaluationFormItemEnablementSource.struct_class = Types::EvaluationFormItemEnablementSource
5369
5395
 
5370
5396
  EvaluationFormItemEnablementSourceValue.add_member(:type, Shapes::ShapeRef.new(shape: EvaluationFormItemEnablementSourceValueType, required: true, location_name: "Type"))
5371
5397
  EvaluationFormItemEnablementSourceValue.add_member(:ref_id, Shapes::ShapeRef.new(shape: ReferenceId, location_name: "RefId"))
5398
+ EvaluationFormItemEnablementSourceValue.add_member(:string_value, Shapes::ShapeRef.new(shape: EvaluationFormEnablementStringValue, location_name: "StringValue"))
5399
+ EvaluationFormItemEnablementSourceValue.add_member(:numeric_value, Shapes::ShapeRef.new(shape: EvaluationFormEnablementNumericValue, location_name: "NumericValue", metadata: {"box" => true}))
5400
+ EvaluationFormItemEnablementSourceValue.add_member(:boolean_value, Shapes::ShapeRef.new(shape: EvaluationFormEnablementBooleanValue, location_name: "BooleanValue", metadata: {"box" => true}))
5401
+ EvaluationFormItemEnablementSourceValue.add_member(:date_time_value, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateTimeValue"))
5372
5402
  EvaluationFormItemEnablementSourceValue.struct_class = Types::EvaluationFormItemEnablementSourceValue
5373
5403
 
5374
5404
  EvaluationFormItemEnablementSourceValueList.member = Shapes::ShapeRef.new(shape: EvaluationFormItemEnablementSourceValue)
@@ -5520,6 +5550,7 @@ module Aws::Connect
5520
5550
  EvaluationFormSection.add_member(:weight, Shapes::ShapeRef.new(shape: EvaluationFormItemWeight, location_name: "Weight"))
5521
5551
  EvaluationFormSection.add_member(:is_excluded_from_scoring, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsExcludedFromScoring"))
5522
5552
  EvaluationFormSection.add_member(:score_thresholds, Shapes::ShapeRef.new(shape: EvaluationFormScoreThresholdList, location_name: "ScoreThresholds"))
5553
+ EvaluationFormSection.add_member(:enablement, Shapes::ShapeRef.new(shape: EvaluationFormItemEnablementConfiguration, location_name: "Enablement"))
5523
5554
  EvaluationFormSection.struct_class = Types::EvaluationFormSection
5524
5555
 
5525
5556
  EvaluationFormSingleSelectQuestionAutomation.add_member(:options, Shapes::ShapeRef.new(shape: EvaluationFormSingleSelectQuestionAutomationOptionList, location_name: "Options"))
@@ -5528,8 +5559,10 @@ module Aws::Connect
5528
5559
  EvaluationFormSingleSelectQuestionAutomation.struct_class = Types::EvaluationFormSingleSelectQuestionAutomation
5529
5560
 
5530
5561
  EvaluationFormSingleSelectQuestionAutomationOption.add_member(:rule_category, Shapes::ShapeRef.new(shape: SingleSelectQuestionRuleCategoryAutomation, location_name: "RuleCategory"))
5562
+ EvaluationFormSingleSelectQuestionAutomationOption.add_member(:automation_rule, Shapes::ShapeRef.new(shape: SingleSelectQuestionAutomationRule, location_name: "AutomationRule"))
5531
5563
  EvaluationFormSingleSelectQuestionAutomationOption.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
5532
5564
  EvaluationFormSingleSelectQuestionAutomationOption.add_member_subclass(:rule_category, Types::EvaluationFormSingleSelectQuestionAutomationOption::RuleCategory)
5565
+ EvaluationFormSingleSelectQuestionAutomationOption.add_member_subclass(:automation_rule, Types::EvaluationFormSingleSelectQuestionAutomationOption::AutomationRule)
5533
5566
  EvaluationFormSingleSelectQuestionAutomationOption.add_member_subclass(:unknown, Types::EvaluationFormSingleSelectQuestionAutomationOption::Unknown)
5534
5567
  EvaluationFormSingleSelectQuestionAutomationOption.struct_class = Types::EvaluationFormSingleSelectQuestionAutomationOption
5535
5568
 
@@ -5635,6 +5668,15 @@ module Aws::Connect
5635
5668
  EvaluationQuestionInputDetails.add_member(:transcript_type, Shapes::ShapeRef.new(shape: EvaluationTranscriptType, location_name: "TranscriptType"))
5636
5669
  EvaluationQuestionInputDetails.struct_class = Types::EvaluationQuestionInputDetails
5637
5670
 
5671
+ EvaluationResolvedSource.add_member(:source, Shapes::ShapeRef.new(shape: EvaluationFormItemEnablementSource, required: true, location_name: "Source"))
5672
+ EvaluationResolvedSource.add_member(:status, Shapes::ShapeRef.new(shape: EvaluationItemResolutionStatus, required: true, location_name: "Status"))
5673
+ EvaluationResolvedSource.add_member(:values, Shapes::ShapeRef.new(shape: EvaluationResolvedSourceValueList, location_name: "Values"))
5674
+ EvaluationResolvedSource.struct_class = Types::EvaluationResolvedSource
5675
+
5676
+ EvaluationResolvedSourceList.member = Shapes::ShapeRef.new(shape: EvaluationResolvedSource)
5677
+
5678
+ EvaluationResolvedSourceValueList.member = Shapes::ShapeRef.new(shape: EvaluationFormItemEnablementSourceValue)
5679
+
5638
5680
  EvaluationReviewConfiguration.add_member(:review_notification_recipients, Shapes::ShapeRef.new(shape: EvaluationReviewNotificationRecipientList, required: true, location_name: "ReviewNotificationRecipients"))
5639
5681
  EvaluationReviewConfiguration.add_member(:eligibility_days, Shapes::ShapeRef.new(shape: Integer, location_name: "EligibilityDays"))
5640
5682
  EvaluationReviewConfiguration.struct_class = Types::EvaluationReviewConfiguration
@@ -9016,6 +9058,10 @@ module Aws::Connect
9016
9058
 
9017
9059
  SingleSelectOptions.member = Shapes::ShapeRef.new(shape: TaskTemplateSingleSelectOption)
9018
9060
 
9061
+ SingleSelectQuestionAutomationRule.add_member(:condition, Shapes::ShapeRef.new(shape: EvaluationFormItemEnablementCondition, required: true, location_name: "Condition"))
9062
+ SingleSelectQuestionAutomationRule.add_member(:option_ref_id, Shapes::ShapeRef.new(shape: ReferenceId, required: true, location_name: "OptionRefId"))
9063
+ SingleSelectQuestionAutomationRule.struct_class = Types::SingleSelectQuestionAutomationRule
9064
+
9019
9065
  SingleSelectQuestionRuleCategoryAutomation.add_member(:category, Shapes::ShapeRef.new(shape: SingleSelectQuestionRuleCategoryAutomationLabel, required: true, location_name: "Category"))
9020
9066
  SingleSelectQuestionRuleCategoryAutomation.add_member(:condition, Shapes::ShapeRef.new(shape: SingleSelectQuestionRuleCategoryAutomationCondition, required: true, location_name: "Condition"))
9021
9067
  SingleSelectQuestionRuleCategoryAutomation.add_member(:option_ref_id, Shapes::ShapeRef.new(shape: ReferenceId, required: true, location_name: "OptionRefId"))
@@ -13925,6 +13925,39 @@ module Aws::Connect
13925
13925
  # "key2":"value2"} }.
13926
13926
  # @return [Hash<String,String>]
13927
13927
  #
13928
+ # @!attribute [rw] item_enablement_status
13929
+ # A map of item (section or question) identifiers to their enablement
13930
+ # status, computed by the service from each item's conditional
13931
+ # enablement configuration. Disabled items are excluded from scoring.
13932
+ # Valid values: `ENABLED` \| `DISABLED`.
13933
+ # @return [Hash<String,String>]
13934
+ #
13935
+ # @!attribute [rw] source_resolution_status
13936
+ # The aggregate status of resolving the external source data (such as
13937
+ # Contact Lens analysis and AI metrics) that is used by conditional
13938
+ # enablement in the evaluation. Source data is resolved asynchronously
13939
+ # after the evaluation is started. While a source is pending or after
13940
+ # it fails to resolve, conditions that depend on it evaluate to the
13941
+ # item's `DefaultAction`. Valid values:
13942
+ #
13943
+ # * `PENDING` - One or more sources have not been resolved yet. Call
13944
+ # `DescribeContactEvaluation` again to get updated
13945
+ # `ItemEnablementStatus` values.
13946
+ #
13947
+ # * `RESOLVED` - All sources have been resolved.
13948
+ #
13949
+ # * `FAILED` - One or more sources could not be resolved. Dependent
13950
+ # conditions use the item's `DefaultAction`.
13951
+ # @return [String]
13952
+ #
13953
+ # @!attribute [rw] source_values
13954
+ # The resolved values of the external sources (such as contact data,
13955
+ # evaluation metadata, form metadata, and AI metrics) that are used by
13956
+ # the conditions in the evaluation form. You can use these values to
13957
+ # evaluate the conditions against the current answers without calling
13958
+ # `DescribeContactEvaluation` again.
13959
+ # @return [Array<Types::EvaluationResolvedSource>]
13960
+ #
13928
13961
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Evaluation AWS API Documentation
13929
13962
  #
13930
13963
  class Evaluation < Struct.new(
@@ -13938,7 +13971,10 @@ module Aws::Connect
13938
13971
  :created_time,
13939
13972
  :last_modified_time,
13940
13973
  :evaluation_type,
13941
- :tags)
13974
+ :tags,
13975
+ :item_enablement_status,
13976
+ :source_resolution_status,
13977
+ :source_values)
13942
13978
  SENSITIVE = []
13943
13979
  include Aws::Structure
13944
13980
  end
@@ -14446,7 +14482,7 @@ module Aws::Connect
14446
14482
  # @return [Array<Types::EvaluationFormItemEnablementConditionOperand>]
14447
14483
  #
14448
14484
  # @!attribute [rw] operator
14449
- # The operator to be used to be applied to operands if more than one
14485
+ # The operator to apply to the operands when more than one operand is
14450
14486
  # provided.
14451
14487
  # @return [String]
14452
14488
  #
@@ -14495,11 +14531,13 @@ module Aws::Connect
14495
14531
  # @return [Types::EvaluationFormItemEnablementCondition]
14496
14532
  #
14497
14533
  # @!attribute [rw] action
14498
- # An enablement action that if condition is satisfied.
14534
+ # The enablement action to apply if the condition is satisfied.
14499
14535
  # @return [String]
14500
14536
  #
14501
14537
  # @!attribute [rw] default_action
14502
- # An enablement action that if condition is not satisfied.
14538
+ # The enablement action to apply if the condition is not satisfied.
14539
+ # This action is also applied when the condition depends on an
14540
+ # external source that is still pending or could not be resolved.
14503
14541
  # @return [String]
14504
14542
  #
14505
14543
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormItemEnablementConfiguration AWS API Documentation
@@ -14524,7 +14562,11 @@ module Aws::Connect
14524
14562
  # @return [Array<Types::EvaluationFormItemEnablementSourceValue>]
14525
14563
  #
14526
14564
  # @!attribute [rw] comparator
14527
- # A comparator to be used against list of values.
14565
+ # A comparator to be used against a list of values. `IN`, `NOT_IN`,
14566
+ # `ALL_IN`, and `EXACT` compare sets of values. `GREATER_THAN`,
14567
+ # `LESS_THAN`, `GREATER_THAN_OR_EQUAL_TO`, and `LESS_THAN_OR_EQUAL_TO`
14568
+ # compare a single numeric or date and time value. `EQUAL_TO` and
14569
+ # `NOT_EQUAL_TO` compare a single value.
14528
14570
  # @return [String]
14529
14571
  #
14530
14572
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormItemEnablementExpression AWS API Documentation
@@ -14540,37 +14582,108 @@ module Aws::Connect
14540
14582
  # An enablement expression source item.
14541
14583
  #
14542
14584
  # @!attribute [rw] type
14543
- # A type of source item.
14585
+ # A type of source item. Valid values:
14586
+ #
14587
+ # * `QUESTION_REF_ID` - The answer to another question in the
14588
+ # evaluation form.
14589
+ #
14590
+ # * `CONTACT` - Data from the evaluated contact.
14591
+ #
14592
+ # * `EVALUATION_METADATA` - Metadata of the evaluation, such as the
14593
+ # evaluation type.
14594
+ #
14595
+ # * `AI_METRICS` - Metrics about AI agents, AI sessions, and AI tools
14596
+ # on the contact.
14544
14597
  # @return [String]
14545
14598
  #
14546
14599
  # @!attribute [rw] ref_id
14547
- # A referenceId of the source item.
14600
+ # A referenceId of the source item. Use when `Type` is
14601
+ # `QUESTION_REF_ID`.
14602
+ # @return [String]
14603
+ #
14604
+ # @!attribute [rw] contact_field
14605
+ # The contact field to use as the source, such as `CHANNEL`,
14606
+ # `QUEUE_ARN`, `OVERALL_CUSTOMER_SENTIMENT_SCORE`, or
14607
+ # `RECORDING_MEDIA_STREAM_TYPES`. Use when `Type` is `CONTACT`.
14608
+ # @return [String]
14609
+ #
14610
+ # @!attribute [rw] contact_attribute_key
14611
+ # The key of the contact attribute to use as the source. Use when
14612
+ # `Type` is `CONTACT`.
14613
+ # @return [String]
14614
+ #
14615
+ # @!attribute [rw] segment_attribute_key
14616
+ # The key of the contact segment attribute to use as the source. Use
14617
+ # when `Type` is `CONTACT`.
14618
+ # @return [String]
14619
+ #
14620
+ # @!attribute [rw] evaluation_metadata_field
14621
+ # The evaluation metadata field to use as the source. Use when `Type`
14622
+ # is `EVALUATION_METADATA`.
14623
+ # @return [String]
14624
+ #
14625
+ # @!attribute [rw] ai_metrics_field
14626
+ # The AI metrics field to use as the source. Use when `Type` is
14627
+ # `AI_METRICS`.
14548
14628
  # @return [String]
14549
14629
  #
14550
14630
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormItemEnablementSource AWS API Documentation
14551
14631
  #
14552
14632
  class EvaluationFormItemEnablementSource < Struct.new(
14553
14633
  :type,
14554
- :ref_id)
14634
+ :ref_id,
14635
+ :contact_field,
14636
+ :contact_attribute_key,
14637
+ :segment_attribute_key,
14638
+ :evaluation_metadata_field,
14639
+ :ai_metrics_field)
14555
14640
  SENSITIVE = []
14556
14641
  include Aws::Structure
14557
14642
  end
14558
14643
 
14559
- # An enablement expression source value.
14644
+ # An enablement expression source value. Provide only the value member
14645
+ # that matches the specified `Type`.
14560
14646
  #
14561
14647
  # @!attribute [rw] type
14562
- # A type of source item value.
14648
+ # A type of source item value. Valid values: `OPTION_REF_ID` \|
14649
+ # `STRING_VALUE` \| `NUMERIC_VALUE` \| `BOOLEAN_VALUE` \|
14650
+ # `DATETIME_VALUE`.
14563
14651
  # @return [String]
14564
14652
  #
14565
14653
  # @!attribute [rw] ref_id
14566
- # A referenceId of the source value.
14654
+ # A referenceId of the source value. Use when `Type` is
14655
+ # `OPTION_REF_ID`.
14656
+ # @return [String]
14657
+ #
14658
+ # @!attribute [rw] string_value
14659
+ # A string value to compare against the source. Use when `Type` is
14660
+ # `STRING_VALUE`.
14567
14661
  # @return [String]
14568
14662
  #
14663
+ # @!attribute [rw] numeric_value
14664
+ # A numeric value to compare against the source. Use when `Type` is
14665
+ # `NUMERIC_VALUE`.
14666
+ # @return [Float]
14667
+ #
14668
+ # @!attribute [rw] boolean_value
14669
+ # A Boolean value to compare against the source. Use when `Type` is
14670
+ # `BOOLEAN_VALUE`.
14671
+ # @return [Boolean]
14672
+ #
14673
+ # @!attribute [rw] date_time_value
14674
+ # A date and time value to compare against the source. Use when `Type`
14675
+ # is `DATETIME_VALUE`.
14676
+ # @return [Time]
14677
+ #
14569
14678
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormItemEnablementSourceValue AWS API Documentation
14570
14679
  #
14571
14680
  class EvaluationFormItemEnablementSourceValue < Struct.new(
14572
14681
  :type,
14573
- :ref_id)
14682
+ :ref_id,
14683
+ :string_value,
14684
+ :numeric_value,
14685
+ :boolean_value,
14686
+ :date_time_value)
14574
14687
  SENSITIVE = []
14575
14688
  include Aws::Structure
14576
14689
  end
@@ -14631,7 +14744,7 @@ module Aws::Connect
14631
14744
  # @return [Array<String>]
14632
14745
  #
14633
14746
  # @!attribute [rw] answer_source
14634
- # A question automation answer.
14747
+ # Automation answer source.
14635
14748
  # @return [Types::EvaluationFormQuestionAutomationAnswerSource]
14636
14749
  #
14637
14750
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormMultiSelectQuestionAutomation AWS API Documentation
@@ -14897,7 +15010,15 @@ module Aws::Connect
14897
15010
  # A question automation answer.
14898
15011
  #
14899
15012
  # @!attribute [rw] source_type
14900
- # The automation answer source type.
15013
+ # The automation answer source type. Valid values:
15014
+ #
15015
+ # * `CONTACT_LENS_DATA` - The answer is based on Contact Lens data,
15016
+ # such as rule categories and metrics.
15017
+ #
15018
+ # * `GEN_AI` - The answer is generated by generative AI.
15019
+ #
15020
+ # * `CONDITION` - The answer is determined by evaluating the
15021
+ # conditions defined in the automation rules of the question.
14901
15022
  # @return [String]
14902
15023
  #
14903
15024
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormQuestionAutomationAnswerSource AWS API Documentation
@@ -15227,6 +15348,11 @@ module Aws::Connect
15227
15348
  # The score thresholds for performance categories.
15228
15349
  # @return [Array<Types::EvaluationFormScoreThreshold>]
15229
15350
  #
15351
+ # @!attribute [rw] enablement
15352
+ # The conditional enablement configuration of the section. Sections
15353
+ # use the same enablement model as questions.
15354
+ # @return [Types::EvaluationFormItemEnablementConfiguration]
15355
+ #
15230
15356
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormSection AWS API Documentation
15231
15357
  #
15232
15358
  class EvaluationFormSection < Struct.new(
@@ -15236,7 +15362,8 @@ module Aws::Connect
15236
15362
  :items,
15237
15363
  :weight,
15238
15364
  :is_excluded_from_scoring,
15239
- :score_thresholds)
15365
+ :score_thresholds,
15366
+ :enablement)
15240
15367
  SENSITIVE = []
15241
15368
  include Aws::Structure
15242
15369
  end
@@ -15280,16 +15407,23 @@ module Aws::Connect
15280
15407
  # question.
15281
15408
  # @return [Types::SingleSelectQuestionRuleCategoryAutomation]
15282
15409
  #
15410
+ # @!attribute [rw] automation_rule
15411
+ # The automation option based on a condition for the single select
15412
+ # question. Use with the `CONDITION` answer source type.
15413
+ # @return [Types::SingleSelectQuestionAutomationRule]
15414
+ #
15283
15415
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormSingleSelectQuestionAutomationOption AWS API Documentation
15284
15416
  #
15285
15417
  class EvaluationFormSingleSelectQuestionAutomationOption < Struct.new(
15286
15418
  :rule_category,
15419
+ :automation_rule,
15287
15420
  :unknown)
15288
15421
  SENSITIVE = []
15289
15422
  include Aws::Structure
15290
15423
  include Aws::Structure::Union
15291
15424
 
15292
15425
  class RuleCategory < EvaluationFormSingleSelectQuestionAutomationOption; end
15426
+ class AutomationRule < EvaluationFormSingleSelectQuestionAutomationOption; end
15293
15427
  class Unknown < EvaluationFormSingleSelectQuestionAutomationOption; end
15294
15428
  end
15295
15429
 
@@ -15727,6 +15861,41 @@ module Aws::Connect
15727
15861
  include Aws::Structure
15728
15862
  end
15729
15863
 
15864
+ # The resolved value of an external source that is used by the
15865
+ # conditions in an evaluation form.
15866
+ #
15867
+ # @!attribute [rw] source
15868
+ # The external source, such as contact data, evaluation metadata, form
15869
+ # metadata, or AI metrics.
15870
+ # @return [Types::EvaluationFormItemEnablementSource]
15871
+ #
15872
+ # @!attribute [rw] status
15873
+ # The status of resolving the source. Valid values:
15874
+ #
15875
+ # * `PENDING` - The source has not been resolved yet.
15876
+ #
15877
+ # * `RESOLVED` - The source has been resolved.
15878
+ #
15879
+ # * `FAILED` - The source could not be resolved.
15880
+ # @return [String]
15881
+ #
15882
+ # @!attribute [rw] values
15883
+ # The resolved values of the source. Present when `Status` is
15884
+ # `RESOLVED`. Contains one value for a single-valued source, any
15885
+ # number of values for a multi-valued source, and no values when the
15886
+ # source is not present on the contact.
15887
+ # @return [Array<Types::EvaluationFormItemEnablementSourceValue>]
15888
+ #
15889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationResolvedSource AWS API Documentation
15890
+ #
15891
+ class EvaluationResolvedSource < Struct.new(
15892
+ :source,
15893
+ :status,
15894
+ :values)
15895
+ SENSITIVE = []
15896
+ include Aws::Structure
15897
+ end
15898
+
15730
15899
  # Configuration settings for evaluation reviews.
15731
15900
  #
15732
15901
  # @!attribute [rw] review_notification_recipients
@@ -16153,7 +16322,8 @@ module Aws::Connect
16153
16322
  # @return [Types::EvaluationQuestionInputDetails]
16154
16323
  #
16155
16324
  # @!attribute [rw] analysis_type
16156
- # Type of analysis used to provide suggested answer.
16325
+ # Type of analysis used to provide suggested answer. Valid values:
16326
+ # `CONTACT_LENS_DATA` \| `GEN_AI` \| `CONDITION`.
16157
16327
  # @return [String]
16158
16328
  #
16159
16329
  # @!attribute [rw] analysis_details
@@ -28103,7 +28273,7 @@ module Aws::Connect
28103
28273
  end
28104
28274
 
28105
28275
  # Information about the property value used in automation of a numeric
28106
- # questions. Label values are associated with minimum and maximum values
28276
+ # question. Label values are associated with minimum and maximum values
28107
28277
  # for the numeric question.
28108
28278
  #
28109
28279
  # * Sentiment scores have a minimum value of -5 and maximum value of 5.
@@ -35304,6 +35474,30 @@ module Aws::Connect
35304
35474
  include Aws::Structure
35305
35475
  end
35306
35476
 
35477
+ # Information about a condition-based automation rule for a single
35478
+ # select question. When the condition is satisfied, the specified answer
35479
+ # option is selected.
35480
+ #
35481
+ # @!attribute [rw] condition
35482
+ # The condition that must be satisfied for the answer option to be
35483
+ # selected. The condition uses the same sources, comparators, and
35484
+ # operators as item enablement conditions.
35485
+ # @return [Types::EvaluationFormItemEnablementCondition]
35486
+ #
35487
+ # @!attribute [rw] option_ref_id
35488
+ # The identifier of the answer option to select when the condition is
35489
+ # satisfied.
35490
+ # @return [String]
35491
+ #
35492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SingleSelectQuestionAutomationRule AWS API Documentation
35493
+ #
35494
+ class SingleSelectQuestionAutomationRule < Struct.new(
35495
+ :condition,
35496
+ :option_ref_id)
35497
+ SENSITIVE = []
35498
+ include Aws::Structure
35499
+ end
35500
+
35307
35501
  # Information about the automation option based on a rule category for a
35308
35502
  # single select question.
35309
35503
  #
@@ -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.300.0'
57
+ GEM_VERSION = '1.301.0'
58
58
 
59
59
  end
60
60