Skip to content

Commit b182ac2

Browse files
feat(aws-android-sdk-connect): update models to latest (#2570)
Co-authored-by: Raphael Kim <[email protected]>
1 parent 4341db0 commit b182ac2

36 files changed

+7790
-11
lines changed

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

Lines changed: 202 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,36 @@ AssociateSecurityKeyResult associateSecurityKey(
351351
AssociateSecurityKeyRequest associateSecurityKeyRequest) throws AmazonClientException,
352352
AmazonServiceException;
353353

354+
/**
355+
* <p>
356+
* This API is in preview release for Amazon Connect and is subject to
357+
* change.
358+
* </p>
359+
* <p>
360+
* Creates an agent status for the specified Amazon Connect instance.
361+
* </p>
362+
*
363+
* @param createAgentStatusRequest
364+
* @return createAgentStatusResult The response from the CreateAgentStatus
365+
* service method, as returned by Amazon Connect.
366+
* @throws InvalidRequestException
367+
* @throws InvalidParameterException
368+
* @throws DuplicateResourceException
369+
* @throws ResourceNotFoundException
370+
* @throws LimitExceededException
371+
* @throws ThrottlingException
372+
* @throws InternalServiceException
373+
* @throws AmazonClientException If any internal errors are encountered
374+
* inside the client while attempting to make the request or
375+
* handle the response. For example if a network connection is
376+
* not available.
377+
* @throws AmazonServiceException If an error response is returned by Amazon
378+
* Connect indicating either a problem with the data in the
379+
* request, or a server side issue.
380+
*/
381+
CreateAgentStatusResult createAgentStatus(CreateAgentStatusRequest createAgentStatusRequest)
382+
throws AmazonClientException, AmazonServiceException;
383+
354384
/**
355385
* <p>
356386
* Creates a contact flow for the specified Amazon Connect instance.
@@ -383,6 +413,38 @@ AssociateSecurityKeyResult associateSecurityKey(
383413
CreateContactFlowResult createContactFlow(CreateContactFlowRequest createContactFlowRequest)
384414
throws AmazonClientException, AmazonServiceException;
385415

416+
/**
417+
* <p>
418+
* This API is in preview release for Amazon Connect and is subject to
419+
* change.
420+
* </p>
421+
* <p>
422+
* Creates hours of operation.
423+
* </p>
424+
*
425+
* @param createHoursOfOperationRequest
426+
* @return createHoursOfOperationResult The response from the
427+
* CreateHoursOfOperation service method, as returned by Amazon
428+
* Connect.
429+
* @throws DuplicateResourceException
430+
* @throws InvalidRequestException
431+
* @throws InvalidParameterException
432+
* @throws ResourceNotFoundException
433+
* @throws LimitExceededException
434+
* @throws ThrottlingException
435+
* @throws InternalServiceException
436+
* @throws AmazonClientException If any internal errors are encountered
437+
* inside the client while attempting to make the request or
438+
* handle the response. For example if a network connection is
439+
* not available.
440+
* @throws AmazonServiceException If an error response is returned by Amazon
441+
* Connect indicating either a problem with the data in the
442+
* request, or a server side issue.
443+
*/
444+
CreateHoursOfOperationResult createHoursOfOperation(
445+
CreateHoursOfOperationRequest createHoursOfOperationRequest)
446+
throws AmazonClientException, AmazonServiceException;
447+
386448
/**
387449
* <p>
388450
* This API is in preview release for Amazon Connect and is subject to
@@ -615,6 +677,32 @@ CreateUserHierarchyGroupResult createUserHierarchyGroup(
615677
CreateUserHierarchyGroupRequest createUserHierarchyGroupRequest)
616678
throws AmazonClientException, AmazonServiceException;
617679

680+
/**
681+
* <p>
682+
* This API is in preview release for Amazon Connect and is subject to
683+
* change.
684+
* </p>
685+
* <p>
686+
* Deletes an hours of operation.
687+
* </p>
688+
*
689+
* @param deleteHoursOfOperationRequest
690+
* @throws InvalidRequestException
691+
* @throws InvalidParameterException
692+
* @throws ResourceNotFoundException
693+
* @throws ThrottlingException
694+
* @throws InternalServiceException
695+
* @throws AmazonClientException If any internal errors are encountered
696+
* inside the client while attempting to make the request or
697+
* handle the response. For example if a network connection is
698+
* not available.
699+
* @throws AmazonServiceException If an error response is returned by Amazon
700+
* Connect indicating either a problem with the data in the
701+
* request, or a server side issue.
702+
*/
703+
void deleteHoursOfOperation(DeleteHoursOfOperationRequest deleteHoursOfOperationRequest)
704+
throws AmazonClientException, AmazonServiceException;
705+
618706
/**
619707
* <p>
620708
* This API is in preview release for Amazon Connect and is subject to
@@ -765,6 +853,36 @@ void deleteUser(DeleteUserRequest deleteUserRequest) throws AmazonClientExceptio
765853
void deleteUserHierarchyGroup(DeleteUserHierarchyGroupRequest deleteUserHierarchyGroupRequest)
766854
throws AmazonClientException, AmazonServiceException;
767855

856+
/**
857+
* <p>
858+
* This API is in preview release for Amazon Connect and is subject to
859+
* change.
860+
* </p>
861+
* <p>
862+
* Describes an agent status.
863+
* </p>
864+
*
865+
* @param describeAgentStatusRequest
866+
* @return describeAgentStatusResult The response from the
867+
* DescribeAgentStatus service method, as returned by Amazon
868+
* Connect.
869+
* @throws InvalidRequestException
870+
* @throws InvalidParameterException
871+
* @throws ResourceNotFoundException
872+
* @throws ThrottlingException
873+
* @throws InternalServiceException
874+
* @throws AmazonClientException If any internal errors are encountered
875+
* inside the client while attempting to make the request or
876+
* handle the response. For example if a network connection is
877+
* not available.
878+
* @throws AmazonServiceException If an error response is returned by Amazon
879+
* Connect indicating either a problem with the data in the
880+
* request, or a server side issue.
881+
*/
882+
DescribeAgentStatusResult describeAgentStatus(
883+
DescribeAgentStatusRequest describeAgentStatusRequest) throws AmazonClientException,
884+
AmazonServiceException;
885+
768886
/**
769887
* <p>
770888
* Describes the specified contact flow.
@@ -1416,6 +1534,34 @@ GetFederationTokenResult getFederationToken(GetFederationTokenRequest getFederat
14161534
GetMetricDataResult getMetricData(GetMetricDataRequest getMetricDataRequest)
14171535
throws AmazonClientException, AmazonServiceException;
14181536

1537+
/**
1538+
* <p>
1539+
* This API is in preview release for Amazon Connect and is subject to
1540+
* change.
1541+
* </p>
1542+
* <p>
1543+
* Lists agent statuses.
1544+
* </p>
1545+
*
1546+
* @param listAgentStatusesRequest
1547+
* @return listAgentStatusesResult The response from the ListAgentStatuses
1548+
* service method, as returned by Amazon Connect.
1549+
* @throws InvalidRequestException
1550+
* @throws InvalidParameterException
1551+
* @throws ResourceNotFoundException
1552+
* @throws ThrottlingException
1553+
* @throws InternalServiceException
1554+
* @throws AmazonClientException If any internal errors are encountered
1555+
* inside the client while attempting to make the request or
1556+
* handle the response. For example if a network connection is
1557+
* not available.
1558+
* @throws AmazonServiceException If an error response is returned by Amazon
1559+
* Connect indicating either a problem with the data in the
1560+
* request, or a server side issue.
1561+
*/
1562+
ListAgentStatusesResult listAgentStatuses(ListAgentStatusesRequest listAgentStatusesRequest)
1563+
throws AmazonClientException, AmazonServiceException;
1564+
14191565
/**
14201566
* <p>
14211567
* This API is in preview release for Amazon Connect and is subject to
@@ -2405,7 +2551,7 @@ SuspendContactRecordingResult suspendContactRecording(
24052551
* </p>
24062552
* <p>
24072553
* The supported resource types are users, routing profiles, queues, quick
2408-
* connects, and contact flows.
2554+
* connects, contact flows, agent status, and hours of operation.
24092555
* </p>
24102556
* <p>
24112557
* For sample policies that use tags, see <a href=
@@ -2453,6 +2599,34 @@ void tagResource(TagResourceRequest tagResourceRequest) throws AmazonClientExcep
24532599
void untagResource(UntagResourceRequest untagResourceRequest) throws AmazonClientException,
24542600
AmazonServiceException;
24552601

2602+
/**
2603+
* <p>
2604+
* This API is in preview release for Amazon Connect and is subject to
2605+
* change.
2606+
* </p>
2607+
* <p>
2608+
* Updates agent status.
2609+
* </p>
2610+
*
2611+
* @param updateAgentStatusRequest
2612+
* @throws InvalidRequestException
2613+
* @throws InvalidParameterException
2614+
* @throws DuplicateResourceException
2615+
* @throws ResourceNotFoundException
2616+
* @throws LimitExceededException
2617+
* @throws ThrottlingException
2618+
* @throws InternalServiceException
2619+
* @throws AmazonClientException If any internal errors are encountered
2620+
* inside the client while attempting to make the request or
2621+
* handle the response. For example if a network connection is
2622+
* not available.
2623+
* @throws AmazonServiceException If an error response is returned by Amazon
2624+
* Connect indicating either a problem with the data in the
2625+
* request, or a server side issue.
2626+
*/
2627+
void updateAgentStatus(UpdateAgentStatusRequest updateAgentStatusRequest)
2628+
throws AmazonClientException, AmazonServiceException;
2629+
24562630
/**
24572631
* <p>
24582632
* Creates or updates user-defined contact attributes associated with the
@@ -2562,6 +2736,33 @@ void updateContactFlowContent(UpdateContactFlowContentRequest updateContactFlowC
25622736
void updateContactFlowName(UpdateContactFlowNameRequest updateContactFlowNameRequest)
25632737
throws AmazonClientException, AmazonServiceException;
25642738

2739+
/**
2740+
* <p>
2741+
* This API is in preview release for Amazon Connect and is subject to
2742+
* change.
2743+
* </p>
2744+
* <p>
2745+
* Updates the hours of operation.
2746+
* </p>
2747+
*
2748+
* @param updateHoursOfOperationRequest
2749+
* @throws DuplicateResourceException
2750+
* @throws InvalidRequestException
2751+
* @throws InvalidParameterException
2752+
* @throws ResourceNotFoundException
2753+
* @throws ThrottlingException
2754+
* @throws InternalServiceException
2755+
* @throws AmazonClientException If any internal errors are encountered
2756+
* inside the client while attempting to make the request or
2757+
* handle the response. For example if a network connection is
2758+
* not available.
2759+
* @throws AmazonServiceException If an error response is returned by Amazon
2760+
* Connect indicating either a problem with the data in the
2761+
* request, or a server side issue.
2762+
*/
2763+
void updateHoursOfOperation(UpdateHoursOfOperationRequest updateHoursOfOperationRequest)
2764+
throws AmazonClientException, AmazonServiceException;
2765+
25652766
/**
25662767
* <p>
25672768
* This API is in preview release for Amazon Connect and is subject to

0 commit comments

Comments
 (0)