aws-sdk-connect 1.185.0 → 1.186.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -697,7 +697,7 @@ module Aws::Connect
697
697
  # instance_id: "InstanceId", # required
698
698
  # resource_id: "ARN", # required
699
699
  # flow_id: "ARN", # required
700
- # resource_type: "SMS_PHONE_NUMBER", # required, accepts SMS_PHONE_NUMBER
700
+ # resource_type: "SMS_PHONE_NUMBER", # required, accepts SMS_PHONE_NUMBER, INBOUND_EMAIL, OUTBOUND_EMAIL
701
701
  # })
702
702
  #
703
703
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateFlow AWS API Documentation
@@ -764,7 +764,7 @@ module Aws::Connect
764
764
  #
765
765
  # resp = client.associate_instance_storage_config({
766
766
  # instance_id: "InstanceId", # required
767
- # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS, REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, ATTACHMENTS, CONTACT_EVALUATIONS, SCREEN_RECORDINGS, REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS, REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
767
+ # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS, REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, ATTACHMENTS, CONTACT_EVALUATIONS, SCREEN_RECORDINGS, REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS, REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS, EMAIL_MESSAGES
768
768
  # storage_config: { # required
769
769
  # association_id: "AssociationId",
770
770
  # storage_type: "S3", # required, accepts S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM, KINESIS_FIREHOSE
@@ -993,7 +993,7 @@ module Aws::Connect
993
993
  # {
994
994
  # queue_reference: { # required
995
995
  # queue_id: "QueueId", # required
996
- # channel: "VOICE", # required, accepts VOICE, CHAT, TASK
996
+ # channel: "VOICE", # required, accepts VOICE, CHAT, TASK, EMAIL
997
997
  # },
998
998
  # priority: 1, # required
999
999
  # delay: 1, # required
@@ -1277,7 +1277,7 @@ module Aws::Connect
1277
1277
  # resp.files[0].file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
1278
1278
  # resp.files[0].created_by.connect_user_arn #=> String
1279
1279
  # resp.files[0].created_by.aws_identity_arn #=> String
1280
- # resp.files[0].file_use_case_type #=> String, one of "ATTACHMENT"
1280
+ # resp.files[0].file_use_case_type #=> String, one of "EMAIL_MESSAGE", "ATTACHMENT"
1281
1281
  # resp.files[0].associated_resource_arn #=> String
1282
1282
  # resp.files[0].tags #=> Hash
1283
1283
  # resp.files[0].tags["TagKey"] #=> String
@@ -1320,7 +1320,7 @@ module Aws::Connect
1320
1320
  # resp = client.batch_get_flow_association({
1321
1321
  # instance_id: "InstanceId", # required
1322
1322
  # resource_ids: ["ARN"], # required
1323
- # resource_type: "VOICE_PHONE_NUMBER", # accepts VOICE_PHONE_NUMBER
1323
+ # resource_type: "VOICE_PHONE_NUMBER", # accepts VOICE_PHONE_NUMBER, INBOUND_EMAIL, OUTBOUND_EMAIL
1324
1324
  # })
1325
1325
  #
1326
1326
  # @example Response structure
@@ -1328,7 +1328,7 @@ module Aws::Connect
1328
1328
  # resp.flow_association_summary_list #=> Array
1329
1329
  # resp.flow_association_summary_list[0].resource_id #=> String
1330
1330
  # resp.flow_association_summary_list[0].flow_id #=> String
1331
- # resp.flow_association_summary_list[0].resource_type #=> String, one of "VOICE_PHONE_NUMBER"
1331
+ # resp.flow_association_summary_list[0].resource_type #=> String, one of "VOICE_PHONE_NUMBER", "INBOUND_EMAIL", "OUTBOUND_EMAIL"
1332
1332
  #
1333
1333
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/BatchGetFlowAssociation AWS API Documentation
1334
1334
  #
@@ -1393,11 +1393,11 @@ module Aws::Connect
1393
1393
  # contact_data_request_list: [ # required
1394
1394
  # {
1395
1395
  # system_endpoint: {
1396
- # type: "TELEPHONE_NUMBER", # accepts TELEPHONE_NUMBER, VOIP, CONTACT_FLOW, CONNECT_PHONENUMBER_ARN
1396
+ # type: "TELEPHONE_NUMBER", # accepts TELEPHONE_NUMBER, VOIP, CONTACT_FLOW, CONNECT_PHONENUMBER_ARN, EMAIL_ADDRESS
1397
1397
  # address: "EndpointAddress",
1398
1398
  # },
1399
1399
  # customer_endpoint: {
1400
- # type: "TELEPHONE_NUMBER", # accepts TELEPHONE_NUMBER, VOIP, CONTACT_FLOW, CONNECT_PHONENUMBER_ARN
1400
+ # type: "TELEPHONE_NUMBER", # accepts TELEPHONE_NUMBER, VOIP, CONTACT_FLOW, CONNECT_PHONENUMBER_ARN, EMAIL_ADDRESS
1401
1401
  # address: "EndpointAddress",
1402
1402
  # },
1403
1403
  # request_identifier: "RequestIdentifier",
@@ -1648,6 +1648,87 @@ module Aws::Connect
1648
1648
  req.send_request(options)
1649
1649
  end
1650
1650
 
1651
+ # @option params [required, String] :instance_id
1652
+ #
1653
+ # @option params [String] :client_token
1654
+ # **A suitable default value is auto-generated.** You should normally
1655
+ # not need to pass this option.**
1656
+ #
1657
+ # @option params [String] :related_contact_id
1658
+ #
1659
+ # @option params [Hash<String,String>] :attributes
1660
+ #
1661
+ # @option params [Hash<String,Types::Reference>] :references
1662
+ #
1663
+ # @option params [required, String] :channel
1664
+ #
1665
+ # @option params [required, String] :initiation_method
1666
+ #
1667
+ # @option params [Integer] :expiry_duration_in_minutes
1668
+ #
1669
+ # @option params [Types::UserInfo] :user_info
1670
+ #
1671
+ # @option params [String] :initiate_as
1672
+ #
1673
+ # @option params [String] :name
1674
+ #
1675
+ # @option params [String] :description
1676
+ #
1677
+ # @option params [Hash<String,Types::SegmentAttributeValue>] :segment_attributes
1678
+ #
1679
+ # @return [Types::CreateContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1680
+ #
1681
+ # * {Types::CreateContactResponse#contact_id #contact_id} => String
1682
+ # * {Types::CreateContactResponse#contact_arn #contact_arn} => String
1683
+ #
1684
+ # @example Request syntax with placeholder values
1685
+ #
1686
+ # resp = client.create_contact({
1687
+ # instance_id: "InstanceId", # required
1688
+ # client_token: "ClientToken",
1689
+ # related_contact_id: "ContactId",
1690
+ # attributes: {
1691
+ # "AttributeName" => "AttributeValue",
1692
+ # },
1693
+ # references: {
1694
+ # "ReferenceKey" => {
1695
+ # value: "ReferenceValue",
1696
+ # type: "URL", # required, accepts URL, ATTACHMENT, CONTACT_ANALYSIS, NUMBER, STRING, DATE, EMAIL, EMAIL_MESSAGE
1697
+ # status: "AVAILABLE", # accepts AVAILABLE, DELETED, APPROVED, REJECTED, PROCESSING, FAILED
1698
+ # arn: "ReferenceArn",
1699
+ # status_reason: "ReferenceStatusReason",
1700
+ # },
1701
+ # },
1702
+ # channel: "VOICE", # required, accepts VOICE, CHAT, TASK, EMAIL
1703
+ # initiation_method: "INBOUND", # required, accepts INBOUND, OUTBOUND, TRANSFER, QUEUE_TRANSFER, CALLBACK, API, DISCONNECT, MONITOR, EXTERNAL_OUTBOUND, WEBRTC_API, AGENT_REPLY, FLOW
1704
+ # expiry_duration_in_minutes: 1,
1705
+ # user_info: {
1706
+ # user_id: "AgentResourceId",
1707
+ # },
1708
+ # initiate_as: "CONNECTED_TO_USER", # accepts CONNECTED_TO_USER
1709
+ # name: "Name",
1710
+ # description: "Description",
1711
+ # segment_attributes: {
1712
+ # "SegmentAttributeName" => {
1713
+ # value_string: "SegmentAttributeValueString",
1714
+ # },
1715
+ # },
1716
+ # })
1717
+ #
1718
+ # @example Response structure
1719
+ #
1720
+ # resp.contact_id #=> String
1721
+ # resp.contact_arn #=> String
1722
+ #
1723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContact AWS API Documentation
1724
+ #
1725
+ # @overload create_contact(params = {})
1726
+ # @param [Hash] params ({})
1727
+ def create_contact(params = {}, options = {})
1728
+ req = build_request(:create_contact, params)
1729
+ req.send_request(options)
1730
+ end
1731
+
1651
1732
  # Creates a flow for the specified Amazon Connect instance.
1652
1733
  #
1653
1734
  # You can also create and update flows using the [Amazon Connect Flow
@@ -1860,6 +1941,50 @@ module Aws::Connect
1860
1941
  req.send_request(options)
1861
1942
  end
1862
1943
 
1944
+ # @option params [String] :description
1945
+ #
1946
+ # @option params [required, String] :instance_id
1947
+ #
1948
+ # @option params [required, String] :email_address
1949
+ #
1950
+ # @option params [String] :display_name
1951
+ #
1952
+ # @option params [Hash<String,String>] :tags
1953
+ #
1954
+ # @option params [String] :client_token
1955
+ #
1956
+ # @return [Types::CreateEmailAddressResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1957
+ #
1958
+ # * {Types::CreateEmailAddressResponse#email_address_id #email_address_id} => String
1959
+ # * {Types::CreateEmailAddressResponse#email_address_arn #email_address_arn} => String
1960
+ #
1961
+ # @example Request syntax with placeholder values
1962
+ #
1963
+ # resp = client.create_email_address({
1964
+ # description: "Description",
1965
+ # instance_id: "InstanceId", # required
1966
+ # email_address: "EmailAddress", # required
1967
+ # display_name: "EmailAddressDisplayName",
1968
+ # tags: {
1969
+ # "TagKey" => "TagValue",
1970
+ # },
1971
+ # client_token: "ClientToken",
1972
+ # })
1973
+ #
1974
+ # @example Response structure
1975
+ #
1976
+ # resp.email_address_id #=> String
1977
+ # resp.email_address_arn #=> String
1978
+ #
1979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateEmailAddress AWS API Documentation
1980
+ #
1981
+ # @overload create_email_address(params = {})
1982
+ # @param [Hash] params ({})
1983
+ def create_email_address(params = {}, options = {})
1984
+ req = build_request(:create_email_address, params)
1985
+ req.send_request(options)
1986
+ end
1987
+
1863
1988
  # Creates an evaluation form in the specified Amazon Connect instance.
1864
1989
  # The form can be used to define questions related to agent performance,
1865
1990
  # and create sections to organize such questions. Question and section
@@ -2195,7 +2320,7 @@ module Aws::Connect
2195
2320
  #
2196
2321
  # resp = client.create_integration_association({
2197
2322
  # instance_id: "InstanceId", # required
2198
- # integration_type: "EVENT", # required, accepts EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT, WISDOM_KNOWLEDGE_BASE, WISDOM_QUICK_RESPONSES, Q_MESSAGE_TEMPLATES, CASES_DOMAIN, APPLICATION, FILE_SCANNER
2323
+ # integration_type: "EVENT", # required, accepts EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT, WISDOM_KNOWLEDGE_BASE, WISDOM_QUICK_RESPONSES, Q_MESSAGE_TEMPLATES, CASES_DOMAIN, APPLICATION, FILE_SCANNER, SES_IDENTITY
2199
2324
  # integration_arn: "ARN", # required
2200
2325
  # source_application_url: "URI",
2201
2326
  # source_application_name: "SourceApplicationName",
@@ -2570,6 +2695,8 @@ module Aws::Connect
2570
2695
  # @option params [Types::OutboundCallerConfig] :outbound_caller_config
2571
2696
  # The outbound caller ID name, number, and outbound whisper flow.
2572
2697
  #
2698
+ # @option params [Types::OutboundEmailConfig] :outbound_email_config
2699
+ #
2573
2700
  # @option params [required, String] :hours_of_operation_id
2574
2701
  # The identifier for the hours of operation.
2575
2702
  #
@@ -2601,6 +2728,9 @@ module Aws::Connect
2601
2728
  # outbound_caller_id_number_id: "PhoneNumberId",
2602
2729
  # outbound_flow_id: "ContactFlowId",
2603
2730
  # },
2731
+ # outbound_email_config: {
2732
+ # outbound_email_address_id: "EmailAddressId",
2733
+ # },
2604
2734
  # hours_of_operation_id: "HoursOfOperationId", # required
2605
2735
  # max_contacts: 1,
2606
2736
  # quick_connect_ids: ["QuickConnectId"],
@@ -2755,7 +2885,7 @@ module Aws::Connect
2755
2885
  # {
2756
2886
  # queue_reference: { # required
2757
2887
  # queue_id: "QueueId", # required
2758
- # channel: "VOICE", # required, accepts VOICE, CHAT, TASK
2888
+ # channel: "VOICE", # required, accepts VOICE, CHAT, TASK, EMAIL
2759
2889
  # },
2760
2890
  # priority: 1, # required
2761
2891
  # delay: 1, # required
@@ -2763,7 +2893,7 @@ module Aws::Connect
2763
2893
  # ],
2764
2894
  # media_concurrencies: [ # required
2765
2895
  # {
2766
- # channel: "VOICE", # required, accepts VOICE, CHAT, TASK
2896
+ # channel: "VOICE", # required, accepts VOICE, CHAT, TASK, EMAIL
2767
2897
  # concurrency: 1, # required
2768
2898
  # cross_channel_behavior: {
2769
2899
  # behavior_type: "ROUTE_CURRENT_CHANNEL_ONLY", # required, accepts ROUTE_CURRENT_CHANNEL_ONLY, ROUTE_ANY_CHANNEL
@@ -2858,8 +2988,11 @@ module Aws::Connect
2858
2988
  # contact_flow_id: "ContactFlowId", # required
2859
2989
  # references: {
2860
2990
  # "ReferenceKey" => {
2861
- # value: "ReferenceValue", # required
2862
- # type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
2991
+ # value: "ReferenceValue",
2992
+ # type: "URL", # required, accepts URL, ATTACHMENT, CONTACT_ANALYSIS, NUMBER, STRING, DATE, EMAIL, EMAIL_MESSAGE
2993
+ # status: "AVAILABLE", # accepts AVAILABLE, DELETED, APPROVED, REJECTED, PROCESSING, FAILED
2994
+ # arn: "ReferenceArn",
2995
+ # status_reason: "ReferenceStatusReason",
2863
2996
  # },
2864
2997
  # },
2865
2998
  # },
@@ -3058,6 +3191,8 @@ module Aws::Connect
3058
3191
  # The identifier of the flow that runs by default when a task is created
3059
3192
  # by referencing this template.
3060
3193
  #
3194
+ # @option params [String] :self_assign_flow_id
3195
+ #
3061
3196
  # @option params [Types::TaskTemplateConstraints] :constraints
3062
3197
  # Constraints that are applicable to the fields listed.
3063
3198
  #
@@ -3099,6 +3234,7 @@ module Aws::Connect
3099
3234
  # name: "TaskTemplateName", # required
3100
3235
  # description: "TaskTemplateDescription",
3101
3236
  # contact_flow_id: "ContactFlowId",
3237
+ # self_assign_flow_id: "ContactFlowId",
3102
3238
  # constraints: {
3103
3239
  # required_fields: [
3104
3240
  # {
@@ -3139,7 +3275,7 @@ module Aws::Connect
3139
3275
  # name: "TaskTemplateFieldName",
3140
3276
  # },
3141
3277
  # description: "TaskTemplateFieldDescription",
3142
- # type: "NAME", # accepts NAME, DESCRIPTION, SCHEDULED_TIME, QUICK_CONNECT, URL, NUMBER, TEXT, TEXT_AREA, DATE_TIME, BOOLEAN, SINGLE_SELECT, EMAIL
3278
+ # type: "NAME", # accepts NAME, DESCRIPTION, SCHEDULED_TIME, QUICK_CONNECT, URL, NUMBER, TEXT, TEXT_AREA, DATE_TIME, BOOLEAN, SINGLE_SELECT, EMAIL, SELF_ASSIGN, EXPIRY_DURATION
3143
3279
  # single_select_options: ["TaskTemplateSingleSelectOption"],
3144
3280
  # },
3145
3281
  # ],
@@ -3897,6 +4033,28 @@ module Aws::Connect
3897
4033
  req.send_request(options)
3898
4034
  end
3899
4035
 
4036
+ # @option params [required, String] :instance_id
4037
+ #
4038
+ # @option params [required, String] :email_address_id
4039
+ #
4040
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4041
+ #
4042
+ # @example Request syntax with placeholder values
4043
+ #
4044
+ # resp = client.delete_email_address({
4045
+ # instance_id: "InstanceId", # required
4046
+ # email_address_id: "EmailAddressId", # required
4047
+ # })
4048
+ #
4049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteEmailAddress AWS API Documentation
4050
+ #
4051
+ # @overload delete_email_address(params = {})
4052
+ # @param [Hash] params ({})
4053
+ def delete_email_address(params = {}, options = {})
4054
+ req = build_request(:delete_email_address, params)
4055
+ req.send_request(options)
4056
+ end
4057
+
3900
4058
  # Deletes an evaluation form in the specified Amazon Connect instance.
3901
4059
  #
3902
4060
  # * If the version property is provided, only the specified version of
@@ -4706,10 +4864,11 @@ module Aws::Connect
4706
4864
  # resp.contact.id #=> String
4707
4865
  # resp.contact.initial_contact_id #=> String
4708
4866
  # resp.contact.previous_contact_id #=> String
4709
- # resp.contact.initiation_method #=> String, one of "INBOUND", "OUTBOUND", "TRANSFER", "QUEUE_TRANSFER", "CALLBACK", "API", "DISCONNECT", "MONITOR", "EXTERNAL_OUTBOUND"
4867
+ # resp.contact.contact_association_id #=> String
4868
+ # resp.contact.initiation_method #=> String, one of "INBOUND", "OUTBOUND", "TRANSFER", "QUEUE_TRANSFER", "CALLBACK", "API", "DISCONNECT", "MONITOR", "EXTERNAL_OUTBOUND", "WEBRTC_API", "AGENT_REPLY", "FLOW"
4710
4869
  # resp.contact.name #=> String
4711
4870
  # resp.contact.description #=> String
4712
- # resp.contact.channel #=> String, one of "VOICE", "CHAT", "TASK"
4871
+ # resp.contact.channel #=> String, one of "VOICE", "CHAT", "TASK", "EMAIL"
4713
4872
  # resp.contact.queue_info.id #=> String
4714
4873
  # resp.contact.queue_info.enqueue_timestamp #=> Time
4715
4874
  # resp.contact.agent_info.id #=> String
@@ -4735,6 +4894,12 @@ module Aws::Connect
4735
4894
  # resp.contact.scheduled_timestamp #=> Time
4736
4895
  # resp.contact.related_contact_id #=> String
4737
4896
  # resp.contact.wisdom_info.session_arn #=> String
4897
+ # resp.contact.customer_endpoint.type #=> String, one of "TELEPHONE_NUMBER", "VOIP", "CONTACT_FLOW", "CONNECT_PHONENUMBER_ARN", "EMAIL_ADDRESS"
4898
+ # resp.contact.customer_endpoint.address #=> String
4899
+ # resp.contact.customer_endpoint.display_name #=> String
4900
+ # resp.contact.system_endpoint.type #=> String, one of "TELEPHONE_NUMBER", "VOIP", "CONTACT_FLOW", "CONNECT_PHONENUMBER_ARN", "EMAIL_ADDRESS"
4901
+ # resp.contact.system_endpoint.address #=> String
4902
+ # resp.contact.system_endpoint.display_name #=> String
4738
4903
  # resp.contact.queue_time_adjustment_seconds #=> Integer
4739
4904
  # resp.contact.queue_priority #=> Integer
4740
4905
  # resp.contact.tags #=> Hash
@@ -4772,6 +4937,12 @@ module Aws::Connect
4772
4937
  # resp.contact.quality_metrics.customer.audio.potential_quality_issues #=> Array
4773
4938
  # resp.contact.quality_metrics.customer.audio.potential_quality_issues[0] #=> String
4774
4939
  # resp.contact.disconnect_details.potential_disconnect_issue #=> String
4940
+ # resp.contact.additional_email_recipients.to_list #=> Array
4941
+ # resp.contact.additional_email_recipients.to_list[0].address #=> String
4942
+ # resp.contact.additional_email_recipients.to_list[0].display_name #=> String
4943
+ # resp.contact.additional_email_recipients.cc_list #=> Array
4944
+ # resp.contact.additional_email_recipients.cc_list[0].address #=> String
4945
+ # resp.contact.additional_email_recipients.cc_list[0].display_name #=> String
4775
4946
  # resp.contact.segment_attributes #=> Hash
4776
4947
  # resp.contact.segment_attributes["SegmentAttributeName"].value_string #=> String
4777
4948
  #
@@ -5000,6 +5171,49 @@ module Aws::Connect
5000
5171
  req.send_request(options)
5001
5172
  end
5002
5173
 
5174
+ # @option params [required, String] :instance_id
5175
+ #
5176
+ # @option params [required, String] :email_address_id
5177
+ #
5178
+ # @return [Types::DescribeEmailAddressResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5179
+ #
5180
+ # * {Types::DescribeEmailAddressResponse#email_address_id #email_address_id} => String
5181
+ # * {Types::DescribeEmailAddressResponse#email_address_arn #email_address_arn} => String
5182
+ # * {Types::DescribeEmailAddressResponse#email_address #email_address} => String
5183
+ # * {Types::DescribeEmailAddressResponse#display_name #display_name} => String
5184
+ # * {Types::DescribeEmailAddressResponse#description #description} => String
5185
+ # * {Types::DescribeEmailAddressResponse#create_timestamp #create_timestamp} => String
5186
+ # * {Types::DescribeEmailAddressResponse#modified_timestamp #modified_timestamp} => String
5187
+ # * {Types::DescribeEmailAddressResponse#tags #tags} => Hash&lt;String,String&gt;
5188
+ #
5189
+ # @example Request syntax with placeholder values
5190
+ #
5191
+ # resp = client.describe_email_address({
5192
+ # instance_id: "InstanceId", # required
5193
+ # email_address_id: "EmailAddressId", # required
5194
+ # })
5195
+ #
5196
+ # @example Response structure
5197
+ #
5198
+ # resp.email_address_id #=> String
5199
+ # resp.email_address_arn #=> String
5200
+ # resp.email_address #=> String
5201
+ # resp.display_name #=> String
5202
+ # resp.description #=> String
5203
+ # resp.create_timestamp #=> String
5204
+ # resp.modified_timestamp #=> String
5205
+ # resp.tags #=> Hash
5206
+ # resp.tags["TagKey"] #=> String
5207
+ #
5208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeEmailAddress AWS API Documentation
5209
+ #
5210
+ # @overload describe_email_address(params = {})
5211
+ # @param [Hash] params ({})
5212
+ def describe_email_address(params = {}, options = {})
5213
+ req = build_request(:describe_email_address, params)
5214
+ req.send_request(options)
5215
+ end
5216
+
5003
5217
  # Describes an evaluation form in the specified Amazon Connect instance.
5004
5218
  # If the version property is not provided, the latest version of the
5005
5219
  # evaluation form is described.
@@ -5275,7 +5489,7 @@ module Aws::Connect
5275
5489
  # resp = client.describe_instance_storage_config({
5276
5490
  # instance_id: "InstanceId", # required
5277
5491
  # association_id: "AssociationId", # required
5278
- # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS, REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, ATTACHMENTS, CONTACT_EVALUATIONS, SCREEN_RECORDINGS, REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS, REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
5492
+ # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS, REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, ATTACHMENTS, CONTACT_EVALUATIONS, SCREEN_RECORDINGS, REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS, REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS, EMAIL_MESSAGES
5279
5493
  # })
5280
5494
  #
5281
5495
  # @example Response structure
@@ -5478,6 +5692,7 @@ module Aws::Connect
5478
5692
  # resp.queue.outbound_caller_config.outbound_caller_id_name #=> String
5479
5693
  # resp.queue.outbound_caller_config.outbound_caller_id_number_id #=> String
5480
5694
  # resp.queue.outbound_caller_config.outbound_flow_id #=> String
5695
+ # resp.queue.outbound_email_config.outbound_email_address_id #=> String
5481
5696
  # resp.queue.hours_of_operation_id #=> String
5482
5697
  # resp.queue.max_contacts #=> Integer
5483
5698
  # resp.queue.status #=> String, one of "ENABLED", "DISABLED"
@@ -5577,7 +5792,7 @@ module Aws::Connect
5577
5792
  # resp.routing_profile.routing_profile_id #=> String
5578
5793
  # resp.routing_profile.description #=> String
5579
5794
  # resp.routing_profile.media_concurrencies #=> Array
5580
- # resp.routing_profile.media_concurrencies[0].channel #=> String, one of "VOICE", "CHAT", "TASK"
5795
+ # resp.routing_profile.media_concurrencies[0].channel #=> String, one of "VOICE", "CHAT", "TASK", "EMAIL"
5581
5796
  # resp.routing_profile.media_concurrencies[0].concurrency #=> Integer
5582
5797
  # resp.routing_profile.media_concurrencies[0].cross_channel_behavior.behavior_type #=> String, one of "ROUTE_CURRENT_CHANNEL_ONLY", "ROUTE_ANY_CHANNEL"
5583
5798
  # resp.routing_profile.default_outbound_queue_id #=> String
@@ -5640,7 +5855,10 @@ module Aws::Connect
5640
5855
  # resp.rule.actions[0].task_action.contact_flow_id #=> String
5641
5856
  # resp.rule.actions[0].task_action.references #=> Hash
5642
5857
  # resp.rule.actions[0].task_action.references["ReferenceKey"].value #=> String
5643
- # resp.rule.actions[0].task_action.references["ReferenceKey"].type #=> String, one of "URL", "ATTACHMENT", "NUMBER", "STRING", "DATE", "EMAIL"
5858
+ # resp.rule.actions[0].task_action.references["ReferenceKey"].type #=> String, one of "URL", "ATTACHMENT", "CONTACT_ANALYSIS", "NUMBER", "STRING", "DATE", "EMAIL", "EMAIL_MESSAGE"
5859
+ # resp.rule.actions[0].task_action.references["ReferenceKey"].status #=> String, one of "AVAILABLE", "DELETED", "APPROVED", "REJECTED", "PROCESSING", "FAILED"
5860
+ # resp.rule.actions[0].task_action.references["ReferenceKey"].arn #=> String
5861
+ # resp.rule.actions[0].task_action.references["ReferenceKey"].status_reason #=> String
5644
5862
  # resp.rule.actions[0].event_bridge_action.name #=> String
5645
5863
  # resp.rule.actions[0].send_notification_action.delivery_method #=> String, one of "EMAIL"
5646
5864
  # resp.rule.actions[0].send_notification_action.subject #=> String
@@ -6218,7 +6436,7 @@ module Aws::Connect
6218
6436
  # resp = client.disassociate_flow({
6219
6437
  # instance_id: "InstanceId", # required
6220
6438
  # resource_id: "ARN", # required
6221
- # resource_type: "SMS_PHONE_NUMBER", # required, accepts SMS_PHONE_NUMBER
6439
+ # resource_type: "SMS_PHONE_NUMBER", # required, accepts SMS_PHONE_NUMBER, INBOUND_EMAIL, OUTBOUND_EMAIL
6222
6440
  # })
6223
6441
  #
6224
6442
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateFlow AWS API Documentation
@@ -6258,7 +6476,7 @@ module Aws::Connect
6258
6476
  # resp = client.disassociate_instance_storage_config({
6259
6477
  # instance_id: "InstanceId", # required
6260
6478
  # association_id: "AssociationId", # required
6261
- # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS, REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, ATTACHMENTS, CONTACT_EVALUATIONS, SCREEN_RECORDINGS, REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS, REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
6479
+ # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS, REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, ATTACHMENTS, CONTACT_EVALUATIONS, SCREEN_RECORDINGS, REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS, REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS, EMAIL_MESSAGES
6262
6480
  # })
6263
6481
  #
6264
6482
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateInstanceStorageConfig AWS API Documentation
@@ -6453,7 +6671,7 @@ module Aws::Connect
6453
6671
  # queue_references: [ # required
6454
6672
  # {
6455
6673
  # queue_id: "QueueId", # required
6456
- # channel: "VOICE", # required, accepts VOICE, CHAT, TASK
6674
+ # channel: "VOICE", # required, accepts VOICE, CHAT, TASK, EMAIL
6457
6675
  # },
6458
6676
  # ],
6459
6677
  # })
@@ -6673,7 +6891,7 @@ module Aws::Connect
6673
6891
  # resp.file_name #=> String
6674
6892
  # resp.file_size_in_bytes #=> Integer
6675
6893
  # resp.associated_resource_arn #=> String
6676
- # resp.file_use_case_type #=> String, one of "ATTACHMENT"
6894
+ # resp.file_use_case_type #=> String, one of "EMAIL_MESSAGE", "ATTACHMENT"
6677
6895
  # resp.created_by.connect_user_arn #=> String
6678
6896
  # resp.created_by.aws_identity_arn #=> String
6679
6897
  # resp.download_url_metadata.url #=> String
@@ -6942,7 +7160,7 @@ module Aws::Connect
6942
7160
  # instance_id: "InstanceId", # required
6943
7161
  # filters: { # required
6944
7162
  # queues: ["QueueId"],
6945
- # channels: ["VOICE"], # accepts VOICE, CHAT, TASK
7163
+ # channels: ["VOICE"], # accepts VOICE, CHAT, TASK, EMAIL
6946
7164
  # routing_profiles: ["RoutingProfileId"],
6947
7165
  # routing_step_expressions: ["RoutingExpression"],
6948
7166
  # },
@@ -6969,7 +7187,7 @@ module Aws::Connect
6969
7187
  # resp.metric_results #=> Array
6970
7188
  # resp.metric_results[0].dimensions.queue.id #=> String
6971
7189
  # resp.metric_results[0].dimensions.queue.arn #=> String
6972
- # resp.metric_results[0].dimensions.channel #=> String, one of "VOICE", "CHAT", "TASK"
7190
+ # resp.metric_results[0].dimensions.channel #=> String, one of "VOICE", "CHAT", "TASK", "EMAIL"
6973
7191
  # resp.metric_results[0].dimensions.routing_profile.id #=> String
6974
7192
  # resp.metric_results[0].dimensions.routing_profile.arn #=> String
6975
7193
  # resp.metric_results[0].dimensions.routing_step_expression #=> String
@@ -7083,8 +7301,8 @@ module Aws::Connect
7083
7301
  # resp.user_data_list[0].active_slots_by_channel["Channel"] #=> Integer
7084
7302
  # resp.user_data_list[0].contacts #=> Array
7085
7303
  # resp.user_data_list[0].contacts[0].contact_id #=> String
7086
- # resp.user_data_list[0].contacts[0].channel #=> String, one of "VOICE", "CHAT", "TASK"
7087
- # resp.user_data_list[0].contacts[0].initiation_method #=> String, one of "INBOUND", "OUTBOUND", "TRANSFER", "QUEUE_TRANSFER", "CALLBACK", "API", "DISCONNECT", "MONITOR", "EXTERNAL_OUTBOUND"
7304
+ # resp.user_data_list[0].contacts[0].channel #=> String, one of "VOICE", "CHAT", "TASK", "EMAIL"
7305
+ # resp.user_data_list[0].contacts[0].initiation_method #=> String, one of "INBOUND", "OUTBOUND", "TRANSFER", "QUEUE_TRANSFER", "CALLBACK", "API", "DISCONNECT", "MONITOR", "EXTERNAL_OUTBOUND", "WEBRTC_API", "AGENT_REPLY", "FLOW"
7088
7306
  # resp.user_data_list[0].contacts[0].agent_contact_state #=> String, one of "INCOMING", "PENDING", "CONNECTING", "CONNECTED", "CONNECTED_ONHOLD", "MISSED", "ERROR", "ENDED", "REJECTED"
7089
7307
  # resp.user_data_list[0].contacts[0].state_start_timestamp #=> Time
7090
7308
  # resp.user_data_list[0].contacts[0].connected_to_agent_timestamp #=> Time
@@ -7190,14 +7408,14 @@ module Aws::Connect
7190
7408
  # resp = client.get_flow_association({
7191
7409
  # instance_id: "InstanceId", # required
7192
7410
  # resource_id: "ARN", # required
7193
- # resource_type: "SMS_PHONE_NUMBER", # required, accepts SMS_PHONE_NUMBER
7411
+ # resource_type: "SMS_PHONE_NUMBER", # required, accepts SMS_PHONE_NUMBER, INBOUND_EMAIL, OUTBOUND_EMAIL
7194
7412
  # })
7195
7413
  #
7196
7414
  # @example Response structure
7197
7415
  #
7198
7416
  # resp.resource_id #=> String
7199
7417
  # resp.flow_id #=> String
7200
- # resp.resource_type #=> String, one of "SMS_PHONE_NUMBER"
7418
+ # resp.resource_type #=> String, one of "SMS_PHONE_NUMBER", "INBOUND_EMAIL", "OUTBOUND_EMAIL"
7201
7419
  #
7202
7420
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFlowAssociation AWS API Documentation
7203
7421
  #
@@ -7477,7 +7695,7 @@ module Aws::Connect
7477
7695
  # end_time: Time.now, # required
7478
7696
  # filters: { # required
7479
7697
  # queues: ["QueueId"],
7480
- # channels: ["VOICE"], # accepts VOICE, CHAT, TASK
7698
+ # channels: ["VOICE"], # accepts VOICE, CHAT, TASK, EMAIL
7481
7699
  # routing_profiles: ["RoutingProfileId"],
7482
7700
  # routing_step_expressions: ["RoutingExpression"],
7483
7701
  # },
@@ -7503,7 +7721,7 @@ module Aws::Connect
7503
7721
  # resp.metric_results #=> Array
7504
7722
  # resp.metric_results[0].dimensions.queue.id #=> String
7505
7723
  # resp.metric_results[0].dimensions.queue.arn #=> String
7506
- # resp.metric_results[0].dimensions.channel #=> String, one of "VOICE", "CHAT", "TASK"
7724
+ # resp.metric_results[0].dimensions.channel #=> String, one of "VOICE", "CHAT", "TASK", "EMAIL"
7507
7725
  # resp.metric_results[0].dimensions.routing_profile.id #=> String
7508
7726
  # resp.metric_results[0].dimensions.routing_profile.arn #=> String
7509
7727
  # resp.metric_results[0].dimensions.routing_step_expression #=> String
@@ -9059,6 +9277,7 @@ module Aws::Connect
9059
9277
  # * {Types::GetTaskTemplateResponse#name #name} => String
9060
9278
  # * {Types::GetTaskTemplateResponse#description #description} => String
9061
9279
  # * {Types::GetTaskTemplateResponse#contact_flow_id #contact_flow_id} => String
9280
+ # * {Types::GetTaskTemplateResponse#self_assign_flow_id #self_assign_flow_id} => String
9062
9281
  # * {Types::GetTaskTemplateResponse#constraints #constraints} => Types::TaskTemplateConstraints
9063
9282
  # * {Types::GetTaskTemplateResponse#defaults #defaults} => Types::TaskTemplateDefaults
9064
9283
  # * {Types::GetTaskTemplateResponse#fields #fields} => Array&lt;Types::TaskTemplateField&gt;
@@ -9083,6 +9302,7 @@ module Aws::Connect
9083
9302
  # resp.name #=> String
9084
9303
  # resp.description #=> String
9085
9304
  # resp.contact_flow_id #=> String
9305
+ # resp.self_assign_flow_id #=> String
9086
9306
  # resp.constraints.required_fields #=> Array
9087
9307
  # resp.constraints.required_fields[0].id.name #=> String
9088
9308
  # resp.constraints.read_only_fields #=> Array
@@ -9095,7 +9315,7 @@ module Aws::Connect
9095
9315
  # resp.fields #=> Array
9096
9316
  # resp.fields[0].id.name #=> String
9097
9317
  # resp.fields[0].description #=> String
9098
- # resp.fields[0].type #=> String, one of "NAME", "DESCRIPTION", "SCHEDULED_TIME", "QUICK_CONNECT", "URL", "NUMBER", "TEXT", "TEXT_AREA", "DATE_TIME", "BOOLEAN", "SINGLE_SELECT", "EMAIL"
9318
+ # resp.fields[0].type #=> String, one of "NAME", "DESCRIPTION", "SCHEDULED_TIME", "QUICK_CONNECT", "URL", "NUMBER", "TEXT", "TEXT_AREA", "DATE_TIME", "BOOLEAN", "SINGLE_SELECT", "EMAIL", "SELF_ASSIGN", "EXPIRY_DURATION"
9099
9319
  # resp.fields[0].single_select_options #=> Array
9100
9320
  # resp.fields[0].single_select_options[0] #=> String
9101
9321
  # resp.status #=> String, one of "ACTIVE", "INACTIVE"
@@ -9421,6 +9641,51 @@ module Aws::Connect
9421
9641
  req.send_request(options)
9422
9642
  end
9423
9643
 
9644
+ # @option params [required, String] :instance_id
9645
+ #
9646
+ # @option params [required, String] :contact_id
9647
+ #
9648
+ # @option params [Integer] :max_results
9649
+ #
9650
+ # @option params [String] :next_token
9651
+ #
9652
+ # @return [Types::ListAssociatedContactsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9653
+ #
9654
+ # * {Types::ListAssociatedContactsResponse#contact_summary_list #contact_summary_list} => Array&lt;Types::AssociatedContactSummary&gt;
9655
+ # * {Types::ListAssociatedContactsResponse#next_token #next_token} => String
9656
+ #
9657
+ # @example Request syntax with placeholder values
9658
+ #
9659
+ # resp = client.list_associated_contacts({
9660
+ # instance_id: "InstanceId", # required
9661
+ # contact_id: "ContactId", # required
9662
+ # max_results: 1,
9663
+ # next_token: "NextToken",
9664
+ # })
9665
+ #
9666
+ # @example Response structure
9667
+ #
9668
+ # resp.contact_summary_list #=> Array
9669
+ # resp.contact_summary_list[0].contact_id #=> String
9670
+ # resp.contact_summary_list[0].contact_arn #=> String
9671
+ # resp.contact_summary_list[0].initiation_timestamp #=> Time
9672
+ # resp.contact_summary_list[0].disconnect_timestamp #=> Time
9673
+ # resp.contact_summary_list[0].initial_contact_id #=> String
9674
+ # resp.contact_summary_list[0].previous_contact_id #=> String
9675
+ # resp.contact_summary_list[0].related_contact_id #=> String
9676
+ # resp.contact_summary_list[0].initiation_method #=> String, one of "INBOUND", "OUTBOUND", "TRANSFER", "QUEUE_TRANSFER", "CALLBACK", "API", "DISCONNECT", "MONITOR", "EXTERNAL_OUTBOUND", "WEBRTC_API", "AGENT_REPLY", "FLOW"
9677
+ # resp.contact_summary_list[0].channel #=> String, one of "VOICE", "CHAT", "TASK", "EMAIL"
9678
+ # resp.next_token #=> String
9679
+ #
9680
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListAssociatedContacts AWS API Documentation
9681
+ #
9682
+ # @overload list_associated_contacts(params = {})
9683
+ # @param [Hash] params ({})
9684
+ def list_associated_contacts(params = {}, options = {})
9685
+ req = build_request(:list_associated_contacts, params)
9686
+ req.send_request(options)
9687
+ end
9688
+
9424
9689
  # This API is in preview release for Amazon Connect and is subject to
9425
9690
  # change. To request access to this API, contact Amazon Web Services
9426
9691
  # Support.
@@ -9817,7 +10082,7 @@ module Aws::Connect
9817
10082
  # resp = client.list_contact_references({
9818
10083
  # instance_id: "InstanceId", # required
9819
10084
  # contact_id: "ContactId", # required
9820
- # reference_types: ["URL"], # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
10085
+ # reference_types: ["URL"], # required, accepts URL, ATTACHMENT, CONTACT_ANALYSIS, NUMBER, STRING, DATE, EMAIL, EMAIL_MESSAGE
9821
10086
  # next_token: "NextToken",
9822
10087
  # })
9823
10088
  #
@@ -9828,7 +10093,10 @@ module Aws::Connect
9828
10093
  # resp.reference_summary_list[0].url.value #=> String
9829
10094
  # resp.reference_summary_list[0].attachment.name #=> String
9830
10095
  # resp.reference_summary_list[0].attachment.value #=> String
9831
- # resp.reference_summary_list[0].attachment.status #=> String, one of "APPROVED", "REJECTED"
10096
+ # resp.reference_summary_list[0].attachment.status #=> String, one of "AVAILABLE", "DELETED", "APPROVED", "REJECTED", "PROCESSING", "FAILED"
10097
+ # resp.reference_summary_list[0].attachment.arn #=> String
10098
+ # resp.reference_summary_list[0].email_message.name #=> String
10099
+ # resp.reference_summary_list[0].email_message.arn #=> String
9832
10100
  # resp.reference_summary_list[0].string.name #=> String
9833
10101
  # resp.reference_summary_list[0].string.value #=> String
9834
10102
  # resp.reference_summary_list[0].number.name #=> String
@@ -10061,7 +10329,7 @@ module Aws::Connect
10061
10329
  #
10062
10330
  # resp = client.list_flow_associations({
10063
10331
  # instance_id: "InstanceId", # required
10064
- # resource_type: "VOICE_PHONE_NUMBER", # accepts VOICE_PHONE_NUMBER
10332
+ # resource_type: "VOICE_PHONE_NUMBER", # accepts VOICE_PHONE_NUMBER, INBOUND_EMAIL, OUTBOUND_EMAIL
10065
10333
  # next_token: "NextToken",
10066
10334
  # max_results: 1,
10067
10335
  # })
@@ -10071,7 +10339,7 @@ module Aws::Connect
10071
10339
  # resp.flow_association_summary_list #=> Array
10072
10340
  # resp.flow_association_summary_list[0].resource_id #=> String
10073
10341
  # resp.flow_association_summary_list[0].flow_id #=> String
10074
- # resp.flow_association_summary_list[0].resource_type #=> String, one of "VOICE_PHONE_NUMBER"
10342
+ # resp.flow_association_summary_list[0].resource_type #=> String, one of "VOICE_PHONE_NUMBER", "INBOUND_EMAIL", "OUTBOUND_EMAIL"
10075
10343
  # resp.next_token #=> String
10076
10344
  #
10077
10345
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListFlowAssociations AWS API Documentation
@@ -10233,7 +10501,7 @@ module Aws::Connect
10233
10501
  #
10234
10502
  # resp = client.list_instance_storage_configs({
10235
10503
  # instance_id: "InstanceId", # required
10236
- # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS, REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, ATTACHMENTS, CONTACT_EVALUATIONS, SCREEN_RECORDINGS, REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS, REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
10504
+ # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS, REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, ATTACHMENTS, CONTACT_EVALUATIONS, SCREEN_RECORDINGS, REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS, REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS, EMAIL_MESSAGES
10237
10505
  # next_token: "NextToken",
10238
10506
  # max_results: 1,
10239
10507
  # })
@@ -10354,7 +10622,7 @@ module Aws::Connect
10354
10622
  #
10355
10623
  # resp = client.list_integration_associations({
10356
10624
  # instance_id: "InstanceId", # required
10357
- # integration_type: "EVENT", # accepts EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT, WISDOM_KNOWLEDGE_BASE, WISDOM_QUICK_RESPONSES, Q_MESSAGE_TEMPLATES, CASES_DOMAIN, APPLICATION, FILE_SCANNER
10625
+ # integration_type: "EVENT", # accepts EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT, WISDOM_KNOWLEDGE_BASE, WISDOM_QUICK_RESPONSES, Q_MESSAGE_TEMPLATES, CASES_DOMAIN, APPLICATION, FILE_SCANNER, SES_IDENTITY
10358
10626
  # next_token: "NextToken",
10359
10627
  # max_results: 1,
10360
10628
  # integration_arn: "ARN",
@@ -10366,7 +10634,7 @@ module Aws::Connect
10366
10634
  # resp.integration_association_summary_list[0].integration_association_id #=> String
10367
10635
  # resp.integration_association_summary_list[0].integration_association_arn #=> String
10368
10636
  # resp.integration_association_summary_list[0].instance_id #=> String
10369
- # resp.integration_association_summary_list[0].integration_type #=> String, one of "EVENT", "VOICE_ID", "PINPOINT_APP", "WISDOM_ASSISTANT", "WISDOM_KNOWLEDGE_BASE", "WISDOM_QUICK_RESPONSES", "Q_MESSAGE_TEMPLATES", "CASES_DOMAIN", "APPLICATION", "FILE_SCANNER"
10637
+ # resp.integration_association_summary_list[0].integration_type #=> String, one of "EVENT", "VOICE_ID", "PINPOINT_APP", "WISDOM_ASSISTANT", "WISDOM_KNOWLEDGE_BASE", "WISDOM_QUICK_RESPONSES", "Q_MESSAGE_TEMPLATES", "CASES_DOMAIN", "APPLICATION", "FILE_SCANNER", "SES_IDENTITY"
10370
10638
  # resp.integration_association_summary_list[0].integration_arn #=> String
10371
10639
  # resp.integration_association_summary_list[0].source_application_url #=> String
10372
10640
  # resp.integration_association_summary_list[0].source_application_name #=> String
@@ -11148,7 +11416,7 @@ module Aws::Connect
11148
11416
  # resp.routing_profile_queue_config_summary_list[0].queue_name #=> String
11149
11417
  # resp.routing_profile_queue_config_summary_list[0].priority #=> Integer
11150
11418
  # resp.routing_profile_queue_config_summary_list[0].delay #=> Integer
11151
- # resp.routing_profile_queue_config_summary_list[0].channel #=> String, one of "VOICE", "CHAT", "TASK"
11419
+ # resp.routing_profile_queue_config_summary_list[0].channel #=> String, one of "VOICE", "CHAT", "TASK", "EMAIL"
11152
11420
  # resp.last_modified_time #=> Time
11153
11421
  # resp.last_modified_region #=> String
11154
11422
  #
@@ -12879,7 +13147,7 @@ module Aws::Connect
12879
13147
  # l4_ids: ["HierarchyGroupId"],
12880
13148
  # l5_ids: ["HierarchyGroupId"],
12881
13149
  # },
12882
- # channels: ["VOICE"], # accepts VOICE, CHAT, TASK
13150
+ # channels: ["VOICE"], # accepts VOICE, CHAT, TASK, EMAIL
12883
13151
  # contact_analysis: {
12884
13152
  # transcript: {
12885
13153
  # criteria: [ # required
@@ -12892,7 +13160,7 @@ module Aws::Connect
12892
13160
  # match_type: "MATCH_ALL", # accepts MATCH_ALL, MATCH_ANY
12893
13161
  # },
12894
13162
  # },
12895
- # initiation_methods: ["INBOUND"], # accepts INBOUND, OUTBOUND, TRANSFER, QUEUE_TRANSFER, CALLBACK, API, DISCONNECT, MONITOR, EXTERNAL_OUTBOUND
13163
+ # initiation_methods: ["INBOUND"], # accepts INBOUND, OUTBOUND, TRANSFER, QUEUE_TRANSFER, CALLBACK, API, DISCONNECT, MONITOR, EXTERNAL_OUTBOUND, WEBRTC_API, AGENT_REPLY, FLOW
12896
13164
  # queue_ids: ["QueueId"],
12897
13165
  # searchable_contact_attributes: {
12898
13166
  # criteria: [ # required
@@ -12903,6 +13171,15 @@ module Aws::Connect
12903
13171
  # ],
12904
13172
  # match_type: "MATCH_ALL", # accepts MATCH_ALL, MATCH_ANY
12905
13173
  # },
13174
+ # searchable_segment_attributes: {
13175
+ # criteria: [ # required
13176
+ # {
13177
+ # key: "SearchableSegmentAttributeKey", # required
13178
+ # values: ["SearchableSegmentAttributeValue"], # required
13179
+ # },
13180
+ # ],
13181
+ # match_type: "MATCH_ALL", # accepts MATCH_ALL, MATCH_ANY
13182
+ # },
12906
13183
  # },
12907
13184
  # max_results: 1,
12908
13185
  # next_token: "LargeNextToken",
@@ -12919,8 +13196,8 @@ module Aws::Connect
12919
13196
  # resp.contacts[0].id #=> String
12920
13197
  # resp.contacts[0].initial_contact_id #=> String
12921
13198
  # resp.contacts[0].previous_contact_id #=> String
12922
- # resp.contacts[0].initiation_method #=> String, one of "INBOUND", "OUTBOUND", "TRANSFER", "QUEUE_TRANSFER", "CALLBACK", "API", "DISCONNECT", "MONITOR", "EXTERNAL_OUTBOUND"
12923
- # resp.contacts[0].channel #=> String, one of "VOICE", "CHAT", "TASK"
13199
+ # resp.contacts[0].initiation_method #=> String, one of "INBOUND", "OUTBOUND", "TRANSFER", "QUEUE_TRANSFER", "CALLBACK", "API", "DISCONNECT", "MONITOR", "EXTERNAL_OUTBOUND", "WEBRTC_API", "AGENT_REPLY", "FLOW"
13200
+ # resp.contacts[0].channel #=> String, one of "VOICE", "CHAT", "TASK", "EMAIL"
12924
13201
  # resp.contacts[0].queue_info.id #=> String
12925
13202
  # resp.contacts[0].queue_info.enqueue_timestamp #=> Time
12926
13203
  # resp.contacts[0].agent_info.id #=> String
@@ -12928,6 +13205,8 @@ module Aws::Connect
12928
13205
  # resp.contacts[0].initiation_timestamp #=> Time
12929
13206
  # resp.contacts[0].disconnect_timestamp #=> Time
12930
13207
  # resp.contacts[0].scheduled_timestamp #=> Time
13208
+ # resp.contacts[0].segment_attributes #=> Hash
13209
+ # resp.contacts[0].segment_attributes["SegmentAttributeName"].value_string #=> String
12931
13210
  # resp.next_token #=> String
12932
13211
  # resp.total_count #=> Integer
12933
13212
  #
@@ -12940,6 +13219,89 @@ module Aws::Connect
12940
13219
  req.send_request(options)
12941
13220
  end
12942
13221
 
13222
+ # @option params [required, String] :instance_id
13223
+ #
13224
+ # @option params [Integer] :max_results
13225
+ #
13226
+ # @option params [String] :next_token
13227
+ #
13228
+ # @option params [Types::EmailAddressSearchCriteria] :search_criteria
13229
+ #
13230
+ # @option params [Types::EmailAddressSearchFilter] :search_filter
13231
+ #
13232
+ # @return [Types::SearchEmailAddressesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
13233
+ #
13234
+ # * {Types::SearchEmailAddressesResponse#next_token #next_token} => String
13235
+ # * {Types::SearchEmailAddressesResponse#email_addresses #email_addresses} => Array&lt;Types::EmailAddressMetadata&gt;
13236
+ # * {Types::SearchEmailAddressesResponse#approximate_total_count #approximate_total_count} => Integer
13237
+ #
13238
+ # @example Request syntax with placeholder values
13239
+ #
13240
+ # resp = client.search_email_addresses({
13241
+ # instance_id: "InstanceId", # required
13242
+ # max_results: 1,
13243
+ # next_token: "NextToken2500",
13244
+ # search_criteria: {
13245
+ # or_conditions: [
13246
+ # {
13247
+ # # recursive EmailAddressSearchCriteria
13248
+ # },
13249
+ # ],
13250
+ # and_conditions: [
13251
+ # {
13252
+ # # recursive EmailAddressSearchCriteria
13253
+ # },
13254
+ # ],
13255
+ # string_condition: {
13256
+ # field_name: "String",
13257
+ # value: "String",
13258
+ # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
13259
+ # },
13260
+ # },
13261
+ # search_filter: {
13262
+ # tag_filter: {
13263
+ # or_conditions: [
13264
+ # [
13265
+ # {
13266
+ # tag_key: "String",
13267
+ # tag_value: "String",
13268
+ # },
13269
+ # ],
13270
+ # ],
13271
+ # and_conditions: [
13272
+ # {
13273
+ # tag_key: "String",
13274
+ # tag_value: "String",
13275
+ # },
13276
+ # ],
13277
+ # tag_condition: {
13278
+ # tag_key: "String",
13279
+ # tag_value: "String",
13280
+ # },
13281
+ # },
13282
+ # },
13283
+ # })
13284
+ #
13285
+ # @example Response structure
13286
+ #
13287
+ # resp.next_token #=> String
13288
+ # resp.email_addresses #=> Array
13289
+ # resp.email_addresses[0].email_address_id #=> String
13290
+ # resp.email_addresses[0].email_address_arn #=> String
13291
+ # resp.email_addresses[0].email_address #=> String
13292
+ # resp.email_addresses[0].description #=> String
13293
+ # resp.email_addresses[0].display_name #=> String
13294
+ # resp.approximate_total_count #=> Integer
13295
+ #
13296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchEmailAddresses AWS API Documentation
13297
+ #
13298
+ # @overload search_email_addresses(params = {})
13299
+ # @param [Hash] params ({})
13300
+ def search_email_addresses(params = {}, options = {})
13301
+ req = build_request(:search_email_addresses, params)
13302
+ req.send_request(options)
13303
+ end
13304
+
12943
13305
  # Searches the hours of operation in an Amazon Connect instance, with
12944
13306
  # optional filtering.
12945
13307
  #
@@ -13329,6 +13691,7 @@ module Aws::Connect
13329
13691
  # resp.queues[0].outbound_caller_config.outbound_caller_id_name #=> String
13330
13692
  # resp.queues[0].outbound_caller_config.outbound_caller_id_number_id #=> String
13331
13693
  # resp.queues[0].outbound_caller_config.outbound_flow_id #=> String
13694
+ # resp.queues[0].outbound_email_config.outbound_email_address_id #=> String
13332
13695
  # resp.queues[0].hours_of_operation_id #=> String
13333
13696
  # resp.queues[0].max_contacts #=> Integer
13334
13697
  # resp.queues[0].status #=> String, one of "ENABLED", "DISABLED"
@@ -13634,7 +13997,7 @@ module Aws::Connect
13634
13997
  # resp.routing_profiles[0].routing_profile_id #=> String
13635
13998
  # resp.routing_profiles[0].description #=> String
13636
13999
  # resp.routing_profiles[0].media_concurrencies #=> Array
13637
- # resp.routing_profiles[0].media_concurrencies[0].channel #=> String, one of "VOICE", "CHAT", "TASK"
14000
+ # resp.routing_profiles[0].media_concurrencies[0].channel #=> String, one of "VOICE", "CHAT", "TASK", "EMAIL"
13638
14001
  # resp.routing_profiles[0].media_concurrencies[0].concurrency #=> Integer
13639
14002
  # resp.routing_profiles[0].media_concurrencies[0].cross_channel_behavior.behavior_type #=> String, one of "ROUTE_CURRENT_CHANNEL_ONLY", "ROUTE_ANY_CHANNEL"
13640
14003
  # resp.routing_profiles[0].default_outbound_queue_id #=> String
@@ -14255,6 +14618,81 @@ module Aws::Connect
14255
14618
  req.send_request(options)
14256
14619
  end
14257
14620
 
14621
+ # @option params [required, String] :instance_id
14622
+ #
14623
+ # @option params [required, Types::EmailAddressInfo] :from_email_address
14624
+ #
14625
+ # @option params [required, Types::EmailAddressInfo] :destination_email_address
14626
+ #
14627
+ # @option params [Types::OutboundAdditionalRecipients] :additional_recipients
14628
+ #
14629
+ # @option params [required, Types::OutboundEmailContent] :email_message
14630
+ #
14631
+ # @option params [required, String] :traffic_type
14632
+ #
14633
+ # @option params [Types::SourceCampaign] :source_campaign
14634
+ #
14635
+ # @option params [String] :client_token
14636
+ # **A suitable default value is auto-generated.** You should normally
14637
+ # not need to pass this option.**
14638
+ #
14639
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
14640
+ #
14641
+ # @example Request syntax with placeholder values
14642
+ #
14643
+ # resp = client.send_outbound_email({
14644
+ # instance_id: "InstanceId", # required
14645
+ # from_email_address: { # required
14646
+ # email_address: "EmailAddress", # required
14647
+ # display_name: "EmailAddressDisplayName",
14648
+ # },
14649
+ # destination_email_address: { # required
14650
+ # email_address: "EmailAddress", # required
14651
+ # display_name: "EmailAddressDisplayName",
14652
+ # },
14653
+ # additional_recipients: {
14654
+ # cc_email_addresses: [
14655
+ # {
14656
+ # email_address: "EmailAddress", # required
14657
+ # display_name: "EmailAddressDisplayName",
14658
+ # },
14659
+ # ],
14660
+ # },
14661
+ # email_message: { # required
14662
+ # message_source_type: "TEMPLATE", # required, accepts TEMPLATE, RAW
14663
+ # templated_message_config: {
14664
+ # knowledge_base_id: "MessageTemplateKnowledgeBaseId", # required
14665
+ # message_template_id: "MessageTemplateId", # required
14666
+ # template_attributes: { # required
14667
+ # custom_attributes: {
14668
+ # "AttributeName" => "AttributeValue",
14669
+ # },
14670
+ # customer_profile_attributes: "CustomerProfileAttributesSerialized",
14671
+ # },
14672
+ # },
14673
+ # raw_message: {
14674
+ # subject: "OutboundSubject", # required
14675
+ # body: "Body", # required
14676
+ # content_type: "EmailMessageContentType", # required
14677
+ # },
14678
+ # },
14679
+ # traffic_type: "GENERAL", # required, accepts GENERAL, CAMPAIGN
14680
+ # source_campaign: {
14681
+ # campaign_id: "CampaignId",
14682
+ # outbound_request_id: "OutboundRequestId",
14683
+ # },
14684
+ # client_token: "ClientToken",
14685
+ # })
14686
+ #
14687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SendOutboundEmail AWS API Documentation
14688
+ #
14689
+ # @overload send_outbound_email(params = {})
14690
+ # @param [Hash] params ({})
14691
+ def send_outbound_email(params = {}, options = {})
14692
+ req = build_request(:send_outbound_email, params)
14693
+ req.send_request(options)
14694
+ end
14695
+
14258
14696
  # Provides a pre-signed Amazon S3 URL in response for uploading your
14259
14697
  # content.
14260
14698
  #
@@ -14330,7 +14768,7 @@ module Aws::Connect
14330
14768
  # file_name: "FileName", # required
14331
14769
  # file_size_in_bytes: 1, # required
14332
14770
  # url_expiry_in_seconds: 1,
14333
- # file_use_case_type: "ATTACHMENT", # required, accepts ATTACHMENT
14771
+ # file_use_case_type: "EMAIL_MESSAGE", # required, accepts EMAIL_MESSAGE, ATTACHMENT
14334
14772
  # associated_resource_arn: "ARN", # required
14335
14773
  # created_by: {
14336
14774
  # connect_user_arn: "ARN",
@@ -14773,6 +15211,117 @@ module Aws::Connect
14773
15211
  req.send_request(options)
14774
15212
  end
14775
15213
 
15214
+ # @option params [required, String] :instance_id
15215
+ #
15216
+ # @option params [required, Types::EmailAddressInfo] :from_email_address
15217
+ #
15218
+ # @option params [required, String] :destination_email_address
15219
+ #
15220
+ # @option params [String] :description
15221
+ #
15222
+ # @option params [Hash<String,Types::Reference>] :references
15223
+ #
15224
+ # @option params [String] :name
15225
+ #
15226
+ # @option params [required, Types::InboundEmailContent] :email_message
15227
+ #
15228
+ # @option params [Types::InboundAdditionalRecipients] :additional_recipients
15229
+ #
15230
+ # @option params [Array<Types::EmailAttachment>] :attachments
15231
+ #
15232
+ # @option params [String] :contact_flow_id
15233
+ #
15234
+ # @option params [String] :related_contact_id
15235
+ #
15236
+ # @option params [Hash<String,String>] :attributes
15237
+ #
15238
+ # @option params [Hash<String,Types::SegmentAttributeValue>] :segment_attributes
15239
+ #
15240
+ # @option params [String] :client_token
15241
+ # **A suitable default value is auto-generated.** You should normally
15242
+ # not need to pass this option.**
15243
+ #
15244
+ # @return [Types::StartEmailContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15245
+ #
15246
+ # * {Types::StartEmailContactResponse#contact_id #contact_id} => String
15247
+ #
15248
+ # @example Request syntax with placeholder values
15249
+ #
15250
+ # resp = client.start_email_contact({
15251
+ # instance_id: "InstanceId", # required
15252
+ # from_email_address: { # required
15253
+ # email_address: "EmailAddress", # required
15254
+ # display_name: "EmailAddressDisplayName",
15255
+ # },
15256
+ # destination_email_address: "EmailAddress", # required
15257
+ # description: "Description",
15258
+ # references: {
15259
+ # "ReferenceKey" => {
15260
+ # value: "ReferenceValue",
15261
+ # type: "URL", # required, accepts URL, ATTACHMENT, CONTACT_ANALYSIS, NUMBER, STRING, DATE, EMAIL, EMAIL_MESSAGE
15262
+ # status: "AVAILABLE", # accepts AVAILABLE, DELETED, APPROVED, REJECTED, PROCESSING, FAILED
15263
+ # arn: "ReferenceArn",
15264
+ # status_reason: "ReferenceStatusReason",
15265
+ # },
15266
+ # },
15267
+ # name: "Name",
15268
+ # email_message: { # required
15269
+ # message_source_type: "RAW", # required, accepts RAW
15270
+ # raw_message: {
15271
+ # subject: "InboundSubject", # required
15272
+ # body: "Body", # required
15273
+ # content_type: "EmailMessageContentType", # required
15274
+ # headers: {
15275
+ # "REFERENCES" => "EmailHeaderValue",
15276
+ # },
15277
+ # },
15278
+ # },
15279
+ # additional_recipients: {
15280
+ # to_addresses: [
15281
+ # {
15282
+ # email_address: "EmailAddress", # required
15283
+ # display_name: "EmailAddressDisplayName",
15284
+ # },
15285
+ # ],
15286
+ # cc_addresses: [
15287
+ # {
15288
+ # email_address: "EmailAddress", # required
15289
+ # display_name: "EmailAddressDisplayName",
15290
+ # },
15291
+ # ],
15292
+ # },
15293
+ # attachments: [
15294
+ # {
15295
+ # file_name: "FileName", # required
15296
+ # s3_url: "PreSignedAttachmentUrl", # required
15297
+ # },
15298
+ # ],
15299
+ # contact_flow_id: "ContactFlowId",
15300
+ # related_contact_id: "ContactId",
15301
+ # attributes: {
15302
+ # "AttributeName" => "AttributeValue",
15303
+ # },
15304
+ # segment_attributes: {
15305
+ # "SegmentAttributeName" => {
15306
+ # value_string: "SegmentAttributeValueString",
15307
+ # },
15308
+ # },
15309
+ # client_token: "ClientToken",
15310
+ # })
15311
+ #
15312
+ # @example Response structure
15313
+ #
15314
+ # resp.contact_id #=> String
15315
+ #
15316
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartEmailContact AWS API Documentation
15317
+ #
15318
+ # @overload start_email_contact(params = {})
15319
+ # @param [Hash] params ({})
15320
+ def start_email_contact(params = {}, options = {})
15321
+ req = build_request(:start_email_contact, params)
15322
+ req.send_request(options)
15323
+ end
15324
+
14776
15325
  # Initiates a new outbound SMS contact to a customer. Response of this
14777
15326
  # API provides the ContactId of the outbound SMS contact created.
14778
15327
  #
@@ -14898,11 +15447,11 @@ module Aws::Connect
14898
15447
  #
14899
15448
  # resp = client.start_outbound_chat_contact({
14900
15449
  # source_endpoint: { # required
14901
- # type: "TELEPHONE_NUMBER", # accepts TELEPHONE_NUMBER, VOIP, CONTACT_FLOW, CONNECT_PHONENUMBER_ARN
15450
+ # type: "TELEPHONE_NUMBER", # accepts TELEPHONE_NUMBER, VOIP, CONTACT_FLOW, CONNECT_PHONENUMBER_ARN, EMAIL_ADDRESS
14902
15451
  # address: "EndpointAddress",
14903
15452
  # },
14904
15453
  # destination_endpoint: { # required
14905
- # type: "TELEPHONE_NUMBER", # accepts TELEPHONE_NUMBER, VOIP, CONTACT_FLOW, CONNECT_PHONENUMBER_ARN
15454
+ # type: "TELEPHONE_NUMBER", # accepts TELEPHONE_NUMBER, VOIP, CONTACT_FLOW, CONNECT_PHONENUMBER_ARN, EMAIL_ADDRESS
14906
15455
  # address: "EndpointAddress",
14907
15456
  # },
14908
15457
  # instance_id: "InstanceId", # required
@@ -14941,6 +15490,81 @@ module Aws::Connect
14941
15490
  req.send_request(options)
14942
15491
  end
14943
15492
 
15493
+ # @option params [required, String] :instance_id
15494
+ #
15495
+ # @option params [required, String] :contact_id
15496
+ #
15497
+ # @option params [Types::EmailAddressInfo] :from_email_address
15498
+ #
15499
+ # @option params [required, Types::EmailAddressInfo] :destination_email_address
15500
+ #
15501
+ # @option params [Types::OutboundAdditionalRecipients] :additional_recipients
15502
+ #
15503
+ # @option params [required, Types::OutboundEmailContent] :email_message
15504
+ #
15505
+ # @option params [String] :client_token
15506
+ # **A suitable default value is auto-generated.** You should normally
15507
+ # not need to pass this option.**
15508
+ #
15509
+ # @return [Types::StartOutboundEmailContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15510
+ #
15511
+ # * {Types::StartOutboundEmailContactResponse#contact_id #contact_id} => String
15512
+ #
15513
+ # @example Request syntax with placeholder values
15514
+ #
15515
+ # resp = client.start_outbound_email_contact({
15516
+ # instance_id: "InstanceId", # required
15517
+ # contact_id: "ContactId", # required
15518
+ # from_email_address: {
15519
+ # email_address: "EmailAddress", # required
15520
+ # display_name: "EmailAddressDisplayName",
15521
+ # },
15522
+ # destination_email_address: { # required
15523
+ # email_address: "EmailAddress", # required
15524
+ # display_name: "EmailAddressDisplayName",
15525
+ # },
15526
+ # additional_recipients: {
15527
+ # cc_email_addresses: [
15528
+ # {
15529
+ # email_address: "EmailAddress", # required
15530
+ # display_name: "EmailAddressDisplayName",
15531
+ # },
15532
+ # ],
15533
+ # },
15534
+ # email_message: { # required
15535
+ # message_source_type: "TEMPLATE", # required, accepts TEMPLATE, RAW
15536
+ # templated_message_config: {
15537
+ # knowledge_base_id: "MessageTemplateKnowledgeBaseId", # required
15538
+ # message_template_id: "MessageTemplateId", # required
15539
+ # template_attributes: { # required
15540
+ # custom_attributes: {
15541
+ # "AttributeName" => "AttributeValue",
15542
+ # },
15543
+ # customer_profile_attributes: "CustomerProfileAttributesSerialized",
15544
+ # },
15545
+ # },
15546
+ # raw_message: {
15547
+ # subject: "OutboundSubject", # required
15548
+ # body: "Body", # required
15549
+ # content_type: "EmailMessageContentType", # required
15550
+ # },
15551
+ # },
15552
+ # client_token: "ClientToken",
15553
+ # })
15554
+ #
15555
+ # @example Response structure
15556
+ #
15557
+ # resp.contact_id #=> String
15558
+ #
15559
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartOutboundEmailContact AWS API Documentation
15560
+ #
15561
+ # @overload start_outbound_email_contact(params = {})
15562
+ # @param [Hash] params ({})
15563
+ def start_outbound_email_contact(params = {}, options = {})
15564
+ req = build_request(:start_outbound_email_contact, params)
15565
+ req.send_request(options)
15566
+ end
15567
+
14944
15568
  # Places an outbound call to a contact, and then initiates the flow. It
14945
15569
  # performs the actions in the flow that's specified (in
14946
15570
  # `ContactFlowId`).
@@ -15074,8 +15698,11 @@ module Aws::Connect
15074
15698
  # description: "Description",
15075
15699
  # references: {
15076
15700
  # "ReferenceKey" => {
15077
- # value: "ReferenceValue", # required
15078
- # type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
15701
+ # value: "ReferenceValue",
15702
+ # type: "URL", # required, accepts URL, ATTACHMENT, CONTACT_ANALYSIS, NUMBER, STRING, DATE, EMAIL, EMAIL_MESSAGE
15703
+ # status: "AVAILABLE", # accepts AVAILABLE, DELETED, APPROVED, REJECTED, PROCESSING, FAILED
15704
+ # arn: "ReferenceArn",
15705
+ # status_reason: "ReferenceStatusReason",
15079
15706
  # },
15080
15707
  # },
15081
15708
  # related_contact_id: "ContactId",
@@ -15303,6 +15930,8 @@ module Aws::Connect
15303
15930
  #
15304
15931
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/tasks.html#linked-tasks
15305
15932
  #
15933
+ # @option params [Hash<String,Types::SegmentAttributeValue>] :segment_attributes
15934
+ #
15306
15935
  # @return [Types::StartTaskContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15307
15936
  #
15308
15937
  # * {Types::StartTaskContactResponse#contact_id #contact_id} => String
@@ -15319,8 +15948,11 @@ module Aws::Connect
15319
15948
  # name: "Name", # required
15320
15949
  # references: {
15321
15950
  # "ReferenceKey" => {
15322
- # value: "ReferenceValue", # required
15323
- # type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
15951
+ # value: "ReferenceValue",
15952
+ # type: "URL", # required, accepts URL, ATTACHMENT, CONTACT_ANALYSIS, NUMBER, STRING, DATE, EMAIL, EMAIL_MESSAGE
15953
+ # status: "AVAILABLE", # accepts AVAILABLE, DELETED, APPROVED, REJECTED, PROCESSING, FAILED
15954
+ # arn: "ReferenceArn",
15955
+ # status_reason: "ReferenceStatusReason",
15324
15956
  # },
15325
15957
  # },
15326
15958
  # description: "Description",
@@ -15329,6 +15961,11 @@ module Aws::Connect
15329
15961
  # task_template_id: "TaskTemplateId",
15330
15962
  # quick_connect_id: "QuickConnectId",
15331
15963
  # related_contact_id: "ContactId",
15964
+ # segment_attributes: {
15965
+ # "SegmentAttributeName" => {
15966
+ # value_string: "SegmentAttributeValueString",
15967
+ # },
15968
+ # },
15332
15969
  # })
15333
15970
  #
15334
15971
  # @example Response structure
@@ -15444,8 +16081,11 @@ module Aws::Connect
15444
16081
  # related_contact_id: "ContactId",
15445
16082
  # references: {
15446
16083
  # "ReferenceKey" => {
15447
- # value: "ReferenceValue", # required
15448
- # type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
16084
+ # value: "ReferenceValue",
16085
+ # type: "URL", # required, accepts URL, ATTACHMENT, CONTACT_ANALYSIS, NUMBER, STRING, DATE, EMAIL, EMAIL_MESSAGE
16086
+ # status: "AVAILABLE", # accepts AVAILABLE, DELETED, APPROVED, REJECTED, PROCESSING, FAILED
16087
+ # arn: "ReferenceArn",
16088
+ # status_reason: "ReferenceStatusReason",
15449
16089
  # },
15450
16090
  # },
15451
16091
  # description: "Description",
@@ -16134,6 +16774,8 @@ module Aws::Connect
16134
16774
  # Well-formed data on contact, shown to agents on Contact Control Panel
16135
16775
  # (CCP).
16136
16776
  #
16777
+ # @option params [Hash<String,Types::SegmentAttributeValue>] :segment_attributes
16778
+ #
16137
16779
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
16138
16780
  #
16139
16781
  # @example Request syntax with placeholder values
@@ -16145,8 +16787,16 @@ module Aws::Connect
16145
16787
  # description: "Description",
16146
16788
  # references: {
16147
16789
  # "ReferenceKey" => {
16148
- # value: "ReferenceValue", # required
16149
- # type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
16790
+ # value: "ReferenceValue",
16791
+ # type: "URL", # required, accepts URL, ATTACHMENT, CONTACT_ANALYSIS, NUMBER, STRING, DATE, EMAIL, EMAIL_MESSAGE
16792
+ # status: "AVAILABLE", # accepts AVAILABLE, DELETED, APPROVED, REJECTED, PROCESSING, FAILED
16793
+ # arn: "ReferenceArn",
16794
+ # status_reason: "ReferenceStatusReason",
16795
+ # },
16796
+ # },
16797
+ # segment_attributes: {
16798
+ # "SegmentAttributeName" => {
16799
+ # value_string: "SegmentAttributeValueString",
16150
16800
  # },
16151
16801
  # },
16152
16802
  # })
@@ -16664,6 +17314,45 @@ module Aws::Connect
16664
17314
  req.send_request(options)
16665
17315
  end
16666
17316
 
17317
+ # @option params [required, String] :instance_id
17318
+ #
17319
+ # @option params [required, String] :email_address_id
17320
+ #
17321
+ # @option params [String] :description
17322
+ #
17323
+ # @option params [String] :display_name
17324
+ #
17325
+ # @option params [String] :client_token
17326
+ #
17327
+ # @return [Types::UpdateEmailAddressMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
17328
+ #
17329
+ # * {Types::UpdateEmailAddressMetadataResponse#email_address_id #email_address_id} => String
17330
+ # * {Types::UpdateEmailAddressMetadataResponse#email_address_arn #email_address_arn} => String
17331
+ #
17332
+ # @example Request syntax with placeholder values
17333
+ #
17334
+ # resp = client.update_email_address_metadata({
17335
+ # instance_id: "InstanceId", # required
17336
+ # email_address_id: "EmailAddressId", # required
17337
+ # description: "Description",
17338
+ # display_name: "EmailAddressDisplayName",
17339
+ # client_token: "ClientToken",
17340
+ # })
17341
+ #
17342
+ # @example Response structure
17343
+ #
17344
+ # resp.email_address_id #=> String
17345
+ # resp.email_address_arn #=> String
17346
+ #
17347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateEmailAddressMetadata AWS API Documentation
17348
+ #
17349
+ # @overload update_email_address_metadata(params = {})
17350
+ # @param [Hash] params ({})
17351
+ def update_email_address_metadata(params = {}, options = {})
17352
+ req = build_request(:update_email_address_metadata, params)
17353
+ req.send_request(options)
17354
+ end
17355
+
16667
17356
  # Updates details about a specific evaluation form version in the
16668
17357
  # specified Amazon Connect instance. Question and section identifiers
16669
17358
  # cannot be duplicated within the same evaluation form.
@@ -16952,7 +17641,7 @@ module Aws::Connect
16952
17641
  # resp = client.update_instance_storage_config({
16953
17642
  # instance_id: "InstanceId", # required
16954
17643
  # association_id: "AssociationId", # required
16955
- # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS, REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, ATTACHMENTS, CONTACT_EVALUATIONS, SCREEN_RECORDINGS, REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS, REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
17644
+ # resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS, REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, ATTACHMENTS, CONTACT_EVALUATIONS, SCREEN_RECORDINGS, REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS, REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS, EMAIL_MESSAGES
16956
17645
  # storage_config: { # required
16957
17646
  # association_id: "AssociationId",
16958
17647
  # storage_type: "S3", # required, accepts S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM, KINESIS_FIREHOSE
@@ -17469,6 +18158,33 @@ module Aws::Connect
17469
18158
  req.send_request(options)
17470
18159
  end
17471
18160
 
18161
+ # @option params [required, String] :instance_id
18162
+ #
18163
+ # @option params [required, String] :queue_id
18164
+ #
18165
+ # @option params [required, Types::OutboundEmailConfig] :outbound_email_config
18166
+ #
18167
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
18168
+ #
18169
+ # @example Request syntax with placeholder values
18170
+ #
18171
+ # resp = client.update_queue_outbound_email_config({
18172
+ # instance_id: "InstanceId", # required
18173
+ # queue_id: "QueueId", # required
18174
+ # outbound_email_config: { # required
18175
+ # outbound_email_address_id: "EmailAddressId",
18176
+ # },
18177
+ # })
18178
+ #
18179
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueOutboundEmailConfig AWS API Documentation
18180
+ #
18181
+ # @overload update_queue_outbound_email_config(params = {})
18182
+ # @param [Hash] params ({})
18183
+ def update_queue_outbound_email_config(params = {}, options = {})
18184
+ req = build_request(:update_queue_outbound_email_config, params)
18185
+ req.send_request(options)
18186
+ end
18187
+
17472
18188
  # This API is in preview release for Amazon Connect and is subject to
17473
18189
  # change.
17474
18190
  #
@@ -17662,7 +18378,7 @@ module Aws::Connect
17662
18378
  # routing_profile_id: "RoutingProfileId", # required
17663
18379
  # media_concurrencies: [ # required
17664
18380
  # {
17665
- # channel: "VOICE", # required, accepts VOICE, CHAT, TASK
18381
+ # channel: "VOICE", # required, accepts VOICE, CHAT, TASK, EMAIL
17666
18382
  # concurrency: 1, # required
17667
18383
  # cross_channel_behavior: {
17668
18384
  # behavior_type: "ROUTE_CURRENT_CHANNEL_ONLY", # required, accepts ROUTE_CURRENT_CHANNEL_ONLY, ROUTE_ANY_CHANNEL
@@ -17787,7 +18503,7 @@ module Aws::Connect
17787
18503
  # {
17788
18504
  # queue_reference: { # required
17789
18505
  # queue_id: "QueueId", # required
17790
- # channel: "VOICE", # required, accepts VOICE, CHAT, TASK
18506
+ # channel: "VOICE", # required, accepts VOICE, CHAT, TASK, EMAIL
17791
18507
  # },
17792
18508
  # priority: 1, # required
17793
18509
  # delay: 1, # required
@@ -17856,8 +18572,11 @@ module Aws::Connect
17856
18572
  # contact_flow_id: "ContactFlowId", # required
17857
18573
  # references: {
17858
18574
  # "ReferenceKey" => {
17859
- # value: "ReferenceValue", # required
17860
- # type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
18575
+ # value: "ReferenceValue",
18576
+ # type: "URL", # required, accepts URL, ATTACHMENT, CONTACT_ANALYSIS, NUMBER, STRING, DATE, EMAIL, EMAIL_MESSAGE
18577
+ # status: "AVAILABLE", # accepts AVAILABLE, DELETED, APPROVED, REJECTED, PROCESSING, FAILED
18578
+ # arn: "ReferenceArn",
18579
+ # status_reason: "ReferenceStatusReason",
17861
18580
  # },
17862
18581
  # },
17863
18582
  # },
@@ -18037,6 +18756,8 @@ module Aws::Connect
18037
18756
  # The identifier of the flow that runs by default when a task is created
18038
18757
  # by referencing this template.
18039
18758
  #
18759
+ # @option params [String] :self_assign_flow_id
18760
+ #
18040
18761
  # @option params [Types::TaskTemplateConstraints] :constraints
18041
18762
  # Constraints that are applicable to the fields listed.
18042
18763
  #
@@ -18061,6 +18782,7 @@ module Aws::Connect
18061
18782
  # * {Types::UpdateTaskTemplateResponse#name #name} => String
18062
18783
  # * {Types::UpdateTaskTemplateResponse#description #description} => String
18063
18784
  # * {Types::UpdateTaskTemplateResponse#contact_flow_id #contact_flow_id} => String
18785
+ # * {Types::UpdateTaskTemplateResponse#self_assign_flow_id #self_assign_flow_id} => String
18064
18786
  # * {Types::UpdateTaskTemplateResponse#constraints #constraints} => Types::TaskTemplateConstraints
18065
18787
  # * {Types::UpdateTaskTemplateResponse#defaults #defaults} => Types::TaskTemplateDefaults
18066
18788
  # * {Types::UpdateTaskTemplateResponse#fields #fields} => Array&lt;Types::TaskTemplateField&gt;
@@ -18076,6 +18798,7 @@ module Aws::Connect
18076
18798
  # name: "TaskTemplateName",
18077
18799
  # description: "TaskTemplateDescription",
18078
18800
  # contact_flow_id: "ContactFlowId",
18801
+ # self_assign_flow_id: "ContactFlowId",
18079
18802
  # constraints: {
18080
18803
  # required_fields: [
18081
18804
  # {
@@ -18116,7 +18839,7 @@ module Aws::Connect
18116
18839
  # name: "TaskTemplateFieldName",
18117
18840
  # },
18118
18841
  # description: "TaskTemplateFieldDescription",
18119
- # type: "NAME", # accepts NAME, DESCRIPTION, SCHEDULED_TIME, QUICK_CONNECT, URL, NUMBER, TEXT, TEXT_AREA, DATE_TIME, BOOLEAN, SINGLE_SELECT, EMAIL
18842
+ # type: "NAME", # accepts NAME, DESCRIPTION, SCHEDULED_TIME, QUICK_CONNECT, URL, NUMBER, TEXT, TEXT_AREA, DATE_TIME, BOOLEAN, SINGLE_SELECT, EMAIL, SELF_ASSIGN, EXPIRY_DURATION
18120
18843
  # single_select_options: ["TaskTemplateSingleSelectOption"],
18121
18844
  # },
18122
18845
  # ],
@@ -18130,6 +18853,7 @@ module Aws::Connect
18130
18853
  # resp.name #=> String
18131
18854
  # resp.description #=> String
18132
18855
  # resp.contact_flow_id #=> String
18856
+ # resp.self_assign_flow_id #=> String
18133
18857
  # resp.constraints.required_fields #=> Array
18134
18858
  # resp.constraints.required_fields[0].id.name #=> String
18135
18859
  # resp.constraints.read_only_fields #=> Array
@@ -18142,7 +18866,7 @@ module Aws::Connect
18142
18866
  # resp.fields #=> Array
18143
18867
  # resp.fields[0].id.name #=> String
18144
18868
  # resp.fields[0].description #=> String
18145
- # resp.fields[0].type #=> String, one of "NAME", "DESCRIPTION", "SCHEDULED_TIME", "QUICK_CONNECT", "URL", "NUMBER", "TEXT", "TEXT_AREA", "DATE_TIME", "BOOLEAN", "SINGLE_SELECT", "EMAIL"
18869
+ # resp.fields[0].type #=> String, one of "NAME", "DESCRIPTION", "SCHEDULED_TIME", "QUICK_CONNECT", "URL", "NUMBER", "TEXT", "TEXT_AREA", "DATE_TIME", "BOOLEAN", "SINGLE_SELECT", "EMAIL", "SELF_ASSIGN", "EXPIRY_DURATION"
18146
18870
  # resp.fields[0].single_select_options #=> Array
18147
18871
  # resp.fields[0].single_select_options[0] #=> String
18148
18872
  # resp.status #=> String, one of "ACTIVE", "INACTIVE"
@@ -18682,7 +19406,7 @@ module Aws::Connect
18682
19406
  tracer: tracer
18683
19407
  )
18684
19408
  context[:gem_name] = 'aws-sdk-connect'
18685
- context[:gem_version] = '1.185.0'
19409
+ context[:gem_version] = '1.186.0'
18686
19410
  Seahorse::Client::Request.new(handlers, context)
18687
19411
  end
18688
19412