@aws-sdk/client-connect 3.865.0 → 3.872.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.
@@ -27,8 +27,9 @@ declare const CreateParticipantCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Adds a new participant into an on-going chat contact. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-customize-flow.html">Customize chat
31
- * flow experiences by integrating custom participants</a>.</p>
30
+ * <p>Adds a new participant into an on-going chat contact or webRTC call. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-customize-flow.html">Customize chat
31
+ * flow experiences by integrating custom participants</a>
32
+ * or <a href="https://docs.aws.amazon.com/connect/latest/adminguide/enable-multiuser-inapp.html">Enable multi-user web, in-app, and video calling</a>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -42,6 +43,10 @@ declare const CreateParticipantCommand_base: {
42
43
  * ParticipantDetails: { // ParticipantDetailsToAdd
43
44
  * ParticipantRole: "AGENT" || "CUSTOMER" || "SYSTEM" || "CUSTOM_BOT" || "SUPERVISOR",
44
45
  * DisplayName: "STRING_VALUE",
46
+ * ParticipantCapabilities: { // ParticipantCapabilities
47
+ * Video: "SEND",
48
+ * ScreenShare: "SEND",
49
+ * },
45
50
  * },
46
51
  * };
47
52
  * const command = new CreateParticipantCommand(input);
@@ -62,6 +67,10 @@ declare const CreateParticipantCommand_base: {
62
67
  * @see {@link CreateParticipantCommandOutput} for command's `response` shape.
63
68
  * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
64
69
  *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p>Operation cannot be performed at this time as there is a conflict with another operation or
72
+ * contact state.</p>
73
+ *
65
74
  * @throws {@link InternalServiceException} (server fault)
66
75
  * <p>Request processing failed because of an error or failure with the service.</p>
67
76
  *
@@ -58,9 +58,6 @@ declare const GetCurrentMetricDataCommand_base: {
58
58
  * <p>If the response is slow due to large result sets, try these approaches:</p>
59
59
  * <ul>
60
60
  * <li>
61
- * <p>Narrow the time range of your request</p>
62
- * </li>
63
- * <li>
64
61
  * <p>Add filters to reduce the amount of data returned</p>
65
62
  * </li>
66
63
  * </ul>
@@ -3797,6 +3797,13 @@ export interface ParticipantDetailsToAdd {
3797
3797
  * @public
3798
3798
  */
3799
3799
  DisplayName?: string | undefined;
3800
+ /**
3801
+ * <p>The configuration for the allowed video and screen sharing capabilities for participants
3802
+ * present over the call. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/inapp-calling.html">Set up in-app, web, video calling, and screen
3803
+ * sharing capabilities</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
3804
+ * @public
3805
+ */
3806
+ ParticipantCapabilities?: ParticipantCapabilities | undefined;
3800
3807
  }
3801
3808
  /**
3802
3809
  * @public
@@ -3808,7 +3815,9 @@ export interface CreateParticipantRequest {
3808
3815
  */
3809
3816
  InstanceId: string | undefined;
3810
3817
  /**
3811
- * <p>The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.</p>
3818
+ * <p>The identifier of the contact in this instance of Amazon Connect. Supports contacts in the CHAT channel and VOICE (WebRTC) channels.
3819
+ * For WebRTC calls, this should be the initial contact ID that was generated when
3820
+ * the contact was first created (from the StartWebRTCContact API) in the VOICE channel</p>
3812
3821
  * @public
3813
3822
  */
3814
3823
  ContactId: string | undefined;
@@ -3823,9 +3832,8 @@ export interface CreateParticipantRequest {
3823
3832
  /**
3824
3833
  * <p>Information identifying the participant.</p>
3825
3834
  * <important>
3826
- * <p>The only Valid value for <code>ParticipantRole</code> is <code>CUSTOM_BOT</code>. </p>
3827
- * <p>
3828
- * <code>DisplayName</code> is <b>Required</b>.</p>
3835
+ * <p>The only valid value for <code>ParticipantRole</code> is <code>CUSTOM_BOT</code>
3836
+ * for chat contact and <code>CUSTOMER</code> for voice contact.</p>
3829
3837
  * </important>
3830
3838
  * @public
3831
3839
  */
@@ -1242,6 +1242,7 @@ export type ParticipantRole =
1242
1242
  export interface ParticipantDetailsToAdd {
1243
1243
  ParticipantRole?: ParticipantRole | undefined;
1244
1244
  DisplayName?: string | undefined;
1245
+ ParticipantCapabilities?: ParticipantCapabilities | undefined;
1245
1246
  }
1246
1247
  export interface CreateParticipantRequest {
1247
1248
  InstanceId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.865.0",
4
+ "version": "3.872.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connect",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.864.0",
24
- "@aws-sdk/credential-provider-node": "3.864.0",
24
+ "@aws-sdk/credential-provider-node": "3.872.0",
25
25
  "@aws-sdk/middleware-host-header": "3.862.0",
26
26
  "@aws-sdk/middleware-logger": "3.862.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.862.0",