package mediatailor
import "github.com/aws/aws-sdk-go-v2/service/mediatailor"
Package mediatailor provides the API client, operations, and parameter types for 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).
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) CreateChannel(ctx context.Context, params *CreateChannelInput, optFns ...func(*Options)) (*CreateChannelOutput, error)
- func (c *Client) CreateProgram(ctx context.Context, params *CreateProgramInput, optFns ...func(*Options)) (*CreateProgramOutput, error)
- func (c *Client) CreateSourceLocation(ctx context.Context, params *CreateSourceLocationInput, optFns ...func(*Options)) (*CreateSourceLocationOutput, error)
- func (c *Client) CreateVodSource(ctx context.Context, params *CreateVodSourceInput, optFns ...func(*Options)) (*CreateVodSourceOutput, error)
- func (c *Client) DeleteChannel(ctx context.Context, params *DeleteChannelInput, optFns ...func(*Options)) (*DeleteChannelOutput, error)
- func (c *Client) DeleteChannelPolicy(ctx context.Context, params *DeleteChannelPolicyInput, optFns ...func(*Options)) (*DeleteChannelPolicyOutput, error)
- func (c *Client) DeletePlaybackConfiguration(ctx context.Context, params *DeletePlaybackConfigurationInput, optFns ...func(*Options)) (*DeletePlaybackConfigurationOutput, error)
- func (c *Client) DeleteProgram(ctx context.Context, params *DeleteProgramInput, optFns ...func(*Options)) (*DeleteProgramOutput, error)
- func (c *Client) DeleteSourceLocation(ctx context.Context, params *DeleteSourceLocationInput, optFns ...func(*Options)) (*DeleteSourceLocationOutput, error)
- func (c *Client) DeleteVodSource(ctx context.Context, params *DeleteVodSourceInput, optFns ...func(*Options)) (*DeleteVodSourceOutput, error)
- func (c *Client) DescribeChannel(ctx context.Context, params *DescribeChannelInput, optFns ...func(*Options)) (*DescribeChannelOutput, error)
- func (c *Client) DescribeProgram(ctx context.Context, params *DescribeProgramInput, optFns ...func(*Options)) (*DescribeProgramOutput, error)
- func (c *Client) DescribeSourceLocation(ctx context.Context, params *DescribeSourceLocationInput, optFns ...func(*Options)) (*DescribeSourceLocationOutput, error)
- func (c *Client) DescribeVodSource(ctx context.Context, params *DescribeVodSourceInput, optFns ...func(*Options)) (*DescribeVodSourceOutput, error)
- func (c *Client) GetChannelPolicy(ctx context.Context, params *GetChannelPolicyInput, optFns ...func(*Options)) (*GetChannelPolicyOutput, error)
- func (c *Client) GetChannelSchedule(ctx context.Context, params *GetChannelScheduleInput, optFns ...func(*Options)) (*GetChannelScheduleOutput, error)
- func (c *Client) GetPlaybackConfiguration(ctx context.Context, params *GetPlaybackConfigurationInput, optFns ...func(*Options)) (*GetPlaybackConfigurationOutput, error)
- func (c *Client) ListChannels(ctx context.Context, params *ListChannelsInput, optFns ...func(*Options)) (*ListChannelsOutput, error)
- func (c *Client) ListPlaybackConfigurations(ctx context.Context, params *ListPlaybackConfigurationsInput, optFns ...func(*Options)) (*ListPlaybackConfigurationsOutput, error)
- func (c *Client) ListSourceLocations(ctx context.Context, params *ListSourceLocationsInput, optFns ...func(*Options)) (*ListSourceLocationsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) ListVodSources(ctx context.Context, params *ListVodSourcesInput, optFns ...func(*Options)) (*ListVodSourcesOutput, error)
- func (c *Client) PutChannelPolicy(ctx context.Context, params *PutChannelPolicyInput, optFns ...func(*Options)) (*PutChannelPolicyOutput, error)
- func (c *Client) PutPlaybackConfiguration(ctx context.Context, params *PutPlaybackConfigurationInput, optFns ...func(*Options)) (*PutPlaybackConfigurationOutput, error)
- func (c *Client) StartChannel(ctx context.Context, params *StartChannelInput, optFns ...func(*Options)) (*StartChannelOutput, error)
- func (c *Client) StopChannel(ctx context.Context, params *StopChannelInput, optFns ...func(*Options)) (*StopChannelOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateChannel(ctx context.Context, params *UpdateChannelInput, optFns ...func(*Options)) (*UpdateChannelOutput, error)
- func (c *Client) UpdateSourceLocation(ctx context.Context, params *UpdateSourceLocationInput, optFns ...func(*Options)) (*UpdateSourceLocationOutput, error)
- func (c *Client) UpdateVodSource(ctx context.Context, params *UpdateVodSourceInput, optFns ...func(*Options)) (*UpdateVodSourceOutput, error)
- type CreateChannelInput
- type CreateChannelOutput
- type CreateProgramInput
- type CreateProgramOutput
- type CreateSourceLocationInput
- type CreateSourceLocationOutput
- type CreateVodSourceInput
- type CreateVodSourceOutput
- type DeleteChannelInput
- type DeleteChannelOutput
- type DeleteChannelPolicyInput
- type DeleteChannelPolicyOutput
- type DeletePlaybackConfigurationInput
- type DeletePlaybackConfigurationOutput
- type DeleteProgramInput
- type DeleteProgramOutput
- type DeleteSourceLocationInput
- type DeleteSourceLocationOutput
- type DeleteVodSourceInput
- type DeleteVodSourceOutput
- type DescribeChannelInput
- type DescribeChannelOutput
- type DescribeProgramInput
- type DescribeProgramOutput
- type DescribeSourceLocationInput
- type DescribeSourceLocationOutput
- type DescribeVodSourceInput
- type DescribeVodSourceOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetChannelPolicyInput
- type GetChannelPolicyOutput
- type GetChannelScheduleAPIClient
- type GetChannelScheduleInput
- type GetChannelScheduleOutput
- type GetChannelSchedulePaginator
- func NewGetChannelSchedulePaginator(client GetChannelScheduleAPIClient, params *GetChannelScheduleInput, optFns ...func(*GetChannelSchedulePaginatorOptions)) *GetChannelSchedulePaginator
- func (p *GetChannelSchedulePaginator) HasMorePages() bool
- func (p *GetChannelSchedulePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetChannelScheduleOutput, error)
- type GetChannelSchedulePaginatorOptions
- type GetPlaybackConfigurationInput
- type GetPlaybackConfigurationOutput
- type HTTPClient
- type HTTPSignerV4
- type ListChannelsAPIClient
- type ListChannelsInput
- type ListChannelsOutput
- type ListChannelsPaginator
- func NewListChannelsPaginator(client ListChannelsAPIClient, params *ListChannelsInput, optFns ...func(*ListChannelsPaginatorOptions)) *ListChannelsPaginator
- func (p *ListChannelsPaginator) HasMorePages() bool
- func (p *ListChannelsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListChannelsOutput, error)
- type ListChannelsPaginatorOptions
- type ListPlaybackConfigurationsAPIClient
- type ListPlaybackConfigurationsInput
- type ListPlaybackConfigurationsOutput
- type ListPlaybackConfigurationsPaginator
- func NewListPlaybackConfigurationsPaginator(client ListPlaybackConfigurationsAPIClient, params *ListPlaybackConfigurationsInput, optFns ...func(*ListPlaybackConfigurationsPaginatorOptions)) *ListPlaybackConfigurationsPaginator
- func (p *ListPlaybackConfigurationsPaginator) HasMorePages() bool
- func (p *ListPlaybackConfigurationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListPlaybackConfigurationsOutput, error)
- type ListPlaybackConfigurationsPaginatorOptions
- type ListSourceLocationsAPIClient
- type ListSourceLocationsInput
- type ListSourceLocationsOutput
- type ListSourceLocationsPaginator
- func NewListSourceLocationsPaginator(client ListSourceLocationsAPIClient, params *ListSourceLocationsInput, optFns ...func(*ListSourceLocationsPaginatorOptions)) *ListSourceLocationsPaginator
- func (p *ListSourceLocationsPaginator) HasMorePages() bool
- func (p *ListSourceLocationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSourceLocationsOutput, error)
- type ListSourceLocationsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListVodSourcesAPIClient
- type ListVodSourcesInput
- type ListVodSourcesOutput
- type ListVodSourcesPaginator
- func NewListVodSourcesPaginator(client ListVodSourcesAPIClient, params *ListVodSourcesInput, optFns ...func(*ListVodSourcesPaginatorOptions)) *ListVodSourcesPaginator
- func (p *ListVodSourcesPaginator) HasMorePages() bool
- func (p *ListVodSourcesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListVodSourcesOutput, error)
- type ListVodSourcesPaginatorOptions
- type Options
- type PutChannelPolicyInput
- type PutChannelPolicyOutput
- type PutPlaybackConfigurationInput
- type PutPlaybackConfigurationOutput
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type StartChannelInput
- type StartChannelOutput
- type StopChannelInput
- type StopChannelOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateChannelInput
- type UpdateChannelOutput
- type UpdateSourceLocationInput
- type UpdateSourceLocationOutput
- type UpdateVodSourceInput
- type UpdateVodSourceOutput
Constants ¶
const ServiceAPIVersion = "2018-04-23"
const ServiceID = "MediaTailor"
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS MediaTailor.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateChannel ¶
func (c *Client) CreateChannel(ctx context.Context, params *CreateChannelInput, optFns ...func(*Options)) (*CreateChannelOutput, error)
Creates a channel.
func (*Client) CreateProgram ¶
func (c *Client) CreateProgram(ctx context.Context, params *CreateProgramInput, optFns ...func(*Options)) (*CreateProgramOutput, error)
Creates a program.
func (*Client) CreateSourceLocation ¶
func (c *Client) CreateSourceLocation(ctx context.Context, params *CreateSourceLocationInput, optFns ...func(*Options)) (*CreateSourceLocationOutput, error)
Creates a source location on a specific channel.
func (*Client) CreateVodSource ¶
func (c *Client) CreateVodSource(ctx context.Context, params *CreateVodSourceInput, optFns ...func(*Options)) (*CreateVodSourceOutput, error)
Creates name for a specific VOD source in a source location.
func (*Client) DeleteChannel ¶
func (c *Client) DeleteChannel(ctx context.Context, params *DeleteChannelInput, optFns ...func(*Options)) (*DeleteChannelOutput, error)
Deletes a channel. You must stop the channel before it can be deleted.
func (*Client) DeleteChannelPolicy ¶
func (c *Client) DeleteChannelPolicy(ctx context.Context, params *DeleteChannelPolicyInput, optFns ...func(*Options)) (*DeleteChannelPolicyOutput, error)
Deletes a channel's IAM policy.
func (*Client) DeletePlaybackConfiguration ¶
func (c *Client) DeletePlaybackConfiguration(ctx context.Context, params *DeletePlaybackConfigurationInput, optFns ...func(*Options)) (*DeletePlaybackConfigurationOutput, error)
Deletes the playback configuration for the specified name.
func (*Client) DeleteProgram ¶
func (c *Client) DeleteProgram(ctx context.Context, params *DeleteProgramInput, optFns ...func(*Options)) (*DeleteProgramOutput, error)
Deletes a specific program on a specific channel.
func (*Client) DeleteSourceLocation ¶
func (c *Client) DeleteSourceLocation(ctx context.Context, params *DeleteSourceLocationInput, optFns ...func(*Options)) (*DeleteSourceLocationOutput, error)
Deletes a source location on a specific channel.
func (*Client) DeleteVodSource ¶
func (c *Client) DeleteVodSource(ctx context.Context, params *DeleteVodSourceInput, optFns ...func(*Options)) (*DeleteVodSourceOutput, error)
Deletes a specific VOD source in a specific source location.
func (*Client) DescribeChannel ¶
func (c *Client) DescribeChannel(ctx context.Context, params *DescribeChannelInput, optFns ...func(*Options)) (*DescribeChannelOutput, error)
Describes the properties of a specific channel.
func (*Client) DescribeProgram ¶
func (c *Client) DescribeProgram(ctx context.Context, params *DescribeProgramInput, optFns ...func(*Options)) (*DescribeProgramOutput, error)
Retrieves the properties of the requested program.
func (*Client) DescribeSourceLocation ¶
func (c *Client) DescribeSourceLocation(ctx context.Context, params *DescribeSourceLocationInput, optFns ...func(*Options)) (*DescribeSourceLocationOutput, error)
Retrieves the properties of the requested source location.
func (*Client) DescribeVodSource ¶
func (c *Client) DescribeVodSource(ctx context.Context, params *DescribeVodSourceInput, optFns ...func(*Options)) (*DescribeVodSourceOutput, error)
Provides details about a specific VOD source in a specific source location.
func (*Client) GetChannelPolicy ¶
func (c *Client) GetChannelPolicy(ctx context.Context, params *GetChannelPolicyInput, optFns ...func(*Options)) (*GetChannelPolicyOutput, error)
Retrieves information about a channel's IAM policy.
func (*Client) GetChannelSchedule ¶
func (c *Client) GetChannelSchedule(ctx context.Context, params *GetChannelScheduleInput, optFns ...func(*Options)) (*GetChannelScheduleOutput, error)
Retrieves information about your channel's schedule.
func (*Client) GetPlaybackConfiguration ¶
func (c *Client) GetPlaybackConfiguration(ctx context.Context, params *GetPlaybackConfigurationInput, optFns ...func(*Options)) (*GetPlaybackConfigurationOutput, error)
Returns the playback configuration for the specified name.
func (*Client) ListChannels ¶
func (c *Client) ListChannels(ctx context.Context, params *ListChannelsInput, optFns ...func(*Options)) (*ListChannelsOutput, error)
Retrieves a list of channels that are associated with this account.
func (*Client) ListPlaybackConfigurations ¶
func (c *Client) ListPlaybackConfigurations(ctx context.Context, params *ListPlaybackConfigurationsInput, optFns ...func(*Options)) (*ListPlaybackConfigurationsOutput, error)
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.
func (*Client) ListSourceLocations ¶
func (c *Client) ListSourceLocations(ctx context.Context, params *ListSourceLocationsInput, optFns ...func(*Options)) (*ListSourceLocationsOutput, error)
Retrieves a list of source locations.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Returns a list of the tags assigned to the specified playback configuration resource.
func (*Client) ListVodSources ¶
func (c *Client) ListVodSources(ctx context.Context, params *ListVodSourcesInput, optFns ...func(*Options)) (*ListVodSourcesOutput, error)
Lists all the VOD sources in a source location.
func (*Client) PutChannelPolicy ¶
func (c *Client) PutChannelPolicy(ctx context.Context, params *PutChannelPolicyInput, optFns ...func(*Options)) (*PutChannelPolicyOutput, error)
Creates an IAM policy for the channel.
func (*Client) PutPlaybackConfiguration ¶
func (c *Client) PutPlaybackConfiguration(ctx context.Context, params *PutPlaybackConfigurationInput, optFns ...func(*Options)) (*PutPlaybackConfigurationOutput, error)
Adds a new playback configuration to AWS Elemental MediaTailor.
func (*Client) StartChannel ¶
func (c *Client) StartChannel(ctx context.Context, params *StartChannelInput, optFns ...func(*Options)) (*StartChannelOutput, error)
Starts a specific channel.
func (*Client) StopChannel ¶
func (c *Client) StopChannel(ctx context.Context, params *StopChannelInput, optFns ...func(*Options)) (*StopChannelOutput, error)
Stops a specific channel.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
func (*Client) UpdateChannel ¶
func (c *Client) UpdateChannel(ctx context.Context, params *UpdateChannelInput, optFns ...func(*Options)) (*UpdateChannelOutput, error)
Updates an existing channel.
func (*Client) UpdateSourceLocation ¶
func (c *Client) UpdateSourceLocation(ctx context.Context, params *UpdateSourceLocationInput, optFns ...func(*Options)) (*UpdateSourceLocationOutput, error)
Updates a source location on a specific channel.
func (*Client) UpdateVodSource ¶
func (c *Client) UpdateVodSource(ctx context.Context, params *UpdateVodSourceInput, optFns ...func(*Options)) (*UpdateVodSourceOutput, error)
Updates a specific VOD source in a specific source location.
type CreateChannelInput ¶
type CreateChannelInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string // The channel's output properties. // // This member is required. Outputs []types.RequestOutputItem // The type of playback mode for this channel. The only supported value is LOOP. // // This member is required. PlaybackMode types.PlaybackMode // The tags to assign to the channel. Tags map[string]string }
type CreateChannelOutput ¶
type CreateChannelOutput struct { // The ARN of the channel. Arn *string // The name of the channel. ChannelName *string // Indicates whether the channel is in a running state or not. ChannelState types.ChannelState // The timestamp of when the channel was created. CreationTime *time.Time // The timestamp of when the channel was last modified. LastModifiedTime *time.Time // The channel's output properties. Outputs []types.ResponseOutputItem // The type of playback for this channel. The only supported value is LOOP. PlaybackMode *string // The tags assigned to the channel. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateProgramInput ¶
type CreateProgramInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string // The identifier for the program you are working on. // // This member is required. ProgramName *string // The schedule configuration settings. // // This member is required. ScheduleConfiguration *types.ScheduleConfiguration // The name of the source location. // // This member is required. SourceLocationName *string // The name that's used to refer to a VOD source. // // This member is required. VodSourceName *string // The ad break configuration settings. AdBreaks []types.AdBreak }
type CreateProgramOutput ¶
type CreateProgramOutput struct { // The ad break configuration settings. AdBreaks []types.AdBreak // The ARN of the program. Arn *string // The name of the channel that the program belongs to. ChannelName *string // The timestamp of when the program was created. CreationTime *time.Time // The name of the program. ProgramName *string // The source location name. SourceLocationName *string // The name that's used to refer to a VOD source. VodSourceName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateSourceLocationInput ¶
type CreateSourceLocationInput struct { // The source's HTTP package configurations. // // This member is required. HttpConfiguration *types.HttpConfiguration // The identifier for the source location you are working on. // // This member is required. SourceLocationName *string // Access configuration parameters. Configures the type of authentication used to // access content from your source location. AccessConfiguration *types.AccessConfiguration // The optional configuration for the server that serves segments. DefaultSegmentDeliveryConfiguration *types.DefaultSegmentDeliveryConfiguration // The tags to assign to the source location. Tags map[string]string }
type CreateSourceLocationOutput ¶
type CreateSourceLocationOutput struct { // The access configuration for the source location. AccessConfiguration *types.AccessConfiguration // The ARN of the source location. Arn *string // The timestamp that indicates when the source location was created. CreationTime *time.Time // The default segment delivery configuration settings. DefaultSegmentDeliveryConfiguration *types.DefaultSegmentDeliveryConfiguration // The HTTP package configuration settings for the source location. HttpConfiguration *types.HttpConfiguration // The timestamp that indicates when the source location was last modified. LastModifiedTime *time.Time // The name of the source location. SourceLocationName *string // The tags assigned to the source location. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateVodSourceInput ¶
type CreateVodSourceInput struct { // An array of HTTP package configuration parameters for this VOD source. // // This member is required. HttpPackageConfigurations []types.HttpPackageConfiguration // The identifier for the source location you are working on. // // This member is required. SourceLocationName *string // The identifier for the VOD source you are working on. // // This member is required. VodSourceName *string // The tags to assign to the VOD source. Tags map[string]string }
type CreateVodSourceOutput ¶
type CreateVodSourceOutput struct { // The ARN of the VOD source. Arn *string // The timestamp that indicates when the VOD source was created. CreationTime *time.Time // The HTTP package configurations. HttpPackageConfigurations []types.HttpPackageConfiguration // The ARN for the VOD source. LastModifiedTime *time.Time // The name of the source location associated with the VOD source. SourceLocationName *string // The tags assigned to the VOD source. Tags map[string]string // The name of the VOD source. VodSourceName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteChannelInput ¶
type DeleteChannelInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string }
type DeleteChannelOutput ¶
type DeleteChannelOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteChannelPolicyInput ¶
type DeleteChannelPolicyInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string }
type DeleteChannelPolicyOutput ¶
type DeleteChannelPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeletePlaybackConfigurationInput ¶
type DeletePlaybackConfigurationInput struct { // The identifier for the playback configuration. // // This member is required. Name *string }
type DeletePlaybackConfigurationOutput ¶
type DeletePlaybackConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteProgramInput ¶
type DeleteProgramInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string // The identifier for the program you are working on. // // This member is required. ProgramName *string }
type DeleteProgramOutput ¶
type DeleteProgramOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteSourceLocationInput ¶
type DeleteSourceLocationInput struct { // The identifier for the source location you are working on. // // This member is required. SourceLocationName *string }
type DeleteSourceLocationOutput ¶
type DeleteSourceLocationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteVodSourceInput ¶
type DeleteVodSourceInput struct { // The identifier for the source location you are working on. // // This member is required. SourceLocationName *string // The identifier for the VOD source you are working on. // // This member is required. VodSourceName *string }
type DeleteVodSourceOutput ¶
type DeleteVodSourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeChannelInput ¶
type DescribeChannelInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string }
type DescribeChannelOutput ¶
type DescribeChannelOutput struct { // The ARN of the channel. Arn *string // The name of the channel. ChannelName *string // Indicates whether the channel is in a running state or not. ChannelState types.ChannelState // The timestamp of when the channel was created. CreationTime *time.Time // The timestamp of when the channel was last modified. LastModifiedTime *time.Time // The channel's output properties. Outputs []types.ResponseOutputItem // The type of playback for this channel. The only supported value is LOOP. PlaybackMode *string // The tags assigned to the channel. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeProgramInput ¶
type DescribeProgramInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string // The identifier for the program you are working on. // // This member is required. ProgramName *string }
type DescribeProgramOutput ¶
type DescribeProgramOutput struct { // The ad break configuration settings. AdBreaks []types.AdBreak // The ARN of the program. Arn *string // The name of the channel that the program belongs to. ChannelName *string // The timestamp of when the program was created. CreationTime *time.Time // The name of the program. ProgramName *string // The source location name. SourceLocationName *string // The name that's used to refer to a VOD source. VodSourceName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeSourceLocationInput ¶
type DescribeSourceLocationInput struct { // The identifier for the source location you are working on. // // This member is required. SourceLocationName *string }
type DescribeSourceLocationOutput ¶
type DescribeSourceLocationOutput struct { // The access configuration for the source location. AccessConfiguration *types.AccessConfiguration // The ARN of the source location. Arn *string // The timestamp that indicates when the source location was created. CreationTime *time.Time // The default segment delivery configuration settings. DefaultSegmentDeliveryConfiguration *types.DefaultSegmentDeliveryConfiguration // The HTTP package configuration settings for the source location. HttpConfiguration *types.HttpConfiguration // The timestamp that indicates when the source location was last modified. LastModifiedTime *time.Time // The name of the source location. SourceLocationName *string // The tags assigned to the source location. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeVodSourceInput ¶
type DescribeVodSourceInput struct { // The identifier for the source location you are working on. // // This member is required. SourceLocationName *string // The identifier for the VOD source you are working on. // // This member is required. VodSourceName *string }
type DescribeVodSourceOutput ¶
type DescribeVodSourceOutput struct { // The ARN of the VOD source. Arn *string // The timestamp that indicates when the VOD source was created. CreationTime *time.Time // The HTTP package configurations. HttpPackageConfigurations []types.HttpPackageConfiguration // The ARN for the VOD source. LastModifiedTime *time.Time // The name of the source location associated with the VOD source. SourceLocationName *string // The tags assigned to the VOD source. Tags map[string]string // The name of the VOD source. VodSourceName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GetChannelPolicyInput ¶
type GetChannelPolicyInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string }
type GetChannelPolicyOutput ¶
type GetChannelPolicyOutput struct { // The IAM policy for the channel. Policy *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetChannelScheduleAPIClient ¶
type GetChannelScheduleAPIClient interface { GetChannelSchedule(context.Context, *GetChannelScheduleInput, ...func(*Options)) (*GetChannelScheduleOutput, error) }
GetChannelScheduleAPIClient is a client that implements the GetChannelSchedule operation.
type GetChannelScheduleInput ¶
type GetChannelScheduleInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string // The schedule duration in minutes. The maximum duration is 4320 minutes (three // days). DurationMinutes *string // Upper bound on number of records to return. The maximum number of results is // 100. MaxResults int32 // Pagination token from the GET list request. Use the token to fetch the next page // of results. NextToken *string }
type GetChannelScheduleOutput ¶
type GetChannelScheduleOutput struct { // An array of schedule entries for the channel. Items []types.ScheduleEntry // Pagination token from the GET list request. Use the token to fetch the next page // of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetChannelSchedulePaginator ¶
type GetChannelSchedulePaginator struct {
// contains filtered or unexported fields
}
GetChannelSchedulePaginator is a paginator for GetChannelSchedule
func NewGetChannelSchedulePaginator ¶
func NewGetChannelSchedulePaginator(client GetChannelScheduleAPIClient, params *GetChannelScheduleInput, optFns ...func(*GetChannelSchedulePaginatorOptions)) *GetChannelSchedulePaginator
NewGetChannelSchedulePaginator returns a new GetChannelSchedulePaginator
func (*GetChannelSchedulePaginator) HasMorePages ¶
func (p *GetChannelSchedulePaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetChannelSchedulePaginator) NextPage ¶
func (p *GetChannelSchedulePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetChannelScheduleOutput, error)
NextPage retrieves the next GetChannelSchedule page.
type GetChannelSchedulePaginatorOptions ¶
type GetChannelSchedulePaginatorOptions struct { // Upper bound on number of records to return. The maximum number of results is // 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
GetChannelSchedulePaginatorOptions is the paginator options for GetChannelSchedule
type GetPlaybackConfigurationInput ¶
type GetPlaybackConfigurationInput struct { // The identifier for the playback configuration. // // This member is required. Name *string }
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 // 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 *types.AvailSuppression // 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 *types.Bumper // The configuration for using a content delivery network (CDN), like Amazon // CloudFront, for content and ad segment management. CdnConfiguration *types.CdnConfiguration // 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 // The configuration for DASH content. DashConfiguration *types.DashConfiguration // The configuration for HLS content. HlsConfiguration *types.HlsConfiguration // The configuration for pre-roll ad insertion. LivePreRollConfiguration *types.LivePreRollConfiguration // The configuration for manifest processing rules. Manifest processing rules // enable customization of the personalized manifests created by MediaTailor. ManifestProcessingRules *types.ManifestProcessingRules // The identifier for the playback configuration. Name *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 int32 // The Amazon Resource Name (ARN) for the playback configuration. PlaybackConfigurationArn *string // The URL that the player accesses to get a manifest from AWS Elemental // MediaTailor. This session will use server-side reporting. PlaybackEndpointPrefix *string // The URL that the player uses to initialize a session that uses client-side // reporting. SessionInitializationEndpointPrefix *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 // The tags assigned to the playback configuration. Tags map[string]string // 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 // The URL prefix for the parent manifest for the stream, minus the asset ID. The // maximum length is 512 characters. VideoContentSourceUrl *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error }
type ListChannelsAPIClient ¶
type ListChannelsAPIClient interface { ListChannels(context.Context, *ListChannelsInput, ...func(*Options)) (*ListChannelsOutput, error) }
ListChannelsAPIClient is a client that implements the ListChannels operation.
type ListChannelsInput ¶
type ListChannelsInput struct { // Upper bound on number of records to return. The maximum number of results is // 100. MaxResults int32 // Pagination token from the GET list request. Use the token to fetch the next page // of results. NextToken *string }
type ListChannelsOutput ¶
type ListChannelsOutput struct { // An array of channels that are associated with this account. Items []types.Channel // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListChannelsPaginator ¶
type ListChannelsPaginator struct {
// contains filtered or unexported fields
}
ListChannelsPaginator is a paginator for ListChannels
func NewListChannelsPaginator ¶
func NewListChannelsPaginator(client ListChannelsAPIClient, params *ListChannelsInput, optFns ...func(*ListChannelsPaginatorOptions)) *ListChannelsPaginator
NewListChannelsPaginator returns a new ListChannelsPaginator
func (*ListChannelsPaginator) HasMorePages ¶
func (p *ListChannelsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListChannelsPaginator) NextPage ¶
func (p *ListChannelsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListChannelsOutput, error)
NextPage retrieves the next ListChannels page.
type ListChannelsPaginatorOptions ¶
type ListChannelsPaginatorOptions struct { // Upper bound on number of records to return. The maximum number of results is // 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListChannelsPaginatorOptions is the paginator options for ListChannels
type ListPlaybackConfigurationsAPIClient ¶
type ListPlaybackConfigurationsAPIClient interface { ListPlaybackConfigurations(context.Context, *ListPlaybackConfigurationsInput, ...func(*Options)) (*ListPlaybackConfigurationsOutput, error) }
ListPlaybackConfigurationsAPIClient is a client that implements the ListPlaybackConfigurations operation.
type ListPlaybackConfigurationsInput ¶
type ListPlaybackConfigurationsInput struct { // Maximum number of records to return. MaxResults int32 // 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 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 []types.PlaybackConfiguration // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListPlaybackConfigurationsPaginator ¶
type ListPlaybackConfigurationsPaginator struct {
// contains filtered or unexported fields
}
ListPlaybackConfigurationsPaginator is a paginator for ListPlaybackConfigurations
func NewListPlaybackConfigurationsPaginator ¶
func NewListPlaybackConfigurationsPaginator(client ListPlaybackConfigurationsAPIClient, params *ListPlaybackConfigurationsInput, optFns ...func(*ListPlaybackConfigurationsPaginatorOptions)) *ListPlaybackConfigurationsPaginator
NewListPlaybackConfigurationsPaginator returns a new ListPlaybackConfigurationsPaginator
func (*ListPlaybackConfigurationsPaginator) HasMorePages ¶
func (p *ListPlaybackConfigurationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListPlaybackConfigurationsPaginator) NextPage ¶
func (p *ListPlaybackConfigurationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListPlaybackConfigurationsOutput, error)
NextPage retrieves the next ListPlaybackConfigurations page.
type ListPlaybackConfigurationsPaginatorOptions ¶
type ListPlaybackConfigurationsPaginatorOptions struct { // Maximum number of records to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListPlaybackConfigurationsPaginatorOptions is the paginator options for ListPlaybackConfigurations
type ListSourceLocationsAPIClient ¶
type ListSourceLocationsAPIClient interface { ListSourceLocations(context.Context, *ListSourceLocationsInput, ...func(*Options)) (*ListSourceLocationsOutput, error) }
ListSourceLocationsAPIClient is a client that implements the ListSourceLocations operation.
type ListSourceLocationsInput ¶
type ListSourceLocationsInput struct { // Upper bound on number of records to return. The maximum number of results is // 100. MaxResults int32 // Pagination token from the GET list request. Use the token to fetch the next page // of results. NextToken *string }
type ListSourceLocationsOutput ¶
type ListSourceLocationsOutput struct { // An array of source locations. Items []types.SourceLocation // Pagination token from the list request. Use the token to fetch the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListSourceLocationsPaginator ¶
type ListSourceLocationsPaginator struct {
// contains filtered or unexported fields
}
ListSourceLocationsPaginator is a paginator for ListSourceLocations
func NewListSourceLocationsPaginator ¶
func NewListSourceLocationsPaginator(client ListSourceLocationsAPIClient, params *ListSourceLocationsInput, optFns ...func(*ListSourceLocationsPaginatorOptions)) *ListSourceLocationsPaginator
NewListSourceLocationsPaginator returns a new ListSourceLocationsPaginator
func (*ListSourceLocationsPaginator) HasMorePages ¶
func (p *ListSourceLocationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListSourceLocationsPaginator) NextPage ¶
func (p *ListSourceLocationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSourceLocationsOutput, error)
NextPage retrieves the next ListSourceLocations page.
type ListSourceLocationsPaginatorOptions ¶
type ListSourceLocationsPaginatorOptions struct { // Upper bound on number of records to return. The maximum number of results is // 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListSourceLocationsPaginatorOptions is the paginator options for ListSourceLocations
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) for the playback configuration. You can get this // from the response to any playback configuration request. // // This member is required. ResourceArn *string }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A comma-separated list of tag key:value pairs. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListVodSourcesAPIClient ¶
type ListVodSourcesAPIClient interface { ListVodSources(context.Context, *ListVodSourcesInput, ...func(*Options)) (*ListVodSourcesOutput, error) }
ListVodSourcesAPIClient is a client that implements the ListVodSources operation.
type ListVodSourcesInput ¶
type ListVodSourcesInput struct { // The identifier for the source location you are working on. // // This member is required. SourceLocationName *string // Upper bound on number of records to return. The maximum number of results is // 100. MaxResults int32 // Pagination token from the GET list request. Use the token to fetch the next page // of results. NextToken *string }
type ListVodSourcesOutput ¶
type ListVodSourcesOutput struct { // Lists the VOD sources. Items []types.VodSource // Pagination token from the list request. Use the token to fetch the next page of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListVodSourcesPaginator ¶
type ListVodSourcesPaginator struct {
// contains filtered or unexported fields
}
ListVodSourcesPaginator is a paginator for ListVodSources
func NewListVodSourcesPaginator ¶
func NewListVodSourcesPaginator(client ListVodSourcesAPIClient, params *ListVodSourcesInput, optFns ...func(*ListVodSourcesPaginatorOptions)) *ListVodSourcesPaginator
NewListVodSourcesPaginator returns a new ListVodSourcesPaginator
func (*ListVodSourcesPaginator) HasMorePages ¶
func (p *ListVodSourcesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListVodSourcesPaginator) NextPage ¶
func (p *ListVodSourcesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListVodSourcesOutput, error)
NextPage retrieves the next ListVodSources page.
type ListVodSourcesPaginatorOptions ¶
type ListVodSourcesPaginatorOptions struct { // Upper bound on number of records to return. The maximum number of results is // 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListVodSourcesPaginatorOptions is the paginator options for ListVodSources
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
type PutChannelPolicyInput ¶
type PutChannelPolicyInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string // Adds an IAM role that determines the permissions of your channel. // // This member is required. Policy *string }
type PutChannelPolicyOutput ¶
type PutChannelPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 // 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 *types.AvailSuppression // 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 *types.Bumper // The configuration for using a content delivery network (CDN), like Amazon // CloudFront, for content and ad segment management. CdnConfiguration *types.CdnConfiguration // 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 // The configuration for DASH content. DashConfiguration *types.DashConfigurationForPut // The configuration for pre-roll ad insertion. LivePreRollConfiguration *types.LivePreRollConfiguration // The configuration for manifest processing rules. Manifest processing rules // enable customization of the personalized manifests created by MediaTailor. ManifestProcessingRules *types.ManifestProcessingRules // The identifier for the playback configuration. Name *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 int32 // 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 // The tags to assign to the playback configuration. Tags map[string]string // 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 // The URL prefix for the parent manifest for the stream, minus the asset ID. The // maximum length is 512 characters. VideoContentSourceUrl *string }
type PutPlaybackConfigurationOutput ¶
type PutPlaybackConfigurationOutput 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 // 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 *types.AvailSuppression // 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 *types.Bumper // The configuration for using a content delivery network (CDN), like Amazon // CloudFront, for content and ad segment management. CdnConfiguration *types.CdnConfiguration // 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 // The configuration for DASH content. DashConfiguration *types.DashConfiguration // The configuration for HLS content. HlsConfiguration *types.HlsConfiguration // The configuration for pre-roll ad insertion. LivePreRollConfiguration *types.LivePreRollConfiguration // The configuration for manifest processing rules. Manifest processing rules // enable customization of the personalized manifests created by MediaTailor. ManifestProcessingRules *types.ManifestProcessingRules // The identifier for the playback configuration. Name *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 int32 // The Amazon Resource Name (ARN) for the playback configuration. PlaybackConfigurationArn *string // The URL that the player accesses to get a manifest from AWS Elemental // MediaTailor. This session will use server-side reporting. PlaybackEndpointPrefix *string // The URL that the player uses to initialize a session that uses client-side // reporting. SessionInitializationEndpointPrefix *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 // The tags assigned to the playback configuration. Tags map[string]string // 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 // The URL prefix for the parent manifest for the stream, minus the asset ID. The // maximum length is 512 characters. VideoContentSourceUrl *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StartChannelInput ¶
type StartChannelInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string }
type StartChannelOutput ¶
type StartChannelOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type StopChannelInput ¶
type StopChannelInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string }
type StopChannelOutput ¶
type StopChannelOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) for the playback configuration. You can get this // from the response to any playback configuration request. // // This member is required. ResourceArn *string // A comma-separated list of tag key:value pairs. // // This member is required. Tags map[string]string }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) for the playback configuration. You can get this // from the response to any playback configuration request. // // This member is required. ResourceArn *string // A comma-separated list of the tag keys to remove from the playback // configuration. // // This member is required. TagKeys []string }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateChannelInput ¶
type UpdateChannelInput struct { // The identifier for the channel you are working on. // // This member is required. ChannelName *string // The channel's output properties. // // This member is required. Outputs []types.RequestOutputItem }
type UpdateChannelOutput ¶
type UpdateChannelOutput struct { // The ARN of the channel. Arn *string // The name of the channel. ChannelName *string // Indicates whether the channel is in a running state or not. ChannelState types.ChannelState // The timestamp of when the channel was created. CreationTime *time.Time // The timestamp of when the channel was last modified. LastModifiedTime *time.Time // The channel's output properties. Outputs []types.ResponseOutputItem // The type of playback for this channel. The only supported value is LOOP. PlaybackMode *string // The tags assigned to the channel. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateSourceLocationInput ¶
type UpdateSourceLocationInput struct { // The HTTP configuration for the source location. // // This member is required. HttpConfiguration *types.HttpConfiguration // The identifier for the source location you are working on. // // This member is required. SourceLocationName *string // Access configuration parameters. Configures the type of authentication used to // access content from your source location. AccessConfiguration *types.AccessConfiguration // The optional configuration for the host server that serves segments. DefaultSegmentDeliveryConfiguration *types.DefaultSegmentDeliveryConfiguration }
type UpdateSourceLocationOutput ¶
type UpdateSourceLocationOutput struct { // The access configuration for the source location. AccessConfiguration *types.AccessConfiguration // The ARN of the source location. Arn *string // The timestamp that indicates when the source location was created. CreationTime *time.Time // The default segment delivery configuration settings. DefaultSegmentDeliveryConfiguration *types.DefaultSegmentDeliveryConfiguration // The HTTP package configuration settings for the source location. HttpConfiguration *types.HttpConfiguration // The timestamp that indicates when the source location was last modified. LastModifiedTime *time.Time // The name of the source location. SourceLocationName *string // The tags assigned to the source location. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateVodSourceInput ¶
type UpdateVodSourceInput struct { // An array of HTTP package configurations for the VOD source on this account. // // This member is required. HttpPackageConfigurations []types.HttpPackageConfiguration // The identifier for the source location you are working on. // // This member is required. SourceLocationName *string // The identifier for the VOD source you are working on. // // This member is required. VodSourceName *string }
type UpdateVodSourceOutput ¶
type UpdateVodSourceOutput struct { // The ARN of the VOD source. Arn *string // The timestamp that indicates when the VOD source was created. CreationTime *time.Time // The HTTP package configurations. HttpPackageConfigurations []types.HttpPackageConfiguration // The ARN for the VOD source. LastModifiedTime *time.Time // The name of the source location associated with the VOD source. SourceLocationName *string // The tags assigned to the VOD source. Tags map[string]string // The name of the VOD source. VodSourceName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
api_client.go api_op_CreateChannel.go api_op_CreateProgram.go api_op_CreateSourceLocation.go api_op_CreateVodSource.go api_op_DeleteChannel.go api_op_DeleteChannelPolicy.go api_op_DeletePlaybackConfiguration.go api_op_DeleteProgram.go api_op_DeleteSourceLocation.go api_op_DeleteVodSource.go api_op_DescribeChannel.go api_op_DescribeProgram.go api_op_DescribeSourceLocation.go api_op_DescribeVodSource.go api_op_GetChannelPolicy.go api_op_GetChannelSchedule.go api_op_GetPlaybackConfiguration.go api_op_ListChannels.go api_op_ListPlaybackConfigurations.go api_op_ListSourceLocations.go api_op_ListTagsForResource.go api_op_ListVodSources.go api_op_PutChannelPolicy.go api_op_PutPlaybackConfiguration.go api_op_StartChannel.go api_op_StopChannel.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateChannel.go api_op_UpdateSourceLocation.go api_op_UpdateVodSource.go deserializers.go doc.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v1.2.3
- Published
- May 7, 2021
- Platform
- js/wasm
- Imports
- 28 packages
- Last checked
- 2 weeks ago –
Tools for package owners.