@aws-sdk/client-connectparticipant 3.299.0 → 3.301.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,10 +9,15 @@
9
9
 
10
10
  AWS SDK for JavaScript ConnectParticipant Client for Node.js, Browser and React Native.
11
11
 
12
- <p>Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage
13
- a customer contact center. Amazon Connect enables customer contacts through voice or chat. Use
14
- the Amazon Connect Participant Service to manage chat participants, such as agents and
15
- customers.</p>
12
+ <p>Amazon Connect is an easy-to-use omnichannel cloud contact center service that
13
+ enables companies of any size to deliver superior customer service at a lower cost.
14
+ Amazon Connect communications capabilities make it easy for companies to deliver
15
+ personalized interactions across communication channels, including chat. </p>
16
+ <p>Use the Amazon Connect Participant Service to manage participants (for example,
17
+ agents, customers, and managers listening in), and to send messages and events within a
18
+ chat contact. The APIs in the service enable the following: sending chat messages,
19
+ attachment sharing, managing a participant's connection state and message events, and
20
+ retrieving chat transcripts.</p>
16
21
 
17
22
  ## Installing
18
23
 
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const s = "fn", t = "argv", u = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Endpoint" }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, m = {}, n = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [{ [u]: d }, "supportsFIPS"] }] }, o = { [u]: d }, p = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [o, "supportsDualStack"] }] }, q = [k], r = [l];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [j] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: "stringEquals", [t]: ["aws-us-gov", { [s]: h, [t]: [o, "name"] }] }], endpoint: { url: "https://participant.connect.{Region}.amazonaws.com", properties: m, headers: m }, type: g }, { endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://participant.connect.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const s = "fn", t = "argv", u = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Endpoint" }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, m = {}, n = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [{ [u]: d }, "supportsFIPS"] }] }, o = { [u]: d }, p = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [o, "supportsDualStack"] }] }, q = [k], r = [l];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [j] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: "stringEquals", [t]: ["aws-us-gov", { [s]: h, [t]: [o, "name"] }] }], endpoint: { url: "https://participant.connect.{Region}.amazonaws.com", properties: m, headers: m }, type: g }, { endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://participant.connect.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -10,10 +10,15 @@ import { StartAttachmentUploadCommandInput, StartAttachmentUploadCommandOutput }
10
10
  import { ConnectParticipantClient } from "./ConnectParticipantClient";
11
11
  /**
12
12
  * @public
13
- * <p>Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage
14
- * a customer contact center. Amazon Connect enables customer contacts through voice or chat. Use
15
- * the Amazon Connect Participant Service to manage chat participants, such as agents and
16
- * customers.</p>
13
+ * <p>Amazon Connect is an easy-to-use omnichannel cloud contact center service that
14
+ * enables companies of any size to deliver superior customer service at a lower cost.
15
+ * Amazon Connect communications capabilities make it easy for companies to deliver
16
+ * personalized interactions across communication channels, including chat. </p>
17
+ * <p>Use the Amazon Connect Participant Service to manage participants (for example,
18
+ * agents, customers, and managers listening in), and to send messages and events within a
19
+ * chat contact. The APIs in the service enable the following: sending chat messages,
20
+ * attachment sharing, managing a participant's connection state and message events, and
21
+ * retrieving chat transcripts.</p>
17
22
  */
18
23
  export declare class ConnectParticipant extends ConnectParticipantClient {
19
24
  /**
@@ -105,8 +110,7 @@ export declare class ConnectParticipant extends ConnectParticipantClient {
105
110
  * @public
106
111
  * <p>Retrieves a transcript of the session, including details about any attachments. For
107
112
  * information about accessing past chat contact transcripts for a persistent chat, see
108
- * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent chat</a>.
109
- * </p>
113
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent chat</a>. </p>
110
114
  * <note>
111
115
  * <p>
112
116
  * <code>ConnectionToken</code> is used for invoking this API instead of
@@ -151,10 +151,15 @@ export interface ConnectParticipantClientResolvedConfig extends ConnectParticipa
151
151
  }
152
152
  /**
153
153
  * @public
154
- * <p>Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage
155
- * a customer contact center. Amazon Connect enables customer contacts through voice or chat. Use
156
- * the Amazon Connect Participant Service to manage chat participants, such as agents and
157
- * customers.</p>
154
+ * <p>Amazon Connect is an easy-to-use omnichannel cloud contact center service that
155
+ * enables companies of any size to deliver superior customer service at a lower cost.
156
+ * Amazon Connect communications capabilities make it easy for companies to deliver
157
+ * personalized interactions across communication channels, including chat. </p>
158
+ * <p>Use the Amazon Connect Participant Service to manage participants (for example,
159
+ * agents, customers, and managers listening in), and to send messages and events within a
160
+ * chat contact. The APIs in the service enable the following: sending chat messages,
161
+ * attachment sharing, managing a participant's connection state and message events, and
162
+ * retrieving chat transcripts.</p>
158
163
  */
159
164
  export declare class ConnectParticipantClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ConnectParticipantClientResolvedConfig> {
160
165
  /**
@@ -34,6 +34,13 @@ export interface CompleteAttachmentUploadCommandOutput extends CompleteAttachmen
34
34
  * import { ConnectParticipantClient, CompleteAttachmentUploadCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
35
35
  * // const { ConnectParticipantClient, CompleteAttachmentUploadCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
36
36
  * const client = new ConnectParticipantClient(config);
37
+ * const input = { // CompleteAttachmentUploadRequest
38
+ * AttachmentIds: [ // AttachmentIdList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * ClientToken: "STRING_VALUE", // required
42
+ * ConnectionToken: "STRING_VALUE", // required
43
+ * };
37
44
  * const command = new CompleteAttachmentUploadCommand(input);
38
45
  * const response = await client.send(command);
39
46
  * ```
@@ -60,6 +60,13 @@ export interface CreateParticipantConnectionCommandOutput extends CreateParticip
60
60
  * import { ConnectParticipantClient, CreateParticipantConnectionCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
61
61
  * // const { ConnectParticipantClient, CreateParticipantConnectionCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
62
62
  * const client = new ConnectParticipantClient(config);
63
+ * const input = { // CreateParticipantConnectionRequest
64
+ * Type: [ // ConnectionTypeList
65
+ * "WEBSOCKET" || "CONNECTION_CREDENTIALS",
66
+ * ],
67
+ * ParticipantToken: "STRING_VALUE", // required
68
+ * ConnectParticipant: true || false,
69
+ * };
63
70
  * const command = new CreateParticipantConnectionCommand(input);
64
71
  * const response = await client.send(command);
65
72
  * ```
@@ -33,6 +33,10 @@ export interface DisconnectParticipantCommandOutput extends DisconnectParticipan
33
33
  * import { ConnectParticipantClient, DisconnectParticipantCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
34
34
  * // const { ConnectParticipantClient, DisconnectParticipantCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
35
35
  * const client = new ConnectParticipantClient(config);
36
+ * const input = { // DisconnectParticipantRequest
37
+ * ClientToken: "STRING_VALUE",
38
+ * ConnectionToken: "STRING_VALUE", // required
39
+ * };
36
40
  * const command = new DisconnectParticipantCommand(input);
37
41
  * const response = await client.send(command);
38
42
  * ```
@@ -34,6 +34,10 @@ export interface GetAttachmentCommandOutput extends GetAttachmentResponse, __Met
34
34
  * import { ConnectParticipantClient, GetAttachmentCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
35
35
  * // const { ConnectParticipantClient, GetAttachmentCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
36
36
  * const client = new ConnectParticipantClient(config);
37
+ * const input = { // GetAttachmentRequest
38
+ * AttachmentId: "STRING_VALUE", // required
39
+ * ConnectionToken: "STRING_VALUE", // required
40
+ * };
37
41
  * const command = new GetAttachmentCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -21,8 +21,7 @@ export interface GetTranscriptCommandOutput extends GetTranscriptResponse, __Met
21
21
  * @public
22
22
  * <p>Retrieves a transcript of the session, including details about any attachments. For
23
23
  * information about accessing past chat contact transcripts for a persistent chat, see
24
- * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent chat</a>.
25
- * </p>
24
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent chat</a>. </p>
26
25
  * <note>
27
26
  * <p>
28
27
  * <code>ConnectionToken</code> is used for invoking this API instead of
@@ -36,6 +35,19 @@ export interface GetTranscriptCommandOutput extends GetTranscriptResponse, __Met
36
35
  * import { ConnectParticipantClient, GetTranscriptCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
37
36
  * // const { ConnectParticipantClient, GetTranscriptCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
38
37
  * const client = new ConnectParticipantClient(config);
38
+ * const input = { // GetTranscriptRequest
39
+ * ContactId: "STRING_VALUE",
40
+ * MaxResults: Number("int"),
41
+ * NextToken: "STRING_VALUE",
42
+ * ScanDirection: "FORWARD" || "BACKWARD",
43
+ * SortOrder: "DESCENDING" || "ASCENDING",
44
+ * StartPosition: { // StartPosition
45
+ * Id: "STRING_VALUE",
46
+ * AbsoluteTime: "STRING_VALUE",
47
+ * MostRecent: Number("int"),
48
+ * },
49
+ * ConnectionToken: "STRING_VALUE", // required
50
+ * };
39
51
  * const command = new GetTranscriptCommand(input);
40
52
  * const response = await client.send(command);
41
53
  * ```
@@ -33,6 +33,12 @@ export interface SendEventCommandOutput extends SendEventResponse, __MetadataBea
33
33
  * import { ConnectParticipantClient, SendEventCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
34
34
  * // const { ConnectParticipantClient, SendEventCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
35
35
  * const client = new ConnectParticipantClient(config);
36
+ * const input = { // SendEventRequest
37
+ * ContentType: "STRING_VALUE", // required
38
+ * Content: "STRING_VALUE",
39
+ * ClientToken: "STRING_VALUE",
40
+ * ConnectionToken: "STRING_VALUE", // required
41
+ * };
36
42
  * const command = new SendEventCommand(input);
37
43
  * const response = await client.send(command);
38
44
  * ```
@@ -33,6 +33,12 @@ export interface SendMessageCommandOutput extends SendMessageResponse, __Metadat
33
33
  * import { ConnectParticipantClient, SendMessageCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
34
34
  * // const { ConnectParticipantClient, SendMessageCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
35
35
  * const client = new ConnectParticipantClient(config);
36
+ * const input = { // SendMessageRequest
37
+ * ContentType: "STRING_VALUE", // required
38
+ * Content: "STRING_VALUE", // required
39
+ * ClientToken: "STRING_VALUE",
40
+ * ConnectionToken: "STRING_VALUE", // required
41
+ * };
36
42
  * const command = new SendMessageCommand(input);
37
43
  * const response = await client.send(command);
38
44
  * ```
@@ -34,6 +34,13 @@ export interface StartAttachmentUploadCommandOutput extends StartAttachmentUploa
34
34
  * import { ConnectParticipantClient, StartAttachmentUploadCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import
35
35
  * // const { ConnectParticipantClient, StartAttachmentUploadCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import
36
36
  * const client = new ConnectParticipantClient(config);
37
+ * const input = { // StartAttachmentUploadRequest
38
+ * ContentType: "STRING_VALUE", // required
39
+ * AttachmentSizeInBytes: Number("long"), // required
40
+ * AttachmentName: "STRING_VALUE", // required
41
+ * ClientToken: "STRING_VALUE", // required
42
+ * ConnectionToken: "STRING_VALUE", // required
43
+ * };
37
44
  * const command = new StartAttachmentUploadCommand(input);
38
45
  * const response = await client.send(command);
39
46
  * ```
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -126,8 +126,9 @@ export interface CreateParticipantConnectionRequest {
126
126
  */
127
127
  ParticipantToken: string | undefined;
128
128
  /**
129
- * <p>Amazon Connect Participant is used to mark the participant as connected for message
130
- * streaming.</p>
129
+ * <p>Amazon Connect Participant is used to mark the participant as connected for customer
130
+ * participant in message streaming, as well as for agent or manager participant in
131
+ * non-streaming chats.</p>
131
132
  */
132
133
  ConnectParticipant?: boolean;
133
134
  }
@@ -523,7 +524,8 @@ export interface SendEventResponse {
523
524
  export interface SendMessageRequest {
524
525
  /**
525
526
  * <p>The type of the content. Supported types are <code>text/plain</code>,
526
- * <code>text/markdown</code>, and <code>application/json</code>.</p>
527
+ * <code>text/markdown</code>, <code>application/json</code>, and
528
+ * <code>application/vnd.amazonaws.connect.message.interactive.response</code>.</p>
527
529
  */
528
530
  ContentType: string | undefined;
529
531
  /**
@@ -537,6 +539,10 @@ export interface SendMessageRequest {
537
539
  * <p>For <code>application/json</code>, the Length Constraints are Minimum of 1,
538
540
  * Maximum of 12000. </p>
539
541
  * </li>
542
+ * <li>
543
+ * <p>For <code>application/vnd.amazonaws.connect.message.interactive.response</code>, the Length
544
+ * Constraints are Minimum of 1, Maximum of 12288.</p>
545
+ * </li>
540
546
  * </ul>
541
547
  */
542
548
  Content: string | undefined;
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
26
26
  defaultSigningName: string;
27
27
  };
28
28
  export interface EndpointParameters extends __EndpointParameters {
29
- Region: string;
29
+ Region?: string;
30
30
  UseDualStack?: boolean;
31
31
  UseFIPS?: boolean;
32
32
  Endpoint?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectparticipant",
3
3
  "description": "AWS SDK for JavaScript Connectparticipant Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"