@aws-sdk/client-mediatailor 3.300.0 → 3.303.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 (49) hide show
  1. package/dist-cjs/models/models_0.js +46 -58
  2. package/dist-es/models/models_0.js +46 -58
  3. package/dist-types/commands/ConfigureLogsForChannelCommand.d.ts +2 -2
  4. package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateChannelCommand.d.ts +7 -7
  6. package/dist-types/commands/CreateLiveSourceCommand.d.ts +4 -4
  7. package/dist-types/commands/CreatePrefetchScheduleCommand.d.ts +6 -6
  8. package/dist-types/commands/CreateProgramCommand.d.ts +11 -11
  9. package/dist-types/commands/CreateSourceLocationCommand.d.ts +8 -8
  10. package/dist-types/commands/CreateVodSourceCommand.d.ts +4 -4
  11. package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteLiveSourceCommand.d.ts +1 -1
  14. package/dist-types/commands/DeletePlaybackConfigurationCommand.d.ts +1 -1
  15. package/dist-types/commands/DeletePrefetchScheduleCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteProgramCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteSourceLocationCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteVodSourceCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeChannelCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeLiveSourceCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeProgramCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeSourceLocationCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeVodSourceCommand.d.ts +1 -1
  24. package/dist-types/commands/GetChannelPolicyCommand.d.ts +1 -1
  25. package/dist-types/commands/GetChannelScheduleCommand.d.ts +1 -1
  26. package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +1 -1
  27. package/dist-types/commands/GetPrefetchScheduleCommand.d.ts +1 -1
  28. package/dist-types/commands/ListAlertsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListLiveSourcesCommand.d.ts +1 -1
  31. package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListPrefetchSchedulesCommand.d.ts +1 -1
  33. package/dist-types/commands/ListSourceLocationsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  35. package/dist-types/commands/ListVodSourcesCommand.d.ts +1 -1
  36. package/dist-types/commands/PutChannelPolicyCommand.d.ts +1 -1
  37. package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +10 -10
  38. package/dist-types/commands/StartChannelCommand.d.ts +1 -1
  39. package/dist-types/commands/StopChannelCommand.d.ts +1 -1
  40. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  41. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  42. package/dist-types/commands/UpdateChannelCommand.d.ts +6 -6
  43. package/dist-types/commands/UpdateLiveSourceCommand.d.ts +3 -3
  44. package/dist-types/commands/UpdateProgramCommand.d.ts +11 -11
  45. package/dist-types/commands/UpdateSourceLocationCommand.d.ts +7 -7
  46. package/dist-types/commands/UpdateVodSourceCommand.d.ts +3 -3
  47. package/dist-types/models/models_0.d.ts +106 -46
  48. package/dist-types/ts3.4/models/models_0.d.ts +61 -46
  49. package/package.json +34 -34
@@ -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.300.0",
4
+ "version": "3.303.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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.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.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.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.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.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",