@aws-sdk/client-ivs-realtime 3.329.0 → 3.335.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.
Files changed (69) hide show
  1. package/README.md +82 -1
  2. package/dist-cjs/IVSRealTime.js +10 -0
  3. package/dist-cjs/commands/GetParticipantCommand.js +45 -0
  4. package/dist-cjs/commands/GetStageSessionCommand.js +45 -0
  5. package/dist-cjs/commands/ListParticipantEventsCommand.js +45 -0
  6. package/dist-cjs/commands/ListParticipantsCommand.js +45 -0
  7. package/dist-cjs/commands/ListStageSessionsCommand.js +45 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +19 -1
  10. package/dist-cjs/pagination/ListParticipantEventsPaginator.js +29 -0
  11. package/dist-cjs/pagination/ListParticipantsPaginator.js +29 -0
  12. package/dist-cjs/pagination/ListStageSessionsPaginator.js +29 -0
  13. package/dist-cjs/pagination/index.js +3 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +382 -2
  15. package/dist-es/IVSRealTime.js +10 -0
  16. package/dist-es/commands/GetParticipantCommand.js +41 -0
  17. package/dist-es/commands/GetStageSessionCommand.js +41 -0
  18. package/dist-es/commands/ListParticipantEventsCommand.js +41 -0
  19. package/dist-es/commands/ListParticipantsCommand.js +41 -0
  20. package/dist-es/commands/ListStageSessionsCommand.js +41 -0
  21. package/dist-es/commands/index.js +5 -0
  22. package/dist-es/models/models_0.js +18 -0
  23. package/dist-es/pagination/ListParticipantEventsPaginator.js +25 -0
  24. package/dist-es/pagination/ListParticipantsPaginator.js +25 -0
  25. package/dist-es/pagination/ListStageSessionsPaginator.js +25 -0
  26. package/dist-es/pagination/index.js +3 -0
  27. package/dist-es/protocols/Aws_restJson1.js +372 -2
  28. package/dist-types/IVSRealTime.d.ts +77 -1
  29. package/dist-types/IVSRealTimeClient.d.ts +52 -5
  30. package/dist-types/commands/CreateParticipantTokenCommand.d.ts +5 -3
  31. package/dist-types/commands/DisconnectParticipantCommand.d.ts +2 -1
  32. package/dist-types/commands/GetParticipantCommand.d.ts +89 -0
  33. package/dist-types/commands/GetStageSessionCommand.d.ts +83 -0
  34. package/dist-types/commands/ListParticipantEventsCommand.d.ts +89 -0
  35. package/dist-types/commands/ListParticipantsCommand.d.ts +90 -0
  36. package/dist-types/commands/ListStageSessionsCommand.d.ts +84 -0
  37. package/dist-types/commands/ListStagesCommand.d.ts +2 -1
  38. package/dist-types/commands/index.d.ts +5 -0
  39. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  40. package/dist-types/models/models_0.d.ts +405 -33
  41. package/dist-types/pagination/ListParticipantEventsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/ListParticipantsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/ListStageSessionsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +3 -0
  45. package/dist-types/protocols/Aws_restJson1.d.ts +47 -2
  46. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  47. package/dist-types/runtimeConfig.d.ts +9 -9
  48. package/dist-types/runtimeConfig.native.d.ts +13 -13
  49. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  50. package/dist-types/ts3.4/IVSRealTime.d.ts +85 -0
  51. package/dist-types/ts3.4/IVSRealTimeClient.d.ts +37 -5
  52. package/dist-types/ts3.4/commands/GetParticipantCommand.d.ts +37 -0
  53. package/dist-types/ts3.4/commands/GetStageSessionCommand.d.ts +37 -0
  54. package/dist-types/ts3.4/commands/ListParticipantEventsCommand.d.ts +41 -0
  55. package/dist-types/ts3.4/commands/ListParticipantsCommand.d.ts +37 -0
  56. package/dist-types/ts3.4/commands/ListStageSessionsCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  58. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  59. package/dist-types/ts3.4/models/models_0.d.ts +103 -0
  60. package/dist-types/ts3.4/pagination/ListParticipantEventsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/ListParticipantsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/ListStageSessionsPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +62 -2
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
  68. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  69. package/package.json +7 -6
@@ -37,24 +37,27 @@ export interface CreateParticipantTokenRequest {
37
37
  */
38
38
  stageArn: string | undefined;
39
39
  /**
40
- * <p>Duration (in minutes), after which the token expires. Default: 60 (1 hour).</p>
40
+ * <p>Duration (in minutes), after which the token expires. Default: 720 (12 hours).</p>
41
41
  */
42
42
  duration?: number;
43
43
  /**
44
- * <p>Name that can be specified to help identify the token. This can be any UTF-8 encoded text. <i>This field is exposed to all stage
45
- * participants and should not be used for personally identifying, confidential, or sensitive information.</i>
44
+ * <p>Name that can be specified to help identify the token. This can be any UTF-8 encoded
45
+ * text. <i>This field is exposed to all stage participants and should not be used for
46
+ * personally identifying, confidential, or sensitive information.</i>
46
47
  * </p>
47
48
  */
48
49
  userId?: string;
49
50
  /**
50
- * <p>Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8
51
- * encoded text. The maximum length of this field is 1 KB total. <i>This field is exposed to all stage participants and
52
- * should not be used for personally identifying, confidential, or sensitive information.</i>
51
+ * <p>Application-provided attributes to encode into the token and attach to a stage. Map keys
52
+ * and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total.
53
+ * <i>This field is exposed to all stage participants and should not be used for
54
+ * personally identifying, confidential, or sensitive information.</i>
53
55
  * </p>
54
56
  */
55
57
  attributes?: Record<string, string>;
56
58
  /**
57
- * <p>Set of capabilities that the user is allowed to perform in the stage. Default: <code>PUBLISH, SUBSCRIBE</code>.</p>
59
+ * <p>Set of capabilities that the user is allowed to perform in the stage. Default:
60
+ * <code>PUBLISH, SUBSCRIBE</code>.</p>
58
61
  */
59
62
  capabilities?: (ParticipantTokenCapability | string)[];
60
63
  }
@@ -72,19 +75,22 @@ export interface ParticipantToken {
72
75
  */
73
76
  token?: string;
74
77
  /**
75
- * <p>Name to help identify the token. This can be any UTF-8 encoded text. <i>This field is exposed to all
76
- * stage participants and should not be used for personally identifying, confidential, or sensitive information.</i>
78
+ * <p>Customer-assigned name to help identify the token; this can be used to link a
79
+ * participant to a user in the customer’s own systems. This can be any UTF-8 encoded text.
80
+ * <i>This field is exposed to all stage participants and should not be used for
81
+ * personally identifying, confidential, or sensitive information.</i>
77
82
  * </p>
78
83
  */
79
84
  userId?: string;
80
85
  /**
81
- * <p>Application-provided attributes to encode into the token and attach to a stage. <i>This field is exposed to all
82
- * stage participants and should not be used for personally identifying, confidential, or sensitive information.</i>
86
+ * <p>Application-provided attributes to encode into the token and attach to a stage.
87
+ * <i>This field is exposed to all stage participants and should not be used for
88
+ * personally identifying, confidential, or sensitive information.</i>
83
89
  * </p>
84
90
  */
85
91
  attributes?: Record<string, string>;
86
92
  /**
87
- * <p>Duration (in minutes), after which the participant token expires. Default: 60 (1 hour).</p>
93
+ * <p>Duration (in minutes), after which the participant token expires. Default: 720 (12 hours).</p>
88
94
  */
89
95
  duration?: number;
90
96
  /**
@@ -175,19 +181,24 @@ export declare class ValidationException extends __BaseException {
175
181
  */
176
182
  export interface ParticipantTokenConfiguration {
177
183
  /**
178
- * <p>Duration (in minutes), after which the corresponding participant token expires. Default: 60 (1 hour).</p>
184
+ * <p>Duration (in minutes), after which the corresponding participant token expires. Default:
185
+ * 720 (12 hours).</p>
179
186
  */
180
187
  duration?: number;
181
188
  /**
182
- * <p>Name that can be specified to help identify the corresponding participant token. This can be any UTF-8 encoded text. <i>This field is exposed to all
183
- * stage participants and should not be used for personally identifying, confidential, or sensitive information.</i>
189
+ * <p>Customer-assigned name to help identify the token; this can be used to link a
190
+ * participant to a user in the customer’s own systems. This can be any UTF-8 encoded text.
191
+ * <i>This field is exposed to all stage participants and should not be used for
192
+ * personally identifying, confidential, or sensitive information.</i>
184
193
  * </p>
185
194
  */
186
195
  userId?: string;
187
196
  /**
188
- * <p>Application-provided attributes to encode into the corresponding participant token and attach to a stage. Map keys and values can contain UTF-8 encoded text.
189
- * The maximum length of this field is 1 KB total. <i>This field is exposed to all stage participants and should not be used for personally
190
- * identifying, confidential, or sensitive information.</i>
197
+ * <p>Application-provided attributes to encode into the corresponding participant token and
198
+ * attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length
199
+ * of this field is 1 KB total. <i>This field is exposed to all stage participants and
200
+ * should not be used for personally identifying, confidential, or sensitive
201
+ * information.</i>
191
202
  * </p>
192
203
  */
193
204
  attributes?: Record<string, string>;
@@ -212,9 +223,8 @@ export interface CreateStageRequest {
212
223
  * <p>Tags attached to the resource. Array of maps, each of the form <code>string:string
213
224
  * (key:value)</code>. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS
214
225
  * Resources</a> for details, including restrictions that apply to tags and "Tag naming
215
- * limits and requirements"; Amazon IVS has no constraints on tags beyond what is
216
- * documented there.
217
- * </p>
226
+ * limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented
227
+ * there. </p>
218
228
  */
219
229
  tags?: Record<string, string>;
220
230
  }
@@ -239,8 +249,8 @@ export interface Stage {
239
249
  * <p>Tags attached to the resource. Array of maps, each of the form <code>string:string
240
250
  * (key:value)</code>. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS
241
251
  * Resources</a> for details, including restrictions that apply to tags and "Tag naming
242
- * limits and requirements"; Amazon IVS has no constraints on tags beyond what is
243
- * documented there.</p>
252
+ * limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented
253
+ * there.</p>
244
254
  */
245
255
  tags?: Record<string, string>;
246
256
  }
@@ -253,7 +263,8 @@ export interface CreateStageResponse {
253
263
  */
254
264
  stage?: Stage;
255
265
  /**
256
- * <p>Participant tokens attached to the stage. These correspond to the <code>participants</code> in the request.</p>
266
+ * <p>Participant tokens attached to the stage. These correspond to the
267
+ * <code>participants</code> in the request.</p>
257
268
  */
258
269
  participantTokens?: ParticipantToken[];
259
270
  }
@@ -296,7 +307,8 @@ export interface DisconnectParticipantRequest {
296
307
  */
297
308
  stageArn: string | undefined;
298
309
  /**
299
- * <p>Identifier of the participant to be disconnected. This is returned by <a>CreateParticipantToken</a>.</p>
310
+ * <p>Identifier of the participant to be disconnected. This is assigned by IVS and returned
311
+ * by <a>CreateParticipantToken</a>.</p>
300
312
  */
301
313
  participantId: string | undefined;
302
314
  /**
@@ -309,6 +321,81 @@ export interface DisconnectParticipantRequest {
309
321
  */
310
322
  export interface DisconnectParticipantResponse {
311
323
  }
324
+ /**
325
+ * @public
326
+ */
327
+ export interface GetParticipantRequest {
328
+ /**
329
+ * <p>Stage ARN.</p>
330
+ */
331
+ stageArn: string | undefined;
332
+ /**
333
+ * <p>ID of a session within the stage.</p>
334
+ */
335
+ sessionId: string | undefined;
336
+ /**
337
+ * <p>Unique identifier for the participant. This is assigned by IVS and returned by <a>CreateParticipantToken</a>.</p>
338
+ */
339
+ participantId: string | undefined;
340
+ }
341
+ /**
342
+ * @public
343
+ * @enum
344
+ */
345
+ export declare const ParticipantState: {
346
+ readonly CONNECTED: "CONNECTED";
347
+ readonly DISCONNECTED: "DISCONNECTED";
348
+ };
349
+ /**
350
+ * @public
351
+ */
352
+ export declare type ParticipantState = (typeof ParticipantState)[keyof typeof ParticipantState];
353
+ /**
354
+ * @public
355
+ * <p>Object describing a participant that has joined a stage.</p>
356
+ */
357
+ export interface Participant {
358
+ /**
359
+ * <p>Unique identifier for this participant, assigned by IVS.</p>
360
+ */
361
+ participantId?: string;
362
+ /**
363
+ * <p>Customer-assigned name to help identify the token; this can be used to link a
364
+ * participant to a user in the customer’s own systems. This can be any UTF-8 encoded text.
365
+ * <i>This field is exposed to all stage participants and should not be used for
366
+ * personally identifying, confidential, or sensitive information</i>.</p>
367
+ */
368
+ userId?: string;
369
+ /**
370
+ * <p>Whether the participant is connected to or disconnected from the stage.</p>
371
+ */
372
+ state?: ParticipantState | string;
373
+ /**
374
+ * <p>ISO 8601 timestamp (returned as a string) when the participant first joined the stage
375
+ * session.</p>
376
+ */
377
+ firstJoinTime?: Date;
378
+ /**
379
+ * <p>Application-provided attributes to encode into the token and attach to a stage. Map keys
380
+ * and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total.
381
+ * <i>This field is exposed to all stage participants and should not be used for
382
+ * personally identifying, confidential, or sensitive information</i>.</p>
383
+ */
384
+ attributes?: Record<string, string>;
385
+ /**
386
+ * <p>Whether the participant ever published to the stage session.</p>
387
+ */
388
+ published?: boolean;
389
+ }
390
+ /**
391
+ * @public
392
+ */
393
+ export interface GetParticipantResponse {
394
+ /**
395
+ * <p>The participant that is returned.</p>
396
+ */
397
+ participant?: Participant;
398
+ }
312
399
  /**
313
400
  * @public
314
401
  */
@@ -323,16 +410,249 @@ export interface GetStageRequest {
323
410
  */
324
411
  export interface GetStageResponse {
325
412
  /**
326
- * <p/>
413
+ * <p>The stage that is returned.</p>
327
414
  */
328
415
  stage?: Stage;
329
416
  }
417
+ /**
418
+ * @public
419
+ */
420
+ export interface GetStageSessionRequest {
421
+ /**
422
+ * <p>ARN of the stage for which the information is to be retrieved.</p>
423
+ */
424
+ stageArn: string | undefined;
425
+ /**
426
+ * <p>ID of a session within the stage.</p>
427
+ */
428
+ sessionId: string | undefined;
429
+ }
430
+ /**
431
+ * @public
432
+ * <p>A stage session begins when the first participant joins a stage and ends after the last
433
+ * participant leaves the stage. A stage session helps with debugging stages by grouping
434
+ * events and participants into shorter periods of time (i.e., a session), which is helpful
435
+ * when stages are used over long periods of time.</p>
436
+ */
437
+ export interface StageSession {
438
+ /**
439
+ * <p>ID of the session within the stage.</p>
440
+ */
441
+ sessionId?: string;
442
+ /**
443
+ * <p> ISO 8601 timestamp (returned as a string) when this stage session began.</p>
444
+ */
445
+ startTime?: Date;
446
+ /**
447
+ * <p>ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if
448
+ * the stage is active.</p>
449
+ */
450
+ endTime?: Date;
451
+ }
452
+ /**
453
+ * @public
454
+ */
455
+ export interface GetStageSessionResponse {
456
+ /**
457
+ * <p>The stage session that is returned.</p>
458
+ */
459
+ stageSession?: StageSession;
460
+ }
461
+ /**
462
+ * @public
463
+ */
464
+ export interface ListParticipantEventsRequest {
465
+ /**
466
+ * <p>Stage ARN.</p>
467
+ */
468
+ stageArn: string | undefined;
469
+ /**
470
+ * <p>ID of a session within the stage.</p>
471
+ */
472
+ sessionId: string | undefined;
473
+ /**
474
+ * <p>Unique identifier for this participant. This is assigned by IVS and returned by <a>CreateParticipantToken</a>.</p>
475
+ */
476
+ participantId: string | undefined;
477
+ /**
478
+ * <p>The first participant to retrieve. This is used for pagination; see the
479
+ * <code>nextToken</code> response field.</p>
480
+ */
481
+ nextToken?: string;
482
+ /**
483
+ * <p>Maximum number of results to return. Default: 50.</p>
484
+ */
485
+ maxResults?: number;
486
+ }
487
+ /**
488
+ * @public
489
+ * @enum
490
+ */
491
+ export declare const EventErrorCode: {
492
+ readonly INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES";
493
+ };
494
+ /**
495
+ * @public
496
+ */
497
+ export declare type EventErrorCode = (typeof EventErrorCode)[keyof typeof EventErrorCode];
498
+ /**
499
+ * @public
500
+ * @enum
501
+ */
502
+ export declare const EventName: {
503
+ readonly JOINED: "JOINED";
504
+ readonly JOIN_ERROR: "JOIN_ERROR";
505
+ readonly LEFT: "LEFT";
506
+ readonly PUBLISH_ERROR: "PUBLISH_ERROR";
507
+ readonly PUBLISH_STARTED: "PUBLISH_STARTED";
508
+ readonly PUBLISH_STOPPED: "PUBLISH_STOPPED";
509
+ readonly SUBSCRIBE_ERROR: "SUBSCRIBE_ERROR";
510
+ readonly SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED";
511
+ readonly SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED";
512
+ };
513
+ /**
514
+ * @public
515
+ */
516
+ export declare type EventName = (typeof EventName)[keyof typeof EventName];
517
+ /**
518
+ * @public
519
+ * <p>An occurrence during a stage session.</p>
520
+ */
521
+ export interface Event {
522
+ /**
523
+ * <p>The name of the event.</p>
524
+ */
525
+ name?: EventName | string;
526
+ /**
527
+ * <p>Unique identifier for the participant who triggered the event. This is assigned by
528
+ * IVS.</p>
529
+ */
530
+ participantId?: string;
531
+ /**
532
+ * <p>ISO 8601 timestamp (returned as a string) for when the event occurred.</p>
533
+ */
534
+ eventTime?: Date;
535
+ /**
536
+ * <p>Unique identifier for the remote participant. For a subscribe event, this is the
537
+ * publisher. For a publish or join event, this is null. This is assigned by IVS.</p>
538
+ */
539
+ remoteParticipantId?: string;
540
+ /**
541
+ * <p>If the event is an error event, the error code is provided to give insight into the
542
+ * specific error that occurred. If the event is not an error event, this field is null.
543
+ * <code>INSUFFICIENT_CAPABILITIES</code> indicates that the participant tried to take an action that the
544
+ * participant’s token is not allowed to do. For more information about participant
545
+ * capabilities, see the <code>capabilities</code> field in <a>CreateParticipantToken</a>.</p>
546
+ */
547
+ errorCode?: EventErrorCode | string;
548
+ }
549
+ /**
550
+ * @public
551
+ */
552
+ export interface ListParticipantEventsResponse {
553
+ /**
554
+ * <p>List of the matching events.</p>
555
+ */
556
+ events: Event[] | undefined;
557
+ /**
558
+ * <p>If there are more rooms than <code>maxResults</code>, use <code>nextToken</code> in the
559
+ * request to get the next set. </p>
560
+ */
561
+ nextToken?: string;
562
+ }
563
+ /**
564
+ * @public
565
+ */
566
+ export interface ListParticipantsRequest {
567
+ /**
568
+ * <p>Stage ARN.</p>
569
+ */
570
+ stageArn: string | undefined;
571
+ /**
572
+ * <p>ID of the session within the stage.</p>
573
+ */
574
+ sessionId: string | undefined;
575
+ /**
576
+ * <p>Filters the response list to match the specified user ID. Only one of
577
+ * <code>filterByUserId</code>, <code>filterByPublished</code>, or
578
+ * <code>filterByState</code> can be provided per request. A <code>userId</code> is a
579
+ * customer-assigned name to help identify the token; this can be used to link a participant
580
+ * to a user in the customer’s own systems.</p>
581
+ */
582
+ filterByUserId?: string;
583
+ /**
584
+ * <p>Filters the response list to only show participants who published during the stage
585
+ * session. Only one of <code>filterByUserId</code>, <code>filterByPublished</code>, or
586
+ * <code>filterByState</code> can be provided per request.</p>
587
+ */
588
+ filterByPublished?: boolean;
589
+ /**
590
+ * <p>Filters the response list to only show participants in the specified state. Only one of
591
+ * <code>filterByUserId</code>, <code>filterByPublished</code>, or
592
+ * <code>filterByState</code> can be provided per request.</p>
593
+ */
594
+ filterByState?: ParticipantState | string;
595
+ /**
596
+ * <p>The first participant to retrieve. This is used for pagination; see the
597
+ * <code>nextToken</code> response field.</p>
598
+ */
599
+ nextToken?: string;
600
+ /**
601
+ * <p>Maximum number of results to return. Default: 50.</p>
602
+ */
603
+ maxResults?: number;
604
+ }
605
+ /**
606
+ * @public
607
+ * <p>Summary object describing a participant that has joined a stage.</p>
608
+ */
609
+ export interface ParticipantSummary {
610
+ /**
611
+ * <p>Unique identifier for this participant, assigned by IVS.</p>
612
+ */
613
+ participantId?: string;
614
+ /**
615
+ * <p>Customer-assigned name to help identify the token; this can be used to link a
616
+ * participant to a user in the customer’s own systems. This can be any UTF-8 encoded text.
617
+ * <i>This field is exposed to all stage participants and should not be used for
618
+ * personally identifying, confidential, or sensitive information</i>.</p>
619
+ */
620
+ userId?: string;
621
+ /**
622
+ * <p>Whether the participant is connected to or disconnected from the stage.</p>
623
+ */
624
+ state?: ParticipantState | string;
625
+ /**
626
+ * <p>ISO 8601 timestamp (returned as a string) when the participant first joined the stage
627
+ * session.</p>
628
+ */
629
+ firstJoinTime?: Date;
630
+ /**
631
+ * <p>Whether the participant ever published to the stage session.</p>
632
+ */
633
+ published?: boolean;
634
+ }
635
+ /**
636
+ * @public
637
+ */
638
+ export interface ListParticipantsResponse {
639
+ /**
640
+ * <p>List of the matching participants (summary information only).</p>
641
+ */
642
+ participants: ParticipantSummary[] | undefined;
643
+ /**
644
+ * <p>If there are more rooms than <code>maxResults</code>, use <code>nextToken</code> in the
645
+ * request to get the next set.</p>
646
+ */
647
+ nextToken?: string;
648
+ }
330
649
  /**
331
650
  * @public
332
651
  */
333
652
  export interface ListStagesRequest {
334
653
  /**
335
- * <p>The first stage to retrieve. This is used for pagination; see the <code>nextToken</code> response field.</p>
654
+ * <p>The first stage to retrieve. This is used for pagination; see the <code>nextToken</code>
655
+ * response field.</p>
336
656
  */
337
657
  nextToken?: string;
338
658
  /**
@@ -361,8 +681,8 @@ export interface StageSummary {
361
681
  * <p>Tags attached to the resource. Array of maps, each of the form <code>string:string
362
682
  * (key:value)</code>. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS
363
683
  * Resources</a> for details, including restrictions that apply to tags and "Tag naming
364
- * limits and requirements"; Amazon IVS has no constraints on tags beyond what is
365
- * documented there.</p>
684
+ * limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented
685
+ * there.</p>
366
686
  */
367
687
  tags?: Record<string, string>;
368
688
  }
@@ -375,7 +695,59 @@ export interface ListStagesResponse {
375
695
  */
376
696
  stages: StageSummary[] | undefined;
377
697
  /**
378
- * <p>If there are more rooms than <code>maxResults</code>, use <code>nextToken</code> in the request to get the next set.</p>
698
+ * <p>If there are more rooms than <code>maxResults</code>, use <code>nextToken</code> in the
699
+ * request to get the next set.</p>
700
+ */
701
+ nextToken?: string;
702
+ }
703
+ /**
704
+ * @public
705
+ */
706
+ export interface ListStageSessionsRequest {
707
+ /**
708
+ * <p>Stage ARN.</p>
709
+ */
710
+ stageArn: string | undefined;
711
+ /**
712
+ * <p>The first stage to retrieve. This is used for pagination; see the <code>nextToken</code>
713
+ * response field.</p>
714
+ */
715
+ nextToken?: string;
716
+ /**
717
+ * <p>Maximum number of results to return. Default: 50.</p>
718
+ */
719
+ maxResults?: number;
720
+ }
721
+ /**
722
+ * @public
723
+ * <p>Summary information about a stage session.</p>
724
+ */
725
+ export interface StageSessionSummary {
726
+ /**
727
+ * <p>ID of the session within the stage.</p>
728
+ */
729
+ sessionId?: string;
730
+ /**
731
+ * <p> ISO 8601 timestamp (returned as a string) when this stage session began.</p>
732
+ */
733
+ startTime?: Date;
734
+ /**
735
+ * <p>ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if
736
+ * the stage is active.</p>
737
+ */
738
+ endTime?: Date;
739
+ }
740
+ /**
741
+ * @public
742
+ */
743
+ export interface ListStageSessionsResponse {
744
+ /**
745
+ * <p>List of matching stage sessions.</p>
746
+ */
747
+ stageSessions: StageSessionSummary[] | undefined;
748
+ /**
749
+ * <p>If there are more rooms than <code>maxResults</code>, use <code>nextToken</code> in the
750
+ * request to get the next set.</p>
379
751
  */
380
752
  nextToken?: string;
381
753
  }
@@ -409,7 +781,8 @@ export interface ListTagsForResourceRequest {
409
781
  */
410
782
  export interface ListTagsForResourceResponse {
411
783
  /**
412
- * <p>Tags attached to the resource. Array of maps, each of the form <code>string:string (key:value)</code>.</p>
784
+ * <p>Tags attached to the resource. Array of maps, each of the form <code>string:string
785
+ * (key:value)</code>.</p>
413
786
  */
414
787
  tags: Record<string, string> | undefined;
415
788
  }
@@ -475,8 +848,7 @@ export interface UpdateStageRequest {
475
848
  */
476
849
  export interface UpdateStageResponse {
477
850
  /**
478
- * <p>The updated stage.
479
- * </p>
851
+ * <p>The updated stage.</p>
480
852
  */
481
853
  stage?: Stage;
482
854
  }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListParticipantEventsCommandInput, ListParticipantEventsCommandOutput } from "../commands/ListParticipantEventsCommand";
3
+ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListParticipantEvents(config: IVSRealTimePaginationConfiguration, input: ListParticipantEventsCommandInput, ...additionalArguments: any): Paginator<ListParticipantEventsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListParticipantsCommandInput, ListParticipantsCommandOutput } from "../commands/ListParticipantsCommand";
3
+ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListParticipants(config: IVSRealTimePaginationConfiguration, input: ListParticipantsCommandInput, ...additionalArguments: any): Paginator<ListParticipantsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListStageSessionsCommandInput, ListStageSessionsCommandOutput } from "../commands/ListStageSessionsCommand";
3
+ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListStageSessions(config: IVSRealTimePaginationConfiguration, input: ListStageSessionsCommandInput, ...additionalArguments: any): Paginator<ListStageSessionsCommandOutput>;
@@ -1,2 +1,5 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListParticipantEventsPaginator";
3
+ export * from "./ListParticipantsPaginator";
4
+ export * from "./ListStageSessionsPaginator";
2
5
  export * from "./ListStagesPaginator";