@aws-sdk/client-ivs 3.42.0 → 3.47.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.
Files changed (55) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +10 -1
  3. package/dist-cjs/Ivs.js +30 -0
  4. package/dist-cjs/commands/GetStreamSessionCommand.js +36 -0
  5. package/dist-cjs/commands/ListStreamSessionsCommand.js +36 -0
  6. package/dist-cjs/commands/index.js +2 -0
  7. package/dist-cjs/endpoints.js +1 -0
  8. package/dist-cjs/models/models_0.js +68 -62
  9. package/dist-cjs/pagination/ListStreamSessionsPaginator.js +35 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_restJson1.js +282 -2
  12. package/dist-cjs/runtimeConfig.browser.js +7 -2
  13. package/dist-cjs/runtimeConfig.js +9 -3
  14. package/dist-es/Ivs.js +30 -0
  15. package/dist-es/commands/GetStreamSessionCommand.js +39 -0
  16. package/dist-es/commands/ListStreamSessionsCommand.js +39 -0
  17. package/dist-es/commands/index.js +2 -0
  18. package/dist-es/endpoints.js +1 -0
  19. package/dist-es/models/models_0.js +44 -40
  20. package/dist-es/pagination/ListStreamSessionsPaginator.js +74 -0
  21. package/dist-es/pagination/index.js +1 -0
  22. package/dist-es/protocols/Aws_restJson1.js +309 -1
  23. package/dist-es/runtimeConfig.browser.js +12 -3
  24. package/dist-es/runtimeConfig.js +13 -6
  25. package/dist-types/Ivs.d.ts +44 -19
  26. package/dist-types/IvsClient.d.ts +19 -4
  27. package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +9 -9
  28. package/dist-types/commands/DeleteChannelCommand.d.ts +2 -1
  29. package/dist-types/commands/GetStreamSessionCommand.d.ts +35 -0
  30. package/dist-types/commands/ListChannelsCommand.d.ts +3 -3
  31. package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +2 -2
  32. package/dist-types/commands/ListStreamSessionsCommand.d.ts +36 -0
  33. package/dist-types/commands/ListStreamsCommand.d.ts +2 -2
  34. package/dist-types/commands/PutMetadataCommand.d.ts +1 -1
  35. package/dist-types/commands/index.d.ts +2 -0
  36. package/dist-types/models/models_0.d.ts +289 -66
  37. package/dist-types/pagination/ListStreamSessionsPaginator.d.ts +4 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  40. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  41. package/dist-types/runtimeConfig.d.ts +4 -3
  42. package/dist-types/runtimeConfig.native.d.ts +1 -0
  43. package/dist-types/ts3.4/Ivs.d.ts +10 -0
  44. package/dist-types/ts3.4/IvsClient.d.ts +7 -3
  45. package/dist-types/ts3.4/commands/GetStreamSessionCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/ListStreamSessionsCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +153 -40
  49. package/dist-types/ts3.4/pagination/ListStreamSessionsPaginator.d.ts +4 -0
  50. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  51. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  55. package/package.json +38 -45
@@ -10,12 +10,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
10
10
  */
11
11
  exceptionMessage?: string;
12
12
  }
13
- export declare namespace AccessDeniedException {
14
- /**
15
- * @internal
16
- */
17
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
18
- }
19
13
  export interface BatchGetChannelRequest {
20
14
  /**
21
15
  * <p>Array of ARNs, one per channel.</p>
@@ -212,8 +206,8 @@ export interface CreateChannelRequest {
212
206
  /**
213
207
  * <p>Channel latency mode. Use <code>NORMAL</code> to broadcast and deliver live video up to
214
208
  * 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 Standard,
216
- * respectively.) Default: <code>LOW</code>.</p>
209
+ * Amazon IVS console, <code>LOW</code> and <code>NORMAL</code> correspond to Ultra-low and
210
+ * Standard, respectively.) Default: <code>LOW</code>.</p>
217
211
  */
218
212
  latencyMode?: ChannelLatencyMode | string;
219
213
  /**
@@ -286,12 +280,6 @@ export interface PendingVerification extends __SmithyException, $MetadataBearer
286
280
  */
287
281
  exceptionMessage?: string;
288
282
  }
289
- export declare namespace PendingVerification {
290
- /**
291
- * @internal
292
- */
293
- const filterSensitiveLog: (obj: PendingVerification) => any;
294
- }
295
283
  /**
296
284
  * <p/>
297
285
  */
@@ -303,12 +291,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
303
291
  */
304
292
  exceptionMessage?: string;
305
293
  }
306
- export declare namespace ResourceNotFoundException {
307
- /**
308
- * @internal
309
- */
310
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
311
- }
312
294
  /**
313
295
  * <p/>
314
296
  */
@@ -320,12 +302,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
320
302
  */
321
303
  exceptionMessage?: string;
322
304
  }
323
- export declare namespace ServiceQuotaExceededException {
324
- /**
325
- * @internal
326
- */
327
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
328
- }
329
305
  /**
330
306
  * <p/>
331
307
  */
@@ -337,12 +313,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
337
313
  */
338
314
  exceptionMessage?: string;
339
315
  }
340
- export declare namespace ValidationException {
341
- /**
342
- * @internal
343
- */
344
- const filterSensitiveLog: (obj: ValidationException) => any;
345
- }
346
316
  /**
347
317
  * <p/>
348
318
  */
@@ -354,12 +324,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
354
324
  */
355
325
  exceptionMessage?: string;
356
326
  }
357
- export declare namespace ConflictException {
358
- /**
359
- * @internal
360
- */
361
- const filterSensitiveLog: (obj: ConflictException) => any;
362
- }
363
327
  /**
364
328
  * <p>A complex type that describes an S3 location where recorded videos will be stored.</p>
365
329
  */
@@ -477,12 +441,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
477
441
  */
478
442
  exceptionMessage?: string;
479
443
  }
480
- export declare namespace InternalServerException {
481
- /**
482
- * @internal
483
- */
484
- const filterSensitiveLog: (obj: InternalServerException) => any;
485
- }
486
444
  export interface CreateStreamKeyRequest {
487
445
  /**
488
446
  * <p>ARN of the channel for which to create the stream key.</p>
@@ -681,12 +639,6 @@ export interface ChannelNotBroadcasting extends __SmithyException, $MetadataBear
681
639
  */
682
640
  exceptionMessage?: string;
683
641
  }
684
- export declare namespace ChannelNotBroadcasting {
685
- /**
686
- * @internal
687
- */
688
- const filterSensitiveLog: (obj: ChannelNotBroadcasting) => any;
689
- }
690
642
  export interface GetStreamRequest {
691
643
  /**
692
644
  * <p>Channel ARN for stream to be accessed.</p>
@@ -716,6 +668,10 @@ export interface _Stream {
716
668
  * <p>Channel ARN for the stream.</p>
717
669
  */
718
670
  channelArn?: string;
671
+ /**
672
+ * <p>Unique identifier for a live or previously live stream in the specified channel.</p>
673
+ */
674
+ streamId?: string;
719
675
  /**
720
676
  * <p>URL of the master playlist, required by the video player to play the HLS stream.</p>
721
677
  */
@@ -782,6 +738,196 @@ export declare namespace GetStreamKeyResponse {
782
738
  */
783
739
  const filterSensitiveLog: (obj: GetStreamKeyResponse) => any;
784
740
  }
741
+ export interface GetStreamSessionRequest {
742
+ /**
743
+ * <p>ARN of the channel resource</p>
744
+ */
745
+ channelArn: string | undefined;
746
+ /**
747
+ * <p>Unique identifier for a live or previously live stream in the specified channel. If no
748
+ * <code>streamId</code> is provided, this returns the most recent stream session for the
749
+ * channel, if it exists.</p>
750
+ */
751
+ streamId?: string;
752
+ }
753
+ export declare namespace GetStreamSessionRequest {
754
+ /**
755
+ * @internal
756
+ */
757
+ const filterSensitiveLog: (obj: GetStreamSessionRequest) => any;
758
+ }
759
+ /**
760
+ * <p>Object specifying a stream’s audio configuration.</p>
761
+ */
762
+ export interface AudioConfiguration {
763
+ /**
764
+ * <p>Codec used for the audio encoding.</p>
765
+ */
766
+ codec?: string;
767
+ /**
768
+ * <p>The expected ingest bitrate (bits per second). This is configured in the encoder.</p>
769
+ */
770
+ targetBitrate?: number;
771
+ /**
772
+ * <p>Number of audio samples recorded per second.</p>
773
+ */
774
+ sampleRate?: number;
775
+ /**
776
+ * <p>Number of audio channels.</p>
777
+ */
778
+ channels?: number;
779
+ }
780
+ export declare namespace AudioConfiguration {
781
+ /**
782
+ * @internal
783
+ */
784
+ const filterSensitiveLog: (obj: AudioConfiguration) => any;
785
+ }
786
+ /**
787
+ * <p>Object specifying a stream’s video configuration.</p>
788
+ */
789
+ export interface VideoConfiguration {
790
+ /**
791
+ * <p>Indicates to the decoder the requirements for decoding the stream. For definitions of the
792
+ * valid values, see the H.264 specification.</p>
793
+ */
794
+ avcProfile?: string;
795
+ /**
796
+ * <p>Indicates the degree of required decoder performance for a profile. Normally this is set
797
+ * automatically by the encoder. For details, see the H.264 specification.</p>
798
+ */
799
+ avcLevel?: string;
800
+ /**
801
+ * <p>Codec used for the video encoding.</p>
802
+ */
803
+ codec?: string;
804
+ /**
805
+ * <p>Software or hardware used to encode the video.</p>
806
+ */
807
+ encoder?: string;
808
+ /**
809
+ * <p>The expected ingest bitrate (bits per second). This is configured in the encoder.</p>
810
+ */
811
+ targetBitrate?: number;
812
+ /**
813
+ * <p>The expected ingest framerate. This is configured in the encoder.</p>
814
+ */
815
+ targetFramerate?: number;
816
+ /**
817
+ * <p>Video-resolution height in pixels.</p>
818
+ */
819
+ videoHeight?: number;
820
+ /**
821
+ * <p>Video-resolution width in pixels.</p>
822
+ */
823
+ videoWidth?: number;
824
+ }
825
+ export declare namespace VideoConfiguration {
826
+ /**
827
+ * @internal
828
+ */
829
+ const filterSensitiveLog: (obj: VideoConfiguration) => any;
830
+ }
831
+ /**
832
+ * <p>Object specifying the ingest configuration set up by the broadcaster, usually in an
833
+ * encoder.</p>
834
+ */
835
+ export interface IngestConfiguration {
836
+ /**
837
+ * <p>Encoder settings for video.</p>
838
+ */
839
+ video?: VideoConfiguration;
840
+ /**
841
+ * <p>Encoder settings for audio.</p>
842
+ */
843
+ audio?: AudioConfiguration;
844
+ }
845
+ export declare namespace IngestConfiguration {
846
+ /**
847
+ * @internal
848
+ */
849
+ const filterSensitiveLog: (obj: IngestConfiguration) => any;
850
+ }
851
+ /**
852
+ * <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
853
+ * IVS</a>.</p>
854
+ */
855
+ export interface StreamEvent {
856
+ /**
857
+ * <p>Name that identifies the stream event within a <code>type</code>.</p>
858
+ */
859
+ name?: string;
860
+ /**
861
+ * <p>Logical group for certain events.</p>
862
+ */
863
+ type?: string;
864
+ /**
865
+ * <p>UTC ISO-8601 formatted timestamp of when the event occurred.</p>
866
+ */
867
+ eventTime?: Date;
868
+ }
869
+ export declare namespace StreamEvent {
870
+ /**
871
+ * @internal
872
+ */
873
+ const filterSensitiveLog: (obj: StreamEvent) => any;
874
+ }
875
+ /**
876
+ * <p>Object that captures the Amazon IVS configuration that the customer provisioned, the
877
+ * ingest configurations that the broadcaster used, and the most recent Amazon IVS stream events
878
+ * it encountered.</p>
879
+ */
880
+ export interface StreamSession {
881
+ /**
882
+ * <p>Unique identifier for a live or previously live stream in the specified channel.</p>
883
+ */
884
+ streamId?: string;
885
+ /**
886
+ * <p>UTC ISO-8601 formatted timestamp of when the channel went live.</p>
887
+ */
888
+ startTime?: Date;
889
+ /**
890
+ * <p>UTC ISO-8601 formatted timestamp of when the channel went offline. For live streams, this
891
+ * is <code>NULL</code>.</p>
892
+ */
893
+ endTime?: Date;
894
+ /**
895
+ * <p>The properties of the channel at the time of going live.</p>
896
+ */
897
+ channel?: Channel;
898
+ /**
899
+ * <p>The properties of the incoming RTMP stream for the stream.</p>
900
+ */
901
+ ingestConfiguration?: IngestConfiguration;
902
+ /**
903
+ * <p>The properties of recording the live stream.</p>
904
+ */
905
+ recordingConfiguration?: RecordingConfiguration;
906
+ /**
907
+ * <p>List of Amazon IVS events that the stream encountered. The list is sorted by most recent
908
+ * 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
909
+ * IVS</a>.</p>
910
+ */
911
+ truncatedEvents?: StreamEvent[];
912
+ }
913
+ export declare namespace StreamSession {
914
+ /**
915
+ * @internal
916
+ */
917
+ const filterSensitiveLog: (obj: StreamSession) => any;
918
+ }
919
+ export interface GetStreamSessionResponse {
920
+ /**
921
+ * <p>List of stream details.</p>
922
+ */
923
+ streamSession?: StreamSession;
924
+ }
925
+ export declare namespace GetStreamSessionResponse {
926
+ /**
927
+ * @internal
928
+ */
929
+ const filterSensitiveLog: (obj: GetStreamSessionResponse) => any;
930
+ }
785
931
  export interface ImportPlaybackKeyPairRequest {
786
932
  /**
787
933
  * <p>The public portion of a customer-generated key pair.</p>
@@ -1090,7 +1236,26 @@ export declare namespace ListStreamKeysResponse {
1090
1236
  */
1091
1237
  const filterSensitiveLog: (obj: ListStreamKeysResponse) => any;
1092
1238
  }
1239
+ /**
1240
+ * <p>Object specifying the stream attribute on which to filter.</p>
1241
+ */
1242
+ export interface StreamFilters {
1243
+ /**
1244
+ * <p>The stream’s health.</p>
1245
+ */
1246
+ health?: StreamHealth | string;
1247
+ }
1248
+ export declare namespace StreamFilters {
1249
+ /**
1250
+ * @internal
1251
+ */
1252
+ const filterSensitiveLog: (obj: StreamFilters) => any;
1253
+ }
1093
1254
  export interface ListStreamsRequest {
1255
+ /**
1256
+ * <p>Filters the stream list to match the specified criterion.</p>
1257
+ */
1258
+ filterBy?: StreamFilters;
1094
1259
  /**
1095
1260
  * <p>The first stream to retrieve. This is used for pagination; see the <code>nextToken</code>
1096
1261
  * response field.</p>
@@ -1115,6 +1280,10 @@ export interface StreamSummary {
1115
1280
  * <p>Channel ARN for the stream.</p>
1116
1281
  */
1117
1282
  channelArn?: string;
1283
+ /**
1284
+ * <p>Unique identifier for a live or previously live stream in the specified channel.</p>
1285
+ */
1286
+ streamId?: string;
1118
1287
  /**
1119
1288
  * <p>The stream’s state.</p>
1120
1289
  */
@@ -1158,6 +1327,72 @@ export declare namespace ListStreamsResponse {
1158
1327
  */
1159
1328
  const filterSensitiveLog: (obj: ListStreamsResponse) => any;
1160
1329
  }
1330
+ export interface ListStreamSessionsRequest {
1331
+ /**
1332
+ * <p>Channel ARN used to filter the list.</p>
1333
+ */
1334
+ channelArn: string | undefined;
1335
+ /**
1336
+ * <p>The first stream to retrieve. This is used for pagination; see the <code>nextToken</code>
1337
+ * response field.</p>
1338
+ */
1339
+ nextToken?: string;
1340
+ /**
1341
+ * <p>Maximum number of streams to return. Default: 50.</p>
1342
+ */
1343
+ maxResults?: number;
1344
+ }
1345
+ export declare namespace ListStreamSessionsRequest {
1346
+ /**
1347
+ * @internal
1348
+ */
1349
+ const filterSensitiveLog: (obj: ListStreamSessionsRequest) => any;
1350
+ }
1351
+ /**
1352
+ * <p>Summary information about a stream session.</p>
1353
+ */
1354
+ export interface StreamSessionSummary {
1355
+ /**
1356
+ * <p>Unique identifier for a live or previously live stream in the specified channel.</p>
1357
+ */
1358
+ streamId?: string;
1359
+ /**
1360
+ * <p>UTC ISO-8601 formatted timestamp of when the channel went live.</p>
1361
+ */
1362
+ startTime?: Date;
1363
+ /**
1364
+ * <p>UTC ISO-8601 formatted timestamp of when the channel went offline. For live streams, this
1365
+ * is <code>NULL</code>.</p>
1366
+ */
1367
+ endTime?: Date;
1368
+ /**
1369
+ * <p>If <code>true</code>, this stream encountered a quota breach or failure.</p>
1370
+ */
1371
+ hasErrorEvent?: boolean;
1372
+ }
1373
+ export declare namespace StreamSessionSummary {
1374
+ /**
1375
+ * @internal
1376
+ */
1377
+ const filterSensitiveLog: (obj: StreamSessionSummary) => any;
1378
+ }
1379
+ export interface ListStreamSessionsResponse {
1380
+ /**
1381
+ * <p/>
1382
+ */
1383
+ streamSessions: StreamSessionSummary[] | undefined;
1384
+ /**
1385
+ * <p>If there are more streams than <code>maxResults</code>, use <code>nextToken</code> in the
1386
+ * request to get the next set.</p>
1387
+ */
1388
+ nextToken?: string;
1389
+ }
1390
+ export declare namespace ListStreamSessionsResponse {
1391
+ /**
1392
+ * @internal
1393
+ */
1394
+ const filterSensitiveLog: (obj: ListStreamSessionsResponse) => any;
1395
+ }
1161
1396
  export interface ListTagsForResourceRequest {
1162
1397
  /**
1163
1398
  * <p>The ARN of the resource to be retrieved.</p>
@@ -1212,12 +1447,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
1212
1447
  */
1213
1448
  exceptionMessage?: string;
1214
1449
  }
1215
- export declare namespace ThrottlingException {
1216
- /**
1217
- * @internal
1218
- */
1219
- const filterSensitiveLog: (obj: ThrottlingException) => any;
1220
- }
1221
1450
  export interface StopStreamRequest {
1222
1451
  /**
1223
1452
  * <p>ARN of the channel for which the stream is to be stopped.</p>
@@ -1249,12 +1478,6 @@ export interface StreamUnavailable extends __SmithyException, $MetadataBearer {
1249
1478
  */
1250
1479
  exceptionMessage?: string;
1251
1480
  }
1252
- export declare namespace StreamUnavailable {
1253
- /**
1254
- * @internal
1255
- */
1256
- const filterSensitiveLog: (obj: StreamUnavailable) => any;
1257
- }
1258
1481
  export interface TagResourceRequest {
1259
1482
  /**
1260
1483
  * <p>ARN of the resource for which tags are to be added or updated.</p>
@@ -1315,10 +1538,10 @@ export interface UpdateChannelRequest {
1315
1538
  */
1316
1539
  name?: string;
1317
1540
  /**
1318
- * <p>Channel latency mode. Use <code>NORMAL</code> to broadcast and deliver live video up to Full HD. Use
1319
- * <code>LOW</code> for near-real-time interaction with viewers. (Note: In the Amazon IVS console,
1320
- * <code>LOW</code> and <code>NORMAL</code> correspond to Ultra-low and Standard,
1321
- * respectively.)</p>
1541
+ * <p>Channel latency mode. Use <code>NORMAL</code> to broadcast and deliver live video up to
1542
+ * Full HD. Use <code>LOW</code> for near-real-time interaction with viewers. (Note: In the
1543
+ * Amazon IVS console, <code>LOW</code> and <code>NORMAL</code> correspond to Ultra-low and
1544
+ * Standard, respectively.)</p>
1322
1545
  */
1323
1546
  latencyMode?: ChannelLatencyMode | string;
1324
1547
  /**
@@ -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>;
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { IvsClientConfig } from "./IvsClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: IvsClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { IvsClientConfig } from "./IvsClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: IvsClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -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;