mediapackagevod – github.com/aws/aws-sdk-go-v2/service/mediapackagevod Index | Files | Directories

package mediapackagevod

import "github.com/aws/aws-sdk-go-v2/service/mediapackagevod"

Index

Constants

const ServiceAPIVersion = "2018-11-07"
const ServiceID = "MediaPackage Vod"

Functions

func AddResolveEndpointMiddleware

func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func RemoveResolveEndpointMiddleware

func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error

Types

type Client

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

AWS Elemental MediaPackage VOD

func New

func New(options Options, optFns ...func(*Options)) *Client

New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

func NewFromConfig

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) CreateAsset

func (c *Client) CreateAsset(ctx context.Context, params *CreateAssetInput, optFns ...func(*Options)) (*CreateAssetOutput, error)

Creates a new MediaPackage VOD Asset resource.

func (*Client) CreatePackagingConfiguration

func (c *Client) CreatePackagingConfiguration(ctx context.Context, params *CreatePackagingConfigurationInput, optFns ...func(*Options)) (*CreatePackagingConfigurationOutput, error)

Creates a new MediaPackage VOD PackagingConfiguration resource.

func (*Client) CreatePackagingGroup

func (c *Client) CreatePackagingGroup(ctx context.Context, params *CreatePackagingGroupInput, optFns ...func(*Options)) (*CreatePackagingGroupOutput, error)

Creates a new MediaPackage VOD PackagingGroup resource.

func (*Client) DeleteAsset

func (c *Client) DeleteAsset(ctx context.Context, params *DeleteAssetInput, optFns ...func(*Options)) (*DeleteAssetOutput, error)

Deletes an existing MediaPackage VOD Asset resource.

func (*Client) DeletePackagingConfiguration

func (c *Client) DeletePackagingConfiguration(ctx context.Context, params *DeletePackagingConfigurationInput, optFns ...func(*Options)) (*DeletePackagingConfigurationOutput, error)

Deletes a MediaPackage VOD PackagingConfiguration resource.

func (*Client) DeletePackagingGroup

func (c *Client) DeletePackagingGroup(ctx context.Context, params *DeletePackagingGroupInput, optFns ...func(*Options)) (*DeletePackagingGroupOutput, error)

Deletes a MediaPackage VOD PackagingGroup resource.

func (*Client) DescribeAsset

func (c *Client) DescribeAsset(ctx context.Context, params *DescribeAssetInput, optFns ...func(*Options)) (*DescribeAssetOutput, error)

Returns a description of a MediaPackage VOD Asset resource.

func (*Client) DescribePackagingConfiguration

func (c *Client) DescribePackagingConfiguration(ctx context.Context, params *DescribePackagingConfigurationInput, optFns ...func(*Options)) (*DescribePackagingConfigurationOutput, error)

Returns a description of a MediaPackage VOD PackagingConfiguration resource.

func (*Client) DescribePackagingGroup

func (c *Client) DescribePackagingGroup(ctx context.Context, params *DescribePackagingGroupInput, optFns ...func(*Options)) (*DescribePackagingGroupOutput, error)

Returns a description of a MediaPackage VOD PackagingGroup resource.

func (*Client) ListAssets

func (c *Client) ListAssets(ctx context.Context, params *ListAssetsInput, optFns ...func(*Options)) (*ListAssetsOutput, error)

Returns a collection of MediaPackage VOD Asset resources.

func (*Client) ListPackagingConfigurations

func (c *Client) ListPackagingConfigurations(ctx context.Context, params *ListPackagingConfigurationsInput, optFns ...func(*Options)) (*ListPackagingConfigurationsOutput, error)

Returns a collection of MediaPackage VOD PackagingConfiguration resources.

func (*Client) ListPackagingGroups

func (c *Client) ListPackagingGroups(ctx context.Context, params *ListPackagingGroupsInput, optFns ...func(*Options)) (*ListPackagingGroupsOutput, error)

Returns a collection of MediaPackage VOD PackagingGroup resources.

func (*Client) ListTagsForResource

func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

Returns a list of the tags assigned to the specified resource.

func (*Client) TagResource

func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)

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

func (*Client) UntagResource

func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)

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

func (*Client) UpdatePackagingGroup

func (c *Client) UpdatePackagingGroup(ctx context.Context, params *UpdatePackagingGroupInput, optFns ...func(*Options)) (*UpdatePackagingGroupOutput, error)

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

type CreateAssetInput

type CreateAssetInput struct {
	// A collection of tags associated with a resource
	Tags map[string]*string
	// The resource ID to include in SPEKE key requests.
	ResourceId *string
	// ARN of the source object in S3.
	SourceArn *string
	// The ID of the PackagingGroup for the Asset.
	PackagingGroupId *string
	// The IAM role ARN used to access the source S3 bucket.
	SourceRoleArn *string
	// The unique identifier for the Asset.
	Id *string
}

A new MediaPackage VOD Asset configuration.

type CreateAssetOutput

type CreateAssetOutput struct {
	// The time the Asset was initially submitted for Ingest.
	CreatedAt *string
	// ARN of the source object in S3.
	SourceArn *string
	// The unique identifier for the Asset.
	Id *string
	// The ID of the PackagingGroup for the Asset.
	PackagingGroupId *string
	// The resource ID to include in SPEKE key requests.
	ResourceId *string
	// A collection of tags associated with a resource
	Tags map[string]*string
	// The list of egress endpoints available for the Asset.
	EgressEndpoints []*types.EgressEndpoint
	// The IAM role_arn used to access the source S3 bucket.
	SourceRoleArn *string
	// The ARN of the Asset.
	Arn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreatePackagingConfigurationInput

type CreatePackagingConfigurationInput struct {
	// A collection of tags associated with a resource
	Tags map[string]*string
	// A CMAF packaging configuration.
	CmafPackage *types.CmafPackage
	// The ID of the PackagingConfiguration.
	Id *string
	// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
	DashPackage *types.DashPackage
	// The ID of a PackagingGroup.
	PackagingGroupId *string
	// An HTTP Live Streaming (HLS) packaging configuration.
	HlsPackage *types.HlsPackage
	// A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
	MssPackage *types.MssPackage
}

A new MediaPackage VOD PackagingConfiguration resource configuration.

type CreatePackagingConfigurationOutput

type CreatePackagingConfigurationOutput struct {
	// A CMAF packaging configuration.
	CmafPackage *types.CmafPackage
	// An HTTP Live Streaming (HLS) packaging configuration.
	HlsPackage *types.HlsPackage
	// A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
	MssPackage *types.MssPackage
	// The ID of a PackagingGroup.
	PackagingGroupId *string
	// The ID of the PackagingConfiguration.
	Id *string
	// A collection of tags associated with a resource
	Tags map[string]*string
	// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
	DashPackage *types.DashPackage
	// The ARN of the PackagingConfiguration.
	Arn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreatePackagingGroupInput

type CreatePackagingGroupInput struct {
	// The ID of the PackagingGroup.
	Id *string
	// CDN Authorization credentials
	Authorization *types.Authorization
	// A collection of tags associated with a resource
	Tags map[string]*string
}

A new MediaPackage VOD PackagingGroup resource configuration.

type CreatePackagingGroupOutput

type CreatePackagingGroupOutput struct {
	// CDN Authorization credentials
	Authorization *types.Authorization
	// A collection of tags associated with a resource
	Tags map[string]*string
	// The fully qualified domain name for Assets in the PackagingGroup.
	DomainName *string
	// The ARN of the PackagingGroup.
	Arn *string
	// The ID of the PackagingGroup.
	Id *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteAssetInput

type DeleteAssetInput struct {
	// The ID of the MediaPackage VOD Asset resource to delete.
	Id *string
}

type DeleteAssetOutput

type DeleteAssetOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeletePackagingConfigurationInput

type DeletePackagingConfigurationInput struct {
	// The ID of the MediaPackage VOD PackagingConfiguration resource to delete.
	Id *string
}

type DeletePackagingConfigurationOutput

type DeletePackagingConfigurationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeletePackagingGroupInput

type DeletePackagingGroupInput struct {
	// The ID of the MediaPackage VOD PackagingGroup resource to delete.
	Id *string
}

type DeletePackagingGroupOutput

type DeletePackagingGroupOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeAssetInput

type DescribeAssetInput struct {
	// The ID of an MediaPackage VOD Asset resource.
	Id *string
}

type DescribeAssetOutput

type DescribeAssetOutput struct {
	// The IAM role_arn used to access the source S3 bucket.
	SourceRoleArn *string
	// The unique identifier for the Asset.
	Id *string
	// The resource ID to include in SPEKE key requests.
	ResourceId *string
	// The time the Asset was initially submitted for Ingest.
	CreatedAt *string
	// ARN of the source object in S3.
	SourceArn *string
	// The ID of the PackagingGroup for the Asset.
	PackagingGroupId *string
	// The ARN of the Asset.
	Arn *string
	// A collection of tags associated with a resource
	Tags map[string]*string
	// The list of egress endpoints available for the Asset.
	EgressEndpoints []*types.EgressEndpoint

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribePackagingConfigurationInput

type DescribePackagingConfigurationInput struct {
	// The ID of a MediaPackage VOD PackagingConfiguration resource.
	Id *string
}

type DescribePackagingConfigurationOutput

type DescribePackagingConfigurationOutput struct {
	// An HTTP Live Streaming (HLS) packaging configuration.
	HlsPackage *types.HlsPackage
	// The ID of the PackagingConfiguration.
	Id *string
	// A collection of tags associated with a resource
	Tags map[string]*string
	// A CMAF packaging configuration.
	CmafPackage *types.CmafPackage
	// A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
	MssPackage *types.MssPackage
	// The ID of a PackagingGroup.
	PackagingGroupId *string
	// The ARN of the PackagingConfiguration.
	Arn *string
	// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
	DashPackage *types.DashPackage

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribePackagingGroupInput

type DescribePackagingGroupInput struct {
	// The ID of a MediaPackage VOD PackagingGroup resource.
	Id *string
}

type DescribePackagingGroupOutput

type DescribePackagingGroupOutput struct {
	// CDN Authorization credentials
	Authorization *types.Authorization
	// A collection of tags associated with a resource
	Tags map[string]*string
	// The fully qualified domain name for Assets in the PackagingGroup.
	DomainName *string
	// The ARN of the PackagingGroup.
	Arn *string
	// The ID of the PackagingGroup.
	Id *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type EndpointResolver

type EndpointResolver interface {
	ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func WithEndpointResolver

func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver

WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)

EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

func (EndpointResolverFunc) ResolveEndpoint

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time) error
}

type ListAssetsInput

type ListAssetsInput struct {
	// A token used to resume pagination from the end of a previous request.
	NextToken *string
	// Upper bound on number of records to return.
	MaxResults *int32
	// Returns Assets associated with the specified PackagingGroup.
	PackagingGroupId *string
}

type ListAssetsOutput

type ListAssetsOutput struct {
	// A list of MediaPackage VOD Asset resources.
	Assets []*types.AssetShallow
	// A token that can be used to resume pagination from the end of the collection.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListPackagingConfigurationsInput

type ListPackagingConfigurationsInput struct {
	// Returns MediaPackage VOD PackagingConfigurations associated with the specified
	// PackagingGroup.
	PackagingGroupId *string
	// Upper bound on number of records to return.
	MaxResults *int32
	// A token used to resume pagination from the end of a previous request.
	NextToken *string
}

type ListPackagingConfigurationsOutput

type ListPackagingConfigurationsOutput struct {
	// A token that can be used to resume pagination from the end of the collection.
	NextToken *string
	// A list of MediaPackage VOD PackagingConfiguration resources.
	PackagingConfigurations []*types.PackagingConfiguration

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListPackagingGroupsInput

type ListPackagingGroupsInput struct {
	// A token used to resume pagination from the end of a previous request.
	NextToken *string
	// Upper bound on number of records to return.
	MaxResults *int32
}

type ListPackagingGroupsOutput

type ListPackagingGroupsOutput struct {
	// A list of MediaPackage VOD PackagingGroup resources.
	PackagingGroups []*types.PackagingGroup
	// A token that can be used to resume pagination from the end of the collection.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListTagsForResourceInput

type ListTagsForResourceInput struct {
	// The Amazon Resource Name (ARN) for the resource. You can get this from the
	// response to any request to the resource.
	ResourceArn *string
}

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {
	// A collection of tags associated with a resource
	Tags map[string]*string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Options

type Options struct {
	// Set of options to modify how an operation is invoked. These apply to all
	// operations invoked for this client. Use functional options on operation call to
	// modify this list for per operation behavior.
	APIOptions []func(*middleware.Stack) error

	// The credentials object to use when signing requests.
	Credentials aws.CredentialsProvider

	// The endpoint options to be used when attempting to resolve an endpoint.
	EndpointOptions ResolverOptions

	// The service endpoint resolver.
	EndpointResolver EndpointResolver

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// The region to send requests to. (Required)
	Region string

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer.
	Retryer retry.Retryer

	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
	// implementation if nil.
	HTTPClient HTTPClient
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

func (Options) GetCredentials

func (o Options) GetCredentials() aws.CredentialsProvider

func (Options) GetEndpointOptions

func (o Options) GetEndpointOptions() ResolverOptions

func (Options) GetEndpointResolver

func (o Options) GetEndpointResolver() EndpointResolver

func (Options) GetHTTPSignerV4

func (o Options) GetHTTPSignerV4() HTTPSignerV4

func (Options) GetRegion

func (o Options) GetRegion() string

func (Options) GetRetryer

func (o Options) GetRetryer() retry.Retryer

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  ResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type ResolveEndpointMiddlewareOptions

type ResolveEndpointMiddlewareOptions interface {
	GetEndpointResolver() EndpointResolver
	GetEndpointOptions() ResolverOptions
}

type ResolverOptions

type ResolverOptions = internalendpoints.Options

ResolverOptions is the service endpoint resolver options

type TagResourceInput

type TagResourceInput struct {
	// The Amazon Resource Name (ARN) for the resource. You can get this from the
	// response to any request to the resource.
	ResourceArn *string
	// A collection of tags associated with a resource
	Tags map[string]*string
}

type TagResourceOutput

type TagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UntagResourceInput

type UntagResourceInput struct {
	// A comma-separated list of the tag keys to remove from the resource.
	TagKeys []*string
	// The Amazon Resource Name (ARN) for the resource. You can get this from the
	// response to any request to the resource.
	ResourceArn *string
}

type UntagResourceOutput

type UntagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdatePackagingGroupInput

type UpdatePackagingGroupInput struct {
	// The ID of a MediaPackage VOD PackagingGroup resource.
	Id *string
	// CDN Authorization credentials
	Authorization *types.Authorization
}

A MediaPackage VOD PackagingGroup resource configuration.

type UpdatePackagingGroupOutput

type UpdatePackagingGroupOutput struct {
	// A collection of tags associated with a resource
	Tags map[string]*string
	// CDN Authorization credentials
	Authorization *types.Authorization
	// The fully qualified domain name for Assets in the PackagingGroup.
	DomainName *string
	// The ARN of the PackagingGroup.
	Arn *string
	// The ID of the PackagingGroup.
	Id *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

Source Files

api_client.go api_op_CreateAsset.go api_op_CreatePackagingConfiguration.go api_op_CreatePackagingGroup.go api_op_DeleteAsset.go api_op_DeletePackagingConfiguration.go api_op_DeletePackagingGroup.go api_op_DescribeAsset.go api_op_DescribePackagingConfiguration.go api_op_DescribePackagingGroup.go api_op_ListAssets.go api_op_ListPackagingConfigurations.go api_op_ListPackagingGroups.go api_op_ListTagsForResource.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdatePackagingGroup.go deserializers.go endpoints.go serializers.go validators.go

Directories

PathSynopsis
internal
types
Version
v0.1.0
Published
Sep 29, 2020
Platform
darwin/amd64
Imports
25 packages
Last checked
2 weeks ago

Tools for package owners.