Skip to content

Commit 578386b

Browse files
authored
feat(aws-android-sdk-connectparticipant): update models to latest (#2306)
1 parent 272acde commit 578386b

File tree

44 files changed

+4176
-42
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4176
-42
lines changed

aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipant.java

Lines changed: 112 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,42 @@ public interface AmazonConnectParticipant {
9797
*/
9898
public void setRegion(Region region) throws java.lang.IllegalArgumentException;
9999

100+
/**
101+
* <p>
102+
* Allows you to confirm that the attachment has been uploaded using the
103+
* pre-signed URL provided in StartAttachmentUpload API.
104+
* </p>
105+
*
106+
* @param completeAttachmentUploadRequest
107+
* @return completeAttachmentUploadResult The response from the
108+
* CompleteAttachmentUpload service method, as returned by Amazon
109+
* Connect Participant.
110+
* @throws AccessDeniedException
111+
* @throws InternalServerException
112+
* @throws ThrottlingException
113+
* @throws ValidationException
114+
* @throws ServiceQuotaExceededException
115+
* @throws ConflictException
116+
* @throws AmazonClientException If any internal errors are encountered
117+
* inside the client while attempting to make the request or
118+
* handle the response. For example if a network connection is
119+
* not available.
120+
* @throws AmazonServiceException If an error response is returned by Amazon
121+
* Connect Participant indicating either a problem with the data
122+
* in the request, or a server side issue.
123+
*/
124+
CompleteAttachmentUploadResult completeAttachmentUpload(
125+
CompleteAttachmentUploadRequest completeAttachmentUploadRequest)
126+
throws AmazonClientException, AmazonServiceException;
127+
100128
/**
101129
* <p>
102130
* Creates the participant's connection. Note that ParticipantToken is used
103131
* for invoking this API instead of ConnectionToken.
104132
* </p>
105133
* <p>
106134
* The participant token is valid for the lifetime of the participant –
107-
* until the they are part of a contact.
135+
* until they are part of a contact.
108136
* </p>
109137
* <p>
110138
* The response URL for <code>WEBSOCKET</code> Type has a connect expiry
@@ -123,6 +151,13 @@ public interface AmazonConnectParticipant {
123151
* parameter, clients need to call this API again to obtain a new websocket
124152
* URL and perform the same steps as before.
125153
* </p>
154+
* <note>
155+
* <p>
156+
* The Amazon Connect Participant Service APIs do not use <a href=
157+
* "https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"
158+
* >Signature Version 4 authentication</a>.
159+
* </p>
160+
* </note>
126161
*
127162
* @param createParticipantConnectionRequest
128163
* @return createParticipantConnectionResult The response from the
@@ -149,6 +184,11 @@ CreateParticipantConnectionResult createParticipantConnection(
149184
* Disconnects a participant. Note that ConnectionToken is used for invoking
150185
* this API instead of ParticipantToken.
151186
* </p>
187+
* <p>
188+
* The Amazon Connect Participant Service APIs do not use <a href=
189+
* "https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"
190+
* >Signature Version 4 authentication</a>.
191+
* </p>
152192
*
153193
* @param disconnectParticipantRequest
154194
* @return disconnectParticipantResult The response from the
@@ -172,8 +212,38 @@ DisconnectParticipantResult disconnectParticipant(
172212

173213
/**
174214
* <p>
175-
* Retrieves a transcript of the session. Note that ConnectionToken is used
176-
* for invoking this API instead of ParticipantToken.
215+
* Provides a pre-signed URL for download of a completed attachment. This is
216+
* an asynchronous API for use with active contacts.
217+
* </p>
218+
*
219+
* @param getAttachmentRequest
220+
* @return getAttachmentResult The response from the GetAttachment service
221+
* method, as returned by Amazon Connect Participant.
222+
* @throws AccessDeniedException
223+
* @throws InternalServerException
224+
* @throws ThrottlingException
225+
* @throws ValidationException
226+
* @throws AmazonClientException If any internal errors are encountered
227+
* inside the client while attempting to make the request or
228+
* handle the response. For example if a network connection is
229+
* not available.
230+
* @throws AmazonServiceException If an error response is returned by Amazon
231+
* Connect Participant indicating either a problem with the data
232+
* in the request, or a server side issue.
233+
*/
234+
GetAttachmentResult getAttachment(GetAttachmentRequest getAttachmentRequest)
235+
throws AmazonClientException, AmazonServiceException;
236+
237+
/**
238+
* <p>
239+
* Retrieves a transcript of the session, including details about any
240+
* attachments. Note that ConnectionToken is used for invoking this API
241+
* instead of ParticipantToken.
242+
* </p>
243+
* <p>
244+
* The Amazon Connect Participant Service APIs do not use <a href=
245+
* "https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"
246+
* >Signature Version 4 authentication</a>.
177247
* </p>
178248
*
179249
* @param getTranscriptRequest
@@ -199,6 +269,11 @@ GetTranscriptResult getTranscript(GetTranscriptRequest getTranscriptRequest)
199269
* Sends an event. Note that ConnectionToken is used for invoking this API
200270
* instead of ParticipantToken.
201271
* </p>
272+
* <p>
273+
* The Amazon Connect Participant Service APIs do not use <a href=
274+
* "https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"
275+
* >Signature Version 4 authentication</a>.
276+
* </p>
202277
*
203278
* @param sendEventRequest
204279
* @return sendEventResult The response from the SendEvent service method,
@@ -223,6 +298,13 @@ SendEventResult sendEvent(SendEventRequest sendEventRequest) throws AmazonClient
223298
* Sends a message. Note that ConnectionToken is used for invoking this API
224299
* instead of ParticipantToken.
225300
* </p>
301+
* <note>
302+
* <p>
303+
* The Amazon Connect Participant Service APIs do not use <a href=
304+
* "https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html"
305+
* >Signature Version 4 authentication</a>.
306+
* </p>
307+
* </note>
226308
*
227309
* @param sendMessageRequest
228310
* @return sendMessageResult The response from the SendMessage service
@@ -242,6 +324,33 @@ SendEventResult sendEvent(SendEventRequest sendEventRequest) throws AmazonClient
242324
SendMessageResult sendMessage(SendMessageRequest sendMessageRequest)
243325
throws AmazonClientException, AmazonServiceException;
244326

327+
/**
328+
* <p>
329+
* Provides a pre-signed Amazon S3 URL in response for uploading the file
330+
* directly to S3.
331+
* </p>
332+
*
333+
* @param startAttachmentUploadRequest
334+
* @return startAttachmentUploadResult The response from the
335+
* StartAttachmentUpload service method, as returned by Amazon
336+
* Connect Participant.
337+
* @throws AccessDeniedException
338+
* @throws InternalServerException
339+
* @throws ThrottlingException
340+
* @throws ValidationException
341+
* @throws ServiceQuotaExceededException
342+
* @throws AmazonClientException If any internal errors are encountered
343+
* inside the client while attempting to make the request or
344+
* handle the response. For example if a network connection is
345+
* not available.
346+
* @throws AmazonServiceException If an error response is returned by Amazon
347+
* Connect Participant indicating either a problem with the data
348+
* in the request, or a server side issue.
349+
*/
350+
StartAttachmentUploadResult startAttachmentUpload(
351+
StartAttachmentUploadRequest startAttachmentUploadRequest)
352+
throws AmazonClientException, AmazonServiceException;
353+
245354
/**
246355
* Shuts down this client object, releasing any resources that might be held
247356
* open. This is an optional method, and callers are not expected to call

0 commit comments

Comments
 (0)