@aws-sdk/client-mediapackage 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.
@@ -1,18 +1,22 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { MediaPackageServiceException as __BaseException } from "./MediaPackageServiceException";
3
- export declare enum __AdTriggersElement {
4
- BREAK = "BREAK",
5
- DISTRIBUTOR_ADVERTISEMENT = "DISTRIBUTOR_ADVERTISEMENT",
6
- DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY = "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY",
7
- DISTRIBUTOR_PLACEMENT_OPPORTUNITY = "DISTRIBUTOR_PLACEMENT_OPPORTUNITY",
8
- PROVIDER_ADVERTISEMENT = "PROVIDER_ADVERTISEMENT",
9
- PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY = "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY",
10
- PROVIDER_PLACEMENT_OPPORTUNITY = "PROVIDER_PLACEMENT_OPPORTUNITY",
11
- SPLICE_INSERT = "SPLICE_INSERT",
12
- }
13
- export declare enum __PeriodTriggersElement {
14
- ADS = "ADS",
15
- }
3
+ export declare const __AdTriggersElement: {
4
+ readonly BREAK: "BREAK";
5
+ readonly DISTRIBUTOR_ADVERTISEMENT: "DISTRIBUTOR_ADVERTISEMENT";
6
+ readonly DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY";
7
+ readonly DISTRIBUTOR_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_PLACEMENT_OPPORTUNITY";
8
+ readonly PROVIDER_ADVERTISEMENT: "PROVIDER_ADVERTISEMENT";
9
+ readonly PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY: "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY";
10
+ readonly PROVIDER_PLACEMENT_OPPORTUNITY: "PROVIDER_PLACEMENT_OPPORTUNITY";
11
+ readonly SPLICE_INSERT: "SPLICE_INSERT";
12
+ };
13
+ export type __AdTriggersElement =
14
+ (typeof __AdTriggersElement)[keyof typeof __AdTriggersElement];
15
+ export declare const __PeriodTriggersElement: {
16
+ readonly ADS: "ADS";
17
+ };
18
+ export type __PeriodTriggersElement =
19
+ (typeof __PeriodTriggersElement)[keyof typeof __PeriodTriggersElement];
16
20
  export interface EgressAccessLogs {
17
21
  LogGroupName?: string;
18
22
  }
@@ -43,11 +47,12 @@ export interface S3Destination {
43
47
  ManifestKey: string | undefined;
44
48
  RoleArn: string | undefined;
45
49
  }
46
- export declare enum Status {
47
- FAILED = "FAILED",
48
- IN_PROGRESS = "IN_PROGRESS",
49
- SUCCEEDED = "SUCCEEDED",
50
- }
50
+ export declare const Status: {
51
+ readonly FAILED: "FAILED";
52
+ readonly IN_PROGRESS: "IN_PROGRESS";
53
+ readonly SUCCEEDED: "SUCCEEDED";
54
+ };
55
+ export type Status = (typeof Status)[keyof typeof Status];
51
56
  export interface HarvestJob {
52
57
  Arn?: string;
53
58
  ChannelId?: string;
@@ -59,23 +64,27 @@ export interface HarvestJob {
59
64
  StartTime?: string;
60
65
  Status?: Status | string;
61
66
  }
62
- export declare enum AdMarkers {
63
- DATERANGE = "DATERANGE",
64
- NONE = "NONE",
65
- PASSTHROUGH = "PASSTHROUGH",
66
- SCTE35_ENHANCED = "SCTE35_ENHANCED",
67
- }
68
- export declare enum AdsOnDeliveryRestrictions {
69
- BOTH = "BOTH",
70
- NONE = "NONE",
71
- RESTRICTED = "RESTRICTED",
72
- UNRESTRICTED = "UNRESTRICTED",
73
- }
74
- export declare enum PlaylistType {
75
- EVENT = "EVENT",
76
- NONE = "NONE",
77
- VOD = "VOD",
78
- }
67
+ export declare const AdMarkers: {
68
+ readonly DATERANGE: "DATERANGE";
69
+ readonly NONE: "NONE";
70
+ readonly PASSTHROUGH: "PASSTHROUGH";
71
+ readonly SCTE35_ENHANCED: "SCTE35_ENHANCED";
72
+ };
73
+ export type AdMarkers = (typeof AdMarkers)[keyof typeof AdMarkers];
74
+ export declare const AdsOnDeliveryRestrictions: {
75
+ readonly BOTH: "BOTH";
76
+ readonly NONE: "NONE";
77
+ readonly RESTRICTED: "RESTRICTED";
78
+ readonly UNRESTRICTED: "UNRESTRICTED";
79
+ };
80
+ export type AdsOnDeliveryRestrictions =
81
+ (typeof AdsOnDeliveryRestrictions)[keyof typeof AdsOnDeliveryRestrictions];
82
+ export declare const PlaylistType: {
83
+ readonly EVENT: "EVENT";
84
+ readonly NONE: "NONE";
85
+ readonly VOD: "VOD";
86
+ };
87
+ export type PlaylistType = (typeof PlaylistType)[keyof typeof PlaylistType];
79
88
  export interface HlsManifest {
80
89
  AdMarkers?: AdMarkers | string;
81
90
  Id: string | undefined;
@@ -103,29 +112,35 @@ export interface Authorization {
103
112
  CdnIdentifierSecret: string | undefined;
104
113
  SecretsRoleArn: string | undefined;
105
114
  }
106
- export declare enum CmafEncryptionMethod {
107
- AES_CTR = "AES_CTR",
108
- SAMPLE_AES = "SAMPLE_AES",
109
- }
110
- export declare enum PresetSpeke20Audio {
111
- PRESET_AUDIO_1 = "PRESET-AUDIO-1",
112
- PRESET_AUDIO_2 = "PRESET-AUDIO-2",
113
- PRESET_AUDIO_3 = "PRESET-AUDIO-3",
114
- SHARED = "SHARED",
115
- UNENCRYPTED = "UNENCRYPTED",
116
- }
117
- export declare enum PresetSpeke20Video {
118
- PRESET_VIDEO_1 = "PRESET-VIDEO-1",
119
- PRESET_VIDEO_2 = "PRESET-VIDEO-2",
120
- PRESET_VIDEO_3 = "PRESET-VIDEO-3",
121
- PRESET_VIDEO_4 = "PRESET-VIDEO-4",
122
- PRESET_VIDEO_5 = "PRESET-VIDEO-5",
123
- PRESET_VIDEO_6 = "PRESET-VIDEO-6",
124
- PRESET_VIDEO_7 = "PRESET-VIDEO-7",
125
- PRESET_VIDEO_8 = "PRESET-VIDEO-8",
126
- SHARED = "SHARED",
127
- UNENCRYPTED = "UNENCRYPTED",
128
- }
115
+ export declare const CmafEncryptionMethod: {
116
+ readonly AES_CTR: "AES_CTR";
117
+ readonly SAMPLE_AES: "SAMPLE_AES";
118
+ };
119
+ export type CmafEncryptionMethod =
120
+ (typeof CmafEncryptionMethod)[keyof typeof CmafEncryptionMethod];
121
+ export declare const PresetSpeke20Audio: {
122
+ readonly PRESET_AUDIO_1: "PRESET-AUDIO-1";
123
+ readonly PRESET_AUDIO_2: "PRESET-AUDIO-2";
124
+ readonly PRESET_AUDIO_3: "PRESET-AUDIO-3";
125
+ readonly SHARED: "SHARED";
126
+ readonly UNENCRYPTED: "UNENCRYPTED";
127
+ };
128
+ export type PresetSpeke20Audio =
129
+ (typeof PresetSpeke20Audio)[keyof typeof PresetSpeke20Audio];
130
+ export declare const PresetSpeke20Video: {
131
+ readonly PRESET_VIDEO_1: "PRESET-VIDEO-1";
132
+ readonly PRESET_VIDEO_2: "PRESET-VIDEO-2";
133
+ readonly PRESET_VIDEO_3: "PRESET-VIDEO-3";
134
+ readonly PRESET_VIDEO_4: "PRESET-VIDEO-4";
135
+ readonly PRESET_VIDEO_5: "PRESET-VIDEO-5";
136
+ readonly PRESET_VIDEO_6: "PRESET-VIDEO-6";
137
+ readonly PRESET_VIDEO_7: "PRESET-VIDEO-7";
138
+ readonly PRESET_VIDEO_8: "PRESET-VIDEO-8";
139
+ readonly SHARED: "SHARED";
140
+ readonly UNENCRYPTED: "UNENCRYPTED";
141
+ };
142
+ export type PresetSpeke20Video =
143
+ (typeof PresetSpeke20Video)[keyof typeof PresetSpeke20Video];
129
144
  export interface EncryptionContractConfiguration {
130
145
  PresetSpeke20Audio: PresetSpeke20Audio | string | undefined;
131
146
  PresetSpeke20Video: PresetSpeke20Video | string | undefined;
@@ -144,11 +159,12 @@ export interface CmafEncryption {
144
159
  KeyRotationIntervalSeconds?: number;
145
160
  SpekeKeyProvider: SpekeKeyProvider | undefined;
146
161
  }
147
- export declare enum StreamOrder {
148
- ORIGINAL = "ORIGINAL",
149
- VIDEO_BITRATE_ASCENDING = "VIDEO_BITRATE_ASCENDING",
150
- VIDEO_BITRATE_DESCENDING = "VIDEO_BITRATE_DESCENDING",
151
- }
162
+ export declare const StreamOrder: {
163
+ readonly ORIGINAL: "ORIGINAL";
164
+ readonly VIDEO_BITRATE_ASCENDING: "VIDEO_BITRATE_ASCENDING";
165
+ readonly VIDEO_BITRATE_DESCENDING: "VIDEO_BITRATE_DESCENDING";
166
+ };
167
+ export type StreamOrder = (typeof StreamOrder)[keyof typeof StreamOrder];
152
168
  export interface StreamSelection {
153
169
  MaxVideoBitsPerSecond?: number;
154
170
  MinVideoBitsPerSecond?: number;
@@ -165,27 +181,33 @@ export interface DashEncryption {
165
181
  KeyRotationIntervalSeconds?: number;
166
182
  SpekeKeyProvider: SpekeKeyProvider | undefined;
167
183
  }
168
- export declare enum ManifestLayout {
169
- COMPACT = "COMPACT",
170
- FULL = "FULL",
171
- }
172
- export declare enum Profile {
173
- DVB_DASH_2014 = "DVB_DASH_2014",
174
- HBBTV_1_5 = "HBBTV_1_5",
175
- HYBRIDCAST = "HYBRIDCAST",
176
- NONE = "NONE",
177
- }
178
- export declare enum SegmentTemplateFormat {
179
- NUMBER_WITH_DURATION = "NUMBER_WITH_DURATION",
180
- NUMBER_WITH_TIMELINE = "NUMBER_WITH_TIMELINE",
181
- TIME_WITH_TIMELINE = "TIME_WITH_TIMELINE",
182
- }
183
- export declare enum UtcTiming {
184
- HTTP_HEAD = "HTTP-HEAD",
185
- HTTP_ISO = "HTTP-ISO",
186
- HTTP_XSDATE = "HTTP-XSDATE",
187
- NONE = "NONE",
188
- }
184
+ export declare const ManifestLayout: {
185
+ readonly COMPACT: "COMPACT";
186
+ readonly FULL: "FULL";
187
+ };
188
+ export type ManifestLayout =
189
+ (typeof ManifestLayout)[keyof typeof ManifestLayout];
190
+ export declare const Profile: {
191
+ readonly DVB_DASH_2014: "DVB_DASH_2014";
192
+ readonly HBBTV_1_5: "HBBTV_1_5";
193
+ readonly HYBRIDCAST: "HYBRIDCAST";
194
+ readonly NONE: "NONE";
195
+ };
196
+ export type Profile = (typeof Profile)[keyof typeof Profile];
197
+ export declare const SegmentTemplateFormat: {
198
+ readonly NUMBER_WITH_DURATION: "NUMBER_WITH_DURATION";
199
+ readonly NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE";
200
+ readonly TIME_WITH_TIMELINE: "TIME_WITH_TIMELINE";
201
+ };
202
+ export type SegmentTemplateFormat =
203
+ (typeof SegmentTemplateFormat)[keyof typeof SegmentTemplateFormat];
204
+ export declare const UtcTiming: {
205
+ readonly HTTP_HEAD: "HTTP-HEAD";
206
+ readonly HTTP_ISO: "HTTP-ISO";
207
+ readonly HTTP_XSDATE: "HTTP-XSDATE";
208
+ readonly NONE: "NONE";
209
+ };
210
+ export type UtcTiming = (typeof UtcTiming)[keyof typeof UtcTiming];
189
211
  export interface DashPackage {
190
212
  AdTriggers?: (__AdTriggersElement | string)[];
191
213
  AdsOnDeliveryRestrictions?: AdsOnDeliveryRestrictions | string;
@@ -204,10 +226,12 @@ export interface DashPackage {
204
226
  UtcTiming?: UtcTiming | string;
205
227
  UtcTimingUri?: string;
206
228
  }
207
- export declare enum EncryptionMethod {
208
- AES_128 = "AES_128",
209
- SAMPLE_AES = "SAMPLE_AES",
210
- }
229
+ export declare const EncryptionMethod: {
230
+ readonly AES_128: "AES_128";
231
+ readonly SAMPLE_AES: "SAMPLE_AES";
232
+ };
233
+ export type EncryptionMethod =
234
+ (typeof EncryptionMethod)[keyof typeof EncryptionMethod];
211
235
  export interface HlsEncryption {
212
236
  ConstantInitializationVector?: string;
213
237
  EncryptionMethod?: EncryptionMethod | string;
@@ -238,10 +262,11 @@ export interface MssPackage {
238
262
  SegmentDurationSeconds?: number;
239
263
  StreamSelection?: StreamSelection;
240
264
  }
241
- export declare enum Origination {
242
- ALLOW = "ALLOW",
243
- DENY = "DENY",
244
- }
265
+ export declare const Origination: {
266
+ readonly ALLOW: "ALLOW";
267
+ readonly DENY: "DENY";
268
+ };
269
+ export type Origination = (typeof Origination)[keyof typeof Origination];
245
270
  export interface OriginEndpoint {
246
271
  Arn?: string;
247
272
  Authorization?: Authorization;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackage",
3
3
  "description": "AWS SDK for JavaScript Mediapackage 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",