Skip to content

Commit 56a748c

Browse files
feat(aws-android-sdk-connect): update models to latest (#3300)
Co-authored-by: Thomas Leing <[email protected]>
1 parent 044caf2 commit 56a748c

File tree

56 files changed

+4646
-148
lines changed

Some content is hidden

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

56 files changed

+4646
-148
lines changed

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

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,34 @@ CreateIntegrationAssociationResult createIntegrationAssociation(
734734
CreateParticipantResult createParticipant(CreateParticipantRequest createParticipantRequest)
735735
throws AmazonClientException, AmazonServiceException;
736736

737+
/**
738+
* <p>
739+
* Creates a prompt. For more information about prompts, such as supported
740+
* file types and maximum length, see <a href=
741+
* "https://docs.aws.amazon.com/connect/latest/adminguide/prompts.html"
742+
* >Create prompts</a> in the <i>Amazon Connect Administrator's Guide</i>.
743+
* </p>
744+
*
745+
* @param createPromptRequest
746+
* @return createPromptResult The response from the CreatePrompt service
747+
* method, as returned by Amazon Connect.
748+
* @throws DuplicateResourceException
749+
* @throws InvalidRequestException
750+
* @throws InvalidParameterException
751+
* @throws LimitExceededException
752+
* @throws ThrottlingException
753+
* @throws InternalServiceException
754+
* @throws AmazonClientException If any internal errors are encountered
755+
* inside the client while attempting to make the request or
756+
* handle the response. For example if a network connection is
757+
* not available.
758+
* @throws AmazonServiceException If an error response is returned by Amazon
759+
* Connect indicating either a problem with the data in the
760+
* request, or a server side issue.
761+
*/
762+
CreatePromptResult createPrompt(CreatePromptRequest createPromptRequest)
763+
throws AmazonClientException, AmazonServiceException;
764+
737765
/**
738766
* <p>
739767
* This API is in preview release for Amazon Connect and is subject to
@@ -1290,6 +1318,28 @@ void deleteIntegrationAssociation(
12901318
DeleteIntegrationAssociationRequest deleteIntegrationAssociationRequest)
12911319
throws AmazonClientException, AmazonServiceException;
12921320

1321+
/**
1322+
* <p>
1323+
* Deletes a prompt.
1324+
* </p>
1325+
*
1326+
* @param deletePromptRequest
1327+
* @throws InvalidRequestException
1328+
* @throws InvalidParameterException
1329+
* @throws ResourceNotFoundException
1330+
* @throws ThrottlingException
1331+
* @throws InternalServiceException
1332+
* @throws AmazonClientException If any internal errors are encountered
1333+
* inside the client while attempting to make the request or
1334+
* handle the response. For example if a network connection is
1335+
* not available.
1336+
* @throws AmazonServiceException If an error response is returned by Amazon
1337+
* Connect indicating either a problem with the data in the
1338+
* request, or a server side issue.
1339+
*/
1340+
void deletePrompt(DeletePromptRequest deletePromptRequest) throws AmazonClientException,
1341+
AmazonServiceException;
1342+
12931343
/**
12941344
* <p>
12951345
* Deletes a quick connect.
@@ -1862,6 +1912,30 @@ DescribePhoneNumberResult describePhoneNumber(
18621912
DescribePhoneNumberRequest describePhoneNumberRequest) throws AmazonClientException,
18631913
AmazonServiceException;
18641914

1915+
/**
1916+
* <p>
1917+
* Describes the prompt.
1918+
* </p>
1919+
*
1920+
* @param describePromptRequest
1921+
* @return describePromptResult The response from the DescribePrompt service
1922+
* method, as returned by Amazon Connect.
1923+
* @throws InvalidRequestException
1924+
* @throws InvalidParameterException
1925+
* @throws ResourceNotFoundException
1926+
* @throws ThrottlingException
1927+
* @throws InternalServiceException
1928+
* @throws AmazonClientException If any internal errors are encountered
1929+
* inside the client while attempting to make the request or
1930+
* handle the response. For example if a network connection is
1931+
* not available.
1932+
* @throws AmazonServiceException If an error response is returned by Amazon
1933+
* Connect indicating either a problem with the data in the
1934+
* request, or a server side issue.
1935+
*/
1936+
DescribePromptResult describePrompt(DescribePromptRequest describePromptRequest)
1937+
throws AmazonClientException, AmazonServiceException;
1938+
18651939
/**
18661940
* <p>
18671941
* This API is in preview release for Amazon Connect and is subject to
@@ -2599,6 +2673,30 @@ GetMetricDataResult getMetricData(GetMetricDataRequest getMetricDataRequest)
25992673
GetMetricDataV2Result getMetricDataV2(GetMetricDataV2Request getMetricDataV2Request)
26002674
throws AmazonClientException, AmazonServiceException;
26012675

2676+
/**
2677+
* <p>
2678+
* Gets the prompt file.
2679+
* </p>
2680+
*
2681+
* @param getPromptFileRequest
2682+
* @return getPromptFileResult The response from the GetPromptFile service
2683+
* method, as returned by Amazon Connect.
2684+
* @throws InvalidParameterException
2685+
* @throws InvalidRequestException
2686+
* @throws ResourceNotFoundException
2687+
* @throws ThrottlingException
2688+
* @throws InternalServiceException
2689+
* @throws AmazonClientException If any internal errors are encountered
2690+
* inside the client while attempting to make the request or
2691+
* handle the response. For example if a network connection is
2692+
* not available.
2693+
* @throws AmazonServiceException If an error response is returned by Amazon
2694+
* Connect indicating either a problem with the data in the
2695+
* request, or a server side issue.
2696+
*/
2697+
GetPromptFileResult getPromptFile(GetPromptFileRequest getPromptFileRequest)
2698+
throws AmazonClientException, AmazonServiceException;
2699+
26022700
/**
26032701
* <p>
26042702
* Gets details about a specific task template in the specified Amazon
@@ -5109,6 +5207,30 @@ UpdateParticipantRoleConfigResult updateParticipantRoleConfig(
51095207
UpdatePhoneNumberResult updatePhoneNumber(UpdatePhoneNumberRequest updatePhoneNumberRequest)
51105208
throws AmazonClientException, AmazonServiceException;
51115209

5210+
/**
5211+
* <p>
5212+
* Updates a prompt.
5213+
* </p>
5214+
*
5215+
* @param updatePromptRequest
5216+
* @return updatePromptResult The response from the UpdatePrompt service
5217+
* method, as returned by Amazon Connect.
5218+
* @throws InvalidRequestException
5219+
* @throws InvalidParameterException
5220+
* @throws ResourceNotFoundException
5221+
* @throws ThrottlingException
5222+
* @throws InternalServiceException
5223+
* @throws AmazonClientException If any internal errors are encountered
5224+
* inside the client while attempting to make the request or
5225+
* handle the response. For example if a network connection is
5226+
* not available.
5227+
* @throws AmazonServiceException If an error response is returned by Amazon
5228+
* Connect indicating either a problem with the data in the
5229+
* request, or a server side issue.
5230+
*/
5231+
UpdatePromptResult updatePrompt(UpdatePromptRequest updatePromptRequest)
5232+
throws AmazonClientException, AmazonServiceException;
5233+
51125234
/**
51135235
* <p>
51145236
* This API is in preview release for Amazon Connect and is subject to

0 commit comments

Comments
 (0)