mediapackagevod

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 6 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 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/AssetShallow

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CmafEncryption

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CmafPackage

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
}

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

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

	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
}

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

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
}

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

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
}

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

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
}

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

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

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

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DashEncryption

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 {

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DashManifest

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

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

A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DashPackage

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
}

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

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
}

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

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
}

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

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
}

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

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
}

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

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
}

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

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
}

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

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

	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
}

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

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
}

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

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
}

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

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
}

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

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

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

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

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/EgressEndpoint

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 {

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/HlsEncryption

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/HlsManifest

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/HlsPackage

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
}

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

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
}

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

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
}

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

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
}

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

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
}

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

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
}

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

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 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/MssEncryption

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/MssManifest

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/MssPackage

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/PackagingConfiguration

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 ID of the PackagingGroup.
	Id *string `locationName:"id" type:"string"`
	// contains filtered or unexported fields
}

A MediaPackage VOD PackagingGroup resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/PackagingGroup

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 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 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/SpekeKeyProvider

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/StreamSelection

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