mediapackagevod

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 7 Imported by: 10

Documentation

Overview

Package mediapackagevod provides the client and types for making API requests to 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 use 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 MediaPackage Vod client 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 (
	ServiceName = "MediaPackage Vod" // Service's name
	ServiceID   = "MediaPackageVod"  // Service's identifier
	EndpointsID = "mediapackage-vod" // Service's Endpoint identifier
)
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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdMarkers

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

Enum values for AdMarkers

func (AdMarkers) MarshalValue

func (enum AdMarkers) MarshalValue() (string, error)

func (AdMarkers) MarshalValueBuf

func (enum AdMarkers) MarshalValueBuf(b []byte) ([]byte, error)

type AssetShallow

type AssetShallow struct {

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

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

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

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

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

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

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

A MediaPackage VOD Asset resource.

func (AssetShallow) MarshalFields

func (s AssetShallow) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AssetShallow) String

func (s AssetShallow) String() string

String returns the string representation

type Client

type Client struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := mediapackagevod.New(myConfig)

func (*Client) CreateAssetRequest

func (c *Client) CreateAssetRequest(input *CreateAssetInput) CreateAssetRequest

CreateAssetRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Creates a new MediaPackage VOD Asset resource.

// Example sending a request using CreateAssetRequest.
req := client.CreateAssetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreatePackagingConfigurationRequest

func (c *Client) CreatePackagingConfigurationRequest(input *CreatePackagingConfigurationInput) CreatePackagingConfigurationRequest

CreatePackagingConfigurationRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Creates a new MediaPackage VOD PackagingConfiguration resource.

// Example sending a request using CreatePackagingConfigurationRequest.
req := client.CreatePackagingConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreatePackagingGroupRequest

func (c *Client) CreatePackagingGroupRequest(input *CreatePackagingGroupInput) CreatePackagingGroupRequest

CreatePackagingGroupRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Creates a new MediaPackage VOD PackagingGroup resource.

// Example sending a request using CreatePackagingGroupRequest.
req := client.CreatePackagingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteAssetRequest

func (c *Client) DeleteAssetRequest(input *DeleteAssetInput) DeleteAssetRequest

DeleteAssetRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Deletes an existing MediaPackage VOD Asset resource.

// Example sending a request using DeleteAssetRequest.
req := client.DeleteAssetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeletePackagingConfigurationRequest

func (c *Client) DeletePackagingConfigurationRequest(input *DeletePackagingConfigurationInput) DeletePackagingConfigurationRequest

DeletePackagingConfigurationRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Deletes a MediaPackage VOD PackagingConfiguration resource.

// Example sending a request using DeletePackagingConfigurationRequest.
req := client.DeletePackagingConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeletePackagingGroupRequest

func (c *Client) DeletePackagingGroupRequest(input *DeletePackagingGroupInput) DeletePackagingGroupRequest

DeletePackagingGroupRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Deletes a MediaPackage VOD PackagingGroup resource.

// Example sending a request using DeletePackagingGroupRequest.
req := client.DeletePackagingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DescribeAssetRequest

func (c *Client) DescribeAssetRequest(input *DescribeAssetInput) DescribeAssetRequest

DescribeAssetRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Returns a description of a MediaPackage VOD Asset resource.

// Example sending a request using DescribeAssetRequest.
req := client.DescribeAssetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DescribePackagingConfigurationRequest

func (c *Client) DescribePackagingConfigurationRequest(input *DescribePackagingConfigurationInput) DescribePackagingConfigurationRequest

DescribePackagingConfigurationRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Returns a description of a MediaPackage VOD PackagingConfiguration resource.

// Example sending a request using DescribePackagingConfigurationRequest.
req := client.DescribePackagingConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DescribePackagingGroupRequest

func (c *Client) DescribePackagingGroupRequest(input *DescribePackagingGroupInput) DescribePackagingGroupRequest

DescribePackagingGroupRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Returns a description of a MediaPackage VOD PackagingGroup resource.

// Example sending a request using DescribePackagingGroupRequest.
req := client.DescribePackagingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListAssetsRequest

func (c *Client) ListAssetsRequest(input *ListAssetsInput) ListAssetsRequest

ListAssetsRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Returns a collection of MediaPackage VOD Asset resources.

// Example sending a request using ListAssetsRequest.
req := client.ListAssetsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListPackagingConfigurationsRequest

func (c *Client) ListPackagingConfigurationsRequest(input *ListPackagingConfigurationsInput) ListPackagingConfigurationsRequest

ListPackagingConfigurationsRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Returns a collection of MediaPackage VOD PackagingConfiguration resources.

// Example sending a request using ListPackagingConfigurationsRequest.
req := client.ListPackagingConfigurationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListPackagingGroupsRequest

func (c *Client) ListPackagingGroupsRequest(input *ListPackagingGroupsInput) ListPackagingGroupsRequest

ListPackagingGroupsRequest returns a request value for making API operation for AWS Elemental MediaPackage VOD.

Returns a collection of MediaPackage VOD PackagingGroup resources.

// Example sending a request using ListPackagingGroupsRequest.
req := client.ListPackagingGroupsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

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

func (s CmafEncryption) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s CmafPackage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CmafPackage) String

func (s CmafPackage) String() string

String returns the string representation

func (*CmafPackage) Validate

func (s *CmafPackage) Validate() error

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

type CreateAssetInput

type CreateAssetInput struct {

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

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

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

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

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

func (CreateAssetInput) MarshalFields

func (s CreateAssetInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateAssetInput) String

func (s CreateAssetInput) String() string

String returns the string representation

func (*CreateAssetInput) Validate

func (s *CreateAssetInput) Validate() error

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

type CreateAssetOutput

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

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

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

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

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

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

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

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

func (CreateAssetOutput) MarshalFields

func (s CreateAssetOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateAssetOutput) String

func (s CreateAssetOutput) String() string

String returns the string representation

type CreateAssetRequest

type CreateAssetRequest struct {
	*aws.Request
	Input *CreateAssetInput
	Copy  func(*CreateAssetInput) CreateAssetRequest
}

CreateAssetRequest is the request type for the CreateAsset API operation.

func (CreateAssetRequest) Send

Send marshals and sends the CreateAsset API request.

type CreateAssetResponse

type CreateAssetResponse struct {
	*CreateAssetOutput
	// contains filtered or unexported fields
}

CreateAssetResponse is the response type for the CreateAsset API operation.

func (*CreateAssetResponse) SDKResponseMetdata

func (r *CreateAssetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateAsset request.

type CreatePackagingConfigurationInput

type CreatePackagingConfigurationInput struct {

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

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

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

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

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

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

func (CreatePackagingConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreatePackagingConfigurationInput) String

String returns the string representation

func (*CreatePackagingConfigurationInput) Validate

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

type CreatePackagingConfigurationOutput

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

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

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

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

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

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

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

func (CreatePackagingConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreatePackagingConfigurationOutput) String

String returns the string representation

type CreatePackagingConfigurationRequest

type CreatePackagingConfigurationRequest struct {
	*aws.Request
	Input *CreatePackagingConfigurationInput
	Copy  func(*CreatePackagingConfigurationInput) CreatePackagingConfigurationRequest
}

CreatePackagingConfigurationRequest is the request type for the CreatePackagingConfiguration API operation.

func (CreatePackagingConfigurationRequest) Send

Send marshals and sends the CreatePackagingConfiguration API request.

type CreatePackagingConfigurationResponse

type CreatePackagingConfigurationResponse struct {
	*CreatePackagingConfigurationOutput
	// contains filtered or unexported fields
}

CreatePackagingConfigurationResponse is the response type for the CreatePackagingConfiguration API operation.

func (*CreatePackagingConfigurationResponse) SDKResponseMetdata

func (r *CreatePackagingConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreatePackagingConfiguration request.

type CreatePackagingGroupInput

type CreatePackagingGroupInput struct {

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

func (CreatePackagingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreatePackagingGroupInput) String

func (s CreatePackagingGroupInput) String() string

String returns the string representation

func (*CreatePackagingGroupInput) Validate

func (s *CreatePackagingGroupInput) Validate() error

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

type CreatePackagingGroupOutput

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

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

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

func (CreatePackagingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreatePackagingGroupOutput) String

String returns the string representation

type CreatePackagingGroupRequest

type CreatePackagingGroupRequest struct {
	*aws.Request
	Input *CreatePackagingGroupInput
	Copy  func(*CreatePackagingGroupInput) CreatePackagingGroupRequest
}

CreatePackagingGroupRequest is the request type for the CreatePackagingGroup API operation.

func (CreatePackagingGroupRequest) Send

Send marshals and sends the CreatePackagingGroup API request.

type CreatePackagingGroupResponse

type CreatePackagingGroupResponse struct {
	*CreatePackagingGroupOutput
	// contains filtered or unexported fields
}

CreatePackagingGroupResponse is the response type for the CreatePackagingGroup API operation.

func (*CreatePackagingGroupResponse) SDKResponseMetdata

func (r *CreatePackagingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreatePackagingGroup request.

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

func (s DashEncryption) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

	// 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 Profile `locationName:"profile" type:"string" enum:"true"`

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

A DASH manifest configuration.

func (DashManifest) MarshalFields

func (s DashManifest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 []PeriodTriggersElement `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 SegmentTemplateFormat `locationName:"segmentTemplateFormat" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (DashPackage) MarshalFields

func (s DashPackage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s DeleteAssetInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s DeleteAssetOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAssetOutput) String

func (s DeleteAssetOutput) String() string

String returns the string representation

type DeleteAssetRequest

type DeleteAssetRequest struct {
	*aws.Request
	Input *DeleteAssetInput
	Copy  func(*DeleteAssetInput) DeleteAssetRequest
}

DeleteAssetRequest is the request type for the DeleteAsset API operation.

func (DeleteAssetRequest) Send

Send marshals and sends the DeleteAsset API request.

type DeleteAssetResponse

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

DeleteAssetResponse is the response type for the DeleteAsset API operation.

func (*DeleteAssetResponse) SDKResponseMetdata

func (r *DeleteAssetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteAsset request.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeletePackagingConfigurationOutput) String

String returns the string representation

type DeletePackagingConfigurationRequest

type DeletePackagingConfigurationRequest struct {
	*aws.Request
	Input *DeletePackagingConfigurationInput
	Copy  func(*DeletePackagingConfigurationInput) DeletePackagingConfigurationRequest
}

DeletePackagingConfigurationRequest is the request type for the DeletePackagingConfiguration API operation.

func (DeletePackagingConfigurationRequest) Send

Send marshals and sends the DeletePackagingConfiguration API request.

type DeletePackagingConfigurationResponse

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

DeletePackagingConfigurationResponse is the response type for the DeletePackagingConfiguration API operation.

func (*DeletePackagingConfigurationResponse) SDKResponseMetdata

func (r *DeletePackagingConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeletePackagingConfiguration request.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeletePackagingGroupOutput) String

String returns the string representation

type DeletePackagingGroupRequest

type DeletePackagingGroupRequest struct {
	*aws.Request
	Input *DeletePackagingGroupInput
	Copy  func(*DeletePackagingGroupInput) DeletePackagingGroupRequest
}

DeletePackagingGroupRequest is the request type for the DeletePackagingGroup API operation.

func (DeletePackagingGroupRequest) Send

Send marshals and sends the DeletePackagingGroup API request.

type DeletePackagingGroupResponse

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

DeletePackagingGroupResponse is the response type for the DeletePackagingGroup API operation.

func (*DeletePackagingGroupResponse) SDKResponseMetdata

func (r *DeletePackagingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeletePackagingGroup request.

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

func (s DescribeAssetInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAssetInput) String

func (s DescribeAssetInput) String() string

String returns the string representation

func (*DescribeAssetInput) Validate

func (s *DescribeAssetInput) Validate() error

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

type DescribeAssetOutput

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

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

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

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

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

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

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

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

func (DescribeAssetOutput) MarshalFields

func (s DescribeAssetOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAssetOutput) String

func (s DescribeAssetOutput) String() string

String returns the string representation

type DescribeAssetRequest

type DescribeAssetRequest struct {
	*aws.Request
	Input *DescribeAssetInput
	Copy  func(*DescribeAssetInput) DescribeAssetRequest
}

DescribeAssetRequest is the request type for the DescribeAsset API operation.

func (DescribeAssetRequest) Send

Send marshals and sends the DescribeAsset API request.

type DescribeAssetResponse

type DescribeAssetResponse struct {
	*DescribeAssetOutput
	// contains filtered or unexported fields
}

DescribeAssetResponse is the response type for the DescribeAsset API operation.

func (*DescribeAssetResponse) SDKResponseMetdata

func (r *DescribeAssetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAsset request.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribePackagingConfigurationInput) String

String returns the string representation

func (*DescribePackagingConfigurationInput) Validate

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

type DescribePackagingConfigurationOutput

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

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

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

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

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

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

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

func (DescribePackagingConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribePackagingConfigurationOutput) String

String returns the string representation

type DescribePackagingConfigurationRequest

type DescribePackagingConfigurationRequest struct {
	*aws.Request
	Input *DescribePackagingConfigurationInput
	Copy  func(*DescribePackagingConfigurationInput) DescribePackagingConfigurationRequest
}

DescribePackagingConfigurationRequest is the request type for the DescribePackagingConfiguration API operation.

func (DescribePackagingConfigurationRequest) Send

Send marshals and sends the DescribePackagingConfiguration API request.

type DescribePackagingConfigurationResponse

type DescribePackagingConfigurationResponse struct {
	*DescribePackagingConfigurationOutput
	// contains filtered or unexported fields
}

DescribePackagingConfigurationResponse is the response type for the DescribePackagingConfiguration API operation.

func (*DescribePackagingConfigurationResponse) SDKResponseMetdata

func (r *DescribePackagingConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribePackagingConfiguration request.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribePackagingGroupInput) String

String returns the string representation

func (*DescribePackagingGroupInput) Validate

func (s *DescribePackagingGroupInput) Validate() error

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

type DescribePackagingGroupOutput

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

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

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

func (DescribePackagingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribePackagingGroupOutput) String

String returns the string representation

type DescribePackagingGroupRequest

type DescribePackagingGroupRequest struct {
	*aws.Request
	Input *DescribePackagingGroupInput
	Copy  func(*DescribePackagingGroupInput) DescribePackagingGroupRequest
}

DescribePackagingGroupRequest is the request type for the DescribePackagingGroup API operation.

func (DescribePackagingGroupRequest) Send

Send marshals and sends the DescribePackagingGroup API request.

type DescribePackagingGroupResponse

type DescribePackagingGroupResponse struct {
	*DescribePackagingGroupOutput
	// contains filtered or unexported fields
}

DescribePackagingGroupResponse is the response type for the DescribePackagingGroup API operation.

func (*DescribePackagingGroupResponse) SDKResponseMetdata

func (r *DescribePackagingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribePackagingGroup request.

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

func (s EgressEndpoint) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EgressEndpoint) String

func (s EgressEndpoint) String() string

String returns the string representation

type EncryptionMethod

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

Enum values for EncryptionMethod

func (EncryptionMethod) MarshalValue

func (enum EncryptionMethod) MarshalValue() (string, error)

func (EncryptionMethod) MarshalValueBuf

func (enum EncryptionMethod) MarshalValueBuf(b []byte) ([]byte, error)

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 EncryptionMethod `locationName:"encryptionMethod" type:"string" enum:"true"`

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

func (s HlsEncryption) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 AdMarkers `locationName:"adMarkers" type:"string" enum:"true"`

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

func (s HlsManifest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s HlsPackage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s ListAssetsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s ListAssetsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAssetsOutput) String

func (s ListAssetsOutput) String() string

String returns the string representation

type ListAssetsPaginator

type ListAssetsPaginator struct {
	aws.Pager
}

ListAssetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListAssetsPaginator

func NewListAssetsPaginator(req ListAssetsRequest) ListAssetsPaginator

NewListAssetsRequestPaginator returns a paginator for ListAssets. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListAssetsRequest(input)
p := mediapackagevod.NewListAssetsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListAssetsPaginator) CurrentPage

func (p *ListAssetsPaginator) CurrentPage() *ListAssetsOutput

type ListAssetsRequest

type ListAssetsRequest struct {
	*aws.Request
	Input *ListAssetsInput
	Copy  func(*ListAssetsInput) ListAssetsRequest
}

ListAssetsRequest is the request type for the ListAssets API operation.

func (ListAssetsRequest) Send

Send marshals and sends the ListAssets API request.

type ListAssetsResponse

type ListAssetsResponse struct {
	*ListAssetsOutput
	// contains filtered or unexported fields
}

ListAssetsResponse is the response type for the ListAssets API operation.

func (*ListAssetsResponse) SDKResponseMetdata

func (r *ListAssetsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListAssets request.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPackagingConfigurationsOutput) String

String returns the string representation

type ListPackagingConfigurationsPaginator

type ListPackagingConfigurationsPaginator struct {
	aws.Pager
}

ListPackagingConfigurationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListPackagingConfigurationsPaginator

func NewListPackagingConfigurationsPaginator(req ListPackagingConfigurationsRequest) ListPackagingConfigurationsPaginator

NewListPackagingConfigurationsRequestPaginator returns a paginator for ListPackagingConfigurations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListPackagingConfigurationsRequest(input)
p := mediapackagevod.NewListPackagingConfigurationsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListPackagingConfigurationsPaginator) CurrentPage

type ListPackagingConfigurationsRequest

type ListPackagingConfigurationsRequest struct {
	*aws.Request
	Input *ListPackagingConfigurationsInput
	Copy  func(*ListPackagingConfigurationsInput) ListPackagingConfigurationsRequest
}

ListPackagingConfigurationsRequest is the request type for the ListPackagingConfigurations API operation.

func (ListPackagingConfigurationsRequest) Send

Send marshals and sends the ListPackagingConfigurations API request.

type ListPackagingConfigurationsResponse

type ListPackagingConfigurationsResponse struct {
	*ListPackagingConfigurationsOutput
	// contains filtered or unexported fields
}

ListPackagingConfigurationsResponse is the response type for the ListPackagingConfigurations API operation.

func (*ListPackagingConfigurationsResponse) SDKResponseMetdata

func (r *ListPackagingConfigurationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListPackagingConfigurations request.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPackagingGroupsOutput) String

func (s ListPackagingGroupsOutput) String() string

String returns the string representation

type ListPackagingGroupsPaginator

type ListPackagingGroupsPaginator struct {
	aws.Pager
}

ListPackagingGroupsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListPackagingGroupsPaginator

func NewListPackagingGroupsPaginator(req ListPackagingGroupsRequest) ListPackagingGroupsPaginator

NewListPackagingGroupsRequestPaginator returns a paginator for ListPackagingGroups. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListPackagingGroupsRequest(input)
p := mediapackagevod.NewListPackagingGroupsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListPackagingGroupsPaginator) CurrentPage

type ListPackagingGroupsRequest

type ListPackagingGroupsRequest struct {
	*aws.Request
	Input *ListPackagingGroupsInput
	Copy  func(*ListPackagingGroupsInput) ListPackagingGroupsRequest
}

ListPackagingGroupsRequest is the request type for the ListPackagingGroups API operation.

func (ListPackagingGroupsRequest) Send

Send marshals and sends the ListPackagingGroups API request.

type ListPackagingGroupsResponse

type ListPackagingGroupsResponse struct {
	*ListPackagingGroupsOutput
	// contains filtered or unexported fields
}

ListPackagingGroupsResponse is the response type for the ListPackagingGroups API operation.

func (*ListPackagingGroupsResponse) SDKResponseMetdata

func (r *ListPackagingGroupsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListPackagingGroups request.

type ManifestLayout added in v0.20.0

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

Enum values for ManifestLayout

func (ManifestLayout) MarshalValue added in v0.20.0

func (enum ManifestLayout) MarshalValue() (string, error)

func (ManifestLayout) MarshalValueBuf added in v0.20.0

func (enum ManifestLayout) MarshalValueBuf(b []byte) ([]byte, error)

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

func (s MssEncryption) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s MssManifest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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

func (s MssPackage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 PackagingConfiguration

type PackagingConfiguration struct {

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

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

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

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

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

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

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

A MediaPackage VOD PackagingConfiguration resource.

func (PackagingConfiguration) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PackagingConfiguration) String

func (s PackagingConfiguration) String() string

String returns the string representation

type PackagingGroup

type PackagingGroup struct {

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

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

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

A MediaPackage VOD PackagingGroup resource.

func (PackagingGroup) MarshalFields

func (s PackagingGroup) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PackagingGroup) String

func (s PackagingGroup) String() string

String returns the string representation

type PeriodTriggersElement added in v0.20.0

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

Enum values for PeriodTriggersElement

func (PeriodTriggersElement) MarshalValue added in v0.20.0

func (enum PeriodTriggersElement) MarshalValue() (string, error)

func (PeriodTriggersElement) MarshalValueBuf added in v0.20.0

func (enum PeriodTriggersElement) MarshalValueBuf(b []byte) ([]byte, error)

type Profile

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

Enum values for Profile

func (Profile) MarshalValue

func (enum Profile) MarshalValue() (string, error)

func (Profile) MarshalValueBuf

func (enum Profile) MarshalValueBuf(b []byte) ([]byte, error)

type SegmentTemplateFormat added in v0.20.0

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

Enum values for SegmentTemplateFormat

func (SegmentTemplateFormat) MarshalValue added in v0.20.0

func (enum SegmentTemplateFormat) MarshalValue() (string, error)

func (SegmentTemplateFormat) MarshalValueBuf added in v0.20.0

func (enum SegmentTemplateFormat) MarshalValueBuf(b []byte) ([]byte, error)

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

func (s SpekeKeyProvider) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 StreamOrder

type StreamOrder string
const (
	StreamOrderOriginal               StreamOrder = "ORIGINAL"
	StreamOrderVideoBitrateAscending  StreamOrder = "VIDEO_BITRATE_ASCENDING"
	StreamOrderVideoBitrateDescending StreamOrder = "VIDEO_BITRATE_DESCENDING"
)

Enum values for StreamOrder

func (StreamOrder) MarshalValue

func (enum StreamOrder) MarshalValue() (string, error)

func (StreamOrder) MarshalValueBuf

func (enum StreamOrder) MarshalValueBuf(b []byte) ([]byte, error)

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 StreamOrder `locationName:"streamOrder" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

A StreamSelection configuration.

func (StreamSelection) MarshalFields

func (s StreamSelection) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StreamSelection) String

func (s StreamSelection) String() string

String returns the string representation

Directories

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

Jump to

Keyboard shortcuts

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