@aws-sdk/client-ivs-realtime 3.427.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.
|
@@ -1061,9 +1061,15 @@ const de_EventList = (output, context) => {
|
|
|
1061
1061
|
const de_Participant = (output, context) => {
|
|
1062
1062
|
return (0, smithy_client_1.take)(output, {
|
|
1063
1063
|
attributes: smithy_client_1._json,
|
|
1064
|
+
browserName: smithy_client_1.expectString,
|
|
1065
|
+
browserVersion: smithy_client_1.expectString,
|
|
1064
1066
|
firstJoinTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1067
|
+
ispName: smithy_client_1.expectString,
|
|
1068
|
+
osName: smithy_client_1.expectString,
|
|
1069
|
+
osVersion: smithy_client_1.expectString,
|
|
1065
1070
|
participantId: smithy_client_1.expectString,
|
|
1066
1071
|
published: smithy_client_1.expectBoolean,
|
|
1072
|
+
sdkVersion: smithy_client_1.expectString,
|
|
1067
1073
|
state: smithy_client_1.expectString,
|
|
1068
1074
|
userId: smithy_client_1.expectString,
|
|
1069
1075
|
});
|
|
@@ -1028,9 +1028,15 @@ const de_EventList = (output, context) => {
|
|
|
1028
1028
|
const de_Participant = (output, context) => {
|
|
1029
1029
|
return take(output, {
|
|
1030
1030
|
attributes: _json,
|
|
1031
|
+
browserName: __expectString,
|
|
1032
|
+
browserVersion: __expectString,
|
|
1031
1033
|
firstJoinTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1034
|
+
ispName: __expectString,
|
|
1035
|
+
osName: __expectString,
|
|
1036
|
+
osVersion: __expectString,
|
|
1032
1037
|
participantId: __expectString,
|
|
1033
1038
|
published: __expectBoolean,
|
|
1039
|
+
sdkVersion: __expectString,
|
|
1034
1040
|
state: __expectString,
|
|
1035
1041
|
userId: __expectString,
|
|
1036
1042
|
});
|
|
@@ -47,6 +47,12 @@ export interface GetParticipantCommandOutput extends GetParticipantResponse, __M
|
|
|
47
47
|
* // "<keys>": "STRING_VALUE",
|
|
48
48
|
* // },
|
|
49
49
|
* // published: true || false,
|
|
50
|
+
* // ispName: "STRING_VALUE",
|
|
51
|
+
* // osName: "STRING_VALUE",
|
|
52
|
+
* // osVersion: "STRING_VALUE",
|
|
53
|
+
* // browserName: "STRING_VALUE",
|
|
54
|
+
* // browserVersion: "STRING_VALUE",
|
|
55
|
+
* // sdkVersion: "STRING_VALUE",
|
|
50
56
|
* // },
|
|
51
57
|
* // };
|
|
52
58
|
*
|
|
@@ -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?:
|
|
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?:
|
|
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?:
|
|
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
|
|
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
|
|
@@ -435,6 +435,36 @@ export interface Participant {
|
|
|
435
435
|
* <p>Whether the participant ever published to the stage session.</p>
|
|
436
436
|
*/
|
|
437
437
|
published?: boolean;
|
|
438
|
+
/**
|
|
439
|
+
* @public
|
|
440
|
+
* <p>The participant’s Internet Service Provider.</p>
|
|
441
|
+
*/
|
|
442
|
+
ispName?: string;
|
|
443
|
+
/**
|
|
444
|
+
* @public
|
|
445
|
+
* <p>The participant’s operating system.</p>
|
|
446
|
+
*/
|
|
447
|
+
osName?: string;
|
|
448
|
+
/**
|
|
449
|
+
* @public
|
|
450
|
+
* <p>The participant’s operating system version.</p>
|
|
451
|
+
*/
|
|
452
|
+
osVersion?: string;
|
|
453
|
+
/**
|
|
454
|
+
* @public
|
|
455
|
+
* <p>The participant’s browser.</p>
|
|
456
|
+
*/
|
|
457
|
+
browserName?: string;
|
|
458
|
+
/**
|
|
459
|
+
* @public
|
|
460
|
+
* <p>The participant’s browser version.</p>
|
|
461
|
+
*/
|
|
462
|
+
browserVersion?: string;
|
|
463
|
+
/**
|
|
464
|
+
* @public
|
|
465
|
+
* <p>The participant’s SDK version.</p>
|
|
466
|
+
*/
|
|
467
|
+
sdkVersion?: string;
|
|
438
468
|
}
|
|
439
469
|
/**
|
|
440
470
|
* @public
|
|
@@ -588,7 +618,7 @@ export interface Event {
|
|
|
588
618
|
* @public
|
|
589
619
|
* <p>The name of the event.</p>
|
|
590
620
|
*/
|
|
591
|
-
name?: EventName
|
|
621
|
+
name?: EventName;
|
|
592
622
|
/**
|
|
593
623
|
* @public
|
|
594
624
|
* <p>Unique identifier for the participant who triggered the event. This is assigned by
|
|
@@ -618,7 +648,7 @@ export interface Event {
|
|
|
618
648
|
* <code>PUBLISHER_NOT_FOUND</code> indicates that the participant tried to subscribe to a
|
|
619
649
|
* publisher that doesn’t exist. </p>
|
|
620
650
|
*/
|
|
621
|
-
errorCode?: EventErrorCode
|
|
651
|
+
errorCode?: EventErrorCode;
|
|
622
652
|
}
|
|
623
653
|
/**
|
|
624
654
|
* @public
|
|
@@ -672,7 +702,7 @@ export interface ListParticipantsRequest {
|
|
|
672
702
|
* <code>filterByUserId</code>, <code>filterByPublished</code>, or
|
|
673
703
|
* <code>filterByState</code> can be provided per request.</p>
|
|
674
704
|
*/
|
|
675
|
-
filterByState?: ParticipantState
|
|
705
|
+
filterByState?: ParticipantState;
|
|
676
706
|
/**
|
|
677
707
|
* @public
|
|
678
708
|
* <p>The first participant to retrieve. This is used for pagination; see the
|
|
@@ -707,7 +737,7 @@ export interface ParticipantSummary {
|
|
|
707
737
|
* @public
|
|
708
738
|
* <p>Whether the participant is connected to or disconnected from the stage.</p>
|
|
709
739
|
*/
|
|
710
|
-
state?: ParticipantState
|
|
740
|
+
state?: ParticipantState;
|
|
711
741
|
/**
|
|
712
742
|
* @public
|
|
713
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?:
|
|
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?:
|
|
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?:
|
|
72
|
+
capabilities?: ParticipantTokenCapability[];
|
|
73
73
|
}
|
|
74
74
|
export interface CreateStageRequest {
|
|
75
75
|
name?: string;
|
|
@@ -116,10 +116,16 @@ export type ParticipantState =
|
|
|
116
116
|
export interface Participant {
|
|
117
117
|
participantId?: string;
|
|
118
118
|
userId?: string;
|
|
119
|
-
state?: ParticipantState
|
|
119
|
+
state?: ParticipantState;
|
|
120
120
|
firstJoinTime?: Date;
|
|
121
121
|
attributes?: Record<string, string>;
|
|
122
122
|
published?: boolean;
|
|
123
|
+
ispName?: string;
|
|
124
|
+
osName?: string;
|
|
125
|
+
osVersion?: string;
|
|
126
|
+
browserName?: string;
|
|
127
|
+
browserVersion?: string;
|
|
128
|
+
sdkVersion?: string;
|
|
123
129
|
}
|
|
124
130
|
export interface GetParticipantResponse {
|
|
125
131
|
participant?: Participant;
|
|
@@ -169,11 +175,11 @@ export declare const EventName: {
|
|
|
169
175
|
};
|
|
170
176
|
export type EventName = (typeof EventName)[keyof typeof EventName];
|
|
171
177
|
export interface Event {
|
|
172
|
-
name?: EventName
|
|
178
|
+
name?: EventName;
|
|
173
179
|
participantId?: string;
|
|
174
180
|
eventTime?: Date;
|
|
175
181
|
remoteParticipantId?: string;
|
|
176
|
-
errorCode?: EventErrorCode
|
|
182
|
+
errorCode?: EventErrorCode;
|
|
177
183
|
}
|
|
178
184
|
export interface ListParticipantEventsResponse {
|
|
179
185
|
events: Event[] | undefined;
|
|
@@ -184,14 +190,14 @@ export interface ListParticipantsRequest {
|
|
|
184
190
|
sessionId: string | undefined;
|
|
185
191
|
filterByUserId?: string;
|
|
186
192
|
filterByPublished?: boolean;
|
|
187
|
-
filterByState?: ParticipantState
|
|
193
|
+
filterByState?: ParticipantState;
|
|
188
194
|
nextToken?: string;
|
|
189
195
|
maxResults?: number;
|
|
190
196
|
}
|
|
191
197
|
export interface ParticipantSummary {
|
|
192
198
|
participantId?: string;
|
|
193
199
|
userId?: string;
|
|
194
|
-
state?: ParticipantState
|
|
200
|
+
state?: ParticipantState;
|
|
195
201
|
firstJoinTime?: Date;
|
|
196
202
|
published?: boolean;
|
|
197
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.
|
|
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,39 +21,39 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.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
|
+
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.428.0",
|
|
32
|
+
"@aws-sdk/types": "3.428.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.428.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.14",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
|
+
"@smithy/hash-node": "^2.0.11",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.16",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.11",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.1",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.7",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.7",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.11",
|
|
49
|
+
"@smithy/types": "^2.3.5",
|
|
50
|
+
"@smithy/url-parser": "^2.0.11",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.19",
|
|
56
|
+
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|