elastictranscoder

package
v2.0.0-preview.2+incom... Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package elastictranscoder provides the client and types for making API requests to Amazon Elastic Transcoder.

The AWS Elastic Transcoder Service.

See elastictranscoder package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/elastictranscoder/

Using the Client

To Amazon Elastic Transcoder with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Elastic Transcoder client ElasticTranscoder for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/elastictranscoder/#New

Index

Constants

View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// General authentication failure. The request was not signed correctly.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeIncompatibleVersionException for service response error code
	// "IncompatibleVersionException".
	ErrCodeIncompatibleVersionException = "IncompatibleVersionException"

	// ErrCodeInternalServiceException for service response error code
	// "InternalServiceException".
	//
	// Elastic Transcoder encountered an unexpected exception while trying to fulfill
	// the request.
	ErrCodeInternalServiceException = "InternalServiceException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// Too many operations for a given AWS account. For example, the number of pipelines
	// exceeds the maximum allowed.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUseException".
	//
	// The resource you are attempting to change is in use. For example, you are
	// attempting to delete a pipeline that is currently in use.
	ErrCodeResourceInUseException = "ResourceInUseException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The requested resource does not exist or is not available. For example, the
	// pipeline to which you're trying to add a job doesn't exist or is still being
	// created.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// One or more required parameter values were not provided in the request.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "elastictranscoder" // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName         // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Artwork

type Artwork struct {

	// The format of album art, if any. Valid formats are .jpg and .png.
	AlbumArtFormat *string `type:"string"`

	// The encryption settings, if any, that you want Elastic Transcoder to apply
	// to your artwork.
	Encryption *Encryption `type:"structure"`

	// The name of the file to be used as album art. To determine which Amazon S3
	// bucket contains the specified file, Elastic Transcoder checks the pipeline
	// specified by PipelineId; the InputBucket object in that pipeline identifies
	// the bucket.
	//
	// If the file name includes a prefix, for example, cooking/pie.jpg, include
	// the prefix in the key. If the file isn't in the specified bucket, Elastic
	// Transcoder returns an error.
	InputKey *string `min:"1" type:"string"`

	// The maximum height of the output album art in pixels. If you specify auto,
	// Elastic Transcoder uses 600 as the default value. If you specify a numeric
	// value, enter an even integer between 32 and 3072, inclusive.
	MaxHeight *string `type:"string"`

	// The maximum width of the output album art in pixels. If you specify auto,
	// Elastic Transcoder uses 600 as the default value. If you specify a numeric
	// value, enter an even integer between 32 and 4096, inclusive.
	MaxWidth *string `type:"string"`

	// When you set PaddingPolicy to Pad, Elastic Transcoder may add white bars
	// to the top and bottom and/or left and right sides of the output album art
	// to make the total size of the output art match the values that you specified
	// for MaxWidth and MaxHeight.
	PaddingPolicy *string `type:"string"`

	// Specify one of the following values to control scaling of the output album
	// art:
	//
	//    * Fit: Elastic Transcoder scales the output art so it matches the value
	//    that you specified in either MaxWidth or MaxHeight without exceeding the
	//    other value.
	//
	//    * Fill: Elastic Transcoder scales the output art so it matches the value
	//    that you specified in either MaxWidth or MaxHeight and matches or exceeds
	//    the other value. Elastic Transcoder centers the output art and then crops
	//    it in the dimension (if any) that exceeds the maximum value.
	//
	//    * Stretch: Elastic Transcoder stretches the output art to match the values
	//    that you specified for MaxWidth and MaxHeight. If the relative proportions
	//    of the input art and the output art are different, the output art will
	//    be distorted.
	//
	//    * Keep: Elastic Transcoder does not scale the output art. If either dimension
	//    of the input art exceeds the values that you specified for MaxWidth and
	//    MaxHeight, Elastic Transcoder crops the output art.
	//
	//    * ShrinkToFit: Elastic Transcoder scales the output art down so that its
	//    dimensions match the values that you specified for at least one of MaxWidth
	//    and MaxHeight without exceeding either value. If you specify this option,
	//    Elastic Transcoder does not scale the art up.
	//
	//    * ShrinkToFill Elastic Transcoder scales the output art down so that its
	//    dimensions match the values that you specified for at least one of MaxWidth
	//    and MaxHeight without dropping below either value. If you specify this
	//    option, Elastic Transcoder does not scale the art up.
	SizingPolicy *string `type:"string"`
	// contains filtered or unexported fields
}

The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20.

To remove artwork or leave the artwork empty, you can either set Artwork to null, or set the Merge Policy to "Replace" and use an empty Artwork array.

To pass through existing artwork unchanged, set the Merge Policy to "Prepend", "Append", or "Fallback", and use an empty Artwork array.

func (Artwork) GoString

func (s Artwork) GoString() string

GoString returns the string representation

func (*Artwork) SetAlbumArtFormat

func (s *Artwork) SetAlbumArtFormat(v string) *Artwork

SetAlbumArtFormat sets the AlbumArtFormat field's value.

func (*Artwork) SetEncryption

func (s *Artwork) SetEncryption(v *Encryption) *Artwork

SetEncryption sets the Encryption field's value.

func (*Artwork) SetInputKey

func (s *Artwork) SetInputKey(v string) *Artwork

SetInputKey sets the InputKey field's value.

func (*Artwork) SetMaxHeight

func (s *Artwork) SetMaxHeight(v string) *Artwork

SetMaxHeight sets the MaxHeight field's value.

func (*Artwork) SetMaxWidth

func (s *Artwork) SetMaxWidth(v string) *Artwork

SetMaxWidth sets the MaxWidth field's value.

func (*Artwork) SetPaddingPolicy

func (s *Artwork) SetPaddingPolicy(v string) *Artwork

SetPaddingPolicy sets the PaddingPolicy field's value.

func (*Artwork) SetSizingPolicy

func (s *Artwork) SetSizingPolicy(v string) *Artwork

SetSizingPolicy sets the SizingPolicy field's value.

func (Artwork) String

func (s Artwork) String() string

String returns the string representation

func (*Artwork) Validate

func (s *Artwork) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AudioCodecOptions

type AudioCodecOptions struct {

	// You can only choose an audio bit depth when you specify flac or pcm for the
	// value of Audio:Codec.
	//
	// The bit depth of a sample is how many bits of information are included in
	// the audio samples. The higher the bit depth, the better the audio, but the
	// larger the file.
	//
	// Valid values are 16 and 24.
	//
	// The most common bit depth is 24.
	BitDepth *string `type:"string"`

	// You can only choose an audio bit order when you specify pcm for the value
	// of Audio:Codec.
	//
	// The order the bits of a PCM sample are stored in.
	//
	// The supported value is LittleEndian.
	BitOrder *string `type:"string"`

	// You can only choose an audio profile when you specify AAC for the value of
	// Audio:Codec.
	//
	// Specify the AAC profile for the output file. Elastic Transcoder supports
	// the following profiles:
	//
	//    * auto: If you specify auto, Elastic Transcoder selects the profile based
	//    on the bit rate selected for the output file.
	//
	//    * AAC-LC: The most common AAC profile. Use for bit rates larger than 64
	//    kbps.
	//
	//    * HE-AAC: Not supported on some older players and devices. Use for bit
	//    rates between 40 and 80 kbps.
	//
	//    * HE-AACv2: Not supported on some players and devices. Use for bit rates
	//    less than 48 kbps.
	//
	// All outputs in a Smooth playlist must have the same value for Profile.
	//
	// If you created any presets before AAC profiles were added, Elastic Transcoder
	// automatically updated your presets to use AAC-LC. You can change the value
	// as required.
	Profile *string `type:"string"`

	// You can only choose whether an audio sample is signed when you specify pcm
	// for the value of Audio:Codec.
	//
	// Whether audio samples are represented with negative and positive numbers
	// (signed) or only positive numbers (unsigned).
	//
	// The supported value is Signed.
	Signed *string `type:"string"`
	// contains filtered or unexported fields
}

Options associated with your audio codec.

func (AudioCodecOptions) GoString

func (s AudioCodecOptions) GoString() string

GoString returns the string representation

func (*AudioCodecOptions) SetBitDepth

func (s *AudioCodecOptions) SetBitDepth(v string) *AudioCodecOptions

SetBitDepth sets the BitDepth field's value.

func (*AudioCodecOptions) SetBitOrder

func (s *AudioCodecOptions) SetBitOrder(v string) *AudioCodecOptions

SetBitOrder sets the BitOrder field's value.

func (*AudioCodecOptions) SetProfile

func (s *AudioCodecOptions) SetProfile(v string) *AudioCodecOptions

SetProfile sets the Profile field's value.

func (*AudioCodecOptions) SetSigned

func (s *AudioCodecOptions) SetSigned(v string) *AudioCodecOptions

SetSigned sets the Signed field's value.

func (AudioCodecOptions) String

func (s AudioCodecOptions) String() string

String returns the string representation

type AudioParameters

type AudioParameters struct {

	// The method of organizing audio channels and tracks. Use Audio:Channels to
	// specify the number of channels in your output, and Audio:AudioPackingMode
	// to specify the number of tracks and their relation to the channels. If you
	// do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack.
	//
	// The following values are valid:
	//
	// SingleTrack, OneChannelPerTrack, and OneChannelPerTrackWithMosTo8Tracks
	//
	// When you specify SingleTrack, Elastic Transcoder creates a single track for
	// your output. The track can have up to eight channels. Use SingleTrack for
	// all non-mxf containers.
	//
	// The outputs of SingleTrack for a specific channel value and inputs are as
	// follows:
	//
	//    * 0 channels with any input: Audio omitted from the output
	//
	//    * 1, 2, or auto channels with no audio input: Audio omitted from the output
	//
	//    * 1 channel with any input with audio: One track with one channel, downmixed
	//    if necessary
	//
	//    * 2 channels with one track with one channel: One track with two identical
	//    channels
	//
	//    * 2 or auto channels with two tracks with one channel each: One track
	//    with two channels
	//
	//    * 2 or auto channels with one track with two channels: One track with
	//    two channels
	//
	//    * 2 channels with one track with multiple channels: One track with two
	//    channels
	//
	//    * auto channels with one track with one channel: One track with one channel
	//
	//    * auto channels with one track with multiple channels: One track with
	//    multiple channels
	//
	// When you specify OneChannelPerTrack, Elastic Transcoder creates a new track
	// for every channel in your output. Your output can have up to eight single-channel
	// tracks.
	//
	// The outputs of OneChannelPerTrack for a specific channel value and inputs
	// are as follows:
	//
	//    * 0 channels with any input: Audio omitted from the output
	//
	//    * 1, 2, or auto channels with no audio input: Audio omitted from the output
	//
	//    * 1 channel with any input with audio: One track with one channel, downmixed
	//    if necessary
	//
	//    * 2 channels with one track with one channel: Two tracks with one identical
	//    channel each
	//
	//    * 2 or auto channels with two tracks with one channel each: Two tracks
	//    with one channel each
	//
	//    * 2 or auto channels with one track with two channels: Two tracks with
	//    one channel each
	//
	//    * 2 channels with one track with multiple channels: Two tracks with one
	//    channel each
	//
	//    * auto channels with one track with one channel: One track with one channel
	//
	//    * auto channels with one track with multiple channels: Up to eight tracks
	//    with one channel each
	//
	// When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic Transcoder creates
	// eight single-channel tracks for your output. All tracks that do not contain
	// audio data from an input channel are MOS, or Mit Out Sound, tracks.
	//
	// The outputs of OneChannelPerTrackWithMosTo8Tracks for a specific channel
	// value and inputs are as follows:
	//
	//    * 0 channels with any input: Audio omitted from the output
	//
	//    * 1, 2, or auto channels with no audio input: Audio omitted from the output
	//
	//    * 1 channel with any input with audio: One track with one channel, downmixed
	//    if necessary, plus six MOS tracks
	//
	//    * 2 channels with one track with one channel: Two tracks with one identical
	//    channel each, plus six MOS tracks
	//
	//    * 2 or auto channels with two tracks with one channel each: Two tracks
	//    with one channel each, plus six MOS tracks
	//
	//    * 2 or auto channels with one track with two channels: Two tracks with
	//    one channel each, plus six MOS tracks
	//
	//    * 2 channels with one track with multiple channels: Two tracks with one
	//    channel each, plus six MOS tracks
	//
	//    * auto channels with one track with one channel: One track with one channel,
	//    plus seven MOS tracks
	//
	//    * auto channels with one track with multiple channels: Up to eight tracks
	//    with one channel each, plus MOS tracks until there are eight tracks in
	//    all
	AudioPackingMode *string `type:"string"`

	// The bit rate of the audio stream in the output file, in kilobits/second.
	// Enter an integer between 64 and 320, inclusive.
	BitRate *string `type:"string"`

	// The number of audio channels in the output file. The following values are
	// valid:
	//
	// auto, 0, 1, 2
	//
	// One channel carries the information played by a single speaker. For example,
	// a stereo track with two channels sends one channel to the left speaker, and
	// the other channel to the right speaker. The output channels are organized
	// into tracks. If you want Elastic Transcoder to automatically detect the number
	// of audio channels in the input file and use that value for the output file,
	// select auto.
	//
	// The output of a specific channel value and inputs are as follows:
	//
	//    * auto channel specified, with any input: Pass through up to eight input
	//    channels.
	//
	//    * 0 channels specified, with any input: Audio omitted from the output.
	//
	//    * 1 channel specified, with at least one input channel: Mono sound.
	//
	//    * 2 channels specified, with any input: Two identical mono channels or
	//    stereo. For more information about tracks, see Audio:AudioPackingMode.
	//
	// For more information about how Elastic Transcoder organizes channels and
	// tracks, see Audio:AudioPackingMode.
	Channels *string `type:"string"`

	// The audio codec for the output file. Valid values include aac, flac, mp2,
	// mp3, pcm, and vorbis.
	Codec *string `type:"string"`

	// If you specified AAC for Audio:Codec, this is the AAC compression profile
	// to use. Valid values include:
	//
	// auto, AAC-LC, HE-AAC, HE-AACv2
	//
	// If you specify auto, Elastic Transcoder chooses a profile based on the bit
	// rate of the output file.
	CodecOptions *AudioCodecOptions `type:"structure"`

	// The sample rate of the audio stream in the output file, in Hertz. Valid values
	// include:
	//
	// auto, 22050, 32000, 44100, 48000, 96000
	//
	// If you specify auto, Elastic Transcoder automatically detects the sample
	// rate.
	SampleRate *string `type:"string"`
	// contains filtered or unexported fields
}

Parameters required for transcoding audio.

func (AudioParameters) GoString

func (s AudioParameters) GoString() string

GoString returns the string representation

func (*AudioParameters) SetAudioPackingMode

func (s *AudioParameters) SetAudioPackingMode(v string) *AudioParameters

SetAudioPackingMode sets the AudioPackingMode field's value.

func (*AudioParameters) SetBitRate

func (s *AudioParameters) SetBitRate(v string) *AudioParameters

SetBitRate sets the BitRate field's value.

func (*AudioParameters) SetChannels

func (s *AudioParameters) SetChannels(v string) *AudioParameters

SetChannels sets the Channels field's value.

func (*AudioParameters) SetCodec

func (s *AudioParameters) SetCodec(v string) *AudioParameters

SetCodec sets the Codec field's value.

func (*AudioParameters) SetCodecOptions

func (s *AudioParameters) SetCodecOptions(v *AudioCodecOptions) *AudioParameters

SetCodecOptions sets the CodecOptions field's value.

func (*AudioParameters) SetSampleRate

func (s *AudioParameters) SetSampleRate(v string) *AudioParameters

SetSampleRate sets the SampleRate field's value.

func (AudioParameters) String

func (s AudioParameters) String() string

String returns the string representation

type CancelJobInput

type CancelJobInput struct {

	// The identifier of the job that you want to cancel.
	//
	// To get a list of the jobs (including their jobId) that have a status of Submitted,
	// use the ListJobsByStatus API action.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The CancelJobRequest structure.

func (CancelJobInput) GoString

func (s CancelJobInput) GoString() string

GoString returns the string representation

func (*CancelJobInput) SetId

func (s *CancelJobInput) SetId(v string) *CancelJobInput

SetId sets the Id field's value.

func (CancelJobInput) String

func (s CancelJobInput) String() string

String returns the string representation

func (*CancelJobInput) Validate

func (s *CancelJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelJobOutput

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

The response body contains a JSON object. If the job is successfully canceled, the value of Success is true.

func (CancelJobOutput) GoString

func (s CancelJobOutput) GoString() string

GoString returns the string representation

func (CancelJobOutput) SDKResponseMetadata

func (s CancelJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CancelJobOutput) String

func (s CancelJobOutput) String() string

String returns the string representation

type CancelJobRequest

type CancelJobRequest struct {
	*aws.Request
	Input *CancelJobInput
}

CancelJobRequest is a API request type for the CancelJob API operation.

func (CancelJobRequest) Send

func (r CancelJobRequest) Send() (*CancelJobOutput, error)

Send marshals and sends the CancelJob API request.

type CaptionFormat

type CaptionFormat struct {

	// The encryption settings, if any, that you want Elastic Transcoder to apply
	// to your caption formats.
	Encryption *Encryption `type:"structure"`

	// The format you specify determines whether Elastic Transcoder generates an
	// embedded or sidecar caption for this output.
	//
	//    * Valid Embedded Caption Formats:
	//
	// for FLAC: None
	//
	// For MP3: None
	//
	// For MP4: mov-text
	//
	// For MPEG-TS: None
	//
	// For ogg: None
	//
	// For webm: None
	//
	//    * Valid Sidecar Caption Formats: Elastic Transcoder supports dfxp (first
	//    div element only), scc, srt, and webvtt. If you want ttml or smpte-tt
	//    compatible captions, specify dfxp as your output format.
	//
	// For FMP4: dfxp
	//
	// Non-FMP4 outputs: All sidecar types
	//
	// fmp4 captions have an extension of .ismt
	Format *string `type:"string"`

	// The prefix for caption filenames, in the form description-{language}, where:
	//
	//    * description is a description of the video.
	//
	//    * {language} is a literal value that Elastic Transcoder replaces with
	//    the two- or three-letter code for the language of the caption in the output
	//    file names.
	//
	// If you don't include {language} in the file name pattern, Elastic Transcoder
	// automatically appends "{language}" to the value that you specify for the
	// description. In addition, Elastic Transcoder automatically appends the count
	// to the end of the segment files.
	//
	// For example, suppose you're transcoding into srt format. When you enter "Sydney-{language}-sunrise",
	// and the language of the captions is English (en), the name of the first caption
	// file is be Sydney-en-sunrise00000.srt.
	Pattern *string `type:"string"`
	// contains filtered or unexported fields
}

The file format of the output captions. If you leave this value blank, Elastic Transcoder returns an error.

func (CaptionFormat) GoString

func (s CaptionFormat) GoString() string

GoString returns the string representation

func (*CaptionFormat) SetEncryption

func (s *CaptionFormat) SetEncryption(v *Encryption) *CaptionFormat

SetEncryption sets the Encryption field's value.

func (*CaptionFormat) SetFormat

func (s *CaptionFormat) SetFormat(v string) *CaptionFormat

SetFormat sets the Format field's value.

func (*CaptionFormat) SetPattern

func (s *CaptionFormat) SetPattern(v string) *CaptionFormat

SetPattern sets the Pattern field's value.

func (CaptionFormat) String

func (s CaptionFormat) String() string

String returns the string representation

type CaptionSource

type CaptionSource struct {

	// The encryption settings, if any, that Elastic Transcoder needs to decyrpt
	// your caption sources, or that you want Elastic Transcoder to apply to your
	// caption sources.
	Encryption *Encryption `type:"structure"`

	// The name of the sidecar caption file that you want Elastic Transcoder to
	// include in the output file.
	Key *string `min:"1" type:"string"`

	// The label of the caption shown in the player when choosing a language. We
	// recommend that you put the caption language name here, in the language of
	// the captions.
	Label *string `min:"1" type:"string"`

	// A string that specifies the language of the caption. If you specified multiple
	// inputs with captions, the caption language must match in order to be included
	// in the output. Specify this as one of:
	//
	//    * 2-character ISO 639-1 code
	//
	//    * 3-character ISO 639-2 code
	//
	// For more information on ISO language codes and language names, see the List
	// of ISO 639-1 codes.
	Language *string `min:"1" type:"string"`

	// For clip generation or captions that do not start at the same time as the
	// associated video file, the TimeOffset tells Elastic Transcoder how much of
	// the video to encode before including captions.
	//
	// Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
	TimeOffset *string `type:"string"`
	// contains filtered or unexported fields
}

A source file for the input sidecar captions used during the transcoding process.

func (CaptionSource) GoString

func (s CaptionSource) GoString() string

GoString returns the string representation

func (*CaptionSource) SetEncryption

func (s *CaptionSource) SetEncryption(v *Encryption) *CaptionSource

SetEncryption sets the Encryption field's value.

func (*CaptionSource) SetKey

func (s *CaptionSource) SetKey(v string) *CaptionSource

SetKey sets the Key field's value.

func (*CaptionSource) SetLabel

func (s *CaptionSource) SetLabel(v string) *CaptionSource

SetLabel sets the Label field's value.

func (*CaptionSource) SetLanguage

func (s *CaptionSource) SetLanguage(v string) *CaptionSource

SetLanguage sets the Language field's value.

func (*CaptionSource) SetTimeOffset

func (s *CaptionSource) SetTimeOffset(v string) *CaptionSource

SetTimeOffset sets the TimeOffset field's value.

func (CaptionSource) String

func (s CaptionSource) String() string

String returns the string representation

func (*CaptionSource) Validate

func (s *CaptionSource) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Captions

type Captions struct {

	// The array of file formats for the output captions. If you leave this value
	// blank, Elastic Transcoder returns an error.
	CaptionFormats []CaptionFormat `type:"list"`

	// Source files for the input sidecar captions used during the transcoding process.
	// To omit all sidecar captions, leave CaptionSources blank.
	CaptionSources []CaptionSource `deprecated:"true" type:"list"`

	// A policy that determines how Elastic Transcoder handles the existence of
	// multiple captions.
	//
	//    * MergeOverride: Elastic Transcoder transcodes both embedded and sidecar
	//    captions into outputs. If captions for a language are embedded in the
	//    input file and also appear in a sidecar file, Elastic Transcoder uses
	//    the sidecar captions and ignores the embedded captions for that language.
	//
	//    * MergeRetain: Elastic Transcoder transcodes both embedded and sidecar
	//    captions into outputs. If captions for a language are embedded in the
	//    input file and also appear in a sidecar file, Elastic Transcoder uses
	//    the embedded captions and ignores the sidecar captions for that language.
	//    If CaptionSources is empty, Elastic Transcoder omits all sidecar captions
	//    from the output files.
	//
	//    * Override: Elastic Transcoder transcodes only the sidecar captions that
	//    you specify in CaptionSources.
	//
	// MergePolicy cannot be null.
	MergePolicy *string `deprecated:"true" type:"string"`
	// contains filtered or unexported fields
}

The captions to be created, if any.

func (Captions) GoString

func (s Captions) GoString() string

GoString returns the string representation

func (*Captions) SetCaptionFormats

func (s *Captions) SetCaptionFormats(v []CaptionFormat) *Captions

SetCaptionFormats sets the CaptionFormats field's value.

func (*Captions) SetCaptionSources

func (s *Captions) SetCaptionSources(v []CaptionSource) *Captions

SetCaptionSources sets the CaptionSources field's value.

func (*Captions) SetMergePolicy

func (s *Captions) SetMergePolicy(v string) *Captions

SetMergePolicy sets the MergePolicy field's value.

func (Captions) String

func (s Captions) String() string

String returns the string representation

func (*Captions) Validate

func (s *Captions) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Clip

type Clip struct {

	// Settings that determine when a clip begins and how long it lasts.
	TimeSpan *TimeSpan `type:"structure"`
	// contains filtered or unexported fields
}

Settings for one clip in a composition. All jobs in a playlist must have the same clip settings.

func (Clip) GoString

func (s Clip) GoString() string

GoString returns the string representation

func (*Clip) SetTimeSpan

func (s *Clip) SetTimeSpan(v *TimeSpan) *Clip

SetTimeSpan sets the TimeSpan field's value.

func (Clip) String

func (s Clip) String() string

String returns the string representation

type CreateJobInput

type CreateJobInput struct {

	// A section of the request body that provides information about the file that
	// is being transcoded.
	Input *JobInput `type:"structure"`

	// A section of the request body that provides information about the files that
	// are being transcoded.
	Inputs []JobInput `type:"list"`

	// A section of the request body that provides information about the transcoded
	// (target) file. We strongly recommend that you use the Outputs syntax instead
	// of the Output syntax.
	Output *CreateJobOutput `type:"structure"`

	// The value, if any, that you want Elastic Transcoder to prepend to the names
	// of all files that this job creates, including output files, thumbnails, and
	// playlists.
	OutputKeyPrefix *string `min:"1" type:"string"`

	// A section of the request body that provides information about the transcoded
	// (target) files. We recommend that you use the Outputs syntax instead of the
	// Output syntax.
	Outputs []CreateJobOutput `type:"list"`

	// The Id of the pipeline that you want Elastic Transcoder to use for transcoding.
	// The pipeline determines several settings, including the Amazon S3 bucket
	// from which Elastic Transcoder gets the files to transcode and the bucket
	// into which Elastic Transcoder puts the transcoded files.
	//
	// PipelineId is a required field
	PipelineId *string `type:"string" required:"true"`

	// If you specify a preset in PresetId for which the value of Container is fmp4
	// (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the
	// master playlists that you want Elastic Transcoder to create.
	//
	// The maximum number of master playlists in a job is 30.
	Playlists []CreateJobPlaylist `type:"list"`

	// User-defined metadata that you want to associate with an Elastic Transcoder
	// job. You specify metadata in key/value pairs, and you can add up to 10 key/value
	// pairs per job. Elastic Transcoder does not guarantee that key/value pairs
	// are returned in the same order in which you specify them.
	UserMetadata map[string]string `type:"map"`
	// contains filtered or unexported fields
}

The CreateJobRequest structure.

func (CreateJobInput) GoString

func (s CreateJobInput) GoString() string

GoString returns the string representation

func (*CreateJobInput) SetInput

func (s *CreateJobInput) SetInput(v *JobInput) *CreateJobInput

SetInput sets the Input field's value.

func (*CreateJobInput) SetInputs

func (s *CreateJobInput) SetInputs(v []JobInput) *CreateJobInput

SetInputs sets the Inputs field's value.

func (*CreateJobInput) SetOutput

func (s *CreateJobInput) SetOutput(v *CreateJobOutput) *CreateJobInput

SetOutput sets the Output field's value.

func (*CreateJobInput) SetOutputKeyPrefix

func (s *CreateJobInput) SetOutputKeyPrefix(v string) *CreateJobInput

SetOutputKeyPrefix sets the OutputKeyPrefix field's value.

func (*CreateJobInput) SetOutputs

func (s *CreateJobInput) SetOutputs(v []CreateJobOutput) *CreateJobInput

SetOutputs sets the Outputs field's value.

func (*CreateJobInput) SetPipelineId

func (s *CreateJobInput) SetPipelineId(v string) *CreateJobInput

SetPipelineId sets the PipelineId field's value.

func (*CreateJobInput) SetPlaylists

func (s *CreateJobInput) SetPlaylists(v []CreateJobPlaylist) *CreateJobInput

SetPlaylists sets the Playlists field's value.

func (*CreateJobInput) SetUserMetadata

func (s *CreateJobInput) SetUserMetadata(v map[string]string) *CreateJobInput

SetUserMetadata sets the UserMetadata field's value.

func (CreateJobInput) String

func (s CreateJobInput) String() string

String returns the string representation

func (*CreateJobInput) Validate

func (s *CreateJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateJobOutput

type CreateJobOutput struct {

	// Information about the album art that you want Elastic Transcoder to add to
	// the file during transcoding. You can specify up to twenty album artworks
	// for each output. Settings for each artwork must be defined in the job for
	// the current output.
	AlbumArt *JobAlbumArt `type:"structure"`

	// You can configure Elastic Transcoder to transcode captions, or subtitles,
	// from one format to another. All captions must be in UTF-8. Elastic Transcoder
	// supports two types of captions:
	//
	//    * Embedded: Embedded captions are included in the same file as the audio
	//    and video. Elastic Transcoder supports only one embedded caption per language,
	//    to a maximum of 300 embedded captions per file.
	//
	// Valid input values include: CEA-608 (EIA-608, first non-empty channel only),
	//    CEA-708 (EIA-708, first non-empty channel only), and mov-text
	//
	// Valid outputs include: mov-text
	//
	// Elastic Transcoder supports a maximum of one embedded format per output.
	//
	//    * Sidecar: Sidecar captions are kept in a separate metadata file from
	//    the audio and video data. Sidecar captions require a player that is capable
	//    of understanding the relationship between the video file and the sidecar
	//    file. Elastic Transcoder supports only one sidecar caption per language,
	//    to a maximum of 20 sidecar captions per file.
	//
	// Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt,
	//    srt, ttml (first div element only), and webvtt
	//
	// Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.
	//
	// If you want ttml or smpte-tt compatible captions, specify dfxp as your output
	// format.
	//
	// Elastic Transcoder does not support OCR (Optical Character Recognition),
	// does not accept pictures as a valid input for captions, and is not available
	// for audio-only transcoding. Elastic Transcoder does not preserve text formatting
	// (for example, italics) during the transcoding process.
	//
	// To remove captions or leave the captions empty, set Captions to null. To
	// pass through existing captions unchanged, set the MergePolicy to MergeRetain,
	// and pass in a null CaptionSources array.
	//
	// For more information on embedded files, see the Subtitles Wikipedia page.
	//
	// For more information on sidecar files, see the Extensible Metadata Platform
	// and Sidecar file Wikipedia pages.
	Captions *Captions `type:"structure"`

	// You can create an output file that contains an excerpt from the input file.
	// This excerpt, called a clip, can come from the beginning, middle, or end
	// of the file. The Composition object contains settings for the clips that
	// make up an output file. For the current release, you can only specify settings
	// for a single clip per output file. The Composition object cannot be null.
	Composition []Clip `deprecated:"true" type:"list"`

	// You can specify encryption settings for any output files that you want to
	// use for a transcoding job. This includes the output file and any watermarks,
	// thumbnails, album art, or captions that you want to use. You must specify
	// encryption settings for each file individually.
	Encryption *Encryption `type:"structure"`

	// The name to assign to the transcoded file. Elastic Transcoder saves the file
	// in the Amazon S3 bucket specified by the OutputBucket object in the pipeline
	// that is specified by the pipeline ID. If a file with the specified name already
	// exists in the output bucket, the job fails.
	Key *string `min:"1" type:"string"`

	// The Id of the preset to use for this job. The preset determines the audio,
	// video, and thumbnail settings that Elastic Transcoder uses for transcoding.
	PresetId *string `type:"string"`

	// The number of degrees clockwise by which you want Elastic Transcoder to rotate
	// the output relative to the input. Enter one of the following values: auto,
	// 0, 90, 180, 270. The value auto generally works only if the file that you're
	// transcoding contains rotation metadata.
	Rotate *string `type:"string"`

	// (Outputs in Fragmented MP4 or MPEG-TS format only.
	//
	// If you specify a preset in PresetId for which the value of Container is fmp4
	// (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration
	// of each segment in seconds. For HLSv3 format playlists, each media segment
	// is stored in a separate .ts file. For HLSv4 and Smooth playlists, all media
	// segments for an output are stored in a single file. Each segment is approximately
	// the length of the SegmentDuration, though individual segments might be shorter
	// or longer.
	//
	// The range of valid values is 1 to 60 seconds. If the duration of the video
	// is not evenly divisible by SegmentDuration, the duration of the last segment
	// is the remainder of total length/SegmentDuration.
	//
	// Elastic Transcoder creates an output-specific playlist for each output HLS
	// output that you specify in OutputKeys. To add an output to the master playlist
	// for this job, include it in the OutputKeys of the associated playlist.
	SegmentDuration *string `type:"string"`

	// The encryption settings, if any, that you want Elastic Transcoder to apply
	// to your thumbnail.
	ThumbnailEncryption *Encryption `type:"structure"`

	// Whether you want Elastic Transcoder to create thumbnails for your videos
	// and, if so, how you want Elastic Transcoder to name the files.
	//
	// If you don't want Elastic Transcoder to create thumbnails, specify "".
	//
	// If you do want Elastic Transcoder to create thumbnails, specify the information
	// that you want to include in the file name for each thumbnail. You can specify
	// the following values in any sequence:
	//
	//    * {count} (Required): If you want to create thumbnails, you must include
	//    {count} in the ThumbnailPattern object. Wherever you specify {count},
	//    Elastic Transcoder adds a five-digit sequence number (beginning with 00001)
	//    to thumbnail file names. The number indicates where a given thumbnail
	//    appears in the sequence of thumbnails for a transcoded file.
	//
	// If you specify a literal value and/or {resolution} but you omit {count},
	//    Elastic Transcoder returns a validation error and does not create the
	//    job.
	//
	//    * Literal values (Optional): You can specify literal values anywhere in
	//    the ThumbnailPattern object. For example, you can include them as a file
	//    name prefix or as a delimiter between {resolution} and {count}.
	//
	//    * {resolution} (Optional): If you want Elastic Transcoder to include the
	//    resolution in the file name, include {resolution} in the ThumbnailPattern
	//    object.
	//
	// When creating thumbnails, Elastic Transcoder automatically saves the files
	// in the format (.jpg or .png) that appears in the preset that you specified
	// in the PresetID value of CreateJobOutput. Elastic Transcoder also appends
	// the applicable file name extension.
	ThumbnailPattern *string `type:"string"`

	// Information about the watermarks that you want Elastic Transcoder to add
	// to the video during transcoding. You can specify up to four watermarks for
	// each output. Settings for each watermark must be defined in the preset for
	// the current output.
	Watermarks []JobWatermark `type:"list"`
	// contains filtered or unexported fields
}

The CreateJobOutput structure.

func (CreateJobOutput) GoString

func (s CreateJobOutput) GoString() string

GoString returns the string representation

func (*CreateJobOutput) SetAlbumArt

func (s *CreateJobOutput) SetAlbumArt(v *JobAlbumArt) *CreateJobOutput

SetAlbumArt sets the AlbumArt field's value.

func (*CreateJobOutput) SetCaptions

func (s *CreateJobOutput) SetCaptions(v *Captions) *CreateJobOutput

SetCaptions sets the Captions field's value.

func (*CreateJobOutput) SetComposition

func (s *CreateJobOutput) SetComposition(v []Clip) *CreateJobOutput

SetComposition sets the Composition field's value.

func (*CreateJobOutput) SetEncryption

func (s *CreateJobOutput) SetEncryption(v *Encryption) *CreateJobOutput

SetEncryption sets the Encryption field's value.

func (*CreateJobOutput) SetKey

func (s *CreateJobOutput) SetKey(v string) *CreateJobOutput

SetKey sets the Key field's value.

func (*CreateJobOutput) SetPresetId

func (s *CreateJobOutput) SetPresetId(v string) *CreateJobOutput

SetPresetId sets the PresetId field's value.

func (*CreateJobOutput) SetRotate

func (s *CreateJobOutput) SetRotate(v string) *CreateJobOutput

SetRotate sets the Rotate field's value.

func (*CreateJobOutput) SetSegmentDuration

func (s *CreateJobOutput) SetSegmentDuration(v string) *CreateJobOutput

SetSegmentDuration sets the SegmentDuration field's value.

func (*CreateJobOutput) SetThumbnailEncryption

func (s *CreateJobOutput) SetThumbnailEncryption(v *Encryption) *CreateJobOutput

SetThumbnailEncryption sets the ThumbnailEncryption field's value.

func (*CreateJobOutput) SetThumbnailPattern

func (s *CreateJobOutput) SetThumbnailPattern(v string) *CreateJobOutput

SetThumbnailPattern sets the ThumbnailPattern field's value.

func (*CreateJobOutput) SetWatermarks

func (s *CreateJobOutput) SetWatermarks(v []JobWatermark) *CreateJobOutput

SetWatermarks sets the Watermarks field's value.

func (CreateJobOutput) String

func (s CreateJobOutput) String() string

String returns the string representation

func (*CreateJobOutput) Validate

func (s *CreateJobOutput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateJobPlaylist

type CreateJobPlaylist struct {

	// The format of the output playlist. Valid formats include HLSv3, HLSv4, and
	// Smooth.
	Format *string `type:"string"`

	// The HLS content protection settings, if any, that you want Elastic Transcoder
	// to apply to the output files associated with this playlist.
	HlsContentProtection *HlsContentProtection `type:"structure"`

	// The name that you want Elastic Transcoder to assign to the master playlist,
	// for example, nyc-vacation.m3u8. If the name includes a / character, the section
	// of the name before the last / must be identical for all Name objects. If
	// you create more than one master playlist, the values of all Name objects
	// must be unique.
	//
	// Elastic Transcoder automatically appends the relevant file extension to the
	// file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth
	// playlists). If you include a file extension in Name, the file name will have
	// two extensions.
	Name *string `min:"1" type:"string"`

	// For each output in this job that you want to include in a master playlist,
	// the value of the Outputs:Key object.
	//
	//    * If your output is not HLS or does not have a segment duration set, the
	//    name of the output file is a concatenation of OutputKeyPrefix and Outputs:Key:
	//
	// OutputKeyPrefixOutputs:Key
	//
	//    * If your output is HLSv3 and has a segment duration set, or is not included
	//    in a playlist, Elastic Transcoder creates an output playlist file with
	//    a file extension of .m3u8, and a series of .ts files that include a five-digit
	//    sequential counter beginning with 00000:
	//
	// OutputKeyPrefixOutputs:Key.m3u8
	//
	// OutputKeyPrefixOutputs:Key00000.ts
	//
	//    * If your output is HLSv4, has a segment duration set, and is included
	//    in an HLSv4 playlist, Elastic Transcoder creates an output playlist file
	//    with a file extension of _v4.m3u8. If the output is video, Elastic Transcoder
	//    also creates an output file with an extension of _iframe.m3u8:
	//
	// OutputKeyPrefixOutputs:Key_v4.m3u8
	//
	// OutputKeyPrefixOutputs:Key_iframe.m3u8
	//
	// OutputKeyPrefixOutputs:Key.ts
	//
	// Elastic Transcoder automatically appends the relevant file extension to the
	// file name. If you include a file extension in Output Key, the file name will
	// have two extensions.
	//
	// If you include more than one output in a playlist, any segment duration settings,
	// clip settings, or caption settings must be the same for all outputs in the
	// playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate
	// to Video:KeyframesMaxDist ratio must be the same for all outputs.
	OutputKeys []string `type:"list"`

	// The DRM settings, if any, that you want Elastic Transcoder to apply to the
	// output files associated with this playlist.
	PlayReadyDrm *PlayReadyDrm `type:"structure"`
	// contains filtered or unexported fields
}

Information about the master playlist.

func (CreateJobPlaylist) GoString

func (s CreateJobPlaylist) GoString() string

GoString returns the string representation

func (*CreateJobPlaylist) SetFormat

func (s *CreateJobPlaylist) SetFormat(v string) *CreateJobPlaylist

SetFormat sets the Format field's value.

func (*CreateJobPlaylist) SetHlsContentProtection

func (s *CreateJobPlaylist) SetHlsContentProtection(v *HlsContentProtection) *CreateJobPlaylist

SetHlsContentProtection sets the HlsContentProtection field's value.

func (*CreateJobPlaylist) SetName

SetName sets the Name field's value.

func (*CreateJobPlaylist) SetOutputKeys

func (s *CreateJobPlaylist) SetOutputKeys(v []string) *CreateJobPlaylist

SetOutputKeys sets the OutputKeys field's value.

func (*CreateJobPlaylist) SetPlayReadyDrm

func (s *CreateJobPlaylist) SetPlayReadyDrm(v *PlayReadyDrm) *CreateJobPlaylist

SetPlayReadyDrm sets the PlayReadyDrm field's value.

func (CreateJobPlaylist) String

func (s CreateJobPlaylist) String() string

String returns the string representation

func (*CreateJobPlaylist) Validate

func (s *CreateJobPlaylist) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateJobRequest

type CreateJobRequest struct {
	*aws.Request
	Input *CreateJobInput
}

CreateJobRequest is a API request type for the CreateJob API operation.

func (CreateJobRequest) Send

Send marshals and sends the CreateJob API request.

type CreateJobResponse

type CreateJobResponse struct {

	// A section of the response body that provides information about the job that
	// is created.
	Job *Job `type:"structure"`
	// contains filtered or unexported fields
}

The CreateJobResponse structure.

func (CreateJobResponse) GoString

func (s CreateJobResponse) GoString() string

GoString returns the string representation

func (CreateJobResponse) SDKResponseMetadata

func (s CreateJobResponse) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateJobResponse) SetJob

func (s *CreateJobResponse) SetJob(v *Job) *CreateJobResponse

SetJob sets the Job field's value.

func (CreateJobResponse) String

func (s CreateJobResponse) String() string

String returns the string representation

type CreatePipelineInput

type CreatePipelineInput struct {

	// The AWS Key Management Service (AWS KMS) key that you want to use with this
	// pipeline.
	//
	// If you use either S3 or S3-AWS-KMS as your Encryption:Mode, you don't need
	// to provide a key with your job because a default key, known as an AWS-KMS
	// key, is created for you automatically. You need to provide an AWS-KMS key
	// only if you want to use a non-default AWS-KMS key, or if you are using an
	// Encryption:Mode of AES-PKCS7, AES-CTR, or AES-GCM.
	AwsKmsKeyArn *string `type:"string"`

	// The optional ContentConfig object specifies information about the Amazon
	// S3 bucket in which you want Elastic Transcoder to save transcoded files and
	// playlists: which bucket to use, which users you want to have access to the
	// files, the type of access you want users to have, and the storage class that
	// you want to assign to the files.
	//
	// If you specify values for ContentConfig, you must also specify values for
	// ThumbnailConfig.
	//
	// If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket
	// object.
	//
	//    * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
	//    save transcoded files and playlists.
	//
	//    * Permissions (Optional): The Permissions object specifies which users
	//    you want to have access to transcoded files and the type of access you
	//    want them to have. You can grant permissions to a maximum of 30 users
	//    and/or predefined Amazon S3 groups.
	//
	//    * Grantee Type: Specify the type of value that appears in the Grantee
	//    object:
	//
	// Canonical: The value in the Grantee object is either the canonical user ID
	//    for an AWS account or an origin access identity for an Amazon CloudFront
	//    distribution. For more information about canonical user IDs, see Access
	//    Control List (ACL) Overview in the Amazon Simple Storage Service Developer
	//    Guide. For more information about using CloudFront origin access identities
	//    to require that users use CloudFront URLs instead of Amazon S3 URLs, see
	//    Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content.
	//
	// A canonical user ID is not the same as an AWS account number.
	//
	// Email: The value in the Grantee object is the registered email address of
	//    an AWS account.
	//
	// Group: The value in the Grantee object is one of the following predefined
	//    Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
	//
	//    * Grantee: The AWS user or group that you want to have access to transcoded
	//    files and playlists. To identify the user or group, you can specify the
	//    canonical user ID for an AWS account, an origin access identity for a
	//    CloudFront distribution, the registered email address of an AWS account,
	//    or a predefined Amazon S3 group
	//
	//    * Access: The permission that you want to give to the AWS user that you
	//    specified in Grantee. Permissions are granted on the files that Elastic
	//    Transcoder adds to the bucket, including playlists and video files. Valid
	//    values include:
	//
	// READ: The grantee can read the objects and metadata for objects that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	// READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder
	//    adds to the Amazon S3 bucket.
	//
	// WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder
	//    adds to the Amazon S3 bucket.
	//
	// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
	//    the objects that Elastic Transcoder adds to the Amazon S3 bucket.
	//
	//    * StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy,
	//    that you want Elastic Transcoder to assign to the video files and playlists
	//    that it stores in your Amazon S3 bucket.
	ContentConfig *PipelineOutputConfig `type:"structure"`

	// The Amazon S3 bucket in which you saved the media files that you want to
	// transcode.
	//
	// InputBucket is a required field
	InputBucket *string `type:"string" required:"true"`

	// The name of the pipeline. We recommend that the name be unique within the
	// AWS account, but uniqueness is not enforced.
	//
	// Constraints: Maximum 40 characters.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The Amazon Simple Notification Service (Amazon SNS) topic that you want to
	// notify to report job status.
	//
	// To receive notifications, you must also subscribe to the new topic in the
	// Amazon SNS console.
	//
	//    * Progressing: The topic ARN for the Amazon Simple Notification Service
	//    (Amazon SNS) topic that you want to notify when Elastic Transcoder has
	//    started to process a job in this pipeline. This is the ARN that Amazon
	//    SNS returned when you created the topic. For more information, see Create
	//    a Topic in the Amazon Simple Notification Service Developer Guide.
	//
	//    * Completed: The topic ARN for the Amazon SNS topic that you want to notify
	//    when Elastic Transcoder has finished processing a job in this pipeline.
	//    This is the ARN that Amazon SNS returned when you created the topic.
	//
	//    * Warning: The topic ARN for the Amazon SNS topic that you want to notify
	//    when Elastic Transcoder encounters a warning condition while processing
	//    a job in this pipeline. This is the ARN that Amazon SNS returned when
	//    you created the topic.
	//
	//    * Error: The topic ARN for the Amazon SNS topic that you want to notify
	//    when Elastic Transcoder encounters an error condition while processing
	//    a job in this pipeline. This is the ARN that Amazon SNS returned when
	//    you created the topic.
	Notifications *Notifications `type:"structure"`

	// The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded
	// files. (Use this, or use ContentConfig:Bucket plus ThumbnailConfig:Bucket.)
	//
	// Specify this value when all of the following are true:
	//
	//    * You want to save transcoded files, thumbnails (if any), and playlists
	//    (if any) together in one bucket.
	//
	//    * You do not want to specify the users or groups who have access to the
	//    transcoded files, thumbnails, and playlists.
	//
	//    * You do not want to specify the permissions that Elastic Transcoder grants
	//    to the files.
	//
	// When Elastic Transcoder saves files in OutputBucket, it grants full control
	//    over the files only to the AWS account that owns the role that is specified
	//    by Role.
	//
	//    * You want to associate the transcoded files and thumbnails with the Amazon
	//    S3 Standard storage class.
	//
	// If you want to save transcoded files and playlists in one bucket and thumbnails
	// in another bucket, specify which users can access the transcoded files or
	// the permissions the users have, or change the Amazon S3 storage class, omit
	// OutputBucket and specify values for ContentConfig and ThumbnailConfig instead.
	OutputBucket *string `type:"string"`

	// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder
	// to use to create the pipeline.
	//
	// Role is a required field
	Role *string `type:"string" required:"true"`

	// The ThumbnailConfig object specifies several values, including the Amazon
	// S3 bucket in which you want Elastic Transcoder to save thumbnail files, which
	// users you want to have access to the files, the type of access you want users
	// to have, and the storage class that you want to assign to the files.
	//
	// If you specify values for ContentConfig, you must also specify values for
	// ThumbnailConfig even if you don't want to create thumbnails.
	//
	// If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket
	// object.
	//
	//    * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
	//    save thumbnail files.
	//
	//    * Permissions (Optional): The Permissions object specifies which users
	//    and/or predefined Amazon S3 groups you want to have access to thumbnail
	//    files, and the type of access you want them to have. You can grant permissions
	//    to a maximum of 30 users and/or predefined Amazon S3 groups.
	//
	//    * GranteeType: Specify the type of value that appears in the Grantee object:
	//
	//
	// Canonical: The value in the Grantee object is either the canonical user ID
	//    for an AWS account or an origin access identity for an Amazon CloudFront
	//    distribution.
	//
	// A canonical user ID is not the same as an AWS account number.
	//
	// Email: The value in the Grantee object is the registered email address of
	//    an AWS account.
	//
	// Group: The value in the Grantee object is one of the following predefined
	//    Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
	//
	//    * Grantee: The AWS user or group that you want to have access to thumbnail
	//    files. To identify the user or group, you can specify the canonical user
	//    ID for an AWS account, an origin access identity for a CloudFront distribution,
	//    the registered email address of an AWS account, or a predefined Amazon
	//    S3 group.
	//
	//    * Access: The permission that you want to give to the AWS user that you
	//    specified in Grantee. Permissions are granted on the thumbnail files that
	//    Elastic Transcoder adds to the bucket. Valid values include:
	//
	// READ: The grantee can read the thumbnails and metadata for objects that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	// READ_ACP: The grantee can read the object ACL for thumbnails that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	// WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
	//    the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
	//
	//    * StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy,
	//    that you want Elastic Transcoder to assign to the thumbnails that it stores
	//    in your Amazon S3 bucket.
	ThumbnailConfig *PipelineOutputConfig `type:"structure"`
	// contains filtered or unexported fields
}

The CreatePipelineRequest structure.

func (CreatePipelineInput) GoString

func (s CreatePipelineInput) GoString() string

GoString returns the string representation

func (*CreatePipelineInput) SetAwsKmsKeyArn

func (s *CreatePipelineInput) SetAwsKmsKeyArn(v string) *CreatePipelineInput

SetAwsKmsKeyArn sets the AwsKmsKeyArn field's value.

func (*CreatePipelineInput) SetContentConfig

SetContentConfig sets the ContentConfig field's value.

func (*CreatePipelineInput) SetInputBucket

func (s *CreatePipelineInput) SetInputBucket(v string) *CreatePipelineInput

SetInputBucket sets the InputBucket field's value.

func (*CreatePipelineInput) SetName

SetName sets the Name field's value.

func (*CreatePipelineInput) SetNotifications

func (s *CreatePipelineInput) SetNotifications(v *Notifications) *CreatePipelineInput

SetNotifications sets the Notifications field's value.

func (*CreatePipelineInput) SetOutputBucket

func (s *CreatePipelineInput) SetOutputBucket(v string) *CreatePipelineInput

SetOutputBucket sets the OutputBucket field's value.

func (*CreatePipelineInput) SetRole

SetRole sets the Role field's value.

func (*CreatePipelineInput) SetThumbnailConfig

SetThumbnailConfig sets the ThumbnailConfig field's value.

func (CreatePipelineInput) String

func (s CreatePipelineInput) String() string

String returns the string representation

func (*CreatePipelineInput) Validate

func (s *CreatePipelineInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreatePipelineOutput

type CreatePipelineOutput struct {

	// A section of the response body that provides information about the pipeline
	// that is created.
	Pipeline *Pipeline `type:"structure"`

	// Elastic Transcoder returns a warning if the resources used by your pipeline
	// are not in the same region as the pipeline.
	//
	// Using resources in the same region, such as your Amazon S3 buckets, Amazon
	// SNS notification topics, and AWS KMS key, reduces processing time and prevents
	// cross-regional charges.
	Warnings []Warning `type:"list"`
	// contains filtered or unexported fields
}

When you create a pipeline, Elastic Transcoder returns the values that you specified in the request.

func (CreatePipelineOutput) GoString

func (s CreatePipelineOutput) GoString() string

GoString returns the string representation

func (CreatePipelineOutput) SDKResponseMetadata

func (s CreatePipelineOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreatePipelineOutput) SetPipeline

SetPipeline sets the Pipeline field's value.

func (*CreatePipelineOutput) SetWarnings

func (s *CreatePipelineOutput) SetWarnings(v []Warning) *CreatePipelineOutput

SetWarnings sets the Warnings field's value.

func (CreatePipelineOutput) String

func (s CreatePipelineOutput) String() string

String returns the string representation

type CreatePipelineRequest

type CreatePipelineRequest struct {
	*aws.Request
	Input *CreatePipelineInput
}

CreatePipelineRequest is a API request type for the CreatePipeline API operation.

func (CreatePipelineRequest) Send

Send marshals and sends the CreatePipeline API request.

type CreatePresetInput

type CreatePresetInput struct {

	// A section of the request body that specifies the audio parameters.
	Audio *AudioParameters `type:"structure"`

	// The container type for the output file. Valid values include flac, flv, fmp4,
	// gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.
	//
	// Container is a required field
	Container *string `type:"string" required:"true"`

	// A description of the preset.
	Description *string `type:"string"`

	// The name of the preset. We recommend that the name be unique within the AWS
	// account, but uniqueness is not enforced.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// A section of the request body that specifies the thumbnail parameters, if
	// any.
	Thumbnails *Thumbnails `type:"structure"`

	// A section of the request body that specifies the video parameters.
	Video *VideoParameters `type:"structure"`
	// contains filtered or unexported fields
}

The CreatePresetRequest structure.

func (CreatePresetInput) GoString

func (s CreatePresetInput) GoString() string

GoString returns the string representation

func (*CreatePresetInput) SetAudio

SetAudio sets the Audio field's value.

func (*CreatePresetInput) SetContainer

func (s *CreatePresetInput) SetContainer(v string) *CreatePresetInput

SetContainer sets the Container field's value.

func (*CreatePresetInput) SetDescription

func (s *CreatePresetInput) SetDescription(v string) *CreatePresetInput

SetDescription sets the Description field's value.

func (*CreatePresetInput) SetName

SetName sets the Name field's value.

func (*CreatePresetInput) SetThumbnails

func (s *CreatePresetInput) SetThumbnails(v *Thumbnails) *CreatePresetInput

SetThumbnails sets the Thumbnails field's value.

func (*CreatePresetInput) SetVideo

SetVideo sets the Video field's value.

func (CreatePresetInput) String

func (s CreatePresetInput) String() string

String returns the string representation

func (*CreatePresetInput) Validate

func (s *CreatePresetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreatePresetOutput

type CreatePresetOutput struct {

	// A section of the response body that provides information about the preset
	// that is created.
	Preset *Preset `type:"structure"`

	// If the preset settings don't comply with the standards for the video codec
	// but Elastic Transcoder created the preset, this message explains the reason
	// the preset settings don't meet the standard. Elastic Transcoder created the
	// preset because the settings might produce acceptable output.
	Warning *string `type:"string"`
	// contains filtered or unexported fields
}

The CreatePresetResponse structure.

func (CreatePresetOutput) GoString

func (s CreatePresetOutput) GoString() string

GoString returns the string representation

func (CreatePresetOutput) SDKResponseMetadata

func (s CreatePresetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreatePresetOutput) SetPreset

func (s *CreatePresetOutput) SetPreset(v *Preset) *CreatePresetOutput

SetPreset sets the Preset field's value.

func (*CreatePresetOutput) SetWarning

func (s *CreatePresetOutput) SetWarning(v string) *CreatePresetOutput

SetWarning sets the Warning field's value.

func (CreatePresetOutput) String

func (s CreatePresetOutput) String() string

String returns the string representation

type CreatePresetRequest

type CreatePresetRequest struct {
	*aws.Request
	Input *CreatePresetInput
}

CreatePresetRequest is a API request type for the CreatePreset API operation.

func (CreatePresetRequest) Send

Send marshals and sends the CreatePreset API request.

type DeletePipelineInput

type DeletePipelineInput struct {

	// The identifier of the pipeline that you want to delete.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The DeletePipelineRequest structure.

func (DeletePipelineInput) GoString

func (s DeletePipelineInput) GoString() string

GoString returns the string representation

func (*DeletePipelineInput) SetId

SetId sets the Id field's value.

func (DeletePipelineInput) String

func (s DeletePipelineInput) String() string

String returns the string representation

func (*DeletePipelineInput) Validate

func (s *DeletePipelineInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePipelineOutput

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

The DeletePipelineResponse structure.

func (DeletePipelineOutput) GoString

func (s DeletePipelineOutput) GoString() string

GoString returns the string representation

func (DeletePipelineOutput) SDKResponseMetadata

func (s DeletePipelineOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeletePipelineOutput) String

func (s DeletePipelineOutput) String() string

String returns the string representation

type DeletePipelineRequest

type DeletePipelineRequest struct {
	*aws.Request
	Input *DeletePipelineInput
}

DeletePipelineRequest is a API request type for the DeletePipeline API operation.

func (DeletePipelineRequest) Send

Send marshals and sends the DeletePipeline API request.

type DeletePresetInput

type DeletePresetInput struct {

	// The identifier of the preset for which you want to get detailed information.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The DeletePresetRequest structure.

func (DeletePresetInput) GoString

func (s DeletePresetInput) GoString() string

GoString returns the string representation

func (*DeletePresetInput) SetId

SetId sets the Id field's value.

func (DeletePresetInput) String

func (s DeletePresetInput) String() string

String returns the string representation

func (*DeletePresetInput) Validate

func (s *DeletePresetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePresetOutput

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

The DeletePresetResponse structure.

func (DeletePresetOutput) GoString

func (s DeletePresetOutput) GoString() string

GoString returns the string representation

func (DeletePresetOutput) SDKResponseMetadata

func (s DeletePresetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeletePresetOutput) String

func (s DeletePresetOutput) String() string

String returns the string representation

type DeletePresetRequest

type DeletePresetRequest struct {
	*aws.Request
	Input *DeletePresetInput
}

DeletePresetRequest is a API request type for the DeletePreset API operation.

func (DeletePresetRequest) Send

Send marshals and sends the DeletePreset API request.

type DetectedProperties

type DetectedProperties struct {

	// The detected duration of the input file, in milliseconds.
	DurationMillis *int64 `type:"long"`

	// The detected file size of the input file, in bytes.
	FileSize *int64 `type:"long"`

	// The detected frame rate of the input file, in frames per second.
	FrameRate *string `type:"string"`

	// The detected height of the input file, in pixels.
	Height *int64 `type:"integer"`

	// The detected width of the input file, in pixels.
	Width *int64 `type:"integer"`
	// contains filtered or unexported fields
}

The detected properties of the input file. Elastic Transcoder identifies these values from the input file.

func (DetectedProperties) GoString

func (s DetectedProperties) GoString() string

GoString returns the string representation

func (*DetectedProperties) SetDurationMillis

func (s *DetectedProperties) SetDurationMillis(v int64) *DetectedProperties

SetDurationMillis sets the DurationMillis field's value.

func (*DetectedProperties) SetFileSize

func (s *DetectedProperties) SetFileSize(v int64) *DetectedProperties

SetFileSize sets the FileSize field's value.

func (*DetectedProperties) SetFrameRate

func (s *DetectedProperties) SetFrameRate(v string) *DetectedProperties

SetFrameRate sets the FrameRate field's value.

func (*DetectedProperties) SetHeight

func (s *DetectedProperties) SetHeight(v int64) *DetectedProperties

SetHeight sets the Height field's value.

func (*DetectedProperties) SetWidth

SetWidth sets the Width field's value.

func (DetectedProperties) String

func (s DetectedProperties) String() string

String returns the string representation

type ElasticTranscoder

type ElasticTranscoder struct {
	*aws.Client
}

ElasticTranscoder provides the API operation methods for making requests to Amazon Elastic Transcoder. See this package's package overview docs for details on the service.

ElasticTranscoder methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *ElasticTranscoder

New creates a new instance of the ElasticTranscoder client with a config. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a ElasticTranscoder client from just a config.
svc := elastictranscoder.New(myConfig)

// Create a ElasticTranscoder client with additional configuration
svc := elastictranscoder.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))

func (*ElasticTranscoder) CancelJobRequest

func (c *ElasticTranscoder) CancelJobRequest(input *CancelJobInput) CancelJobRequest

CancelJobRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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.

// Example sending a request using the CancelJobRequest method.
req := client.CancelJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) CreateJobRequest

func (c *ElasticTranscoder) CreateJobRequest(input *CreateJobInput) CreateJobRequest

CreateJobRequest returns a request value for making API operation for Amazon Elastic Transcoder.

When you create a job, Elastic Transcoder returns JSON 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).

// Example sending a request using the CreateJobRequest method.
req := client.CreateJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) CreatePipelineRequest

func (c *ElasticTranscoder) CreatePipelineRequest(input *CreatePipelineInput) CreatePipelineRequest

CreatePipelineRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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

// Example sending a request using the CreatePipelineRequest method.
req := client.CreatePipelineRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) CreatePresetRequest

func (c *ElasticTranscoder) CreatePresetRequest(input *CreatePresetInput) CreatePresetRequest

CreatePresetRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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 HTTP 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 ITU-T H.264: Advanced video coding for generic audiovisual services.

// Example sending a request using the CreatePresetRequest method.
req := client.CreatePresetRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) DeletePipelineRequest

func (c *ElasticTranscoder) DeletePipelineRequest(input *DeletePipelineInput) DeletePipelineRequest

DeletePipelineRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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.

// Example sending a request using the DeletePipelineRequest method.
req := client.DeletePipelineRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) DeletePresetRequest

func (c *ElasticTranscoder) DeletePresetRequest(input *DeletePresetInput) DeletePresetRequest

DeletePresetRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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.

// Example sending a request using the DeletePresetRequest method.
req := client.DeletePresetRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) ListJobsByPipelinePages

func (c *ElasticTranscoder) ListJobsByPipelinePages(input *ListJobsByPipelineInput, fn func(*ListJobsByPipelineOutput, bool) bool) error

ListJobsByPipelinePages iterates over the pages of a ListJobsByPipeline operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListJobsByPipeline method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListJobsByPipeline operation.
pageNum := 0
err := client.ListJobsByPipelinePages(params,
    func(page *ListJobsByPipelineOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ElasticTranscoder) ListJobsByPipelinePagesWithContext

func (c *ElasticTranscoder) ListJobsByPipelinePagesWithContext(ctx aws.Context, input *ListJobsByPipelineInput, fn func(*ListJobsByPipelineOutput, bool) bool, opts ...aws.Option) error

ListJobsByPipelinePagesWithContext same as ListJobsByPipelinePages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ElasticTranscoder) ListJobsByPipelineRequest

func (c *ElasticTranscoder) ListJobsByPipelineRequest(input *ListJobsByPipelineInput) ListJobsByPipelineRequest

ListJobsByPipelineRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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.

// Example sending a request using the ListJobsByPipelineRequest method.
req := client.ListJobsByPipelineRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) ListJobsByStatusPages

func (c *ElasticTranscoder) ListJobsByStatusPages(input *ListJobsByStatusInput, fn func(*ListJobsByStatusOutput, bool) bool) error

ListJobsByStatusPages iterates over the pages of a ListJobsByStatus operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListJobsByStatus method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListJobsByStatus operation.
pageNum := 0
err := client.ListJobsByStatusPages(params,
    func(page *ListJobsByStatusOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ElasticTranscoder) ListJobsByStatusPagesWithContext

func (c *ElasticTranscoder) ListJobsByStatusPagesWithContext(ctx aws.Context, input *ListJobsByStatusInput, fn func(*ListJobsByStatusOutput, bool) bool, opts ...aws.Option) error

ListJobsByStatusPagesWithContext same as ListJobsByStatusPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ElasticTranscoder) ListJobsByStatusRequest

func (c *ElasticTranscoder) ListJobsByStatusRequest(input *ListJobsByStatusInput) ListJobsByStatusRequest

ListJobsByStatusRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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.

// Example sending a request using the ListJobsByStatusRequest method.
req := client.ListJobsByStatusRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) ListPipelinesPages

func (c *ElasticTranscoder) ListPipelinesPages(input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool) error

ListPipelinesPages iterates over the pages of a ListPipelines operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPipelines method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPipelines operation.
pageNum := 0
err := client.ListPipelinesPages(params,
    func(page *ListPipelinesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ElasticTranscoder) ListPipelinesPagesWithContext

func (c *ElasticTranscoder) ListPipelinesPagesWithContext(ctx aws.Context, input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool, opts ...aws.Option) error

ListPipelinesPagesWithContext same as ListPipelinesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ElasticTranscoder) ListPipelinesRequest

func (c *ElasticTranscoder) ListPipelinesRequest(input *ListPipelinesInput) ListPipelinesRequest

ListPipelinesRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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

// Example sending a request using the ListPipelinesRequest method.
req := client.ListPipelinesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) ListPresetsPages

func (c *ElasticTranscoder) ListPresetsPages(input *ListPresetsInput, fn func(*ListPresetsOutput, bool) bool) error

ListPresetsPages iterates over the pages of a ListPresets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPresets method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPresets operation.
pageNum := 0
err := client.ListPresetsPages(params,
    func(page *ListPresetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ElasticTranscoder) ListPresetsPagesWithContext

func (c *ElasticTranscoder) ListPresetsPagesWithContext(ctx aws.Context, input *ListPresetsInput, fn func(*ListPresetsOutput, bool) bool, opts ...aws.Option) error

ListPresetsPagesWithContext same as ListPresetsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ElasticTranscoder) ListPresetsRequest

func (c *ElasticTranscoder) ListPresetsRequest(input *ListPresetsInput) ListPresetsRequest

ListPresetsRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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.

// Example sending a request using the ListPresetsRequest method.
req := client.ListPresetsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) ReadJobRequest

func (c *ElasticTranscoder) ReadJobRequest(input *ReadJobInput) ReadJobRequest

ReadJobRequest returns a request value for making API operation for Amazon Elastic Transcoder.

The ReadJob operation returns detailed information about a job.

// Example sending a request using the ReadJobRequest method.
req := client.ReadJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) ReadPipelineRequest

func (c *ElasticTranscoder) ReadPipelineRequest(input *ReadPipelineInput) ReadPipelineRequest

ReadPipelineRequest returns a request value for making API operation for Amazon Elastic Transcoder.

The ReadPipeline operation gets detailed information about a pipeline.

// Example sending a request using the ReadPipelineRequest method.
req := client.ReadPipelineRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) ReadPresetRequest

func (c *ElasticTranscoder) ReadPresetRequest(input *ReadPresetInput) ReadPresetRequest

ReadPresetRequest returns a request value for making API operation for Amazon Elastic Transcoder.

The ReadPreset operation gets detailed information about a preset.

// Example sending a request using the ReadPresetRequest method.
req := client.ReadPresetRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) TestRoleRequest

func (c *ElasticTranscoder) TestRoleRequest(input *TestRoleInput) TestRoleRequest

TestRoleRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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.

// Example sending a request using the TestRoleRequest method.
req := client.TestRoleRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) UpdatePipelineNotificationsRequest

func (c *ElasticTranscoder) UpdatePipelineNotificationsRequest(input *UpdatePipelineNotificationsInput) UpdatePipelineNotificationsRequest

UpdatePipelineNotificationsRequest returns a request value for making API operation for Amazon Elastic Transcoder.

With the UpdatePipelineNotifications operation, you can update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline.

When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request.

// Example sending a request using the UpdatePipelineNotificationsRequest method.
req := client.UpdatePipelineNotificationsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) UpdatePipelineRequest

func (c *ElasticTranscoder) UpdatePipelineRequest(input *UpdatePipelineInput) UpdatePipelineRequest

UpdatePipelineRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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.

// Example sending a request using the UpdatePipelineRequest method.
req := client.UpdatePipelineRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) UpdatePipelineStatusRequest

func (c *ElasticTranscoder) UpdatePipelineStatusRequest(input *UpdatePipelineStatusInput) UpdatePipelineStatusRequest

UpdatePipelineStatusRequest returns a request value for making API operation for Amazon Elastic Transcoder.

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.

// Example sending a request using the UpdatePipelineStatusRequest method.
req := client.UpdatePipelineStatusRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*ElasticTranscoder) WaitUntilJobComplete

func (c *ElasticTranscoder) WaitUntilJobComplete(input *ReadJobInput) error

WaitUntilJobComplete uses the Amazon Elastic Transcoder API operation ReadJob to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*ElasticTranscoder) WaitUntilJobCompleteWithContext

func (c *ElasticTranscoder) WaitUntilJobCompleteWithContext(ctx aws.Context, input *ReadJobInput, opts ...aws.WaiterOption) error

WaitUntilJobCompleteWithContext is an extended version of WaitUntilJobComplete. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type Encryption

type Encryption struct {

	// The series of random bits created by a random bit generator, unique for every
	// encryption operation, that you used to encrypt your input files or that you
	// want Elastic Transcoder to use to encrypt your output files. The initialization
	// vector must be base64-encoded, and it must be exactly 16 bytes long before
	// being base64-encoded.
	InitializationVector *string `type:"string"`

	// The data encryption key that you want Elastic Transcoder to use to encrypt
	// your output file, or that was used to encrypt your input file. The key must
	// be base64-encoded and it must be one of the following bit lengths before
	// being base64-encoded:
	//
	// 128, 192, or 256.
	//
	// The key must also be encrypted by using the Amazon Key Management Service.
	Key *string `type:"string"`

	// The MD5 digest of the key that you used to encrypt your input file, or that
	// you want Elastic Transcoder to use to encrypt your output file. Elastic Transcoder
	// uses the key digest as a checksum to make sure your key was not corrupted
	// in transit. The key MD5 must be base64-encoded, and it must be exactly 16
	// bytes long before being base64-encoded.
	KeyMd5 *string `type:"string"`

	// The specific server-side encryption mode that you want Elastic Transcoder
	// to use when decrypting your input files or encrypting your output files.
	// Elastic Transcoder supports the following options:
	//
	//    * S3: Amazon S3 creates and manages the keys used for encrypting your
	//    files.
	//
	//    * S3-AWS-KMS: Amazon S3 calls the Amazon Key Management Service, which
	//    creates and manages the keys that are used for encrypting your files.
	//    If you specify S3-AWS-KMS and you don't want to use the default key, you
	//    must add the AWS-KMS key that you want to use to your pipeline.
	//
	//    * AES-CBC-PKCS7: A padded cipher-block mode of operation originally used
	//    for HLS files.
	//
	//    * AES-CTR: AES Counter Mode.
	//
	//    * AES-GCM: AES Galois Counter Mode, a mode of operation that is an authenticated
	//    encryption format, meaning that a file, key, or initialization vector
	//    that has been tampered with fails the decryption process.
	//
	// For all three AES options, you must provide the following settings, which
	// must be base64-encoded:
	//
	//    * Key
	//
	//    * Key MD5
	//
	//    * Initialization Vector
	//
	// For the AES modes, your private encryption keys and your unencrypted data
	// are never stored by AWS; therefore, it is important that you safely manage
	// your encryption keys. If you lose them, you won't be able to unencrypt your
	// data.
	Mode *string `type:"string"`
	// contains filtered or unexported fields
}

The encryption settings, if any, that are used for decrypting your input files or encrypting your output files. If your input file is encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file, otherwise you must specify the mode you want Elastic Transcoder to use to encrypt your output files.

func (Encryption) GoString

func (s Encryption) GoString() string

GoString returns the string representation

func (*Encryption) SetInitializationVector

func (s *Encryption) SetInitializationVector(v string) *Encryption

SetInitializationVector sets the InitializationVector field's value.

func (*Encryption) SetKey

func (s *Encryption) SetKey(v string) *Encryption

SetKey sets the Key field's value.

func (*Encryption) SetKeyMd5

func (s *Encryption) SetKeyMd5(v string) *Encryption

SetKeyMd5 sets the KeyMd5 field's value.

func (*Encryption) SetMode

func (s *Encryption) SetMode(v string) *Encryption

SetMode sets the Mode field's value.

func (Encryption) String

func (s Encryption) String() string

String returns the string representation

type HlsContentProtection

type HlsContentProtection struct {

	// If Elastic Transcoder is generating your key for you, you must leave this
	// field blank.
	//
	// The series of random bits created by a random bit generator, unique for every
	// encryption operation, that you want Elastic Transcoder to use to encrypt
	// your output files. The initialization vector must be base64-encoded, and
	// it must be exactly 16 bytes before being base64-encoded.
	InitializationVector *string `type:"string"`

	// If you want Elastic Transcoder to generate a key for you, leave this field
	// blank.
	//
	// If you choose to supply your own key, you must encrypt the key by using AWS
	// KMS. The key must be base64-encoded, and it must be one of the following
	// bit lengths before being base64-encoded:
	//
	// 128, 192, or 256.
	Key *string `type:"string"`

	// If Elastic Transcoder is generating your key for you, you must leave this
	// field blank.
	//
	// The MD5 digest of the key that you want Elastic Transcoder to use to encrypt
	// your output file, and that you want Elastic Transcoder to use as a checksum
	// to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded,
	// and it must be exactly 16 bytes before being base64- encoded.
	KeyMd5 *string `type:"string"`

	// Specify whether you want Elastic Transcoder to write your HLS license key
	// to an Amazon S3 bucket. If you choose WithVariantPlaylists, LicenseAcquisitionUrl
	// must be left blank and Elastic Transcoder writes your data key into the same
	// bucket as the associated playlist.
	KeyStoragePolicy *string `type:"string"`

	// The location of the license key required to decrypt your HLS playlist. The
	// URL must be an absolute path, and is referenced in the URI attribute of the
	// EXT-X-KEY metadata tag in the playlist file.
	LicenseAcquisitionUrl *string `type:"string"`

	// The content protection method for your output. The only valid value is: aes-128.
	//
	// This value is written into the method attribute of the EXT-X-KEY metadata
	// tag in the output playlist.
	Method *string `type:"string"`
	// contains filtered or unexported fields
}

The HLS content protection settings, if any, that you want Elastic Transcoder to apply to your output files.

func (HlsContentProtection) GoString

func (s HlsContentProtection) GoString() string

GoString returns the string representation

func (*HlsContentProtection) SetInitializationVector

func (s *HlsContentProtection) SetInitializationVector(v string) *HlsContentProtection

SetInitializationVector sets the InitializationVector field's value.

func (*HlsContentProtection) SetKey

SetKey sets the Key field's value.

func (*HlsContentProtection) SetKeyMd5

SetKeyMd5 sets the KeyMd5 field's value.

func (*HlsContentProtection) SetKeyStoragePolicy

func (s *HlsContentProtection) SetKeyStoragePolicy(v string) *HlsContentProtection

SetKeyStoragePolicy sets the KeyStoragePolicy field's value.

func (*HlsContentProtection) SetLicenseAcquisitionUrl

func (s *HlsContentProtection) SetLicenseAcquisitionUrl(v string) *HlsContentProtection

SetLicenseAcquisitionUrl sets the LicenseAcquisitionUrl field's value.

func (*HlsContentProtection) SetMethod

SetMethod sets the Method field's value.

func (HlsContentProtection) String

func (s HlsContentProtection) String() string

String returns the string representation

type InputCaptions

type InputCaptions struct {

	// Source files for the input sidecar captions used during the transcoding process.
	// To omit all sidecar captions, leave CaptionSources blank.
	CaptionSources []CaptionSource `type:"list"`

	// A policy that determines how Elastic Transcoder handles the existence of
	// multiple captions.
	//
	//    * MergeOverride: Elastic Transcoder transcodes both embedded and sidecar
	//    captions into outputs. If captions for a language are embedded in the
	//    input file and also appear in a sidecar file, Elastic Transcoder uses
	//    the sidecar captions and ignores the embedded captions for that language.
	//
	//    * MergeRetain: Elastic Transcoder transcodes both embedded and sidecar
	//    captions into outputs. If captions for a language are embedded in the
	//    input file and also appear in a sidecar file, Elastic Transcoder uses
	//    the embedded captions and ignores the sidecar captions for that language.
	//    If CaptionSources is empty, Elastic Transcoder omits all sidecar captions
	//    from the output files.
	//
	//    * Override: Elastic Transcoder transcodes only the sidecar captions that
	//    you specify in CaptionSources.
	//
	// MergePolicy cannot be null.
	MergePolicy *string `type:"string"`
	// contains filtered or unexported fields
}

The captions to be created, if any.

func (InputCaptions) GoString

func (s InputCaptions) GoString() string

GoString returns the string representation

func (*InputCaptions) SetCaptionSources

func (s *InputCaptions) SetCaptionSources(v []CaptionSource) *InputCaptions

SetCaptionSources sets the CaptionSources field's value.

func (*InputCaptions) SetMergePolicy

func (s *InputCaptions) SetMergePolicy(v string) *InputCaptions

SetMergePolicy sets the MergePolicy field's value.

func (InputCaptions) String

func (s InputCaptions) String() string

String returns the string representation

func (*InputCaptions) Validate

func (s *InputCaptions) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Job

type Job struct {

	// The Amazon Resource Name (ARN) for the job.
	Arn *string `type:"string"`

	// The identifier that Elastic Transcoder assigned to the job. You use this
	// value to get settings for the job or to delete the job.
	Id *string `type:"string"`

	// A section of the request or response body that provides information about
	// the file that is being transcoded.
	Input *JobInput `type:"structure"`

	// Information about the files that you're transcoding. If you specified multiple
	// files for this job, Elastic Transcoder stitches the files together to make
	// one output.
	Inputs []JobInput `type:"list"`

	// If you specified one output for a job, information about that output. If
	// you specified multiple outputs for a job, the Output object lists information
	// about the first output. This duplicates the information that is listed for
	// the first output in the Outputs object.
	//
	// Outputs recommended instead.
	//
	// A section of the request or response body that provides information about
	// the transcoded (target) file.
	Output *JobOutput `type:"structure"`

	// The value, if any, that you want Elastic Transcoder to prepend to the names
	// of all files that this job creates, including output files, thumbnails, and
	// playlists. We recommend that you add a / or some other delimiter to the end
	// of the OutputKeyPrefix.
	OutputKeyPrefix *string `min:"1" type:"string"`

	// Information about the output files. We recommend that you use the Outputs
	// syntax for all jobs, even when you want Elastic Transcoder to transcode a
	// file into only one format. Do not use both the Outputs and Output syntaxes
	// in the same request. You can create a maximum of 30 outputs per job.
	//
	// If you specify more than one output for a job, Elastic Transcoder creates
	// the files for each output in the order in which you specify them in the job.
	Outputs []JobOutput `type:"list"`

	// The Id of the pipeline that you want Elastic Transcoder to use for transcoding.
	// The pipeline determines several settings, including the Amazon S3 bucket
	// from which Elastic Transcoder gets the files to transcode and the bucket
	// into which Elastic Transcoder puts the transcoded files.
	PipelineId *string `type:"string"`

	// Outputs in Fragmented MP4 or MPEG-TS format only.
	//
	// If you specify a preset in PresetId for which the value of Container is fmp4
	// (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the
	// master playlists that you want Elastic Transcoder to create.
	//
	// The maximum number of master playlists in a job is 30.
	Playlists []Playlist `type:"list"`

	// The status of the job: Submitted, Progressing, Complete, Canceled, or Error.
	Status *string `type:"string"`

	// Details about the timing of a job.
	Timing *Timing `type:"structure"`

	// User-defined metadata that you want to associate with an Elastic Transcoder
	// job. You specify metadata in key/value pairs, and you can add up to 10 key/value
	// pairs per job. Elastic Transcoder does not guarantee that key/value pairs
	// are returned in the same order in which you specify them.
	//
	// Metadata keys and values must use characters from the following list:
	//
	//    * 0-9
	//
	//    * A-Z and a-z
	//
	//    * Space
	//
	//    * The following symbols: _.:/=+-%@
	UserMetadata map[string]string `type:"map"`
	// contains filtered or unexported fields
}

A section of the response body that provides information about the job that is created.

func (Job) GoString

func (s Job) GoString() string

GoString returns the string representation

func (*Job) SetArn

func (s *Job) SetArn(v string) *Job

SetArn sets the Arn field's value.

func (*Job) SetId

func (s *Job) SetId(v string) *Job

SetId sets the Id field's value.

func (*Job) SetInput

func (s *Job) SetInput(v *JobInput) *Job

SetInput sets the Input field's value.

func (*Job) SetInputs

func (s *Job) SetInputs(v []JobInput) *Job

SetInputs sets the Inputs field's value.

func (*Job) SetOutput

func (s *Job) SetOutput(v *JobOutput) *Job

SetOutput sets the Output field's value.

func (*Job) SetOutputKeyPrefix

func (s *Job) SetOutputKeyPrefix(v string) *Job

SetOutputKeyPrefix sets the OutputKeyPrefix field's value.

func (*Job) SetOutputs

func (s *Job) SetOutputs(v []JobOutput) *Job

SetOutputs sets the Outputs field's value.

func (*Job) SetPipelineId

func (s *Job) SetPipelineId(v string) *Job

SetPipelineId sets the PipelineId field's value.

func (*Job) SetPlaylists

func (s *Job) SetPlaylists(v []Playlist) *Job

SetPlaylists sets the Playlists field's value.

func (*Job) SetStatus

func (s *Job) SetStatus(v string) *Job

SetStatus sets the Status field's value.

func (*Job) SetTiming

func (s *Job) SetTiming(v *Timing) *Job

SetTiming sets the Timing field's value.

func (*Job) SetUserMetadata

func (s *Job) SetUserMetadata(v map[string]string) *Job

SetUserMetadata sets the UserMetadata field's value.

func (Job) String

func (s Job) String() string

String returns the string representation

type JobAlbumArt

type JobAlbumArt struct {

	// The file to be used as album art. There can be multiple artworks associated
	// with an audio file, to a maximum of 20. Valid formats are .jpg and .png
	Artwork []Artwork `type:"list"`

	// A policy that determines how Elastic Transcoder handles the existence of
	// multiple album artwork files.
	//
	//    * Replace: The specified album art replaces any existing album art.
	//
	//    * Prepend: The specified album art is placed in front of any existing
	//    album art.
	//
	//    * Append: The specified album art is placed after any existing album art.
	//
	//    * Fallback: If the original input file contains artwork, Elastic Transcoder
	//    uses that artwork for the output. If the original input does not contain
	//    artwork, Elastic Transcoder uses the specified album art file.
	MergePolicy *string `type:"string"`
	// contains filtered or unexported fields
}

The .jpg or .png file associated with an audio file.

func (JobAlbumArt) GoString

func (s JobAlbumArt) GoString() string

GoString returns the string representation

func (*JobAlbumArt) SetArtwork

func (s *JobAlbumArt) SetArtwork(v []Artwork) *JobAlbumArt

SetArtwork sets the Artwork field's value.

func (*JobAlbumArt) SetMergePolicy

func (s *JobAlbumArt) SetMergePolicy(v string) *JobAlbumArt

SetMergePolicy sets the MergePolicy field's value.

func (JobAlbumArt) String

func (s JobAlbumArt) String() string

String returns the string representation

func (*JobAlbumArt) Validate

func (s *JobAlbumArt) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type JobInput

type JobInput struct {

	// The aspect ratio of the input file. If you want Elastic Transcoder to automatically
	// detect the aspect ratio of the input file, specify auto. If you want to specify
	// the aspect ratio for the output file, enter one of the following values:
	//
	// 1:1, 4:3, 3:2, 16:9
	//
	// If you specify a value other than auto, Elastic Transcoder disables automatic
	// detection of the aspect ratio.
	AspectRatio *string `type:"string"`

	// The container type for the input file. If you want Elastic Transcoder to
	// automatically detect the container type of the input file, specify auto.
	// If you want to specify the container type for the input file, enter one of
	// the following values:
	//
	// 3gp, aac, asf, avi, divx, flv, m4a, mkv, mov, mp3, mp4, mpeg, mpeg-ps, mpeg-ts,
	// mxf, ogg, vob, wav, webm
	Container *string `type:"string"`

	// The detected properties of the input file.
	DetectedProperties *DetectedProperties `type:"structure"`

	// The encryption settings, if any, that are used for decrypting your input
	// files. If your input file is encrypted, you must specify the mode that Elastic
	// Transcoder uses to decrypt your file.
	Encryption *Encryption `type:"structure"`

	// The frame rate of the input file. If you want Elastic Transcoder to automatically
	// detect the frame rate of the input file, specify auto. If you want to specify
	// the frame rate for the input file, enter one of the following values:
	//
	// 10, 15, 23.97, 24, 25, 29.97, 30, 60
	//
	// If you specify a value other than auto, Elastic Transcoder disables automatic
	// detection of the frame rate.
	FrameRate *string `type:"string"`

	// You can configure Elastic Transcoder to transcode captions, or subtitles,
	// from one format to another. All captions must be in UTF-8. Elastic Transcoder
	// supports two types of captions:
	//
	//    * Embedded: Embedded captions are included in the same file as the audio
	//    and video. Elastic Transcoder supports only one embedded caption per language,
	//    to a maximum of 300 embedded captions per file.
	//
	// Valid input values include: CEA-608 (EIA-608, first non-empty channel only),
	//    CEA-708 (EIA-708, first non-empty channel only), and mov-text
	//
	// Valid outputs include: mov-text
	//
	// Elastic Transcoder supports a maximum of one embedded format per output.
	//
	//    * Sidecar: Sidecar captions are kept in a separate metadata file from
	//    the audio and video data. Sidecar captions require a player that is capable
	//    of understanding the relationship between the video file and the sidecar
	//    file. Elastic Transcoder supports only one sidecar caption per language,
	//    to a maximum of 20 sidecar captions per file.
	//
	// Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt,
	//    srt, ttml (first div element only), and webvtt
	//
	// Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.
	//
	// If you want ttml or smpte-tt compatible captions, specify dfxp as your output
	// format.
	//
	// Elastic Transcoder does not support OCR (Optical Character Recognition),
	// does not accept pictures as a valid input for captions, and is not available
	// for audio-only transcoding. Elastic Transcoder does not preserve text formatting
	// (for example, italics) during the transcoding process.
	//
	// To remove captions or leave the captions empty, set Captions to null. To
	// pass through existing captions unchanged, set the MergePolicy to MergeRetain,
	// and pass in a null CaptionSources array.
	//
	// For more information on embedded files, see the Subtitles Wikipedia page.
	//
	// For more information on sidecar files, see the Extensible Metadata Platform
	// and Sidecar file Wikipedia pages.
	InputCaptions *InputCaptions `type:"structure"`

	// Whether the input file is interlaced. If you want Elastic Transcoder to automatically
	// detect whether the input file is interlaced, specify auto. If you want to
	// specify whether the input file is interlaced, enter one of the following
	// values:
	//
	// true, false
	//
	// If you specify a value other than auto, Elastic Transcoder disables automatic
	// detection of interlacing.
	Interlaced *string `type:"string"`

	// The name of the file to transcode. Elsewhere in the body of the JSON block
	// is the the ID of the pipeline to use for processing the job. The InputBucket
	// object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to
	// get the file from.
	//
	// If the file name includes a prefix, such as cooking/lasagna.mpg, include
	// the prefix in the key. If the file isn't in the specified bucket, Elastic
	// Transcoder returns an error.
	Key *string `min:"1" type:"string"`

	// This value must be auto, which causes Elastic Transcoder to automatically
	// detect the resolution of the input file.
	Resolution *string `type:"string"`

	// Settings for clipping an input. Each input can have different clip settings.
	TimeSpan *TimeSpan `type:"structure"`
	// contains filtered or unexported fields
}

Information about the file that you're transcoding.

func (JobInput) GoString

func (s JobInput) GoString() string

GoString returns the string representation

func (*JobInput) SetAspectRatio

func (s *JobInput) SetAspectRatio(v string) *JobInput

SetAspectRatio sets the AspectRatio field's value.

func (*JobInput) SetContainer

func (s *JobInput) SetContainer(v string) *JobInput

SetContainer sets the Container field's value.

func (*JobInput) SetDetectedProperties

func (s *JobInput) SetDetectedProperties(v *DetectedProperties) *JobInput

SetDetectedProperties sets the DetectedProperties field's value.

func (*JobInput) SetEncryption

func (s *JobInput) SetEncryption(v *Encryption) *JobInput

SetEncryption sets the Encryption field's value.

func (*JobInput) SetFrameRate

func (s *JobInput) SetFrameRate(v string) *JobInput

SetFrameRate sets the FrameRate field's value.

func (*JobInput) SetInputCaptions

func (s *JobInput) SetInputCaptions(v *InputCaptions) *JobInput

SetInputCaptions sets the InputCaptions field's value.

func (*JobInput) SetInterlaced

func (s *JobInput) SetInterlaced(v string) *JobInput

SetInterlaced sets the Interlaced field's value.

func (*JobInput) SetKey

func (s *JobInput) SetKey(v string) *JobInput

SetKey sets the Key field's value.

func (*JobInput) SetResolution

func (s *JobInput) SetResolution(v string) *JobInput

SetResolution sets the Resolution field's value.

func (*JobInput) SetTimeSpan

func (s *JobInput) SetTimeSpan(v *TimeSpan) *JobInput

SetTimeSpan sets the TimeSpan field's value.

func (JobInput) String

func (s JobInput) String() string

String returns the string representation

func (*JobInput) Validate

func (s *JobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type JobOutput

type JobOutput struct {

	// The album art to be associated with the output file, if any.
	AlbumArt *JobAlbumArt `type:"structure"`

	// If Elastic Transcoder used a preset with a ColorSpaceConversionMode to transcode
	// the output file, the AppliedColorSpaceConversion parameter shows the conversion
	// used. If no ColorSpaceConversionMode was defined in the preset, this parameter
	// is not be included in the job response.
	AppliedColorSpaceConversion *string `type:"string"`

	// You can configure Elastic Transcoder to transcode captions, or subtitles,
	// from one format to another. All captions must be in UTF-8. Elastic Transcoder
	// supports two types of captions:
	//
	//    * Embedded: Embedded captions are included in the same file as the audio
	//    and video. Elastic Transcoder supports only one embedded caption per language,
	//    to a maximum of 300 embedded captions per file.
	//
	// Valid input values include: CEA-608 (EIA-608, first non-empty channel only),
	//    CEA-708 (EIA-708, first non-empty channel only), and mov-text
	//
	// Valid outputs include: mov-text
	//
	// Elastic Transcoder supports a maximum of one embedded format per output.
	//
	//    * Sidecar: Sidecar captions are kept in a separate metadata file from
	//    the audio and video data. Sidecar captions require a player that is capable
	//    of understanding the relationship between the video file and the sidecar
	//    file. Elastic Transcoder supports only one sidecar caption per language,
	//    to a maximum of 20 sidecar captions per file.
	//
	// Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt,
	//    srt, ttml (first div element only), and webvtt
	//
	// Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.
	//
	// If you want ttml or smpte-tt compatible captions, specify dfxp as your output
	// format.
	//
	// Elastic Transcoder does not support OCR (Optical Character Recognition),
	// does not accept pictures as a valid input for captions, and is not available
	// for audio-only transcoding. Elastic Transcoder does not preserve text formatting
	// (for example, italics) during the transcoding process.
	//
	// To remove captions or leave the captions empty, set Captions to null. To
	// pass through existing captions unchanged, set the MergePolicy to MergeRetain,
	// and pass in a null CaptionSources array.
	//
	// For more information on embedded files, see the Subtitles Wikipedia page.
	//
	// For more information on sidecar files, see the Extensible Metadata Platform
	// and Sidecar file Wikipedia pages.
	Captions *Captions `type:"structure"`

	// You can create an output file that contains an excerpt from the input file.
	// This excerpt, called a clip, can come from the beginning, middle, or end
	// of the file. The Composition object contains settings for the clips that
	// make up an output file. For the current release, you can only specify settings
	// for a single clip per output file. The Composition object cannot be null.
	Composition []Clip `deprecated:"true" type:"list"`

	// Duration of the output file, in seconds.
	Duration *int64 `type:"long"`

	// Duration of the output file, in milliseconds.
	DurationMillis *int64 `type:"long"`

	// The encryption settings, if any, that you want Elastic Transcoder to apply
	// to your output files. If you choose to use encryption, you must specify a
	// mode to use. If you choose not to use encryption, Elastic Transcoder writes
	// an unencrypted file to your Amazon S3 bucket.
	Encryption *Encryption `type:"structure"`

	// File size of the output file, in bytes.
	FileSize *int64 `type:"long"`

	// Frame rate of the output file, in frames per second.
	FrameRate *string `type:"string"`

	// Height of the output file, in pixels.
	Height *int64 `type:"integer"`

	// A sequential counter, starting with 1, that identifies an output among the
	// outputs from the current job. In the Output syntax, this value is always
	// 1.
	Id *string `type:"string"`

	// The name to assign to the transcoded file. Elastic Transcoder saves the file
	// in the Amazon S3 bucket specified by the OutputBucket object in the pipeline
	// that is specified by the pipeline ID.
	Key *string `min:"1" type:"string"`

	// The value of the Id object for the preset that you want to use for this job.
	// The preset determines the audio, video, and thumbnail settings that Elastic
	// Transcoder uses for transcoding. To use a preset that you created, specify
	// the preset ID that Elastic Transcoder returned in the response when you created
	// the preset. You can also use the Elastic Transcoder system presets, which
	// you can get with ListPresets.
	PresetId *string `type:"string"`

	// The number of degrees clockwise by which you want Elastic Transcoder to rotate
	// the output relative to the input. Enter one of the following values:
	//
	// auto, 0, 90, 180, 270
	//
	// The value auto generally works only if the file that you're transcoding contains
	// rotation metadata.
	Rotate *string `type:"string"`

	// (Outputs in Fragmented MP4 or MPEG-TS format only.
	//
	// If you specify a preset in PresetId for which the value of Container is fmp4
	// (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration
	// of each segment in seconds. For HLSv3 format playlists, each media segment
	// is stored in a separate .ts file. For HLSv4, MPEG-DASH, and Smooth playlists,
	// all media segments for an output are stored in a single file. Each segment
	// is approximately the length of the SegmentDuration, though individual segments
	// might be shorter or longer.
	//
	// The range of valid values is 1 to 60 seconds. If the duration of the video
	// is not evenly divisible by SegmentDuration, the duration of the last segment
	// is the remainder of total length/SegmentDuration.
	//
	// Elastic Transcoder creates an output-specific playlist for each output HLS
	// output that you specify in OutputKeys. To add an output to the master playlist
	// for this job, include it in the OutputKeys of the associated playlist.
	SegmentDuration *string `type:"string"`

	// The status of one output in a job. If you specified only one output for the
	// job, Outputs:Status is always the same as Job:Status. If you specified more
	// than one output:
	//
	//    * Job:Status and Outputs:Status for all of the outputs is Submitted until
	//    Elastic Transcoder starts to process the first output.
	//
	//    * When Elastic Transcoder starts to process the first output, Outputs:Status
	//    for that output and Job:Status both change to Progressing. For each output,
	//    the value of Outputs:Status remains Submitted until Elastic Transcoder
	//    starts to process the output.
	//
	//    * Job:Status remains Progressing until all of the outputs reach a terminal
	//    status, either Complete or Error.
	//
	//    * When all of the outputs reach a terminal status, Job:Status changes
	//    to Complete only if Outputs:Status for all of the outputs is Complete.
	//    If Outputs:Status for one or more outputs is Error, the terminal status
	//    for Job:Status is also Error.
	//
	// The value of Status is one of the following: Submitted, Progressing, Complete,
	// Canceled, or Error.
	Status *string `type:"string"`

	// Information that further explains Status.
	StatusDetail *string `type:"string"`

	// The encryption settings, if any, that you want Elastic Transcoder to apply
	// to your thumbnail.
	ThumbnailEncryption *Encryption `type:"structure"`

	// Whether you want Elastic Transcoder to create thumbnails for your videos
	// and, if so, how you want Elastic Transcoder to name the files.
	//
	// If you don't want Elastic Transcoder to create thumbnails, specify "".
	//
	// If you do want Elastic Transcoder to create thumbnails, specify the information
	// that you want to include in the file name for each thumbnail. You can specify
	// the following values in any sequence:
	//
	//    * {count} (Required): If you want to create thumbnails, you must include
	//    {count} in the ThumbnailPattern object. Wherever you specify {count},
	//    Elastic Transcoder adds a five-digit sequence number (beginning with 00001)
	//    to thumbnail file names. The number indicates where a given thumbnail
	//    appears in the sequence of thumbnails for a transcoded file.
	//
	// If you specify a literal value and/or {resolution} but you omit {count},
	//    Elastic Transcoder returns a validation error and does not create the
	//    job.
	//
	//    * Literal values (Optional): You can specify literal values anywhere in
	//    the ThumbnailPattern object. For example, you can include them as a file
	//    name prefix or as a delimiter between {resolution} and {count}.
	//
	//    * {resolution} (Optional): If you want Elastic Transcoder to include the
	//    resolution in the file name, include {resolution} in the ThumbnailPattern
	//    object.
	//
	// When creating thumbnails, Elastic Transcoder automatically saves the files
	// in the format (.jpg or .png) that appears in the preset that you specified
	// in the PresetID value of CreateJobOutput. Elastic Transcoder also appends
	// the applicable file name extension.
	ThumbnailPattern *string `type:"string"`

	// Information about the watermarks that you want Elastic Transcoder to add
	// to the video during transcoding. You can specify up to four watermarks for
	// each output. Settings for each watermark must be defined in the preset that
	// you specify in Preset for the current output.
	//
	// Watermarks are added to the output video in the sequence in which you list
	// them in the job output—the first watermark in the list is added to the output
	// video first, the second watermark in the list is added next, and so on. As
	// a result, if the settings in a preset cause Elastic Transcoder to place all
	// watermarks in the same location, the second watermark that you add covers
	// the first one, the third one covers the second, and the fourth one covers
	// the third.
	Watermarks []JobWatermark `type:"list"`

	// Specifies the width of the output file in pixels.
	Width *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Outputs recommended instead.

If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

func (JobOutput) GoString

func (s JobOutput) GoString() string

GoString returns the string representation

func (*JobOutput) SetAlbumArt

func (s *JobOutput) SetAlbumArt(v *JobAlbumArt) *JobOutput

SetAlbumArt sets the AlbumArt field's value.

func (*JobOutput) SetAppliedColorSpaceConversion

func (s *JobOutput) SetAppliedColorSpaceConversion(v string) *JobOutput

SetAppliedColorSpaceConversion sets the AppliedColorSpaceConversion field's value.

func (*JobOutput) SetCaptions

func (s *JobOutput) SetCaptions(v *Captions) *JobOutput

SetCaptions sets the Captions field's value.

func (*JobOutput) SetComposition

func (s *JobOutput) SetComposition(v []Clip) *JobOutput

SetComposition sets the Composition field's value.

func (*JobOutput) SetDuration

func (s *JobOutput) SetDuration(v int64) *JobOutput

SetDuration sets the Duration field's value.

func (*JobOutput) SetDurationMillis

func (s *JobOutput) SetDurationMillis(v int64) *JobOutput

SetDurationMillis sets the DurationMillis field's value.

func (*JobOutput) SetEncryption

func (s *JobOutput) SetEncryption(v *Encryption) *JobOutput

SetEncryption sets the Encryption field's value.

func (*JobOutput) SetFileSize

func (s *JobOutput) SetFileSize(v int64) *JobOutput

SetFileSize sets the FileSize field's value.

func (*JobOutput) SetFrameRate

func (s *JobOutput) SetFrameRate(v string) *JobOutput

SetFrameRate sets the FrameRate field's value.

func (*JobOutput) SetHeight

func (s *JobOutput) SetHeight(v int64) *JobOutput

SetHeight sets the Height field's value.

func (*JobOutput) SetId

func (s *JobOutput) SetId(v string) *JobOutput

SetId sets the Id field's value.

func (*JobOutput) SetKey

func (s *JobOutput) SetKey(v string) *JobOutput

SetKey sets the Key field's value.

func (*JobOutput) SetPresetId

func (s *JobOutput) SetPresetId(v string) *JobOutput

SetPresetId sets the PresetId field's value.

func (*JobOutput) SetRotate

func (s *JobOutput) SetRotate(v string) *JobOutput

SetRotate sets the Rotate field's value.

func (*JobOutput) SetSegmentDuration

func (s *JobOutput) SetSegmentDuration(v string) *JobOutput

SetSegmentDuration sets the SegmentDuration field's value.

func (*JobOutput) SetStatus

func (s *JobOutput) SetStatus(v string) *JobOutput

SetStatus sets the Status field's value.

func (*JobOutput) SetStatusDetail

func (s *JobOutput) SetStatusDetail(v string) *JobOutput

SetStatusDetail sets the StatusDetail field's value.

func (*JobOutput) SetThumbnailEncryption

func (s *JobOutput) SetThumbnailEncryption(v *Encryption) *JobOutput

SetThumbnailEncryption sets the ThumbnailEncryption field's value.

func (*JobOutput) SetThumbnailPattern

func (s *JobOutput) SetThumbnailPattern(v string) *JobOutput

SetThumbnailPattern sets the ThumbnailPattern field's value.

func (*JobOutput) SetWatermarks

func (s *JobOutput) SetWatermarks(v []JobWatermark) *JobOutput

SetWatermarks sets the Watermarks field's value.

func (*JobOutput) SetWidth

func (s *JobOutput) SetWidth(v int64) *JobOutput

SetWidth sets the Width field's value.

func (JobOutput) String

func (s JobOutput) String() string

String returns the string representation

type JobWatermark

type JobWatermark struct {

	// The encryption settings, if any, that you want Elastic Transcoder to apply
	// to your watermarks.
	Encryption *Encryption `type:"structure"`

	// The name of the .png or .jpg file that you want to use for the watermark.
	// To determine which Amazon S3 bucket contains the specified file, Elastic
	// Transcoder checks the pipeline specified by Pipeline; the Input Bucket object
	// in that pipeline identifies the bucket.
	//
	// If the file name includes a prefix, for example, logos/128x64.png, include
	// the prefix in the key. If the file isn't in the specified bucket, Elastic
	// Transcoder returns an error.
	InputKey *string `min:"1" type:"string"`

	// The ID of the watermark settings that Elastic Transcoder uses to add watermarks
	// to the video during transcoding. The settings are in the preset specified
	// by Preset for the current output. In that preset, the value of Watermarks
	// Id tells Elastic Transcoder which settings to use.
	PresetWatermarkId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.

func (JobWatermark) GoString

func (s JobWatermark) GoString() string

GoString returns the string representation

func (*JobWatermark) SetEncryption

func (s *JobWatermark) SetEncryption(v *Encryption) *JobWatermark

SetEncryption sets the Encryption field's value.

func (*JobWatermark) SetInputKey

func (s *JobWatermark) SetInputKey(v string) *JobWatermark

SetInputKey sets the InputKey field's value.

func (*JobWatermark) SetPresetWatermarkId

func (s *JobWatermark) SetPresetWatermarkId(v string) *JobWatermark

SetPresetWatermarkId sets the PresetWatermarkId field's value.

func (JobWatermark) String

func (s JobWatermark) String() string

String returns the string representation

func (*JobWatermark) Validate

func (s *JobWatermark) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListJobsByPipelineInput

type ListJobsByPipelineInput struct {

	// To list jobs in chronological order by the date and time that they were submitted,
	// enter true. To list jobs in reverse chronological order, enter false.
	Ascending *string `location:"querystring" locationName:"Ascending" type:"string"`

	// When Elastic Transcoder returns more than one page of results, use pageToken
	// in subsequent GET requests to get each successive page of results.
	PageToken *string `location:"querystring" locationName:"PageToken" type:"string"`

	// The ID of the pipeline for which you want to get job information.
	//
	// PipelineId is a required field
	PipelineId *string `location:"uri" locationName:"PipelineId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The ListJobsByPipelineRequest structure.

func (ListJobsByPipelineInput) GoString

func (s ListJobsByPipelineInput) GoString() string

GoString returns the string representation

func (*ListJobsByPipelineInput) SetAscending

SetAscending sets the Ascending field's value.

func (*ListJobsByPipelineInput) SetPageToken

SetPageToken sets the PageToken field's value.

func (*ListJobsByPipelineInput) SetPipelineId

SetPipelineId sets the PipelineId field's value.

func (ListJobsByPipelineInput) String

func (s ListJobsByPipelineInput) String() string

String returns the string representation

func (*ListJobsByPipelineInput) Validate

func (s *ListJobsByPipelineInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListJobsByPipelineOutput

type ListJobsByPipelineOutput struct {

	// An array of Job objects that are in the specified pipeline.
	Jobs []Job `type:"list"`

	// A value that you use to access the second and subsequent pages of results,
	// if any. When the jobs in the specified pipeline fit on one page or when you've
	// reached the last page of results, the value of NextPageToken is null.
	NextPageToken *string `type:"string"`
	// contains filtered or unexported fields
}

The ListJobsByPipelineResponse structure.

func (ListJobsByPipelineOutput) GoString

func (s ListJobsByPipelineOutput) GoString() string

GoString returns the string representation

func (ListJobsByPipelineOutput) SDKResponseMetadata

func (s ListJobsByPipelineOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListJobsByPipelineOutput) SetJobs

SetJobs sets the Jobs field's value.

func (*ListJobsByPipelineOutput) SetNextPageToken

SetNextPageToken sets the NextPageToken field's value.

func (ListJobsByPipelineOutput) String

func (s ListJobsByPipelineOutput) String() string

String returns the string representation

type ListJobsByPipelineRequest

type ListJobsByPipelineRequest struct {
	*aws.Request
	Input *ListJobsByPipelineInput
}

ListJobsByPipelineRequest is a API request type for the ListJobsByPipeline API operation.

func (ListJobsByPipelineRequest) Send

Send marshals and sends the ListJobsByPipeline API request.

type ListJobsByStatusInput

type ListJobsByStatusInput struct {

	// To list jobs in chronological order by the date and time that they were submitted,
	// enter true. To list jobs in reverse chronological order, enter false.
	Ascending *string `location:"querystring" locationName:"Ascending" type:"string"`

	// When Elastic Transcoder returns more than one page of results, use pageToken
	// in subsequent GET requests to get each successive page of results.
	PageToken *string `location:"querystring" locationName:"PageToken" type:"string"`

	// To get information about all of the jobs associated with the current AWS
	// account that have a given status, specify the following status: Submitted,
	// Progressing, Complete, Canceled, or Error.
	//
	// Status is a required field
	Status *string `location:"uri" locationName:"Status" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The ListJobsByStatusRequest structure.

func (ListJobsByStatusInput) GoString

func (s ListJobsByStatusInput) GoString() string

GoString returns the string representation

func (*ListJobsByStatusInput) SetAscending

SetAscending sets the Ascending field's value.

func (*ListJobsByStatusInput) SetPageToken

SetPageToken sets the PageToken field's value.

func (*ListJobsByStatusInput) SetStatus

SetStatus sets the Status field's value.

func (ListJobsByStatusInput) String

func (s ListJobsByStatusInput) String() string

String returns the string representation

func (*ListJobsByStatusInput) Validate

func (s *ListJobsByStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListJobsByStatusOutput

type ListJobsByStatusOutput struct {

	// An array of Job objects that have the specified status.
	Jobs []Job `type:"list"`

	// A value that you use to access the second and subsequent pages of results,
	// if any. When the jobs in the specified pipeline fit on one page or when you've
	// reached the last page of results, the value of NextPageToken is null.
	NextPageToken *string `type:"string"`
	// contains filtered or unexported fields
}

The ListJobsByStatusResponse structure.

func (ListJobsByStatusOutput) GoString

func (s ListJobsByStatusOutput) GoString() string

GoString returns the string representation

func (ListJobsByStatusOutput) SDKResponseMetadata

func (s ListJobsByStatusOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListJobsByStatusOutput) SetJobs

SetJobs sets the Jobs field's value.

func (*ListJobsByStatusOutput) SetNextPageToken

func (s *ListJobsByStatusOutput) SetNextPageToken(v string) *ListJobsByStatusOutput

SetNextPageToken sets the NextPageToken field's value.

func (ListJobsByStatusOutput) String

func (s ListJobsByStatusOutput) String() string

String returns the string representation

type ListJobsByStatusRequest

type ListJobsByStatusRequest struct {
	*aws.Request
	Input *ListJobsByStatusInput
}

ListJobsByStatusRequest is a API request type for the ListJobsByStatus API operation.

func (ListJobsByStatusRequest) Send

Send marshals and sends the ListJobsByStatus API request.

type ListPipelinesInput

type ListPipelinesInput struct {

	// To list pipelines in chronological order by the date and time that they were
	// created, enter true. To list pipelines in reverse chronological order, enter
	// false.
	Ascending *string `location:"querystring" locationName:"Ascending" type:"string"`

	// When Elastic Transcoder returns more than one page of results, use pageToken
	// in subsequent GET requests to get each successive page of results.
	PageToken *string `location:"querystring" locationName:"PageToken" type:"string"`
	// contains filtered or unexported fields
}

The ListPipelineRequest structure.

func (ListPipelinesInput) GoString

func (s ListPipelinesInput) GoString() string

GoString returns the string representation

func (*ListPipelinesInput) SetAscending

func (s *ListPipelinesInput) SetAscending(v string) *ListPipelinesInput

SetAscending sets the Ascending field's value.

func (*ListPipelinesInput) SetPageToken

func (s *ListPipelinesInput) SetPageToken(v string) *ListPipelinesInput

SetPageToken sets the PageToken field's value.

func (ListPipelinesInput) String

func (s ListPipelinesInput) String() string

String returns the string representation

type ListPipelinesOutput

type ListPipelinesOutput struct {

	// A value that you use to access the second and subsequent pages of results,
	// if any. When the pipelines fit on one page or when you've reached the last
	// page of results, the value of NextPageToken is null.
	NextPageToken *string `type:"string"`

	// An array of Pipeline objects.
	Pipelines []Pipeline `type:"list"`
	// contains filtered or unexported fields
}

A list of the pipelines associated with the current AWS account.

func (ListPipelinesOutput) GoString

func (s ListPipelinesOutput) GoString() string

GoString returns the string representation

func (ListPipelinesOutput) SDKResponseMetadata

func (s ListPipelinesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListPipelinesOutput) SetNextPageToken

func (s *ListPipelinesOutput) SetNextPageToken(v string) *ListPipelinesOutput

SetNextPageToken sets the NextPageToken field's value.

func (*ListPipelinesOutput) SetPipelines

func (s *ListPipelinesOutput) SetPipelines(v []Pipeline) *ListPipelinesOutput

SetPipelines sets the Pipelines field's value.

func (ListPipelinesOutput) String

func (s ListPipelinesOutput) String() string

String returns the string representation

type ListPipelinesRequest

type ListPipelinesRequest struct {
	*aws.Request
	Input *ListPipelinesInput
}

ListPipelinesRequest is a API request type for the ListPipelines API operation.

func (ListPipelinesRequest) Send

Send marshals and sends the ListPipelines API request.

type ListPresetsInput

type ListPresetsInput struct {

	// To list presets in chronological order by the date and time that they were
	// created, enter true. To list presets in reverse chronological order, enter
	// false.
	Ascending *string `location:"querystring" locationName:"Ascending" type:"string"`

	// When Elastic Transcoder returns more than one page of results, use pageToken
	// in subsequent GET requests to get each successive page of results.
	PageToken *string `location:"querystring" locationName:"PageToken" type:"string"`
	// contains filtered or unexported fields
}

The ListPresetsRequest structure.

func (ListPresetsInput) GoString

func (s ListPresetsInput) GoString() string

GoString returns the string representation

func (*ListPresetsInput) SetAscending

func (s *ListPresetsInput) SetAscending(v string) *ListPresetsInput

SetAscending sets the Ascending field's value.

func (*ListPresetsInput) SetPageToken

func (s *ListPresetsInput) SetPageToken(v string) *ListPresetsInput

SetPageToken sets the PageToken field's value.

func (ListPresetsInput) String

func (s ListPresetsInput) String() string

String returns the string representation

type ListPresetsOutput

type ListPresetsOutput struct {

	// A value that you use to access the second and subsequent pages of results,
	// if any. When the presets fit on one page or when you've reached the last
	// page of results, the value of NextPageToken is null.
	NextPageToken *string `type:"string"`

	// An array of Preset objects.
	Presets []Preset `type:"list"`
	// contains filtered or unexported fields
}

The ListPresetsResponse structure.

func (ListPresetsOutput) GoString

func (s ListPresetsOutput) GoString() string

GoString returns the string representation

func (ListPresetsOutput) SDKResponseMetadata

func (s ListPresetsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListPresetsOutput) SetNextPageToken

func (s *ListPresetsOutput) SetNextPageToken(v string) *ListPresetsOutput

SetNextPageToken sets the NextPageToken field's value.

func (*ListPresetsOutput) SetPresets

func (s *ListPresetsOutput) SetPresets(v []Preset) *ListPresetsOutput

SetPresets sets the Presets field's value.

func (ListPresetsOutput) String

func (s ListPresetsOutput) String() string

String returns the string representation

type ListPresetsRequest

type ListPresetsRequest struct {
	*aws.Request
	Input *ListPresetsInput
}

ListPresetsRequest is a API request type for the ListPresets API operation.

func (ListPresetsRequest) Send

Send marshals and sends the ListPresets API request.

type Notifications

type Notifications struct {

	// The Amazon SNS topic that you want to notify when Elastic Transcoder has
	// finished processing the job.
	Completed *string `type:"string"`

	// The Amazon SNS topic that you want to notify when Elastic Transcoder encounters
	// an error condition.
	Error *string `type:"string"`

	// The Amazon Simple Notification Service (Amazon SNS) topic that you want to
	// notify when Elastic Transcoder has started to process the job.
	Progressing *string `type:"string"`

	// The Amazon SNS topic that you want to notify when Elastic Transcoder encounters
	// a warning condition.
	Warning *string `type:"string"`
	// contains filtered or unexported fields
}

The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify in order to report job status.

To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.

func (Notifications) GoString

func (s Notifications) GoString() string

GoString returns the string representation

func (*Notifications) SetCompleted

func (s *Notifications) SetCompleted(v string) *Notifications

SetCompleted sets the Completed field's value.

func (*Notifications) SetError

func (s *Notifications) SetError(v string) *Notifications

SetError sets the Error field's value.

func (*Notifications) SetProgressing

func (s *Notifications) SetProgressing(v string) *Notifications

SetProgressing sets the Progressing field's value.

func (*Notifications) SetWarning

func (s *Notifications) SetWarning(v string) *Notifications

SetWarning sets the Warning field's value.

func (Notifications) String

func (s Notifications) String() string

String returns the string representation

type Permission

type Permission struct {

	// The permission that you want to give to the AWS user that is listed in Grantee.
	// Valid values include:
	//
	//    * READ: The grantee can read the thumbnails and metadata for thumbnails
	//    that Elastic Transcoder adds to the Amazon S3 bucket.
	//
	//    * READ_ACP: The grantee can read the object ACL for thumbnails that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	//    * WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	//    * FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions
	//    for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
	Access []string `type:"list"`

	// The AWS user or group that you want to have access to transcoded files and
	// playlists. To identify the user or group, you can specify the canonical user
	// ID for an AWS account, an origin access identity for a CloudFront distribution,
	// the registered email address of an AWS account, or a predefined Amazon S3
	// group.
	Grantee *string `min:"1" type:"string"`

	// The type of value that appears in the Grantee object:
	//
	//    * Canonical: Either the canonical user ID for an AWS account or an origin
	//    access identity for an Amazon CloudFront distribution.
	//
	// A canonical user ID is not the same as an AWS account number.
	//
	//    * Email: The registered email address of an AWS account.
	//
	//    * Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers,
	//    or LogDelivery.
	GranteeType *string `type:"string"`
	// contains filtered or unexported fields
}

The Permission structure.

func (Permission) GoString

func (s Permission) GoString() string

GoString returns the string representation

func (*Permission) SetAccess

func (s *Permission) SetAccess(v []string) *Permission

SetAccess sets the Access field's value.

func (*Permission) SetGrantee

func (s *Permission) SetGrantee(v string) *Permission

SetGrantee sets the Grantee field's value.

func (*Permission) SetGranteeType

func (s *Permission) SetGranteeType(v string) *Permission

SetGranteeType sets the GranteeType field's value.

func (Permission) String

func (s Permission) String() string

String returns the string representation

func (*Permission) Validate

func (s *Permission) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Pipeline

type Pipeline struct {

	// The Amazon Resource Name (ARN) for the pipeline.
	Arn *string `type:"string"`

	// The AWS Key Management Service (AWS KMS) key that you want to use with this
	// pipeline.
	//
	// If you use either S3 or S3-AWS-KMS as your Encryption:Mode, you don't need
	// to provide a key with your job because a default key, known as an AWS-KMS
	// key, is created for you automatically. You need to provide an AWS-KMS key
	// only if you want to use a non-default AWS-KMS key, or if you are using an
	// Encryption:Mode of AES-PKCS7, AES-CTR, or AES-GCM.
	AwsKmsKeyArn *string `type:"string"`

	// Information about the Amazon S3 bucket in which you want Elastic Transcoder
	// to save transcoded files and playlists. Either you specify both ContentConfig
	// and ThumbnailConfig, or you specify OutputBucket.
	//
	//    * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
	//    save transcoded files and playlists.
	//
	//    * Permissions: A list of the users and/or predefined Amazon S3 groups
	//    you want to have access to transcoded files and playlists, and the type
	//    of access that you want them to have.
	//
	// GranteeType: The type of value that appears in the Grantee object:
	//
	// Canonical: Either the canonical user ID for an AWS account or an origin access
	//    identity for an Amazon CloudFront distribution.
	//
	// Email: The registered email address of an AWS account.
	//
	// Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers,
	//    or LogDelivery.
	//
	// Grantee: The AWS user or group that you want to have access to transcoded
	//    files and playlists.
	//
	// Access: The permission that you want to give to the AWS user that is listed
	//    in Grantee. Valid values include:
	//
	// READ: The grantee can read the objects and metadata for objects that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	// READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder
	//    adds to the Amazon S3 bucket.
	//
	// WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder
	//    adds to the Amazon S3 bucket.
	//
	// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
	//    the objects that Elastic Transcoder adds to the Amazon S3 bucket.
	//
	//    * StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy,
	//    that you want Elastic Transcoder to assign to the video files and playlists
	//    that it stores in your Amazon S3 bucket.
	ContentConfig *PipelineOutputConfig `type:"structure"`

	// The identifier for the pipeline. You use this value to identify the pipeline
	// in which you want to perform a variety of operations, such as creating a
	// job or a preset.
	Id *string `type:"string"`

	// The Amazon S3 bucket from which Elastic Transcoder gets media files for transcoding
	// and the graphics files, if any, that you want to use for watermarks.
	InputBucket *string `type:"string"`

	// The name of the pipeline. We recommend that the name be unique within the
	// AWS account, but uniqueness is not enforced.
	//
	// Constraints: Maximum 40 characters
	Name *string `min:"1" type:"string"`

	// The Amazon Simple Notification Service (Amazon SNS) topic that you want to
	// notify to report job status.
	//
	// To receive notifications, you must also subscribe to the new topic in the
	// Amazon SNS console.
	//
	//    * Progressing (optional): The Amazon Simple Notification Service (Amazon
	//    SNS) topic that you want to notify when Elastic Transcoder has started
	//    to process the job.
	//
	//    * Completed (optional): The Amazon SNS topic that you want to notify when
	//    Elastic Transcoder has finished processing the job.
	//
	//    * Warning (optional): The Amazon SNS topic that you want to notify when
	//    Elastic Transcoder encounters a warning condition.
	//
	//    * Error (optional): The Amazon SNS topic that you want to notify when
	//    Elastic Transcoder encounters an error condition.
	Notifications *Notifications `type:"structure"`

	// The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded
	// files, thumbnails, and playlists. Either you specify this value, or you specify
	// both ContentConfig and ThumbnailConfig.
	OutputBucket *string `type:"string"`

	// The IAM Amazon Resource Name (ARN) for the role that Elastic Transcoder uses
	// to transcode jobs for this pipeline.
	Role *string `type:"string"`

	// The current status of the pipeline:
	//
	//    * Active: The pipeline is processing jobs.
	//
	//    * Paused: The pipeline is not currently processing jobs.
	Status *string `type:"string"`

	// Information about the Amazon S3 bucket in which you want Elastic Transcoder
	// to save thumbnail files. Either you specify both ContentConfig and ThumbnailConfig,
	// or you specify OutputBucket.
	//
	//    * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
	//    save thumbnail files.
	//
	//    * Permissions: A list of the users and/or predefined Amazon S3 groups
	//    you want to have access to thumbnail files, and the type of access that
	//    you want them to have.
	//
	// GranteeType: The type of value that appears in the Grantee object:
	//
	// Canonical: Either the canonical user ID for an AWS account or an origin access
	//    identity for an Amazon CloudFront distribution.
	//
	// A canonical user ID is not the same as an AWS account number.
	//
	// Email: The registered email address of an AWS account.
	//
	// Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers,
	//    or LogDelivery.
	//
	// Grantee: The AWS user or group that you want to have access to thumbnail
	//    files.
	//
	// Access: The permission that you want to give to the AWS user that is listed
	//    in Grantee. Valid values include:
	//
	// READ: The grantee can read the thumbnails and metadata for thumbnails that
	//    Elastic Transcoder adds to the Amazon S3 bucket.
	//
	// READ_ACP: The grantee can read the object ACL for thumbnails that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	// WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
	//    the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
	//
	//    * StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy,
	//    that you want Elastic Transcoder to assign to the thumbnails that it stores
	//    in your Amazon S3 bucket.
	ThumbnailConfig *PipelineOutputConfig `type:"structure"`
	// contains filtered or unexported fields
}

The pipeline (queue) that is used to manage jobs.

func (Pipeline) GoString

func (s Pipeline) GoString() string

GoString returns the string representation

func (*Pipeline) SetArn

func (s *Pipeline) SetArn(v string) *Pipeline

SetArn sets the Arn field's value.

func (*Pipeline) SetAwsKmsKeyArn

func (s *Pipeline) SetAwsKmsKeyArn(v string) *Pipeline

SetAwsKmsKeyArn sets the AwsKmsKeyArn field's value.

func (*Pipeline) SetContentConfig

func (s *Pipeline) SetContentConfig(v *PipelineOutputConfig) *Pipeline

SetContentConfig sets the ContentConfig field's value.

func (*Pipeline) SetId

func (s *Pipeline) SetId(v string) *Pipeline

SetId sets the Id field's value.

func (*Pipeline) SetInputBucket

func (s *Pipeline) SetInputBucket(v string) *Pipeline

SetInputBucket sets the InputBucket field's value.

func (*Pipeline) SetName

func (s *Pipeline) SetName(v string) *Pipeline

SetName sets the Name field's value.

func (*Pipeline) SetNotifications

func (s *Pipeline) SetNotifications(v *Notifications) *Pipeline

SetNotifications sets the Notifications field's value.

func (*Pipeline) SetOutputBucket

func (s *Pipeline) SetOutputBucket(v string) *Pipeline

SetOutputBucket sets the OutputBucket field's value.

func (*Pipeline) SetRole

func (s *Pipeline) SetRole(v string) *Pipeline

SetRole sets the Role field's value.

func (*Pipeline) SetStatus

func (s *Pipeline) SetStatus(v string) *Pipeline

SetStatus sets the Status field's value.

func (*Pipeline) SetThumbnailConfig

func (s *Pipeline) SetThumbnailConfig(v *PipelineOutputConfig) *Pipeline

SetThumbnailConfig sets the ThumbnailConfig field's value.

func (Pipeline) String

func (s Pipeline) String() string

String returns the string representation

type PipelineOutputConfig

type PipelineOutputConfig struct {

	// The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded
	// files. Specify this value when all of the following are true:
	//
	//    * You want to save transcoded files, thumbnails (if any), and playlists
	//    (if any) together in one bucket.
	//
	//    * You do not want to specify the users or groups who have access to the
	//    transcoded files, thumbnails, and playlists.
	//
	//    * You do not want to specify the permissions that Elastic Transcoder grants
	//    to the files.
	//
	//    * You want to associate the transcoded files and thumbnails with the Amazon
	//    S3 Standard storage class.
	//
	// If you want to save transcoded files and playlists in one bucket and thumbnails
	// in another bucket, specify which users can access the transcoded files or
	// the permissions the users have, or change the Amazon S3 storage class, omit
	// OutputBucket and specify values for ContentConfig and ThumbnailConfig instead.
	Bucket *string `type:"string"`

	// Optional. The Permissions object specifies which users and/or predefined
	// Amazon S3 groups you want to have access to transcoded files and playlists,
	// and the type of access you want them to have. You can grant permissions to
	// a maximum of 30 users and/or predefined Amazon S3 groups.
	//
	// If you include Permissions, Elastic Transcoder grants only the permissions
	// that you specify. It does not grant full permissions to the owner of the
	// role specified by Role. If you want that user to have full control, you must
	// explicitly grant full control to the user.
	//
	// If you omit Permissions, Elastic Transcoder grants full control over the
	// transcoded files and playlists to the owner of the role specified by Role,
	// and grants no other permissions to any other user or group.
	Permissions []Permission `type:"list"`

	// The Amazon S3 storage class, Standard or ReducedRedundancy, that you want
	// Elastic Transcoder to assign to the video files and playlists that it stores
	// in your Amazon S3 bucket.
	StorageClass *string `type:"string"`
	// contains filtered or unexported fields
}

The PipelineOutputConfig structure.

func (PipelineOutputConfig) GoString

func (s PipelineOutputConfig) GoString() string

GoString returns the string representation

func (*PipelineOutputConfig) SetBucket

SetBucket sets the Bucket field's value.

func (*PipelineOutputConfig) SetPermissions

func (s *PipelineOutputConfig) SetPermissions(v []Permission) *PipelineOutputConfig

SetPermissions sets the Permissions field's value.

func (*PipelineOutputConfig) SetStorageClass

func (s *PipelineOutputConfig) SetStorageClass(v string) *PipelineOutputConfig

SetStorageClass sets the StorageClass field's value.

func (PipelineOutputConfig) String

func (s PipelineOutputConfig) String() string

String returns the string representation

func (*PipelineOutputConfig) Validate

func (s *PipelineOutputConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PlayReadyDrm

type PlayReadyDrm struct {

	// The type of DRM, if any, that you want Elastic Transcoder to apply to the
	// output files associated with this playlist.
	Format *string `type:"string"`

	// The series of random bits created by a random bit generator, unique for every
	// encryption operation, that you want Elastic Transcoder to use to encrypt
	// your files. The initialization vector must be base64-encoded, and it must
	// be exactly 8 bytes long before being base64-encoded. If no initialization
	// vector is provided, Elastic Transcoder generates one for you.
	InitializationVector *string `type:"string"`

	// The DRM key for your file, provided by your DRM license provider. The key
	// must be base64-encoded, and it must be one of the following bit lengths before
	// being base64-encoded:
	//
	// 128, 192, or 256.
	//
	// The key must also be encrypted by using AWS KMS.
	Key *string `type:"string"`

	// The ID for your DRM key, so that your DRM license provider knows which key
	// to provide.
	//
	// The key ID must be provided in big endian, and Elastic Transcoder converts
	// it to little endian before inserting it into the PlayReady DRM headers. If
	// you are unsure whether your license server provides your key ID in big or
	// little endian, check with your DRM provider.
	KeyId *string `type:"string"`

	// The MD5 digest of the key used for DRM on your file, and that you want Elastic
	// Transcoder to use as a checksum to make sure your key was not corrupted in
	// transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes
	// before being base64-encoded.
	KeyMd5 *string `type:"string"`

	// The location of the license key required to play DRM content. The URL must
	// be an absolute path, and is referenced by the PlayReady header. The PlayReady
	// header is referenced in the protection header of the client manifest for
	// Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO metadata
	// tags for HLS playlist outputs. An example URL looks like this: https://www.example.com/exampleKey/
	LicenseAcquisitionUrl *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The PlayReady DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

PlayReady DRM encrypts your media files using AES-CTR encryption.

If you use DRM for an HLSv3 playlist, your outputs must have a master playlist.

func (PlayReadyDrm) GoString

func (s PlayReadyDrm) GoString() string

GoString returns the string representation

func (*PlayReadyDrm) SetFormat

func (s *PlayReadyDrm) SetFormat(v string) *PlayReadyDrm

SetFormat sets the Format field's value.

func (*PlayReadyDrm) SetInitializationVector

func (s *PlayReadyDrm) SetInitializationVector(v string) *PlayReadyDrm

SetInitializationVector sets the InitializationVector field's value.

func (*PlayReadyDrm) SetKey

func (s *PlayReadyDrm) SetKey(v string) *PlayReadyDrm

SetKey sets the Key field's value.

func (*PlayReadyDrm) SetKeyId

func (s *PlayReadyDrm) SetKeyId(v string) *PlayReadyDrm

SetKeyId sets the KeyId field's value.

func (*PlayReadyDrm) SetKeyMd5

func (s *PlayReadyDrm) SetKeyMd5(v string) *PlayReadyDrm

SetKeyMd5 sets the KeyMd5 field's value.

func (*PlayReadyDrm) SetLicenseAcquisitionUrl

func (s *PlayReadyDrm) SetLicenseAcquisitionUrl(v string) *PlayReadyDrm

SetLicenseAcquisitionUrl sets the LicenseAcquisitionUrl field's value.

func (PlayReadyDrm) String

func (s PlayReadyDrm) String() string

String returns the string representation

func (*PlayReadyDrm) Validate

func (s *PlayReadyDrm) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Playlist

type Playlist struct {

	// The format of the output playlist. Valid formats include HLSv3, HLSv4, and
	// Smooth.
	Format *string `type:"string"`

	// The HLS content protection settings, if any, that you want Elastic Transcoder
	// to apply to the output files associated with this playlist.
	HlsContentProtection *HlsContentProtection `type:"structure"`

	// The name that you want Elastic Transcoder to assign to the master playlist,
	// for example, nyc-vacation.m3u8. If the name includes a / character, the section
	// of the name before the last / must be identical for all Name objects. If
	// you create more than one master playlist, the values of all Name objects
	// must be unique.
	//
	// Elastic Transcoder automatically appends the relevant file extension to the
	// file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth
	// playlists). If you include a file extension in Name, the file name will have
	// two extensions.
	Name *string `min:"1" type:"string"`

	// For each output in this job that you want to include in a master playlist,
	// the value of the Outputs:Key object.
	//
	//    * If your output is not HLS or does not have a segment duration set, the
	//    name of the output file is a concatenation of OutputKeyPrefix and Outputs:Key:
	//
	// OutputKeyPrefixOutputs:Key
	//
	//    * If your output is HLSv3 and has a segment duration set, or is not included
	//    in a playlist, Elastic Transcoder creates an output playlist file with
	//    a file extension of .m3u8, and a series of .ts files that include a five-digit
	//    sequential counter beginning with 00000:
	//
	// OutputKeyPrefixOutputs:Key.m3u8
	//
	// OutputKeyPrefixOutputs:Key00000.ts
	//
	//    * If your output is HLSv4, has a segment duration set, and is included
	//    in an HLSv4 playlist, Elastic Transcoder creates an output playlist file
	//    with a file extension of _v4.m3u8. If the output is video, Elastic Transcoder
	//    also creates an output file with an extension of _iframe.m3u8:
	//
	// OutputKeyPrefixOutputs:Key_v4.m3u8
	//
	// OutputKeyPrefixOutputs:Key_iframe.m3u8
	//
	// OutputKeyPrefixOutputs:Key.ts
	//
	// Elastic Transcoder automatically appends the relevant file extension to the
	// file name. If you include a file extension in Output Key, the file name will
	// have two extensions.
	//
	// If you include more than one output in a playlist, any segment duration settings,
	// clip settings, or caption settings must be the same for all outputs in the
	// playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate
	// to Video:KeyframesMaxDist ratio must be the same for all outputs.
	OutputKeys []string `type:"list"`

	// The DRM settings, if any, that you want Elastic Transcoder to apply to the
	// output files associated with this playlist.
	PlayReadyDrm *PlayReadyDrm `type:"structure"`

	// The status of the job with which the playlist is associated.
	Status *string `type:"string"`

	// Information that further explains the status.
	StatusDetail *string `type:"string"`
	// contains filtered or unexported fields
}

Use Only for Fragmented MP4 or MPEG-TS Outputs. If you specify a preset for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create. We recommend that you create only one master playlist per output format. The maximum number of master playlists in a job is 30.

func (Playlist) GoString

func (s Playlist) GoString() string

GoString returns the string representation

func (*Playlist) SetFormat

func (s *Playlist) SetFormat(v string) *Playlist

SetFormat sets the Format field's value.

func (*Playlist) SetHlsContentProtection

func (s *Playlist) SetHlsContentProtection(v *HlsContentProtection) *Playlist

SetHlsContentProtection sets the HlsContentProtection field's value.

func (*Playlist) SetName

func (s *Playlist) SetName(v string) *Playlist

SetName sets the Name field's value.

func (*Playlist) SetOutputKeys

func (s *Playlist) SetOutputKeys(v []string) *Playlist

SetOutputKeys sets the OutputKeys field's value.

func (*Playlist) SetPlayReadyDrm

func (s *Playlist) SetPlayReadyDrm(v *PlayReadyDrm) *Playlist

SetPlayReadyDrm sets the PlayReadyDrm field's value.

func (*Playlist) SetStatus

func (s *Playlist) SetStatus(v string) *Playlist

SetStatus sets the Status field's value.

func (*Playlist) SetStatusDetail

func (s *Playlist) SetStatusDetail(v string) *Playlist

SetStatusDetail sets the StatusDetail field's value.

func (Playlist) String

func (s Playlist) String() string

String returns the string representation

type Preset

type Preset struct {

	// The Amazon Resource Name (ARN) for the preset.
	Arn *string `type:"string"`

	// A section of the response body that provides information about the audio
	// preset values.
	Audio *AudioParameters `type:"structure"`

	// The container type for the output file. Valid values include flac, flv, fmp4,
	// gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.
	Container *string `type:"string"`

	// A description of the preset.
	Description *string `type:"string"`

	// Identifier for the new preset. You use this value to get settings for the
	// preset or to delete it.
	Id *string `type:"string"`

	// The name of the preset.
	Name *string `min:"1" type:"string"`

	// A section of the response body that provides information about the thumbnail
	// preset values, if any.
	Thumbnails *Thumbnails `type:"structure"`

	// Whether the preset is a default preset provided by Elastic Transcoder (System)
	// or a preset that you have defined (Custom).
	Type *string `type:"string"`

	// A section of the response body that provides information about the video
	// preset values.
	Video *VideoParameters `type:"structure"`
	// contains filtered or unexported fields
}

Presets are templates that contain most of the settings for transcoding media files from one format to another. Elastic Transcoder includes some default presets for common formats, for example, several iPod and iPhone versions. You can also create your own presets for formats that aren't included among the default presets. You specify which preset you want to use when you create a job.

func (Preset) GoString

func (s Preset) GoString() string

GoString returns the string representation

func (*Preset) SetArn

func (s *Preset) SetArn(v string) *Preset

SetArn sets the Arn field's value.

func (*Preset) SetAudio

func (s *Preset) SetAudio(v *AudioParameters) *Preset

SetAudio sets the Audio field's value.

func (*Preset) SetContainer

func (s *Preset) SetContainer(v string) *Preset

SetContainer sets the Container field's value.

func (*Preset) SetDescription

func (s *Preset) SetDescription(v string) *Preset

SetDescription sets the Description field's value.

func (*Preset) SetId

func (s *Preset) SetId(v string) *Preset

SetId sets the Id field's value.

func (*Preset) SetName

func (s *Preset) SetName(v string) *Preset

SetName sets the Name field's value.

func (*Preset) SetThumbnails

func (s *Preset) SetThumbnails(v *Thumbnails) *Preset

SetThumbnails sets the Thumbnails field's value.

func (*Preset) SetType

func (s *Preset) SetType(v string) *Preset

SetType sets the Type field's value.

func (*Preset) SetVideo

func (s *Preset) SetVideo(v *VideoParameters) *Preset

SetVideo sets the Video field's value.

func (Preset) String

func (s Preset) String() string

String returns the string representation

type PresetWatermark

type PresetWatermark struct {

	// The horizontal position of the watermark unless you specify a non-zero value
	// for HorizontalOffset:
	//
	//    * Left: The left edge of the watermark is aligned with the left border
	//    of the video.
	//
	//    * Right: The right edge of the watermark is aligned with the right border
	//    of the video.
	//
	//    * Center: The watermark is centered between the left and right borders.
	HorizontalAlign *string `type:"string"`

	// The amount by which you want the horizontal position of the watermark to
	// be offset from the position specified by HorizontalAlign:
	//
	//    * number of pixels (px): The minimum value is 0 pixels, and the maximum
	//    value is the value of MaxWidth.
	//
	//    * integer percentage (%): The range of valid values is 0 to 100.
	//
	// For example, if you specify Left for HorizontalAlign and 5px for HorizontalOffset,
	// the left side of the watermark appears 5 pixels from the left border of the
	// output video.
	//
	// HorizontalOffset is only valid when the value of HorizontalAlign is Left
	// or Right. If you specify an offset that causes the watermark to extend beyond
	// the left or right border and Elastic Transcoder has not added black bars,
	// the watermark is cropped. If Elastic Transcoder has added black bars, the
	// watermark extends into the black bars. If the watermark extends beyond the
	// black bars, it is cropped.
	//
	// Use the value of Target to specify whether you want to include the black
	// bars that are added by Elastic Transcoder, if any, in the offset calculation.
	HorizontalOffset *string `type:"string"`

	// A unique identifier for the settings for one watermark. The value of Id can
	// be up to 40 characters long.
	Id *string `min:"1" type:"string"`

	// The maximum height of the watermark in one of the following formats:
	//
	//    * number of pixels (px): The minimum value is 16 pixels, and the maximum
	//    value is the value of MaxHeight.
	//
	//    * integer percentage (%): The range of valid values is 0 to 100. Use the
	//    value of Target to specify whether you want Elastic Transcoder to include
	//    the black bars that are added by Elastic Transcoder, if any, in the calculation.
	//
	// If you specify the value in pixels, it must be less than or equal to the
	// value of MaxHeight.
	MaxHeight *string `type:"string"`

	// The maximum width of the watermark in one of the following formats:
	//
	//    * number of pixels (px): The minimum value is 16 pixels, and the maximum
	//    value is the value of MaxWidth.
	//
	//    * integer percentage (%): The range of valid values is 0 to 100. Use the
	//    value of Target to specify whether you want Elastic Transcoder to include
	//    the black bars that are added by Elastic Transcoder, if any, in the calculation.
	//
	// If you specify the value in pixels, it must be less than or equal to the
	//    value of MaxWidth.
	MaxWidth *string `type:"string"`

	// A percentage that indicates how much you want a watermark to obscure the
	// video in the location where it appears. Valid values are 0 (the watermark
	// is invisible) to 100 (the watermark completely obscures the video in the
	// specified location). The datatype of Opacity is float.
	//
	// Elastic Transcoder supports transparent .png graphics. If you use a transparent
	// .png, the transparent portion of the video appears as if you had specified
	// a value of 0 for Opacity. The .jpg file format doesn't support transparency.
	Opacity *string `type:"string"`

	// A value that controls scaling of the watermark:
	//
	//    * Fit: Elastic Transcoder scales the watermark so it matches the value
	//    that you specified in either MaxWidth or MaxHeight without exceeding the
	//    other value.
	//
	//    * Stretch: Elastic Transcoder stretches the watermark to match the values
	//    that you specified for MaxWidth and MaxHeight. If the relative proportions
	//    of the watermark and the values of MaxWidth and MaxHeight are different,
	//    the watermark will be distorted.
	//
	//    * ShrinkToFit: Elastic Transcoder scales the watermark down so that its
	//    dimensions match the values that you specified for at least one of MaxWidth
	//    and MaxHeight without exceeding either value. If you specify this option,
	//    Elastic Transcoder does not scale the watermark up.
	SizingPolicy *string `type:"string"`

	// A value that determines how Elastic Transcoder interprets values that you
	// specified for HorizontalOffset, VerticalOffset, MaxWidth, and MaxHeight:
	//
	//    * Content: HorizontalOffset and VerticalOffset values are calculated based
	//    on the borders of the video excluding black bars added by Elastic Transcoder,
	//    if any. In addition, MaxWidth and MaxHeight, if specified as a percentage,
	//    are calculated based on the borders of the video excluding black bars
	//    added by Elastic Transcoder, if any.
	//
	//    * Frame: HorizontalOffset and VerticalOffset values are calculated based
	//    on the borders of the video including black bars added by Elastic Transcoder,
	//    if any. In addition, MaxWidth and MaxHeight, if specified as a percentage,
	//    are calculated based on the borders of the video including black bars
	//    added by Elastic Transcoder, if any.
	Target *string `type:"string"`

	// The vertical position of the watermark unless you specify a non-zero value
	// for VerticalOffset:
	//
	//    * Top: The top edge of the watermark is aligned with the top border of
	//    the video.
	//
	//    * Bottom: The bottom edge of the watermark is aligned with the bottom
	//    border of the video.
	//
	//    * Center: The watermark is centered between the top and bottom borders.
	VerticalAlign *string `type:"string"`

	// VerticalOffset
	//
	// The amount by which you want the vertical position of the watermark to be
	// offset from the position specified by VerticalAlign:
	//
	//    * number of pixels (px): The minimum value is 0 pixels, and the maximum
	//    value is the value of MaxHeight.
	//
	//    * integer percentage (%): The range of valid values is 0 to 100.
	//
	// For example, if you specify Top for VerticalAlign and 5px for VerticalOffset,
	// the top of the watermark appears 5 pixels from the top border of the output
	// video.
	//
	// VerticalOffset is only valid when the value of VerticalAlign is Top or Bottom.
	//
	// If you specify an offset that causes the watermark to extend beyond the top
	// or bottom border and Elastic Transcoder has not added black bars, the watermark
	// is cropped. If Elastic Transcoder has added black bars, the watermark extends
	// into the black bars. If the watermark extends beyond the black bars, it is
	// cropped.
	//
	// Use the value of Target to specify whether you want Elastic Transcoder to
	// include the black bars that are added by Elastic Transcoder, if any, in the
	// offset calculation.
	VerticalOffset *string `type:"string"`
	// contains filtered or unexported fields
}

Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset. You can specify settings for up to four watermarks. Watermarks appear in the specified size and location, and with the specified opacity for the duration of the transcoded video.

Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.

When you create a job that uses this preset, you specify the .png or .jpg graphics that you want Elastic Transcoder to include in the transcoded videos. You can specify fewer graphics in the job than you specify watermark settings in the preset, which allows you to use the same preset for up to four watermarks that have different dimensions.

func (PresetWatermark) GoString

func (s PresetWatermark) GoString() string

GoString returns the string representation

func (*PresetWatermark) SetHorizontalAlign

func (s *PresetWatermark) SetHorizontalAlign(v string) *PresetWatermark

SetHorizontalAlign sets the HorizontalAlign field's value.

func (*PresetWatermark) SetHorizontalOffset

func (s *PresetWatermark) SetHorizontalOffset(v string) *PresetWatermark

SetHorizontalOffset sets the HorizontalOffset field's value.

func (*PresetWatermark) SetId

func (s *PresetWatermark) SetId(v string) *PresetWatermark

SetId sets the Id field's value.

func (*PresetWatermark) SetMaxHeight

func (s *PresetWatermark) SetMaxHeight(v string) *PresetWatermark

SetMaxHeight sets the MaxHeight field's value.

func (*PresetWatermark) SetMaxWidth

func (s *PresetWatermark) SetMaxWidth(v string) *PresetWatermark

SetMaxWidth sets the MaxWidth field's value.

func (*PresetWatermark) SetOpacity

func (s *PresetWatermark) SetOpacity(v string) *PresetWatermark

SetOpacity sets the Opacity field's value.

func (*PresetWatermark) SetSizingPolicy

func (s *PresetWatermark) SetSizingPolicy(v string) *PresetWatermark

SetSizingPolicy sets the SizingPolicy field's value.

func (*PresetWatermark) SetTarget

func (s *PresetWatermark) SetTarget(v string) *PresetWatermark

SetTarget sets the Target field's value.

func (*PresetWatermark) SetVerticalAlign

func (s *PresetWatermark) SetVerticalAlign(v string) *PresetWatermark

SetVerticalAlign sets the VerticalAlign field's value.

func (*PresetWatermark) SetVerticalOffset

func (s *PresetWatermark) SetVerticalOffset(v string) *PresetWatermark

SetVerticalOffset sets the VerticalOffset field's value.

func (PresetWatermark) String

func (s PresetWatermark) String() string

String returns the string representation

func (*PresetWatermark) Validate

func (s *PresetWatermark) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReadJobInput

type ReadJobInput struct {

	// The identifier of the job for which you want to get detailed information.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The ReadJobRequest structure.

func (ReadJobInput) GoString

func (s ReadJobInput) GoString() string

GoString returns the string representation

func (*ReadJobInput) SetId

func (s *ReadJobInput) SetId(v string) *ReadJobInput

SetId sets the Id field's value.

func (ReadJobInput) String

func (s ReadJobInput) String() string

String returns the string representation

func (*ReadJobInput) Validate

func (s *ReadJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReadJobOutput

type ReadJobOutput struct {

	// A section of the response body that provides information about the job.
	Job *Job `type:"structure"`
	// contains filtered or unexported fields
}

The ReadJobResponse structure.

func (ReadJobOutput) GoString

func (s ReadJobOutput) GoString() string

GoString returns the string representation

func (ReadJobOutput) SDKResponseMetadata

func (s ReadJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ReadJobOutput) SetJob

func (s *ReadJobOutput) SetJob(v *Job) *ReadJobOutput

SetJob sets the Job field's value.

func (ReadJobOutput) String

func (s ReadJobOutput) String() string

String returns the string representation

type ReadJobRequest

type ReadJobRequest struct {
	*aws.Request
	Input *ReadJobInput
}

ReadJobRequest is a API request type for the ReadJob API operation.

func (ReadJobRequest) Send

func (r ReadJobRequest) Send() (*ReadJobOutput, error)

Send marshals and sends the ReadJob API request.

type ReadPipelineInput

type ReadPipelineInput struct {

	// The identifier of the pipeline to read.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The ReadPipelineRequest structure.

func (ReadPipelineInput) GoString

func (s ReadPipelineInput) GoString() string

GoString returns the string representation

func (*ReadPipelineInput) SetId

SetId sets the Id field's value.

func (ReadPipelineInput) String

func (s ReadPipelineInput) String() string

String returns the string representation

func (*ReadPipelineInput) Validate

func (s *ReadPipelineInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReadPipelineOutput

type ReadPipelineOutput struct {

	// A section of the response body that provides information about the pipeline.
	Pipeline *Pipeline `type:"structure"`

	// Elastic Transcoder returns a warning if the resources used by your pipeline
	// are not in the same region as the pipeline.
	//
	// Using resources in the same region, such as your Amazon S3 buckets, Amazon
	// SNS notification topics, and AWS KMS key, reduces processing time and prevents
	// cross-regional charges.
	Warnings []Warning `type:"list"`
	// contains filtered or unexported fields
}

The ReadPipelineResponse structure.

func (ReadPipelineOutput) GoString

func (s ReadPipelineOutput) GoString() string

GoString returns the string representation

func (ReadPipelineOutput) SDKResponseMetadata

func (s ReadPipelineOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ReadPipelineOutput) SetPipeline

func (s *ReadPipelineOutput) SetPipeline(v *Pipeline) *ReadPipelineOutput

SetPipeline sets the Pipeline field's value.

func (*ReadPipelineOutput) SetWarnings

func (s *ReadPipelineOutput) SetWarnings(v []Warning) *ReadPipelineOutput

SetWarnings sets the Warnings field's value.

func (ReadPipelineOutput) String

func (s ReadPipelineOutput) String() string

String returns the string representation

type ReadPipelineRequest

type ReadPipelineRequest struct {
	*aws.Request
	Input *ReadPipelineInput
}

ReadPipelineRequest is a API request type for the ReadPipeline API operation.

func (ReadPipelineRequest) Send

Send marshals and sends the ReadPipeline API request.

type ReadPresetInput

type ReadPresetInput struct {

	// The identifier of the preset for which you want to get detailed information.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The ReadPresetRequest structure.

func (ReadPresetInput) GoString

func (s ReadPresetInput) GoString() string

GoString returns the string representation

func (*ReadPresetInput) SetId

func (s *ReadPresetInput) SetId(v string) *ReadPresetInput

SetId sets the Id field's value.

func (ReadPresetInput) String

func (s ReadPresetInput) String() string

String returns the string representation

func (*ReadPresetInput) Validate

func (s *ReadPresetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReadPresetOutput

type ReadPresetOutput struct {

	// A section of the response body that provides information about the preset.
	Preset *Preset `type:"structure"`
	// contains filtered or unexported fields
}

The ReadPresetResponse structure.

func (ReadPresetOutput) GoString

func (s ReadPresetOutput) GoString() string

GoString returns the string representation

func (ReadPresetOutput) SDKResponseMetadata

func (s ReadPresetOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ReadPresetOutput) SetPreset

func (s *ReadPresetOutput) SetPreset(v *Preset) *ReadPresetOutput

SetPreset sets the Preset field's value.

func (ReadPresetOutput) String

func (s ReadPresetOutput) String() string

String returns the string representation

type ReadPresetRequest

type ReadPresetRequest struct {
	*aws.Request
	Input *ReadPresetInput
}

ReadPresetRequest is a API request type for the ReadPreset API operation.

func (ReadPresetRequest) Send

Send marshals and sends the ReadPreset API request.

type TestRoleInput

type TestRoleInput struct {

	// The Amazon S3 bucket that contains media files to be transcoded. The action
	// attempts to read from this bucket.
	//
	// InputBucket is a required field
	InputBucket *string `type:"string" required:"true"`

	// The Amazon S3 bucket that Elastic Transcoder writes transcoded media files
	// to. The action attempts to read from this bucket.
	//
	// OutputBucket is a required field
	OutputBucket *string `type:"string" required:"true"`

	// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder
	// to test.
	//
	// Role is a required field
	Role *string `type:"string" required:"true"`

	// The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics
	// that you want the action to send a test notification to.
	//
	// Topics is a required field
	Topics []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

The TestRoleRequest structure.

func (TestRoleInput) GoString

func (s TestRoleInput) GoString() string

GoString returns the string representation

func (*TestRoleInput) SetInputBucket

func (s *TestRoleInput) SetInputBucket(v string) *TestRoleInput

SetInputBucket sets the InputBucket field's value.

func (*TestRoleInput) SetOutputBucket

func (s *TestRoleInput) SetOutputBucket(v string) *TestRoleInput

SetOutputBucket sets the OutputBucket field's value.

func (*TestRoleInput) SetRole

func (s *TestRoleInput) SetRole(v string) *TestRoleInput

SetRole sets the Role field's value.

func (*TestRoleInput) SetTopics

func (s *TestRoleInput) SetTopics(v []string) *TestRoleInput

SetTopics sets the Topics field's value.

func (TestRoleInput) String

func (s TestRoleInput) String() string

String returns the string representation

func (*TestRoleInput) Validate

func (s *TestRoleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TestRoleOutput

type TestRoleOutput struct {

	// If the Success element contains false, this value is an array of one or more
	// error messages that were generated during the test process.
	Messages []string `type:"list"`

	// If the operation is successful, this value is true; otherwise, the value
	// is false.
	Success *string `type:"string"`
	// contains filtered or unexported fields
}

The TestRoleResponse structure.

func (TestRoleOutput) GoString

func (s TestRoleOutput) GoString() string

GoString returns the string representation

func (TestRoleOutput) SDKResponseMetadata

func (s TestRoleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*TestRoleOutput) SetMessages

func (s *TestRoleOutput) SetMessages(v []string) *TestRoleOutput

SetMessages sets the Messages field's value.

func (*TestRoleOutput) SetSuccess

func (s *TestRoleOutput) SetSuccess(v string) *TestRoleOutput

SetSuccess sets the Success field's value.

func (TestRoleOutput) String

func (s TestRoleOutput) String() string

String returns the string representation

type TestRoleRequest

type TestRoleRequest struct {
	*aws.Request
	Input *TestRoleInput
}

TestRoleRequest is a API request type for the TestRole API operation.

func (TestRoleRequest) Send

func (r TestRoleRequest) Send() (*TestRoleOutput, error)

Send marshals and sends the TestRole API request.

type Thumbnails

type Thumbnails struct {

	// To better control resolution and aspect ratio of thumbnails, we recommend
	// that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy
	// instead of Resolution and AspectRatio. The two groups of settings are mutually
	// exclusive. Do not use them together.
	//
	// The aspect ratio of thumbnails. Valid values include:
	//
	// auto, 1:1, 4:3, 3:2, 16:9
	//
	// If you specify auto, Elastic Transcoder tries to preserve the aspect ratio
	// of the video in the output file.
	AspectRatio *string `type:"string"`

	// The format of thumbnails, if any. Valid values are jpg and png.
	//
	// You specify whether you want Elastic Transcoder to create thumbnails when
	// you create a job.
	Format *string `type:"string"`

	// The approximate number of seconds between thumbnails. Specify an integer
	// value.
	Interval *string `type:"string"`

	// The maximum height of thumbnails in pixels. If you specify auto, Elastic
	// Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric
	// value, enter an even integer between 32 and 3072.
	MaxHeight *string `type:"string"`

	// The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder
	// uses 1920 (Full HD) as the default value. If you specify a numeric value,
	// enter an even integer between 32 and 4096.
	MaxWidth *string `type:"string"`

	// When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars
	// to the top and bottom and/or left and right sides of thumbnails to make the
	// total size of the thumbnails match the values that you specified for thumbnail
	// MaxWidth and MaxHeight settings.
	PaddingPolicy *string `type:"string"`

	// To better control resolution and aspect ratio of thumbnails, we recommend
	// that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy
	// instead of Resolution and AspectRatio. The two groups of settings are mutually
	// exclusive. Do not use them together.
	//
	// The width and height of thumbnail files in pixels. Specify a value in the
	// format width x height where both values are even integers. The values cannot
	// exceed the width and height that you specified in the Video:Resolution object.
	Resolution *string `type:"string"`

	// Specify one of the following values to control scaling of thumbnails:
	//
	//    * Fit: Elastic Transcoder scales thumbnails so they match the value that
	//    you specified in thumbnail MaxWidth or MaxHeight settings without exceeding
	//    the other value.
	//
	//    * Fill: Elastic Transcoder scales thumbnails so they match the value that
	//    you specified in thumbnail MaxWidth or MaxHeight settings and matches
	//    or exceeds the other value. Elastic Transcoder centers the image in thumbnails
	//    and then crops in the dimension (if any) that exceeds the maximum value.
	//
	//    * Stretch: Elastic Transcoder stretches thumbnails to match the values
	//    that you specified for thumbnail MaxWidth and MaxHeight settings. If the
	//    relative proportions of the input video and thumbnails are different,
	//    the thumbnails will be distorted.
	//
	//    * Keep: Elastic Transcoder does not scale thumbnails. If either dimension
	//    of the input video exceeds the values that you specified for thumbnail
	//    MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.
	//
	//    * ShrinkToFit: Elastic Transcoder scales thumbnails down so that their
	//    dimensions match the values that you specified for at least one of thumbnail
	//    MaxWidth and MaxHeight without exceeding either value. If you specify
	//    this option, Elastic Transcoder does not scale thumbnails up.
	//
	//    * ShrinkToFill: Elastic Transcoder scales thumbnails down so that their
	//    dimensions match the values that you specified for at least one of MaxWidth
	//    and MaxHeight without dropping below either value. If you specify this
	//    option, Elastic Transcoder does not scale thumbnails up.
	SizingPolicy *string `type:"string"`
	// contains filtered or unexported fields
}

Thumbnails for videos.

func (Thumbnails) GoString

func (s Thumbnails) GoString() string

GoString returns the string representation

func (*Thumbnails) SetAspectRatio

func (s *Thumbnails) SetAspectRatio(v string) *Thumbnails

SetAspectRatio sets the AspectRatio field's value.

func (*Thumbnails) SetFormat

func (s *Thumbnails) SetFormat(v string) *Thumbnails

SetFormat sets the Format field's value.

func (*Thumbnails) SetInterval

func (s *Thumbnails) SetInterval(v string) *Thumbnails

SetInterval sets the Interval field's value.

func (*Thumbnails) SetMaxHeight

func (s *Thumbnails) SetMaxHeight(v string) *Thumbnails

SetMaxHeight sets the MaxHeight field's value.

func (*Thumbnails) SetMaxWidth

func (s *Thumbnails) SetMaxWidth(v string) *Thumbnails

SetMaxWidth sets the MaxWidth field's value.

func (*Thumbnails) SetPaddingPolicy

func (s *Thumbnails) SetPaddingPolicy(v string) *Thumbnails

SetPaddingPolicy sets the PaddingPolicy field's value.

func (*Thumbnails) SetResolution

func (s *Thumbnails) SetResolution(v string) *Thumbnails

SetResolution sets the Resolution field's value.

func (*Thumbnails) SetSizingPolicy

func (s *Thumbnails) SetSizingPolicy(v string) *Thumbnails

SetSizingPolicy sets the SizingPolicy field's value.

func (Thumbnails) String

func (s Thumbnails) String() string

String returns the string representation

type TimeSpan

type TimeSpan struct {

	// The duration of the clip. The format can be either HH:mm:ss.SSS (maximum
	// value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum
	// value: 86399.999). If you don't specify a value, Elastic Transcoder creates
	// an output file from StartTime to the end of the file.
	//
	// If you specify a value longer than the duration of the input file, Elastic
	// Transcoder transcodes the file and returns a warning message.
	Duration *string `type:"string"`

	// The place in the input file where you want a clip to start. The format can
	// be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of
	// a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a
	// value, Elastic Transcoder starts at the beginning of the input file.
	StartTime *string `type:"string"`
	// contains filtered or unexported fields
}

Settings that determine when a clip begins and how long it lasts.

func (TimeSpan) GoString

func (s TimeSpan) GoString() string

GoString returns the string representation

func (*TimeSpan) SetDuration

func (s *TimeSpan) SetDuration(v string) *TimeSpan

SetDuration sets the Duration field's value.

func (*TimeSpan) SetStartTime

func (s *TimeSpan) SetStartTime(v string) *TimeSpan

SetStartTime sets the StartTime field's value.

func (TimeSpan) String

func (s TimeSpan) String() string

String returns the string representation

type Timing

type Timing struct {

	// The time the job finished transcoding, in epoch milliseconds.
	FinishTimeMillis *int64 `type:"long"`

	// The time the job began transcoding, in epoch milliseconds.
	StartTimeMillis *int64 `type:"long"`

	// The time the job was submitted to Elastic Transcoder, in epoch milliseconds.
	SubmitTimeMillis *int64 `type:"long"`
	// contains filtered or unexported fields
}

Details about the timing of a job.

func (Timing) GoString

func (s Timing) GoString() string

GoString returns the string representation

func (*Timing) SetFinishTimeMillis

func (s *Timing) SetFinishTimeMillis(v int64) *Timing

SetFinishTimeMillis sets the FinishTimeMillis field's value.

func (*Timing) SetStartTimeMillis

func (s *Timing) SetStartTimeMillis(v int64) *Timing

SetStartTimeMillis sets the StartTimeMillis field's value.

func (*Timing) SetSubmitTimeMillis

func (s *Timing) SetSubmitTimeMillis(v int64) *Timing

SetSubmitTimeMillis sets the SubmitTimeMillis field's value.

func (Timing) String

func (s Timing) String() string

String returns the string representation

type UpdatePipelineInput

type UpdatePipelineInput struct {

	// The AWS Key Management Service (AWS KMS) key that you want to use with this
	// pipeline.
	//
	// If you use either S3 or S3-AWS-KMS as your Encryption:Mode, you don't need
	// to provide a key with your job because a default key, known as an AWS-KMS
	// key, is created for you automatically. You need to provide an AWS-KMS key
	// only if you want to use a non-default AWS-KMS key, or if you are using an
	// Encryption:Mode of AES-PKCS7, AES-CTR, or AES-GCM.
	AwsKmsKeyArn *string `type:"string"`

	// The optional ContentConfig object specifies information about the Amazon
	// S3 bucket in which you want Elastic Transcoder to save transcoded files and
	// playlists: which bucket to use, which users you want to have access to the
	// files, the type of access you want users to have, and the storage class that
	// you want to assign to the files.
	//
	// If you specify values for ContentConfig, you must also specify values for
	// ThumbnailConfig.
	//
	// If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket
	// object.
	//
	//    * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
	//    save transcoded files and playlists.
	//
	//    * Permissions (Optional): The Permissions object specifies which users
	//    you want to have access to transcoded files and the type of access you
	//    want them to have. You can grant permissions to a maximum of 30 users
	//    and/or predefined Amazon S3 groups.
	//
	//    * Grantee Type: Specify the type of value that appears in the Grantee
	//    object:
	//
	// Canonical: The value in the Grantee object is either the canonical user ID
	//    for an AWS account or an origin access identity for an Amazon CloudFront
	//    distribution. For more information about canonical user IDs, see Access
	//    Control List (ACL) Overview in the Amazon Simple Storage Service Developer
	//    Guide. For more information about using CloudFront origin access identities
	//    to require that users use CloudFront URLs instead of Amazon S3 URLs, see
	//    Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content.
	//
	// A canonical user ID is not the same as an AWS account number.
	//
	// Email: The value in the Grantee object is the registered email address of
	//    an AWS account.
	//
	// Group: The value in the Grantee object is one of the following predefined
	//    Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
	//
	//    * Grantee: The AWS user or group that you want to have access to transcoded
	//    files and playlists. To identify the user or group, you can specify the
	//    canonical user ID for an AWS account, an origin access identity for a
	//    CloudFront distribution, the registered email address of an AWS account,
	//    or a predefined Amazon S3 group
	//
	//    * Access: The permission that you want to give to the AWS user that you
	//    specified in Grantee. Permissions are granted on the files that Elastic
	//    Transcoder adds to the bucket, including playlists and video files. Valid
	//    values include:
	//
	// READ: The grantee can read the objects and metadata for objects that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	// READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder
	//    adds to the Amazon S3 bucket.
	//
	// WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder
	//    adds to the Amazon S3 bucket.
	//
	// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
	//    the objects that Elastic Transcoder adds to the Amazon S3 bucket.
	//
	//    * StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy,
	//    that you want Elastic Transcoder to assign to the video files and playlists
	//    that it stores in your Amazon S3 bucket.
	ContentConfig *PipelineOutputConfig `type:"structure"`

	// The ID of the pipeline that you want to update.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`

	// The Amazon S3 bucket in which you saved the media files that you want to
	// transcode and the graphics that you want to use as watermarks.
	InputBucket *string `type:"string"`

	// The name of the pipeline. We recommend that the name be unique within the
	// AWS account, but uniqueness is not enforced.
	//
	// Constraints: Maximum 40 characters
	Name *string `min:"1" type:"string"`

	// The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic
	// that you want to notify to report job status.
	//
	// To receive notifications, you must also subscribe to the new topic in the
	// Amazon SNS console.
	//
	//    * Progressing: The topic ARN for the Amazon Simple Notification Service
	//    (Amazon SNS) topic that you want to notify when Elastic Transcoder has
	//    started to process jobs that are added to this pipeline. This is the ARN
	//    that Amazon SNS returned when you created the topic.
	//
	//    * Completed: The topic ARN for the Amazon SNS topic that you want to notify
	//    when Elastic Transcoder has finished processing a job. This is the ARN
	//    that Amazon SNS returned when you created the topic.
	//
	//    * Warning: The topic ARN for the Amazon SNS topic that you want to notify
	//    when Elastic Transcoder encounters a warning condition. This is the ARN
	//    that Amazon SNS returned when you created the topic.
	//
	//    * Error: The topic ARN for the Amazon SNS topic that you want to notify
	//    when Elastic Transcoder encounters an error condition. This is the ARN
	//    that Amazon SNS returned when you created the topic.
	Notifications *Notifications `type:"structure"`

	// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder
	// to use to transcode jobs for this pipeline.
	Role *string `type:"string"`

	// The ThumbnailConfig object specifies several values, including the Amazon
	// S3 bucket in which you want Elastic Transcoder to save thumbnail files, which
	// users you want to have access to the files, the type of access you want users
	// to have, and the storage class that you want to assign to the files.
	//
	// If you specify values for ContentConfig, you must also specify values for
	// ThumbnailConfig even if you don't want to create thumbnails.
	//
	// If you specify values for ContentConfig and ThumbnailConfig, omit the OutputBucket
	// object.
	//
	//    * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
	//    save thumbnail files.
	//
	//    * Permissions (Optional): The Permissions object specifies which users
	//    and/or predefined Amazon S3 groups you want to have access to thumbnail
	//    files, and the type of access you want them to have. You can grant permissions
	//    to a maximum of 30 users and/or predefined Amazon S3 groups.
	//
	//    * GranteeType: Specify the type of value that appears in the Grantee object:
	//
	// Canonical: The value in the Grantee object is either the canonical user ID
	//    for an AWS account or an origin access identity for an Amazon CloudFront
	//    distribution.
	//
	// A canonical user ID is not the same as an AWS account number.
	//
	// Email: The value in the Grantee object is the registered email address of
	//    an AWS account.
	//
	// Group: The value in the Grantee object is one of the following predefined
	//    Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
	//
	//    * Grantee: The AWS user or group that you want to have access to thumbnail
	//    files. To identify the user or group, you can specify the canonical user
	//    ID for an AWS account, an origin access identity for a CloudFront distribution,
	//    the registered email address of an AWS account, or a predefined Amazon
	//    S3 group.
	//
	//    * Access: The permission that you want to give to the AWS user that you
	//    specified in Grantee. Permissions are granted on the thumbnail files that
	//    Elastic Transcoder adds to the bucket. Valid values include:
	//
	// READ: The grantee can read the thumbnails and metadata for objects that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	// READ_ACP: The grantee can read the object ACL for thumbnails that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	// WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic
	//    Transcoder adds to the Amazon S3 bucket.
	//
	// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
	//    the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
	//
	//    * StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy,
	//    that you want Elastic Transcoder to assign to the thumbnails that it stores
	//    in your Amazon S3 bucket.
	ThumbnailConfig *PipelineOutputConfig `type:"structure"`
	// contains filtered or unexported fields
}

The UpdatePipelineRequest structure.

func (UpdatePipelineInput) GoString

func (s UpdatePipelineInput) GoString() string

GoString returns the string representation

func (*UpdatePipelineInput) SetAwsKmsKeyArn

func (s *UpdatePipelineInput) SetAwsKmsKeyArn(v string) *UpdatePipelineInput

SetAwsKmsKeyArn sets the AwsKmsKeyArn field's value.

func (*UpdatePipelineInput) SetContentConfig

SetContentConfig sets the ContentConfig field's value.

func (*UpdatePipelineInput) SetId

SetId sets the Id field's value.

func (*UpdatePipelineInput) SetInputBucket

func (s *UpdatePipelineInput) SetInputBucket(v string) *UpdatePipelineInput

SetInputBucket sets the InputBucket field's value.

func (*UpdatePipelineInput) SetName

SetName sets the Name field's value.

func (*UpdatePipelineInput) SetNotifications

func (s *UpdatePipelineInput) SetNotifications(v *Notifications) *UpdatePipelineInput

SetNotifications sets the Notifications field's value.

func (*UpdatePipelineInput) SetRole

SetRole sets the Role field's value.

func (*UpdatePipelineInput) SetThumbnailConfig

SetThumbnailConfig sets the ThumbnailConfig field's value.

func (UpdatePipelineInput) String

func (s UpdatePipelineInput) String() string

String returns the string representation

func (*UpdatePipelineInput) Validate

func (s *UpdatePipelineInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdatePipelineNotificationsInput

type UpdatePipelineNotificationsInput struct {

	// The identifier of the pipeline for which you want to change notification
	// settings.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`

	// The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic
	// that you want to notify to report job status.
	//
	// To receive notifications, you must also subscribe to the new topic in the
	// Amazon SNS console.
	//
	//    * Progressing: The topic ARN for the Amazon Simple Notification Service
	//    (Amazon SNS) topic that you want to notify when Elastic Transcoder has
	//    started to process jobs that are added to this pipeline. This is the ARN
	//    that Amazon SNS returned when you created the topic.
	//
	//    * Completed: The topic ARN for the Amazon SNS topic that you want to notify
	//    when Elastic Transcoder has finished processing a job. This is the ARN
	//    that Amazon SNS returned when you created the topic.
	//
	//    * Warning: The topic ARN for the Amazon SNS topic that you want to notify
	//    when Elastic Transcoder encounters a warning condition. This is the ARN
	//    that Amazon SNS returned when you created the topic.
	//
	//    * Error: The topic ARN for the Amazon SNS topic that you want to notify
	//    when Elastic Transcoder encounters an error condition. This is the ARN
	//    that Amazon SNS returned when you created the topic.
	//
	// Notifications is a required field
	Notifications *Notifications `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The UpdatePipelineNotificationsRequest structure.

func (UpdatePipelineNotificationsInput) GoString

GoString returns the string representation

func (*UpdatePipelineNotificationsInput) SetId

SetId sets the Id field's value.

func (*UpdatePipelineNotificationsInput) SetNotifications

SetNotifications sets the Notifications field's value.

func (UpdatePipelineNotificationsInput) String

String returns the string representation

func (*UpdatePipelineNotificationsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdatePipelineNotificationsOutput

type UpdatePipelineNotificationsOutput struct {

	// A section of the response body that provides information about the pipeline
	// associated with this notification.
	Pipeline *Pipeline `type:"structure"`
	// contains filtered or unexported fields
}

The UpdatePipelineNotificationsResponse structure.

func (UpdatePipelineNotificationsOutput) GoString

GoString returns the string representation

func (UpdatePipelineNotificationsOutput) SDKResponseMetadata

func (s UpdatePipelineNotificationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdatePipelineNotificationsOutput) SetPipeline

SetPipeline sets the Pipeline field's value.

func (UpdatePipelineNotificationsOutput) String

String returns the string representation

type UpdatePipelineNotificationsRequest

type UpdatePipelineNotificationsRequest struct {
	*aws.Request
	Input *UpdatePipelineNotificationsInput
}

UpdatePipelineNotificationsRequest is a API request type for the UpdatePipelineNotifications API operation.

func (UpdatePipelineNotificationsRequest) Send

Send marshals and sends the UpdatePipelineNotifications API request.

type UpdatePipelineOutput

type UpdatePipelineOutput struct {

	// The pipeline updated by this UpdatePipelineResponse call.
	Pipeline *Pipeline `type:"structure"`

	// Elastic Transcoder returns a warning if the resources used by your pipeline
	// are not in the same region as the pipeline.
	//
	// Using resources in the same region, such as your Amazon S3 buckets, Amazon
	// SNS notification topics, and AWS KMS key, reduces processing time and prevents
	// cross-regional charges.
	Warnings []Warning `type:"list"`
	// contains filtered or unexported fields
}

When you update a pipeline, Elastic Transcoder returns the values that you specified in the request.

func (UpdatePipelineOutput) GoString

func (s UpdatePipelineOutput) GoString() string

GoString returns the string representation

func (UpdatePipelineOutput) SDKResponseMetadata

func (s UpdatePipelineOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdatePipelineOutput) SetPipeline

SetPipeline sets the Pipeline field's value.

func (*UpdatePipelineOutput) SetWarnings

func (s *UpdatePipelineOutput) SetWarnings(v []Warning) *UpdatePipelineOutput

SetWarnings sets the Warnings field's value.

func (UpdatePipelineOutput) String

func (s UpdatePipelineOutput) String() string

String returns the string representation

type UpdatePipelineRequest

type UpdatePipelineRequest struct {
	*aws.Request
	Input *UpdatePipelineInput
}

UpdatePipelineRequest is a API request type for the UpdatePipeline API operation.

func (UpdatePipelineRequest) Send

Send marshals and sends the UpdatePipeline API request.

type UpdatePipelineStatusInput

type UpdatePipelineStatusInput struct {

	// The identifier of the pipeline to update.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`

	// The desired status of the pipeline:
	//
	//    * Active: The pipeline is processing jobs.
	//
	//    * Paused: The pipeline is not currently processing jobs.
	//
	// Status is a required field
	Status *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The UpdatePipelineStatusRequest structure.

func (UpdatePipelineStatusInput) GoString

func (s UpdatePipelineStatusInput) GoString() string

GoString returns the string representation

func (*UpdatePipelineStatusInput) SetId

SetId sets the Id field's value.

func (*UpdatePipelineStatusInput) SetStatus

SetStatus sets the Status field's value.

func (UpdatePipelineStatusInput) String

func (s UpdatePipelineStatusInput) String() string

String returns the string representation

func (*UpdatePipelineStatusInput) Validate

func (s *UpdatePipelineStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdatePipelineStatusOutput

type UpdatePipelineStatusOutput struct {

	// A section of the response body that provides information about the pipeline.
	Pipeline *Pipeline `type:"structure"`
	// contains filtered or unexported fields
}

When you update status for a pipeline, Elastic Transcoder returns the values that you specified in the request.

func (UpdatePipelineStatusOutput) GoString

func (s UpdatePipelineStatusOutput) GoString() string

GoString returns the string representation

func (UpdatePipelineStatusOutput) SDKResponseMetadata

func (s UpdatePipelineStatusOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdatePipelineStatusOutput) SetPipeline

SetPipeline sets the Pipeline field's value.

func (UpdatePipelineStatusOutput) String

String returns the string representation

type UpdatePipelineStatusRequest

type UpdatePipelineStatusRequest struct {
	*aws.Request
	Input *UpdatePipelineStatusInput
}

UpdatePipelineStatusRequest is a API request type for the UpdatePipelineStatus API operation.

func (UpdatePipelineStatusRequest) Send

Send marshals and sends the UpdatePipelineStatus API request.

type VideoParameters

type VideoParameters struct {

	// To better control resolution and aspect ratio of output videos, we recommend
	// that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy,
	// and DisplayAspectRatio instead of Resolution and AspectRatio. The two groups
	// of settings are mutually exclusive. Do not use them together.
	//
	// The display aspect ratio of the video in the output file. Valid values include:
	//
	// auto, 1:1, 4:3, 3:2, 16:9
	//
	// If you specify auto, Elastic Transcoder tries to preserve the aspect ratio
	// of the input file.
	//
	// If you specify an aspect ratio for the output file that differs from aspect
	// ratio of the input file, Elastic Transcoder adds pillarboxing (black bars
	// on the sides) or letterboxing (black bars on the top and bottom) to maintain
	// the aspect ratio of the active region of the video.
	AspectRatio *string `type:"string"`

	// The bit rate of the video stream in the output file, in kilobits/second.
	// Valid values depend on the values of Level and Profile. If you specify auto,
	// Elastic Transcoder uses the detected bit rate of the input source. If you
	// specify a value other than auto, we recommend that you specify a value less
	// than or equal to the maximum H.264-compliant value listed for your level
	// and profile:
	//
	// Level - Maximum video bit rate in kilobits/second (baseline and main Profile)
	// : maximum video bit rate in kilobits/second (high Profile)
	//
	//    * 1 - 64 : 80
	//
	//    * 1b - 128 : 160
	//
	//    * 1.1 - 192 : 240
	//
	//    * 1.2 - 384 : 480
	//
	//    * 1.3 - 768 : 960
	//
	//    * 2 - 2000 : 2500
	//
	//    * 3 - 10000 : 12500
	//
	//    * 3.1 - 14000 : 17500
	//
	//    * 3.2 - 20000 : 25000
	//
	//    * 4 - 20000 : 25000
	//
	//    * 4.1 - 50000 : 62500
	BitRate *string `type:"string"`

	// The video codec for the output file. Valid values include gif, H.264, mpeg2,
	// vp8, and vp9. You can only specify vp8 and vp9 when the container type is
	// webm, gif when the container type is gif, and mpeg2 when the container type
	// is mpg.
	Codec *string `type:"string"`

	// Profile (H.264/VP8/VP9 Only)
	//
	// The H.264 profile that you want to use for the output file. Elastic Transcoder
	// supports the following profiles:
	//
	//    * baseline: The profile most commonly used for videoconferencing and for
	//    mobile applications.
	//
	//    * main: The profile used for standard-definition digital TV broadcasts.
	//
	//    * high: The profile used for high-definition digital TV broadcasts and
	//    for Blu-ray discs.
	//
	// Level (H.264 Only)
	//
	// The H.264 level that you want to use for the output file. Elastic Transcoder
	// supports the following levels:
	//
	// 1, 1b, 1.1, 1.2, 1.3, 2, 2.1, 2.2, 3, 3.1, 3.2, 4, 4.1
	//
	// MaxReferenceFrames (H.264 Only)
	//
	// Applicable only when the value of Video:Codec is H.264. The maximum number
	// of previously decoded frames to use as a reference for decoding future frames.
	// Valid values are integers 0 through 16, but we recommend that you not use
	// a value greater than the following:
	//
	// Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in
	// pixels * Height in pixels)), 16)
	//
	// where Width in pixels and Height in pixels represent either MaxWidth and
	// MaxHeight, or Resolution. Maximum decoded picture buffer in macroblocks depends
	// on the value of the Level object. See the list below. (A macroblock is a
	// block of pixels measuring 16x16.)
	//
	//    * 1 - 396
	//
	//    * 1b - 396
	//
	//    * 1.1 - 900
	//
	//    * 1.2 - 2376
	//
	//    * 1.3 - 2376
	//
	//    * 2 - 2376
	//
	//    * 2.1 - 4752
	//
	//    * 2.2 - 8100
	//
	//    * 3 - 8100
	//
	//    * 3.1 - 18000
	//
	//    * 3.2 - 20480
	//
	//    * 4 - 32768
	//
	//    * 4.1 - 32768
	//
	// MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only)
	//
	// The maximum number of bits per second in a video buffer; the size of the
	// buffer is specified by BufferSize. Specify a value between 16 and 62,500.
	// You can reduce the bandwidth required to stream a video by reducing the maximum
	// bit rate, but this also reduces the quality of the video.
	//
	// BufferSize (Optional, H.264/MPEG2/VP8/VP9 only)
	//
	// The maximum number of bits in any x seconds of the output video. This window
	// is commonly 10 seconds, the standard segment duration when you're using FMP4
	// or MPEG-TS for the container type of the output video. Specify an integer
	// greater than 0. If you specify MaxBitRate and omit BufferSize, Elastic Transcoder
	// sets BufferSize to 10 times the value of MaxBitRate.
	//
	// InterlacedMode (Optional, H.264/MPEG2 Only)
	//
	// The interlace mode for the output video.
	//
	// Interlaced video is used to double the perceived frame rate for a video by
	// interlacing two fields (one field on every other line, the other field on
	// the other lines) so that the human eye registers multiple pictures per frame.
	// Interlacing reduces the bandwidth required for transmitting a video, but
	// can result in blurred images and flickering.
	//
	// Valid values include Progressive (no interlacing, top to bottom), TopFirst
	// (top field first), BottomFirst (bottom field first), and Auto.
	//
	// If InterlaceMode is not specified, Elastic Transcoder uses Progressive for
	// the output. If Auto is specified, Elastic Transcoder interlaces the output.
	//
	// ColorSpaceConversionMode (Optional, H.264/MPEG2 Only)
	//
	// The color space conversion Elastic Transcoder applies to the output video.
	// Color spaces are the algorithms used by the computer to store information
	// about how to render color. Bt.601 is the standard for standard definition
	// video, while Bt.709 is the standard for high definition video.
	//
	// Valid values include None, Bt709toBt601, Bt601toBt709, and Auto.
	//
	// If you chose Auto for ColorSpaceConversionMode and your output is interlaced,
	// your frame rate is one of 23.97, 24, 25, 29.97, 50, or 60, your SegmentDuration
	// is null, and you are using one of the resolution changes from the list below,
	// Elastic Transcoder applies the following color space conversions:
	//
	//    * Standard to HD, 720x480 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709
	//
	//    * Standard to HD, 720x576 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709
	//
	//    * HD to Standard, 1920x1080 to 720x480 - Elastic Transcoder applies Bt709ToBt601
	//
	//    * HD to Standard, 1920x1080 to 720x576 - Elastic Transcoder applies Bt709ToBt601
	//
	// Elastic Transcoder may change the behavior of the ColorspaceConversionModeAuto
	// mode in the future. All outputs in a playlist must use the same ColorSpaceConversionMode.
	//
	// If you do not specify a ColorSpaceConversionMode, Elastic Transcoder does
	// not change the color space of a file. If you are unsure what ColorSpaceConversionMode
	// was applied to your output file, you can check the AppliedColorSpaceConversion
	// parameter included in your job response. If your job does not have an AppliedColorSpaceConversion
	// in its response, no ColorSpaceConversionMode was applied.
	//
	// ChromaSubsampling
	//
	// The sampling pattern for the chroma (color) channels of the output video.
	// Valid values include yuv420p and yuv422p.
	//
	// yuv420p samples the chroma information of every other horizontal and every
	// other vertical line, yuv422p samples the color information of every horizontal
	// line and every other vertical line.
	//
	// LoopCount (Gif Only)
	//
	// The number of times you want the output gif to loop. Valid values include
	// Infinite and integers between 0 and 100, inclusive.
	CodecOptions map[string]string `type:"map"`

	// The value that Elastic Transcoder adds to the metadata in the output file.
	DisplayAspectRatio *string `type:"string"`

	// Applicable only when the value of Video:Codec is one of H.264, MPEG2, or
	// VP8.
	//
	// Whether to use a fixed value for FixedGOP. Valid values are true and false:
	//
	//    * true: Elastic Transcoder uses the value of KeyframesMaxDist for the
	//    distance between key frames (the number of frames in a group of pictures,
	//    or GOP).
	//
	//    * false: The distance between key frames can vary.
	//
	// FixedGOP must be set to true for fmp4 containers.
	FixedGOP *string `type:"string"`

	// The frames per second for the video stream in the output file. Valid values
	// include:
	//
	// auto, 10, 15, 23.97, 24, 25, 29.97, 30, 60
	//
	// If you specify auto, Elastic Transcoder uses the detected frame rate of the
	// input source. If you specify a frame rate, we recommend that you perform
	// the following calculation:
	//
	// Frame rate = maximum recommended decoding speed in luma samples/second /
	// (width in pixels * height in pixels)
	//
	// where:
	//
	//    * width in pixels and height in pixels represent the Resolution of the
	//    output video.
	//
	//    * maximum recommended decoding speed in Luma samples/second is less than
	//    or equal to the maximum value listed in the following table, based on
	//    the value that you specified for Level.
	//
	// The maximum recommended decoding speed in Luma samples/second for each level
	// is described in the following list (Level - Decoding speed):
	//
	//    * 1 - 380160
	//
	//    * 1b - 380160
	//
	//    * 1.1 - 76800
	//
	//    * 1.2 - 1536000
	//
	//    * 1.3 - 3041280
	//
	//    * 2 - 3041280
	//
	//    * 2.1 - 5068800
	//
	//    * 2.2 - 5184000
	//
	//    * 3 - 10368000
	//
	//    * 3.1 - 27648000
	//
	//    * 3.2 - 55296000
	//
	//    * 4 - 62914560
	//
	//    * 4.1 - 62914560
	FrameRate *string `type:"string"`

	// Applicable only when the value of Video:Codec is one of H.264, MPEG2, or
	// VP8.
	//
	// The maximum number of frames between key frames. Key frames are fully encoded
	// frames; the frames between key frames are encoded based, in part, on the
	// content of the key frames. The value is an integer formatted as a string;
	// valid values are between 1 (every frame is a key frame) and 100000, inclusive.
	// A higher value results in higher compression but may also discernibly decrease
	// video quality.
	//
	// For Smooth outputs, the FrameRate must have a constant ratio to the KeyframesMaxDist.
	// This allows Smooth playlists to switch between different quality levels while
	// the file is being played.
	//
	// For example, an input file can have a FrameRate of 30 with a KeyframesMaxDist
	// of 90. The output file then needs to have a ratio of 1:3. Valid outputs would
	// have FrameRate of 30, 25, and 10, and KeyframesMaxDist of 90, 75, and 30,
	// respectively.
	//
	// Alternately, this can be achieved by setting FrameRate to auto and having
	// the same values for MaxFrameRate and KeyframesMaxDist.
	KeyframesMaxDist *string `type:"string"`

	// If you specify auto for FrameRate, Elastic Transcoder uses the frame rate
	// of the input video for the frame rate of the output video. Specify the maximum
	// frame rate that you want Elastic Transcoder to use when the frame rate of
	// the input video is greater than the desired maximum frame rate of the output
	// video. Valid values include: 10, 15, 23.97, 24, 25, 29.97, 30, 60.
	MaxFrameRate *string `type:"string"`

	// The maximum height of the output video in pixels. If you specify auto, Elastic
	// Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric
	// value, enter an even integer between 96 and 3072.
	MaxHeight *string `type:"string"`

	// The maximum width of the output video in pixels. If you specify auto, Elastic
	// Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric
	// value, enter an even integer between 128 and 4096.
	MaxWidth *string `type:"string"`

	// When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars
	// to the top and bottom and/or left and right sides of the output video to
	// make the total size of the output video match the values that you specified
	// for MaxWidth and MaxHeight.
	PaddingPolicy *string `type:"string"`

	// To better control resolution and aspect ratio of output videos, we recommend
	// that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy,
	// and DisplayAspectRatio instead of Resolution and AspectRatio. The two groups
	// of settings are mutually exclusive. Do not use them together.
	//
	// The width and height of the video in the output file, in pixels. Valid values
	// are auto and width x height:
	//
	//    * auto: Elastic Transcoder attempts to preserve the width and height of
	//    the input file, subject to the following rules.
	//
	//    * width x height: The width and height of the output video in pixels.
	//
	// Note the following about specifying the width and height:
	//
	//    * The width must be an even integer between 128 and 4096, inclusive.
	//
	//    * The height must be an even integer between 96 and 3072, inclusive.
	//
	//    * If you specify a resolution that is less than the resolution of the
	//    input file, Elastic Transcoder rescales the output file to the lower resolution.
	//
	//    * If you specify a resolution that is greater than the resolution of the
	//    input file, Elastic Transcoder rescales the output to the higher resolution.
	//
	//    * We recommend that you specify a resolution for which the product of
	//    width and height is less than or equal to the applicable value in the
	//    following list (List - Max width x height value):
	//
	// 1 - 25344
	//
	// 1b - 25344
	//
	// 1.1 - 101376
	//
	// 1.2 - 101376
	//
	// 1.3 - 101376
	//
	// 2 - 101376
	//
	// 2.1 - 202752
	//
	// 2.2 - 404720
	//
	// 3 - 404720
	//
	// 3.1 - 921600
	//
	// 3.2 - 1310720
	//
	// 4 - 2097152
	//
	// 4.1 - 2097152
	Resolution *string `type:"string"`

	// Specify one of the following values to control scaling of the output video:
	//
	//    * Fit: Elastic Transcoder scales the output video so it matches the value
	//    that you specified in either MaxWidth or MaxHeight without exceeding the
	//    other value.
	//
	//    * Fill: Elastic Transcoder scales the output video so it matches the value
	//    that you specified in either MaxWidth or MaxHeight and matches or exceeds
	//    the other value. Elastic Transcoder centers the output video and then
	//    crops it in the dimension (if any) that exceeds the maximum value.
	//
	//    * Stretch: Elastic Transcoder stretches the output video to match the
	//    values that you specified for MaxWidth and MaxHeight. If the relative
	//    proportions of the input video and the output video are different, the
	//    output video will be distorted.
	//
	//    * Keep: Elastic Transcoder does not scale the output video. If either
	//    dimension of the input video exceeds the values that you specified for
	//    MaxWidth and MaxHeight, Elastic Transcoder crops the output video.
	//
	//    * ShrinkToFit: Elastic Transcoder scales the output video down so that
	//    its dimensions match the values that you specified for at least one of
	//    MaxWidth and MaxHeight without exceeding either value. If you specify
	//    this option, Elastic Transcoder does not scale the video up.
	//
	//    * ShrinkToFill: Elastic Transcoder scales the output video down so that
	//    its dimensions match the values that you specified for at least one of
	//    MaxWidth and MaxHeight without dropping below either value. If you specify
	//    this option, Elastic Transcoder does not scale the video up.
	SizingPolicy *string `type:"string"`

	// Settings for the size, location, and opacity of graphics that you want Elastic
	// Transcoder to overlay over videos that are transcoded using this preset.
	// You can specify settings for up to four watermarks. Watermarks appear in
	// the specified size and location, and with the specified opacity for the duration
	// of the transcoded video.
	//
	// Watermarks can be in .png or .jpg format. If you want to display a watermark
	// that is not rectangular, use the .png format, which supports transparency.
	//
	// When you create a job that uses this preset, you specify the .png or .jpg
	// graphics that you want Elastic Transcoder to include in the transcoded videos.
	// You can specify fewer graphics in the job than you specify watermark settings
	// in the preset, which allows you to use the same preset for up to four watermarks
	// that have different dimensions.
	Watermarks []PresetWatermark `type:"list"`
	// contains filtered or unexported fields
}

The VideoParameters structure.

func (VideoParameters) GoString

func (s VideoParameters) GoString() string

GoString returns the string representation

func (*VideoParameters) SetAspectRatio

func (s *VideoParameters) SetAspectRatio(v string) *VideoParameters

SetAspectRatio sets the AspectRatio field's value.

func (*VideoParameters) SetBitRate

func (s *VideoParameters) SetBitRate(v string) *VideoParameters

SetBitRate sets the BitRate field's value.

func (*VideoParameters) SetCodec

func (s *VideoParameters) SetCodec(v string) *VideoParameters

SetCodec sets the Codec field's value.

func (*VideoParameters) SetCodecOptions

func (s *VideoParameters) SetCodecOptions(v map[string]string) *VideoParameters

SetCodecOptions sets the CodecOptions field's value.

func (*VideoParameters) SetDisplayAspectRatio

func (s *VideoParameters) SetDisplayAspectRatio(v string) *VideoParameters

SetDisplayAspectRatio sets the DisplayAspectRatio field's value.

func (*VideoParameters) SetFixedGOP

func (s *VideoParameters) SetFixedGOP(v string) *VideoParameters

SetFixedGOP sets the FixedGOP field's value.

func (*VideoParameters) SetFrameRate

func (s *VideoParameters) SetFrameRate(v string) *VideoParameters

SetFrameRate sets the FrameRate field's value.

func (*VideoParameters) SetKeyframesMaxDist

func (s *VideoParameters) SetKeyframesMaxDist(v string) *VideoParameters

SetKeyframesMaxDist sets the KeyframesMaxDist field's value.

func (*VideoParameters) SetMaxFrameRate

func (s *VideoParameters) SetMaxFrameRate(v string) *VideoParameters

SetMaxFrameRate sets the MaxFrameRate field's value.

func (*VideoParameters) SetMaxHeight

func (s *VideoParameters) SetMaxHeight(v string) *VideoParameters

SetMaxHeight sets the MaxHeight field's value.

func (*VideoParameters) SetMaxWidth

func (s *VideoParameters) SetMaxWidth(v string) *VideoParameters

SetMaxWidth sets the MaxWidth field's value.

func (*VideoParameters) SetPaddingPolicy

func (s *VideoParameters) SetPaddingPolicy(v string) *VideoParameters

SetPaddingPolicy sets the PaddingPolicy field's value.

func (*VideoParameters) SetResolution

func (s *VideoParameters) SetResolution(v string) *VideoParameters

SetResolution sets the Resolution field's value.

func (*VideoParameters) SetSizingPolicy

func (s *VideoParameters) SetSizingPolicy(v string) *VideoParameters

SetSizingPolicy sets the SizingPolicy field's value.

func (*VideoParameters) SetWatermarks

func (s *VideoParameters) SetWatermarks(v []PresetWatermark) *VideoParameters

SetWatermarks sets the Watermarks field's value.

func (VideoParameters) String

func (s VideoParameters) String() string

String returns the string representation

func (*VideoParameters) Validate

func (s *VideoParameters) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Warning

type Warning struct {

	// The code of the cross-regional warning.
	Code *string `type:"string"`

	// The message explaining what resources are in a different region from the
	// pipeline.
	//
	// AWS KMS keys must be in the same region as the pipeline.
	Message *string `type:"string"`
	// contains filtered or unexported fields
}

Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.

Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.

func (Warning) GoString

func (s Warning) GoString() string

GoString returns the string representation

func (*Warning) SetCode

func (s *Warning) SetCode(v string) *Warning

SetCode sets the Code field's value.

func (*Warning) SetMessage

func (s *Warning) SetMessage(v string) *Warning

SetMessage sets the Message field's value.

func (Warning) String

func (s Warning) String() string

String returns the string representation

Directories

Path Synopsis
Package elastictranscoderiface provides an interface to enable mocking the Amazon Elastic Transcoder service client for testing your code.
Package elastictranscoderiface provides an interface to enable mocking the Amazon Elastic Transcoder service client for testing your code.

Jump to

Keyboard shortcuts

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