Skip to content

Commit c0336bf

Browse files
authored
feat(aws-android-sdk-connect): update models to latest (#2778)
1 parent 2fd1f37 commit c0336bf

File tree

41 files changed

+8874
-8
lines changed

Some content is hidden

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

41 files changed

+8874
-8
lines changed

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

Lines changed: 163 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,34 @@ void associateApprovedOrigin(AssociateApprovedOriginRequest associateApprovedOri
170170
void associateBot(AssociateBotRequest associateBotRequest) throws AmazonClientException,
171171
AmazonServiceException;
172172

173+
/**
174+
* <p>
175+
* Associates an existing vocabulary as the default. Contact Lens for Amazon
176+
* Connect uses the vocabulary in post-call and real-time analysis sessions
177+
* for the given language.
178+
* </p>
179+
*
180+
* @param associateDefaultVocabularyRequest
181+
* @return associateDefaultVocabularyResult The response from the
182+
* AssociateDefaultVocabulary service method, as returned by Amazon
183+
* Connect.
184+
* @throws InvalidRequestException
185+
* @throws ResourceNotFoundException
186+
* @throws InternalServiceException
187+
* @throws ThrottlingException
188+
* @throws AccessDeniedException
189+
* @throws AmazonClientException If any internal errors are encountered
190+
* inside the client while attempting to make the request or
191+
* handle the response. For example if a network connection is
192+
* not available.
193+
* @throws AmazonServiceException If an error response is returned by Amazon
194+
* Connect indicating either a problem with the data in the
195+
* request, or a server side issue.
196+
*/
197+
AssociateDefaultVocabularyResult associateDefaultVocabulary(
198+
AssociateDefaultVocabularyRequest associateDefaultVocabularyRequest)
199+
throws AmazonClientException, AmazonServiceException;
200+
173201
/**
174202
* <p>
175203
* This API is in preview release for Amazon Connect and is subject to
@@ -741,6 +769,35 @@ CreateUserHierarchyGroupResult createUserHierarchyGroup(
741769
CreateUserHierarchyGroupRequest createUserHierarchyGroupRequest)
742770
throws AmazonClientException, AmazonServiceException;
743771

772+
/**
773+
* <p>
774+
* Creates a custom vocabulary associated with your Amazon Connect instance.
775+
* You can set a custom vocabulary to be your default vocabulary for a given
776+
* language. Contact Lens for Amazon Connect uses the default vocabulary in
777+
* post-call and real-time contact analysis sessions for that language.
778+
* </p>
779+
*
780+
* @param createVocabularyRequest
781+
* @return createVocabularyResult The response from the CreateVocabulary
782+
* service method, as returned by Amazon Connect.
783+
* @throws InvalidRequestException
784+
* @throws ResourceNotFoundException
785+
* @throws InternalServiceException
786+
* @throws ThrottlingException
787+
* @throws AccessDeniedException
788+
* @throws ResourceConflictException
789+
* @throws ServiceQuotaExceededException
790+
* @throws AmazonClientException If any internal errors are encountered
791+
* inside the client while attempting to make the request or
792+
* handle the response. For example if a network connection is
793+
* not available.
794+
* @throws AmazonServiceException If an error response is returned by Amazon
795+
* Connect indicating either a problem with the data in the
796+
* request, or a server side issue.
797+
*/
798+
CreateVocabularyResult createVocabulary(CreateVocabularyRequest createVocabularyRequest)
799+
throws AmazonClientException, AmazonServiceException;
800+
744801
/**
745802
* <p>
746803
* Deletes a contact flow for the specified Amazon Connect instance.
@@ -996,6 +1053,31 @@ void deleteUser(DeleteUserRequest deleteUserRequest) throws AmazonClientExceptio
9961053
void deleteUserHierarchyGroup(DeleteUserHierarchyGroupRequest deleteUserHierarchyGroupRequest)
9971054
throws AmazonClientException, AmazonServiceException;
9981055

1056+
/**
1057+
* <p>
1058+
* Deletes the vocabulary that has the given identifier.
1059+
* </p>
1060+
*
1061+
* @param deleteVocabularyRequest
1062+
* @return deleteVocabularyResult The response from the DeleteVocabulary
1063+
* service method, as returned by Amazon Connect.
1064+
* @throws InvalidRequestException
1065+
* @throws ResourceNotFoundException
1066+
* @throws InternalServiceException
1067+
* @throws ThrottlingException
1068+
* @throws AccessDeniedException
1069+
* @throws ResourceInUseException
1070+
* @throws AmazonClientException If any internal errors are encountered
1071+
* inside the client while attempting to make the request or
1072+
* handle the response. For example if a network connection is
1073+
* not available.
1074+
* @throws AmazonServiceException If an error response is returned by Amazon
1075+
* Connect indicating either a problem with the data in the
1076+
* request, or a server side issue.
1077+
*/
1078+
DeleteVocabularyResult deleteVocabulary(DeleteVocabularyRequest deleteVocabularyRequest)
1079+
throws AmazonClientException, AmazonServiceException;
1080+
9991081
/**
10001082
* <p>
10011083
* This API is in preview release for Amazon Connect and is subject to
@@ -1434,6 +1516,30 @@ DescribeUserHierarchyStructureResult describeUserHierarchyStructure(
14341516
DescribeUserHierarchyStructureRequest describeUserHierarchyStructureRequest)
14351517
throws AmazonClientException, AmazonServiceException;
14361518

1519+
/**
1520+
* <p>
1521+
* Describes the specified vocabulary.
1522+
* </p>
1523+
*
1524+
* @param describeVocabularyRequest
1525+
* @return describeVocabularyResult The response from the DescribeVocabulary
1526+
* service method, as returned by Amazon Connect.
1527+
* @throws InvalidRequestException
1528+
* @throws ResourceNotFoundException
1529+
* @throws InternalServiceException
1530+
* @throws ThrottlingException
1531+
* @throws AccessDeniedException
1532+
* @throws AmazonClientException If any internal errors are encountered
1533+
* inside the client while attempting to make the request or
1534+
* handle the response. For example if a network connection is
1535+
* not available.
1536+
* @throws AmazonServiceException If an error response is returned by Amazon
1537+
* Connect indicating either a problem with the data in the
1538+
* request, or a server side issue.
1539+
*/
1540+
DescribeVocabularyResult describeVocabulary(DescribeVocabularyRequest describeVocabularyRequest)
1541+
throws AmazonClientException, AmazonServiceException;
1542+
14371543
/**
14381544
* <p>
14391545
* This API is in preview release for Amazon Connect and is subject to
@@ -1949,6 +2055,31 @@ ListContactReferencesResult listContactReferences(
19492055
ListContactReferencesRequest listContactReferencesRequest)
19502056
throws AmazonClientException, AmazonServiceException;
19512057

2058+
/**
2059+
* <p>
2060+
* Lists the default vocabularies for the specified Amazon Connect instance.
2061+
* </p>
2062+
*
2063+
* @param listDefaultVocabulariesRequest
2064+
* @return listDefaultVocabulariesResult The response from the
2065+
* ListDefaultVocabularies service method, as returned by Amazon
2066+
* Connect.
2067+
* @throws InvalidRequestException
2068+
* @throws InternalServiceException
2069+
* @throws ThrottlingException
2070+
* @throws AccessDeniedException
2071+
* @throws AmazonClientException If any internal errors are encountered
2072+
* inside the client while attempting to make the request or
2073+
* handle the response. For example if a network connection is
2074+
* not available.
2075+
* @throws AmazonServiceException If an error response is returned by Amazon
2076+
* Connect indicating either a problem with the data in the
2077+
* request, or a server side issue.
2078+
*/
2079+
ListDefaultVocabulariesResult listDefaultVocabularies(
2080+
ListDefaultVocabulariesRequest listDefaultVocabulariesRequest)
2081+
throws AmazonClientException, AmazonServiceException;
2082+
19522083
/**
19532084
* <p>
19542085
* Provides information about the hours of operation for the specified
@@ -2601,6 +2732,31 @@ ResumeContactRecordingResult resumeContactRecording(
26012732
ResumeContactRecordingRequest resumeContactRecordingRequest)
26022733
throws AmazonClientException, AmazonServiceException;
26032734

2735+
/**
2736+
* <p>
2737+
* Searches for vocabularies within a specific Amazon Connect instance using
2738+
* <code>State</code>, <code>NameStartsWith</code>, and
2739+
* <code>LanguageCode</code>.
2740+
* </p>
2741+
*
2742+
* @param searchVocabulariesRequest
2743+
* @return searchVocabulariesResult The response from the SearchVocabularies
2744+
* service method, as returned by Amazon Connect.
2745+
* @throws InvalidRequestException
2746+
* @throws InternalServiceException
2747+
* @throws ThrottlingException
2748+
* @throws AccessDeniedException
2749+
* @throws AmazonClientException If any internal errors are encountered
2750+
* inside the client while attempting to make the request or
2751+
* handle the response. For example if a network connection is
2752+
* not available.
2753+
* @throws AmazonServiceException If an error response is returned by Amazon
2754+
* Connect indicating either a problem with the data in the
2755+
* request, or a server side issue.
2756+
*/
2757+
SearchVocabulariesResult searchVocabularies(SearchVocabulariesRequest searchVocabulariesRequest)
2758+
throws AmazonClientException, AmazonServiceException;
2759+
26042760
/**
26052761
* <p>
26062762
* Initiates a contact flow to start a new chat for the customer. Response
@@ -2619,7 +2775,7 @@ ResumeContactRecordingResult resumeContactRecording(
26192775
* CONNECTION_CREDENTIALS.
26202776
* </p>
26212777
* <p>
2622-
* A 429 error occurs in two situations:
2778+
* A 429 error occurs in the following situations:
26232779
* </p>
26242780
* <ul>
26252781
* <li>
@@ -2638,6 +2794,12 @@ ResumeContactRecordingResult resumeContactRecording(
26382794
* </li>
26392795
* </ul>
26402796
* <p>
2797+
* If you use the <code>ChatDurationInMinutes</code> parameter and receive a
2798+
* 400 error, your account may not support the ability to configure custom
2799+
* chat durations. For more information, contact Amazon Web Services
2800+
* Support.
2801+
* </p>
2802+
* <p>
26412803
* For more information about chat, see <a
26422804
* href="https://docs.aws.amazon.com/connect/latest/adminguide/chat.html"
26432805
* >Chat</a> in the <i>Amazon Connect Administrator Guide</i>.

0 commit comments

Comments
 (0)