@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
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { BatchGetChannelCommandInput, BatchGetChannelCommandOutput } from "./commands/BatchGetChannelCommand";
10
10
  import { BatchGetStreamKeyCommandInput, BatchGetStreamKeyCommandOutput } from "./commands/BatchGetStreamKeyCommand";
@@ -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;
@@ -77,6 +79,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
77
79
  regionInfoProvider?: RegionInfoProvider;
78
80
 
79
81
  defaultUserAgentProvider?: Provider<__UserAgent>;
82
+
83
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
80
84
  }
81
85
  declare type IvsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
82
86
 
@@ -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";
@@ -6,10 +6,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
6
6
 
7
7
  exceptionMessage?: string;
8
8
  }
9
- export declare namespace AccessDeniedException {
10
-
11
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
12
- }
13
9
  export interface BatchGetChannelRequest {
14
10
 
15
11
  arns: string[] | undefined;
@@ -148,10 +144,6 @@ export interface PendingVerification extends __SmithyException, $MetadataBearer
148
144
 
149
145
  exceptionMessage?: string;
150
146
  }
151
- export declare namespace PendingVerification {
152
-
153
- const filterSensitiveLog: (obj: PendingVerification) => any;
154
- }
155
147
 
156
148
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
157
149
  name: "ResourceNotFoundException";
@@ -159,10 +151,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
159
151
 
160
152
  exceptionMessage?: string;
161
153
  }
162
- export declare namespace ResourceNotFoundException {
163
-
164
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
165
- }
166
154
 
167
155
  export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
168
156
  name: "ServiceQuotaExceededException";
@@ -170,10 +158,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
170
158
 
171
159
  exceptionMessage?: string;
172
160
  }
173
- export declare namespace ServiceQuotaExceededException {
174
-
175
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
176
- }
177
161
 
178
162
  export interface ValidationException extends __SmithyException, $MetadataBearer {
179
163
  name: "ValidationException";
@@ -181,10 +165,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
181
165
 
182
166
  exceptionMessage?: string;
183
167
  }
184
- export declare namespace ValidationException {
185
-
186
- const filterSensitiveLog: (obj: ValidationException) => any;
187
- }
188
168
 
189
169
  export interface ConflictException extends __SmithyException, $MetadataBearer {
190
170
  name: "ConflictException";
@@ -192,10 +172,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
192
172
 
193
173
  exceptionMessage?: string;
194
174
  }
195
- export declare namespace ConflictException {
196
-
197
- const filterSensitiveLog: (obj: ConflictException) => any;
198
- }
199
175
 
200
176
  export interface S3DestinationConfiguration {
201
177
 
@@ -267,10 +243,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
267
243
 
268
244
  exceptionMessage?: string;
269
245
  }
270
- export declare namespace InternalServerException {
271
-
272
- const filterSensitiveLog: (obj: InternalServerException) => any;
273
- }
274
246
  export interface CreateStreamKeyRequest {
275
247
 
276
248
  channelArn: string | undefined;
@@ -401,10 +373,6 @@ export interface ChannelNotBroadcasting extends __SmithyException, $MetadataBear
401
373
 
402
374
  exceptionMessage?: string;
403
375
  }
404
- export declare namespace ChannelNotBroadcasting {
405
-
406
- const filterSensitiveLog: (obj: ChannelNotBroadcasting) => any;
407
- }
408
376
  export interface GetStreamRequest {
409
377
 
410
378
  channelArn: string | undefined;
@@ -427,6 +395,8 @@ export interface _Stream {
427
395
 
428
396
  channelArn?: string;
429
397
 
398
+ streamId?: string;
399
+
430
400
  playbackUrl?: string;
431
401
 
432
402
  startTime?: Date;
@@ -465,6 +435,107 @@ export declare namespace GetStreamKeyResponse {
465
435
 
466
436
  const filterSensitiveLog: (obj: GetStreamKeyResponse) => any;
467
437
  }
438
+ export interface GetStreamSessionRequest {
439
+
440
+ channelArn: string | undefined;
441
+
442
+ streamId?: string;
443
+ }
444
+ export declare namespace GetStreamSessionRequest {
445
+
446
+ const filterSensitiveLog: (obj: GetStreamSessionRequest) => any;
447
+ }
448
+
449
+ export interface AudioConfiguration {
450
+
451
+ codec?: string;
452
+
453
+ targetBitrate?: number;
454
+
455
+ sampleRate?: number;
456
+
457
+ channels?: number;
458
+ }
459
+ export declare namespace AudioConfiguration {
460
+
461
+ const filterSensitiveLog: (obj: AudioConfiguration) => any;
462
+ }
463
+
464
+ export interface VideoConfiguration {
465
+
466
+ avcProfile?: string;
467
+
468
+ avcLevel?: string;
469
+
470
+ codec?: string;
471
+
472
+ encoder?: string;
473
+
474
+ targetBitrate?: number;
475
+
476
+ targetFramerate?: number;
477
+
478
+ videoHeight?: number;
479
+
480
+ videoWidth?: number;
481
+ }
482
+ export declare namespace VideoConfiguration {
483
+
484
+ const filterSensitiveLog: (obj: VideoConfiguration) => any;
485
+ }
486
+
487
+ export interface IngestConfiguration {
488
+
489
+ video?: VideoConfiguration;
490
+
491
+ audio?: AudioConfiguration;
492
+ }
493
+ export declare namespace IngestConfiguration {
494
+
495
+ const filterSensitiveLog: (obj: IngestConfiguration) => any;
496
+ }
497
+
498
+ export interface StreamEvent {
499
+
500
+ name?: string;
501
+
502
+ type?: string;
503
+
504
+ eventTime?: Date;
505
+ }
506
+ export declare namespace StreamEvent {
507
+
508
+ const filterSensitiveLog: (obj: StreamEvent) => any;
509
+ }
510
+
511
+ export interface StreamSession {
512
+
513
+ streamId?: string;
514
+
515
+ startTime?: Date;
516
+
517
+ endTime?: Date;
518
+
519
+ channel?: Channel;
520
+
521
+ ingestConfiguration?: IngestConfiguration;
522
+
523
+ recordingConfiguration?: RecordingConfiguration;
524
+
525
+ truncatedEvents?: StreamEvent[];
526
+ }
527
+ export declare namespace StreamSession {
528
+
529
+ const filterSensitiveLog: (obj: StreamSession) => any;
530
+ }
531
+ export interface GetStreamSessionResponse {
532
+
533
+ streamSession?: StreamSession;
534
+ }
535
+ export declare namespace GetStreamSessionResponse {
536
+
537
+ const filterSensitiveLog: (obj: GetStreamSessionResponse) => any;
538
+ }
468
539
  export interface ImportPlaybackKeyPairRequest {
469
540
 
470
541
  publicKeyMaterial: string | undefined;
@@ -643,8 +714,19 @@ export declare namespace ListStreamKeysResponse {
643
714
 
644
715
  const filterSensitiveLog: (obj: ListStreamKeysResponse) => any;
645
716
  }
717
+
718
+ export interface StreamFilters {
719
+
720
+ health?: StreamHealth | string;
721
+ }
722
+ export declare namespace StreamFilters {
723
+
724
+ const filterSensitiveLog: (obj: StreamFilters) => any;
725
+ }
646
726
  export interface ListStreamsRequest {
647
727
 
728
+ filterBy?: StreamFilters;
729
+
648
730
  nextToken?: string;
649
731
 
650
732
  maxResults?: number;
@@ -658,6 +740,8 @@ export interface StreamSummary {
658
740
 
659
741
  channelArn?: string;
660
742
 
743
+ streamId?: string;
744
+
661
745
  state?: StreamState | string;
662
746
 
663
747
  health?: StreamHealth | string;
@@ -680,6 +764,43 @@ export declare namespace ListStreamsResponse {
680
764
 
681
765
  const filterSensitiveLog: (obj: ListStreamsResponse) => any;
682
766
  }
767
+ export interface ListStreamSessionsRequest {
768
+
769
+ channelArn: string | undefined;
770
+
771
+ nextToken?: string;
772
+
773
+ maxResults?: number;
774
+ }
775
+ export declare namespace ListStreamSessionsRequest {
776
+
777
+ const filterSensitiveLog: (obj: ListStreamSessionsRequest) => any;
778
+ }
779
+
780
+ export interface StreamSessionSummary {
781
+
782
+ streamId?: string;
783
+
784
+ startTime?: Date;
785
+
786
+ endTime?: Date;
787
+
788
+ hasErrorEvent?: boolean;
789
+ }
790
+ export declare namespace StreamSessionSummary {
791
+
792
+ const filterSensitiveLog: (obj: StreamSessionSummary) => any;
793
+ }
794
+ export interface ListStreamSessionsResponse {
795
+
796
+ streamSessions: StreamSessionSummary[] | undefined;
797
+
798
+ nextToken?: string;
799
+ }
800
+ export declare namespace ListStreamSessionsResponse {
801
+
802
+ const filterSensitiveLog: (obj: ListStreamSessionsResponse) => any;
803
+ }
683
804
  export interface ListTagsForResourceRequest {
684
805
 
685
806
  resourceArn: string | undefined;
@@ -715,10 +836,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
715
836
 
716
837
  exceptionMessage?: string;
717
838
  }
718
- export declare namespace ThrottlingException {
719
-
720
- const filterSensitiveLog: (obj: ThrottlingException) => any;
721
- }
722
839
  export interface StopStreamRequest {
723
840
 
724
841
  channelArn: string | undefined;
@@ -740,10 +857,6 @@ export interface StreamUnavailable extends __SmithyException, $MetadataBearer {
740
857
 
741
858
  exceptionMessage?: string;
742
859
  }
743
- export declare namespace StreamUnavailable {
744
-
745
- const filterSensitiveLog: (obj: StreamUnavailable) => any;
746
- }
747
860
  export interface TagResourceRequest {
748
861
 
749
862
  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>;
@@ -1,8 +1,9 @@
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
  export declare const getRuntimeConfig: (config: IvsClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
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
  export declare const getRuntimeConfig: (config: IvsClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: IvsClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ 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>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
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.42.0",
4
+ "version": "3.47.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "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"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,48 +18,44 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.42.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",
21
+ "@aws-sdk/client-sts": "3.47.0",
22
+ "@aws-sdk/config-resolver": "3.47.0",
23
+ "@aws-sdk/credential-provider-node": "3.47.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.0",
25
+ "@aws-sdk/hash-node": "3.47.0",
26
+ "@aws-sdk/invalid-dependency": "3.47.0",
27
+ "@aws-sdk/middleware-content-length": "3.47.0",
28
+ "@aws-sdk/middleware-host-header": "3.47.0",
29
+ "@aws-sdk/middleware-logger": "3.47.0",
30
+ "@aws-sdk/middleware-retry": "3.47.0",
31
+ "@aws-sdk/middleware-serde": "3.47.0",
32
+ "@aws-sdk/middleware-signing": "3.47.0",
33
+ "@aws-sdk/middleware-stack": "3.47.0",
34
+ "@aws-sdk/middleware-user-agent": "3.47.0",
35
+ "@aws-sdk/node-config-provider": "3.47.0",
36
+ "@aws-sdk/node-http-handler": "3.47.0",
37
+ "@aws-sdk/protocol-http": "3.47.0",
38
+ "@aws-sdk/smithy-client": "3.47.0",
39
+ "@aws-sdk/types": "3.47.0",
40
+ "@aws-sdk/url-parser": "3.47.0",
41
+ "@aws-sdk/util-base64-browser": "3.47.0",
42
+ "@aws-sdk/util-base64-node": "3.47.0",
43
+ "@aws-sdk/util-body-length-browser": "3.47.0",
44
+ "@aws-sdk/util-body-length-node": "3.47.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.0",
48
+ "@aws-sdk/util-user-agent-node": "3.47.0",
49
+ "@aws-sdk/util-utf8-browser": "3.47.0",
50
+ "@aws-sdk/util-utf8-node": "3.47.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.47.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": {