@aws-sdk/client-ivs 3.41.0 → 3.46.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 (47) hide show
  1. package/CHANGELOG.md +47 -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 -2
  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.js +0 -2
  13. package/dist-es/Ivs.js +30 -0
  14. package/dist-es/commands/GetStreamSessionCommand.js +39 -0
  15. package/dist-es/commands/ListStreamSessionsCommand.js +39 -0
  16. package/dist-es/commands/index.js +2 -0
  17. package/dist-es/endpoints.js +1 -0
  18. package/dist-es/models/models_0.js +44 -0
  19. package/dist-es/pagination/ListStreamSessionsPaginator.js +74 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_restJson1.js +309 -1
  22. package/dist-es/runtimeConfig.js +0 -2
  23. package/dist-types/Ivs.d.ts +44 -19
  24. package/dist-types/IvsClient.d.ts +14 -3
  25. package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +9 -9
  26. package/dist-types/commands/DeleteChannelCommand.d.ts +2 -1
  27. package/dist-types/commands/GetStreamSessionCommand.d.ts +35 -0
  28. package/dist-types/commands/ListChannelsCommand.d.ts +3 -3
  29. package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +2 -2
  30. package/dist-types/commands/ListStreamSessionsCommand.d.ts +36 -0
  31. package/dist-types/commands/ListStreamsCommand.d.ts +2 -2
  32. package/dist-types/commands/PutMetadataCommand.d.ts +1 -1
  33. package/dist-types/commands/index.d.ts +2 -0
  34. package/dist-types/models/models_0.d.ts +289 -6
  35. package/dist-types/pagination/ListStreamSessionsPaginator.d.ts +4 -0
  36. package/dist-types/pagination/index.d.ts +1 -0
  37. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  38. package/dist-types/ts3.4/Ivs.d.ts +10 -0
  39. package/dist-types/ts3.4/IvsClient.d.ts +4 -2
  40. package/dist-types/ts3.4/commands/GetStreamSessionCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/ListStreamSessionsCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +153 -0
  44. package/dist-types/ts3.4/pagination/ListStreamSessionsPaginator.d.ts +4 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  47. package/package.json +36 -43
@@ -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";
@@ -427,6 +427,8 @@ export interface _Stream {
427
427
 
428
428
  channelArn?: string;
429
429
 
430
+ streamId?: string;
431
+
430
432
  playbackUrl?: string;
431
433
 
432
434
  startTime?: Date;
@@ -465,6 +467,107 @@ export declare namespace GetStreamKeyResponse {
465
467
 
466
468
  const filterSensitiveLog: (obj: GetStreamKeyResponse) => any;
467
469
  }
470
+ export interface GetStreamSessionRequest {
471
+
472
+ channelArn: string | undefined;
473
+
474
+ streamId?: string;
475
+ }
476
+ export declare namespace GetStreamSessionRequest {
477
+
478
+ const filterSensitiveLog: (obj: GetStreamSessionRequest) => any;
479
+ }
480
+
481
+ export interface AudioConfiguration {
482
+
483
+ codec?: string;
484
+
485
+ targetBitrate?: number;
486
+
487
+ sampleRate?: number;
488
+
489
+ channels?: number;
490
+ }
491
+ export declare namespace AudioConfiguration {
492
+
493
+ const filterSensitiveLog: (obj: AudioConfiguration) => any;
494
+ }
495
+
496
+ export interface VideoConfiguration {
497
+
498
+ avcProfile?: string;
499
+
500
+ avcLevel?: string;
501
+
502
+ codec?: string;
503
+
504
+ encoder?: string;
505
+
506
+ targetBitrate?: number;
507
+
508
+ targetFramerate?: number;
509
+
510
+ videoHeight?: number;
511
+
512
+ videoWidth?: number;
513
+ }
514
+ export declare namespace VideoConfiguration {
515
+
516
+ const filterSensitiveLog: (obj: VideoConfiguration) => any;
517
+ }
518
+
519
+ export interface IngestConfiguration {
520
+
521
+ video?: VideoConfiguration;
522
+
523
+ audio?: AudioConfiguration;
524
+ }
525
+ export declare namespace IngestConfiguration {
526
+
527
+ const filterSensitiveLog: (obj: IngestConfiguration) => any;
528
+ }
529
+
530
+ export interface StreamEvent {
531
+
532
+ name?: string;
533
+
534
+ type?: string;
535
+
536
+ eventTime?: Date;
537
+ }
538
+ export declare namespace StreamEvent {
539
+
540
+ const filterSensitiveLog: (obj: StreamEvent) => any;
541
+ }
542
+
543
+ export interface StreamSession {
544
+
545
+ streamId?: string;
546
+
547
+ startTime?: Date;
548
+
549
+ endTime?: Date;
550
+
551
+ channel?: Channel;
552
+
553
+ ingestConfiguration?: IngestConfiguration;
554
+
555
+ recordingConfiguration?: RecordingConfiguration;
556
+
557
+ truncatedEvents?: StreamEvent[];
558
+ }
559
+ export declare namespace StreamSession {
560
+
561
+ const filterSensitiveLog: (obj: StreamSession) => any;
562
+ }
563
+ export interface GetStreamSessionResponse {
564
+
565
+ streamSession?: StreamSession;
566
+ }
567
+ export declare namespace GetStreamSessionResponse {
568
+
569
+ const filterSensitiveLog: (obj: GetStreamSessionResponse) => any;
570
+ }
468
571
  export interface ImportPlaybackKeyPairRequest {
469
572
 
470
573
  publicKeyMaterial: string | undefined;
@@ -643,8 +746,19 @@ export declare namespace ListStreamKeysResponse {
643
746
 
644
747
  const filterSensitiveLog: (obj: ListStreamKeysResponse) => any;
645
748
  }
749
+
750
+ export interface StreamFilters {
751
+
752
+ health?: StreamHealth | string;
753
+ }
754
+ export declare namespace StreamFilters {
755
+
756
+ const filterSensitiveLog: (obj: StreamFilters) => any;
757
+ }
646
758
  export interface ListStreamsRequest {
647
759
 
760
+ filterBy?: StreamFilters;
761
+
648
762
  nextToken?: string;
649
763
 
650
764
  maxResults?: number;
@@ -658,6 +772,8 @@ export interface StreamSummary {
658
772
 
659
773
  channelArn?: string;
660
774
 
775
+ streamId?: string;
776
+
661
777
  state?: StreamState | string;
662
778
 
663
779
  health?: StreamHealth | string;
@@ -680,6 +796,43 @@ export declare namespace ListStreamsResponse {
680
796
 
681
797
  const filterSensitiveLog: (obj: ListStreamsResponse) => any;
682
798
  }
799
+ export interface ListStreamSessionsRequest {
800
+
801
+ channelArn: string | undefined;
802
+
803
+ nextToken?: string;
804
+
805
+ maxResults?: number;
806
+ }
807
+ export declare namespace ListStreamSessionsRequest {
808
+
809
+ const filterSensitiveLog: (obj: ListStreamSessionsRequest) => any;
810
+ }
811
+
812
+ export interface StreamSessionSummary {
813
+
814
+ streamId?: string;
815
+
816
+ startTime?: Date;
817
+
818
+ endTime?: Date;
819
+
820
+ hasErrorEvent?: boolean;
821
+ }
822
+ export declare namespace StreamSessionSummary {
823
+
824
+ const filterSensitiveLog: (obj: StreamSessionSummary) => any;
825
+ }
826
+ export interface ListStreamSessionsResponse {
827
+
828
+ streamSessions: StreamSessionSummary[] | undefined;
829
+
830
+ nextToken?: string;
831
+ }
832
+ export declare namespace ListStreamSessionsResponse {
833
+
834
+ const filterSensitiveLog: (obj: ListStreamSessionsResponse) => any;
835
+ }
683
836
  export interface ListTagsForResourceRequest {
684
837
 
685
838
  resourceArn: string | undefined;
@@ -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>;
package/package.json CHANGED
@@ -1,18 +1,17 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivs",
3
3
  "description": "AWS SDK for JavaScript Ivs Client for Node.js, Browser and React Native",
4
- "version": "3.41.0",
4
+ "version": "3.46.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
12
  "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "jest --coverage --passWithNoTests"
13
+ "clean:dist": "rimraf ./dist-*",
14
+ "clean:docs": "rimraf ./docs"
16
15
  },
17
16
  "main": "./dist-cjs/index.js",
18
17
  "types": "./dist-types/index.d.ts",
@@ -21,48 +20,42 @@
21
20
  "dependencies": {
22
21
  "@aws-crypto/sha256-browser": "2.0.0",
23
22
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.41.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
23
+ "@aws-sdk/client-sts": "3.46.0",
24
+ "@aws-sdk/config-resolver": "3.46.0",
25
+ "@aws-sdk/credential-provider-node": "3.46.0",
26
+ "@aws-sdk/fetch-http-handler": "3.46.0",
27
+ "@aws-sdk/hash-node": "3.46.0",
28
+ "@aws-sdk/invalid-dependency": "3.46.0",
29
+ "@aws-sdk/middleware-content-length": "3.46.0",
30
+ "@aws-sdk/middleware-host-header": "3.46.0",
31
+ "@aws-sdk/middleware-logger": "3.46.0",
32
+ "@aws-sdk/middleware-retry": "3.46.0",
33
+ "@aws-sdk/middleware-serde": "3.46.0",
34
+ "@aws-sdk/middleware-signing": "3.46.0",
35
+ "@aws-sdk/middleware-stack": "3.46.0",
36
+ "@aws-sdk/middleware-user-agent": "3.46.0",
37
+ "@aws-sdk/node-config-provider": "3.46.0",
38
+ "@aws-sdk/node-http-handler": "3.46.0",
39
+ "@aws-sdk/protocol-http": "3.46.0",
40
+ "@aws-sdk/smithy-client": "3.46.0",
41
+ "@aws-sdk/types": "3.46.0",
42
+ "@aws-sdk/url-parser": "3.46.0",
43
+ "@aws-sdk/util-base64-browser": "3.46.0",
44
+ "@aws-sdk/util-base64-node": "3.46.0",
45
+ "@aws-sdk/util-body-length-browser": "3.46.0",
46
+ "@aws-sdk/util-body-length-node": "3.46.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.46.0",
48
+ "@aws-sdk/util-user-agent-node": "3.46.0",
49
+ "@aws-sdk/util-utf8-browser": "3.46.0",
50
+ "@aws-sdk/util-utf8-node": "3.46.0",
52
51
  "tslib": "^2.3.0"
53
52
  },
54
53
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
56
- "@types/node": "^12.7.5",
57
- "downlevel-dts": "0.7.0",
58
- "jest": "^26.1.0",
59
- "rimraf": "^3.0.0",
60
- "ts-jest": "^26.4.1",
61
- "typedoc": "^0.19.2",
62
- "typescript": "~4.3.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.46.0",
55
+ "@types/node": "^12.7.5"
63
56
  },
64
57
  "engines": {
65
- "node": ">=10.0.0"
58
+ "node": ">=12.0.0"
66
59
  },
67
60
  "typesVersions": {
68
61
  "<4.0": {