@@ -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