mediapackagevod

package
v1.29.33 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

AWS Elemental MediaPackage VOD

See https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07 for more information on this service.

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

Using the Client

To contact AWS Elemental MediaPackage VOD 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 VOD client MediaPackageVod for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackagevod/#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"
)
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 (
	// 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 (
	// 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 (

	// 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 Vod" // Name of service.
	EndpointsID = "mediapackage-vod" // ID to lookup a service endpoint with.
	ServiceID   = "MediaPackage Vod" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// PeriodTriggersElementAds is a PeriodTriggersElement enum value
	PeriodTriggersElementAds = "ADS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetShallow

type AssetShallow struct {

	// The ARN of the Asset.
	Arn *string `locationName:"arn" type:"string"`

	// The time the Asset was initially submitted for Ingest.
	CreatedAt *string `locationName:"createdAt" type:"string"`

	// The unique identifier for the Asset.
	Id *string `locationName:"id" type:"string"`

	// The ID of the PackagingGroup for the Asset.
	PackagingGroupId *string `locationName:"packagingGroupId" type:"string"`

	// The resource ID to include in SPEKE key requests.
	ResourceId *string `locationName:"resourceId" type:"string"`

	// ARN of the source object in S3.
	SourceArn *string `locationName:"sourceArn" type:"string"`

	// The IAM role ARN used to access the source S3 bucket.
	SourceRoleArn *string `locationName:"sourceRoleArn" type:"string"`
	// contains filtered or unexported fields
}

A MediaPackage VOD Asset resource.

func (AssetShallow) GoString

func (s AssetShallow) GoString() string

GoString returns the string representation

func (*AssetShallow) SetArn

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

SetArn sets the Arn field's value.

func (*AssetShallow) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*AssetShallow) SetId

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

SetId sets the Id field's value.

func (*AssetShallow) SetPackagingGroupId

func (s *AssetShallow) SetPackagingGroupId(v string) *AssetShallow

SetPackagingGroupId sets the PackagingGroupId field's value.

func (*AssetShallow) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (*AssetShallow) SetSourceArn

func (s *AssetShallow) SetSourceArn(v string) *AssetShallow

SetSourceArn sets the SourceArn field's value.

func (*AssetShallow) SetSourceRoleArn

func (s *AssetShallow) SetSourceRoleArn(v string) *AssetShallow

SetSourceRoleArn sets the SourceRoleArn field's value.

func (AssetShallow) String

func (s AssetShallow) String() string

String returns the string representation

type CmafEncryption

type CmafEncryption struct {

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

A CMAF encryption configuration.

func (CmafEncryption) GoString

func (s CmafEncryption) GoString() string

GoString returns the string representation

func (*CmafEncryption) SetSpekeKeyProvider

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

SetSpekeKeyProvider sets the SpekeKeyProvider field's value.

func (CmafEncryption) String

func (s CmafEncryption) String() string

String returns the string representation

func (*CmafEncryption) Validate

func (s *CmafEncryption) Validate() error

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

type CmafPackage

type CmafPackage struct {

	// A CMAF encryption configuration.
	Encryption *CmafEncryption `locationName:"encryption" type:"structure"`

	// A list of HLS manifest configurations.
	//
	// HlsManifests is a required field
	HlsManifests []*HlsManifest `locationName:"hlsManifests" type:"list" required:"true"`

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

A CMAF packaging configuration.

func (CmafPackage) GoString

func (s CmafPackage) GoString() string

GoString returns the string representation

func (*CmafPackage) SetEncryption

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

SetEncryption sets the Encryption field's value.

func (*CmafPackage) SetHlsManifests

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

SetHlsManifests sets the HlsManifests field's value.

func (*CmafPackage) SetSegmentDurationSeconds

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

SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.

func (CmafPackage) String

func (s CmafPackage) String() string

String returns the string representation

func (*CmafPackage) Validate

func (s *CmafPackage) Validate() error

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

type CreateAssetInput

type CreateAssetInput struct {

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

	// PackagingGroupId is a required field
	PackagingGroupId *string `locationName:"packagingGroupId" type:"string" required:"true"`

	ResourceId *string `locationName:"resourceId" type:"string"`

	// SourceArn is a required field
	SourceArn *string `locationName:"sourceArn" type:"string" required:"true"`

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

func (CreateAssetInput) GoString

func (s CreateAssetInput) GoString() string

GoString returns the string representation

func (*CreateAssetInput) SetId

SetId sets the Id field's value.

func (*CreateAssetInput) SetPackagingGroupId

func (s *CreateAssetInput) SetPackagingGroupId(v string) *CreateAssetInput

SetPackagingGroupId sets the PackagingGroupId field's value.

func (*CreateAssetInput) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (*CreateAssetInput) SetSourceArn

func (s *CreateAssetInput) SetSourceArn(v string) *CreateAssetInput

SetSourceArn sets the SourceArn field's value.

func (*CreateAssetInput) SetSourceRoleArn

func (s *CreateAssetInput) SetSourceRoleArn(v string) *CreateAssetInput

SetSourceRoleArn sets the SourceRoleArn field's value.

func (CreateAssetInput) String

func (s CreateAssetInput) String() string

String returns the string representation

func (*CreateAssetInput) Validate

func (s *CreateAssetInput) Validate() error

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

type CreateAssetOutput

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

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

	EgressEndpoints []*EgressEndpoint `locationName:"egressEndpoints" type:"list"`

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

	PackagingGroupId *string `locationName:"packagingGroupId" type:"string"`

	ResourceId *string `locationName:"resourceId" type:"string"`

	SourceArn *string `locationName:"sourceArn" type:"string"`

	SourceRoleArn *string `locationName:"sourceRoleArn" type:"string"`
	// contains filtered or unexported fields
}

func (CreateAssetOutput) GoString

func (s CreateAssetOutput) GoString() string

GoString returns the string representation

func (*CreateAssetOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateAssetOutput) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*CreateAssetOutput) SetEgressEndpoints

func (s *CreateAssetOutput) SetEgressEndpoints(v []*EgressEndpoint) *CreateAssetOutput

SetEgressEndpoints sets the EgressEndpoints field's value.

func (*CreateAssetOutput) SetId

SetId sets the Id field's value.

func (*CreateAssetOutput) SetPackagingGroupId

func (s *CreateAssetOutput) SetPackagingGroupId(v string) *CreateAssetOutput

SetPackagingGroupId sets the PackagingGroupId field's value.

func (*CreateAssetOutput) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (*CreateAssetOutput) SetSourceArn

func (s *CreateAssetOutput) SetSourceArn(v string) *CreateAssetOutput

SetSourceArn sets the SourceArn field's value.

func (*CreateAssetOutput) SetSourceRoleArn

func (s *CreateAssetOutput) SetSourceRoleArn(v string) *CreateAssetOutput

SetSourceRoleArn sets the SourceRoleArn field's value.

func (CreateAssetOutput) String

func (s CreateAssetOutput) String() string

String returns the string representation

type CreatePackagingConfigurationInput

type CreatePackagingConfigurationInput struct {

	// A CMAF packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

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

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

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

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

func (CreatePackagingConfigurationInput) GoString

GoString returns the string representation

func (*CreatePackagingConfigurationInput) SetCmafPackage

SetCmafPackage sets the CmafPackage field's value.

func (*CreatePackagingConfigurationInput) SetDashPackage

SetDashPackage sets the DashPackage field's value.

func (*CreatePackagingConfigurationInput) SetHlsPackage

SetHlsPackage sets the HlsPackage field's value.

func (*CreatePackagingConfigurationInput) SetId

SetId sets the Id field's value.

func (*CreatePackagingConfigurationInput) SetMssPackage

SetMssPackage sets the MssPackage field's value.

func (*CreatePackagingConfigurationInput) SetPackagingGroupId

SetPackagingGroupId sets the PackagingGroupId field's value.

func (CreatePackagingConfigurationInput) String

String returns the string representation

func (*CreatePackagingConfigurationInput) Validate

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

type CreatePackagingConfigurationOutput

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

	// A CMAF packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

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

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

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

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

	PackagingGroupId *string `locationName:"packagingGroupId" type:"string"`
	// contains filtered or unexported fields
}

func (CreatePackagingConfigurationOutput) GoString

GoString returns the string representation

func (*CreatePackagingConfigurationOutput) SetArn

SetArn sets the Arn field's value.

func (*CreatePackagingConfigurationOutput) SetCmafPackage

SetCmafPackage sets the CmafPackage field's value.

func (*CreatePackagingConfigurationOutput) SetDashPackage

SetDashPackage sets the DashPackage field's value.

func (*CreatePackagingConfigurationOutput) SetHlsPackage

SetHlsPackage sets the HlsPackage field's value.

func (*CreatePackagingConfigurationOutput) SetId

SetId sets the Id field's value.

func (*CreatePackagingConfigurationOutput) SetMssPackage

SetMssPackage sets the MssPackage field's value.

func (*CreatePackagingConfigurationOutput) SetPackagingGroupId

SetPackagingGroupId sets the PackagingGroupId field's value.

func (CreatePackagingConfigurationOutput) String

String returns the string representation

type CreatePackagingGroupInput

type CreatePackagingGroupInput struct {

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

func (CreatePackagingGroupInput) GoString

func (s CreatePackagingGroupInput) GoString() string

GoString returns the string representation

func (*CreatePackagingGroupInput) SetId

SetId sets the Id field's value.

func (CreatePackagingGroupInput) String

func (s CreatePackagingGroupInput) String() string

String returns the string representation

func (*CreatePackagingGroupInput) Validate

func (s *CreatePackagingGroupInput) Validate() error

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

type CreatePackagingGroupOutput

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

	DomainName *string `locationName:"domainName" type:"string"`

	Id *string `locationName:"id" type:"string"`
	// contains filtered or unexported fields
}

func (CreatePackagingGroupOutput) GoString

func (s CreatePackagingGroupOutput) GoString() string

GoString returns the string representation

func (*CreatePackagingGroupOutput) SetArn

SetArn sets the Arn field's value.

func (*CreatePackagingGroupOutput) SetDomainName

SetDomainName sets the DomainName field's value.

func (*CreatePackagingGroupOutput) SetId

SetId sets the Id field's value.

func (CreatePackagingGroupOutput) String

String returns the string representation

type DashEncryption

type DashEncryption struct {

	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	//
	// SpekeKeyProvider 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) 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 DashManifest

type DashManifest struct {

	// Determines the position of some tags in the Media Presentation Description
	// (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection
	// are included in each Representation. When set to COMPACT, duplicate elements
	// are combined and presented at the AdaptationSet level.
	ManifestLayout *string `locationName:"manifestLayout" type:"string" enum:"ManifestLayout"`

	// An optional string to include in the name of the manifest.
	ManifestName *string `locationName:"manifestName" type:"string"`

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

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

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

A DASH manifest configuration.

func (DashManifest) GoString

func (s DashManifest) GoString() string

GoString returns the string representation

func (*DashManifest) SetManifestLayout

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

SetManifestLayout sets the ManifestLayout field's value.

func (*DashManifest) SetManifestName

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

SetManifestName sets the ManifestName field's value.

func (*DashManifest) SetMinBufferTimeSeconds

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

SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value.

func (*DashManifest) SetProfile

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

SetProfile sets the Profile field's value.

func (*DashManifest) SetStreamSelection

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

SetStreamSelection sets the StreamSelection field's value.

func (DashManifest) String

func (s DashManifest) String() string

String returns the string representation

type DashPackage

type DashPackage struct {

	// A list of DASH manifest configurations.
	//
	// DashManifests is a required field
	DashManifests []*DashManifest `locationName:"dashManifests" type:"list" required:"true"`

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

	// 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 Asset contains SCTE-35 ad markers.
	PeriodTriggers []*string `locationName:"periodTriggers" 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"`

	// 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"`
	// 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) SetDashManifests

func (s *DashPackage) SetDashManifests(v []*DashManifest) *DashPackage

SetDashManifests sets the DashManifests field's value.

func (*DashPackage) SetEncryption

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

SetEncryption sets the Encryption field's value.

func (*DashPackage) SetPeriodTriggers

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

SetPeriodTriggers sets the PeriodTriggers field's value.

func (*DashPackage) SetSegmentDurationSeconds

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

SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.

func (*DashPackage) SetSegmentTemplateFormat

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

SetSegmentTemplateFormat sets the SegmentTemplateFormat 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 DeleteAssetInput

type DeleteAssetInput struct {

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

func (DeleteAssetInput) GoString

func (s DeleteAssetInput) GoString() string

GoString returns the string representation

func (*DeleteAssetInput) SetId

SetId sets the Id field's value.

func (DeleteAssetInput) String

func (s DeleteAssetInput) String() string

String returns the string representation

func (*DeleteAssetInput) Validate

func (s *DeleteAssetInput) Validate() error

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

type DeleteAssetOutput

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

func (DeleteAssetOutput) GoString

func (s DeleteAssetOutput) GoString() string

GoString returns the string representation

func (DeleteAssetOutput) String

func (s DeleteAssetOutput) String() string

String returns the string representation

type DeletePackagingConfigurationInput

type DeletePackagingConfigurationInput struct {

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

func (DeletePackagingConfigurationInput) GoString

GoString returns the string representation

func (*DeletePackagingConfigurationInput) SetId

SetId sets the Id field's value.

func (DeletePackagingConfigurationInput) String

String returns the string representation

func (*DeletePackagingConfigurationInput) Validate

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

type DeletePackagingConfigurationOutput

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

func (DeletePackagingConfigurationOutput) GoString

GoString returns the string representation

func (DeletePackagingConfigurationOutput) String

String returns the string representation

type DeletePackagingGroupInput

type DeletePackagingGroupInput struct {

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

func (DeletePackagingGroupInput) GoString

func (s DeletePackagingGroupInput) GoString() string

GoString returns the string representation

func (*DeletePackagingGroupInput) SetId

SetId sets the Id field's value.

func (DeletePackagingGroupInput) String

func (s DeletePackagingGroupInput) String() string

String returns the string representation

func (*DeletePackagingGroupInput) Validate

func (s *DeletePackagingGroupInput) Validate() error

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

type DeletePackagingGroupOutput

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

func (DeletePackagingGroupOutput) GoString

func (s DeletePackagingGroupOutput) GoString() string

GoString returns the string representation

func (DeletePackagingGroupOutput) String

String returns the string representation

type DescribeAssetInput

type DescribeAssetInput struct {

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

func (DescribeAssetInput) GoString

func (s DescribeAssetInput) GoString() string

GoString returns the string representation

func (*DescribeAssetInput) SetId

SetId sets the Id field's value.

func (DescribeAssetInput) String

func (s DescribeAssetInput) String() string

String returns the string representation

func (*DescribeAssetInput) Validate

func (s *DescribeAssetInput) Validate() error

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

type DescribeAssetOutput

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

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

	EgressEndpoints []*EgressEndpoint `locationName:"egressEndpoints" type:"list"`

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

	PackagingGroupId *string `locationName:"packagingGroupId" type:"string"`

	ResourceId *string `locationName:"resourceId" type:"string"`

	SourceArn *string `locationName:"sourceArn" type:"string"`

	SourceRoleArn *string `locationName:"sourceRoleArn" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAssetOutput) GoString

func (s DescribeAssetOutput) GoString() string

GoString returns the string representation

func (*DescribeAssetOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribeAssetOutput) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*DescribeAssetOutput) SetEgressEndpoints

func (s *DescribeAssetOutput) SetEgressEndpoints(v []*EgressEndpoint) *DescribeAssetOutput

SetEgressEndpoints sets the EgressEndpoints field's value.

func (*DescribeAssetOutput) SetId

SetId sets the Id field's value.

func (*DescribeAssetOutput) SetPackagingGroupId

func (s *DescribeAssetOutput) SetPackagingGroupId(v string) *DescribeAssetOutput

SetPackagingGroupId sets the PackagingGroupId field's value.

func (*DescribeAssetOutput) SetResourceId

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

SetResourceId sets the ResourceId field's value.

func (*DescribeAssetOutput) SetSourceArn

func (s *DescribeAssetOutput) SetSourceArn(v string) *DescribeAssetOutput

SetSourceArn sets the SourceArn field's value.

func (*DescribeAssetOutput) SetSourceRoleArn

func (s *DescribeAssetOutput) SetSourceRoleArn(v string) *DescribeAssetOutput

SetSourceRoleArn sets the SourceRoleArn field's value.

func (DescribeAssetOutput) String

func (s DescribeAssetOutput) String() string

String returns the string representation

type DescribePackagingConfigurationInput

type DescribePackagingConfigurationInput struct {

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

func (DescribePackagingConfigurationInput) GoString

GoString returns the string representation

func (*DescribePackagingConfigurationInput) SetId

SetId sets the Id field's value.

func (DescribePackagingConfigurationInput) String

String returns the string representation

func (*DescribePackagingConfigurationInput) Validate

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

type DescribePackagingConfigurationOutput

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

	// A CMAF packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

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

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

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

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

	PackagingGroupId *string `locationName:"packagingGroupId" type:"string"`
	// contains filtered or unexported fields
}

func (DescribePackagingConfigurationOutput) GoString

GoString returns the string representation

func (*DescribePackagingConfigurationOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribePackagingConfigurationOutput) SetCmafPackage

SetCmafPackage sets the CmafPackage field's value.

func (*DescribePackagingConfigurationOutput) SetDashPackage

SetDashPackage sets the DashPackage field's value.

func (*DescribePackagingConfigurationOutput) SetHlsPackage

SetHlsPackage sets the HlsPackage field's value.

func (*DescribePackagingConfigurationOutput) SetId

SetId sets the Id field's value.

func (*DescribePackagingConfigurationOutput) SetMssPackage

SetMssPackage sets the MssPackage field's value.

func (*DescribePackagingConfigurationOutput) SetPackagingGroupId

SetPackagingGroupId sets the PackagingGroupId field's value.

func (DescribePackagingConfigurationOutput) String

String returns the string representation

type DescribePackagingGroupInput

type DescribePackagingGroupInput struct {

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

func (DescribePackagingGroupInput) GoString

func (s DescribePackagingGroupInput) GoString() string

GoString returns the string representation

func (*DescribePackagingGroupInput) SetId

SetId sets the Id field's value.

func (DescribePackagingGroupInput) String

String returns the string representation

func (*DescribePackagingGroupInput) Validate

func (s *DescribePackagingGroupInput) Validate() error

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

type DescribePackagingGroupOutput

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

	DomainName *string `locationName:"domainName" type:"string"`

	Id *string `locationName:"id" type:"string"`
	// contains filtered or unexported fields
}

func (DescribePackagingGroupOutput) GoString

func (s DescribePackagingGroupOutput) GoString() string

GoString returns the string representation

func (*DescribePackagingGroupOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribePackagingGroupOutput) SetDomainName

SetDomainName sets the DomainName field's value.

func (*DescribePackagingGroupOutput) SetId

SetId sets the Id field's value.

func (DescribePackagingGroupOutput) String

String returns the string representation

type EgressEndpoint

type EgressEndpoint struct {

	// The ID of the PackagingConfiguration being applied to the Asset.
	PackagingConfigurationId *string `locationName:"packagingConfigurationId" type:"string"`

	// The URL of the parent manifest for the repackaged Asset.
	Url *string `locationName:"url" type:"string"`
	// contains filtered or unexported fields
}

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

func (EgressEndpoint) GoString

func (s EgressEndpoint) GoString() string

GoString returns the string representation

func (*EgressEndpoint) SetPackagingConfigurationId

func (s *EgressEndpoint) SetPackagingConfigurationId(v string) *EgressEndpoint

SetPackagingConfigurationId sets the PackagingConfigurationId field's value.

func (*EgressEndpoint) SetUrl

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

SetUrl sets the Url field's value.

func (EgressEndpoint) String

func (s EgressEndpoint) String() string

String returns the string representation

type ForbiddenException

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

func (ForbiddenException) Code

func (s ForbiddenException) Code() string

Code returns the exception type name.

func (ForbiddenException) Error

func (s ForbiddenException) Error() string

func (ForbiddenException) GoString

func (s ForbiddenException) GoString() string

GoString returns the string representation

func (ForbiddenException) Message

func (s ForbiddenException) Message() string

Message returns the exception's message.

func (ForbiddenException) OrigErr

func (s ForbiddenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ForbiddenException) RequestID

func (s ForbiddenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ForbiddenException) StatusCode

func (s ForbiddenException) StatusCode() int

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

func (ForbiddenException) String

func (s ForbiddenException) 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"`

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

type HlsManifest struct {

	// This setting controls how ad markers are included in the packaged OriginEndpoint."NONE"
	// will omit all SCTE-35 ad markers from the output."PASSTHROUGH" causes the
	// manifest to contain a copy of the SCTE-35 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.
	AdMarkers *string `locationName:"adMarkers" type:"string" enum:"AdMarkers"`

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

	// An optional string to include in the name of the manifest.
	ManifestName *string `locationName:"manifestName" type:"string"`

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

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

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

An HTTP Live Streaming (HLS) manifest configuration.

func (HlsManifest) GoString

func (s HlsManifest) GoString() string

GoString returns the string representation

func (*HlsManifest) SetAdMarkers

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

SetAdMarkers sets the AdMarkers field's value.

func (*HlsManifest) SetIncludeIframeOnlyStream

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

SetIncludeIframeOnlyStream sets the IncludeIframeOnlyStream field's value.

func (*HlsManifest) SetManifestName

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

SetManifestName sets the ManifestName field's value.

func (*HlsManifest) SetProgramDateTimeIntervalSeconds

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

SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.

func (*HlsManifest) SetRepeatExtXKey

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

SetRepeatExtXKey sets the RepeatExtXKey field's value.

func (*HlsManifest) SetStreamSelection

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

SetStreamSelection sets the StreamSelection field's value.

func (HlsManifest) String

func (s HlsManifest) String() string

String returns the string representation

type HlsPackage

type HlsPackage struct {

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

	// A list of HLS manifest configurations.
	//
	// HlsManifests is a required field
	HlsManifests []*HlsManifest `locationName:"hlsManifests" type:"list" required:"true"`

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

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

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

SetEncryption sets the Encryption field's value.

func (*HlsPackage) SetHlsManifests

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

SetHlsManifests sets the HlsManifests field's value.

func (*HlsPackage) SetSegmentDurationSeconds

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

SetSegmentDurationSeconds sets the SegmentDurationSeconds 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 InternalServerErrorException

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

func (InternalServerErrorException) Code

Code returns the exception type name.

func (InternalServerErrorException) Error

func (InternalServerErrorException) GoString

func (s InternalServerErrorException) GoString() string

GoString returns the string representation

func (InternalServerErrorException) Message

Message returns the exception's message.

func (InternalServerErrorException) OrigErr

func (s InternalServerErrorException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (InternalServerErrorException) RequestID

func (s InternalServerErrorException) RequestID() string

RequestID returns the service's response RequestID for request.

func (InternalServerErrorException) StatusCode

func (s InternalServerErrorException) StatusCode() int

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

func (InternalServerErrorException) String

String returns the string representation

type ListAssetsInput

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

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

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

func (ListAssetsInput) GoString

func (s ListAssetsInput) GoString() string

GoString returns the string representation

func (*ListAssetsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListAssetsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListAssetsInput) SetPackagingGroupId

func (s *ListAssetsInput) SetPackagingGroupId(v string) *ListAssetsInput

SetPackagingGroupId sets the PackagingGroupId field's value.

func (ListAssetsInput) String

func (s ListAssetsInput) String() string

String returns the string representation

func (*ListAssetsInput) Validate

func (s *ListAssetsInput) Validate() error

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

type ListAssetsOutput

type ListAssetsOutput struct {
	Assets []*AssetShallow `locationName:"assets" type:"list"`

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

func (ListAssetsOutput) GoString

func (s ListAssetsOutput) GoString() string

GoString returns the string representation

func (*ListAssetsOutput) SetAssets

func (s *ListAssetsOutput) SetAssets(v []*AssetShallow) *ListAssetsOutput

SetAssets sets the Assets field's value.

func (*ListAssetsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListAssetsOutput) String

func (s ListAssetsOutput) String() string

String returns the string representation

type ListPackagingConfigurationsInput

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

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

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

func (ListPackagingConfigurationsInput) GoString

GoString returns the string representation

func (*ListPackagingConfigurationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPackagingConfigurationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackagingConfigurationsInput) SetPackagingGroupId

SetPackagingGroupId sets the PackagingGroupId field's value.

func (ListPackagingConfigurationsInput) String

String returns the string representation

func (*ListPackagingConfigurationsInput) Validate

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

type ListPackagingConfigurationsOutput

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

	PackagingConfigurations []*PackagingConfiguration `locationName:"packagingConfigurations" type:"list"`
	// contains filtered or unexported fields
}

func (ListPackagingConfigurationsOutput) GoString

GoString returns the string representation

func (*ListPackagingConfigurationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackagingConfigurationsOutput) SetPackagingConfigurations

SetPackagingConfigurations sets the PackagingConfigurations field's value.

func (ListPackagingConfigurationsOutput) String

String returns the string representation

type ListPackagingGroupsInput

type ListPackagingGroupsInput 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 (ListPackagingGroupsInput) GoString

func (s ListPackagingGroupsInput) GoString() string

GoString returns the string representation

func (*ListPackagingGroupsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPackagingGroupsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListPackagingGroupsInput) String

func (s ListPackagingGroupsInput) String() string

String returns the string representation

func (*ListPackagingGroupsInput) Validate

func (s *ListPackagingGroupsInput) Validate() error

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

type ListPackagingGroupsOutput

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

	PackagingGroups []*PackagingGroup `locationName:"packagingGroups" type:"list"`
	// contains filtered or unexported fields
}

func (ListPackagingGroupsOutput) GoString

func (s ListPackagingGroupsOutput) GoString() string

GoString returns the string representation

func (*ListPackagingGroupsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPackagingGroupsOutput) SetPackagingGroups

SetPackagingGroups sets the PackagingGroups field's value.

func (ListPackagingGroupsOutput) String

func (s ListPackagingGroupsOutput) String() string

String returns the string representation

type MediaPackageVod

type MediaPackageVod struct {
	*client.Client
}

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

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

func New

New creates a new instance of the MediaPackageVod 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 MediaPackageVod client from just a session.
svc := mediapackagevod.New(mySession)

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

func (*MediaPackageVod) CreateAsset

func (c *MediaPackageVod) CreateAsset(input *CreateAssetInput) (*CreateAssetOutput, error)

CreateAsset API operation for AWS Elemental MediaPackage VOD.

Creates a new MediaPackage VOD Asset resource.

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 VOD's API operation CreateAsset for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAsset

func (*MediaPackageVod) CreateAssetRequest

func (c *MediaPackageVod) CreateAssetRequest(input *CreateAssetInput) (req *request.Request, output *CreateAssetOutput)

CreateAssetRequest generates a "aws/request.Request" representing the client's request for the CreateAsset 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 CreateAsset for more information on using the CreateAsset 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 CreateAssetRequest method.
req, resp := client.CreateAssetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAsset

func (*MediaPackageVod) CreateAssetWithContext

func (c *MediaPackageVod) CreateAssetWithContext(ctx aws.Context, input *CreateAssetInput, opts ...request.Option) (*CreateAssetOutput, error)

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

See CreateAsset 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 (*MediaPackageVod) CreatePackagingConfiguration

CreatePackagingConfiguration API operation for AWS Elemental MediaPackage VOD.

Creates a new MediaPackage VOD PackagingConfiguration resource.

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 VOD's API operation CreatePackagingConfiguration for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfiguration

func (*MediaPackageVod) CreatePackagingConfigurationRequest

func (c *MediaPackageVod) CreatePackagingConfigurationRequest(input *CreatePackagingConfigurationInput) (req *request.Request, output *CreatePackagingConfigurationOutput)

CreatePackagingConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreatePackagingConfiguration 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 CreatePackagingConfiguration for more information on using the CreatePackagingConfiguration 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 CreatePackagingConfigurationRequest method.
req, resp := client.CreatePackagingConfigurationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfiguration

func (*MediaPackageVod) CreatePackagingConfigurationWithContext

func (c *MediaPackageVod) CreatePackagingConfigurationWithContext(ctx aws.Context, input *CreatePackagingConfigurationInput, opts ...request.Option) (*CreatePackagingConfigurationOutput, error)

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

See CreatePackagingConfiguration 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 (*MediaPackageVod) CreatePackagingGroup

func (c *MediaPackageVod) CreatePackagingGroup(input *CreatePackagingGroupInput) (*CreatePackagingGroupOutput, error)

CreatePackagingGroup API operation for AWS Elemental MediaPackage VOD.

Creates a new MediaPackage VOD PackagingGroup resource.

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 VOD's API operation CreatePackagingGroup for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroup

func (*MediaPackageVod) CreatePackagingGroupRequest

func (c *MediaPackageVod) CreatePackagingGroupRequest(input *CreatePackagingGroupInput) (req *request.Request, output *CreatePackagingGroupOutput)

CreatePackagingGroupRequest generates a "aws/request.Request" representing the client's request for the CreatePackagingGroup 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 CreatePackagingGroup for more information on using the CreatePackagingGroup 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 CreatePackagingGroupRequest method.
req, resp := client.CreatePackagingGroupRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroup

func (*MediaPackageVod) CreatePackagingGroupWithContext

func (c *MediaPackageVod) CreatePackagingGroupWithContext(ctx aws.Context, input *CreatePackagingGroupInput, opts ...request.Option) (*CreatePackagingGroupOutput, error)

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

See CreatePackagingGroup 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 (*MediaPackageVod) DeleteAsset

func (c *MediaPackageVod) DeleteAsset(input *DeleteAssetInput) (*DeleteAssetOutput, error)

DeleteAsset API operation for AWS Elemental MediaPackage VOD.

Deletes an existing MediaPackage VOD Asset resource.

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 VOD's API operation DeleteAsset for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeleteAsset

func (*MediaPackageVod) DeleteAssetRequest

func (c *MediaPackageVod) DeleteAssetRequest(input *DeleteAssetInput) (req *request.Request, output *DeleteAssetOutput)

DeleteAssetRequest generates a "aws/request.Request" representing the client's request for the DeleteAsset 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 DeleteAsset for more information on using the DeleteAsset 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 DeleteAssetRequest method.
req, resp := client.DeleteAssetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeleteAsset

func (*MediaPackageVod) DeleteAssetWithContext

func (c *MediaPackageVod) DeleteAssetWithContext(ctx aws.Context, input *DeleteAssetInput, opts ...request.Option) (*DeleteAssetOutput, error)

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

See DeleteAsset 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 (*MediaPackageVod) DeletePackagingConfiguration

DeletePackagingConfiguration API operation for AWS Elemental MediaPackage VOD.

Deletes a MediaPackage VOD PackagingConfiguration resource.

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 VOD's API operation DeletePackagingConfiguration for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeletePackagingConfiguration

func (*MediaPackageVod) DeletePackagingConfigurationRequest

func (c *MediaPackageVod) DeletePackagingConfigurationRequest(input *DeletePackagingConfigurationInput) (req *request.Request, output *DeletePackagingConfigurationOutput)

DeletePackagingConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeletePackagingConfiguration 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 DeletePackagingConfiguration for more information on using the DeletePackagingConfiguration 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 DeletePackagingConfigurationRequest method.
req, resp := client.DeletePackagingConfigurationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeletePackagingConfiguration

func (*MediaPackageVod) DeletePackagingConfigurationWithContext

func (c *MediaPackageVod) DeletePackagingConfigurationWithContext(ctx aws.Context, input *DeletePackagingConfigurationInput, opts ...request.Option) (*DeletePackagingConfigurationOutput, error)

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

See DeletePackagingConfiguration 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 (*MediaPackageVod) DeletePackagingGroup

func (c *MediaPackageVod) DeletePackagingGroup(input *DeletePackagingGroupInput) (*DeletePackagingGroupOutput, error)

DeletePackagingGroup API operation for AWS Elemental MediaPackage VOD.

Deletes a MediaPackage VOD PackagingGroup resource.

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 VOD's API operation DeletePackagingGroup for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeletePackagingGroup

func (*MediaPackageVod) DeletePackagingGroupRequest

func (c *MediaPackageVod) DeletePackagingGroupRequest(input *DeletePackagingGroupInput) (req *request.Request, output *DeletePackagingGroupOutput)

DeletePackagingGroupRequest generates a "aws/request.Request" representing the client's request for the DeletePackagingGroup 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 DeletePackagingGroup for more information on using the DeletePackagingGroup 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 DeletePackagingGroupRequest method.
req, resp := client.DeletePackagingGroupRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeletePackagingGroup

func (*MediaPackageVod) DeletePackagingGroupWithContext

func (c *MediaPackageVod) DeletePackagingGroupWithContext(ctx aws.Context, input *DeletePackagingGroupInput, opts ...request.Option) (*DeletePackagingGroupOutput, error)

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

See DeletePackagingGroup 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 (*MediaPackageVod) DescribeAsset

func (c *MediaPackageVod) DescribeAsset(input *DescribeAssetInput) (*DescribeAssetOutput, error)

DescribeAsset API operation for AWS Elemental MediaPackage VOD.

Returns a description of a MediaPackage VOD Asset resource.

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 VOD's API operation DescribeAsset for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribeAsset

func (*MediaPackageVod) DescribeAssetRequest

func (c *MediaPackageVod) DescribeAssetRequest(input *DescribeAssetInput) (req *request.Request, output *DescribeAssetOutput)

DescribeAssetRequest generates a "aws/request.Request" representing the client's request for the DescribeAsset 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 DescribeAsset for more information on using the DescribeAsset 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 DescribeAssetRequest method.
req, resp := client.DescribeAssetRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribeAsset

func (*MediaPackageVod) DescribeAssetWithContext

func (c *MediaPackageVod) DescribeAssetWithContext(ctx aws.Context, input *DescribeAssetInput, opts ...request.Option) (*DescribeAssetOutput, error)

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

See DescribeAsset 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 (*MediaPackageVod) DescribePackagingConfiguration

DescribePackagingConfiguration API operation for AWS Elemental MediaPackage VOD.

Returns a description of a MediaPackage VOD PackagingConfiguration resource.

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 VOD's API operation DescribePackagingConfiguration for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingConfiguration

func (*MediaPackageVod) DescribePackagingConfigurationRequest

func (c *MediaPackageVod) DescribePackagingConfigurationRequest(input *DescribePackagingConfigurationInput) (req *request.Request, output *DescribePackagingConfigurationOutput)

DescribePackagingConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribePackagingConfiguration 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 DescribePackagingConfiguration for more information on using the DescribePackagingConfiguration 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 DescribePackagingConfigurationRequest method.
req, resp := client.DescribePackagingConfigurationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingConfiguration

func (*MediaPackageVod) DescribePackagingConfigurationWithContext

func (c *MediaPackageVod) DescribePackagingConfigurationWithContext(ctx aws.Context, input *DescribePackagingConfigurationInput, opts ...request.Option) (*DescribePackagingConfigurationOutput, error)

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

See DescribePackagingConfiguration 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 (*MediaPackageVod) DescribePackagingGroup

func (c *MediaPackageVod) DescribePackagingGroup(input *DescribePackagingGroupInput) (*DescribePackagingGroupOutput, error)

DescribePackagingGroup API operation for AWS Elemental MediaPackage VOD.

Returns a description of a MediaPackage VOD PackagingGroup resource.

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 VOD's API operation DescribePackagingGroup for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingGroup

func (*MediaPackageVod) DescribePackagingGroupRequest

func (c *MediaPackageVod) DescribePackagingGroupRequest(input *DescribePackagingGroupInput) (req *request.Request, output *DescribePackagingGroupOutput)

DescribePackagingGroupRequest generates a "aws/request.Request" representing the client's request for the DescribePackagingGroup 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 DescribePackagingGroup for more information on using the DescribePackagingGroup 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 DescribePackagingGroupRequest method.
req, resp := client.DescribePackagingGroupRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingGroup

func (*MediaPackageVod) DescribePackagingGroupWithContext

func (c *MediaPackageVod) DescribePackagingGroupWithContext(ctx aws.Context, input *DescribePackagingGroupInput, opts ...request.Option) (*DescribePackagingGroupOutput, error)

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

See DescribePackagingGroup 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 (*MediaPackageVod) ListAssets

func (c *MediaPackageVod) ListAssets(input *ListAssetsInput) (*ListAssetsOutput, error)

ListAssets API operation for AWS Elemental MediaPackage VOD.

Returns a collection of MediaPackage VOD Asset resources.

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 VOD's API operation ListAssets for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListAssets

func (*MediaPackageVod) ListAssetsPages

func (c *MediaPackageVod) ListAssetsPages(input *ListAssetsInput, fn func(*ListAssetsOutput, bool) bool) error

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

See ListAssets 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 ListAssets operation.
pageNum := 0
err := client.ListAssetsPages(params,
    func(page *mediapackagevod.ListAssetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaPackageVod) ListAssetsPagesWithContext

func (c *MediaPackageVod) ListAssetsPagesWithContext(ctx aws.Context, input *ListAssetsInput, fn func(*ListAssetsOutput, bool) bool, opts ...request.Option) error

ListAssetsPagesWithContext same as ListAssetsPages 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 (*MediaPackageVod) ListAssetsRequest

func (c *MediaPackageVod) ListAssetsRequest(input *ListAssetsInput) (req *request.Request, output *ListAssetsOutput)

ListAssetsRequest generates a "aws/request.Request" representing the client's request for the ListAssets 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 ListAssets for more information on using the ListAssets 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 ListAssetsRequest method.
req, resp := client.ListAssetsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListAssets

func (*MediaPackageVod) ListAssetsWithContext

func (c *MediaPackageVod) ListAssetsWithContext(ctx aws.Context, input *ListAssetsInput, opts ...request.Option) (*ListAssetsOutput, error)

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

See ListAssets 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 (*MediaPackageVod) ListPackagingConfigurations

ListPackagingConfigurations API operation for AWS Elemental MediaPackage VOD.

Returns a collection of MediaPackage VOD PackagingConfiguration resources.

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 VOD's API operation ListPackagingConfigurations for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingConfigurations

func (*MediaPackageVod) ListPackagingConfigurationsPages

func (c *MediaPackageVod) ListPackagingConfigurationsPages(input *ListPackagingConfigurationsInput, fn func(*ListPackagingConfigurationsOutput, bool) bool) error

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

See ListPackagingConfigurations 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 ListPackagingConfigurations operation.
pageNum := 0
err := client.ListPackagingConfigurationsPages(params,
    func(page *mediapackagevod.ListPackagingConfigurationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaPackageVod) ListPackagingConfigurationsPagesWithContext

func (c *MediaPackageVod) ListPackagingConfigurationsPagesWithContext(ctx aws.Context, input *ListPackagingConfigurationsInput, fn func(*ListPackagingConfigurationsOutput, bool) bool, opts ...request.Option) error

ListPackagingConfigurationsPagesWithContext same as ListPackagingConfigurationsPages 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 (*MediaPackageVod) ListPackagingConfigurationsRequest

func (c *MediaPackageVod) ListPackagingConfigurationsRequest(input *ListPackagingConfigurationsInput) (req *request.Request, output *ListPackagingConfigurationsOutput)

ListPackagingConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListPackagingConfigurations 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 ListPackagingConfigurations for more information on using the ListPackagingConfigurations 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 ListPackagingConfigurationsRequest method.
req, resp := client.ListPackagingConfigurationsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingConfigurations

func (*MediaPackageVod) ListPackagingConfigurationsWithContext

func (c *MediaPackageVod) ListPackagingConfigurationsWithContext(ctx aws.Context, input *ListPackagingConfigurationsInput, opts ...request.Option) (*ListPackagingConfigurationsOutput, error)

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

See ListPackagingConfigurations 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 (*MediaPackageVod) ListPackagingGroups

func (c *MediaPackageVod) ListPackagingGroups(input *ListPackagingGroupsInput) (*ListPackagingGroupsOutput, error)

ListPackagingGroups API operation for AWS Elemental MediaPackage VOD.

Returns a collection of MediaPackage VOD PackagingGroup resources.

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 VOD's API operation ListPackagingGroups for usage and error information.

Returned Error Types:

  • UnprocessableEntityException

  • InternalServerErrorException

  • ForbiddenException

  • NotFoundException

  • ServiceUnavailableException

  • TooManyRequestsException

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingGroups

func (*MediaPackageVod) ListPackagingGroupsPages

func (c *MediaPackageVod) ListPackagingGroupsPages(input *ListPackagingGroupsInput, fn func(*ListPackagingGroupsOutput, bool) bool) error

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

See ListPackagingGroups 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 ListPackagingGroups operation.
pageNum := 0
err := client.ListPackagingGroupsPages(params,
    func(page *mediapackagevod.ListPackagingGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaPackageVod) ListPackagingGroupsPagesWithContext

func (c *MediaPackageVod) ListPackagingGroupsPagesWithContext(ctx aws.Context, input *ListPackagingGroupsInput, fn func(*ListPackagingGroupsOutput, bool) bool, opts ...request.Option) error

ListPackagingGroupsPagesWithContext same as ListPackagingGroupsPages 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 (*MediaPackageVod) ListPackagingGroupsRequest

func (c *MediaPackageVod) ListPackagingGroupsRequest(input *ListPackagingGroupsInput) (req *request.Request, output *ListPackagingGroupsOutput)

ListPackagingGroupsRequest generates a "aws/request.Request" representing the client's request for the ListPackagingGroups 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 ListPackagingGroups for more information on using the ListPackagingGroups 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 ListPackagingGroupsRequest method.
req, resp := client.ListPackagingGroupsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingGroups

func (*MediaPackageVod) ListPackagingGroupsWithContext

func (c *MediaPackageVod) ListPackagingGroupsWithContext(ctx aws.Context, input *ListPackagingGroupsInput, opts ...request.Option) (*ListPackagingGroupsOutput, error)

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

See ListPackagingGroups 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 MssManifest

type MssManifest struct {

	// An optional string to include in the name of the manifest.
	ManifestName *string `locationName:"manifestName" type:"string"`

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

A Microsoft Smooth Streaming (MSS) manifest configuration.

func (MssManifest) GoString

func (s MssManifest) GoString() string

GoString returns the string representation

func (*MssManifest) SetManifestName

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

SetManifestName sets the ManifestName field's value.

func (*MssManifest) SetStreamSelection

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

SetStreamSelection sets the StreamSelection field's value.

func (MssManifest) String

func (s MssManifest) String() string

String returns the string representation

type MssPackage

type MssPackage struct {

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

	// A list of MSS manifest configurations.
	//
	// MssManifests is a required field
	MssManifests []*MssManifest `locationName:"mssManifests" type:"list" required:"true"`

	// The duration (in seconds) of each segment.
	SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"`
	// contains filtered or unexported fields
}

A Microsoft Smooth Streaming (MSS) PackagingConfiguration.

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) SetMssManifests

func (s *MssPackage) SetMssManifests(v []*MssManifest) *MssPackage

SetMssManifests sets the MssManifests field's value.

func (*MssPackage) SetSegmentDurationSeconds

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

SetSegmentDurationSeconds sets the SegmentDurationSeconds 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

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

func (NotFoundException) Code

func (s NotFoundException) Code() string

Code returns the exception type name.

func (NotFoundException) Error

func (s NotFoundException) Error() string

func (NotFoundException) GoString

func (s NotFoundException) GoString() string

GoString returns the string representation

func (NotFoundException) Message

func (s NotFoundException) Message() string

Message returns the exception's message.

func (NotFoundException) OrigErr

func (s NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (NotFoundException) RequestID

func (s NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (NotFoundException) StatusCode

func (s NotFoundException) StatusCode() int

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

func (NotFoundException) String

func (s NotFoundException) String() string

String returns the string representation

type PackagingConfiguration

type PackagingConfiguration struct {

	// The ARN of the PackagingConfiguration.
	Arn *string `locationName:"arn" type:"string"`

	// A CMAF packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

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

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

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

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

	// The ID of a PackagingGroup.
	PackagingGroupId *string `locationName:"packagingGroupId" type:"string"`
	// contains filtered or unexported fields
}

A MediaPackage VOD PackagingConfiguration resource.

func (PackagingConfiguration) GoString

func (s PackagingConfiguration) GoString() string

GoString returns the string representation

func (*PackagingConfiguration) SetArn

SetArn sets the Arn field's value.

func (*PackagingConfiguration) SetCmafPackage

SetCmafPackage sets the CmafPackage field's value.

func (*PackagingConfiguration) SetDashPackage

SetDashPackage sets the DashPackage field's value.

func (*PackagingConfiguration) SetHlsPackage

SetHlsPackage sets the HlsPackage field's value.

func (*PackagingConfiguration) SetId

SetId sets the Id field's value.

func (*PackagingConfiguration) SetMssPackage

SetMssPackage sets the MssPackage field's value.

func (*PackagingConfiguration) SetPackagingGroupId

func (s *PackagingConfiguration) SetPackagingGroupId(v string) *PackagingConfiguration

SetPackagingGroupId sets the PackagingGroupId field's value.

func (PackagingConfiguration) String

func (s PackagingConfiguration) String() string

String returns the string representation

type PackagingGroup

type PackagingGroup struct {

	// The ARN of the PackagingGroup.
	Arn *string `locationName:"arn" type:"string"`

	// The fully qualified domain name for Assets in the PackagingGroup.
	DomainName *string `locationName:"domainName" type:"string"`

	// The ID of the PackagingGroup.
	Id *string `locationName:"id" type:"string"`
	// contains filtered or unexported fields
}

A MediaPackage VOD PackagingGroup resource.

func (PackagingGroup) GoString

func (s PackagingGroup) GoString() string

GoString returns the string representation

func (*PackagingGroup) SetArn

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

SetArn sets the Arn field's value.

func (*PackagingGroup) SetDomainName

func (s *PackagingGroup) SetDomainName(v string) *PackagingGroup

SetDomainName sets the DomainName field's value.

func (*PackagingGroup) SetId

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

SetId sets the Id field's value.

func (PackagingGroup) String

func (s PackagingGroup) String() string

String returns the string representation

type ServiceUnavailableException

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

func (ServiceUnavailableException) Code

Code returns the exception type name.

func (ServiceUnavailableException) Error

func (ServiceUnavailableException) GoString

func (s ServiceUnavailableException) GoString() string

GoString returns the string representation

func (ServiceUnavailableException) Message

func (s ServiceUnavailableException) Message() string

Message returns the exception's message.

func (ServiceUnavailableException) OrigErr

func (s ServiceUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ServiceUnavailableException) RequestID

func (s ServiceUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ServiceUnavailableException) StatusCode

func (s ServiceUnavailableException) StatusCode() int

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

func (ServiceUnavailableException) String

String returns the string representation

type SpekeKeyProvider

type SpekeKeyProvider struct {

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

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

func (TooManyRequestsException) Code

Code returns the exception type name.

func (TooManyRequestsException) Error

func (s TooManyRequestsException) Error() string

func (TooManyRequestsException) GoString

func (s TooManyRequestsException) GoString() string

GoString returns the string representation

func (TooManyRequestsException) Message

func (s TooManyRequestsException) Message() string

Message returns the exception's message.

func (TooManyRequestsException) OrigErr

func (s TooManyRequestsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (TooManyRequestsException) RequestID

func (s TooManyRequestsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (TooManyRequestsException) StatusCode

func (s TooManyRequestsException) StatusCode() int

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

func (TooManyRequestsException) String

func (s TooManyRequestsException) String() string

String returns the string representation

type UnprocessableEntityException

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

func (UnprocessableEntityException) Code

Code returns the exception type name.

func (UnprocessableEntityException) Error

func (UnprocessableEntityException) GoString

func (s UnprocessableEntityException) GoString() string

GoString returns the string representation

func (UnprocessableEntityException) Message

Message returns the exception's message.

func (UnprocessableEntityException) OrigErr

func (s UnprocessableEntityException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (UnprocessableEntityException) RequestID

func (s UnprocessableEntityException) RequestID() string

RequestID returns the service's response RequestID for request.

func (UnprocessableEntityException) StatusCode

func (s UnprocessableEntityException) StatusCode() int

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

func (UnprocessableEntityException) String

String returns the string representation

Directories

Path Synopsis
Package mediapackagevodiface provides an interface to enable mocking the AWS Elemental MediaPackage VOD service client for testing your code.
Package mediapackagevodiface provides an interface to enable mocking the AWS Elemental MediaPackage VOD service client for testing your code.

Jump to

Keyboard shortcuts

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