Skip to content

Commit 66e6efa

Browse files
awsmobilesdkjamesonwilliams
authored andcommitted
feat(aws-android-sdk-connect): update models to latest
1 parent aaee4c2 commit 66e6efa

File tree

58 files changed

+3644
-32
lines changed

Some content is hidden

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

58 files changed

+3644
-32
lines changed

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnect.java

Lines changed: 144 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,34 @@ ListUserHierarchyGroupsResult listUserHierarchyGroups(
574574
ListUsersResult listUsers(ListUsersRequest listUsersRequest) throws AmazonClientException,
575575
AmazonServiceException;
576576

577+
/**
578+
* <p>
579+
* When a contact is being recorded, and the recording has been suspended
580+
* using SuspendContactRecording, this API resumes recording the call.
581+
* </p>
582+
* <p>
583+
* Only voice recordings are supported at this time.
584+
* </p>
585+
*
586+
* @param resumeContactRecordingRequest
587+
* @return resumeContactRecordingResult The response from the
588+
* ResumeContactRecording service method, as returned by Amazon
589+
* Connect.
590+
* @throws InvalidRequestException
591+
* @throws ResourceNotFoundException
592+
* @throws InternalServiceException
593+
* @throws AmazonClientException If any internal errors are encountered
594+
* inside the client while attempting to make the request or
595+
* handle the response. For example if a network connection is
596+
* not available.
597+
* @throws AmazonServiceException If an error response is returned by Amazon
598+
* Connect indicating either a problem with the data in the
599+
* request, or a server side issue.
600+
*/
601+
ResumeContactRecordingResult resumeContactRecording(
602+
ResumeContactRecordingRequest resumeContactRecordingRequest)
603+
throws AmazonClientException, AmazonServiceException;
604+
577605
/**
578606
* <p>
579607
* Initiates a contact flow to start a new chat for the customer. Response
@@ -613,7 +641,55 @@ StartChatContactResult startChatContact(StartChatContactRequest startChatContact
613641

614642
/**
615643
* <p>
616-
* Initiates a contact flow to place an outbound call to a customer.
644+
* This API starts recording the contact when the agent joins the call.
645+
* StartContactRecording is a one-time action. For example, if you use
646+
* StopContactRecording to stop recording an ongoing call, you can't use
647+
* StartContactRecording to restart it. For scenarios where the recording
648+
* has started and you want to suspend and resume it, such as when
649+
* collecting sensitive information (for example, a credit card number), use
650+
* SuspendContactRecording and ResumeContactRecording.
651+
* </p>
652+
* <p>
653+
* You can use this API to override the recording behavior configured in the
654+
* <a href=
655+
* "https://docs.aws.amazon.com/connect/latest/adminguide/set-recording-behavior.html"
656+
* >Set recording behavior</a> block.
657+
* </p>
658+
* <p>
659+
* Only voice recordings are supported at this time.
660+
* </p>
661+
*
662+
* @param startContactRecordingRequest
663+
* @return startContactRecordingResult The response from the
664+
* StartContactRecording service method, as returned by Amazon
665+
* Connect.
666+
* @throws InvalidRequestException
667+
* @throws InvalidParameterException
668+
* @throws ResourceNotFoundException
669+
* @throws InternalServiceException
670+
* @throws AmazonClientException If any internal errors are encountered
671+
* inside the client while attempting to make the request or
672+
* handle the response. For example if a network connection is
673+
* not available.
674+
* @throws AmazonServiceException If an error response is returned by Amazon
675+
* Connect indicating either a problem with the data in the
676+
* request, or a server side issue.
677+
*/
678+
StartContactRecordingResult startContactRecording(
679+
StartContactRecordingRequest startContactRecordingRequest)
680+
throws AmazonClientException, AmazonServiceException;
681+
682+
/**
683+
* <p>
684+
* This API places an outbound call to a contact, and then initiates the
685+
* contact flow. It performs the actions in the contact flow that's
686+
* specified (in <code>ContactFlowId</code>).
687+
* </p>
688+
* <p>
689+
* Agents are not involved in initiating the outbound API (that is, dialing
690+
* the contact). If the contact flow places an outbound call to a contact,
691+
* and then puts the contact in queue, that's when the call is routed to the
692+
* agent, like any other inbound case.
617693
* </p>
618694
* <p>
619695
* There is a 60 second dialing timeout for this operation. If the call is
@@ -667,6 +743,73 @@ StartOutboundVoiceContactResult startOutboundVoiceContact(
667743
StopContactResult stopContact(StopContactRequest stopContactRequest)
668744
throws AmazonClientException, AmazonServiceException;
669745

746+
/**
747+
* <p>
748+
* When a contact is being recorded, this API stops recording the call.
749+
* StopContactRecording is a one-time action. If you use
750+
* StopContactRecording to stop recording an ongoing call, you can't use
751+
* StartContactRecording to restart it. For scenarios where the recording
752+
* has started and you want to suspend it for sensitive information (for
753+
* example, to collect a credit card number), and then restart it, use
754+
* SuspendContactRecording and ResumeContactRecording.
755+
* </p>
756+
* <p>
757+
* Only voice recordings are supported at this time.
758+
* </p>
759+
*
760+
* @param stopContactRecordingRequest
761+
* @return stopContactRecordingResult The response from the
762+
* StopContactRecording service method, as returned by Amazon
763+
* Connect.
764+
* @throws InvalidRequestException
765+
* @throws ResourceNotFoundException
766+
* @throws InternalServiceException
767+
* @throws AmazonClientException If any internal errors are encountered
768+
* inside the client while attempting to make the request or
769+
* handle the response. For example if a network connection is
770+
* not available.
771+
* @throws AmazonServiceException If an error response is returned by Amazon
772+
* Connect indicating either a problem with the data in the
773+
* request, or a server side issue.
774+
*/
775+
StopContactRecordingResult stopContactRecording(
776+
StopContactRecordingRequest stopContactRecordingRequest) throws AmazonClientException,
777+
AmazonServiceException;
778+
779+
/**
780+
* <p>
781+
* When a contact is being recorded, this API suspends recording the call.
782+
* For example, you might suspend the call recording while collecting
783+
* sensitive information, such as a credit card number. Then use
784+
* ResumeContactRecording to restart recording.
785+
* </p>
786+
* <p>
787+
* The period of time that the recording is suspended is filled with silence
788+
* in the final recording.
789+
* </p>
790+
* <p>
791+
* Only voice recordings are supported at this time.
792+
* </p>
793+
*
794+
* @param suspendContactRecordingRequest
795+
* @return suspendContactRecordingResult The response from the
796+
* SuspendContactRecording service method, as returned by Amazon
797+
* Connect.
798+
* @throws InvalidRequestException
799+
* @throws ResourceNotFoundException
800+
* @throws InternalServiceException
801+
* @throws AmazonClientException If any internal errors are encountered
802+
* inside the client while attempting to make the request or
803+
* handle the response. For example if a network connection is
804+
* not available.
805+
* @throws AmazonServiceException If an error response is returned by Amazon
806+
* Connect indicating either a problem with the data in the
807+
* request, or a server side issue.
808+
*/
809+
SuspendContactRecordingResult suspendContactRecording(
810+
SuspendContactRecordingRequest suspendContactRecordingRequest)
811+
throws AmazonClientException, AmazonServiceException;
812+
670813
/**
671814
* <p>
672815
* Adds the specified tags to the specified resource.

0 commit comments

Comments
 (0)