aws-sdk-connect 1.270.0 → 1.272.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f99f40bd0a180018843111405c3713cc44ac4e5a7d637011382d2df3aa0e6041
4
- data.tar.gz: 8901cfc8df0a7c4a6bad81e76cefa9f7ddf5199691dfa41b96a8b609e030a07d
3
+ metadata.gz: 94d25f52c01dc808d49f658b4b1c9a74266cc0dd6c41b12cafd6d16ac70bc3ac
4
+ data.tar.gz: abaf3a4950fb99dbda7c1abf8c74c49b6056cea8d0ebc992477cfff7608015d9
5
5
  SHA512:
6
- metadata.gz: ed27750ae82550e627e0609067def7f067c05f0ace1455257731d8a575234b32574cd92c6fdb393eb875bd117990ef41f9b830f38cd7116fd8645ff9bc87a34f
7
- data.tar.gz: c316f22e8c2138a80eca09df797e4c2e1452e3cc71adee176b2e11a49b5f0e763be331ee3247954ac25a6e61bebcdfe76c2dd5437d27957eb244c39b58796610
6
+ metadata.gz: a33e99208c9e0f873cd8ecfe6bae595e9304e025b5690e36033b2fe3f2d2c71abf415c7501212e3cab1ce73381f09e70a990860d2632b92cdd24ffe80f2d2d3a
7
+ data.tar.gz: '0835ae405e872f10e6bcbaee6fcbc31cefc6db9920cc27409ca247f0f3769680feca06e86eca893708e1739f21b33d99a81d1cc4ba8f165d8a4edaa407d2fbd4'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.272.0 (2026-08-17)
5
+ ------------------
6
+
7
+ * Feature - This release adds new APIs to create, describe, update, delete, and list extraction definitions, enabling customers to manage lifecycle of extraction definition resources. Additionally, this release adds new event sources for Rules related to ACW and new action to Extract Information.
8
+
9
+ 1.271.0 (2026-08-13)
10
+ ------------------
11
+
12
+ * Feature - Adds the StartAssistantContact API to start chat contacts handled by an AI agent. Adds SegmentAttributes to StartWebRTCContact, and corrects its error response to now receive AccessDeniedException (previously returned as an internal server error due to a missing error declaration).
13
+
4
14
  1.270.0 (2026-08-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.270.0
1
+ 1.272.0
@@ -3741,6 +3741,82 @@ module Aws::Connect
3741
3741
  req.send_request(options)
3742
3742
  end
3743
3743
 
3744
+ # Creates an extraction definition in the specified Connect Customer
3745
+ # instance. An extraction definition specifies how structured data is
3746
+ # extracted from customer interactions using generative AI, including
3747
+ # the prompt hint that guides extraction and the behavior when a value
3748
+ # cannot be found.
3749
+ #
3750
+ # @option params [String] :client_token
3751
+ # A unique, case-sensitive identifier that you provide to ensure the
3752
+ # idempotency of the request. If not provided, the Amazon Web Services
3753
+ # SDK populates this field.
3754
+ #
3755
+ # **A suitable default value is auto-generated.** You should normally
3756
+ # not need to pass this option.**
3757
+ #
3758
+ # @option params [required, String] :instance_id
3759
+ # The identifier of the Connect Customer instance. You can [find the
3760
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
3761
+ #
3762
+ #
3763
+ #
3764
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
3765
+ #
3766
+ # @option params [required, String] :name
3767
+ # A unique name of the extraction definition.
3768
+ #
3769
+ # @option params [required, Types::ExtractionConfiguration] :extraction_configuration
3770
+ # The configuration that defines how data is extracted, including the
3771
+ # prompt hint and not-found behavior.
3772
+ #
3773
+ # @option params [Types::ExtractionDefinitionDisplay] :display
3774
+ # The display settings for the extraction definition, including the
3775
+ # label shown in the agent workspace.
3776
+ #
3777
+ # @option params [Hash<String,String>] :tags
3778
+ # The tags used to organize, track, or control access for this resource.
3779
+ #
3780
+ # @return [Types::CreateExtractionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3781
+ #
3782
+ # * {Types::CreateExtractionDefinitionResponse#extraction_definition_arn #extraction_definition_arn} => String
3783
+ # * {Types::CreateExtractionDefinitionResponse#extraction_definition_id #extraction_definition_id} => String
3784
+ #
3785
+ # @example Request syntax with placeholder values
3786
+ #
3787
+ # resp = client.create_extraction_definition({
3788
+ # client_token: "ClientToken",
3789
+ # instance_id: "InstanceId", # required
3790
+ # name: "ExtractionDefinitionName", # required
3791
+ # extraction_configuration: { # required
3792
+ # prompt_hint: "ExtractionDefinitionPromptHint", # required
3793
+ # not_found_behavior: {
3794
+ # behavior: "USE_DEFAULT_VALUE", # required, accepts USE_DEFAULT_VALUE, OMIT
3795
+ # default_value: "NotFoundDefaultValue",
3796
+ # },
3797
+ # },
3798
+ # display: {
3799
+ # label: "ExtractionDefinitionDisplayLabel",
3800
+ # },
3801
+ # tags: {
3802
+ # "TagKey" => "TagValue",
3803
+ # },
3804
+ # })
3805
+ #
3806
+ # @example Response structure
3807
+ #
3808
+ # resp.extraction_definition_arn #=> String
3809
+ # resp.extraction_definition_id #=> String
3810
+ #
3811
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateExtractionDefinition AWS API Documentation
3812
+ #
3813
+ # @overload create_extraction_definition(params = {})
3814
+ # @param [Hash] params ({})
3815
+ def create_extraction_definition(params = {}, options = {})
3816
+ req = build_request(:create_extraction_definition, params)
3817
+ req.send_request(options)
3818
+ end
3819
+
3744
3820
  # Creates hours of operation.
3745
3821
  #
3746
3822
  # @option params [required, String] :instance_id
@@ -5058,13 +5134,13 @@ module Aws::Connect
5058
5134
  # instance_id: "InstanceId", # required
5059
5135
  # name: "RuleName", # required
5060
5136
  # trigger_event_source: { # required
5061
- # event_source_name: "OnPostCallAnalysisAvailable", # required, accepts OnPostCallAnalysisAvailable, OnRealTimeCallAnalysisAvailable, OnRealTimeChatAnalysisAvailable, OnPostChatAnalysisAvailable, OnEmailAnalysisAvailable, OnZendeskTicketCreate, OnZendeskTicketStatusUpdate, OnSalesforceCaseCreate, OnContactEvaluationSubmit, OnMetricDataUpdate, OnCaseCreate, OnCaseUpdate, OnSlaBreach, OnAlertUpdate, OnSchedulePublish, OnScheduleUpdate, OnScheduleTimeOffRequestActivity
5137
+ # event_source_name: "OnPostCallAnalysisAvailable", # required, accepts OnPostCallAnalysisAvailable, OnRealTimeCallAnalysisAvailable, OnRealTimeChatAnalysisAvailable, OnPostChatAnalysisAvailable, OnAfterCallWorkAvailable, OnAfterChatWorkAvailable, OnEmailAnalysisAvailable, OnZendeskTicketCreate, OnZendeskTicketStatusUpdate, OnSalesforceCaseCreate, OnContactEvaluationSubmit, OnMetricDataUpdate, OnCaseCreate, OnCaseUpdate, OnSlaBreach, OnAlertUpdate, OnSchedulePublish, OnScheduleUpdate, OnScheduleTimeOffRequestActivity
5062
5138
  # integration_association_id: "IntegrationAssociationId",
5063
5139
  # },
5064
5140
  # function: "RuleFunction", # required
5065
5141
  # actions: [ # required
5066
5142
  # {
5067
- # action_type: "CREATE_TASK", # required, accepts CREATE_TASK, ASSIGN_CONTACT_CATEGORY, GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE, ASSIGN_SLA, END_ASSOCIATED_TASKS, SUBMIT_AUTO_EVALUATION
5143
+ # action_type: "CREATE_TASK", # required, accepts CREATE_TASK, ASSIGN_CONTACT_CATEGORY, GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE, ASSIGN_SLA, END_ASSOCIATED_TASKS, SUBMIT_AUTO_EVALUATION, EXTRACT_INFORMATION
5068
5144
  # task_action: {
5069
5145
  # name: "TaskNameExpression", # required
5070
5146
  # description: "TaskDescriptionExpression",
@@ -5154,6 +5230,13 @@ module Aws::Connect
5154
5230
  # submit_auto_evaluation_action: {
5155
5231
  # evaluation_form_id: "EvaluationFormId", # required
5156
5232
  # },
5233
+ # extract_information_action: {
5234
+ # rules_extraction_definitions: [ # required
5235
+ # {
5236
+ # identifier: "RulesExtractionDefinitionId", # required
5237
+ # },
5238
+ # ],
5239
+ # },
5157
5240
  # },
5158
5241
  # ],
5159
5242
  # publish_status: "DRAFT", # required, accepts DRAFT, PUBLISHED
@@ -6855,6 +6938,38 @@ module Aws::Connect
6855
6938
  req.send_request(options)
6856
6939
  end
6857
6940
 
6941
+ # Deletes an extraction definition from the specified Connect Customer
6942
+ # instance.
6943
+ #
6944
+ # @option params [required, String] :instance_id
6945
+ # The identifier of the Connect Customer instance. You can [find the
6946
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
6947
+ #
6948
+ #
6949
+ #
6950
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
6951
+ #
6952
+ # @option params [required, String] :extraction_definition_id
6953
+ # The identifier of the extraction definition to delete.
6954
+ #
6955
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6956
+ #
6957
+ # @example Request syntax with placeholder values
6958
+ #
6959
+ # resp = client.delete_extraction_definition({
6960
+ # instance_id: "InstanceId", # required
6961
+ # extraction_definition_id: "ExtractionDefinitionId", # required
6962
+ # })
6963
+ #
6964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteExtractionDefinition AWS API Documentation
6965
+ #
6966
+ # @overload delete_extraction_definition(params = {})
6967
+ # @param [Hash] params ({})
6968
+ def delete_extraction_definition(params = {}, options = {})
6969
+ req = build_request(:delete_extraction_definition, params)
6970
+ req.send_request(options)
6971
+ end
6972
+
6858
6973
  # Deletes an hours of operation.
6859
6974
  #
6860
6975
  # @option params [required, String] :instance_id
@@ -8909,6 +9024,55 @@ module Aws::Connect
8909
9024
  req.send_request(options)
8910
9025
  end
8911
9026
 
9027
+ # Describes an extraction definition in the specified Connect Customer
9028
+ # instance.
9029
+ #
9030
+ # @option params [required, String] :instance_id
9031
+ # The identifier of the Connect Customer instance. You can [find the
9032
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
9033
+ #
9034
+ #
9035
+ #
9036
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
9037
+ #
9038
+ # @option params [required, String] :extraction_definition_id
9039
+ # The identifier of the extraction definition to describe.
9040
+ #
9041
+ # @return [Types::DescribeExtractionDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9042
+ #
9043
+ # * {Types::DescribeExtractionDefinitionResponse#extraction_definition #extraction_definition} => Types::ExtractionDefinition
9044
+ #
9045
+ # @example Request syntax with placeholder values
9046
+ #
9047
+ # resp = client.describe_extraction_definition({
9048
+ # instance_id: "InstanceId", # required
9049
+ # extraction_definition_id: "ExtractionDefinitionId", # required
9050
+ # })
9051
+ #
9052
+ # @example Response structure
9053
+ #
9054
+ # resp.extraction_definition.name #=> String
9055
+ # resp.extraction_definition.extraction_definition_id #=> String
9056
+ # resp.extraction_definition.extraction_definition_arn #=> String
9057
+ # resp.extraction_definition.extraction_configuration.prompt_hint #=> String
9058
+ # resp.extraction_definition.extraction_configuration.not_found_behavior.behavior #=> String, one of "USE_DEFAULT_VALUE", "OMIT"
9059
+ # resp.extraction_definition.extraction_configuration.not_found_behavior.default_value #=> String
9060
+ # resp.extraction_definition.display.label #=> String
9061
+ # resp.extraction_definition.created_time #=> Time
9062
+ # resp.extraction_definition.last_updated_time #=> Time
9063
+ # resp.extraction_definition.last_updated_by #=> String
9064
+ # resp.extraction_definition.tags #=> Hash
9065
+ # resp.extraction_definition.tags["TagKey"] #=> String
9066
+ #
9067
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeExtractionDefinition AWS API Documentation
9068
+ #
9069
+ # @overload describe_extraction_definition(params = {})
9070
+ # @param [Hash] params ({})
9071
+ def describe_extraction_definition(params = {}, options = {})
9072
+ req = build_request(:describe_extraction_definition, params)
9073
+ req.send_request(options)
9074
+ end
9075
+
8912
9076
  # Describes the hours of operation.
8913
9077
  #
8914
9078
  # @option params [required, String] :instance_id
@@ -9678,13 +9842,13 @@ module Aws::Connect
9678
9842
  # resp.rule.name #=> String
9679
9843
  # resp.rule.rule_id #=> String
9680
9844
  # resp.rule.rule_arn #=> String
9681
- # resp.rule.trigger_event_source.event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnEmailAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate", "OnCaseCreate", "OnCaseUpdate", "OnSlaBreach", "OnAlertUpdate", "OnSchedulePublish", "OnScheduleUpdate", "OnScheduleTimeOffRequestActivity"
9845
+ # resp.rule.trigger_event_source.event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnAfterCallWorkAvailable", "OnAfterChatWorkAvailable", "OnEmailAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate", "OnCaseCreate", "OnCaseUpdate", "OnSlaBreach", "OnAlertUpdate", "OnSchedulePublish", "OnScheduleUpdate", "OnScheduleTimeOffRequestActivity"
9682
9846
  # resp.rule.trigger_event_source.integration_association_id #=> String
9683
9847
  # resp.rule.rule_capability_tiers #=> Array
9684
9848
  # resp.rule.rule_capability_tiers[0] #=> String, one of "GenerativeAI"
9685
9849
  # resp.rule.function #=> String
9686
9850
  # resp.rule.actions #=> Array
9687
- # resp.rule.actions[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION", "CREATE_CASE", "UPDATE_CASE", "ASSIGN_SLA", "END_ASSOCIATED_TASKS", "SUBMIT_AUTO_EVALUATION"
9851
+ # resp.rule.actions[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION", "CREATE_CASE", "UPDATE_CASE", "ASSIGN_SLA", "END_ASSOCIATED_TASKS", "SUBMIT_AUTO_EVALUATION", "EXTRACT_INFORMATION"
9688
9852
  # resp.rule.actions[0].task_action.name #=> String
9689
9853
  # resp.rule.actions[0].task_action.description #=> String
9690
9854
  # resp.rule.actions[0].task_action.contact_flow_id #=> String
@@ -9728,6 +9892,8 @@ module Aws::Connect
9728
9892
  # resp.rule.actions[0].assign_sla_action.case_sla_configuration.target_field_values[0].string_value #=> String
9729
9893
  # resp.rule.actions[0].assign_sla_action.case_sla_configuration.target_sla_minutes #=> Integer
9730
9894
  # resp.rule.actions[0].submit_auto_evaluation_action.evaluation_form_id #=> String
9895
+ # resp.rule.actions[0].extract_information_action.rules_extraction_definitions #=> Array
9896
+ # resp.rule.actions[0].extract_information_action.rules_extraction_definitions[0].identifier #=> String
9731
9897
  # resp.rule.publish_status #=> String, one of "DRAFT", "PUBLISHED"
9732
9898
  # resp.rule.created_time #=> Time
9733
9899
  # resp.rule.last_updated_time #=> Time
@@ -16817,6 +16983,61 @@ module Aws::Connect
16817
16983
  req.send_request(options)
16818
16984
  end
16819
16985
 
16986
+ # Lists extraction definitions in the specified Connect Customer
16987
+ # instance.
16988
+ #
16989
+ # @option params [required, String] :instance_id
16990
+ # The identifier of the Connect Customer instance. You can [find the
16991
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
16992
+ #
16993
+ #
16994
+ #
16995
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
16996
+ #
16997
+ # @option params [Integer] :max_results
16998
+ # The maximum number of results to return per page. The default
16999
+ # MaxResult size is 100.
17000
+ #
17001
+ # @option params [String] :next_token
17002
+ # The token for the next set of results. Use the value returned in the
17003
+ # previous response in the next request to retrieve the next set of
17004
+ # results.
17005
+ #
17006
+ # @return [Types::ListExtractionDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
17007
+ #
17008
+ # * {Types::ListExtractionDefinitionsResponse#extraction_definition_summary_list #extraction_definition_summary_list} => Array&lt;Types::ExtractionDefinitionSummary&gt;
17009
+ # * {Types::ListExtractionDefinitionsResponse#next_token #next_token} => String
17010
+ #
17011
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
17012
+ #
17013
+ # @example Request syntax with placeholder values
17014
+ #
17015
+ # resp = client.list_extraction_definitions({
17016
+ # instance_id: "InstanceId", # required
17017
+ # max_results: 1,
17018
+ # next_token: "NextToken",
17019
+ # })
17020
+ #
17021
+ # @example Response structure
17022
+ #
17023
+ # resp.extraction_definition_summary_list #=> Array
17024
+ # resp.extraction_definition_summary_list[0].name #=> String
17025
+ # resp.extraction_definition_summary_list[0].extraction_definition_id #=> String
17026
+ # resp.extraction_definition_summary_list[0].extraction_definition_arn #=> String
17027
+ # resp.extraction_definition_summary_list[0].created_time #=> Time
17028
+ # resp.extraction_definition_summary_list[0].last_updated_time #=> Time
17029
+ # resp.extraction_definition_summary_list[0].last_updated_by #=> String
17030
+ # resp.next_token #=> String
17031
+ #
17032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListExtractionDefinitions AWS API Documentation
17033
+ #
17034
+ # @overload list_extraction_definitions(params = {})
17035
+ # @param [Hash] params ({})
17036
+ def list_extraction_definitions(params = {}, options = {})
17037
+ req = build_request(:list_extraction_definitions, params)
17038
+ req.send_request(options)
17039
+ end
17040
+
16820
17041
  # List the flow association based on the filters.
16821
17042
  #
16822
17043
  # @option params [required, String] :instance_id
@@ -18421,7 +18642,7 @@ module Aws::Connect
18421
18642
  # resp = client.list_rules({
18422
18643
  # instance_id: "InstanceId", # required
18423
18644
  # publish_status: "DRAFT", # accepts DRAFT, PUBLISHED
18424
- # event_source_name: "OnPostCallAnalysisAvailable", # accepts OnPostCallAnalysisAvailable, OnRealTimeCallAnalysisAvailable, OnRealTimeChatAnalysisAvailable, OnPostChatAnalysisAvailable, OnEmailAnalysisAvailable, OnZendeskTicketCreate, OnZendeskTicketStatusUpdate, OnSalesforceCaseCreate, OnContactEvaluationSubmit, OnMetricDataUpdate, OnCaseCreate, OnCaseUpdate, OnSlaBreach, OnAlertUpdate, OnSchedulePublish, OnScheduleUpdate, OnScheduleTimeOffRequestActivity
18645
+ # event_source_name: "OnPostCallAnalysisAvailable", # accepts OnPostCallAnalysisAvailable, OnRealTimeCallAnalysisAvailable, OnRealTimeChatAnalysisAvailable, OnPostChatAnalysisAvailable, OnAfterCallWorkAvailable, OnAfterChatWorkAvailable, OnEmailAnalysisAvailable, OnZendeskTicketCreate, OnZendeskTicketStatusUpdate, OnSalesforceCaseCreate, OnContactEvaluationSubmit, OnMetricDataUpdate, OnCaseCreate, OnCaseUpdate, OnSlaBreach, OnAlertUpdate, OnSchedulePublish, OnScheduleUpdate, OnScheduleTimeOffRequestActivity
18425
18646
  # max_results: 1,
18426
18647
  # next_token: "NextToken",
18427
18648
  # })
@@ -18432,12 +18653,12 @@ module Aws::Connect
18432
18653
  # resp.rule_summary_list[0].name #=> String
18433
18654
  # resp.rule_summary_list[0].rule_id #=> String
18434
18655
  # resp.rule_summary_list[0].rule_arn #=> String
18435
- # resp.rule_summary_list[0].event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnEmailAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate", "OnCaseCreate", "OnCaseUpdate", "OnSlaBreach", "OnAlertUpdate", "OnSchedulePublish", "OnScheduleUpdate", "OnScheduleTimeOffRequestActivity"
18656
+ # resp.rule_summary_list[0].event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnAfterCallWorkAvailable", "OnAfterChatWorkAvailable", "OnEmailAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate", "OnCaseCreate", "OnCaseUpdate", "OnSlaBreach", "OnAlertUpdate", "OnSchedulePublish", "OnScheduleUpdate", "OnScheduleTimeOffRequestActivity"
18436
18657
  # resp.rule_summary_list[0].publish_status #=> String, one of "DRAFT", "PUBLISHED"
18437
18658
  # resp.rule_summary_list[0].rule_capability_tiers #=> Array
18438
18659
  # resp.rule_summary_list[0].rule_capability_tiers[0] #=> String, one of "GenerativeAI"
18439
18660
  # resp.rule_summary_list[0].action_summaries #=> Array
18440
- # resp.rule_summary_list[0].action_summaries[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION", "CREATE_CASE", "UPDATE_CASE", "ASSIGN_SLA", "END_ASSOCIATED_TASKS", "SUBMIT_AUTO_EVALUATION"
18661
+ # resp.rule_summary_list[0].action_summaries[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION", "CREATE_CASE", "UPDATE_CASE", "ASSIGN_SLA", "END_ASSOCIATED_TASKS", "SUBMIT_AUTO_EVALUATION", "EXTRACT_INFORMATION"
18441
18662
  # resp.rule_summary_list[0].created_time #=> Time
18442
18663
  # resp.rule_summary_list[0].last_updated_time #=> Time
18443
18664
  # resp.next_token #=> String
@@ -22577,10 +22798,10 @@ module Aws::Connect
22577
22798
  # resp.rules[0].name #=> String
22578
22799
  # resp.rules[0].rule_id #=> String
22579
22800
  # resp.rules[0].rule_arn #=> String
22580
- # resp.rules[0].trigger_event_source.event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnEmailAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate", "OnCaseCreate", "OnCaseUpdate", "OnSlaBreach", "OnAlertUpdate", "OnSchedulePublish", "OnScheduleUpdate", "OnScheduleTimeOffRequestActivity"
22801
+ # resp.rules[0].trigger_event_source.event_source_name #=> String, one of "OnPostCallAnalysisAvailable", "OnRealTimeCallAnalysisAvailable", "OnRealTimeChatAnalysisAvailable", "OnPostChatAnalysisAvailable", "OnAfterCallWorkAvailable", "OnAfterChatWorkAvailable", "OnEmailAnalysisAvailable", "OnZendeskTicketCreate", "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", "OnMetricDataUpdate", "OnCaseCreate", "OnCaseUpdate", "OnSlaBreach", "OnAlertUpdate", "OnSchedulePublish", "OnScheduleUpdate", "OnScheduleTimeOffRequestActivity"
22581
22802
  # resp.rules[0].trigger_event_source.integration_association_id #=> String
22582
22803
  # resp.rules[0].action_summaries #=> Array
22583
- # resp.rules[0].action_summaries[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION", "CREATE_CASE", "UPDATE_CASE", "ASSIGN_SLA", "END_ASSOCIATED_TASKS", "SUBMIT_AUTO_EVALUATION"
22804
+ # resp.rules[0].action_summaries[0].action_type #=> String, one of "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", "SEND_NOTIFICATION", "CREATE_CASE", "UPDATE_CASE", "ASSIGN_SLA", "END_ASSOCIATED_TASKS", "SUBMIT_AUTO_EVALUATION", "EXTRACT_INFORMATION"
22584
22805
  # resp.rules[0].rule_capability_tiers #=> Array
22585
22806
  # resp.rules[0].rule_capability_tiers[0] #=> String, one of "GenerativeAI"
22586
22807
  # resp.rules[0].publish_status #=> String, one of "DRAFT", "PUBLISHED"
@@ -23869,6 +24090,127 @@ module Aws::Connect
23869
24090
  req.send_request(options)
23870
24091
  end
23871
24092
 
24093
+ # Starts a chat contact with an AI agent.
24094
+ #
24095
+ # Use the returned `ParticipantToken` with the
24096
+ # [CreateParticipantConnection][1] operation.
24097
+ #
24098
+ # For more information about chat, see the following topics in the
24099
+ # *Connect Customer Administrator Guide*:
24100
+ #
24101
+ # * [Concepts: Web and mobile messaging capabilities in Connect
24102
+ # Customer][2]
24103
+ #
24104
+ # * [Connect Customer Chat security best practices][3]
24105
+ #
24106
+ #
24107
+ #
24108
+ # [1]: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html
24109
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/web-and-mobile-chat.html
24110
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat
24111
+ #
24112
+ # @option params [required, String] :instance_id
24113
+ # The identifier of the Connect Customer instance. You can [find the
24114
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
24115
+ #
24116
+ #
24117
+ #
24118
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
24119
+ #
24120
+ # @option params [required, Types::AiAgentInput] :ai_agent
24121
+ # The AI agent configuration for this contact.
24122
+ #
24123
+ # @option params [required, Types::ParticipantDetails] :participant_details
24124
+ # The display name and other details that identify the chat participant.
24125
+ #
24126
+ # @option params [Types::ChatMessage] :initial_message
24127
+ # The initial message to send to the newly created chat.
24128
+ #
24129
+ # @option params [Hash<String,String>] :attributes
24130
+ # A map of key-value pairs to associate with the contact. We make these
24131
+ # attributes available to flows as standard contact attributes.
24132
+ #
24133
+ # You can provide up to 32,768 UTF-8 bytes across all key-value pairs
24134
+ # for each contact.
24135
+ #
24136
+ # @option params [String] :client_token
24137
+ # A unique, case-sensitive identifier that you provide to ensure the
24138
+ # idempotency of the request. If not provided, the Amazon Web Services
24139
+ # SDK populates this field. For more information about idempotency, see
24140
+ # [Making retries safe with idempotent APIs][1].
24141
+ #
24142
+ # **A suitable default value is auto-generated.** You should normally
24143
+ # not need to pass this option.**
24144
+ #
24145
+ #
24146
+ #
24147
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
24148
+ #
24149
+ # @option params [Types::PersistentChat] :persistent_chat
24150
+ # The configuration that enables persistent chat. For more information
24151
+ # about persistent chat and its use cases, see [Enable persistent
24152
+ # chat][1].
24153
+ #
24154
+ #
24155
+ #
24156
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html
24157
+ #
24158
+ # @option params [String] :related_contact_id
24159
+ # The identifier of an Connect Customer contact related to the new
24160
+ # assistant contact.
24161
+ #
24162
+ # <note markdown="1"> You cannot provide both `RelatedContactId` and `PersistentChat`.
24163
+ #
24164
+ # </note>
24165
+ #
24166
+ # @return [Types::StartAssistantContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
24167
+ #
24168
+ # * {Types::StartAssistantContactResponse#contact_id #contact_id} => String
24169
+ # * {Types::StartAssistantContactResponse#participant_id #participant_id} => String
24170
+ # * {Types::StartAssistantContactResponse#participant_token #participant_token} => String
24171
+ # * {Types::StartAssistantContactResponse#continued_from_contact_id #continued_from_contact_id} => String
24172
+ #
24173
+ # @example Request syntax with placeholder values
24174
+ #
24175
+ # resp = client.start_assistant_contact({
24176
+ # instance_id: "InstanceId", # required
24177
+ # ai_agent: { # required
24178
+ # ai_agent_id: "AiAgentId", # required
24179
+ # },
24180
+ # participant_details: { # required
24181
+ # display_name: "DisplayName", # required
24182
+ # },
24183
+ # initial_message: {
24184
+ # content_type: "ChatContentType", # required
24185
+ # content: "ChatContent", # required
24186
+ # },
24187
+ # attributes: {
24188
+ # "AttributeName" => "AttributeValue",
24189
+ # },
24190
+ # client_token: "ClientToken",
24191
+ # persistent_chat: {
24192
+ # rehydration_type: "ENTIRE_PAST_SESSION", # accepts ENTIRE_PAST_SESSION, FROM_SEGMENT
24193
+ # source_contact_id: "ContactId",
24194
+ # },
24195
+ # related_contact_id: "ContactId",
24196
+ # })
24197
+ #
24198
+ # @example Response structure
24199
+ #
24200
+ # resp.contact_id #=> String
24201
+ # resp.participant_id #=> String
24202
+ # resp.participant_token #=> String
24203
+ # resp.continued_from_contact_id #=> String
24204
+ #
24205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartAssistantContact AWS API Documentation
24206
+ #
24207
+ # @overload start_assistant_contact(params = {})
24208
+ # @param [Hash] params ({})
24209
+ def start_assistant_contact(params = {}, options = {})
24210
+ req = build_request(:start_assistant_contact, params)
24211
+ req.send_request(options)
24212
+ end
24213
+
23872
24214
  # Provides a pre-signed Amazon S3 URL in response for uploading your
23873
24215
  # content.
23874
24216
  #
@@ -24892,7 +25234,7 @@ module Aws::Connect
24892
25234
  # 10,080 minutes (7 days).
24893
25235
  #
24894
25236
  # @option params [Types::ParticipantDetails] :participant_details
24895
- # The customer's details.
25237
+ # The details of the participant, including their display name.
24896
25238
  #
24897
25239
  # @option params [Types::ChatMessage] :initial_system_message
24898
25240
  # A chat message.
@@ -25709,7 +26051,7 @@ module Aws::Connect
25709
26051
  # (customer, agent).
25710
26052
  #
25711
26053
  # @option params [required, Types::ParticipantDetails] :participant_details
25712
- # The customer's details.
26054
+ # The details of the participant, including their display name.
25713
26055
  #
25714
26056
  # @option params [String] :related_contact_id
25715
26057
  # The unique identifier for an Connect Customer contact. This identifier
@@ -25725,6 +26067,11 @@ module Aws::Connect
25725
26067
  # A description of the task that is shown to an agent in the Contact
25726
26068
  # Control Panel (CCP).
25727
26069
  #
26070
+ # @option params [Hash<String,Types::SegmentAttributeValue>] :segment_attributes
26071
+ # A map of system-defined attributes for the WebRTC contact segment. Use
26072
+ # the `connect:Subtype` attribute to specify the channel subtype, such
26073
+ # as `connect:WebRTC`.
26074
+ #
25728
26075
  # @return [Types::StartWebRTCContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
25729
26076
  #
25730
26077
  # * {Types::StartWebRTCContactResponse#connection_data #connection_data} => Types::ConnectionData
@@ -25765,6 +26112,23 @@ module Aws::Connect
25765
26112
  # },
25766
26113
  # },
25767
26114
  # description: "Description",
26115
+ # segment_attributes: {
26116
+ # "SegmentAttributeName" => {
26117
+ # value_string: "SegmentAttributeValueString",
26118
+ # value_map: {
26119
+ # "SegmentAttributeName" => {
26120
+ # # recursive SegmentAttributeValue
26121
+ # },
26122
+ # },
26123
+ # value_integer: 1,
26124
+ # value_list: [
26125
+ # {
26126
+ # # recursive SegmentAttributeValue
26127
+ # },
26128
+ # ],
26129
+ # value_arn: "SegmentAttributeValueString",
26130
+ # },
26131
+ # },
25768
26132
  # })
25769
26133
  #
25770
26134
  # @example Response structure
@@ -28009,6 +28373,68 @@ module Aws::Connect
28009
28373
  req.send_request(options)
28010
28374
  end
28011
28375
 
28376
+ # Updates an extraction definition in the specified Connect Customer
28377
+ # instance.
28378
+ #
28379
+ # @option params [String] :client_token
28380
+ # A unique, case-sensitive identifier that you provide to ensure the
28381
+ # idempotency of the request. If not provided, the Amazon Web Services
28382
+ # SDK populates this field.
28383
+ #
28384
+ # **A suitable default value is auto-generated.** You should normally
28385
+ # not need to pass this option.**
28386
+ #
28387
+ # @option params [required, String] :extraction_definition_id
28388
+ # The identifier of the extraction definition to update.
28389
+ #
28390
+ # @option params [required, String] :instance_id
28391
+ # The identifier of the Connect Customer instance. You can [find the
28392
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
28393
+ #
28394
+ #
28395
+ #
28396
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
28397
+ #
28398
+ # @option params [required, String] :name
28399
+ # The name of the extraction definition.
28400
+ #
28401
+ # @option params [required, Types::ExtractionConfiguration] :extraction_configuration
28402
+ # The configuration that defines how data is extracted, including the
28403
+ # prompt hint and not-found behavior.
28404
+ #
28405
+ # @option params [Types::ExtractionDefinitionDisplay] :display
28406
+ # The display settings for the extraction definition.
28407
+ #
28408
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
28409
+ #
28410
+ # @example Request syntax with placeholder values
28411
+ #
28412
+ # resp = client.update_extraction_definition({
28413
+ # client_token: "ClientToken",
28414
+ # extraction_definition_id: "ExtractionDefinitionId", # required
28415
+ # instance_id: "InstanceId", # required
28416
+ # name: "ExtractionDefinitionName", # required
28417
+ # extraction_configuration: { # required
28418
+ # prompt_hint: "ExtractionDefinitionPromptHint", # required
28419
+ # not_found_behavior: {
28420
+ # behavior: "USE_DEFAULT_VALUE", # required, accepts USE_DEFAULT_VALUE, OMIT
28421
+ # default_value: "NotFoundDefaultValue",
28422
+ # },
28423
+ # },
28424
+ # display: {
28425
+ # label: "ExtractionDefinitionDisplayLabel",
28426
+ # },
28427
+ # })
28428
+ #
28429
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateExtractionDefinition AWS API Documentation
28430
+ #
28431
+ # @overload update_extraction_definition(params = {})
28432
+ # @param [Hash] params ({})
28433
+ def update_extraction_definition(params = {}, options = {})
28434
+ req = build_request(:update_extraction_definition, params)
28435
+ req.send_request(options)
28436
+ end
28437
+
28012
28438
  # Updates the hours of operation.
28013
28439
  #
28014
28440
  # @option params [required, String] :instance_id
@@ -29439,7 +29865,7 @@ module Aws::Connect
29439
29865
  # function: "RuleFunction", # required
29440
29866
  # actions: [ # required
29441
29867
  # {
29442
- # action_type: "CREATE_TASK", # required, accepts CREATE_TASK, ASSIGN_CONTACT_CATEGORY, GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE, ASSIGN_SLA, END_ASSOCIATED_TASKS, SUBMIT_AUTO_EVALUATION
29868
+ # action_type: "CREATE_TASK", # required, accepts CREATE_TASK, ASSIGN_CONTACT_CATEGORY, GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE, ASSIGN_SLA, END_ASSOCIATED_TASKS, SUBMIT_AUTO_EVALUATION, EXTRACT_INFORMATION
29443
29869
  # task_action: {
29444
29870
  # name: "TaskNameExpression", # required
29445
29871
  # description: "TaskDescriptionExpression",
@@ -29529,6 +29955,13 @@ module Aws::Connect
29529
29955
  # submit_auto_evaluation_action: {
29530
29956
  # evaluation_form_id: "EvaluationFormId", # required
29531
29957
  # },
29958
+ # extract_information_action: {
29959
+ # rules_extraction_definitions: [ # required
29960
+ # {
29961
+ # identifier: "RulesExtractionDefinitionId", # required
29962
+ # },
29963
+ # ],
29964
+ # },
29532
29965
  # },
29533
29966
  # ],
29534
29967
  # publish_status: "DRAFT", # required, accepts DRAFT, PUBLISHED
@@ -30851,7 +31284,7 @@ module Aws::Connect
30851
31284
  tracer: tracer
30852
31285
  )
30853
31286
  context[:gem_name] = 'aws-sdk-connect'
30854
- context[:gem_version] = '1.270.0'
31287
+ context[:gem_version] = '1.272.0'
30855
31288
  Seahorse::Client::Request.new(handlers, context)
30856
31289
  end
30857
31290