@@ -39,7 +39,7 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
39
39
* ChannelGroupName: "STRING_VALUE", // required
40
40
* ChannelName: "STRING_VALUE", // required
41
41
* OriginEndpointName: "STRING_VALUE", // required
42
- * ContainerType: "TS" || "CMAF", // required
42
+ * ContainerType: "TS" || "CMAF" || "ISM" , // required
43
43
* Segment: { // Segment
44
44
* SegmentDurationSeconds: Number("int"),
45
45
* SegmentName: "STRING_VALUE",
@@ -56,8 +56,10 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
56
56
* EncryptionMethod: { // EncryptionMethod
57
57
* TsEncryptionMethod: "AES_128" || "SAMPLE_AES",
58
58
* CmafEncryptionMethod: "CENC" || "CBCS",
59
+ * IsmEncryptionMethod: "CENC",
59
60
* },
60
61
* KeyRotationIntervalSeconds: Number("int"),
62
+ * CmafExcludeSegmentDrmMetadata: true || false,
61
63
* SpekeKeyProvider: { // SpekeKeyProvider
62
64
* EncryptionContractConfiguration: { // EncryptionContractConfiguration
63
65
* PresetSpeke20Audio: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED", // required
@@ -186,6 +188,20 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
186
188
* },
187
189
* },
188
190
* ],
191
+ * MssManifests: [ // CreateMssManifests
192
+ * { // CreateMssManifestConfiguration
193
+ * ManifestName: "STRING_VALUE", // required
194
+ * ManifestWindowSeconds: Number("int"),
195
+ * FilterConfiguration: {
196
+ * ManifestFilter: "STRING_VALUE",
197
+ * Start: new Date("TIMESTAMP"),
198
+ * End: new Date("TIMESTAMP"),
199
+ * TimeDelaySeconds: Number("int"),
200
+ * ClipStartTime: new Date("TIMESTAMP"),
201
+ * },
202
+ * ManifestLayout: "FULL" || "COMPACT",
203
+ * },
204
+ * ],
189
205
* ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
190
206
* EndpointErrorConditions: [ // EndpointErrorConditions
191
207
* "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT",
@@ -202,7 +218,7 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
202
218
* // ChannelGroupName: "STRING_VALUE", // required
203
219
* // ChannelName: "STRING_VALUE", // required
204
220
* // OriginEndpointName: "STRING_VALUE", // required
205
- * // ContainerType: "TS" || "CMAF", // required
221
+ * // ContainerType: "TS" || "CMAF" || "ISM" , // required
206
222
* // Segment: { // Segment
207
223
* // SegmentDurationSeconds: Number("int"),
208
224
* // SegmentName: "STRING_VALUE",
@@ -219,8 +235,10 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
219
235
* // EncryptionMethod: { // EncryptionMethod
220
236
* // TsEncryptionMethod: "AES_128" || "SAMPLE_AES",
221
237
* // CmafEncryptionMethod: "CENC" || "CBCS",
238
+ * // IsmEncryptionMethod: "CENC",
222
239
* // },
223
240
* // KeyRotationIntervalSeconds: Number("int"),
241
+ * // CmafExcludeSegmentDrmMetadata: true || false,
224
242
* // SpekeKeyProvider: { // SpekeKeyProvider
225
243
* // EncryptionContractConfiguration: { // EncryptionContractConfiguration
226
244
* // PresetSpeke20Audio: "PRESET_AUDIO_1" || "PRESET_AUDIO_2" || "PRESET_AUDIO_3" || "SHARED" || "UNENCRYPTED", // required
@@ -353,6 +371,21 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
353
371
* // },
354
372
* // },
355
373
* // ],
374
+ * // MssManifests: [ // GetMssManifests
375
+ * // { // GetMssManifestConfiguration
376
+ * // ManifestName: "STRING_VALUE", // required
377
+ * // Url: "STRING_VALUE", // required
378
+ * // FilterConfiguration: {
379
+ * // ManifestFilter: "STRING_VALUE",
380
+ * // Start: new Date("TIMESTAMP"),
381
+ * // End: new Date("TIMESTAMP"),
382
+ * // TimeDelaySeconds: Number("int"),
383
+ * // ClipStartTime: new Date("TIMESTAMP"),
384
+ * // },
385
+ * // ManifestWindowSeconds: Number("int"),
386
+ * // ManifestLayout: "FULL" || "COMPACT",
387
+ * // },
388
+ * // ],
356
389
* // ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
357
390
* // EndpointErrorConditions: [ // EndpointErrorConditions
358
391
* // "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT",
@@ -1011,6 +1044,116 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
1011
1044
* *\/
1012
1045
* ```
1013
1046
*
1047
+ * @example Creating an OriginEndpoint with container type ISM, and encryption enabled
1048
+ * ```javascript
1049
+ * //
1050
+ * const input = {
1051
+ * ChannelGroupName: "exampleChannelGroup",
1052
+ * ChannelName: "exampleChannel",
1053
+ * ContainerType: "ISM",
1054
+ * Description: "Description for exampleOriginEndpointISM",
1055
+ * ForceEndpointErrorConfiguration: {
1056
+ * EndpointErrorConditions: [
1057
+ * "STALE_MANIFEST",
1058
+ * "INCOMPLETE_MANIFEST",
1059
+ * "MISSING_DRM_KEY",
1060
+ * "SLATE_INPUT"
1061
+ * ]
1062
+ * },
1063
+ * MssManifests: [
1064
+ * {
1065
+ * ManifestLayout: "FULL",
1066
+ * ManifestName: "exampleMssManifest1",
1067
+ * ManifestWindowSeconds: 60
1068
+ * }
1069
+ * ],
1070
+ * OriginEndpointName: "exampleOriginEndpointISM",
1071
+ * Segment: {
1072
+ * Encryption: {
1073
+ * EncryptionMethod: {
1074
+ * IsmEncryptionMethod: "CENC"
1075
+ * },
1076
+ * SpekeKeyProvider: {
1077
+ * DrmSystems: [
1078
+ * "PLAYREADY"
1079
+ * ],
1080
+ * EncryptionContractConfiguration: {
1081
+ * PresetSpeke20Audio: "SHARED",
1082
+ * PresetSpeke20Video: "SHARED"
1083
+ * },
1084
+ * ResourceId: "ResourceId",
1085
+ * RoleArn: "arn:aws:iam::123456789012:role/empRole",
1086
+ * Url: "https://speke-key-provider.example.com"
1087
+ * }
1088
+ * },
1089
+ * SegmentDurationSeconds: 2,
1090
+ * SegmentName: "segmentName"
1091
+ * },
1092
+ * StartoverWindowSeconds: 300,
1093
+ * Tags: {
1094
+ * key1: "value1",
1095
+ * key2: "value2"
1096
+ * }
1097
+ * };
1098
+ * const command = new CreateOriginEndpointCommand(input);
1099
+ * const response = await client.send(command);
1100
+ * /* response is
1101
+ * {
1102
+ * Arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointISM",
1103
+ * ChannelGroupName: "exampleChannelGroup",
1104
+ * ChannelName: "exampleChannel",
1105
+ * ContainerType: "ISM",
1106
+ * CreatedAt: "2022-10-18T09:36:00.00Z",
1107
+ * Description: "Description for exampleOriginEndpointISM",
1108
+ * ETag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
1109
+ * ForceEndpointErrorConfiguration: {
1110
+ * EndpointErrorConditions: [
1111
+ * "STALE_MANIFEST",
1112
+ * "INCOMPLETE_MANIFEST",
1113
+ * "MISSING_DRM_KEY",
1114
+ * "SLATE_INPUT"
1115
+ * ]
1116
+ * },
1117
+ * ModifiedAt: "2022-10-18T09:36:00.00Z",
1118
+ * MssManifests: [
1119
+ * {
1120
+ * ManifestLayout: "FULL",
1121
+ * ManifestName: "exampleMssManifest1",
1122
+ * ManifestWindowSeconds: 60,
1123
+ * Url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest1.ism/Manifest"
1124
+ * }
1125
+ * ],
1126
+ * OriginEndpointName: "exampleOriginEndpointISM",
1127
+ * Segment: {
1128
+ * Encryption: {
1129
+ * EncryptionMethod: {
1130
+ * IsmEncryptionMethod: "CENC"
1131
+ * },
1132
+ * SpekeKeyProvider: {
1133
+ * DrmSystems: [
1134
+ * "PLAYREADY"
1135
+ * ],
1136
+ * EncryptionContractConfiguration: {
1137
+ * PresetSpeke20Audio: "SHARED",
1138
+ * PresetSpeke20Video: "SHARED"
1139
+ * },
1140
+ * ResourceId: "ResourceId",
1141
+ * RoleArn: "arn:aws:iam::123456789012:role/empRole",
1142
+ * Url: "https://speke-key-provider.example.com"
1143
+ * }
1144
+ * },
1145
+ * SegmentDurationSeconds: 2,
1146
+ * SegmentName: "segmentName"
1147
+ * },
1148
+ * StartoverWindowSeconds: 300,
1149
+ * Tags: {
1150
+ * key1: "value1",
1151
+ * key2: "value2"
1152
+ * }
1153
+ * }
1154
+ * *\/
1155
+ * ```
1156
+ *
1014
1157
* @public
1015
1158
*/
1016
1159
export class CreateOriginEndpointCommand extends $Command
0 commit comments