diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnect.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnect.java index b8c80edbdc..e00e406ef9 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnect.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnect.java @@ -806,6 +806,14 @@ CreatePromptResult createPrompt(CreatePromptRequest createPromptRequest) * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param createQueueRequest @@ -1361,6 +1369,29 @@ void deleteIntegrationAssociation( void deletePrompt(DeletePromptRequest deletePromptRequest) throws AmazonClientException, AmazonServiceException; + /** + *

+ * Deletes a queue. + *

+ * + * @param deleteQueueRequest + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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 deleteQueue(DeleteQueueRequest deleteQueueRequest) throws AmazonClientException, + AmazonServiceException; + /** *

* Deletes a quick connect. @@ -1383,6 +1414,29 @@ void deletePrompt(DeletePromptRequest deletePromptRequest) throws AmazonClientEx void deleteQuickConnect(DeleteQuickConnectRequest deleteQuickConnectRequest) throws AmazonClientException, AmazonServiceException; + /** + *

+ * Deletes a routing profile. + *

+ * + * @param deleteRoutingProfileRequest + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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 deleteRoutingProfile(DeleteRoutingProfileRequest deleteRoutingProfileRequest) + throws AmazonClientException, AmazonServiceException; + /** *

* Deletes a rule for the specified Amazon Connect instance. @@ -4061,10 +4115,6 @@ SearchPromptsResult searchPrompts(SearchPromptsRequest searchPromptsRequest) throws AmazonClientException, AmazonServiceException; /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches queues in an Amazon Connect instance, with optional filtering. *

@@ -4142,10 +4192,6 @@ SearchResourceTagsResult searchResourceTags(SearchResourceTagsRequest searchReso throws AmazonClientException, AmazonServiceException; /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches routing profiles in an Amazon Connect instance, with optional * filtering. @@ -4173,10 +4219,6 @@ SearchRoutingProfilesResult searchRoutingProfiles( throws AmazonClientException, AmazonServiceException; /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches security profiles in an Amazon Connect instance, with optional * filtering. @@ -5480,6 +5522,14 @@ void updateQueueName(UpdateQueueNameRequest updateQueueNameRequest) * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param updateQueueOutboundCallerConfigRequest @@ -5572,6 +5622,31 @@ void updateQuickConnectConfig(UpdateQuickConnectConfigRequest updateQuickConnect void updateQuickConnectName(UpdateQuickConnectNameRequest updateQuickConnectNameRequest) throws AmazonClientException, AmazonServiceException; + /** + *

+ * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ * + * @param updateRoutingProfileAgentAvailabilityTimerRequest + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ThrottlingException + * @throws InternalServiceException + * @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 updateRoutingProfileAgentAvailabilityTimer( + UpdateRoutingProfileAgentAvailabilityTimerRequest updateRoutingProfileAgentAvailabilityTimerRequest) + throws AmazonClientException, AmazonServiceException; + /** *

* Updates the channels that agents can handle in the Contact Control Panel diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsync.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsync.java index 42aff0b82b..172d346786 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsync.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsync.java @@ -1582,6 +1582,14 @@ Future createPromptAsync(CreatePromptRequest createPromptReq * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param createQueueRequest @@ -1628,6 +1636,14 @@ Future createQueueAsync(CreateQueueRequest createQueueRequest * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param createQueueRequest @@ -2859,6 +2875,61 @@ Future deletePromptAsync(DeletePromptRequest deletePromptRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; + /** + *

+ * Deletes a queue. + *

+ * + * @param deleteQueueRequest + * @return A Java Future object containing the response from the DeleteQueue + * service method, as returned by Amazon Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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 deleteQueueAsync(DeleteQueueRequest deleteQueueRequest) + throws AmazonServiceException, AmazonClientException; + + /** + *

+ * Deletes a queue. + *

+ * + * @param deleteQueueRequest + * @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 DeleteQueue + * service method, as returned by Amazon Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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 deleteQueueAsync(DeleteQueueRequest deleteQueueRequest, + AsyncHandler asyncHandler) throws AmazonServiceException, + AmazonClientException; + /** *

* Deletes a quick connect. @@ -2912,6 +2983,63 @@ Future deleteQuickConnectAsync(DeleteQuickConnectRequest deleteQuickConnec AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; + /** + *

+ * Deletes a routing profile. + *

+ * + * @param deleteRoutingProfileRequest + * @return A Java Future object containing the response from the + * DeleteRoutingProfile service method, as returned by Amazon + * Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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 deleteRoutingProfileAsync(DeleteRoutingProfileRequest deleteRoutingProfileRequest) + throws AmazonServiceException, AmazonClientException; + + /** + *

+ * Deletes a routing profile. + *

+ * + * @param deleteRoutingProfileRequest + * @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 + * DeleteRoutingProfile service method, as returned by Amazon + * Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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 deleteRoutingProfileAsync(DeleteRoutingProfileRequest deleteRoutingProfileRequest, + AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException; + /** *

* Deletes a rule for the specified Amazon Connect instance. @@ -8844,10 +8972,6 @@ Future searchPromptsAsync(SearchPromptsRequest searchPrompt throws AmazonServiceException, AmazonClientException; /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches queues in an Amazon Connect instance, with optional filtering. *

@@ -8872,10 +8996,6 @@ Future searchQueuesAsync(SearchQueuesRequest searchQueuesReq throws AmazonServiceException, AmazonClientException; /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches queues in an Amazon Connect instance, with optional filtering. *

@@ -9023,10 +9143,6 @@ Future searchResourceTagsAsync( throws AmazonServiceException, AmazonClientException; /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches routing profiles in an Amazon Connect instance, with optional * filtering. @@ -9054,10 +9170,6 @@ Future searchRoutingProfilesAsync( throws AmazonServiceException, AmazonClientException; /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches routing profiles in an Amazon Connect instance, with optional * filtering. @@ -9090,10 +9202,6 @@ Future searchRoutingProfilesAsync( throws AmazonServiceException, AmazonClientException; /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches security profiles in an Amazon Connect instance, with optional * filtering. @@ -9121,10 +9229,6 @@ Future searchSecurityProfilesAsync( throws AmazonServiceException, AmazonClientException; /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches security profiles in an Amazon Connect instance, with optional * filtering. @@ -11927,6 +12031,14 @@ Future updateQueueNameAsync(UpdateQueueNameRequest updateQueueNameRequest, * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param updateQueueOutboundCallerConfigRequest @@ -11974,6 +12086,14 @@ Future updateQueueOutboundCallerConfigAsync( * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param updateQueueOutboundCallerConfigRequest @@ -12181,6 +12301,67 @@ Future updateQuickConnectNameAsync( AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; + /** + *

+ * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ * + * @param updateRoutingProfileAgentAvailabilityTimerRequest + * @return A Java Future object containing the response from the + * UpdateRoutingProfileAgentAvailabilityTimer service method, as + * returned by Amazon Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ThrottlingException + * @throws InternalServiceException + * @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 updateRoutingProfileAgentAvailabilityTimerAsync( + UpdateRoutingProfileAgentAvailabilityTimerRequest updateRoutingProfileAgentAvailabilityTimerRequest) + throws AmazonServiceException, AmazonClientException; + + /** + *

+ * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ * + * @param updateRoutingProfileAgentAvailabilityTimerRequest + * @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 + * UpdateRoutingProfileAgentAvailabilityTimer service method, as + * returned by Amazon Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ThrottlingException + * @throws InternalServiceException + * @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 updateRoutingProfileAgentAvailabilityTimerAsync( + UpdateRoutingProfileAgentAvailabilityTimerRequest updateRoutingProfileAgentAvailabilityTimerRequest, + AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException; + /** *

* Updates the channels that agents can handle in the Contact Control Panel diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsyncClient.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsyncClient.java index 2cf9b27683..f8e4fb1da7 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsyncClient.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsyncClient.java @@ -2155,6 +2155,14 @@ public CreatePromptResult call() throws Exception { * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param createQueueRequest @@ -2207,6 +2215,14 @@ public CreateQueueResult call() throws Exception { * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param createQueueRequest @@ -3762,6 +3778,78 @@ public Void call() throws Exception { }); } + /** + *

+ * Deletes a queue. + *

+ * + * @param deleteQueueRequest + * @return A Java Future object containing the response from the DeleteQueue + * service method, as returned by Amazon Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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. + */ + public Future deleteQueueAsync(final DeleteQueueRequest deleteQueueRequest) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Void call() throws Exception { + deleteQueue(deleteQueueRequest); + return null; + } + }); + } + + /** + *

+ * Deletes a queue. + *

+ * + * @param deleteQueueRequest + * @return A Java Future object containing the response from the DeleteQueue + * service method, as returned by Amazon Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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. + */ + public Future deleteQueueAsync(final DeleteQueueRequest deleteQueueRequest, + final AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Void call() throws Exception { + Void result = null; + try { + deleteQueue(deleteQueueRequest); + } catch (Exception ex) { + asyncHandler.onError(ex); + throw ex; + } + asyncHandler.onSuccess(deleteQueueRequest, result); + return result; + } + }); + } + /** *

* Deletes a quick connect. @@ -3834,6 +3922,82 @@ public Void call() throws Exception { }); } + /** + *

+ * Deletes a routing profile. + *

+ * + * @param deleteRoutingProfileRequest + * @return A Java Future object containing the response from the + * DeleteRoutingProfile service method, as returned by Amazon + * Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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. + */ + public Future deleteRoutingProfileAsync( + final DeleteRoutingProfileRequest deleteRoutingProfileRequest) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Void call() throws Exception { + deleteRoutingProfile(deleteRoutingProfileRequest); + return null; + } + }); + } + + /** + *

+ * Deletes a routing profile. + *

+ * + * @param deleteRoutingProfileRequest + * @return A Java Future object containing the response from the + * DeleteRoutingProfile service method, as returned by Amazon + * Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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. + */ + public Future deleteRoutingProfileAsync( + final DeleteRoutingProfileRequest deleteRoutingProfileRequest, + final AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Void call() throws Exception { + Void result = null; + try { + deleteRoutingProfile(deleteRoutingProfileRequest); + } catch (Exception ex) { + asyncHandler.onError(ex); + throw ex; + } + asyncHandler.onSuccess(deleteRoutingProfileRequest, result); + return result; + } + }); + } + /** *

* Deletes a rule for the specified Amazon Connect instance. @@ -11282,10 +11446,6 @@ public SearchPromptsResult call() throws Exception { } /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches queues in an Amazon Connect instance, with optional filtering. *

@@ -11317,10 +11477,6 @@ public SearchQueuesResult call() throws Exception { } /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches queues in an Amazon Connect instance, with optional filtering. *

@@ -11511,10 +11667,6 @@ public SearchResourceTagsResult call() throws Exception { } /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches routing profiles in an Amazon Connect instance, with optional * filtering. @@ -11548,10 +11700,6 @@ public SearchRoutingProfilesResult call() throws Exception { } /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches routing profiles in an Amazon Connect instance, with optional * filtering. @@ -11594,10 +11742,6 @@ public SearchRoutingProfilesResult call() throws Exception { } /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches security profiles in an Amazon Connect instance, with optional * filtering. @@ -11631,10 +11775,6 @@ public SearchSecurityProfilesResult call() throws Exception { } /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches security profiles in an Amazon Connect instance, with optional * filtering. @@ -15039,6 +15179,14 @@ public Void call() throws Exception { * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param updateQueueOutboundCallerConfigRequest @@ -15093,6 +15241,14 @@ public Void call() throws Exception { * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param updateQueueOutboundCallerConfigRequest @@ -15363,6 +15519,84 @@ public Void call() throws Exception { }); } + /** + *

+ * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ * + * @param updateRoutingProfileAgentAvailabilityTimerRequest + * @return A Java Future object containing the response from the + * UpdateRoutingProfileAgentAvailabilityTimer service method, as + * returned by Amazon Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ThrottlingException + * @throws InternalServiceException + * @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. + */ + public Future updateRoutingProfileAgentAvailabilityTimerAsync( + final UpdateRoutingProfileAgentAvailabilityTimerRequest updateRoutingProfileAgentAvailabilityTimerRequest) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Void call() throws Exception { + updateRoutingProfileAgentAvailabilityTimer(updateRoutingProfileAgentAvailabilityTimerRequest); + return null; + } + }); + } + + /** + *

+ * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ * + * @param updateRoutingProfileAgentAvailabilityTimerRequest + * @return A Java Future object containing the response from the + * UpdateRoutingProfileAgentAvailabilityTimer service method, as + * returned by Amazon Connect. + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ThrottlingException + * @throws InternalServiceException + * @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. + */ + public Future updateRoutingProfileAgentAvailabilityTimerAsync( + final UpdateRoutingProfileAgentAvailabilityTimerRequest updateRoutingProfileAgentAvailabilityTimerRequest, + final AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Void call() throws Exception { + Void result = null; + try { + updateRoutingProfileAgentAvailabilityTimer(updateRoutingProfileAgentAvailabilityTimerRequest); + } catch (Exception ex) { + asyncHandler.onError(ex); + throw ex; + } + asyncHandler.onSuccess(updateRoutingProfileAgentAvailabilityTimerRequest, result); + return result; + } + }); + } + /** *

* Updates the channels that agents can handle in the Contact Control Panel diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectClient.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectClient.java index 1a1ac5474e..b714a4efad 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectClient.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectClient.java @@ -1618,6 +1618,14 @@ public CreatePromptResult createPrompt(CreatePromptRequest createPromptRequest) * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param createQueueRequest @@ -2680,6 +2688,50 @@ public void deletePrompt(DeletePromptRequest deletePromptRequest) } } + /** + *

+ * Deletes a queue. + *

+ * + * @param deleteQueueRequest + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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. + */ + public void deleteQueue(DeleteQueueRequest deleteQueueRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(deleteQueueRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request request = null; + Response response = null; + try { + awsRequestMetrics.startEvent(Field.RequestMarshallTime); + try { + request = new DeleteQueueRequestMarshaller().marshall(deleteQueueRequest); + // Binds the request metrics to the current request. + request.setAWSRequestMetrics(awsRequestMetrics); + } finally { + awsRequestMetrics.endEvent(Field.RequestMarshallTime); + } + JsonResponseHandler responseHandler = new JsonResponseHandler(null); + invoke(request, responseHandler, executionContext); + } finally { + awsRequestMetrics.endEvent(Field.ClientExecuteTime); + endClientExecution(awsRequestMetrics, request, response, LOGGING_AWS_REQUEST_METRIC); + } + } + /** *

* Deletes a quick connect. @@ -2724,6 +2776,51 @@ public void deleteQuickConnect(DeleteQuickConnectRequest deleteQuickConnectReque } } + /** + *

+ * Deletes a routing profile. + *

+ * + * @param deleteRoutingProfileRequest + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ResourceInUseException + * @throws ThrottlingException + * @throws InternalServiceException + * @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. + */ + public void deleteRoutingProfile(DeleteRoutingProfileRequest deleteRoutingProfileRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(deleteRoutingProfileRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request request = null; + Response response = null; + try { + awsRequestMetrics.startEvent(Field.RequestMarshallTime); + try { + request = new DeleteRoutingProfileRequestMarshaller() + .marshall(deleteRoutingProfileRequest); + // Binds the request metrics to the current request. + request.setAWSRequestMetrics(awsRequestMetrics); + } finally { + awsRequestMetrics.endEvent(Field.RequestMarshallTime); + } + JsonResponseHandler responseHandler = new JsonResponseHandler(null); + invoke(request, responseHandler, executionContext); + } finally { + awsRequestMetrics.endEvent(Field.ClientExecuteTime); + endClientExecution(awsRequestMetrics, request, response, LOGGING_AWS_REQUEST_METRIC); + } + } + /** *

* Deletes a rule for the specified Amazon Connect instance. @@ -7794,10 +7891,6 @@ public SearchPromptsResult searchPrompts(SearchPromptsRequest searchPromptsReque } /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches queues in an Amazon Connect instance, with optional filtering. *

@@ -7956,10 +8049,6 @@ public SearchResourceTagsResult searchResourceTags( } /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches routing profiles in an Amazon Connect instance, with optional * filtering. @@ -8014,10 +8103,6 @@ public SearchRoutingProfilesResult searchRoutingProfiles( } /** - *

- * This API is in preview release for Amazon Connect and is subject to - * change. - *

*

* Searches security profiles in an Amazon Connect instance, with optional * filtering. @@ -10268,6 +10353,14 @@ public void updateQueueName(UpdateQueueNameRequest updateQueueNameRequest) * ARN. If a UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This + * is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* * * @param updateQueueOutboundCallerConfigRequest @@ -10449,6 +10542,53 @@ public void updateQuickConnectName(UpdateQuickConnectNameRequest updateQuickConn } } + /** + *

+ * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ * + * @param updateRoutingProfileAgentAvailabilityTimerRequest + * @throws InvalidRequestException + * @throws InvalidParameterException + * @throws ResourceNotFoundException + * @throws ThrottlingException + * @throws InternalServiceException + * @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. + */ + public void updateRoutingProfileAgentAvailabilityTimer( + UpdateRoutingProfileAgentAvailabilityTimerRequest updateRoutingProfileAgentAvailabilityTimerRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(updateRoutingProfileAgentAvailabilityTimerRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request request = null; + Response response = null; + try { + awsRequestMetrics.startEvent(Field.RequestMarshallTime); + try { + request = new UpdateRoutingProfileAgentAvailabilityTimerRequestMarshaller() + .marshall(updateRoutingProfileAgentAvailabilityTimerRequest); + // Binds the request metrics to the current request. + request.setAWSRequestMetrics(awsRequestMetrics); + } finally { + awsRequestMetrics.endEvent(Field.RequestMarshallTime); + } + JsonResponseHandler responseHandler = new JsonResponseHandler(null); + invoke(request, responseHandler, executionContext); + } finally { + awsRequestMetrics.endEvent(Field.ClientExecuteTime); + endClientExecution(awsRequestMetrics, request, response, LOGGING_AWS_REQUEST_METRIC); + } + } + /** *

* Updates the channels that agents can handle in the Contact Control Panel diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AgentAvailabilityTimer.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AgentAvailabilityTimer.java new file mode 100644 index 0000000000..9e199dc864 --- /dev/null +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AgentAvailabilityTimer.java @@ -0,0 +1,62 @@ +/* + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.connect.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Agent Availability Timer + */ +public enum AgentAvailabilityTimer { + + TIME_SINCE_LAST_ACTIVITY("TIME_SINCE_LAST_ACTIVITY"), + TIME_SINCE_LAST_INBOUND("TIME_SINCE_LAST_INBOUND"); + + private String value; + + private AgentAvailabilityTimer(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map enumMap; + static { + enumMap = new HashMap(); + enumMap.put("TIME_SINCE_LAST_ACTIVITY", TIME_SINCE_LAST_ACTIVITY); + enumMap.put("TIME_SINCE_LAST_INBOUND", TIME_SINCE_LAST_INBOUND); + } + + /** + * Use this in place of valueOf. + * + * @param value real value + * @return AgentAvailabilityTimer corresponding to the value + */ + public static AgentAvailabilityTimer fromValue(String value) { + if (value == null || value.isEmpty()) { + throw new IllegalArgumentException("Value cannot be null or empty!"); + } else if (enumMap.containsKey(value)) { + return enumMap.get(value); + } else { + throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); + } + } +} diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AvailableNumberSummary.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AvailableNumberSummary.java index 4b3181aafb..809acafc84 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AvailableNumberSummary.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AvailableNumberSummary.java @@ -63,7 +63,8 @@ public class AvailableNumberSummary implements Serializable { *

*

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID */ private String phoneNumberType; @@ -299,7 +300,8 @@ public AvailableNumberSummary withPhoneNumberCountryCode( *

*

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @return

* The type of phone number. @@ -316,7 +318,8 @@ public String getPhoneNumberType() { *

*

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

* The type of phone number. @@ -336,7 +339,8 @@ public void setPhoneNumberType(String phoneNumberType) { * together. *

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

* The type of phone number. @@ -356,7 +360,8 @@ public AvailableNumberSummary withPhoneNumberType(String phoneNumberType) { *

*

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

* The type of phone number. @@ -376,7 +381,8 @@ public void setPhoneNumberType(PhoneNumberType phoneNumberType) { * together. *

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

* The type of phone number. diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ClaimedPhoneNumberSummary.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ClaimedPhoneNumberSummary.java index e09c7b0f4f..18166aa0b5 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ClaimedPhoneNumberSummary.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ClaimedPhoneNumberSummary.java @@ -78,7 +78,8 @@ public class ClaimedPhoneNumberSummary implements Serializable { *

*

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID */ private String phoneNumberType; @@ -483,7 +484,8 @@ public ClaimedPhoneNumberSummary withPhoneNumberCountryCode( *

*

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @return

* The type of phone number. @@ -500,7 +502,8 @@ public String getPhoneNumberType() { *

*

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

* The type of phone number. @@ -520,7 +523,8 @@ public void setPhoneNumberType(String phoneNumberType) { * together. *

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

* The type of phone number. @@ -540,7 +544,8 @@ public ClaimedPhoneNumberSummary withPhoneNumberType(String phoneNumberType) { *

*

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

* The type of phone number. @@ -560,7 +565,8 @@ public void setPhoneNumberType(PhoneNumberType phoneNumberType) { * together. *

* Constraints:
- * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

* The type of phone number. diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateQueueRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateQueueRequest.java index e1c29f8622..b531aa24f4 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateQueueRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateQueueRequest.java @@ -41,6 +41,14 @@ * UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

+ *

+ * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is + * the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

* */ public class CreateQueueRequest extends AmazonWebServiceRequest implements Serializable { diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateRoutingProfileRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateRoutingProfileRequest.java index f6104f7a17..713bf2774d 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateRoutingProfileRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateRoutingProfileRequest.java @@ -97,6 +97,18 @@ public class CreateRoutingProfileRequest extends AmazonWebServiceRequest impleme */ private java.util.Map tags; + /** + *

+ * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ *

+ * Constraints:
+ * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + */ + private String agentAvailabilityTimer; + /** *

* The identifier of the Amazon Connect instance. You can + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ *

+ * Constraints:
+ * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @return

+ * Whether agents with this routing profile will have their routing + * order calculated based on time since their last inbound + * contact or longest idle time. + *

+ * @see AgentAvailabilityTimer + */ + public String getAgentAvailabilityTimer() { + return agentAvailabilityTimer; + } + + /** + *

+ * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ *

+ * Constraints:
+ * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

+ * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

+ * @see AgentAvailabilityTimer + */ + public void setAgentAvailabilityTimer(String agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer; + } + + /** + *

+ * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ *

+ * Returns a reference to this object so that method calls can be chained + * together. + *

+ * Constraints:
+ * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

+ * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

+ * @return A reference to this updated object so that method calls can be + * chained together. + * @see AgentAvailabilityTimer + */ + public CreateRoutingProfileRequest withAgentAvailabilityTimer(String agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer; + return this; + } + + /** + *

+ * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ *

+ * Constraints:
+ * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

+ * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

+ * @see AgentAvailabilityTimer + */ + public void setAgentAvailabilityTimer(AgentAvailabilityTimer agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer.toString(); + } + + /** + *

+ * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

+ *

+ * Returns a reference to this object so that method calls can be chained + * together. + *

+ * Constraints:
+ * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

+ * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

+ * @return A reference to this updated object so that method calls can be + * chained together. + * @see AgentAvailabilityTimer + */ + public CreateRoutingProfileRequest withAgentAvailabilityTimer( + AgentAvailabilityTimer agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer.toString(); + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -681,7 +811,9 @@ public String toString() { if (getMediaConcurrencies() != null) sb.append("MediaConcurrencies: " + getMediaConcurrencies() + ","); if (getTags() != null) - sb.append("Tags: " + getTags()); + sb.append("Tags: " + getTags() + ","); + if (getAgentAvailabilityTimer() != null) + sb.append("AgentAvailabilityTimer: " + getAgentAvailabilityTimer()); sb.append("}"); return sb.toString(); } @@ -704,6 +836,10 @@ public int hashCode() { hashCode = prime * hashCode + ((getMediaConcurrencies() == null) ? 0 : getMediaConcurrencies().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); + hashCode = prime + * hashCode + + ((getAgentAvailabilityTimer() == null) ? 0 : getAgentAvailabilityTimer() + .hashCode()); return hashCode; } @@ -751,6 +887,11 @@ public boolean equals(Object obj) { return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; + if (other.getAgentAvailabilityTimer() == null ^ this.getAgentAvailabilityTimer() == null) + return false; + if (other.getAgentAvailabilityTimer() != null + && other.getAgentAvailabilityTimer().equals(this.getAgentAvailabilityTimer()) == false) + return false; return true; } } diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteQueueRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteQueueRequest.java new file mode 100644 index 0000000000..97045a3255 --- /dev/null +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteQueueRequest.java @@ -0,0 +1,218 @@ +/* + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.connect.model; + +import java.io.Serializable; + +import com.amazonaws.AmazonWebServiceRequest; + +/** + *

+ * Deletes a queue. + *

+ */ +public class DeleteQueueRequest extends AmazonWebServiceRequest implements Serializable { + /** + *

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

+ *

+ * Constraints:
+ * Length: 1 - 100
+ */ + private String instanceId; + + /** + *

+ * The identifier for the queue. + *

+ */ + private String queueId; + + /** + *

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

+ *

+ * Constraints:
+ * Length: 1 - 100
+ * + * @return

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of + * the instance. + *

+ */ + public String getInstanceId() { + return instanceId; + } + + /** + *

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

+ *

+ * Constraints:
+ * Length: 1 - 100
+ * + * @param instanceId

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of + * the instance. + *

+ */ + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + /** + *

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

+ *

+ * Returns a reference to this object so that method calls can be chained + * together. + *

+ * Constraints:
+ * Length: 1 - 100
+ * + * @param instanceId

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of + * the instance. + *

+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public DeleteQueueRequest withInstanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + *

+ * The identifier for the queue. + *

+ * + * @return

+ * The identifier for the queue. + *

+ */ + public String getQueueId() { + return queueId; + } + + /** + *

+ * The identifier for the queue. + *

+ * + * @param queueId

+ * The identifier for the queue. + *

+ */ + public void setQueueId(String queueId) { + this.queueId = queueId; + } + + /** + *

+ * The identifier for the queue. + *

+ *

+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param queueId

+ * The identifier for the queue. + *

+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public DeleteQueueRequest withQueueId(String queueId) { + this.queueId = queueId; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getInstanceId() != null) + sb.append("InstanceId: " + getInstanceId() + ","); + if (getQueueId() != null) + sb.append("QueueId: " + getQueueId()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getInstanceId() == null) ? 0 : getInstanceId().hashCode()); + hashCode = prime * hashCode + ((getQueueId() == null) ? 0 : getQueueId().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof DeleteQueueRequest == false) + return false; + DeleteQueueRequest other = (DeleteQueueRequest) obj; + + if (other.getInstanceId() == null ^ this.getInstanceId() == null) + return false; + if (other.getInstanceId() != null + && other.getInstanceId().equals(this.getInstanceId()) == false) + return false; + if (other.getQueueId() == null ^ this.getQueueId() == null) + return false; + if (other.getQueueId() != null && other.getQueueId().equals(this.getQueueId()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteRoutingProfileRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteRoutingProfileRequest.java new file mode 100644 index 0000000000..c5607c0019 --- /dev/null +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteRoutingProfileRequest.java @@ -0,0 +1,220 @@ +/* + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.connect.model; + +import java.io.Serializable; + +import com.amazonaws.AmazonWebServiceRequest; + +/** + *

+ * Deletes a routing profile. + *

+ */ +public class DeleteRoutingProfileRequest extends AmazonWebServiceRequest implements Serializable { + /** + *

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

+ *

+ * Constraints:
+ * Length: 1 - 100
+ */ + private String instanceId; + + /** + *

+ * The identifier of the routing profile. + *

+ */ + private String routingProfileId; + + /** + *

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

+ *

+ * Constraints:
+ * Length: 1 - 100
+ * + * @return

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of + * the instance. + *

+ */ + public String getInstanceId() { + return instanceId; + } + + /** + *

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

+ *

+ * Constraints:
+ * Length: 1 - 100
+ * + * @param instanceId

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of + * the instance. + *

+ */ + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + /** + *

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

+ *

+ * Returns a reference to this object so that method calls can be chained + * together. + *

+ * Constraints:
+ * Length: 1 - 100
+ * + * @param instanceId

+ * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of + * the instance. + *

+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public DeleteRoutingProfileRequest withInstanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + *

+ * The identifier of the routing profile. + *

+ * + * @return

+ * The identifier of the routing profile. + *

+ */ + public String getRoutingProfileId() { + return routingProfileId; + } + + /** + *

+ * The identifier of the routing profile. + *

+ * + * @param routingProfileId

+ * The identifier of the routing profile. + *

+ */ + public void setRoutingProfileId(String routingProfileId) { + this.routingProfileId = routingProfileId; + } + + /** + *

+ * The identifier of the routing profile. + *

+ *

+ * Returns a reference to this object so that method calls can be chained + * together. + * + * @param routingProfileId

+ * The identifier of the routing profile. + *

+ * @return A reference to this updated object so that method calls can be + * chained together. + */ + public DeleteRoutingProfileRequest withRoutingProfileId(String routingProfileId) { + this.routingProfileId = routingProfileId; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getInstanceId() != null) + sb.append("InstanceId: " + getInstanceId() + ","); + if (getRoutingProfileId() != null) + sb.append("RoutingProfileId: " + getRoutingProfileId()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getInstanceId() == null) ? 0 : getInstanceId().hashCode()); + hashCode = prime * hashCode + + ((getRoutingProfileId() == null) ? 0 : getRoutingProfileId().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof DeleteRoutingProfileRequest == false) + return false; + DeleteRoutingProfileRequest other = (DeleteRoutingProfileRequest) obj; + + if (other.getInstanceId() == null ^ this.getInstanceId() == null) + return false; + if (other.getInstanceId() != null + && other.getInstanceId().equals(this.getInstanceId()) == false) + return false; + if (other.getRoutingProfileId() == null ^ this.getRoutingProfileId() == null) + return false; + if (other.getRoutingProfileId() != null + && other.getRoutingProfileId().equals(this.getRoutingProfileId()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataV2Request.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataV2Request.java index 724d1493d0..4c570cdbb2 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataV2Request.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataV2Request.java @@ -105,6 +105,11 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S * User hierarchy groups *

* + *
  • + *

    + * Feature + *

    + *
  • * *

    * At least one filter must be passed from queues, routing profiles, agents, @@ -129,17 +134,22 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S * AGENT_HIERARCHY_LEVEL_TWO | * AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | - * AGENT_HIERARCHY_LEVEL_FIVE + * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE *

    * *
  • *

    * Filter values: A maximum of 100 filter values are supported in a - * single request. For example, a GetMetricDataV2 request can - * filter by 50 queues, 35 agents, and 15 routing profiles for a total of - * 100 filter values. VOICE, CHAT, and - * TASK are valid filterValue for the - * CHANNEL filter key. + * single request. VOICE, CHAT, and TASK are valid filterValue + * for the CHANNEL filter key. They do not count towards limitation of 100 + * filter values. For example, a GetMetricDataV2 request can filter by 50 + * queues, 35 agents, and 15 routing profiles for a total of 100 filter + * values, along with 3 channel filters. + *

    + *

    + * contact_lens_conversational_analytics is a valid filterValue + * for the FEATURE filter key. It is available only to contacts + * analyzed by Contact Lens conversational analytics. *

    *
  • * @@ -262,6 +272,26 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_AGENT_CONNECTING_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid metric filter key: INITIATION_METHOD. For now, this + * metric only supports the following as INITIATION_METHOD: + * INBOUND | OUTBOUND | CALLBACK | + * API + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, * Agent Hierarchy *

    *
    @@ -281,7 +311,21 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S * Agent Hierarchy *

    * - *
    AVG_HANDLE_TIME
    + *
    AVG_CONTACT_DURATION
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_CONVERSATION_DURATION
    *
    *

    * Unit: Seconds @@ -291,9 +335,13 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S * Agent Hierarchy *

    *
    - *
    AVG_HOLD_TIME
    + *
    AVG_GREETING_TIME_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    @@ -301,6 +349,48 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S * Agent Hierarchy *

    *
    + *
    AVG_HANDLE_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLD_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLDS
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    AVG_INTERACTION_AND_HOLD_TIME
    *
    *

    @@ -317,7 +407,53 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_INTERRUPTIONS_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_INTERRUPTION_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_NON_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy *

    *
    *
    AVG_QUEUE_ANSWER_TIME
    @@ -326,7 +462,53 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_CUSTOMER
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy *

    *
    *
    CONTACTS_ABANDONED
    @@ -348,9 +530,13 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S * Valid metric filter key: INITIATION_METHOD *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature *

    - * + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HANDLED
    *
    *

    @@ -362,9 +548,13 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HOLD_ABANDONS
    *
    *

    @@ -392,9 +582,13 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_TRANSFERRED_OUT_BY_AGENT
    *
    *

    @@ -760,6 +954,11 @@ public GetMetricDataV2Request withEndTime(java.util.Date endTime) { * User hierarchy groups *

    * + *
  • + *

    + * Feature + *

    + *
  • * *

    * At least one filter must be passed from queues, routing profiles, agents, @@ -784,17 +983,22 @@ public GetMetricDataV2Request withEndTime(java.util.Date endTime) { * AGENT_HIERARCHY_LEVEL_TWO | * AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | - * AGENT_HIERARCHY_LEVEL_FIVE + * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE *

    * *
  • *

    * Filter values: A maximum of 100 filter values are supported in a - * single request. For example, a GetMetricDataV2 request can - * filter by 50 queues, 35 agents, and 15 routing profiles for a total of - * 100 filter values. VOICE, CHAT, and - * TASK are valid filterValue for the - * CHANNEL filter key. + * single request. VOICE, CHAT, and TASK are valid filterValue + * for the CHANNEL filter key. They do not count towards limitation of 100 + * filter values. For example, a GetMetricDataV2 request can filter by 50 + * queues, 35 agents, and 15 routing profiles for a total of 100 filter + * values, along with 3 channel filters. + *

    + *

    + * contact_lens_conversational_analytics is a valid filterValue + * for the FEATURE filter key. It is available only to contacts + * analyzed by Contact Lens conversational analytics. *

    *
  • * @@ -829,6 +1033,11 @@ public GetMetricDataV2Request withEndTime(java.util.Date endTime) { * User hierarchy groups *

    * + *
  • + *

    + * Feature + *

    + *
  • * *

    * At least one filter must be passed from queues, routing profiles, @@ -853,18 +1062,24 @@ public GetMetricDataV2Request withEndTime(java.util.Date endTime) { * AGENT_HIERARCHY_LEVEL_TWO | * AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | - * AGENT_HIERARCHY_LEVEL_FIVE + * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE *

    * *
  • *

    * Filter values: A maximum of 100 filter values are - * supported in a single request. For example, a - * GetMetricDataV2 request can filter by 50 queues, 35 - * agents, and 15 routing profiles for a total of 100 filter values. - * VOICE, CHAT, and TASK are - * valid filterValue for the CHANNEL - * filter key. + * supported in a single request. VOICE, CHAT, and TASK are valid + * filterValue for the CHANNEL filter key. They do not + * count towards limitation of 100 filter values. For example, a + * GetMetricDataV2 request can filter by 50 queues, 35 agents, and + * 15 routing profiles for a total of 100 filter values, along with + * 3 channel filters. + *

    + *

    + * contact_lens_conversational_analytics is a valid + * filterValue for the FEATURE filter key. It is + * available only to contacts analyzed by Contact Lens + * conversational analytics. *

    *
  • * @@ -904,6 +1119,11 @@ public java.util.List getFilters() { * User hierarchy groups *

    * + *
  • + *

    + * Feature + *

    + *
  • * *

    * At least one filter must be passed from queues, routing profiles, agents, @@ -928,17 +1148,22 @@ public java.util.List getFilters() { * AGENT_HIERARCHY_LEVEL_TWO | * AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | - * AGENT_HIERARCHY_LEVEL_FIVE + * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE *

    * *
  • *

    * Filter values: A maximum of 100 filter values are supported in a - * single request. For example, a GetMetricDataV2 request can - * filter by 50 queues, 35 agents, and 15 routing profiles for a total of - * 100 filter values. VOICE, CHAT, and - * TASK are valid filterValue for the - * CHANNEL filter key. + * single request. VOICE, CHAT, and TASK are valid filterValue + * for the CHANNEL filter key. They do not count towards limitation of 100 + * filter values. For example, a GetMetricDataV2 request can filter by 50 + * queues, 35 agents, and 15 routing profiles for a total of 100 filter + * values, along with 3 channel filters. + *

    + *

    + * contact_lens_conversational_analytics is a valid filterValue + * for the FEATURE filter key. It is available only to contacts + * analyzed by Contact Lens conversational analytics. *

    *
  • * @@ -973,6 +1198,11 @@ public java.util.List getFilters() { * User hierarchy groups *

    * + *
  • + *

    + * Feature + *

    + *
  • * *

    * At least one filter must be passed from queues, routing @@ -997,18 +1227,24 @@ public java.util.List getFilters() { * | AGENT_HIERARCHY_LEVEL_TWO | * AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | - * AGENT_HIERARCHY_LEVEL_FIVE + * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE *

    * *
  • *

    * Filter values: A maximum of 100 filter values are - * supported in a single request. For example, a - * GetMetricDataV2 request can filter by 50 queues, - * 35 agents, and 15 routing profiles for a total of 100 filter - * values. VOICE, CHAT, and - * TASK are valid filterValue for the - * CHANNEL filter key. + * supported in a single request. VOICE, CHAT, and TASK are valid + * filterValue for the CHANNEL filter key. They do + * not count towards limitation of 100 filter values. For + * example, a GetMetricDataV2 request can filter by 50 queues, 35 + * agents, and 15 routing profiles for a total of 100 filter + * values, along with 3 channel filters. + *

    + *

    + * contact_lens_conversational_analytics is a valid + * filterValue for the FEATURE filter key. It is + * available only to contacts analyzed by Contact Lens + * conversational analytics. *

    *
  • * @@ -1053,6 +1289,11 @@ public void setFilters(java.util.Collection filters) { * User hierarchy groups *

    * + *
  • + *

    + * Feature + *

    + *
  • * *

    * At least one filter must be passed from queues, routing profiles, agents, @@ -1077,17 +1318,22 @@ public void setFilters(java.util.Collection filters) { * AGENT_HIERARCHY_LEVEL_TWO | * AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | - * AGENT_HIERARCHY_LEVEL_FIVE + * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE *

    * *
  • *

    * Filter values: A maximum of 100 filter values are supported in a - * single request. For example, a GetMetricDataV2 request can - * filter by 50 queues, 35 agents, and 15 routing profiles for a total of - * 100 filter values. VOICE, CHAT, and - * TASK are valid filterValue for the - * CHANNEL filter key. + * single request. VOICE, CHAT, and TASK are valid filterValue + * for the CHANNEL filter key. They do not count towards limitation of 100 + * filter values. For example, a GetMetricDataV2 request can filter by 50 + * queues, 35 agents, and 15 routing profiles for a total of 100 filter + * values, along with 3 channel filters. + *

    + *

    + * contact_lens_conversational_analytics is a valid filterValue + * for the FEATURE filter key. It is available only to contacts + * analyzed by Contact Lens conversational analytics. *

    *
  • * @@ -1125,6 +1371,11 @@ public void setFilters(java.util.Collection filters) { * User hierarchy groups *

    * + *
  • + *

    + * Feature + *

    + *
  • * *

    * At least one filter must be passed from queues, routing @@ -1149,18 +1400,24 @@ public void setFilters(java.util.Collection filters) { * | AGENT_HIERARCHY_LEVEL_TWO | * AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | - * AGENT_HIERARCHY_LEVEL_FIVE + * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE *

    * *
  • *

    * Filter values: A maximum of 100 filter values are - * supported in a single request. For example, a - * GetMetricDataV2 request can filter by 50 queues, - * 35 agents, and 15 routing profiles for a total of 100 filter - * values. VOICE, CHAT, and - * TASK are valid filterValue for the - * CHANNEL filter key. + * supported in a single request. VOICE, CHAT, and TASK are valid + * filterValue for the CHANNEL filter key. They do + * not count towards limitation of 100 filter values. For + * example, a GetMetricDataV2 request can filter by 50 queues, 35 + * agents, and 15 routing profiles for a total of 100 filter + * values, along with 3 channel filters. + *

    + *

    + * contact_lens_conversational_analytics is a valid + * filterValue for the FEATURE filter key. It is + * available only to contacts analyzed by Contact Lens + * conversational analytics. *

    *
  • * @@ -1208,6 +1465,11 @@ public GetMetricDataV2Request withFilters(FilterV2... filters) { * User hierarchy groups *

    * + *
  • + *

    + * Feature + *

    + *
  • * *

    * At least one filter must be passed from queues, routing profiles, agents, @@ -1232,17 +1494,22 @@ public GetMetricDataV2Request withFilters(FilterV2... filters) { * AGENT_HIERARCHY_LEVEL_TWO | * AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | - * AGENT_HIERARCHY_LEVEL_FIVE + * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE *

    * *
  • *

    * Filter values: A maximum of 100 filter values are supported in a - * single request. For example, a GetMetricDataV2 request can - * filter by 50 queues, 35 agents, and 15 routing profiles for a total of - * 100 filter values. VOICE, CHAT, and - * TASK are valid filterValue for the - * CHANNEL filter key. + * single request. VOICE, CHAT, and TASK are valid filterValue + * for the CHANNEL filter key. They do not count towards limitation of 100 + * filter values. For example, a GetMetricDataV2 request can filter by 50 + * queues, 35 agents, and 15 routing profiles for a total of 100 filter + * values, along with 3 channel filters. + *

    + *

    + * contact_lens_conversational_analytics is a valid filterValue + * for the FEATURE filter key. It is available only to contacts + * analyzed by Contact Lens conversational analytics. *

    *
  • * @@ -1280,6 +1547,11 @@ public GetMetricDataV2Request withFilters(FilterV2... filters) { * User hierarchy groups *

    * + *
  • + *

    + * Feature + *

    + *
  • * *

    * At least one filter must be passed from queues, routing @@ -1304,18 +1576,24 @@ public GetMetricDataV2Request withFilters(FilterV2... filters) { * | AGENT_HIERARCHY_LEVEL_TWO | * AGENT_HIERARCHY_LEVEL_THREE | * AGENT_HIERARCHY_LEVEL_FOUR | - * AGENT_HIERARCHY_LEVEL_FIVE + * AGENT_HIERARCHY_LEVEL_FIVE | FEATURE *

    * *
  • *

    * Filter values: A maximum of 100 filter values are - * supported in a single request. For example, a - * GetMetricDataV2 request can filter by 50 queues, - * 35 agents, and 15 routing profiles for a total of 100 filter - * values. VOICE, CHAT, and - * TASK are valid filterValue for the - * CHANNEL filter key. + * supported in a single request. VOICE, CHAT, and TASK are valid + * filterValue for the CHANNEL filter key. They do + * not count towards limitation of 100 filter values. For + * example, a GetMetricDataV2 request can filter by 50 queues, 35 + * agents, and 15 routing profiles for a total of 100 filter + * values, along with 3 channel filters. + *

    + *

    + * contact_lens_conversational_analytics is a valid + * filterValue for the FEATURE filter key. It is + * available only to contacts analyzed by Contact Lens + * conversational analytics. *

    *
  • * @@ -1622,9 +1900,13 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    AVG_AGENT_CONNECTING_TIME
    *
    *

    @@ -1641,27 +1923,37 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin * Agent Hierarchy *

    *
    - *
    AVG_HANDLE_TIME
    + *
    AVG_AGENT_CONNECTING_TIME
    *
    *

    * Unit: Seconds *

    *

    + * Valid metric filter key: INITIATION_METHOD. For now, this + * metric only supports the following as INITIATION_METHOD: + * INBOUND | OUTBOUND | CALLBACK | + * API + *

    + *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, * Agent Hierarchy *

    *
    - *
    AVG_HOLD_TIME
    + *
    AVG_CONTACT_DURATION
    *
    *

    * Unit: Seconds *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    - *
    AVG_INTERACTION_AND_HOLD_TIME
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_CONVERSATION_DURATION
    *
    *

    * Unit: Seconds @@ -1671,63 +1963,92 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin * Agent Hierarchy *

    *
    - *
    AVG_INTERACTION_TIME
    + *
    AVG_GREETING_TIME_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy *

    *
    - *
    AVG_QUEUE_ANSWER_TIME
    + *
    AVG_HANDLE_TIME
    *
    *

    * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature *

    - *
    - *
    CONTACTS_ABANDONED
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLD_TIME
    *
    *

    - * Unit: Count + * Unit: Seconds *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    - *
    CONTACTS_CREATED
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLDS
    *
    *

    * Unit: Count *

    *

    - * Valid metric filter key: INITIATION_METHOD + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature *

    + * *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Feature is a valid filter but not a valid grouping. *

    - *
    - *
    CONTACTS_HANDLED
    + * + *
    AVG_INTERACTION_AND_HOLD_TIME
    *
    *

    - * Unit: Count - *

    - *

    - * Valid metric filter key: INITIATION_METHOD, - * DISCONNECT_REASON + * Unit: Seconds *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, * Agent Hierarchy *

    *
    - *
    CONTACTS_HOLD_ABANDONS
    + *
    AVG_INTERACTION_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_INTERRUPTIONS_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    * Unit: Count *

    *

    @@ -1735,7 +2056,90 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin * Agent Hierarchy *

    *
    - *
    CONTACTS_QUEUED
    + *
    AVG_INTERRUPTION_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_NON_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_QUEUE_ANSWER_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_CUSTOMER
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    CONTACTS_ABANDONED
    *
    *

    * Unit: Count @@ -1745,7 +2149,51 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin * Agent Hierarchy *

    *
    - *
    CONTACTS_TRANSFERRED_OUT
    + *
    CONTACTS_CREATED
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid metric filter key: INITIATION_METHOD + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    CONTACTS_HANDLED
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid metric filter key: INITIATION_METHOD, + * DISCONNECT_REASON + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    CONTACTS_HOLD_ABANDONS
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    CONTACTS_QUEUED
    *
    *

    * Unit: Count @@ -1755,6 +2203,20 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin * Agent Hierarchy *

    *
    + *
    CONTACTS_TRANSFERRED_OUT
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_TRANSFERRED_OUT_BY_AGENT
    *
    *

    @@ -1947,6 +2409,26 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_AGENT_CONNECTING_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid metric filter key: INITIATION_METHOD. For now, + * this metric only supports the following as + * INITIATION_METHOD: INBOUND | + * OUTBOUND | CALLBACK | API + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy *

    *
    @@ -1966,7 +2448,21 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin * Agent, Agent Hierarchy *

    * - *
    AVG_HANDLE_TIME
    + *
    AVG_CONTACT_DURATION
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_CONVERSATION_DURATION
    *
    *

    * Unit: Seconds @@ -1976,9 +2472,13 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin * Agent, Agent Hierarchy *

    *
    - *
    AVG_HOLD_TIME
    + *
    AVG_GREETING_TIME_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    @@ -1986,6 +2486,48 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin * Agent, Agent Hierarchy *

    *
    + *
    AVG_HANDLE_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLD_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLDS
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    AVG_INTERACTION_AND_HOLD_TIME
    *
    *

    @@ -2002,7 +2544,54 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_INTERRUPTIONS_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_INTERRUPTION_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_NON_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy *

    *
    *
    AVG_QUEUE_ANSWER_TIME
    @@ -2011,7 +2600,54 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_CUSTOMER
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy *

    *
    *
    CONTACTS_ABANDONED
    @@ -2033,9 +2669,14 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin * Valid metric filter key: INITIATION_METHOD *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature *

    - * + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HANDLED
    *
    *

    @@ -2047,9 +2688,13 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, - * Agent, Agent Hierarchy + * Agent, Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HOLD_ABANDONS
    *
    *

    @@ -2077,9 +2722,13 @@ public GetMetricDataV2Request withGroupings(java.util.Collection groupin *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, - * Agent, Agent Hierarchy + * Agent, Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_TRANSFERRED_OUT_BY_AGENT
    *
    *

    @@ -2279,6 +2928,26 @@ public java.util.List getMetrics() { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_AGENT_CONNECTING_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid metric filter key: INITIATION_METHOD. For now, this + * metric only supports the following as INITIATION_METHOD: + * INBOUND | OUTBOUND | CALLBACK | + * API + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, * Agent Hierarchy *

    *
    @@ -2298,7 +2967,21 @@ public java.util.List getMetrics() { * Agent Hierarchy *

    * - *
    AVG_HANDLE_TIME
    + *
    AVG_CONTACT_DURATION
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_CONVERSATION_DURATION
    *
    *

    * Unit: Seconds @@ -2308,9 +2991,13 @@ public java.util.List getMetrics() { * Agent Hierarchy *

    *
    - *
    AVG_HOLD_TIME
    + *
    AVG_GREETING_TIME_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    @@ -2318,6 +3005,48 @@ public java.util.List getMetrics() { * Agent Hierarchy *

    *
    + *
    AVG_HANDLE_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLD_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLDS
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    AVG_INTERACTION_AND_HOLD_TIME
    *
    *

    @@ -2334,7 +3063,53 @@ public java.util.List getMetrics() { * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_INTERRUPTIONS_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_INTERRUPTION_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_NON_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy *

    *
    *
    AVG_QUEUE_ANSWER_TIME
    @@ -2343,7 +3118,53 @@ public java.util.List getMetrics() { * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_CUSTOMER
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy *

    *
    *
    CONTACTS_ABANDONED
    @@ -2365,9 +3186,13 @@ public java.util.List getMetrics() { * Valid metric filter key: INITIATION_METHOD *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature *

    - * + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HANDLED
    *
    *

    @@ -2379,9 +3204,13 @@ public java.util.List getMetrics() { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HOLD_ABANDONS
    *
    *

    @@ -2409,9 +3238,13 @@ public java.util.List getMetrics() { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_TRANSFERRED_OUT_BY_AGENT
    *
    *

    @@ -2536,51 +3369,147 @@ public java.util.List getMetrics() { * Agent, Agent Hierarchy *

    *
    - *
    AGENT_NON_RESPONSE
    + *
    AGENT_NON_RESPONSE
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AGENT_OCCUPANCY
    + *
    + *

    + * Unit: Percentage + *

    + *

    + * Valid groupings and filters: Routing Profile, Agent, Agent + * Hierarchy + *

    + *
    + *
    AGENT_SCHEDULE_ADHERENCE
    + *
    + *

    + * This metric is available only in Amazon Web Services Regions + * where Forecasting, capacity planning, and scheduling is + * available. + *

    + *

    + * Unit: Percent + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AGENT_SCHEDULED_TIME
    + *
    + *

    + * This metric is available only in Amazon Web Services Regions + * where Forecasting, capacity planning, and scheduling is + * available. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_ABANDON_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_AFTER_CONTACT_WORK_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_AGENT_CONNECTING_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid metric filter key: INITIATION_METHOD. For + * now, this metric only supports the following as + * INITIATION_METHOD: INBOUND | + * OUTBOUND | CALLBACK | + * API + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_AGENT_CONNECTING_TIME
    *
    *

    - * Unit: Count + * Unit: Seconds + *

    + *

    + * Valid metric filter key: INITIATION_METHOD. For + * now, this metric only supports the following as + * INITIATION_METHOD: INBOUND | + * OUTBOUND | CALLBACK | + * API *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy *

    *
    - *
    AGENT_OCCUPANCY
    + *
    AVG_CONTACT_DURATION
    *
    *

    - * Unit: Percentage + * Unit: Seconds *

    *

    - * Valid groupings and filters: Routing Profile, Agent, Agent - * Hierarchy + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature *

    - *
    - *
    AGENT_SCHEDULE_ADHERENCE
    - *
    + * *

    - * This metric is available only in Amazon Web Services Regions - * where Forecasting, capacity planning, and scheduling is - * available. + * Feature is a valid filter but not a valid grouping. *

    + *
    + *
    AVG_CONVERSATION_DURATION
    + *
    *

    - * Unit: Percent + * Unit: Seconds *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy *

    *
    - *
    AGENT_SCHEDULED_TIME
    + *
    AVG_GREETING_TIME_AGENT
    *
    *

    - * This metric is available only in Amazon Web Services Regions - * where Forecasting, capacity planning, and scheduling is - * available. + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. *

    *

    * Unit: Seconds @@ -2590,17 +3519,49 @@ public java.util.List getMetrics() { * Agent, Agent Hierarchy *

    *
    - *
    AVG_ABANDON_TIME
    + *
    AVG_HANDLE_TIME
    *
    *

    * Unit: Seconds *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, - * Agent, Agent Hierarchy + * Agent, Agent Hierarchy, Feature *

    - *
    - *
    AVG_AFTER_CONTACT_WORK_TIME
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLD_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLDS
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_INTERACTION_AND_HOLD_TIME
    *
    *

    * Unit: Seconds @@ -2610,26 +3571,41 @@ public java.util.List getMetrics() { * Agent, Agent Hierarchy *

    *
    - *
    AVG_AGENT_CONNECTING_TIME
    + *
    AVG_INTERACTION_TIME
    *
    *

    * Unit: Seconds *

    *

    - * Valid metric filter key: INITIATION_METHOD. For - * now, this metric only supports the following as - * INITIATION_METHOD: INBOUND | - * OUTBOUND | CALLBACK | - * API + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_INTERRUPTIONS_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Count *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy *

    *
    - *
    AVG_HANDLE_TIME
    + *
    AVG_INTERRUPTION_TIME_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    @@ -2637,9 +3613,13 @@ public java.util.List getMetrics() { * Agent, Agent Hierarchy *

    *
    - *
    AVG_HOLD_TIME
    + *
    AVG_NON_TALK_TIME
    *
    *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    @@ -2647,32 +3627,60 @@ public java.util.List getMetrics() { * Agent, Agent Hierarchy *

    *
    - *
    AVG_INTERACTION_AND_HOLD_TIME
    + *
    AVG_QUEUE_ANSWER_TIME
    *
    *

    * Unit: Seconds *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy *

    *
    - *
    AVG_INTERACTION_TIME
    + *
    AVG_TALK_TIME_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy *

    *
    - *
    AVG_QUEUE_ANSWER_TIME
    + *
    AVG_TALK_TIME_CUSTOMER
    *
    *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy *

    *
    *
    CONTACTS_ABANDONED
    @@ -2694,9 +3702,14 @@ public java.util.List getMetrics() { * Valid metric filter key: INITIATION_METHOD *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature *

    - * + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HANDLED
    *
    *

    @@ -2708,9 +3721,13 @@ public java.util.List getMetrics() { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, - * Agent, Agent Hierarchy + * Agent, Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HOLD_ABANDONS
    *
    *

    @@ -2738,9 +3755,13 @@ public java.util.List getMetrics() { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, - * Agent, Agent Hierarchy + * Agent, Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_TRANSFERRED_OUT_BY_AGENT
    *
    *

    @@ -2945,6 +3966,26 @@ public void setMetrics(java.util.Collection metrics) { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_AGENT_CONNECTING_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid metric filter key: INITIATION_METHOD. For now, this + * metric only supports the following as INITIATION_METHOD: + * INBOUND | OUTBOUND | CALLBACK | + * API + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, * Agent Hierarchy *

    *
    @@ -2964,7 +4005,21 @@ public void setMetrics(java.util.Collection metrics) { * Agent Hierarchy *

    * - *
    AVG_HANDLE_TIME
    + *
    AVG_CONTACT_DURATION
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_CONVERSATION_DURATION
    *
    *

    * Unit: Seconds @@ -2974,9 +4029,13 @@ public void setMetrics(java.util.Collection metrics) { * Agent Hierarchy *

    *
    - *
    AVG_HOLD_TIME
    + *
    AVG_GREETING_TIME_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    @@ -2984,6 +4043,48 @@ public void setMetrics(java.util.Collection metrics) { * Agent Hierarchy *

    *
    + *
    AVG_HANDLE_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLD_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLDS
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    AVG_INTERACTION_AND_HOLD_TIME
    *
    *

    @@ -3000,16 +4101,108 @@ public void setMetrics(java.util.Collection metrics) { * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_INTERRUPTIONS_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_INTERRUPTION_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_NON_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_QUEUE_ANSWER_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy *

    *
    - *
    AVG_QUEUE_ANSWER_TIME
    + *
    AVG_TALK_TIME_CUSTOMER
    *
    *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy *

    *
    *
    CONTACTS_ABANDONED
    @@ -3031,9 +4224,13 @@ public void setMetrics(java.util.Collection metrics) { * Valid metric filter key: INITIATION_METHOD *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature *

    - * + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HANDLED
    *
    *

    @@ -3045,9 +4242,13 @@ public void setMetrics(java.util.Collection metrics) { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HOLD_ABANDONS
    *
    *

    @@ -3075,9 +4276,13 @@ public void setMetrics(java.util.Collection metrics) { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_TRANSFERRED_OUT_BY_AGENT
    *
    *

    @@ -3276,6 +4481,27 @@ public void setMetrics(java.util.Collection metrics) { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_AGENT_CONNECTING_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid metric filter key: INITIATION_METHOD. For + * now, this metric only supports the following as + * INITIATION_METHOD: INBOUND | + * OUTBOUND | CALLBACK | + * API + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy *

    *
    @@ -3296,7 +4522,21 @@ public void setMetrics(java.util.Collection metrics) { * Agent, Agent Hierarchy *

    * - *
    AVG_HANDLE_TIME
    + *
    AVG_CONTACT_DURATION
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_CONVERSATION_DURATION
    *
    *

    * Unit: Seconds @@ -3306,9 +4546,13 @@ public void setMetrics(java.util.Collection metrics) { * Agent, Agent Hierarchy *

    *
    - *
    AVG_HOLD_TIME
    + *
    AVG_GREETING_TIME_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    @@ -3316,6 +4560,48 @@ public void setMetrics(java.util.Collection metrics) { * Agent, Agent Hierarchy *

    *
    + *
    AVG_HANDLE_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLD_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLDS
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    AVG_INTERACTION_AND_HOLD_TIME
    *
    *

    @@ -3332,7 +4618,54 @@ public void setMetrics(java.util.Collection metrics) { * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_INTERRUPTIONS_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_INTERRUPTION_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_NON_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy *

    *
    *
    AVG_QUEUE_ANSWER_TIME
    @@ -3341,7 +4674,54 @@ public void setMetrics(java.util.Collection metrics) { * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_CUSTOMER
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy *

    *
    *
    CONTACTS_ABANDONED
    @@ -3363,9 +4743,14 @@ public void setMetrics(java.util.Collection metrics) { * Valid metric filter key: INITIATION_METHOD *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature *

    - * + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HANDLED
    *
    *

    @@ -3377,9 +4762,13 @@ public void setMetrics(java.util.Collection metrics) { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, - * Agent, Agent Hierarchy + * Agent, Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HOLD_ABANDONS
    *
    *

    @@ -3407,9 +4796,13 @@ public void setMetrics(java.util.Collection metrics) { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, - * Agent, Agent Hierarchy + * Agent, Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_TRANSFERRED_OUT_BY_AGENT
    *
    *

    @@ -3549,68 +4942,194 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Agent Hierarchy *

    *
    - *
    AGENT_NON_RESPONSE
    + *
    AGENT_NON_RESPONSE
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AGENT_OCCUPANCY
    + *
    + *

    + * Unit: Percentage + *

    + *

    + * Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy + *

    + *
    + *
    AGENT_SCHEDULE_ADHERENCE
    + *
    + *

    + * This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available. + *

    + *

    + * Unit: Percent + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AGENT_SCHEDULED_TIME
    + *
    + *

    + * This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_ABANDON_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_AFTER_CONTACT_WORK_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_AGENT_CONNECTING_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid metric filter key: INITIATION_METHOD. For now, this + * metric only supports the following as INITIATION_METHOD: + * INBOUND | OUTBOUND | CALLBACK | + * API + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_AGENT_CONNECTING_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid metric filter key: INITIATION_METHOD. For now, this + * metric only supports the following as INITIATION_METHOD: + * INBOUND | OUTBOUND | CALLBACK | + * API + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy + *

    + *
    + *
    AVG_CONTACT_DURATION
    *
    *

    - * Unit: Count + * Unit: Seconds *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    - *
    AGENT_OCCUPANCY
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_CONVERSATION_DURATION
    *
    *

    - * Unit: Percentage + * Unit: Seconds *

    *

    - * Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy *

    *
    - *
    AGENT_SCHEDULE_ADHERENCE
    + *
    AVG_GREETING_TIME_AGENT
    *
    *

    - * This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available. + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. *

    *

    - * Unit: Percent + * Unit: Seconds *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, * Agent Hierarchy *

    *
    - *
    AGENT_SCHEDULED_TIME
    + *
    AVG_HANDLE_TIME
    *
    *

    - * This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available. + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. *

    + *
    + *
    AVG_HOLD_TIME
    + *
    *

    * Unit: Seconds *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    - *
    AVG_ABANDON_TIME
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLDS
    *
    *

    - * Unit: Seconds + * Unit: Count *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    - *
    AVG_AFTER_CONTACT_WORK_TIME
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_INTERACTION_AND_HOLD_TIME
    *
    *

    * Unit: Seconds @@ -3620,25 +5139,40 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Agent Hierarchy *

    *
    - *
    AVG_AGENT_CONNECTING_TIME
    + *
    AVG_INTERACTION_TIME
    *
    *

    * Unit: Seconds *

    *

    - * Valid metric filter key: INITIATION_METHOD. For now, this - * metric only supports the following as INITIATION_METHOD: - * INBOUND | OUTBOUND | CALLBACK | - * API + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_INTERRUPTIONS_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    + * Unit: Count *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, * Agent Hierarchy *

    *
    - *
    AVG_HANDLE_TIME
    + *
    AVG_INTERRUPTION_TIME_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    @@ -3646,9 +5180,13 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Agent Hierarchy *

    *
    - *
    AVG_HOLD_TIME
    + *
    AVG_NON_TALK_TIME
    *
    *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    @@ -3656,9 +5194,26 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Agent Hierarchy *

    *
    - *
    AVG_INTERACTION_AND_HOLD_TIME
    + *
    AVG_QUEUE_ANSWER_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_TALK_TIME
    *
    *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    @@ -3666,22 +5221,32 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Agent Hierarchy *

    *
    - *
    AVG_INTERACTION_TIME
    + *
    AVG_TALK_TIME_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy *

    *
    - *
    AVG_QUEUE_ANSWER_TIME
    + *
    AVG_TALK_TIME_CUSTOMER
    *
    *

    + * This metric is available only for contacts analyzed by Contact Lens + * conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, + * Agent Hierarchy *

    *
    *
    CONTACTS_ABANDONED
    @@ -3703,9 +5268,13 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Valid metric filter key: INITIATION_METHOD *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, Feature *

    - * + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HANDLED
    *
    *

    @@ -3717,9 +5286,13 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HOLD_ABANDONS
    *
    *

    @@ -3747,9 +5320,13 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, Agent, - * Agent Hierarchy + * Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_TRANSFERRED_OUT_BY_AGENT
    *
    *

    @@ -3948,6 +5525,27 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_AGENT_CONNECTING_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid metric filter key: INITIATION_METHOD. For + * now, this metric only supports the following as + * INITIATION_METHOD: INBOUND | + * OUTBOUND | CALLBACK | + * API + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, * Agent, Agent Hierarchy *

    *
    @@ -3968,7 +5566,21 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Agent, Agent Hierarchy *

    * - *
    AVG_HANDLE_TIME
    + *
    AVG_CONTACT_DURATION
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_CONVERSATION_DURATION
    *
    *

    * Unit: Seconds @@ -3978,9 +5590,13 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Agent, Agent Hierarchy *

    *
    - *
    AVG_HOLD_TIME
    + *
    AVG_GREETING_TIME_AGENT
    *
    *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    * Unit: Seconds *

    *

    @@ -3988,6 +5604,48 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Agent, Agent Hierarchy *

    *
    + *
    AVG_HANDLE_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLD_TIME
    + *
    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_HOLDS
    + *
    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy, Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    AVG_INTERACTION_AND_HOLD_TIME
    *
    *

    @@ -4004,7 +5662,54 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_INTERRUPTIONS_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Count + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_INTERRUPTION_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_NON_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy *

    *
    *
    AVG_QUEUE_ANSWER_TIME
    @@ -4013,7 +5718,54 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Unit: Seconds *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature + *

    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    + *
    AVG_TALK_TIME
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_AGENT
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy + *

    + *
    + *
    AVG_TALK_TIME_CUSTOMER
    + *
    + *

    + * This metric is available only for contacts analyzed by Contact + * Lens conversational analytics. + *

    + *

    + * Unit: Seconds + *

    + *

    + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Agent, Agent Hierarchy *

    *
    *
    CONTACTS_ABANDONED
    @@ -4035,9 +5787,14 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { * Valid metric filter key: INITIATION_METHOD *

    *

    - * Valid groupings and filters: Queue, Channel, Routing Profile + * Valid groupings and filters: Queue, Channel, Routing Profile, + * Feature *

    - * + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HANDLED
    *
    *

    @@ -4049,9 +5806,13 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, - * Agent, Agent Hierarchy + * Agent, Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_HOLD_ABANDONS
    *
    *

    @@ -4079,9 +5840,13 @@ public GetMetricDataV2Request withMetrics(MetricV2... metrics) { *

    *

    * Valid groupings and filters: Queue, Channel, Routing Profile, - * Agent, Agent Hierarchy + * Agent, Agent Hierarchy, Feature *

    - *
    + * + *

    + * Feature is a valid filter but not a valid grouping. + *

    + *
    *
    CONTACTS_TRANSFERRED_OUT_BY_AGENT
    *
    *

    diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/Instance.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/Instance.java index e8de5e3f7f..ead9b68bde 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/Instance.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/Instance.java @@ -111,7 +111,7 @@ public class Instance implements Serializable { /** *

    - * This URL allows contact center users to access Amazon Connect admin + * This URL allows contact center users to access the Amazon Connect admin * website. *

    */ @@ -742,12 +742,12 @@ public Instance withOutboundCallsEnabled(Boolean outboundCallsEnabled) { /** *

    - * This URL allows contact center users to access Amazon Connect admin + * This URL allows contact center users to access the Amazon Connect admin * website. *

    * * @return

    - * This URL allows contact center users to access Amazon Connect + * This URL allows contact center users to access the Amazon Connect * admin website. *

    */ @@ -757,13 +757,13 @@ public String getInstanceAccessUrl() { /** *

    - * This URL allows contact center users to access Amazon Connect admin + * This URL allows contact center users to access the Amazon Connect admin * website. *

    * * @param instanceAccessUrl

    - * This URL allows contact center users to access Amazon Connect - * admin website. + * This URL allows contact center users to access the Amazon + * Connect admin website. *

    */ public void setInstanceAccessUrl(String instanceAccessUrl) { @@ -772,7 +772,7 @@ public void setInstanceAccessUrl(String instanceAccessUrl) { /** *

    - * This URL allows contact center users to access Amazon Connect admin + * This URL allows contact center users to access the Amazon Connect admin * website. *

    *

    @@ -780,8 +780,8 @@ public void setInstanceAccessUrl(String instanceAccessUrl) { * together. * * @param instanceAccessUrl

    - * This URL allows contact center users to access Amazon Connect - * admin website. + * This URL allows contact center users to access the Amazon + * Connect admin website. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/InstanceSummary.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/InstanceSummary.java index 40fba11031..402f67b5c2 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/InstanceSummary.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/InstanceSummary.java @@ -101,7 +101,7 @@ public class InstanceSummary implements Serializable { /** *

    - * This URL allows contact center users to access Amazon Connect admin + * This URL allows contact center users to access the Amazon Connect admin * website. *

    */ @@ -665,12 +665,12 @@ public InstanceSummary withOutboundCallsEnabled(Boolean outboundCallsEnabled) { /** *

    - * This URL allows contact center users to access Amazon Connect admin + * This URL allows contact center users to access the Amazon Connect admin * website. *

    * * @return

    - * This URL allows contact center users to access Amazon Connect + * This URL allows contact center users to access the Amazon Connect * admin website. *

    */ @@ -680,13 +680,13 @@ public String getInstanceAccessUrl() { /** *

    - * This URL allows contact center users to access Amazon Connect admin + * This URL allows contact center users to access the Amazon Connect admin * website. *

    * * @param instanceAccessUrl

    - * This URL allows contact center users to access Amazon Connect - * admin website. + * This URL allows contact center users to access the Amazon + * Connect admin website. *

    */ public void setInstanceAccessUrl(String instanceAccessUrl) { @@ -695,7 +695,7 @@ public void setInstanceAccessUrl(String instanceAccessUrl) { /** *

    - * This URL allows contact center users to access Amazon Connect admin + * This URL allows contact center users to access the Amazon Connect admin * website. *

    *

    @@ -703,8 +703,8 @@ public void setInstanceAccessUrl(String instanceAccessUrl) { * together. * * @param instanceAccessUrl

    - * This URL allows contact center users to access Amazon Connect - * admin website. + * This URL allows contact center users to access the Amazon + * Connect admin website. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListPhoneNumbersSummary.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListPhoneNumbersSummary.java index ab81849e3a..b7dc604349 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListPhoneNumbersSummary.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListPhoneNumbersSummary.java @@ -78,7 +78,8 @@ public class ListPhoneNumbersSummary implements Serializable { *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID */ private String phoneNumberType; @@ -412,7 +413,8 @@ public ListPhoneNumbersSummary withPhoneNumberCountryCode( *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @return

    * The type of phone number. @@ -429,7 +431,8 @@ public String getPhoneNumberType() { *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. @@ -449,7 +452,8 @@ public void setPhoneNumberType(String phoneNumberType) { * together. *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. @@ -469,7 +473,8 @@ public ListPhoneNumbersSummary withPhoneNumberType(String phoneNumberType) { *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. @@ -489,7 +494,8 @@ public void setPhoneNumberType(PhoneNumberType phoneNumberType) { * together. *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/PhoneNumberSummary.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/PhoneNumberSummary.java index f945cde28c..7f3c395a60 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/PhoneNumberSummary.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/PhoneNumberSummary.java @@ -53,7 +53,8 @@ public class PhoneNumberSummary implements Serializable { *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID */ private String phoneNumberType; @@ -230,7 +231,8 @@ public PhoneNumberSummary withPhoneNumber(String phoneNumber) { *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @return

    * The type of phone number. @@ -247,7 +249,8 @@ public String getPhoneNumberType() { *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. @@ -267,7 +270,8 @@ public void setPhoneNumberType(String phoneNumberType) { * together. *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. @@ -287,7 +291,8 @@ public PhoneNumberSummary withPhoneNumberType(String phoneNumberType) { *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. @@ -307,7 +312,8 @@ public void setPhoneNumberType(PhoneNumberType phoneNumberType) { * together. *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/PhoneNumberType.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/PhoneNumberType.java index b59196c9cb..65dc89a83e 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/PhoneNumberType.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/PhoneNumberType.java @@ -24,7 +24,11 @@ public enum PhoneNumberType { TOLL_FREE("TOLL_FREE"), - DID("DID"); + DID("DID"), + UIFN("UIFN"), + SHARED("SHARED"), + THIRD_PARTY_TF("THIRD_PARTY_TF"), + THIRD_PARTY_DID("THIRD_PARTY_DID"); private String value; @@ -42,6 +46,10 @@ public String toString() { enumMap = new HashMap(); enumMap.put("TOLL_FREE", TOLL_FREE); enumMap.put("DID", DID); + enumMap.put("UIFN", UIFN); + enumMap.put("SHARED", SHARED); + enumMap.put("THIRD_PARTY_TF", THIRD_PARTY_TF); + enumMap.put("THIRD_PARTY_DID", THIRD_PARTY_DID); } /** diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/RoutingProfile.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/RoutingProfile.java index 2bb62c435c..d1ca1d2cf6 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/RoutingProfile.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/RoutingProfile.java @@ -107,6 +107,18 @@ public class RoutingProfile implements Serializable { */ private Long numberOfAssociatedUsers; + /** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + */ + private String agentAvailabilityTimer; + /** *

    * The identifier of the Amazon Connect instance. You can + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @return

    + * Whether agents with this routing profile will have their routing + * order calculated based on time since their last inbound + * contact or longest idle time. + *

    + * @see AgentAvailabilityTimer + */ + public String getAgentAvailabilityTimer() { + return agentAvailabilityTimer; + } + + /** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

    + * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

    + * @see AgentAvailabilityTimer + */ + public void setAgentAvailabilityTimer(String agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer; + } + + /** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

    + * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see AgentAvailabilityTimer + */ + public RoutingProfile withAgentAvailabilityTimer(String agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer; + return this; + } + + /** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

    + * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

    + * @see AgentAvailabilityTimer + */ + public void setAgentAvailabilityTimer(AgentAvailabilityTimer agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer.toString(); + } + + /** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

    + * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see AgentAvailabilityTimer + */ + public RoutingProfile withAgentAvailabilityTimer(AgentAvailabilityTimer agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer.toString(); + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -721,7 +850,9 @@ public String toString() { if (getNumberOfAssociatedQueues() != null) sb.append("NumberOfAssociatedQueues: " + getNumberOfAssociatedQueues() + ","); if (getNumberOfAssociatedUsers() != null) - sb.append("NumberOfAssociatedUsers: " + getNumberOfAssociatedUsers()); + sb.append("NumberOfAssociatedUsers: " + getNumberOfAssociatedUsers() + ","); + if (getAgentAvailabilityTimer() != null) + sb.append("AgentAvailabilityTimer: " + getAgentAvailabilityTimer()); sb.append("}"); return sb.toString(); } @@ -754,6 +885,10 @@ public int hashCode() { * hashCode + ((getNumberOfAssociatedUsers() == null) ? 0 : getNumberOfAssociatedUsers() .hashCode()); + hashCode = prime + * hashCode + + ((getAgentAvailabilityTimer() == null) ? 0 : getAgentAvailabilityTimer() + .hashCode()); return hashCode; } @@ -817,6 +952,11 @@ public boolean equals(Object obj) { if (other.getNumberOfAssociatedUsers() != null && other.getNumberOfAssociatedUsers().equals(this.getNumberOfAssociatedUsers()) == false) return false; + if (other.getAgentAvailabilityTimer() == null ^ this.getAgentAvailabilityTimer() == null) + return false; + if (other.getAgentAvailabilityTimer() != null + && other.getAgentAvailabilityTimer().equals(this.getAgentAvailabilityTimer()) == false) + return false; return true; } } diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchAvailablePhoneNumbersRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchAvailablePhoneNumbersRequest.java index 37ca47e6f8..b19763d831 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchAvailablePhoneNumbersRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchAvailablePhoneNumbersRequest.java @@ -67,7 +67,8 @@ public class SearchAvailablePhoneNumbersRequest extends AmazonWebServiceRequest *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID */ private String phoneNumberType; @@ -325,7 +326,8 @@ public SearchAvailablePhoneNumbersRequest withPhoneNumberCountryCode( *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @return

    * The type of phone number. @@ -342,7 +344,8 @@ public String getPhoneNumberType() { *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. @@ -362,7 +365,8 @@ public void setPhoneNumberType(String phoneNumberType) { * together. *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. @@ -382,7 +386,8 @@ public SearchAvailablePhoneNumbersRequest withPhoneNumberType(String phoneNumber *

    *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. @@ -402,7 +407,8 @@ public void setPhoneNumberType(PhoneNumberType phoneNumberType) { * together. *

    * Constraints:
    - * Allowed Values: TOLL_FREE, DID + * Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF, + * THIRD_PARTY_DID * * @param phoneNumberType

    * The type of phone number. diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchQueuesRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchQueuesRequest.java index f46cd42a3c..f0ebceb8ac 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchQueuesRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchQueuesRequest.java @@ -20,9 +20,6 @@ import com.amazonaws.AmazonWebServiceRequest; /** - *

    - * This API is in preview release for Amazon Connect and is subject to change. - *

    *

    * Searches queues in an Amazon Connect instance, with optional filtering. *

    diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchRoutingProfilesRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchRoutingProfilesRequest.java index 401cece0e4..38ebfeea47 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchRoutingProfilesRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchRoutingProfilesRequest.java @@ -20,9 +20,6 @@ import com.amazonaws.AmazonWebServiceRequest; /** - *

    - * This API is in preview release for Amazon Connect and is subject to change. - *

    *

    * Searches routing profiles in an Amazon Connect instance, with optional * filtering. diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchSecurityProfilesRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchSecurityProfilesRequest.java index e21d0e78b4..1be8056fe7 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchSecurityProfilesRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/SearchSecurityProfilesRequest.java @@ -20,9 +20,6 @@ import com.amazonaws.AmazonWebServiceRequest; /** - *

    - * This API is in preview release for Amazon Connect and is subject to change. - *

    *

    * Searches security profiles in an Amazon Connect instance, with optional * filtering. diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateQueueOutboundCallerConfigRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateQueueOutboundCallerConfigRequest.java index 0522849005..fd371c3980 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateQueueOutboundCallerConfigRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateQueueOutboundCallerConfigRequest.java @@ -42,6 +42,14 @@ * UUID is provided in this scenario, you will receive a * ResourceNotFoundException. *

    + *

    + * Only use the phone number ARN format that doesn't contain + * instance in the path, for example, + * arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is + * the same ARN format that is returned when you call the ListPhoneNumbersV2 API. + *

    * */ public class UpdateQueueOutboundCallerConfigRequest extends AmazonWebServiceRequest implements diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateRoutingProfileAgentAvailabilityTimerRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateRoutingProfileAgentAvailabilityTimerRequest.java new file mode 100644 index 0000000000..3bf3832aba --- /dev/null +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateRoutingProfileAgentAvailabilityTimerRequest.java @@ -0,0 +1,366 @@ +/* + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.connect.model; + +import java.io.Serializable; + +import com.amazonaws.AmazonWebServiceRequest; + +/** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + */ +public class UpdateRoutingProfileAgentAvailabilityTimerRequest extends AmazonWebServiceRequest + implements Serializable { + /** + *

    + * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

    + *

    + * Constraints:
    + * Length: 1 - 100
    + */ + private String instanceId; + + /** + *

    + * The identifier of the routing profile. + *

    + */ + private String routingProfileId; + + /** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + */ + private String agentAvailabilityTimer; + + /** + *

    + * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

    + *

    + * Constraints:
    + * Length: 1 - 100
    + * + * @return

    + * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of + * the instance. + *

    + */ + public String getInstanceId() { + return instanceId; + } + + /** + *

    + * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

    + *

    + * Constraints:
    + * Length: 1 - 100
    + * + * @param instanceId

    + * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of + * the instance. + *

    + */ + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + /** + *

    + * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the + * instance. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 100
    + * + * @param instanceId

    + * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of + * the instance. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public UpdateRoutingProfileAgentAvailabilityTimerRequest withInstanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + *

    + * The identifier of the routing profile. + *

    + * + * @return

    + * The identifier of the routing profile. + *

    + */ + public String getRoutingProfileId() { + return routingProfileId; + } + + /** + *

    + * The identifier of the routing profile. + *

    + * + * @param routingProfileId

    + * The identifier of the routing profile. + *

    + */ + public void setRoutingProfileId(String routingProfileId) { + this.routingProfileId = routingProfileId; + } + + /** + *

    + * The identifier of the routing profile. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param routingProfileId

    + * The identifier of the routing profile. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public UpdateRoutingProfileAgentAvailabilityTimerRequest withRoutingProfileId( + String routingProfileId) { + this.routingProfileId = routingProfileId; + return this; + } + + /** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @return

    + * Whether agents with this routing profile will have their routing + * order calculated based on time since their last inbound + * contact or longest idle time. + *

    + * @see AgentAvailabilityTimer + */ + public String getAgentAvailabilityTimer() { + return agentAvailabilityTimer; + } + + /** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

    + * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

    + * @see AgentAvailabilityTimer + */ + public void setAgentAvailabilityTimer(String agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer; + } + + /** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

    + * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see AgentAvailabilityTimer + */ + public UpdateRoutingProfileAgentAvailabilityTimerRequest withAgentAvailabilityTimer( + String agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer; + return this; + } + + /** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

    + * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

    + * @see AgentAvailabilityTimer + */ + public void setAgentAvailabilityTimer(AgentAvailabilityTimer agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer.toString(); + } + + /** + *

    + * Whether agents with this routing profile will have their routing order + * calculated based on time since their last inbound contact or + * longest idle time. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND + * + * @param agentAvailabilityTimer

    + * Whether agents with this routing profile will have their + * routing order calculated based on time since their last + * inbound contact or longest idle time. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see AgentAvailabilityTimer + */ + public UpdateRoutingProfileAgentAvailabilityTimerRequest withAgentAvailabilityTimer( + AgentAvailabilityTimer agentAvailabilityTimer) { + this.agentAvailabilityTimer = agentAvailabilityTimer.toString(); + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getInstanceId() != null) + sb.append("InstanceId: " + getInstanceId() + ","); + if (getRoutingProfileId() != null) + sb.append("RoutingProfileId: " + getRoutingProfileId() + ","); + if (getAgentAvailabilityTimer() != null) + sb.append("AgentAvailabilityTimer: " + getAgentAvailabilityTimer()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getInstanceId() == null) ? 0 : getInstanceId().hashCode()); + hashCode = prime * hashCode + + ((getRoutingProfileId() == null) ? 0 : getRoutingProfileId().hashCode()); + hashCode = prime + * hashCode + + ((getAgentAvailabilityTimer() == null) ? 0 : getAgentAvailabilityTimer() + .hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof UpdateRoutingProfileAgentAvailabilityTimerRequest == false) + return false; + UpdateRoutingProfileAgentAvailabilityTimerRequest other = (UpdateRoutingProfileAgentAvailabilityTimerRequest) obj; + + if (other.getInstanceId() == null ^ this.getInstanceId() == null) + return false; + if (other.getInstanceId() != null + && other.getInstanceId().equals(this.getInstanceId()) == false) + return false; + if (other.getRoutingProfileId() == null ^ this.getRoutingProfileId() == null) + return false; + if (other.getRoutingProfileId() != null + && other.getRoutingProfileId().equals(this.getRoutingProfileId()) == false) + return false; + if (other.getAgentAvailabilityTimer() == null ^ this.getAgentAvailabilityTimer() == null) + return false; + if (other.getAgentAvailabilityTimer() != null + && other.getAgentAvailabilityTimer().equals(this.getAgentAvailabilityTimer()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateRoutingProfileRequestMarshaller.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateRoutingProfileRequestMarshaller.java index 4608255146..2addcb122b 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateRoutingProfileRequestMarshaller.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateRoutingProfileRequestMarshaller.java @@ -120,6 +120,12 @@ public Request marshall( } jsonWriter.endObject(); } + if (createRoutingProfileRequest.getAgentAvailabilityTimer() != null) { + String agentAvailabilityTimer = createRoutingProfileRequest + .getAgentAvailabilityTimer(); + jsonWriter.name("AgentAvailabilityTimer"); + jsonWriter.value(agentAvailabilityTimer); + } jsonWriter.endObject(); jsonWriter.close(); diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/DeleteQueueRequestMarshaller.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/DeleteQueueRequestMarshaller.java new file mode 100644 index 0000000000..a59d1b9808 --- /dev/null +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/DeleteQueueRequestMarshaller.java @@ -0,0 +1,72 @@ +/* + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.connect.model.transform; + +import static com.amazonaws.util.StringUtils.UTF8; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.OutputStreamWriter; +import java.io.StringWriter; +import java.io.Writer; + +import android.text.TextUtils; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.http.HttpMethodName; +import com.amazonaws.services.connect.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.BinaryUtils; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.StringUtils; +import com.amazonaws.util.StringInputStream; +import com.amazonaws.util.json.AwsJsonWriter; +import com.amazonaws.util.json.JsonUtils; + +/** + * JSON request marshaller for DeleteQueueRequest + */ +public class DeleteQueueRequestMarshaller implements + Marshaller, DeleteQueueRequest> { + + public Request marshall(DeleteQueueRequest deleteQueueRequest) { + if (deleteQueueRequest == null) { + throw new AmazonClientException( + "Invalid argument passed to marshall(DeleteQueueRequest)"); + } + + Request request = new DefaultRequest( + deleteQueueRequest, "AmazonConnect"); + request.setHttpMethod(HttpMethodName.DELETE); + + String uriResourcePath = "/queues/{InstanceId}/{QueueId}"; + uriResourcePath = uriResourcePath.replace( + "{InstanceId}", + (deleteQueueRequest.getInstanceId() == null) ? "" : StringUtils + .fromString(deleteQueueRequest.getInstanceId())); + uriResourcePath = uriResourcePath.replace( + "{QueueId}", + (deleteQueueRequest.getQueueId() == null) ? "" : StringUtils + .fromString(deleteQueueRequest.getQueueId())); + request.setResourcePath(uriResourcePath); + if (!request.getHeaders().containsKey("Content-Type")) { + request.addHeader("Content-Type", "application/x-amz-json-1.1"); + } + + return request; + } +} diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/DeleteRoutingProfileRequestMarshaller.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/DeleteRoutingProfileRequestMarshaller.java new file mode 100644 index 0000000000..34a08f1060 --- /dev/null +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/DeleteRoutingProfileRequestMarshaller.java @@ -0,0 +1,73 @@ +/* + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.connect.model.transform; + +import static com.amazonaws.util.StringUtils.UTF8; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.OutputStreamWriter; +import java.io.StringWriter; +import java.io.Writer; + +import android.text.TextUtils; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.http.HttpMethodName; +import com.amazonaws.services.connect.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.BinaryUtils; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.StringUtils; +import com.amazonaws.util.StringInputStream; +import com.amazonaws.util.json.AwsJsonWriter; +import com.amazonaws.util.json.JsonUtils; + +/** + * JSON request marshaller for DeleteRoutingProfileRequest + */ +public class DeleteRoutingProfileRequestMarshaller implements + Marshaller, DeleteRoutingProfileRequest> { + + public Request marshall( + DeleteRoutingProfileRequest deleteRoutingProfileRequest) { + if (deleteRoutingProfileRequest == null) { + throw new AmazonClientException( + "Invalid argument passed to marshall(DeleteRoutingProfileRequest)"); + } + + Request request = new DefaultRequest( + deleteRoutingProfileRequest, "AmazonConnect"); + request.setHttpMethod(HttpMethodName.DELETE); + + String uriResourcePath = "/routing-profiles/{InstanceId}/{RoutingProfileId}"; + uriResourcePath = uriResourcePath.replace( + "{InstanceId}", + (deleteRoutingProfileRequest.getInstanceId() == null) ? "" : StringUtils + .fromString(deleteRoutingProfileRequest.getInstanceId())); + uriResourcePath = uriResourcePath.replace( + "{RoutingProfileId}", + (deleteRoutingProfileRequest.getRoutingProfileId() == null) ? "" : StringUtils + .fromString(deleteRoutingProfileRequest.getRoutingProfileId())); + request.setResourcePath(uriResourcePath); + if (!request.getHeaders().containsKey("Content-Type")) { + request.addHeader("Content-Type", "application/x-amz-json-1.1"); + } + + return request; + } +} diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/RoutingProfileJsonMarshaller.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/RoutingProfileJsonMarshaller.java index e8c23fb06a..a067ac5ec0 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/RoutingProfileJsonMarshaller.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/RoutingProfileJsonMarshaller.java @@ -92,6 +92,11 @@ public void marshall(RoutingProfile routingProfile, AwsJsonWriter jsonWriter) th jsonWriter.name("NumberOfAssociatedUsers"); jsonWriter.value(numberOfAssociatedUsers); } + if (routingProfile.getAgentAvailabilityTimer() != null) { + String agentAvailabilityTimer = routingProfile.getAgentAvailabilityTimer(); + jsonWriter.name("AgentAvailabilityTimer"); + jsonWriter.value(agentAvailabilityTimer); + } jsonWriter.endObject(); } diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/RoutingProfileJsonUnmarshaller.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/RoutingProfileJsonUnmarshaller.java index 98525a00bf..0d6a88f7aa 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/RoutingProfileJsonUnmarshaller.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/RoutingProfileJsonUnmarshaller.java @@ -70,6 +70,9 @@ public RoutingProfile unmarshall(JsonUnmarshallerContext context) throws Excepti } else if (name.equals("NumberOfAssociatedUsers")) { routingProfile.setNumberOfAssociatedUsers(LongJsonUnmarshaller.getInstance() .unmarshall(context)); + } else if (name.equals("AgentAvailabilityTimer")) { + routingProfile.setAgentAvailabilityTimer(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); } else { reader.skipValue(); } diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/UpdateRoutingProfileAgentAvailabilityTimerRequestMarshaller.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/UpdateRoutingProfileAgentAvailabilityTimerRequestMarshaller.java new file mode 100644 index 0000000000..44b3a3f9e7 --- /dev/null +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/UpdateRoutingProfileAgentAvailabilityTimerRequestMarshaller.java @@ -0,0 +1,100 @@ +/* + * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.connect.model.transform; + +import static com.amazonaws.util.StringUtils.UTF8; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.OutputStreamWriter; +import java.io.StringWriter; +import java.io.Writer; + +import android.text.TextUtils; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.http.HttpMethodName; +import com.amazonaws.services.connect.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.BinaryUtils; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.StringUtils; +import com.amazonaws.util.StringInputStream; +import com.amazonaws.util.json.AwsJsonWriter; +import com.amazonaws.util.json.JsonUtils; + +/** + * JSON request marshaller for UpdateRoutingProfileAgentAvailabilityTimerRequest + */ +public class UpdateRoutingProfileAgentAvailabilityTimerRequestMarshaller + implements + Marshaller, UpdateRoutingProfileAgentAvailabilityTimerRequest> { + + public Request marshall( + UpdateRoutingProfileAgentAvailabilityTimerRequest updateRoutingProfileAgentAvailabilityTimerRequest) { + if (updateRoutingProfileAgentAvailabilityTimerRequest == null) { + throw new AmazonClientException( + "Invalid argument passed to marshall(UpdateRoutingProfileAgentAvailabilityTimerRequest)"); + } + + Request request = new DefaultRequest( + updateRoutingProfileAgentAvailabilityTimerRequest, "AmazonConnect"); + request.setHttpMethod(HttpMethodName.POST); + + String uriResourcePath = "/routing-profiles/{InstanceId}/{RoutingProfileId}/agent-availability-timer"; + uriResourcePath = uriResourcePath.replace( + "{InstanceId}", + (updateRoutingProfileAgentAvailabilityTimerRequest.getInstanceId() == null) ? "" + : StringUtils.fromString(updateRoutingProfileAgentAvailabilityTimerRequest + .getInstanceId())); + uriResourcePath = uriResourcePath + .replace( + "{RoutingProfileId}", + (updateRoutingProfileAgentAvailabilityTimerRequest.getRoutingProfileId() == null) ? "" + : StringUtils + .fromString(updateRoutingProfileAgentAvailabilityTimerRequest + .getRoutingProfileId())); + request.setResourcePath(uriResourcePath); + try { + StringWriter stringWriter = new StringWriter(); + AwsJsonWriter jsonWriter = JsonUtils.getJsonWriter(stringWriter); + jsonWriter.beginObject(); + + if (updateRoutingProfileAgentAvailabilityTimerRequest.getAgentAvailabilityTimer() != null) { + String agentAvailabilityTimer = updateRoutingProfileAgentAvailabilityTimerRequest + .getAgentAvailabilityTimer(); + jsonWriter.name("AgentAvailabilityTimer"); + jsonWriter.value(agentAvailabilityTimer); + } + + jsonWriter.endObject(); + jsonWriter.close(); + String snippet = stringWriter.toString(); + byte[] content = snippet.getBytes(UTF8); + request.setContent(new StringInputStream(snippet)); + request.addHeader("Content-Length", Integer.toString(content.length)); + } catch (Throwable t) { + throw new AmazonClientException( + "Unable to marshall request to JSON: " + t.getMessage(), t); + } + if (!request.getHeaders().containsKey("Content-Type")) { + request.addHeader("Content-Type", "application/x-amz-json-1.1"); + } + + return request; + } +}