Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect Update models to latest #2516

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,35 @@ public interface AmazonConnect {
void associateApprovedOrigin(AssociateApprovedOriginRequest associateApprovedOriginRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
* change.
* </p>
* <p>
* Allows the specified Amazon Connect instance to access the specified
* Amazon Lex or Amazon Lex V2 bot.
* </p>
*
* @param associateBotRequest
* @throws ResourceNotFoundException
* @throws ResourceConflictException
* @throws InternalServiceException
* @throws InvalidRequestException
* @throws LimitExceededException
* @throws ServiceQuotaExceededException
* @throws ThrottlingException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Connect indicating either a problem with the data in the
* request, or a server side issue.
*/
void associateBot(AssociateBotRequest associateBotRequest) throws AmazonClientException,
AmazonServiceException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
Expand Down Expand Up @@ -1092,6 +1121,32 @@ void disassociateApprovedOrigin(
DisassociateApprovedOriginRequest disassociateApprovedOriginRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
* change.
* </p>
* <p>
* Revokes authorization from the specified instance to access the specified
* Amazon Lex or Amazon Lex V2 bot.
* </p>
*
* @param disassociateBotRequest
* @throws ResourceNotFoundException
* @throws InternalServiceException
* @throws InvalidRequestException
* @throws ThrottlingException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Connect indicating either a problem with the data in the
* request, or a server side issue.
*/
void disassociateBot(DisassociateBotRequest disassociateBotRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
Expand Down Expand Up @@ -1404,6 +1459,34 @@ ListApprovedOriginsResult listApprovedOrigins(
ListApprovedOriginsRequest listApprovedOriginsRequest) throws AmazonClientException,
AmazonServiceException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
* change.
* </p>
* <p>
* For the specified version of Amazon Lex, returns a paginated list of all
* the Amazon Lex bots currently associated with the instance.
* </p>
*
* @param listBotsRequest
* @return listBotsResult The response from the ListBots service method, as
* returned by Amazon Connect.
* @throws ResourceNotFoundException
* @throws InternalServiceException
* @throws InvalidRequestException
* @throws ThrottlingException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Connect indicating either a problem with the data in the
* request, or a server side issue.
*/
ListBotsResult listBots(ListBotsRequest listBotsRequest) throws AmazonClientException,
AmazonServiceException;

/**
* <p>
* Provides information about the contact flows for the specified Amazon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,73 @@ Future<Void> associateApprovedOriginAsync(
AsyncHandler<AssociateApprovedOriginRequest, Void> asyncHandler)
throws AmazonServiceException, AmazonClientException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
* change.
* </p>
* <p>
* Allows the specified Amazon Connect instance to access the specified
* Amazon Lex or Amazon Lex V2 bot.
* </p>
*
* @param associateBotRequest
* @return A Java Future object containing the response from the
* AssociateBot service method, as returned by Amazon Connect.
* @throws ResourceNotFoundException
* @throws ResourceConflictException
* @throws InternalServiceException
* @throws InvalidRequestException
* @throws LimitExceededException
* @throws ServiceQuotaExceededException
* @throws ThrottlingException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Connect indicating either a problem with the data in the
* request, or a server side issue.
*/
Future<Void> associateBotAsync(AssociateBotRequest associateBotRequest)
throws AmazonServiceException, AmazonClientException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
* change.
* </p>
* <p>
* Allows the specified Amazon Connect instance to access the specified
* Amazon Lex or Amazon Lex V2 bot.
* </p>
*
* @param associateBotRequest
* @param asyncHandler Asynchronous callback handler for events in the
* life-cycle of the request. Users could provide the
* implementation of the four callback methods in this interface
* to process the operation result or handle the exception.
* @return A Java Future object containing the response from the
* AssociateBot service method, as returned by Amazon Connect.
* @throws ResourceNotFoundException
* @throws ResourceConflictException
* @throws InternalServiceException
* @throws InvalidRequestException
* @throws LimitExceededException
* @throws ServiceQuotaExceededException
* @throws ThrottlingException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Connect indicating either a problem with the data in the
* request, or a server side issue.
*/
Future<Void> associateBotAsync(AssociateBotRequest associateBotRequest,
AsyncHandler<AssociateBotRequest, Void> asyncHandler) throws AmazonServiceException,
AmazonClientException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
Expand Down Expand Up @@ -2259,6 +2326,67 @@ Future<Void> disassociateApprovedOriginAsync(
AsyncHandler<DisassociateApprovedOriginRequest, Void> asyncHandler)
throws AmazonServiceException, AmazonClientException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
* change.
* </p>
* <p>
* Revokes authorization from the specified instance to access the specified
* Amazon Lex or Amazon Lex V2 bot.
* </p>
*
* @param disassociateBotRequest
* @return A Java Future object containing the response from the
* DisassociateBot service method, as returned by Amazon Connect.
* @throws ResourceNotFoundException
* @throws InternalServiceException
* @throws InvalidRequestException
* @throws ThrottlingException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Connect indicating either a problem with the data in the
* request, or a server side issue.
*/
Future<Void> disassociateBotAsync(DisassociateBotRequest disassociateBotRequest)
throws AmazonServiceException, AmazonClientException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
* change.
* </p>
* <p>
* Revokes authorization from the specified instance to access the specified
* Amazon Lex or Amazon Lex V2 bot.
* </p>
*
* @param disassociateBotRequest
* @param asyncHandler Asynchronous callback handler for events in the
* life-cycle of the request. Users could provide the
* implementation of the four callback methods in this interface
* to process the operation result or handle the exception.
* @return A Java Future object containing the response from the
* DisassociateBot service method, as returned by Amazon Connect.
* @throws ResourceNotFoundException
* @throws InternalServiceException
* @throws InvalidRequestException
* @throws ThrottlingException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Connect indicating either a problem with the data in the
* request, or a server side issue.
*/
Future<Void> disassociateBotAsync(DisassociateBotRequest disassociateBotRequest,
AsyncHandler<DisassociateBotRequest, Void> asyncHandler) throws AmazonServiceException,
AmazonClientException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
Expand Down Expand Up @@ -2976,6 +3104,67 @@ Future<ListApprovedOriginsResult> listApprovedOriginsAsync(
AsyncHandler<ListApprovedOriginsRequest, ListApprovedOriginsResult> asyncHandler)
throws AmazonServiceException, AmazonClientException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
* change.
* </p>
* <p>
* For the specified version of Amazon Lex, returns a paginated list of all
* the Amazon Lex bots currently associated with the instance.
* </p>
*
* @param listBotsRequest
* @return A Java Future object containing the response from the ListBots
* service method, as returned by Amazon Connect.
* @throws ResourceNotFoundException
* @throws InternalServiceException
* @throws InvalidRequestException
* @throws ThrottlingException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Connect indicating either a problem with the data in the
* request, or a server side issue.
*/
Future<ListBotsResult> listBotsAsync(ListBotsRequest listBotsRequest)
throws AmazonServiceException, AmazonClientException;

/**
* <p>
* This API is in preview release for Amazon Connect and is subject to
* change.
* </p>
* <p>
* For the specified version of Amazon Lex, returns a paginated list of all
* the Amazon Lex bots currently associated with the instance.
* </p>
*
* @param listBotsRequest
* @param asyncHandler Asynchronous callback handler for events in the
* life-cycle of the request. Users could provide the
* implementation of the four callback methods in this interface
* to process the operation result or handle the exception.
* @return A Java Future object containing the response from the ListBots
* service method, as returned by Amazon Connect.
* @throws ResourceNotFoundException
* @throws InternalServiceException
* @throws InvalidRequestException
* @throws ThrottlingException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* Connect indicating either a problem with the data in the
* request, or a server side issue.
*/
Future<ListBotsResult> listBotsAsync(ListBotsRequest listBotsRequest,
AsyncHandler<ListBotsRequest, ListBotsResult> asyncHandler)
throws AmazonServiceException, AmazonClientException;

/**
* <p>
* Provides information about the contact flows for the specified Amazon
Expand Down
Loading