CreateLiveSource - AWS Elemental MediaTailor

CreateLiveSource

The live source configuration.

Request Syntax

POST /sourceLocation/SourceLocationName/liveSource/LiveSourceName 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.

LiveSourceName

The name of the live source.

Required: Yes

SourceLocationName

The name of the source location.

Required: Yes

Request Body

The request accepts the following data in JSON format.

HttpPackageConfigurations

A list of HTTP package configuration parameters for this live source.

Type: Array of HttpPackageConfiguration objects

Required: Yes

tags

The tags to assign to the live 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, "LiveSourceName": "string", "SourceLocationName": "string", "tags": { "string" : "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 the live source.

Type: String

CreationTime

The time the live source was created.

Type: Timestamp

HttpPackageConfigurations

A list of HTTP package configuration parameters for this live source.

Type: Array of HttpPackageConfiguration objects

LastModifiedTime

The time the live source was last modified.

Type: Timestamp

LiveSourceName

The name to assign to the live source.

Type: String

SourceLocationName

The name to assign to the source location of the live source.

Type: String

tags

The tags to assign to the live 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

Errors

For information about the errors that are common to all actions, see Common Errors.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: