package mediapackage
import "github.com/aws/aws-sdk-go-v2/service/mediapackage"
Index ¶
- Constants
- func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) CreateChannel(ctx context.Context, params *CreateChannelInput, optFns ...func(*Options)) (*CreateChannelOutput, error)
- func (c *Client) CreateHarvestJob(ctx context.Context, params *CreateHarvestJobInput, optFns ...func(*Options)) (*CreateHarvestJobOutput, error)
- func (c *Client) CreateOriginEndpoint(ctx context.Context, params *CreateOriginEndpointInput, optFns ...func(*Options)) (*CreateOriginEndpointOutput, error)
- func (c *Client) DeleteChannel(ctx context.Context, params *DeleteChannelInput, optFns ...func(*Options)) (*DeleteChannelOutput, error)
- func (c *Client) DeleteOriginEndpoint(ctx context.Context, params *DeleteOriginEndpointInput, optFns ...func(*Options)) (*DeleteOriginEndpointOutput, error)
- func (c *Client) DescribeChannel(ctx context.Context, params *DescribeChannelInput, optFns ...func(*Options)) (*DescribeChannelOutput, error)
- func (c *Client) DescribeHarvestJob(ctx context.Context, params *DescribeHarvestJobInput, optFns ...func(*Options)) (*DescribeHarvestJobOutput, error)
- func (c *Client) DescribeOriginEndpoint(ctx context.Context, params *DescribeOriginEndpointInput, optFns ...func(*Options)) (*DescribeOriginEndpointOutput, error)
- func (c *Client) ListChannels(ctx context.Context, params *ListChannelsInput, optFns ...func(*Options)) (*ListChannelsOutput, error)
- func (c *Client) ListHarvestJobs(ctx context.Context, params *ListHarvestJobsInput, optFns ...func(*Options)) (*ListHarvestJobsOutput, error)
- func (c *Client) ListOriginEndpoints(ctx context.Context, params *ListOriginEndpointsInput, optFns ...func(*Options)) (*ListOriginEndpointsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) RotateChannelCredentials(ctx context.Context, params *RotateChannelCredentialsInput, optFns ...func(*Options)) (*RotateChannelCredentialsOutput, error)
- func (c *Client) RotateIngestEndpointCredentials(ctx context.Context, params *RotateIngestEndpointCredentialsInput, optFns ...func(*Options)) (*RotateIngestEndpointCredentialsOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateChannel(ctx context.Context, params *UpdateChannelInput, optFns ...func(*Options)) (*UpdateChannelOutput, error)
- func (c *Client) UpdateOriginEndpoint(ctx context.Context, params *UpdateOriginEndpointInput, optFns ...func(*Options)) (*UpdateOriginEndpointOutput, error)
- type CreateChannelInput
- type CreateChannelOutput
- type CreateHarvestJobInput
- type CreateHarvestJobOutput
- type CreateOriginEndpointInput
- type CreateOriginEndpointOutput
- type DeleteChannelInput
- type DeleteChannelOutput
- type DeleteOriginEndpointInput
- type DeleteOriginEndpointOutput
- type DescribeChannelInput
- type DescribeChannelOutput
- type DescribeHarvestJobInput
- type DescribeHarvestJobOutput
- type DescribeOriginEndpointInput
- type DescribeOriginEndpointOutput
- type EndpointResolver
- type EndpointResolverFunc
- type HTTPClient
- type HTTPSignerV4
- type ListChannelsInput
- type ListChannelsOutput
- type ListHarvestJobsInput
- type ListHarvestJobsOutput
- type ListOriginEndpointsInput
- type ListOriginEndpointsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- func (o Options) Copy() Options
- func (o Options) GetCredentials() aws.CredentialsProvider
- func (o Options) GetEndpointOptions() ResolverOptions
- func (o Options) GetEndpointResolver() EndpointResolver
- func (o Options) GetHTTPSignerV4() HTTPSignerV4
- func (o Options) GetRegion() string
- func (o Options) GetRetryer() retry.Retryer
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type ResolveEndpointMiddlewareOptions
- type ResolverOptions
- type RotateChannelCredentialsInput
- type RotateChannelCredentialsOutput
- type RotateIngestEndpointCredentialsInput
- type RotateIngestEndpointCredentialsOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateChannelInput
- type UpdateChannelOutput
- type UpdateOriginEndpointInput
- type UpdateOriginEndpointOutput
Constants ¶
const ServiceAPIVersion = "2017-10-12"
const ServiceID = "MediaPackage"
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
func New ¶
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 ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateChannel ¶
func (c *Client) CreateChannel(ctx context.Context, params *CreateChannelInput, optFns ...func(*Options)) (*CreateChannelOutput, error)
Creates a new Channel.
func (*Client) CreateHarvestJob ¶
func (c *Client) CreateHarvestJob(ctx context.Context, params *CreateHarvestJobInput, optFns ...func(*Options)) (*CreateHarvestJobOutput, error)
Creates a new HarvestJob record.
func (*Client) CreateOriginEndpoint ¶
func (c *Client) CreateOriginEndpoint(ctx context.Context, params *CreateOriginEndpointInput, optFns ...func(*Options)) (*CreateOriginEndpointOutput, error)
Creates a new OriginEndpoint record.
func (*Client) DeleteChannel ¶
func (c *Client) DeleteChannel(ctx context.Context, params *DeleteChannelInput, optFns ...func(*Options)) (*DeleteChannelOutput, error)
Deletes an existing Channel.
func (*Client) DeleteOriginEndpoint ¶
func (c *Client) DeleteOriginEndpoint(ctx context.Context, params *DeleteOriginEndpointInput, optFns ...func(*Options)) (*DeleteOriginEndpointOutput, error)
Deletes an existing OriginEndpoint.
func (*Client) DescribeChannel ¶
func (c *Client) DescribeChannel(ctx context.Context, params *DescribeChannelInput, optFns ...func(*Options)) (*DescribeChannelOutput, error)
Gets details about a Channel.
func (*Client) DescribeHarvestJob ¶
func (c *Client) DescribeHarvestJob(ctx context.Context, params *DescribeHarvestJobInput, optFns ...func(*Options)) (*DescribeHarvestJobOutput, error)
Gets details about an existing HarvestJob.
func (*Client) DescribeOriginEndpoint ¶
func (c *Client) DescribeOriginEndpoint(ctx context.Context, params *DescribeOriginEndpointInput, optFns ...func(*Options)) (*DescribeOriginEndpointOutput, error)
Gets details about an existing OriginEndpoint.
func (*Client) ListChannels ¶
func (c *Client) ListChannels(ctx context.Context, params *ListChannelsInput, optFns ...func(*Options)) (*ListChannelsOutput, error)
Returns a collection of Channels.
func (*Client) ListHarvestJobs ¶
func (c *Client) ListHarvestJobs(ctx context.Context, params *ListHarvestJobsInput, optFns ...func(*Options)) (*ListHarvestJobsOutput, error)
Returns a collection of HarvestJob records.
func (*Client) ListOriginEndpoints ¶
func (c *Client) ListOriginEndpoints(ctx context.Context, params *ListOriginEndpointsInput, optFns ...func(*Options)) (*ListOriginEndpointsOutput, error)
Returns a collection of OriginEndpoint records.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
func (*Client) RotateChannelCredentials ¶
func (c *Client) RotateChannelCredentials(ctx context.Context, params *RotateChannelCredentialsInput, optFns ...func(*Options)) (*RotateChannelCredentialsOutput, error)
Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead
func (*Client) RotateIngestEndpointCredentials ¶
func (c *Client) RotateIngestEndpointCredentials(ctx context.Context, params *RotateIngestEndpointCredentialsInput, optFns ...func(*Options)) (*RotateIngestEndpointCredentialsOutput, error)
Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
func (*Client) UpdateChannel ¶
func (c *Client) UpdateChannel(ctx context.Context, params *UpdateChannelInput, optFns ...func(*Options)) (*UpdateChannelOutput, error)
Updates an existing Channel.
func (*Client) UpdateOriginEndpoint ¶
func (c *Client) UpdateOriginEndpoint(ctx context.Context, params *UpdateOriginEndpointInput, optFns ...func(*Options)) (*UpdateOriginEndpointOutput, error)
Updates an existing OriginEndpoint.
type CreateChannelInput ¶
type CreateChannelInput struct { // The ID of the Channel. The ID must be unique within the region and it cannot be // changed after a Channel is created. // // This member is required. Id *string // A short text description of the Channel. Description *string // A collection of tags associated with a resource Tags map[string]*string }
A new Channel configuration.
type CreateChannelOutput ¶
type CreateChannelOutput struct { // A collection of tags associated with a resource Tags map[string]*string // An HTTP Live Streaming (HLS) ingest resource configuration. HlsIngest *types.HlsIngest // A short text description of the Channel. Description *string // The Amazon Resource Name (ARN) assigned to the Channel. Arn *string // The ID of the Channel. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateHarvestJobInput ¶
type CreateHarvestJobInput struct { // The end of the time-window which will be harvested // // This member is required. EndTime *string // The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot // be changed after the HarvestJob is submitted. // // This member is required. OriginEndpointId *string // The start of the time-window which will be harvested // // This member is required. StartTime *string // The ID of the HarvestJob. The ID must be unique within the region and it cannot // be changed after the HarvestJob is submitted // // This member is required. Id *string // Configuration parameters for where in an S3 bucket to place the harvested // content // // This member is required. S3Destination *types.S3Destination }
Configuration parameters used to create a new HarvestJob.
type CreateHarvestJobOutput ¶
type CreateHarvestJobOutput struct { // The ID of the HarvestJob. The ID must be unique within the region and it cannot // be changed after the HarvestJob is submitted. Id *string // The start of the time-window which will be harvested. StartTime *string // The end of the time-window which will be harvested. EndTime *string // The Amazon Resource Name (ARN) assigned to the HarvestJob. Arn *string // The time the HarvestJob was submitted CreatedAt *string // The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot // be changed after the HarvestJob is submitted. OriginEndpointId *string // Configuration parameters for where in an S3 bucket to place the harvested // content S3Destination *types.S3Destination // The current status of the HarvestJob. Consider setting up a CloudWatch Event to // listen for HarvestJobs as they succeed or fail. In the event of failure, the // CloudWatch Event will include an explanation of why the HarvestJob failed. Status types.Status // The ID of the Channel that the HarvestJob will harvest from. ChannelId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateOriginEndpointInput ¶
type CreateOriginEndpointInput struct { // Amount of delay (seconds) to enforce on the playback of live content. If not // specified, there will be no time delay in effect for the OriginEndpoint. TimeDelaySeconds *int32 // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *types.DashPackage // The ID of the Channel that the OriginEndpoint will be associated with. This // cannot be changed after the OriginEndpoint is created. // // This member is required. ChannelId *string // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *types.HlsPackage // A list of source IP CIDR blocks that will be allowed to access the // OriginEndpoint. Whitelist []*string // A Common Media Application Format (CMAF) packaging configuration. CmafPackage *types.CmafPackageCreateOrUpdateParameters // A collection of tags associated with a resource Tags map[string]*string // A short string that will be used as the filename of the OriginEndpoint URL // (defaults to "index"). ManifestName *string // CDN Authorization credentials Authorization *types.Authorization // Maximum duration (seconds) of content to retain for startover playback. If not // specified, startover playback will be disabled for the OriginEndpoint. StartoverWindowSeconds *int32 // Control whether origination of video is allowed for this OriginEndpoint. If set // to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of // access control. If set to DENY, the OriginEndpoint may not be requested. This // can be helpful for Live to VOD harvesting, or for temporarily disabling // origination Origination types.Origination // The ID of the OriginEndpoint. The ID must be unique within the region and it // cannot be changed after the OriginEndpoint is created. // // This member is required. Id *string // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *types.MssPackage // A short text description of the OriginEndpoint. Description *string }
Configuration parameters used to create a new OriginEndpoint.
type CreateOriginEndpointOutput ¶
type CreateOriginEndpointOutput struct { // Maximum duration (seconds) of content to retain for startover playback. If not // specified, startover playback will be disabled for the OriginEndpoint. StartoverWindowSeconds *int32 // A collection of tags associated with a resource Tags map[string]*string // The URL of the packaged OriginEndpoint for consumption. Url *string // Control whether origination of video is allowed for this OriginEndpoint. If set // to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of // access control. If set to DENY, the OriginEndpoint may not be requested. This // can be helpful for Live to VOD harvesting, or for temporarily disabling // origination Origination types.Origination // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *types.HlsPackage // A short string appended to the end of the OriginEndpoint URL. ManifestName *string // CDN Authorization credentials Authorization *types.Authorization // The ID of the OriginEndpoint. Id *string // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *types.DashPackage // The Amazon Resource Name (ARN) assigned to the OriginEndpoint. Arn *string // A short text description of the OriginEndpoint. Description *string // A Common Media Application Format (CMAF) packaging configuration. CmafPackage *types.CmafPackage // Amount of delay (seconds) to enforce on the playback of live content. If not // specified, there will be no time delay in effect for the OriginEndpoint. TimeDelaySeconds *int32 // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *types.MssPackage // The ID of the Channel the OriginEndpoint is associated with. ChannelId *string // A list of source IP CIDR blocks that will be allowed to access the // OriginEndpoint. Whitelist []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteChannelInput ¶
type DeleteChannelInput struct { // The ID of the Channel to delete. // // This member is required. Id *string }
type DeleteChannelOutput ¶
type DeleteChannelOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteOriginEndpointInput ¶
type DeleteOriginEndpointInput struct { // The ID of the OriginEndpoint to delete. // // This member is required. Id *string }
type DeleteOriginEndpointOutput ¶
type DeleteOriginEndpointOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeChannelInput ¶
type DescribeChannelInput struct { // The ID of a Channel. // // This member is required. Id *string }
type DescribeChannelOutput ¶
type DescribeChannelOutput struct { // A short text description of the Channel. Description *string // A collection of tags associated with a resource Tags map[string]*string // The ID of the Channel. Id *string // An HTTP Live Streaming (HLS) ingest resource configuration. HlsIngest *types.HlsIngest // The Amazon Resource Name (ARN) assigned to the Channel. Arn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeHarvestJobInput ¶
type DescribeHarvestJobInput struct { // The ID of the HarvestJob. // // This member is required. Id *string }
type DescribeHarvestJobOutput ¶
type DescribeHarvestJobOutput struct { // The Amazon Resource Name (ARN) assigned to the HarvestJob. Arn *string // Configuration parameters for where in an S3 bucket to place the harvested // content S3Destination *types.S3Destination // The ID of the HarvestJob. The ID must be unique within the region and it cannot // be changed after the HarvestJob is submitted. Id *string // The current status of the HarvestJob. Consider setting up a CloudWatch Event to // listen for HarvestJobs as they succeed or fail. In the event of failure, the // CloudWatch Event will include an explanation of why the HarvestJob failed. Status types.Status // The end of the time-window which will be harvested. EndTime *string // The start of the time-window which will be harvested. StartTime *string // The time the HarvestJob was submitted CreatedAt *string // The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot // be changed after the HarvestJob is submitted. OriginEndpointId *string // The ID of the Channel that the HarvestJob will harvest from. ChannelId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeOriginEndpointInput ¶
type DescribeOriginEndpointInput struct { // The ID of the OriginEndpoint. // // This member is required. Id *string }
type DescribeOriginEndpointOutput ¶
type DescribeOriginEndpointOutput struct { // Maximum duration (seconds) of content to retain for startover playback. If not // specified, startover playback will be disabled for the OriginEndpoint. StartoverWindowSeconds *int32 // A Common Media Application Format (CMAF) packaging configuration. CmafPackage *types.CmafPackage // A collection of tags associated with a resource Tags map[string]*string // CDN Authorization credentials Authorization *types.Authorization // A short string appended to the end of the OriginEndpoint URL. ManifestName *string // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *types.DashPackage // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *types.HlsPackage // The ID of the OriginEndpoint. Id *string // The Amazon Resource Name (ARN) assigned to the OriginEndpoint. Arn *string // A short text description of the OriginEndpoint. Description *string // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *types.MssPackage // A list of source IP CIDR blocks that will be allowed to access the // OriginEndpoint. Whitelist []*string // Control whether origination of video is allowed for this OriginEndpoint. If set // to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of // access control. If set to DENY, the OriginEndpoint may not be requested. This // can be helpful for Live to VOD harvesting, or for temporarily disabling // origination Origination types.Origination // The URL of the packaged OriginEndpoint for consumption. Url *string // The ID of the Channel the OriginEndpoint is associated with. ChannelId *string // Amount of delay (seconds) to enforce on the playback of live content. If not // specified, there will be no time delay in effect for the OriginEndpoint. TimeDelaySeconds *int32 // 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 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 ListChannelsInput ¶
type ListChannelsInput struct { // 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 ListChannelsOutput ¶
type ListChannelsOutput struct { // A token that can be used to resume pagination from the end of the collection. NextToken *string // A list of Channel records. Channels []*types.Channel // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListHarvestJobsInput ¶
type ListHarvestJobsInput struct { // The upper bound on the number of records to return. MaxResults *int32 // When specified, the request will return only HarvestJobs in the given status. IncludeStatus *string // A token used to resume pagination from the end of a previous request. NextToken *string // When specified, the request will return only HarvestJobs associated with the // given Channel ID. IncludeChannelId *string }
type ListHarvestJobsOutput ¶
type ListHarvestJobsOutput struct { // A list of HarvestJob records. HarvestJobs []*types.HarvestJob // 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 ListOriginEndpointsInput ¶
type ListOriginEndpointsInput struct { // When specified, the request will return only OriginEndpoints associated with the // given Channel ID. ChannelId *string // The upper bound on the number of records to return. MaxResults *int32 // A token used to resume pagination from the end of a previous request. NextToken *string }
type ListOriginEndpointsOutput ¶
type ListOriginEndpointsOutput struct { // A list of OriginEndpoint records. OriginEndpoints []*types.OriginEndpoint // 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 { ResourceArn *string }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { 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 ¶
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 (Options) GetRetryer ¶
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options ResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
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 RotateChannelCredentialsInput ¶
type RotateChannelCredentialsInput struct { // The ID of the channel to update. // // This member is required. Id *string }
type RotateChannelCredentialsOutput ¶
type RotateChannelCredentialsOutput struct { // A short text description of the Channel. Description *string // The ID of the Channel. Id *string // A collection of tags associated with a resource Tags map[string]*string // An HTTP Live Streaming (HLS) ingest resource configuration. HlsIngest *types.HlsIngest // The Amazon Resource Name (ARN) assigned to the Channel. Arn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RotateIngestEndpointCredentialsInput ¶
type RotateIngestEndpointCredentialsInput struct { // The ID of the channel the IngestEndpoint is on. // // This member is required. Id *string // The id of the IngestEndpoint whose credentials should be rotated // // This member is required. IngestEndpointId *string }
type RotateIngestEndpointCredentialsOutput ¶
type RotateIngestEndpointCredentialsOutput struct { // An HTTP Live Streaming (HLS) ingest resource configuration. HlsIngest *types.HlsIngest // A collection of tags associated with a resource Tags map[string]*string // The Amazon Resource Name (ARN) assigned to the Channel. Arn *string // A short text description of the Channel. Description *string // The ID of the Channel. Id *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type TagResourceInput ¶
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UntagResourceInput ¶
type UntagResourceInput struct { // The key(s) of tag to be deleted // // This member is required. TagKeys []*string ResourceArn *string }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateChannelInput ¶
type UpdateChannelInput struct { // The ID of the Channel to update. // // This member is required. Id *string // A short text description of the Channel. Description *string }
Configuration parameters used to update the Channel.
type UpdateChannelOutput ¶
type UpdateChannelOutput struct { // The ID of the Channel. Id *string // A collection of tags associated with a resource Tags map[string]*string // A short text description of the Channel. Description *string // An HTTP Live Streaming (HLS) ingest resource configuration. HlsIngest *types.HlsIngest // The Amazon Resource Name (ARN) assigned to the Channel. Arn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateOriginEndpointInput ¶
type UpdateOriginEndpointInput struct { // A list of source IP CIDR blocks that will be allowed to access the // OriginEndpoint. Whitelist []*string // Amount of delay (in seconds) to enforce on the playback of live content. If not // specified, there will be no time delay in effect for the OriginEndpoint. TimeDelaySeconds *int32 // A Common Media Application Format (CMAF) packaging configuration. CmafPackage *types.CmafPackageCreateOrUpdateParameters // The ID of the OriginEndpoint to update. // // This member is required. Id *string // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *types.MssPackage // A short text description of the OriginEndpoint. Description *string // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *types.DashPackage // Maximum duration (in seconds) of content to retain for startover playback. If // not specified, startover playback will be disabled for the OriginEndpoint. StartoverWindowSeconds *int32 // A short string that will be appended to the end of the Endpoint URL. ManifestName *string // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *types.HlsPackage // Control whether origination of video is allowed for this OriginEndpoint. If set // to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of // access control. If set to DENY, the OriginEndpoint may not be requested. This // can be helpful for Live to VOD harvesting, or for temporarily disabling // origination Origination types.Origination // CDN Authorization credentials Authorization *types.Authorization }
Configuration parameters used to update an existing OriginEndpoint.
type UpdateOriginEndpointOutput ¶
type UpdateOriginEndpointOutput struct { // A short text description of the OriginEndpoint. Description *string // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *types.MssPackage // The ID of the OriginEndpoint. Id *string // The Amazon Resource Name (ARN) assigned to the OriginEndpoint. Arn *string // Amount of delay (seconds) to enforce on the playback of live content. If not // specified, there will be no time delay in effect for the OriginEndpoint. TimeDelaySeconds *int32 // A Common Media Application Format (CMAF) packaging configuration. CmafPackage *types.CmafPackage // The URL of the packaged OriginEndpoint for consumption. Url *string // CDN Authorization credentials Authorization *types.Authorization // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *types.HlsPackage // The ID of the Channel the OriginEndpoint is associated with. ChannelId *string // Control whether origination of video is allowed for this OriginEndpoint. If set // to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of // access control. If set to DENY, the OriginEndpoint may not be requested. This // can be helpful for Live to VOD harvesting, or for temporarily disabling // origination Origination types.Origination // A collection of tags associated with a resource Tags map[string]*string // Maximum duration (seconds) of content to retain for startover playback. If not // specified, startover playback will be disabled for the OriginEndpoint. StartoverWindowSeconds *int32 // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *types.DashPackage // A short string appended to the end of the OriginEndpoint URL. ManifestName *string // A list of source IP CIDR blocks that will be allowed to access the // OriginEndpoint. Whitelist []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
api_client.go api_op_CreateChannel.go api_op_CreateHarvestJob.go api_op_CreateOriginEndpoint.go api_op_DeleteChannel.go api_op_DeleteOriginEndpoint.go api_op_DescribeChannel.go api_op_DescribeHarvestJob.go api_op_DescribeOriginEndpoint.go api_op_ListChannels.go api_op_ListHarvestJobs.go api_op_ListOriginEndpoints.go api_op_ListTagsForResource.go api_op_RotateChannelCredentials.go api_op_RotateIngestEndpointCredentials.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateChannel.go api_op_UpdateOriginEndpoint.go deserializers.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v0.26.0
- Published
- Oct 1, 2020
- Platform
- js/wasm
- Imports
- 25 packages
- Last checked
- now –
Tools for package owners.