@aws-sdk/client-ivs-realtime 3.699.0 → 3.709.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -84,6 +84,8 @@ __export(src_exports, {
84
84
  StartCompositionCommand: () => StartCompositionCommand,
85
85
  StopCompositionCommand: () => StopCompositionCommand,
86
86
  TagResourceCommand: () => TagResourceCommand,
87
+ ThumbnailRecordingMode: () => ThumbnailRecordingMode,
88
+ ThumbnailStorageType: () => ThumbnailStorageType,
87
89
  UntagResourceCommand: () => UntagResourceCommand,
88
90
  UpdateIngestConfigurationCommand: () => UpdateIngestConfigurationCommand,
89
91
  UpdateIngestConfigurationResponseFilterSensitiveLog: () => UpdateIngestConfigurationResponseFilterSensitiveLog,
@@ -411,7 +413,16 @@ var ParticipantTokenCapability = {
411
413
  };
412
414
  var ParticipantRecordingMediaType = {
413
415
  AUDIO_ONLY: "AUDIO_ONLY",
414
- AUDIO_VIDEO: "AUDIO_VIDEO"
416
+ AUDIO_VIDEO: "AUDIO_VIDEO",
417
+ NONE: "NONE"
418
+ };
419
+ var ThumbnailRecordingMode = {
420
+ DISABLED: "DISABLED",
421
+ INTERVAL: "INTERVAL"
422
+ };
423
+ var ThumbnailStorageType = {
424
+ LATEST: "LATEST",
425
+ SEQUENTIAL: "SEQUENTIAL"
415
426
  };
416
427
  var RecordingConfigurationFormat = {
417
428
  HLS: "HLS"
@@ -2560,6 +2571,8 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
2560
2571
  IngestConfigurationState,
2561
2572
  ParticipantTokenCapability,
2562
2573
  ParticipantRecordingMediaType,
2574
+ ThumbnailRecordingMode,
2575
+ ThumbnailStorageType,
2563
2576
  RecordingConfigurationFormat,
2564
2577
  DestinationState,
2565
2578
  VideoAspectRatio,
@@ -106,6 +106,15 @@ export const ParticipantTokenCapability = {
106
106
  export const ParticipantRecordingMediaType = {
107
107
  AUDIO_ONLY: "AUDIO_ONLY",
108
108
  AUDIO_VIDEO: "AUDIO_VIDEO",
109
+ NONE: "NONE",
110
+ };
111
+ export const ThumbnailRecordingMode = {
112
+ DISABLED: "DISABLED",
113
+ INTERVAL: "INTERVAL",
114
+ };
115
+ export const ThumbnailStorageType = {
116
+ LATEST: "LATEST",
117
+ SEQUENTIAL: "SEQUENTIAL",
109
118
  };
110
119
  export const RecordingConfigurationFormat = {
111
120
  HLS: "HLS",
@@ -54,8 +54,15 @@ declare const CreateStageCommand_base: {
54
54
  * autoParticipantRecordingConfiguration: { // AutoParticipantRecordingConfiguration
55
55
  * storageConfigurationArn: "STRING_VALUE", // required
56
56
  * mediaTypes: [ // ParticipantRecordingMediaTypeList
57
- * "STRING_VALUE",
57
+ * "AUDIO_VIDEO" || "AUDIO_ONLY" || "NONE",
58
58
  * ],
59
+ * thumbnailConfiguration: { // ParticipantThumbnailConfiguration
60
+ * targetIntervalSeconds: Number("int"),
61
+ * storage: [ // ThumbnailStorageTypeList
62
+ * "SEQUENTIAL" || "LATEST",
63
+ * ],
64
+ * recordingMode: "INTERVAL" || "DISABLED",
65
+ * },
59
66
  * },
60
67
  * };
61
68
  * const command = new CreateStageCommand(input);
@@ -71,8 +78,15 @@ declare const CreateStageCommand_base: {
71
78
  * // autoParticipantRecordingConfiguration: { // AutoParticipantRecordingConfiguration
72
79
  * // storageConfigurationArn: "STRING_VALUE", // required
73
80
  * // mediaTypes: [ // ParticipantRecordingMediaTypeList
74
- * // "STRING_VALUE",
81
+ * // "AUDIO_VIDEO" || "AUDIO_ONLY" || "NONE",
75
82
  * // ],
83
+ * // thumbnailConfiguration: { // ParticipantThumbnailConfiguration
84
+ * // targetIntervalSeconds: Number("int"),
85
+ * // storage: [ // ThumbnailStorageTypeList
86
+ * // "SEQUENTIAL" || "LATEST",
87
+ * // ],
88
+ * // recordingMode: "INTERVAL" || "DISABLED",
89
+ * // },
76
90
  * // },
77
91
  * // endpoints: { // StageEndpoints
78
92
  * // events: "STRING_VALUE",
@@ -85,6 +85,14 @@ declare const GetCompositionCommand_base: {
85
85
  * // recordingConfiguration: { // RecordingConfiguration
86
86
  * // format: "STRING_VALUE",
87
87
  * // },
88
+ * // thumbnailConfigurations: [ // CompositionThumbnailConfigurationList
89
+ * // { // CompositionThumbnailConfiguration
90
+ * // targetIntervalSeconds: Number("int"),
91
+ * // storage: [ // ThumbnailStorageTypeList
92
+ * // "SEQUENTIAL" || "LATEST",
93
+ * // ],
94
+ * // },
95
+ * // ],
88
96
  * // },
89
97
  * // },
90
98
  * // detail: { // DestinationDetail
@@ -50,8 +50,15 @@ declare const GetStageCommand_base: {
50
50
  * // autoParticipantRecordingConfiguration: { // AutoParticipantRecordingConfiguration
51
51
  * // storageConfigurationArn: "STRING_VALUE", // required
52
52
  * // mediaTypes: [ // ParticipantRecordingMediaTypeList
53
- * // "STRING_VALUE",
53
+ * // "AUDIO_VIDEO" || "AUDIO_ONLY" || "NONE",
54
54
  * // ],
55
+ * // thumbnailConfiguration: { // ParticipantThumbnailConfiguration
56
+ * // targetIntervalSeconds: Number("int"),
57
+ * // storage: [ // ThumbnailStorageTypeList
58
+ * // "SEQUENTIAL" || "LATEST",
59
+ * // ],
60
+ * // recordingMode: "INTERVAL" || "DISABLED",
61
+ * // },
55
62
  * // },
56
63
  * // endpoints: { // StageEndpoints
57
64
  * // events: "STRING_VALUE",
@@ -96,6 +96,14 @@ declare const StartCompositionCommand_base: {
96
96
  * recordingConfiguration: { // RecordingConfiguration
97
97
  * format: "STRING_VALUE",
98
98
  * },
99
+ * thumbnailConfigurations: [ // CompositionThumbnailConfigurationList
100
+ * { // CompositionThumbnailConfiguration
101
+ * targetIntervalSeconds: Number("int"),
102
+ * storage: [ // ThumbnailStorageTypeList
103
+ * "SEQUENTIAL" || "LATEST",
104
+ * ],
105
+ * },
106
+ * ],
99
107
  * },
100
108
  * },
101
109
  * ],
@@ -151,6 +159,14 @@ declare const StartCompositionCommand_base: {
151
159
  * // recordingConfiguration: { // RecordingConfiguration
152
160
  * // format: "STRING_VALUE",
153
161
  * // },
162
+ * // thumbnailConfigurations: [ // CompositionThumbnailConfigurationList
163
+ * // { // CompositionThumbnailConfiguration
164
+ * // targetIntervalSeconds: Number("int"),
165
+ * // storage: [ // ThumbnailStorageTypeList
166
+ * // "SEQUENTIAL" || "LATEST",
167
+ * // ],
168
+ * // },
169
+ * // ],
154
170
  * // },
155
171
  * // },
156
172
  * // detail: { // DestinationDetail
@@ -40,8 +40,15 @@ declare const UpdateStageCommand_base: {
40
40
  * autoParticipantRecordingConfiguration: { // AutoParticipantRecordingConfiguration
41
41
  * storageConfigurationArn: "STRING_VALUE", // required
42
42
  * mediaTypes: [ // ParticipantRecordingMediaTypeList
43
- * "STRING_VALUE",
43
+ * "AUDIO_VIDEO" || "AUDIO_ONLY" || "NONE",
44
44
  * ],
45
+ * thumbnailConfiguration: { // ParticipantThumbnailConfiguration
46
+ * targetIntervalSeconds: Number("int"),
47
+ * storage: [ // ThumbnailStorageTypeList
48
+ * "SEQUENTIAL" || "LATEST",
49
+ * ],
50
+ * recordingMode: "INTERVAL" || "DISABLED",
51
+ * },
45
52
  * },
46
53
  * };
47
54
  * const command = new UpdateStageCommand(input);
@@ -57,8 +64,15 @@ declare const UpdateStageCommand_base: {
57
64
  * // autoParticipantRecordingConfiguration: { // AutoParticipantRecordingConfiguration
58
65
  * // storageConfigurationArn: "STRING_VALUE", // required
59
66
  * // mediaTypes: [ // ParticipantRecordingMediaTypeList
60
- * // "STRING_VALUE",
67
+ * // "AUDIO_VIDEO" || "AUDIO_ONLY" || "NONE",
61
68
  * // ],
69
+ * // thumbnailConfiguration: { // ParticipantThumbnailConfiguration
70
+ * // targetIntervalSeconds: Number("int"),
71
+ * // storage: [ // ThumbnailStorageTypeList
72
+ * // "SEQUENTIAL" || "LATEST",
73
+ * // ],
74
+ * // recordingMode: "INTERVAL" || "DISABLED",
75
+ * // },
62
76
  * // },
63
77
  * // endpoints: { // StageEndpoints
64
78
  * // events: "STRING_VALUE",
@@ -478,11 +478,62 @@ export interface CreateParticipantTokenResponse {
478
478
  export declare const ParticipantRecordingMediaType: {
479
479
  readonly AUDIO_ONLY: "AUDIO_ONLY";
480
480
  readonly AUDIO_VIDEO: "AUDIO_VIDEO";
481
+ readonly NONE: "NONE";
481
482
  };
482
483
  /**
483
484
  * @public
484
485
  */
485
486
  export type ParticipantRecordingMediaType = (typeof ParticipantRecordingMediaType)[keyof typeof ParticipantRecordingMediaType];
487
+ /**
488
+ * @public
489
+ * @enum
490
+ */
491
+ export declare const ThumbnailRecordingMode: {
492
+ readonly DISABLED: "DISABLED";
493
+ readonly INTERVAL: "INTERVAL";
494
+ };
495
+ /**
496
+ * @public
497
+ */
498
+ export type ThumbnailRecordingMode = (typeof ThumbnailRecordingMode)[keyof typeof ThumbnailRecordingMode];
499
+ /**
500
+ * @public
501
+ * @enum
502
+ */
503
+ export declare const ThumbnailStorageType: {
504
+ readonly LATEST: "LATEST";
505
+ readonly SEQUENTIAL: "SEQUENTIAL";
506
+ };
507
+ /**
508
+ * @public
509
+ */
510
+ export type ThumbnailStorageType = (typeof ThumbnailStorageType)[keyof typeof ThumbnailStorageType];
511
+ /**
512
+ * <p>An object representing a configuration of thumbnails for recorded video from an individual participant.</p>
513
+ * @public
514
+ */
515
+ export interface ParticipantThumbnailConfiguration {
516
+ /**
517
+ * <p>The targeted thumbnail-generation interval in seconds. This is configurable only if
518
+ * <code>recordingMode</code> is <code>INTERVAL</code>. Default: 60.</p>
519
+ * @public
520
+ */
521
+ targetIntervalSeconds?: number | undefined;
522
+ /**
523
+ * <p>Indicates the format in which thumbnails are recorded. <code>SEQUENTIAL</code> records all generated thumbnails
524
+ * in a serial manner, to the media/thumbnails/high directory. <code>LATEST</code> saves the latest thumbnail
525
+ * in media/latest_thumbnail/high/thumb.jpg and overwrites it at the interval specified by
526
+ * <code>targetIntervalSeconds</code>. You can enable both <code>SEQUENTIAL</code> and <code>LATEST</code>.
527
+ * Default: <code>SEQUENTIAL</code>.</p>
528
+ * @public
529
+ */
530
+ storage?: ThumbnailStorageType[] | undefined;
531
+ /**
532
+ * <p>Thumbnail recording mode. Default: <code>DISABLED</code>.</p>
533
+ * @public
534
+ */
535
+ recordingMode?: ThumbnailRecordingMode | undefined;
536
+ }
486
537
  /**
487
538
  * <p>Object specifying a configuration for individual participant recording.</p>
488
539
  * @public
@@ -498,6 +549,12 @@ export interface AutoParticipantRecordingConfiguration {
498
549
  * @public
499
550
  */
500
551
  mediaTypes?: ParticipantRecordingMediaType[] | undefined;
552
+ /**
553
+ * <p>A complex type that allows you to enable/disable the recording of thumbnails for individual participant recording
554
+ * and modify the interval at which thumbnails are generated for the live session.</p>
555
+ * @public
556
+ */
557
+ thumbnailConfiguration?: ParticipantThumbnailConfiguration | undefined;
501
558
  }
502
559
  /**
503
560
  * <p>Object specifying a participant token configuration in a stage.</p>
@@ -878,6 +935,27 @@ export interface RecordingConfiguration {
878
935
  */
879
936
  format?: RecordingConfigurationFormat | undefined;
880
937
  }
938
+ /**
939
+ * <p>An object representing a configuration of thumbnails for recorded video for a <a>Composition</a>.</p>
940
+ * @public
941
+ */
942
+ export interface CompositionThumbnailConfiguration {
943
+ /**
944
+ * <p>The targeted thumbnail-generation interval in seconds. Default: 60.</p>
945
+ * @public
946
+ */
947
+ targetIntervalSeconds?: number | undefined;
948
+ /**
949
+ * <p>Indicates the format in which thumbnails are recorded. <code>SEQUENTIAL</code> records all generated thumbnails
950
+ * in a serial manner, to the media/thumbnails/(width)x(height) directory, where (width) and (height) are the width
951
+ * and height of the thumbnail. <code>LATEST</code> saves the latest thumbnail in
952
+ * media/latest_thumbnail/(width)x(height)/thumb.jpg and overwrites it at the interval specified by
953
+ * <code>targetIntervalSeconds</code>. You can enable both <code>SEQUENTIAL</code> and <code>LATEST</code>.
954
+ * Default: <code>SEQUENTIAL</code>.</p>
955
+ * @public
956
+ */
957
+ storage?: ThumbnailStorageType[] | undefined;
958
+ }
881
959
  /**
882
960
  * <p>A complex type that describes an S3 location where recorded videos will be stored.</p>
883
961
  * @public
@@ -901,6 +979,12 @@ export interface S3DestinationConfiguration {
901
979
  * @public
902
980
  */
903
981
  recordingConfiguration?: RecordingConfiguration | undefined;
982
+ /**
983
+ * <p>A complex type that allows you to enable/disable the recording of thumbnails for a <a>Composition</a>
984
+ * and modify the interval at which thumbnails are generated for the live session.</p>
985
+ * @public
986
+ */
987
+ thumbnailConfigurations?: CompositionThumbnailConfiguration[] | undefined;
904
988
  }
905
989
  /**
906
990
  * <p>Complex data type that defines destination-configuration objects.</p>
@@ -138,12 +138,31 @@ export interface CreateParticipantTokenResponse {
138
138
  export declare const ParticipantRecordingMediaType: {
139
139
  readonly AUDIO_ONLY: "AUDIO_ONLY";
140
140
  readonly AUDIO_VIDEO: "AUDIO_VIDEO";
141
+ readonly NONE: "NONE";
141
142
  };
142
143
  export type ParticipantRecordingMediaType =
143
144
  (typeof ParticipantRecordingMediaType)[keyof typeof ParticipantRecordingMediaType];
145
+ export declare const ThumbnailRecordingMode: {
146
+ readonly DISABLED: "DISABLED";
147
+ readonly INTERVAL: "INTERVAL";
148
+ };
149
+ export type ThumbnailRecordingMode =
150
+ (typeof ThumbnailRecordingMode)[keyof typeof ThumbnailRecordingMode];
151
+ export declare const ThumbnailStorageType: {
152
+ readonly LATEST: "LATEST";
153
+ readonly SEQUENTIAL: "SEQUENTIAL";
154
+ };
155
+ export type ThumbnailStorageType =
156
+ (typeof ThumbnailStorageType)[keyof typeof ThumbnailStorageType];
157
+ export interface ParticipantThumbnailConfiguration {
158
+ targetIntervalSeconds?: number | undefined;
159
+ storage?: ThumbnailStorageType[] | undefined;
160
+ recordingMode?: ThumbnailRecordingMode | undefined;
161
+ }
144
162
  export interface AutoParticipantRecordingConfiguration {
145
163
  storageConfigurationArn: string | undefined;
146
164
  mediaTypes?: ParticipantRecordingMediaType[] | undefined;
165
+ thumbnailConfiguration?: ParticipantThumbnailConfiguration | undefined;
147
166
  }
148
167
  export interface ParticipantTokenConfiguration {
149
168
  duration?: number | undefined;
@@ -238,10 +257,15 @@ export type RecordingConfigurationFormat =
238
257
  export interface RecordingConfiguration {
239
258
  format?: RecordingConfigurationFormat | undefined;
240
259
  }
260
+ export interface CompositionThumbnailConfiguration {
261
+ targetIntervalSeconds?: number | undefined;
262
+ storage?: ThumbnailStorageType[] | undefined;
263
+ }
241
264
  export interface S3DestinationConfiguration {
242
265
  storageConfigurationArn: string | undefined;
243
266
  encoderConfigurationArns: string[] | undefined;
244
267
  recordingConfiguration?: RecordingConfiguration | undefined;
268
+ thumbnailConfigurations?: CompositionThumbnailConfiguration[] | undefined;
245
269
  }
246
270
  export interface DestinationConfiguration {
247
271
  name?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivs-realtime",
3
3
  "description": "AWS SDK for JavaScript Ivs Realtime Client for Node.js, Browser and React Native",
4
- "version": "3.699.0",
4
+ "version": "3.709.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ivs-realtime",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.699.0",
24
- "@aws-sdk/client-sts": "3.699.0",
25
- "@aws-sdk/core": "3.696.0",
26
- "@aws-sdk/credential-provider-node": "3.699.0",
27
- "@aws-sdk/middleware-host-header": "3.696.0",
28
- "@aws-sdk/middleware-logger": "3.696.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
- "@aws-sdk/middleware-user-agent": "3.696.0",
31
- "@aws-sdk/region-config-resolver": "3.696.0",
32
- "@aws-sdk/types": "3.696.0",
33
- "@aws-sdk/util-endpoints": "3.696.0",
34
- "@aws-sdk/util-user-agent-browser": "3.696.0",
35
- "@aws-sdk/util-user-agent-node": "3.696.0",
36
- "@smithy/config-resolver": "^3.0.12",
37
- "@smithy/core": "^2.5.3",
38
- "@smithy/fetch-http-handler": "^4.1.1",
39
- "@smithy/hash-node": "^3.0.10",
40
- "@smithy/invalid-dependency": "^3.0.10",
41
- "@smithy/middleware-content-length": "^3.0.12",
42
- "@smithy/middleware-endpoint": "^3.2.3",
43
- "@smithy/middleware-retry": "^3.0.27",
44
- "@smithy/middleware-serde": "^3.0.10",
45
- "@smithy/middleware-stack": "^3.0.10",
46
- "@smithy/node-config-provider": "^3.1.11",
47
- "@smithy/node-http-handler": "^3.3.1",
48
- "@smithy/protocol-http": "^4.1.7",
49
- "@smithy/smithy-client": "^3.4.4",
50
- "@smithy/types": "^3.7.1",
51
- "@smithy/url-parser": "^3.0.10",
23
+ "@aws-sdk/client-sso-oidc": "3.709.0",
24
+ "@aws-sdk/client-sts": "3.709.0",
25
+ "@aws-sdk/core": "3.709.0",
26
+ "@aws-sdk/credential-provider-node": "3.709.0",
27
+ "@aws-sdk/middleware-host-header": "3.709.0",
28
+ "@aws-sdk/middleware-logger": "3.709.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
+ "@aws-sdk/middleware-user-agent": "3.709.0",
31
+ "@aws-sdk/region-config-resolver": "3.709.0",
32
+ "@aws-sdk/types": "3.709.0",
33
+ "@aws-sdk/util-endpoints": "3.709.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.709.0",
35
+ "@aws-sdk/util-user-agent-node": "3.709.0",
36
+ "@smithy/config-resolver": "^3.0.13",
37
+ "@smithy/core": "^2.5.5",
38
+ "@smithy/fetch-http-handler": "^4.1.2",
39
+ "@smithy/hash-node": "^3.0.11",
40
+ "@smithy/invalid-dependency": "^3.0.11",
41
+ "@smithy/middleware-content-length": "^3.0.13",
42
+ "@smithy/middleware-endpoint": "^3.2.5",
43
+ "@smithy/middleware-retry": "^3.0.30",
44
+ "@smithy/middleware-serde": "^3.0.11",
45
+ "@smithy/middleware-stack": "^3.0.11",
46
+ "@smithy/node-config-provider": "^3.1.12",
47
+ "@smithy/node-http-handler": "^3.3.2",
48
+ "@smithy/protocol-http": "^4.1.8",
49
+ "@smithy/smithy-client": "^3.5.0",
50
+ "@smithy/types": "^3.7.2",
51
+ "@smithy/url-parser": "^3.0.11",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.27",
56
- "@smithy/util-defaults-mode-node": "^3.0.27",
57
- "@smithy/util-endpoints": "^2.1.6",
58
- "@smithy/util-middleware": "^3.0.10",
59
- "@smithy/util-retry": "^3.0.10",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.30",
56
+ "@smithy/util-defaults-mode-node": "^3.0.30",
57
+ "@smithy/util-endpoints": "^2.1.7",
58
+ "@smithy/util-middleware": "^3.0.11",
59
+ "@smithy/util-retry": "^3.0.11",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",