From 08bfbc4cf69da8d2c23b68560f96325850e1e45d Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Team <46607340+awsmobilesdk@users.noreply.github.com> Date: Tue, 1 Jun 2021 00:39:57 -0700 Subject: [PATCH] feat(aws-android-sdk-connect): update models to latest (#2469) Co-authored-by: Raphael Kim <52714340+raphkim@users.noreply.github.com> --- .../services/connect/AmazonConnect.java | 82 +++++---- .../services/connect/AmazonConnectAsync.java | 164 ++++++++++-------- .../connect/AmazonConnectAsyncClient.java | 164 ++++++++++-------- .../services/connect/AmazonConnectClient.java | 82 +++++---- .../connect/model/CreateInstanceRequest.java | 7 + .../CreateIntegrationAssociationRequest.java | 99 ++++++++++- .../connect/model/CreateUseCaseRequest.java | 99 ++++++++++- .../connect/model/DeleteInstanceRequest.java | 7 + .../DeleteIntegrationAssociationRequest.java | 3 - .../connect/model/DeleteUseCaseRequest.java | 3 - .../model/GetFederationTokenRequest.java | 9 + .../connect/model/GetMetricDataRequest.java | 154 ++++++++++------ .../ListIntegrationAssociationsRequest.java | 3 - .../connect/model/ListQueuesRequest.java | 6 + .../connect/model/ListUseCasesRequest.java | 3 - .../connect/model/MediaConcurrency.java | 84 +++++++++ .../model/StartChatContactRequest.java | 2 +- .../model/UpdateContactAttributesRequest.java | 24 +-- ...tegrationAssociationRequestMarshaller.java | 13 ++ .../CreateUseCaseRequestMarshaller.java | 13 ++ 20 files changed, 720 insertions(+), 301 deletions(-) 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 d0ef3da7c4..60907bd6a8 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 @@ -365,6 +365,13 @@ CreateContactFlowResult createContactFlow(CreateContactFlowRequest createContact * Service (Amazon S3) or Amazon Kinesis. It also does not allow for any * configurations on features, such as Contact Lens for Amazon Connect. *

+ *

+ * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

* * @param createInstanceRequest * @return createInstanceResult The response from the CreateInstance service @@ -386,10 +393,6 @@ CreateInstanceResult createInstance(CreateInstanceRequest createInstanceRequest) throws AmazonClientException, AmazonServiceException; /** - *

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

*

* Create an AppIntegration association with an Amazon Connect instance. *

@@ -504,10 +507,6 @@ CreateRoutingProfileResult createRoutingProfile( AmazonServiceException; /** - *

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

*

* Creates a use case for an AppIntegration association. *

@@ -599,6 +598,13 @@ CreateUserHierarchyGroupResult createUserHierarchyGroup( *

* Deletes the Amazon Connect instance. *

+ *

+ * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

* * @param deleteInstanceRequest * @throws ResourceNotFoundException @@ -616,10 +622,6 @@ void deleteInstance(DeleteInstanceRequest deleteInstanceRequest) throws AmazonCl AmazonServiceException; /** - *

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

*

* Deletes an AppIntegration association from an Amazon Connect instance. * The association must not have any use cases associated with it. @@ -669,10 +671,6 @@ void deleteQuickConnect(DeleteQuickConnectRequest deleteQuickConnectRequest) throws AmazonClientException, AmazonServiceException; /** - *

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

*

* Deletes a use case from an AppIntegration association. *

@@ -1314,6 +1312,16 @@ GetCurrentMetricDataResult getCurrentMetricData( *

* Retrieves a token for federation. *

+ * + *

+ * This API doesn't support root users. If you try to invoke + * GetFederationToken with root credentials, an error message similar to the + * following one appears: + *

+ *

+ * Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect + *

+ *
* * @param getFederationTokenRequest * @return getFederationTokenResult The response from the GetFederationToken @@ -1554,10 +1562,6 @@ ListInstancesResult listInstances(ListInstancesRequest listInstancesRequest) throws AmazonClientException, AmazonServiceException; /** - *

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

*

* Provides summary information about the AppIntegration associations for * the specified Amazon Connect instance. @@ -1735,6 +1739,12 @@ ListQueueQuickConnectsResult listQueueQuickConnects( * instance. *

*

+ * If you do not specify a QueueTypes parameter, both standard + * and agent queues are returned. This might cause an unexpected truncation + * of results if you have more than 1000 agents and you limit the number of + * results of the API call in code. + *

+ *

* For more information about queues, see Queues: Standard and Agent in the Amazon Connect Administrator @@ -1944,10 +1954,6 @@ ListTagsForResourceResult listTagsForResource( AmazonServiceException; /** - *

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

*

* Lists the use cases. *

@@ -2083,7 +2089,7 @@ ResumeContactRecordingResult resumeContactRecording( *
  • *

    * API rate limit is exceeded. API TPS throttling returns a - * TooManyRequests exception from the API Gateway. + * TooManyRequests exception. *

    *
  • *
  • @@ -2382,22 +2388,26 @@ void untagResource(UntagResourceRequest untagResourceRequest) throws AmazonClien /** *

    - * Creates or updates the contact attributes associated with the specified - * contact. + * Creates or updates user-defined contact attributes associated with the + * specified contact. *

    *

    - * You can add or update attributes for both ongoing and completed contacts. - * For example, while the call is active, you can update the customer's name - * or the reason the customer called. You can add notes about steps that the - * agent took during the call that display to the next agent that takes the - * call. You can also update attributes for a contact using data from your - * CRM application and save the data with the contact in Amazon Connect. You - * could also flag calls for additional analysis, such as legal review or to - * identify abusive callers. + * You can create or update user-defined attributes for both ongoing and + * completed contacts. For example, while the call is active, you can update + * the customer's name or the reason the customer called. You can add notes + * about steps that the agent took during the call that display to the next + * agent that takes the call. You can also update attributes for a contact + * using data from your CRM application and save the data with the contact + * in Amazon Connect. You could also flag calls for additional analysis, + * such as legal review or to identify abusive callers. *

    *

    * Contact attributes are available in Amazon Connect for 24 months, and are - * then deleted. + * then deleted. For information about CTR retention and the maximum size of + * the CTR attributes section, see Feature specifications in the Amazon Connect Administrator + * Guide. *

    *

    * Important: You cannot use the operation to update attributes for 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 419d2a53e1..f0cac5e5ac 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 @@ -624,6 +624,13 @@ Future createContactFlowAsync( * Service (Amazon S3) or Amazon Kinesis. It also does not allow for any * configurations on features, such as Contact Lens for Amazon Connect. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

    * * @param createInstanceRequest * @return A Java Future object containing the response from the @@ -655,6 +662,13 @@ Future createInstanceAsync(CreateInstanceRequest createIns * Service (Amazon S3) or Amazon Kinesis. It also does not allow for any * configurations on features, such as Contact Lens for Amazon Connect. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

    * * @param createInstanceRequest * @param asyncHandler Asynchronous callback handler for events in the @@ -681,10 +695,6 @@ Future createInstanceAsync(CreateInstanceRequest createIns throws AmazonServiceException, AmazonClientException; /** - *

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

    *

    * Create an AppIntegration association with an Amazon Connect instance. *

    @@ -711,10 +721,6 @@ Future createIntegrationAssociationAsync( throws AmazonServiceException, AmazonClientException; /** - *

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

    *

    * Create an AppIntegration association with an Amazon Connect instance. *

    @@ -939,10 +945,6 @@ Future createRoutingProfileAsync( throws AmazonServiceException, AmazonClientException; /** - *

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

    *

    * Creates a use case for an AppIntegration association. *

    @@ -967,10 +969,6 @@ Future createUseCaseAsync(CreateUseCaseRequest createUseCas throws AmazonServiceException, AmazonClientException; /** - *

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

    *

    * Creates a use case for an AppIntegration association. *

    @@ -1137,6 +1135,13 @@ Future createUserHierarchyGroupAsync( *

    * Deletes the Amazon Connect instance. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

    * * @param deleteInstanceRequest * @return A Java Future object containing the response from the @@ -1163,6 +1168,13 @@ Future deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest) *

    * Deletes the Amazon Connect instance. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

    * * @param deleteInstanceRequest * @param asyncHandler Asynchronous callback handler for events in the @@ -1187,10 +1199,6 @@ Future deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest, AmazonClientException; /** - *

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

    *

    * Deletes an AppIntegration association from an Amazon Connect instance. * The association must not have any use cases associated with it. @@ -1217,10 +1225,6 @@ Future deleteIntegrationAssociationAsync( throws AmazonServiceException, AmazonClientException; /** - *

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

    *

    * Deletes an AppIntegration association from an Amazon Connect instance. * The association must not have any use cases associated with it. @@ -1313,10 +1317,6 @@ Future deleteQuickConnectAsync(DeleteQuickConnectRequest deleteQuickConnec throws AmazonServiceException, AmazonClientException; /** - *

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

    *

    * Deletes a use case from an AppIntegration association. *

    @@ -1340,10 +1340,6 @@ Future deleteUseCaseAsync(DeleteUseCaseRequest deleteUseCaseRequest) throws AmazonServiceException, AmazonClientException; /** - *

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

    *

    * Deletes a use case from an AppIntegration association. *

    @@ -2775,6 +2771,16 @@ Future getCurrentMetricDataAsync( *

    * Retrieves a token for federation. *

    + * + *

    + * This API doesn't support root users. If you try to invoke + * GetFederationToken with root credentials, an error message similar to the + * following one appears: + *

    + *

    + * Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect + *

    + *
    * * @param getFederationTokenRequest * @return A Java Future object containing the response from the @@ -2801,6 +2807,16 @@ Future getFederationTokenAsync( *

    * Retrieves a token for federation. *

    + * + *

    + * This API doesn't support root users. If you try to invoke + * GetFederationToken with root credentials, an error message similar to the + * following one appears: + *

    + *

    + * Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect + *

    + *
    * * @param getFederationTokenRequest * @param asyncHandler Asynchronous callback handler for events in the @@ -3302,10 +3318,6 @@ Future listInstancesAsync(ListInstancesRequest listInstance throws AmazonServiceException, AmazonClientException; /** - *

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

    *

    * Provides summary information about the AppIntegration associations for * the specified Amazon Connect instance. @@ -3332,10 +3344,6 @@ Future listIntegrationAssociationsAsync( throws AmazonServiceException, AmazonClientException; /** - *

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

    *

    * Provides summary information about the AppIntegration associations for * the specified Amazon Connect instance. @@ -3691,6 +3699,12 @@ Future listQueueQuickConnectsAsync( * instance. *

    *

    + * If you do not specify a QueueTypes parameter, both standard + * and agent queues are returned. This might cause an unexpected truncation + * of results if you have more than 1000 agents and you limit the number of + * results of the API call in code. + *

    + *

    * For more information about queues, see Queues: Standard and Agent in the Amazon Connect Administrator @@ -3722,6 +3736,12 @@ Future listQueuesAsync(ListQueuesRequest listQueuesRequest) * instance. *

    *

    + * If you do not specify a QueueTypes parameter, both standard + * and agent queues are returned. This might cause an unexpected truncation + * of results if you have more than 1000 agents and you limit the number of + * results of the API call in code. + *

    + *

    * For more information about queues, see Queues: Standard and Agent in the Amazon Connect Administrator @@ -4153,10 +4173,6 @@ Future listTagsForResourceAsync( throws AmazonServiceException, AmazonClientException; /** - *

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

    *

    * Lists the use cases. *

    @@ -4183,10 +4199,6 @@ Future listUseCasesAsync(ListUseCasesRequest listUseCasesReq throws AmazonServiceException, AmazonClientException; /** - *

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

    *

    * Lists the use cases. *

    @@ -4428,7 +4440,7 @@ Future resumeContactRecordingAsync( *
  • *

    * API rate limit is exceeded. API TPS throttling returns a - * TooManyRequests exception from the API Gateway. + * TooManyRequests exception. *

    *
  • *
  • @@ -4490,7 +4502,7 @@ Future startChatContactAsync( *
  • *

    * API rate limit is exceeded. API TPS throttling returns a - * TooManyRequests exception from the API Gateway. + * TooManyRequests exception. *

    *
  • *
  • @@ -5105,22 +5117,26 @@ Future untagResourceAsync(UntagResourceRequest untagResourceRequest, /** *

    - * Creates or updates the contact attributes associated with the specified - * contact. + * Creates or updates user-defined contact attributes associated with the + * specified contact. *

    *

    - * You can add or update attributes for both ongoing and completed contacts. - * For example, while the call is active, you can update the customer's name - * or the reason the customer called. You can add notes about steps that the - * agent took during the call that display to the next agent that takes the - * call. You can also update attributes for a contact using data from your - * CRM application and save the data with the contact in Amazon Connect. You - * could also flag calls for additional analysis, such as legal review or to - * identify abusive callers. + * You can create or update user-defined attributes for both ongoing and + * completed contacts. For example, while the call is active, you can update + * the customer's name or the reason the customer called. You can add notes + * about steps that the agent took during the call that display to the next + * agent that takes the call. You can also update attributes for a contact + * using data from your CRM application and save the data with the contact + * in Amazon Connect. You could also flag calls for additional analysis, + * such as legal review or to identify abusive callers. *

    *

    * Contact attributes are available in Amazon Connect for 24 months, and are - * then deleted. + * then deleted. For information about CTR retention and the maximum size of + * the CTR attributes section, see Feature specifications in the Amazon Connect Administrator + * Guide. *

    *

    * Important: You cannot use the operation to update attributes for @@ -5154,22 +5170,26 @@ Future updateContactAttributesAsync( /** *

    - * Creates or updates the contact attributes associated with the specified - * contact. + * Creates or updates user-defined contact attributes associated with the + * specified contact. *

    *

    - * You can add or update attributes for both ongoing and completed contacts. - * For example, while the call is active, you can update the customer's name - * or the reason the customer called. You can add notes about steps that the - * agent took during the call that display to the next agent that takes the - * call. You can also update attributes for a contact using data from your - * CRM application and save the data with the contact in Amazon Connect. You - * could also flag calls for additional analysis, such as legal review or to - * identify abusive callers. + * You can create or update user-defined attributes for both ongoing and + * completed contacts. For example, while the call is active, you can update + * the customer's name or the reason the customer called. You can add notes + * about steps that the agent took during the call that display to the next + * agent that takes the call. You can also update attributes for a contact + * using data from your CRM application and save the data with the contact + * in Amazon Connect. You could also flag calls for additional analysis, + * such as legal review or to identify abusive callers. *

    *

    * Contact attributes are available in Amazon Connect for 24 months, and are - * then deleted. + * then deleted. For information about CTR retention and the maximum size of + * the CTR attributes section, see Feature specifications in the Amazon Connect Administrator + * Guide. *

    *

    * Important: You cannot use the operation to update attributes for 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 71c0e1786d..cbb4d8ed21 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 @@ -983,6 +983,13 @@ public CreateContactFlowResult call() throws Exception { * Service (Amazon S3) or Amazon Kinesis. It also does not allow for any * configurations on features, such as Contact Lens for Amazon Connect. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

    * * @param createInstanceRequest * @return A Java Future object containing the response from the @@ -1021,6 +1028,13 @@ public CreateInstanceResult call() throws Exception { * Service (Amazon S3) or Amazon Kinesis. It also does not allow for any * configurations on features, such as Contact Lens for Amazon Connect. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

    * * @param createInstanceRequest * @return A Java Future object containing the response from the @@ -1058,10 +1072,6 @@ public CreateInstanceResult call() throws Exception { } /** - *

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

    *

    * Create an AppIntegration association with an Amazon Connect instance. *

    @@ -1094,10 +1104,6 @@ public CreateIntegrationAssociationResult call() throws Exception { } /** - *

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

    *

    * Create an AppIntegration association with an Amazon Connect instance. *

    @@ -1380,10 +1386,6 @@ public CreateRoutingProfileResult call() throws Exception { } /** - *

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

    *

    * Creates a use case for an AppIntegration association. *

    @@ -1415,10 +1417,6 @@ public CreateUseCaseResult call() throws Exception { } /** - *

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

    *

    * Creates a use case for an AppIntegration association. *

    @@ -1628,6 +1626,13 @@ public CreateUserHierarchyGroupResult call() throws Exception { *

    * Deletes the Amazon Connect instance. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

    * * @param deleteInstanceRequest * @return A Java Future object containing the response from the @@ -1661,6 +1666,13 @@ public Void call() throws Exception { *

    * Deletes the Amazon Connect instance. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

    * * @param deleteInstanceRequest * @return A Java Future object containing the response from the @@ -1695,10 +1707,6 @@ public Void call() throws Exception { } /** - *

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

    *

    * Deletes an AppIntegration association from an Amazon Connect instance. * The association must not have any use cases associated with it. @@ -1732,10 +1740,6 @@ public Void call() throws Exception { } /** - *

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

    *

    * Deletes an AppIntegration association from an Amazon Connect instance. * The association must not have any use cases associated with it. @@ -1857,10 +1861,6 @@ public Void call() throws Exception { } /** - *

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

    *

    * Deletes a use case from an AppIntegration association. *

    @@ -1891,10 +1891,6 @@ public Void call() throws Exception { } /** - *

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

    *

    * Deletes a use case from an AppIntegration association. *

    @@ -3703,6 +3699,16 @@ public GetCurrentMetricDataResult call() throws Exception { *

    * Retrieves a token for federation. *

    + * + *

    + * This API doesn't support root users. If you try to invoke + * GetFederationToken with root credentials, an error message similar to the + * following one appears: + *

    + *

    + * Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect + *

    + *
    * * @param getFederationTokenRequest * @return A Java Future object containing the response from the @@ -3735,6 +3741,16 @@ public GetFederationTokenResult call() throws Exception { *

    * Retrieves a token for federation. *

    + * + *

    + * This API doesn't support root users. If you try to invoke + * GetFederationToken with root credentials, an error message similar to the + * following one appears: + *

    + *

    + * Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect + *

    + *
    * * @param getFederationTokenRequest * @return A Java Future object containing the response from the @@ -4362,10 +4378,6 @@ public ListInstancesResult call() throws Exception { } /** - *

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

    *

    * Provides summary information about the AppIntegration associations for * the specified Amazon Connect instance. @@ -4398,10 +4410,6 @@ public ListIntegrationAssociationsResult call() throws Exception { } /** - *

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

    *

    * Provides summary information about the AppIntegration associations for * the specified Amazon Connect instance. @@ -4847,6 +4855,12 @@ public ListQueueQuickConnectsResult call() throws Exception { * instance. *

    *

    + * If you do not specify a QueueTypes parameter, both standard + * and agent queues are returned. This might cause an unexpected truncation + * of results if you have more than 1000 agents and you limit the number of + * results of the API call in code. + *

    + *

    * For more information about queues, see Queues: Standard and Agent in the Amazon Connect Administrator @@ -4884,6 +4898,12 @@ public ListQueuesResult call() throws Exception { * instance. *

    *

    + * If you do not specify a QueueTypes parameter, both standard + * and agent queues are returned. This might cause an unexpected truncation + * of results if you have more than 1000 agents and you limit the number of + * results of the API call in code. + *

    + *

    * For more information about queues, see Queues: Standard and Agent in the Amazon Connect Administrator @@ -5421,10 +5441,6 @@ public ListTagsForResourceResult call() throws Exception { } /** - *

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

    *

    * Lists the use cases. *

    @@ -5458,10 +5474,6 @@ public ListUseCasesResult call() throws Exception { } /** - *

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

    *

    * Lists the use cases. *

    @@ -5762,7 +5774,7 @@ public ResumeContactRecordingResult call() throws Exception { *
  • *

    * API rate limit is exceeded. API TPS throttling returns a - * TooManyRequests exception from the API Gateway. + * TooManyRequests exception. *

    *
  • *
  • @@ -5830,7 +5842,7 @@ public StartChatContactResult call() throws Exception { *
  • *

    * API rate limit is exceeded. API TPS throttling returns a - * TooManyRequests exception from the API Gateway. + * TooManyRequests exception. *

    *
  • *
  • @@ -6585,22 +6597,26 @@ public Void call() throws Exception { /** *

    - * Creates or updates the contact attributes associated with the specified - * contact. + * Creates or updates user-defined contact attributes associated with the + * specified contact. *

    *

    - * You can add or update attributes for both ongoing and completed contacts. - * For example, while the call is active, you can update the customer's name - * or the reason the customer called. You can add notes about steps that the - * agent took during the call that display to the next agent that takes the - * call. You can also update attributes for a contact using data from your - * CRM application and save the data with the contact in Amazon Connect. You - * could also flag calls for additional analysis, such as legal review or to - * identify abusive callers. + * You can create or update user-defined attributes for both ongoing and + * completed contacts. For example, while the call is active, you can update + * the customer's name or the reason the customer called. You can add notes + * about steps that the agent took during the call that display to the next + * agent that takes the call. You can also update attributes for a contact + * using data from your CRM application and save the data with the contact + * in Amazon Connect. You could also flag calls for additional analysis, + * such as legal review or to identify abusive callers. *

    *

    * Contact attributes are available in Amazon Connect for 24 months, and are - * then deleted. + * then deleted. For information about CTR retention and the maximum size of + * the CTR attributes section, see Feature specifications in the Amazon Connect Administrator + * Guide. *

    *

    * Important: You cannot use the operation to update attributes for @@ -6640,22 +6656,26 @@ public UpdateContactAttributesResult call() throws Exception { /** *

    - * Creates or updates the contact attributes associated with the specified - * contact. + * Creates or updates user-defined contact attributes associated with the + * specified contact. *

    *

    - * You can add or update attributes for both ongoing and completed contacts. - * For example, while the call is active, you can update the customer's name - * or the reason the customer called. You can add notes about steps that the - * agent took during the call that display to the next agent that takes the - * call. You can also update attributes for a contact using data from your - * CRM application and save the data with the contact in Amazon Connect. You - * could also flag calls for additional analysis, such as legal review or to - * identify abusive callers. + * You can create or update user-defined attributes for both ongoing and + * completed contacts. For example, while the call is active, you can update + * the customer's name or the reason the customer called. You can add notes + * about steps that the agent took during the call that display to the next + * agent that takes the call. You can also update attributes for a contact + * using data from your CRM application and save the data with the contact + * in Amazon Connect. You could also flag calls for additional analysis, + * such as legal review or to identify abusive callers. *

    *

    * Contact attributes are available in Amazon Connect for 24 months, and are - * then deleted. + * then deleted. For information about CTR retention and the maximum size of + * the CTR attributes section, see Feature specifications in the Amazon Connect Administrator + * Guide. *

    *

    * Important: You cannot use the operation to update attributes for 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 138ad843f5..24cd88725c 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 @@ -832,6 +832,13 @@ public CreateContactFlowResult createContactFlow( * Service (Amazon S3) or Amazon Kinesis. It also does not allow for any * configurations on features, such as Contact Lens for Amazon Connect. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

    * * @param createInstanceRequest * @return createInstanceResult The response from the CreateInstance service @@ -879,10 +886,6 @@ public CreateInstanceResult createInstance(CreateInstanceRequest createInstanceR } /** - *

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

    *

    * Create an AppIntegration association with an Amazon Connect instance. *

    @@ -1105,10 +1108,6 @@ public CreateRoutingProfileResult createRoutingProfile( } /** - *

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

    *

    * Creates a use case for an AppIntegration association. *

    @@ -1279,6 +1278,13 @@ public CreateUserHierarchyGroupResult createUserHierarchyGroup( *

    * Deletes the Amazon Connect instance. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you + * can create or delete in 30 days. If you exceed this limit, you will get + * an error message indicating there has been an excessive number of + * attempts at creating or deleting instances. You must wait 30 days before + * you can restart creating and deleting instances in your account. + *

    * * @param deleteInstanceRequest * @throws ResourceNotFoundException @@ -1317,10 +1323,6 @@ public void deleteInstance(DeleteInstanceRequest deleteInstanceRequest) } /** - *

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

    *

    * Deletes an AppIntegration association from an Amazon Connect instance. * The association must not have any use cases associated with it. @@ -1414,10 +1416,6 @@ public void deleteQuickConnect(DeleteQuickConnectRequest deleteQuickConnectReque } /** - *

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

    *

    * Deletes a use case from an AppIntegration association. *

    @@ -2627,6 +2625,16 @@ public GetCurrentMetricDataResult getCurrentMetricData( *

    * Retrieves a token for federation. *

    + * + *

    + * This API doesn't support root users. If you try to invoke + * GetFederationToken with root credentials, an error message similar to the + * following one appears: + *

    + *

    + * Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect + *

    + *
    * * @param getFederationTokenRequest * @return getFederationTokenResult The response from the GetFederationToken @@ -3081,10 +3089,6 @@ public ListInstancesResult listInstances(ListInstancesRequest listInstancesReque } /** - *

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

    *

    * Provides summary information about the AppIntegration associations for * the specified Amazon Connect instance. @@ -3421,6 +3425,12 @@ public ListQueueQuickConnectsResult listQueueQuickConnects( * instance. *

    *

    + * If you do not specify a QueueTypes parameter, both standard + * and agent queues are returned. This might cause an unexpected truncation + * of results if you have more than 1000 agents and you limit the number of + * results of the API call in code. + *

    + *

    * For more information about queues, see Queues: Standard and Agent in the Amazon Connect Administrator @@ -3818,10 +3828,6 @@ public ListTagsForResourceResult listTagsForResource( } /** - *

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

    *

    * Lists the use cases. *

    @@ -4063,7 +4069,7 @@ public ResumeContactRecordingResult resumeContactRecording( *
  • *

    * API rate limit is exceeded. API TPS throttling returns a - * TooManyRequests exception from the API Gateway. + * TooManyRequests exception. *

    *
  • *
  • @@ -4590,22 +4596,26 @@ public void untagResource(UntagResourceRequest untagResourceRequest) /** *

    - * Creates or updates the contact attributes associated with the specified - * contact. + * Creates or updates user-defined contact attributes associated with the + * specified contact. *

    *

    - * You can add or update attributes for both ongoing and completed contacts. - * For example, while the call is active, you can update the customer's name - * or the reason the customer called. You can add notes about steps that the - * agent took during the call that display to the next agent that takes the - * call. You can also update attributes for a contact using data from your - * CRM application and save the data with the contact in Amazon Connect. You - * could also flag calls for additional analysis, such as legal review or to - * identify abusive callers. + * You can create or update user-defined attributes for both ongoing and + * completed contacts. For example, while the call is active, you can update + * the customer's name or the reason the customer called. You can add notes + * about steps that the agent took during the call that display to the next + * agent that takes the call. You can also update attributes for a contact + * using data from your CRM application and save the data with the contact + * in Amazon Connect. You could also flag calls for additional analysis, + * such as legal review or to identify abusive callers. *

    *

    * Contact attributes are available in Amazon Connect for 24 months, and are - * then deleted. + * then deleted. For information about CTR retention and the maximum size of + * the CTR attributes section, see Feature specifications in the Amazon Connect Administrator + * Guide. *

    *

    * Important: You cannot use the operation to update attributes for diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateInstanceRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateInstanceRequest.java index b82ca57a3d..d072bd44c7 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateInstanceRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateInstanceRequest.java @@ -29,6 +29,13 @@ * S3) or Amazon Kinesis. It also does not allow for any configurations on * features, such as Contact Lens for Amazon Connect. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you can + * create or delete in 30 days. If you exceed this limit, you will get an error + * message indicating there has been an excessive number of attempts at creating + * or deleting instances. You must wait 30 days before you can restart creating + * and deleting instances in your account. + *

    */ public class CreateInstanceRequest extends AmazonWebServiceRequest implements Serializable { /** diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateIntegrationAssociationRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateIntegrationAssociationRequest.java index ffe9aaf932..350ae1006b 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateIntegrationAssociationRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateIntegrationAssociationRequest.java @@ -20,9 +20,6 @@ import com.amazonaws.AmazonWebServiceRequest; /** - *

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

    *

    * Create an AppIntegration association with an Amazon Connect instance. *

    @@ -87,6 +84,13 @@ public class CreateIntegrationAssociationRequest extends AmazonWebServiceRequest */ private String sourceType; + /** + *

    + * One or more tags. + *

    + */ + private java.util.Map tags; + /** *

    * The identifier of the Amazon Connect instance. @@ -492,6 +496,86 @@ public CreateIntegrationAssociationRequest withSourceType(SourceType sourceType) return this; } + /** + *

    + * One or more tags. + *

    + * + * @return

    + * One or more tags. + *

    + */ + public java.util.Map getTags() { + return tags; + } + + /** + *

    + * One or more tags. + *

    + * + * @param tags

    + * One or more tags. + *

    + */ + public void setTags(java.util.Map tags) { + this.tags = tags; + } + + /** + *

    + * One or more tags. + *

    + *

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

    + * One or more tags. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateIntegrationAssociationRequest withTags(java.util.Map tags) { + this.tags = tags; + return this; + } + + /** + *

    + * One or more tags. + *

    + *

    + * The method adds a new key-value pair into Tags parameter, and returns a + * reference to this object so that method calls can be chained together. + * + * @param key The key of the entry to be added into Tags. + * @param value The corresponding value of the entry to be added into Tags. + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateIntegrationAssociationRequest addTagsEntry(String key, String value) { + if (null == this.tags) { + this.tags = new java.util.HashMap(); + } + if (this.tags.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + + ") are provided."); + this.tags.put(key, value); + return this; + } + + /** + * Removes all the entries added into Tags. + *

    + * Returns a reference to this object so that method calls can be chained + * together. + */ + public CreateIntegrationAssociationRequest clearTagsEntries() { + this.tags = null; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -514,7 +598,9 @@ public String toString() { if (getSourceApplicationName() != null) sb.append("SourceApplicationName: " + getSourceApplicationName() + ","); if (getSourceType() != null) - sb.append("SourceType: " + getSourceType()); + sb.append("SourceType: " + getSourceType() + ","); + if (getTags() != null) + sb.append("Tags: " + getTags()); sb.append("}"); return sb.toString(); } @@ -535,6 +621,7 @@ public int hashCode() { * hashCode + ((getSourceApplicationName() == null) ? 0 : getSourceApplicationName().hashCode()); hashCode = prime * hashCode + ((getSourceType() == null) ? 0 : getSourceType().hashCode()); + hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); return hashCode; } @@ -579,6 +666,10 @@ public boolean equals(Object obj) { if (other.getSourceType() != null && other.getSourceType().equals(this.getSourceType()) == false) return false; + if (other.getTags() == null ^ this.getTags() == null) + return false; + if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) + return false; return true; } } diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateUseCaseRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateUseCaseRequest.java index 6c58f79675..02261a712e 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateUseCaseRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateUseCaseRequest.java @@ -20,9 +20,6 @@ import com.amazonaws.AmazonWebServiceRequest; /** - *

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

    *

    * Creates a use case for an AppIntegration association. *

    @@ -59,6 +56,13 @@ public class CreateUseCaseRequest extends AmazonWebServiceRequest implements Ser */ private String useCaseType; + /** + *

    + * One or more tags. + *

    + */ + private java.util.Map tags; + /** *

    * The identifier of the Amazon Connect instance. @@ -279,6 +283,86 @@ public CreateUseCaseRequest withUseCaseType(UseCaseType useCaseType) { return this; } + /** + *

    + * One or more tags. + *

    + * + * @return

    + * One or more tags. + *

    + */ + public java.util.Map getTags() { + return tags; + } + + /** + *

    + * One or more tags. + *

    + * + * @param tags

    + * One or more tags. + *

    + */ + public void setTags(java.util.Map tags) { + this.tags = tags; + } + + /** + *

    + * One or more tags. + *

    + *

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

    + * One or more tags. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateUseCaseRequest withTags(java.util.Map tags) { + this.tags = tags; + return this; + } + + /** + *

    + * One or more tags. + *

    + *

    + * The method adds a new key-value pair into Tags parameter, and returns a + * reference to this object so that method calls can be chained together. + * + * @param key The key of the entry to be added into Tags. + * @param value The corresponding value of the entry to be added into Tags. + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CreateUseCaseRequest addTagsEntry(String key, String value) { + if (null == this.tags) { + this.tags = new java.util.HashMap(); + } + if (this.tags.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + + ") are provided."); + this.tags.put(key, value); + return this; + } + + /** + * Removes all the entries added into Tags. + *

    + * Returns a reference to this object so that method calls can be chained + * together. + */ + public CreateUseCaseRequest clearTagsEntries() { + this.tags = null; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -295,7 +379,9 @@ public String toString() { if (getIntegrationAssociationId() != null) sb.append("IntegrationAssociationId: " + getIntegrationAssociationId() + ","); if (getUseCaseType() != null) - sb.append("UseCaseType: " + getUseCaseType()); + sb.append("UseCaseType: " + getUseCaseType() + ","); + if (getTags() != null) + sb.append("Tags: " + getTags()); sb.append("}"); return sb.toString(); } @@ -312,6 +398,7 @@ public int hashCode() { .hashCode()); hashCode = prime * hashCode + ((getUseCaseType() == null) ? 0 : getUseCaseType().hashCode()); + hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); return hashCode; } @@ -342,6 +429,10 @@ public boolean equals(Object obj) { if (other.getUseCaseType() != null && other.getUseCaseType().equals(this.getUseCaseType()) == false) return false; + if (other.getTags() == null ^ this.getTags() == null) + return false; + if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) + return false; return true; } } diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteInstanceRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteInstanceRequest.java index c5ee748d89..f3a995d89c 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteInstanceRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteInstanceRequest.java @@ -26,6 +26,13 @@ *

    * Deletes the Amazon Connect instance. *

    + *

    + * Amazon Connect enforces a limit on the total number of instances that you can + * create or delete in 30 days. If you exceed this limit, you will get an error + * message indicating there has been an excessive number of attempts at creating + * or deleting instances. You must wait 30 days before you can restart creating + * and deleting instances in your account. + *

    */ public class DeleteInstanceRequest extends AmazonWebServiceRequest implements Serializable { /** diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteIntegrationAssociationRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteIntegrationAssociationRequest.java index a455f80f17..13ebf1b11b 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteIntegrationAssociationRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteIntegrationAssociationRequest.java @@ -20,9 +20,6 @@ import com.amazonaws.AmazonWebServiceRequest; /** - *

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

    *

    * Deletes an AppIntegration association from an Amazon Connect instance. The * association must not have any use cases associated with it. diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteUseCaseRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteUseCaseRequest.java index e72e4adcf2..3447b65c9f 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteUseCaseRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DeleteUseCaseRequest.java @@ -20,9 +20,6 @@ import com.amazonaws.AmazonWebServiceRequest; /** - *

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

    *

    * Deletes a use case from an AppIntegration association. *

    diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetFederationTokenRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetFederationTokenRequest.java index c78947fe76..b25e858caa 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetFederationTokenRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetFederationTokenRequest.java @@ -23,6 +23,15 @@ *

    * Retrieves a token for federation. *

    + * + *

    + * This API doesn't support root users. If you try to invoke GetFederationToken + * with root credentials, an error message similar to the following one appears: + *

    + *

    + * Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect + *

    + *
    */ public class GetFederationTokenRequest extends AmazonWebServiceRequest implements Serializable { /** diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataRequest.java index 27819c9329..316346aba4 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataRequest.java @@ -75,6 +75,12 @@ public class GetMetricDataRequest extends AmazonWebServiceRequest implements Ser * IDs and queue ARNs in the same request. VOICE, CHAT, and TASK channels * are supported. *

    + * + *

    + * To filter by Queues, enter the queue ID/ARN, not the name of + * the queue. + *

    + *
    */ private Filters filters; @@ -86,9 +92,6 @@ public class GetMetricDataRequest extends AmazonWebServiceRequest implements Ser * aggregated for all queues. *

    *

    - * The only supported grouping is QUEUE. - *

    - *

    * If no grouping is specified, a summary of metrics for all queues is * returned. *

    @@ -324,15 +327,18 @@ public class GetMetricDataRequest extends AmazonWebServiceRequest implements Ser *
    SERVICE_LEVEL
    *
    *

    + * You can include up to 20 SERVICE_LEVEL metrics in a request. + *

    + *

    * Unit: PERCENT *

    *

    * Statistic: AVG *

    *

    - * Threshold: Only "Less than" comparisons are supported, with the following - * service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, - * 600 + * Threshold: For ThresholdValue, enter any whole number from 1 + * to 604800 (inclusive), in seconds. For Comparison, you must + * enter LT (for "Less than"). *

    *
    * @@ -593,6 +599,12 @@ public GetMetricDataRequest withEndTime(java.util.Date endTime) { * IDs and queue ARNs in the same request. VOICE, CHAT, and TASK channels * are supported. *

    + * + *

    + * To filter by Queues, enter the queue ID/ARN, not the name of + * the queue. + *

    + *
    * * @return

    * The queues, up to 100, or channels, to use to filter the metrics @@ -601,6 +613,12 @@ public GetMetricDataRequest withEndTime(java.util.Date endTime) { * You can include both queue IDs and queue ARNs in the same * request. VOICE, CHAT, and TASK channels are supported. *

    + * + *

    + * To filter by Queues, enter the queue ID/ARN, not the + * name of the queue. + *

    + *
    */ public Filters getFilters() { return filters; @@ -614,6 +632,12 @@ public Filters getFilters() { * IDs and queue ARNs in the same request. VOICE, CHAT, and TASK channels * are supported. *

    + * + *

    + * To filter by Queues, enter the queue ID/ARN, not the name of + * the queue. + *

    + *
    * * @param filters

    * The queues, up to 100, or channels, to use to filter the @@ -623,6 +647,12 @@ public Filters getFilters() { * the same request. VOICE, CHAT, and TASK channels are * supported. *

    + * + *

    + * To filter by Queues, enter the queue ID/ARN, not + * the name of the queue. + *

    + *
    */ public void setFilters(Filters filters) { this.filters = filters; @@ -636,6 +666,12 @@ public void setFilters(Filters filters) { * IDs and queue ARNs in the same request. VOICE, CHAT, and TASK channels * are supported. *

    + * + *

    + * To filter by Queues, enter the queue ID/ARN, not the name of + * the queue. + *

    + *
    *

    * Returns a reference to this object so that method calls can be chained * together. @@ -648,6 +684,12 @@ public void setFilters(Filters filters) { * the same request. VOICE, CHAT, and TASK channels are * supported. *

    + * + *

    + * To filter by Queues, enter the queue ID/ARN, not + * the name of the queue. + *

    + *
    * @return A reference to this updated object so that method calls can be * chained together. */ @@ -664,9 +706,6 @@ public GetMetricDataRequest withFilters(Filters filters) { * aggregated for all queues. *

    *

    - * The only supported grouping is QUEUE. - *

    - *

    * If no grouping is specified, a summary of metrics for all queues is * returned. *

    @@ -678,9 +717,6 @@ public GetMetricDataRequest withFilters(Filters filters) { * rather than aggregated for all queues. *

    *

    - * The only supported grouping is QUEUE. - *

    - *

    * If no grouping is specified, a summary of metrics for all queues * is returned. *

    @@ -697,9 +733,6 @@ public java.util.List getGroupings() { * aggregated for all queues. *

    *

    - * The only supported grouping is QUEUE. - *

    - *

    * If no grouping is specified, a summary of metrics for all queues is * returned. *

    @@ -711,9 +744,6 @@ public java.util.List getGroupings() { * each queue rather than aggregated for all queues. *

    *

    - * The only supported grouping is QUEUE. - *

    - *

    * If no grouping is specified, a summary of metrics for all * queues is returned. *

    @@ -735,9 +765,6 @@ public void setGroupings(java.util.Collection groupings) { * aggregated for all queues. *

    *

    - * The only supported grouping is QUEUE. - *

    - *

    * If no grouping is specified, a summary of metrics for all queues is * returned. *

    @@ -752,9 +779,6 @@ public void setGroupings(java.util.Collection groupings) { * each queue rather than aggregated for all queues. *

    *

    - * The only supported grouping is QUEUE. - *

    - *

    * If no grouping is specified, a summary of metrics for all * queues is returned. *

    @@ -779,9 +803,6 @@ public GetMetricDataRequest withGroupings(String... groupings) { * aggregated for all queues. *

    *

    - * The only supported grouping is QUEUE. - *

    - *

    * If no grouping is specified, a summary of metrics for all queues is * returned. *

    @@ -796,9 +817,6 @@ public GetMetricDataRequest withGroupings(String... groupings) { * each queue rather than aggregated for all queues. *

    *

    - * The only supported grouping is QUEUE. - *

    - *

    * If no grouping is specified, a summary of metrics for all * queues is returned. *

    @@ -1039,15 +1057,18 @@ public GetMetricDataRequest withGroupings(java.util.Collection groupings *
    SERVICE_LEVEL
    *
    *

    + * You can include up to 20 SERVICE_LEVEL metrics in a request. + *

    + *

    * Unit: PERCENT *

    *

    * Statistic: AVG *

    *

    - * Threshold: Only "Less than" comparisons are supported, with the following - * service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, - * 600 + * Threshold: For ThresholdValue, enter any whole number from 1 + * to 604800 (inclusive), in seconds. For Comparison, you must + * enter LT (for "Less than"). *

    *
    * @@ -1280,15 +1301,19 @@ public GetMetricDataRequest withGroupings(java.util.Collection groupings *
    SERVICE_LEVEL
    *
    *

    + * You can include up to 20 SERVICE_LEVEL metrics in a request. + *

    + *

    * Unit: PERCENT *

    *

    * Statistic: AVG *

    *

    - * Threshold: Only "Less than" comparisons are supported, with the - * following service level thresholds: 15, 20, 25, 30, 45, 60, 90, - * 120, 180, 240, 300, 600 + * Threshold: For ThresholdValue, enter any whole + * number from 1 to 604800 (inclusive), in seconds. For + * Comparison, you must enter LT (for + * "Less than"). *

    *
    * @@ -1526,15 +1551,18 @@ public java.util.List getHistoricalMetrics() { *
    SERVICE_LEVEL
    *
    *

    + * You can include up to 20 SERVICE_LEVEL metrics in a request. + *

    + *

    * Unit: PERCENT *

    *

    * Statistic: AVG *

    *

    - * Threshold: Only "Less than" comparisons are supported, with the following - * service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, - * 600 + * Threshold: For ThresholdValue, enter any whole number from 1 + * to 604800 (inclusive), in seconds. For Comparison, you must + * enter LT (for "Less than"). *

    *
    * @@ -1767,15 +1795,19 @@ public java.util.List getHistoricalMetrics() { *
    SERVICE_LEVEL
    *
    *

    + * You can include up to 20 SERVICE_LEVEL metrics in a request. + *

    + *

    * Unit: PERCENT *

    *

    * Statistic: AVG *

    *

    - * Threshold: Only "Less than" comparisons are supported, with - * the following service level thresholds: 15, 20, 25, 30, 45, - * 60, 90, 120, 180, 240, 300, 600 + * Threshold: For ThresholdValue, enter any whole + * number from 1 to 604800 (inclusive), in seconds. For + * Comparison, you must enter LT (for + * "Less than"). *

    *
    * @@ -2018,15 +2050,18 @@ public void setHistoricalMetrics(java.util.Collection historic *
    SERVICE_LEVEL
    *
    *

    + * You can include up to 20 SERVICE_LEVEL metrics in a request. + *

    + *

    * Unit: PERCENT *

    *

    * Statistic: AVG *

    *

    - * Threshold: Only "Less than" comparisons are supported, with the following - * service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, - * 600 + * Threshold: For ThresholdValue, enter any whole number from 1 + * to 604800 (inclusive), in seconds. For Comparison, you must + * enter LT (for "Less than"). *

    *
    * @@ -2262,15 +2297,19 @@ public void setHistoricalMetrics(java.util.Collection historic *
    SERVICE_LEVEL
    *
    *

    + * You can include up to 20 SERVICE_LEVEL metrics in a request. + *

    + *

    * Unit: PERCENT *

    *

    * Statistic: AVG *

    *

    - * Threshold: Only "Less than" comparisons are supported, with - * the following service level thresholds: 15, 20, 25, 30, 45, - * 60, 90, 120, 180, 240, 300, 600 + * Threshold: For ThresholdValue, enter any whole + * number from 1 to 604800 (inclusive), in seconds. For + * Comparison, you must enter LT (for + * "Less than"). *

    *
    * @@ -2517,15 +2556,18 @@ public GetMetricDataRequest withHistoricalMetrics(HistoricalMetric... historical *
    SERVICE_LEVEL
    *
    *

    + * You can include up to 20 SERVICE_LEVEL metrics in a request. + *

    + *

    * Unit: PERCENT *

    *

    * Statistic: AVG *

    *

    - * Threshold: Only "Less than" comparisons are supported, with the following - * service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, - * 600 + * Threshold: For ThresholdValue, enter any whole number from 1 + * to 604800 (inclusive), in seconds. For Comparison, you must + * enter LT (for "Less than"). *

    *
    * @@ -2761,15 +2803,19 @@ public GetMetricDataRequest withHistoricalMetrics(HistoricalMetric... historical *
    SERVICE_LEVEL
    *
    *

    + * You can include up to 20 SERVICE_LEVEL metrics in a request. + *

    + *

    * Unit: PERCENT *

    *

    * Statistic: AVG *

    *

    - * Threshold: Only "Less than" comparisons are supported, with - * the following service level thresholds: 15, 20, 25, 30, 45, - * 60, 90, 120, 180, 240, 300, 600 + * Threshold: For ThresholdValue, enter any whole + * number from 1 to 604800 (inclusive), in seconds. For + * Comparison, you must enter LT (for + * "Less than"). *

    *
    * diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListIntegrationAssociationsRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListIntegrationAssociationsRequest.java index 4a751ac7fa..5a3d70fdca 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListIntegrationAssociationsRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListIntegrationAssociationsRequest.java @@ -20,9 +20,6 @@ import com.amazonaws.AmazonWebServiceRequest; /** - *

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

    *

    * Provides summary information about the AppIntegration associations for the * specified Amazon Connect instance. diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListQueuesRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListQueuesRequest.java index a411f5a1fe..377cefb649 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListQueuesRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListQueuesRequest.java @@ -25,6 +25,12 @@ * instance. *

    *

    + * If you do not specify a QueueTypes parameter, both standard and + * agent queues are returned. This might cause an unexpected truncation of + * results if you have more than 1000 agents and you limit the number of results + * of the API call in code. + *

    + *

    * For more information about queues, see Queues: Standard and Agent in the Amazon Connect Administrator diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListUseCasesRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListUseCasesRequest.java index e7d059f351..bc84d11de2 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListUseCasesRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListUseCasesRequest.java @@ -20,9 +20,6 @@ import com.amazonaws.AmazonWebServiceRequest; /** - *

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

    *

    * Lists the use cases. *

    diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/MediaConcurrency.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/MediaConcurrency.java index f0c76b2425..6f64ef003b 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/MediaConcurrency.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/MediaConcurrency.java @@ -39,6 +39,18 @@ public class MediaConcurrency implements Serializable { * The number of contacts an agent can have on a channel simultaneously. *

    *

    + * Valid Range for VOICE: Minimum value of 1. Maximum value of + * 1. + *

    + *

    + * Valid Range for CHAT: Minimum value of 1. Maximum value of + * 5. + *

    + *

    + * Valid Range for TASK: Minimum value of 1. Maximum value of + * 10. + *

    + *

    * Constraints:
    * Range: 1 - 10
    */ @@ -151,6 +163,18 @@ public MediaConcurrency withChannel(Channel channel) { * The number of contacts an agent can have on a channel simultaneously. *

    *

    + * Valid Range for VOICE: Minimum value of 1. Maximum value of + * 1. + *

    + *

    + * Valid Range for CHAT: Minimum value of 1. Maximum value of + * 5. + *

    + *

    + * Valid Range for TASK: Minimum value of 1. Maximum value of + * 10. + *

    + *

    * Constraints:
    * Range: 1 - 10
    * @@ -158,6 +182,18 @@ public MediaConcurrency withChannel(Channel channel) { * The number of contacts an agent can have on a channel * simultaneously. *

    + *

    + * Valid Range for VOICE: Minimum value of 1. Maximum + * value of 1. + *

    + *

    + * Valid Range for CHAT: Minimum value of 1. Maximum + * value of 5. + *

    + *

    + * Valid Range for TASK: Minimum value of 1. Maximum + * value of 10. + *

    */ public Integer getConcurrency() { return concurrency; @@ -168,6 +204,18 @@ public Integer getConcurrency() { * The number of contacts an agent can have on a channel simultaneously. *

    *

    + * Valid Range for VOICE: Minimum value of 1. Maximum value of + * 1. + *

    + *

    + * Valid Range for CHAT: Minimum value of 1. Maximum value of + * 5. + *

    + *

    + * Valid Range for TASK: Minimum value of 1. Maximum value of + * 10. + *

    + *

    * Constraints:
    * Range: 1 - 10
    * @@ -175,6 +223,18 @@ public Integer getConcurrency() { * The number of contacts an agent can have on a channel * simultaneously. *

    + *

    + * Valid Range for VOICE: Minimum value of 1. + * Maximum value of 1. + *

    + *

    + * Valid Range for CHAT: Minimum value of 1. Maximum + * value of 5. + *

    + *

    + * Valid Range for TASK: Minimum value of 1. Maximum + * value of 10. + *

    */ public void setConcurrency(Integer concurrency) { this.concurrency = concurrency; @@ -185,6 +245,18 @@ public void setConcurrency(Integer concurrency) { * The number of contacts an agent can have on a channel simultaneously. *

    *

    + * Valid Range for VOICE: Minimum value of 1. Maximum value of + * 1. + *

    + *

    + * Valid Range for CHAT: Minimum value of 1. Maximum value of + * 5. + *

    + *

    + * Valid Range for TASK: Minimum value of 1. Maximum value of + * 10. + *

    + *

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

    @@ -195,6 +267,18 @@ public void setConcurrency(Integer concurrency) { * The number of contacts an agent can have on a channel * simultaneously. *

    + *

    + * Valid Range for VOICE: Minimum value of 1. + * Maximum value of 1. + *

    + *

    + * Valid Range for CHAT: Minimum value of 1. Maximum + * value of 5. + *

    + *

    + * Valid Range for TASK: Minimum value of 1. Maximum + * value of 10. + *

    * @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/StartChatContactRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/StartChatContactRequest.java index 4ce797946f..8fece2d974 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/StartChatContactRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/StartChatContactRequest.java @@ -41,7 +41,7 @@ *
  • *

    * API rate limit is exceeded. API TPS throttling returns a - * TooManyRequests exception from the API Gateway. + * TooManyRequests exception. *

    *
  • *
  • diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateContactAttributesRequest.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateContactAttributesRequest.java index d8add1cfb6..3c3647dc65 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateContactAttributesRequest.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/UpdateContactAttributesRequest.java @@ -21,21 +21,25 @@ /** *

    - * Creates or updates the contact attributes associated with the specified - * contact. + * Creates or updates user-defined contact attributes associated with the + * specified contact. *

    *

    - * You can add or update attributes for both ongoing and completed contacts. For - * example, while the call is active, you can update the customer's name or the - * reason the customer called. You can add notes about steps that the agent took - * during the call that display to the next agent that takes the call. You can - * also update attributes for a contact using data from your CRM application and - * save the data with the contact in Amazon Connect. You could also flag calls - * for additional analysis, such as legal review or to identify abusive callers. + * You can create or update user-defined attributes for both ongoing and + * completed contacts. For example, while the call is active, you can update the + * customer's name or the reason the customer called. You can add notes about + * steps that the agent took during the call that display to the next agent that + * takes the call. You can also update attributes for a contact using data from + * your CRM application and save the data with the contact in Amazon Connect. + * You could also flag calls for additional analysis, such as legal review or to + * identify abusive callers. *

    *

    * Contact attributes are available in Amazon Connect for 24 months, and are - * then deleted. + * then deleted. For information about CTR retention and the maximum size of the + * CTR attributes section, see Feature specifications in the Amazon Connect Administrator Guide. *

    *

    * Important: You cannot use the operation to update attributes for diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateIntegrationAssociationRequestMarshaller.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateIntegrationAssociationRequestMarshaller.java index 9dc394ee11..f76fa7c684 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateIntegrationAssociationRequestMarshaller.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateIntegrationAssociationRequestMarshaller.java @@ -93,6 +93,19 @@ public Request marshall( jsonWriter.name("SourceType"); jsonWriter.value(sourceType); } + if (createIntegrationAssociationRequest.getTags() != null) { + java.util.Map tags = createIntegrationAssociationRequest.getTags(); + jsonWriter.name("Tags"); + jsonWriter.beginObject(); + for (java.util.Map.Entry tagsEntry : tags.entrySet()) { + String tagsValue = tagsEntry.getValue(); + if (tagsValue != null) { + jsonWriter.name(tagsEntry.getKey()); + jsonWriter.value(tagsValue); + } + } + jsonWriter.endObject(); + } jsonWriter.endObject(); jsonWriter.close(); diff --git a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateUseCaseRequestMarshaller.java b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateUseCaseRequestMarshaller.java index 1fc7f73d38..c68917653c 100644 --- a/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateUseCaseRequestMarshaller.java +++ b/aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/transform/CreateUseCaseRequestMarshaller.java @@ -73,6 +73,19 @@ public Request marshall(CreateUseCaseRequest createUseCase jsonWriter.name("UseCaseType"); jsonWriter.value(useCaseType); } + if (createUseCaseRequest.getTags() != null) { + java.util.Map tags = createUseCaseRequest.getTags(); + jsonWriter.name("Tags"); + jsonWriter.beginObject(); + for (java.util.Map.Entry tagsEntry : tags.entrySet()) { + String tagsValue = tagsEntry.getValue(); + if (tagsValue != null) { + jsonWriter.name(tagsEntry.getKey()); + jsonWriter.value(tagsValue); + } + } + jsonWriter.endObject(); + } jsonWriter.endObject(); jsonWriter.close();