@aws-sdk/client-ivs 3.686.0 → 3.691.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/dist-types/models/models_0.d.ts +199 -199
- package/dist-types/ts3.4/models/models_0.d.ts +199 -199
- package/package.json +7 -7
|
@@ -3,7 +3,7 @@ import { IvsServiceException as __BaseException } from "./IvsServiceException";
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
exceptionMessage?: string;
|
|
6
|
+
exceptionMessage?: string | undefined;
|
|
7
7
|
constructor(
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
@@ -24,8 +24,8 @@ export declare const TranscodePreset: {
|
|
|
24
24
|
export type TranscodePreset =
|
|
25
25
|
(typeof TranscodePreset)[keyof typeof TranscodePreset];
|
|
26
26
|
export interface Srt {
|
|
27
|
-
endpoint?: string;
|
|
28
|
-
passphrase?: string;
|
|
27
|
+
endpoint?: string | undefined;
|
|
28
|
+
passphrase?: string | undefined;
|
|
29
29
|
}
|
|
30
30
|
export declare const ChannelType: {
|
|
31
31
|
readonly AdvancedHDChannelType: "ADVANCED_HD";
|
|
@@ -35,46 +35,46 @@ export declare const ChannelType: {
|
|
|
35
35
|
};
|
|
36
36
|
export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
|
|
37
37
|
export interface Channel {
|
|
38
|
-
arn?: string;
|
|
39
|
-
name?: string;
|
|
40
|
-
latencyMode?: ChannelLatencyMode;
|
|
41
|
-
type?: ChannelType;
|
|
42
|
-
recordingConfigurationArn?: string;
|
|
43
|
-
ingestEndpoint?: string;
|
|
44
|
-
playbackUrl?: string;
|
|
45
|
-
authorized?: boolean;
|
|
46
|
-
tags?: Record<string, string
|
|
47
|
-
insecureIngest?: boolean;
|
|
48
|
-
preset?: TranscodePreset;
|
|
49
|
-
srt?: Srt;
|
|
50
|
-
playbackRestrictionPolicyArn?: string;
|
|
38
|
+
arn?: string | undefined;
|
|
39
|
+
name?: string | undefined;
|
|
40
|
+
latencyMode?: ChannelLatencyMode | undefined;
|
|
41
|
+
type?: ChannelType | undefined;
|
|
42
|
+
recordingConfigurationArn?: string | undefined;
|
|
43
|
+
ingestEndpoint?: string | undefined;
|
|
44
|
+
playbackUrl?: string | undefined;
|
|
45
|
+
authorized?: boolean | undefined;
|
|
46
|
+
tags?: Record<string, string> | undefined;
|
|
47
|
+
insecureIngest?: boolean | undefined;
|
|
48
|
+
preset?: TranscodePreset | undefined;
|
|
49
|
+
srt?: Srt | undefined;
|
|
50
|
+
playbackRestrictionPolicyArn?: string | undefined;
|
|
51
51
|
}
|
|
52
52
|
export interface BatchError {
|
|
53
|
-
arn?: string;
|
|
54
|
-
code?: string;
|
|
55
|
-
message?: string;
|
|
53
|
+
arn?: string | undefined;
|
|
54
|
+
code?: string | undefined;
|
|
55
|
+
message?: string | undefined;
|
|
56
56
|
}
|
|
57
57
|
export interface BatchGetChannelResponse {
|
|
58
|
-
channels?: Channel[];
|
|
59
|
-
errors?: BatchError[];
|
|
58
|
+
channels?: Channel[] | undefined;
|
|
59
|
+
errors?: BatchError[] | undefined;
|
|
60
60
|
}
|
|
61
61
|
export interface BatchGetStreamKeyRequest {
|
|
62
62
|
arns: string[] | undefined;
|
|
63
63
|
}
|
|
64
64
|
export interface StreamKey {
|
|
65
|
-
arn?: string;
|
|
66
|
-
value?: string;
|
|
67
|
-
channelArn?: string;
|
|
68
|
-
tags?: Record<string, string
|
|
65
|
+
arn?: string | undefined;
|
|
66
|
+
value?: string | undefined;
|
|
67
|
+
channelArn?: string | undefined;
|
|
68
|
+
tags?: Record<string, string> | undefined;
|
|
69
69
|
}
|
|
70
70
|
export interface BatchGetStreamKeyResponse {
|
|
71
|
-
streamKeys?: StreamKey[];
|
|
72
|
-
errors?: BatchError[];
|
|
71
|
+
streamKeys?: StreamKey[] | undefined;
|
|
72
|
+
errors?: BatchError[] | undefined;
|
|
73
73
|
}
|
|
74
74
|
export interface BatchStartViewerSessionRevocationViewerSession {
|
|
75
75
|
channelArn: string | undefined;
|
|
76
76
|
viewerId: string | undefined;
|
|
77
|
-
viewerSessionVersionsLessThanOrEqualTo?: number;
|
|
77
|
+
viewerSessionVersionsLessThanOrEqualTo?: number | undefined;
|
|
78
78
|
}
|
|
79
79
|
export interface BatchStartViewerSessionRevocationRequest {
|
|
80
80
|
viewerSessions: BatchStartViewerSessionRevocationViewerSession[] | undefined;
|
|
@@ -82,16 +82,16 @@ export interface BatchStartViewerSessionRevocationRequest {
|
|
|
82
82
|
export interface BatchStartViewerSessionRevocationError {
|
|
83
83
|
channelArn: string | undefined;
|
|
84
84
|
viewerId: string | undefined;
|
|
85
|
-
code?: string;
|
|
86
|
-
message?: string;
|
|
85
|
+
code?: string | undefined;
|
|
86
|
+
message?: string | undefined;
|
|
87
87
|
}
|
|
88
88
|
export interface BatchStartViewerSessionRevocationResponse {
|
|
89
|
-
errors?: BatchStartViewerSessionRevocationError[];
|
|
89
|
+
errors?: BatchStartViewerSessionRevocationError[] | undefined;
|
|
90
90
|
}
|
|
91
91
|
export declare class PendingVerification extends __BaseException {
|
|
92
92
|
readonly name: "PendingVerification";
|
|
93
93
|
readonly $fault: "client";
|
|
94
|
-
exceptionMessage?: string;
|
|
94
|
+
exceptionMessage?: string | undefined;
|
|
95
95
|
constructor(
|
|
96
96
|
opts: __ExceptionOptionType<PendingVerification, __BaseException>
|
|
97
97
|
);
|
|
@@ -99,7 +99,7 @@ export declare class PendingVerification extends __BaseException {
|
|
|
99
99
|
export declare class ThrottlingException extends __BaseException {
|
|
100
100
|
readonly name: "ThrottlingException";
|
|
101
101
|
readonly $fault: "client";
|
|
102
|
-
exceptionMessage?: string;
|
|
102
|
+
exceptionMessage?: string | undefined;
|
|
103
103
|
constructor(
|
|
104
104
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
105
105
|
);
|
|
@@ -107,30 +107,30 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
107
107
|
export declare class ValidationException extends __BaseException {
|
|
108
108
|
readonly name: "ValidationException";
|
|
109
109
|
readonly $fault: "client";
|
|
110
|
-
exceptionMessage?: string;
|
|
110
|
+
exceptionMessage?: string | undefined;
|
|
111
111
|
constructor(
|
|
112
112
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
113
113
|
);
|
|
114
114
|
}
|
|
115
115
|
export interface CreateChannelRequest {
|
|
116
|
-
name?: string;
|
|
117
|
-
latencyMode?: ChannelLatencyMode;
|
|
118
|
-
type?: ChannelType;
|
|
119
|
-
authorized?: boolean;
|
|
120
|
-
recordingConfigurationArn?: string;
|
|
121
|
-
tags?: Record<string, string
|
|
122
|
-
insecureIngest?: boolean;
|
|
123
|
-
preset?: TranscodePreset;
|
|
124
|
-
playbackRestrictionPolicyArn?: string;
|
|
116
|
+
name?: string | undefined;
|
|
117
|
+
latencyMode?: ChannelLatencyMode | undefined;
|
|
118
|
+
type?: ChannelType | undefined;
|
|
119
|
+
authorized?: boolean | undefined;
|
|
120
|
+
recordingConfigurationArn?: string | undefined;
|
|
121
|
+
tags?: Record<string, string> | undefined;
|
|
122
|
+
insecureIngest?: boolean | undefined;
|
|
123
|
+
preset?: TranscodePreset | undefined;
|
|
124
|
+
playbackRestrictionPolicyArn?: string | undefined;
|
|
125
125
|
}
|
|
126
126
|
export interface CreateChannelResponse {
|
|
127
|
-
channel?: Channel;
|
|
128
|
-
streamKey?: StreamKey;
|
|
127
|
+
channel?: Channel | undefined;
|
|
128
|
+
streamKey?: StreamKey | undefined;
|
|
129
129
|
}
|
|
130
130
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
131
131
|
readonly name: "ResourceNotFoundException";
|
|
132
132
|
readonly $fault: "client";
|
|
133
|
-
exceptionMessage?: string;
|
|
133
|
+
exceptionMessage?: string | undefined;
|
|
134
134
|
constructor(
|
|
135
135
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
136
136
|
);
|
|
@@ -138,40 +138,40 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
138
138
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
139
139
|
readonly name: "ServiceQuotaExceededException";
|
|
140
140
|
readonly $fault: "client";
|
|
141
|
-
exceptionMessage?: string;
|
|
141
|
+
exceptionMessage?: string | undefined;
|
|
142
142
|
constructor(
|
|
143
143
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
144
144
|
);
|
|
145
145
|
}
|
|
146
146
|
export interface CreatePlaybackRestrictionPolicyRequest {
|
|
147
|
-
allowedCountries?: string[];
|
|
148
|
-
allowedOrigins?: string[];
|
|
149
|
-
enableStrictOriginEnforcement?: boolean;
|
|
150
|
-
name?: string;
|
|
151
|
-
tags?: Record<string, string
|
|
147
|
+
allowedCountries?: string[] | undefined;
|
|
148
|
+
allowedOrigins?: string[] | undefined;
|
|
149
|
+
enableStrictOriginEnforcement?: boolean | undefined;
|
|
150
|
+
name?: string | undefined;
|
|
151
|
+
tags?: Record<string, string> | undefined;
|
|
152
152
|
}
|
|
153
153
|
export interface PlaybackRestrictionPolicy {
|
|
154
154
|
arn: string | undefined;
|
|
155
155
|
allowedCountries: string[] | undefined;
|
|
156
156
|
allowedOrigins: string[] | undefined;
|
|
157
|
-
enableStrictOriginEnforcement?: boolean;
|
|
158
|
-
name?: string;
|
|
159
|
-
tags?: Record<string, string
|
|
157
|
+
enableStrictOriginEnforcement?: boolean | undefined;
|
|
158
|
+
name?: string | undefined;
|
|
159
|
+
tags?: Record<string, string> | undefined;
|
|
160
160
|
}
|
|
161
161
|
export interface CreatePlaybackRestrictionPolicyResponse {
|
|
162
|
-
playbackRestrictionPolicy?: PlaybackRestrictionPolicy;
|
|
162
|
+
playbackRestrictionPolicy?: PlaybackRestrictionPolicy | undefined;
|
|
163
163
|
}
|
|
164
164
|
export declare class ConflictException extends __BaseException {
|
|
165
165
|
readonly name: "ConflictException";
|
|
166
166
|
readonly $fault: "client";
|
|
167
|
-
exceptionMessage?: string;
|
|
167
|
+
exceptionMessage?: string | undefined;
|
|
168
168
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
169
169
|
}
|
|
170
170
|
export interface S3DestinationConfiguration {
|
|
171
171
|
bucketName: string | undefined;
|
|
172
172
|
}
|
|
173
173
|
export interface DestinationConfiguration {
|
|
174
|
-
s3?: S3DestinationConfiguration;
|
|
174
|
+
s3?: S3DestinationConfiguration | undefined;
|
|
175
175
|
}
|
|
176
176
|
export declare const RenditionConfigurationRendition: {
|
|
177
177
|
readonly FULL_HD: "FULL_HD";
|
|
@@ -189,8 +189,8 @@ export declare const RenditionConfigurationRenditionSelection: {
|
|
|
189
189
|
export type RenditionConfigurationRenditionSelection =
|
|
190
190
|
(typeof RenditionConfigurationRenditionSelection)[keyof typeof RenditionConfigurationRenditionSelection];
|
|
191
191
|
export interface RenditionConfiguration {
|
|
192
|
-
renditionSelection?: RenditionConfigurationRenditionSelection;
|
|
193
|
-
renditions?: RenditionConfigurationRendition[];
|
|
192
|
+
renditionSelection?: RenditionConfigurationRenditionSelection | undefined;
|
|
193
|
+
renditions?: RenditionConfigurationRendition[] | undefined;
|
|
194
194
|
}
|
|
195
195
|
export declare const RecordingMode: {
|
|
196
196
|
readonly Disabled: "DISABLED";
|
|
@@ -212,18 +212,18 @@ export declare const ThumbnailConfigurationStorage: {
|
|
|
212
212
|
export type ThumbnailConfigurationStorage =
|
|
213
213
|
(typeof ThumbnailConfigurationStorage)[keyof typeof ThumbnailConfigurationStorage];
|
|
214
214
|
export interface ThumbnailConfiguration {
|
|
215
|
-
recordingMode?: RecordingMode;
|
|
216
|
-
targetIntervalSeconds?: number;
|
|
217
|
-
resolution?: ThumbnailConfigurationResolution;
|
|
218
|
-
storage?: ThumbnailConfigurationStorage[];
|
|
215
|
+
recordingMode?: RecordingMode | undefined;
|
|
216
|
+
targetIntervalSeconds?: number | undefined;
|
|
217
|
+
resolution?: ThumbnailConfigurationResolution | undefined;
|
|
218
|
+
storage?: ThumbnailConfigurationStorage[] | undefined;
|
|
219
219
|
}
|
|
220
220
|
export interface CreateRecordingConfigurationRequest {
|
|
221
|
-
name?: string;
|
|
221
|
+
name?: string | undefined;
|
|
222
222
|
destinationConfiguration: DestinationConfiguration | undefined;
|
|
223
|
-
tags?: Record<string, string
|
|
224
|
-
thumbnailConfiguration?: ThumbnailConfiguration;
|
|
225
|
-
recordingReconnectWindowSeconds?: number;
|
|
226
|
-
renditionConfiguration?: RenditionConfiguration;
|
|
223
|
+
tags?: Record<string, string> | undefined;
|
|
224
|
+
thumbnailConfiguration?: ThumbnailConfiguration | undefined;
|
|
225
|
+
recordingReconnectWindowSeconds?: number | undefined;
|
|
226
|
+
renditionConfiguration?: RenditionConfiguration | undefined;
|
|
227
227
|
}
|
|
228
228
|
export declare const RecordingConfigurationState: {
|
|
229
229
|
readonly Active: "ACTIVE";
|
|
@@ -234,31 +234,31 @@ export type RecordingConfigurationState =
|
|
|
234
234
|
(typeof RecordingConfigurationState)[keyof typeof RecordingConfigurationState];
|
|
235
235
|
export interface RecordingConfiguration {
|
|
236
236
|
arn: string | undefined;
|
|
237
|
-
name?: string;
|
|
237
|
+
name?: string | undefined;
|
|
238
238
|
destinationConfiguration: DestinationConfiguration | undefined;
|
|
239
239
|
state: RecordingConfigurationState | undefined;
|
|
240
|
-
tags?: Record<string, string
|
|
241
|
-
thumbnailConfiguration?: ThumbnailConfiguration;
|
|
242
|
-
recordingReconnectWindowSeconds?: number;
|
|
243
|
-
renditionConfiguration?: RenditionConfiguration;
|
|
240
|
+
tags?: Record<string, string> | undefined;
|
|
241
|
+
thumbnailConfiguration?: ThumbnailConfiguration | undefined;
|
|
242
|
+
recordingReconnectWindowSeconds?: number | undefined;
|
|
243
|
+
renditionConfiguration?: RenditionConfiguration | undefined;
|
|
244
244
|
}
|
|
245
245
|
export interface CreateRecordingConfigurationResponse {
|
|
246
|
-
recordingConfiguration?: RecordingConfiguration;
|
|
246
|
+
recordingConfiguration?: RecordingConfiguration | undefined;
|
|
247
247
|
}
|
|
248
248
|
export declare class InternalServerException extends __BaseException {
|
|
249
249
|
readonly name: "InternalServerException";
|
|
250
250
|
readonly $fault: "server";
|
|
251
|
-
exceptionMessage?: string;
|
|
251
|
+
exceptionMessage?: string | undefined;
|
|
252
252
|
constructor(
|
|
253
253
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
254
254
|
);
|
|
255
255
|
}
|
|
256
256
|
export interface CreateStreamKeyRequest {
|
|
257
257
|
channelArn: string | undefined;
|
|
258
|
-
tags?: Record<string, string
|
|
258
|
+
tags?: Record<string, string> | undefined;
|
|
259
259
|
}
|
|
260
260
|
export interface CreateStreamKeyResponse {
|
|
261
|
-
streamKey?: StreamKey;
|
|
261
|
+
streamKey?: StreamKey | undefined;
|
|
262
262
|
}
|
|
263
263
|
export interface DeleteChannelRequest {
|
|
264
264
|
arn: string | undefined;
|
|
@@ -280,36 +280,36 @@ export interface GetChannelRequest {
|
|
|
280
280
|
arn: string | undefined;
|
|
281
281
|
}
|
|
282
282
|
export interface GetChannelResponse {
|
|
283
|
-
channel?: Channel;
|
|
283
|
+
channel?: Channel | undefined;
|
|
284
284
|
}
|
|
285
285
|
export interface GetPlaybackKeyPairRequest {
|
|
286
286
|
arn: string | undefined;
|
|
287
287
|
}
|
|
288
288
|
export interface PlaybackKeyPair {
|
|
289
|
-
arn?: string;
|
|
290
|
-
name?: string;
|
|
291
|
-
fingerprint?: string;
|
|
292
|
-
tags?: Record<string, string
|
|
289
|
+
arn?: string | undefined;
|
|
290
|
+
name?: string | undefined;
|
|
291
|
+
fingerprint?: string | undefined;
|
|
292
|
+
tags?: Record<string, string> | undefined;
|
|
293
293
|
}
|
|
294
294
|
export interface GetPlaybackKeyPairResponse {
|
|
295
|
-
keyPair?: PlaybackKeyPair;
|
|
295
|
+
keyPair?: PlaybackKeyPair | undefined;
|
|
296
296
|
}
|
|
297
297
|
export interface GetPlaybackRestrictionPolicyRequest {
|
|
298
298
|
arn: string | undefined;
|
|
299
299
|
}
|
|
300
300
|
export interface GetPlaybackRestrictionPolicyResponse {
|
|
301
|
-
playbackRestrictionPolicy?: PlaybackRestrictionPolicy;
|
|
301
|
+
playbackRestrictionPolicy?: PlaybackRestrictionPolicy | undefined;
|
|
302
302
|
}
|
|
303
303
|
export interface GetRecordingConfigurationRequest {
|
|
304
304
|
arn: string | undefined;
|
|
305
305
|
}
|
|
306
306
|
export interface GetRecordingConfigurationResponse {
|
|
307
|
-
recordingConfiguration?: RecordingConfiguration;
|
|
307
|
+
recordingConfiguration?: RecordingConfiguration | undefined;
|
|
308
308
|
}
|
|
309
309
|
export declare class ChannelNotBroadcasting extends __BaseException {
|
|
310
310
|
readonly name: "ChannelNotBroadcasting";
|
|
311
311
|
readonly $fault: "client";
|
|
312
|
-
exceptionMessage?: string;
|
|
312
|
+
exceptionMessage?: string | undefined;
|
|
313
313
|
constructor(
|
|
314
314
|
opts: __ExceptionOptionType<ChannelNotBroadcasting, __BaseException>
|
|
315
315
|
);
|
|
@@ -329,188 +329,188 @@ export declare const StreamState: {
|
|
|
329
329
|
};
|
|
330
330
|
export type StreamState = (typeof StreamState)[keyof typeof StreamState];
|
|
331
331
|
export interface _Stream {
|
|
332
|
-
channelArn?: string;
|
|
333
|
-
streamId?: string;
|
|
334
|
-
playbackUrl?: string;
|
|
335
|
-
startTime?: Date;
|
|
336
|
-
state?: StreamState;
|
|
337
|
-
health?: StreamHealth;
|
|
338
|
-
viewerCount?: number;
|
|
332
|
+
channelArn?: string | undefined;
|
|
333
|
+
streamId?: string | undefined;
|
|
334
|
+
playbackUrl?: string | undefined;
|
|
335
|
+
startTime?: Date | undefined;
|
|
336
|
+
state?: StreamState | undefined;
|
|
337
|
+
health?: StreamHealth | undefined;
|
|
338
|
+
viewerCount?: number | undefined;
|
|
339
339
|
}
|
|
340
340
|
export interface GetStreamResponse {
|
|
341
|
-
stream?: _Stream;
|
|
341
|
+
stream?: _Stream | undefined;
|
|
342
342
|
}
|
|
343
343
|
export interface GetStreamKeyRequest {
|
|
344
344
|
arn: string | undefined;
|
|
345
345
|
}
|
|
346
346
|
export interface GetStreamKeyResponse {
|
|
347
|
-
streamKey?: StreamKey;
|
|
347
|
+
streamKey?: StreamKey | undefined;
|
|
348
348
|
}
|
|
349
349
|
export interface GetStreamSessionRequest {
|
|
350
350
|
channelArn: string | undefined;
|
|
351
|
-
streamId?: string;
|
|
351
|
+
streamId?: string | undefined;
|
|
352
352
|
}
|
|
353
353
|
export interface AudioConfiguration {
|
|
354
|
-
codec?: string;
|
|
355
|
-
targetBitrate?: number;
|
|
356
|
-
sampleRate?: number;
|
|
357
|
-
channels?: number;
|
|
354
|
+
codec?: string | undefined;
|
|
355
|
+
targetBitrate?: number | undefined;
|
|
356
|
+
sampleRate?: number | undefined;
|
|
357
|
+
channels?: number | undefined;
|
|
358
358
|
}
|
|
359
359
|
export interface VideoConfiguration {
|
|
360
|
-
avcProfile?: string;
|
|
361
|
-
avcLevel?: string;
|
|
362
|
-
codec?: string;
|
|
363
|
-
encoder?: string;
|
|
364
|
-
targetBitrate?: number;
|
|
365
|
-
targetFramerate?: number;
|
|
366
|
-
videoHeight?: number;
|
|
367
|
-
videoWidth?: number;
|
|
360
|
+
avcProfile?: string | undefined;
|
|
361
|
+
avcLevel?: string | undefined;
|
|
362
|
+
codec?: string | undefined;
|
|
363
|
+
encoder?: string | undefined;
|
|
364
|
+
targetBitrate?: number | undefined;
|
|
365
|
+
targetFramerate?: number | undefined;
|
|
366
|
+
videoHeight?: number | undefined;
|
|
367
|
+
videoWidth?: number | undefined;
|
|
368
368
|
}
|
|
369
369
|
export interface IngestConfiguration {
|
|
370
|
-
video?: VideoConfiguration;
|
|
371
|
-
audio?: AudioConfiguration;
|
|
370
|
+
video?: VideoConfiguration | undefined;
|
|
371
|
+
audio?: AudioConfiguration | undefined;
|
|
372
372
|
}
|
|
373
373
|
export interface StreamEvent {
|
|
374
|
-
name?: string;
|
|
375
|
-
type?: string;
|
|
376
|
-
eventTime?: Date;
|
|
377
|
-
code?: string;
|
|
374
|
+
name?: string | undefined;
|
|
375
|
+
type?: string | undefined;
|
|
376
|
+
eventTime?: Date | undefined;
|
|
377
|
+
code?: string | undefined;
|
|
378
378
|
}
|
|
379
379
|
export interface StreamSession {
|
|
380
|
-
streamId?: string;
|
|
381
|
-
startTime?: Date;
|
|
382
|
-
endTime?: Date;
|
|
383
|
-
channel?: Channel;
|
|
384
|
-
ingestConfiguration?: IngestConfiguration;
|
|
385
|
-
recordingConfiguration?: RecordingConfiguration;
|
|
386
|
-
truncatedEvents?: StreamEvent[];
|
|
380
|
+
streamId?: string | undefined;
|
|
381
|
+
startTime?: Date | undefined;
|
|
382
|
+
endTime?: Date | undefined;
|
|
383
|
+
channel?: Channel | undefined;
|
|
384
|
+
ingestConfiguration?: IngestConfiguration | undefined;
|
|
385
|
+
recordingConfiguration?: RecordingConfiguration | undefined;
|
|
386
|
+
truncatedEvents?: StreamEvent[] | undefined;
|
|
387
387
|
}
|
|
388
388
|
export interface GetStreamSessionResponse {
|
|
389
|
-
streamSession?: StreamSession;
|
|
389
|
+
streamSession?: StreamSession | undefined;
|
|
390
390
|
}
|
|
391
391
|
export interface ImportPlaybackKeyPairRequest {
|
|
392
392
|
publicKeyMaterial: string | undefined;
|
|
393
|
-
name?: string;
|
|
394
|
-
tags?: Record<string, string
|
|
393
|
+
name?: string | undefined;
|
|
394
|
+
tags?: Record<string, string> | undefined;
|
|
395
395
|
}
|
|
396
396
|
export interface ImportPlaybackKeyPairResponse {
|
|
397
|
-
keyPair?: PlaybackKeyPair;
|
|
397
|
+
keyPair?: PlaybackKeyPair | undefined;
|
|
398
398
|
}
|
|
399
399
|
export interface ListChannelsRequest {
|
|
400
|
-
filterByName?: string;
|
|
401
|
-
filterByRecordingConfigurationArn?: string;
|
|
402
|
-
filterByPlaybackRestrictionPolicyArn?: string;
|
|
403
|
-
nextToken?: string;
|
|
404
|
-
maxResults?: number;
|
|
400
|
+
filterByName?: string | undefined;
|
|
401
|
+
filterByRecordingConfigurationArn?: string | undefined;
|
|
402
|
+
filterByPlaybackRestrictionPolicyArn?: string | undefined;
|
|
403
|
+
nextToken?: string | undefined;
|
|
404
|
+
maxResults?: number | undefined;
|
|
405
405
|
}
|
|
406
406
|
export interface ChannelSummary {
|
|
407
|
-
arn?: string;
|
|
408
|
-
name?: string;
|
|
409
|
-
latencyMode?: ChannelLatencyMode;
|
|
410
|
-
authorized?: boolean;
|
|
411
|
-
recordingConfigurationArn?: string;
|
|
412
|
-
tags?: Record<string, string
|
|
413
|
-
insecureIngest?: boolean;
|
|
414
|
-
type?: ChannelType;
|
|
415
|
-
preset?: TranscodePreset;
|
|
416
|
-
playbackRestrictionPolicyArn?: string;
|
|
407
|
+
arn?: string | undefined;
|
|
408
|
+
name?: string | undefined;
|
|
409
|
+
latencyMode?: ChannelLatencyMode | undefined;
|
|
410
|
+
authorized?: boolean | undefined;
|
|
411
|
+
recordingConfigurationArn?: string | undefined;
|
|
412
|
+
tags?: Record<string, string> | undefined;
|
|
413
|
+
insecureIngest?: boolean | undefined;
|
|
414
|
+
type?: ChannelType | undefined;
|
|
415
|
+
preset?: TranscodePreset | undefined;
|
|
416
|
+
playbackRestrictionPolicyArn?: string | undefined;
|
|
417
417
|
}
|
|
418
418
|
export interface ListChannelsResponse {
|
|
419
419
|
channels: ChannelSummary[] | undefined;
|
|
420
|
-
nextToken?: string;
|
|
420
|
+
nextToken?: string | undefined;
|
|
421
421
|
}
|
|
422
422
|
export interface ListPlaybackKeyPairsRequest {
|
|
423
|
-
nextToken?: string;
|
|
424
|
-
maxResults?: number;
|
|
423
|
+
nextToken?: string | undefined;
|
|
424
|
+
maxResults?: number | undefined;
|
|
425
425
|
}
|
|
426
426
|
export interface PlaybackKeyPairSummary {
|
|
427
|
-
arn?: string;
|
|
428
|
-
name?: string;
|
|
429
|
-
tags?: Record<string, string
|
|
427
|
+
arn?: string | undefined;
|
|
428
|
+
name?: string | undefined;
|
|
429
|
+
tags?: Record<string, string> | undefined;
|
|
430
430
|
}
|
|
431
431
|
export interface ListPlaybackKeyPairsResponse {
|
|
432
432
|
keyPairs: PlaybackKeyPairSummary[] | undefined;
|
|
433
|
-
nextToken?: string;
|
|
433
|
+
nextToken?: string | undefined;
|
|
434
434
|
}
|
|
435
435
|
export interface ListPlaybackRestrictionPoliciesRequest {
|
|
436
|
-
nextToken?: string;
|
|
437
|
-
maxResults?: number;
|
|
436
|
+
nextToken?: string | undefined;
|
|
437
|
+
maxResults?: number | undefined;
|
|
438
438
|
}
|
|
439
439
|
export interface PlaybackRestrictionPolicySummary {
|
|
440
440
|
arn: string | undefined;
|
|
441
441
|
allowedCountries: string[] | undefined;
|
|
442
442
|
allowedOrigins: string[] | undefined;
|
|
443
|
-
enableStrictOriginEnforcement?: boolean;
|
|
444
|
-
name?: string;
|
|
445
|
-
tags?: Record<string, string
|
|
443
|
+
enableStrictOriginEnforcement?: boolean | undefined;
|
|
444
|
+
name?: string | undefined;
|
|
445
|
+
tags?: Record<string, string> | undefined;
|
|
446
446
|
}
|
|
447
447
|
export interface ListPlaybackRestrictionPoliciesResponse {
|
|
448
448
|
playbackRestrictionPolicies: PlaybackRestrictionPolicySummary[] | undefined;
|
|
449
|
-
nextToken?: string;
|
|
449
|
+
nextToken?: string | undefined;
|
|
450
450
|
}
|
|
451
451
|
export interface ListRecordingConfigurationsRequest {
|
|
452
|
-
nextToken?: string;
|
|
453
|
-
maxResults?: number;
|
|
452
|
+
nextToken?: string | undefined;
|
|
453
|
+
maxResults?: number | undefined;
|
|
454
454
|
}
|
|
455
455
|
export interface RecordingConfigurationSummary {
|
|
456
456
|
arn: string | undefined;
|
|
457
|
-
name?: string;
|
|
457
|
+
name?: string | undefined;
|
|
458
458
|
destinationConfiguration: DestinationConfiguration | undefined;
|
|
459
459
|
state: RecordingConfigurationState | undefined;
|
|
460
|
-
tags?: Record<string, string
|
|
460
|
+
tags?: Record<string, string> | undefined;
|
|
461
461
|
}
|
|
462
462
|
export interface ListRecordingConfigurationsResponse {
|
|
463
463
|
recordingConfigurations: RecordingConfigurationSummary[] | undefined;
|
|
464
|
-
nextToken?: string;
|
|
464
|
+
nextToken?: string | undefined;
|
|
465
465
|
}
|
|
466
466
|
export interface ListStreamKeysRequest {
|
|
467
467
|
channelArn: string | undefined;
|
|
468
|
-
nextToken?: string;
|
|
469
|
-
maxResults?: number;
|
|
468
|
+
nextToken?: string | undefined;
|
|
469
|
+
maxResults?: number | undefined;
|
|
470
470
|
}
|
|
471
471
|
export interface StreamKeySummary {
|
|
472
|
-
arn?: string;
|
|
473
|
-
channelArn?: string;
|
|
474
|
-
tags?: Record<string, string
|
|
472
|
+
arn?: string | undefined;
|
|
473
|
+
channelArn?: string | undefined;
|
|
474
|
+
tags?: Record<string, string> | undefined;
|
|
475
475
|
}
|
|
476
476
|
export interface ListStreamKeysResponse {
|
|
477
477
|
streamKeys: StreamKeySummary[] | undefined;
|
|
478
|
-
nextToken?: string;
|
|
478
|
+
nextToken?: string | undefined;
|
|
479
479
|
}
|
|
480
480
|
export interface StreamFilters {
|
|
481
|
-
health?: StreamHealth;
|
|
481
|
+
health?: StreamHealth | undefined;
|
|
482
482
|
}
|
|
483
483
|
export interface ListStreamsRequest {
|
|
484
|
-
filterBy?: StreamFilters;
|
|
485
|
-
nextToken?: string;
|
|
486
|
-
maxResults?: number;
|
|
484
|
+
filterBy?: StreamFilters | undefined;
|
|
485
|
+
nextToken?: string | undefined;
|
|
486
|
+
maxResults?: number | undefined;
|
|
487
487
|
}
|
|
488
488
|
export interface StreamSummary {
|
|
489
|
-
channelArn?: string;
|
|
490
|
-
streamId?: string;
|
|
491
|
-
state?: StreamState;
|
|
492
|
-
health?: StreamHealth;
|
|
493
|
-
viewerCount?: number;
|
|
494
|
-
startTime?: Date;
|
|
489
|
+
channelArn?: string | undefined;
|
|
490
|
+
streamId?: string | undefined;
|
|
491
|
+
state?: StreamState | undefined;
|
|
492
|
+
health?: StreamHealth | undefined;
|
|
493
|
+
viewerCount?: number | undefined;
|
|
494
|
+
startTime?: Date | undefined;
|
|
495
495
|
}
|
|
496
496
|
export interface ListStreamsResponse {
|
|
497
497
|
streams: StreamSummary[] | undefined;
|
|
498
|
-
nextToken?: string;
|
|
498
|
+
nextToken?: string | undefined;
|
|
499
499
|
}
|
|
500
500
|
export interface ListStreamSessionsRequest {
|
|
501
501
|
channelArn: string | undefined;
|
|
502
|
-
nextToken?: string;
|
|
503
|
-
maxResults?: number;
|
|
502
|
+
nextToken?: string | undefined;
|
|
503
|
+
maxResults?: number | undefined;
|
|
504
504
|
}
|
|
505
505
|
export interface StreamSessionSummary {
|
|
506
|
-
streamId?: string;
|
|
507
|
-
startTime?: Date;
|
|
508
|
-
endTime?: Date;
|
|
509
|
-
hasErrorEvent?: boolean;
|
|
506
|
+
streamId?: string | undefined;
|
|
507
|
+
startTime?: Date | undefined;
|
|
508
|
+
endTime?: Date | undefined;
|
|
509
|
+
hasErrorEvent?: boolean | undefined;
|
|
510
510
|
}
|
|
511
511
|
export interface ListStreamSessionsResponse {
|
|
512
512
|
streamSessions: StreamSessionSummary[] | undefined;
|
|
513
|
-
nextToken?: string;
|
|
513
|
+
nextToken?: string | undefined;
|
|
514
514
|
}
|
|
515
515
|
export interface ListTagsForResourceRequest {
|
|
516
516
|
resourceArn: string | undefined;
|
|
@@ -525,7 +525,7 @@ export interface PutMetadataRequest {
|
|
|
525
525
|
export interface StartViewerSessionRevocationRequest {
|
|
526
526
|
channelArn: string | undefined;
|
|
527
527
|
viewerId: string | undefined;
|
|
528
|
-
viewerSessionVersionsLessThanOrEqualTo?: number;
|
|
528
|
+
viewerSessionVersionsLessThanOrEqualTo?: number | undefined;
|
|
529
529
|
}
|
|
530
530
|
export interface StartViewerSessionRevocationResponse {}
|
|
531
531
|
export interface StopStreamRequest {
|
|
@@ -535,7 +535,7 @@ export interface StopStreamResponse {}
|
|
|
535
535
|
export declare class StreamUnavailable extends __BaseException {
|
|
536
536
|
readonly name: "StreamUnavailable";
|
|
537
537
|
readonly $fault: "server";
|
|
538
|
-
exceptionMessage?: string;
|
|
538
|
+
exceptionMessage?: string | undefined;
|
|
539
539
|
constructor(opts: __ExceptionOptionType<StreamUnavailable, __BaseException>);
|
|
540
540
|
}
|
|
541
541
|
export interface TagResourceRequest {
|
|
@@ -550,27 +550,27 @@ export interface UntagResourceRequest {
|
|
|
550
550
|
export interface UntagResourceResponse {}
|
|
551
551
|
export interface UpdateChannelRequest {
|
|
552
552
|
arn: string | undefined;
|
|
553
|
-
name?: string;
|
|
554
|
-
latencyMode?: ChannelLatencyMode;
|
|
555
|
-
type?: ChannelType;
|
|
556
|
-
authorized?: boolean;
|
|
557
|
-
recordingConfigurationArn?: string;
|
|
558
|
-
insecureIngest?: boolean;
|
|
559
|
-
preset?: TranscodePreset;
|
|
560
|
-
playbackRestrictionPolicyArn?: string;
|
|
553
|
+
name?: string | undefined;
|
|
554
|
+
latencyMode?: ChannelLatencyMode | undefined;
|
|
555
|
+
type?: ChannelType | undefined;
|
|
556
|
+
authorized?: boolean | undefined;
|
|
557
|
+
recordingConfigurationArn?: string | undefined;
|
|
558
|
+
insecureIngest?: boolean | undefined;
|
|
559
|
+
preset?: TranscodePreset | undefined;
|
|
560
|
+
playbackRestrictionPolicyArn?: string | undefined;
|
|
561
561
|
}
|
|
562
562
|
export interface UpdateChannelResponse {
|
|
563
|
-
channel?: Channel;
|
|
563
|
+
channel?: Channel | undefined;
|
|
564
564
|
}
|
|
565
565
|
export interface UpdatePlaybackRestrictionPolicyRequest {
|
|
566
566
|
arn: string | undefined;
|
|
567
|
-
allowedCountries?: string[];
|
|
568
|
-
allowedOrigins?: string[];
|
|
569
|
-
enableStrictOriginEnforcement?: boolean;
|
|
570
|
-
name?: string;
|
|
567
|
+
allowedCountries?: string[] | undefined;
|
|
568
|
+
allowedOrigins?: string[] | undefined;
|
|
569
|
+
enableStrictOriginEnforcement?: boolean | undefined;
|
|
570
|
+
name?: string | undefined;
|
|
571
571
|
}
|
|
572
572
|
export interface UpdatePlaybackRestrictionPolicyResponse {
|
|
573
|
-
playbackRestrictionPolicy?: PlaybackRestrictionPolicy;
|
|
573
|
+
playbackRestrictionPolicy?: PlaybackRestrictionPolicy | undefined;
|
|
574
574
|
}
|
|
575
575
|
export declare const SrtFilterSensitiveLog: (obj: Srt) => any;
|
|
576
576
|
export declare const ChannelFilterSensitiveLog: (obj: Channel) => any;
|