@aws-sdk/client-ivs 3.40.0 → 3.45.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/CHANGELOG.md +41 -0
- package/README.md +10 -1
- package/dist-cjs/Ivs.js +30 -0
- package/dist-cjs/commands/GetStreamSessionCommand.js +36 -0
- package/dist-cjs/commands/ListStreamSessionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +9 -0
- package/dist-cjs/models/models_0.js +68 -2
- package/dist-cjs/pagination/ListStreamSessionsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +282 -2
- package/dist-es/Ivs.js +30 -0
- package/dist-es/commands/GetStreamSessionCommand.js +39 -0
- package/dist-es/commands/ListStreamSessionsCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +9 -0
- package/dist-es/models/models_0.js +44 -0
- package/dist-es/pagination/ListStreamSessionsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +309 -1
- package/dist-types/Ivs.d.ts +44 -19
- package/dist-types/IvsClient.d.ts +14 -3
- package/dist-types/commands/BatchGetChannelCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetStreamKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateChannelCommand.d.ts +1 -1
- package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +10 -10
- package/dist-types/commands/CreateStreamKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteChannelCommand.d.ts +3 -2
- package/dist-types/commands/DeletePlaybackKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecordingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStreamKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetPlaybackKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/GetRecordingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamSessionCommand.d.ts +35 -0
- package/dist-types/commands/ImportPlaybackKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -4
- package/dist-types/commands/ListPlaybackKeyPairsCommand.d.ts +1 -1
- package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/ListStreamKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamSessionsCommand.d.ts +36 -0
- package/dist-types/commands/ListStreamsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutMetadataCommand.d.ts +2 -2
- package/dist-types/commands/StopStreamCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +289 -6
- package/dist-types/pagination/ListStreamSessionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/Ivs.d.ts +10 -0
- package/dist-types/ts3.4/IvsClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetStreamSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListStreamSessionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +153 -0
- package/dist-types/ts3.4/pagination/ListStreamSessionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +6 -6
|
@@ -212,8 +212,8 @@ export interface CreateChannelRequest {
|
|
|
212
212
|
/**
|
|
213
213
|
* <p>Channel latency mode. Use <code>NORMAL</code> to broadcast and deliver live video up to
|
|
214
214
|
* Full HD. Use <code>LOW</code> for near-real-time interaction with viewers. (Note: In the
|
|
215
|
-
* Amazon IVS console, <code>LOW</code> and <code>NORMAL</code> correspond to Ultra-low and
|
|
216
|
-
* respectively.) Default: <code>LOW</code>.</p>
|
|
215
|
+
* Amazon IVS console, <code>LOW</code> and <code>NORMAL</code> correspond to Ultra-low and
|
|
216
|
+
* Standard, respectively.) Default: <code>LOW</code>.</p>
|
|
217
217
|
*/
|
|
218
218
|
latencyMode?: ChannelLatencyMode | string;
|
|
219
219
|
/**
|
|
@@ -716,6 +716,10 @@ export interface _Stream {
|
|
|
716
716
|
* <p>Channel ARN for the stream.</p>
|
|
717
717
|
*/
|
|
718
718
|
channelArn?: string;
|
|
719
|
+
/**
|
|
720
|
+
* <p>Unique identifier for a live or previously live stream in the specified channel.</p>
|
|
721
|
+
*/
|
|
722
|
+
streamId?: string;
|
|
719
723
|
/**
|
|
720
724
|
* <p>URL of the master playlist, required by the video player to play the HLS stream.</p>
|
|
721
725
|
*/
|
|
@@ -782,6 +786,196 @@ export declare namespace GetStreamKeyResponse {
|
|
|
782
786
|
*/
|
|
783
787
|
const filterSensitiveLog: (obj: GetStreamKeyResponse) => any;
|
|
784
788
|
}
|
|
789
|
+
export interface GetStreamSessionRequest {
|
|
790
|
+
/**
|
|
791
|
+
* <p>ARN of the channel resource</p>
|
|
792
|
+
*/
|
|
793
|
+
channelArn: string | undefined;
|
|
794
|
+
/**
|
|
795
|
+
* <p>Unique identifier for a live or previously live stream in the specified channel. If no
|
|
796
|
+
* <code>streamId</code> is provided, this returns the most recent stream session for the
|
|
797
|
+
* channel, if it exists.</p>
|
|
798
|
+
*/
|
|
799
|
+
streamId?: string;
|
|
800
|
+
}
|
|
801
|
+
export declare namespace GetStreamSessionRequest {
|
|
802
|
+
/**
|
|
803
|
+
* @internal
|
|
804
|
+
*/
|
|
805
|
+
const filterSensitiveLog: (obj: GetStreamSessionRequest) => any;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* <p>Object specifying a stream’s audio configuration.</p>
|
|
809
|
+
*/
|
|
810
|
+
export interface AudioConfiguration {
|
|
811
|
+
/**
|
|
812
|
+
* <p>Codec used for the audio encoding.</p>
|
|
813
|
+
*/
|
|
814
|
+
codec?: string;
|
|
815
|
+
/**
|
|
816
|
+
* <p>The expected ingest bitrate (bits per second). This is configured in the encoder.</p>
|
|
817
|
+
*/
|
|
818
|
+
targetBitrate?: number;
|
|
819
|
+
/**
|
|
820
|
+
* <p>Number of audio samples recorded per second.</p>
|
|
821
|
+
*/
|
|
822
|
+
sampleRate?: number;
|
|
823
|
+
/**
|
|
824
|
+
* <p>Number of audio channels.</p>
|
|
825
|
+
*/
|
|
826
|
+
channels?: number;
|
|
827
|
+
}
|
|
828
|
+
export declare namespace AudioConfiguration {
|
|
829
|
+
/**
|
|
830
|
+
* @internal
|
|
831
|
+
*/
|
|
832
|
+
const filterSensitiveLog: (obj: AudioConfiguration) => any;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* <p>Object specifying a stream’s video configuration.</p>
|
|
836
|
+
*/
|
|
837
|
+
export interface VideoConfiguration {
|
|
838
|
+
/**
|
|
839
|
+
* <p>Indicates to the decoder the requirements for decoding the stream. For definitions of the
|
|
840
|
+
* valid values, see the H.264 specification.</p>
|
|
841
|
+
*/
|
|
842
|
+
avcProfile?: string;
|
|
843
|
+
/**
|
|
844
|
+
* <p>Indicates the degree of required decoder performance for a profile. Normally this is set
|
|
845
|
+
* automatically by the encoder. For details, see the H.264 specification.</p>
|
|
846
|
+
*/
|
|
847
|
+
avcLevel?: string;
|
|
848
|
+
/**
|
|
849
|
+
* <p>Codec used for the video encoding.</p>
|
|
850
|
+
*/
|
|
851
|
+
codec?: string;
|
|
852
|
+
/**
|
|
853
|
+
* <p>Software or hardware used to encode the video.</p>
|
|
854
|
+
*/
|
|
855
|
+
encoder?: string;
|
|
856
|
+
/**
|
|
857
|
+
* <p>The expected ingest bitrate (bits per second). This is configured in the encoder.</p>
|
|
858
|
+
*/
|
|
859
|
+
targetBitrate?: number;
|
|
860
|
+
/**
|
|
861
|
+
* <p>The expected ingest framerate. This is configured in the encoder.</p>
|
|
862
|
+
*/
|
|
863
|
+
targetFramerate?: number;
|
|
864
|
+
/**
|
|
865
|
+
* <p>Video-resolution height in pixels.</p>
|
|
866
|
+
*/
|
|
867
|
+
videoHeight?: number;
|
|
868
|
+
/**
|
|
869
|
+
* <p>Video-resolution width in pixels.</p>
|
|
870
|
+
*/
|
|
871
|
+
videoWidth?: number;
|
|
872
|
+
}
|
|
873
|
+
export declare namespace VideoConfiguration {
|
|
874
|
+
/**
|
|
875
|
+
* @internal
|
|
876
|
+
*/
|
|
877
|
+
const filterSensitiveLog: (obj: VideoConfiguration) => any;
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* <p>Object specifying the ingest configuration set up by the broadcaster, usually in an
|
|
881
|
+
* encoder.</p>
|
|
882
|
+
*/
|
|
883
|
+
export interface IngestConfiguration {
|
|
884
|
+
/**
|
|
885
|
+
* <p>Encoder settings for video.</p>
|
|
886
|
+
*/
|
|
887
|
+
video?: VideoConfiguration;
|
|
888
|
+
/**
|
|
889
|
+
* <p>Encoder settings for audio.</p>
|
|
890
|
+
*/
|
|
891
|
+
audio?: AudioConfiguration;
|
|
892
|
+
}
|
|
893
|
+
export declare namespace IngestConfiguration {
|
|
894
|
+
/**
|
|
895
|
+
* @internal
|
|
896
|
+
*/
|
|
897
|
+
const filterSensitiveLog: (obj: IngestConfiguration) => any;
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* <p>Object specifying a stream’s events. For a list of events, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html">Using Amazon EventBridge with Amazon
|
|
901
|
+
* IVS</a>.</p>
|
|
902
|
+
*/
|
|
903
|
+
export interface StreamEvent {
|
|
904
|
+
/**
|
|
905
|
+
* <p>Name that identifies the stream event within a <code>type</code>.</p>
|
|
906
|
+
*/
|
|
907
|
+
name?: string;
|
|
908
|
+
/**
|
|
909
|
+
* <p>Logical group for certain events.</p>
|
|
910
|
+
*/
|
|
911
|
+
type?: string;
|
|
912
|
+
/**
|
|
913
|
+
* <p>UTC ISO-8601 formatted timestamp of when the event occurred.</p>
|
|
914
|
+
*/
|
|
915
|
+
eventTime?: Date;
|
|
916
|
+
}
|
|
917
|
+
export declare namespace StreamEvent {
|
|
918
|
+
/**
|
|
919
|
+
* @internal
|
|
920
|
+
*/
|
|
921
|
+
const filterSensitiveLog: (obj: StreamEvent) => any;
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* <p>Object that captures the Amazon IVS configuration that the customer provisioned, the
|
|
925
|
+
* ingest configurations that the broadcaster used, and the most recent Amazon IVS stream events
|
|
926
|
+
* it encountered.</p>
|
|
927
|
+
*/
|
|
928
|
+
export interface StreamSession {
|
|
929
|
+
/**
|
|
930
|
+
* <p>Unique identifier for a live or previously live stream in the specified channel.</p>
|
|
931
|
+
*/
|
|
932
|
+
streamId?: string;
|
|
933
|
+
/**
|
|
934
|
+
* <p>UTC ISO-8601 formatted timestamp of when the channel went live.</p>
|
|
935
|
+
*/
|
|
936
|
+
startTime?: Date;
|
|
937
|
+
/**
|
|
938
|
+
* <p>UTC ISO-8601 formatted timestamp of when the channel went offline. For live streams, this
|
|
939
|
+
* is <code>NULL</code>.</p>
|
|
940
|
+
*/
|
|
941
|
+
endTime?: Date;
|
|
942
|
+
/**
|
|
943
|
+
* <p>The properties of the channel at the time of going live.</p>
|
|
944
|
+
*/
|
|
945
|
+
channel?: Channel;
|
|
946
|
+
/**
|
|
947
|
+
* <p>The properties of the incoming RTMP stream for the stream.</p>
|
|
948
|
+
*/
|
|
949
|
+
ingestConfiguration?: IngestConfiguration;
|
|
950
|
+
/**
|
|
951
|
+
* <p>The properties of recording the live stream.</p>
|
|
952
|
+
*/
|
|
953
|
+
recordingConfiguration?: RecordingConfiguration;
|
|
954
|
+
/**
|
|
955
|
+
* <p>List of Amazon IVS events that the stream encountered. The list is sorted by most recent
|
|
956
|
+
* events and contains up to 500 events. For Amazon IVS events, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html">Using Amazon EventBridge with Amazon
|
|
957
|
+
* IVS</a>.</p>
|
|
958
|
+
*/
|
|
959
|
+
truncatedEvents?: StreamEvent[];
|
|
960
|
+
}
|
|
961
|
+
export declare namespace StreamSession {
|
|
962
|
+
/**
|
|
963
|
+
* @internal
|
|
964
|
+
*/
|
|
965
|
+
const filterSensitiveLog: (obj: StreamSession) => any;
|
|
966
|
+
}
|
|
967
|
+
export interface GetStreamSessionResponse {
|
|
968
|
+
/**
|
|
969
|
+
* <p>List of stream details.</p>
|
|
970
|
+
*/
|
|
971
|
+
streamSession?: StreamSession;
|
|
972
|
+
}
|
|
973
|
+
export declare namespace GetStreamSessionResponse {
|
|
974
|
+
/**
|
|
975
|
+
* @internal
|
|
976
|
+
*/
|
|
977
|
+
const filterSensitiveLog: (obj: GetStreamSessionResponse) => any;
|
|
978
|
+
}
|
|
785
979
|
export interface ImportPlaybackKeyPairRequest {
|
|
786
980
|
/**
|
|
787
981
|
* <p>The public portion of a customer-generated key pair.</p>
|
|
@@ -1090,7 +1284,26 @@ export declare namespace ListStreamKeysResponse {
|
|
|
1090
1284
|
*/
|
|
1091
1285
|
const filterSensitiveLog: (obj: ListStreamKeysResponse) => any;
|
|
1092
1286
|
}
|
|
1287
|
+
/**
|
|
1288
|
+
* <p>Object specifying the stream attribute on which to filter.</p>
|
|
1289
|
+
*/
|
|
1290
|
+
export interface StreamFilters {
|
|
1291
|
+
/**
|
|
1292
|
+
* <p>The stream’s health.</p>
|
|
1293
|
+
*/
|
|
1294
|
+
health?: StreamHealth | string;
|
|
1295
|
+
}
|
|
1296
|
+
export declare namespace StreamFilters {
|
|
1297
|
+
/**
|
|
1298
|
+
* @internal
|
|
1299
|
+
*/
|
|
1300
|
+
const filterSensitiveLog: (obj: StreamFilters) => any;
|
|
1301
|
+
}
|
|
1093
1302
|
export interface ListStreamsRequest {
|
|
1303
|
+
/**
|
|
1304
|
+
* <p>Filters the stream list to match the specified criterion.</p>
|
|
1305
|
+
*/
|
|
1306
|
+
filterBy?: StreamFilters;
|
|
1094
1307
|
/**
|
|
1095
1308
|
* <p>The first stream to retrieve. This is used for pagination; see the <code>nextToken</code>
|
|
1096
1309
|
* response field.</p>
|
|
@@ -1115,6 +1328,10 @@ export interface StreamSummary {
|
|
|
1115
1328
|
* <p>Channel ARN for the stream.</p>
|
|
1116
1329
|
*/
|
|
1117
1330
|
channelArn?: string;
|
|
1331
|
+
/**
|
|
1332
|
+
* <p>Unique identifier for a live or previously live stream in the specified channel.</p>
|
|
1333
|
+
*/
|
|
1334
|
+
streamId?: string;
|
|
1118
1335
|
/**
|
|
1119
1336
|
* <p>The stream’s state.</p>
|
|
1120
1337
|
*/
|
|
@@ -1158,6 +1375,72 @@ export declare namespace ListStreamsResponse {
|
|
|
1158
1375
|
*/
|
|
1159
1376
|
const filterSensitiveLog: (obj: ListStreamsResponse) => any;
|
|
1160
1377
|
}
|
|
1378
|
+
export interface ListStreamSessionsRequest {
|
|
1379
|
+
/**
|
|
1380
|
+
* <p>Channel ARN used to filter the list.</p>
|
|
1381
|
+
*/
|
|
1382
|
+
channelArn: string | undefined;
|
|
1383
|
+
/**
|
|
1384
|
+
* <p>The first stream to retrieve. This is used for pagination; see the <code>nextToken</code>
|
|
1385
|
+
* response field.</p>
|
|
1386
|
+
*/
|
|
1387
|
+
nextToken?: string;
|
|
1388
|
+
/**
|
|
1389
|
+
* <p>Maximum number of streams to return. Default: 50.</p>
|
|
1390
|
+
*/
|
|
1391
|
+
maxResults?: number;
|
|
1392
|
+
}
|
|
1393
|
+
export declare namespace ListStreamSessionsRequest {
|
|
1394
|
+
/**
|
|
1395
|
+
* @internal
|
|
1396
|
+
*/
|
|
1397
|
+
const filterSensitiveLog: (obj: ListStreamSessionsRequest) => any;
|
|
1398
|
+
}
|
|
1399
|
+
/**
|
|
1400
|
+
* <p>Summary information about a stream session.</p>
|
|
1401
|
+
*/
|
|
1402
|
+
export interface StreamSessionSummary {
|
|
1403
|
+
/**
|
|
1404
|
+
* <p>Unique identifier for a live or previously live stream in the specified channel.</p>
|
|
1405
|
+
*/
|
|
1406
|
+
streamId?: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* <p>UTC ISO-8601 formatted timestamp of when the channel went live.</p>
|
|
1409
|
+
*/
|
|
1410
|
+
startTime?: Date;
|
|
1411
|
+
/**
|
|
1412
|
+
* <p>UTC ISO-8601 formatted timestamp of when the channel went offline. For live streams, this
|
|
1413
|
+
* is <code>NULL</code>.</p>
|
|
1414
|
+
*/
|
|
1415
|
+
endTime?: Date;
|
|
1416
|
+
/**
|
|
1417
|
+
* <p>If <code>true</code>, this stream encountered a quota breach or failure.</p>
|
|
1418
|
+
*/
|
|
1419
|
+
hasErrorEvent?: boolean;
|
|
1420
|
+
}
|
|
1421
|
+
export declare namespace StreamSessionSummary {
|
|
1422
|
+
/**
|
|
1423
|
+
* @internal
|
|
1424
|
+
*/
|
|
1425
|
+
const filterSensitiveLog: (obj: StreamSessionSummary) => any;
|
|
1426
|
+
}
|
|
1427
|
+
export interface ListStreamSessionsResponse {
|
|
1428
|
+
/**
|
|
1429
|
+
* <p/>
|
|
1430
|
+
*/
|
|
1431
|
+
streamSessions: StreamSessionSummary[] | undefined;
|
|
1432
|
+
/**
|
|
1433
|
+
* <p>If there are more streams than <code>maxResults</code>, use <code>nextToken</code> in the
|
|
1434
|
+
* request to get the next set.</p>
|
|
1435
|
+
*/
|
|
1436
|
+
nextToken?: string;
|
|
1437
|
+
}
|
|
1438
|
+
export declare namespace ListStreamSessionsResponse {
|
|
1439
|
+
/**
|
|
1440
|
+
* @internal
|
|
1441
|
+
*/
|
|
1442
|
+
const filterSensitiveLog: (obj: ListStreamSessionsResponse) => any;
|
|
1443
|
+
}
|
|
1161
1444
|
export interface ListTagsForResourceRequest {
|
|
1162
1445
|
/**
|
|
1163
1446
|
* <p>The ARN of the resource to be retrieved.</p>
|
|
@@ -1315,10 +1598,10 @@ export interface UpdateChannelRequest {
|
|
|
1315
1598
|
*/
|
|
1316
1599
|
name?: string;
|
|
1317
1600
|
/**
|
|
1318
|
-
* <p>Channel latency mode. Use <code>NORMAL</code> to broadcast and deliver live video up to
|
|
1319
|
-
* <code>LOW</code> for near-real-time interaction with viewers. (Note: In the
|
|
1320
|
-
*
|
|
1321
|
-
* respectively.)</p>
|
|
1601
|
+
* <p>Channel latency mode. Use <code>NORMAL</code> to broadcast and deliver live video up to
|
|
1602
|
+
* Full HD. Use <code>LOW</code> for near-real-time interaction with viewers. (Note: In the
|
|
1603
|
+
* Amazon IVS console, <code>LOW</code> and <code>NORMAL</code> correspond to Ultra-low and
|
|
1604
|
+
* Standard, respectively.)</p>
|
|
1322
1605
|
*/
|
|
1323
1606
|
latencyMode?: ChannelLatencyMode | string;
|
|
1324
1607
|
/**
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListStreamSessionsCommandInput, ListStreamSessionsCommandOutput } from "../commands/ListStreamSessionsCommand";
|
|
3
|
+
import { IvsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListStreamSessions(config: IvsPaginationConfiguration, input: ListStreamSessionsCommandInput, ...additionalArguments: any): Paginator<ListStreamSessionsCommandOutput>;
|
|
@@ -3,4 +3,5 @@ export * from "./ListChannelsPaginator";
|
|
|
3
3
|
export * from "./ListPlaybackKeyPairsPaginator";
|
|
4
4
|
export * from "./ListRecordingConfigurationsPaginator";
|
|
5
5
|
export * from "./ListStreamKeysPaginator";
|
|
6
|
+
export * from "./ListStreamSessionsPaginator";
|
|
6
7
|
export * from "./ListStreamsPaginator";
|
|
@@ -14,12 +14,14 @@ import { GetPlaybackKeyPairCommandInput, GetPlaybackKeyPairCommandOutput } from
|
|
|
14
14
|
import { GetRecordingConfigurationCommandInput, GetRecordingConfigurationCommandOutput } from "../commands/GetRecordingConfigurationCommand";
|
|
15
15
|
import { GetStreamCommandInput, GetStreamCommandOutput } from "../commands/GetStreamCommand";
|
|
16
16
|
import { GetStreamKeyCommandInput, GetStreamKeyCommandOutput } from "../commands/GetStreamKeyCommand";
|
|
17
|
+
import { GetStreamSessionCommandInput, GetStreamSessionCommandOutput } from "../commands/GetStreamSessionCommand";
|
|
17
18
|
import { ImportPlaybackKeyPairCommandInput, ImportPlaybackKeyPairCommandOutput } from "../commands/ImportPlaybackKeyPairCommand";
|
|
18
19
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand";
|
|
19
20
|
import { ListPlaybackKeyPairsCommandInput, ListPlaybackKeyPairsCommandOutput } from "../commands/ListPlaybackKeyPairsCommand";
|
|
20
21
|
import { ListRecordingConfigurationsCommandInput, ListRecordingConfigurationsCommandOutput } from "../commands/ListRecordingConfigurationsCommand";
|
|
21
22
|
import { ListStreamKeysCommandInput, ListStreamKeysCommandOutput } from "../commands/ListStreamKeysCommand";
|
|
22
23
|
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "../commands/ListStreamsCommand";
|
|
24
|
+
import { ListStreamSessionsCommandInput, ListStreamSessionsCommandOutput } from "../commands/ListStreamSessionsCommand";
|
|
23
25
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
24
26
|
import { PutMetadataCommandInput, PutMetadataCommandOutput } from "../commands/PutMetadataCommand";
|
|
25
27
|
import { StopStreamCommandInput, StopStreamCommandOutput } from "../commands/StopStreamCommand";
|
|
@@ -40,12 +42,14 @@ export declare const serializeAws_restJson1GetPlaybackKeyPairCommand: (input: Ge
|
|
|
40
42
|
export declare const serializeAws_restJson1GetRecordingConfigurationCommand: (input: GetRecordingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
41
43
|
export declare const serializeAws_restJson1GetStreamCommand: (input: GetStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
42
44
|
export declare const serializeAws_restJson1GetStreamKeyCommand: (input: GetStreamKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
45
|
+
export declare const serializeAws_restJson1GetStreamSessionCommand: (input: GetStreamSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
46
|
export declare const serializeAws_restJson1ImportPlaybackKeyPairCommand: (input: ImportPlaybackKeyPairCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
47
|
export declare const serializeAws_restJson1ListChannelsCommand: (input: ListChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
45
48
|
export declare const serializeAws_restJson1ListPlaybackKeyPairsCommand: (input: ListPlaybackKeyPairsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
49
|
export declare const serializeAws_restJson1ListRecordingConfigurationsCommand: (input: ListRecordingConfigurationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
50
|
export declare const serializeAws_restJson1ListStreamKeysCommand: (input: ListStreamKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
48
51
|
export declare const serializeAws_restJson1ListStreamsCommand: (input: ListStreamsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
52
|
+
export declare const serializeAws_restJson1ListStreamSessionsCommand: (input: ListStreamSessionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
49
53
|
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
50
54
|
export declare const serializeAws_restJson1PutMetadataCommand: (input: PutMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
51
55
|
export declare const serializeAws_restJson1StopStreamCommand: (input: StopStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -66,12 +70,14 @@ export declare const deserializeAws_restJson1GetPlaybackKeyPairCommand: (output:
|
|
|
66
70
|
export declare const deserializeAws_restJson1GetRecordingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecordingConfigurationCommandOutput>;
|
|
67
71
|
export declare const deserializeAws_restJson1GetStreamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStreamCommandOutput>;
|
|
68
72
|
export declare const deserializeAws_restJson1GetStreamKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStreamKeyCommandOutput>;
|
|
73
|
+
export declare const deserializeAws_restJson1GetStreamSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStreamSessionCommandOutput>;
|
|
69
74
|
export declare const deserializeAws_restJson1ImportPlaybackKeyPairCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportPlaybackKeyPairCommandOutput>;
|
|
70
75
|
export declare const deserializeAws_restJson1ListChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsCommandOutput>;
|
|
71
76
|
export declare const deserializeAws_restJson1ListPlaybackKeyPairsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPlaybackKeyPairsCommandOutput>;
|
|
72
77
|
export declare const deserializeAws_restJson1ListRecordingConfigurationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRecordingConfigurationsCommandOutput>;
|
|
73
78
|
export declare const deserializeAws_restJson1ListStreamKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStreamKeysCommandOutput>;
|
|
74
79
|
export declare const deserializeAws_restJson1ListStreamsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStreamsCommandOutput>;
|
|
80
|
+
export declare const deserializeAws_restJson1ListStreamSessionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStreamSessionsCommandOutput>;
|
|
75
81
|
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
76
82
|
export declare const deserializeAws_restJson1PutMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutMetadataCommandOutput>;
|
|
77
83
|
export declare const deserializeAws_restJson1StopStreamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopStreamCommandOutput>;
|
|
@@ -13,12 +13,14 @@ import { GetPlaybackKeyPairCommandInput, GetPlaybackKeyPairCommandOutput } from
|
|
|
13
13
|
import { GetRecordingConfigurationCommandInput, GetRecordingConfigurationCommandOutput } from "./commands/GetRecordingConfigurationCommand";
|
|
14
14
|
import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
|
|
15
15
|
import { GetStreamKeyCommandInput, GetStreamKeyCommandOutput } from "./commands/GetStreamKeyCommand";
|
|
16
|
+
import { GetStreamSessionCommandInput, GetStreamSessionCommandOutput } from "./commands/GetStreamSessionCommand";
|
|
16
17
|
import { ImportPlaybackKeyPairCommandInput, ImportPlaybackKeyPairCommandOutput } from "./commands/ImportPlaybackKeyPairCommand";
|
|
17
18
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
18
19
|
import { ListPlaybackKeyPairsCommandInput, ListPlaybackKeyPairsCommandOutput } from "./commands/ListPlaybackKeyPairsCommand";
|
|
19
20
|
import { ListRecordingConfigurationsCommandInput, ListRecordingConfigurationsCommandOutput } from "./commands/ListRecordingConfigurationsCommand";
|
|
20
21
|
import { ListStreamKeysCommandInput, ListStreamKeysCommandOutput } from "./commands/ListStreamKeysCommand";
|
|
21
22
|
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
23
|
+
import { ListStreamSessionsCommandInput, ListStreamSessionsCommandOutput } from "./commands/ListStreamSessionsCommand";
|
|
22
24
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
23
25
|
import { PutMetadataCommandInput, PutMetadataCommandOutput } from "./commands/PutMetadataCommand";
|
|
24
26
|
import { StopStreamCommandInput, StopStreamCommandOutput } from "./commands/StopStreamCommand";
|
|
@@ -85,6 +87,10 @@ export declare class Ivs extends IvsClient {
|
|
|
85
87
|
getStreamKey(args: GetStreamKeyCommandInput, cb: (err: any, data?: GetStreamKeyCommandOutput) => void): void;
|
|
86
88
|
getStreamKey(args: GetStreamKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStreamKeyCommandOutput) => void): void;
|
|
87
89
|
|
|
90
|
+
getStreamSession(args: GetStreamSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetStreamSessionCommandOutput>;
|
|
91
|
+
getStreamSession(args: GetStreamSessionCommandInput, cb: (err: any, data?: GetStreamSessionCommandOutput) => void): void;
|
|
92
|
+
getStreamSession(args: GetStreamSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStreamSessionCommandOutput) => void): void;
|
|
93
|
+
|
|
88
94
|
importPlaybackKeyPair(args: ImportPlaybackKeyPairCommandInput, options?: __HttpHandlerOptions): Promise<ImportPlaybackKeyPairCommandOutput>;
|
|
89
95
|
importPlaybackKeyPair(args: ImportPlaybackKeyPairCommandInput, cb: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void): void;
|
|
90
96
|
importPlaybackKeyPair(args: ImportPlaybackKeyPairCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void): void;
|
|
@@ -109,6 +115,10 @@ export declare class Ivs extends IvsClient {
|
|
|
109
115
|
listStreams(args: ListStreamsCommandInput, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
|
|
110
116
|
listStreams(args: ListStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
|
|
111
117
|
|
|
118
|
+
listStreamSessions(args: ListStreamSessionsCommandInput, options?: __HttpHandlerOptions): Promise<ListStreamSessionsCommandOutput>;
|
|
119
|
+
listStreamSessions(args: ListStreamSessionsCommandInput, cb: (err: any, data?: ListStreamSessionsCommandOutput) => void): void;
|
|
120
|
+
listStreamSessions(args: ListStreamSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamSessionsCommandOutput) => void): void;
|
|
121
|
+
|
|
112
122
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
113
123
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
114
124
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
@@ -20,20 +20,22 @@ import { GetPlaybackKeyPairCommandInput, GetPlaybackKeyPairCommandOutput } from
|
|
|
20
20
|
import { GetRecordingConfigurationCommandInput, GetRecordingConfigurationCommandOutput } from "./commands/GetRecordingConfigurationCommand";
|
|
21
21
|
import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
|
|
22
22
|
import { GetStreamKeyCommandInput, GetStreamKeyCommandOutput } from "./commands/GetStreamKeyCommand";
|
|
23
|
+
import { GetStreamSessionCommandInput, GetStreamSessionCommandOutput } from "./commands/GetStreamSessionCommand";
|
|
23
24
|
import { ImportPlaybackKeyPairCommandInput, ImportPlaybackKeyPairCommandOutput } from "./commands/ImportPlaybackKeyPairCommand";
|
|
24
25
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
25
26
|
import { ListPlaybackKeyPairsCommandInput, ListPlaybackKeyPairsCommandOutput } from "./commands/ListPlaybackKeyPairsCommand";
|
|
26
27
|
import { ListRecordingConfigurationsCommandInput, ListRecordingConfigurationsCommandOutput } from "./commands/ListRecordingConfigurationsCommand";
|
|
27
28
|
import { ListStreamKeysCommandInput, ListStreamKeysCommandOutput } from "./commands/ListStreamKeysCommand";
|
|
28
29
|
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
30
|
+
import { ListStreamSessionsCommandInput, ListStreamSessionsCommandOutput } from "./commands/ListStreamSessionsCommand";
|
|
29
31
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
30
32
|
import { PutMetadataCommandInput, PutMetadataCommandOutput } from "./commands/PutMetadataCommand";
|
|
31
33
|
import { StopStreamCommandInput, StopStreamCommandOutput } from "./commands/StopStreamCommand";
|
|
32
34
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
33
35
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
34
36
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
35
|
-
export declare type ServiceInputTypes = BatchGetChannelCommandInput | BatchGetStreamKeyCommandInput | CreateChannelCommandInput | CreateRecordingConfigurationCommandInput | CreateStreamKeyCommandInput | DeleteChannelCommandInput | DeletePlaybackKeyPairCommandInput | DeleteRecordingConfigurationCommandInput | DeleteStreamKeyCommandInput | GetChannelCommandInput | GetPlaybackKeyPairCommandInput | GetRecordingConfigurationCommandInput | GetStreamCommandInput | GetStreamKeyCommandInput | ImportPlaybackKeyPairCommandInput | ListChannelsCommandInput | ListPlaybackKeyPairsCommandInput | ListRecordingConfigurationsCommandInput | ListStreamKeysCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | PutMetadataCommandInput | StopStreamCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput;
|
|
36
|
-
export declare type ServiceOutputTypes = BatchGetChannelCommandOutput | BatchGetStreamKeyCommandOutput | CreateChannelCommandOutput | CreateRecordingConfigurationCommandOutput | CreateStreamKeyCommandOutput | DeleteChannelCommandOutput | DeletePlaybackKeyPairCommandOutput | DeleteRecordingConfigurationCommandOutput | DeleteStreamKeyCommandOutput | GetChannelCommandOutput | GetPlaybackKeyPairCommandOutput | GetRecordingConfigurationCommandOutput | GetStreamCommandOutput | GetStreamKeyCommandOutput | ImportPlaybackKeyPairCommandOutput | ListChannelsCommandOutput | ListPlaybackKeyPairsCommandOutput | ListRecordingConfigurationsCommandOutput | ListStreamKeysCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | PutMetadataCommandOutput | StopStreamCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput;
|
|
37
|
+
export declare type ServiceInputTypes = BatchGetChannelCommandInput | BatchGetStreamKeyCommandInput | CreateChannelCommandInput | CreateRecordingConfigurationCommandInput | CreateStreamKeyCommandInput | DeleteChannelCommandInput | DeletePlaybackKeyPairCommandInput | DeleteRecordingConfigurationCommandInput | DeleteStreamKeyCommandInput | GetChannelCommandInput | GetPlaybackKeyPairCommandInput | GetRecordingConfigurationCommandInput | GetStreamCommandInput | GetStreamKeyCommandInput | GetStreamSessionCommandInput | ImportPlaybackKeyPairCommandInput | ListChannelsCommandInput | ListPlaybackKeyPairsCommandInput | ListRecordingConfigurationsCommandInput | ListStreamKeysCommandInput | ListStreamSessionsCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | PutMetadataCommandInput | StopStreamCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput;
|
|
38
|
+
export declare type ServiceOutputTypes = BatchGetChannelCommandOutput | BatchGetStreamKeyCommandOutput | CreateChannelCommandOutput | CreateRecordingConfigurationCommandOutput | CreateStreamKeyCommandOutput | DeleteChannelCommandOutput | DeletePlaybackKeyPairCommandOutput | DeleteRecordingConfigurationCommandOutput | DeleteStreamKeyCommandOutput | GetChannelCommandOutput | GetPlaybackKeyPairCommandOutput | GetRecordingConfigurationCommandOutput | GetStreamCommandOutput | GetStreamKeyCommandOutput | GetStreamSessionCommandOutput | ImportPlaybackKeyPairCommandOutput | ListChannelsCommandOutput | ListPlaybackKeyPairsCommandOutput | ListRecordingConfigurationsCommandOutput | ListStreamKeysCommandOutput | ListStreamSessionsCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | PutMetadataCommandOutput | StopStreamCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput;
|
|
37
39
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
38
40
|
|
|
39
41
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
|
|
4
|
+
import { GetStreamSessionRequest, GetStreamSessionResponse } from "../models/models_0";
|
|
5
|
+
export interface GetStreamSessionCommandInput extends GetStreamSessionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetStreamSessionCommandOutput extends GetStreamSessionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetStreamSessionCommand extends $Command<GetStreamSessionCommandInput, GetStreamSessionCommandOutput, IvsClientResolvedConfig> {
|
|
11
|
+
readonly input: GetStreamSessionCommandInput;
|
|
12
|
+
constructor(input: GetStreamSessionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetStreamSessionCommandInput, GetStreamSessionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
|
|
4
|
+
import { ListStreamSessionsRequest, ListStreamSessionsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListStreamSessionsCommandInput extends ListStreamSessionsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListStreamSessionsCommandOutput extends ListStreamSessionsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListStreamSessionsCommand extends $Command<ListStreamSessionsCommandInput, ListStreamSessionsCommandOutput, IvsClientResolvedConfig> {
|
|
11
|
+
readonly input: ListStreamSessionsCommandInput;
|
|
12
|
+
constructor(input: ListStreamSessionsCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStreamSessionsCommandInput, ListStreamSessionsCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -12,11 +12,13 @@ export * from "./GetPlaybackKeyPairCommand";
|
|
|
12
12
|
export * from "./GetRecordingConfigurationCommand";
|
|
13
13
|
export * from "./GetStreamCommand";
|
|
14
14
|
export * from "./GetStreamKeyCommand";
|
|
15
|
+
export * from "./GetStreamSessionCommand";
|
|
15
16
|
export * from "./ImportPlaybackKeyPairCommand";
|
|
16
17
|
export * from "./ListChannelsCommand";
|
|
17
18
|
export * from "./ListPlaybackKeyPairsCommand";
|
|
18
19
|
export * from "./ListRecordingConfigurationsCommand";
|
|
19
20
|
export * from "./ListStreamKeysCommand";
|
|
21
|
+
export * from "./ListStreamSessionsCommand";
|
|
20
22
|
export * from "./ListStreamsCommand";
|
|
21
23
|
export * from "./ListTagsForResourceCommand";
|
|
22
24
|
export * from "./PutMetadataCommand";
|