mediapackage

package
v1.34.25 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 62

Documentation

Overview

Package mediapackage provides the client and types for making API requests to AWS Elemental MediaPackage.

AWS Elemental MediaPackage

See https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12 for more information on this service.

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

Using the Client

To contact AWS Elemental MediaPackage with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Elemental MediaPackage client MediaPackage for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackage/#New

Index

Constants

View Source
const (
	// AdMarkersNone is a AdMarkers enum value
	AdMarkersNone = "NONE"

	// AdMarkersScte35Enhanced is a AdMarkers enum value
	AdMarkersScte35Enhanced = "SCTE35_ENHANCED"

	// AdMarkersPassthrough is a AdMarkers enum value
	AdMarkersPassthrough = "PASSTHROUGH"

	// AdMarkersDaterange is a AdMarkers enum value
	AdMarkersDaterange = "DATERANGE"
)
View Source
const (
	// AdsOnDeliveryRestrictionsNone is a AdsOnDeliveryRestrictions enum value
	AdsOnDeliveryRestrictionsNone = "NONE"

	// AdsOnDeliveryRestrictionsRestricted is a AdsOnDeliveryRestrictions enum value
	AdsOnDeliveryRestrictionsRestricted = "RESTRICTED"

	// AdsOnDeliveryRestrictionsUnrestricted is a AdsOnDeliveryRestrictions enum value
	AdsOnDeliveryRestrictionsUnrestricted = "UNRESTRICTED"

	// AdsOnDeliveryRestrictionsBoth is a AdsOnDeliveryRestrictions enum value
	AdsOnDeliveryRestrictionsBoth = "BOTH"
)

This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors todetermine whether a message signals an ad. Choosing "NONE" means no SCTE-35 messages becomeads. Choosing "RESTRICTED" means SCTE-35 messages of the types specified in AdTriggers thatcontain delivery restrictions will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35messages of the types specified in AdTriggers that do not contain delivery restrictions willbe treated as ads. Choosing "BOTH" means all SCTE-35 messages of the types specified inAdTriggers will be treated as ads. Note that Splice Insert messages do not have these flagsand are always treated as ads if specified in AdTriggers.

View Source
const (
	// EncryptionMethodAes128 is a EncryptionMethod enum value
	EncryptionMethodAes128 = "AES_128"

	// EncryptionMethodSampleAes is a EncryptionMethod enum value
	EncryptionMethodSampleAes = "SAMPLE_AES"
)
View Source
const (
	// ManifestLayoutFull is a ManifestLayout enum value
	ManifestLayoutFull = "FULL"

	// ManifestLayoutCompact is a ManifestLayout enum value
	ManifestLayoutCompact = "COMPACT"
)
View Source
const (
	// OriginationAllow is a Origination enum value
	OriginationAllow = "ALLOW"

	// OriginationDeny is a Origination enum value
	OriginationDeny = "DENY"
)
View Source
const (
	// PlaylistTypeNone is a PlaylistType enum value
	PlaylistTypeNone = "NONE"

	// PlaylistTypeEvent is a PlaylistType enum value
	PlaylistTypeEvent = "EVENT"

	// PlaylistTypeVod is a PlaylistType enum value
	PlaylistTypeVod = "VOD"
)
View Source
const (
	// ProfileNone is a Profile enum value
	ProfileNone = "NONE"

	// ProfileHbbtv15 is a Profile enum value
	ProfileHbbtv15 = "HBBTV_1_5"
)
View Source
const (
	// SegmentTemplateFormatNumberWithTimeline is a SegmentTemplateFormat enum value
	SegmentTemplateFormatNumberWithTimeline = "NUMBER_WITH_TIMELINE"

	// SegmentTemplateFormatTimeWithTimeline is a SegmentTemplateFormat enum value
	SegmentTemplateFormatTimeWithTimeline = "TIME_WITH_TIMELINE"

	// SegmentTemplateFormatNumberWithDuration is a SegmentTemplateFormat enum value
	SegmentTemplateFormatNumberWithDuration = "NUMBER_WITH_DURATION"
)
View Source
const (
	// StatusInProgress is a Status enum value
	StatusInProgress = "IN_PROGRESS"

	// StatusSucceeded is a Status enum value
	StatusSucceeded = "SUCCEEDED"

	// StatusFailed is a Status enum value
	StatusFailed = "FAILED"
)
View Source
const (
	// StreamOrderOriginal is a StreamOrder enum value
	StreamOrderOriginal = "ORIGINAL"

	// StreamOrderVideoBitrateAscending is a StreamOrder enum value
	StreamOrderVideoBitrateAscending = "VIDEO_BITRATE_ASCENDING"

	// StreamOrderVideoBitrateDescending is a StreamOrder enum value
	StreamOrderVideoBitrateDescending = "VIDEO_BITRATE_DESCENDING"
)
View Source
const (
	// UtcTimingNone is a UtcTiming enum value
	UtcTimingNone = "NONE"

	// UtcTimingHttpHead is a UtcTiming enum value
	UtcTimingHttpHead = "HTTP-HEAD"

	// UtcTimingHttpIso is a UtcTiming enum value
	UtcTimingHttpIso = "HTTP-ISO"
)
View Source
const (

	// ErrCodeForbiddenException for service response error code
	// "ForbiddenException".
	ErrCodeForbiddenException = "ForbiddenException"

	// ErrCodeInternalServerErrorException for service response error code
	// "InternalServerErrorException".
	ErrCodeInternalServerErrorException = "InternalServerErrorException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	ErrCodeTooManyRequestsException = "TooManyRequestsException"

	// ErrCodeUnprocessableEntityException for service response error code
	// "UnprocessableEntityException".
	ErrCodeUnprocessableEntityException = "UnprocessableEntityException"
)
View Source
const (
	ServiceName = "mediapackage" // Name of service.
	EndpointsID = ServiceName    // ID to lookup a service endpoint with.
	ServiceID   = "MediaPackage" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func AdMarkers_Values added in v1.34.3

func AdMarkers_Values() []string

AdMarkers_Values returns all elements of the AdMarkers enum

func AdsOnDeliveryRestrictions_Values added in v1.34.3

func AdsOnDeliveryRestrictions_Values() []string

AdsOnDeliveryRestrictions_Values returns all elements of the AdsOnDeliveryRestrictions enum

func EncryptionMethod_Values added in v1.34.3

func EncryptionMethod_Values() []string

EncryptionMethod_Values returns all elements of the EncryptionMethod enum

func ManifestLayout_Values added in v1.34.3

func ManifestLayout_Values() []string

ManifestLayout_Values returns all elements of the ManifestLayout enum

func Origination_Values added in v1.34.3

func Origination_Values() []string

Origination_Values returns all elements of the Origination enum

func PlaylistType_Values added in v1.34.3

func PlaylistType_Values() []string

PlaylistType_Values returns all elements of the PlaylistType enum

func Profile_Values added in v1.34.3

func Profile_Values() []string

Profile_Values returns all elements of the Profile enum

func SegmentTemplateFormat_Values added in v1.34.3

func SegmentTemplateFormat_Values() []string

SegmentTemplateFormat_Values returns all elements of the SegmentTemplateFormat enum

func Status_Values added in v1.34.3

func Status_Values() []string

Status_Values returns all elements of the Status enum

func StreamOrder_Values added in v1.34.3

func StreamOrder_Values() []string

StreamOrder_Values returns all elements of the StreamOrder enum

func UtcTiming_Values added in v1.34.17

func UtcTiming_Values() []string

UtcTiming_Values returns all elements of the UtcTiming enum

Types

type Authorization added in v1.27.1

type Authorization struct {

	// The Amazon Resource Name (ARN) for the secret in Secrets Manager that your
	// Content Distribution Network (CDN) uses for authorization to access your
	// endpoint.
	//
	// CdnIdentifierSecret is a required field
	CdnIdentifierSecret *string `locationName:"cdnIdentifierSecret" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage
	// to communicate with AWS Secrets Manager.
	//
	// SecretsRoleArn is a required field
	SecretsRoleArn *string `locationName:"secretsRoleArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

CDN Authorization credentials

func (Authorization) GoString added in v1.27.1

func (s Authorization) GoString() string

GoString returns the string representation

func (*Authorization) SetCdnIdentifierSecret added in v1.27.1

func (s *Authorization) SetCdnIdentifierSecret(v string) *Authorization

SetCdnIdentifierSecret sets the CdnIdentifierSecret field's value.

func (*Authorization) SetSecretsRoleArn added in v1.27.1

func (s *Authorization) SetSecretsRoleArn(v string) *Authorization

SetSecretsRoleArn sets the SecretsRoleArn field's value.

func (Authorization) String added in v1.27.1

func (s Authorization) String() string

String returns the string representation

func (*Authorization) Validate added in v1.27.1

func (s *Authorization) Validate() error

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

type Channel

type Channel struct {

	// The Amazon Resource Name (ARN) assigned to the Channel.
	Arn *string `locationName:"arn" type:"string"`

	// A short text description of the Channel.
	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

	// The ID of the Channel.
	Id *string `locationName:"id" type:"string"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

A Channel resource configuration.

func (Channel) GoString

func (s Channel) GoString() string

GoString returns the string representation

func (*Channel) SetArn

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

SetArn sets the Arn field's value.

func (*Channel) SetDescription

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

SetDescription sets the Description field's value.

func (*Channel) SetHlsIngest

func (s *Channel) SetHlsIngest(v *HlsIngest) *Channel

SetHlsIngest sets the HlsIngest field's value.

func (*Channel) SetId

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

SetId sets the Id field's value.

func (*Channel) SetTags added in v1.17.10

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

SetTags sets the Tags field's value.

func (Channel) String

func (s Channel) String() string

String returns the string representation

type CmafEncryption added in v1.13.32

type CmafEncryption struct {

	// Time (in seconds) between each encryption key rotation.
	KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"`

	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	//
	// SpekeKeyProvider is a required field
	SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A Common Media Application Format (CMAF) encryption configuration.

func (CmafEncryption) GoString added in v1.13.32

func (s CmafEncryption) GoString() string

GoString returns the string representation

func (*CmafEncryption) SetKeyRotationIntervalSeconds added in v1.13.32

func (s *CmafEncryption) SetKeyRotationIntervalSeconds(v int64) *CmafEncryption

SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value.

func (*CmafEncryption) SetSpekeKeyProvider added in v1.13.32

func (s *CmafEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *CmafEncryption

SetSpekeKeyProvider sets the SpekeKeyProvider field's value.

func (CmafEncryption) String added in v1.13.32

func (s CmafEncryption) String() string

String returns the string representation

func (*CmafEncryption) Validate added in v1.13.32

func (s *CmafEncryption) Validate() error

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

type CmafPackage added in v1.13.32

type CmafPackage struct {

	// A Common Media Application Format (CMAF) encryption configuration.
	Encryption *CmafEncryption `locationName:"encryption" type:"structure"`

	// A list of HLS manifest configurations
	HlsManifests []*HlsManifest `locationName:"hlsManifests" type:"list"`

	// Duration (in seconds) of each segment. Actual segments will berounded to
	// the nearest multiple of the source segment duration.
	SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"`

	// An optional custom string that is prepended to the name of each segment.
	// If not specified, it defaults to the ChannelId.
	SegmentPrefix *string `locationName:"segmentPrefix" type:"string"`

	// A StreamSelection configuration.
	StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"`
	// contains filtered or unexported fields
}

A Common Media Application Format (CMAF) packaging configuration.

func (CmafPackage) GoString added in v1.13.32

func (s CmafPackage) GoString() string

GoString returns the string representation

func (*CmafPackage) SetEncryption added in v1.13.32

func (s *CmafPackage) SetEncryption(v *CmafEncryption) *CmafPackage

SetEncryption sets the Encryption field's value.

func (*CmafPackage) SetHlsManifests added in v1.13.32

func (s *CmafPackage) SetHlsManifests(v []*HlsManifest) *CmafPackage

SetHlsManifests sets the HlsManifests field's value.

func (*CmafPackage) SetSegmentDurationSeconds added in v1.13.32

func (s *CmafPackage) SetSegmentDurationSeconds(v int64) *CmafPackage

SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.

func (*CmafPackage) SetSegmentPrefix added in v1.13.32

func (s *CmafPackage) SetSegmentPrefix(v string) *CmafPackage

SetSegmentPrefix sets the SegmentPrefix field's value.

func (*CmafPackage) SetStreamSelection added in v1.13.32

func (s *CmafPackage) SetStreamSelection(v *StreamSelection) *CmafPackage

SetStreamSelection sets the StreamSelection field's value.

func (CmafPackage) String added in v1.13.32

func (s CmafPackage) String() string

String returns the string representation

type CmafPackageCreateOrUpdateParameters added in v1.13.32

type CmafPackageCreateOrUpdateParameters struct {

	// A Common Media Application Format (CMAF) encryption configuration.
	Encryption *CmafEncryption `locationName:"encryption" type:"structure"`

	// A list of HLS manifest configurations
	HlsManifests []*HlsManifestCreateOrUpdateParameters `locationName:"hlsManifests" type:"list"`

	// Duration (in seconds) of each segment. Actual segments will berounded to
	// the nearest multiple of the source segment duration.
	SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"`

	// An optional custom string that is prepended to the name of each segment.
	// If not specified, it defaults to the ChannelId.
	SegmentPrefix *string `locationName:"segmentPrefix" type:"string"`

	// A StreamSelection configuration.
	StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"`
	// contains filtered or unexported fields
}

A Common Media Application Format (CMAF) packaging configuration.

func (CmafPackageCreateOrUpdateParameters) GoString added in v1.13.32

GoString returns the string representation

func (*CmafPackageCreateOrUpdateParameters) SetEncryption added in v1.13.32

SetEncryption sets the Encryption field's value.

func (*CmafPackageCreateOrUpdateParameters) SetHlsManifests added in v1.13.32

SetHlsManifests sets the HlsManifests field's value.

func (*CmafPackageCreateOrUpdateParameters) SetSegmentDurationSeconds added in v1.13.32

SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.

func (*CmafPackageCreateOrUpdateParameters) SetSegmentPrefix added in v1.13.32

SetSegmentPrefix sets the SegmentPrefix field's value.

func (*CmafPackageCreateOrUpdateParameters) SetStreamSelection added in v1.13.32

SetStreamSelection sets the StreamSelection field's value.

func (CmafPackageCreateOrUpdateParameters) String added in v1.13.32

String returns the string representation

func (*CmafPackageCreateOrUpdateParameters) Validate added in v1.13.32

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

type CreateChannelInput

type CreateChannelInput struct {
	Description *string `locationName:"description" type:"string"`

	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateChannelInput) GoString

func (s CreateChannelInput) GoString() string

GoString returns the string representation

func (*CreateChannelInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateChannelInput) SetId

SetId sets the Id field's value.

func (*CreateChannelInput) SetTags added in v1.17.10

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

SetTags sets the Tags field's value.

func (CreateChannelInput) String

func (s CreateChannelInput) String() string

String returns the string representation

func (*CreateChannelInput) Validate

func (s *CreateChannelInput) Validate() error

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

type CreateChannelOutput

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

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

	Id *string `locationName:"id" type:"string"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateChannelOutput) GoString

func (s CreateChannelOutput) GoString() string

GoString returns the string representation

func (*CreateChannelOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateChannelOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateChannelOutput) SetHlsIngest

func (s *CreateChannelOutput) SetHlsIngest(v *HlsIngest) *CreateChannelOutput

SetHlsIngest sets the HlsIngest field's value.

func (*CreateChannelOutput) SetId

SetId sets the Id field's value.

func (*CreateChannelOutput) SetTags added in v1.17.10

SetTags sets the Tags field's value.

func (CreateChannelOutput) String

func (s CreateChannelOutput) String() string

String returns the string representation

type CreateHarvestJobInput added in v1.25.6

type CreateHarvestJobInput struct {

	// EndTime is a required field
	EndTime *string `locationName:"endTime" type:"string" required:"true"`

	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// OriginEndpointId is a required field
	OriginEndpointId *string `locationName:"originEndpointId" type:"string" required:"true"`

	// Configuration parameters for where in an S3 bucket to place the harvested
	// content
	//
	// S3Destination is a required field
	S3Destination *S3Destination `locationName:"s3Destination" type:"structure" required:"true"`

	// StartTime is a required field
	StartTime *string `locationName:"startTime" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateHarvestJobInput) GoString added in v1.25.6

func (s CreateHarvestJobInput) GoString() string

GoString returns the string representation

func (*CreateHarvestJobInput) SetEndTime added in v1.25.6

SetEndTime sets the EndTime field's value.

func (*CreateHarvestJobInput) SetId added in v1.25.6

SetId sets the Id field's value.

func (*CreateHarvestJobInput) SetOriginEndpointId added in v1.25.6

func (s *CreateHarvestJobInput) SetOriginEndpointId(v string) *CreateHarvestJobInput

SetOriginEndpointId sets the OriginEndpointId field's value.

func (*CreateHarvestJobInput) SetS3Destination added in v1.25.6

SetS3Destination sets the S3Destination field's value.

func (*CreateHarvestJobInput) SetStartTime added in v1.25.6

SetStartTime sets the StartTime field's value.

func (CreateHarvestJobInput) String added in v1.25.6

func (s CreateHarvestJobInput) String() string

String returns the string representation

func (*CreateHarvestJobInput) Validate added in v1.25.6

func (s *CreateHarvestJobInput) Validate() error

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

type CreateHarvestJobOutput added in v1.25.6

type CreateHarvestJobOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	ChannelId *string `locationName:"channelId" type:"string"`

	CreatedAt *string `locationName:"createdAt" type:"string"`

	EndTime *string `locationName:"endTime" type:"string"`

	Id *string `locationName:"id" type:"string"`

	OriginEndpointId *string `locationName:"originEndpointId" type:"string"`

	// Configuration parameters for where in an S3 bucket to place the harvested
	// content
	S3Destination *S3Destination `locationName:"s3Destination" type:"structure"`

	StartTime *string `locationName:"startTime" type:"string"`

	Status *string `locationName:"status" type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

func (CreateHarvestJobOutput) GoString added in v1.25.6

func (s CreateHarvestJobOutput) GoString() string

GoString returns the string representation

func (*CreateHarvestJobOutput) SetArn added in v1.25.6

SetArn sets the Arn field's value.

func (*CreateHarvestJobOutput) SetChannelId added in v1.25.6

SetChannelId sets the ChannelId field's value.

func (*CreateHarvestJobOutput) SetCreatedAt added in v1.25.6

SetCreatedAt sets the CreatedAt field's value.

func (*CreateHarvestJobOutput) SetEndTime added in v1.25.6

SetEndTime sets the EndTime field's value.

func (*CreateHarvestJobOutput) SetId added in v1.25.6

SetId sets the Id field's value.

func (*CreateHarvestJobOutput) SetOriginEndpointId added in v1.25.6

func (s *CreateHarvestJobOutput) SetOriginEndpointId(v string) *CreateHarvestJobOutput

SetOriginEndpointId sets the OriginEndpointId field's value.

func (*CreateHarvestJobOutput) SetS3Destination added in v1.25.6

SetS3Destination sets the S3Destination field's value.

func (*CreateHarvestJobOutput) SetStartTime added in v1.25.6

SetStartTime sets the StartTime field's value.

func (*CreateHarvestJobOutput) SetStatus added in v1.25.6

SetStatus sets the Status field's value.

func (CreateHarvestJobOutput) String added in v1.25.6

func (s CreateHarvestJobOutput) String() string

String returns the string representation

type CreateOriginEndpointInput

type CreateOriginEndpointInput struct {

	// CDN Authorization credentials
	Authorization *Authorization `locationName:"authorization" type:"structure"`

	// ChannelId is a required field
	ChannelId *string `locationName:"channelId" type:"string" required:"true"`

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackageCreateOrUpdateParameters `locationName:"cmafPackage" type:"structure"`

	// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
	DashPackage *DashPackage `locationName:"dashPackage" type:"structure"`

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) packaging configuration.
	HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"`

	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	ManifestName *string `locationName:"manifestName" type:"string"`

	// A Microsoft Smooth Streaming (MSS) packaging configuration.
	MssPackage *MssPackage `locationName:"mssPackage" type:"structure"`

	Origination *string `locationName:"origination" type:"string" enum:"Origination"`

	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`

	TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"`

	Whitelist []*string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

func (CreateOriginEndpointInput) GoString

func (s CreateOriginEndpointInput) GoString() string

GoString returns the string representation

func (*CreateOriginEndpointInput) SetAuthorization added in v1.27.1

SetAuthorization sets the Authorization field's value.

func (*CreateOriginEndpointInput) SetChannelId

SetChannelId sets the ChannelId field's value.

func (*CreateOriginEndpointInput) SetCmafPackage added in v1.13.32

SetCmafPackage sets the CmafPackage field's value.

func (*CreateOriginEndpointInput) SetDashPackage

SetDashPackage sets the DashPackage field's value.

func (*CreateOriginEndpointInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateOriginEndpointInput) SetHlsPackage

SetHlsPackage sets the HlsPackage field's value.

func (*CreateOriginEndpointInput) SetId

SetId sets the Id field's value.

func (*CreateOriginEndpointInput) SetManifestName

SetManifestName sets the ManifestName field's value.

func (*CreateOriginEndpointInput) SetMssPackage

SetMssPackage sets the MssPackage field's value.

func (*CreateOriginEndpointInput) SetOrigination added in v1.25.6

SetOrigination sets the Origination field's value.

func (*CreateOriginEndpointInput) SetStartoverWindowSeconds

func (s *CreateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointInput

SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.

func (*CreateOriginEndpointInput) SetTags added in v1.17.10

SetTags sets the Tags field's value.

func (*CreateOriginEndpointInput) SetTimeDelaySeconds

func (s *CreateOriginEndpointInput) SetTimeDelaySeconds(v int64) *CreateOriginEndpointInput

SetTimeDelaySeconds sets the TimeDelaySeconds field's value.

func (*CreateOriginEndpointInput) SetWhitelist

SetWhitelist sets the Whitelist field's value.

func (CreateOriginEndpointInput) String

func (s CreateOriginEndpointInput) String() string

String returns the string representation

func (*CreateOriginEndpointInput) Validate

func (s *CreateOriginEndpointInput) Validate() error

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

type CreateOriginEndpointOutput

type CreateOriginEndpointOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	// CDN Authorization credentials
	Authorization *Authorization `locationName:"authorization" type:"structure"`

	ChannelId *string `locationName:"channelId" type:"string"`

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

	// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
	DashPackage *DashPackage `locationName:"dashPackage" type:"structure"`

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) packaging configuration.
	HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"`

	Id *string `locationName:"id" type:"string"`

	ManifestName *string `locationName:"manifestName" type:"string"`

	// A Microsoft Smooth Streaming (MSS) packaging configuration.
	MssPackage *MssPackage `locationName:"mssPackage" type:"structure"`

	Origination *string `locationName:"origination" type:"string" enum:"Origination"`

	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`

	TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"`

	Url *string `locationName:"url" type:"string"`

	Whitelist []*string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

func (CreateOriginEndpointOutput) GoString

func (s CreateOriginEndpointOutput) GoString() string

GoString returns the string representation

func (*CreateOriginEndpointOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateOriginEndpointOutput) SetAuthorization added in v1.27.1

SetAuthorization sets the Authorization field's value.

func (*CreateOriginEndpointOutput) SetChannelId

SetChannelId sets the ChannelId field's value.

func (*CreateOriginEndpointOutput) SetCmafPackage added in v1.13.32

SetCmafPackage sets the CmafPackage field's value.

func (*CreateOriginEndpointOutput) SetDashPackage

SetDashPackage sets the DashPackage field's value.

func (*CreateOriginEndpointOutput) SetDescription

SetDescription sets the Description field's value.

func (*CreateOriginEndpointOutput) SetHlsPackage

SetHlsPackage sets the HlsPackage field's value.

func (*CreateOriginEndpointOutput) SetId

SetId sets the Id field's value.

func (*CreateOriginEndpointOutput) SetManifestName

SetManifestName sets the ManifestName field's value.

func (*CreateOriginEndpointOutput) SetMssPackage

SetMssPackage sets the MssPackage field's value.

func (*CreateOriginEndpointOutput) SetOrigination added in v1.25.6

SetOrigination sets the Origination field's value.

func (*CreateOriginEndpointOutput) SetStartoverWindowSeconds

func (s *CreateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointOutput

SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.

func (*CreateOriginEndpointOutput) SetTags added in v1.17.10

SetTags sets the Tags field's value.

func (*CreateOriginEndpointOutput) SetTimeDelaySeconds

func (s *CreateOriginEndpointOutput) SetTimeDelaySeconds(v int64) *CreateOriginEndpointOutput

SetTimeDelaySeconds sets the TimeDelaySeconds field's value.

func (*CreateOriginEndpointOutput) SetUrl

SetUrl sets the Url field's value.

func (*CreateOriginEndpointOutput) SetWhitelist

SetWhitelist sets the Whitelist field's value.

func (CreateOriginEndpointOutput) String

String returns the string representation

type DashEncryption

type DashEncryption struct {

	// Time (in seconds) between each encryption key rotation.
	KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"`

	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	//
	// SpekeKeyProvider is a required field
	SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

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

func (DashEncryption) GoString

func (s DashEncryption) GoString() string

GoString returns the string representation

func (*DashEncryption) SetKeyRotationIntervalSeconds

func (s *DashEncryption) SetKeyRotationIntervalSeconds(v int64) *DashEncryption

SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value.

func (*DashEncryption) SetSpekeKeyProvider

func (s *DashEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *DashEncryption

SetSpekeKeyProvider sets the SpekeKeyProvider field's value.

func (DashEncryption) String

func (s DashEncryption) String() string

String returns the string representation

func (*DashEncryption) Validate

func (s *DashEncryption) Validate() error

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

type DashPackage

type DashPackage struct {

	// A list of SCTE-35 message types that are treated as ad markers in the output.
	// If empty, noad markers are output. Specify multiple items to create ad markers
	// for all of the includedmessage types.
	AdTriggers []*string `locationName:"adTriggers" type:"list"`

	// This setting allows the delivery restriction flags on SCTE-35 segmentation
	// descriptors todetermine whether a message signals an ad. Choosing "NONE"
	// means no SCTE-35 messages becomeads. Choosing "RESTRICTED" means SCTE-35
	// messages of the types specified in AdTriggers thatcontain delivery restrictions
	// will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35messages of
	// the types specified in AdTriggers that do not contain delivery restrictions
	// willbe treated as ads. Choosing "BOTH" means all SCTE-35 messages of the
	// types specified inAdTriggers will be treated as ads. Note that Splice Insert
	// messages do not have these flagsand are always treated as ads if specified
	// in AdTriggers.
	AdsOnDeliveryRestrictions *string `locationName:"adsOnDeliveryRestrictions" type:"string" enum:"AdsOnDeliveryRestrictions"`

	// A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
	Encryption *DashEncryption `locationName:"encryption" type:"structure"`

	// 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 *string `locationName:"manifestLayout" type:"string" enum:"ManifestLayout"`

	// Time window (in seconds) contained in each manifest.
	ManifestWindowSeconds *int64 `locationName:"manifestWindowSeconds" type:"integer"`

	// Minimum duration (in seconds) that a player will buffer media before starting
	// the presentation.
	MinBufferTimeSeconds *int64 `locationName:"minBufferTimeSeconds" type:"integer"`

	// Minimum duration (in seconds) between potential changes to the Dynamic Adaptive
	// Streaming over HTTP (DASH) Media Presentation Description (MPD).
	MinUpdatePeriodSeconds *int64 `locationName:"minUpdatePeriodSeconds" type:"integer"`

	// 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 notbe partitioned into
	// more than one period. If the list contains "ADS", new periods will be created
	// wherethe Channel source contains SCTE-35 ad markers.
	PeriodTriggers []*string `locationName:"periodTriggers" type:"list"`

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

	// Duration (in seconds) of each segment. Actual segments will berounded to
	// the nearest multiple of the source segment duration.
	SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"`

	// 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 *string `locationName:"segmentTemplateFormat" type:"string" enum:"SegmentTemplateFormat"`

	// A StreamSelection configuration.
	StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"`

	// Duration (in seconds) to delay live content before presentation.
	SuggestedPresentationDelaySeconds *int64 `locationName:"suggestedPresentationDelaySeconds" type:"integer"`

	// Determines the type of UTCTiming included in the Media Presentation Description
	// (MPD)
	UtcTiming *string `locationName:"utcTiming" type:"string" enum:"UtcTiming"`

	// Specifies the value attribute of the UTCTiming field when utcTiming is set
	// to HTTP-ISO or HTTP-HEAD
	UtcTimingUri *string `locationName:"utcTimingUri" type:"string"`
	// contains filtered or unexported fields
}

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

func (DashPackage) GoString

func (s DashPackage) GoString() string

GoString returns the string representation

func (*DashPackage) SetAdTriggers added in v1.20.6

func (s *DashPackage) SetAdTriggers(v []*string) *DashPackage

SetAdTriggers sets the AdTriggers field's value.

func (*DashPackage) SetAdsOnDeliveryRestrictions added in v1.20.6

func (s *DashPackage) SetAdsOnDeliveryRestrictions(v string) *DashPackage

SetAdsOnDeliveryRestrictions sets the AdsOnDeliveryRestrictions field's value.

func (*DashPackage) SetEncryption

func (s *DashPackage) SetEncryption(v *DashEncryption) *DashPackage

SetEncryption sets the Encryption field's value.

func (*DashPackage) SetManifestLayout added in v1.16.32

func (s *DashPackage) SetManifestLayout(v string) *DashPackage

SetManifestLayout sets the ManifestLayout field's value.

func (*DashPackage) SetManifestWindowSeconds

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

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (*DashPackage) SetMinBufferTimeSeconds

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

SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value.

func (*DashPackage) SetMinUpdatePeriodSeconds

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

SetMinUpdatePeriodSeconds sets the MinUpdatePeriodSeconds field's value.

func (*DashPackage) SetPeriodTriggers added in v1.14.30

func (s *DashPackage) SetPeriodTriggers(v []*string) *DashPackage

SetPeriodTriggers sets the PeriodTriggers field's value.

func (*DashPackage) SetProfile

func (s *DashPackage) SetProfile(v string) *DashPackage

SetProfile sets the Profile field's value.

func (*DashPackage) SetSegmentDurationSeconds

func (s *DashPackage) SetSegmentDurationSeconds(v int64) *DashPackage

SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.

func (*DashPackage) SetSegmentTemplateFormat added in v1.16.32

func (s *DashPackage) SetSegmentTemplateFormat(v string) *DashPackage

SetSegmentTemplateFormat sets the SegmentTemplateFormat field's value.

func (*DashPackage) SetStreamSelection

func (s *DashPackage) SetStreamSelection(v *StreamSelection) *DashPackage

SetStreamSelection sets the StreamSelection field's value.

func (*DashPackage) SetSuggestedPresentationDelaySeconds

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

SetSuggestedPresentationDelaySeconds sets the SuggestedPresentationDelaySeconds field's value.

func (*DashPackage) SetUtcTiming added in v1.34.17

func (s *DashPackage) SetUtcTiming(v string) *DashPackage

SetUtcTiming sets the UtcTiming field's value.

func (*DashPackage) SetUtcTimingUri added in v1.34.17

func (s *DashPackage) SetUtcTimingUri(v string) *DashPackage

SetUtcTimingUri sets the UtcTimingUri field's value.

func (DashPackage) String

func (s DashPackage) String() string

String returns the string representation

func (*DashPackage) Validate

func (s *DashPackage) Validate() error

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

type DeleteChannelInput

type DeleteChannelInput struct {

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

func (DeleteChannelInput) GoString

func (s DeleteChannelInput) GoString() string

GoString returns the string representation

func (*DeleteChannelInput) SetId

SetId sets the Id field's value.

func (DeleteChannelInput) String

func (s DeleteChannelInput) String() string

String returns the string representation

func (*DeleteChannelInput) Validate

func (s *DeleteChannelInput) Validate() error

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

type DeleteChannelOutput

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

func (DeleteChannelOutput) GoString

func (s DeleteChannelOutput) GoString() string

GoString returns the string representation

func (DeleteChannelOutput) String

func (s DeleteChannelOutput) String() string

String returns the string representation

type DeleteOriginEndpointInput

type DeleteOriginEndpointInput struct {

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

func (DeleteOriginEndpointInput) GoString

func (s DeleteOriginEndpointInput) GoString() string

GoString returns the string representation

func (*DeleteOriginEndpointInput) SetId

SetId sets the Id field's value.

func (DeleteOriginEndpointInput) String

func (s DeleteOriginEndpointInput) String() string

String returns the string representation

func (*DeleteOriginEndpointInput) Validate

func (s *DeleteOriginEndpointInput) Validate() error

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

type DeleteOriginEndpointOutput

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

func (DeleteOriginEndpointOutput) GoString

func (s DeleteOriginEndpointOutput) GoString() string

GoString returns the string representation

func (DeleteOriginEndpointOutput) String

String returns the string representation

type DescribeChannelInput

type DescribeChannelInput struct {

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

func (DescribeChannelInput) GoString

func (s DescribeChannelInput) GoString() string

GoString returns the string representation

func (*DescribeChannelInput) SetId

SetId sets the Id field's value.

func (DescribeChannelInput) String

func (s DescribeChannelInput) String() string

String returns the string representation

func (*DescribeChannelInput) Validate

func (s *DescribeChannelInput) Validate() error

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

type DescribeChannelOutput

type DescribeChannelOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

	Id *string `locationName:"id" type:"string"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (DescribeChannelOutput) GoString

func (s DescribeChannelOutput) GoString() string

GoString returns the string representation

func (*DescribeChannelOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribeChannelOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*DescribeChannelOutput) SetHlsIngest

SetHlsIngest sets the HlsIngest field's value.

func (*DescribeChannelOutput) SetId

SetId sets the Id field's value.

func (*DescribeChannelOutput) SetTags added in v1.17.10

SetTags sets the Tags field's value.

func (DescribeChannelOutput) String

func (s DescribeChannelOutput) String() string

String returns the string representation

type DescribeHarvestJobInput added in v1.25.6

type DescribeHarvestJobInput struct {

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

func (DescribeHarvestJobInput) GoString added in v1.25.6

func (s DescribeHarvestJobInput) GoString() string

GoString returns the string representation

func (*DescribeHarvestJobInput) SetId added in v1.25.6

SetId sets the Id field's value.

func (DescribeHarvestJobInput) String added in v1.25.6

func (s DescribeHarvestJobInput) String() string

String returns the string representation

func (*DescribeHarvestJobInput) Validate added in v1.25.6

func (s *DescribeHarvestJobInput) Validate() error

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

type DescribeHarvestJobOutput added in v1.25.6

type DescribeHarvestJobOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	ChannelId *string `locationName:"channelId" type:"string"`

	CreatedAt *string `locationName:"createdAt" type:"string"`

	EndTime *string `locationName:"endTime" type:"string"`

	Id *string `locationName:"id" type:"string"`

	OriginEndpointId *string `locationName:"originEndpointId" type:"string"`

	// Configuration parameters for where in an S3 bucket to place the harvested
	// content
	S3Destination *S3Destination `locationName:"s3Destination" type:"structure"`

	StartTime *string `locationName:"startTime" type:"string"`

	Status *string `locationName:"status" type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

func (DescribeHarvestJobOutput) GoString added in v1.25.6

func (s DescribeHarvestJobOutput) GoString() string

GoString returns the string representation

func (*DescribeHarvestJobOutput) SetArn added in v1.25.6

SetArn sets the Arn field's value.

func (*DescribeHarvestJobOutput) SetChannelId added in v1.25.6

SetChannelId sets the ChannelId field's value.

func (*DescribeHarvestJobOutput) SetCreatedAt added in v1.25.6

SetCreatedAt sets the CreatedAt field's value.

func (*DescribeHarvestJobOutput) SetEndTime added in v1.25.6

SetEndTime sets the EndTime field's value.

func (*DescribeHarvestJobOutput) SetId added in v1.25.6

SetId sets the Id field's value.

func (*DescribeHarvestJobOutput) SetOriginEndpointId added in v1.25.6

func (s *DescribeHarvestJobOutput) SetOriginEndpointId(v string) *DescribeHarvestJobOutput

SetOriginEndpointId sets the OriginEndpointId field's value.

func (*DescribeHarvestJobOutput) SetS3Destination added in v1.25.6

SetS3Destination sets the S3Destination field's value.

func (*DescribeHarvestJobOutput) SetStartTime added in v1.25.6

SetStartTime sets the StartTime field's value.

func (*DescribeHarvestJobOutput) SetStatus added in v1.25.6

SetStatus sets the Status field's value.

func (DescribeHarvestJobOutput) String added in v1.25.6

func (s DescribeHarvestJobOutput) String() string

String returns the string representation

type DescribeOriginEndpointInput

type DescribeOriginEndpointInput struct {

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

func (DescribeOriginEndpointInput) GoString

func (s DescribeOriginEndpointInput) GoString() string

GoString returns the string representation

func (*DescribeOriginEndpointInput) SetId

SetId sets the Id field's value.

func (DescribeOriginEndpointInput) String

String returns the string representation

func (*DescribeOriginEndpointInput) Validate

func (s *DescribeOriginEndpointInput) Validate() error

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

type DescribeOriginEndpointOutput

type DescribeOriginEndpointOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	// CDN Authorization credentials
	Authorization *Authorization `locationName:"authorization" type:"structure"`

	ChannelId *string `locationName:"channelId" type:"string"`

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

	// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
	DashPackage *DashPackage `locationName:"dashPackage" type:"structure"`

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) packaging configuration.
	HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"`

	Id *string `locationName:"id" type:"string"`

	ManifestName *string `locationName:"manifestName" type:"string"`

	// A Microsoft Smooth Streaming (MSS) packaging configuration.
	MssPackage *MssPackage `locationName:"mssPackage" type:"structure"`

	Origination *string `locationName:"origination" type:"string" enum:"Origination"`

	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`

	TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"`

	Url *string `locationName:"url" type:"string"`

	Whitelist []*string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeOriginEndpointOutput) GoString

func (s DescribeOriginEndpointOutput) GoString() string

GoString returns the string representation

func (*DescribeOriginEndpointOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribeOriginEndpointOutput) SetAuthorization added in v1.27.1

SetAuthorization sets the Authorization field's value.

func (*DescribeOriginEndpointOutput) SetChannelId

SetChannelId sets the ChannelId field's value.

func (*DescribeOriginEndpointOutput) SetCmafPackage added in v1.13.32

SetCmafPackage sets the CmafPackage field's value.

func (*DescribeOriginEndpointOutput) SetDashPackage

SetDashPackage sets the DashPackage field's value.

func (*DescribeOriginEndpointOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeOriginEndpointOutput) SetHlsPackage

SetHlsPackage sets the HlsPackage field's value.

func (*DescribeOriginEndpointOutput) SetId

SetId sets the Id field's value.

func (*DescribeOriginEndpointOutput) SetManifestName

SetManifestName sets the ManifestName field's value.

func (*DescribeOriginEndpointOutput) SetMssPackage

SetMssPackage sets the MssPackage field's value.

func (*DescribeOriginEndpointOutput) SetOrigination added in v1.25.6

SetOrigination sets the Origination field's value.

func (*DescribeOriginEndpointOutput) SetStartoverWindowSeconds

func (s *DescribeOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *DescribeOriginEndpointOutput

SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.

func (*DescribeOriginEndpointOutput) SetTags added in v1.17.10

SetTags sets the Tags field's value.

func (*DescribeOriginEndpointOutput) SetTimeDelaySeconds

SetTimeDelaySeconds sets the TimeDelaySeconds field's value.

func (*DescribeOriginEndpointOutput) SetUrl

SetUrl sets the Url field's value.

func (*DescribeOriginEndpointOutput) SetWhitelist

SetWhitelist sets the Whitelist field's value.

func (DescribeOriginEndpointOutput) String

String returns the string representation

type ForbiddenException added in v1.28.0

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

func (*ForbiddenException) Code added in v1.28.0

func (s *ForbiddenException) Code() string

Code returns the exception type name.

func (*ForbiddenException) Error added in v1.28.0

func (s *ForbiddenException) Error() string

func (ForbiddenException) GoString added in v1.28.0

func (s ForbiddenException) GoString() string

GoString returns the string representation

func (*ForbiddenException) Message added in v1.28.0

func (s *ForbiddenException) Message() string

Message returns the exception's message.

func (*ForbiddenException) OrigErr added in v1.28.0

func (s *ForbiddenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ForbiddenException) RequestID added in v1.28.0

func (s *ForbiddenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ForbiddenException) StatusCode added in v1.28.0

func (s *ForbiddenException) StatusCode() int

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

func (ForbiddenException) String added in v1.28.0

func (s ForbiddenException) String() string

String returns the string representation

type HarvestJob added in v1.25.6

type HarvestJob struct {

	// The Amazon Resource Name (ARN) assigned to the HarvestJob.
	Arn *string `locationName:"arn" type:"string"`

	// The ID of the Channel that the HarvestJob will harvest from.
	ChannelId *string `locationName:"channelId" type:"string"`

	// The time the HarvestJob was submitted
	CreatedAt *string `locationName:"createdAt" type:"string"`

	// The end of the time-window which will be harvested.
	EndTime *string `locationName:"endTime" type:"string"`

	// The ID of the HarvestJob. The ID must be unique within the regionand it cannot
	// be changed after the HarvestJob is submitted.
	Id *string `locationName:"id" type:"string"`

	// The ID of the OriginEndpoint that the HarvestJob will harvest from.This cannot
	// be changed after the HarvestJob is submitted.
	OriginEndpointId *string `locationName:"originEndpointId" type:"string"`

	// Configuration parameters for where in an S3 bucket to place the harvested
	// content
	S3Destination *S3Destination `locationName:"s3Destination" type:"structure"`

	// The start of the time-window which will be harvested.
	StartTime *string `locationName:"startTime" type:"string"`

	// The current status of the HarvestJob. Consider setting up a CloudWatch Event
	// to listen forHarvestJobs as they succeed or fail. In the event of failure,
	// the CloudWatch Event willinclude an explanation of why the HarvestJob failed.
	Status *string `locationName:"status" type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

A HarvestJob resource configuration

func (HarvestJob) GoString added in v1.25.6

func (s HarvestJob) GoString() string

GoString returns the string representation

func (*HarvestJob) SetArn added in v1.25.6

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

SetArn sets the Arn field's value.

func (*HarvestJob) SetChannelId added in v1.25.6

func (s *HarvestJob) SetChannelId(v string) *HarvestJob

SetChannelId sets the ChannelId field's value.

func (*HarvestJob) SetCreatedAt added in v1.25.6

func (s *HarvestJob) SetCreatedAt(v string) *HarvestJob

SetCreatedAt sets the CreatedAt field's value.

func (*HarvestJob) SetEndTime added in v1.25.6

func (s *HarvestJob) SetEndTime(v string) *HarvestJob

SetEndTime sets the EndTime field's value.

func (*HarvestJob) SetId added in v1.25.6

func (s *HarvestJob) SetId(v string) *HarvestJob

SetId sets the Id field's value.

func (*HarvestJob) SetOriginEndpointId added in v1.25.6

func (s *HarvestJob) SetOriginEndpointId(v string) *HarvestJob

SetOriginEndpointId sets the OriginEndpointId field's value.

func (*HarvestJob) SetS3Destination added in v1.25.6

func (s *HarvestJob) SetS3Destination(v *S3Destination) *HarvestJob

SetS3Destination sets the S3Destination field's value.

func (*HarvestJob) SetStartTime added in v1.25.6

func (s *HarvestJob) SetStartTime(v string) *HarvestJob

SetStartTime sets the StartTime field's value.

func (*HarvestJob) SetStatus added in v1.25.6

func (s *HarvestJob) SetStatus(v string) *HarvestJob

SetStatus sets the Status field's value.

func (HarvestJob) String added in v1.25.6

func (s HarvestJob) String() string

String returns the string representation

type HlsEncryption

type HlsEncryption struct {

	// A constant initialization vector for encryption (optional).When not specified
	// the initialization vector will be periodically rotated.
	ConstantInitializationVector *string `locationName:"constantInitializationVector" type:"string"`

	// The encryption method to use.
	EncryptionMethod *string `locationName:"encryptionMethod" type:"string" enum:"EncryptionMethod"`

	// Interval (in seconds) between each encryption key rotation.
	KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"`

	// When enabled, the EXT-X-KEY tag will be repeated in output manifests.
	RepeatExtXKey *bool `locationName:"repeatExtXKey" type:"boolean"`

	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	//
	// SpekeKeyProvider is a required field
	SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

An HTTP Live Streaming (HLS) encryption configuration.

func (HlsEncryption) GoString

func (s HlsEncryption) GoString() string

GoString returns the string representation

func (*HlsEncryption) SetConstantInitializationVector

func (s *HlsEncryption) SetConstantInitializationVector(v string) *HlsEncryption

SetConstantInitializationVector sets the ConstantInitializationVector field's value.

func (*HlsEncryption) SetEncryptionMethod

func (s *HlsEncryption) SetEncryptionMethod(v string) *HlsEncryption

SetEncryptionMethod sets the EncryptionMethod field's value.

func (*HlsEncryption) SetKeyRotationIntervalSeconds

func (s *HlsEncryption) SetKeyRotationIntervalSeconds(v int64) *HlsEncryption

SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value.

func (*HlsEncryption) SetRepeatExtXKey

func (s *HlsEncryption) SetRepeatExtXKey(v bool) *HlsEncryption

SetRepeatExtXKey sets the RepeatExtXKey field's value.

func (*HlsEncryption) SetSpekeKeyProvider

func (s *HlsEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *HlsEncryption

SetSpekeKeyProvider sets the SpekeKeyProvider field's value.

func (HlsEncryption) String

func (s HlsEncryption) String() string

String returns the string representation

func (*HlsEncryption) Validate

func (s *HlsEncryption) Validate() error

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

type HlsIngest

type HlsIngest struct {

	// A list of endpoints to which the source stream should be sent.
	IngestEndpoints []*IngestEndpoint `locationName:"ingestEndpoints" type:"list"`
	// contains filtered or unexported fields
}

An HTTP Live Streaming (HLS) ingest resource configuration.

func (HlsIngest) GoString

func (s HlsIngest) GoString() string

GoString returns the string representation

func (*HlsIngest) SetIngestEndpoints

func (s *HlsIngest) SetIngestEndpoints(v []*IngestEndpoint) *HlsIngest

SetIngestEndpoints sets the IngestEndpoints field's value.

func (HlsIngest) String

func (s HlsIngest) String() string

String returns the string representation

type HlsManifest added in v1.13.32

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 admarkers (comments) taken directly
	// from the input HTTP Live Streaming (HLS) manifest."SCTE35_ENHANCED" generates
	// ad markers and blackout tags based on SCTE-35messages in the input source."DATERANGE"
	// inserts EXT-X-DATERANGE tags to signal ad and program transition events in
	// HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds
	// value that is greater than 0.
	AdMarkers *string `locationName:"adMarkers" type:"string" enum:"AdMarkers"`

	// The ID of the manifest. The ID must be unique within the OriginEndpoint and
	// it cannot be changed after it is created.
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// When enabled, an I-Frame only stream will be included in the output.
	IncludeIframeOnlyStream *bool `locationName:"includeIframeOnlyStream" type:"boolean"`

	// An optional short string appended to the end of the OriginEndpoint URL. If
	// not specified, defaults to the manifestName for the OriginEndpoint.
	ManifestName *string `locationName:"manifestName" type:"string"`

	// The HTTP Live Streaming (HLS) playlist type.When either "EVENT" or "VOD"
	// is specified, a corresponding EXT-X-PLAYLIST-TYPEentry will be included in
	// the media playlist.
	PlaylistType *string `locationName:"playlistType" type:"string" enum:"PlaylistType"`

	// Time window (in seconds) contained in each parent manifest.
	PlaylistWindowSeconds *int64 `locationName:"playlistWindowSeconds" type:"integer"`

	// The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME taginserted
	// into manifests. Additionally, when an interval is specifiedID3Timed Metadata
	// messages will be generated every 5 seconds using theingest time of the content.If
	// the interval is not specified, or set to 0, thenno EXT-X-PROGRAM-DATE-TIME
	// tags will be inserted into manifests and noID3Timed Metadata messages will
	// be generated. Note that irrespectiveof this parameter, if any ID3 Timed Metadata
	// is found in HTTP Live Streaming (HLS) input,it will be passed through to
	// HLS output.
	ProgramDateTimeIntervalSeconds *int64 `locationName:"programDateTimeIntervalSeconds" type:"integer"`

	// The URL of the packaged OriginEndpoint for consumption.
	Url *string `locationName:"url" type:"string"`
	// contains filtered or unexported fields
}

A HTTP Live Streaming (HLS) manifest configuration.

func (HlsManifest) GoString added in v1.13.32

func (s HlsManifest) GoString() string

GoString returns the string representation

func (*HlsManifest) SetAdMarkers added in v1.13.32

func (s *HlsManifest) SetAdMarkers(v string) *HlsManifest

SetAdMarkers sets the AdMarkers field's value.

func (*HlsManifest) SetId added in v1.13.32

func (s *HlsManifest) SetId(v string) *HlsManifest

SetId sets the Id field's value.

func (*HlsManifest) SetIncludeIframeOnlyStream added in v1.13.32

func (s *HlsManifest) SetIncludeIframeOnlyStream(v bool) *HlsManifest

SetIncludeIframeOnlyStream sets the IncludeIframeOnlyStream field's value.

func (*HlsManifest) SetManifestName added in v1.13.32

func (s *HlsManifest) SetManifestName(v string) *HlsManifest

SetManifestName sets the ManifestName field's value.

func (*HlsManifest) SetPlaylistType added in v1.13.32

func (s *HlsManifest) SetPlaylistType(v string) *HlsManifest

SetPlaylistType sets the PlaylistType field's value.

func (*HlsManifest) SetPlaylistWindowSeconds added in v1.13.32

func (s *HlsManifest) SetPlaylistWindowSeconds(v int64) *HlsManifest

SetPlaylistWindowSeconds sets the PlaylistWindowSeconds field's value.

func (*HlsManifest) SetProgramDateTimeIntervalSeconds added in v1.13.32

func (s *HlsManifest) SetProgramDateTimeIntervalSeconds(v int64) *HlsManifest

SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.

func (*HlsManifest) SetUrl added in v1.13.32

func (s *HlsManifest) SetUrl(v string) *HlsManifest

SetUrl sets the Url field's value.

func (HlsManifest) String added in v1.13.32

func (s HlsManifest) String() string

String returns the string representation

type HlsManifestCreateOrUpdateParameters added in v1.13.32

type HlsManifestCreateOrUpdateParameters 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 admarkers (comments) taken directly
	// from the input HTTP Live Streaming (HLS) manifest."SCTE35_ENHANCED" generates
	// ad markers and blackout tags based on SCTE-35messages in the input source."DATERANGE"
	// inserts EXT-X-DATERANGE tags to signal ad and program transition events in
	// HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds
	// value that is greater than 0.
	AdMarkers *string `locationName:"adMarkers" type:"string" enum:"AdMarkers"`

	// A list of SCTE-35 message types that are treated as ad markers in the output.
	// If empty, noad markers are output. Specify multiple items to create ad markers
	// for all of the includedmessage types.
	AdTriggers []*string `locationName:"adTriggers" type:"list"`

	// This setting allows the delivery restriction flags on SCTE-35 segmentation
	// descriptors todetermine whether a message signals an ad. Choosing "NONE"
	// means no SCTE-35 messages becomeads. Choosing "RESTRICTED" means SCTE-35
	// messages of the types specified in AdTriggers thatcontain delivery restrictions
	// will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35messages of
	// the types specified in AdTriggers that do not contain delivery restrictions
	// willbe treated as ads. Choosing "BOTH" means all SCTE-35 messages of the
	// types specified inAdTriggers will be treated as ads. Note that Splice Insert
	// messages do not have these flagsand are always treated as ads if specified
	// in AdTriggers.
	AdsOnDeliveryRestrictions *string `locationName:"adsOnDeliveryRestrictions" type:"string" enum:"AdsOnDeliveryRestrictions"`

	// The ID of the manifest. The ID must be unique within the OriginEndpoint and
	// it cannot be changed after it is created.
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// When enabled, an I-Frame only stream will be included in the output.
	IncludeIframeOnlyStream *bool `locationName:"includeIframeOnlyStream" type:"boolean"`

	// An optional short string appended to the end of the OriginEndpoint URL. If
	// not specified, defaults to the manifestName for the OriginEndpoint.
	ManifestName *string `locationName:"manifestName" type:"string"`

	// The HTTP Live Streaming (HLS) playlist type.When either "EVENT" or "VOD"
	// is specified, a corresponding EXT-X-PLAYLIST-TYPEentry will be included in
	// the media playlist.
	PlaylistType *string `locationName:"playlistType" type:"string" enum:"PlaylistType"`

	// Time window (in seconds) contained in each parent manifest.
	PlaylistWindowSeconds *int64 `locationName:"playlistWindowSeconds" type:"integer"`

	// The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME taginserted
	// into manifests. Additionally, when an interval is specifiedID3Timed Metadata
	// messages will be generated every 5 seconds using theingest time of the content.If
	// the interval is not specified, or set to 0, thenno EXT-X-PROGRAM-DATE-TIME
	// tags will be inserted into manifests and noID3Timed Metadata messages will
	// be generated. Note that irrespectiveof this parameter, if any ID3 Timed Metadata
	// is found in HTTP Live Streaming (HLS) input,it will be passed through to
	// HLS output.
	ProgramDateTimeIntervalSeconds *int64 `locationName:"programDateTimeIntervalSeconds" type:"integer"`
	// contains filtered or unexported fields
}

A HTTP Live Streaming (HLS) manifest configuration.

func (HlsManifestCreateOrUpdateParameters) GoString added in v1.13.32

GoString returns the string representation

func (*HlsManifestCreateOrUpdateParameters) SetAdMarkers added in v1.13.32

SetAdMarkers sets the AdMarkers field's value.

func (*HlsManifestCreateOrUpdateParameters) SetAdTriggers added in v1.20.6

SetAdTriggers sets the AdTriggers field's value.

func (*HlsManifestCreateOrUpdateParameters) SetAdsOnDeliveryRestrictions added in v1.20.6

SetAdsOnDeliveryRestrictions sets the AdsOnDeliveryRestrictions field's value.

func (*HlsManifestCreateOrUpdateParameters) SetId added in v1.13.32

SetId sets the Id field's value.

func (*HlsManifestCreateOrUpdateParameters) SetIncludeIframeOnlyStream added in v1.13.32

SetIncludeIframeOnlyStream sets the IncludeIframeOnlyStream field's value.

func (*HlsManifestCreateOrUpdateParameters) SetManifestName added in v1.13.32

SetManifestName sets the ManifestName field's value.

func (*HlsManifestCreateOrUpdateParameters) SetPlaylistType added in v1.13.32

SetPlaylistType sets the PlaylistType field's value.

func (*HlsManifestCreateOrUpdateParameters) SetPlaylistWindowSeconds added in v1.13.32

SetPlaylistWindowSeconds sets the PlaylistWindowSeconds field's value.

func (*HlsManifestCreateOrUpdateParameters) SetProgramDateTimeIntervalSeconds added in v1.13.32

func (s *HlsManifestCreateOrUpdateParameters) SetProgramDateTimeIntervalSeconds(v int64) *HlsManifestCreateOrUpdateParameters

SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.

func (HlsManifestCreateOrUpdateParameters) String added in v1.13.32

String returns the string representation

func (*HlsManifestCreateOrUpdateParameters) Validate added in v1.13.32

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

type HlsPackage

type HlsPackage 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 admarkers (comments) taken directly
	// from the input HTTP Live Streaming (HLS) manifest."SCTE35_ENHANCED" generates
	// ad markers and blackout tags based on SCTE-35messages in the input source."DATERANGE"
	// inserts EXT-X-DATERANGE tags to signal ad and program transition events in
	// HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds
	// value that is greater than 0.
	AdMarkers *string `locationName:"adMarkers" type:"string" enum:"AdMarkers"`

	// A list of SCTE-35 message types that are treated as ad markers in the output.
	// If empty, noad markers are output. Specify multiple items to create ad markers
	// for all of the includedmessage types.
	AdTriggers []*string `locationName:"adTriggers" type:"list"`

	// This setting allows the delivery restriction flags on SCTE-35 segmentation
	// descriptors todetermine whether a message signals an ad. Choosing "NONE"
	// means no SCTE-35 messages becomeads. Choosing "RESTRICTED" means SCTE-35
	// messages of the types specified in AdTriggers thatcontain delivery restrictions
	// will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35messages of
	// the types specified in AdTriggers that do not contain delivery restrictions
	// willbe treated as ads. Choosing "BOTH" means all SCTE-35 messages of the
	// types specified inAdTriggers will be treated as ads. Note that Splice Insert
	// messages do not have these flagsand are always treated as ads if specified
	// in AdTriggers.
	AdsOnDeliveryRestrictions *string `locationName:"adsOnDeliveryRestrictions" type:"string" enum:"AdsOnDeliveryRestrictions"`

	// An HTTP Live Streaming (HLS) encryption configuration.
	Encryption *HlsEncryption `locationName:"encryption" type:"structure"`

	// When enabled, an I-Frame only stream will be included in the output.
	IncludeIframeOnlyStream *bool `locationName:"includeIframeOnlyStream" type:"boolean"`

	// The HTTP Live Streaming (HLS) playlist type.When either "EVENT" or "VOD"
	// is specified, a corresponding EXT-X-PLAYLIST-TYPEentry will be included in
	// the media playlist.
	PlaylistType *string `locationName:"playlistType" type:"string" enum:"PlaylistType"`

	// Time window (in seconds) contained in each parent manifest.
	PlaylistWindowSeconds *int64 `locationName:"playlistWindowSeconds" type:"integer"`

	// The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME taginserted
	// into manifests. Additionally, when an interval is specifiedID3Timed Metadata
	// messages will be generated every 5 seconds using theingest time of the content.If
	// the interval is not specified, or set to 0, thenno EXT-X-PROGRAM-DATE-TIME
	// tags will be inserted into manifests and noID3Timed Metadata messages will
	// be generated. Note that irrespectiveof this parameter, if any ID3 Timed Metadata
	// is found in HTTP Live Streaming (HLS) input,it will be passed through to
	// HLS output.
	ProgramDateTimeIntervalSeconds *int64 `locationName:"programDateTimeIntervalSeconds" type:"integer"`

	// Duration (in seconds) of each fragment. Actual fragments will berounded to
	// the nearest multiple of the source fragment duration.
	SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"`

	// A StreamSelection configuration.
	StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"`

	// When enabled, audio streams will be placed in rendition groups in the output.
	UseAudioRenditionGroup *bool `locationName:"useAudioRenditionGroup" type:"boolean"`
	// contains filtered or unexported fields
}

An HTTP Live Streaming (HLS) packaging configuration.

func (HlsPackage) GoString

func (s HlsPackage) GoString() string

GoString returns the string representation

func (*HlsPackage) SetAdMarkers

func (s *HlsPackage) SetAdMarkers(v string) *HlsPackage

SetAdMarkers sets the AdMarkers field's value.

func (*HlsPackage) SetAdTriggers added in v1.20.6

func (s *HlsPackage) SetAdTriggers(v []*string) *HlsPackage

SetAdTriggers sets the AdTriggers field's value.

func (*HlsPackage) SetAdsOnDeliveryRestrictions added in v1.20.6

func (s *HlsPackage) SetAdsOnDeliveryRestrictions(v string) *HlsPackage

SetAdsOnDeliveryRestrictions sets the AdsOnDeliveryRestrictions field's value.

func (*HlsPackage) SetEncryption

func (s *HlsPackage) SetEncryption(v *HlsEncryption) *HlsPackage

SetEncryption sets the Encryption field's value.

func (*HlsPackage) SetIncludeIframeOnlyStream

func (s *HlsPackage) SetIncludeIframeOnlyStream(v bool) *HlsPackage

SetIncludeIframeOnlyStream sets the IncludeIframeOnlyStream field's value.

func (*HlsPackage) SetPlaylistType

func (s *HlsPackage) SetPlaylistType(v string) *HlsPackage

SetPlaylistType sets the PlaylistType field's value.

func (*HlsPackage) SetPlaylistWindowSeconds

func (s *HlsPackage) SetPlaylistWindowSeconds(v int64) *HlsPackage

SetPlaylistWindowSeconds sets the PlaylistWindowSeconds field's value.

func (*HlsPackage) SetProgramDateTimeIntervalSeconds

func (s *HlsPackage) SetProgramDateTimeIntervalSeconds(v int64) *HlsPackage

SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.

func (*HlsPackage) SetSegmentDurationSeconds

func (s *HlsPackage) SetSegmentDurationSeconds(v int64) *HlsPackage

SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.

func (*HlsPackage) SetStreamSelection

func (s *HlsPackage) SetStreamSelection(v *StreamSelection) *HlsPackage

SetStreamSelection sets the StreamSelection field's value.

func (*HlsPackage) SetUseAudioRenditionGroup

func (s *HlsPackage) SetUseAudioRenditionGroup(v bool) *HlsPackage

SetUseAudioRenditionGroup sets the UseAudioRenditionGroup field's value.

func (HlsPackage) String

func (s HlsPackage) String() string

String returns the string representation

func (*HlsPackage) Validate

func (s *HlsPackage) Validate() error

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

type IngestEndpoint

type IngestEndpoint struct {

	// The system generated unique identifier for the IngestEndpoint
	Id *string `locationName:"id" type:"string"`

	// The system generated password for ingest authentication.
	Password *string `locationName:"password" type:"string"`

	// The ingest URL to which the source stream should be sent.
	Url *string `locationName:"url" type:"string"`

	// The system generated username for ingest authentication.
	Username *string `locationName:"username" type:"string"`
	// contains filtered or unexported fields
}

An endpoint for ingesting source content for a Channel.

func (IngestEndpoint) GoString

func (s IngestEndpoint) GoString() string

GoString returns the string representation

func (*IngestEndpoint) SetId added in v1.15.24

func (s *IngestEndpoint) SetId(v string) *IngestEndpoint

SetId sets the Id field's value.

func (*IngestEndpoint) SetPassword

func (s *IngestEndpoint) SetPassword(v string) *IngestEndpoint

SetPassword sets the Password field's value.

func (*IngestEndpoint) SetUrl

func (s *IngestEndpoint) SetUrl(v string) *IngestEndpoint

SetUrl sets the Url field's value.

func (*IngestEndpoint) SetUsername

func (s *IngestEndpoint) SetUsername(v string) *IngestEndpoint

SetUsername sets the Username field's value.

func (IngestEndpoint) String

func (s IngestEndpoint) String() string

String returns the string representation

type InternalServerErrorException added in v1.28.0

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

func (*InternalServerErrorException) Code added in v1.28.0

Code returns the exception type name.

func (*InternalServerErrorException) Error added in v1.28.0

func (InternalServerErrorException) GoString added in v1.28.0

func (s InternalServerErrorException) GoString() string

GoString returns the string representation

func (*InternalServerErrorException) Message added in v1.28.0

func (s *InternalServerErrorException) Message() string

Message returns the exception's message.

func (*InternalServerErrorException) OrigErr added in v1.28.0

func (s *InternalServerErrorException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerErrorException) RequestID added in v1.28.0

func (s *InternalServerErrorException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerErrorException) StatusCode added in v1.28.0

func (s *InternalServerErrorException) StatusCode() int

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

func (InternalServerErrorException) String added in v1.28.0

String returns the string representation

type ListChannelsInput

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

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

func (ListChannelsInput) GoString

func (s ListChannelsInput) GoString() string

GoString returns the string representation

func (*ListChannelsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListChannelsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListChannelsInput) String

func (s ListChannelsInput) String() string

String returns the string representation

func (*ListChannelsInput) Validate

func (s *ListChannelsInput) Validate() error

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

type ListChannelsOutput

type ListChannelsOutput struct {
	Channels []*Channel `locationName:"channels" type:"list"`

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

func (ListChannelsOutput) GoString

func (s ListChannelsOutput) GoString() string

GoString returns the string representation

func (*ListChannelsOutput) SetChannels

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

SetChannels sets the Channels field's value.

func (*ListChannelsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListChannelsOutput) String

func (s ListChannelsOutput) String() string

String returns the string representation

type ListHarvestJobsInput added in v1.25.6

type ListHarvestJobsInput struct {
	IncludeChannelId *string `location:"querystring" locationName:"includeChannelId" type:"string"`

	IncludeStatus *string `location:"querystring" locationName:"includeStatus" type:"string"`

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

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

func (ListHarvestJobsInput) GoString added in v1.25.6

func (s ListHarvestJobsInput) GoString() string

GoString returns the string representation

func (*ListHarvestJobsInput) SetIncludeChannelId added in v1.25.6

func (s *ListHarvestJobsInput) SetIncludeChannelId(v string) *ListHarvestJobsInput

SetIncludeChannelId sets the IncludeChannelId field's value.

func (*ListHarvestJobsInput) SetIncludeStatus added in v1.25.6

func (s *ListHarvestJobsInput) SetIncludeStatus(v string) *ListHarvestJobsInput

SetIncludeStatus sets the IncludeStatus field's value.

func (*ListHarvestJobsInput) SetMaxResults added in v1.25.6

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

SetMaxResults sets the MaxResults field's value.

func (*ListHarvestJobsInput) SetNextToken added in v1.25.6

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

SetNextToken sets the NextToken field's value.

func (ListHarvestJobsInput) String added in v1.25.6

func (s ListHarvestJobsInput) String() string

String returns the string representation

func (*ListHarvestJobsInput) Validate added in v1.25.6

func (s *ListHarvestJobsInput) Validate() error

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

type ListHarvestJobsOutput added in v1.25.6

type ListHarvestJobsOutput struct {
	HarvestJobs []*HarvestJob `locationName:"harvestJobs" type:"list"`

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

func (ListHarvestJobsOutput) GoString added in v1.25.6

func (s ListHarvestJobsOutput) GoString() string

GoString returns the string representation

func (*ListHarvestJobsOutput) SetHarvestJobs added in v1.25.6

func (s *ListHarvestJobsOutput) SetHarvestJobs(v []*HarvestJob) *ListHarvestJobsOutput

SetHarvestJobs sets the HarvestJobs field's value.

func (*ListHarvestJobsOutput) SetNextToken added in v1.25.6

SetNextToken sets the NextToken field's value.

func (ListHarvestJobsOutput) String added in v1.25.6

func (s ListHarvestJobsOutput) String() string

String returns the string representation

type ListOriginEndpointsInput

type ListOriginEndpointsInput struct {
	ChannelId *string `location:"querystring" locationName:"channelId" type:"string"`

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

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

func (ListOriginEndpointsInput) GoString

func (s ListOriginEndpointsInput) GoString() string

GoString returns the string representation

func (*ListOriginEndpointsInput) SetChannelId

SetChannelId sets the ChannelId field's value.

func (*ListOriginEndpointsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListOriginEndpointsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListOriginEndpointsInput) String

func (s ListOriginEndpointsInput) String() string

String returns the string representation

func (*ListOriginEndpointsInput) Validate

func (s *ListOriginEndpointsInput) Validate() error

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

type ListOriginEndpointsOutput

type ListOriginEndpointsOutput struct {
	NextToken *string `locationName:"nextToken" type:"string"`

	OriginEndpoints []*OriginEndpoint `locationName:"originEndpoints" type:"list"`
	// contains filtered or unexported fields
}

func (ListOriginEndpointsOutput) GoString

func (s ListOriginEndpointsOutput) GoString() string

GoString returns the string representation

func (*ListOriginEndpointsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListOriginEndpointsOutput) SetOriginEndpoints

SetOriginEndpoints sets the OriginEndpoints field's value.

func (ListOriginEndpointsOutput) String

func (s ListOriginEndpointsOutput) String() string

String returns the string representation

type ListTagsForResourceInput added in v1.17.10

type ListTagsForResourceInput struct {

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

func (ListTagsForResourceInput) GoString added in v1.17.10

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn added in v1.17.10

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String added in v1.17.10

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v1.17.10

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v1.17.10

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

func (ListTagsForResourceOutput) GoString added in v1.17.10

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags added in v1.17.10

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String added in v1.17.10

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type MediaPackage

type MediaPackage struct {
	*client.Client
}

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

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

func New

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

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

Example:

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

// Create a MediaPackage client from just a session.
svc := mediapackage.New(mySession)

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

func (*MediaPackage) CreateChannel

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

CreateChannel API operation for AWS Elemental MediaPackage.

Creates a new Channel.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation CreateChannel for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannel

func (*MediaPackage) CreateChannelRequest

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannel

func (*MediaPackage) CreateChannelWithContext

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

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) CreateHarvestJob added in v1.25.6

func (c *MediaPackage) CreateHarvestJob(input *CreateHarvestJobInput) (*CreateHarvestJobOutput, error)

CreateHarvestJob API operation for AWS Elemental MediaPackage.

Creates a new HarvestJob record.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation CreateHarvestJob for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJob

func (*MediaPackage) CreateHarvestJobRequest added in v1.25.6

func (c *MediaPackage) CreateHarvestJobRequest(input *CreateHarvestJobInput) (req *request.Request, output *CreateHarvestJobOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJob

func (*MediaPackage) CreateHarvestJobWithContext added in v1.25.6

func (c *MediaPackage) CreateHarvestJobWithContext(ctx aws.Context, input *CreateHarvestJobInput, opts ...request.Option) (*CreateHarvestJobOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) CreateOriginEndpoint

func (c *MediaPackage) CreateOriginEndpoint(input *CreateOriginEndpointInput) (*CreateOriginEndpointOutput, error)

CreateOriginEndpoint API operation for AWS Elemental MediaPackage.

Creates a new OriginEndpoint record.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation CreateOriginEndpoint for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpoint

func (*MediaPackage) CreateOriginEndpointRequest

func (c *MediaPackage) CreateOriginEndpointRequest(input *CreateOriginEndpointInput) (req *request.Request, output *CreateOriginEndpointOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpoint

func (*MediaPackage) CreateOriginEndpointWithContext

func (c *MediaPackage) CreateOriginEndpointWithContext(ctx aws.Context, input *CreateOriginEndpointInput, opts ...request.Option) (*CreateOriginEndpointOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) DeleteChannel

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

DeleteChannel API operation for AWS Elemental MediaPackage.

Deletes an existing Channel.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation DeleteChannel for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannel

func (*MediaPackage) DeleteChannelRequest

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannel

func (*MediaPackage) DeleteChannelWithContext

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

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) DeleteOriginEndpoint

func (c *MediaPackage) DeleteOriginEndpoint(input *DeleteOriginEndpointInput) (*DeleteOriginEndpointOutput, error)

DeleteOriginEndpoint API operation for AWS Elemental MediaPackage.

Deletes an existing OriginEndpoint.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation DeleteOriginEndpoint for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpoint

func (*MediaPackage) DeleteOriginEndpointRequest

func (c *MediaPackage) DeleteOriginEndpointRequest(input *DeleteOriginEndpointInput) (req *request.Request, output *DeleteOriginEndpointOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpoint

func (*MediaPackage) DeleteOriginEndpointWithContext

func (c *MediaPackage) DeleteOriginEndpointWithContext(ctx aws.Context, input *DeleteOriginEndpointInput, opts ...request.Option) (*DeleteOriginEndpointOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) DescribeChannel

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

DescribeChannel API operation for AWS Elemental MediaPackage.

Gets details about a Channel.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation DescribeChannel for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannel

func (*MediaPackage) DescribeChannelRequest

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannel

func (*MediaPackage) DescribeChannelWithContext

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

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) DescribeHarvestJob added in v1.25.6

func (c *MediaPackage) DescribeHarvestJob(input *DescribeHarvestJobInput) (*DescribeHarvestJobOutput, error)

DescribeHarvestJob API operation for AWS Elemental MediaPackage.

Gets details about an existing HarvestJob.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation DescribeHarvestJob for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeHarvestJob

func (*MediaPackage) DescribeHarvestJobRequest added in v1.25.6

func (c *MediaPackage) DescribeHarvestJobRequest(input *DescribeHarvestJobInput) (req *request.Request, output *DescribeHarvestJobOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeHarvestJob

func (*MediaPackage) DescribeHarvestJobWithContext added in v1.25.6

func (c *MediaPackage) DescribeHarvestJobWithContext(ctx aws.Context, input *DescribeHarvestJobInput, opts ...request.Option) (*DescribeHarvestJobOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) DescribeOriginEndpoint

func (c *MediaPackage) DescribeOriginEndpoint(input *DescribeOriginEndpointInput) (*DescribeOriginEndpointOutput, error)

DescribeOriginEndpoint API operation for AWS Elemental MediaPackage.

Gets details about an existing OriginEndpoint.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation DescribeOriginEndpoint for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpoint

func (*MediaPackage) DescribeOriginEndpointRequest

func (c *MediaPackage) DescribeOriginEndpointRequest(input *DescribeOriginEndpointInput) (req *request.Request, output *DescribeOriginEndpointOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpoint

func (*MediaPackage) DescribeOriginEndpointWithContext

func (c *MediaPackage) DescribeOriginEndpointWithContext(ctx aws.Context, input *DescribeOriginEndpointInput, opts ...request.Option) (*DescribeOriginEndpointOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) ListChannels

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

ListChannels API operation for AWS Elemental MediaPackage.

Returns a collection of Channels.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation ListChannels for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannels

func (*MediaPackage) ListChannelsPages

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

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

See ListChannels method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListChannels operation.
pageNum := 0
err := client.ListChannelsPages(params,
    func(page *mediapackage.ListChannelsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaPackage) ListChannelsPagesWithContext

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

ListChannelsPagesWithContext same as ListChannelsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) ListChannelsRequest

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannels

func (*MediaPackage) ListChannelsWithContext

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

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) ListHarvestJobs added in v1.25.6

func (c *MediaPackage) ListHarvestJobs(input *ListHarvestJobsInput) (*ListHarvestJobsOutput, error)

ListHarvestJobs API operation for AWS Elemental MediaPackage.

Returns a collection of HarvestJob records.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation ListHarvestJobs for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListHarvestJobs

func (*MediaPackage) ListHarvestJobsPages added in v1.25.6

func (c *MediaPackage) ListHarvestJobsPages(input *ListHarvestJobsInput, fn func(*ListHarvestJobsOutput, bool) bool) error

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

See ListHarvestJobs method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListHarvestJobs operation.
pageNum := 0
err := client.ListHarvestJobsPages(params,
    func(page *mediapackage.ListHarvestJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaPackage) ListHarvestJobsPagesWithContext added in v1.25.6

func (c *MediaPackage) ListHarvestJobsPagesWithContext(ctx aws.Context, input *ListHarvestJobsInput, fn func(*ListHarvestJobsOutput, bool) bool, opts ...request.Option) error

ListHarvestJobsPagesWithContext same as ListHarvestJobsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) ListHarvestJobsRequest added in v1.25.6

func (c *MediaPackage) ListHarvestJobsRequest(input *ListHarvestJobsInput) (req *request.Request, output *ListHarvestJobsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListHarvestJobs

func (*MediaPackage) ListHarvestJobsWithContext added in v1.25.6

func (c *MediaPackage) ListHarvestJobsWithContext(ctx aws.Context, input *ListHarvestJobsInput, opts ...request.Option) (*ListHarvestJobsOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) ListOriginEndpoints

func (c *MediaPackage) ListOriginEndpoints(input *ListOriginEndpointsInput) (*ListOriginEndpointsOutput, error)

ListOriginEndpoints API operation for AWS Elemental MediaPackage.

Returns a collection of OriginEndpoint records.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation ListOriginEndpoints for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpoints

func (*MediaPackage) ListOriginEndpointsPages

func (c *MediaPackage) ListOriginEndpointsPages(input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool) error

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

See ListOriginEndpoints method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListOriginEndpoints operation.
pageNum := 0
err := client.ListOriginEndpointsPages(params,
    func(page *mediapackage.ListOriginEndpointsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaPackage) ListOriginEndpointsPagesWithContext

func (c *MediaPackage) ListOriginEndpointsPagesWithContext(ctx aws.Context, input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool, opts ...request.Option) error

ListOriginEndpointsPagesWithContext same as ListOriginEndpointsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) ListOriginEndpointsRequest

func (c *MediaPackage) ListOriginEndpointsRequest(input *ListOriginEndpointsInput) (req *request.Request, output *ListOriginEndpointsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpoints

func (*MediaPackage) ListOriginEndpointsWithContext

func (c *MediaPackage) ListOriginEndpointsWithContext(ctx aws.Context, input *ListOriginEndpointsInput, opts ...request.Option) (*ListOriginEndpointsOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) ListTagsForResource added in v1.17.10

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

ListTagsForResource API operation for AWS Elemental MediaPackage.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation ListTagsForResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListTagsForResource

func (*MediaPackage) ListTagsForResourceRequest added in v1.17.10

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListTagsForResource

func (*MediaPackage) ListTagsForResourceWithContext added in v1.17.10

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

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) RotateChannelCredentials deprecated

func (c *MediaPackage) RotateChannelCredentials(input *RotateChannelCredentialsInput) (*RotateChannelCredentialsOutput, error)

RotateChannelCredentials API operation for AWS Elemental MediaPackage.

Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation RotateChannelCredentials for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentials

Deprecated: This API is deprecated. Please use RotateIngestEndpointCredentials instead

func (*MediaPackage) RotateChannelCredentialsRequest deprecated

func (c *MediaPackage) RotateChannelCredentialsRequest(input *RotateChannelCredentialsInput) (req *request.Request, output *RotateChannelCredentialsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentials

Deprecated: This API is deprecated. Please use RotateIngestEndpointCredentials instead

func (*MediaPackage) RotateChannelCredentialsWithContext deprecated

func (c *MediaPackage) RotateChannelCredentialsWithContext(ctx aws.Context, input *RotateChannelCredentialsInput, opts ...request.Option) (*RotateChannelCredentialsOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

Deprecated: This API is deprecated. Please use RotateIngestEndpointCredentials instead

func (*MediaPackage) RotateIngestEndpointCredentials added in v1.15.24

RotateIngestEndpointCredentials API operation for AWS Elemental MediaPackage.

Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation RotateIngestEndpointCredentials for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentials

func (*MediaPackage) RotateIngestEndpointCredentialsRequest added in v1.15.24

func (c *MediaPackage) RotateIngestEndpointCredentialsRequest(input *RotateIngestEndpointCredentialsInput) (req *request.Request, output *RotateIngestEndpointCredentialsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentials

func (*MediaPackage) RotateIngestEndpointCredentialsWithContext added in v1.15.24

func (c *MediaPackage) RotateIngestEndpointCredentialsWithContext(ctx aws.Context, input *RotateIngestEndpointCredentialsInput, opts ...request.Option) (*RotateIngestEndpointCredentialsOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) TagResource added in v1.17.10

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

TagResource API operation for AWS Elemental MediaPackage.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation TagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/TagResource

func (*MediaPackage) TagResourceRequest added in v1.17.10

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/TagResource

func (*MediaPackage) TagResourceWithContext added in v1.17.10

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

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) UntagResource added in v1.17.10

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

UntagResource API operation for AWS Elemental MediaPackage.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation UntagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UntagResource

func (*MediaPackage) UntagResourceRequest added in v1.17.10

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UntagResource

func (*MediaPackage) UntagResourceWithContext added in v1.17.10

func (c *MediaPackage) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) UpdateChannel

func (c *MediaPackage) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error)

UpdateChannel API operation for AWS Elemental MediaPackage.

Updates an existing Channel.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation UpdateChannel for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannel

func (*MediaPackage) UpdateChannelRequest

func (c *MediaPackage) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannel

func (*MediaPackage) UpdateChannelWithContext

func (c *MediaPackage) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackage) UpdateOriginEndpoint

func (c *MediaPackage) UpdateOriginEndpoint(input *UpdateOriginEndpointInput) (*UpdateOriginEndpointOutput, error)

UpdateOriginEndpoint API operation for AWS Elemental MediaPackage.

Updates an existing OriginEndpoint.

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

See the AWS API reference guide for AWS Elemental MediaPackage's API operation UpdateOriginEndpoint for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpoint

func (*MediaPackage) UpdateOriginEndpointRequest

func (c *MediaPackage) UpdateOriginEndpointRequest(input *UpdateOriginEndpointInput) (req *request.Request, output *UpdateOriginEndpointOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpoint

func (*MediaPackage) UpdateOriginEndpointWithContext

func (c *MediaPackage) UpdateOriginEndpointWithContext(ctx aws.Context, input *UpdateOriginEndpointInput, opts ...request.Option) (*UpdateOriginEndpointOutput, error)

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

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

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type MssEncryption

type MssEncryption struct {

	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	//
	// SpekeKeyProvider is a required field
	SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A Microsoft Smooth Streaming (MSS) encryption configuration.

func (MssEncryption) GoString

func (s MssEncryption) GoString() string

GoString returns the string representation

func (*MssEncryption) SetSpekeKeyProvider

func (s *MssEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *MssEncryption

SetSpekeKeyProvider sets the SpekeKeyProvider field's value.

func (MssEncryption) String

func (s MssEncryption) String() string

String returns the string representation

func (*MssEncryption) Validate

func (s *MssEncryption) Validate() error

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

type MssPackage

type MssPackage struct {

	// A Microsoft Smooth Streaming (MSS) encryption configuration.
	Encryption *MssEncryption `locationName:"encryption" type:"structure"`

	// The time window (in seconds) contained in each manifest.
	ManifestWindowSeconds *int64 `locationName:"manifestWindowSeconds" type:"integer"`

	// The duration (in seconds) of each segment.
	SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"`

	// A StreamSelection configuration.
	StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"`
	// contains filtered or unexported fields
}

A Microsoft Smooth Streaming (MSS) packaging configuration.

func (MssPackage) GoString

func (s MssPackage) GoString() string

GoString returns the string representation

func (*MssPackage) SetEncryption

func (s *MssPackage) SetEncryption(v *MssEncryption) *MssPackage

SetEncryption sets the Encryption field's value.

func (*MssPackage) SetManifestWindowSeconds

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

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (*MssPackage) SetSegmentDurationSeconds

func (s *MssPackage) SetSegmentDurationSeconds(v int64) *MssPackage

SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.

func (*MssPackage) SetStreamSelection

func (s *MssPackage) SetStreamSelection(v *StreamSelection) *MssPackage

SetStreamSelection sets the StreamSelection field's value.

func (MssPackage) String

func (s MssPackage) String() string

String returns the string representation

func (*MssPackage) Validate

func (s *MssPackage) Validate() error

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

type NotFoundException added in v1.28.0

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

func (*NotFoundException) Code added in v1.28.0

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error added in v1.28.0

func (s *NotFoundException) Error() string

func (NotFoundException) GoString added in v1.28.0

func (s NotFoundException) GoString() string

GoString returns the string representation

func (*NotFoundException) Message added in v1.28.0

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr added in v1.28.0

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID added in v1.28.0

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode added in v1.28.0

func (s *NotFoundException) StatusCode() int

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

func (NotFoundException) String added in v1.28.0

func (s NotFoundException) String() string

String returns the string representation

type OriginEndpoint

type OriginEndpoint struct {

	// The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
	Arn *string `locationName:"arn" type:"string"`

	// CDN Authorization credentials
	Authorization *Authorization `locationName:"authorization" type:"structure"`

	// The ID of the Channel the OriginEndpoint is associated with.
	ChannelId *string `locationName:"channelId" type:"string"`

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

	// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
	DashPackage *DashPackage `locationName:"dashPackage" type:"structure"`

	// A short text description of the OriginEndpoint.
	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) packaging configuration.
	HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"`

	// The ID of the OriginEndpoint.
	Id *string `locationName:"id" type:"string"`

	// A short string appended to the end of the OriginEndpoint URL.
	ManifestName *string `locationName:"manifestName" type:"string"`

	// A Microsoft Smooth Streaming (MSS) packaging configuration.
	MssPackage *MssPackage `locationName:"mssPackage" type:"structure"`

	// Control whether origination of video is allowed for this OriginEndpoint.
	// If set to ALLOW, the OriginEndpointmay by requested, pursuant to any other
	// form of access control. If set to DENY, the OriginEndpoint may not berequested.
	// This can be helpful for Live to VOD harvesting, or for temporarily disabling
	// origination
	Origination *string `locationName:"origination" type:"string" enum:"Origination"`

	// Maximum duration (seconds) of content to retain for startover playback.If
	// not specified, startover playback will be disabled for the OriginEndpoint.
	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`

	// Amount of delay (seconds) to enforce on the playback of live content.If not
	// specified, there will be no time delay in effect for the OriginEndpoint.
	TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"`

	// The URL of the packaged OriginEndpoint for consumption.
	Url *string `locationName:"url" type:"string"`

	// A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
	Whitelist []*string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

An OriginEndpoint resource configuration.

func (OriginEndpoint) GoString

func (s OriginEndpoint) GoString() string

GoString returns the string representation

func (*OriginEndpoint) SetArn

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

SetArn sets the Arn field's value.

func (*OriginEndpoint) SetAuthorization added in v1.27.1

func (s *OriginEndpoint) SetAuthorization(v *Authorization) *OriginEndpoint

SetAuthorization sets the Authorization field's value.

func (*OriginEndpoint) SetChannelId

func (s *OriginEndpoint) SetChannelId(v string) *OriginEndpoint

SetChannelId sets the ChannelId field's value.

func (*OriginEndpoint) SetCmafPackage added in v1.13.32

func (s *OriginEndpoint) SetCmafPackage(v *CmafPackage) *OriginEndpoint

SetCmafPackage sets the CmafPackage field's value.

func (*OriginEndpoint) SetDashPackage

func (s *OriginEndpoint) SetDashPackage(v *DashPackage) *OriginEndpoint

SetDashPackage sets the DashPackage field's value.

func (*OriginEndpoint) SetDescription

func (s *OriginEndpoint) SetDescription(v string) *OriginEndpoint

SetDescription sets the Description field's value.

func (*OriginEndpoint) SetHlsPackage

func (s *OriginEndpoint) SetHlsPackage(v *HlsPackage) *OriginEndpoint

SetHlsPackage sets the HlsPackage field's value.

func (*OriginEndpoint) SetId

func (s *OriginEndpoint) SetId(v string) *OriginEndpoint

SetId sets the Id field's value.

func (*OriginEndpoint) SetManifestName

func (s *OriginEndpoint) SetManifestName(v string) *OriginEndpoint

SetManifestName sets the ManifestName field's value.

func (*OriginEndpoint) SetMssPackage

func (s *OriginEndpoint) SetMssPackage(v *MssPackage) *OriginEndpoint

SetMssPackage sets the MssPackage field's value.

func (*OriginEndpoint) SetOrigination added in v1.25.6

func (s *OriginEndpoint) SetOrigination(v string) *OriginEndpoint

SetOrigination sets the Origination field's value.

func (*OriginEndpoint) SetStartoverWindowSeconds

func (s *OriginEndpoint) SetStartoverWindowSeconds(v int64) *OriginEndpoint

SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.

func (*OriginEndpoint) SetTags added in v1.17.10

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

SetTags sets the Tags field's value.

func (*OriginEndpoint) SetTimeDelaySeconds

func (s *OriginEndpoint) SetTimeDelaySeconds(v int64) *OriginEndpoint

SetTimeDelaySeconds sets the TimeDelaySeconds field's value.

func (*OriginEndpoint) SetUrl

func (s *OriginEndpoint) SetUrl(v string) *OriginEndpoint

SetUrl sets the Url field's value.

func (*OriginEndpoint) SetWhitelist

func (s *OriginEndpoint) SetWhitelist(v []*string) *OriginEndpoint

SetWhitelist sets the Whitelist field's value.

func (OriginEndpoint) String

func (s OriginEndpoint) String() string

String returns the string representation

type RotateChannelCredentialsInput deprecated

type RotateChannelCredentialsInput struct {

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

Deprecated: RotateChannelCredentialsInput has been deprecated

func (RotateChannelCredentialsInput) GoString

GoString returns the string representation

func (*RotateChannelCredentialsInput) SetId

SetId sets the Id field's value.

func (RotateChannelCredentialsInput) String

String returns the string representation

func (*RotateChannelCredentialsInput) Validate

func (s *RotateChannelCredentialsInput) Validate() error

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

type RotateChannelCredentialsOutput deprecated

type RotateChannelCredentialsOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

	Id *string `locationName:"id" type:"string"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Deprecated: RotateChannelCredentialsOutput has been deprecated

func (RotateChannelCredentialsOutput) GoString

GoString returns the string representation

func (*RotateChannelCredentialsOutput) SetArn

SetArn sets the Arn field's value.

func (*RotateChannelCredentialsOutput) SetDescription

SetDescription sets the Description field's value.

func (*RotateChannelCredentialsOutput) SetHlsIngest

SetHlsIngest sets the HlsIngest field's value.

func (*RotateChannelCredentialsOutput) SetId

SetId sets the Id field's value.

func (*RotateChannelCredentialsOutput) SetTags added in v1.17.10

SetTags sets the Tags field's value.

func (RotateChannelCredentialsOutput) String

String returns the string representation

type RotateIngestEndpointCredentialsInput added in v1.15.24

type RotateIngestEndpointCredentialsInput struct {

	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`

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

func (RotateIngestEndpointCredentialsInput) GoString added in v1.15.24

GoString returns the string representation

func (*RotateIngestEndpointCredentialsInput) SetId added in v1.15.24

SetId sets the Id field's value.

func (*RotateIngestEndpointCredentialsInput) SetIngestEndpointId added in v1.15.24

SetIngestEndpointId sets the IngestEndpointId field's value.

func (RotateIngestEndpointCredentialsInput) String added in v1.15.24

String returns the string representation

func (*RotateIngestEndpointCredentialsInput) Validate added in v1.15.24

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

type RotateIngestEndpointCredentialsOutput added in v1.15.24

type RotateIngestEndpointCredentialsOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

	Id *string `locationName:"id" type:"string"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (RotateIngestEndpointCredentialsOutput) GoString added in v1.15.24

GoString returns the string representation

func (*RotateIngestEndpointCredentialsOutput) SetArn added in v1.15.24

SetArn sets the Arn field's value.

func (*RotateIngestEndpointCredentialsOutput) SetDescription added in v1.15.24

SetDescription sets the Description field's value.

func (*RotateIngestEndpointCredentialsOutput) SetHlsIngest added in v1.15.24

SetHlsIngest sets the HlsIngest field's value.

func (*RotateIngestEndpointCredentialsOutput) SetId added in v1.15.24

SetId sets the Id field's value.

func (*RotateIngestEndpointCredentialsOutput) SetTags added in v1.17.10

SetTags sets the Tags field's value.

func (RotateIngestEndpointCredentialsOutput) String added in v1.15.24

String returns the string representation

type S3Destination added in v1.25.6

type S3Destination struct {

	// The name of an S3 bucket within which harvested content will be exported
	//
	// BucketName is a required field
	BucketName *string `locationName:"bucketName" type:"string" required:"true"`

	// The key in the specified S3 bucket where the harvested top-level manifest
	// will be placed.
	//
	// ManifestKey is a required field
	ManifestKey *string `locationName:"manifestKey" type:"string" required:"true"`

	// The IAM role used to write to the specified S3 bucket
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Configuration parameters for where in an S3 bucket to place the harvested content

func (S3Destination) GoString added in v1.25.6

func (s S3Destination) GoString() string

GoString returns the string representation

func (*S3Destination) SetBucketName added in v1.25.6

func (s *S3Destination) SetBucketName(v string) *S3Destination

SetBucketName sets the BucketName field's value.

func (*S3Destination) SetManifestKey added in v1.25.6

func (s *S3Destination) SetManifestKey(v string) *S3Destination

SetManifestKey sets the ManifestKey field's value.

func (*S3Destination) SetRoleArn added in v1.25.6

func (s *S3Destination) SetRoleArn(v string) *S3Destination

SetRoleArn sets the RoleArn field's value.

func (S3Destination) String added in v1.25.6

func (s S3Destination) String() string

String returns the string representation

func (*S3Destination) Validate added in v1.25.6

func (s *S3Destination) Validate() error

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

type ServiceUnavailableException added in v1.28.0

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

func (*ServiceUnavailableException) Code added in v1.28.0

Code returns the exception type name.

func (*ServiceUnavailableException) Error added in v1.28.0

func (ServiceUnavailableException) GoString added in v1.28.0

func (s ServiceUnavailableException) GoString() string

GoString returns the string representation

func (*ServiceUnavailableException) Message added in v1.28.0

func (s *ServiceUnavailableException) Message() string

Message returns the exception's message.

func (*ServiceUnavailableException) OrigErr added in v1.28.0

func (s *ServiceUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceUnavailableException) RequestID added in v1.28.0

func (s *ServiceUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceUnavailableException) StatusCode added in v1.28.0

func (s *ServiceUnavailableException) StatusCode() int

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

func (ServiceUnavailableException) String added in v1.28.0

String returns the string representation

type SpekeKeyProvider

type SpekeKeyProvider struct {

	// An Amazon Resource Name (ARN) of a Certificate Manager certificatethat MediaPackage
	// will use for enforcing secure end-to-end datatransfer with the key provider
	// service.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The resource ID to include in key requests.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

	// An Amazon Resource Name (ARN) of an IAM role that AWS ElementalMediaPackage
	// will assume when accessing the key provider service.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// The system IDs to include in key requests.
	//
	// SystemIds is a required field
	SystemIds []*string `locationName:"systemIds" type:"list" required:"true"`

	// The URL of the external key provider service.
	//
	// Url is a required field
	Url *string `locationName:"url" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (SpekeKeyProvider) GoString

func (s SpekeKeyProvider) GoString() string

GoString returns the string representation

func (*SpekeKeyProvider) SetCertificateArn added in v1.15.73

func (s *SpekeKeyProvider) SetCertificateArn(v string) *SpekeKeyProvider

SetCertificateArn sets the CertificateArn field's value.

func (*SpekeKeyProvider) SetResourceId

func (s *SpekeKeyProvider) SetResourceId(v string) *SpekeKeyProvider

SetResourceId sets the ResourceId field's value.

func (*SpekeKeyProvider) SetRoleArn

func (s *SpekeKeyProvider) SetRoleArn(v string) *SpekeKeyProvider

SetRoleArn sets the RoleArn field's value.

func (*SpekeKeyProvider) SetSystemIds

func (s *SpekeKeyProvider) SetSystemIds(v []*string) *SpekeKeyProvider

SetSystemIds sets the SystemIds field's value.

func (*SpekeKeyProvider) SetUrl

SetUrl sets the Url field's value.

func (SpekeKeyProvider) String

func (s SpekeKeyProvider) String() string

String returns the string representation

func (*SpekeKeyProvider) Validate

func (s *SpekeKeyProvider) Validate() error

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

type StreamSelection

type StreamSelection struct {

	// The maximum video bitrate (bps) to include in output.
	MaxVideoBitsPerSecond *int64 `locationName:"maxVideoBitsPerSecond" type:"integer"`

	// The minimum video bitrate (bps) to include in output.
	MinVideoBitsPerSecond *int64 `locationName:"minVideoBitsPerSecond" type:"integer"`

	// A directive that determines the order of streams in the output.
	StreamOrder *string `locationName:"streamOrder" type:"string" enum:"StreamOrder"`
	// contains filtered or unexported fields
}

A StreamSelection configuration.

func (StreamSelection) GoString

func (s StreamSelection) GoString() string

GoString returns the string representation

func (*StreamSelection) SetMaxVideoBitsPerSecond

func (s *StreamSelection) SetMaxVideoBitsPerSecond(v int64) *StreamSelection

SetMaxVideoBitsPerSecond sets the MaxVideoBitsPerSecond field's value.

func (*StreamSelection) SetMinVideoBitsPerSecond

func (s *StreamSelection) SetMinVideoBitsPerSecond(v int64) *StreamSelection

SetMinVideoBitsPerSecond sets the MinVideoBitsPerSecond field's value.

func (*StreamSelection) SetStreamOrder

func (s *StreamSelection) SetStreamOrder(v string) *StreamSelection

SetStreamOrder sets the StreamOrder field's value.

func (StreamSelection) String

func (s StreamSelection) String() string

String returns the string representation

type TagResourceInput added in v1.17.10

type TagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	// Tags is a required field
	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString added in v1.17.10

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn added in v1.17.10

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags added in v1.17.10

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

SetTags sets the Tags field's value.

func (TagResourceInput) String added in v1.17.10

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v1.17.10

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v1.17.10

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

func (TagResourceOutput) GoString added in v1.17.10

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String added in v1.17.10

func (s TagResourceOutput) String() string

String returns the string representation

type TooManyRequestsException added in v1.28.0

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

func (*TooManyRequestsException) Code added in v1.28.0

func (s *TooManyRequestsException) Code() string

Code returns the exception type name.

func (*TooManyRequestsException) Error added in v1.28.0

func (s *TooManyRequestsException) Error() string

func (TooManyRequestsException) GoString added in v1.28.0

func (s TooManyRequestsException) GoString() string

GoString returns the string representation

func (*TooManyRequestsException) Message added in v1.28.0

func (s *TooManyRequestsException) Message() string

Message returns the exception's message.

func (*TooManyRequestsException) OrigErr added in v1.28.0

func (s *TooManyRequestsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyRequestsException) RequestID added in v1.28.0

func (s *TooManyRequestsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyRequestsException) StatusCode added in v1.28.0

func (s *TooManyRequestsException) StatusCode() int

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

func (TooManyRequestsException) String added in v1.28.0

func (s TooManyRequestsException) String() string

String returns the string representation

type UnprocessableEntityException added in v1.28.0

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

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

func (*UnprocessableEntityException) Code added in v1.28.0

Code returns the exception type name.

func (*UnprocessableEntityException) Error added in v1.28.0

func (UnprocessableEntityException) GoString added in v1.28.0

func (s UnprocessableEntityException) GoString() string

GoString returns the string representation

func (*UnprocessableEntityException) Message added in v1.28.0

func (s *UnprocessableEntityException) Message() string

Message returns the exception's message.

func (*UnprocessableEntityException) OrigErr added in v1.28.0

func (s *UnprocessableEntityException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnprocessableEntityException) RequestID added in v1.28.0

func (s *UnprocessableEntityException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnprocessableEntityException) StatusCode added in v1.28.0

func (s *UnprocessableEntityException) StatusCode() int

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

func (UnprocessableEntityException) String added in v1.28.0

String returns the string representation

type UntagResourceInput added in v1.17.10

type UntagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString added in v1.17.10

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn added in v1.17.10

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys added in v1.17.10

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String added in v1.17.10

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v1.17.10

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v1.17.10

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

func (UntagResourceOutput) GoString added in v1.17.10

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String added in v1.17.10

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateChannelInput

type UpdateChannelInput struct {
	Description *string `locationName:"description" type:"string"`

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

func (UpdateChannelInput) GoString

func (s UpdateChannelInput) GoString() string

GoString returns the string representation

func (*UpdateChannelInput) SetDescription

func (s *UpdateChannelInput) SetDescription(v string) *UpdateChannelInput

SetDescription sets the Description field's value.

func (*UpdateChannelInput) SetId

SetId sets the Id field's value.

func (UpdateChannelInput) String

func (s UpdateChannelInput) String() string

String returns the string representation

func (*UpdateChannelInput) Validate

func (s *UpdateChannelInput) Validate() error

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

type UpdateChannelOutput

type UpdateChannelOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

	Id *string `locationName:"id" type:"string"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (UpdateChannelOutput) GoString

func (s UpdateChannelOutput) GoString() string

GoString returns the string representation

func (*UpdateChannelOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateChannelOutput) SetDescription

func (s *UpdateChannelOutput) SetDescription(v string) *UpdateChannelOutput

SetDescription sets the Description field's value.

func (*UpdateChannelOutput) SetHlsIngest

func (s *UpdateChannelOutput) SetHlsIngest(v *HlsIngest) *UpdateChannelOutput

SetHlsIngest sets the HlsIngest field's value.

func (*UpdateChannelOutput) SetId

SetId sets the Id field's value.

func (*UpdateChannelOutput) SetTags added in v1.17.10

SetTags sets the Tags field's value.

func (UpdateChannelOutput) String

func (s UpdateChannelOutput) String() string

String returns the string representation

type UpdateOriginEndpointInput

type UpdateOriginEndpointInput struct {

	// CDN Authorization credentials
	Authorization *Authorization `locationName:"authorization" type:"structure"`

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackageCreateOrUpdateParameters `locationName:"cmafPackage" type:"structure"`

	// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
	DashPackage *DashPackage `locationName:"dashPackage" type:"structure"`

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) packaging configuration.
	HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"`

	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`

	ManifestName *string `locationName:"manifestName" type:"string"`

	// A Microsoft Smooth Streaming (MSS) packaging configuration.
	MssPackage *MssPackage `locationName:"mssPackage" type:"structure"`

	Origination *string `locationName:"origination" type:"string" enum:"Origination"`

	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"`

	Whitelist []*string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateOriginEndpointInput) GoString

func (s UpdateOriginEndpointInput) GoString() string

GoString returns the string representation

func (*UpdateOriginEndpointInput) SetAuthorization added in v1.27.1

SetAuthorization sets the Authorization field's value.

func (*UpdateOriginEndpointInput) SetCmafPackage added in v1.13.32

SetCmafPackage sets the CmafPackage field's value.

func (*UpdateOriginEndpointInput) SetDashPackage

SetDashPackage sets the DashPackage field's value.

func (*UpdateOriginEndpointInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateOriginEndpointInput) SetHlsPackage

SetHlsPackage sets the HlsPackage field's value.

func (*UpdateOriginEndpointInput) SetId

SetId sets the Id field's value.

func (*UpdateOriginEndpointInput) SetManifestName

SetManifestName sets the ManifestName field's value.

func (*UpdateOriginEndpointInput) SetMssPackage

SetMssPackage sets the MssPackage field's value.

func (*UpdateOriginEndpointInput) SetOrigination added in v1.25.6

SetOrigination sets the Origination field's value.

func (*UpdateOriginEndpointInput) SetStartoverWindowSeconds

func (s *UpdateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointInput

SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.

func (*UpdateOriginEndpointInput) SetTimeDelaySeconds

func (s *UpdateOriginEndpointInput) SetTimeDelaySeconds(v int64) *UpdateOriginEndpointInput

SetTimeDelaySeconds sets the TimeDelaySeconds field's value.

func (*UpdateOriginEndpointInput) SetWhitelist

SetWhitelist sets the Whitelist field's value.

func (UpdateOriginEndpointInput) String

func (s UpdateOriginEndpointInput) String() string

String returns the string representation

func (*UpdateOriginEndpointInput) Validate

func (s *UpdateOriginEndpointInput) Validate() error

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

type UpdateOriginEndpointOutput

type UpdateOriginEndpointOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	// CDN Authorization credentials
	Authorization *Authorization `locationName:"authorization" type:"structure"`

	ChannelId *string `locationName:"channelId" type:"string"`

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

	// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
	DashPackage *DashPackage `locationName:"dashPackage" type:"structure"`

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) packaging configuration.
	HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"`

	Id *string `locationName:"id" type:"string"`

	ManifestName *string `locationName:"manifestName" type:"string"`

	// A Microsoft Smooth Streaming (MSS) packaging configuration.
	MssPackage *MssPackage `locationName:"mssPackage" type:"structure"`

	Origination *string `locationName:"origination" type:"string" enum:"Origination"`

	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`

	TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"`

	Url *string `locationName:"url" type:"string"`

	Whitelist []*string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateOriginEndpointOutput) GoString

func (s UpdateOriginEndpointOutput) GoString() string

GoString returns the string representation

func (*UpdateOriginEndpointOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateOriginEndpointOutput) SetAuthorization added in v1.27.1

SetAuthorization sets the Authorization field's value.

func (*UpdateOriginEndpointOutput) SetChannelId

SetChannelId sets the ChannelId field's value.

func (*UpdateOriginEndpointOutput) SetCmafPackage added in v1.13.32

SetCmafPackage sets the CmafPackage field's value.

func (*UpdateOriginEndpointOutput) SetDashPackage

SetDashPackage sets the DashPackage field's value.

func (*UpdateOriginEndpointOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateOriginEndpointOutput) SetHlsPackage

SetHlsPackage sets the HlsPackage field's value.

func (*UpdateOriginEndpointOutput) SetId

SetId sets the Id field's value.

func (*UpdateOriginEndpointOutput) SetManifestName

SetManifestName sets the ManifestName field's value.

func (*UpdateOriginEndpointOutput) SetMssPackage

SetMssPackage sets the MssPackage field's value.

func (*UpdateOriginEndpointOutput) SetOrigination added in v1.25.6

SetOrigination sets the Origination field's value.

func (*UpdateOriginEndpointOutput) SetStartoverWindowSeconds

func (s *UpdateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointOutput

SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.

func (*UpdateOriginEndpointOutput) SetTags added in v1.17.10

SetTags sets the Tags field's value.

func (*UpdateOriginEndpointOutput) SetTimeDelaySeconds

func (s *UpdateOriginEndpointOutput) SetTimeDelaySeconds(v int64) *UpdateOriginEndpointOutput

SetTimeDelaySeconds sets the TimeDelaySeconds field's value.

func (*UpdateOriginEndpointOutput) SetUrl

SetUrl sets the Url field's value.

func (*UpdateOriginEndpointOutput) SetWhitelist

SetWhitelist sets the Whitelist field's value.

func (UpdateOriginEndpointOutput) String

String returns the string representation

Directories

Path Synopsis
Package mediapackageiface provides an interface to enable mocking the AWS Elemental MediaPackage service client for testing your code.
Package mediapackageiface provides an interface to enable mocking the AWS Elemental MediaPackage service client for testing your code.

Jump to

Keyboard shortcuts

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