Skip to content

Commit 42512a7

Browse files
author
AWS
committed
Amazon Connect Participant Service Update: This release adds a new boolean attribute - Connect Participant - to the CreateParticipantConnection API, which can be used to mark the participant as connected.
1 parent 654264d commit 42512a7

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Connect Participant Service",
4+
"contributor": "",
5+
"description": "This release adds a new boolean attribute - Connect Participant - to the CreateParticipantConnection API, which can be used to mark the participant as connected."
6+
}

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

+18-9
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{"shape":"ServiceQuotaExceededException"},
3030
{"shape":"ConflictException"}
3131
],
32-
"documentation":"<p>Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API. </p>"
32+
"documentation":"<p>Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API. </p> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p>"
3333
},
3434
"CreateParticipantConnection":{
3535
"name":"CreateParticipantConnection",
@@ -45,7 +45,7 @@
4545
{"shape":"ThrottlingException"},
4646
{"shape":"ValidationException"}
4747
],
48-
"documentation":"<p>Creates the participant's connection. Note that ParticipantToken is used for invoking this API instead of ConnectionToken.</p> <p>The participant token is valid for the lifetime of the participant – until they are part of a contact.</p> <p>The response URL for <code>WEBSOCKET</code> Type has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic. </p> <p>For chat, you need to publish the following on the established websocket connection:</p> <p> <code>{\"topic\":\"aws/subscribe\",\"content\":{\"topics\":[\"aws/chat\"]}}</code> </p> <p>Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before.</p> <note> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p> </note>"
48+
"documentation":"<p>Creates the participant's connection. Note that ParticipantToken is used for invoking this API instead of ConnectionToken.</p> <p>The participant token is valid for the lifetime of the participant – until they are part of a contact.</p> <p>The response URL for <code>WEBSOCKET</code> Type has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic. </p> <p>For chat, you need to publish the following on the established websocket connection:</p> <p> <code>{\"topic\":\"aws/subscribe\",\"content\":{\"topics\":[\"aws/chat\"]}}</code> </p> <p>Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before.</p> <p> <b>Message streaming support</b>: This API can also be used together with the <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_StartContactStreaming.html\">StartContactStreaming</a> API to create a participant connection for chat contacts that are not using a websocket. For more information about message streaming, <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/chat-message-streaming.html\">Enable real-time chat message streaming</a> in the <i>Amazon Connect Administrator Guide</i>.</p> <p> <b>Feature specifications</b>: For information about feature specifications, such as the allowed number of open websocket connections per participant, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits\">Feature specifications</a> in the <i>Amazon Connect Administrator Guide</i>. </p> <note> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p> </note>"
4949
},
5050
"DisconnectParticipant":{
5151
"name":"DisconnectParticipant",
@@ -77,7 +77,7 @@
7777
{"shape":"ThrottlingException"},
7878
{"shape":"ValidationException"}
7979
],
80-
"documentation":"<p>Provides a pre-signed URL for download of a completed attachment. This is an asynchronous API for use with active contacts.</p>"
80+
"documentation":"<p>Provides a pre-signed URL for download of a completed attachment. This is an asynchronous API for use with active contacts.</p> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p>"
8181
},
8282
"GetTranscript":{
8383
"name":"GetTranscript",
@@ -125,7 +125,7 @@
125125
{"shape":"ThrottlingException"},
126126
{"shape":"ValidationException"}
127127
],
128-
"documentation":"<p>Sends a message. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.</p> <note> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p> </note>"
128+
"documentation":"<p>Sends a message. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.</p> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p>"
129129
},
130130
"StartAttachmentUpload":{
131131
"name":"StartAttachmentUpload",
@@ -142,7 +142,7 @@
142142
{"shape":"ValidationException"},
143143
{"shape":"ServiceQuotaExceededException"}
144144
],
145-
"documentation":"<p>Provides a pre-signed Amazon S3 URL in response for uploading the file directly to S3.</p>"
145+
"documentation":"<p>Provides a pre-signed Amazon S3 URL in response for uploading the file directly to S3.</p> <p>The Amazon Connect Participant Service APIs do not use <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 authentication</a>.</p>"
146146
}
147147
},
148148
"shapes":{
@@ -210,6 +210,7 @@
210210
"type":"list",
211211
"member":{"shape":"AttachmentItem"}
212212
},
213+
"Bool":{"type":"boolean"},
213214
"ChatContent":{
214215
"type":"string",
215216
"max":1024,
@@ -237,7 +238,11 @@
237238
"MESSAGE",
238239
"EVENT",
239240
"ATTACHMENT",
240-
"CONNECTION_ACK"
241+
"CONNECTION_ACK",
242+
"PARTICIPANT_ACTIVE",
243+
"PARTICIPANT_INACTIVE",
244+
"PARTICIPANT_ENGAGED",
245+
"PARTICIPANT_DISENGAGED"
241246
]
242247
},
243248
"ClientToken":{
@@ -333,9 +338,13 @@
333338
},
334339
"ParticipantToken":{
335340
"shape":"ParticipantToken",
336-
"documentation":"<p>This is a header parameter.</p> <p>The Participant Token as obtained from <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_StartChatContact.html\">StartChatContact</a> API response.</p>",
341+
"documentation":"<p>This is a header parameter.</p> <p>The ParticipantToken as obtained from <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_StartChatContact.html\">StartChatContact</a> API response.</p>",
337342
"location":"header",
338343
"locationName":"X-Amz-Bearer"
344+
},
345+
"ConnectParticipant":{
346+
"shape":"Bool",
347+
"documentation":"<p>Amazon Connect Participant is used to mark the participant as connected for message streaming.</p>"
339348
}
340349
}
341350
},
@@ -403,7 +412,7 @@
403412
"members":{
404413
"Url":{
405414
"shape":"PreSignedAttachmentUrl",
406-
"documentation":"<p>The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.</p>"
415+
"documentation":"<p>This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to <a href=\"https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html\">StartAttachmentUpload</a>.</p>"
407416
},
408417
"UrlExpiry":{
409418
"shape":"ISO8601Datetime",
@@ -770,7 +779,7 @@
770779
"members":{
771780
"Url":{
772781
"shape":"UploadMetadataUrl",
773-
"documentation":"<p>The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.</p>"
782+
"documentation":"<p>This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to <a href=\"https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html\">StartAttachmentUpload</a>.</p>"
774783
},
775784
"UrlExpiry":{
776785
"shape":"ISO8601Datetime",

0 commit comments

Comments
 (0)