types

package
v1.30.4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdMarkers

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

Enum values for AdMarkers

func (AdMarkers) Values added in v0.29.0

func (AdMarkers) Values() []AdMarkers

Values returns all known values for AdMarkers. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type AssetShallow

type AssetShallow struct {

	// The ARN of the Asset.
	Arn *string

	// The time the Asset was initially submitted for Ingest.
	CreatedAt *string

	// The unique identifier for the Asset.
	Id *string

	// The ID of the PackagingGroup for the Asset.
	PackagingGroupId *string

	// The resource ID to include in SPEKE key requests.
	ResourceId *string

	// ARN of the source object in S3.
	SourceArn *string

	// The IAM role ARN used to access the source S3 bucket.
	SourceRoleArn *string

	// A collection of tags associated with a resource
	Tags map[string]string
	// contains filtered or unexported fields
}

A MediaPackage VOD Asset resource.

type Authorization

type Authorization struct {

	// The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is
	// used for CDN authorization.
	//
	// This member is required.
	CdnIdentifierSecret *string

	// The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to
	// communicate with AWS Secrets Manager.
	//
	// This member is required.
	SecretsRoleArn *string
	// contains filtered or unexported fields
}

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.
	//
	// This member is required.
	SpekeKeyProvider *SpekeKeyProvider

	// An optional 128-bit, 16-byte hex value represented by a 32-character string,
	// used in conjunction with the key for encrypting blocks. If you don't specify a
	// value, then MediaPackage creates the constant initialization vector (IV).
	ConstantInitializationVector *string
	// contains filtered or unexported fields
}

A CMAF encryption configuration.

type CmafPackage

type CmafPackage struct {

	// A list of HLS manifest configurations.
	//
	// This member is required.
	HlsManifests []HlsManifest

	// A CMAF encryption configuration.
	Encryption *CmafEncryption

	// When includeEncoderConfigurationInSegments is set to true, MediaPackage places
	// your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and
	// Video Parameter Set (VPS) metadata in every video segment instead of in the init
	// fragment. This lets you use different SPS/PPS/VPS settings for your assets
	// during content playback.
	IncludeEncoderConfigurationInSegments *bool

	// Duration (in seconds) of each fragment. Actual fragments will be rounded to the
	// nearest multiple of the source fragment duration.
	SegmentDurationSeconds *int32
	// contains filtered or unexported fields
}

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.
	//
	// This member is required.
	SpekeKeyProvider *SpekeKeyProvider
	// contains filtered or unexported fields
}

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

type DashManifest

type DashManifest struct {

	// 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

	// An optional string to include in the name of the manifest.
	ManifestName *string

	// Minimum duration (in seconds) that a player will buffer media before starting
	// the presentation.
	MinBufferTimeSeconds *int32

	// The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to
	// "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.
	Profile Profile

	// The source of scte markers used. When set to SEGMENTS, the scte markers are
	// sourced from the segments of the ingested content. When set to MANIFEST, the
	// scte markers are sourced from the manifest of the ingested content.
	ScteMarkersSource ScteMarkersSource

	// A StreamSelection configuration.
	StreamSelection *StreamSelection
	// contains filtered or unexported fields
}

A DASH manifest configuration.

type DashPackage

type DashPackage struct {

	// A list of DASH manifest configurations.
	//
	// This member is required.
	DashManifests []DashManifest

	// A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
	Encryption *DashEncryption

	// When includeEncoderConfigurationInSegments is set to true, MediaPackage places
	// your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and
	// Video Parameter Set (VPS) metadata in every video segment instead of in the init
	// fragment. This lets you use different SPS/PPS/VPS settings for your assets
	// during content playback.
	IncludeEncoderConfigurationInSegments *bool

	// When enabled, an I-Frame only stream will be included in the output.
	IncludeIframeOnlyStream *bool

	// 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

	// Duration (in seconds) of each segment. Actual segments will be rounded to the
	// nearest multiple of the source segment duration.
	SegmentDurationSeconds *int32

	// 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
	// contains filtered or unexported fields
}

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

type EgressAccessLogs added in v1.2.0

type EgressAccessLogs struct {

	// Customize the log group name.
	LogGroupName *string
	// contains filtered or unexported fields
}

Configure egress access logging.

type EgressEndpoint

type EgressEndpoint struct {

	// The ID of the PackagingConfiguration being applied to the Asset.
	PackagingConfigurationId *string

	// The current processing status of the asset used for the packaging
	// configuration. The status can be either QUEUED, PROCESSING, PLAYABLE, or FAILED.
	// Status information won't be available for most assets ingested before
	// 2021-09-30.
	Status *string

	// The URL of the parent manifest for the repackaged Asset.
	Url *string
	// contains filtered or unexported fields
}

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

type EncryptionContractConfiguration added in v1.18.0

type EncryptionContractConfiguration struct {

	// A collection of audio encryption presets.
	//
	// This member is required.
	PresetSpeke20Audio PresetSpeke20Audio

	// A collection of video encryption presets.
	//
	// This member is required.
	PresetSpeke20Video PresetSpeke20Video
	// contains filtered or unexported fields
}

Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. Note the following considerations when using encryptionContractConfiguration: encryptionContractConfiguration can be used for DASH endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.

type EncryptionMethod

type EncryptionMethod string
const (
	EncryptionMethodAes128    EncryptionMethod = "AES_128"
	EncryptionMethodSampleAes EncryptionMethod = "SAMPLE_AES"
)

Enum values for EncryptionMethod

func (EncryptionMethod) Values added in v0.29.0

Values returns all known values for EncryptionMethod. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ForbiddenException

type ForbiddenException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

type HlsEncryption

type HlsEncryption struct {

	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	//
	// This member is required.
	SpekeKeyProvider *SpekeKeyProvider

	// A constant initialization vector for encryption (optional). When not specified
	// the initialization vector will be periodically rotated.
	ConstantInitializationVector *string

	// The encryption method to use.
	EncryptionMethod EncryptionMethod
	// contains filtered or unexported fields
}

An HTTP Live Streaming (HLS) encryption configuration.

type HlsManifest

type HlsManifest struct {

	// 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

	// When enabled, an I-Frame only stream will be included in the output.
	IncludeIframeOnlyStream *bool

	// An optional string to include in the name of the manifest.
	ManifestName *string

	// 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

	// When enabled, the EXT-X-KEY tag will be repeated in output manifests.
	RepeatExtXKey *bool

	// A StreamSelection configuration.
	StreamSelection *StreamSelection
	// contains filtered or unexported fields
}

An HTTP Live Streaming (HLS) manifest configuration.

type HlsPackage

type HlsPackage struct {

	// A list of HLS manifest configurations.
	//
	// This member is required.
	HlsManifests []HlsManifest

	// An HTTP Live Streaming (HLS) encryption configuration.
	Encryption *HlsEncryption

	// When enabled, MediaPackage passes through digital video broadcasting (DVB)
	// subtitles into the output.
	IncludeDvbSubtitles *bool

	// Duration (in seconds) of each fragment. Actual fragments will be rounded to the
	// nearest multiple of the source fragment duration.
	SegmentDurationSeconds *int32

	// When enabled, audio streams will be placed in rendition groups in the output.
	UseAudioRenditionGroup *bool
	// contains filtered or unexported fields
}

An HTTP Live Streaming (HLS) packaging configuration.

type InternalServerErrorException

type InternalServerErrorException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

type ManifestLayout

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

Enum values for ManifestLayout

func (ManifestLayout) Values added in v0.29.0

func (ManifestLayout) Values() []ManifestLayout

Values returns all known values for ManifestLayout. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type MssEncryption

type MssEncryption struct {

	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	//
	// This member is required.
	SpekeKeyProvider *SpekeKeyProvider
	// contains filtered or unexported fields
}

A Microsoft Smooth Streaming (MSS) encryption configuration.

type MssManifest

type MssManifest struct {

	// An optional string to include in the name of the manifest.
	ManifestName *string

	// A StreamSelection configuration.
	StreamSelection *StreamSelection
	// contains filtered or unexported fields
}

A Microsoft Smooth Streaming (MSS) manifest configuration.

type MssPackage

type MssPackage struct {

	// A list of MSS manifest configurations.
	//
	// This member is required.
	MssManifests []MssManifest

	// A Microsoft Smooth Streaming (MSS) encryption configuration.
	Encryption *MssEncryption

	// The duration (in seconds) of each segment.
	SegmentDurationSeconds *int32
	// contains filtered or unexported fields
}

A Microsoft Smooth Streaming (MSS) PackagingConfiguration.

type NotFoundException

type NotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

type PackagingConfiguration

type PackagingConfiguration struct {

	// The ARN of the PackagingConfiguration.
	Arn *string

	// A CMAF packaging configuration.
	CmafPackage *CmafPackage

	// The time the PackagingConfiguration was created.
	CreatedAt *string

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

	// An HTTP Live Streaming (HLS) packaging configuration.
	HlsPackage *HlsPackage

	// The ID of the PackagingConfiguration.
	Id *string

	// A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
	MssPackage *MssPackage

	// The ID of a PackagingGroup.
	PackagingGroupId *string

	// A collection of tags associated with a resource
	Tags map[string]string
	// contains filtered or unexported fields
}

A MediaPackage VOD PackagingConfiguration resource.

type PackagingGroup

type PackagingGroup struct {

	// The approximate asset count of the PackagingGroup.
	ApproximateAssetCount *int32

	// The ARN of the PackagingGroup.
	Arn *string

	// CDN Authorization credentials
	Authorization *Authorization

	// The time the PackagingGroup was created.
	CreatedAt *string

	// The fully qualified domain name for Assets in the PackagingGroup.
	DomainName *string

	// Configure egress access logging.
	EgressAccessLogs *EgressAccessLogs

	// The ID of the PackagingGroup.
	Id *string

	// A collection of tags associated with a resource
	Tags map[string]string
	// contains filtered or unexported fields
}

A MediaPackage VOD PackagingGroup resource.

type PeriodTriggersElement

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

Enum values for PeriodTriggersElement

func (PeriodTriggersElement) Values added in v0.29.0

Values returns all known values for PeriodTriggersElement. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type PresetSpeke20Audio added in v1.18.0

type PresetSpeke20Audio string
const (
	PresetSpeke20AudioPresetAudio1 PresetSpeke20Audio = "PRESET-AUDIO-1"
	PresetSpeke20AudioPresetAudio2 PresetSpeke20Audio = "PRESET-AUDIO-2"
	PresetSpeke20AudioPresetAudio3 PresetSpeke20Audio = "PRESET-AUDIO-3"
	PresetSpeke20AudioShared       PresetSpeke20Audio = "SHARED"
	PresetSpeke20AudioUnencrypted  PresetSpeke20Audio = "UNENCRYPTED"
)

Enum values for PresetSpeke20Audio

func (PresetSpeke20Audio) Values added in v1.18.0

Values returns all known values for PresetSpeke20Audio. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type PresetSpeke20Video added in v1.18.0

type PresetSpeke20Video string
const (
	PresetSpeke20VideoPresetVideo1 PresetSpeke20Video = "PRESET-VIDEO-1"
	PresetSpeke20VideoPresetVideo2 PresetSpeke20Video = "PRESET-VIDEO-2"
	PresetSpeke20VideoPresetVideo3 PresetSpeke20Video = "PRESET-VIDEO-3"
	PresetSpeke20VideoPresetVideo4 PresetSpeke20Video = "PRESET-VIDEO-4"
	PresetSpeke20VideoPresetVideo5 PresetSpeke20Video = "PRESET-VIDEO-5"
	PresetSpeke20VideoPresetVideo6 PresetSpeke20Video = "PRESET-VIDEO-6"
	PresetSpeke20VideoPresetVideo7 PresetSpeke20Video = "PRESET-VIDEO-7"
	PresetSpeke20VideoPresetVideo8 PresetSpeke20Video = "PRESET-VIDEO-8"
	PresetSpeke20VideoShared       PresetSpeke20Video = "SHARED"
	PresetSpeke20VideoUnencrypted  PresetSpeke20Video = "UNENCRYPTED"
)

Enum values for PresetSpeke20Video

func (PresetSpeke20Video) Values added in v1.18.0

Values returns all known values for PresetSpeke20Video. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Profile

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

Enum values for Profile

func (Profile) Values added in v0.29.0

func (Profile) Values() []Profile

Values returns all known values for Profile. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ScteMarkersSource added in v1.17.0

type ScteMarkersSource string
const (
	ScteMarkersSourceSegments ScteMarkersSource = "SEGMENTS"
	ScteMarkersSourceManifest ScteMarkersSource = "MANIFEST"
)

Enum values for ScteMarkersSource

func (ScteMarkersSource) Values added in v1.17.0

Values returns all known values for ScteMarkersSource. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type SegmentTemplateFormat

type SegmentTemplateFormat string
const (
	SegmentTemplateFormatNumberWithTimeline SegmentTemplateFormat = "NUMBER_WITH_TIMELINE"
	SegmentTemplateFormatTimeWithTimeline   SegmentTemplateFormat = "TIME_WITH_TIMELINE"
	SegmentTemplateFormatNumberWithDuration SegmentTemplateFormat = "NUMBER_WITH_DURATION"
)

Enum values for SegmentTemplateFormat

func (SegmentTemplateFormat) Values added in v0.29.0

Values returns all known values for SegmentTemplateFormat. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ServiceUnavailableException

type ServiceUnavailableException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

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.
	//
	// This member is required.
	RoleArn *string

	// The system IDs to include in key requests.
	//
	// This member is required.
	SystemIds []string

	// The URL of the external key provider service.
	//
	// This member is required.
	Url *string

	// Use encryptionContractConfiguration to configure one or more content encryption
	// keys for your endpoints that use SPEKE 2.0. The encryption contract defines
	// which content keys are used to encrypt the audio and video tracks in your
	// stream. To configure the encryption contract, specify which audio and video
	// encryption presets to use. Note the following considerations when using
	// encryptionContractConfiguration: encryptionContractConfiguration can be used for
	// DASH endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3
	// specification. You must disable key rotation for this endpoint by setting
	// keyRotationIntervalSeconds to 0.
	EncryptionContractConfiguration *EncryptionContractConfiguration
	// contains filtered or unexported fields
}

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"
	StreamOrderVideoBitrateAscending  StreamOrder = "VIDEO_BITRATE_ASCENDING"
	StreamOrderVideoBitrateDescending StreamOrder = "VIDEO_BITRATE_DESCENDING"
)

Enum values for StreamOrder

func (StreamOrder) Values added in v0.29.0

func (StreamOrder) Values() []StreamOrder

Values returns all known values for StreamOrder. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type StreamSelection

type StreamSelection struct {

	// The maximum video bitrate (bps) to include in output.
	MaxVideoBitsPerSecond *int32

	// The minimum video bitrate (bps) to include in output.
	MinVideoBitsPerSecond *int32

	// A directive that determines the order of streams in the output.
	StreamOrder StreamOrder
	// contains filtered or unexported fields
}

A StreamSelection configuration.

type TooManyRequestsException

type TooManyRequestsException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

type UnprocessableEntityException

type UnprocessableEntityException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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