types

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException

type AccessDeniedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

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

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type AdMarkerHls

type AdMarkerHls string
const (
	AdMarkerHlsDaterange AdMarkerHls = "DATERANGE"
)

Enum values for AdMarkerHls

func (AdMarkerHls) Values

func (AdMarkerHls) Values() []AdMarkerHls

Values returns all known values for AdMarkerHls. 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 ChannelGroupListConfiguration

type ChannelGroupListConfiguration struct {

	// The Amazon Resource Name (ARN) associated with the resource.
	//
	// This member is required.
	Arn *string

	// The name that describes the channel group. The name is the primary identifier
	// for the channel group, and must be unique for your account in the AWS Region.
	//
	// This member is required.
	ChannelGroupName *string

	// The date and time the channel group was created.
	//
	// This member is required.
	CreatedAt *time.Time

	// The date and time the channel group was modified.
	//
	// This member is required.
	ModifiedAt *time.Time

	// Any descriptive information that you want to add to the channel group for
	// future identification purposes.
	Description *string
	// contains filtered or unexported fields
}

The configuration of the channel group.

type ChannelListConfiguration

type ChannelListConfiguration struct {

	// The Amazon Resource Name (ARN) associated with the resource.
	//
	// This member is required.
	Arn *string

	// The name that describes the channel group. The name is the primary identifier
	// for the channel group, and must be unique for your account in the AWS Region.
	//
	// This member is required.
	ChannelGroupName *string

	// The name that describes the channel. The name is the primary identifier for the
	// channel, and must be unique for your account in the AWS Region and channel
	// group.
	//
	// This member is required.
	ChannelName *string

	// The date and time the channel was created.
	//
	// This member is required.
	CreatedAt *time.Time

	// The date and time the channel was modified.
	//
	// This member is required.
	ModifiedAt *time.Time

	// Any descriptive information that you want to add to the channel for future
	// identification purposes.
	Description *string
	// contains filtered or unexported fields
}

The configuration of the channel.

type CmafEncryptionMethod

type CmafEncryptionMethod string
const (
	CmafEncryptionMethodCenc CmafEncryptionMethod = "CENC"
	CmafEncryptionMethodCbcs CmafEncryptionMethod = "CBCS"
)

Enum values for CmafEncryptionMethod

func (CmafEncryptionMethod) Values

Values returns all known values for CmafEncryptionMethod. 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 ConflictException

type ConflictException struct {
	Message *string

	ErrorCodeOverride *string

	ConflictExceptionType ConflictExceptionType
	// contains filtered or unexported fields
}

Updating or deleting this resource can cause an inconsistent state.

func (*ConflictException) Error

func (e *ConflictException) Error() string

func (*ConflictException) ErrorCode

func (e *ConflictException) ErrorCode() string

func (*ConflictException) ErrorFault

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

func (*ConflictException) ErrorMessage

func (e *ConflictException) ErrorMessage() string

type ConflictExceptionType

type ConflictExceptionType string
const (
	ConflictExceptionTypeResourceInUse               ConflictExceptionType = "RESOURCE_IN_USE"
	ConflictExceptionTypeResourceAlreadyExists       ConflictExceptionType = "RESOURCE_ALREADY_EXISTS"
	ConflictExceptionTypeIdempotentParameterMismatch ConflictExceptionType = "IDEMPOTENT_PARAMETER_MISMATCH"
	ConflictExceptionTypeConflictingOperation        ConflictExceptionType = "CONFLICTING_OPERATION"
)

Enum values for ConflictExceptionType

func (ConflictExceptionType) Values

Values returns all known values for ConflictExceptionType. 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 ContainerType

type ContainerType string
const (
	ContainerTypeTs   ContainerType = "TS"
	ContainerTypeCmaf ContainerType = "CMAF"
)

Enum values for ContainerType

func (ContainerType) Values

func (ContainerType) Values() []ContainerType

Values returns all known values for ContainerType. 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 CreateHlsManifestConfiguration

type CreateHlsManifestConfiguration struct {

	// A short short string that's appended to the endpoint URL. The manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default manifest name, index. MediaPackage automatically inserts the
	// format extension, such as .m3u8. You can't use the same manifest name if you use
	// HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest
	// object overrides the manifestName you provided on the originEndpoint object.
	//
	// This member is required.
	ManifestName *string

	// A short string that's appended to the endpoint URL. The child manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default manifest name, index, with an added suffix to distinguish it
	// from the manifest name. The manifestName on the HLSManifest object overrides the
	// manifestName you provided on the originEndpoint object.
	ChildManifestName *string

	// The total duration (in seconds) of the manifest's content.
	ManifestWindowSeconds *int32

	// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval
	// that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags
	// aren't included in the manifest. The tags sync the stream to the wall clock so
	// that viewers can seek to a specific time in the playback timeline on the player.
	// ID3Timed metadata messages generate every 5 seconds whenever the content is
	// ingested. Irrespective of this parameter, if any ID3Timed metadata is in the HLS
	// input, it is passed through to the HLS output.
	ProgramDateTimeIntervalSeconds *int32

	// The SCTE configuration.
	ScteHls *ScteHls
	// contains filtered or unexported fields
}

Create an HTTP live streaming (HLS) manifest configuration.

type CreateLowLatencyHlsManifestConfiguration

type CreateLowLatencyHlsManifestConfiguration struct {

	// A short short string that's appended to the endpoint URL. The manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default manifest name, index. MediaPackage automatically inserts the
	// format extension, such as .m3u8. You can't use the same manifest name if you use
	// HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest
	// object overrides the manifestName you provided on the originEndpoint object.
	//
	// This member is required.
	ManifestName *string

	// A short string that's appended to the endpoint URL. The child manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default manifest name, index, with an added suffix to distinguish it
	// from the manifest name. The manifestName on the HLSManifest object overrides the
	// manifestName you provided on the originEndpoint object.
	ChildManifestName *string

	// The total duration (in seconds) of the manifest's content.
	ManifestWindowSeconds *int32

	// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval
	// that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags
	// aren't included in the manifest. The tags sync the stream to the wall clock so
	// that viewers can seek to a specific time in the playback timeline on the player.
	// ID3Timed metadata messages generate every 5 seconds whenever the content is
	// ingested. Irrespective of this parameter, if any ID3Timed metadata is in the HLS
	// input, it is passed through to the HLS output.
	ProgramDateTimeIntervalSeconds *int32

	// The SCTE configuration.
	ScteHls *ScteHls
	// contains filtered or unexported fields
}

Create a low-latency HTTP live streaming (HLS) manifest configuration.

type DrmSystem

type DrmSystem string
const (
	DrmSystemClearKeyAes128 DrmSystem = "CLEAR_KEY_AES_128"
	DrmSystemFairplay       DrmSystem = "FAIRPLAY"
	DrmSystemPlayready      DrmSystem = "PLAYREADY"
	DrmSystemWidevine       DrmSystem = "WIDEVINE"
)

Enum values for DrmSystem

func (DrmSystem) Values

func (DrmSystem) Values() []DrmSystem

Values returns all known values for DrmSystem. 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 Encryption

type Encryption struct {

	// The encryption method to use.
	//
	// This member is required.
	EncryptionMethod *EncryptionMethod

	// The parameters for the SPEKE key provider.
	//
	// This member is required.
	SpekeKeyProvider *SpekeKeyProvider

	// A 128-bit, 16-byte hex value represented by a 32-character string, used in
	// conjunction with the key for encrypting content. If you don't specify a value,
	// then MediaPackage creates the constant initialization vector (IV).
	ConstantInitializationVector *string

	// The frequency (in seconds) of key changes for live workflows, in which content
	// is streamed real time. The service retrieves content keys before the live
	// content begins streaming, and then retrieves them as needed over the lifetime of
	// the workflow. By default, key rotation is set to 300 seconds (5 minutes), the
	// minimum rotation interval, which is equivalent to setting it to 300. If you
	// don't enter an interval, content keys aren't rotated. The following example
	// setting causes the service to rotate keys every thirty minutes: 1800
	KeyRotationIntervalSeconds *int32
	// contains filtered or unexported fields
}

The parameters for encrypting content.

type EncryptionContractConfiguration

type EncryptionContractConfiguration struct {

	// A collection of audio encryption presets. Value description:
	//   - PRESET-AUDIO-1 - Use one content key to encrypt all of the audio tracks in
	//   your stream.
	//   - PRESET-AUDIO-2 - Use one content key to encrypt all of the stereo audio
	//   tracks and one content key to encrypt all of the multichannel audio tracks.
	//   - PRESET-AUDIO-3 - Use one content key to encrypt all of the stereo audio
	//   tracks, one content key to encrypt all of the multichannel audio tracks with 3
	//   to 6 channels, and one content key to encrypt all of the multichannel audio
	//   tracks with more than 6 channels.
	//   - SHARED - Use the same content key for all of the audio and video tracks in
	//   your stream.
	//   - UNENCRYPTED - Don't encrypt any of the audio tracks in your stream.
	//
	// This member is required.
	PresetSpeke20Audio PresetSpeke20Audio

	// A collection of video encryption presets. Value description:
	//   - PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks in
	//   your stream.
	//   - PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video tracks
	//   and one content key for all HD and higher resolutions video tracks.
	//   - PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video tracks,
	//   one content key for HD video tracks and one content key for all UHD video
	//   tracks.
	//   - PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video tracks,
	//   one content key for HD video tracks, one content key for all UHD1 video tracks
	//   and one content key for all UHD2 video tracks.
	//   - PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video tracks,
	//   one content key for HD1 video tracks, one content key for HD2 video tracks, one
	//   content key for all UHD1 video tracks and one content key for all UHD2 video
	//   tracks.
	//   - PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video tracks,
	//   one content key for HD1 video tracks, one content key for HD2 video tracks and
	//   one content key for all UHD video tracks.
	//   - PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video
	//   tracks, one content key for HD2 video tracks and one content key for all UHD
	//   video tracks.
	//   - PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video
	//   tracks, one content key for HD2 video tracks, one content key for all UHD1 video
	//   tracks and one content key for all UHD2 video tracks.
	//   - SHARED - Use the same content key for all of the video and audio tracks in
	//   your stream.
	//   - UNENCRYPTED - Don't encrypt any of the video tracks in your stream.
	//
	// This member is required.
	PresetSpeke20Video PresetSpeke20Video
	// contains filtered or unexported fields
}

Configure one or more content encryption keys for your endpoints that use SPEKE Version 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.

type EncryptionMethod

type EncryptionMethod struct {

	// The encryption method to use.
	CmafEncryptionMethod CmafEncryptionMethod

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

The encryption type.

type GetHlsManifestConfiguration

type GetHlsManifestConfiguration struct {

	// A short short string that's appended to the endpoint URL. The manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default manifest name, index. MediaPackage automatically inserts the
	// format extension, such as .m3u8. You can't use the same manifest name if you use
	// HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest
	// object overrides the manifestName you provided on the originEndpoint object.
	//
	// This member is required.
	ManifestName *string

	// The egress domain URL for stream delivery from MediaPackage.
	//
	// This member is required.
	Url *string

	// A short string that's appended to the endpoint URL. The child manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default child manifest name, index_1. The manifestName on the
	// HLSManifest object overrides the manifestName you provided on the originEndpoint
	// object.
	ChildManifestName *string

	// The total duration (in seconds) of the manifest's content.
	ManifestWindowSeconds *int32

	// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval
	// that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags
	// aren't included in the manifest. The tags sync the stream to the wall clock so
	// that viewers can seek to a specific time in the playback timeline on the player.
	// ID3Timed metadata messages generate every 5 seconds whenever the content is
	// ingested. Irrespective of this parameter, if any ID3Timed metadata is in the HLS
	// input, it is passed through to the HLS output.
	ProgramDateTimeIntervalSeconds *int32

	// The SCTE configuration.
	ScteHls *ScteHls
	// contains filtered or unexported fields
}

Retrieve the HTTP live streaming (HLS) manifest configuration.

type GetLowLatencyHlsManifestConfiguration

type GetLowLatencyHlsManifestConfiguration struct {

	// A short short string that's appended to the endpoint URL. The manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default manifest name, index. MediaPackage automatically inserts the
	// format extension, such as .m3u8. You can't use the same manifest name if you use
	// HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest
	// object overrides the manifestName you provided on the originEndpoint object.
	//
	// This member is required.
	ManifestName *string

	// The egress domain URL for stream delivery from MediaPackage.
	//
	// This member is required.
	Url *string

	// A short string that's appended to the endpoint URL. The child manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default child manifest name, index_1. The manifestName on the
	// HLSManifest object overrides the manifestName you provided on the originEndpoint
	// object.
	ChildManifestName *string

	// The total duration (in seconds) of the manifest's content.
	ManifestWindowSeconds *int32

	// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval
	// that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags
	// aren't included in the manifest. The tags sync the stream to the wall clock so
	// that viewers can seek to a specific time in the playback timeline on the player.
	// ID3Timed metadata messages generate every 5 seconds whenever the content is
	// ingested. Irrespective of this parameter, if any ID3Timed metadata is in the HLS
	// input, it is passed through to the HLS output.
	ProgramDateTimeIntervalSeconds *int32

	// The SCTE configuration.
	ScteHls *ScteHls
	// contains filtered or unexported fields
}

Retrieve the low-latency HTTP live streaming (HLS) manifest configuration.

type IngestEndpoint

type IngestEndpoint struct {

	// The system-generated unique identifier for the IngestEndpoint.
	Id *string

	// The ingest domain URL where the source stream should be sent.
	Url *string
	// contains filtered or unexported fields
}

The ingest domain URL where the source stream should be sent.

type InternalServerException

type InternalServerException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Indicates that an error from the service occurred while trying to process a request.

func (*InternalServerException) Error

func (e *InternalServerException) Error() string

func (*InternalServerException) ErrorCode

func (e *InternalServerException) ErrorCode() string

func (*InternalServerException) ErrorFault

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

func (*InternalServerException) ErrorMessage

func (e *InternalServerException) ErrorMessage() string

type ListHlsManifestConfiguration

type ListHlsManifestConfiguration struct {

	// A short short string that's appended to the endpoint URL. The manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default manifest name, index. MediaPackage automatically inserts the
	// format extension, such as .m3u8. You can't use the same manifest name if you use
	// HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest
	// object overrides the manifestName you provided on the originEndpoint object.
	//
	// This member is required.
	ManifestName *string

	// A short string that's appended to the endpoint URL. The child manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default child manifest name, index_1. The manifestName on the
	// HLSManifest object overrides the manifestName you provided on the originEndpoint
	// object.
	ChildManifestName *string

	// The egress domain URL for stream delivery from MediaPackage.
	Url *string
	// contains filtered or unexported fields
}

List the HTTP live streaming (HLS) manifest configuration.

type ListLowLatencyHlsManifestConfiguration

type ListLowLatencyHlsManifestConfiguration struct {

	// A short short string that's appended to the endpoint URL. The manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default manifest name, index. MediaPackage automatically inserts the
	// format extension, such as .m3u8. You can't use the same manifest name if you use
	// HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest
	// object overrides the manifestName you provided on the originEndpoint object.
	//
	// This member is required.
	ManifestName *string

	// A short string that's appended to the endpoint URL. The child manifest name
	// creates a unique path to this endpoint. If you don't enter a value, MediaPackage
	// uses the default child manifest name, index_1. The manifestName on the
	// HLSManifest object overrides the manifestName you provided on the originEndpoint
	// object.
	ChildManifestName *string

	// The egress domain URL for stream delivery from MediaPackage.
	Url *string
	// contains filtered or unexported fields
}

List the low-latency HTTP live streaming (HLS) manifest configuration.

type OriginEndpointListConfiguration

type OriginEndpointListConfiguration struct {

	// The Amazon Resource Name (ARN) associated with the resource.
	//
	// This member is required.
	Arn *string

	// The name that describes the channel group. The name is the primary identifier
	// for the channel group, and must be unique for your account in the AWS Region.
	//
	// This member is required.
	ChannelGroupName *string

	// The name that describes the channel. The name is the primary identifier for the
	// channel, and must be unique for your account in the AWS Region and channel
	// group.
	//
	// This member is required.
	ChannelName *string

	// The type of container attached to this origin endpoint. A container type is a
	// file format that encapsulates one or more media streams, such as audio and
	// video, into a single file.
	//
	// This member is required.
	ContainerType ContainerType

	// The name that describes the origin endpoint. The name is the primary identifier
	// for the origin endpoint, and and must be unique for your account in the AWS
	// Region and channel.
	//
	// This member is required.
	OriginEndpointName *string

	// The date and time the origin endpoint was created.
	CreatedAt *time.Time

	// Any descriptive information that you want to add to the origin endpoint for
	// future identification purposes.
	Description *string

	// An HTTP live streaming (HLS) manifest configuration.
	HlsManifests []ListHlsManifestConfiguration

	// A low-latency HLS manifest configuration.
	LowLatencyHlsManifests []ListLowLatencyHlsManifestConfiguration

	// The date and time the origin endpoint was modified.
	ModifiedAt *time.Time
	// contains filtered or unexported fields
}

The configuration of the origin endpoint.

type PresetSpeke20Audio

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

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

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

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 ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string

	ResourceTypeNotFound ResourceTypeNotFound
	// contains filtered or unexported fields
}

The specified resource doesn't exist.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type ResourceTypeNotFound

type ResourceTypeNotFound string
const (
	ResourceTypeNotFoundChannelGroup   ResourceTypeNotFound = "CHANNEL_GROUP"
	ResourceTypeNotFoundChannel        ResourceTypeNotFound = "CHANNEL"
	ResourceTypeNotFoundOriginEndpoint ResourceTypeNotFound = "ORIGIN_ENDPOINT"
)

Enum values for ResourceTypeNotFound

func (ResourceTypeNotFound) Values

Values returns all known values for ResourceTypeNotFound. 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 Scte

type Scte struct {

	// The SCTE-35 message types that you want to be treated as ad markers in the
	// output.
	ScteFilter []ScteFilter
	// contains filtered or unexported fields
}

The SCTE configuration.

type ScteFilter

type ScteFilter string
const (
	ScteFilterSpliceInsert                           ScteFilter = "SPLICE_INSERT"
	ScteFilterBreak                                  ScteFilter = "BREAK"
	ScteFilterProviderAdvertisement                  ScteFilter = "PROVIDER_ADVERTISEMENT"
	ScteFilterDistributorAdvertisement               ScteFilter = "DISTRIBUTOR_ADVERTISEMENT"
	ScteFilterProviderPlacementOpportunity           ScteFilter = "PROVIDER_PLACEMENT_OPPORTUNITY"
	ScteFilterDistributorPlacementOpportunity        ScteFilter = "DISTRIBUTOR_PLACEMENT_OPPORTUNITY"
	ScteFilterProviderOverlayPlacementOpportunity    ScteFilter = "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY"
	ScteFilterDistributorOverlayPlacementOpportunity ScteFilter = "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
	ScteFilterProgram                                ScteFilter = "PROGRAM"
)

Enum values for ScteFilter

func (ScteFilter) Values

func (ScteFilter) Values() []ScteFilter

Values returns all known values for ScteFilter. 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 ScteHls

type ScteHls struct {

	// Ad markers indicate when ads should be inserted during playback. If you include
	// ad markers in the content stream in your upstream encoders, then you need to
	// inform MediaPackage what to do with the ad markers in the output. Choose what
	// you want MediaPackage to do with the ad markers. Value description:
	//   - DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition
	//   events in TS and CMAF manifests. If you use DATERANGE, you must set a
	//   programDateTimeIntervalSeconds value of 1 or higher. To learn more about
	//   DATERANGE, see SCTE-35 Ad Marker EXT-X-DATERANGE (http://docs.aws.amazon.com/mediapackage/latest/ug/scte-35-ad-marker-ext-x-daterange.html)
	//   .
	AdMarkerHls AdMarkerHls
	// contains filtered or unexported fields
}

The SCTE configuration.

type Segment

type Segment struct {

	// The parameters for encrypting content.
	Encryption *Encryption

	// When selected, the stream set includes an additional I-frame only stream, along
	// with the other tracks. If false, this extra stream is not included. MediaPackage
	// generates an I-frame only stream from the first rendition in the manifest. The
	// service inserts EXT-I-FRAMES-ONLY tags in the output manifest, and then
	// generates and includes an I-frames only playlist in the stream. This playlist
	// permits player functionality like fast forward and rewind.
	IncludeIframeOnlyStreams *bool

	// The SCTE configuration options in the segment settings.
	Scte *Scte

	// The duration (in seconds) of each segment. Enter a value equal to, or a
	// multiple of, the input segment duration. If the value that you enter is
	// different from the input segment duration, MediaPackage rounds segments to the
	// nearest multiple of the input segment duration.
	SegmentDurationSeconds *int32

	// The name that describes the segment. The name is the base name of the segment
	// used in all content manifests inside of the endpoint. You can't use spaces in
	// the name.
	SegmentName *string

	// By default, MediaPackage excludes all digital video broadcasting (DVB)
	// subtitles from the output. When selected, MediaPackage passes through DVB
	// subtitles into the output.
	TsIncludeDvbSubtitles *bool

	// When selected, MediaPackage bundles all audio tracks in a rendition group. All
	// other tracks in the stream can be used with any audio rendition from the group.
	TsUseAudioRenditionGroup *bool
	// contains filtered or unexported fields
}

The segment configuration, including the segment name, duration, and other configuration values.

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request would cause a service quota to be exceeded.

func (*ServiceQuotaExceededException) Error

func (*ServiceQuotaExceededException) ErrorCode

func (e *ServiceQuotaExceededException) ErrorCode() string

func (*ServiceQuotaExceededException) ErrorFault

func (*ServiceQuotaExceededException) ErrorMessage

func (e *ServiceQuotaExceededException) ErrorMessage() string

type SpekeKeyProvider

type SpekeKeyProvider struct {

	// The DRM solution provider you're using to protect your content during
	// distribution.
	//
	// This member is required.
	DrmSystems []DrmSystem

	// Configure one or more content encryption keys for your endpoints that use SPEKE
	// Version 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.
	//
	// This member is required.
	EncryptionContractConfiguration *EncryptionContractConfiguration

	// The unique identifier for the content. The service sends this to the key server
	// to identify the current endpoint. How unique you make this depends on how
	// fine-grained you want access controls to be. The service does not permit you to
	// use the same ID for two simultaneous encryption processes. The resource ID is
	// also known as the content ID. The following example shows a resource ID:
	// MovieNight20171126093045
	//
	// This member is required.
	ResourceId *string

	// The ARN for the IAM role granted by the key provider that provides access to
	// the key provider API. This role must have a trust policy that allows
	// MediaPackage to assume the role, and it must have a sufficient permissions
	// policy to allow access to the specific key retrieval URL. Get this from your DRM
	// solution provider. Valid format: arn:aws:iam::{accountID}:role/{name} . The
	// following example shows a role ARN: arn:aws:iam::444455556666:role/SpekeAccess
	//
	// This member is required.
	RoleArn *string

	// The URL of the API Gateway proxy that you set up to talk to your key server.
	// The API Gateway proxy must reside in the same AWS Region as MediaPackage and
	// must start with https://. The following example shows a URL:
	// https://1wm2dx1f33.execute-api.us-west-2.amazonaws.com/SpekeSample/copyProtection
	//
	// This member is required.
	Url *string
	// contains filtered or unexported fields
}

The parameters for the SPEKE key provider.

type ThrottlingException

type ThrottlingException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request throughput limit was exceeded.

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

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

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type TsEncryptionMethod

type TsEncryptionMethod string
const (
	TsEncryptionMethodAes128    TsEncryptionMethod = "AES_128"
	TsEncryptionMethodSampleAes TsEncryptionMethod = "SAMPLE_AES"
)

Enum values for TsEncryptionMethod

func (TsEncryptionMethod) Values

Values returns all known values for TsEncryptionMethod. 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 ValidationException

type ValidationException struct {
	Message *string

	ErrorCodeOverride *string

	ValidationExceptionType ValidationExceptionType
	// contains filtered or unexported fields
}

The input failed to meet the constraints specified by the AWS service.

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

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

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

type ValidationExceptionType

type ValidationExceptionType string
const (
	ValidationExceptionTypeContainerTypeImmutable                              ValidationExceptionType = "CONTAINER_TYPE_IMMUTABLE"
	ValidationExceptionTypeInvalidPaginationToken                              ValidationExceptionType = "INVALID_PAGINATION_TOKEN"
	ValidationExceptionTypeInvalidPaginationMaxResults                         ValidationExceptionType = "INVALID_PAGINATION_MAX_RESULTS"
	ValidationExceptionTypeInvalidPolicy                                       ValidationExceptionType = "INVALID_POLICY"
	ValidationExceptionTypeInvalidRoleArn                                      ValidationExceptionType = "INVALID_ROLE_ARN"
	ValidationExceptionTypeManifestNameCollision                               ValidationExceptionType = "MANIFEST_NAME_COLLISION"
	ValidationExceptionTypeEncryptionMethodContainerTypeMismatch               ValidationExceptionType = "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH"
	ValidationExceptionTypeCencIvIncompatible                                  ValidationExceptionType = "CENC_IV_INCOMPATIBLE"
	ValidationExceptionTypeEncryptionContractWithoutAudioRenditionIncompatible ValidationExceptionType = "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE"
	ValidationExceptionTypeEncryptionContractUnencrypted                       ValidationExceptionType = "ENCRYPTION_CONTRACT_UNENCRYPTED"
	ValidationExceptionTypeEncryptionContractShared                            ValidationExceptionType = "ENCRYPTION_CONTRACT_SHARED"
	ValidationExceptionTypeNumManifestsLow                                     ValidationExceptionType = "NUM_MANIFESTS_LOW"
	ValidationExceptionTypeNumManifestsHigh                                    ValidationExceptionType = "NUM_MANIFESTS_HIGH"
	ValidationExceptionTypeDrmSystemsEncryptionMethodIncompatible              ValidationExceptionType = "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE"
	ValidationExceptionTypeRoleArnNotAssumable                                 ValidationExceptionType = "ROLE_ARN_NOT_ASSUMABLE"
	ValidationExceptionTypeRoleArnLengthOutOfRange                             ValidationExceptionType = "ROLE_ARN_LENGTH_OUT_OF_RANGE"
	ValidationExceptionTypeRoleArnInvalidFormat                                ValidationExceptionType = "ROLE_ARN_INVALID_FORMAT"
	ValidationExceptionTypeUrlInvalid                                          ValidationExceptionType = "URL_INVALID"
	ValidationExceptionTypeUrlScheme                                           ValidationExceptionType = "URL_SCHEME"
	ValidationExceptionTypeUrlUserInfo                                         ValidationExceptionType = "URL_USER_INFO"
	ValidationExceptionTypeUrlPort                                             ValidationExceptionType = "URL_PORT"
	ValidationExceptionTypeUrlUnknownHost                                      ValidationExceptionType = "URL_UNKNOWN_HOST"
	ValidationExceptionTypeUrlLocalAddress                                     ValidationExceptionType = "URL_LOCAL_ADDRESS"
	ValidationExceptionTypeUrlLoopbackAddress                                  ValidationExceptionType = "URL_LOOPBACK_ADDRESS"
	ValidationExceptionTypeUrlLinkLocalAddress                                 ValidationExceptionType = "URL_LINK_LOCAL_ADDRESS"
	ValidationExceptionTypeUrlMulticastAddress                                 ValidationExceptionType = "URL_MULTICAST_ADDRESS"
	ValidationExceptionTypeMemberInvalid                                       ValidationExceptionType = "MEMBER_INVALID"
	ValidationExceptionTypeMemberMissing                                       ValidationExceptionType = "MEMBER_MISSING"
	ValidationExceptionTypeMemberMinValue                                      ValidationExceptionType = "MEMBER_MIN_VALUE"
	ValidationExceptionTypeMemberMaxValue                                      ValidationExceptionType = "MEMBER_MAX_VALUE"
	ValidationExceptionTypeMemberMinLength                                     ValidationExceptionType = "MEMBER_MIN_LENGTH"
	ValidationExceptionTypeMemberMaxLength                                     ValidationExceptionType = "MEMBER_MAX_LENGTH"
	ValidationExceptionTypeMemberInvalidEnumValue                              ValidationExceptionType = "MEMBER_INVALID_ENUM_VALUE"
	ValidationExceptionTypeMemberDoesNotMatchPattern                           ValidationExceptionType = "MEMBER_DOES_NOT_MATCH_PATTERN"
)

Enum values for ValidationExceptionType

func (ValidationExceptionType) Values

Values returns all known values for ValidationExceptionType. 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.

Jump to

Keyboard shortcuts

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