mediapackagevod

package
v1.34.25 Latest Latest
Warning

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

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

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

func AdMarkers_Values added in v1.34.3

func AdMarkers_Values() []string

AdMarkers_Values returns all elements of the AdMarkers enum

func EncryptionMethod_Values added in v1.34.3

func EncryptionMethod_Values() []string

EncryptionMethod_Values returns all elements of the EncryptionMethod enum

func ManifestLayout_Values added in v1.34.3

func ManifestLayout_Values() []string

ManifestLayout_Values returns all elements of the ManifestLayout enum

func PeriodTriggersElement_Values added in v1.34.3

func PeriodTriggersElement_Values() []string

PeriodTriggersElement_Values returns all elements of the PeriodTriggersElement enum

func Profile_Values added in v1.34.3

func Profile_Values() []string

Profile_Values returns all elements of the Profile enum

func SegmentTemplateFormat_Values added in v1.34.3

func SegmentTemplateFormat_Values() []string

SegmentTemplateFormat_Values returns all elements of the SegmentTemplateFormat enum

func StreamOrder_Values added in v1.34.3

func StreamOrder_Values() []string

StreamOrder_Values returns all elements of the StreamOrder enum

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

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// 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 added in v1.25.41

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) SetTags added in v1.30.13

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

SetTags sets the Tags field's value.

func (AssetShallow) String

func (s AssetShallow) String() string

String returns the string representation

type Authorization added in v1.31.11

type Authorization struct {

	// The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that
	// is used for CDN authorization.
	//
	// CdnIdentifierSecret is a required field
	CdnIdentifierSecret *string `locationName:"cdnIdentifierSecret" type:"string" required:"true"`

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

CDN Authorization credentials

func (Authorization) GoString added in v1.31.11

func (s Authorization) GoString() string

GoString returns the string representation

func (*Authorization) SetCdnIdentifierSecret added in v1.31.11

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

SetCdnIdentifierSecret sets the CdnIdentifierSecret field's value.

func (*Authorization) SetSecretsRoleArn added in v1.31.11

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

SetSecretsRoleArn sets the SecretsRoleArn field's value.

func (Authorization) String added in v1.31.11

func (s Authorization) String() string

String returns the string representation

func (*Authorization) Validate added in v1.31.11

func (s *Authorization) Validate() error

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

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

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// 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) SetTags added in v1.30.13

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

SetTags sets the Tags 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"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// 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 added in v1.25.41

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) SetTags added in v1.30.13

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

SetTags sets the Tags 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"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// 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) SetTags added in v1.30.13

SetTags sets the Tags 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"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// 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) SetTags added in v1.30.13

SetTags sets the Tags field's value.

func (CreatePackagingConfigurationOutput) String

String returns the string representation

type CreatePackagingGroupInput

type CreatePackagingGroupInput struct {

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

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

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

func (CreatePackagingGroupInput) GoString

func (s CreatePackagingGroupInput) GoString() string

GoString returns the string representation

func (*CreatePackagingGroupInput) SetAuthorization added in v1.31.11

SetAuthorization sets the Authorization field's value.

func (*CreatePackagingGroupInput) SetId

SetId sets the Id field's value.

func (*CreatePackagingGroupInput) SetTags added in v1.30.13

SetTags sets the Tags 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"`

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

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

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

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

func (CreatePackagingGroupOutput) GoString

func (s CreatePackagingGroupOutput) GoString() string

GoString returns the string representation

func (*CreatePackagingGroupOutput) SetArn

SetArn sets the Arn field's value.

func (*CreatePackagingGroupOutput) SetAuthorization added in v1.31.11

SetAuthorization sets the Authorization field's value.

func (*CreatePackagingGroupOutput) SetDomainName added in v1.25.42

SetDomainName sets the DomainName field's value.

func (*CreatePackagingGroupOutput) SetId

SetId sets the Id field's value.

func (*CreatePackagingGroupOutput) SetTags added in v1.30.13

SetTags sets the Tags 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 added in v1.29.2

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 added in v1.29.2

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 added in v1.29.2

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

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// 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 added in v1.25.41

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) SetTags added in v1.30.13

SetTags sets the Tags 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"`

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// 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) SetTags added in v1.30.13

SetTags sets the Tags 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"`

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

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

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

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

func (DescribePackagingGroupOutput) GoString

func (s DescribePackagingGroupOutput) GoString() string

GoString returns the string representation

func (*DescribePackagingGroupOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribePackagingGroupOutput) SetAuthorization added in v1.31.11

SetAuthorization sets the Authorization field's value.

func (*DescribePackagingGroupOutput) SetDomainName added in v1.25.42

SetDomainName sets the DomainName field's value.

func (*DescribePackagingGroupOutput) SetId

SetId sets the Id field's value.

func (*DescribePackagingGroupOutput) SetTags added in v1.30.13

SetTags sets the Tags 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 added in v1.28.0

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

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

func (*ForbiddenException) Code added in v1.28.0

func (s *ForbiddenException) Code() string

Code returns the exception type name.

func (*ForbiddenException) Error added in v1.28.0

func (s *ForbiddenException) Error() string

func (ForbiddenException) GoString added in v1.28.0

func (s ForbiddenException) GoString() string

GoString returns the string representation

func (*ForbiddenException) Message added in v1.28.0

func (s *ForbiddenException) Message() string

Message returns the exception's message.

func (*ForbiddenException) OrigErr added in v1.28.0

func (s *ForbiddenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ForbiddenException) RequestID added in v1.28.0

func (s *ForbiddenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ForbiddenException) StatusCode added in v1.28.0

func (s *ForbiddenException) StatusCode() int

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

func (ForbiddenException) String added in v1.28.0

func (s ForbiddenException) String() string

String returns the string representation

type 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 added in v1.23.8

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 added in v1.28.0

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

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

func (*InternalServerErrorException) Code added in v1.28.0

Code returns the exception type name.

func (*InternalServerErrorException) Error added in v1.28.0

func (InternalServerErrorException) GoString added in v1.28.0

func (s InternalServerErrorException) GoString() string

GoString returns the string representation

func (*InternalServerErrorException) Message added in v1.28.0

func (s *InternalServerErrorException) Message() string

Message returns the exception's message.

func (*InternalServerErrorException) OrigErr added in v1.28.0

func (s *InternalServerErrorException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerErrorException) RequestID added in v1.28.0

func (s *InternalServerErrorException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerErrorException) StatusCode added in v1.28.0

func (s *InternalServerErrorException) StatusCode() int

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

func (InternalServerErrorException) String added in v1.28.0

String returns the string representation

type 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 ListTagsForResourceInput added in v1.30.13

type ListTagsForResourceInput struct {

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

func (ListTagsForResourceInput) GoString added in v1.30.13

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn added in v1.30.13

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String added in v1.30.13

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v1.30.13

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v1.30.13

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

func (ListTagsForResourceOutput) GoString added in v1.30.13

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags added in v1.30.13

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String added in v1.30.13

func (s ListTagsForResourceOutput) 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.

func (*MediaPackageVod) ListTagsForResource added in v1.30.13

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

ListTagsForResource API operation for AWS Elemental MediaPackage VOD.

Returns a list of the tags assigned to the specified 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 ListTagsForResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListTagsForResource

func (*MediaPackageVod) ListTagsForResourceRequest added in v1.30.13

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

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

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

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

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

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

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

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

func (*MediaPackageVod) ListTagsForResourceWithContext added in v1.30.13

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

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

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

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

func (*MediaPackageVod) TagResource added in v1.30.13

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

TagResource API operation for AWS Elemental MediaPackage VOD.

Adds tags to the specified resource. You can specify one or more tags to add.

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 TagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/TagResource

func (*MediaPackageVod) TagResourceRequest added in v1.30.13

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

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

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

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

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

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

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

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

func (*MediaPackageVod) TagResourceWithContext added in v1.30.13

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

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

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

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

func (*MediaPackageVod) UntagResource added in v1.30.13

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

UntagResource API operation for AWS Elemental MediaPackage VOD.

Removes tags from the specified resource. You can specify one or more tags to remove.

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 UntagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UntagResource

func (*MediaPackageVod) UntagResourceRequest added in v1.30.13

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

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

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

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

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

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

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

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

func (*MediaPackageVod) UntagResourceWithContext added in v1.30.13

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

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

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

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

func (*MediaPackageVod) UpdatePackagingGroup added in v1.31.11

func (c *MediaPackageVod) UpdatePackagingGroup(input *UpdatePackagingGroupInput) (*UpdatePackagingGroupOutput, error)

UpdatePackagingGroup API operation for AWS Elemental MediaPackage VOD.

Updates a specific packaging group. You can't change the id attribute or any other system-generated attributes.

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

func (*MediaPackageVod) UpdatePackagingGroupRequest added in v1.31.11

func (c *MediaPackageVod) UpdatePackagingGroupRequest(input *UpdatePackagingGroupInput) (req *request.Request, output *UpdatePackagingGroupOutput)

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

func (*MediaPackageVod) UpdatePackagingGroupWithContext added in v1.31.11

func (c *MediaPackageVod) UpdatePackagingGroupWithContext(ctx aws.Context, input *UpdatePackagingGroupInput, opts ...request.Option) (*UpdatePackagingGroupOutput, error)

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

See UpdatePackagingGroup 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 added in v1.28.0

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

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

func (*NotFoundException) Code added in v1.28.0

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error added in v1.28.0

func (s *NotFoundException) Error() string

func (NotFoundException) GoString added in v1.28.0

func (s NotFoundException) GoString() string

GoString returns the string representation

func (*NotFoundException) Message added in v1.28.0

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr added in v1.28.0

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID added in v1.28.0

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode added in v1.28.0

func (s *NotFoundException) StatusCode() int

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

func (NotFoundException) String added in v1.28.0

func (s NotFoundException) String() string

String returns the string representation

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

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// 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) SetTags added in v1.30.13

SetTags sets the Tags 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"`

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

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

	// A collection of tags associated with a resource
	Tags map[string]*string `locationName:"tags" type:"map"`
	// 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) SetAuthorization added in v1.31.11

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

SetAuthorization sets the Authorization field's value.

func (*PackagingGroup) SetDomainName added in v1.25.42

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) SetTags added in v1.30.13

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

SetTags sets the Tags field's value.

func (PackagingGroup) String

func (s PackagingGroup) String() string

String returns the string representation

type ServiceUnavailableException added in v1.28.0

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

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

func (*ServiceUnavailableException) Code added in v1.28.0

Code returns the exception type name.

func (*ServiceUnavailableException) Error added in v1.28.0

func (ServiceUnavailableException) GoString added in v1.28.0

func (s ServiceUnavailableException) GoString() string

GoString returns the string representation

func (*ServiceUnavailableException) Message added in v1.28.0

func (s *ServiceUnavailableException) Message() string

Message returns the exception's message.

func (*ServiceUnavailableException) OrigErr added in v1.28.0

func (s *ServiceUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceUnavailableException) RequestID added in v1.28.0

func (s *ServiceUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceUnavailableException) StatusCode added in v1.28.0

func (s *ServiceUnavailableException) StatusCode() int

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

func (ServiceUnavailableException) String added in v1.28.0

String returns the string representation

type SpekeKeyProvider

type SpekeKeyProvider struct {

	// An Amazon Resource Name (ARN) of 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 TagResourceInput added in v1.30.13

type TagResourceInput struct {

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

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

func (TagResourceInput) GoString added in v1.30.13

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn added in v1.30.13

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

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags added in v1.30.13

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

SetTags sets the Tags field's value.

func (TagResourceInput) String added in v1.30.13

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v1.30.13

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v1.30.13

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

func (TagResourceOutput) GoString added in v1.30.13

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String added in v1.30.13

func (s TagResourceOutput) String() string

String returns the string representation

type TooManyRequestsException added in v1.28.0

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

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

func (*TooManyRequestsException) Code added in v1.28.0

func (s *TooManyRequestsException) Code() string

Code returns the exception type name.

func (*TooManyRequestsException) Error added in v1.28.0

func (s *TooManyRequestsException) Error() string

func (TooManyRequestsException) GoString added in v1.28.0

func (s TooManyRequestsException) GoString() string

GoString returns the string representation

func (*TooManyRequestsException) Message added in v1.28.0

func (s *TooManyRequestsException) Message() string

Message returns the exception's message.

func (*TooManyRequestsException) OrigErr added in v1.28.0

func (s *TooManyRequestsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyRequestsException) RequestID added in v1.28.0

func (s *TooManyRequestsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyRequestsException) StatusCode added in v1.28.0

func (s *TooManyRequestsException) StatusCode() int

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

func (TooManyRequestsException) String added in v1.28.0

func (s TooManyRequestsException) String() string

String returns the string representation

type UnprocessableEntityException added in v1.28.0

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

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

func (*UnprocessableEntityException) Code added in v1.28.0

Code returns the exception type name.

func (*UnprocessableEntityException) Error added in v1.28.0

func (UnprocessableEntityException) GoString added in v1.28.0

func (s UnprocessableEntityException) GoString() string

GoString returns the string representation

func (*UnprocessableEntityException) Message added in v1.28.0

func (s *UnprocessableEntityException) Message() string

Message returns the exception's message.

func (*UnprocessableEntityException) OrigErr added in v1.28.0

func (s *UnprocessableEntityException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnprocessableEntityException) RequestID added in v1.28.0

func (s *UnprocessableEntityException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnprocessableEntityException) StatusCode added in v1.28.0

func (s *UnprocessableEntityException) StatusCode() int

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

func (UnprocessableEntityException) String added in v1.28.0

String returns the string representation

type UntagResourceInput added in v1.30.13

type UntagResourceInput struct {

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

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

func (UntagResourceInput) GoString added in v1.30.13

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn added in v1.30.13

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

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys added in v1.30.13

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

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String added in v1.30.13

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v1.30.13

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v1.30.13

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

func (UntagResourceOutput) GoString added in v1.30.13

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String added in v1.30.13

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdatePackagingGroupInput added in v1.31.11

type UpdatePackagingGroupInput struct {

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

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

func (UpdatePackagingGroupInput) GoString added in v1.31.11

func (s UpdatePackagingGroupInput) GoString() string

GoString returns the string representation

func (*UpdatePackagingGroupInput) SetAuthorization added in v1.31.11

SetAuthorization sets the Authorization field's value.

func (*UpdatePackagingGroupInput) SetId added in v1.31.11

SetId sets the Id field's value.

func (UpdatePackagingGroupInput) String added in v1.31.11

func (s UpdatePackagingGroupInput) String() string

String returns the string representation

func (*UpdatePackagingGroupInput) Validate added in v1.31.11

func (s *UpdatePackagingGroupInput) Validate() error

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

type UpdatePackagingGroupOutput added in v1.31.11

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

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

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

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

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

func (UpdatePackagingGroupOutput) GoString added in v1.31.11

func (s UpdatePackagingGroupOutput) GoString() string

GoString returns the string representation

func (*UpdatePackagingGroupOutput) SetArn added in v1.31.11

SetArn sets the Arn field's value.

func (*UpdatePackagingGroupOutput) SetAuthorization added in v1.31.11

SetAuthorization sets the Authorization field's value.

func (*UpdatePackagingGroupOutput) SetDomainName added in v1.31.11

SetDomainName sets the DomainName field's value.

func (*UpdatePackagingGroupOutput) SetId added in v1.31.11

SetId sets the Id field's value.

func (*UpdatePackagingGroupOutput) SetTags added in v1.31.11

SetTags sets the Tags field's value.

func (UpdatePackagingGroupOutput) String added in v1.31.11

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