@aws-sdk/client-mediapackage 3.301.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.
@@ -2,114 +2,98 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UnprocessableEntityException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.Origination = exports.EncryptionMethod = exports.UtcTiming = exports.SegmentTemplateFormat = exports.Profile = exports.ManifestLayout = exports.StreamOrder = exports.PresetSpeke20Video = exports.PresetSpeke20Audio = exports.CmafEncryptionMethod = exports.PlaylistType = exports.AdsOnDeliveryRestrictions = exports.AdMarkers = exports.Status = exports.__PeriodTriggersElement = exports.__AdTriggersElement = void 0;
4
4
  const MediaPackageServiceException_1 = require("./MediaPackageServiceException");
5
- var __AdTriggersElement;
6
- (function (__AdTriggersElement) {
7
- __AdTriggersElement["BREAK"] = "BREAK";
8
- __AdTriggersElement["DISTRIBUTOR_ADVERTISEMENT"] = "DISTRIBUTOR_ADVERTISEMENT";
9
- __AdTriggersElement["DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"] = "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY";
10
- __AdTriggersElement["DISTRIBUTOR_PLACEMENT_OPPORTUNITY"] = "DISTRIBUTOR_PLACEMENT_OPPORTUNITY";
11
- __AdTriggersElement["PROVIDER_ADVERTISEMENT"] = "PROVIDER_ADVERTISEMENT";
12
- __AdTriggersElement["PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY"] = "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY";
13
- __AdTriggersElement["PROVIDER_PLACEMENT_OPPORTUNITY"] = "PROVIDER_PLACEMENT_OPPORTUNITY";
14
- __AdTriggersElement["SPLICE_INSERT"] = "SPLICE_INSERT";
15
- })(__AdTriggersElement = exports.__AdTriggersElement || (exports.__AdTriggersElement = {}));
16
- var __PeriodTriggersElement;
17
- (function (__PeriodTriggersElement) {
18
- __PeriodTriggersElement["ADS"] = "ADS";
19
- })(__PeriodTriggersElement = exports.__PeriodTriggersElement || (exports.__PeriodTriggersElement = {}));
20
- var Status;
21
- (function (Status) {
22
- Status["FAILED"] = "FAILED";
23
- Status["IN_PROGRESS"] = "IN_PROGRESS";
24
- Status["SUCCEEDED"] = "SUCCEEDED";
25
- })(Status = exports.Status || (exports.Status = {}));
26
- var AdMarkers;
27
- (function (AdMarkers) {
28
- AdMarkers["DATERANGE"] = "DATERANGE";
29
- AdMarkers["NONE"] = "NONE";
30
- AdMarkers["PASSTHROUGH"] = "PASSTHROUGH";
31
- AdMarkers["SCTE35_ENHANCED"] = "SCTE35_ENHANCED";
32
- })(AdMarkers = exports.AdMarkers || (exports.AdMarkers = {}));
33
- var AdsOnDeliveryRestrictions;
34
- (function (AdsOnDeliveryRestrictions) {
35
- AdsOnDeliveryRestrictions["BOTH"] = "BOTH";
36
- AdsOnDeliveryRestrictions["NONE"] = "NONE";
37
- AdsOnDeliveryRestrictions["RESTRICTED"] = "RESTRICTED";
38
- AdsOnDeliveryRestrictions["UNRESTRICTED"] = "UNRESTRICTED";
39
- })(AdsOnDeliveryRestrictions = exports.AdsOnDeliveryRestrictions || (exports.AdsOnDeliveryRestrictions = {}));
40
- var PlaylistType;
41
- (function (PlaylistType) {
42
- PlaylistType["EVENT"] = "EVENT";
43
- PlaylistType["NONE"] = "NONE";
44
- PlaylistType["VOD"] = "VOD";
45
- })(PlaylistType = exports.PlaylistType || (exports.PlaylistType = {}));
46
- var CmafEncryptionMethod;
47
- (function (CmafEncryptionMethod) {
48
- CmafEncryptionMethod["AES_CTR"] = "AES_CTR";
49
- CmafEncryptionMethod["SAMPLE_AES"] = "SAMPLE_AES";
50
- })(CmafEncryptionMethod = exports.CmafEncryptionMethod || (exports.CmafEncryptionMethod = {}));
51
- var PresetSpeke20Audio;
52
- (function (PresetSpeke20Audio) {
53
- PresetSpeke20Audio["PRESET_AUDIO_1"] = "PRESET-AUDIO-1";
54
- PresetSpeke20Audio["PRESET_AUDIO_2"] = "PRESET-AUDIO-2";
55
- PresetSpeke20Audio["PRESET_AUDIO_3"] = "PRESET-AUDIO-3";
56
- PresetSpeke20Audio["SHARED"] = "SHARED";
57
- PresetSpeke20Audio["UNENCRYPTED"] = "UNENCRYPTED";
58
- })(PresetSpeke20Audio = exports.PresetSpeke20Audio || (exports.PresetSpeke20Audio = {}));
59
- var PresetSpeke20Video;
60
- (function (PresetSpeke20Video) {
61
- PresetSpeke20Video["PRESET_VIDEO_1"] = "PRESET-VIDEO-1";
62
- PresetSpeke20Video["PRESET_VIDEO_2"] = "PRESET-VIDEO-2";
63
- PresetSpeke20Video["PRESET_VIDEO_3"] = "PRESET-VIDEO-3";
64
- PresetSpeke20Video["PRESET_VIDEO_4"] = "PRESET-VIDEO-4";
65
- PresetSpeke20Video["PRESET_VIDEO_5"] = "PRESET-VIDEO-5";
66
- PresetSpeke20Video["PRESET_VIDEO_6"] = "PRESET-VIDEO-6";
67
- PresetSpeke20Video["PRESET_VIDEO_7"] = "PRESET-VIDEO-7";
68
- PresetSpeke20Video["PRESET_VIDEO_8"] = "PRESET-VIDEO-8";
69
- PresetSpeke20Video["SHARED"] = "SHARED";
70
- PresetSpeke20Video["UNENCRYPTED"] = "UNENCRYPTED";
71
- })(PresetSpeke20Video = exports.PresetSpeke20Video || (exports.PresetSpeke20Video = {}));
72
- var StreamOrder;
73
- (function (StreamOrder) {
74
- StreamOrder["ORIGINAL"] = "ORIGINAL";
75
- StreamOrder["VIDEO_BITRATE_ASCENDING"] = "VIDEO_BITRATE_ASCENDING";
76
- StreamOrder["VIDEO_BITRATE_DESCENDING"] = "VIDEO_BITRATE_DESCENDING";
77
- })(StreamOrder = exports.StreamOrder || (exports.StreamOrder = {}));
78
- var ManifestLayout;
79
- (function (ManifestLayout) {
80
- ManifestLayout["COMPACT"] = "COMPACT";
81
- ManifestLayout["FULL"] = "FULL";
82
- })(ManifestLayout = exports.ManifestLayout || (exports.ManifestLayout = {}));
83
- var Profile;
84
- (function (Profile) {
85
- Profile["DVB_DASH_2014"] = "DVB_DASH_2014";
86
- Profile["HBBTV_1_5"] = "HBBTV_1_5";
87
- Profile["HYBRIDCAST"] = "HYBRIDCAST";
88
- Profile["NONE"] = "NONE";
89
- })(Profile = exports.Profile || (exports.Profile = {}));
90
- var SegmentTemplateFormat;
91
- (function (SegmentTemplateFormat) {
92
- SegmentTemplateFormat["NUMBER_WITH_DURATION"] = "NUMBER_WITH_DURATION";
93
- SegmentTemplateFormat["NUMBER_WITH_TIMELINE"] = "NUMBER_WITH_TIMELINE";
94
- SegmentTemplateFormat["TIME_WITH_TIMELINE"] = "TIME_WITH_TIMELINE";
95
- })(SegmentTemplateFormat = exports.SegmentTemplateFormat || (exports.SegmentTemplateFormat = {}));
96
- var UtcTiming;
97
- (function (UtcTiming) {
98
- UtcTiming["HTTP_HEAD"] = "HTTP-HEAD";
99
- UtcTiming["HTTP_ISO"] = "HTTP-ISO";
100
- UtcTiming["HTTP_XSDATE"] = "HTTP-XSDATE";
101
- UtcTiming["NONE"] = "NONE";
102
- })(UtcTiming = exports.UtcTiming || (exports.UtcTiming = {}));
103
- var EncryptionMethod;
104
- (function (EncryptionMethod) {
105
- EncryptionMethod["AES_128"] = "AES_128";
106
- EncryptionMethod["SAMPLE_AES"] = "SAMPLE_AES";
107
- })(EncryptionMethod = exports.EncryptionMethod || (exports.EncryptionMethod = {}));
108
- var Origination;
109
- (function (Origination) {
110
- Origination["ALLOW"] = "ALLOW";
111
- Origination["DENY"] = "DENY";
112
- })(Origination = exports.Origination || (exports.Origination = {}));
5
+ exports.__AdTriggersElement = {
6
+ BREAK: "BREAK",
7
+ DISTRIBUTOR_ADVERTISEMENT: "DISTRIBUTOR_ADVERTISEMENT",
8
+ DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY",
9
+ DISTRIBUTOR_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_PLACEMENT_OPPORTUNITY",
10
+ PROVIDER_ADVERTISEMENT: "PROVIDER_ADVERTISEMENT",
11
+ PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY: "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY",
12
+ PROVIDER_PLACEMENT_OPPORTUNITY: "PROVIDER_PLACEMENT_OPPORTUNITY",
13
+ SPLICE_INSERT: "SPLICE_INSERT",
14
+ };
15
+ exports.__PeriodTriggersElement = {
16
+ ADS: "ADS",
17
+ };
18
+ exports.Status = {
19
+ FAILED: "FAILED",
20
+ IN_PROGRESS: "IN_PROGRESS",
21
+ SUCCEEDED: "SUCCEEDED",
22
+ };
23
+ exports.AdMarkers = {
24
+ DATERANGE: "DATERANGE",
25
+ NONE: "NONE",
26
+ PASSTHROUGH: "PASSTHROUGH",
27
+ SCTE35_ENHANCED: "SCTE35_ENHANCED",
28
+ };
29
+ exports.AdsOnDeliveryRestrictions = {
30
+ BOTH: "BOTH",
31
+ NONE: "NONE",
32
+ RESTRICTED: "RESTRICTED",
33
+ UNRESTRICTED: "UNRESTRICTED",
34
+ };
35
+ exports.PlaylistType = {
36
+ EVENT: "EVENT",
37
+ NONE: "NONE",
38
+ VOD: "VOD",
39
+ };
40
+ exports.CmafEncryptionMethod = {
41
+ AES_CTR: "AES_CTR",
42
+ SAMPLE_AES: "SAMPLE_AES",
43
+ };
44
+ exports.PresetSpeke20Audio = {
45
+ PRESET_AUDIO_1: "PRESET-AUDIO-1",
46
+ PRESET_AUDIO_2: "PRESET-AUDIO-2",
47
+ PRESET_AUDIO_3: "PRESET-AUDIO-3",
48
+ SHARED: "SHARED",
49
+ UNENCRYPTED: "UNENCRYPTED",
50
+ };
51
+ exports.PresetSpeke20Video = {
52
+ PRESET_VIDEO_1: "PRESET-VIDEO-1",
53
+ PRESET_VIDEO_2: "PRESET-VIDEO-2",
54
+ PRESET_VIDEO_3: "PRESET-VIDEO-3",
55
+ PRESET_VIDEO_4: "PRESET-VIDEO-4",
56
+ PRESET_VIDEO_5: "PRESET-VIDEO-5",
57
+ PRESET_VIDEO_6: "PRESET-VIDEO-6",
58
+ PRESET_VIDEO_7: "PRESET-VIDEO-7",
59
+ PRESET_VIDEO_8: "PRESET-VIDEO-8",
60
+ SHARED: "SHARED",
61
+ UNENCRYPTED: "UNENCRYPTED",
62
+ };
63
+ exports.StreamOrder = {
64
+ ORIGINAL: "ORIGINAL",
65
+ VIDEO_BITRATE_ASCENDING: "VIDEO_BITRATE_ASCENDING",
66
+ VIDEO_BITRATE_DESCENDING: "VIDEO_BITRATE_DESCENDING",
67
+ };
68
+ exports.ManifestLayout = {
69
+ COMPACT: "COMPACT",
70
+ FULL: "FULL",
71
+ };
72
+ exports.Profile = {
73
+ DVB_DASH_2014: "DVB_DASH_2014",
74
+ HBBTV_1_5: "HBBTV_1_5",
75
+ HYBRIDCAST: "HYBRIDCAST",
76
+ NONE: "NONE",
77
+ };
78
+ exports.SegmentTemplateFormat = {
79
+ NUMBER_WITH_DURATION: "NUMBER_WITH_DURATION",
80
+ NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE",
81
+ TIME_WITH_TIMELINE: "TIME_WITH_TIMELINE",
82
+ };
83
+ exports.UtcTiming = {
84
+ HTTP_HEAD: "HTTP-HEAD",
85
+ HTTP_ISO: "HTTP-ISO",
86
+ HTTP_XSDATE: "HTTP-XSDATE",
87
+ NONE: "NONE",
88
+ };
89
+ exports.EncryptionMethod = {
90
+ AES_128: "AES_128",
91
+ SAMPLE_AES: "SAMPLE_AES",
92
+ };
93
+ exports.Origination = {
94
+ ALLOW: "ALLOW",
95
+ DENY: "DENY",
96
+ };
113
97
  class ForbiddenException extends MediaPackageServiceException_1.MediaPackageServiceException {
114
98
  constructor(opts) {
115
99
  super({
@@ -1,112 +1,96 @@
1
1
  import { MediaPackageServiceException as __BaseException } from "./MediaPackageServiceException";
2
- export var __AdTriggersElement;
3
- (function (__AdTriggersElement) {
4
- __AdTriggersElement["BREAK"] = "BREAK";
5
- __AdTriggersElement["DISTRIBUTOR_ADVERTISEMENT"] = "DISTRIBUTOR_ADVERTISEMENT";
6
- __AdTriggersElement["DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"] = "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY";
7
- __AdTriggersElement["DISTRIBUTOR_PLACEMENT_OPPORTUNITY"] = "DISTRIBUTOR_PLACEMENT_OPPORTUNITY";
8
- __AdTriggersElement["PROVIDER_ADVERTISEMENT"] = "PROVIDER_ADVERTISEMENT";
9
- __AdTriggersElement["PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY"] = "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY";
10
- __AdTriggersElement["PROVIDER_PLACEMENT_OPPORTUNITY"] = "PROVIDER_PLACEMENT_OPPORTUNITY";
11
- __AdTriggersElement["SPLICE_INSERT"] = "SPLICE_INSERT";
12
- })(__AdTriggersElement || (__AdTriggersElement = {}));
13
- export var __PeriodTriggersElement;
14
- (function (__PeriodTriggersElement) {
15
- __PeriodTriggersElement["ADS"] = "ADS";
16
- })(__PeriodTriggersElement || (__PeriodTriggersElement = {}));
17
- export var Status;
18
- (function (Status) {
19
- Status["FAILED"] = "FAILED";
20
- Status["IN_PROGRESS"] = "IN_PROGRESS";
21
- Status["SUCCEEDED"] = "SUCCEEDED";
22
- })(Status || (Status = {}));
23
- export var AdMarkers;
24
- (function (AdMarkers) {
25
- AdMarkers["DATERANGE"] = "DATERANGE";
26
- AdMarkers["NONE"] = "NONE";
27
- AdMarkers["PASSTHROUGH"] = "PASSTHROUGH";
28
- AdMarkers["SCTE35_ENHANCED"] = "SCTE35_ENHANCED";
29
- })(AdMarkers || (AdMarkers = {}));
30
- export var AdsOnDeliveryRestrictions;
31
- (function (AdsOnDeliveryRestrictions) {
32
- AdsOnDeliveryRestrictions["BOTH"] = "BOTH";
33
- AdsOnDeliveryRestrictions["NONE"] = "NONE";
34
- AdsOnDeliveryRestrictions["RESTRICTED"] = "RESTRICTED";
35
- AdsOnDeliveryRestrictions["UNRESTRICTED"] = "UNRESTRICTED";
36
- })(AdsOnDeliveryRestrictions || (AdsOnDeliveryRestrictions = {}));
37
- export var PlaylistType;
38
- (function (PlaylistType) {
39
- PlaylistType["EVENT"] = "EVENT";
40
- PlaylistType["NONE"] = "NONE";
41
- PlaylistType["VOD"] = "VOD";
42
- })(PlaylistType || (PlaylistType = {}));
43
- export var CmafEncryptionMethod;
44
- (function (CmafEncryptionMethod) {
45
- CmafEncryptionMethod["AES_CTR"] = "AES_CTR";
46
- CmafEncryptionMethod["SAMPLE_AES"] = "SAMPLE_AES";
47
- })(CmafEncryptionMethod || (CmafEncryptionMethod = {}));
48
- export var PresetSpeke20Audio;
49
- (function (PresetSpeke20Audio) {
50
- PresetSpeke20Audio["PRESET_AUDIO_1"] = "PRESET-AUDIO-1";
51
- PresetSpeke20Audio["PRESET_AUDIO_2"] = "PRESET-AUDIO-2";
52
- PresetSpeke20Audio["PRESET_AUDIO_3"] = "PRESET-AUDIO-3";
53
- PresetSpeke20Audio["SHARED"] = "SHARED";
54
- PresetSpeke20Audio["UNENCRYPTED"] = "UNENCRYPTED";
55
- })(PresetSpeke20Audio || (PresetSpeke20Audio = {}));
56
- export var PresetSpeke20Video;
57
- (function (PresetSpeke20Video) {
58
- PresetSpeke20Video["PRESET_VIDEO_1"] = "PRESET-VIDEO-1";
59
- PresetSpeke20Video["PRESET_VIDEO_2"] = "PRESET-VIDEO-2";
60
- PresetSpeke20Video["PRESET_VIDEO_3"] = "PRESET-VIDEO-3";
61
- PresetSpeke20Video["PRESET_VIDEO_4"] = "PRESET-VIDEO-4";
62
- PresetSpeke20Video["PRESET_VIDEO_5"] = "PRESET-VIDEO-5";
63
- PresetSpeke20Video["PRESET_VIDEO_6"] = "PRESET-VIDEO-6";
64
- PresetSpeke20Video["PRESET_VIDEO_7"] = "PRESET-VIDEO-7";
65
- PresetSpeke20Video["PRESET_VIDEO_8"] = "PRESET-VIDEO-8";
66
- PresetSpeke20Video["SHARED"] = "SHARED";
67
- PresetSpeke20Video["UNENCRYPTED"] = "UNENCRYPTED";
68
- })(PresetSpeke20Video || (PresetSpeke20Video = {}));
69
- export var StreamOrder;
70
- (function (StreamOrder) {
71
- StreamOrder["ORIGINAL"] = "ORIGINAL";
72
- StreamOrder["VIDEO_BITRATE_ASCENDING"] = "VIDEO_BITRATE_ASCENDING";
73
- StreamOrder["VIDEO_BITRATE_DESCENDING"] = "VIDEO_BITRATE_DESCENDING";
74
- })(StreamOrder || (StreamOrder = {}));
75
- export var ManifestLayout;
76
- (function (ManifestLayout) {
77
- ManifestLayout["COMPACT"] = "COMPACT";
78
- ManifestLayout["FULL"] = "FULL";
79
- })(ManifestLayout || (ManifestLayout = {}));
80
- export var Profile;
81
- (function (Profile) {
82
- Profile["DVB_DASH_2014"] = "DVB_DASH_2014";
83
- Profile["HBBTV_1_5"] = "HBBTV_1_5";
84
- Profile["HYBRIDCAST"] = "HYBRIDCAST";
85
- Profile["NONE"] = "NONE";
86
- })(Profile || (Profile = {}));
87
- export var SegmentTemplateFormat;
88
- (function (SegmentTemplateFormat) {
89
- SegmentTemplateFormat["NUMBER_WITH_DURATION"] = "NUMBER_WITH_DURATION";
90
- SegmentTemplateFormat["NUMBER_WITH_TIMELINE"] = "NUMBER_WITH_TIMELINE";
91
- SegmentTemplateFormat["TIME_WITH_TIMELINE"] = "TIME_WITH_TIMELINE";
92
- })(SegmentTemplateFormat || (SegmentTemplateFormat = {}));
93
- export var UtcTiming;
94
- (function (UtcTiming) {
95
- UtcTiming["HTTP_HEAD"] = "HTTP-HEAD";
96
- UtcTiming["HTTP_ISO"] = "HTTP-ISO";
97
- UtcTiming["HTTP_XSDATE"] = "HTTP-XSDATE";
98
- UtcTiming["NONE"] = "NONE";
99
- })(UtcTiming || (UtcTiming = {}));
100
- export var EncryptionMethod;
101
- (function (EncryptionMethod) {
102
- EncryptionMethod["AES_128"] = "AES_128";
103
- EncryptionMethod["SAMPLE_AES"] = "SAMPLE_AES";
104
- })(EncryptionMethod || (EncryptionMethod = {}));
105
- export var Origination;
106
- (function (Origination) {
107
- Origination["ALLOW"] = "ALLOW";
108
- Origination["DENY"] = "DENY";
109
- })(Origination || (Origination = {}));
2
+ export const __AdTriggersElement = {
3
+ BREAK: "BREAK",
4
+ DISTRIBUTOR_ADVERTISEMENT: "DISTRIBUTOR_ADVERTISEMENT",
5
+ DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY",
6
+ DISTRIBUTOR_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_PLACEMENT_OPPORTUNITY",
7
+ PROVIDER_ADVERTISEMENT: "PROVIDER_ADVERTISEMENT",
8
+ PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY: "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY",
9
+ PROVIDER_PLACEMENT_OPPORTUNITY: "PROVIDER_PLACEMENT_OPPORTUNITY",
10
+ SPLICE_INSERT: "SPLICE_INSERT",
11
+ };
12
+ export const __PeriodTriggersElement = {
13
+ ADS: "ADS",
14
+ };
15
+ export const Status = {
16
+ FAILED: "FAILED",
17
+ IN_PROGRESS: "IN_PROGRESS",
18
+ SUCCEEDED: "SUCCEEDED",
19
+ };
20
+ export const AdMarkers = {
21
+ DATERANGE: "DATERANGE",
22
+ NONE: "NONE",
23
+ PASSTHROUGH: "PASSTHROUGH",
24
+ SCTE35_ENHANCED: "SCTE35_ENHANCED",
25
+ };
26
+ export const AdsOnDeliveryRestrictions = {
27
+ BOTH: "BOTH",
28
+ NONE: "NONE",
29
+ RESTRICTED: "RESTRICTED",
30
+ UNRESTRICTED: "UNRESTRICTED",
31
+ };
32
+ export const PlaylistType = {
33
+ EVENT: "EVENT",
34
+ NONE: "NONE",
35
+ VOD: "VOD",
36
+ };
37
+ export const CmafEncryptionMethod = {
38
+ AES_CTR: "AES_CTR",
39
+ SAMPLE_AES: "SAMPLE_AES",
40
+ };
41
+ export const PresetSpeke20Audio = {
42
+ PRESET_AUDIO_1: "PRESET-AUDIO-1",
43
+ PRESET_AUDIO_2: "PRESET-AUDIO-2",
44
+ PRESET_AUDIO_3: "PRESET-AUDIO-3",
45
+ SHARED: "SHARED",
46
+ UNENCRYPTED: "UNENCRYPTED",
47
+ };
48
+ export const PresetSpeke20Video = {
49
+ PRESET_VIDEO_1: "PRESET-VIDEO-1",
50
+ PRESET_VIDEO_2: "PRESET-VIDEO-2",
51
+ PRESET_VIDEO_3: "PRESET-VIDEO-3",
52
+ PRESET_VIDEO_4: "PRESET-VIDEO-4",
53
+ PRESET_VIDEO_5: "PRESET-VIDEO-5",
54
+ PRESET_VIDEO_6: "PRESET-VIDEO-6",
55
+ PRESET_VIDEO_7: "PRESET-VIDEO-7",
56
+ PRESET_VIDEO_8: "PRESET-VIDEO-8",
57
+ SHARED: "SHARED",
58
+ UNENCRYPTED: "UNENCRYPTED",
59
+ };
60
+ export const StreamOrder = {
61
+ ORIGINAL: "ORIGINAL",
62
+ VIDEO_BITRATE_ASCENDING: "VIDEO_BITRATE_ASCENDING",
63
+ VIDEO_BITRATE_DESCENDING: "VIDEO_BITRATE_DESCENDING",
64
+ };
65
+ export const ManifestLayout = {
66
+ COMPACT: "COMPACT",
67
+ FULL: "FULL",
68
+ };
69
+ export const Profile = {
70
+ DVB_DASH_2014: "DVB_DASH_2014",
71
+ HBBTV_1_5: "HBBTV_1_5",
72
+ HYBRIDCAST: "HYBRIDCAST",
73
+ NONE: "NONE",
74
+ };
75
+ export const SegmentTemplateFormat = {
76
+ NUMBER_WITH_DURATION: "NUMBER_WITH_DURATION",
77
+ NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE",
78
+ TIME_WITH_TIMELINE: "TIME_WITH_TIMELINE",
79
+ };
80
+ export const UtcTiming = {
81
+ HTTP_HEAD: "HTTP-HEAD",
82
+ HTTP_ISO: "HTTP-ISO",
83
+ HTTP_XSDATE: "HTTP-XSDATE",
84
+ NONE: "NONE",
85
+ };
86
+ export const EncryptionMethod = {
87
+ AES_128: "AES_128",
88
+ SAMPLE_AES: "SAMPLE_AES",
89
+ };
90
+ export const Origination = {
91
+ ALLOW: "ALLOW",
92
+ DENY: "DENY",
93
+ };
110
94
  export class ForbiddenException extends __BaseException {
111
95
  constructor(opts) {
112
96
  super({
@@ -2,23 +2,33 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { MediaPackageServiceException as __BaseException } from "./MediaPackageServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum __AdTriggersElement {
7
- BREAK = "BREAK",
8
- DISTRIBUTOR_ADVERTISEMENT = "DISTRIBUTOR_ADVERTISEMENT",
9
- DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY = "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY",
10
- DISTRIBUTOR_PLACEMENT_OPPORTUNITY = "DISTRIBUTOR_PLACEMENT_OPPORTUNITY",
11
- PROVIDER_ADVERTISEMENT = "PROVIDER_ADVERTISEMENT",
12
- PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY = "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY",
13
- PROVIDER_PLACEMENT_OPPORTUNITY = "PROVIDER_PLACEMENT_OPPORTUNITY",
14
- SPLICE_INSERT = "SPLICE_INSERT"
15
- }
7
+ export declare const __AdTriggersElement: {
8
+ readonly BREAK: "BREAK";
9
+ readonly DISTRIBUTOR_ADVERTISEMENT: "DISTRIBUTOR_ADVERTISEMENT";
10
+ readonly DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY";
11
+ readonly DISTRIBUTOR_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_PLACEMENT_OPPORTUNITY";
12
+ readonly PROVIDER_ADVERTISEMENT: "PROVIDER_ADVERTISEMENT";
13
+ readonly PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY: "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY";
14
+ readonly PROVIDER_PLACEMENT_OPPORTUNITY: "PROVIDER_PLACEMENT_OPPORTUNITY";
15
+ readonly SPLICE_INSERT: "SPLICE_INSERT";
16
+ };
16
17
  /**
17
18
  * @public
18
19
  */
19
- export declare enum __PeriodTriggersElement {
20
- ADS = "ADS"
21
- }
20
+ export type __AdTriggersElement = (typeof __AdTriggersElement)[keyof typeof __AdTriggersElement];
21
+ /**
22
+ * @public
23
+ * @enum
24
+ */
25
+ export declare const __PeriodTriggersElement: {
26
+ readonly ADS: "ADS";
27
+ };
28
+ /**
29
+ * @public
30
+ */
31
+ export type __PeriodTriggersElement = (typeof __PeriodTriggersElement)[keyof typeof __PeriodTriggersElement];
22
32
  /**
23
33
  * @public
24
34
  * Configure egress access logging.
@@ -129,12 +139,17 @@ export interface S3Destination {
129
139
  }
130
140
  /**
131
141
  * @public
142
+ * @enum
132
143
  */
133
- export declare enum Status {
134
- FAILED = "FAILED",
135
- IN_PROGRESS = "IN_PROGRESS",
136
- SUCCEEDED = "SUCCEEDED"
137
- }
144
+ export declare const Status: {
145
+ readonly FAILED: "FAILED";
146
+ readonly IN_PROGRESS: "IN_PROGRESS";
147
+ readonly SUCCEEDED: "SUCCEEDED";
148
+ };
149
+ /**
150
+ * @public
151
+ */
152
+ export type Status = (typeof Status)[keyof typeof Status];
138
153
  /**
139
154
  * @public
140
155
  * A HarvestJob resource configuration
@@ -183,30 +198,45 @@ export interface HarvestJob {
183
198
  }
184
199
  /**
185
200
  * @public
201
+ * @enum
186
202
  */
187
- export declare enum AdMarkers {
188
- DATERANGE = "DATERANGE",
189
- NONE = "NONE",
190
- PASSTHROUGH = "PASSTHROUGH",
191
- SCTE35_ENHANCED = "SCTE35_ENHANCED"
192
- }
203
+ export declare const AdMarkers: {
204
+ readonly DATERANGE: "DATERANGE";
205
+ readonly NONE: "NONE";
206
+ readonly PASSTHROUGH: "PASSTHROUGH";
207
+ readonly SCTE35_ENHANCED: "SCTE35_ENHANCED";
208
+ };
193
209
  /**
194
210
  * @public
195
211
  */
196
- export declare enum AdsOnDeliveryRestrictions {
197
- BOTH = "BOTH",
198
- NONE = "NONE",
199
- RESTRICTED = "RESTRICTED",
200
- UNRESTRICTED = "UNRESTRICTED"
201
- }
212
+ export type AdMarkers = (typeof AdMarkers)[keyof typeof AdMarkers];
202
213
  /**
203
214
  * @public
215
+ * @enum
204
216
  */
205
- export declare enum PlaylistType {
206
- EVENT = "EVENT",
207
- NONE = "NONE",
208
- VOD = "VOD"
209
- }
217
+ export declare const AdsOnDeliveryRestrictions: {
218
+ readonly BOTH: "BOTH";
219
+ readonly NONE: "NONE";
220
+ readonly RESTRICTED: "RESTRICTED";
221
+ readonly UNRESTRICTED: "UNRESTRICTED";
222
+ };
223
+ /**
224
+ * @public
225
+ */
226
+ export type AdsOnDeliveryRestrictions = (typeof AdsOnDeliveryRestrictions)[keyof typeof AdsOnDeliveryRestrictions];
227
+ /**
228
+ * @public
229
+ * @enum
230
+ */
231
+ export declare const PlaylistType: {
232
+ readonly EVENT: "EVENT";
233
+ readonly NONE: "NONE";
234
+ readonly VOD: "VOD";
235
+ };
236
+ /**
237
+ * @public
238
+ */
239
+ export type PlaylistType = (typeof PlaylistType)[keyof typeof PlaylistType];
210
240
  /**
211
241
  * @public
212
242
  * A HTTP Live Streaming (HLS) manifest configuration.
@@ -365,36 +395,51 @@ export interface Authorization {
365
395
  }
366
396
  /**
367
397
  * @public
398
+ * @enum
368
399
  */
369
- export declare enum CmafEncryptionMethod {
370
- AES_CTR = "AES_CTR",
371
- SAMPLE_AES = "SAMPLE_AES"
372
- }
400
+ export declare const CmafEncryptionMethod: {
401
+ readonly AES_CTR: "AES_CTR";
402
+ readonly SAMPLE_AES: "SAMPLE_AES";
403
+ };
373
404
  /**
374
405
  * @public
375
406
  */
376
- export declare enum PresetSpeke20Audio {
377
- PRESET_AUDIO_1 = "PRESET-AUDIO-1",
378
- PRESET_AUDIO_2 = "PRESET-AUDIO-2",
379
- PRESET_AUDIO_3 = "PRESET-AUDIO-3",
380
- SHARED = "SHARED",
381
- UNENCRYPTED = "UNENCRYPTED"
382
- }
407
+ export type CmafEncryptionMethod = (typeof CmafEncryptionMethod)[keyof typeof CmafEncryptionMethod];
383
408
  /**
384
409
  * @public
410
+ * @enum
385
411
  */
386
- export declare enum PresetSpeke20Video {
387
- PRESET_VIDEO_1 = "PRESET-VIDEO-1",
388
- PRESET_VIDEO_2 = "PRESET-VIDEO-2",
389
- PRESET_VIDEO_3 = "PRESET-VIDEO-3",
390
- PRESET_VIDEO_4 = "PRESET-VIDEO-4",
391
- PRESET_VIDEO_5 = "PRESET-VIDEO-5",
392
- PRESET_VIDEO_6 = "PRESET-VIDEO-6",
393
- PRESET_VIDEO_7 = "PRESET-VIDEO-7",
394
- PRESET_VIDEO_8 = "PRESET-VIDEO-8",
395
- SHARED = "SHARED",
396
- UNENCRYPTED = "UNENCRYPTED"
397
- }
412
+ export declare const PresetSpeke20Audio: {
413
+ readonly PRESET_AUDIO_1: "PRESET-AUDIO-1";
414
+ readonly PRESET_AUDIO_2: "PRESET-AUDIO-2";
415
+ readonly PRESET_AUDIO_3: "PRESET-AUDIO-3";
416
+ readonly SHARED: "SHARED";
417
+ readonly UNENCRYPTED: "UNENCRYPTED";
418
+ };
419
+ /**
420
+ * @public
421
+ */
422
+ export type PresetSpeke20Audio = (typeof PresetSpeke20Audio)[keyof typeof PresetSpeke20Audio];
423
+ /**
424
+ * @public
425
+ * @enum
426
+ */
427
+ export declare const PresetSpeke20Video: {
428
+ readonly PRESET_VIDEO_1: "PRESET-VIDEO-1";
429
+ readonly PRESET_VIDEO_2: "PRESET-VIDEO-2";
430
+ readonly PRESET_VIDEO_3: "PRESET-VIDEO-3";
431
+ readonly PRESET_VIDEO_4: "PRESET-VIDEO-4";
432
+ readonly PRESET_VIDEO_5: "PRESET-VIDEO-5";
433
+ readonly PRESET_VIDEO_6: "PRESET-VIDEO-6";
434
+ readonly PRESET_VIDEO_7: "PRESET-VIDEO-7";
435
+ readonly PRESET_VIDEO_8: "PRESET-VIDEO-8";
436
+ readonly SHARED: "SHARED";
437
+ readonly UNENCRYPTED: "UNENCRYPTED";
438
+ };
439
+ /**
440
+ * @public
441
+ */
442
+ export type PresetSpeke20Video = (typeof PresetSpeke20Video)[keyof typeof PresetSpeke20Video];
398
443
  /**
399
444
  * @public
400
445
  * Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0.
@@ -476,12 +521,17 @@ export interface CmafEncryption {
476
521
  }
477
522
  /**
478
523
  * @public
524
+ * @enum
479
525
  */
480
- export declare enum StreamOrder {
481
- ORIGINAL = "ORIGINAL",
482
- VIDEO_BITRATE_ASCENDING = "VIDEO_BITRATE_ASCENDING",
483
- VIDEO_BITRATE_DESCENDING = "VIDEO_BITRATE_DESCENDING"
484
- }
526
+ export declare const StreamOrder: {
527
+ readonly ORIGINAL: "ORIGINAL";
528
+ readonly VIDEO_BITRATE_ASCENDING: "VIDEO_BITRATE_ASCENDING";
529
+ readonly VIDEO_BITRATE_DESCENDING: "VIDEO_BITRATE_DESCENDING";
530
+ };
531
+ /**
532
+ * @public
533
+ */
534
+ export type StreamOrder = (typeof StreamOrder)[keyof typeof StreamOrder];
485
535
  /**
486
536
  * @public
487
537
  * A StreamSelection configuration.
@@ -543,37 +593,57 @@ export interface DashEncryption {
543
593
  }
544
594
  /**
545
595
  * @public
596
+ * @enum
546
597
  */
547
- export declare enum ManifestLayout {
548
- COMPACT = "COMPACT",
549
- FULL = "FULL"
550
- }
598
+ export declare const ManifestLayout: {
599
+ readonly COMPACT: "COMPACT";
600
+ readonly FULL: "FULL";
601
+ };
551
602
  /**
552
603
  * @public
553
604
  */
554
- export declare enum Profile {
555
- DVB_DASH_2014 = "DVB_DASH_2014",
556
- HBBTV_1_5 = "HBBTV_1_5",
557
- HYBRIDCAST = "HYBRIDCAST",
558
- NONE = "NONE"
559
- }
605
+ export type ManifestLayout = (typeof ManifestLayout)[keyof typeof ManifestLayout];
560
606
  /**
561
607
  * @public
608
+ * @enum
562
609
  */
563
- export declare enum SegmentTemplateFormat {
564
- NUMBER_WITH_DURATION = "NUMBER_WITH_DURATION",
565
- NUMBER_WITH_TIMELINE = "NUMBER_WITH_TIMELINE",
566
- TIME_WITH_TIMELINE = "TIME_WITH_TIMELINE"
567
- }
610
+ export declare const Profile: {
611
+ readonly DVB_DASH_2014: "DVB_DASH_2014";
612
+ readonly HBBTV_1_5: "HBBTV_1_5";
613
+ readonly HYBRIDCAST: "HYBRIDCAST";
614
+ readonly NONE: "NONE";
615
+ };
568
616
  /**
569
617
  * @public
570
618
  */
571
- export declare enum UtcTiming {
572
- HTTP_HEAD = "HTTP-HEAD",
573
- HTTP_ISO = "HTTP-ISO",
574
- HTTP_XSDATE = "HTTP-XSDATE",
575
- NONE = "NONE"
576
- }
619
+ export type Profile = (typeof Profile)[keyof typeof Profile];
620
+ /**
621
+ * @public
622
+ * @enum
623
+ */
624
+ export declare const SegmentTemplateFormat: {
625
+ readonly NUMBER_WITH_DURATION: "NUMBER_WITH_DURATION";
626
+ readonly NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE";
627
+ readonly TIME_WITH_TIMELINE: "TIME_WITH_TIMELINE";
628
+ };
629
+ /**
630
+ * @public
631
+ */
632
+ export type SegmentTemplateFormat = (typeof SegmentTemplateFormat)[keyof typeof SegmentTemplateFormat];
633
+ /**
634
+ * @public
635
+ * @enum
636
+ */
637
+ export declare const UtcTiming: {
638
+ readonly HTTP_HEAD: "HTTP-HEAD";
639
+ readonly HTTP_ISO: "HTTP-ISO";
640
+ readonly HTTP_XSDATE: "HTTP-XSDATE";
641
+ readonly NONE: "NONE";
642
+ };
643
+ /**
644
+ * @public
645
+ */
646
+ export type UtcTiming = (typeof UtcTiming)[keyof typeof UtcTiming];
577
647
  /**
578
648
  * @public
579
649
  * A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
@@ -659,11 +729,16 @@ export interface DashPackage {
659
729
  }
660
730
  /**
661
731
  * @public
732
+ * @enum
662
733
  */
663
- export declare enum EncryptionMethod {
664
- AES_128 = "AES_128",
665
- SAMPLE_AES = "SAMPLE_AES"
666
- }
734
+ export declare const EncryptionMethod: {
735
+ readonly AES_128: "AES_128";
736
+ readonly SAMPLE_AES: "SAMPLE_AES";
737
+ };
738
+ /**
739
+ * @public
740
+ */
741
+ export type EncryptionMethod = (typeof EncryptionMethod)[keyof typeof EncryptionMethod];
667
742
  /**
668
743
  * @public
669
744
  * An HTTP Live Streaming (HLS) encryption configuration.
@@ -807,11 +882,16 @@ export interface MssPackage {
807
882
  }
808
883
  /**
809
884
  * @public
885
+ * @enum
810
886
  */
811
- export declare enum Origination {
812
- ALLOW = "ALLOW",
813
- DENY = "DENY"
814
- }
887
+ export declare const Origination: {
888
+ readonly ALLOW: "ALLOW";
889
+ readonly DENY: "DENY";
890
+ };
891
+ /**
892
+ * @public
893
+ */
894
+ export type Origination = (typeof Origination)[keyof typeof Origination];
815
895
  /**
816
896
  * @public
817
897
  * An OriginEndpoint resource configuration.
@@ -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.301.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.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.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",