Modifies a program in a MediaWeaver channel.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:UpdateProgram |
update |
*All Resource
|
None | None |
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProgramName |
string |
Yes |
The name of the program. |
program1 |
| ChannelName |
string |
Yes |
The name of the channel. |
MyChannel |
| ClipRange |
string |
No |
The clip range to extract from the source. |
{StartOffsetMillis: 213123, EndOffsetMillis: 213134} |
| AdBreaks |
string |
No |
The ad break configurations. |
[{"MessageType":"SPLICE_INSERT","OffsetMillis":1000,"SourceLocationName":"MySourceLocation","SourceName":"MyAdSource","SpliceInsertSettings":{"AvailNumber":0,"AvailExpected":0,"SpliceEventID":1,"UniqueProgramID":0}}] |
| SourceLocationName |
string |
No |
The name of the source location. |
MySourceLcation |
| SourceName |
string |
No |
The name of the source. |
MySource |
| SourceType |
string |
No |
The source type of the program. Valid values: vodSource and liveSource. |
vodSource |
| Transition |
string |
No |
The transition configuration for the program. |
{"Type": "RELATIVE", "RelativePosition": "AFTER_PROGRAM", "RelativeProgram": "program2"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
Request ID |
xxx-xxxx-xxxxx-xxxx |
| Program | ChannelAssemblyProgram |
The program details. |
Examples
Success response
JSON format
{
"RequestId": "xxx-xxxx-xxxxx-xxxx",
"Program": {
"GmtCreate": "2024-04-02T00:58:19Z\n",
"ChannelName": "MyChannel",
"SourceLocationName": "MySourceLocation",
"AdBreaks": [
{
"TimeSignalSettings": "{\"segmentationEventID\":0,\"segmentationUPIDType\":14,\"segmentationUPID\":\"upid\",\"segmentationTypeID\":48,\"segmentNumber\":0,\"segmentsExpected\":0,\"subSegmentNumber\":1,\"subSegmentsExpected\":0}\n",
"OffsetMillis": 1000,
"ChannelName": "MyChannel",
"SourceLocationName": "MySourceLocation",
"SpliceInsertSettings": "{\"AvailNumber\":0,\"AvailExpected\":0,\"SpliceEventID\":1,\"UniqueProgramID\":0}\n",
"SourceName": "MyAdSource",
"ProgramName": "program_name\n",
"MessageType": "SPLICE_INSERT"
}
],
"SourceType": "vodSource",
"Transition": "{\"Type\": \"RELATIVE\", \"RelativePosition\": \"AFTER_PROGRAM\", \"RelativeProgram\": \"program2\"}\n",
"GmtModified": "2024-04-02T00:58:19Z\n",
"SourceName": "MySource",
"ClipRange": "{StartOffsetMillis: 213123, EndOffsetMillis: 213134}\n",
"Arn": "acs:ims:mediaweaver:::program/myChannel/MyProgram\n",
"ProgramName": "program1"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.