@aws-sdk/client-mediatailor 3.428.0 → 3.429.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.
@@ -141,7 +141,7 @@ export interface AdBreak {
141
141
  * @public
142
142
  * <p>The SCTE-35 ad insertion type. Accepted value: <code>SPLICE_INSERT</code>, <code>TIME_SIGNAL</code>.</p>
143
143
  */
144
- MessageType?: MessageType | string;
144
+ MessageType?: MessageType;
145
145
  /**
146
146
  * @public
147
147
  * <p>How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall within 100ms of a segment boundary, otherwise the ad break will be skipped.</p>
@@ -217,7 +217,7 @@ export interface Alert {
217
217
  * @public
218
218
  * <p>The category that MediaTailor assigns to the alert.</p>
219
219
  */
220
- Category?: AlertCategory | string;
220
+ Category?: AlertCategory;
221
221
  }
222
222
  /**
223
223
  * @public
@@ -247,7 +247,7 @@ export interface AvailMatchingCriteria {
247
247
  * @public
248
248
  * <p>For the <code>DynamicVariable</code> specified in <code>AvailMatchingCriteria</code>, the Operator that is used for the comparison.</p>
249
249
  */
250
- Operator: Operator | string | undefined;
250
+ Operator: Operator | undefined;
251
251
  }
252
252
  /**
253
253
  * @public
@@ -269,7 +269,7 @@ export interface LogConfigurationForChannel {
269
269
  * @public
270
270
  * <p>The log types.</p>
271
271
  */
272
- LogTypes?: (LogType | string)[];
272
+ LogTypes?: LogType[];
273
273
  }
274
274
  /**
275
275
  * @public
@@ -323,7 +323,7 @@ export interface HlsPlaylistSettings {
323
323
  * @public
324
324
  * <p>Determines the type of SCTE 35 tags to use in ad markup. Specify <code>DATERANGE</code> to use <code>DATERANGE</code> tags (for live or VOD content). Specify <code>SCTE35_ENHANCED</code> to use <code>EXT-X-CUE-OUT</code> and <code>EXT-X-CUE-IN</code> tags (for VOD content only).</p>
325
325
  */
326
- AdMarkupType?: (AdMarkupType | string)[];
326
+ AdMarkupType?: AdMarkupType[];
327
327
  }
328
328
  /**
329
329
  * @public
@@ -454,7 +454,7 @@ export interface HttpPackageConfiguration {
454
454
  * @public
455
455
  * <p>The streaming protocol for this package configuration. Supported values are <code>HLS</code> and <code>DASH</code>.</p>
456
456
  */
457
- Type: Type | string | undefined;
457
+ Type: Type | undefined;
458
458
  }
459
459
  /**
460
460
  * @public
@@ -531,7 +531,7 @@ export interface AvailSuppression {
531
531
  * @public
532
532
  * <p>Sets the ad suppression mode. By default, ad suppression is off and all ad breaks are filled with ads or slate. When Mode is set to <code>BEHIND_LIVE_EDGE</code>, ad suppression is active and MediaTailor won't fill ad breaks on or behind the ad suppression Value time in the manifest lookback window. When Mode is set to <code>AFTER_LIVE_EDGE</code>, ad suppression is active and MediaTailor won't fill ad breaks that are within the live edge plus the avail suppression value.</p>
533
533
  */
534
- Mode?: Mode | string;
534
+ Mode?: Mode;
535
535
  /**
536
536
  * @public
537
537
  * <p>A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on or behind this time in the manifest lookback window. If Value is set to 00:00:00, it is in sync with the live edge, and MediaTailor won't fill any ad breaks on or behind the live edge. If you set a Value time, MediaTailor won't fill any ad breaks on or behind this time in the manifest lookback window. For example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur within 45 minutes behind the live edge, but won't fill ad breaks on or behind 45 minutes behind the live edge.</p>
@@ -541,7 +541,7 @@ export interface AvailSuppression {
541
541
  * @public
542
542
  * <p>Defines the policy to apply to the avail suppression mode. <code>BEHIND_LIVE_EDGE</code> will always use the full avail suppression policy. <code>AFTER_LIVE_EDGE</code> mode can be used to invoke partial ad break fills when a session starts mid-break.</p>
543
543
  */
544
- FillPolicy?: FillPolicy | string;
544
+ FillPolicy?: FillPolicy;
545
545
  }
546
546
  /**
547
547
  * @public
@@ -606,7 +606,7 @@ export interface DashConfiguration {
606
606
  * @public
607
607
  * <p>The setting that controls whether MediaTailor handles manifests from the origin server as multi-period manifests or single-period manifests. If your origin server produces single-period manifests, set this to <code>SINGLE_PERIOD</code>. The default setting is <code>MULTI_PERIOD</code>. For multi-period manifests, omit this setting or set it to <code>MULTI_PERIOD</code>.</p>
608
608
  */
609
- OriginManifestType?: OriginManifestType | string;
609
+ OriginManifestType?: OriginManifestType;
610
610
  }
611
611
  /**
612
612
  * @public
@@ -934,7 +934,7 @@ export interface ScheduleEntry {
934
934
  * @public
935
935
  * <p>The type of schedule entry.</p>
936
936
  */
937
- ScheduleEntryType?: ScheduleEntryType | string;
937
+ ScheduleEntryType?: ScheduleEntryType;
938
938
  /**
939
939
  * @public
940
940
  * <p>The name of the source location.</p>
@@ -1021,7 +1021,7 @@ export interface AccessConfiguration {
1021
1021
  * <p>• The <code>mediatailor.amazonaws.com</code> service principal must have permissions to read all top-level manifests referenced by the <code>VodSource</code> packaging configurations.</p>
1022
1022
  * <p>• The caller of the API must have <code>s3:GetObject</code> IAM permissions to read all top level manifests referenced by your MediaTailor <code>VodSource</code> packaging configurations.</p>
1023
1023
  */
1024
- AccessType?: AccessType | string;
1024
+ AccessType?: AccessType;
1025
1025
  /**
1026
1026
  * @public
1027
1027
  * <p>AWS Secrets Manager access token configuration parameters.</p>
@@ -1234,7 +1234,7 @@ export interface ConfigureLogsForChannelRequest {
1234
1234
  * @public
1235
1235
  * <p>The types of logs to collect.</p>
1236
1236
  */
1237
- LogTypes: (LogType | string)[] | undefined;
1237
+ LogTypes: LogType[] | undefined;
1238
1238
  }
1239
1239
  /**
1240
1240
  * @public
@@ -1249,7 +1249,7 @@ export interface ConfigureLogsForChannelResponse {
1249
1249
  * @public
1250
1250
  * <p>The types of logs collected.</p>
1251
1251
  */
1252
- LogTypes?: (LogType | string)[];
1252
+ LogTypes?: LogType[];
1253
1253
  }
1254
1254
  /**
1255
1255
  * @public
@@ -1330,7 +1330,7 @@ export interface CreateChannelRequest {
1330
1330
  * <p>
1331
1331
  * <code>LOOP</code> - The programs in the schedule play back-to-back in an endless loop. When the last program in the schedule stops playing, playback loops back to the first program in the schedule.</p>
1332
1332
  */
1333
- PlaybackMode: PlaybackMode | string | undefined;
1333
+ PlaybackMode: PlaybackMode | undefined;
1334
1334
  /**
1335
1335
  * @public
1336
1336
  * <p>The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html">Tagging AWS Elemental MediaTailor Resources</a>.</p>
@@ -1340,7 +1340,7 @@ export interface CreateChannelRequest {
1340
1340
  * @public
1341
1341
  * <p>The tier of the channel.</p>
1342
1342
  */
1343
- Tier?: Tier | string;
1343
+ Tier?: Tier;
1344
1344
  }
1345
1345
  /**
1346
1346
  * @public
@@ -1372,7 +1372,7 @@ export interface CreateChannelResponse {
1372
1372
  * @public
1373
1373
  * <p>Indicates whether the channel is in a running state or not.</p>
1374
1374
  */
1375
- ChannelState?: ChannelState | string;
1375
+ ChannelState?: ChannelState;
1376
1376
  /**
1377
1377
  * @public
1378
1378
  * <p>The timestamp of when the channel was created.</p>
@@ -1452,7 +1452,7 @@ export interface DescribeChannelResponse {
1452
1452
  * @public
1453
1453
  * <p>Indicates whether the channel is in a running state or not.</p>
1454
1454
  */
1455
- ChannelState?: ChannelState | string;
1455
+ ChannelState?: ChannelState;
1456
1456
  /**
1457
1457
  * @public
1458
1458
  * <p>The timestamp of when the channel was created.</p>
@@ -1604,7 +1604,7 @@ export interface Transition {
1604
1604
  * @public
1605
1605
  * <p>The position where this program will be inserted relative to the <code>RelativePosition</code>.</p>
1606
1606
  */
1607
- RelativePosition: RelativePosition | string | undefined;
1607
+ RelativePosition: RelativePosition | undefined;
1608
1608
  /**
1609
1609
  * @public
1610
1610
  * <p>The name of the program that this program will be inserted next to, as defined by <code>RelativePosition</code>.</p>
@@ -2027,7 +2027,7 @@ export interface UpdateChannelResponse {
2027
2027
  * @public
2028
2028
  * <p>Returns the state whether the channel is running or not.</p>
2029
2029
  */
2030
- ChannelState?: ChannelState | string;
2030
+ ChannelState?: ChannelState;
2031
2031
  /**
2032
2032
  * @public
2033
2033
  * <p>The timestamp of when the channel was created.</p>
@@ -2397,7 +2397,7 @@ export interface DashConfigurationForPut {
2397
2397
  * @public
2398
2398
  * <p>The setting that controls whether MediaTailor handles manifests from the origin server as multi-period manifests or single-period manifests. If your origin server produces single-period manifests, set this to <code>SINGLE_PERIOD</code>. The default setting is <code>MULTI_PERIOD</code>. For multi-period manifests, omit this setting or set it to <code>MULTI_PERIOD</code>.</p>
2399
2399
  */
2400
- OriginManifestType?: OriginManifestType | string;
2400
+ OriginManifestType?: OriginManifestType;
2401
2401
  }
2402
2402
  /**
2403
2403
  * @public
@@ -33,7 +33,7 @@ export interface TimeSignalMessage {
33
33
  SegmentationDescriptors?: SegmentationDescriptor[];
34
34
  }
35
35
  export interface AdBreak {
36
- MessageType?: MessageType | string;
36
+ MessageType?: MessageType;
37
37
  OffsetMillis?: number;
38
38
  Slate?: SlateSource;
39
39
  SpliceInsertMessage?: SpliceInsertMessage;
@@ -52,7 +52,7 @@ export interface Alert {
52
52
  LastModifiedTime: Date | undefined;
53
53
  RelatedResourceArns: string[] | undefined;
54
54
  ResourceArn: string | undefined;
55
- Category?: AlertCategory | string;
55
+ Category?: AlertCategory;
56
56
  }
57
57
  export declare const Operator: {
58
58
  readonly EQUALS: "EQUALS";
@@ -60,14 +60,14 @@ export declare const Operator: {
60
60
  export type Operator = (typeof Operator)[keyof typeof Operator];
61
61
  export interface AvailMatchingCriteria {
62
62
  DynamicVariable: string | undefined;
63
- Operator: Operator | string | undefined;
63
+ Operator: Operator | undefined;
64
64
  }
65
65
  export declare const LogType: {
66
66
  readonly AS_RUN: "AS_RUN";
67
67
  };
68
68
  export type LogType = (typeof LogType)[keyof typeof LogType];
69
69
  export interface LogConfigurationForChannel {
70
- LogTypes?: (LogType | string)[];
70
+ LogTypes?: LogType[];
71
71
  }
72
72
  export interface DashPlaylistSettings {
73
73
  ManifestWindowSeconds?: number;
@@ -82,7 +82,7 @@ export declare const AdMarkupType: {
82
82
  export type AdMarkupType = (typeof AdMarkupType)[keyof typeof AdMarkupType];
83
83
  export interface HlsPlaylistSettings {
84
84
  ManifestWindowSeconds?: number;
85
- AdMarkupType?: (AdMarkupType | string)[];
85
+ AdMarkupType?: AdMarkupType[];
86
86
  }
87
87
  export interface ResponseOutputItem {
88
88
  DashPlaylistSettings?: DashPlaylistSettings;
@@ -112,7 +112,7 @@ export type Type = (typeof Type)[keyof typeof Type];
112
112
  export interface HttpPackageConfiguration {
113
113
  Path: string | undefined;
114
114
  SourceGroup: string | undefined;
115
- Type: Type | string | undefined;
115
+ Type: Type | undefined;
116
116
  }
117
117
  export interface LiveSource {
118
118
  Arn: string | undefined;
@@ -135,9 +135,9 @@ export declare const Mode: {
135
135
  };
136
136
  export type Mode = (typeof Mode)[keyof typeof Mode];
137
137
  export interface AvailSuppression {
138
- Mode?: Mode | string;
138
+ Mode?: Mode;
139
139
  Value?: string;
140
- FillPolicy?: FillPolicy | string;
140
+ FillPolicy?: FillPolicy;
141
141
  }
142
142
  export interface Bumper {
143
143
  EndUrl?: string;
@@ -156,7 +156,7 @@ export type OriginManifestType =
156
156
  export interface DashConfiguration {
157
157
  ManifestEndpointPrefix?: string;
158
158
  MpdLocation?: string;
159
- OriginManifestType?: OriginManifestType | string;
159
+ OriginManifestType?: OriginManifestType;
160
160
  }
161
161
  export interface HlsConfiguration {
162
162
  ManifestEndpointPrefix?: string;
@@ -233,7 +233,7 @@ export interface ScheduleEntry {
233
233
  LiveSourceName?: string;
234
234
  ProgramName: string | undefined;
235
235
  ScheduleAdBreaks?: ScheduleAdBreak[];
236
- ScheduleEntryType?: ScheduleEntryType | string;
236
+ ScheduleEntryType?: ScheduleEntryType;
237
237
  SourceLocationName: string | undefined;
238
238
  VodSourceName?: string;
239
239
  }
@@ -253,7 +253,7 @@ export interface SecretsManagerAccessTokenConfiguration {
253
253
  SecretStringKey?: string;
254
254
  }
255
255
  export interface AccessConfiguration {
256
- AccessType?: AccessType | string;
256
+ AccessType?: AccessType;
257
257
  SecretsManagerAccessTokenConfiguration?: SecretsManagerAccessTokenConfiguration;
258
258
  }
259
259
  export interface DefaultSegmentDeliveryConfiguration {
@@ -310,11 +310,11 @@ export interface PutChannelPolicyRequest {
310
310
  export interface PutChannelPolicyResponse {}
311
311
  export interface ConfigureLogsForChannelRequest {
312
312
  ChannelName: string | undefined;
313
- LogTypes: (LogType | string)[] | undefined;
313
+ LogTypes: LogType[] | undefined;
314
314
  }
315
315
  export interface ConfigureLogsForChannelResponse {
316
316
  ChannelName?: string;
317
- LogTypes?: (LogType | string)[];
317
+ LogTypes?: LogType[];
318
318
  }
319
319
  export interface RequestOutputItem {
320
320
  DashPlaylistSettings?: DashPlaylistSettings;
@@ -336,9 +336,9 @@ export interface CreateChannelRequest {
336
336
  ChannelName: string | undefined;
337
337
  FillerSlate?: SlateSource;
338
338
  Outputs: RequestOutputItem[] | undefined;
339
- PlaybackMode: PlaybackMode | string | undefined;
339
+ PlaybackMode: PlaybackMode | undefined;
340
340
  Tags?: Record<string, string>;
341
- Tier?: Tier | string;
341
+ Tier?: Tier;
342
342
  }
343
343
  export declare const ChannelState: {
344
344
  readonly RUNNING: "RUNNING";
@@ -348,7 +348,7 @@ export type ChannelState = (typeof ChannelState)[keyof typeof ChannelState];
348
348
  export interface CreateChannelResponse {
349
349
  Arn?: string;
350
350
  ChannelName?: string;
351
- ChannelState?: ChannelState | string;
351
+ ChannelState?: ChannelState;
352
352
  CreationTime?: Date;
353
353
  FillerSlate?: SlateSource;
354
354
  LastModifiedTime?: Date;
@@ -367,7 +367,7 @@ export interface DescribeChannelRequest {
367
367
  export interface DescribeChannelResponse {
368
368
  Arn?: string;
369
369
  ChannelName?: string;
370
- ChannelState?: ChannelState | string;
370
+ ChannelState?: ChannelState;
371
371
  CreationTime?: Date;
372
372
  FillerSlate?: SlateSource;
373
373
  LastModifiedTime?: Date;
@@ -406,7 +406,7 @@ export type RelativePosition =
406
406
  (typeof RelativePosition)[keyof typeof RelativePosition];
407
407
  export interface Transition {
408
408
  DurationMillis?: number;
409
- RelativePosition: RelativePosition | string | undefined;
409
+ RelativePosition: RelativePosition | undefined;
410
410
  RelativeProgram?: string;
411
411
  ScheduledStartTimeMillis?: number;
412
412
  Type: string | undefined;
@@ -502,7 +502,7 @@ export interface UpdateChannelRequest {
502
502
  export interface UpdateChannelResponse {
503
503
  Arn?: string;
504
504
  ChannelName?: string;
505
- ChannelState?: ChannelState | string;
505
+ ChannelState?: ChannelState;
506
506
  CreationTime?: Date;
507
507
  FillerSlate?: SlateSource;
508
508
  LastModifiedTime?: Date;
@@ -585,7 +585,7 @@ export interface CreateVodSourceResponse {
585
585
  }
586
586
  export interface DashConfigurationForPut {
587
587
  MpdLocation?: string;
588
- OriginManifestType?: OriginManifestType | string;
588
+ OriginManifestType?: OriginManifestType;
589
589
  }
590
590
  export interface DeleteLiveSourceRequest {
591
591
  LiveSourceName: 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.428.0",
4
+ "version": "3.429.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,9 +21,9 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",