@aws-sdk/client-ivs-realtime 3.428.0 → 3.429.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.
@@ -65,7 +65,7 @@ export interface CreateParticipantTokenRequest {
65
65
  * <p>Set of capabilities that the user is allowed to perform in the stage. Default:
66
66
  * <code>PUBLISH, SUBSCRIBE</code>.</p>
67
67
  */
68
- capabilities?: (ParticipantTokenCapability | string)[];
68
+ capabilities?: ParticipantTokenCapability[];
69
69
  }
70
70
  /**
71
71
  * @public
@@ -112,7 +112,7 @@ export interface ParticipantToken {
112
112
  * @public
113
113
  * <p>Set of capabilities that the user is allowed to perform in the stage.</p>
114
114
  */
115
- capabilities?: (ParticipantTokenCapability | string)[];
115
+ capabilities?: ParticipantTokenCapability[];
116
116
  /**
117
117
  * @public
118
118
  * <p>ISO 8601 timestamp (returned as a string) for when this token expires.</p>
@@ -231,7 +231,7 @@ export interface ParticipantTokenConfiguration {
231
231
  * @public
232
232
  * <p>Set of capabilities that the user is allowed to perform in the stage.</p>
233
233
  */
234
- capabilities?: (ParticipantTokenCapability | string)[];
234
+ capabilities?: ParticipantTokenCapability[];
235
235
  }
236
236
  /**
237
237
  * @public
@@ -415,7 +415,7 @@ export interface Participant {
415
415
  * @public
416
416
  * <p>Whether the participant is connected to or disconnected from the stage.</p>
417
417
  */
418
- state?: ParticipantState | string;
418
+ state?: ParticipantState;
419
419
  /**
420
420
  * @public
421
421
  * <p>ISO 8601 timestamp (returned as a string) when the participant first joined the stage
@@ -618,7 +618,7 @@ export interface Event {
618
618
  * @public
619
619
  * <p>The name of the event.</p>
620
620
  */
621
- name?: EventName | string;
621
+ name?: EventName;
622
622
  /**
623
623
  * @public
624
624
  * <p>Unique identifier for the participant who triggered the event. This is assigned by
@@ -648,7 +648,7 @@ export interface Event {
648
648
  * <code>PUBLISHER_NOT_FOUND</code> indicates that the participant tried to subscribe to a
649
649
  * publisher that doesn’t exist. </p>
650
650
  */
651
- errorCode?: EventErrorCode | string;
651
+ errorCode?: EventErrorCode;
652
652
  }
653
653
  /**
654
654
  * @public
@@ -702,7 +702,7 @@ export interface ListParticipantsRequest {
702
702
  * <code>filterByUserId</code>, <code>filterByPublished</code>, or
703
703
  * <code>filterByState</code> can be provided per request.</p>
704
704
  */
705
- filterByState?: ParticipantState | string;
705
+ filterByState?: ParticipantState;
706
706
  /**
707
707
  * @public
708
708
  * <p>The first participant to retrieve. This is used for pagination; see the
@@ -737,7 +737,7 @@ export interface ParticipantSummary {
737
737
  * @public
738
738
  * <p>Whether the participant is connected to or disconnected from the stage.</p>
739
739
  */
740
- state?: ParticipantState | string;
740
+ state?: ParticipantState;
741
741
  /**
742
742
  * @public
743
743
  * <p>ISO 8601 timestamp (returned as a string) when the participant first joined the stage
@@ -19,7 +19,7 @@ export interface CreateParticipantTokenRequest {
19
19
  duration?: number;
20
20
  userId?: string;
21
21
  attributes?: Record<string, string>;
22
- capabilities?: (ParticipantTokenCapability | string)[];
22
+ capabilities?: ParticipantTokenCapability[];
23
23
  }
24
24
  export interface ParticipantToken {
25
25
  participantId?: string;
@@ -27,7 +27,7 @@ export interface ParticipantToken {
27
27
  userId?: string;
28
28
  attributes?: Record<string, string>;
29
29
  duration?: number;
30
- capabilities?: (ParticipantTokenCapability | string)[];
30
+ capabilities?: ParticipantTokenCapability[];
31
31
  expirationTime?: Date;
32
32
  }
33
33
  export interface CreateParticipantTokenResponse {
@@ -69,7 +69,7 @@ export interface ParticipantTokenConfiguration {
69
69
  duration?: number;
70
70
  userId?: string;
71
71
  attributes?: Record<string, string>;
72
- capabilities?: (ParticipantTokenCapability | string)[];
72
+ capabilities?: ParticipantTokenCapability[];
73
73
  }
74
74
  export interface CreateStageRequest {
75
75
  name?: string;
@@ -116,7 +116,7 @@ export type ParticipantState =
116
116
  export interface Participant {
117
117
  participantId?: string;
118
118
  userId?: string;
119
- state?: ParticipantState | string;
119
+ state?: ParticipantState;
120
120
  firstJoinTime?: Date;
121
121
  attributes?: Record<string, string>;
122
122
  published?: boolean;
@@ -175,11 +175,11 @@ export declare const EventName: {
175
175
  };
176
176
  export type EventName = (typeof EventName)[keyof typeof EventName];
177
177
  export interface Event {
178
- name?: EventName | string;
178
+ name?: EventName;
179
179
  participantId?: string;
180
180
  eventTime?: Date;
181
181
  remoteParticipantId?: string;
182
- errorCode?: EventErrorCode | string;
182
+ errorCode?: EventErrorCode;
183
183
  }
184
184
  export interface ListParticipantEventsResponse {
185
185
  events: Event[] | undefined;
@@ -190,14 +190,14 @@ export interface ListParticipantsRequest {
190
190
  sessionId: string | undefined;
191
191
  filterByUserId?: string;
192
192
  filterByPublished?: boolean;
193
- filterByState?: ParticipantState | string;
193
+ filterByState?: ParticipantState;
194
194
  nextToken?: string;
195
195
  maxResults?: number;
196
196
  }
197
197
  export interface ParticipantSummary {
198
198
  participantId?: string;
199
199
  userId?: string;
200
- state?: ParticipantState | string;
200
+ state?: ParticipantState;
201
201
  firstJoinTime?: Date;
202
202
  published?: boolean;
203
203
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivs-realtime",
3
3
  "description": "AWS SDK for JavaScript Ivs Realtime Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.429.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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",