CreateVodSource
The VOD source configuration parameters.
Request Syntax
POST /sourceLocation/SourceLocationName/vodSource/VodSourceName HTTP/1.1
Content-type: application/json
{
"HttpPackageConfigurations": [
{
"Path": "string",
"SourceGroup": "string",
"Type": "string"
}
],
"tags": {
"string" : "string"
}
}
URI Request Parameters
The request uses the following URI parameters.
- SourceLocationName
-
The name of the source location for this VOD source.
Required: Yes
- VodSourceName
-
The name associated with the VOD source.>
Required: Yes
Request Body
The request accepts the following data in JSON format.
- HttpPackageConfigurations
-
A list of HTTP package configuration parameters for this VOD source.
Type: Array of HttpPackageConfiguration objects
Required: Yes
-
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
Required: No
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 ARN to assign to this VOD source.
Type: String
- CreationTime
-
The time the VOD source was created.
Type: Timestamp
- HttpPackageConfigurations
-
A list of HTTP package configuration parameters for this VOD source.
Type: Array of HttpPackageConfiguration objects
- LastModifiedTime
-
The time the VOD source was last modified.
Type: Timestamp
- SourceLocationName
-
The name to assign to the source location for this 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 to assign to 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: