@aws-sdk/client-mediatailor 3.301.0 → 3.306.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.
@@ -2,44 +2,36 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RelativePosition = exports.ChannelState = exports.Tier = exports.PlaybackMode = exports.BadRequestException = exports.AccessType = exports.ScheduleEntryType = exports.OriginManifestType = exports.Mode = exports.Type = exports.LogType = exports.Operator = exports.MessageType = void 0;
4
4
  const MediaTailorServiceException_1 = require("./MediaTailorServiceException");
5
- var MessageType;
6
- (function (MessageType) {
7
- MessageType["SPLICE_INSERT"] = "SPLICE_INSERT";
8
- MessageType["TIME_SIGNAL"] = "TIME_SIGNAL";
9
- })(MessageType = exports.MessageType || (exports.MessageType = {}));
10
- var Operator;
11
- (function (Operator) {
12
- Operator["EQUALS"] = "EQUALS";
13
- })(Operator = exports.Operator || (exports.Operator = {}));
14
- var LogType;
15
- (function (LogType) {
16
- LogType["AS_RUN"] = "AS_RUN";
17
- })(LogType = exports.LogType || (exports.LogType = {}));
18
- var Type;
19
- (function (Type) {
20
- Type["DASH"] = "DASH";
21
- Type["HLS"] = "HLS";
22
- })(Type = exports.Type || (exports.Type = {}));
23
- var Mode;
24
- (function (Mode) {
25
- Mode["BEHIND_LIVE_EDGE"] = "BEHIND_LIVE_EDGE";
26
- Mode["OFF"] = "OFF";
27
- })(Mode = exports.Mode || (exports.Mode = {}));
28
- var OriginManifestType;
29
- (function (OriginManifestType) {
30
- OriginManifestType["MULTI_PERIOD"] = "MULTI_PERIOD";
31
- OriginManifestType["SINGLE_PERIOD"] = "SINGLE_PERIOD";
32
- })(OriginManifestType = exports.OriginManifestType || (exports.OriginManifestType = {}));
33
- var ScheduleEntryType;
34
- (function (ScheduleEntryType) {
35
- ScheduleEntryType["FILLER_SLATE"] = "FILLER_SLATE";
36
- ScheduleEntryType["PROGRAM"] = "PROGRAM";
37
- })(ScheduleEntryType = exports.ScheduleEntryType || (exports.ScheduleEntryType = {}));
38
- var AccessType;
39
- (function (AccessType) {
40
- AccessType["S3_SIGV4"] = "S3_SIGV4";
41
- AccessType["SECRETS_MANAGER_ACCESS_TOKEN"] = "SECRETS_MANAGER_ACCESS_TOKEN";
42
- })(AccessType = exports.AccessType || (exports.AccessType = {}));
5
+ exports.MessageType = {
6
+ SPLICE_INSERT: "SPLICE_INSERT",
7
+ TIME_SIGNAL: "TIME_SIGNAL",
8
+ };
9
+ exports.Operator = {
10
+ EQUALS: "EQUALS",
11
+ };
12
+ exports.LogType = {
13
+ AS_RUN: "AS_RUN",
14
+ };
15
+ exports.Type = {
16
+ DASH: "DASH",
17
+ HLS: "HLS",
18
+ };
19
+ exports.Mode = {
20
+ BEHIND_LIVE_EDGE: "BEHIND_LIVE_EDGE",
21
+ OFF: "OFF",
22
+ };
23
+ exports.OriginManifestType = {
24
+ MULTI_PERIOD: "MULTI_PERIOD",
25
+ SINGLE_PERIOD: "SINGLE_PERIOD",
26
+ };
27
+ exports.ScheduleEntryType = {
28
+ FILLER_SLATE: "FILLER_SLATE",
29
+ PROGRAM: "PROGRAM",
30
+ };
31
+ exports.AccessType = {
32
+ S3_SIGV4: "S3_SIGV4",
33
+ SECRETS_MANAGER_ACCESS_TOKEN: "SECRETS_MANAGER_ACCESS_TOKEN",
34
+ };
43
35
  class BadRequestException extends MediaTailorServiceException_1.MediaTailorServiceException {
44
36
  constructor(opts) {
45
37
  super({
@@ -54,23 +46,19 @@ class BadRequestException extends MediaTailorServiceException_1.MediaTailorServi
54
46
  }
55
47
  }
56
48
  exports.BadRequestException = BadRequestException;
57
- var PlaybackMode;
58
- (function (PlaybackMode) {
59
- PlaybackMode["LINEAR"] = "LINEAR";
60
- PlaybackMode["LOOP"] = "LOOP";
61
- })(PlaybackMode = exports.PlaybackMode || (exports.PlaybackMode = {}));
62
- var Tier;
63
- (function (Tier) {
64
- Tier["BASIC"] = "BASIC";
65
- Tier["STANDARD"] = "STANDARD";
66
- })(Tier = exports.Tier || (exports.Tier = {}));
67
- var ChannelState;
68
- (function (ChannelState) {
69
- ChannelState["RUNNING"] = "RUNNING";
70
- ChannelState["STOPPED"] = "STOPPED";
71
- })(ChannelState = exports.ChannelState || (exports.ChannelState = {}));
72
- var RelativePosition;
73
- (function (RelativePosition) {
74
- RelativePosition["AFTER_PROGRAM"] = "AFTER_PROGRAM";
75
- RelativePosition["BEFORE_PROGRAM"] = "BEFORE_PROGRAM";
76
- })(RelativePosition = exports.RelativePosition || (exports.RelativePosition = {}));
49
+ exports.PlaybackMode = {
50
+ LINEAR: "LINEAR",
51
+ LOOP: "LOOP",
52
+ };
53
+ exports.Tier = {
54
+ BASIC: "BASIC",
55
+ STANDARD: "STANDARD",
56
+ };
57
+ exports.ChannelState = {
58
+ RUNNING: "RUNNING",
59
+ STOPPED: "STOPPED",
60
+ };
61
+ exports.RelativePosition = {
62
+ AFTER_PROGRAM: "AFTER_PROGRAM",
63
+ BEFORE_PROGRAM: "BEFORE_PROGRAM",
64
+ };
@@ -1,42 +1,34 @@
1
1
  import { MediaTailorServiceException as __BaseException } from "./MediaTailorServiceException";
2
- export var MessageType;
3
- (function (MessageType) {
4
- MessageType["SPLICE_INSERT"] = "SPLICE_INSERT";
5
- MessageType["TIME_SIGNAL"] = "TIME_SIGNAL";
6
- })(MessageType || (MessageType = {}));
7
- export var Operator;
8
- (function (Operator) {
9
- Operator["EQUALS"] = "EQUALS";
10
- })(Operator || (Operator = {}));
11
- export var LogType;
12
- (function (LogType) {
13
- LogType["AS_RUN"] = "AS_RUN";
14
- })(LogType || (LogType = {}));
15
- export var Type;
16
- (function (Type) {
17
- Type["DASH"] = "DASH";
18
- Type["HLS"] = "HLS";
19
- })(Type || (Type = {}));
20
- export var Mode;
21
- (function (Mode) {
22
- Mode["BEHIND_LIVE_EDGE"] = "BEHIND_LIVE_EDGE";
23
- Mode["OFF"] = "OFF";
24
- })(Mode || (Mode = {}));
25
- export var OriginManifestType;
26
- (function (OriginManifestType) {
27
- OriginManifestType["MULTI_PERIOD"] = "MULTI_PERIOD";
28
- OriginManifestType["SINGLE_PERIOD"] = "SINGLE_PERIOD";
29
- })(OriginManifestType || (OriginManifestType = {}));
30
- export var ScheduleEntryType;
31
- (function (ScheduleEntryType) {
32
- ScheduleEntryType["FILLER_SLATE"] = "FILLER_SLATE";
33
- ScheduleEntryType["PROGRAM"] = "PROGRAM";
34
- })(ScheduleEntryType || (ScheduleEntryType = {}));
35
- export var AccessType;
36
- (function (AccessType) {
37
- AccessType["S3_SIGV4"] = "S3_SIGV4";
38
- AccessType["SECRETS_MANAGER_ACCESS_TOKEN"] = "SECRETS_MANAGER_ACCESS_TOKEN";
39
- })(AccessType || (AccessType = {}));
2
+ export const MessageType = {
3
+ SPLICE_INSERT: "SPLICE_INSERT",
4
+ TIME_SIGNAL: "TIME_SIGNAL",
5
+ };
6
+ export const Operator = {
7
+ EQUALS: "EQUALS",
8
+ };
9
+ export const LogType = {
10
+ AS_RUN: "AS_RUN",
11
+ };
12
+ export const Type = {
13
+ DASH: "DASH",
14
+ HLS: "HLS",
15
+ };
16
+ export const Mode = {
17
+ BEHIND_LIVE_EDGE: "BEHIND_LIVE_EDGE",
18
+ OFF: "OFF",
19
+ };
20
+ export const OriginManifestType = {
21
+ MULTI_PERIOD: "MULTI_PERIOD",
22
+ SINGLE_PERIOD: "SINGLE_PERIOD",
23
+ };
24
+ export const ScheduleEntryType = {
25
+ FILLER_SLATE: "FILLER_SLATE",
26
+ PROGRAM: "PROGRAM",
27
+ };
28
+ export const AccessType = {
29
+ S3_SIGV4: "S3_SIGV4",
30
+ SECRETS_MANAGER_ACCESS_TOKEN: "SECRETS_MANAGER_ACCESS_TOKEN",
31
+ };
40
32
  export class BadRequestException extends __BaseException {
41
33
  constructor(opts) {
42
34
  super({
@@ -50,23 +42,19 @@ export class BadRequestException extends __BaseException {
50
42
  this.Message = opts.Message;
51
43
  }
52
44
  }
53
- export var PlaybackMode;
54
- (function (PlaybackMode) {
55
- PlaybackMode["LINEAR"] = "LINEAR";
56
- PlaybackMode["LOOP"] = "LOOP";
57
- })(PlaybackMode || (PlaybackMode = {}));
58
- export var Tier;
59
- (function (Tier) {
60
- Tier["BASIC"] = "BASIC";
61
- Tier["STANDARD"] = "STANDARD";
62
- })(Tier || (Tier = {}));
63
- export var ChannelState;
64
- (function (ChannelState) {
65
- ChannelState["RUNNING"] = "RUNNING";
66
- ChannelState["STOPPED"] = "STOPPED";
67
- })(ChannelState || (ChannelState = {}));
68
- export var RelativePosition;
69
- (function (RelativePosition) {
70
- RelativePosition["AFTER_PROGRAM"] = "AFTER_PROGRAM";
71
- RelativePosition["BEFORE_PROGRAM"] = "BEFORE_PROGRAM";
72
- })(RelativePosition || (RelativePosition = {}));
45
+ export const PlaybackMode = {
46
+ LINEAR: "LINEAR",
47
+ LOOP: "LOOP",
48
+ };
49
+ export const Tier = {
50
+ BASIC: "BASIC",
51
+ STANDARD: "STANDARD",
52
+ };
53
+ export const ChannelState = {
54
+ RUNNING: "RUNNING",
55
+ STOPPED: "STOPPED",
56
+ };
57
+ export const RelativePosition = {
58
+ AFTER_PROGRAM: "AFTER_PROGRAM",
59
+ BEFORE_PROGRAM: "BEFORE_PROGRAM",
60
+ };
@@ -2,11 +2,16 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { MediaTailorServiceException as __BaseException } from "./MediaTailorServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum MessageType {
7
- SPLICE_INSERT = "SPLICE_INSERT",
8
- TIME_SIGNAL = "TIME_SIGNAL"
9
- }
7
+ export declare const MessageType: {
8
+ readonly SPLICE_INSERT: "SPLICE_INSERT";
9
+ readonly TIME_SIGNAL: "TIME_SIGNAL";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type MessageType = (typeof MessageType)[keyof typeof MessageType];
10
15
  /**
11
16
  * @public
12
17
  * <p>Slate VOD source configuration.</p>
@@ -152,10 +157,15 @@ export interface Alert {
152
157
  }
153
158
  /**
154
159
  * @public
160
+ * @enum
155
161
  */
156
- export declare enum Operator {
157
- EQUALS = "EQUALS"
158
- }
162
+ export declare const Operator: {
163
+ readonly EQUALS: "EQUALS";
164
+ };
165
+ /**
166
+ * @public
167
+ */
168
+ export type Operator = (typeof Operator)[keyof typeof Operator];
159
169
  /**
160
170
  * @public
161
171
  * <p>MediaTailor only places (consumes) prefetched ads if the ad break meets the criteria defined by the dynamic variables. This gives you granular control over which ad break to place the prefetched ads into.</p>
@@ -175,10 +185,15 @@ export interface AvailMatchingCriteria {
175
185
  }
176
186
  /**
177
187
  * @public
188
+ * @enum
178
189
  */
179
- export declare enum LogType {
180
- AS_RUN = "AS_RUN"
181
- }
190
+ export declare const LogType: {
191
+ readonly AS_RUN: "AS_RUN";
192
+ };
193
+ /**
194
+ * @public
195
+ */
196
+ export type LogType = (typeof LogType)[keyof typeof LogType];
182
197
  /**
183
198
  * @public
184
199
  * <p>The log configuration for the channel.</p>
@@ -305,11 +320,16 @@ export interface Channel {
305
320
  }
306
321
  /**
307
322
  * @public
323
+ * @enum
308
324
  */
309
- export declare enum Type {
310
- DASH = "DASH",
311
- HLS = "HLS"
312
- }
325
+ export declare const Type: {
326
+ readonly DASH: "DASH";
327
+ readonly HLS: "HLS";
328
+ };
329
+ /**
330
+ * @public
331
+ */
332
+ export type Type = (typeof Type)[keyof typeof Type];
313
333
  /**
314
334
  * @public
315
335
  * <p>The HTTP package configuration properties for the requested VOD source.</p>
@@ -364,11 +384,16 @@ export interface LiveSource {
364
384
  }
365
385
  /**
366
386
  * @public
387
+ * @enum
367
388
  */
368
- export declare enum Mode {
369
- BEHIND_LIVE_EDGE = "BEHIND_LIVE_EDGE",
370
- OFF = "OFF"
371
- }
389
+ export declare const Mode: {
390
+ readonly BEHIND_LIVE_EDGE: "BEHIND_LIVE_EDGE";
391
+ readonly OFF: "OFF";
392
+ };
393
+ /**
394
+ * @public
395
+ */
396
+ export type Mode = (typeof Mode)[keyof typeof Mode];
372
397
  /**
373
398
  * @public
374
399
  * <p>The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html">Ad Suppression</a>.</p>
@@ -413,11 +438,16 @@ export interface CdnConfiguration {
413
438
  }
414
439
  /**
415
440
  * @public
441
+ * @enum
416
442
  */
417
- export declare enum OriginManifestType {
418
- MULTI_PERIOD = "MULTI_PERIOD",
419
- SINGLE_PERIOD = "SINGLE_PERIOD"
420
- }
443
+ export declare const OriginManifestType: {
444
+ readonly MULTI_PERIOD: "MULTI_PERIOD";
445
+ readonly SINGLE_PERIOD: "SINGLE_PERIOD";
446
+ };
447
+ /**
448
+ * @public
449
+ */
450
+ export type OriginManifestType = (typeof OriginManifestType)[keyof typeof OriginManifestType];
421
451
  /**
422
452
  * @public
423
453
  * <p>The configuration for DASH content.</p>
@@ -667,11 +697,16 @@ export interface ScheduleAdBreak {
667
697
  }
668
698
  /**
669
699
  * @public
700
+ * @enum
670
701
  */
671
- export declare enum ScheduleEntryType {
672
- FILLER_SLATE = "FILLER_SLATE",
673
- PROGRAM = "PROGRAM"
674
- }
702
+ export declare const ScheduleEntryType: {
703
+ readonly FILLER_SLATE: "FILLER_SLATE";
704
+ readonly PROGRAM: "PROGRAM";
705
+ };
706
+ /**
707
+ * @public
708
+ */
709
+ export type ScheduleEntryType = (typeof ScheduleEntryType)[keyof typeof ScheduleEntryType];
675
710
  /**
676
711
  * @public
677
712
  * <p>The properties for a schedule.</p>
@@ -734,11 +769,16 @@ export interface SegmentDeliveryConfiguration {
734
769
  }
735
770
  /**
736
771
  * @public
772
+ * @enum
737
773
  */
738
- export declare enum AccessType {
739
- S3_SIGV4 = "S3_SIGV4",
740
- SECRETS_MANAGER_ACCESS_TOKEN = "SECRETS_MANAGER_ACCESS_TOKEN"
741
- }
774
+ export declare const AccessType: {
775
+ readonly S3_SIGV4: "S3_SIGV4";
776
+ readonly SECRETS_MANAGER_ACCESS_TOKEN: "SECRETS_MANAGER_ACCESS_TOKEN";
777
+ };
778
+ /**
779
+ * @public
780
+ */
781
+ export type AccessType = (typeof AccessType)[keyof typeof AccessType];
742
782
  /**
743
783
  * @public
744
784
  * <p>AWS Secrets Manager access token configuration parameters. For information about Secrets Manager access token authentication, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-access-configuration-access-token.html">Working with AWS Secrets Manager access token authentication</a>.</p>
@@ -986,18 +1026,28 @@ export interface RequestOutputItem {
986
1026
  }
987
1027
  /**
988
1028
  * @public
1029
+ * @enum
989
1030
  */
990
- export declare enum PlaybackMode {
991
- LINEAR = "LINEAR",
992
- LOOP = "LOOP"
993
- }
1031
+ export declare const PlaybackMode: {
1032
+ readonly LINEAR: "LINEAR";
1033
+ readonly LOOP: "LOOP";
1034
+ };
994
1035
  /**
995
1036
  * @public
996
1037
  */
997
- export declare enum Tier {
998
- BASIC = "BASIC",
999
- STANDARD = "STANDARD"
1000
- }
1038
+ export type PlaybackMode = (typeof PlaybackMode)[keyof typeof PlaybackMode];
1039
+ /**
1040
+ * @public
1041
+ * @enum
1042
+ */
1043
+ export declare const Tier: {
1044
+ readonly BASIC: "BASIC";
1045
+ readonly STANDARD: "STANDARD";
1046
+ };
1047
+ /**
1048
+ * @public
1049
+ */
1050
+ export type Tier = (typeof Tier)[keyof typeof Tier];
1001
1051
  /**
1002
1052
  * @public
1003
1053
  */
@@ -1035,11 +1085,16 @@ export interface CreateChannelRequest {
1035
1085
  }
1036
1086
  /**
1037
1087
  * @public
1088
+ * @enum
1038
1089
  */
1039
- export declare enum ChannelState {
1040
- RUNNING = "RUNNING",
1041
- STOPPED = "STOPPED"
1042
- }
1090
+ export declare const ChannelState: {
1091
+ readonly RUNNING: "RUNNING";
1092
+ readonly STOPPED: "STOPPED";
1093
+ };
1094
+ /**
1095
+ * @public
1096
+ */
1097
+ export type ChannelState = (typeof ChannelState)[keyof typeof ChannelState];
1043
1098
  /**
1044
1099
  * @public
1045
1100
  */
@@ -1232,11 +1287,16 @@ export interface ClipRange {
1232
1287
  }
1233
1288
  /**
1234
1289
  * @public
1290
+ * @enum
1235
1291
  */
1236
- export declare enum RelativePosition {
1237
- AFTER_PROGRAM = "AFTER_PROGRAM",
1238
- BEFORE_PROGRAM = "BEFORE_PROGRAM"
1239
- }
1292
+ export declare const RelativePosition: {
1293
+ readonly AFTER_PROGRAM: "AFTER_PROGRAM";
1294
+ readonly BEFORE_PROGRAM: "BEFORE_PROGRAM";
1295
+ };
1296
+ /**
1297
+ * @public
1298
+ */
1299
+ export type RelativePosition = (typeof RelativePosition)[keyof typeof RelativePosition];
1240
1300
  /**
1241
1301
  * @public
1242
1302
  * <p>Program transition configuration.</p>
@@ -1,9 +1,10 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { MediaTailorServiceException as __BaseException } from "./MediaTailorServiceException";
3
- export declare enum MessageType {
4
- SPLICE_INSERT = "SPLICE_INSERT",
5
- TIME_SIGNAL = "TIME_SIGNAL",
6
- }
3
+ export declare const MessageType: {
4
+ readonly SPLICE_INSERT: "SPLICE_INSERT";
5
+ readonly TIME_SIGNAL: "TIME_SIGNAL";
6
+ };
7
+ export type MessageType = (typeof MessageType)[keyof typeof MessageType];
7
8
  export interface SlateSource {
8
9
  SourceLocationName?: string;
9
10
  VodSourceName?: string;
@@ -41,16 +42,18 @@ export interface Alert {
41
42
  RelatedResourceArns: string[] | undefined;
42
43
  ResourceArn: string | undefined;
43
44
  }
44
- export declare enum Operator {
45
- EQUALS = "EQUALS",
46
- }
45
+ export declare const Operator: {
46
+ readonly EQUALS: "EQUALS";
47
+ };
48
+ export type Operator = (typeof Operator)[keyof typeof Operator];
47
49
  export interface AvailMatchingCriteria {
48
50
  DynamicVariable: string | undefined;
49
51
  Operator: Operator | string | undefined;
50
52
  }
51
- export declare enum LogType {
52
- AS_RUN = "AS_RUN",
53
- }
53
+ export declare const LogType: {
54
+ readonly AS_RUN: "AS_RUN";
55
+ };
56
+ export type LogType = (typeof LogType)[keyof typeof LogType];
54
57
  export interface LogConfigurationForChannel {
55
58
  LogTypes?: (LogType | string)[];
56
59
  }
@@ -83,10 +86,11 @@ export interface Channel {
83
86
  Tier: string | undefined;
84
87
  LogConfiguration: LogConfigurationForChannel | undefined;
85
88
  }
86
- export declare enum Type {
87
- DASH = "DASH",
88
- HLS = "HLS",
89
- }
89
+ export declare const Type: {
90
+ readonly DASH: "DASH";
91
+ readonly HLS: "HLS";
92
+ };
93
+ export type Type = (typeof Type)[keyof typeof Type];
90
94
  export interface HttpPackageConfiguration {
91
95
  Path: string | undefined;
92
96
  SourceGroup: string | undefined;
@@ -101,10 +105,11 @@ export interface LiveSource {
101
105
  SourceLocationName: string | undefined;
102
106
  Tags?: Record<string, string>;
103
107
  }
104
- export declare enum Mode {
105
- BEHIND_LIVE_EDGE = "BEHIND_LIVE_EDGE",
106
- OFF = "OFF",
107
- }
108
+ export declare const Mode: {
109
+ readonly BEHIND_LIVE_EDGE: "BEHIND_LIVE_EDGE";
110
+ readonly OFF: "OFF";
111
+ };
112
+ export type Mode = (typeof Mode)[keyof typeof Mode];
108
113
  export interface AvailSuppression {
109
114
  Mode?: Mode | string;
110
115
  Value?: string;
@@ -117,10 +122,12 @@ export interface CdnConfiguration {
117
122
  AdSegmentUrlPrefix?: string;
118
123
  ContentSegmentUrlPrefix?: string;
119
124
  }
120
- export declare enum OriginManifestType {
121
- MULTI_PERIOD = "MULTI_PERIOD",
122
- SINGLE_PERIOD = "SINGLE_PERIOD",
123
- }
125
+ export declare const OriginManifestType: {
126
+ readonly MULTI_PERIOD: "MULTI_PERIOD";
127
+ readonly SINGLE_PERIOD: "SINGLE_PERIOD";
128
+ };
129
+ export type OriginManifestType =
130
+ (typeof OriginManifestType)[keyof typeof OriginManifestType];
124
131
  export interface DashConfiguration {
125
132
  ManifestEndpointPrefix?: string;
126
133
  MpdLocation?: string;
@@ -187,10 +194,12 @@ export interface ScheduleAdBreak {
187
194
  SourceLocationName?: string;
188
195
  VodSourceName?: string;
189
196
  }
190
- export declare enum ScheduleEntryType {
191
- FILLER_SLATE = "FILLER_SLATE",
192
- PROGRAM = "PROGRAM",
193
- }
197
+ export declare const ScheduleEntryType: {
198
+ readonly FILLER_SLATE: "FILLER_SLATE";
199
+ readonly PROGRAM: "PROGRAM";
200
+ };
201
+ export type ScheduleEntryType =
202
+ (typeof ScheduleEntryType)[keyof typeof ScheduleEntryType];
194
203
  export interface ScheduleEntry {
195
204
  ApproximateDurationSeconds?: number;
196
205
  ApproximateStartTime?: Date;
@@ -207,10 +216,11 @@ export interface SegmentDeliveryConfiguration {
207
216
  BaseUrl?: string;
208
217
  Name?: string;
209
218
  }
210
- export declare enum AccessType {
211
- S3_SIGV4 = "S3_SIGV4",
212
- SECRETS_MANAGER_ACCESS_TOKEN = "SECRETS_MANAGER_ACCESS_TOKEN",
213
- }
219
+ export declare const AccessType: {
220
+ readonly S3_SIGV4: "S3_SIGV4";
221
+ readonly SECRETS_MANAGER_ACCESS_TOKEN: "SECRETS_MANAGER_ACCESS_TOKEN";
222
+ };
223
+ export type AccessType = (typeof AccessType)[keyof typeof AccessType];
214
224
  export interface SecretsManagerAccessTokenConfiguration {
215
225
  HeaderName?: string;
216
226
  SecretArn?: string;
@@ -283,14 +293,16 @@ export interface RequestOutputItem {
283
293
  ManifestName: string | undefined;
284
294
  SourceGroup: string | undefined;
285
295
  }
286
- export declare enum PlaybackMode {
287
- LINEAR = "LINEAR",
288
- LOOP = "LOOP",
289
- }
290
- export declare enum Tier {
291
- BASIC = "BASIC",
292
- STANDARD = "STANDARD",
293
- }
296
+ export declare const PlaybackMode: {
297
+ readonly LINEAR: "LINEAR";
298
+ readonly LOOP: "LOOP";
299
+ };
300
+ export type PlaybackMode = (typeof PlaybackMode)[keyof typeof PlaybackMode];
301
+ export declare const Tier: {
302
+ readonly BASIC: "BASIC";
303
+ readonly STANDARD: "STANDARD";
304
+ };
305
+ export type Tier = (typeof Tier)[keyof typeof Tier];
294
306
  export interface CreateChannelRequest {
295
307
  ChannelName: string | undefined;
296
308
  FillerSlate?: SlateSource;
@@ -299,10 +311,11 @@ export interface CreateChannelRequest {
299
311
  Tags?: Record<string, string>;
300
312
  Tier?: Tier | string;
301
313
  }
302
- export declare enum ChannelState {
303
- RUNNING = "RUNNING",
304
- STOPPED = "STOPPED",
305
- }
314
+ export declare const ChannelState: {
315
+ readonly RUNNING: "RUNNING";
316
+ readonly STOPPED: "STOPPED";
317
+ };
318
+ export type ChannelState = (typeof ChannelState)[keyof typeof ChannelState];
306
319
  export interface CreateChannelResponse {
307
320
  Arn?: string;
308
321
  ChannelName?: string;
@@ -356,10 +369,12 @@ export interface ListChannelsResponse {
356
369
  export interface ClipRange {
357
370
  EndOffsetMillis: number | undefined;
358
371
  }
359
- export declare enum RelativePosition {
360
- AFTER_PROGRAM = "AFTER_PROGRAM",
361
- BEFORE_PROGRAM = "BEFORE_PROGRAM",
362
- }
372
+ export declare const RelativePosition: {
373
+ readonly AFTER_PROGRAM: "AFTER_PROGRAM";
374
+ readonly BEFORE_PROGRAM: "BEFORE_PROGRAM";
375
+ };
376
+ export type RelativePosition =
377
+ (typeof RelativePosition)[keyof typeof RelativePosition];
363
378
  export interface Transition {
364
379
  DurationMillis?: number;
365
380
  RelativePosition: RelativePosition | string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediatailor",
3
3
  "description": "AWS SDK for JavaScript Mediatailor Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.306.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",