@aws-sdk/client-ivs-realtime 3.329.0 → 3.332.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.
- package/README.md +82 -1
- package/dist-cjs/IVSRealTime.js +10 -0
- package/dist-cjs/commands/GetParticipantCommand.js +45 -0
- package/dist-cjs/commands/GetStageSessionCommand.js +45 -0
- package/dist-cjs/commands/ListParticipantEventsCommand.js +45 -0
- package/dist-cjs/commands/ListParticipantsCommand.js +45 -0
- package/dist-cjs/commands/ListStageSessionsCommand.js +45 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +19 -1
- package/dist-cjs/pagination/ListParticipantEventsPaginator.js +29 -0
- package/dist-cjs/pagination/ListParticipantsPaginator.js +29 -0
- package/dist-cjs/pagination/ListStageSessionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +381 -1
- package/dist-es/IVSRealTime.js +10 -0
- package/dist-es/commands/GetParticipantCommand.js +41 -0
- package/dist-es/commands/GetStageSessionCommand.js +41 -0
- package/dist-es/commands/ListParticipantEventsCommand.js +41 -0
- package/dist-es/commands/ListParticipantsCommand.js +41 -0
- package/dist-es/commands/ListStageSessionsCommand.js +41 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +18 -0
- package/dist-es/pagination/ListParticipantEventsPaginator.js +25 -0
- package/dist-es/pagination/ListParticipantsPaginator.js +25 -0
- package/dist-es/pagination/ListStageSessionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +371 -1
- package/dist-types/IVSRealTime.d.ts +77 -1
- package/dist-types/IVSRealTimeClient.d.ts +49 -3
- package/dist-types/commands/CreateParticipantTokenCommand.d.ts +5 -3
- package/dist-types/commands/DisconnectParticipantCommand.d.ts +2 -1
- package/dist-types/commands/GetParticipantCommand.d.ts +89 -0
- package/dist-types/commands/GetStageSessionCommand.d.ts +83 -0
- package/dist-types/commands/ListParticipantEventsCommand.d.ts +89 -0
- package/dist-types/commands/ListParticipantsCommand.d.ts +90 -0
- package/dist-types/commands/ListStageSessionsCommand.d.ts +84 -0
- package/dist-types/commands/ListStagesCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +405 -33
- package/dist-types/pagination/ListParticipantEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListParticipantsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListStageSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/IVSRealTime.d.ts +85 -0
- package/dist-types/ts3.4/IVSRealTimeClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetParticipantCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetStageSessionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListParticipantEventsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListParticipantsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListStageSessionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +103 -0
- package/dist-types/ts3.4/pagination/ListParticipantEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListParticipantsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListStageSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +5 -5
|
@@ -15,14 +15,34 @@ import {
|
|
|
15
15
|
DisconnectParticipantCommandInput,
|
|
16
16
|
DisconnectParticipantCommandOutput,
|
|
17
17
|
} from "./commands/DisconnectParticipantCommand";
|
|
18
|
+
import {
|
|
19
|
+
GetParticipantCommandInput,
|
|
20
|
+
GetParticipantCommandOutput,
|
|
21
|
+
} from "./commands/GetParticipantCommand";
|
|
18
22
|
import {
|
|
19
23
|
GetStageCommandInput,
|
|
20
24
|
GetStageCommandOutput,
|
|
21
25
|
} from "./commands/GetStageCommand";
|
|
26
|
+
import {
|
|
27
|
+
GetStageSessionCommandInput,
|
|
28
|
+
GetStageSessionCommandOutput,
|
|
29
|
+
} from "./commands/GetStageSessionCommand";
|
|
30
|
+
import {
|
|
31
|
+
ListParticipantEventsCommandInput,
|
|
32
|
+
ListParticipantEventsCommandOutput,
|
|
33
|
+
} from "./commands/ListParticipantEventsCommand";
|
|
34
|
+
import {
|
|
35
|
+
ListParticipantsCommandInput,
|
|
36
|
+
ListParticipantsCommandOutput,
|
|
37
|
+
} from "./commands/ListParticipantsCommand";
|
|
22
38
|
import {
|
|
23
39
|
ListStagesCommandInput,
|
|
24
40
|
ListStagesCommandOutput,
|
|
25
41
|
} from "./commands/ListStagesCommand";
|
|
42
|
+
import {
|
|
43
|
+
ListStageSessionsCommandInput,
|
|
44
|
+
ListStageSessionsCommandOutput,
|
|
45
|
+
} from "./commands/ListStageSessionsCommand";
|
|
26
46
|
import {
|
|
27
47
|
ListTagsForResourceCommandInput,
|
|
28
48
|
ListTagsForResourceCommandOutput,
|
|
@@ -93,6 +113,19 @@ export interface IVSRealTime {
|
|
|
93
113
|
options: __HttpHandlerOptions,
|
|
94
114
|
cb: (err: any, data?: DisconnectParticipantCommandOutput) => void
|
|
95
115
|
): void;
|
|
116
|
+
getParticipant(
|
|
117
|
+
args: GetParticipantCommandInput,
|
|
118
|
+
options?: __HttpHandlerOptions
|
|
119
|
+
): Promise<GetParticipantCommandOutput>;
|
|
120
|
+
getParticipant(
|
|
121
|
+
args: GetParticipantCommandInput,
|
|
122
|
+
cb: (err: any, data?: GetParticipantCommandOutput) => void
|
|
123
|
+
): void;
|
|
124
|
+
getParticipant(
|
|
125
|
+
args: GetParticipantCommandInput,
|
|
126
|
+
options: __HttpHandlerOptions,
|
|
127
|
+
cb: (err: any, data?: GetParticipantCommandOutput) => void
|
|
128
|
+
): void;
|
|
96
129
|
getStage(
|
|
97
130
|
args: GetStageCommandInput,
|
|
98
131
|
options?: __HttpHandlerOptions
|
|
@@ -106,6 +139,45 @@ export interface IVSRealTime {
|
|
|
106
139
|
options: __HttpHandlerOptions,
|
|
107
140
|
cb: (err: any, data?: GetStageCommandOutput) => void
|
|
108
141
|
): void;
|
|
142
|
+
getStageSession(
|
|
143
|
+
args: GetStageSessionCommandInput,
|
|
144
|
+
options?: __HttpHandlerOptions
|
|
145
|
+
): Promise<GetStageSessionCommandOutput>;
|
|
146
|
+
getStageSession(
|
|
147
|
+
args: GetStageSessionCommandInput,
|
|
148
|
+
cb: (err: any, data?: GetStageSessionCommandOutput) => void
|
|
149
|
+
): void;
|
|
150
|
+
getStageSession(
|
|
151
|
+
args: GetStageSessionCommandInput,
|
|
152
|
+
options: __HttpHandlerOptions,
|
|
153
|
+
cb: (err: any, data?: GetStageSessionCommandOutput) => void
|
|
154
|
+
): void;
|
|
155
|
+
listParticipantEvents(
|
|
156
|
+
args: ListParticipantEventsCommandInput,
|
|
157
|
+
options?: __HttpHandlerOptions
|
|
158
|
+
): Promise<ListParticipantEventsCommandOutput>;
|
|
159
|
+
listParticipantEvents(
|
|
160
|
+
args: ListParticipantEventsCommandInput,
|
|
161
|
+
cb: (err: any, data?: ListParticipantEventsCommandOutput) => void
|
|
162
|
+
): void;
|
|
163
|
+
listParticipantEvents(
|
|
164
|
+
args: ListParticipantEventsCommandInput,
|
|
165
|
+
options: __HttpHandlerOptions,
|
|
166
|
+
cb: (err: any, data?: ListParticipantEventsCommandOutput) => void
|
|
167
|
+
): void;
|
|
168
|
+
listParticipants(
|
|
169
|
+
args: ListParticipantsCommandInput,
|
|
170
|
+
options?: __HttpHandlerOptions
|
|
171
|
+
): Promise<ListParticipantsCommandOutput>;
|
|
172
|
+
listParticipants(
|
|
173
|
+
args: ListParticipantsCommandInput,
|
|
174
|
+
cb: (err: any, data?: ListParticipantsCommandOutput) => void
|
|
175
|
+
): void;
|
|
176
|
+
listParticipants(
|
|
177
|
+
args: ListParticipantsCommandInput,
|
|
178
|
+
options: __HttpHandlerOptions,
|
|
179
|
+
cb: (err: any, data?: ListParticipantsCommandOutput) => void
|
|
180
|
+
): void;
|
|
109
181
|
listStages(
|
|
110
182
|
args: ListStagesCommandInput,
|
|
111
183
|
options?: __HttpHandlerOptions
|
|
@@ -119,6 +191,19 @@ export interface IVSRealTime {
|
|
|
119
191
|
options: __HttpHandlerOptions,
|
|
120
192
|
cb: (err: any, data?: ListStagesCommandOutput) => void
|
|
121
193
|
): void;
|
|
194
|
+
listStageSessions(
|
|
195
|
+
args: ListStageSessionsCommandInput,
|
|
196
|
+
options?: __HttpHandlerOptions
|
|
197
|
+
): Promise<ListStageSessionsCommandOutput>;
|
|
198
|
+
listStageSessions(
|
|
199
|
+
args: ListStageSessionsCommandInput,
|
|
200
|
+
cb: (err: any, data?: ListStageSessionsCommandOutput) => void
|
|
201
|
+
): void;
|
|
202
|
+
listStageSessions(
|
|
203
|
+
args: ListStageSessionsCommandInput,
|
|
204
|
+
options: __HttpHandlerOptions,
|
|
205
|
+
cb: (err: any, data?: ListStageSessionsCommandOutput) => void
|
|
206
|
+
): void;
|
|
122
207
|
listTagsForResource(
|
|
123
208
|
args: ListTagsForResourceCommandInput,
|
|
124
209
|
options?: __HttpHandlerOptions
|
|
@@ -60,14 +60,34 @@ import {
|
|
|
60
60
|
DisconnectParticipantCommandInput,
|
|
61
61
|
DisconnectParticipantCommandOutput,
|
|
62
62
|
} from "./commands/DisconnectParticipantCommand";
|
|
63
|
+
import {
|
|
64
|
+
GetParticipantCommandInput,
|
|
65
|
+
GetParticipantCommandOutput,
|
|
66
|
+
} from "./commands/GetParticipantCommand";
|
|
63
67
|
import {
|
|
64
68
|
GetStageCommandInput,
|
|
65
69
|
GetStageCommandOutput,
|
|
66
70
|
} from "./commands/GetStageCommand";
|
|
71
|
+
import {
|
|
72
|
+
GetStageSessionCommandInput,
|
|
73
|
+
GetStageSessionCommandOutput,
|
|
74
|
+
} from "./commands/GetStageSessionCommand";
|
|
75
|
+
import {
|
|
76
|
+
ListParticipantEventsCommandInput,
|
|
77
|
+
ListParticipantEventsCommandOutput,
|
|
78
|
+
} from "./commands/ListParticipantEventsCommand";
|
|
79
|
+
import {
|
|
80
|
+
ListParticipantsCommandInput,
|
|
81
|
+
ListParticipantsCommandOutput,
|
|
82
|
+
} from "./commands/ListParticipantsCommand";
|
|
67
83
|
import {
|
|
68
84
|
ListStagesCommandInput,
|
|
69
85
|
ListStagesCommandOutput,
|
|
70
86
|
} from "./commands/ListStagesCommand";
|
|
87
|
+
import {
|
|
88
|
+
ListStageSessionsCommandInput,
|
|
89
|
+
ListStageSessionsCommandOutput,
|
|
90
|
+
} from "./commands/ListStageSessionsCommand";
|
|
71
91
|
import {
|
|
72
92
|
ListTagsForResourceCommandInput,
|
|
73
93
|
ListTagsForResourceCommandOutput,
|
|
@@ -94,7 +114,12 @@ export declare type ServiceInputTypes =
|
|
|
94
114
|
| CreateStageCommandInput
|
|
95
115
|
| DeleteStageCommandInput
|
|
96
116
|
| DisconnectParticipantCommandInput
|
|
117
|
+
| GetParticipantCommandInput
|
|
97
118
|
| GetStageCommandInput
|
|
119
|
+
| GetStageSessionCommandInput
|
|
120
|
+
| ListParticipantEventsCommandInput
|
|
121
|
+
| ListParticipantsCommandInput
|
|
122
|
+
| ListStageSessionsCommandInput
|
|
98
123
|
| ListStagesCommandInput
|
|
99
124
|
| ListTagsForResourceCommandInput
|
|
100
125
|
| TagResourceCommandInput
|
|
@@ -105,7 +130,12 @@ export declare type ServiceOutputTypes =
|
|
|
105
130
|
| CreateStageCommandOutput
|
|
106
131
|
| DeleteStageCommandOutput
|
|
107
132
|
| DisconnectParticipantCommandOutput
|
|
133
|
+
| GetParticipantCommandOutput
|
|
108
134
|
| GetStageCommandOutput
|
|
135
|
+
| GetStageSessionCommandOutput
|
|
136
|
+
| ListParticipantEventsCommandOutput
|
|
137
|
+
| ListParticipantsCommandOutput
|
|
138
|
+
| ListStageSessionsCommandOutput
|
|
109
139
|
| ListStagesCommandOutput
|
|
110
140
|
| ListTagsForResourceCommandOutput
|
|
111
141
|
| TagResourceCommandOutput
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
IVSRealTimeClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IVSRealTimeClient";
|
|
14
|
+
import {
|
|
15
|
+
GetParticipantRequest,
|
|
16
|
+
GetParticipantResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface GetParticipantCommandInput extends GetParticipantRequest {}
|
|
19
|
+
export interface GetParticipantCommandOutput
|
|
20
|
+
extends GetParticipantResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class GetParticipantCommand extends $Command<
|
|
23
|
+
GetParticipantCommandInput,
|
|
24
|
+
GetParticipantCommandOutput,
|
|
25
|
+
IVSRealTimeClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: GetParticipantCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: GetParticipantCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: IVSRealTimeClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<GetParticipantCommandInput, GetParticipantCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
IVSRealTimeClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IVSRealTimeClient";
|
|
14
|
+
import {
|
|
15
|
+
GetStageSessionRequest,
|
|
16
|
+
GetStageSessionResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface GetStageSessionCommandInput extends GetStageSessionRequest {}
|
|
19
|
+
export interface GetStageSessionCommandOutput
|
|
20
|
+
extends GetStageSessionResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class GetStageSessionCommand extends $Command<
|
|
23
|
+
GetStageSessionCommandInput,
|
|
24
|
+
GetStageSessionCommandOutput,
|
|
25
|
+
IVSRealTimeClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: GetStageSessionCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: GetStageSessionCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: IVSRealTimeClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<GetStageSessionCommandInput, GetStageSessionCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
IVSRealTimeClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IVSRealTimeClient";
|
|
14
|
+
import {
|
|
15
|
+
ListParticipantEventsRequest,
|
|
16
|
+
ListParticipantEventsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ListParticipantEventsCommandInput
|
|
19
|
+
extends ListParticipantEventsRequest {}
|
|
20
|
+
export interface ListParticipantEventsCommandOutput
|
|
21
|
+
extends ListParticipantEventsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListParticipantEventsCommand extends $Command<
|
|
24
|
+
ListParticipantEventsCommandInput,
|
|
25
|
+
ListParticipantEventsCommandOutput,
|
|
26
|
+
IVSRealTimeClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListParticipantEventsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListParticipantEventsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: IVSRealTimeClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
ListParticipantEventsCommandInput,
|
|
37
|
+
ListParticipantEventsCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
IVSRealTimeClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IVSRealTimeClient";
|
|
14
|
+
import {
|
|
15
|
+
ListParticipantsRequest,
|
|
16
|
+
ListParticipantsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ListParticipantsCommandInput extends ListParticipantsRequest {}
|
|
19
|
+
export interface ListParticipantsCommandOutput
|
|
20
|
+
extends ListParticipantsResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class ListParticipantsCommand extends $Command<
|
|
23
|
+
ListParticipantsCommandInput,
|
|
24
|
+
ListParticipantsCommandOutput,
|
|
25
|
+
IVSRealTimeClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: ListParticipantsCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: ListParticipantsCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: IVSRealTimeClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<ListParticipantsCommandInput, ListParticipantsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
IVSRealTimeClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IVSRealTimeClient";
|
|
14
|
+
import {
|
|
15
|
+
ListStageSessionsRequest,
|
|
16
|
+
ListStageSessionsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ListStageSessionsCommandInput
|
|
19
|
+
extends ListStageSessionsRequest {}
|
|
20
|
+
export interface ListStageSessionsCommandOutput
|
|
21
|
+
extends ListStageSessionsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListStageSessionsCommand extends $Command<
|
|
24
|
+
ListStageSessionsCommandInput,
|
|
25
|
+
ListStageSessionsCommandOutput,
|
|
26
|
+
IVSRealTimeClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListStageSessionsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListStageSessionsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: IVSRealTimeClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<ListStageSessionsCommandInput, ListStageSessionsCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -2,7 +2,12 @@ export * from "./CreateParticipantTokenCommand";
|
|
|
2
2
|
export * from "./CreateStageCommand";
|
|
3
3
|
export * from "./DeleteStageCommand";
|
|
4
4
|
export * from "./DisconnectParticipantCommand";
|
|
5
|
+
export * from "./GetParticipantCommand";
|
|
5
6
|
export * from "./GetStageCommand";
|
|
7
|
+
export * from "./GetStageSessionCommand";
|
|
8
|
+
export * from "./ListParticipantEventsCommand";
|
|
9
|
+
export * from "./ListParticipantsCommand";
|
|
10
|
+
export * from "./ListStageSessionsCommand";
|
|
6
11
|
export * from "./ListStagesCommand";
|
|
7
12
|
export * from "./ListTagsForResourceCommand";
|
|
8
13
|
export * from "./TagResourceCommand";
|
|
@@ -102,12 +102,101 @@ export interface DisconnectParticipantRequest {
|
|
|
102
102
|
reason?: string;
|
|
103
103
|
}
|
|
104
104
|
export interface DisconnectParticipantResponse {}
|
|
105
|
+
export interface GetParticipantRequest {
|
|
106
|
+
stageArn: string | undefined;
|
|
107
|
+
sessionId: string | undefined;
|
|
108
|
+
participantId: string | undefined;
|
|
109
|
+
}
|
|
110
|
+
export declare const ParticipantState: {
|
|
111
|
+
readonly CONNECTED: "CONNECTED";
|
|
112
|
+
readonly DISCONNECTED: "DISCONNECTED";
|
|
113
|
+
};
|
|
114
|
+
export declare type ParticipantState =
|
|
115
|
+
(typeof ParticipantState)[keyof typeof ParticipantState];
|
|
116
|
+
export interface Participant {
|
|
117
|
+
participantId?: string;
|
|
118
|
+
userId?: string;
|
|
119
|
+
state?: ParticipantState | string;
|
|
120
|
+
firstJoinTime?: Date;
|
|
121
|
+
attributes?: Record<string, string>;
|
|
122
|
+
published?: boolean;
|
|
123
|
+
}
|
|
124
|
+
export interface GetParticipantResponse {
|
|
125
|
+
participant?: Participant;
|
|
126
|
+
}
|
|
105
127
|
export interface GetStageRequest {
|
|
106
128
|
arn: string | undefined;
|
|
107
129
|
}
|
|
108
130
|
export interface GetStageResponse {
|
|
109
131
|
stage?: Stage;
|
|
110
132
|
}
|
|
133
|
+
export interface GetStageSessionRequest {
|
|
134
|
+
stageArn: string | undefined;
|
|
135
|
+
sessionId: string | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface StageSession {
|
|
138
|
+
sessionId?: string;
|
|
139
|
+
startTime?: Date;
|
|
140
|
+
endTime?: Date;
|
|
141
|
+
}
|
|
142
|
+
export interface GetStageSessionResponse {
|
|
143
|
+
stageSession?: StageSession;
|
|
144
|
+
}
|
|
145
|
+
export interface ListParticipantEventsRequest {
|
|
146
|
+
stageArn: string | undefined;
|
|
147
|
+
sessionId: string | undefined;
|
|
148
|
+
participantId: string | undefined;
|
|
149
|
+
nextToken?: string;
|
|
150
|
+
maxResults?: number;
|
|
151
|
+
}
|
|
152
|
+
export declare const EventErrorCode: {
|
|
153
|
+
readonly INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES";
|
|
154
|
+
};
|
|
155
|
+
export declare type EventErrorCode =
|
|
156
|
+
(typeof EventErrorCode)[keyof typeof EventErrorCode];
|
|
157
|
+
export declare const EventName: {
|
|
158
|
+
readonly JOINED: "JOINED";
|
|
159
|
+
readonly JOIN_ERROR: "JOIN_ERROR";
|
|
160
|
+
readonly LEFT: "LEFT";
|
|
161
|
+
readonly PUBLISH_ERROR: "PUBLISH_ERROR";
|
|
162
|
+
readonly PUBLISH_STARTED: "PUBLISH_STARTED";
|
|
163
|
+
readonly PUBLISH_STOPPED: "PUBLISH_STOPPED";
|
|
164
|
+
readonly SUBSCRIBE_ERROR: "SUBSCRIBE_ERROR";
|
|
165
|
+
readonly SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED";
|
|
166
|
+
readonly SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED";
|
|
167
|
+
};
|
|
168
|
+
export declare type EventName = (typeof EventName)[keyof typeof EventName];
|
|
169
|
+
export interface Event {
|
|
170
|
+
name?: EventName | string;
|
|
171
|
+
participantId?: string;
|
|
172
|
+
eventTime?: Date;
|
|
173
|
+
remoteParticipantId?: string;
|
|
174
|
+
errorCode?: EventErrorCode | string;
|
|
175
|
+
}
|
|
176
|
+
export interface ListParticipantEventsResponse {
|
|
177
|
+
events: Event[] | undefined;
|
|
178
|
+
nextToken?: string;
|
|
179
|
+
}
|
|
180
|
+
export interface ListParticipantsRequest {
|
|
181
|
+
stageArn: string | undefined;
|
|
182
|
+
sessionId: string | undefined;
|
|
183
|
+
filterByUserId?: string;
|
|
184
|
+
filterByPublished?: boolean;
|
|
185
|
+
filterByState?: ParticipantState | string;
|
|
186
|
+
nextToken?: string;
|
|
187
|
+
maxResults?: number;
|
|
188
|
+
}
|
|
189
|
+
export interface ParticipantSummary {
|
|
190
|
+
participantId?: string;
|
|
191
|
+
userId?: string;
|
|
192
|
+
state?: ParticipantState | string;
|
|
193
|
+
firstJoinTime?: Date;
|
|
194
|
+
published?: boolean;
|
|
195
|
+
}
|
|
196
|
+
export interface ListParticipantsResponse {
|
|
197
|
+
participants: ParticipantSummary[] | undefined;
|
|
198
|
+
nextToken?: string;
|
|
199
|
+
}
|
|
111
200
|
export interface ListStagesRequest {
|
|
112
201
|
nextToken?: string;
|
|
113
202
|
maxResults?: number;
|
|
@@ -122,6 +211,20 @@ export interface ListStagesResponse {
|
|
|
122
211
|
stages: StageSummary[] | undefined;
|
|
123
212
|
nextToken?: string;
|
|
124
213
|
}
|
|
214
|
+
export interface ListStageSessionsRequest {
|
|
215
|
+
stageArn: string | undefined;
|
|
216
|
+
nextToken?: string;
|
|
217
|
+
maxResults?: number;
|
|
218
|
+
}
|
|
219
|
+
export interface StageSessionSummary {
|
|
220
|
+
sessionId?: string;
|
|
221
|
+
startTime?: Date;
|
|
222
|
+
endTime?: Date;
|
|
223
|
+
}
|
|
224
|
+
export interface ListStageSessionsResponse {
|
|
225
|
+
stageSessions: StageSessionSummary[] | undefined;
|
|
226
|
+
nextToken?: string;
|
|
227
|
+
}
|
|
125
228
|
export declare class InternalServerException extends __BaseException {
|
|
126
229
|
readonly name: "InternalServerException";
|
|
127
230
|
readonly $fault: "server";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListParticipantEventsCommandInput,
|
|
4
|
+
ListParticipantEventsCommandOutput,
|
|
5
|
+
} from "../commands/ListParticipantEventsCommand";
|
|
6
|
+
import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListParticipantEvents(
|
|
8
|
+
config: IVSRealTimePaginationConfiguration,
|
|
9
|
+
input: ListParticipantEventsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListParticipantEventsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListParticipantsCommandInput,
|
|
4
|
+
ListParticipantsCommandOutput,
|
|
5
|
+
} from "../commands/ListParticipantsCommand";
|
|
6
|
+
import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListParticipants(
|
|
8
|
+
config: IVSRealTimePaginationConfiguration,
|
|
9
|
+
input: ListParticipantsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListParticipantsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListStageSessionsCommandInput,
|
|
4
|
+
ListStageSessionsCommandOutput,
|
|
5
|
+
} from "../commands/ListStageSessionsCommand";
|
|
6
|
+
import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListStageSessions(
|
|
8
|
+
config: IVSRealTimePaginationConfiguration,
|
|
9
|
+
input: ListStageSessionsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListStageSessionsCommandOutput>;
|
|
@@ -19,14 +19,34 @@ import {
|
|
|
19
19
|
DisconnectParticipantCommandInput,
|
|
20
20
|
DisconnectParticipantCommandOutput,
|
|
21
21
|
} from "../commands/DisconnectParticipantCommand";
|
|
22
|
+
import {
|
|
23
|
+
GetParticipantCommandInput,
|
|
24
|
+
GetParticipantCommandOutput,
|
|
25
|
+
} from "../commands/GetParticipantCommand";
|
|
22
26
|
import {
|
|
23
27
|
GetStageCommandInput,
|
|
24
28
|
GetStageCommandOutput,
|
|
25
29
|
} from "../commands/GetStageCommand";
|
|
30
|
+
import {
|
|
31
|
+
GetStageSessionCommandInput,
|
|
32
|
+
GetStageSessionCommandOutput,
|
|
33
|
+
} from "../commands/GetStageSessionCommand";
|
|
34
|
+
import {
|
|
35
|
+
ListParticipantEventsCommandInput,
|
|
36
|
+
ListParticipantEventsCommandOutput,
|
|
37
|
+
} from "../commands/ListParticipantEventsCommand";
|
|
38
|
+
import {
|
|
39
|
+
ListParticipantsCommandInput,
|
|
40
|
+
ListParticipantsCommandOutput,
|
|
41
|
+
} from "../commands/ListParticipantsCommand";
|
|
26
42
|
import {
|
|
27
43
|
ListStagesCommandInput,
|
|
28
44
|
ListStagesCommandOutput,
|
|
29
45
|
} from "../commands/ListStagesCommand";
|
|
46
|
+
import {
|
|
47
|
+
ListStageSessionsCommandInput,
|
|
48
|
+
ListStageSessionsCommandOutput,
|
|
49
|
+
} from "../commands/ListStageSessionsCommand";
|
|
30
50
|
import {
|
|
31
51
|
ListTagsForResourceCommandInput,
|
|
32
52
|
ListTagsForResourceCommandOutput,
|
|
@@ -59,14 +79,34 @@ export declare const se_DisconnectParticipantCommand: (
|
|
|
59
79
|
input: DisconnectParticipantCommandInput,
|
|
60
80
|
context: __SerdeContext
|
|
61
81
|
) => Promise<__HttpRequest>;
|
|
82
|
+
export declare const se_GetParticipantCommand: (
|
|
83
|
+
input: GetParticipantCommandInput,
|
|
84
|
+
context: __SerdeContext
|
|
85
|
+
) => Promise<__HttpRequest>;
|
|
62
86
|
export declare const se_GetStageCommand: (
|
|
63
87
|
input: GetStageCommandInput,
|
|
64
88
|
context: __SerdeContext
|
|
65
89
|
) => Promise<__HttpRequest>;
|
|
90
|
+
export declare const se_GetStageSessionCommand: (
|
|
91
|
+
input: GetStageSessionCommandInput,
|
|
92
|
+
context: __SerdeContext
|
|
93
|
+
) => Promise<__HttpRequest>;
|
|
94
|
+
export declare const se_ListParticipantEventsCommand: (
|
|
95
|
+
input: ListParticipantEventsCommandInput,
|
|
96
|
+
context: __SerdeContext
|
|
97
|
+
) => Promise<__HttpRequest>;
|
|
98
|
+
export declare const se_ListParticipantsCommand: (
|
|
99
|
+
input: ListParticipantsCommandInput,
|
|
100
|
+
context: __SerdeContext
|
|
101
|
+
) => Promise<__HttpRequest>;
|
|
66
102
|
export declare const se_ListStagesCommand: (
|
|
67
103
|
input: ListStagesCommandInput,
|
|
68
104
|
context: __SerdeContext
|
|
69
105
|
) => Promise<__HttpRequest>;
|
|
106
|
+
export declare const se_ListStageSessionsCommand: (
|
|
107
|
+
input: ListStageSessionsCommandInput,
|
|
108
|
+
context: __SerdeContext
|
|
109
|
+
) => Promise<__HttpRequest>;
|
|
70
110
|
export declare const se_ListTagsForResourceCommand: (
|
|
71
111
|
input: ListTagsForResourceCommandInput,
|
|
72
112
|
context: __SerdeContext
|
|
@@ -99,14 +139,34 @@ export declare const de_DisconnectParticipantCommand: (
|
|
|
99
139
|
output: __HttpResponse,
|
|
100
140
|
context: __SerdeContext
|
|
101
141
|
) => Promise<DisconnectParticipantCommandOutput>;
|
|
142
|
+
export declare const de_GetParticipantCommand: (
|
|
143
|
+
output: __HttpResponse,
|
|
144
|
+
context: __SerdeContext
|
|
145
|
+
) => Promise<GetParticipantCommandOutput>;
|
|
102
146
|
export declare const de_GetStageCommand: (
|
|
103
147
|
output: __HttpResponse,
|
|
104
148
|
context: __SerdeContext
|
|
105
149
|
) => Promise<GetStageCommandOutput>;
|
|
150
|
+
export declare const de_GetStageSessionCommand: (
|
|
151
|
+
output: __HttpResponse,
|
|
152
|
+
context: __SerdeContext
|
|
153
|
+
) => Promise<GetStageSessionCommandOutput>;
|
|
154
|
+
export declare const de_ListParticipantEventsCommand: (
|
|
155
|
+
output: __HttpResponse,
|
|
156
|
+
context: __SerdeContext
|
|
157
|
+
) => Promise<ListParticipantEventsCommandOutput>;
|
|
158
|
+
export declare const de_ListParticipantsCommand: (
|
|
159
|
+
output: __HttpResponse,
|
|
160
|
+
context: __SerdeContext
|
|
161
|
+
) => Promise<ListParticipantsCommandOutput>;
|
|
106
162
|
export declare const de_ListStagesCommand: (
|
|
107
163
|
output: __HttpResponse,
|
|
108
164
|
context: __SerdeContext
|
|
109
165
|
) => Promise<ListStagesCommandOutput>;
|
|
166
|
+
export declare const de_ListStageSessionsCommand: (
|
|
167
|
+
output: __HttpResponse,
|
|
168
|
+
context: __SerdeContext
|
|
169
|
+
) => Promise<ListStageSessionsCommandOutput>;
|
|
110
170
|
export declare const de_ListTagsForResourceCommand: (
|
|
111
171
|
output: __HttpResponse,
|
|
112
172
|
context: __SerdeContext
|