mediatailor

package
v1.38.26-0...-e443fa6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mediatailor provides the client and types for making API requests to AWS MediaTailor.

Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide (https://docs.aws.amazon.com/mediatailor/latest/ug/).

Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).

See https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23 for more information on this service.

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

Using the Client

To contact AWS MediaTailor 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 AWS MediaTailor client MediaTailor for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/mediatailor/#New

Index

Constants

View Source
const (
	// ChannelStateRunning is a ChannelState enum value
	ChannelStateRunning = "RUNNING"

	// ChannelStateStopped is a ChannelState enum value
	ChannelStateStopped = "STOPPED"
)
View Source
const (
	// ModeOff is a Mode enum value
	ModeOff = "OFF"

	// ModeBehindLiveEdge is a Mode enum value
	ModeBehindLiveEdge = "BEHIND_LIVE_EDGE"
)
View Source
const (
	// OriginManifestTypeSinglePeriod is a OriginManifestType enum value
	OriginManifestTypeSinglePeriod = "SINGLE_PERIOD"

	// OriginManifestTypeMultiPeriod is a OriginManifestType enum value
	OriginManifestTypeMultiPeriod = "MULTI_PERIOD"
)
View Source
const (
	// RelativePositionBeforeProgram is a RelativePosition enum value
	RelativePositionBeforeProgram = "BEFORE_PROGRAM"

	// RelativePositionAfterProgram is a RelativePosition enum value
	RelativePositionAfterProgram = "AFTER_PROGRAM"
)
View Source
const (
	// TypeDash is a Type enum value
	TypeDash = "DASH"

	// TypeHls is a Type enum value
	TypeHls = "HLS"
)
View Source
const (
	ServiceName = "api.mediatailor" // Name of service.
	EndpointsID = ServiceName       // ID to lookup a service endpoint with.
	ServiceID   = "MediaTailor"     // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// AccessTypeS3Sigv4 is a AccessType enum value
	AccessTypeS3Sigv4 = "S3_SIGV4"
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// A request contains unexpected data.
	ErrCodeBadRequestException = "BadRequestException"
)
View Source
const (
	// MessageTypeSpliceInsert is a MessageType enum value
	MessageTypeSpliceInsert = "SPLICE_INSERT"
)
View Source
const (
	// PlaybackModeLoop is a PlaybackMode enum value
	PlaybackModeLoop = "LOOP"
)

Variables

This section is empty.

Functions

func AccessType_Values

func AccessType_Values() []string

AccessType_Values returns all elements of the AccessType enum

func ChannelState_Values

func ChannelState_Values() []string

ChannelState_Values returns all elements of the ChannelState enum

func MessageType_Values

func MessageType_Values() []string

MessageType_Values returns all elements of the MessageType enum

func Mode_Values

func Mode_Values() []string

Mode_Values returns all elements of the Mode enum

func OriginManifestType_Values

func OriginManifestType_Values() []string

OriginManifestType_Values returns all elements of the OriginManifestType enum

func PlaybackMode_Values

func PlaybackMode_Values() []string

PlaybackMode_Values returns all elements of the PlaybackMode enum

func RelativePosition_Values

func RelativePosition_Values() []string

RelativePosition_Values returns all elements of the RelativePosition enum

func Type_Values

func Type_Values() []string

Type_Values returns all elements of the Type enum

Types

type AccessConfiguration

type AccessConfiguration struct {

	// The type of authentication used to access content from HttpConfiguration::BaseUrl
	// on your source location. Accepted value: S3_SIGV4.
	//
	// S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style
	// access. If your source location base URL is an Amazon S3 bucket, MediaTailor
	// can use AWS Signature Version 4 (SigV4) authentication to access the bucket
	// where your source content is stored. Your MediaTailor source location baseURL
	// must follow the S3 virtual hosted-style request URL format. For example,
	// https://bucket-name.s3.Region.amazonaws.com/key-name.
	//
	// Before you can use S3_SIGV4, you must meet these requirements:
	//
	// • You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com
	// principal access in IAM. For information about configuring access in IAM,
	// see Access management in the IAM User Guide.
	//
	// • The mediatailor.amazonaws.com service principal must have permissions
	// to read all top level manifests referenced by the VodSource packaging configurations.
	//
	// • The caller of the API must have s3:GetObject IAM permissions to read
	// all top level manifests referenced by your MediaTailor VodSource packaging
	// configurations.
	AccessType *string `type:"string" enum:"AccessType"`
	// contains filtered or unexported fields
}

Access configuration parameters.

func (AccessConfiguration) GoString

func (s AccessConfiguration) GoString() string

GoString returns the string representation

func (*AccessConfiguration) SetAccessType

func (s *AccessConfiguration) SetAccessType(v string) *AccessConfiguration

SetAccessType sets the AccessType field's value.

func (AccessConfiguration) String

func (s AccessConfiguration) String() string

String returns the string representation

type AdBreak

type AdBreak struct {

	// The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT.
	MessageType *string `type:"string" enum:"MessageType"`

	// How long (in milliseconds) after the beginning of the program that an ad
	// starts. This value must fall within 100ms of a segment boundary, otherwise
	// the ad break will be skipped.
	OffsetMillis *int64 `type:"long"`

	// Ad break slate configuration.
	Slate *SlateSource `type:"structure"`

	// This defines the SCTE-35 splice_insert() message inserted around the ad.
	// For information about using splice_insert(), see the SCTE-35 specficiaiton,
	// section 9.7.3.1.
	SpliceInsertMessage *SpliceInsertMessage `type:"structure"`
	// contains filtered or unexported fields
}

Ad break configuration parameters.

func (AdBreak) GoString

func (s AdBreak) GoString() string

GoString returns the string representation

func (*AdBreak) SetMessageType

func (s *AdBreak) SetMessageType(v string) *AdBreak

SetMessageType sets the MessageType field's value.

func (*AdBreak) SetOffsetMillis

func (s *AdBreak) SetOffsetMillis(v int64) *AdBreak

SetOffsetMillis sets the OffsetMillis field's value.

func (*AdBreak) SetSlate

func (s *AdBreak) SetSlate(v *SlateSource) *AdBreak

SetSlate sets the Slate field's value.

func (*AdBreak) SetSpliceInsertMessage

func (s *AdBreak) SetSpliceInsertMessage(v *SpliceInsertMessage) *AdBreak

SetSpliceInsertMessage sets the SpliceInsertMessage field's value.

func (AdBreak) String

func (s AdBreak) String() string

String returns the string representation

type AdMarkerPassthrough

type AdMarkerPassthrough struct {

	// Enables ad marker passthrough for your configuration.
	Enabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest.

No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad break, MediaTailor will not set the value to 0.

func (AdMarkerPassthrough) GoString

func (s AdMarkerPassthrough) GoString() string

GoString returns the string representation

func (*AdMarkerPassthrough) SetEnabled

func (s *AdMarkerPassthrough) SetEnabled(v bool) *AdMarkerPassthrough

SetEnabled sets the Enabled field's value.

func (AdMarkerPassthrough) String

func (s AdMarkerPassthrough) String() string

String returns the string representation

type AvailSuppression

type AvailSuppression struct {

	// Sets the ad suppression mode. By default, ad suppression is off and all ad
	// breaks are filled with ads or slate. When Mode is set to BEHIND_LIVE_EDGE,
	// ad suppression is active and MediaTailor won't fill ad breaks on or behind
	// the ad suppression Value time in the manifest lookback window.
	Mode *string `type:"string" enum:"Mode"`

	// A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on
	// or behind this time in the manifest lookback window. If Value is set to 00:00:00,
	// it is in sync with the live edge, and MediaTailor won't fill any ad breaks
	// on or behind the live edge. If you set a Value time, MediaTailor won't fill
	// any ad breaks on or behind this time in the manifest lookback window. For
	// example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur
	// within 45 minutes behind the live edge, but won't fill ad breaks on or behind
	// 45 minutes behind the live edge.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html).

func (AvailSuppression) GoString

func (s AvailSuppression) GoString() string

GoString returns the string representation

func (*AvailSuppression) SetMode

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

SetMode sets the Mode field's value.

func (*AvailSuppression) SetValue

func (s *AvailSuppression) SetValue(v string) *AvailSuppression

SetValue sets the Value field's value.

func (AvailSuppression) String

func (s AvailSuppression) String() string

String returns the string representation

type BadRequestException

type BadRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// Constructs a new BadRequestException with the specified error message.
	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

A request contains unexpected data.

func (*BadRequestException) Code

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error

func (s *BadRequestException) Error() string

func (BadRequestException) GoString

func (s BadRequestException) GoString() string

GoString returns the string representation

func (*BadRequestException) Message

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode

func (s *BadRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BadRequestException) String

func (s BadRequestException) String() string

String returns the string representation

type Bumper

type Bumper struct {

	// The URL for the end bumper asset.
	EndUrl *string `type:"string"`

	// The URL for the start bumper asset.
	StartUrl *string `type:"string"`
	// contains filtered or unexported fields
}

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers (https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html).

func (Bumper) GoString

func (s Bumper) GoString() string

GoString returns the string representation

func (*Bumper) SetEndUrl

func (s *Bumper) SetEndUrl(v string) *Bumper

SetEndUrl sets the EndUrl field's value.

func (*Bumper) SetStartUrl

func (s *Bumper) SetStartUrl(v string) *Bumper

SetStartUrl sets the StartUrl field's value.

func (Bumper) String

func (s Bumper) String() string

String returns the string representation

type CdnConfiguration

type CdnConfiguration struct {

	// A non-default content delivery network (CDN) to serve ad segments. By default,
	// AWS Elemental MediaTailor uses Amazon CloudFront with default cache settings
	// as its CDN for ad segments. To set up an alternate CDN, create a rule in
	// your CDN for the origin ads.mediatailor.<region>.amazonaws.com. Then specify
	// the rule's name in this AdSegmentUrlPrefix. When AWS Elemental MediaTailor
	// serves a manifest, it reports your CDN as the source for ad segments.
	AdSegmentUrlPrefix *string `type:"string"`

	// A content delivery network (CDN) to cache content segments, so that content
	// requests don’t always have to go to the origin server. First, create a
	// rule in your CDN for the content segment origin server. Then specify the
	// rule's name in this ContentSegmentUrlPrefix. When AWS Elemental MediaTailor
	// serves a manifest, it reports your CDN as the source for content segments.
	ContentSegmentUrlPrefix *string `type:"string"`
	// contains filtered or unexported fields
}

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

func (CdnConfiguration) GoString

func (s CdnConfiguration) GoString() string

GoString returns the string representation

func (*CdnConfiguration) SetAdSegmentUrlPrefix

func (s *CdnConfiguration) SetAdSegmentUrlPrefix(v string) *CdnConfiguration

SetAdSegmentUrlPrefix sets the AdSegmentUrlPrefix field's value.

func (*CdnConfiguration) SetContentSegmentUrlPrefix

func (s *CdnConfiguration) SetContentSegmentUrlPrefix(v string) *CdnConfiguration

SetContentSegmentUrlPrefix sets the ContentSegmentUrlPrefix field's value.

func (CdnConfiguration) String

func (s CdnConfiguration) String() string

String returns the string representation

type Channel

type Channel struct {

	// The ARN of the channel.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The name of the channel.
	//
	// ChannelName is a required field
	ChannelName *string `type:"string" required:"true"`

	// Returns the state whether the channel is running or not.
	//
	// ChannelState is a required field
	ChannelState *string `type:"string" required:"true"`

	// The timestamp of when the channel was created.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The timestamp of when the channel was last modified.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The channel's output properties.
	//
	// Outputs is a required field
	Outputs []*ResponseOutputItem `type:"list" required:"true"`

	// The type of playback mode for this channel. Possible values: ONCE or LOOP.
	//
	// PlaybackMode is a required field
	PlaybackMode *string `type:"string" required:"true"`

	// The tags to assign to the channel.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

The configuration parameters for a channel.

func (Channel) GoString

func (s Channel) GoString() string

GoString returns the string representation

func (*Channel) SetArn

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

SetArn sets the Arn field's value.

func (*Channel) SetChannelName

func (s *Channel) SetChannelName(v string) *Channel

SetChannelName sets the ChannelName field's value.

func (*Channel) SetChannelState

func (s *Channel) SetChannelState(v string) *Channel

SetChannelState sets the ChannelState field's value.

func (*Channel) SetCreationTime

func (s *Channel) SetCreationTime(v time.Time) *Channel

SetCreationTime sets the CreationTime field's value.

func (*Channel) SetLastModifiedTime

func (s *Channel) SetLastModifiedTime(v time.Time) *Channel

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*Channel) SetOutputs

func (s *Channel) SetOutputs(v []*ResponseOutputItem) *Channel

SetOutputs sets the Outputs field's value.

func (*Channel) SetPlaybackMode

func (s *Channel) SetPlaybackMode(v string) *Channel

SetPlaybackMode sets the PlaybackMode field's value.

func (*Channel) SetTags

func (s *Channel) SetTags(v map[string]*string) *Channel

SetTags sets the Tags field's value.

func (Channel) String

func (s Channel) String() string

String returns the string representation

type CreateChannelInput

type CreateChannelInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`

	// The channel's output properties.
	//
	// Outputs is a required field
	Outputs []*RequestOutputItem `type:"list" required:"true"`

	// The type of playback mode for this channel. The only supported value is LOOP.
	//
	// PlaybackMode is a required field
	PlaybackMode *string `type:"string" required:"true" enum:"PlaybackMode"`

	// The tags to assign to the channel.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

The configuration for this channel.

func (CreateChannelInput) GoString

func (s CreateChannelInput) GoString() string

GoString returns the string representation

func (*CreateChannelInput) SetChannelName

func (s *CreateChannelInput) SetChannelName(v string) *CreateChannelInput

SetChannelName sets the ChannelName field's value.

func (*CreateChannelInput) SetOutputs

SetOutputs sets the Outputs field's value.

func (*CreateChannelInput) SetPlaybackMode

func (s *CreateChannelInput) SetPlaybackMode(v string) *CreateChannelInput

SetPlaybackMode sets the PlaybackMode field's value.

func (*CreateChannelInput) SetTags

func (s *CreateChannelInput) SetTags(v map[string]*string) *CreateChannelInput

SetTags sets the Tags field's value.

func (CreateChannelInput) String

func (s CreateChannelInput) String() string

String returns the string representation

func (*CreateChannelInput) Validate

func (s *CreateChannelInput) Validate() error

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

type CreateChannelOutput

type CreateChannelOutput struct {
	Arn *string `type:"string"`

	ChannelName *string `type:"string"`

	ChannelState *string `type:"string" enum:"ChannelState"`

	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	Outputs []*ResponseOutputItem `type:"list"`

	PlaybackMode *string `type:"string"`

	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateChannelOutput) GoString

func (s CreateChannelOutput) GoString() string

GoString returns the string representation

func (*CreateChannelOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateChannelOutput) SetChannelName

func (s *CreateChannelOutput) SetChannelName(v string) *CreateChannelOutput

SetChannelName sets the ChannelName field's value.

func (*CreateChannelOutput) SetChannelState

func (s *CreateChannelOutput) SetChannelState(v string) *CreateChannelOutput

SetChannelState sets the ChannelState field's value.

func (*CreateChannelOutput) SetCreationTime

func (s *CreateChannelOutput) SetCreationTime(v time.Time) *CreateChannelOutput

SetCreationTime sets the CreationTime field's value.

func (*CreateChannelOutput) SetLastModifiedTime

func (s *CreateChannelOutput) SetLastModifiedTime(v time.Time) *CreateChannelOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*CreateChannelOutput) SetOutputs

SetOutputs sets the Outputs field's value.

func (*CreateChannelOutput) SetPlaybackMode

func (s *CreateChannelOutput) SetPlaybackMode(v string) *CreateChannelOutput

SetPlaybackMode sets the PlaybackMode field's value.

func (*CreateChannelOutput) SetTags

SetTags sets the Tags field's value.

func (CreateChannelOutput) String

func (s CreateChannelOutput) String() string

String returns the string representation

type CreateProgramInput

type CreateProgramInput struct {

	// The ad break configuration settings.
	AdBreaks []*AdBreak `type:"list"`

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`

	// ProgramName is a required field
	ProgramName *string `location:"uri" locationName:"programName" type:"string" required:"true"`

	// The schedule configuration settings.
	//
	// ScheduleConfiguration is a required field
	ScheduleConfiguration *ScheduleConfiguration `type:"structure" required:"true"`

	// The name of the source location.
	//
	// SourceLocationName is a required field
	SourceLocationName *string `type:"string" required:"true"`

	// The name that's used to refer to a VOD source.
	//
	// VodSourceName is a required field
	VodSourceName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Program configuration parameters.

func (CreateProgramInput) GoString

func (s CreateProgramInput) GoString() string

GoString returns the string representation

func (*CreateProgramInput) SetAdBreaks

func (s *CreateProgramInput) SetAdBreaks(v []*AdBreak) *CreateProgramInput

SetAdBreaks sets the AdBreaks field's value.

func (*CreateProgramInput) SetChannelName

func (s *CreateProgramInput) SetChannelName(v string) *CreateProgramInput

SetChannelName sets the ChannelName field's value.

func (*CreateProgramInput) SetProgramName

func (s *CreateProgramInput) SetProgramName(v string) *CreateProgramInput

SetProgramName sets the ProgramName field's value.

func (*CreateProgramInput) SetScheduleConfiguration

func (s *CreateProgramInput) SetScheduleConfiguration(v *ScheduleConfiguration) *CreateProgramInput

SetScheduleConfiguration sets the ScheduleConfiguration field's value.

func (*CreateProgramInput) SetSourceLocationName

func (s *CreateProgramInput) SetSourceLocationName(v string) *CreateProgramInput

SetSourceLocationName sets the SourceLocationName field's value.

func (*CreateProgramInput) SetVodSourceName

func (s *CreateProgramInput) SetVodSourceName(v string) *CreateProgramInput

SetVodSourceName sets the VodSourceName field's value.

func (CreateProgramInput) String

func (s CreateProgramInput) String() string

String returns the string representation

func (*CreateProgramInput) Validate

func (s *CreateProgramInput) Validate() error

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

type CreateProgramOutput

type CreateProgramOutput struct {
	AdBreaks []*AdBreak `type:"list"`

	Arn *string `type:"string"`

	ChannelName *string `type:"string"`

	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	ProgramName *string `type:"string"`

	SourceLocationName *string `type:"string"`

	VodSourceName *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateProgramOutput) GoString

func (s CreateProgramOutput) GoString() string

GoString returns the string representation

func (*CreateProgramOutput) SetAdBreaks

func (s *CreateProgramOutput) SetAdBreaks(v []*AdBreak) *CreateProgramOutput

SetAdBreaks sets the AdBreaks field's value.

func (*CreateProgramOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateProgramOutput) SetChannelName

func (s *CreateProgramOutput) SetChannelName(v string) *CreateProgramOutput

SetChannelName sets the ChannelName field's value.

func (*CreateProgramOutput) SetCreationTime

func (s *CreateProgramOutput) SetCreationTime(v time.Time) *CreateProgramOutput

SetCreationTime sets the CreationTime field's value.

func (*CreateProgramOutput) SetProgramName

func (s *CreateProgramOutput) SetProgramName(v string) *CreateProgramOutput

SetProgramName sets the ProgramName field's value.

func (*CreateProgramOutput) SetSourceLocationName

func (s *CreateProgramOutput) SetSourceLocationName(v string) *CreateProgramOutput

SetSourceLocationName sets the SourceLocationName field's value.

func (*CreateProgramOutput) SetVodSourceName

func (s *CreateProgramOutput) SetVodSourceName(v string) *CreateProgramOutput

SetVodSourceName sets the VodSourceName field's value.

func (CreateProgramOutput) String

func (s CreateProgramOutput) String() string

String returns the string representation

type CreateSourceLocationInput

type CreateSourceLocationInput struct {

	// Access configuration parameters. Configures the type of authentication used
	// to access content from your source location.
	AccessConfiguration *AccessConfiguration `type:"structure"`

	// The optional configuration for the server that serves segments.
	DefaultSegmentDeliveryConfiguration *DefaultSegmentDeliveryConfiguration `type:"structure"`

	// The source's HTTP package configurations.
	//
	// HttpConfiguration is a required field
	HttpConfiguration *HttpConfiguration `type:"structure" required:"true"`

	// SourceLocationName is a required field
	SourceLocationName *string `location:"uri" locationName:"sourceLocationName" type:"string" required:"true"`

	// The tags to assign to the source location.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Source location configuration parameters.

func (CreateSourceLocationInput) GoString

func (s CreateSourceLocationInput) GoString() string

GoString returns the string representation

func (*CreateSourceLocationInput) SetAccessConfiguration

SetAccessConfiguration sets the AccessConfiguration field's value.

func (*CreateSourceLocationInput) SetDefaultSegmentDeliveryConfiguration

func (s *CreateSourceLocationInput) SetDefaultSegmentDeliveryConfiguration(v *DefaultSegmentDeliveryConfiguration) *CreateSourceLocationInput

SetDefaultSegmentDeliveryConfiguration sets the DefaultSegmentDeliveryConfiguration field's value.

func (*CreateSourceLocationInput) SetHttpConfiguration

SetHttpConfiguration sets the HttpConfiguration field's value.

func (*CreateSourceLocationInput) SetSourceLocationName

func (s *CreateSourceLocationInput) SetSourceLocationName(v string) *CreateSourceLocationInput

SetSourceLocationName sets the SourceLocationName field's value.

func (*CreateSourceLocationInput) SetTags

SetTags sets the Tags field's value.

func (CreateSourceLocationInput) String

func (s CreateSourceLocationInput) String() string

String returns the string representation

func (*CreateSourceLocationInput) Validate

func (s *CreateSourceLocationInput) Validate() error

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

type CreateSourceLocationOutput

type CreateSourceLocationOutput struct {

	// Access configuration parameters.
	AccessConfiguration *AccessConfiguration `type:"structure"`

	Arn *string `type:"string"`

	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The optional configuration for a server that serves segments. Use this if
	// you want the segment delivery server to be different from the source location
	// server. For example, you can configure your source location server to be
	// an origination server, such as MediaPackage, and the segment delivery server
	// to be a content delivery network (CDN), such as CloudFront. If you don't
	// specify a segment delivery server, then the source location server is used.
	DefaultSegmentDeliveryConfiguration *DefaultSegmentDeliveryConfiguration `type:"structure"`

	// The HTTP configuration for the source location.
	HttpConfiguration *HttpConfiguration `type:"structure"`

	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	SourceLocationName *string `type:"string"`

	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateSourceLocationOutput) GoString

func (s CreateSourceLocationOutput) GoString() string

GoString returns the string representation

func (*CreateSourceLocationOutput) SetAccessConfiguration

SetAccessConfiguration sets the AccessConfiguration field's value.

func (*CreateSourceLocationOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateSourceLocationOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*CreateSourceLocationOutput) SetDefaultSegmentDeliveryConfiguration

func (s *CreateSourceLocationOutput) SetDefaultSegmentDeliveryConfiguration(v *DefaultSegmentDeliveryConfiguration) *CreateSourceLocationOutput

SetDefaultSegmentDeliveryConfiguration sets the DefaultSegmentDeliveryConfiguration field's value.

func (*CreateSourceLocationOutput) SetHttpConfiguration

SetHttpConfiguration sets the HttpConfiguration field's value.

func (*CreateSourceLocationOutput) SetLastModifiedTime

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*CreateSourceLocationOutput) SetSourceLocationName

func (s *CreateSourceLocationOutput) SetSourceLocationName(v string) *CreateSourceLocationOutput

SetSourceLocationName sets the SourceLocationName field's value.

func (*CreateSourceLocationOutput) SetTags

SetTags sets the Tags field's value.

func (CreateSourceLocationOutput) String

String returns the string representation

type CreateVodSourceInput

type CreateVodSourceInput struct {

	// An array of HTTP package configuration parameters for this VOD source.
	//
	// HttpPackageConfigurations is a required field
	HttpPackageConfigurations []*HttpPackageConfiguration `type:"list" required:"true"`

	// SourceLocationName is a required field
	SourceLocationName *string `location:"uri" locationName:"sourceLocationName" type:"string" required:"true"`

	// The tags to assign to the VOD source.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// VodSourceName is a required field
	VodSourceName *string `location:"uri" locationName:"vodSourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The VOD source configuration parameters.

func (CreateVodSourceInput) GoString

func (s CreateVodSourceInput) GoString() string

GoString returns the string representation

func (*CreateVodSourceInput) SetHttpPackageConfigurations

func (s *CreateVodSourceInput) SetHttpPackageConfigurations(v []*HttpPackageConfiguration) *CreateVodSourceInput

SetHttpPackageConfigurations sets the HttpPackageConfigurations field's value.

func (*CreateVodSourceInput) SetSourceLocationName

func (s *CreateVodSourceInput) SetSourceLocationName(v string) *CreateVodSourceInput

SetSourceLocationName sets the SourceLocationName field's value.

func (*CreateVodSourceInput) SetTags

SetTags sets the Tags field's value.

func (*CreateVodSourceInput) SetVodSourceName

func (s *CreateVodSourceInput) SetVodSourceName(v string) *CreateVodSourceInput

SetVodSourceName sets the VodSourceName field's value.

func (CreateVodSourceInput) String

func (s CreateVodSourceInput) String() string

String returns the string representation

func (*CreateVodSourceInput) Validate

func (s *CreateVodSourceInput) Validate() error

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

type CreateVodSourceOutput

type CreateVodSourceOutput struct {
	Arn *string `type:"string"`

	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The VOD source's HTTP package configuration settings.
	HttpPackageConfigurations []*HttpPackageConfiguration `type:"list"`

	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	SourceLocationName *string `type:"string"`

	Tags map[string]*string `locationName:"tags" type:"map"`

	VodSourceName *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateVodSourceOutput) GoString

func (s CreateVodSourceOutput) GoString() string

GoString returns the string representation

func (*CreateVodSourceOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateVodSourceOutput) SetCreationTime

func (s *CreateVodSourceOutput) SetCreationTime(v time.Time) *CreateVodSourceOutput

SetCreationTime sets the CreationTime field's value.

func (*CreateVodSourceOutput) SetHttpPackageConfigurations

func (s *CreateVodSourceOutput) SetHttpPackageConfigurations(v []*HttpPackageConfiguration) *CreateVodSourceOutput

SetHttpPackageConfigurations sets the HttpPackageConfigurations field's value.

func (*CreateVodSourceOutput) SetLastModifiedTime

func (s *CreateVodSourceOutput) SetLastModifiedTime(v time.Time) *CreateVodSourceOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*CreateVodSourceOutput) SetSourceLocationName

func (s *CreateVodSourceOutput) SetSourceLocationName(v string) *CreateVodSourceOutput

SetSourceLocationName sets the SourceLocationName field's value.

func (*CreateVodSourceOutput) SetTags

SetTags sets the Tags field's value.

func (*CreateVodSourceOutput) SetVodSourceName

func (s *CreateVodSourceOutput) SetVodSourceName(v string) *CreateVodSourceOutput

SetVodSourceName sets the VodSourceName field's value.

func (CreateVodSourceOutput) String

func (s CreateVodSourceOutput) String() string

String returns the string representation

type DashConfiguration

type DashConfiguration struct {

	// The URL generated by MediaTailor to initiate a playback session. The session
	// uses server-side reporting. This setting is ignored in PUT operations.
	ManifestEndpointPrefix *string `type:"string"`

	// The setting that controls whether MediaTailor includes the Location tag in
	// DASH manifests. MediaTailor populates the Location tag with the URL for manifest
	// update requests, to be used by players that don't support sticky redirects.
	// Disable this if you have CDN routing rules set up for accessing MediaTailor
	// manifests, and you are either using client-side reporting or your players
	// support sticky HTTP redirects. Valid values are DISABLED and EMT_DEFAULT.
	// The EMT_DEFAULT setting enables the inclusion of the tag and is the default
	// value.
	MpdLocation *string `type:"string"`

	// The setting that controls whether MediaTailor handles manifests from the
	// origin server as multi-period manifests or single-period manifests. If your
	// origin server produces single-period manifests, set this to SINGLE_PERIOD.
	// The default setting is MULTI_PERIOD. For multi-period manifests, omit this
	// setting or set it to MULTI_PERIOD.
	OriginManifestType *string `type:"string" enum:"OriginManifestType"`
	// contains filtered or unexported fields
}

The configuration for DASH content.

func (DashConfiguration) GoString

func (s DashConfiguration) GoString() string

GoString returns the string representation

func (*DashConfiguration) SetManifestEndpointPrefix

func (s *DashConfiguration) SetManifestEndpointPrefix(v string) *DashConfiguration

SetManifestEndpointPrefix sets the ManifestEndpointPrefix field's value.

func (*DashConfiguration) SetMpdLocation

func (s *DashConfiguration) SetMpdLocation(v string) *DashConfiguration

SetMpdLocation sets the MpdLocation field's value.

func (*DashConfiguration) SetOriginManifestType

func (s *DashConfiguration) SetOriginManifestType(v string) *DashConfiguration

SetOriginManifestType sets the OriginManifestType field's value.

func (DashConfiguration) String

func (s DashConfiguration) String() string

String returns the string representation

type DashConfigurationForPut

type DashConfigurationForPut struct {

	// The setting that controls whether MediaTailor includes the Location tag in
	// DASH manifests. MediaTailor populates the Location tag with the URL for manifest
	// update requests, to be used by players that don't support sticky redirects.
	// Disable this if you have CDN routing rules set up for accessing MediaTailor
	// manifests, and you are either using client-side reporting or your players
	// support sticky HTTP redirects. Valid values are DISABLED and EMT_DEFAULT.
	// The EMT_DEFAULT setting enables the inclusion of the tag and is the default
	// value.
	MpdLocation *string `type:"string"`

	// The setting that controls whether MediaTailor handles manifests from the
	// origin server as multi-period manifests or single-period manifests. If your
	// origin server produces single-period manifests, set this to SINGLE_PERIOD.
	// The default setting is MULTI_PERIOD. For multi-period manifests, omit this
	// setting or set it to MULTI_PERIOD.
	OriginManifestType *string `type:"string" enum:"OriginManifestType"`
	// contains filtered or unexported fields
}

The configuration for DASH PUT operations.

func (DashConfigurationForPut) GoString

func (s DashConfigurationForPut) GoString() string

GoString returns the string representation

func (*DashConfigurationForPut) SetMpdLocation

SetMpdLocation sets the MpdLocation field's value.

func (*DashConfigurationForPut) SetOriginManifestType

func (s *DashConfigurationForPut) SetOriginManifestType(v string) *DashConfigurationForPut

SetOriginManifestType sets the OriginManifestType field's value.

func (DashConfigurationForPut) String

func (s DashConfigurationForPut) String() string

String returns the string representation

type DashPlaylistSettings

type DashPlaylistSettings struct {

	// The total duration (in seconds) of each manifest. Minimum value: 30 seconds.
	// Maximum value: 3600 seconds.
	ManifestWindowSeconds *int64 `type:"integer"`

	// Minimum amount of content (measured in seconds) that a player must keep available
	// in the buffer. Minimum value: 2 seconds. Maximum value: 60 seconds.
	MinBufferTimeSeconds *int64 `type:"integer"`

	// Minimum amount of time (in seconds) that the player should wait before requesting
	// updates to the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.
	MinUpdatePeriodSeconds *int64 `type:"integer"`

	// Amount of time (in seconds) that the player should be from the live point
	// at the end of the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.
	SuggestedPresentationDelaySeconds *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Dash manifest configuration parameters.

func (DashPlaylistSettings) GoString

func (s DashPlaylistSettings) GoString() string

GoString returns the string representation

func (*DashPlaylistSettings) SetManifestWindowSeconds

func (s *DashPlaylistSettings) SetManifestWindowSeconds(v int64) *DashPlaylistSettings

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (*DashPlaylistSettings) SetMinBufferTimeSeconds

func (s *DashPlaylistSettings) SetMinBufferTimeSeconds(v int64) *DashPlaylistSettings

SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value.

func (*DashPlaylistSettings) SetMinUpdatePeriodSeconds

func (s *DashPlaylistSettings) SetMinUpdatePeriodSeconds(v int64) *DashPlaylistSettings

SetMinUpdatePeriodSeconds sets the MinUpdatePeriodSeconds field's value.

func (*DashPlaylistSettings) SetSuggestedPresentationDelaySeconds

func (s *DashPlaylistSettings) SetSuggestedPresentationDelaySeconds(v int64) *DashPlaylistSettings

SetSuggestedPresentationDelaySeconds sets the SuggestedPresentationDelaySeconds field's value.

func (DashPlaylistSettings) String

func (s DashPlaylistSettings) String() string

String returns the string representation

type DefaultSegmentDeliveryConfiguration

type DefaultSegmentDeliveryConfiguration struct {

	// The hostname of the server that will be used to serve segments. This string
	// must include the protocol, such as https://.
	BaseUrl *string `type:"string"`
	// contains filtered or unexported fields
}

The optional configuration for a server that serves segments. Use this if you want the segment delivery server to be different from the source location server. For example, you can configure your source location server to be an origination server, such as MediaPackage, and the segment delivery server to be a content delivery network (CDN), such as CloudFront. If you don't specify a segment delivery server, then the source location server is used.

func (DefaultSegmentDeliveryConfiguration) GoString

GoString returns the string representation

func (*DefaultSegmentDeliveryConfiguration) SetBaseUrl

SetBaseUrl sets the BaseUrl field's value.

func (DefaultSegmentDeliveryConfiguration) String

String returns the string representation

type DeleteChannelInput

type DeleteChannelInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteChannelInput) GoString

func (s DeleteChannelInput) GoString() string

GoString returns the string representation

func (*DeleteChannelInput) SetChannelName

func (s *DeleteChannelInput) SetChannelName(v string) *DeleteChannelInput

SetChannelName sets the ChannelName field's value.

func (DeleteChannelInput) String

func (s DeleteChannelInput) String() string

String returns the string representation

func (*DeleteChannelInput) Validate

func (s *DeleteChannelInput) Validate() error

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

type DeleteChannelOutput

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

This response includes only the "type" : "object" property.

func (DeleteChannelOutput) GoString

func (s DeleteChannelOutput) GoString() string

GoString returns the string representation

func (DeleteChannelOutput) String

func (s DeleteChannelOutput) String() string

String returns the string representation

type DeleteChannelPolicyInput

type DeleteChannelPolicyInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

This response includes only the "type" : "object" property.

func (DeleteChannelPolicyInput) GoString

func (s DeleteChannelPolicyInput) GoString() string

GoString returns the string representation

func (*DeleteChannelPolicyInput) SetChannelName

SetChannelName sets the ChannelName field's value.

func (DeleteChannelPolicyInput) String

func (s DeleteChannelPolicyInput) String() string

String returns the string representation

func (*DeleteChannelPolicyInput) Validate

func (s *DeleteChannelPolicyInput) Validate() error

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

type DeleteChannelPolicyOutput

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

This response includes only the "type" : "object" property.

func (DeleteChannelPolicyOutput) GoString

func (s DeleteChannelPolicyOutput) GoString() string

GoString returns the string representation

func (DeleteChannelPolicyOutput) String

func (s DeleteChannelPolicyOutput) String() string

String returns the string representation

type DeletePlaybackConfigurationInput

type DeletePlaybackConfigurationInput struct {

	// Name is a required field
	Name *string `location:"uri" locationName:"Name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePlaybackConfigurationInput) GoString

GoString returns the string representation

func (*DeletePlaybackConfigurationInput) SetName

SetName sets the Name field's value.

func (DeletePlaybackConfigurationInput) String

String returns the string representation

func (*DeletePlaybackConfigurationInput) Validate

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

type DeletePlaybackConfigurationOutput

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

func (DeletePlaybackConfigurationOutput) GoString

GoString returns the string representation

func (DeletePlaybackConfigurationOutput) String

String returns the string representation

type DeleteProgramInput

type DeleteProgramInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`

	// ProgramName is a required field
	ProgramName *string `location:"uri" locationName:"programName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteProgramInput) GoString

func (s DeleteProgramInput) GoString() string

GoString returns the string representation

func (*DeleteProgramInput) SetChannelName

func (s *DeleteProgramInput) SetChannelName(v string) *DeleteProgramInput

SetChannelName sets the ChannelName field's value.

func (*DeleteProgramInput) SetProgramName

func (s *DeleteProgramInput) SetProgramName(v string) *DeleteProgramInput

SetProgramName sets the ProgramName field's value.

func (DeleteProgramInput) String

func (s DeleteProgramInput) String() string

String returns the string representation

func (*DeleteProgramInput) Validate

func (s *DeleteProgramInput) Validate() error

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

type DeleteProgramOutput

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

This response includes only the "type" : "object" property.

func (DeleteProgramOutput) GoString

func (s DeleteProgramOutput) GoString() string

GoString returns the string representation

func (DeleteProgramOutput) String

func (s DeleteProgramOutput) String() string

String returns the string representation

type DeleteSourceLocationInput

type DeleteSourceLocationInput struct {

	// SourceLocationName is a required field
	SourceLocationName *string `location:"uri" locationName:"sourceLocationName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSourceLocationInput) GoString

func (s DeleteSourceLocationInput) GoString() string

GoString returns the string representation

func (*DeleteSourceLocationInput) SetSourceLocationName

func (s *DeleteSourceLocationInput) SetSourceLocationName(v string) *DeleteSourceLocationInput

SetSourceLocationName sets the SourceLocationName field's value.

func (DeleteSourceLocationInput) String

func (s DeleteSourceLocationInput) String() string

String returns the string representation

func (*DeleteSourceLocationInput) Validate

func (s *DeleteSourceLocationInput) Validate() error

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

type DeleteSourceLocationOutput

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

This response includes only the "type" : "object" property.

func (DeleteSourceLocationOutput) GoString

func (s DeleteSourceLocationOutput) GoString() string

GoString returns the string representation

func (DeleteSourceLocationOutput) String

String returns the string representation

type DeleteVodSourceInput

type DeleteVodSourceInput struct {

	// SourceLocationName is a required field
	SourceLocationName *string `location:"uri" locationName:"sourceLocationName" type:"string" required:"true"`

	// VodSourceName is a required field
	VodSourceName *string `location:"uri" locationName:"vodSourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVodSourceInput) GoString

func (s DeleteVodSourceInput) GoString() string

GoString returns the string representation

func (*DeleteVodSourceInput) SetSourceLocationName

func (s *DeleteVodSourceInput) SetSourceLocationName(v string) *DeleteVodSourceInput

SetSourceLocationName sets the SourceLocationName field's value.

func (*DeleteVodSourceInput) SetVodSourceName

func (s *DeleteVodSourceInput) SetVodSourceName(v string) *DeleteVodSourceInput

SetVodSourceName sets the VodSourceName field's value.

func (DeleteVodSourceInput) String

func (s DeleteVodSourceInput) String() string

String returns the string representation

func (*DeleteVodSourceInput) Validate

func (s *DeleteVodSourceInput) Validate() error

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

type DeleteVodSourceOutput

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

This response includes only the "type" : "object" property.

func (DeleteVodSourceOutput) GoString

func (s DeleteVodSourceOutput) GoString() string

GoString returns the string representation

func (DeleteVodSourceOutput) String

func (s DeleteVodSourceOutput) String() string

String returns the string representation

type DescribeChannelInput

type DescribeChannelInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeChannelInput) GoString

func (s DescribeChannelInput) GoString() string

GoString returns the string representation

func (*DescribeChannelInput) SetChannelName

func (s *DescribeChannelInput) SetChannelName(v string) *DescribeChannelInput

SetChannelName sets the ChannelName field's value.

func (DescribeChannelInput) String

func (s DescribeChannelInput) String() string

String returns the string representation

func (*DescribeChannelInput) Validate

func (s *DescribeChannelInput) Validate() error

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

type DescribeChannelOutput

type DescribeChannelOutput struct {

	// The ARN of the channel.
	Arn *string `type:"string"`

	// The name of the channel.
	ChannelName *string `type:"string"`

	// Indicates whether the channel is in a running state or not.
	ChannelState *string `type:"string" enum:"ChannelState"`

	// The timestamp of when the channel was created.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The timestamp of when the channel was last modified.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The channel's output properties.
	Outputs []*ResponseOutputItem `type:"list"`

	// The type of playback for this channel. The only supported value is LOOP.
	PlaybackMode *string `type:"string"`

	// The tags assigned to the channel.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Returns a channel's properties.

func (DescribeChannelOutput) GoString

func (s DescribeChannelOutput) GoString() string

GoString returns the string representation

func (*DescribeChannelOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribeChannelOutput) SetChannelName

func (s *DescribeChannelOutput) SetChannelName(v string) *DescribeChannelOutput

SetChannelName sets the ChannelName field's value.

func (*DescribeChannelOutput) SetChannelState

func (s *DescribeChannelOutput) SetChannelState(v string) *DescribeChannelOutput

SetChannelState sets the ChannelState field's value.

func (*DescribeChannelOutput) SetCreationTime

func (s *DescribeChannelOutput) SetCreationTime(v time.Time) *DescribeChannelOutput

SetCreationTime sets the CreationTime field's value.

func (*DescribeChannelOutput) SetLastModifiedTime

func (s *DescribeChannelOutput) SetLastModifiedTime(v time.Time) *DescribeChannelOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*DescribeChannelOutput) SetOutputs

SetOutputs sets the Outputs field's value.

func (*DescribeChannelOutput) SetPlaybackMode

func (s *DescribeChannelOutput) SetPlaybackMode(v string) *DescribeChannelOutput

SetPlaybackMode sets the PlaybackMode field's value.

func (*DescribeChannelOutput) SetTags

SetTags sets the Tags field's value.

func (DescribeChannelOutput) String

func (s DescribeChannelOutput) String() string

String returns the string representation

type DescribeProgramInput

type DescribeProgramInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`

	// ProgramName is a required field
	ProgramName *string `location:"uri" locationName:"programName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeProgramInput) GoString

func (s DescribeProgramInput) GoString() string

GoString returns the string representation

func (*DescribeProgramInput) SetChannelName

func (s *DescribeProgramInput) SetChannelName(v string) *DescribeProgramInput

SetChannelName sets the ChannelName field's value.

func (*DescribeProgramInput) SetProgramName

func (s *DescribeProgramInput) SetProgramName(v string) *DescribeProgramInput

SetProgramName sets the ProgramName field's value.

func (DescribeProgramInput) String

func (s DescribeProgramInput) String() string

String returns the string representation

func (*DescribeProgramInput) Validate

func (s *DescribeProgramInput) Validate() error

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

type DescribeProgramOutput

type DescribeProgramOutput struct {

	// The ad break configuration settings.
	AdBreaks []*AdBreak `type:"list"`

	// The ARN of the program.
	Arn *string `type:"string"`

	// The name of the channel that the program belongs to.
	ChannelName *string `type:"string"`

	// The timestamp of when the program was created.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The name of the program.
	ProgramName *string `type:"string"`

	// The source location name.
	SourceLocationName *string `type:"string"`

	// The name that's used to refer to a VOD source.
	VodSourceName *string `type:"string"`
	// contains filtered or unexported fields
}

This program's configuration parameters.

func (DescribeProgramOutput) GoString

func (s DescribeProgramOutput) GoString() string

GoString returns the string representation

func (*DescribeProgramOutput) SetAdBreaks

func (s *DescribeProgramOutput) SetAdBreaks(v []*AdBreak) *DescribeProgramOutput

SetAdBreaks sets the AdBreaks field's value.

func (*DescribeProgramOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribeProgramOutput) SetChannelName

func (s *DescribeProgramOutput) SetChannelName(v string) *DescribeProgramOutput

SetChannelName sets the ChannelName field's value.

func (*DescribeProgramOutput) SetCreationTime

func (s *DescribeProgramOutput) SetCreationTime(v time.Time) *DescribeProgramOutput

SetCreationTime sets the CreationTime field's value.

func (*DescribeProgramOutput) SetProgramName

func (s *DescribeProgramOutput) SetProgramName(v string) *DescribeProgramOutput

SetProgramName sets the ProgramName field's value.

func (*DescribeProgramOutput) SetSourceLocationName

func (s *DescribeProgramOutput) SetSourceLocationName(v string) *DescribeProgramOutput

SetSourceLocationName sets the SourceLocationName field's value.

func (*DescribeProgramOutput) SetVodSourceName

func (s *DescribeProgramOutput) SetVodSourceName(v string) *DescribeProgramOutput

SetVodSourceName sets the VodSourceName field's value.

func (DescribeProgramOutput) String

func (s DescribeProgramOutput) String() string

String returns the string representation

type DescribeSourceLocationInput

type DescribeSourceLocationInput struct {

	// SourceLocationName is a required field
	SourceLocationName *string `location:"uri" locationName:"sourceLocationName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeSourceLocationInput) GoString

func (s DescribeSourceLocationInput) GoString() string

GoString returns the string representation

func (*DescribeSourceLocationInput) SetSourceLocationName

func (s *DescribeSourceLocationInput) SetSourceLocationName(v string) *DescribeSourceLocationInput

SetSourceLocationName sets the SourceLocationName field's value.

func (DescribeSourceLocationInput) String

String returns the string representation

func (*DescribeSourceLocationInput) Validate

func (s *DescribeSourceLocationInput) Validate() error

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

type DescribeSourceLocationOutput

type DescribeSourceLocationOutput struct {

	// The access configuration for the source location.
	AccessConfiguration *AccessConfiguration `type:"structure"`

	// The ARN of the source location.
	Arn *string `type:"string"`

	// The timestamp that indicates when the source location was created.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The default segment delivery configuration settings.
	DefaultSegmentDeliveryConfiguration *DefaultSegmentDeliveryConfiguration `type:"structure"`

	// The HTTP package configuration settings for the source location.
	HttpConfiguration *HttpConfiguration `type:"structure"`

	// The timestamp that indicates when the source location was last modified.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The name of the source location.
	SourceLocationName *string `type:"string"`

	// The tags assigned to the source location.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

This response includes only the "type" : "object" property.

func (DescribeSourceLocationOutput) GoString

func (s DescribeSourceLocationOutput) GoString() string

GoString returns the string representation

func (*DescribeSourceLocationOutput) SetAccessConfiguration

SetAccessConfiguration sets the AccessConfiguration field's value.

func (*DescribeSourceLocationOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribeSourceLocationOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*DescribeSourceLocationOutput) SetDefaultSegmentDeliveryConfiguration

SetDefaultSegmentDeliveryConfiguration sets the DefaultSegmentDeliveryConfiguration field's value.

func (*DescribeSourceLocationOutput) SetHttpConfiguration

SetHttpConfiguration sets the HttpConfiguration field's value.

func (*DescribeSourceLocationOutput) SetLastModifiedTime

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*DescribeSourceLocationOutput) SetSourceLocationName

SetSourceLocationName sets the SourceLocationName field's value.

func (*DescribeSourceLocationOutput) SetTags

SetTags sets the Tags field's value.

func (DescribeSourceLocationOutput) String

String returns the string representation

type DescribeVodSourceInput

type DescribeVodSourceInput struct {

	// SourceLocationName is a required field
	SourceLocationName *string `location:"uri" locationName:"sourceLocationName" type:"string" required:"true"`

	// VodSourceName is a required field
	VodSourceName *string `location:"uri" locationName:"vodSourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeVodSourceInput) GoString

func (s DescribeVodSourceInput) GoString() string

GoString returns the string representation

func (*DescribeVodSourceInput) SetSourceLocationName

func (s *DescribeVodSourceInput) SetSourceLocationName(v string) *DescribeVodSourceInput

SetSourceLocationName sets the SourceLocationName field's value.

func (*DescribeVodSourceInput) SetVodSourceName

func (s *DescribeVodSourceInput) SetVodSourceName(v string) *DescribeVodSourceInput

SetVodSourceName sets the VodSourceName field's value.

func (DescribeVodSourceInput) String

func (s DescribeVodSourceInput) String() string

String returns the string representation

func (*DescribeVodSourceInput) Validate

func (s *DescribeVodSourceInput) Validate() error

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

type DescribeVodSourceOutput

type DescribeVodSourceOutput struct {

	// The ARN of the VOD source.
	Arn *string `type:"string"`

	// The timestamp that indicates when the VOD source was created.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The HTTP package configurations.
	HttpPackageConfigurations []*HttpPackageConfiguration `type:"list"`

	// The ARN for the VOD source.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The name of the source location associated with the VOD source.
	SourceLocationName *string `type:"string"`

	// The tags assigned to the VOD source.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The name of the VOD source.
	VodSourceName *string `type:"string"`
	// contains filtered or unexported fields
}

This response includes only the "type" : "object" property.

func (DescribeVodSourceOutput) GoString

func (s DescribeVodSourceOutput) GoString() string

GoString returns the string representation

func (*DescribeVodSourceOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribeVodSourceOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*DescribeVodSourceOutput) SetHttpPackageConfigurations

func (s *DescribeVodSourceOutput) SetHttpPackageConfigurations(v []*HttpPackageConfiguration) *DescribeVodSourceOutput

SetHttpPackageConfigurations sets the HttpPackageConfigurations field's value.

func (*DescribeVodSourceOutput) SetLastModifiedTime

func (s *DescribeVodSourceOutput) SetLastModifiedTime(v time.Time) *DescribeVodSourceOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*DescribeVodSourceOutput) SetSourceLocationName

func (s *DescribeVodSourceOutput) SetSourceLocationName(v string) *DescribeVodSourceOutput

SetSourceLocationName sets the SourceLocationName field's value.

func (*DescribeVodSourceOutput) SetTags

SetTags sets the Tags field's value.

func (*DescribeVodSourceOutput) SetVodSourceName

func (s *DescribeVodSourceOutput) SetVodSourceName(v string) *DescribeVodSourceOutput

SetVodSourceName sets the VodSourceName field's value.

func (DescribeVodSourceOutput) String

func (s DescribeVodSourceOutput) String() string

String returns the string representation

type GetChannelPolicyInput

type GetChannelPolicyInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetChannelPolicyInput) GoString

func (s GetChannelPolicyInput) GoString() string

GoString returns the string representation

func (*GetChannelPolicyInput) SetChannelName

func (s *GetChannelPolicyInput) SetChannelName(v string) *GetChannelPolicyInput

SetChannelName sets the ChannelName field's value.

func (GetChannelPolicyInput) String

func (s GetChannelPolicyInput) String() string

String returns the string representation

func (*GetChannelPolicyInput) Validate

func (s *GetChannelPolicyInput) Validate() error

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

type GetChannelPolicyOutput

type GetChannelPolicyOutput struct {

	// The IAM policy for the channel.
	Policy *string `type:"string"`
	// contains filtered or unexported fields
}

Returns the channel's IAM policy.

func (GetChannelPolicyOutput) GoString

func (s GetChannelPolicyOutput) GoString() string

GoString returns the string representation

func (*GetChannelPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (GetChannelPolicyOutput) String

func (s GetChannelPolicyOutput) String() string

String returns the string representation

type GetChannelScheduleInput

type GetChannelScheduleInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`

	DurationMinutes *string `location:"querystring" locationName:"durationMinutes" type:"string"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetChannelScheduleInput) GoString

func (s GetChannelScheduleInput) GoString() string

GoString returns the string representation

func (*GetChannelScheduleInput) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*GetChannelScheduleInput) SetDurationMinutes

func (s *GetChannelScheduleInput) SetDurationMinutes(v string) *GetChannelScheduleInput

SetDurationMinutes sets the DurationMinutes field's value.

func (*GetChannelScheduleInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetChannelScheduleInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetChannelScheduleInput) String

func (s GetChannelScheduleInput) String() string

String returns the string representation

func (*GetChannelScheduleInput) Validate

func (s *GetChannelScheduleInput) Validate() error

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

type GetChannelScheduleOutput

type GetChannelScheduleOutput struct {

	// An array of schedule entries for the channel.
	Items []*ScheduleEntry `type:"list"`

	// Pagination token from the GET list request. Use the token to fetch the next
	// page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Returns the schedule entries for the channel.

func (GetChannelScheduleOutput) GoString

func (s GetChannelScheduleOutput) GoString() string

GoString returns the string representation

func (*GetChannelScheduleOutput) SetItems

SetItems sets the Items field's value.

func (*GetChannelScheduleOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetChannelScheduleOutput) String

func (s GetChannelScheduleOutput) String() string

String returns the string representation

type GetPlaybackConfigurationInput

type GetPlaybackConfigurationInput struct {

	// Name is a required field
	Name *string `location:"uri" locationName:"Name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetPlaybackConfigurationInput) GoString

GoString returns the string representation

func (*GetPlaybackConfigurationInput) SetName

SetName sets the Name field's value.

func (GetPlaybackConfigurationInput) String

String returns the string representation

func (*GetPlaybackConfigurationInput) Validate

func (s *GetPlaybackConfigurationInput) Validate() error

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

type GetPlaybackConfigurationOutput

type GetPlaybackConfigurationOutput struct {

	// The URL for the ad decision server (ADS). This includes the specification
	// of static parameters and placeholders for dynamic parameters. AWS Elemental
	// MediaTailor substitutes player-specific and session-specific parameters as
	// needed when calling the ADS. Alternately, for testing, you can provide a
	// static VAST URL. The maximum length is 25,000 characters.
	AdDecisionServerUrl *string `type:"string"`

	// The configuration for avail suppression, also known as ad suppression. For
	// more information about ad suppression, see Ad Suppression (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html).
	AvailSuppression *AvailSuppression `type:"structure"`

	// The configuration for bumpers. Bumpers are short audio or video clips that
	// play at the start or before the end of an ad break. To learn more about bumpers,
	// see Bumpers (https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html).
	Bumper *Bumper `type:"structure"`

	// The configuration for using a content delivery network (CDN), like Amazon
	// CloudFront, for content and ad segment management.
	CdnConfiguration *CdnConfiguration `type:"structure"`

	// The player parameters and aliases used as dynamic variables during session
	// initialization. For more information, see Domain Variables (https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html).
	ConfigurationAliases map[string]map[string]*string `type:"map"`

	// The configuration for DASH content.
	DashConfiguration *DashConfiguration `type:"structure"`

	// The configuration for HLS content.
	HlsConfiguration *HlsConfiguration `type:"structure"`

	// The configuration for pre-roll ad insertion.
	LivePreRollConfiguration *LivePreRollConfiguration `type:"structure"`

	// The configuration for manifest processing rules. Manifest processing rules
	// enable customization of the personalized manifests created by MediaTailor.
	ManifestProcessingRules *ManifestProcessingRules `type:"structure"`

	// The identifier for the playback configuration.
	Name *string `type:"string"`

	// Defines the maximum duration of underfilled ad time (in seconds) allowed
	// in an ad break. If the duration of underfilled ad time exceeds the personalization
	// threshold, then the personalization of the ad break is abandoned and the
	// underlying content is shown. This feature applies to ad replacement in live
	// and VOD streams, rather than ad insertion, because it relies on an underlying
	// content stream. For more information about ad break behavior, including ad
	// replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html).
	PersonalizationThresholdSeconds *int64 `min:"1" type:"integer"`

	// The Amazon Resource Name (ARN) for the playback configuration.
	PlaybackConfigurationArn *string `type:"string"`

	// The URL that the player accesses to get a manifest from AWS Elemental MediaTailor.
	// This session will use server-side reporting.
	PlaybackEndpointPrefix *string `type:"string"`

	// The URL that the player uses to initialize a session that uses client-side
	// reporting.
	SessionInitializationEndpointPrefix *string `type:"string"`

	// The URL for a high-quality video asset to transcode and use to fill in time
	// that's not used by ads. AWS Elemental MediaTailor shows the slate to fill
	// in gaps in media content. Configuring the slate is optional for non-VPAID
	// playback configurations. For VPAID, the slate is required because MediaTailor
	// provides it in the slots designated for dynamic ad content. The slate must
	// be a high-quality asset that contains both audio and video.
	SlateAdUrl *string `type:"string"`

	// The tags assigned to the playback configuration.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The name that is used to associate this playback configuration with a custom
	// transcode profile. This overrides the dynamic transcoding defaults of MediaTailor.
	// Use this only if you have already set up custom profiles with the help of
	// AWS Support.
	TranscodeProfileName *string `type:"string"`

	// The URL prefix for the parent manifest for the stream, minus the asset ID.
	// The maximum length is 512 characters.
	VideoContentSourceUrl *string `type:"string"`
	// contains filtered or unexported fields
}

Returns the playback configuration for the specified name.

func (GetPlaybackConfigurationOutput) GoString

GoString returns the string representation

func (*GetPlaybackConfigurationOutput) SetAdDecisionServerUrl

SetAdDecisionServerUrl sets the AdDecisionServerUrl field's value.

func (*GetPlaybackConfigurationOutput) SetAvailSuppression

SetAvailSuppression sets the AvailSuppression field's value.

func (*GetPlaybackConfigurationOutput) SetBumper

SetBumper sets the Bumper field's value.

func (*GetPlaybackConfigurationOutput) SetCdnConfiguration

SetCdnConfiguration sets the CdnConfiguration field's value.

func (*GetPlaybackConfigurationOutput) SetConfigurationAliases

func (s *GetPlaybackConfigurationOutput) SetConfigurationAliases(v map[string]map[string]*string) *GetPlaybackConfigurationOutput

SetConfigurationAliases sets the ConfigurationAliases field's value.

func (*GetPlaybackConfigurationOutput) SetDashConfiguration

SetDashConfiguration sets the DashConfiguration field's value.

func (*GetPlaybackConfigurationOutput) SetHlsConfiguration

SetHlsConfiguration sets the HlsConfiguration field's value.

func (*GetPlaybackConfigurationOutput) SetLivePreRollConfiguration

SetLivePreRollConfiguration sets the LivePreRollConfiguration field's value.

func (*GetPlaybackConfigurationOutput) SetManifestProcessingRules

SetManifestProcessingRules sets the ManifestProcessingRules field's value.

func (*GetPlaybackConfigurationOutput) SetName

SetName sets the Name field's value.

func (*GetPlaybackConfigurationOutput) SetPersonalizationThresholdSeconds

func (s *GetPlaybackConfigurationOutput) SetPersonalizationThresholdSeconds(v int64) *GetPlaybackConfigurationOutput

SetPersonalizationThresholdSeconds sets the PersonalizationThresholdSeconds field's value.

func (*GetPlaybackConfigurationOutput) SetPlaybackConfigurationArn

func (s *GetPlaybackConfigurationOutput) SetPlaybackConfigurationArn(v string) *GetPlaybackConfigurationOutput

SetPlaybackConfigurationArn sets the PlaybackConfigurationArn field's value.

func (*GetPlaybackConfigurationOutput) SetPlaybackEndpointPrefix

func (s *GetPlaybackConfigurationOutput) SetPlaybackEndpointPrefix(v string) *GetPlaybackConfigurationOutput

SetPlaybackEndpointPrefix sets the PlaybackEndpointPrefix field's value.

func (*GetPlaybackConfigurationOutput) SetSessionInitializationEndpointPrefix

func (s *GetPlaybackConfigurationOutput) SetSessionInitializationEndpointPrefix(v string) *GetPlaybackConfigurationOutput

SetSessionInitializationEndpointPrefix sets the SessionInitializationEndpointPrefix field's value.

func (*GetPlaybackConfigurationOutput) SetSlateAdUrl

SetSlateAdUrl sets the SlateAdUrl field's value.

func (*GetPlaybackConfigurationOutput) SetTags

SetTags sets the Tags field's value.

func (*GetPlaybackConfigurationOutput) SetTranscodeProfileName

SetTranscodeProfileName sets the TranscodeProfileName field's value.

func (*GetPlaybackConfigurationOutput) SetVideoContentSourceUrl

SetVideoContentSourceUrl sets the VideoContentSourceUrl field's value.

func (GetPlaybackConfigurationOutput) String

String returns the string representation

type HlsConfiguration

type HlsConfiguration struct {

	// The URL that is used to initiate a playback session for devices that support
	// Apple HLS. The session uses server-side reporting.
	ManifestEndpointPrefix *string `type:"string"`
	// contains filtered or unexported fields
}

The configuration for HLS content.

func (HlsConfiguration) GoString

func (s HlsConfiguration) GoString() string

GoString returns the string representation

func (*HlsConfiguration) SetManifestEndpointPrefix

func (s *HlsConfiguration) SetManifestEndpointPrefix(v string) *HlsConfiguration

SetManifestEndpointPrefix sets the ManifestEndpointPrefix field's value.

func (HlsConfiguration) String

func (s HlsConfiguration) String() string

String returns the string representation

type HlsPlaylistSettings

type HlsPlaylistSettings struct {

	// The total duration (in seconds) of each manifest. Minimum value: 30 seconds.
	// Maximum value: 3600 seconds.
	ManifestWindowSeconds *int64 `type:"integer"`
	// contains filtered or unexported fields
}

HLS playlist configuration parameters.

func (HlsPlaylistSettings) GoString

func (s HlsPlaylistSettings) GoString() string

GoString returns the string representation

func (*HlsPlaylistSettings) SetManifestWindowSeconds

func (s *HlsPlaylistSettings) SetManifestWindowSeconds(v int64) *HlsPlaylistSettings

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (HlsPlaylistSettings) String

func (s HlsPlaylistSettings) String() string

String returns the string representation

type HttpConfiguration

type HttpConfiguration struct {

	// The base URL for the source location host server. This string must include
	// the protocol, such as https://.
	//
	// BaseUrl is a required field
	BaseUrl *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The HTTP configuration for the source location.

func (HttpConfiguration) GoString

func (s HttpConfiguration) GoString() string

GoString returns the string representation

func (*HttpConfiguration) SetBaseUrl

func (s *HttpConfiguration) SetBaseUrl(v string) *HttpConfiguration

SetBaseUrl sets the BaseUrl field's value.

func (HttpConfiguration) String

func (s HttpConfiguration) String() string

String returns the string representation

func (*HttpConfiguration) Validate

func (s *HttpConfiguration) Validate() error

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

type HttpPackageConfiguration

type HttpPackageConfiguration struct {

	// The relative path to the URL for this VOD source. This is combined with SourceLocation::HttpConfiguration::BaseUrl
	// to form a valid URL.
	//
	// Path is a required field
	Path *string `type:"string" required:"true"`

	// The name of the source group. This has to match one of the Channel::Outputs::SourceGroup.
	//
	// SourceGroup is a required field
	SourceGroup *string `type:"string" required:"true"`

	// The streaming protocol for this package configuration. Supported values are
	// HLS and DASH.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"Type"`
	// contains filtered or unexported fields
}

The HTTP package configuration properties for the requested VOD source.

func (HttpPackageConfiguration) GoString

func (s HttpPackageConfiguration) GoString() string

GoString returns the string representation

func (*HttpPackageConfiguration) SetPath

SetPath sets the Path field's value.

func (*HttpPackageConfiguration) SetSourceGroup

SetSourceGroup sets the SourceGroup field's value.

func (*HttpPackageConfiguration) SetType

SetType sets the Type field's value.

func (HttpPackageConfiguration) String

func (s HttpPackageConfiguration) String() string

String returns the string representation

func (*HttpPackageConfiguration) Validate

func (s *HttpPackageConfiguration) Validate() error

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

type ListChannelsInput

type ListChannelsInput struct {
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListChannelsInput) GoString

func (s ListChannelsInput) GoString() string

GoString returns the string representation

func (*ListChannelsInput) SetMaxResults

func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput

SetMaxResults sets the MaxResults field's value.

func (*ListChannelsInput) SetNextToken

func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput

SetNextToken sets the NextToken field's value.

func (ListChannelsInput) String

func (s ListChannelsInput) String() string

String returns the string representation

func (*ListChannelsInput) Validate

func (s *ListChannelsInput) Validate() error

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

type ListChannelsOutput

type ListChannelsOutput struct {

	// An array of channels that are associated with this account.
	Items []*Channel `type:"list"`

	// Pagination token returned by the list request when results exceed the maximum
	// allowed. Use the token to fetch the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Returns a list of channels.

func (ListChannelsOutput) GoString

func (s ListChannelsOutput) GoString() string

GoString returns the string representation

func (*ListChannelsOutput) SetItems

func (s *ListChannelsOutput) SetItems(v []*Channel) *ListChannelsOutput

SetItems sets the Items field's value.

func (*ListChannelsOutput) SetNextToken

func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput

SetNextToken sets the NextToken field's value.

func (ListChannelsOutput) String

func (s ListChannelsOutput) String() string

String returns the string representation

type ListPlaybackConfigurationsInput

type ListPlaybackConfigurationsInput struct {
	MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListPlaybackConfigurationsInput) GoString

GoString returns the string representation

func (*ListPlaybackConfigurationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPlaybackConfigurationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListPlaybackConfigurationsInput) String

String returns the string representation

func (*ListPlaybackConfigurationsInput) Validate

func (s *ListPlaybackConfigurationsInput) Validate() error

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

type ListPlaybackConfigurationsOutput

type ListPlaybackConfigurationsOutput struct {

	// Array of playback configurations. This might be all the available configurations
	// or a subset, depending on the settings that you provide and the total number
	// of configurations stored.
	Items []*PlaybackConfiguration `type:"list"`

	// Pagination token returned by the GET list request when results exceed the
	// maximum allowed. Use the token to fetch the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Returns a list of playback configurations.

func (ListPlaybackConfigurationsOutput) GoString

GoString returns the string representation

func (*ListPlaybackConfigurationsOutput) SetItems

SetItems sets the Items field's value.

func (*ListPlaybackConfigurationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListPlaybackConfigurationsOutput) String

String returns the string representation

type ListSourceLocationsInput

type ListSourceLocationsInput struct {
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListSourceLocationsInput) GoString

func (s ListSourceLocationsInput) GoString() string

GoString returns the string representation

func (*ListSourceLocationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListSourceLocationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListSourceLocationsInput) String

func (s ListSourceLocationsInput) String() string

String returns the string representation

func (*ListSourceLocationsInput) Validate

func (s *ListSourceLocationsInput) Validate() error

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

type ListSourceLocationsOutput

type ListSourceLocationsOutput struct {

	// An array of source locations.
	Items []*SourceLocation `type:"list"`

	// Pagination token from the list request. Use the token to fetch the next page
	// of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Lists the source locations.

func (ListSourceLocationsOutput) GoString

func (s ListSourceLocationsOutput) GoString() string

GoString returns the string representation

func (*ListSourceLocationsOutput) SetItems

SetItems sets the Items field's value.

func (*ListSourceLocationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListSourceLocationsOutput) String

func (s ListSourceLocationsOutput) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListVodSourcesInput

type ListVodSourcesInput struct {
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// SourceLocationName is a required field
	SourceLocationName *string `location:"uri" locationName:"sourceLocationName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListVodSourcesInput) GoString

func (s ListVodSourcesInput) GoString() string

GoString returns the string representation

func (*ListVodSourcesInput) SetMaxResults

func (s *ListVodSourcesInput) SetMaxResults(v int64) *ListVodSourcesInput

SetMaxResults sets the MaxResults field's value.

func (*ListVodSourcesInput) SetNextToken

func (s *ListVodSourcesInput) SetNextToken(v string) *ListVodSourcesInput

SetNextToken sets the NextToken field's value.

func (*ListVodSourcesInput) SetSourceLocationName

func (s *ListVodSourcesInput) SetSourceLocationName(v string) *ListVodSourcesInput

SetSourceLocationName sets the SourceLocationName field's value.

func (ListVodSourcesInput) String

func (s ListVodSourcesInput) String() string

String returns the string representation

func (*ListVodSourcesInput) Validate

func (s *ListVodSourcesInput) Validate() error

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

type ListVodSourcesOutput

type ListVodSourcesOutput struct {

	// Lists the VOD sources.
	Items []*VodSource `type:"list"`

	// Pagination token from the list request. Use the token to fetch the next page
	// of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

An array of VOD sources.

func (ListVodSourcesOutput) GoString

func (s ListVodSourcesOutput) GoString() string

GoString returns the string representation

func (*ListVodSourcesOutput) SetItems

SetItems sets the Items field's value.

func (*ListVodSourcesOutput) SetNextToken

func (s *ListVodSourcesOutput) SetNextToken(v string) *ListVodSourcesOutput

SetNextToken sets the NextToken field's value.

func (ListVodSourcesOutput) String

func (s ListVodSourcesOutput) String() string

String returns the string representation

type LivePreRollConfiguration

type LivePreRollConfiguration struct {

	// The URL for the ad decision server (ADS) for pre-roll ads. This includes
	// the specification of static parameters and placeholders for dynamic parameters.
	// AWS Elemental MediaTailor substitutes player-specific and session-specific
	// parameters as needed when calling the ADS. Alternately, for testing, you
	// can provide a static VAST URL. The maximum length is 25,000 characters.
	AdDecisionServerUrl *string `type:"string"`

	// The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor
	// won't play pre-roll ads to exceed this duration, regardless of the total
	// duration of ads that the ADS returns.
	MaxDurationSeconds *int64 `type:"integer"`
	// contains filtered or unexported fields
}

The configuration for pre-roll ad insertion.

func (LivePreRollConfiguration) GoString

func (s LivePreRollConfiguration) GoString() string

GoString returns the string representation

func (*LivePreRollConfiguration) SetAdDecisionServerUrl

func (s *LivePreRollConfiguration) SetAdDecisionServerUrl(v string) *LivePreRollConfiguration

SetAdDecisionServerUrl sets the AdDecisionServerUrl field's value.

func (*LivePreRollConfiguration) SetMaxDurationSeconds

func (s *LivePreRollConfiguration) SetMaxDurationSeconds(v int64) *LivePreRollConfiguration

SetMaxDurationSeconds sets the MaxDurationSeconds field's value.

func (LivePreRollConfiguration) String

func (s LivePreRollConfiguration) String() string

String returns the string representation

type ManifestProcessingRules

type ManifestProcessingRules struct {

	// For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT,
	// and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor
	// personalized manifest.
	//
	// No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has
	// a value of 60, but no ads are filled for that ad break, MediaTailor will
	// not set the value to 0.
	AdMarkerPassthrough *AdMarkerPassthrough `type:"structure"`
	// contains filtered or unexported fields
}

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

func (ManifestProcessingRules) GoString

func (s ManifestProcessingRules) GoString() string

GoString returns the string representation

func (*ManifestProcessingRules) SetAdMarkerPassthrough

SetAdMarkerPassthrough sets the AdMarkerPassthrough field's value.

func (ManifestProcessingRules) String

func (s ManifestProcessingRules) String() string

String returns the string representation

type MediaTailor

type MediaTailor struct {
	*client.Client
}

MediaTailor provides the API operation methods for making requests to AWS MediaTailor. See this package's package overview docs for details on the service.

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

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaTailor

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

Example:

mySession := session.Must(session.NewSession())

// Create a MediaTailor client from just a session.
svc := mediatailor.New(mySession)

// Create a MediaTailor client with additional configuration
svc := mediatailor.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*MediaTailor) CreateChannel

func (c *MediaTailor) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error)

CreateChannel API operation for AWS MediaTailor.

Creates a channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation CreateChannel for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateChannel

func (*MediaTailor) CreateChannelRequest

func (c *MediaTailor) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput)

CreateChannelRequest generates a "aws/request.Request" representing the client's request for the CreateChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateChannel for more information on using the CreateChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateChannelRequest method.
req, resp := client.CreateChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateChannel

func (*MediaTailor) CreateChannelWithContext

func (c *MediaTailor) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error)

CreateChannelWithContext is the same as CreateChannel with the addition of the ability to pass a context and additional request options.

See CreateChannel for details on how to use this API operation.

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 (*MediaTailor) CreateProgram

func (c *MediaTailor) CreateProgram(input *CreateProgramInput) (*CreateProgramOutput, error)

CreateProgram API operation for AWS MediaTailor.

Creates a program.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation CreateProgram for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateProgram

func (*MediaTailor) CreateProgramRequest

func (c *MediaTailor) CreateProgramRequest(input *CreateProgramInput) (req *request.Request, output *CreateProgramOutput)

CreateProgramRequest generates a "aws/request.Request" representing the client's request for the CreateProgram operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateProgram for more information on using the CreateProgram API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateProgramRequest method.
req, resp := client.CreateProgramRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateProgram

func (*MediaTailor) CreateProgramWithContext

func (c *MediaTailor) CreateProgramWithContext(ctx aws.Context, input *CreateProgramInput, opts ...request.Option) (*CreateProgramOutput, error)

CreateProgramWithContext is the same as CreateProgram with the addition of the ability to pass a context and additional request options.

See CreateProgram for details on how to use this API operation.

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 (*MediaTailor) CreateSourceLocation

func (c *MediaTailor) CreateSourceLocation(input *CreateSourceLocationInput) (*CreateSourceLocationOutput, error)

CreateSourceLocation API operation for AWS MediaTailor.

Creates a source location on a specific channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation CreateSourceLocation for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateSourceLocation

func (*MediaTailor) CreateSourceLocationRequest

func (c *MediaTailor) CreateSourceLocationRequest(input *CreateSourceLocationInput) (req *request.Request, output *CreateSourceLocationOutput)

CreateSourceLocationRequest generates a "aws/request.Request" representing the client's request for the CreateSourceLocation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSourceLocation for more information on using the CreateSourceLocation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSourceLocationRequest method.
req, resp := client.CreateSourceLocationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateSourceLocation

func (*MediaTailor) CreateSourceLocationWithContext

func (c *MediaTailor) CreateSourceLocationWithContext(ctx aws.Context, input *CreateSourceLocationInput, opts ...request.Option) (*CreateSourceLocationOutput, error)

CreateSourceLocationWithContext is the same as CreateSourceLocation with the addition of the ability to pass a context and additional request options.

See CreateSourceLocation for details on how to use this API operation.

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 (*MediaTailor) CreateVodSource

func (c *MediaTailor) CreateVodSource(input *CreateVodSourceInput) (*CreateVodSourceOutput, error)

CreateVodSource API operation for AWS MediaTailor.

Creates name for a specific VOD source in a source location.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation CreateVodSource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateVodSource

func (*MediaTailor) CreateVodSourceRequest

func (c *MediaTailor) CreateVodSourceRequest(input *CreateVodSourceInput) (req *request.Request, output *CreateVodSourceOutput)

CreateVodSourceRequest generates a "aws/request.Request" representing the client's request for the CreateVodSource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateVodSource for more information on using the CreateVodSource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateVodSourceRequest method.
req, resp := client.CreateVodSourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateVodSource

func (*MediaTailor) CreateVodSourceWithContext

func (c *MediaTailor) CreateVodSourceWithContext(ctx aws.Context, input *CreateVodSourceInput, opts ...request.Option) (*CreateVodSourceOutput, error)

CreateVodSourceWithContext is the same as CreateVodSource with the addition of the ability to pass a context and additional request options.

See CreateVodSource for details on how to use this API operation.

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 (*MediaTailor) DeleteChannel

func (c *MediaTailor) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error)

DeleteChannel API operation for AWS MediaTailor.

Deletes a channel. You must stop the channel before it can be deleted.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation DeleteChannel for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannel

func (*MediaTailor) DeleteChannelPolicy

func (c *MediaTailor) DeleteChannelPolicy(input *DeleteChannelPolicyInput) (*DeleteChannelPolicyOutput, error)

DeleteChannelPolicy API operation for AWS MediaTailor.

Deletes a channel's IAM policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation DeleteChannelPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannelPolicy

func (*MediaTailor) DeleteChannelPolicyRequest

func (c *MediaTailor) DeleteChannelPolicyRequest(input *DeleteChannelPolicyInput) (req *request.Request, output *DeleteChannelPolicyOutput)

DeleteChannelPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteChannelPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteChannelPolicy for more information on using the DeleteChannelPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteChannelPolicyRequest method.
req, resp := client.DeleteChannelPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannelPolicy

func (*MediaTailor) DeleteChannelPolicyWithContext

func (c *MediaTailor) DeleteChannelPolicyWithContext(ctx aws.Context, input *DeleteChannelPolicyInput, opts ...request.Option) (*DeleteChannelPolicyOutput, error)

DeleteChannelPolicyWithContext is the same as DeleteChannelPolicy with the addition of the ability to pass a context and additional request options.

See DeleteChannelPolicy for details on how to use this API operation.

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 (*MediaTailor) DeleteChannelRequest

func (c *MediaTailor) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput)

DeleteChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteChannel for more information on using the DeleteChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteChannelRequest method.
req, resp := client.DeleteChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannel

func (*MediaTailor) DeleteChannelWithContext

func (c *MediaTailor) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error)

DeleteChannelWithContext is the same as DeleteChannel with the addition of the ability to pass a context and additional request options.

See DeleteChannel for details on how to use this API operation.

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 (*MediaTailor) DeletePlaybackConfiguration

func (c *MediaTailor) DeletePlaybackConfiguration(input *DeletePlaybackConfigurationInput) (*DeletePlaybackConfigurationOutput, error)

DeletePlaybackConfiguration API operation for AWS MediaTailor.

Deletes the playback configuration for the specified name.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation DeletePlaybackConfiguration for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfiguration

func (*MediaTailor) DeletePlaybackConfigurationRequest

func (c *MediaTailor) DeletePlaybackConfigurationRequest(input *DeletePlaybackConfigurationInput) (req *request.Request, output *DeletePlaybackConfigurationOutput)

DeletePlaybackConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeletePlaybackConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePlaybackConfiguration for more information on using the DeletePlaybackConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePlaybackConfigurationRequest method.
req, resp := client.DeletePlaybackConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfiguration

func (*MediaTailor) DeletePlaybackConfigurationWithContext

func (c *MediaTailor) DeletePlaybackConfigurationWithContext(ctx aws.Context, input *DeletePlaybackConfigurationInput, opts ...request.Option) (*DeletePlaybackConfigurationOutput, error)

DeletePlaybackConfigurationWithContext is the same as DeletePlaybackConfiguration with the addition of the ability to pass a context and additional request options.

See DeletePlaybackConfiguration for details on how to use this API operation.

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 (*MediaTailor) DeleteProgram

func (c *MediaTailor) DeleteProgram(input *DeleteProgramInput) (*DeleteProgramOutput, error)

DeleteProgram API operation for AWS MediaTailor.

Deletes a specific program on a specific channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation DeleteProgram for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteProgram

func (*MediaTailor) DeleteProgramRequest

func (c *MediaTailor) DeleteProgramRequest(input *DeleteProgramInput) (req *request.Request, output *DeleteProgramOutput)

DeleteProgramRequest generates a "aws/request.Request" representing the client's request for the DeleteProgram operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteProgram for more information on using the DeleteProgram API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteProgramRequest method.
req, resp := client.DeleteProgramRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteProgram

func (*MediaTailor) DeleteProgramWithContext

func (c *MediaTailor) DeleteProgramWithContext(ctx aws.Context, input *DeleteProgramInput, opts ...request.Option) (*DeleteProgramOutput, error)

DeleteProgramWithContext is the same as DeleteProgram with the addition of the ability to pass a context and additional request options.

See DeleteProgram for details on how to use this API operation.

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 (*MediaTailor) DeleteSourceLocation

func (c *MediaTailor) DeleteSourceLocation(input *DeleteSourceLocationInput) (*DeleteSourceLocationOutput, error)

DeleteSourceLocation API operation for AWS MediaTailor.

Deletes a source location on a specific channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation DeleteSourceLocation for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteSourceLocation

func (*MediaTailor) DeleteSourceLocationRequest

func (c *MediaTailor) DeleteSourceLocationRequest(input *DeleteSourceLocationInput) (req *request.Request, output *DeleteSourceLocationOutput)

DeleteSourceLocationRequest generates a "aws/request.Request" representing the client's request for the DeleteSourceLocation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSourceLocation for more information on using the DeleteSourceLocation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSourceLocationRequest method.
req, resp := client.DeleteSourceLocationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteSourceLocation

func (*MediaTailor) DeleteSourceLocationWithContext

func (c *MediaTailor) DeleteSourceLocationWithContext(ctx aws.Context, input *DeleteSourceLocationInput, opts ...request.Option) (*DeleteSourceLocationOutput, error)

DeleteSourceLocationWithContext is the same as DeleteSourceLocation with the addition of the ability to pass a context and additional request options.

See DeleteSourceLocation for details on how to use this API operation.

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 (*MediaTailor) DeleteVodSource

func (c *MediaTailor) DeleteVodSource(input *DeleteVodSourceInput) (*DeleteVodSourceOutput, error)

DeleteVodSource API operation for AWS MediaTailor.

Deletes a specific VOD source in a specific source location.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation DeleteVodSource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteVodSource

func (*MediaTailor) DeleteVodSourceRequest

func (c *MediaTailor) DeleteVodSourceRequest(input *DeleteVodSourceInput) (req *request.Request, output *DeleteVodSourceOutput)

DeleteVodSourceRequest generates a "aws/request.Request" representing the client's request for the DeleteVodSource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteVodSource for more information on using the DeleteVodSource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteVodSourceRequest method.
req, resp := client.DeleteVodSourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteVodSource

func (*MediaTailor) DeleteVodSourceWithContext

func (c *MediaTailor) DeleteVodSourceWithContext(ctx aws.Context, input *DeleteVodSourceInput, opts ...request.Option) (*DeleteVodSourceOutput, error)

DeleteVodSourceWithContext is the same as DeleteVodSource with the addition of the ability to pass a context and additional request options.

See DeleteVodSource for details on how to use this API operation.

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 (*MediaTailor) DescribeChannel

func (c *MediaTailor) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error)

DescribeChannel API operation for AWS MediaTailor.

Describes the properties of a specific channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation DescribeChannel for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeChannel

func (*MediaTailor) DescribeChannelRequest

func (c *MediaTailor) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput)

DescribeChannelRequest generates a "aws/request.Request" representing the client's request for the DescribeChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeChannel for more information on using the DescribeChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeChannelRequest method.
req, resp := client.DescribeChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeChannel

func (*MediaTailor) DescribeChannelWithContext

func (c *MediaTailor) DescribeChannelWithContext(ctx aws.Context, input *DescribeChannelInput, opts ...request.Option) (*DescribeChannelOutput, error)

DescribeChannelWithContext is the same as DescribeChannel with the addition of the ability to pass a context and additional request options.

See DescribeChannel for details on how to use this API operation.

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 (*MediaTailor) DescribeProgram

func (c *MediaTailor) DescribeProgram(input *DescribeProgramInput) (*DescribeProgramOutput, error)

DescribeProgram API operation for AWS MediaTailor.

Retrieves the properties of the requested program.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation DescribeProgram for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeProgram

func (*MediaTailor) DescribeProgramRequest

func (c *MediaTailor) DescribeProgramRequest(input *DescribeProgramInput) (req *request.Request, output *DescribeProgramOutput)

DescribeProgramRequest generates a "aws/request.Request" representing the client's request for the DescribeProgram operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeProgram for more information on using the DescribeProgram API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeProgramRequest method.
req, resp := client.DescribeProgramRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeProgram

func (*MediaTailor) DescribeProgramWithContext

func (c *MediaTailor) DescribeProgramWithContext(ctx aws.Context, input *DescribeProgramInput, opts ...request.Option) (*DescribeProgramOutput, error)

DescribeProgramWithContext is the same as DescribeProgram with the addition of the ability to pass a context and additional request options.

See DescribeProgram for details on how to use this API operation.

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 (*MediaTailor) DescribeSourceLocation

func (c *MediaTailor) DescribeSourceLocation(input *DescribeSourceLocationInput) (*DescribeSourceLocationOutput, error)

DescribeSourceLocation API operation for AWS MediaTailor.

Retrieves the properties of the requested source location.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation DescribeSourceLocation for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeSourceLocation

func (*MediaTailor) DescribeSourceLocationRequest

func (c *MediaTailor) DescribeSourceLocationRequest(input *DescribeSourceLocationInput) (req *request.Request, output *DescribeSourceLocationOutput)

DescribeSourceLocationRequest generates a "aws/request.Request" representing the client's request for the DescribeSourceLocation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSourceLocation for more information on using the DescribeSourceLocation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSourceLocationRequest method.
req, resp := client.DescribeSourceLocationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeSourceLocation

func (*MediaTailor) DescribeSourceLocationWithContext

func (c *MediaTailor) DescribeSourceLocationWithContext(ctx aws.Context, input *DescribeSourceLocationInput, opts ...request.Option) (*DescribeSourceLocationOutput, error)

DescribeSourceLocationWithContext is the same as DescribeSourceLocation with the addition of the ability to pass a context and additional request options.

See DescribeSourceLocation for details on how to use this API operation.

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 (*MediaTailor) DescribeVodSource

func (c *MediaTailor) DescribeVodSource(input *DescribeVodSourceInput) (*DescribeVodSourceOutput, error)

DescribeVodSource API operation for AWS MediaTailor.

Provides details about a specific VOD source in a specific source location.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation DescribeVodSource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeVodSource

func (*MediaTailor) DescribeVodSourceRequest

func (c *MediaTailor) DescribeVodSourceRequest(input *DescribeVodSourceInput) (req *request.Request, output *DescribeVodSourceOutput)

DescribeVodSourceRequest generates a "aws/request.Request" representing the client's request for the DescribeVodSource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeVodSource for more information on using the DescribeVodSource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeVodSourceRequest method.
req, resp := client.DescribeVodSourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeVodSource

func (*MediaTailor) DescribeVodSourceWithContext

func (c *MediaTailor) DescribeVodSourceWithContext(ctx aws.Context, input *DescribeVodSourceInput, opts ...request.Option) (*DescribeVodSourceOutput, error)

DescribeVodSourceWithContext is the same as DescribeVodSource with the addition of the ability to pass a context and additional request options.

See DescribeVodSource for details on how to use this API operation.

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 (*MediaTailor) GetChannelPolicy

func (c *MediaTailor) GetChannelPolicy(input *GetChannelPolicyInput) (*GetChannelPolicyOutput, error)

GetChannelPolicy API operation for AWS MediaTailor.

Retrieves information about a channel's IAM policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation GetChannelPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelPolicy

func (*MediaTailor) GetChannelPolicyRequest

func (c *MediaTailor) GetChannelPolicyRequest(input *GetChannelPolicyInput) (req *request.Request, output *GetChannelPolicyOutput)

GetChannelPolicyRequest generates a "aws/request.Request" representing the client's request for the GetChannelPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetChannelPolicy for more information on using the GetChannelPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetChannelPolicyRequest method.
req, resp := client.GetChannelPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelPolicy

func (*MediaTailor) GetChannelPolicyWithContext

func (c *MediaTailor) GetChannelPolicyWithContext(ctx aws.Context, input *GetChannelPolicyInput, opts ...request.Option) (*GetChannelPolicyOutput, error)

GetChannelPolicyWithContext is the same as GetChannelPolicy with the addition of the ability to pass a context and additional request options.

See GetChannelPolicy for details on how to use this API operation.

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 (*MediaTailor) GetChannelSchedule

func (c *MediaTailor) GetChannelSchedule(input *GetChannelScheduleInput) (*GetChannelScheduleOutput, error)

GetChannelSchedule API operation for AWS MediaTailor.

Retrieves information about your channel's schedule.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation GetChannelSchedule for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelSchedule

func (*MediaTailor) GetChannelSchedulePages

func (c *MediaTailor) GetChannelSchedulePages(input *GetChannelScheduleInput, fn func(*GetChannelScheduleOutput, bool) bool) error

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

See GetChannelSchedule 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 GetChannelSchedule operation.
pageNum := 0
err := client.GetChannelSchedulePages(params,
    func(page *mediatailor.GetChannelScheduleOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaTailor) GetChannelSchedulePagesWithContext

func (c *MediaTailor) GetChannelSchedulePagesWithContext(ctx aws.Context, input *GetChannelScheduleInput, fn func(*GetChannelScheduleOutput, bool) bool, opts ...request.Option) error

GetChannelSchedulePagesWithContext same as GetChannelSchedulePages 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 (*MediaTailor) GetChannelScheduleRequest

func (c *MediaTailor) GetChannelScheduleRequest(input *GetChannelScheduleInput) (req *request.Request, output *GetChannelScheduleOutput)

GetChannelScheduleRequest generates a "aws/request.Request" representing the client's request for the GetChannelSchedule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetChannelSchedule for more information on using the GetChannelSchedule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetChannelScheduleRequest method.
req, resp := client.GetChannelScheduleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelSchedule

func (*MediaTailor) GetChannelScheduleWithContext

func (c *MediaTailor) GetChannelScheduleWithContext(ctx aws.Context, input *GetChannelScheduleInput, opts ...request.Option) (*GetChannelScheduleOutput, error)

GetChannelScheduleWithContext is the same as GetChannelSchedule with the addition of the ability to pass a context and additional request options.

See GetChannelSchedule for details on how to use this API operation.

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 (*MediaTailor) GetPlaybackConfiguration

func (c *MediaTailor) GetPlaybackConfiguration(input *GetPlaybackConfigurationInput) (*GetPlaybackConfigurationOutput, error)

GetPlaybackConfiguration API operation for AWS MediaTailor.

Returns the playback configuration for the specified name.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation GetPlaybackConfiguration for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfiguration

func (*MediaTailor) GetPlaybackConfigurationRequest

func (c *MediaTailor) GetPlaybackConfigurationRequest(input *GetPlaybackConfigurationInput) (req *request.Request, output *GetPlaybackConfigurationOutput)

GetPlaybackConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetPlaybackConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPlaybackConfiguration for more information on using the GetPlaybackConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPlaybackConfigurationRequest method.
req, resp := client.GetPlaybackConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfiguration

func (*MediaTailor) GetPlaybackConfigurationWithContext

func (c *MediaTailor) GetPlaybackConfigurationWithContext(ctx aws.Context, input *GetPlaybackConfigurationInput, opts ...request.Option) (*GetPlaybackConfigurationOutput, error)

GetPlaybackConfigurationWithContext is the same as GetPlaybackConfiguration with the addition of the ability to pass a context and additional request options.

See GetPlaybackConfiguration for details on how to use this API operation.

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 (*MediaTailor) ListChannels

func (c *MediaTailor) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error)

ListChannels API operation for AWS MediaTailor.

Retrieves a list of channels that are associated with this account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation ListChannels for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannels

func (*MediaTailor) ListChannelsPages

func (c *MediaTailor) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error

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

See ListChannels 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 ListChannels operation.
pageNum := 0
err := client.ListChannelsPages(params,
    func(page *mediatailor.ListChannelsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaTailor) ListChannelsPagesWithContext

func (c *MediaTailor) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error

ListChannelsPagesWithContext same as ListChannelsPages 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 (*MediaTailor) ListChannelsRequest

func (c *MediaTailor) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput)

ListChannelsRequest generates a "aws/request.Request" representing the client's request for the ListChannels operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListChannels for more information on using the ListChannels API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListChannelsRequest method.
req, resp := client.ListChannelsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannels

func (*MediaTailor) ListChannelsWithContext

func (c *MediaTailor) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error)

ListChannelsWithContext is the same as ListChannels with the addition of the ability to pass a context and additional request options.

See ListChannels for details on how to use this API operation.

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 (*MediaTailor) ListPlaybackConfigurations

func (c *MediaTailor) ListPlaybackConfigurations(input *ListPlaybackConfigurationsInput) (*ListPlaybackConfigurationsOutput, error)

ListPlaybackConfigurations API operation for AWS MediaTailor.

Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation ListPlaybackConfigurations for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPlaybackConfigurations

func (*MediaTailor) ListPlaybackConfigurationsPages

func (c *MediaTailor) ListPlaybackConfigurationsPages(input *ListPlaybackConfigurationsInput, fn func(*ListPlaybackConfigurationsOutput, bool) bool) error

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

See ListPlaybackConfigurations 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 ListPlaybackConfigurations operation.
pageNum := 0
err := client.ListPlaybackConfigurationsPages(params,
    func(page *mediatailor.ListPlaybackConfigurationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaTailor) ListPlaybackConfigurationsPagesWithContext

func (c *MediaTailor) ListPlaybackConfigurationsPagesWithContext(ctx aws.Context, input *ListPlaybackConfigurationsInput, fn func(*ListPlaybackConfigurationsOutput, bool) bool, opts ...request.Option) error

ListPlaybackConfigurationsPagesWithContext same as ListPlaybackConfigurationsPages 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 (*MediaTailor) ListPlaybackConfigurationsRequest

func (c *MediaTailor) ListPlaybackConfigurationsRequest(input *ListPlaybackConfigurationsInput) (req *request.Request, output *ListPlaybackConfigurationsOutput)

ListPlaybackConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListPlaybackConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPlaybackConfigurations for more information on using the ListPlaybackConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPlaybackConfigurationsRequest method.
req, resp := client.ListPlaybackConfigurationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPlaybackConfigurations

func (*MediaTailor) ListPlaybackConfigurationsWithContext

func (c *MediaTailor) ListPlaybackConfigurationsWithContext(ctx aws.Context, input *ListPlaybackConfigurationsInput, opts ...request.Option) (*ListPlaybackConfigurationsOutput, error)

ListPlaybackConfigurationsWithContext is the same as ListPlaybackConfigurations with the addition of the ability to pass a context and additional request options.

See ListPlaybackConfigurations for details on how to use this API operation.

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 (*MediaTailor) ListSourceLocations

func (c *MediaTailor) ListSourceLocations(input *ListSourceLocationsInput) (*ListSourceLocationsOutput, error)

ListSourceLocations API operation for AWS MediaTailor.

Retrieves a list of source locations.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation ListSourceLocations for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocations

func (*MediaTailor) ListSourceLocationsPages

func (c *MediaTailor) ListSourceLocationsPages(input *ListSourceLocationsInput, fn func(*ListSourceLocationsOutput, bool) bool) error

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

See ListSourceLocations 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 ListSourceLocations operation.
pageNum := 0
err := client.ListSourceLocationsPages(params,
    func(page *mediatailor.ListSourceLocationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaTailor) ListSourceLocationsPagesWithContext

func (c *MediaTailor) ListSourceLocationsPagesWithContext(ctx aws.Context, input *ListSourceLocationsInput, fn func(*ListSourceLocationsOutput, bool) bool, opts ...request.Option) error

ListSourceLocationsPagesWithContext same as ListSourceLocationsPages 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 (*MediaTailor) ListSourceLocationsRequest

func (c *MediaTailor) ListSourceLocationsRequest(input *ListSourceLocationsInput) (req *request.Request, output *ListSourceLocationsOutput)

ListSourceLocationsRequest generates a "aws/request.Request" representing the client's request for the ListSourceLocations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSourceLocations for more information on using the ListSourceLocations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSourceLocationsRequest method.
req, resp := client.ListSourceLocationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocations

func (*MediaTailor) ListSourceLocationsWithContext

func (c *MediaTailor) ListSourceLocationsWithContext(ctx aws.Context, input *ListSourceLocationsInput, opts ...request.Option) (*ListSourceLocationsOutput, error)

ListSourceLocationsWithContext is the same as ListSourceLocations with the addition of the ability to pass a context and additional request options.

See ListSourceLocations for details on how to use this API operation.

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 (*MediaTailor) ListTagsForResource

func (c *MediaTailor) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS MediaTailor.

Returns a list of the tags assigned to the specified playback configuration resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • BadRequestException A request contains unexpected data.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResource

func (*MediaTailor) ListTagsForResourceRequest

func (c *MediaTailor) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResource

func (*MediaTailor) ListTagsForResourceWithContext

func (c *MediaTailor) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

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 (*MediaTailor) ListVodSources

func (c *MediaTailor) ListVodSources(input *ListVodSourcesInput) (*ListVodSourcesOutput, error)

ListVodSources API operation for AWS MediaTailor.

Lists all the VOD sources in a source location.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation ListVodSources for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSources

func (*MediaTailor) ListVodSourcesPages

func (c *MediaTailor) ListVodSourcesPages(input *ListVodSourcesInput, fn func(*ListVodSourcesOutput, bool) bool) error

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

See ListVodSources 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 ListVodSources operation.
pageNum := 0
err := client.ListVodSourcesPages(params,
    func(page *mediatailor.ListVodSourcesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaTailor) ListVodSourcesPagesWithContext

func (c *MediaTailor) ListVodSourcesPagesWithContext(ctx aws.Context, input *ListVodSourcesInput, fn func(*ListVodSourcesOutput, bool) bool, opts ...request.Option) error

ListVodSourcesPagesWithContext same as ListVodSourcesPages 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 (*MediaTailor) ListVodSourcesRequest

func (c *MediaTailor) ListVodSourcesRequest(input *ListVodSourcesInput) (req *request.Request, output *ListVodSourcesOutput)

ListVodSourcesRequest generates a "aws/request.Request" representing the client's request for the ListVodSources operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListVodSources for more information on using the ListVodSources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListVodSourcesRequest method.
req, resp := client.ListVodSourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSources

func (*MediaTailor) ListVodSourcesWithContext

func (c *MediaTailor) ListVodSourcesWithContext(ctx aws.Context, input *ListVodSourcesInput, opts ...request.Option) (*ListVodSourcesOutput, error)

ListVodSourcesWithContext is the same as ListVodSources with the addition of the ability to pass a context and additional request options.

See ListVodSources for details on how to use this API operation.

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 (*MediaTailor) PutChannelPolicy

func (c *MediaTailor) PutChannelPolicy(input *PutChannelPolicyInput) (*PutChannelPolicyOutput, error)

PutChannelPolicy API operation for AWS MediaTailor.

Creates an IAM policy for the channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation PutChannelPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicy

func (*MediaTailor) PutChannelPolicyRequest

func (c *MediaTailor) PutChannelPolicyRequest(input *PutChannelPolicyInput) (req *request.Request, output *PutChannelPolicyOutput)

PutChannelPolicyRequest generates a "aws/request.Request" representing the client's request for the PutChannelPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutChannelPolicy for more information on using the PutChannelPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutChannelPolicyRequest method.
req, resp := client.PutChannelPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicy

func (*MediaTailor) PutChannelPolicyWithContext

func (c *MediaTailor) PutChannelPolicyWithContext(ctx aws.Context, input *PutChannelPolicyInput, opts ...request.Option) (*PutChannelPolicyOutput, error)

PutChannelPolicyWithContext is the same as PutChannelPolicy with the addition of the ability to pass a context and additional request options.

See PutChannelPolicy for details on how to use this API operation.

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 (*MediaTailor) PutPlaybackConfiguration

func (c *MediaTailor) PutPlaybackConfiguration(input *PutPlaybackConfigurationInput) (*PutPlaybackConfigurationOutput, error)

PutPlaybackConfiguration API operation for AWS MediaTailor.

Adds a new playback configuration to AWS Elemental MediaTailor.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation PutPlaybackConfiguration for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfiguration

func (*MediaTailor) PutPlaybackConfigurationRequest

func (c *MediaTailor) PutPlaybackConfigurationRequest(input *PutPlaybackConfigurationInput) (req *request.Request, output *PutPlaybackConfigurationOutput)

PutPlaybackConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutPlaybackConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutPlaybackConfiguration for more information on using the PutPlaybackConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutPlaybackConfigurationRequest method.
req, resp := client.PutPlaybackConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfiguration

func (*MediaTailor) PutPlaybackConfigurationWithContext

func (c *MediaTailor) PutPlaybackConfigurationWithContext(ctx aws.Context, input *PutPlaybackConfigurationInput, opts ...request.Option) (*PutPlaybackConfigurationOutput, error)

PutPlaybackConfigurationWithContext is the same as PutPlaybackConfiguration with the addition of the ability to pass a context and additional request options.

See PutPlaybackConfiguration for details on how to use this API operation.

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 (*MediaTailor) StartChannel

func (c *MediaTailor) StartChannel(input *StartChannelInput) (*StartChannelOutput, error)

StartChannel API operation for AWS MediaTailor.

Starts a specific channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation StartChannel for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannel

func (*MediaTailor) StartChannelRequest

func (c *MediaTailor) StartChannelRequest(input *StartChannelInput) (req *request.Request, output *StartChannelOutput)

StartChannelRequest generates a "aws/request.Request" representing the client's request for the StartChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartChannel for more information on using the StartChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartChannelRequest method.
req, resp := client.StartChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannel

func (*MediaTailor) StartChannelWithContext

func (c *MediaTailor) StartChannelWithContext(ctx aws.Context, input *StartChannelInput, opts ...request.Option) (*StartChannelOutput, error)

StartChannelWithContext is the same as StartChannel with the addition of the ability to pass a context and additional request options.

See StartChannel for details on how to use this API operation.

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 (*MediaTailor) StopChannel

func (c *MediaTailor) StopChannel(input *StopChannelInput) (*StopChannelOutput, error)

StopChannel API operation for AWS MediaTailor.

Stops a specific channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation StopChannel for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannel

func (*MediaTailor) StopChannelRequest

func (c *MediaTailor) StopChannelRequest(input *StopChannelInput) (req *request.Request, output *StopChannelOutput)

StopChannelRequest generates a "aws/request.Request" representing the client's request for the StopChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopChannel for more information on using the StopChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopChannelRequest method.
req, resp := client.StopChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannel

func (*MediaTailor) StopChannelWithContext

func (c *MediaTailor) StopChannelWithContext(ctx aws.Context, input *StopChannelInput, opts ...request.Option) (*StopChannelOutput, error)

StopChannelWithContext is the same as StopChannel with the addition of the ability to pass a context and additional request options.

See StopChannel for details on how to use this API operation.

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 (*MediaTailor) TagResource

func (c *MediaTailor) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS MediaTailor.

Adds tags to the specified playback configuration resource. You can specify one or more tags to add.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation TagResource for usage and error information.

Returned Error Types:

  • BadRequestException A request contains unexpected data.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagResource

func (*MediaTailor) TagResourceRequest

func (c *MediaTailor) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagResource

func (*MediaTailor) TagResourceWithContext

func (c *MediaTailor) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

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 (*MediaTailor) UntagResource

func (c *MediaTailor) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS MediaTailor.

Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation UntagResource for usage and error information.

Returned Error Types:

  • BadRequestException A request contains unexpected data.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UntagResource

func (*MediaTailor) UntagResourceRequest

func (c *MediaTailor) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UntagResource

func (*MediaTailor) UntagResourceWithContext

func (c *MediaTailor) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

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 (*MediaTailor) UpdateChannel

func (c *MediaTailor) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error)

UpdateChannel API operation for AWS MediaTailor.

Updates an existing channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation UpdateChannel for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannel

func (*MediaTailor) UpdateChannelRequest

func (c *MediaTailor) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput)

UpdateChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateChannel for more information on using the UpdateChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateChannelRequest method.
req, resp := client.UpdateChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannel

func (*MediaTailor) UpdateChannelWithContext

func (c *MediaTailor) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error)

UpdateChannelWithContext is the same as UpdateChannel with the addition of the ability to pass a context and additional request options.

See UpdateChannel for details on how to use this API operation.

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 (*MediaTailor) UpdateSourceLocation

func (c *MediaTailor) UpdateSourceLocation(input *UpdateSourceLocationInput) (*UpdateSourceLocationOutput, error)

UpdateSourceLocation API operation for AWS MediaTailor.

Updates a source location on a specific channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation UpdateSourceLocation for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocation

func (*MediaTailor) UpdateSourceLocationRequest

func (c *MediaTailor) UpdateSourceLocationRequest(input *UpdateSourceLocationInput) (req *request.Request, output *UpdateSourceLocationOutput)

UpdateSourceLocationRequest generates a "aws/request.Request" representing the client's request for the UpdateSourceLocation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateSourceLocation for more information on using the UpdateSourceLocation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateSourceLocationRequest method.
req, resp := client.UpdateSourceLocationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocation

func (*MediaTailor) UpdateSourceLocationWithContext

func (c *MediaTailor) UpdateSourceLocationWithContext(ctx aws.Context, input *UpdateSourceLocationInput, opts ...request.Option) (*UpdateSourceLocationOutput, error)

UpdateSourceLocationWithContext is the same as UpdateSourceLocation with the addition of the ability to pass a context and additional request options.

See UpdateSourceLocation for details on how to use this API operation.

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 (*MediaTailor) UpdateVodSource

func (c *MediaTailor) UpdateVodSource(input *UpdateVodSourceInput) (*UpdateVodSourceOutput, error)

UpdateVodSource API operation for AWS MediaTailor.

Updates a specific VOD source in a specific source location.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaTailor's API operation UpdateVodSource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSource

func (*MediaTailor) UpdateVodSourceRequest

func (c *MediaTailor) UpdateVodSourceRequest(input *UpdateVodSourceInput) (req *request.Request, output *UpdateVodSourceOutput)

UpdateVodSourceRequest generates a "aws/request.Request" representing the client's request for the UpdateVodSource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateVodSource for more information on using the UpdateVodSource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateVodSourceRequest method.
req, resp := client.UpdateVodSourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSource

func (*MediaTailor) UpdateVodSourceWithContext

func (c *MediaTailor) UpdateVodSourceWithContext(ctx aws.Context, input *UpdateVodSourceInput, opts ...request.Option) (*UpdateVodSourceOutput, error)

UpdateVodSourceWithContext is the same as UpdateVodSource with the addition of the ability to pass a context and additional request options.

See UpdateVodSource for details on how to use this API operation.

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 PlaybackConfiguration

type PlaybackConfiguration struct {

	// The URL for the ad decision server (ADS). This includes the specification
	// of static parameters and placeholders for dynamic parameters. AWS Elemental
	// MediaTailor substitutes player-specific and session-specific parameters as
	// needed when calling the ADS. Alternately, for testing you can provide a static
	// VAST URL. The maximum length is 25,000 characters.
	AdDecisionServerUrl *string `type:"string"`

	// The configuration for avail suppression, also known as ad suppression. For
	// more information about ad suppression, see Ad Suppression (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html).
	AvailSuppression *AvailSuppression `type:"structure"`

	// The configuration for bumpers. Bumpers are short audio or video clips that
	// play at the start or before the end of an ad break. To learn more about bumpers,
	// see Bumpers (https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html).
	Bumper *Bumper `type:"structure"`

	// The configuration for using a content delivery network (CDN), like Amazon
	// CloudFront, for content and ad segment management.
	CdnConfiguration *CdnConfiguration `type:"structure"`

	// The player parameters and aliases used as dynamic variables during session
	// initialization. For more information, see Domain Variables (https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html).
	ConfigurationAliases map[string]map[string]*string `type:"map"`

	// The configuration for a DASH source.
	DashConfiguration *DashConfiguration `type:"structure"`

	// The configuration for HLS content.
	HlsConfiguration *HlsConfiguration `type:"structure"`

	// The configuration for pre-roll ad insertion.
	LivePreRollConfiguration *LivePreRollConfiguration `type:"structure"`

	// The configuration for manifest processing rules. Manifest processing rules
	// enable customization of the personalized manifests created by MediaTailor.
	ManifestProcessingRules *ManifestProcessingRules `type:"structure"`

	// The identifier for the playback configuration.
	Name *string `type:"string"`

	// Defines the maximum duration of underfilled ad time (in seconds) allowed
	// in an ad break. If the duration of underfilled ad time exceeds the personalization
	// threshold, then the personalization of the ad break is abandoned and the
	// underlying content is shown. This feature applies to ad replacement in live
	// and VOD streams, rather than ad insertion, because it relies on an underlying
	// content stream. For more information about ad break behavior, including ad
	// replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html).
	PersonalizationThresholdSeconds *int64 `min:"1" type:"integer"`

	// The Amazon Resource Name (ARN) for the playback configuration.
	PlaybackConfigurationArn *string `type:"string"`

	// The URL that the player accesses to get a manifest from AWS Elemental MediaTailor.
	PlaybackEndpointPrefix *string `type:"string"`

	// The URL that the player uses to initialize a session that uses client-side
	// reporting.
	SessionInitializationEndpointPrefix *string `type:"string"`

	// The URL for a video asset to transcode and use to fill in time that's not
	// used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in
	// media content. Configuring the slate is optional for non-VPAID playback configurations.
	// For VPAID, the slate is required because MediaTailor provides it in the slots
	// designated for dynamic ad content. The slate must be a high-quality asset
	// that contains both audio and video.
	SlateAdUrl *string `type:"string"`

	// The tags to assign to the playback configuration.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The name that is used to associate this playback configuration with a custom
	// transcode profile. This overrides the dynamic transcoding defaults of MediaTailor.
	// Use this only if you have already set up custom profiles with the help of
	// AWS Support.
	TranscodeProfileName *string `type:"string"`

	// The URL prefix for the parent manifest for the stream, minus the asset ID.
	// The maximum length is 512 characters.
	VideoContentSourceUrl *string `type:"string"`
	// contains filtered or unexported fields
}

Creates a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor (https://docs.aws.amazon.com/mediatailor/latest/ug/configurations.html).

func (PlaybackConfiguration) GoString

func (s PlaybackConfiguration) GoString() string

GoString returns the string representation

func (*PlaybackConfiguration) SetAdDecisionServerUrl

func (s *PlaybackConfiguration) SetAdDecisionServerUrl(v string) *PlaybackConfiguration

SetAdDecisionServerUrl sets the AdDecisionServerUrl field's value.

func (*PlaybackConfiguration) SetAvailSuppression

func (s *PlaybackConfiguration) SetAvailSuppression(v *AvailSuppression) *PlaybackConfiguration

SetAvailSuppression sets the AvailSuppression field's value.

func (*PlaybackConfiguration) SetBumper

SetBumper sets the Bumper field's value.

func (*PlaybackConfiguration) SetCdnConfiguration

func (s *PlaybackConfiguration) SetCdnConfiguration(v *CdnConfiguration) *PlaybackConfiguration

SetCdnConfiguration sets the CdnConfiguration field's value.

func (*PlaybackConfiguration) SetConfigurationAliases

func (s *PlaybackConfiguration) SetConfigurationAliases(v map[string]map[string]*string) *PlaybackConfiguration

SetConfigurationAliases sets the ConfigurationAliases field's value.

func (*PlaybackConfiguration) SetDashConfiguration

func (s *PlaybackConfiguration) SetDashConfiguration(v *DashConfiguration) *PlaybackConfiguration

SetDashConfiguration sets the DashConfiguration field's value.

func (*PlaybackConfiguration) SetHlsConfiguration

func (s *PlaybackConfiguration) SetHlsConfiguration(v *HlsConfiguration) *PlaybackConfiguration

SetHlsConfiguration sets the HlsConfiguration field's value.

func (*PlaybackConfiguration) SetLivePreRollConfiguration

func (s *PlaybackConfiguration) SetLivePreRollConfiguration(v *LivePreRollConfiguration) *PlaybackConfiguration

SetLivePreRollConfiguration sets the LivePreRollConfiguration field's value.

func (*PlaybackConfiguration) SetManifestProcessingRules

func (s *PlaybackConfiguration) SetManifestProcessingRules(v *ManifestProcessingRules) *PlaybackConfiguration

SetManifestProcessingRules sets the ManifestProcessingRules field's value.

func (*PlaybackConfiguration) SetName

SetName sets the Name field's value.

func (*PlaybackConfiguration) SetPersonalizationThresholdSeconds

func (s *PlaybackConfiguration) SetPersonalizationThresholdSeconds(v int64) *PlaybackConfiguration

SetPersonalizationThresholdSeconds sets the PersonalizationThresholdSeconds field's value.

func (*PlaybackConfiguration) SetPlaybackConfigurationArn

func (s *PlaybackConfiguration) SetPlaybackConfigurationArn(v string) *PlaybackConfiguration

SetPlaybackConfigurationArn sets the PlaybackConfigurationArn field's value.

func (*PlaybackConfiguration) SetPlaybackEndpointPrefix

func (s *PlaybackConfiguration) SetPlaybackEndpointPrefix(v string) *PlaybackConfiguration

SetPlaybackEndpointPrefix sets the PlaybackEndpointPrefix field's value.

func (*PlaybackConfiguration) SetSessionInitializationEndpointPrefix

func (s *PlaybackConfiguration) SetSessionInitializationEndpointPrefix(v string) *PlaybackConfiguration

SetSessionInitializationEndpointPrefix sets the SessionInitializationEndpointPrefix field's value.

func (*PlaybackConfiguration) SetSlateAdUrl

func (s *PlaybackConfiguration) SetSlateAdUrl(v string) *PlaybackConfiguration

SetSlateAdUrl sets the SlateAdUrl field's value.

func (*PlaybackConfiguration) SetTags

SetTags sets the Tags field's value.

func (*PlaybackConfiguration) SetTranscodeProfileName

func (s *PlaybackConfiguration) SetTranscodeProfileName(v string) *PlaybackConfiguration

SetTranscodeProfileName sets the TranscodeProfileName field's value.

func (*PlaybackConfiguration) SetVideoContentSourceUrl

func (s *PlaybackConfiguration) SetVideoContentSourceUrl(v string) *PlaybackConfiguration

SetVideoContentSourceUrl sets the VideoContentSourceUrl field's value.

func (PlaybackConfiguration) String

func (s PlaybackConfiguration) String() string

String returns the string representation

type PutChannelPolicyInput

type PutChannelPolicyInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`

	// Adds an IAM role that determines the permissions of your channel.
	//
	// Policy is a required field
	Policy *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Adds an IAM policy for the channel.

func (PutChannelPolicyInput) GoString

func (s PutChannelPolicyInput) GoString() string

GoString returns the string representation

func (*PutChannelPolicyInput) SetChannelName

func (s *PutChannelPolicyInput) SetChannelName(v string) *PutChannelPolicyInput

SetChannelName sets the ChannelName field's value.

func (*PutChannelPolicyInput) SetPolicy

SetPolicy sets the Policy field's value.

func (PutChannelPolicyInput) String

func (s PutChannelPolicyInput) String() string

String returns the string representation

func (*PutChannelPolicyInput) Validate

func (s *PutChannelPolicyInput) Validate() error

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

type PutChannelPolicyOutput

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

This response includes only the "type" : "object" property.

func (PutChannelPolicyOutput) GoString

func (s PutChannelPolicyOutput) GoString() string

GoString returns the string representation

func (PutChannelPolicyOutput) String

func (s PutChannelPolicyOutput) String() string

String returns the string representation

type PutPlaybackConfigurationInput

type PutPlaybackConfigurationInput struct {

	// The URL for the ad decision server (ADS). This includes the specification
	// of static parameters and placeholders for dynamic parameters. AWS Elemental
	// MediaTailor substitutes player-specific and session-specific parameters as
	// needed when calling the ADS. Alternately, for testing you can provide a static
	// VAST URL. The maximum length is 25,000 characters.
	AdDecisionServerUrl *string `type:"string"`

	// The configuration for avail suppression, also known as ad suppression. For
	// more information about ad suppression, see Ad Suppression (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html).
	AvailSuppression *AvailSuppression `type:"structure"`

	// The configuration for bumpers. Bumpers are short audio or video clips that
	// play at the start or before the end of an ad break. To learn more about bumpers,
	// see Bumpers (https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html).
	Bumper *Bumper `type:"structure"`

	// The configuration for using a content delivery network (CDN), like Amazon
	// CloudFront, for content and ad segment management.
	CdnConfiguration *CdnConfiguration `type:"structure"`

	// The player parameters and aliases used as dynamic variables during session
	// initialization. For more information, see Domain Variables (https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html).
	ConfigurationAliases map[string]map[string]*string `type:"map"`

	// The configuration for DASH content.
	DashConfiguration *DashConfigurationForPut `type:"structure"`

	// The configuration for pre-roll ad insertion.
	LivePreRollConfiguration *LivePreRollConfiguration `type:"structure"`

	// The configuration for manifest processing rules. Manifest processing rules
	// enable customization of the personalized manifests created by MediaTailor.
	ManifestProcessingRules *ManifestProcessingRules `type:"structure"`

	// The identifier for the playback configuration.
	Name *string `type:"string"`

	// Defines the maximum duration of underfilled ad time (in seconds) allowed
	// in an ad break. If the duration of underfilled ad time exceeds the personalization
	// threshold, then the personalization of the ad break is abandoned and the
	// underlying content is shown. This feature applies to ad replacement in live
	// and VOD streams, rather than ad insertion, because it relies on an underlying
	// content stream. For more information about ad break behavior, including ad
	// replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html).
	PersonalizationThresholdSeconds *int64 `min:"1" type:"integer"`

	// The URL for a high-quality video asset to transcode and use to fill in time
	// that's not used by ads. AWS Elemental MediaTailor shows the slate to fill
	// in gaps in media content. Configuring the slate is optional for non-VPAID
	// configurations. For VPAID, the slate is required because MediaTailor provides
	// it in the slots that are designated for dynamic ad content. The slate must
	// be a high-quality asset that contains both audio and video.
	SlateAdUrl *string `type:"string"`

	// The tags to assign to the playback configuration.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The name that is used to associate this playback configuration with a custom
	// transcode profile. This overrides the dynamic transcoding defaults of MediaTailor.
	// Use this only if you have already set up custom profiles with the help of
	// AWS Support.
	TranscodeProfileName *string `type:"string"`

	// The URL prefix for the parent manifest for the stream, minus the asset ID.
	// The maximum length is 512 characters.
	VideoContentSourceUrl *string `type:"string"`
	// contains filtered or unexported fields
}

The configuration for creating a playback configuration.

func (PutPlaybackConfigurationInput) GoString

GoString returns the string representation

func (*PutPlaybackConfigurationInput) SetAdDecisionServerUrl

SetAdDecisionServerUrl sets the AdDecisionServerUrl field's value.

func (*PutPlaybackConfigurationInput) SetAvailSuppression

SetAvailSuppression sets the AvailSuppression field's value.

func (*PutPlaybackConfigurationInput) SetBumper

SetBumper sets the Bumper field's value.

func (*PutPlaybackConfigurationInput) SetCdnConfiguration

SetCdnConfiguration sets the CdnConfiguration field's value.

func (*PutPlaybackConfigurationInput) SetConfigurationAliases

func (s *PutPlaybackConfigurationInput) SetConfigurationAliases(v map[string]map[string]*string) *PutPlaybackConfigurationInput

SetConfigurationAliases sets the ConfigurationAliases field's value.

func (*PutPlaybackConfigurationInput) SetDashConfiguration

SetDashConfiguration sets the DashConfiguration field's value.

func (*PutPlaybackConfigurationInput) SetLivePreRollConfiguration

SetLivePreRollConfiguration sets the LivePreRollConfiguration field's value.

func (*PutPlaybackConfigurationInput) SetManifestProcessingRules

SetManifestProcessingRules sets the ManifestProcessingRules field's value.

func (*PutPlaybackConfigurationInput) SetName

SetName sets the Name field's value.

func (*PutPlaybackConfigurationInput) SetPersonalizationThresholdSeconds

func (s *PutPlaybackConfigurationInput) SetPersonalizationThresholdSeconds(v int64) *PutPlaybackConfigurationInput

SetPersonalizationThresholdSeconds sets the PersonalizationThresholdSeconds field's value.

func (*PutPlaybackConfigurationInput) SetSlateAdUrl

SetSlateAdUrl sets the SlateAdUrl field's value.

func (*PutPlaybackConfigurationInput) SetTags

SetTags sets the Tags field's value.

func (*PutPlaybackConfigurationInput) SetTranscodeProfileName

SetTranscodeProfileName sets the TranscodeProfileName field's value.

func (*PutPlaybackConfigurationInput) SetVideoContentSourceUrl

func (s *PutPlaybackConfigurationInput) SetVideoContentSourceUrl(v string) *PutPlaybackConfigurationInput

SetVideoContentSourceUrl sets the VideoContentSourceUrl field's value.

func (PutPlaybackConfigurationInput) String

String returns the string representation

func (*PutPlaybackConfigurationInput) Validate

func (s *PutPlaybackConfigurationInput) Validate() error

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

type PutPlaybackConfigurationOutput

type PutPlaybackConfigurationOutput struct {
	AdDecisionServerUrl *string `type:"string"`

	// The configuration for avail suppression, also known as ad suppression. For
	// more information about ad suppression, see Ad Suppression (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html).
	AvailSuppression *AvailSuppression `type:"structure"`

	// The configuration for bumpers. Bumpers are short audio or video clips that
	// play at the start or before the end of an ad break. To learn more about bumpers,
	// see Bumpers (https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html).
	Bumper *Bumper `type:"structure"`

	// The configuration for using a content delivery network (CDN), like Amazon
	// CloudFront, for content and ad segment management.
	CdnConfiguration *CdnConfiguration `type:"structure"`

	// The predefined aliases for dynamic variables.
	ConfigurationAliases map[string]map[string]*string `type:"map"`

	// The configuration for DASH content.
	DashConfiguration *DashConfiguration `type:"structure"`

	// The configuration for HLS content.
	HlsConfiguration *HlsConfiguration `type:"structure"`

	// The configuration for pre-roll ad insertion.
	LivePreRollConfiguration *LivePreRollConfiguration `type:"structure"`

	// The configuration for manifest processing rules. Manifest processing rules
	// enable customization of the personalized manifests created by MediaTailor.
	ManifestProcessingRules *ManifestProcessingRules `type:"structure"`

	Name *string `type:"string"`

	PersonalizationThresholdSeconds *int64 `min:"1" type:"integer"`

	PlaybackConfigurationArn *string `type:"string"`

	PlaybackEndpointPrefix *string `type:"string"`

	SessionInitializationEndpointPrefix *string `type:"string"`

	SlateAdUrl *string `type:"string"`

	Tags map[string]*string `locationName:"tags" type:"map"`

	TranscodeProfileName *string `type:"string"`

	VideoContentSourceUrl *string `type:"string"`
	// contains filtered or unexported fields
}

func (PutPlaybackConfigurationOutput) GoString

GoString returns the string representation

func (*PutPlaybackConfigurationOutput) SetAdDecisionServerUrl

SetAdDecisionServerUrl sets the AdDecisionServerUrl field's value.

func (*PutPlaybackConfigurationOutput) SetAvailSuppression

SetAvailSuppression sets the AvailSuppression field's value.

func (*PutPlaybackConfigurationOutput) SetBumper

SetBumper sets the Bumper field's value.

func (*PutPlaybackConfigurationOutput) SetCdnConfiguration

SetCdnConfiguration sets the CdnConfiguration field's value.

func (*PutPlaybackConfigurationOutput) SetConfigurationAliases

func (s *PutPlaybackConfigurationOutput) SetConfigurationAliases(v map[string]map[string]*string) *PutPlaybackConfigurationOutput

SetConfigurationAliases sets the ConfigurationAliases field's value.

func (*PutPlaybackConfigurationOutput) SetDashConfiguration

SetDashConfiguration sets the DashConfiguration field's value.

func (*PutPlaybackConfigurationOutput) SetHlsConfiguration

SetHlsConfiguration sets the HlsConfiguration field's value.

func (*PutPlaybackConfigurationOutput) SetLivePreRollConfiguration

SetLivePreRollConfiguration sets the LivePreRollConfiguration field's value.

func (*PutPlaybackConfigurationOutput) SetManifestProcessingRules

SetManifestProcessingRules sets the ManifestProcessingRules field's value.

func (*PutPlaybackConfigurationOutput) SetName

SetName sets the Name field's value.

func (*PutPlaybackConfigurationOutput) SetPersonalizationThresholdSeconds

func (s *PutPlaybackConfigurationOutput) SetPersonalizationThresholdSeconds(v int64) *PutPlaybackConfigurationOutput

SetPersonalizationThresholdSeconds sets the PersonalizationThresholdSeconds field's value.

func (*PutPlaybackConfigurationOutput) SetPlaybackConfigurationArn

func (s *PutPlaybackConfigurationOutput) SetPlaybackConfigurationArn(v string) *PutPlaybackConfigurationOutput

SetPlaybackConfigurationArn sets the PlaybackConfigurationArn field's value.

func (*PutPlaybackConfigurationOutput) SetPlaybackEndpointPrefix

func (s *PutPlaybackConfigurationOutput) SetPlaybackEndpointPrefix(v string) *PutPlaybackConfigurationOutput

SetPlaybackEndpointPrefix sets the PlaybackEndpointPrefix field's value.

func (*PutPlaybackConfigurationOutput) SetSessionInitializationEndpointPrefix

func (s *PutPlaybackConfigurationOutput) SetSessionInitializationEndpointPrefix(v string) *PutPlaybackConfigurationOutput

SetSessionInitializationEndpointPrefix sets the SessionInitializationEndpointPrefix field's value.

func (*PutPlaybackConfigurationOutput) SetSlateAdUrl

SetSlateAdUrl sets the SlateAdUrl field's value.

func (*PutPlaybackConfigurationOutput) SetTags

SetTags sets the Tags field's value.

func (*PutPlaybackConfigurationOutput) SetTranscodeProfileName

SetTranscodeProfileName sets the TranscodeProfileName field's value.

func (*PutPlaybackConfigurationOutput) SetVideoContentSourceUrl

SetVideoContentSourceUrl sets the VideoContentSourceUrl field's value.

func (PutPlaybackConfigurationOutput) String

String returns the string representation

type RequestOutputItem

type RequestOutputItem struct {

	// DASH manifest configuration parameters.
	DashPlaylistSettings *DashPlaylistSettings `type:"structure"`

	// HLS playlist configuration parameters.
	HlsPlaylistSettings *HlsPlaylistSettings `type:"structure"`

	// The name of the manifest for the channel. The name appears in the PlaybackUrl.
	//
	// ManifestName is a required field
	ManifestName *string `type:"string" required:"true"`

	// A string used to match which HttpPackageConfiguration is used for each VodSource.
	//
	// SourceGroup is a required field
	SourceGroup *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The ouput configuration for this channel.

func (RequestOutputItem) GoString

func (s RequestOutputItem) GoString() string

GoString returns the string representation

func (*RequestOutputItem) SetDashPlaylistSettings

func (s *RequestOutputItem) SetDashPlaylistSettings(v *DashPlaylistSettings) *RequestOutputItem

SetDashPlaylistSettings sets the DashPlaylistSettings field's value.

func (*RequestOutputItem) SetHlsPlaylistSettings

func (s *RequestOutputItem) SetHlsPlaylistSettings(v *HlsPlaylistSettings) *RequestOutputItem

SetHlsPlaylistSettings sets the HlsPlaylistSettings field's value.

func (*RequestOutputItem) SetManifestName

func (s *RequestOutputItem) SetManifestName(v string) *RequestOutputItem

SetManifestName sets the ManifestName field's value.

func (*RequestOutputItem) SetSourceGroup

func (s *RequestOutputItem) SetSourceGroup(v string) *RequestOutputItem

SetSourceGroup sets the SourceGroup field's value.

func (RequestOutputItem) String

func (s RequestOutputItem) String() string

String returns the string representation

func (*RequestOutputItem) Validate

func (s *RequestOutputItem) Validate() error

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

type ResponseOutputItem

type ResponseOutputItem struct {

	// DASH manifest configuration settings.
	DashPlaylistSettings *DashPlaylistSettings `type:"structure"`

	// HLS manifest configuration settings.
	HlsPlaylistSettings *HlsPlaylistSettings `type:"structure"`

	// The name of the manifest for the channel that will appear in the channel
	// output's playback URL.
	//
	// ManifestName is a required field
	ManifestName *string `type:"string" required:"true"`

	// The URL used for playback by content players.
	//
	// PlaybackUrl is a required field
	PlaybackUrl *string `type:"string" required:"true"`

	// A string used to associate a package configuration source group with a channel
	// output.
	//
	// SourceGroup is a required field
	SourceGroup *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

This response includes only the "property" : "type" property.

func (ResponseOutputItem) GoString

func (s ResponseOutputItem) GoString() string

GoString returns the string representation

func (*ResponseOutputItem) SetDashPlaylistSettings

func (s *ResponseOutputItem) SetDashPlaylistSettings(v *DashPlaylistSettings) *ResponseOutputItem

SetDashPlaylistSettings sets the DashPlaylistSettings field's value.

func (*ResponseOutputItem) SetHlsPlaylistSettings

func (s *ResponseOutputItem) SetHlsPlaylistSettings(v *HlsPlaylistSettings) *ResponseOutputItem

SetHlsPlaylistSettings sets the HlsPlaylistSettings field's value.

func (*ResponseOutputItem) SetManifestName

func (s *ResponseOutputItem) SetManifestName(v string) *ResponseOutputItem

SetManifestName sets the ManifestName field's value.

func (*ResponseOutputItem) SetPlaybackUrl

func (s *ResponseOutputItem) SetPlaybackUrl(v string) *ResponseOutputItem

SetPlaybackUrl sets the PlaybackUrl field's value.

func (*ResponseOutputItem) SetSourceGroup

func (s *ResponseOutputItem) SetSourceGroup(v string) *ResponseOutputItem

SetSourceGroup sets the SourceGroup field's value.

func (ResponseOutputItem) String

func (s ResponseOutputItem) String() string

String returns the string representation

type ScheduleConfiguration

type ScheduleConfiguration struct {

	// Program transition configurations.
	//
	// Transition is a required field
	Transition *Transition `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Schedule configuration parameters. A channel must be stopped before changes can be made to the schedule.

func (ScheduleConfiguration) GoString

func (s ScheduleConfiguration) GoString() string

GoString returns the string representation

func (*ScheduleConfiguration) SetTransition

SetTransition sets the Transition field's value.

func (ScheduleConfiguration) String

func (s ScheduleConfiguration) String() string

String returns the string representation

func (*ScheduleConfiguration) Validate

func (s *ScheduleConfiguration) Validate() error

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

type ScheduleEntry

type ScheduleEntry struct {

	// The approximate duration of this program, in seconds.
	ApproximateDurationSeconds *int64 `type:"long"`

	// The approximate time that the program will start playing.
	ApproximateStartTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The ARN of the program.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The name of the channel that uses this schedule.
	//
	// ChannelName is a required field
	ChannelName *string `type:"string" required:"true"`

	// The name of the program.
	//
	// ProgramName is a required field
	ProgramName *string `type:"string" required:"true"`

	// The name of the source location.
	//
	// SourceLocationName is a required field
	SourceLocationName *string `type:"string" required:"true"`

	// The name of the VOD source.
	//
	// VodSourceName is a required field
	VodSourceName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The properties for a schedule.

func (ScheduleEntry) GoString

func (s ScheduleEntry) GoString() string

GoString returns the string representation

func (*ScheduleEntry) SetApproximateDurationSeconds

func (s *ScheduleEntry) SetApproximateDurationSeconds(v int64) *ScheduleEntry

SetApproximateDurationSeconds sets the ApproximateDurationSeconds field's value.

func (*ScheduleEntry) SetApproximateStartTime

func (s *ScheduleEntry) SetApproximateStartTime(v time.Time) *ScheduleEntry

SetApproximateStartTime sets the ApproximateStartTime field's value.

func (*ScheduleEntry) SetArn

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

SetArn sets the Arn field's value.

func (*ScheduleEntry) SetChannelName

func (s *ScheduleEntry) SetChannelName(v string) *ScheduleEntry

SetChannelName sets the ChannelName field's value.

func (*ScheduleEntry) SetProgramName

func (s *ScheduleEntry) SetProgramName(v string) *ScheduleEntry

SetProgramName sets the ProgramName field's value.

func (*ScheduleEntry) SetSourceLocationName

func (s *ScheduleEntry) SetSourceLocationName(v string) *ScheduleEntry

SetSourceLocationName sets the SourceLocationName field's value.

func (*ScheduleEntry) SetVodSourceName

func (s *ScheduleEntry) SetVodSourceName(v string) *ScheduleEntry

SetVodSourceName sets the VodSourceName field's value.

func (ScheduleEntry) String

func (s ScheduleEntry) String() string

String returns the string representation

type SlateSource

type SlateSource struct {

	// The name of the source location where the slate VOD source is stored.
	SourceLocationName *string `type:"string"`

	// The slate VOD source name. The VOD source must already exist in a source
	// location before it can be used for slate.
	VodSourceName *string `type:"string"`
	// contains filtered or unexported fields
}

Slate VOD source configuration.

func (SlateSource) GoString

func (s SlateSource) GoString() string

GoString returns the string representation

func (*SlateSource) SetSourceLocationName

func (s *SlateSource) SetSourceLocationName(v string) *SlateSource

SetSourceLocationName sets the SourceLocationName field's value.

func (*SlateSource) SetVodSourceName

func (s *SlateSource) SetVodSourceName(v string) *SlateSource

SetVodSourceName sets the VodSourceName field's value.

func (SlateSource) String

func (s SlateSource) String() string

String returns the string representation

type SourceLocation

type SourceLocation struct {

	// The access configuration for the source location.
	AccessConfiguration *AccessConfiguration `type:"structure"`

	// The ARN of the SourceLocation.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The timestamp that indicates when the source location was created.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The default segment delivery configuration.
	DefaultSegmentDeliveryConfiguration *DefaultSegmentDeliveryConfiguration `type:"structure"`

	// The HTTP configuration for the source location.
	//
	// HttpConfiguration is a required field
	HttpConfiguration *HttpConfiguration `type:"structure" required:"true"`

	// The timestamp that indicates when the source location was last modified.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The name of the source location.
	//
	// SourceLocationName is a required field
	SourceLocationName *string `type:"string" required:"true"`

	// The tags assigned to the source location.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

This response includes only the "type" : "object" property.

func (SourceLocation) GoString

func (s SourceLocation) GoString() string

GoString returns the string representation

func (*SourceLocation) SetAccessConfiguration

func (s *SourceLocation) SetAccessConfiguration(v *AccessConfiguration) *SourceLocation

SetAccessConfiguration sets the AccessConfiguration field's value.

func (*SourceLocation) SetArn

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

SetArn sets the Arn field's value.

func (*SourceLocation) SetCreationTime

func (s *SourceLocation) SetCreationTime(v time.Time) *SourceLocation

SetCreationTime sets the CreationTime field's value.

func (*SourceLocation) SetDefaultSegmentDeliveryConfiguration

func (s *SourceLocation) SetDefaultSegmentDeliveryConfiguration(v *DefaultSegmentDeliveryConfiguration) *SourceLocation

SetDefaultSegmentDeliveryConfiguration sets the DefaultSegmentDeliveryConfiguration field's value.

func (*SourceLocation) SetHttpConfiguration

func (s *SourceLocation) SetHttpConfiguration(v *HttpConfiguration) *SourceLocation

SetHttpConfiguration sets the HttpConfiguration field's value.

func (*SourceLocation) SetLastModifiedTime

func (s *SourceLocation) SetLastModifiedTime(v time.Time) *SourceLocation

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*SourceLocation) SetSourceLocationName

func (s *SourceLocation) SetSourceLocationName(v string) *SourceLocation

SetSourceLocationName sets the SourceLocationName field's value.

func (*SourceLocation) SetTags

func (s *SourceLocation) SetTags(v map[string]*string) *SourceLocation

SetTags sets the Tags field's value.

func (SourceLocation) String

func (s SourceLocation) String() string

String returns the string representation

type SpliceInsertMessage

type SpliceInsertMessage struct {

	// This is written to splice_insert.avail_num, as defined in section 9.7.3.1
	// of the SCTE-35 specification. The default value is 0. Values must be between
	// 0 and 256, inclusive.
	AvailNum *int64 `type:"integer"`

	// This is written to splice_insert.avails_expected, as defined in section 9.7.3.1
	// of the SCTE-35 specification. The default value is 0. Values must be between
	// 0 and 256, inclusive.
	AvailsExpected *int64 `type:"integer"`

	// This is written to splice_insert.splice_event_id, as defined in section 9.7.3.1
	// of the SCTE-35 specification. The default value is 1.
	SpliceEventId *int64 `type:"integer"`

	// This is written to splice_insert.unique_program_id, as defined in section
	// 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must
	// be between 0 and 256, inclusive.
	UniqueProgramId *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Splice insert message configuration.

func (SpliceInsertMessage) GoString

func (s SpliceInsertMessage) GoString() string

GoString returns the string representation

func (*SpliceInsertMessage) SetAvailNum

func (s *SpliceInsertMessage) SetAvailNum(v int64) *SpliceInsertMessage

SetAvailNum sets the AvailNum field's value.

func (*SpliceInsertMessage) SetAvailsExpected

func (s *SpliceInsertMessage) SetAvailsExpected(v int64) *SpliceInsertMessage

SetAvailsExpected sets the AvailsExpected field's value.

func (*SpliceInsertMessage) SetSpliceEventId

func (s *SpliceInsertMessage) SetSpliceEventId(v int64) *SpliceInsertMessage

SetSpliceEventId sets the SpliceEventId field's value.

func (*SpliceInsertMessage) SetUniqueProgramId

func (s *SpliceInsertMessage) SetUniqueProgramId(v int64) *SpliceInsertMessage

SetUniqueProgramId sets the UniqueProgramId field's value.

func (SpliceInsertMessage) String

func (s SpliceInsertMessage) String() string

String returns the string representation

type StartChannelInput

type StartChannelInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartChannelInput) GoString

func (s StartChannelInput) GoString() string

GoString returns the string representation

func (*StartChannelInput) SetChannelName

func (s *StartChannelInput) SetChannelName(v string) *StartChannelInput

SetChannelName sets the ChannelName field's value.

func (StartChannelInput) String

func (s StartChannelInput) String() string

String returns the string representation

func (*StartChannelInput) Validate

func (s *StartChannelInput) Validate() error

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

type StartChannelOutput

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

func (StartChannelOutput) GoString

func (s StartChannelOutput) GoString() string

GoString returns the string representation

func (StartChannelOutput) String

func (s StartChannelOutput) String() string

String returns the string representation

type StopChannelInput

type StopChannelInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopChannelInput) GoString

func (s StopChannelInput) GoString() string

GoString returns the string representation

func (*StopChannelInput) SetChannelName

func (s *StopChannelInput) SetChannelName(v string) *StopChannelInput

SetChannelName sets the ChannelName field's value.

func (StopChannelInput) String

func (s StopChannelInput) String() string

String returns the string representation

func (*StopChannelInput) Validate

func (s *StopChannelInput) Validate() error

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

type StopChannelOutput

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

func (StopChannelOutput) GoString

func (s StopChannelOutput) GoString() string

GoString returns the string representation

func (StopChannelOutput) String

func (s StopChannelOutput) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// Tags is a required field
	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type Transition

type Transition struct {

	// The position where this program will be inserted relative to the RelativeProgram.
	// Possible values are: AFTER_PROGRAM, and BEFORE_PROGRAM.
	//
	// RelativePosition is a required field
	RelativePosition *string `type:"string" required:"true" enum:"RelativePosition"`

	// The name of the program that this program will be inserted next to, as defined
	// by RelativePosition.
	RelativeProgram *string `type:"string"`

	// When the program should be played. RELATIVE means that programs will be played
	// back-to-back.
	//
	// Type is a required field
	Type *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Program transition configuration.

func (Transition) GoString

func (s Transition) GoString() string

GoString returns the string representation

func (*Transition) SetRelativePosition

func (s *Transition) SetRelativePosition(v string) *Transition

SetRelativePosition sets the RelativePosition field's value.

func (*Transition) SetRelativeProgram

func (s *Transition) SetRelativeProgram(v string) *Transition

SetRelativeProgram sets the RelativeProgram field's value.

func (*Transition) SetType

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

SetType sets the Type field's value.

func (Transition) String

func (s Transition) String() string

String returns the string representation

func (*Transition) Validate

func (s *Transition) Validate() error

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

type UntagResourceInput

type UntagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateChannelInput

type UpdateChannelInput struct {

	// ChannelName is a required field
	ChannelName *string `location:"uri" locationName:"channelName" type:"string" required:"true"`

	// The channel's output properties.
	//
	// Outputs is a required field
	Outputs []*RequestOutputItem `type:"list" required:"true"`
	// contains filtered or unexported fields
}

Updates a channel's Outputs.

func (UpdateChannelInput) GoString

func (s UpdateChannelInput) GoString() string

GoString returns the string representation

func (*UpdateChannelInput) SetChannelName

func (s *UpdateChannelInput) SetChannelName(v string) *UpdateChannelInput

SetChannelName sets the ChannelName field's value.

func (*UpdateChannelInput) SetOutputs

SetOutputs sets the Outputs field's value.

func (UpdateChannelInput) String

func (s UpdateChannelInput) String() string

String returns the string representation

func (*UpdateChannelInput) Validate

func (s *UpdateChannelInput) Validate() error

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

type UpdateChannelOutput

type UpdateChannelOutput struct {
	Arn *string `type:"string"`

	ChannelName *string `type:"string"`

	ChannelState *string `type:"string" enum:"ChannelState"`

	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	Outputs []*ResponseOutputItem `type:"list"`

	PlaybackMode *string `type:"string"`

	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (UpdateChannelOutput) GoString

func (s UpdateChannelOutput) GoString() string

GoString returns the string representation

func (*UpdateChannelOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateChannelOutput) SetChannelName

func (s *UpdateChannelOutput) SetChannelName(v string) *UpdateChannelOutput

SetChannelName sets the ChannelName field's value.

func (*UpdateChannelOutput) SetChannelState

func (s *UpdateChannelOutput) SetChannelState(v string) *UpdateChannelOutput

SetChannelState sets the ChannelState field's value.

func (*UpdateChannelOutput) SetCreationTime

func (s *UpdateChannelOutput) SetCreationTime(v time.Time) *UpdateChannelOutput

SetCreationTime sets the CreationTime field's value.

func (*UpdateChannelOutput) SetLastModifiedTime

func (s *UpdateChannelOutput) SetLastModifiedTime(v time.Time) *UpdateChannelOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdateChannelOutput) SetOutputs

SetOutputs sets the Outputs field's value.

func (*UpdateChannelOutput) SetPlaybackMode

func (s *UpdateChannelOutput) SetPlaybackMode(v string) *UpdateChannelOutput

SetPlaybackMode sets the PlaybackMode field's value.

func (*UpdateChannelOutput) SetTags

SetTags sets the Tags field's value.

func (UpdateChannelOutput) String

func (s UpdateChannelOutput) String() string

String returns the string representation

type UpdateSourceLocationInput

type UpdateSourceLocationInput struct {

	// Access configuration parameters. Configures the type of authentication used
	// to access content from your source location.
	AccessConfiguration *AccessConfiguration `type:"structure"`

	// The optional configuration for the host server that serves segments.
	DefaultSegmentDeliveryConfiguration *DefaultSegmentDeliveryConfiguration `type:"structure"`

	// The HTTP configuration for the source location.
	//
	// HttpConfiguration is a required field
	HttpConfiguration *HttpConfiguration `type:"structure" required:"true"`

	// SourceLocationName is a required field
	SourceLocationName *string `location:"uri" locationName:"sourceLocationName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Source location configuration parameters.

func (UpdateSourceLocationInput) GoString

func (s UpdateSourceLocationInput) GoString() string

GoString returns the string representation

func (*UpdateSourceLocationInput) SetAccessConfiguration

SetAccessConfiguration sets the AccessConfiguration field's value.

func (*UpdateSourceLocationInput) SetDefaultSegmentDeliveryConfiguration

func (s *UpdateSourceLocationInput) SetDefaultSegmentDeliveryConfiguration(v *DefaultSegmentDeliveryConfiguration) *UpdateSourceLocationInput

SetDefaultSegmentDeliveryConfiguration sets the DefaultSegmentDeliveryConfiguration field's value.

func (*UpdateSourceLocationInput) SetHttpConfiguration

SetHttpConfiguration sets the HttpConfiguration field's value.

func (*UpdateSourceLocationInput) SetSourceLocationName

func (s *UpdateSourceLocationInput) SetSourceLocationName(v string) *UpdateSourceLocationInput

SetSourceLocationName sets the SourceLocationName field's value.

func (UpdateSourceLocationInput) String

func (s UpdateSourceLocationInput) String() string

String returns the string representation

func (*UpdateSourceLocationInput) Validate

func (s *UpdateSourceLocationInput) Validate() error

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

type UpdateSourceLocationOutput

type UpdateSourceLocationOutput struct {

	// Access configuration parameters.
	AccessConfiguration *AccessConfiguration `type:"structure"`

	Arn *string `type:"string"`

	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The optional configuration for a server that serves segments. Use this if
	// you want the segment delivery server to be different from the source location
	// server. For example, you can configure your source location server to be
	// an origination server, such as MediaPackage, and the segment delivery server
	// to be a content delivery network (CDN), such as CloudFront. If you don't
	// specify a segment delivery server, then the source location server is used.
	DefaultSegmentDeliveryConfiguration *DefaultSegmentDeliveryConfiguration `type:"structure"`

	// The HTTP configuration for the source location.
	HttpConfiguration *HttpConfiguration `type:"structure"`

	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	SourceLocationName *string `type:"string"`

	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (UpdateSourceLocationOutput) GoString

func (s UpdateSourceLocationOutput) GoString() string

GoString returns the string representation

func (*UpdateSourceLocationOutput) SetAccessConfiguration

SetAccessConfiguration sets the AccessConfiguration field's value.

func (*UpdateSourceLocationOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateSourceLocationOutput) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*UpdateSourceLocationOutput) SetDefaultSegmentDeliveryConfiguration

func (s *UpdateSourceLocationOutput) SetDefaultSegmentDeliveryConfiguration(v *DefaultSegmentDeliveryConfiguration) *UpdateSourceLocationOutput

SetDefaultSegmentDeliveryConfiguration sets the DefaultSegmentDeliveryConfiguration field's value.

func (*UpdateSourceLocationOutput) SetHttpConfiguration

SetHttpConfiguration sets the HttpConfiguration field's value.

func (*UpdateSourceLocationOutput) SetLastModifiedTime

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdateSourceLocationOutput) SetSourceLocationName

func (s *UpdateSourceLocationOutput) SetSourceLocationName(v string) *UpdateSourceLocationOutput

SetSourceLocationName sets the SourceLocationName field's value.

func (*UpdateSourceLocationOutput) SetTags

SetTags sets the Tags field's value.

func (UpdateSourceLocationOutput) String

String returns the string representation

type UpdateVodSourceInput

type UpdateVodSourceInput struct {

	// An array of HTTP package configurations for the VOD source on this account.
	//
	// HttpPackageConfigurations is a required field
	HttpPackageConfigurations []*HttpPackageConfiguration `type:"list" required:"true"`

	// SourceLocationName is a required field
	SourceLocationName *string `location:"uri" locationName:"sourceLocationName" type:"string" required:"true"`

	// VodSourceName is a required field
	VodSourceName *string `location:"uri" locationName:"vodSourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Updates a VOD source's configuration.

func (UpdateVodSourceInput) GoString

func (s UpdateVodSourceInput) GoString() string

GoString returns the string representation

func (*UpdateVodSourceInput) SetHttpPackageConfigurations

func (s *UpdateVodSourceInput) SetHttpPackageConfigurations(v []*HttpPackageConfiguration) *UpdateVodSourceInput

SetHttpPackageConfigurations sets the HttpPackageConfigurations field's value.

func (*UpdateVodSourceInput) SetSourceLocationName

func (s *UpdateVodSourceInput) SetSourceLocationName(v string) *UpdateVodSourceInput

SetSourceLocationName sets the SourceLocationName field's value.

func (*UpdateVodSourceInput) SetVodSourceName

func (s *UpdateVodSourceInput) SetVodSourceName(v string) *UpdateVodSourceInput

SetVodSourceName sets the VodSourceName field's value.

func (UpdateVodSourceInput) String

func (s UpdateVodSourceInput) String() string

String returns the string representation

func (*UpdateVodSourceInput) Validate

func (s *UpdateVodSourceInput) Validate() error

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

type UpdateVodSourceOutput

type UpdateVodSourceOutput struct {
	Arn *string `type:"string"`

	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The VOD source's HTTP package configuration settings.
	HttpPackageConfigurations []*HttpPackageConfiguration `type:"list"`

	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	SourceLocationName *string `type:"string"`

	Tags map[string]*string `locationName:"tags" type:"map"`

	VodSourceName *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateVodSourceOutput) GoString

func (s UpdateVodSourceOutput) GoString() string

GoString returns the string representation

func (*UpdateVodSourceOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateVodSourceOutput) SetCreationTime

func (s *UpdateVodSourceOutput) SetCreationTime(v time.Time) *UpdateVodSourceOutput

SetCreationTime sets the CreationTime field's value.

func (*UpdateVodSourceOutput) SetHttpPackageConfigurations

func (s *UpdateVodSourceOutput) SetHttpPackageConfigurations(v []*HttpPackageConfiguration) *UpdateVodSourceOutput

SetHttpPackageConfigurations sets the HttpPackageConfigurations field's value.

func (*UpdateVodSourceOutput) SetLastModifiedTime

func (s *UpdateVodSourceOutput) SetLastModifiedTime(v time.Time) *UpdateVodSourceOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdateVodSourceOutput) SetSourceLocationName

func (s *UpdateVodSourceOutput) SetSourceLocationName(v string) *UpdateVodSourceOutput

SetSourceLocationName sets the SourceLocationName field's value.

func (*UpdateVodSourceOutput) SetTags

SetTags sets the Tags field's value.

func (*UpdateVodSourceOutput) SetVodSourceName

func (s *UpdateVodSourceOutput) SetVodSourceName(v string) *UpdateVodSourceOutput

SetVodSourceName sets the VodSourceName field's value.

func (UpdateVodSourceOutput) String

func (s UpdateVodSourceOutput) String() string

String returns the string representation

type VodSource

type VodSource struct {

	// The ARN for the VOD source.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The timestamp that indicates when the VOD source was created.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The HTTP package configurations for the VOD source.
	//
	// HttpPackageConfigurations is a required field
	HttpPackageConfigurations []*HttpPackageConfiguration `type:"list" required:"true"`

	// The timestamp that indicates when the VOD source was last modified.
	LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"unixTimestamp"`

	// The name of the source location that the VOD source is associated with.
	//
	// SourceLocationName is a required field
	SourceLocationName *string `type:"string" required:"true"`

	// The tags assigned to the VOD source.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The name of the VOD source.
	//
	// VodSourceName is a required field
	VodSourceName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

VOD source configuration parameters.

func (VodSource) GoString

func (s VodSource) GoString() string

GoString returns the string representation

func (*VodSource) SetArn

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

SetArn sets the Arn field's value.

func (*VodSource) SetCreationTime

func (s *VodSource) SetCreationTime(v time.Time) *VodSource

SetCreationTime sets the CreationTime field's value.

func (*VodSource) SetHttpPackageConfigurations

func (s *VodSource) SetHttpPackageConfigurations(v []*HttpPackageConfiguration) *VodSource

SetHttpPackageConfigurations sets the HttpPackageConfigurations field's value.

func (*VodSource) SetLastModifiedTime

func (s *VodSource) SetLastModifiedTime(v time.Time) *VodSource

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*VodSource) SetSourceLocationName

func (s *VodSource) SetSourceLocationName(v string) *VodSource

SetSourceLocationName sets the SourceLocationName field's value.

func (*VodSource) SetTags

func (s *VodSource) SetTags(v map[string]*string) *VodSource

SetTags sets the Tags field's value.

func (*VodSource) SetVodSourceName

func (s *VodSource) SetVodSourceName(v string) *VodSource

SetVodSourceName sets the VodSourceName field's value.

func (VodSource) String

func (s VodSource) String() string

String returns the string representation

Directories

Path Synopsis
Package mediatailoriface provides an interface to enable mocking the AWS MediaTailor service client for testing your code.
Package mediatailoriface provides an interface to enable mocking the AWS MediaTailor service client for testing your code.

Jump to

Keyboard shortcuts

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