Skip to content

Commit 67dcde4

Browse files
authored
feat(aws-android-sdk-connect): update models to latest (#2881)
1 parent 848912f commit 67dcde4

File tree

82 files changed

+15095
-19
lines changed

Some content is hidden

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

82 files changed

+15095
-19
lines changed

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

Lines changed: 267 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,30 @@ void associateLambdaFunction(AssociateLambdaFunctionRequest associateLambdaFunct
296296
void associateLexBot(AssociateLexBotRequest associateLexBotRequest)
297297
throws AmazonClientException, AmazonServiceException;
298298

299+
/**
300+
* <p>
301+
* Associates a contact flow with a phone number claimed to your Amazon
302+
* Connect instance.
303+
* </p>
304+
*
305+
* @param associatePhoneNumberContactFlowRequest
306+
* @throws InvalidParameterException
307+
* @throws ResourceNotFoundException
308+
* @throws ThrottlingException
309+
* @throws InternalServiceException
310+
* @throws AccessDeniedException
311+
* @throws AmazonClientException If any internal errors are encountered
312+
* inside the client while attempting to make the request or
313+
* handle the response. For example if a network connection is
314+
* not available.
315+
* @throws AmazonServiceException If an error response is returned by Amazon
316+
* Connect indicating either a problem with the data in the
317+
* request, or a server side issue.
318+
*/
319+
void associatePhoneNumberContactFlow(
320+
AssociatePhoneNumberContactFlowRequest associatePhoneNumberContactFlowRequest)
321+
throws AmazonClientException, AmazonServiceException;
322+
299323
/**
300324
* <p>
301325
* This API is in preview release for Amazon Connect and is subject to
@@ -379,6 +403,31 @@ AssociateSecurityKeyResult associateSecurityKey(
379403
AssociateSecurityKeyRequest associateSecurityKeyRequest) throws AmazonClientException,
380404
AmazonServiceException;
381405

406+
/**
407+
* <p>
408+
* Claims an available phone number to your Amazon Connect instance.
409+
* </p>
410+
*
411+
* @param claimPhoneNumberRequest
412+
* @return claimPhoneNumberResult The response from the ClaimPhoneNumber
413+
* service method, as returned by Amazon Connect.
414+
* @throws InvalidParameterException
415+
* @throws ResourceNotFoundException
416+
* @throws ThrottlingException
417+
* @throws InternalServiceException
418+
* @throws IdempotencyException
419+
* @throws AccessDeniedException
420+
* @throws AmazonClientException If any internal errors are encountered
421+
* inside the client while attempting to make the request or
422+
* handle the response. For example if a network connection is
423+
* not available.
424+
* @throws AmazonServiceException If an error response is returned by Amazon
425+
* Connect indicating either a problem with the data in the
426+
* request, or a server side issue.
427+
*/
428+
ClaimPhoneNumberResult claimPhoneNumber(ClaimPhoneNumberRequest claimPhoneNumberRequest)
429+
throws AmazonClientException, AmazonServiceException;
430+
382431
/**
383432
* <p>
384433
* This API is in preview release for Amazon Connect and is subject to
@@ -1326,6 +1375,33 @@ DescribeInstanceStorageConfigResult describeInstanceStorageConfig(
13261375
DescribeInstanceStorageConfigRequest describeInstanceStorageConfigRequest)
13271376
throws AmazonClientException, AmazonServiceException;
13281377

1378+
/**
1379+
* <p>
1380+
* Gets details and status of a phone number that’s claimed to your Amazon
1381+
* Connect instance
1382+
* </p>
1383+
*
1384+
* @param describePhoneNumberRequest
1385+
* @return describePhoneNumberResult The response from the
1386+
* DescribePhoneNumber service method, as returned by Amazon
1387+
* Connect.
1388+
* @throws InvalidParameterException
1389+
* @throws ResourceNotFoundException
1390+
* @throws ThrottlingException
1391+
* @throws InternalServiceException
1392+
* @throws AccessDeniedException
1393+
* @throws AmazonClientException If any internal errors are encountered
1394+
* inside the client while attempting to make the request or
1395+
* handle the response. For example if a network connection is
1396+
* not available.
1397+
* @throws AmazonServiceException If an error response is returned by Amazon
1398+
* Connect indicating either a problem with the data in the
1399+
* request, or a server side issue.
1400+
*/
1401+
DescribePhoneNumberResult describePhoneNumber(
1402+
DescribePhoneNumberRequest describePhoneNumberRequest) throws AmazonClientException,
1403+
AmazonServiceException;
1404+
13291405
/**
13301406
* <p>
13311407
* This API is in preview release for Amazon Connect and is subject to
@@ -1676,6 +1752,30 @@ void disassociateLambdaFunction(
16761752
void disassociateLexBot(DisassociateLexBotRequest disassociateLexBotRequest)
16771753
throws AmazonClientException, AmazonServiceException;
16781754

1755+
/**
1756+
* <p>
1757+
* Removes the contact flow association from a phone number claimed to your
1758+
* Amazon Connect instance, if a contact flow association exists.
1759+
* </p>
1760+
*
1761+
* @param disassociatePhoneNumberContactFlowRequest
1762+
* @throws InvalidParameterException
1763+
* @throws ResourceNotFoundException
1764+
* @throws ThrottlingException
1765+
* @throws InternalServiceException
1766+
* @throws AccessDeniedException
1767+
* @throws AmazonClientException If any internal errors are encountered
1768+
* inside the client while attempting to make the request or
1769+
* handle the response. For example if a network connection is
1770+
* not available.
1771+
* @throws AmazonServiceException If an error response is returned by Amazon
1772+
* Connect indicating either a problem with the data in the
1773+
* request, or a server side issue.
1774+
*/
1775+
void disassociatePhoneNumberContactFlow(
1776+
DisassociatePhoneNumberContactFlowRequest disassociatePhoneNumberContactFlowRequest)
1777+
throws AmazonClientException, AmazonServiceException;
1778+
16791779
/**
16801780
* <p>
16811781
* This API is in preview release for Amazon Connect and is subject to
@@ -2319,6 +2419,36 @@ ListLexBotsResult listLexBots(ListLexBotsRequest listLexBotsRequest)
23192419
ListPhoneNumbersResult listPhoneNumbers(ListPhoneNumbersRequest listPhoneNumbersRequest)
23202420
throws AmazonClientException, AmazonServiceException;
23212421

2422+
/**
2423+
* <p>
2424+
* Lists phone numbers claimed to your Amazon Connect instance.
2425+
* </p>
2426+
* <p>
2427+
* For more information about phone numbers, see <a href=
2428+
* "https://docs.aws.amazon.com/connect/latest/adminguide/contact-center-phone-number.html"
2429+
* >Set Up Phone Numbers for Your Contact Center</a> in the <i>Amazon
2430+
* Connect Administrator Guide</i>.
2431+
* </p>
2432+
*
2433+
* @param listPhoneNumbersV2Request
2434+
* @return listPhoneNumbersV2Result The response from the ListPhoneNumbersV2
2435+
* service method, as returned by Amazon Connect.
2436+
* @throws InvalidParameterException
2437+
* @throws ResourceNotFoundException
2438+
* @throws ThrottlingException
2439+
* @throws InternalServiceException
2440+
* @throws AccessDeniedException
2441+
* @throws AmazonClientException If any internal errors are encountered
2442+
* inside the client while attempting to make the request or
2443+
* handle the response. For example if a network connection is
2444+
* not available.
2445+
* @throws AmazonServiceException If an error response is returned by Amazon
2446+
* Connect indicating either a problem with the data in the
2447+
* request, or a server side issue.
2448+
*/
2449+
ListPhoneNumbersV2Result listPhoneNumbersV2(ListPhoneNumbersV2Request listPhoneNumbersV2Request)
2450+
throws AmazonClientException, AmazonServiceException;
2451+
23222452
/**
23232453
* <p>
23242454
* Provides information about the prompts for the specified Amazon Connect
@@ -2704,6 +2834,64 @@ ListUserHierarchyGroupsResult listUserHierarchyGroups(
27042834
ListUsersResult listUsers(ListUsersRequest listUsersRequest) throws AmazonClientException,
27052835
AmazonServiceException;
27062836

2837+
/**
2838+
* <p>
2839+
* Changes the current status of a user or agent in Amazon Connect. If the
2840+
* agent is currently handling a contact, this sets the agent's next status.
2841+
* </p>
2842+
* <p>
2843+
* For more information, see <a href=
2844+
* "https://docs.aws.amazon.com/connect/latest/adminguide/metrics-agent-status.html"
2845+
* >Agent status</a> and <a href=
2846+
* "https://docs.aws.amazon.com/connect/latest/adminguide/set-next-status.html"
2847+
* >Set your next status</a> in the <i>Amazon Connect Administrator
2848+
* Guide</i>.
2849+
* </p>
2850+
*
2851+
* @param putUserStatusRequest
2852+
* @return putUserStatusResult The response from the PutUserStatus service
2853+
* method, as returned by Amazon Connect.
2854+
* @throws InvalidRequestException
2855+
* @throws InvalidParameterException
2856+
* @throws ResourceNotFoundException
2857+
* @throws ThrottlingException
2858+
* @throws AccessDeniedException
2859+
* @throws InternalServiceException
2860+
* @throws AmazonClientException If any internal errors are encountered
2861+
* inside the client while attempting to make the request or
2862+
* handle the response. For example if a network connection is
2863+
* not available.
2864+
* @throws AmazonServiceException If an error response is returned by Amazon
2865+
* Connect indicating either a problem with the data in the
2866+
* request, or a server side issue.
2867+
*/
2868+
PutUserStatusResult putUserStatus(PutUserStatusRequest putUserStatusRequest)
2869+
throws AmazonClientException, AmazonServiceException;
2870+
2871+
/**
2872+
* <p>
2873+
* Releases a phone number previously claimed to an Amazon Connect instance.
2874+
* </p>
2875+
*
2876+
* @param releasePhoneNumberRequest
2877+
* @throws InvalidParameterException
2878+
* @throws ResourceNotFoundException
2879+
* @throws ThrottlingException
2880+
* @throws InternalServiceException
2881+
* @throws ResourceInUseException
2882+
* @throws IdempotencyException
2883+
* @throws AccessDeniedException
2884+
* @throws AmazonClientException If any internal errors are encountered
2885+
* inside the client while attempting to make the request or
2886+
* handle the response. For example if a network connection is
2887+
* not available.
2888+
* @throws AmazonServiceException If an error response is returned by Amazon
2889+
* Connect indicating either a problem with the data in the
2890+
* request, or a server side issue.
2891+
*/
2892+
void releasePhoneNumber(ReleasePhoneNumberRequest releasePhoneNumberRequest)
2893+
throws AmazonClientException, AmazonServiceException;
2894+
27072895
/**
27082896
* <p>
27092897
* When a contact is being recorded, and the recording has been suspended
@@ -2732,6 +2920,56 @@ ResumeContactRecordingResult resumeContactRecording(
27322920
ResumeContactRecordingRequest resumeContactRecordingRequest)
27332921
throws AmazonClientException, AmazonServiceException;
27342922

2923+
/**
2924+
* <p>
2925+
* Searches for available phone numbers that you can claim to your Amazon
2926+
* Connect instance.
2927+
* </p>
2928+
*
2929+
* @param searchAvailablePhoneNumbersRequest
2930+
* @return searchAvailablePhoneNumbersResult The response from the
2931+
* SearchAvailablePhoneNumbers service method, as returned by Amazon
2932+
* Connect.
2933+
* @throws InvalidParameterException
2934+
* @throws ThrottlingException
2935+
* @throws InternalServiceException
2936+
* @throws AccessDeniedException
2937+
* @throws AmazonClientException If any internal errors are encountered
2938+
* inside the client while attempting to make the request or
2939+
* handle the response. For example if a network connection is
2940+
* not available.
2941+
* @throws AmazonServiceException If an error response is returned by Amazon
2942+
* Connect indicating either a problem with the data in the
2943+
* request, or a server side issue.
2944+
*/
2945+
SearchAvailablePhoneNumbersResult searchAvailablePhoneNumbers(
2946+
SearchAvailablePhoneNumbersRequest searchAvailablePhoneNumbersRequest)
2947+
throws AmazonClientException, AmazonServiceException;
2948+
2949+
/**
2950+
* <p>
2951+
* Searches users in an Amazon Connect instance, with optional filtering.
2952+
* </p>
2953+
*
2954+
* @param searchUsersRequest
2955+
* @return searchUsersResult The response from the SearchUsers service
2956+
* method, as returned by Amazon Connect.
2957+
* @throws InvalidRequestException
2958+
* @throws InvalidParameterException
2959+
* @throws ResourceNotFoundException
2960+
* @throws ThrottlingException
2961+
* @throws InternalServiceException
2962+
* @throws AmazonClientException If any internal errors are encountered
2963+
* inside the client while attempting to make the request or
2964+
* handle the response. For example if a network connection is
2965+
* not available.
2966+
* @throws AmazonServiceException If an error response is returned by Amazon
2967+
* Connect indicating either a problem with the data in the
2968+
* request, or a server side issue.
2969+
*/
2970+
SearchUsersResult searchUsers(SearchUsersRequest searchUsersRequest)
2971+
throws AmazonClientException, AmazonServiceException;
2972+
27352973
/**
27362974
* <p>
27372975
* Searches for vocabularies within a specific Amazon Connect instance using
@@ -3139,7 +3377,8 @@ SuspendContactRecordingResult suspendContactRecording(
31393377
* </p>
31403378
* <p>
31413379
* The supported resource types are users, routing profiles, queues, quick
3142-
* connects, contact flows, agent status, and hours of operation.
3380+
* connects, contact flows, agent status, hours of operation, and phone
3381+
* number.
31433382
* </p>
31443383
* <p>
31453384
* For sample policies that use tags, see <a href=
@@ -3547,6 +3786,33 @@ void updateInstanceStorageConfig(
35473786
UpdateInstanceStorageConfigRequest updateInstanceStorageConfigRequest)
35483787
throws AmazonClientException, AmazonServiceException;
35493788

3789+
/**
3790+
* <p>
3791+
* Updates your claimed phone number from its current Amazon Connect
3792+
* instance to another Amazon Connect instance in the same Region.
3793+
* </p>
3794+
*
3795+
* @param updatePhoneNumberRequest
3796+
* @return updatePhoneNumberResult The response from the UpdatePhoneNumber
3797+
* service method, as returned by Amazon Connect.
3798+
* @throws InvalidParameterException
3799+
* @throws ResourceNotFoundException
3800+
* @throws ThrottlingException
3801+
* @throws InternalServiceException
3802+
* @throws ResourceInUseException
3803+
* @throws IdempotencyException
3804+
* @throws AccessDeniedException
3805+
* @throws AmazonClientException If any internal errors are encountered
3806+
* inside the client while attempting to make the request or
3807+
* handle the response. For example if a network connection is
3808+
* not available.
3809+
* @throws AmazonServiceException If an error response is returned by Amazon
3810+
* Connect indicating either a problem with the data in the
3811+
* request, or a server side issue.
3812+
*/
3813+
UpdatePhoneNumberResult updatePhoneNumber(UpdatePhoneNumberRequest updatePhoneNumberRequest)
3814+
throws AmazonClientException, AmazonServiceException;
3815+
35503816
/**
35513817
* <p>
35523818
* This API is in preview release for Amazon Connect and is subject to

0 commit comments

Comments
 (0)