aws-sdk-connect 1.299.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.
@@ -567,6 +567,8 @@ module Aws::Connect
567
567
  DefaultVocabulary = Shapes::StructureShape.new(name: 'DefaultVocabulary')
568
568
  DefaultVocabularyList = Shapes::ListShape.new(name: 'DefaultVocabularyList')
569
569
  Delay = Shapes::IntegerShape.new(name: 'Delay')
570
+ DeleteAllEntitySessionsRequest = Shapes::StructureShape.new(name: 'DeleteAllEntitySessionsRequest')
571
+ DeleteAllEntitySessionsResponse = Shapes::StructureShape.new(name: 'DeleteAllEntitySessionsResponse')
570
572
  DeleteAttachedFileRequest = Shapes::StructureShape.new(name: 'DeleteAttachedFileRequest')
571
573
  DeleteAttachedFileResponse = Shapes::StructureShape.new(name: 'DeleteAttachedFileResponse')
572
574
  DeleteContactDataRequest = Shapes::StructureShape.new(name: 'DeleteContactDataRequest')
@@ -831,15 +833,24 @@ module Aws::Connect
831
833
  EvaluationAutomationRuleCategoryList = Shapes::ListShape.new(name: 'EvaluationAutomationRuleCategoryList')
832
834
  EvaluationContactLensAnswerAnalysisDetails = Shapes::StructureShape.new(name: 'EvaluationContactLensAnswerAnalysisDetails')
833
835
  EvaluationContactParticipant = Shapes::StructureShape.new(name: 'EvaluationContactParticipant')
836
+ EvaluationEnablementStatus = Shapes::StringShape.new(name: 'EvaluationEnablementStatus')
837
+ EvaluationEnablementStatusMap = Shapes::MapShape.new(name: 'EvaluationEnablementStatusMap')
834
838
  EvaluationForm = Shapes::StructureShape.new(name: 'EvaluationForm')
835
839
  EvaluationFormAIVersion = Shapes::StringShape.new(name: 'EvaluationFormAIVersion')
836
840
  EvaluationFormAIVersionLifecycle = Shapes::StructureShape.new(name: 'EvaluationFormAIVersionLifecycle')
837
841
  EvaluationFormAIVersionStatus = Shapes::StringShape.new(name: 'EvaluationFormAIVersionStatus')
838
842
  EvaluationFormAIVersionSummary = Shapes::StructureShape.new(name: 'EvaluationFormAIVersionSummary')
839
843
  EvaluationFormAIVersionSummaryList = Shapes::ListShape.new(name: 'EvaluationFormAIVersionSummaryList')
844
+ EvaluationFormAiMetricsField = Shapes::StringShape.new(name: 'EvaluationFormAiMetricsField')
840
845
  EvaluationFormAutoEvaluationConfiguration = Shapes::StructureShape.new(name: 'EvaluationFormAutoEvaluationConfiguration')
846
+ EvaluationFormContactAttributeKey = Shapes::StringShape.new(name: 'EvaluationFormContactAttributeKey')
847
+ EvaluationFormContactField = Shapes::StringShape.new(name: 'EvaluationFormContactField')
841
848
  EvaluationFormContent = Shapes::StructureShape.new(name: 'EvaluationFormContent')
842
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')
843
854
  EvaluationFormId = Shapes::StringShape.new(name: 'EvaluationFormId')
844
855
  EvaluationFormItem = Shapes::UnionShape.new(name: 'EvaluationFormItem')
845
856
  EvaluationFormItemEnablementAction = Shapes::StringShape.new(name: 'EvaluationFormItemEnablementAction')
@@ -895,6 +906,7 @@ module Aws::Connect
895
906
  EvaluationFormSearchSummaryList = Shapes::ListShape.new(name: 'EvaluationFormSearchSummaryList')
896
907
  EvaluationFormSection = Shapes::StructureShape.new(name: 'EvaluationFormSection')
897
908
  EvaluationFormSectionTitle = Shapes::StringShape.new(name: 'EvaluationFormSectionTitle')
909
+ EvaluationFormSegmentAttributeKey = Shapes::StringShape.new(name: 'EvaluationFormSegmentAttributeKey')
898
910
  EvaluationFormSingleSelectQuestionAutomation = Shapes::StructureShape.new(name: 'EvaluationFormSingleSelectQuestionAutomation')
899
911
  EvaluationFormSingleSelectQuestionAutomationOption = Shapes::UnionShape.new(name: 'EvaluationFormSingleSelectQuestionAutomationOption')
900
912
  EvaluationFormSingleSelectQuestionAutomationOptionList = Shapes::ListShape.new(name: 'EvaluationFormSingleSelectQuestionAutomationOptionList')
@@ -926,6 +938,7 @@ module Aws::Connect
926
938
  EvaluationFormVersionSummaryList = Shapes::ListShape.new(name: 'EvaluationFormVersionSummaryList')
927
939
  EvaluationGenAIAnswerAnalysisDetails = Shapes::StructureShape.new(name: 'EvaluationGenAIAnswerAnalysisDetails')
928
940
  EvaluationId = Shapes::StringShape.new(name: 'EvaluationId')
941
+ EvaluationItemResolutionStatus = Shapes::StringShape.new(name: 'EvaluationItemResolutionStatus')
929
942
  EvaluationMetadata = Shapes::StructureShape.new(name: 'EvaluationMetadata')
930
943
  EvaluationNote = Shapes::StructureShape.new(name: 'EvaluationNote')
931
944
  EvaluationNoteString = Shapes::StringShape.new(name: 'EvaluationNoteString')
@@ -933,6 +946,9 @@ module Aws::Connect
933
946
  EvaluationQuestionAnswerAnalysisDetails = Shapes::UnionShape.new(name: 'EvaluationQuestionAnswerAnalysisDetails')
934
947
  EvaluationQuestionAnswerAnalysisType = Shapes::StringShape.new(name: 'EvaluationQuestionAnswerAnalysisType')
935
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')
936
952
  EvaluationReviewConfiguration = Shapes::StructureShape.new(name: 'EvaluationReviewConfiguration')
937
953
  EvaluationReviewMetadata = Shapes::StructureShape.new(name: 'EvaluationReviewMetadata')
938
954
  EvaluationReviewNotificationRecipient = Shapes::StructureShape.new(name: 'EvaluationReviewNotificationRecipient')
@@ -1976,12 +1992,14 @@ module Aws::Connect
1976
1992
  SentimentConfiguration = Shapes::StructureShape.new(name: 'SentimentConfiguration')
1977
1993
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
1978
1994
  ServiceQuotaExceededExceptionReason = Shapes::UnionShape.new(name: 'ServiceQuotaExceededExceptionReason')
1995
+ SessionEntityType = Shapes::StringShape.new(name: 'SessionEntityType')
1979
1996
  SessionId = Shapes::StringShape.new(name: 'SessionId')
1980
1997
  SessionInactivityDurationMinutes = Shapes::IntegerShape.new(name: 'SessionInactivityDurationMinutes')
1981
1998
  SignInConfig = Shapes::StructureShape.new(name: 'SignInConfig')
1982
1999
  SignInDistribution = Shapes::StructureShape.new(name: 'SignInDistribution')
1983
2000
  SignInDistributionList = Shapes::ListShape.new(name: 'SignInDistributionList')
1984
2001
  SingleSelectOptions = Shapes::ListShape.new(name: 'SingleSelectOptions')
2002
+ SingleSelectQuestionAutomationRule = Shapes::StructureShape.new(name: 'SingleSelectQuestionAutomationRule')
1985
2003
  SingleSelectQuestionRuleCategoryAutomation = Shapes::StructureShape.new(name: 'SingleSelectQuestionRuleCategoryAutomation')
1986
2004
  SingleSelectQuestionRuleCategoryAutomationCondition = Shapes::StringShape.new(name: 'SingleSelectQuestionRuleCategoryAutomationCondition')
1987
2005
  SingleSelectQuestionRuleCategoryAutomationLabel = Shapes::StringShape.new(name: 'SingleSelectQuestionRuleCategoryAutomationLabel')
@@ -4432,6 +4450,13 @@ module Aws::Connect
4432
4450
 
4433
4451
  DefaultVocabularyList.member = Shapes::ShapeRef.new(shape: DefaultVocabulary)
4434
4452
 
4453
+ DeleteAllEntitySessionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
4454
+ DeleteAllEntitySessionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "EntityId"))
4455
+ DeleteAllEntitySessionsRequest.add_member(:entity_type, Shapes::ShapeRef.new(shape: SessionEntityType, required: true, location_name: "EntityType"))
4456
+ DeleteAllEntitySessionsRequest.struct_class = Types::DeleteAllEntitySessionsRequest
4457
+
4458
+ DeleteAllEntitySessionsResponse.struct_class = Types::DeleteAllEntitySessionsResponse
4459
+
4435
4460
  DeleteAttachedFileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
4436
4461
  DeleteAttachedFileRequest.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, required: true, location: "uri", location_name: "FileId"))
4437
4462
  DeleteAttachedFileRequest.add_member(:associated_resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "associatedResourceArn"))
@@ -5214,6 +5239,9 @@ module Aws::Connect
5214
5239
  Evaluation.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
5215
5240
  Evaluation.add_member(:evaluation_type, Shapes::ShapeRef.new(shape: EvaluationType, location_name: "EvaluationType"))
5216
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"))
5217
5245
  Evaluation.struct_class = Types::Evaluation
5218
5246
 
5219
5247
  EvaluationAcknowledgement.add_member(:acknowledged_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "AcknowledgedTime"))
@@ -5270,6 +5298,9 @@ module Aws::Connect
5270
5298
  EvaluationContactParticipant.add_member(:contact_participant_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ContactParticipantId"))
5271
5299
  EvaluationContactParticipant.struct_class = Types::EvaluationContactParticipant
5272
5300
 
5301
+ EvaluationEnablementStatusMap.key = Shapes::ShapeRef.new(shape: ReferenceId)
5302
+ EvaluationEnablementStatusMap.value = Shapes::ShapeRef.new(shape: EvaluationEnablementStatus)
5303
+
5273
5304
  EvaluationForm.add_member(:evaluation_form_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "EvaluationFormId"))
5274
5305
  EvaluationForm.add_member(:evaluation_form_version, Shapes::ShapeRef.new(shape: VersionNumber, required: true, location_name: "EvaluationFormVersion"))
5275
5306
  EvaluationForm.add_member(:locked, Shapes::ShapeRef.new(shape: EvaluationFormVersionIsLocked, required: true, location_name: "Locked"))
@@ -5355,10 +5386,19 @@ module Aws::Connect
5355
5386
 
5356
5387
  EvaluationFormItemEnablementSource.add_member(:type, Shapes::ShapeRef.new(shape: EvaluationFormItemEnablementSourceType, required: true, location_name: "Type"))
5357
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"))
5358
5394
  EvaluationFormItemEnablementSource.struct_class = Types::EvaluationFormItemEnablementSource
5359
5395
 
5360
5396
  EvaluationFormItemEnablementSourceValue.add_member(:type, Shapes::ShapeRef.new(shape: EvaluationFormItemEnablementSourceValueType, required: true, location_name: "Type"))
5361
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"))
5362
5402
  EvaluationFormItemEnablementSourceValue.struct_class = Types::EvaluationFormItemEnablementSourceValue
5363
5403
 
5364
5404
  EvaluationFormItemEnablementSourceValueList.member = Shapes::ShapeRef.new(shape: EvaluationFormItemEnablementSourceValue)
@@ -5510,6 +5550,7 @@ module Aws::Connect
5510
5550
  EvaluationFormSection.add_member(:weight, Shapes::ShapeRef.new(shape: EvaluationFormItemWeight, location_name: "Weight"))
5511
5551
  EvaluationFormSection.add_member(:is_excluded_from_scoring, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsExcludedFromScoring"))
5512
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"))
5513
5554
  EvaluationFormSection.struct_class = Types::EvaluationFormSection
5514
5555
 
5515
5556
  EvaluationFormSingleSelectQuestionAutomation.add_member(:options, Shapes::ShapeRef.new(shape: EvaluationFormSingleSelectQuestionAutomationOptionList, location_name: "Options"))
@@ -5518,8 +5559,10 @@ module Aws::Connect
5518
5559
  EvaluationFormSingleSelectQuestionAutomation.struct_class = Types::EvaluationFormSingleSelectQuestionAutomation
5519
5560
 
5520
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"))
5521
5563
  EvaluationFormSingleSelectQuestionAutomationOption.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
5522
5564
  EvaluationFormSingleSelectQuestionAutomationOption.add_member_subclass(:rule_category, Types::EvaluationFormSingleSelectQuestionAutomationOption::RuleCategory)
5565
+ EvaluationFormSingleSelectQuestionAutomationOption.add_member_subclass(:automation_rule, Types::EvaluationFormSingleSelectQuestionAutomationOption::AutomationRule)
5523
5566
  EvaluationFormSingleSelectQuestionAutomationOption.add_member_subclass(:unknown, Types::EvaluationFormSingleSelectQuestionAutomationOption::Unknown)
5524
5567
  EvaluationFormSingleSelectQuestionAutomationOption.struct_class = Types::EvaluationFormSingleSelectQuestionAutomationOption
5525
5568
 
@@ -5625,6 +5668,15 @@ module Aws::Connect
5625
5668
  EvaluationQuestionInputDetails.add_member(:transcript_type, Shapes::ShapeRef.new(shape: EvaluationTranscriptType, location_name: "TranscriptType"))
5626
5669
  EvaluationQuestionInputDetails.struct_class = Types::EvaluationQuestionInputDetails
5627
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
+
5628
5680
  EvaluationReviewConfiguration.add_member(:review_notification_recipients, Shapes::ShapeRef.new(shape: EvaluationReviewNotificationRecipientList, required: true, location_name: "ReviewNotificationRecipients"))
5629
5681
  EvaluationReviewConfiguration.add_member(:eligibility_days, Shapes::ShapeRef.new(shape: Integer, location_name: "EligibilityDays"))
5630
5682
  EvaluationReviewConfiguration.struct_class = Types::EvaluationReviewConfiguration
@@ -9006,6 +9058,10 @@ module Aws::Connect
9006
9058
 
9007
9059
  SingleSelectOptions.member = Shapes::ShapeRef.new(shape: TaskTemplateSingleSelectOption)
9008
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
+
9009
9065
  SingleSelectQuestionRuleCategoryAutomation.add_member(:category, Shapes::ShapeRef.new(shape: SingleSelectQuestionRuleCategoryAutomationLabel, required: true, location_name: "Category"))
9010
9066
  SingleSelectQuestionRuleCategoryAutomation.add_member(:condition, Shapes::ShapeRef.new(shape: SingleSelectQuestionRuleCategoryAutomationCondition, required: true, location_name: "Condition"))
9011
9067
  SingleSelectQuestionRuleCategoryAutomation.add_member(:option_ref_id, Shapes::ShapeRef.new(shape: ReferenceId, required: true, location_name: "OptionRefId"))
@@ -11774,6 +11830,20 @@ module Aws::Connect
11774
11830
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
11775
11831
  end)
11776
11832
 
11833
+ api.add_operation(:delete_all_entity_sessions, Seahorse::Model::Operation.new.tap do |o|
11834
+ o.name = "DeleteAllEntitySessions"
11835
+ o.http_method = "POST"
11836
+ o.http_request_uri = "/auth/sessions/delete-all-entity-sessions"
11837
+ o.input = Shapes::ShapeRef.new(shape: DeleteAllEntitySessionsRequest)
11838
+ o.output = Shapes::ShapeRef.new(shape: DeleteAllEntitySessionsResponse)
11839
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
11840
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
11841
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
11842
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
11843
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
11844
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
11845
+ end)
11846
+
11777
11847
  api.add_operation(:delete_attached_file, Seahorse::Model::Operation.new.tap do |o|
11778
11848
  o.name = "DeleteAttachedFile"
11779
11849
  o.http_method = "DELETE"
@@ -10133,6 +10133,43 @@ module Aws::Connect
10133
10133
  include Aws::Structure
10134
10134
  end
10135
10135
 
10136
+ # @!attribute [rw] instance_id
10137
+ # The identifier of the Connect Customer instance. You can [find the
10138
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
10139
+ #
10140
+ #
10141
+ #
10142
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
10143
+ # @return [String]
10144
+ #
10145
+ # @!attribute [rw] entity_id
10146
+ # The identifier of the entity whose sessions you want to delete. For
10147
+ # `USER`, use the user ID or the user ARN.
10148
+ # @return [String]
10149
+ #
10150
+ # @!attribute [rw] entity_type
10151
+ # The type of entity whose sessions you want to delete.
10152
+ #
10153
+ # <note markdown="1"> The only valid value is `USER`, which signs out a user in your
10154
+ # Connect Customer instance.
10155
+ #
10156
+ # </note>
10157
+ # @return [String]
10158
+ #
10159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteAllEntitySessionsRequest AWS API Documentation
10160
+ #
10161
+ class DeleteAllEntitySessionsRequest < Struct.new(
10162
+ :instance_id,
10163
+ :entity_id,
10164
+ :entity_type)
10165
+ SENSITIVE = []
10166
+ include Aws::Structure
10167
+ end
10168
+
10169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteAllEntitySessionsResponse AWS API Documentation
10170
+ #
10171
+ class DeleteAllEntitySessionsResponse < Aws::EmptyStructure; end
10172
+
10136
10173
  # Request to DeleteAttachedFile API
10137
10174
  #
10138
10175
  # @!attribute [rw] instance_id
@@ -13888,6 +13925,39 @@ module Aws::Connect
13888
13925
  # "key2":"value2"} }.
13889
13926
  # @return [Hash<String,String>]
13890
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
+ #
13891
13961
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Evaluation AWS API Documentation
13892
13962
  #
13893
13963
  class Evaluation < Struct.new(
@@ -13901,7 +13971,10 @@ module Aws::Connect
13901
13971
  :created_time,
13902
13972
  :last_modified_time,
13903
13973
  :evaluation_type,
13904
- :tags)
13974
+ :tags,
13975
+ :item_enablement_status,
13976
+ :source_resolution_status,
13977
+ :source_values)
13905
13978
  SENSITIVE = []
13906
13979
  include Aws::Structure
13907
13980
  end
@@ -14409,7 +14482,7 @@ module Aws::Connect
14409
14482
  # @return [Array<Types::EvaluationFormItemEnablementConditionOperand>]
14410
14483
  #
14411
14484
  # @!attribute [rw] operator
14412
- # 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
14413
14486
  # provided.
14414
14487
  # @return [String]
14415
14488
  #
@@ -14458,11 +14531,13 @@ module Aws::Connect
14458
14531
  # @return [Types::EvaluationFormItemEnablementCondition]
14459
14532
  #
14460
14533
  # @!attribute [rw] action
14461
- # An enablement action that if condition is satisfied.
14534
+ # The enablement action to apply if the condition is satisfied.
14462
14535
  # @return [String]
14463
14536
  #
14464
14537
  # @!attribute [rw] default_action
14465
- # 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.
14466
14541
  # @return [String]
14467
14542
  #
14468
14543
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormItemEnablementConfiguration AWS API Documentation
@@ -14487,7 +14562,11 @@ module Aws::Connect
14487
14562
  # @return [Array<Types::EvaluationFormItemEnablementSourceValue>]
14488
14563
  #
14489
14564
  # @!attribute [rw] comparator
14490
- # 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.
14491
14570
  # @return [String]
14492
14571
  #
14493
14572
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormItemEnablementExpression AWS API Documentation
@@ -14503,37 +14582,108 @@ module Aws::Connect
14503
14582
  # An enablement expression source item.
14504
14583
  #
14505
14584
  # @!attribute [rw] type
14506
- # 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.
14507
14597
  # @return [String]
14508
14598
  #
14509
14599
  # @!attribute [rw] ref_id
14510
- # 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`.
14511
14628
  # @return [String]
14512
14629
  #
14513
14630
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormItemEnablementSource AWS API Documentation
14514
14631
  #
14515
14632
  class EvaluationFormItemEnablementSource < Struct.new(
14516
14633
  :type,
14517
- :ref_id)
14634
+ :ref_id,
14635
+ :contact_field,
14636
+ :contact_attribute_key,
14637
+ :segment_attribute_key,
14638
+ :evaluation_metadata_field,
14639
+ :ai_metrics_field)
14518
14640
  SENSITIVE = []
14519
14641
  include Aws::Structure
14520
14642
  end
14521
14643
 
14522
- # An enablement expression source value.
14644
+ # An enablement expression source value. Provide only the value member
14645
+ # that matches the specified `Type`.
14523
14646
  #
14524
14647
  # @!attribute [rw] type
14525
- # 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`.
14526
14651
  # @return [String]
14527
14652
  #
14528
14653
  # @!attribute [rw] ref_id
14529
- # A referenceId of the source value.
14654
+ # A referenceId of the source value. Use when `Type` is
14655
+ # `OPTION_REF_ID`.
14530
14656
  # @return [String]
14531
14657
  #
14658
+ # @!attribute [rw] string_value
14659
+ # A string value to compare against the source. Use when `Type` is
14660
+ # `STRING_VALUE`.
14661
+ # @return [String]
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
+ #
14532
14678
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormItemEnablementSourceValue AWS API Documentation
14533
14679
  #
14534
14680
  class EvaluationFormItemEnablementSourceValue < Struct.new(
14535
14681
  :type,
14536
- :ref_id)
14682
+ :ref_id,
14683
+ :string_value,
14684
+ :numeric_value,
14685
+ :boolean_value,
14686
+ :date_time_value)
14537
14687
  SENSITIVE = []
14538
14688
  include Aws::Structure
14539
14689
  end
@@ -14594,7 +14744,7 @@ module Aws::Connect
14594
14744
  # @return [Array<String>]
14595
14745
  #
14596
14746
  # @!attribute [rw] answer_source
14597
- # A question automation answer.
14747
+ # Automation answer source.
14598
14748
  # @return [Types::EvaluationFormQuestionAutomationAnswerSource]
14599
14749
  #
14600
14750
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormMultiSelectQuestionAutomation AWS API Documentation
@@ -14860,7 +15010,15 @@ module Aws::Connect
14860
15010
  # A question automation answer.
14861
15011
  #
14862
15012
  # @!attribute [rw] source_type
14863
- # 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.
14864
15022
  # @return [String]
14865
15023
  #
14866
15024
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormQuestionAutomationAnswerSource AWS API Documentation
@@ -15190,6 +15348,11 @@ module Aws::Connect
15190
15348
  # The score thresholds for performance categories.
15191
15349
  # @return [Array<Types::EvaluationFormScoreThreshold>]
15192
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
+ #
15193
15356
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormSection AWS API Documentation
15194
15357
  #
15195
15358
  class EvaluationFormSection < Struct.new(
@@ -15199,7 +15362,8 @@ module Aws::Connect
15199
15362
  :items,
15200
15363
  :weight,
15201
15364
  :is_excluded_from_scoring,
15202
- :score_thresholds)
15365
+ :score_thresholds,
15366
+ :enablement)
15203
15367
  SENSITIVE = []
15204
15368
  include Aws::Structure
15205
15369
  end
@@ -15243,16 +15407,23 @@ module Aws::Connect
15243
15407
  # question.
15244
15408
  # @return [Types::SingleSelectQuestionRuleCategoryAutomation]
15245
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
+ #
15246
15415
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/EvaluationFormSingleSelectQuestionAutomationOption AWS API Documentation
15247
15416
  #
15248
15417
  class EvaluationFormSingleSelectQuestionAutomationOption < Struct.new(
15249
15418
  :rule_category,
15419
+ :automation_rule,
15250
15420
  :unknown)
15251
15421
  SENSITIVE = []
15252
15422
  include Aws::Structure
15253
15423
  include Aws::Structure::Union
15254
15424
 
15255
15425
  class RuleCategory < EvaluationFormSingleSelectQuestionAutomationOption; end
15426
+ class AutomationRule < EvaluationFormSingleSelectQuestionAutomationOption; end
15256
15427
  class Unknown < EvaluationFormSingleSelectQuestionAutomationOption; end
15257
15428
  end
15258
15429
 
@@ -15690,6 +15861,41 @@ module Aws::Connect
15690
15861
  include Aws::Structure
15691
15862
  end
15692
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
+
15693
15899
  # Configuration settings for evaluation reviews.
15694
15900
  #
15695
15901
  # @!attribute [rw] review_notification_recipients
@@ -16116,7 +16322,8 @@ module Aws::Connect
16116
16322
  # @return [Types::EvaluationQuestionInputDetails]
16117
16323
  #
16118
16324
  # @!attribute [rw] analysis_type
16119
- # 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`.
16120
16327
  # @return [String]
16121
16328
  #
16122
16329
  # @!attribute [rw] analysis_details
@@ -28066,7 +28273,7 @@ module Aws::Connect
28066
28273
  end
28067
28274
 
28068
28275
  # Information about the property value used in automation of a numeric
28069
- # questions. Label values are associated with minimum and maximum values
28276
+ # question. Label values are associated with minimum and maximum values
28070
28277
  # for the numeric question.
28071
28278
  #
28072
28279
  # * Sentiment scores have a minimum value of -5 and maximum value of 5.
@@ -35267,6 +35474,30 @@ module Aws::Connect
35267
35474
  include Aws::Structure
35268
35475
  end
35269
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
+
35270
35501
  # Information about the automation option based on a rule category for a
35271
35502
  # single select question.
35272
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.299.0'
57
+ GEM_VERSION = '1.301.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1394,6 +1394,17 @@ module Aws
1394
1394
  ) -> _DeactivateEvaluationFormResponseSuccess
1395
1395
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeactivateEvaluationFormResponseSuccess
1396
1396
 
1397
+ interface _DeleteAllEntitySessionsResponseSuccess
1398
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAllEntitySessionsResponse]
1399
+ end
1400
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#delete_all_entity_sessions-instance_method
1401
+ def delete_all_entity_sessions: (
1402
+ instance_id: ::String,
1403
+ entity_id: ::String,
1404
+ entity_type: ("USER")
1405
+ ) -> _DeleteAllEntitySessionsResponseSuccess
1406
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAllEntitySessionsResponseSuccess
1407
+
1397
1408
  interface _DeleteAttachedFileResponseSuccess
1398
1409
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAttachedFileResponse]
1399
1410
  end