From 8ba8f91761c05773e3b72d5901411e2dc47bd59f Mon Sep 17 00:00:00 2001 From: awsmobilesdk Date: Mon, 27 Mar 2023 18:08:05 +0000 Subject: [PATCH] feat(aws-android-sdk-connectparticipant): update models to latest --- .../AmazonConnectParticipant.java | 17 +++- .../AmazonConnectParticipantAsync.java | 17 +++- .../AmazonConnectParticipantAsyncClient.java | 17 +++- .../AmazonConnectParticipantClient.java | 17 +++- .../CreateParticipantConnectionRequest.java | 29 +++++-- .../model/SendMessageRequest.java | 83 ++++++++++++++++--- .../connectparticipant/package-info.java | 2 +- 7 files changed, 146 insertions(+), 36 deletions(-) diff --git a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipant.java b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipant.java index f0bdc607cb..1919c6e20b 100644 --- a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipant.java +++ b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipant.java @@ -22,10 +22,19 @@ /** * Interface for accessing Amazon Connect Participant *

- * Amazon Connect is a cloud-based contact center solution that makes it easy to - * set up and manage a customer contact center. Amazon Connect enables customer - * contacts through voice or chat. Use the Amazon Connect Participant Service to - * manage chat participants, such as agents and customers. + * Amazon Connect is an easy-to-use omnichannel cloud contact center service + * that enables companies of any size to deliver superior customer service at a + * lower cost. Amazon Connect communications capabilities make it easy for + * companies to deliver personalized interactions across communication channels, + * including chat. + *

+ *

+ * Use the Amazon Connect Participant Service to manage participants (for + * example, agents, customers, and managers listening in), and to send messages + * and events within a chat contact. The APIs in the service enable the + * following: sending chat messages, attachment sharing, managing a + * participant's connection state and message events, and retrieving chat + * transcripts. *

**/ public interface AmazonConnectParticipant { diff --git a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantAsync.java b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantAsync.java index ff3005eeb7..1ea10d2893 100644 --- a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantAsync.java +++ b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantAsync.java @@ -25,10 +25,19 @@ /** * Interface for accessing Amazon Connect Participant asynchronously. *

- * Amazon Connect is a cloud-based contact center solution that makes it easy to - * set up and manage a customer contact center. Amazon Connect enables customer - * contacts through voice or chat. Use the Amazon Connect Participant Service to - * manage chat participants, such as agents and customers. + * Amazon Connect is an easy-to-use omnichannel cloud contact center service + * that enables companies of any size to deliver superior customer service at a + * lower cost. Amazon Connect communications capabilities make it easy for + * companies to deliver personalized interactions across communication channels, + * including chat. + *

+ *

+ * Use the Amazon Connect Participant Service to manage participants (for + * example, agents, customers, and managers listening in), and to send messages + * and events within a chat contact. The APIs in the service enable the + * following: sending chat messages, attachment sharing, managing a + * participant's connection state and message events, and retrieving chat + * transcripts. *

**/ public interface AmazonConnectParticipantAsync extends AmazonConnectParticipant { diff --git a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantAsyncClient.java b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantAsyncClient.java index 4c0bc06027..73e40b9c36 100644 --- a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantAsyncClient.java +++ b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantAsyncClient.java @@ -33,10 +33,19 @@ /** * Interface for accessing Amazon Connect Participant asynchronously. *

- * Amazon Connect is a cloud-based contact center solution that makes it easy to - * set up and manage a customer contact center. Amazon Connect enables customer - * contacts through voice or chat. Use the Amazon Connect Participant Service to - * manage chat participants, such as agents and customers. + * Amazon Connect is an easy-to-use omnichannel cloud contact center service + * that enables companies of any size to deliver superior customer service at a + * lower cost. Amazon Connect communications capabilities make it easy for + * companies to deliver personalized interactions across communication channels, + * including chat. + *

+ *

+ * Use the Amazon Connect Participant Service to manage participants (for + * example, agents, customers, and managers listening in), and to send messages + * and events within a chat contact. The APIs in the service enable the + * following: sending chat messages, attachment sharing, managing a + * participant's connection state and message events, and retrieving chat + * transcripts. *

**/ public class AmazonConnectParticipantAsyncClient extends AmazonConnectParticipantClient implements diff --git a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantClient.java b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantClient.java index 0eb0c27511..e0d476b1f0 100644 --- a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantClient.java +++ b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/AmazonConnectParticipantClient.java @@ -36,10 +36,19 @@ * completes. *

*

- * Amazon Connect is a cloud-based contact center solution that makes it easy to - * set up and manage a customer contact center. Amazon Connect enables customer - * contacts through voice or chat. Use the Amazon Connect Participant Service to - * manage chat participants, such as agents and customers. + * Amazon Connect is an easy-to-use omnichannel cloud contact center service + * that enables companies of any size to deliver superior customer service at a + * lower cost. Amazon Connect communications capabilities make it easy for + * companies to deliver personalized interactions across communication channels, + * including chat. + *

+ *

+ * Use the Amazon Connect Participant Service to manage participants (for + * example, agents, customers, and managers listening in), and to send messages + * and events within a chat contact. The APIs in the service enable the + * following: sending chat messages, attachment sharing, managing a + * participant's connection state and message events, and retrieving chat + * transcripts. *

*/ public class AmazonConnectParticipantClient extends AmazonWebServiceClient implements diff --git a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/CreateParticipantConnectionRequest.java b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/CreateParticipantConnectionRequest.java index 6f9c48a558..0625d65724 100644 --- a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/CreateParticipantConnectionRequest.java +++ b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/CreateParticipantConnectionRequest.java @@ -104,7 +104,8 @@ public class CreateParticipantConnectionRequest extends AmazonWebServiceRequest /** *

* Amazon Connect Participant is used to mark the participant as connected - * for message streaming. + * for customer participant in message streaming, as well as for agent or + * manager participant in non-streaming chats. *

*/ private Boolean connectParticipant; @@ -278,12 +279,14 @@ public CreateParticipantConnectionRequest withParticipantToken(String participan /** *

* Amazon Connect Participant is used to mark the participant as connected - * for message streaming. + * for customer participant in message streaming, as well as for agent or + * manager participant in non-streaming chats. *

* * @return

* Amazon Connect Participant is used to mark the participant as - * connected for message streaming. + * connected for customer participant in message streaming, as well + * as for agent or manager participant in non-streaming chats. *

*/ public Boolean isConnectParticipant() { @@ -293,12 +296,14 @@ public Boolean isConnectParticipant() { /** *

* Amazon Connect Participant is used to mark the participant as connected - * for message streaming. + * for customer participant in message streaming, as well as for agent or + * manager participant in non-streaming chats. *

* * @return

* Amazon Connect Participant is used to mark the participant as - * connected for message streaming. + * connected for customer participant in message streaming, as well + * as for agent or manager participant in non-streaming chats. *

*/ public Boolean getConnectParticipant() { @@ -308,12 +313,15 @@ public Boolean getConnectParticipant() { /** *

* Amazon Connect Participant is used to mark the participant as connected - * for message streaming. + * for customer participant in message streaming, as well as for agent or + * manager participant in non-streaming chats. *

* * @param connectParticipant

* Amazon Connect Participant is used to mark the participant as - * connected for message streaming. + * connected for customer participant in message streaming, as + * well as for agent or manager participant in non-streaming + * chats. *

*/ public void setConnectParticipant(Boolean connectParticipant) { @@ -323,7 +331,8 @@ public void setConnectParticipant(Boolean connectParticipant) { /** *

* Amazon Connect Participant is used to mark the participant as connected - * for message streaming. + * for customer participant in message streaming, as well as for agent or + * manager participant in non-streaming chats. *

*

* Returns a reference to this object so that method calls can be chained @@ -331,7 +340,9 @@ public void setConnectParticipant(Boolean connectParticipant) { * * @param connectParticipant

* Amazon Connect Participant is used to mark the participant as - * connected for message streaming. + * connected for customer participant in message streaming, as + * well as for agent or manager participant in non-streaming + * chats. *

* @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/SendMessageRequest.java b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/SendMessageRequest.java index 67b11e91e0..20ce87507b 100644 --- a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/SendMessageRequest.java +++ b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/SendMessageRequest.java @@ -39,7 +39,9 @@ public class SendMessageRequest extends AmazonWebServiceRequest implements Seria /** *

* The type of the content. Supported types are text/plain, - * text/markdown, and application/json. + * text/markdown, application/json, and + * application/vnd.amazonaws.connect.message.interactive.response + * . *

*

* Constraints:
@@ -64,6 +66,13 @@ public class SendMessageRequest extends AmazonWebServiceRequest implements Seria * 1, Maximum of 12000. *

* + *
  • + *

    + * For + * application/vnd.amazonaws.connect.message.interactive.response + * , the Length Constraints are Minimum of 1, Maximum of 12288. + *

    + *
  • * *

    * Constraints:
    @@ -99,7 +108,9 @@ public class SendMessageRequest extends AmazonWebServiceRequest implements Seria /** *

    * The type of the content. Supported types are text/plain, - * text/markdown, and application/json. + * text/markdown, application/json, and + * application/vnd.amazonaws.connect.message.interactive.response + * . *

    *

    * Constraints:
    @@ -107,8 +118,10 @@ public class SendMessageRequest extends AmazonWebServiceRequest implements Seria * * @return

    * The type of the content. Supported types are - * text/plain, text/markdown, and - * application/json. + * text/plain, text/markdown, + * application/json, and + * application/vnd.amazonaws.connect.message.interactive.response + * . *

    */ public String getContentType() { @@ -118,7 +131,9 @@ public String getContentType() { /** *

    * The type of the content. Supported types are text/plain, - * text/markdown, and application/json. + * text/markdown, application/json, and + * application/vnd.amazonaws.connect.message.interactive.response + * . *

    *

    * Constraints:
    @@ -126,8 +141,10 @@ public String getContentType() { * * @param contentType

    * The type of the content. Supported types are - * text/plain, text/markdown, and - * application/json. + * text/plain, text/markdown, + * application/json, and + * application/vnd.amazonaws.connect.message.interactive.response + * . *

    */ public void setContentType(String contentType) { @@ -137,7 +154,9 @@ public void setContentType(String contentType) { /** *

    * The type of the content. Supported types are text/plain, - * text/markdown, and application/json. + * text/markdown, application/json, and + * application/vnd.amazonaws.connect.message.interactive.response + * . *

    *

    * Returns a reference to this object so that method calls can be chained @@ -148,8 +167,10 @@ public void setContentType(String contentType) { * * @param contentType

    * The type of the content. Supported types are - * text/plain, text/markdown, and - * application/json. + * text/plain, text/markdown, + * application/json, and + * application/vnd.amazonaws.connect.message.interactive.response + * . *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -176,6 +197,13 @@ public SendMessageRequest withContentType(String contentType) { * 1, Maximum of 12000. *

    * + *
  • + *

    + * For + * application/vnd.amazonaws.connect.message.interactive.response + * , the Length Constraints are Minimum of 1, Maximum of 12288. + *

    + *
  • * *

    * Constraints:
    @@ -197,6 +225,13 @@ public SendMessageRequest withContentType(String contentType) { * Minimum of 1, Maximum of 12000. *

    * + *
  • + *

    + * For + * application/vnd.amazonaws.connect.message.interactive.response + * , the Length Constraints are Minimum of 1, Maximum of 12288. + *

    + *
  • * */ public String getContent() { @@ -220,6 +255,13 @@ public String getContent() { * 1, Maximum of 12000. *

    * + *
  • + *

    + * For + * application/vnd.amazonaws.connect.message.interactive.response + * , the Length Constraints are Minimum of 1, Maximum of 12288. + *

    + *
  • * *

    * Constraints:
    @@ -241,6 +283,13 @@ public String getContent() { * Minimum of 1, Maximum of 12000. *

    * + *
  • + *

    + * For + * application/vnd.amazonaws.connect.message.interactive.response + * , the Length Constraints are Minimum of 1, Maximum of 12288. + *

    + *
  • * */ public void setContent(String content) { @@ -264,6 +313,13 @@ public void setContent(String content) { * 1, Maximum of 12000. *

    * + *
  • + *

    + * For + * application/vnd.amazonaws.connect.message.interactive.response + * , the Length Constraints are Minimum of 1, Maximum of 12288. + *

    + *
  • * *

    * Returns a reference to this object so that method calls can be chained @@ -288,6 +344,13 @@ public void setContent(String content) { * Minimum of 1, Maximum of 12000. *

    * + *
  • + *

    + * For + * application/vnd.amazonaws.connect.message.interactive.response + * , the Length Constraints are Minimum of 1, Maximum of 12288. + *

    + *
  • * * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/package-info.java b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/package-info.java index e9d44491bd..9a6bc7efdf 100644 --- a/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/package-info.java +++ b/aws-android-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/package-info.java @@ -1,5 +1,5 @@ /** - *

    Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage a customer contact center. Amazon Connect enables customer contacts through voice or chat. Use the Amazon Connect Participant Service to manage chat participants, such as agents and customers.

    + *

    Amazon Connect is an easy-to-use omnichannel cloud contact center service that enables companies of any size to deliver superior customer service at a lower cost. Amazon Connect communications capabilities make it easy for companies to deliver personalized interactions across communication channels, including chat.

    Use the Amazon Connect Participant Service to manage participants (for example, agents, customers, and managers listening in), and to send messages and events within a chat contact. The APIs in the service enable the following: sending chat messages, attachment sharing, managing a participant's connection state and message events, and retrieving chat transcripts.

    */ package com.amazonaws.services.connectparticipant;