package types

import "github.com/aws/aws-sdk-go-v2/service/mediapackagevod/types"

Index

Types

type AdMarkers

type AdMarkers string
const (
	AdMarkersNone            AdMarkers = "NONE"
	AdMarkersScte35_enhanced AdMarkers = "SCTE35_ENHANCED"
	AdMarkersPassthrough     AdMarkers = "PASSTHROUGH"
)

Enum values for AdMarkers

type AssetShallow

type AssetShallow struct {
	// The time the Asset was initially submitted for Ingest.
	CreatedAt *string
	// A collection of tags associated with a resource
	Tags map[string]*string
	// The ID of the PackagingGroup for the Asset.
	PackagingGroupId *string
	// ARN of the source object in S3.
	SourceArn *string
	// The resource ID to include in SPEKE key requests.
	ResourceId *string
	// The IAM role ARN used to access the source S3 bucket.
	SourceRoleArn *string
	// The unique identifier for the Asset.
	Id *string
	// The ARN of the Asset.
	Arn *string
}

A MediaPackage VOD Asset resource.

type Authorization

type Authorization struct {
	// The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to
	// communicate with AWS Secrets Manager.
	SecretsRoleArn *string
	// The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is
	// used for CDN authorization.
	CdnIdentifierSecret *string
}

CDN Authorization credentials

type CmafEncryption

type CmafEncryption struct {
	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	SpekeKeyProvider *SpekeKeyProvider
}

A CMAF encryption configuration.

type CmafPackage

type CmafPackage struct {
	// A list of HLS manifest configurations.
	HlsManifests []*HlsManifest
	// Duration (in seconds) of each fragment. Actual fragments will be rounded to the
	// nearest multiple of the source fragment duration.
	SegmentDurationSeconds *int32
	// A CMAF encryption configuration.
	Encryption *CmafEncryption
}

A CMAF packaging configuration.

type DashEncryption

type DashEncryption struct {
	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	SpekeKeyProvider *SpekeKeyProvider
}

A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.

type DashManifest

type DashManifest struct {
	// An optional string to include in the name of the manifest.
	ManifestName *string
	// A StreamSelection configuration.
	StreamSelection *StreamSelection
	// Minimum duration (in seconds) that a player will buffer media before starting
	// the presentation.
	MinBufferTimeSeconds *int32
	// Determines the position of some tags in the Media Presentation Description
	// (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are
	// included in each Representation. When set to COMPACT, duplicate elements are
	// combined and presented at the AdaptationSet level.
	ManifestLayout ManifestLayout
	// The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to
	// "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.
	Profile Profile
}

A DASH manifest configuration.

type DashPackage

type DashPackage struct {
	// Duration (in seconds) of each segment. Actual segments will be rounded to the
	// nearest multiple of the source segment duration.
	SegmentDurationSeconds *int32
	// A list of DASH manifest configurations.
	DashManifests []*DashManifest
	// A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
	Encryption *DashEncryption
	// A list of triggers that controls when the outgoing Dynamic Adaptive Streaming
	// over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into
	// multiple periods. If empty, the content will not be partitioned into more than
	// one period. If the list contains "ADS", new periods will be created where the
	// Asset contains SCTE-35 ad markers.
	PeriodTriggers []PeriodTriggersElement
	// Determines the type of SegmentTemplate included in the Media Presentation
	// Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is
	// presented in each SegmentTemplate, with $Number$ media URLs. When set to
	// TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with
	// $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included
	// in each SegmentTemplate, with $Number$ media URLs.
	SegmentTemplateFormat SegmentTemplateFormat
}

A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.

type EgressEndpoint

type EgressEndpoint struct {
	// The URL of the parent manifest for the repackaged Asset.
	Url *string
	// The ID of the PackagingConfiguration being applied to the Asset.
	PackagingConfigurationId *string
}

The endpoint URL used to access an Asset using one PackagingConfiguration.

type EncryptionMethod

type EncryptionMethod string
const (
	EncryptionMethodAes_128    EncryptionMethod = "AES_128"
	EncryptionMethodSample_aes EncryptionMethod = "SAMPLE_AES"
)

Enum values for EncryptionMethod

type ForbiddenException

type ForbiddenException struct {
	Message *string
}

The client is not authorized to access the requested resource.

func (*ForbiddenException) Error

func (e *ForbiddenException) Error() string

func (*ForbiddenException) ErrorCode

func (e *ForbiddenException) ErrorCode() string

func (*ForbiddenException) ErrorFault

func (e *ForbiddenException) ErrorFault() smithy.ErrorFault

func (*ForbiddenException) ErrorMessage

func (e *ForbiddenException) ErrorMessage() string

func (*ForbiddenException) GetMessage

func (e *ForbiddenException) GetMessage() string

func (*ForbiddenException) HasMessage

func (e *ForbiddenException) HasMessage() bool

type HlsEncryption

type HlsEncryption struct {
	// A constant initialization vector for encryption (optional). When not specified
	// the initialization vector will be periodically rotated.
	ConstantInitializationVector *string
	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	SpekeKeyProvider *SpekeKeyProvider
	// The encryption method to use.
	EncryptionMethod EncryptionMethod
}

An HTTP Live Streaming (HLS) encryption configuration.

type HlsManifest

type HlsManifest struct {
	// When enabled, an I-Frame only stream will be included in the output.
	IncludeIframeOnlyStream *bool
	// When enabled, the EXT-X-KEY tag will be repeated in output manifests.
	RepeatExtXKey *bool
	// The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into
	// manifests. Additionally, when an interval is specified ID3Timed Metadata
	// messages will be generated every 5 seconds using the ingest time of the content.
	// If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME
	// tags will be inserted into manifests and no ID3Timed Metadata messages will be
	// generated. Note that irrespective of this parameter, if any ID3 Timed Metadata
	// is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS
	// output.
	ProgramDateTimeIntervalSeconds *int32
	// This setting controls how ad markers are included in the packaged
	// OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output.
	// "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers
	// (comments) taken directly from the input HTTP Live Streaming (HLS) manifest.
	// "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35
	// messages in the input source.
	AdMarkers AdMarkers
	// A StreamSelection configuration.
	StreamSelection *StreamSelection
	// An optional string to include in the name of the manifest.
	ManifestName *string
}

An HTTP Live Streaming (HLS) manifest configuration.

type HlsPackage

type HlsPackage struct {
	// A list of HLS manifest configurations.
	HlsManifests []*HlsManifest
	// When enabled, audio streams will be placed in rendition groups in the output.
	UseAudioRenditionGroup *bool
	// An HTTP Live Streaming (HLS) encryption configuration.
	Encryption *HlsEncryption
	// Duration (in seconds) of each fragment. Actual fragments will be rounded to the
	// nearest multiple of the source fragment duration.
	SegmentDurationSeconds *int32
}

An HTTP Live Streaming (HLS) packaging configuration.

type InternalServerErrorException

type InternalServerErrorException struct {
	Message *string
}

An unexpected error occurred.

func (*InternalServerErrorException) Error

func (*InternalServerErrorException) ErrorCode

func (e *InternalServerErrorException) ErrorCode() string

func (*InternalServerErrorException) ErrorFault

func (*InternalServerErrorException) ErrorMessage

func (e *InternalServerErrorException) ErrorMessage() string

func (*InternalServerErrorException) GetMessage

func (e *InternalServerErrorException) GetMessage() string

func (*InternalServerErrorException) HasMessage

func (e *InternalServerErrorException) HasMessage() bool

type ManifestLayout

type ManifestLayout string
const (
	ManifestLayoutFull    ManifestLayout = "FULL"
	ManifestLayoutCompact ManifestLayout = "COMPACT"
)

Enum values for ManifestLayout

type MssEncryption

type MssEncryption struct {
	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	SpekeKeyProvider *SpekeKeyProvider
}

A Microsoft Smooth Streaming (MSS) encryption configuration.

type MssManifest

type MssManifest struct {
	// A StreamSelection configuration.
	StreamSelection *StreamSelection
	// An optional string to include in the name of the manifest.
	ManifestName *string
}

A Microsoft Smooth Streaming (MSS) manifest configuration.

type MssPackage

type MssPackage struct {
	// A Microsoft Smooth Streaming (MSS) encryption configuration.
	Encryption *MssEncryption
	// A list of MSS manifest configurations.
	MssManifests []*MssManifest
	// The duration (in seconds) of each segment.
	SegmentDurationSeconds *int32
}

A Microsoft Smooth Streaming (MSS) PackagingConfiguration.

type NotFoundException

type NotFoundException struct {
	Message *string
}

The requested resource does not exist.

func (*NotFoundException) Error

func (e *NotFoundException) Error() string

func (*NotFoundException) ErrorCode

func (e *NotFoundException) ErrorCode() string

func (*NotFoundException) ErrorFault

func (e *NotFoundException) ErrorFault() smithy.ErrorFault

func (*NotFoundException) ErrorMessage

func (e *NotFoundException) ErrorMessage() string

func (*NotFoundException) GetMessage

func (e *NotFoundException) GetMessage() string

func (*NotFoundException) HasMessage

func (e *NotFoundException) HasMessage() bool

type PackagingConfiguration

type PackagingConfiguration struct {
	// The ID of the PackagingConfiguration.
	Id *string
	// An HTTP Live Streaming (HLS) packaging configuration.
	HlsPackage *HlsPackage
	// The ID of a PackagingGroup.
	PackagingGroupId *string
	// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
	DashPackage *DashPackage
	// The ARN of the PackagingConfiguration.
	Arn *string
	// A collection of tags associated with a resource
	Tags map[string]*string
	// A CMAF packaging configuration.
	CmafPackage *CmafPackage
	// A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
	MssPackage *MssPackage
}

A MediaPackage VOD PackagingConfiguration resource.

type PackagingGroup

type PackagingGroup struct {
	// A collection of tags associated with a resource
	Tags map[string]*string
	// CDN Authorization credentials
	Authorization *Authorization
	// The ARN of the PackagingGroup.
	Arn *string
	// The fully qualified domain name for Assets in the PackagingGroup.
	DomainName *string
	// The ID of the PackagingGroup.
	Id *string
}

A MediaPackage VOD PackagingGroup resource.

type PeriodTriggersElement

type PeriodTriggersElement string
const (
	PeriodTriggersElementAds PeriodTriggersElement = "ADS"
)

Enum values for PeriodTriggersElement

type Profile

type Profile string
const (
	ProfileNone      Profile = "NONE"
	ProfileHbbtv_1_5 Profile = "HBBTV_1_5"
)

Enum values for Profile

type SegmentTemplateFormat

type SegmentTemplateFormat string
const (
	SegmentTemplateFormatNumber_with_timeline SegmentTemplateFormat = "NUMBER_WITH_TIMELINE"
	SegmentTemplateFormatTime_with_timeline   SegmentTemplateFormat = "TIME_WITH_TIMELINE"
	SegmentTemplateFormatNumber_with_duration SegmentTemplateFormat = "NUMBER_WITH_DURATION"
)

Enum values for SegmentTemplateFormat

type ServiceUnavailableException

type ServiceUnavailableException struct {
	Message *string
}

An unexpected error occurred.

func (*ServiceUnavailableException) Error

func (*ServiceUnavailableException) ErrorCode

func (e *ServiceUnavailableException) ErrorCode() string

func (*ServiceUnavailableException) ErrorFault

func (*ServiceUnavailableException) ErrorMessage

func (e *ServiceUnavailableException) ErrorMessage() string

func (*ServiceUnavailableException) GetMessage

func (e *ServiceUnavailableException) GetMessage() string

func (*ServiceUnavailableException) HasMessage

func (e *ServiceUnavailableException) HasMessage() bool

type SpekeKeyProvider

type SpekeKeyProvider struct {
	// An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage
	// will assume when accessing the key provider service.
	RoleArn *string
	// The URL of the external key provider service.
	Url *string
	// The system IDs to include in key requests.
	SystemIds []*string
}

A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.

type StreamOrder

type StreamOrder string
const (
	StreamOrderOriginal                 StreamOrder = "ORIGINAL"
	StreamOrderVideo_bitrate_ascending  StreamOrder = "VIDEO_BITRATE_ASCENDING"
	StreamOrderVideo_bitrate_descending StreamOrder = "VIDEO_BITRATE_DESCENDING"
)

Enum values for StreamOrder

type StreamSelection

type StreamSelection struct {
	// The minimum video bitrate (bps) to include in output.
	MinVideoBitsPerSecond *int32
	// A directive that determines the order of streams in the output.
	StreamOrder StreamOrder
	// The maximum video bitrate (bps) to include in output.
	MaxVideoBitsPerSecond *int32
}

A StreamSelection configuration.

type TooManyRequestsException

type TooManyRequestsException struct {
	Message *string
}

The client has exceeded their resource or throttling limits.

func (*TooManyRequestsException) Error

func (e *TooManyRequestsException) Error() string

func (*TooManyRequestsException) ErrorCode

func (e *TooManyRequestsException) ErrorCode() string

func (*TooManyRequestsException) ErrorFault

func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault

func (*TooManyRequestsException) ErrorMessage

func (e *TooManyRequestsException) ErrorMessage() string

func (*TooManyRequestsException) GetMessage

func (e *TooManyRequestsException) GetMessage() string

func (*TooManyRequestsException) HasMessage

func (e *TooManyRequestsException) HasMessage() bool

type UnprocessableEntityException

type UnprocessableEntityException struct {
	Message *string
}

The parameters sent in the request are not valid.

func (*UnprocessableEntityException) Error

func (*UnprocessableEntityException) ErrorCode

func (e *UnprocessableEntityException) ErrorCode() string

func (*UnprocessableEntityException) ErrorFault

func (*UnprocessableEntityException) ErrorMessage

func (e *UnprocessableEntityException) ErrorMessage() string

func (*UnprocessableEntityException) GetMessage

func (e *UnprocessableEntityException) GetMessage() string

func (*UnprocessableEntityException) HasMessage

func (e *UnprocessableEntityException) HasMessage() bool

Source Files

enums.go errors.go types.go

Version
v0.1.0
Published
Sep 29, 2020
Platform
darwin/amd64
Imports
3 packages
Last checked
3 weeks ago

Tools for package owners.