Skip to content

Commit 2c55425

Browse files
authored
feat(aws-android-sdk-connect): update models to latest (#2516)
1 parent fd103a5 commit 2c55425

File tree

110 files changed

+4073
-658
lines changed

Some content is hidden

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

110 files changed

+4073
-658
lines changed

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

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,35 @@ public interface AmazonConnect {
141141
void associateApprovedOrigin(AssociateApprovedOriginRequest associateApprovedOriginRequest)
142142
throws AmazonClientException, AmazonServiceException;
143143

144+
/**
145+
* <p>
146+
* This API is in preview release for Amazon Connect and is subject to
147+
* change.
148+
* </p>
149+
* <p>
150+
* Allows the specified Amazon Connect instance to access the specified
151+
* Amazon Lex or Amazon Lex V2 bot.
152+
* </p>
153+
*
154+
* @param associateBotRequest
155+
* @throws ResourceNotFoundException
156+
* @throws ResourceConflictException
157+
* @throws InternalServiceException
158+
* @throws InvalidRequestException
159+
* @throws LimitExceededException
160+
* @throws ServiceQuotaExceededException
161+
* @throws ThrottlingException
162+
* @throws AmazonClientException If any internal errors are encountered
163+
* inside the client while attempting to make the request or
164+
* handle the response. For example if a network connection is
165+
* not available.
166+
* @throws AmazonServiceException If an error response is returned by Amazon
167+
* Connect indicating either a problem with the data in the
168+
* request, or a server side issue.
169+
*/
170+
void associateBot(AssociateBotRequest associateBotRequest) throws AmazonClientException,
171+
AmazonServiceException;
172+
144173
/**
145174
* <p>
146175
* This API is in preview release for Amazon Connect and is subject to
@@ -1092,6 +1121,32 @@ void disassociateApprovedOrigin(
10921121
DisassociateApprovedOriginRequest disassociateApprovedOriginRequest)
10931122
throws AmazonClientException, AmazonServiceException;
10941123

1124+
/**
1125+
* <p>
1126+
* This API is in preview release for Amazon Connect and is subject to
1127+
* change.
1128+
* </p>
1129+
* <p>
1130+
* Revokes authorization from the specified instance to access the specified
1131+
* Amazon Lex or Amazon Lex V2 bot.
1132+
* </p>
1133+
*
1134+
* @param disassociateBotRequest
1135+
* @throws ResourceNotFoundException
1136+
* @throws InternalServiceException
1137+
* @throws InvalidRequestException
1138+
* @throws ThrottlingException
1139+
* @throws AmazonClientException If any internal errors are encountered
1140+
* inside the client while attempting to make the request or
1141+
* handle the response. For example if a network connection is
1142+
* not available.
1143+
* @throws AmazonServiceException If an error response is returned by Amazon
1144+
* Connect indicating either a problem with the data in the
1145+
* request, or a server side issue.
1146+
*/
1147+
void disassociateBot(DisassociateBotRequest disassociateBotRequest)
1148+
throws AmazonClientException, AmazonServiceException;
1149+
10951150
/**
10961151
* <p>
10971152
* This API is in preview release for Amazon Connect and is subject to
@@ -1404,6 +1459,34 @@ ListApprovedOriginsResult listApprovedOrigins(
14041459
ListApprovedOriginsRequest listApprovedOriginsRequest) throws AmazonClientException,
14051460
AmazonServiceException;
14061461

1462+
/**
1463+
* <p>
1464+
* This API is in preview release for Amazon Connect and is subject to
1465+
* change.
1466+
* </p>
1467+
* <p>
1468+
* For the specified version of Amazon Lex, returns a paginated list of all
1469+
* the Amazon Lex bots currently associated with the instance.
1470+
* </p>
1471+
*
1472+
* @param listBotsRequest
1473+
* @return listBotsResult The response from the ListBots service method, as
1474+
* returned by Amazon Connect.
1475+
* @throws ResourceNotFoundException
1476+
* @throws InternalServiceException
1477+
* @throws InvalidRequestException
1478+
* @throws ThrottlingException
1479+
* @throws AmazonClientException If any internal errors are encountered
1480+
* inside the client while attempting to make the request or
1481+
* handle the response. For example if a network connection is
1482+
* not available.
1483+
* @throws AmazonServiceException If an error response is returned by Amazon
1484+
* Connect indicating either a problem with the data in the
1485+
* request, or a server side issue.
1486+
*/
1487+
ListBotsResult listBots(ListBotsRequest listBotsRequest) throws AmazonClientException,
1488+
AmazonServiceException;
1489+
14071490
/**
14081491
* <p>
14091492
* Provides information about the contact flows for the specified Amazon

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

Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,73 @@ Future<Void> associateApprovedOriginAsync(
126126
AsyncHandler<AssociateApprovedOriginRequest, Void> asyncHandler)
127127
throws AmazonServiceException, AmazonClientException;
128128

129+
/**
130+
* <p>
131+
* This API is in preview release for Amazon Connect and is subject to
132+
* change.
133+
* </p>
134+
* <p>
135+
* Allows the specified Amazon Connect instance to access the specified
136+
* Amazon Lex or Amazon Lex V2 bot.
137+
* </p>
138+
*
139+
* @param associateBotRequest
140+
* @return A Java Future object containing the response from the
141+
* AssociateBot service method, as returned by Amazon Connect.
142+
* @throws ResourceNotFoundException
143+
* @throws ResourceConflictException
144+
* @throws InternalServiceException
145+
* @throws InvalidRequestException
146+
* @throws LimitExceededException
147+
* @throws ServiceQuotaExceededException
148+
* @throws ThrottlingException
149+
* @throws AmazonClientException If any internal errors are encountered
150+
* inside the client while attempting to make the request or
151+
* handle the response. For example if a network connection is
152+
* not available.
153+
* @throws AmazonServiceException If an error response is returned by Amazon
154+
* Connect indicating either a problem with the data in the
155+
* request, or a server side issue.
156+
*/
157+
Future<Void> associateBotAsync(AssociateBotRequest associateBotRequest)
158+
throws AmazonServiceException, AmazonClientException;
159+
160+
/**
161+
* <p>
162+
* This API is in preview release for Amazon Connect and is subject to
163+
* change.
164+
* </p>
165+
* <p>
166+
* Allows the specified Amazon Connect instance to access the specified
167+
* Amazon Lex or Amazon Lex V2 bot.
168+
* </p>
169+
*
170+
* @param associateBotRequest
171+
* @param asyncHandler Asynchronous callback handler for events in the
172+
* life-cycle of the request. Users could provide the
173+
* implementation of the four callback methods in this interface
174+
* to process the operation result or handle the exception.
175+
* @return A Java Future object containing the response from the
176+
* AssociateBot service method, as returned by Amazon Connect.
177+
* @throws ResourceNotFoundException
178+
* @throws ResourceConflictException
179+
* @throws InternalServiceException
180+
* @throws InvalidRequestException
181+
* @throws LimitExceededException
182+
* @throws ServiceQuotaExceededException
183+
* @throws ThrottlingException
184+
* @throws AmazonClientException If any internal errors are encountered
185+
* inside the client while attempting to make the request or
186+
* handle the response. For example if a network connection is
187+
* not available.
188+
* @throws AmazonServiceException If an error response is returned by Amazon
189+
* Connect indicating either a problem with the data in the
190+
* request, or a server side issue.
191+
*/
192+
Future<Void> associateBotAsync(AssociateBotRequest associateBotRequest,
193+
AsyncHandler<AssociateBotRequest, Void> asyncHandler) throws AmazonServiceException,
194+
AmazonClientException;
195+
129196
/**
130197
* <p>
131198
* This API is in preview release for Amazon Connect and is subject to
@@ -2259,6 +2326,67 @@ Future<Void> disassociateApprovedOriginAsync(
22592326
AsyncHandler<DisassociateApprovedOriginRequest, Void> asyncHandler)
22602327
throws AmazonServiceException, AmazonClientException;
22612328

2329+
/**
2330+
* <p>
2331+
* This API is in preview release for Amazon Connect and is subject to
2332+
* change.
2333+
* </p>
2334+
* <p>
2335+
* Revokes authorization from the specified instance to access the specified
2336+
* Amazon Lex or Amazon Lex V2 bot.
2337+
* </p>
2338+
*
2339+
* @param disassociateBotRequest
2340+
* @return A Java Future object containing the response from the
2341+
* DisassociateBot service method, as returned by Amazon Connect.
2342+
* @throws ResourceNotFoundException
2343+
* @throws InternalServiceException
2344+
* @throws InvalidRequestException
2345+
* @throws ThrottlingException
2346+
* @throws AmazonClientException If any internal errors are encountered
2347+
* inside the client while attempting to make the request or
2348+
* handle the response. For example if a network connection is
2349+
* not available.
2350+
* @throws AmazonServiceException If an error response is returned by Amazon
2351+
* Connect indicating either a problem with the data in the
2352+
* request, or a server side issue.
2353+
*/
2354+
Future<Void> disassociateBotAsync(DisassociateBotRequest disassociateBotRequest)
2355+
throws AmazonServiceException, AmazonClientException;
2356+
2357+
/**
2358+
* <p>
2359+
* This API is in preview release for Amazon Connect and is subject to
2360+
* change.
2361+
* </p>
2362+
* <p>
2363+
* Revokes authorization from the specified instance to access the specified
2364+
* Amazon Lex or Amazon Lex V2 bot.
2365+
* </p>
2366+
*
2367+
* @param disassociateBotRequest
2368+
* @param asyncHandler Asynchronous callback handler for events in the
2369+
* life-cycle of the request. Users could provide the
2370+
* implementation of the four callback methods in this interface
2371+
* to process the operation result or handle the exception.
2372+
* @return A Java Future object containing the response from the
2373+
* DisassociateBot service method, as returned by Amazon Connect.
2374+
* @throws ResourceNotFoundException
2375+
* @throws InternalServiceException
2376+
* @throws InvalidRequestException
2377+
* @throws ThrottlingException
2378+
* @throws AmazonClientException If any internal errors are encountered
2379+
* inside the client while attempting to make the request or
2380+
* handle the response. For example if a network connection is
2381+
* not available.
2382+
* @throws AmazonServiceException If an error response is returned by Amazon
2383+
* Connect indicating either a problem with the data in the
2384+
* request, or a server side issue.
2385+
*/
2386+
Future<Void> disassociateBotAsync(DisassociateBotRequest disassociateBotRequest,
2387+
AsyncHandler<DisassociateBotRequest, Void> asyncHandler) throws AmazonServiceException,
2388+
AmazonClientException;
2389+
22622390
/**
22632391
* <p>
22642392
* This API is in preview release for Amazon Connect and is subject to
@@ -2976,6 +3104,67 @@ Future<ListApprovedOriginsResult> listApprovedOriginsAsync(
29763104
AsyncHandler<ListApprovedOriginsRequest, ListApprovedOriginsResult> asyncHandler)
29773105
throws AmazonServiceException, AmazonClientException;
29783106

3107+
/**
3108+
* <p>
3109+
* This API is in preview release for Amazon Connect and is subject to
3110+
* change.
3111+
* </p>
3112+
* <p>
3113+
* For the specified version of Amazon Lex, returns a paginated list of all
3114+
* the Amazon Lex bots currently associated with the instance.
3115+
* </p>
3116+
*
3117+
* @param listBotsRequest
3118+
* @return A Java Future object containing the response from the ListBots
3119+
* service method, as returned by Amazon Connect.
3120+
* @throws ResourceNotFoundException
3121+
* @throws InternalServiceException
3122+
* @throws InvalidRequestException
3123+
* @throws ThrottlingException
3124+
* @throws AmazonClientException If any internal errors are encountered
3125+
* inside the client while attempting to make the request or
3126+
* handle the response. For example if a network connection is
3127+
* not available.
3128+
* @throws AmazonServiceException If an error response is returned by Amazon
3129+
* Connect indicating either a problem with the data in the
3130+
* request, or a server side issue.
3131+
*/
3132+
Future<ListBotsResult> listBotsAsync(ListBotsRequest listBotsRequest)
3133+
throws AmazonServiceException, AmazonClientException;
3134+
3135+
/**
3136+
* <p>
3137+
* This API is in preview release for Amazon Connect and is subject to
3138+
* change.
3139+
* </p>
3140+
* <p>
3141+
* For the specified version of Amazon Lex, returns a paginated list of all
3142+
* the Amazon Lex bots currently associated with the instance.
3143+
* </p>
3144+
*
3145+
* @param listBotsRequest
3146+
* @param asyncHandler Asynchronous callback handler for events in the
3147+
* life-cycle of the request. Users could provide the
3148+
* implementation of the four callback methods in this interface
3149+
* to process the operation result or handle the exception.
3150+
* @return A Java Future object containing the response from the ListBots
3151+
* service method, as returned by Amazon Connect.
3152+
* @throws ResourceNotFoundException
3153+
* @throws InternalServiceException
3154+
* @throws InvalidRequestException
3155+
* @throws ThrottlingException
3156+
* @throws AmazonClientException If any internal errors are encountered
3157+
* inside the client while attempting to make the request or
3158+
* handle the response. For example if a network connection is
3159+
* not available.
3160+
* @throws AmazonServiceException If an error response is returned by Amazon
3161+
* Connect indicating either a problem with the data in the
3162+
* request, or a server side issue.
3163+
*/
3164+
Future<ListBotsResult> listBotsAsync(ListBotsRequest listBotsRequest,
3165+
AsyncHandler<ListBotsRequest, ListBotsResult> asyncHandler)
3166+
throws AmazonServiceException, AmazonClientException;
3167+
29793168
/**
29803169
* <p>
29813170
* Provides information about the contact flows for the specified Amazon

0 commit comments

Comments
 (0)