@aws-sdk/client-connectparticipant 3.378.0 → 3.382.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.
@@ -1,4 +1,7 @@
1
1
  import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface ClientInputEndpointParameters {
3
6
  region?: string | Provider<string>;
4
7
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -13,6 +13,7 @@
13
13
  */
14
14
  export * from "./ConnectParticipantClient";
15
15
  export * from "./ConnectParticipant";
16
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
16
17
  export * from "./commands";
17
18
  export * from "./pagination";
18
19
  export * from "./models";
@@ -18,10 +18,12 @@ export declare class AccessDeniedException extends __BaseException {
18
18
  */
19
19
  export interface CompleteAttachmentUploadRequest {
20
20
  /**
21
+ * @public
21
22
  * <p>A list of unique identifiers for the attachments.</p>
22
23
  */
23
24
  AttachmentIds: string[] | undefined;
24
25
  /**
26
+ * @public
25
27
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
26
28
  * request. If not provided, the Amazon Web Services
27
29
  * SDK populates this field. For more information about idempotency, see
@@ -29,6 +31,7 @@ export interface CompleteAttachmentUploadRequest {
29
31
  */
30
32
  ClientToken?: string;
31
33
  /**
34
+ * @public
32
35
  * <p>The authentication token associated with the participant's connection.</p>
33
36
  */
34
37
  ConnectionToken: string | undefined;
@@ -120,17 +123,20 @@ export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType
120
123
  */
121
124
  export interface CreateParticipantConnectionRequest {
122
125
  /**
126
+ * @public
123
127
  * <p>Type of connection information required. This can be omitted if
124
128
  * <code>ConnectParticipant</code> is <code>true</code>.</p>
125
129
  */
126
130
  Type?: (ConnectionType | string)[];
127
131
  /**
132
+ * @public
128
133
  * <p>This is a header parameter.</p>
129
134
  * <p>The ParticipantToken as obtained from <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_StartChatContact.html">StartChatContact</a>
130
135
  * API response.</p>
131
136
  */
132
137
  ParticipantToken: string | undefined;
133
138
  /**
139
+ * @public
134
140
  * <p>Amazon Connect Participant is used to mark the participant as connected for customer
135
141
  * participant in message streaming, as well as for agent or manager participant in
136
142
  * non-streaming chats.</p>
@@ -143,10 +149,12 @@ export interface CreateParticipantConnectionRequest {
143
149
  */
144
150
  export interface ConnectionCredentials {
145
151
  /**
152
+ * @public
146
153
  * <p>The connection token.</p>
147
154
  */
148
155
  ConnectionToken?: string;
149
156
  /**
157
+ * @public
150
158
  * <p>The expiration of the token.</p>
151
159
  * <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
152
160
  * 2019-11-08T02:41:28.172Z.</p>
@@ -159,10 +167,12 @@ export interface ConnectionCredentials {
159
167
  */
160
168
  export interface Websocket {
161
169
  /**
170
+ * @public
162
171
  * <p>The URL of the websocket.</p>
163
172
  */
164
173
  Url?: string;
165
174
  /**
175
+ * @public
166
176
  * <p>The URL expiration timestamp in ISO date format.</p>
167
177
  * <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
168
178
  * 2019-11-08T02:41:28.172Z.</p>
@@ -174,10 +184,12 @@ export interface Websocket {
174
184
  */
175
185
  export interface CreateParticipantConnectionResponse {
176
186
  /**
187
+ * @public
177
188
  * <p>Creates the participant's websocket connection.</p>
178
189
  */
179
190
  Websocket?: Websocket;
180
191
  /**
192
+ * @public
181
193
  * <p>Creates the participant's connection credentials. The authentication token associated
182
194
  * with the participant's connection.</p>
183
195
  */
@@ -188,6 +200,7 @@ export interface CreateParticipantConnectionResponse {
188
200
  */
189
201
  export interface DisconnectParticipantRequest {
190
202
  /**
203
+ * @public
191
204
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
192
205
  * request. If not provided, the Amazon Web Services
193
206
  * SDK populates this field. For more information about idempotency, see
@@ -195,6 +208,7 @@ export interface DisconnectParticipantRequest {
195
208
  */
196
209
  ClientToken?: string;
197
210
  /**
211
+ * @public
198
212
  * <p>The authentication token associated with the participant's connection.</p>
199
213
  */
200
214
  ConnectionToken: string | undefined;
@@ -209,10 +223,12 @@ export interface DisconnectParticipantResponse {
209
223
  */
210
224
  export interface GetAttachmentRequest {
211
225
  /**
226
+ * @public
212
227
  * <p>A unique identifier for the attachment.</p>
213
228
  */
214
229
  AttachmentId: string | undefined;
215
230
  /**
231
+ * @public
216
232
  * <p>The authentication token associated with the participant's connection.</p>
217
233
  */
218
234
  ConnectionToken: string | undefined;
@@ -222,11 +238,13 @@ export interface GetAttachmentRequest {
222
238
  */
223
239
  export interface GetAttachmentResponse {
224
240
  /**
241
+ * @public
225
242
  * <p>This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response
226
243
  * to <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html">StartAttachmentUpload</a>.</p>
227
244
  */
228
245
  Url?: string;
229
246
  /**
247
+ * @public
230
248
  * <p>The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.</p>
231
249
  */
232
250
  UrlExpiry?: string;
@@ -262,16 +280,19 @@ export type SortKey = (typeof SortKey)[keyof typeof SortKey];
262
280
  */
263
281
  export interface StartPosition {
264
282
  /**
283
+ * @public
265
284
  * <p>The ID of the message or event where to start. </p>
266
285
  */
267
286
  Id?: string;
268
287
  /**
288
+ * @public
269
289
  * <p>The time in ISO format where to start.</p>
270
290
  * <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
271
291
  * 2019-11-08T02:41:28.172Z.</p>
272
292
  */
273
293
  AbsoluteTime?: string;
274
294
  /**
295
+ * @public
275
296
  * <p>The start position of the most recent message where you want to start. </p>
276
297
  */
277
298
  MostRecent?: number;
@@ -281,32 +302,39 @@ export interface StartPosition {
281
302
  */
282
303
  export interface GetTranscriptRequest {
283
304
  /**
305
+ * @public
284
306
  * <p>The contactId from the current contact chain for which transcript is needed.</p>
285
307
  */
286
308
  ContactId?: string;
287
309
  /**
310
+ * @public
288
311
  * <p>The maximum number of results to return in the page. Default: 10. </p>
289
312
  */
290
313
  MaxResults?: number;
291
314
  /**
315
+ * @public
292
316
  * <p>The pagination token. Use the value returned previously in the next subsequent request
293
317
  * to retrieve the next set of results.</p>
294
318
  */
295
319
  NextToken?: string;
296
320
  /**
321
+ * @public
297
322
  * <p>The direction from StartPosition from which to retrieve message. Default: BACKWARD
298
323
  * when no StartPosition is provided, FORWARD with StartPosition. </p>
299
324
  */
300
325
  ScanDirection?: ScanDirection | string;
301
326
  /**
327
+ * @public
302
328
  * <p>The sort order for the records. Default: DESCENDING.</p>
303
329
  */
304
330
  SortOrder?: SortKey | string;
305
331
  /**
332
+ * @public
306
333
  * <p>A filtering option for where to start.</p>
307
334
  */
308
335
  StartPosition?: StartPosition;
309
336
  /**
337
+ * @public
310
338
  * <p>The authentication token associated with the participant's connection.</p>
311
339
  */
312
340
  ConnectionToken: string | undefined;
@@ -331,18 +359,22 @@ export type ArtifactStatus = (typeof ArtifactStatus)[keyof typeof ArtifactStatus
331
359
  */
332
360
  export interface AttachmentItem {
333
361
  /**
362
+ * @public
334
363
  * <p>Describes the MIME file type of the attachment. For a list of supported file types, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html">Feature specifications</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
335
364
  */
336
365
  ContentType?: string;
337
366
  /**
367
+ * @public
338
368
  * <p>A unique identifier for the attachment.</p>
339
369
  */
340
370
  AttachmentId?: string;
341
371
  /**
372
+ * @public
342
373
  * <p>A case-sensitive name of the attachment being uploaded.</p>
343
374
  */
344
375
  AttachmentName?: string;
345
376
  /**
377
+ * @public
346
378
  * <p>Status of the attachment.</p>
347
379
  */
348
380
  Status?: ArtifactStatus | string;
@@ -353,14 +385,17 @@ export interface AttachmentItem {
353
385
  */
354
386
  export interface Receipt {
355
387
  /**
388
+ * @public
356
389
  * <p>The time when the message was delivered to the recipient.</p>
357
390
  */
358
391
  DeliveredTimestamp?: string;
359
392
  /**
393
+ * @public
360
394
  * <p>The time when the message was read by the recipient.</p>
361
395
  */
362
396
  ReadTimestamp?: string;
363
397
  /**
398
+ * @public
364
399
  * <p>The identifier of the recipient of the message. </p>
365
400
  */
366
401
  RecipientParticipantId?: string;
@@ -371,10 +406,12 @@ export interface Receipt {
371
406
  */
372
407
  export interface MessageMetadata {
373
408
  /**
409
+ * @public
374
410
  * <p>The identifier of the message that contains the metadata information. </p>
375
411
  */
376
412
  MessageId?: string;
377
413
  /**
414
+ * @public
378
415
  * <p>The list of receipt information for a message for different recipients.</p>
379
416
  */
380
417
  Receipts?: Receipt[];
@@ -420,49 +457,60 @@ export type ChatItemType = (typeof ChatItemType)[keyof typeof ChatItemType];
420
457
  */
421
458
  export interface Item {
422
459
  /**
460
+ * @public
423
461
  * <p>The time when the message or event was sent.</p>
424
462
  * <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
425
463
  * 2019-11-08T02:41:28.172Z.</p>
426
464
  */
427
465
  AbsoluteTime?: string;
428
466
  /**
467
+ * @public
429
468
  * <p>The content of the message or event.</p>
430
469
  */
431
470
  Content?: string;
432
471
  /**
472
+ * @public
433
473
  * <p>The type of content of the item.</p>
434
474
  */
435
475
  ContentType?: string;
436
476
  /**
477
+ * @public
437
478
  * <p>The ID of the item.</p>
438
479
  */
439
480
  Id?: string;
440
481
  /**
482
+ * @public
441
483
  * <p>Type of the item: message or event. </p>
442
484
  */
443
485
  Type?: ChatItemType | string;
444
486
  /**
487
+ * @public
445
488
  * <p>The ID of the sender in the session.</p>
446
489
  */
447
490
  ParticipantId?: string;
448
491
  /**
492
+ * @public
449
493
  * <p>The chat display name of the sender.</p>
450
494
  */
451
495
  DisplayName?: string;
452
496
  /**
497
+ * @public
453
498
  * <p>The role of the sender. For example, is it a customer, agent, or system.</p>
454
499
  */
455
500
  ParticipantRole?: ParticipantRole | string;
456
501
  /**
502
+ * @public
457
503
  * <p>Provides information about the attachments.</p>
458
504
  */
459
505
  Attachments?: AttachmentItem[];
460
506
  /**
507
+ * @public
461
508
  * <p>The metadata related to the message. Currently this supports only information related
462
509
  * to message receipts.</p>
463
510
  */
464
511
  MessageMetadata?: MessageMetadata;
465
512
  /**
513
+ * @public
466
514
  * <p>The contactId on which the transcript item was originally sent. This field is only
467
515
  * populated for persistent chats when the transcript item is from the past chat session.
468
516
  * For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent
@@ -470,6 +518,7 @@ export interface Item {
470
518
  */
471
519
  RelatedContactId?: string;
472
520
  /**
521
+ * @public
473
522
  * <p>The contactId on which the transcript item was originally sent. This field is
474
523
  * populated only when the transcript item is from the current chat session.</p>
475
524
  */
@@ -480,14 +529,17 @@ export interface Item {
480
529
  */
481
530
  export interface GetTranscriptResponse {
482
531
  /**
532
+ * @public
483
533
  * <p>The initial contact ID for the contact. </p>
484
534
  */
485
535
  InitialContactId?: string;
486
536
  /**
537
+ * @public
487
538
  * <p>The list of messages in the session.</p>
488
539
  */
489
540
  Transcript?: Item[];
490
541
  /**
542
+ * @public
491
543
  * <p>The pagination token. Use the value returned previously in the next subsequent request
492
544
  * to retrieve the next set of results.</p>
493
545
  */
@@ -498,6 +550,7 @@ export interface GetTranscriptResponse {
498
550
  */
499
551
  export interface SendEventRequest {
500
552
  /**
553
+ * @public
501
554
  * <p>The content type of the request. Supported types are:</p>
502
555
  * <ul>
503
556
  * <li>
@@ -516,12 +569,14 @@ export interface SendEventRequest {
516
569
  */
517
570
  ContentType: string | undefined;
518
571
  /**
572
+ * @public
519
573
  * <p>The content of the event to be sent (for example, message text). For content related
520
574
  * to message receipts, this is supported in the form of a JSON string.</p>
521
575
  * <p>Sample Content: "\{\"messageId\":\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\"\}"</p>
522
576
  */
523
577
  Content?: string;
524
578
  /**
579
+ * @public
525
580
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
526
581
  * request. If not provided, the Amazon Web Services
527
582
  * SDK populates this field. For more information about idempotency, see
@@ -529,6 +584,7 @@ export interface SendEventRequest {
529
584
  */
530
585
  ClientToken?: string;
531
586
  /**
587
+ * @public
532
588
  * <p>The authentication token associated with the participant's connection.</p>
533
589
  */
534
590
  ConnectionToken: string | undefined;
@@ -538,10 +594,12 @@ export interface SendEventRequest {
538
594
  */
539
595
  export interface SendEventResponse {
540
596
  /**
597
+ * @public
541
598
  * <p>The ID of the response.</p>
542
599
  */
543
600
  Id?: string;
544
601
  /**
602
+ * @public
545
603
  * <p>The time when the event was sent.</p>
546
604
  * <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
547
605
  * 2019-11-08T02:41:28.172Z.</p>
@@ -553,12 +611,14 @@ export interface SendEventResponse {
553
611
  */
554
612
  export interface SendMessageRequest {
555
613
  /**
614
+ * @public
556
615
  * <p>The type of the content. Supported types are <code>text/plain</code>,
557
616
  * <code>text/markdown</code>, <code>application/json</code>, and
558
617
  * <code>application/vnd.amazonaws.connect.message.interactive.response</code>.</p>
559
618
  */
560
619
  ContentType: string | undefined;
561
620
  /**
621
+ * @public
562
622
  * <p>The content of the message. </p>
563
623
  * <ul>
564
624
  * <li>
@@ -577,6 +637,7 @@ export interface SendMessageRequest {
577
637
  */
578
638
  Content: string | undefined;
579
639
  /**
640
+ * @public
580
641
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
581
642
  * request. If not provided, the Amazon Web Services
582
643
  * SDK populates this field. For more information about idempotency, see
@@ -584,6 +645,7 @@ export interface SendMessageRequest {
584
645
  */
585
646
  ClientToken?: string;
586
647
  /**
648
+ * @public
587
649
  * <p>The authentication token associated with the connection.</p>
588
650
  */
589
651
  ConnectionToken: string | undefined;
@@ -593,10 +655,12 @@ export interface SendMessageRequest {
593
655
  */
594
656
  export interface SendMessageResponse {
595
657
  /**
658
+ * @public
596
659
  * <p>The ID of the message.</p>
597
660
  */
598
661
  Id?: string;
599
662
  /**
663
+ * @public
600
664
  * <p>The time when the message was sent.</p>
601
665
  * <p>It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
602
666
  * 2019-11-08T02:41:28.172Z.</p>
@@ -608,18 +672,22 @@ export interface SendMessageResponse {
608
672
  */
609
673
  export interface StartAttachmentUploadRequest {
610
674
  /**
675
+ * @public
611
676
  * <p>Describes the MIME file type of the attachment. For a list of supported file types, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html">Feature specifications</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
612
677
  */
613
678
  ContentType: string | undefined;
614
679
  /**
680
+ * @public
615
681
  * <p>The size of the attachment in bytes.</p>
616
682
  */
617
683
  AttachmentSizeInBytes: number | undefined;
618
684
  /**
685
+ * @public
619
686
  * <p>A case-sensitive name of the attachment being uploaded.</p>
620
687
  */
621
688
  AttachmentName: string | undefined;
622
689
  /**
690
+ * @public
623
691
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
624
692
  * request. If not provided, the Amazon Web Services
625
693
  * SDK populates this field. For more information about idempotency, see
@@ -627,6 +695,7 @@ export interface StartAttachmentUploadRequest {
627
695
  */
628
696
  ClientToken?: string;
629
697
  /**
698
+ * @public
630
699
  * <p>The authentication token associated with the participant's connection.</p>
631
700
  */
632
701
  ConnectionToken: string | undefined;
@@ -637,15 +706,18 @@ export interface StartAttachmentUploadRequest {
637
706
  */
638
707
  export interface UploadMetadata {
639
708
  /**
709
+ * @public
640
710
  * <p>This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response
641
711
  * to <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html">StartAttachmentUpload</a>.</p>
642
712
  */
643
713
  Url?: string;
644
714
  /**
715
+ * @public
645
716
  * <p>The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.</p>
646
717
  */
647
718
  UrlExpiry?: string;
648
719
  /**
720
+ * @public
649
721
  * <p>The headers to be provided while uploading the file to the URL.</p>
650
722
  */
651
723
  HeadersToInclude?: Record<string, string>;
@@ -655,10 +727,12 @@ export interface UploadMetadata {
655
727
  */
656
728
  export interface StartAttachmentUploadResponse {
657
729
  /**
730
+ * @public
658
731
  * <p>A unique identifier for the attachment.</p>
659
732
  */
660
733
  AttachmentId?: string;
661
734
  /**
735
+ * @public
662
736
  * <p>Fields to be used while uploading the attachment.</p>
663
737
  */
664
738
  UploadMetadata?: UploadMetadata;
@@ -1,5 +1,6 @@
1
1
  export * from "./ConnectParticipantClient";
2
2
  export * from "./ConnectParticipant";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
3
4
  export * from "./commands";
4
5
  export * from "./pagination";
5
6
  export * from "./models";
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.378.0",
4
+ "version": "3.382.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,15 +21,15 @@
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.378.0",
25
- "@aws-sdk/credential-provider-node": "3.378.0",
26
- "@aws-sdk/middleware-host-header": "3.378.0",
24
+ "@aws-sdk/client-sts": "3.382.0",
25
+ "@aws-sdk/credential-provider-node": "3.382.0",
26
+ "@aws-sdk/middleware-host-header": "3.379.1",
27
27
  "@aws-sdk/middleware-logger": "3.378.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
- "@aws-sdk/middleware-signing": "3.378.0",
30
- "@aws-sdk/middleware-user-agent": "3.378.0",
29
+ "@aws-sdk/middleware-signing": "3.379.1",
30
+ "@aws-sdk/middleware-user-agent": "3.382.0",
31
31
  "@aws-sdk/types": "3.378.0",
32
- "@aws-sdk/util-endpoints": "3.378.0",
32
+ "@aws-sdk/util-endpoints": "3.382.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.378.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.378.0",
35
35
  "@smithy/config-resolver": "^2.0.1",