Skip to content

Commit 365192b

Browse files
author
AWS
committed
Amazon Connect Service Update: This release introduces ChatMetrics to the model, providing comprehensive analytics insights for Amazon Connect chat conversations. Users can access these detailed metrics through the AWS Connect API by using the DescribeContact operation with their specific instance and contact IDs
1 parent 35e5b8a commit 365192b

File tree

2 files changed

+120
-6
lines changed

2 files changed

+120
-6
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Connect Service",
4+
"contributor": "",
5+
"description": "This release introduces ChatMetrics to the model, providing comprehensive analytics insights for Amazon Connect chat conversations. Users can access these detailed metrics through the AWS Connect API by using the DescribeContact operation with their specific instance and contact IDs"
6+
}

services/connect/src/main/resources/codegen-resources/service-2.json

Lines changed: 114 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@
438438
{"shape":"ConflictException"},
439439
{"shape":"ServiceQuotaExceededException"}
440440
],
441-
"documentation":"<important> <p>Only the EMAIL and VOICE channels are supported. The supported initiation methods for EMAIL are: OUTBOUND, AGENT_REPLY, and FLOW. For VOICE the supported initiation methods are TRANSFER and the subtype connect:ExternalAudio. </p> </important> <p>Creates a new EMAIL or VOICE contact. </p>"
441+
"documentation":"<important> <p>Only the VOICE, EMAIL, and TASK channels are supported. </p> <ul> <li> <p>For VOICE: The supported initiation method is <code>TRANSFER</code>. The contacts created with this initiation method have a subtype <code>connect:ExternalAudio</code>. </p> </li> <li> <p>For EMAIL: The supported initiation methods are <code>OUTBOUND</code>, <code>AGENT_REPLY</code>, and <code>FLOW</code>. </p> </li> <li> <p>For TASK: The supported initiation method is <code>API</code>. Contacts created with this API have a sub-type of <code>connect:ExternalTask</code>.</p> </li> </ul> </important> <p>Creates a new VOICE, EMAIL, or TASK contact. </p> <p>After a contact is created, you can move it to the desired state by using the <code>InitiateAs</code> parameter. While you can use API to create task contacts that are in the <code>COMPLETED</code> state, you must contact Amazon Web Services Support before using it for bulk import use cases. Bulk import causes your requests to be throttled or fail if your CreateContact limits aren't high enough. </p>"
442442
},
443443
"CreateContactFlow":{
444444
"name":"CreateContactFlow",
@@ -6674,6 +6674,44 @@
66746674
"member":{"shape":"Channel"},
66756675
"max":4
66766676
},
6677+
"ChatContactMetrics":{
6678+
"type":"structure",
6679+
"members":{
6680+
"MultiParty":{
6681+
"shape":"NullableBoolean",
6682+
"documentation":"<p>A boolean flag indicating whether multiparty chat or supervisor barge were enabled on this contact.</p>"
6683+
},
6684+
"TotalMessages":{
6685+
"shape":"Count",
6686+
"documentation":"<p>The number of chat messages on the contact.</p>"
6687+
},
6688+
"TotalBotMessages":{
6689+
"shape":"Count",
6690+
"documentation":"<p>The total number of bot and automated messages on a chat contact.</p>"
6691+
},
6692+
"TotalBotMessageLengthInChars":{
6693+
"shape":"Count",
6694+
"documentation":"<p>The total number of characters from bot and automated messages on a chat contact.</p>"
6695+
},
6696+
"ConversationCloseTimeInMillis":{
6697+
"shape":"DurationMillis",
6698+
"documentation":"<p>The time it took for a contact to end after the last customer message.</p>"
6699+
},
6700+
"ConversationTurnCount":{
6701+
"shape":"Count",
6702+
"documentation":"<p>The number of conversation turns in a chat contact, which represents the back-and-forth exchanges between customer and other participants.</p>"
6703+
},
6704+
"AgentFirstResponseTimestamp":{
6705+
"shape":"timestamp",
6706+
"documentation":"<p>The agent first response timestamp for a chat contact.</p>"
6707+
},
6708+
"AgentFirstResponseTimeInMillis":{
6709+
"shape":"DurationMillis",
6710+
"documentation":"<p>The time for an agent to respond after obtaining a chat contact.</p>"
6711+
}
6712+
},
6713+
"documentation":"<p>Information about the overall participant interactions at the contact level.</p>"
6714+
},
66776715
"ChatContent":{
66786716
"type":"string",
66796717
"max":16384,
@@ -6734,6 +6772,24 @@
67346772
},
67356773
"documentation":"<p>A chat message.</p>"
67366774
},
6775+
"ChatMetrics":{
6776+
"type":"structure",
6777+
"members":{
6778+
"ChatContactMetrics":{
6779+
"shape":"ChatContactMetrics",
6780+
"documentation":"<p>Information about the overall participant interactions at the contact level.</p>"
6781+
},
6782+
"AgentMetrics":{
6783+
"shape":"ParticipantMetrics",
6784+
"documentation":"<p>Information about agent interactions in a contact.</p>"
6785+
},
6786+
"CustomerMetrics":{
6787+
"shape":"ParticipantMetrics",
6788+
"documentation":"<p>Information about customer interactions in a contact.</p>"
6789+
}
6790+
},
6791+
"documentation":"<p>Information about how agent, bot, and customer interact in a chat contact.</p>"
6792+
},
67376793
"ChatParticipantRoleConfig":{
67386794
"type":"structure",
67396795
"required":["ParticipantTimerConfigList"],
@@ -7120,6 +7176,10 @@
71207176
"shape":"QualityMetrics",
71217177
"documentation":"<p>Information about the quality of the participant's media connection.</p>"
71227178
},
7179+
"ChatMetrics":{
7180+
"shape":"ChatMetrics",
7181+
"documentation":"<p>Information about how agent, bot, and customer interact in a chat contact.</p>"
7182+
},
71237183
"DisconnectDetails":{
71247184
"shape":"DisconnectDetails",
71257185
"documentation":"<p>Information about the call disconnect experience.</p>"
@@ -7893,6 +7953,7 @@
78937953
},
78947954
"documentation":"<p>An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the <code>SearchFilter</code>.</p> <p>This accepts an <code>OR</code> of <code>AND</code> (List of List) input where:</p> <ul> <li> <p>The top level list specifies conditions that need to be applied with <code>OR</code> operator</p> </li> <li> <p>The inner list specifies conditions that need to be applied with <code>AND</code> operator.</p> </li> </ul> <note> <p>Only one field can be populated. Maximum number of allowed Tag conditions is 25. Maximum number of allowed Hierarchy Group conditions is 20. </p> </note>"
78957955
},
7956+
"Count":{"type":"integer"},
78967957
"CreateAgentStatusRequest":{
78977958
"type":"structure",
78987959
"required":[
@@ -8150,27 +8211,27 @@
81508211
},
81518212
"References":{
81528213
"shape":"ContactReferences",
8153-
"documentation":"<p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL | ATTACHMENT.</p>"
8214+
"documentation":"<p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation: <code>URL</code> | <code>NUMBER</code> | <code>STRING</code> | <code>DATE</code> | <code>EMAIL</code> | <code>ATTACHMENT</code>.</p>"
81548215
},
81558216
"Channel":{
81568217
"shape":"Channel",
8157-
"documentation":"<p>The channel for the contact</p> <important> <p>CreateContact only supports the EMAIL and VOICE channels. The following information that states other channels are supported is incorrect. We are working to update this topic.</p> </important>"
8218+
"documentation":"<p>The channel for the contact.</p> <important> <p>The CHAT channel is not supported. The following information is incorrect. We're working to correct it.</p> </important>"
81588219
},
81598220
"InitiationMethod":{
81608221
"shape":"ContactInitiationMethod",
8161-
"documentation":"<p>Indicates how the contact was initiated. </p> <important> <p>CreateContact only supports the following initiation methods: </p> <ul> <li> <p>For EMAIL: OUTBOUND, AGENT_REPLY, and FLOW. </p> </li> <li> <p>For VOICE: TRANSFER and the subtype connect:ExternalAudio. </p> </li> </ul> <p>The following information that states other initiation methods are supported is incorrect. We are working to update this topic.</p> </important>"
8222+
"documentation":"<p>Indicates how the contact was initiated. </p> <important> <p>CreateContact only supports the following initiation methods. Valid values by channel are: </p> <ul> <li> <p>For VOICE: <code>TRANSFER</code> and the subtype <code>connect:ExternalAudio</code> </p> </li> <li> <p>For EMAIL: <code>OUTBOUND</code> | <code>AGENT_REPLY</code> | <code>FLOW</code> </p> </li> <li> <p>For TASK: <code>API</code> </p> </li> </ul> <p>The other channels listed below are incorrect. We're working to correct this information.</p> </important>"
81628223
},
81638224
"ExpiryDurationInMinutes":{
81648225
"shape":"ExpiryDurationInMinutes",
81658226
"documentation":"<p>Number of minutes the contact will be active for before expiring</p>"
81668227
},
81678228
"UserInfo":{
81688229
"shape":"UserInfo",
8169-
"documentation":"<p>User details for the contact</p> <important> <p>UserInfo is required when creating an EMAIL contact with OUTBOUND and AGENT_REPLY contact initiation methods.</p> </important>"
8230+
"documentation":"<p>User details for the contact</p> <important> <p>UserInfo is required when creating an EMAIL contact with <code>OUTBOUND</code> and <code>AGENT_REPLY</code> contact initiation methods.</p> </important>"
81708231
},
81718232
"InitiateAs":{
81728233
"shape":"InitiateAs",
8173-
"documentation":"<p>Initial state of the contact when it's created</p>"
8234+
"documentation":"<p>Initial state of the contact when it's created. Only TASK channel contacts can be initiated with <code>COMPLETED</code> state.</p>"
81748235
},
81758236
"Name":{
81768237
"shape":"Name",
@@ -11835,6 +11896,10 @@
1183511896
"min":0
1183611897
},
1183711898
"DurationInSeconds":{"type":"integer"},
11899+
"DurationMillis":{
11900+
"type":"long",
11901+
"min":0
11902+
},
1183811903
"EffectiveHoursOfOperationList":{
1183911904
"type":"list",
1184011905
"member":{"shape":"EffectiveHoursOfOperations"}
@@ -17948,6 +18013,7 @@
1794818013
},
1794918014
"documentation":"<p>The type of notification recipient.</p>"
1795018015
},
18016+
"NullableBoolean":{"type":"boolean"},
1795118017
"NullableProficiencyLevel":{
1795218018
"type":"float",
1795318019
"max":5.0,
@@ -18263,6 +18329,48 @@
1826318329
"max":256,
1826418330
"min":1
1826518331
},
18332+
"ParticipantMetrics":{
18333+
"type":"structure",
18334+
"members":{
18335+
"ParticipantId":{
18336+
"shape":"ParticipantId",
18337+
"documentation":"<p>The Participant's ID.</p>"
18338+
},
18339+
"ParticipantType":{
18340+
"shape":"ParticipantType",
18341+
"documentation":"<p>Information about the conversation participant. Following are the participant types: [Agent, Customer, Supervisor].</p>"
18342+
},
18343+
"ConversationAbandon":{
18344+
"shape":"NullableBoolean",
18345+
"documentation":"<p>A boolean flag indicating whether the chat conversation was abandoned by a Participant.</p>"
18346+
},
18347+
"MessagesSent":{
18348+
"shape":"Count",
18349+
"documentation":"<p>Number of chat messages sent by Participant.</p>"
18350+
},
18351+
"NumResponses":{
18352+
"shape":"Count",
18353+
"documentation":"<p>Number of chat messages sent by Participant.</p>"
18354+
},
18355+
"MessageLengthInChars":{
18356+
"shape":"Count",
18357+
"documentation":"<p>Number of chat characters sent by Participant.</p>"
18358+
},
18359+
"TotalResponseTimeInMillis":{
18360+
"shape":"DurationMillis",
18361+
"documentation":"<p>Total chat response time by Participant.</p>"
18362+
},
18363+
"MaxResponseTimeInMillis":{
18364+
"shape":"DurationMillis",
18365+
"documentation":"<p>Maximum chat response time by Participant.</p>"
18366+
},
18367+
"LastMessageTimestamp":{
18368+
"shape":"timestamp",
18369+
"documentation":"<p>Timestamp of last chat message by Participant.</p>"
18370+
}
18371+
},
18372+
"documentation":"<p>Information about a participant's interactions in a contact.</p>"
18373+
},
1826618374
"ParticipantRole":{
1826718375
"type":"string",
1826818376
"enum":[

0 commit comments

Comments
 (0)