UpdateVodSource
Updates a VOD source's configuration.
Request Syntax
PUT /sourceLocation/SourceLocationName/vodSource/VodSourceName HTTP/1.1
Content-type: application/json
{
"HttpPackageConfigurations": [
{
"Path": "string",
"SourceGroup": "string",
"Type": "string"
}
]
}
URI Request Parameters
The request uses the following URI parameters.
- SourceLocationName
-
The name of the source location associated with this VOD Source.
Required: Yes
- VodSourceName
-
The name of the VOD source.
Required: Yes
Request Body
The request accepts the following data in JSON format.
- HttpPackageConfigurations
-
A list of HTTP package configurations for the VOD source on this account.
Type: Array of HttpPackageConfiguration objects
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"Arn": "string",
"CreationTime": number,
"HttpPackageConfigurations": [
{
"Path": "string",
"SourceGroup": "string",
"Type": "string"
}
],
"LastModifiedTime": number,
"SourceLocationName": "string",
"tags": {
"string" : "string"
},
"VodSourceName": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- Arn
-
The Amazon Resource Name (ARN) associated with the VOD source.
Type: String
- CreationTime
-
The timestamp that indicates when the VOD source was created.
Type: Timestamp
- HttpPackageConfigurations
-
A list of HTTP package configurations for the VOD source on this account.
Type: Array of HttpPackageConfiguration objects
- LastModifiedTime
-
The timestamp that indicates when the VOD source was last modified.
Type: Timestamp
- SourceLocationName
-
The name of the source location associated with the VOD source.
Type: String
-
The tags to assign to the VOD source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
Type: String to string map
- VodSourceName
-
The name of the VOD source.
Type: String
Errors
For information about the errors that are common to all actions, see Common Error Types.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: