elastictranscoder

package
v0.0.0-...-69b7239 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package elastictranscoder provides a client for Amazon Elastic Transcoder.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artwork

type Artwork struct {
	AlbumArtFormat aws.StringValue `json:"AlbumArtFormat,omitempty"`
	Encryption     *Encryption     `json:"Encryption,omitempty"`
	InputKey       aws.StringValue `json:"InputKey,omitempty"`
	MaxHeight      aws.StringValue `json:"MaxHeight,omitempty"`
	MaxWidth       aws.StringValue `json:"MaxWidth,omitempty"`
	PaddingPolicy  aws.StringValue `json:"PaddingPolicy,omitempty"`
	SizingPolicy   aws.StringValue `json:"SizingPolicy,omitempty"`
}

Artwork is undocumented.

type AudioCodecOptions

type AudioCodecOptions struct {
	Profile aws.StringValue `json:"Profile,omitempty"`
}

AudioCodecOptions is undocumented.

type AudioParameters

type AudioParameters struct {
	BitRate      aws.StringValue    `json:"BitRate,omitempty"`
	Channels     aws.StringValue    `json:"Channels,omitempty"`
	Codec        aws.StringValue    `json:"Codec,omitempty"`
	CodecOptions *AudioCodecOptions `json:"CodecOptions,omitempty"`
	SampleRate   aws.StringValue    `json:"SampleRate,omitempty"`
}

AudioParameters is undocumented.

type CancelJobRequest

type CancelJobRequest struct {
	ID aws.StringValue `json:"-"`
}

CancelJobRequest is undocumented.

type CancelJobResponse

type CancelJobResponse struct {
}

CancelJobResponse is undocumented.

type CaptionFormat

type CaptionFormat struct {
	Encryption *Encryption     `json:"Encryption,omitempty"`
	Format     aws.StringValue `json:"Format,omitempty"`
	Pattern    aws.StringValue `json:"Pattern,omitempty"`
}

CaptionFormat is undocumented.

type CaptionSource

type CaptionSource struct {
	Encryption *Encryption     `json:"Encryption,omitempty"`
	Key        aws.StringValue `json:"Key,omitempty"`
	Label      aws.StringValue `json:"Label,omitempty"`
	Language   aws.StringValue `json:"Language,omitempty"`
	TimeOffset aws.StringValue `json:"TimeOffset,omitempty"`
}

CaptionSource is undocumented.

type Captions

type Captions struct {
	CaptionFormats []CaptionFormat `json:"CaptionFormats,omitempty"`
	CaptionSources []CaptionSource `json:"CaptionSources,omitempty"`
	MergePolicy    aws.StringValue `json:"MergePolicy,omitempty"`
}

Captions is undocumented.

type Clip

type Clip struct {
	TimeSpan *TimeSpan `json:"TimeSpan,omitempty"`
}

Clip is undocumented.

type CreateJobOutput

type CreateJobOutput struct {
	AlbumArt            *JobAlbumArt    `json:"AlbumArt,omitempty"`
	Captions            *Captions       `json:"Captions,omitempty"`
	Composition         []Clip          `json:"Composition,omitempty"`
	Encryption          *Encryption     `json:"Encryption,omitempty"`
	Key                 aws.StringValue `json:"Key,omitempty"`
	PresetID            aws.StringValue `json:"PresetId,omitempty"`
	Rotate              aws.StringValue `json:"Rotate,omitempty"`
	SegmentDuration     aws.StringValue `json:"SegmentDuration,omitempty"`
	ThumbnailEncryption *Encryption     `json:"ThumbnailEncryption,omitempty"`
	ThumbnailPattern    aws.StringValue `json:"ThumbnailPattern,omitempty"`
	Watermarks          []JobWatermark  `json:"Watermarks,omitempty"`
}

CreateJobOutput is undocumented.

type CreateJobPlaylist

type CreateJobPlaylist struct {
	Format               aws.StringValue       `json:"Format,omitempty"`
	HlsContentProtection *HlsContentProtection `json:"HlsContentProtection,omitempty"`
	Name                 aws.StringValue       `json:"Name,omitempty"`
	OutputKeys           []string              `json:"OutputKeys,omitempty"`
}

CreateJobPlaylist is undocumented.

type CreateJobRequest

type CreateJobRequest struct {
	Input           *JobInput           `json:"Input"`
	Output          *CreateJobOutput    `json:"Output,omitempty"`
	OutputKeyPrefix aws.StringValue     `json:"OutputKeyPrefix,omitempty"`
	Outputs         []CreateJobOutput   `json:"Outputs,omitempty"`
	PipelineID      aws.StringValue     `json:"PipelineId"`
	Playlists       []CreateJobPlaylist `json:"Playlists,omitempty"`
	UserMetadata    map[string]string   `json:"UserMetadata,omitempty"`
}

CreateJobRequest is undocumented.

type CreateJobResponse

type CreateJobResponse struct {
	Job *Job `json:"Job,omitempty"`
}

CreateJobResponse is undocumented.

type CreatePipelineRequest

type CreatePipelineRequest struct {
	AWSKMSKeyARN    aws.StringValue       `json:"AwsKmsKeyArn,omitempty"`
	ContentConfig   *PipelineOutputConfig `json:"ContentConfig,omitempty"`
	InputBucket     aws.StringValue       `json:"InputBucket"`
	Name            aws.StringValue       `json:"Name"`
	Notifications   *Notifications        `json:"Notifications,omitempty"`
	OutputBucket    aws.StringValue       `json:"OutputBucket,omitempty"`
	Role            aws.StringValue       `json:"Role"`
	ThumbnailConfig *PipelineOutputConfig `json:"ThumbnailConfig,omitempty"`
}

CreatePipelineRequest is undocumented.

type CreatePipelineResponse

type CreatePipelineResponse struct {
	Pipeline *Pipeline `json:"Pipeline,omitempty"`
}

CreatePipelineResponse is undocumented.

type CreatePresetRequest

type CreatePresetRequest struct {
	Audio       *AudioParameters `json:"Audio,omitempty"`
	Container   aws.StringValue  `json:"Container"`
	Description aws.StringValue  `json:"Description,omitempty"`
	Name        aws.StringValue  `json:"Name"`
	Thumbnails  *Thumbnails      `json:"Thumbnails,omitempty"`
	Video       *VideoParameters `json:"Video,omitempty"`
}

CreatePresetRequest is undocumented.

type CreatePresetResponse

type CreatePresetResponse struct {
	Preset  *Preset         `json:"Preset,omitempty"`
	Warning aws.StringValue `json:"Warning,omitempty"`
}

CreatePresetResponse is undocumented.

type DeletePipelineRequest

type DeletePipelineRequest struct {
	ID aws.StringValue `json:"-"`
}

DeletePipelineRequest is undocumented.

type DeletePipelineResponse

type DeletePipelineResponse struct {
}

DeletePipelineResponse is undocumented.

type DeletePresetRequest

type DeletePresetRequest struct {
	ID aws.StringValue `json:"-"`
}

DeletePresetRequest is undocumented.

type DeletePresetResponse

type DeletePresetResponse struct {
}

DeletePresetResponse is undocumented.

type ElasticTranscoder

type ElasticTranscoder struct {
	// contains filtered or unexported fields
}

ElasticTranscoder is a client for Amazon Elastic Transcoder.

func New

func New(creds aws.CredentialsProvider, region string, client *http.Client) *ElasticTranscoder

New returns a new ElasticTranscoder client.

func (*ElasticTranscoder) CancelJob

func (c *ElasticTranscoder) CancelJob(req *CancelJobRequest) (resp *CancelJobResponse, err error)

CancelJob the CancelJob operation cancels an unfinished job. You can only cancel a job that has a status of Submitted . To prevent a pipeline from starting to process a job while you're getting the job identifier, use UpdatePipelineStatus to temporarily pause the pipeline.

func (*ElasticTranscoder) CreateJob

func (c *ElasticTranscoder) CreateJob(req *CreateJobRequest) (resp *CreateJobResponse, err error)

CreateJob when you create a job, Elastic Transcoder returns data that includes the values that you specified plus information about the job that is created. If you have specified more than one output for your jobs (for example, one output for the Kindle Fire and another output for the Apple iPhone 4s), you currently must use the Elastic Transcoder API to list the jobs (as opposed to the AWS Console).

func (*ElasticTranscoder) CreatePipeline

func (c *ElasticTranscoder) CreatePipeline(req *CreatePipelineRequest) (resp *CreatePipelineResponse, err error)

CreatePipeline the CreatePipeline operation creates a pipeline with settings that you specify.

func (*ElasticTranscoder) CreatePreset

func (c *ElasticTranscoder) CreatePreset(req *CreatePresetRequest) (resp *CreatePresetResponse, err error)

CreatePreset the CreatePreset operation creates a preset with settings that you specify. Elastic Transcoder checks the CreatePreset settings to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an 400 response ValidationException ) and does not create the preset. If the settings are valid for Elastic Transcoder but aren't strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces. Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation H.264: Advanced video coding for generic audiovisual services

func (*ElasticTranscoder) DeletePipeline

func (c *ElasticTranscoder) DeletePipeline(req *DeletePipelineRequest) (resp *DeletePipelineResponse, err error)

DeletePipeline the DeletePipeline operation removes a pipeline. You can only delete a pipeline that has never been used or that is not currently in use (doesn't contain any active jobs). If the pipeline is currently in use, DeletePipeline returns an error.

func (*ElasticTranscoder) DeletePreset

func (c *ElasticTranscoder) DeletePreset(req *DeletePresetRequest) (resp *DeletePresetResponse, err error)

DeletePreset the DeletePreset operation removes a preset that you've added in an AWS region. You can't delete the default presets that are included with Elastic Transcoder.

func (*ElasticTranscoder) ListJobsByPipeline

func (c *ElasticTranscoder) ListJobsByPipeline(req *ListJobsByPipelineRequest) (resp *ListJobsByPipelineResponse, err error)

ListJobsByPipeline the ListJobsByPipeline operation gets a list of the jobs currently in a pipeline. Elastic Transcoder returns all of the jobs currently in the specified pipeline. The response body contains one element for each job that satisfies the search criteria.

func (*ElasticTranscoder) ListJobsByStatus

func (c *ElasticTranscoder) ListJobsByStatus(req *ListJobsByStatusRequest) (resp *ListJobsByStatusResponse, err error)

ListJobsByStatus the ListJobsByStatus operation gets a list of jobs that have a specified status. The response body contains one element for each job that satisfies the search criteria.

func (*ElasticTranscoder) ListPipelines

func (c *ElasticTranscoder) ListPipelines(req *ListPipelinesRequest) (resp *ListPipelinesResponse, err error)

ListPipelines the ListPipelines operation gets a list of the pipelines associated with the current AWS account.

func (*ElasticTranscoder) ListPresets

func (c *ElasticTranscoder) ListPresets(req *ListPresetsRequest) (resp *ListPresetsResponse, err error)

ListPresets the ListPresets operation gets a list of the default presets included with Elastic Transcoder and the presets that you've added in an AWS region.

func (*ElasticTranscoder) ReadJob

func (c *ElasticTranscoder) ReadJob(req *ReadJobRequest) (resp *ReadJobResponse, err error)

ReadJob the ReadJob operation returns detailed information about a job.

func (*ElasticTranscoder) ReadPipeline

func (c *ElasticTranscoder) ReadPipeline(req *ReadPipelineRequest) (resp *ReadPipelineResponse, err error)

ReadPipeline the ReadPipeline operation gets detailed information about a pipeline.

func (*ElasticTranscoder) ReadPreset

func (c *ElasticTranscoder) ReadPreset(req *ReadPresetRequest) (resp *ReadPresetResponse, err error)

ReadPreset the ReadPreset operation gets detailed information about a preset.

func (*ElasticTranscoder) TestRole

func (c *ElasticTranscoder) TestRole(req *TestRoleRequest) (resp *TestRoleResponse, err error)

TestRole the TestRole operation tests the IAM role used to create the pipeline. The TestRole action lets you determine whether the IAM role you are using has sufficient permissions to let Elastic Transcoder perform tasks associated with the transcoding process. The action attempts to assume the specified IAM role, checks read access to the input and output buckets, and tries to send a test notification to Amazon SNS topics that you specify.

func (*ElasticTranscoder) UpdatePipeline

func (c *ElasticTranscoder) UpdatePipeline(req *UpdatePipelineRequest) (resp *UpdatePipelineResponse, err error)

UpdatePipeline use the UpdatePipeline operation to update settings for a pipeline. When you change pipeline settings, your changes take effect immediately. Jobs that you have already submitted and that Elastic Transcoder has not started to process are affected in addition to jobs that you submit after you change settings.

func (*ElasticTranscoder) UpdatePipelineNotifications

func (c *ElasticTranscoder) UpdatePipelineNotifications(req *UpdatePipelineNotificationsRequest) (resp *UpdatePipelineNotificationsResponse, err error)

UpdatePipelineNotifications with the UpdatePipelineNotifications operation, you can update Amazon Simple Notification Service (Amazon notifications for a pipeline. When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request.

func (*ElasticTranscoder) UpdatePipelineStatus

func (c *ElasticTranscoder) UpdatePipelineStatus(req *UpdatePipelineStatusRequest) (resp *UpdatePipelineStatusResponse, err error)

UpdatePipelineStatus the UpdatePipelineStatus operation pauses or reactivates a pipeline, so that the pipeline stops or restarts the processing of jobs. Changing the pipeline status is useful if you want to cancel one or more jobs. You can't cancel jobs after Elastic Transcoder has started processing them; if you pause the pipeline to which you submitted the jobs, you have more time to get the job IDs for the jobs that you want to cancel, and to send a CancelJob request.

type Encryption

type Encryption struct {
	InitializationVector aws.StringValue `json:"InitializationVector,omitempty"`
	Key                  aws.StringValue `json:"Key,omitempty"`
	KeyMD5               aws.StringValue `json:"KeyMd5,omitempty"`
	Mode                 aws.StringValue `json:"Mode,omitempty"`
}

Encryption is undocumented.

type HlsContentProtection

type HlsContentProtection struct {
	InitializationVector  aws.StringValue `json:"InitializationVector,omitempty"`
	Key                   aws.StringValue `json:"Key,omitempty"`
	KeyMD5                aws.StringValue `json:"KeyMd5,omitempty"`
	KeyStoragePolicy      aws.StringValue `json:"KeyStoragePolicy,omitempty"`
	LicenseAcquisitionURL aws.StringValue `json:"LicenseAcquisitionUrl,omitempty"`
	Method                aws.StringValue `json:"Method,omitempty"`
}

HlsContentProtection is undocumented.

type Job

type Job struct {
	ARN             aws.StringValue   `json:"Arn,omitempty"`
	ID              aws.StringValue   `json:"Id,omitempty"`
	Input           *JobInput         `json:"Input,omitempty"`
	Output          *JobOutput        `json:"Output,omitempty"`
	OutputKeyPrefix aws.StringValue   `json:"OutputKeyPrefix,omitempty"`
	Outputs         []JobOutput       `json:"Outputs,omitempty"`
	PipelineID      aws.StringValue   `json:"PipelineId,omitempty"`
	Playlists       []Playlist        `json:"Playlists,omitempty"`
	Status          aws.StringValue   `json:"Status,omitempty"`
	UserMetadata    map[string]string `json:"UserMetadata,omitempty"`
}

Job is undocumented.

type JobAlbumArt

type JobAlbumArt struct {
	Artwork     []Artwork       `json:"Artwork,omitempty"`
	MergePolicy aws.StringValue `json:"MergePolicy,omitempty"`
}

JobAlbumArt is undocumented.

type JobInput

type JobInput struct {
	AspectRatio aws.StringValue `json:"AspectRatio,omitempty"`
	Container   aws.StringValue `json:"Container,omitempty"`
	Encryption  *Encryption     `json:"Encryption,omitempty"`
	FrameRate   aws.StringValue `json:"FrameRate,omitempty"`
	Interlaced  aws.StringValue `json:"Interlaced,omitempty"`
	Key         aws.StringValue `json:"Key,omitempty"`
	Resolution  aws.StringValue `json:"Resolution,omitempty"`
}

JobInput is undocumented.

type JobOutput

type JobOutput struct {
	AlbumArt            *JobAlbumArt     `json:"AlbumArt,omitempty"`
	Captions            *Captions        `json:"Captions,omitempty"`
	Composition         []Clip           `json:"Composition,omitempty"`
	Duration            aws.LongValue    `json:"Duration,omitempty"`
	Encryption          *Encryption      `json:"Encryption,omitempty"`
	Height              aws.IntegerValue `json:"Height,omitempty"`
	ID                  aws.StringValue  `json:"Id,omitempty"`
	Key                 aws.StringValue  `json:"Key,omitempty"`
	PresetID            aws.StringValue  `json:"PresetId,omitempty"`
	Rotate              aws.StringValue  `json:"Rotate,omitempty"`
	SegmentDuration     aws.StringValue  `json:"SegmentDuration,omitempty"`
	Status              aws.StringValue  `json:"Status,omitempty"`
	StatusDetail        aws.StringValue  `json:"StatusDetail,omitempty"`
	ThumbnailEncryption *Encryption      `json:"ThumbnailEncryption,omitempty"`
	ThumbnailPattern    aws.StringValue  `json:"ThumbnailPattern,omitempty"`
	Watermarks          []JobWatermark   `json:"Watermarks,omitempty"`
	Width               aws.IntegerValue `json:"Width,omitempty"`
}

JobOutput is undocumented.

type JobWatermark

type JobWatermark struct {
	Encryption        *Encryption     `json:"Encryption,omitempty"`
	InputKey          aws.StringValue `json:"InputKey,omitempty"`
	PresetWatermarkID aws.StringValue `json:"PresetWatermarkId,omitempty"`
}

JobWatermark is undocumented.

type ListJobsByPipelineRequest

type ListJobsByPipelineRequest struct {
	Ascending  aws.StringValue `json:"-"`
	PageToken  aws.StringValue `json:"-"`
	PipelineID aws.StringValue `json:"-"`
}

ListJobsByPipelineRequest is undocumented.

type ListJobsByPipelineResponse

type ListJobsByPipelineResponse struct {
	Jobs          []Job           `json:"Jobs,omitempty"`
	NextPageToken aws.StringValue `json:"NextPageToken,omitempty"`
}

ListJobsByPipelineResponse is undocumented.

type ListJobsByStatusRequest

type ListJobsByStatusRequest struct {
	Ascending aws.StringValue `json:"-"`
	PageToken aws.StringValue `json:"-"`
	Status    aws.StringValue `json:"-"`
}

ListJobsByStatusRequest is undocumented.

type ListJobsByStatusResponse

type ListJobsByStatusResponse struct {
	Jobs          []Job           `json:"Jobs,omitempty"`
	NextPageToken aws.StringValue `json:"NextPageToken,omitempty"`
}

ListJobsByStatusResponse is undocumented.

type ListPipelinesRequest

type ListPipelinesRequest struct {
	Ascending aws.StringValue `json:"-"`
	PageToken aws.StringValue `json:"-"`
}

ListPipelinesRequest is undocumented.

type ListPipelinesResponse

type ListPipelinesResponse struct {
	NextPageToken aws.StringValue `json:"NextPageToken,omitempty"`
	Pipelines     []Pipeline      `json:"Pipelines,omitempty"`
}

ListPipelinesResponse is undocumented.

type ListPresetsRequest

type ListPresetsRequest struct {
	Ascending aws.StringValue `json:"-"`
	PageToken aws.StringValue `json:"-"`
}

ListPresetsRequest is undocumented.

type ListPresetsResponse

type ListPresetsResponse struct {
	NextPageToken aws.StringValue `json:"NextPageToken,omitempty"`
	Presets       []Preset        `json:"Presets,omitempty"`
}

ListPresetsResponse is undocumented.

type Notifications

type Notifications struct {
	Completed   aws.StringValue `json:"Completed,omitempty"`
	Error       aws.StringValue `json:"Error,omitempty"`
	Progressing aws.StringValue `json:"Progressing,omitempty"`
	Warning     aws.StringValue `json:"Warning,omitempty"`
}

Notifications is undocumented.

type Permission

type Permission struct {
	Access      []string        `json:"Access,omitempty"`
	Grantee     aws.StringValue `json:"Grantee,omitempty"`
	GranteeType aws.StringValue `json:"GranteeType,omitempty"`
}

Permission is undocumented.

type Pipeline

type Pipeline struct {
	ARN             aws.StringValue       `json:"Arn,omitempty"`
	AWSKMSKeyARN    aws.StringValue       `json:"AwsKmsKeyArn,omitempty"`
	ContentConfig   *PipelineOutputConfig `json:"ContentConfig,omitempty"`
	ID              aws.StringValue       `json:"Id,omitempty"`
	InputBucket     aws.StringValue       `json:"InputBucket,omitempty"`
	Name            aws.StringValue       `json:"Name,omitempty"`
	Notifications   *Notifications        `json:"Notifications,omitempty"`
	OutputBucket    aws.StringValue       `json:"OutputBucket,omitempty"`
	Role            aws.StringValue       `json:"Role,omitempty"`
	Status          aws.StringValue       `json:"Status,omitempty"`
	ThumbnailConfig *PipelineOutputConfig `json:"ThumbnailConfig,omitempty"`
}

Pipeline is undocumented.

type PipelineOutputConfig

type PipelineOutputConfig struct {
	Bucket       aws.StringValue `json:"Bucket,omitempty"`
	Permissions  []Permission    `json:"Permissions,omitempty"`
	StorageClass aws.StringValue `json:"StorageClass,omitempty"`
}

PipelineOutputConfig is undocumented.

type Playlist

type Playlist struct {
	Format               aws.StringValue       `json:"Format,omitempty"`
	HlsContentProtection *HlsContentProtection `json:"HlsContentProtection,omitempty"`
	Name                 aws.StringValue       `json:"Name,omitempty"`
	OutputKeys           []string              `json:"OutputKeys,omitempty"`
	Status               aws.StringValue       `json:"Status,omitempty"`
	StatusDetail         aws.StringValue       `json:"StatusDetail,omitempty"`
}

Playlist is undocumented.

type Preset

type Preset struct {
	ARN         aws.StringValue  `json:"Arn,omitempty"`
	Audio       *AudioParameters `json:"Audio,omitempty"`
	Container   aws.StringValue  `json:"Container,omitempty"`
	Description aws.StringValue  `json:"Description,omitempty"`
	ID          aws.StringValue  `json:"Id,omitempty"`
	Name        aws.StringValue  `json:"Name,omitempty"`
	Thumbnails  *Thumbnails      `json:"Thumbnails,omitempty"`
	Type        aws.StringValue  `json:"Type,omitempty"`
	Video       *VideoParameters `json:"Video,omitempty"`
}

Preset is undocumented.

type PresetWatermark

type PresetWatermark struct {
	HorizontalAlign  aws.StringValue `json:"HorizontalAlign,omitempty"`
	HorizontalOffset aws.StringValue `json:"HorizontalOffset,omitempty"`
	ID               aws.StringValue `json:"Id,omitempty"`
	MaxHeight        aws.StringValue `json:"MaxHeight,omitempty"`
	MaxWidth         aws.StringValue `json:"MaxWidth,omitempty"`
	Opacity          aws.StringValue `json:"Opacity,omitempty"`
	SizingPolicy     aws.StringValue `json:"SizingPolicy,omitempty"`
	Target           aws.StringValue `json:"Target,omitempty"`
	VerticalAlign    aws.StringValue `json:"VerticalAlign,omitempty"`
	VerticalOffset   aws.StringValue `json:"VerticalOffset,omitempty"`
}

PresetWatermark is undocumented.

type ReadJobRequest

type ReadJobRequest struct {
	ID aws.StringValue `json:"-"`
}

ReadJobRequest is undocumented.

type ReadJobResponse

type ReadJobResponse struct {
	Job *Job `json:"Job,omitempty"`
}

ReadJobResponse is undocumented.

type ReadPipelineRequest

type ReadPipelineRequest struct {
	ID aws.StringValue `json:"-"`
}

ReadPipelineRequest is undocumented.

type ReadPipelineResponse

type ReadPipelineResponse struct {
	Pipeline *Pipeline `json:"Pipeline,omitempty"`
}

ReadPipelineResponse is undocumented.

type ReadPresetRequest

type ReadPresetRequest struct {
	ID aws.StringValue `json:"-"`
}

ReadPresetRequest is undocumented.

type ReadPresetResponse

type ReadPresetResponse struct {
	Preset *Preset `json:"Preset,omitempty"`
}

ReadPresetResponse is undocumented.

type TestRoleRequest

type TestRoleRequest struct {
	InputBucket  aws.StringValue `json:"InputBucket"`
	OutputBucket aws.StringValue `json:"OutputBucket"`
	Role         aws.StringValue `json:"Role"`
	Topics       []string        `json:"Topics"`
}

TestRoleRequest is undocumented.

type TestRoleResponse

type TestRoleResponse struct {
	Messages []string        `json:"Messages,omitempty"`
	Success  aws.StringValue `json:"Success,omitempty"`
}

TestRoleResponse is undocumented.

type Thumbnails

type Thumbnails struct {
	AspectRatio   aws.StringValue `json:"AspectRatio,omitempty"`
	Format        aws.StringValue `json:"Format,omitempty"`
	Interval      aws.StringValue `json:"Interval,omitempty"`
	MaxHeight     aws.StringValue `json:"MaxHeight,omitempty"`
	MaxWidth      aws.StringValue `json:"MaxWidth,omitempty"`
	PaddingPolicy aws.StringValue `json:"PaddingPolicy,omitempty"`
	Resolution    aws.StringValue `json:"Resolution,omitempty"`
	SizingPolicy  aws.StringValue `json:"SizingPolicy,omitempty"`
}

Thumbnails is undocumented.

type TimeSpan

type TimeSpan struct {
	Duration  aws.StringValue `json:"Duration,omitempty"`
	StartTime aws.StringValue `json:"StartTime,omitempty"`
}

TimeSpan is undocumented.

type UpdatePipelineNotificationsRequest

type UpdatePipelineNotificationsRequest struct {
	ID            aws.StringValue `json:"-"`
	Notifications *Notifications  `json:"Notifications"`
}

UpdatePipelineNotificationsRequest is undocumented.

type UpdatePipelineNotificationsResponse

type UpdatePipelineNotificationsResponse struct {
	Pipeline *Pipeline `json:"Pipeline,omitempty"`
}

UpdatePipelineNotificationsResponse is undocumented.

type UpdatePipelineRequest

type UpdatePipelineRequest struct {
	AWSKMSKeyARN    aws.StringValue       `json:"AwsKmsKeyArn,omitempty"`
	ContentConfig   *PipelineOutputConfig `json:"ContentConfig,omitempty"`
	ID              aws.StringValue       `json:"-"`
	InputBucket     aws.StringValue       `json:"InputBucket,omitempty"`
	Name            aws.StringValue       `json:"Name,omitempty"`
	Notifications   *Notifications        `json:"Notifications,omitempty"`
	Role            aws.StringValue       `json:"Role,omitempty"`
	ThumbnailConfig *PipelineOutputConfig `json:"ThumbnailConfig,omitempty"`
}

UpdatePipelineRequest is undocumented.

type UpdatePipelineResponse

type UpdatePipelineResponse struct {
	Pipeline *Pipeline `json:"Pipeline,omitempty"`
}

UpdatePipelineResponse is undocumented.

type UpdatePipelineStatusRequest

type UpdatePipelineStatusRequest struct {
	ID     aws.StringValue `json:"-"`
	Status aws.StringValue `json:"Status"`
}

UpdatePipelineStatusRequest is undocumented.

type UpdatePipelineStatusResponse

type UpdatePipelineStatusResponse struct {
	Pipeline *Pipeline `json:"Pipeline,omitempty"`
}

UpdatePipelineStatusResponse is undocumented.

type VideoParameters

type VideoParameters struct {
	AspectRatio        aws.StringValue   `json:"AspectRatio,omitempty"`
	BitRate            aws.StringValue   `json:"BitRate,omitempty"`
	Codec              aws.StringValue   `json:"Codec,omitempty"`
	CodecOptions       map[string]string `json:"CodecOptions,omitempty"`
	DisplayAspectRatio aws.StringValue   `json:"DisplayAspectRatio,omitempty"`
	FixedGOP           aws.StringValue   `json:"FixedGOP,omitempty"`
	FrameRate          aws.StringValue   `json:"FrameRate,omitempty"`
	KeyframesMaxDist   aws.StringValue   `json:"KeyframesMaxDist,omitempty"`
	MaxFrameRate       aws.StringValue   `json:"MaxFrameRate,omitempty"`
	MaxHeight          aws.StringValue   `json:"MaxHeight,omitempty"`
	MaxWidth           aws.StringValue   `json:"MaxWidth,omitempty"`
	PaddingPolicy      aws.StringValue   `json:"PaddingPolicy,omitempty"`
	Resolution         aws.StringValue   `json:"Resolution,omitempty"`
	SizingPolicy       aws.StringValue   `json:"SizingPolicy,omitempty"`
	Watermarks         []PresetWatermark `json:"Watermarks,omitempty"`
}

VideoParameters is undocumented.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL