mediapackage

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 8 Imported by: 26

Documentation

Overview

Package mediapackage provides the client and types for making API requests to MediaPackage.

AWS Elemental MediaPackage

See https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12 for more information on this service.

See mediapackage package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackage/

Using the Client

To use MediaPackage 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 client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackage/#New

Index

Constants

View Source
const (
	ServiceName = "MediaPackage" // Service's name
	ServiceID   = "MediaPackage" // Service's identifier
	EndpointsID = "mediapackage" // 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 added in v0.3.0

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

func (AdMarkers) MarshalValueBuf added in v0.3.0

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

type AdTriggersElement added in v0.19.0

type AdTriggersElement string
const (
	AdTriggersElementSpliceInsert                           AdTriggersElement = "SPLICE_INSERT"
	AdTriggersElementBreak                                  AdTriggersElement = "BREAK"
	AdTriggersElementProviderAdvertisement                  AdTriggersElement = "PROVIDER_ADVERTISEMENT"
	AdTriggersElementDistributorAdvertisement               AdTriggersElement = "DISTRIBUTOR_ADVERTISEMENT"
	AdTriggersElementProviderPlacementOpportunity           AdTriggersElement = "PROVIDER_PLACEMENT_OPPORTUNITY"
	AdTriggersElementDistributorPlacementOpportunity        AdTriggersElement = "DISTRIBUTOR_PLACEMENT_OPPORTUNITY"
	AdTriggersElementProviderOverlayPlacementOpportunity    AdTriggersElement = "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY"
	AdTriggersElementDistributorOverlayPlacementOpportunity AdTriggersElement = "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
)

Enum values for AdTriggersElement

func (AdTriggersElement) MarshalValue added in v0.19.0

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

func (AdTriggersElement) MarshalValueBuf added in v0.19.0

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

type AdsOnDeliveryRestrictions added in v0.10.0

type AdsOnDeliveryRestrictions string

This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors todetermine whether a message signals an ad. Choosing "NONE" means no SCTE-35 messages becomeads. Choosing "RESTRICTED" means SCTE-35 messages of the types specified in AdTriggers thatcontain delivery restrictions will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35messages of the types specified in AdTriggers that do not contain delivery restrictions willbe treated as ads. Choosing "BOTH" means all SCTE-35 messages of the types specified inAdTriggers will be treated as ads. Note that Splice Insert messages do not have these flagsand are always treated as ads if specified in AdTriggers.

const (
	AdsOnDeliveryRestrictionsNone         AdsOnDeliveryRestrictions = "NONE"
	AdsOnDeliveryRestrictionsRestricted   AdsOnDeliveryRestrictions = "RESTRICTED"
	AdsOnDeliveryRestrictionsUnrestricted AdsOnDeliveryRestrictions = "UNRESTRICTED"
	AdsOnDeliveryRestrictionsBoth         AdsOnDeliveryRestrictions = "BOTH"
)

Enum values for AdsOnDeliveryRestrictions

func (AdsOnDeliveryRestrictions) MarshalValue added in v0.10.0

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

func (AdsOnDeliveryRestrictions) MarshalValueBuf added in v0.10.0

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

type Authorization added in v0.19.0

type Authorization struct {

	// The Amazon Resource Name (ARN) for the secret in Secrets Manager that your
	// Content Distribution Network (CDN) uses for authorization to access your
	// endpoint.
	//
	// CdnIdentifierSecret is a required field
	CdnIdentifierSecret *string `locationName:"cdnIdentifierSecret" type:"string" required:"true"`

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

CDN Authorization credentials

func (Authorization) MarshalFields added in v0.19.0

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

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

func (Authorization) String added in v0.19.0

func (s Authorization) String() string

String returns the string representation

func (*Authorization) Validate added in v0.19.0

func (s *Authorization) Validate() error

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

type Channel

type Channel struct {

	// The Amazon Resource Name (ARN) assigned to the Channel.
	Arn *string `locationName:"arn" type:"string"`

	// A short text description of the Channel.
	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

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

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

A Channel resource configuration.

func (Channel) MarshalFields added in v0.3.0

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

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

func (Channel) String

func (s Channel) String() string

String returns the string representation

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to MediaPackage. 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 := mediapackage.New(myConfig)

func (*Client) CreateChannelRequest added in v0.9.0

func (c *Client) CreateChannelRequest(input *CreateChannelInput) CreateChannelRequest

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

Creates a new Channel.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannel

func (*Client) CreateHarvestJobRequest added in v0.14.0

func (c *Client) CreateHarvestJobRequest(input *CreateHarvestJobInput) CreateHarvestJobRequest

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

Creates a new HarvestJob record.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJob

func (*Client) CreateOriginEndpointRequest added in v0.9.0

func (c *Client) CreateOriginEndpointRequest(input *CreateOriginEndpointInput) CreateOriginEndpointRequest

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

Creates a new OriginEndpoint record.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpoint

func (*Client) DeleteChannelRequest added in v0.9.0

func (c *Client) DeleteChannelRequest(input *DeleteChannelInput) DeleteChannelRequest

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

Deletes an existing Channel.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannel

func (*Client) DeleteOriginEndpointRequest added in v0.9.0

func (c *Client) DeleteOriginEndpointRequest(input *DeleteOriginEndpointInput) DeleteOriginEndpointRequest

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

Deletes an existing OriginEndpoint.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpoint

func (*Client) DescribeChannelRequest added in v0.9.0

func (c *Client) DescribeChannelRequest(input *DescribeChannelInput) DescribeChannelRequest

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

Gets details about a Channel.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannel

func (*Client) DescribeHarvestJobRequest added in v0.14.0

func (c *Client) DescribeHarvestJobRequest(input *DescribeHarvestJobInput) DescribeHarvestJobRequest

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

Gets details about an existing HarvestJob.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeHarvestJob

func (*Client) DescribeOriginEndpointRequest added in v0.9.0

func (c *Client) DescribeOriginEndpointRequest(input *DescribeOriginEndpointInput) DescribeOriginEndpointRequest

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

Gets details about an existing OriginEndpoint.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpoint

func (*Client) ListChannelsRequest added in v0.9.0

func (c *Client) ListChannelsRequest(input *ListChannelsInput) ListChannelsRequest

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

Returns a collection of Channels.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannels

func (*Client) ListHarvestJobsRequest added in v0.14.0

func (c *Client) ListHarvestJobsRequest(input *ListHarvestJobsInput) ListHarvestJobsRequest

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

Returns a collection of HarvestJob records.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListHarvestJobs

func (*Client) ListOriginEndpointsRequest added in v0.9.0

func (c *Client) ListOriginEndpointsRequest(input *ListOriginEndpointsInput) ListOriginEndpointsRequest

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

Returns a collection of OriginEndpoint records.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpoints

func (*Client) ListTagsForResourceRequest added in v0.9.0

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

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

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListTagsForResource

func (*Client) RotateChannelCredentialsRequest added in v0.9.0

func (c *Client) RotateChannelCredentialsRequest(input *RotateChannelCredentialsInput) RotateChannelCredentialsRequest

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

Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentials

func (*Client) RotateIngestEndpointCredentialsRequest added in v0.9.0

func (c *Client) RotateIngestEndpointCredentialsRequest(input *RotateIngestEndpointCredentialsInput) RotateIngestEndpointCredentialsRequest

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

Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentials

func (*Client) TagResourceRequest added in v0.9.0

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

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

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/TagResource

func (*Client) UntagResourceRequest added in v0.9.0

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

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

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UntagResource

func (*Client) UpdateChannelRequest added in v0.9.0

func (c *Client) UpdateChannelRequest(input *UpdateChannelInput) UpdateChannelRequest

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

Updates an existing Channel.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannel

func (*Client) UpdateOriginEndpointRequest added in v0.9.0

func (c *Client) UpdateOriginEndpointRequest(input *UpdateOriginEndpointInput) UpdateOriginEndpointRequest

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

Updates an existing OriginEndpoint.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpoint

type CmafEncryption added in v0.4.0

type CmafEncryption struct {

	// Time (in seconds) between each encryption key rotation.
	KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"`

	// 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 Common Media Application Format (CMAF) encryption configuration.

func (CmafEncryption) MarshalFields added in v0.4.0

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

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

func (CmafEncryption) String added in v0.4.0

func (s CmafEncryption) String() string

String returns the string representation

func (*CmafEncryption) Validate added in v0.4.0

func (s *CmafEncryption) Validate() error

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

type CmafPackage added in v0.4.0

type CmafPackage struct {

	// A Common Media Application Format (CMAF) encryption configuration.
	Encryption *CmafEncryption `locationName:"encryption" type:"structure"`

	// A list of HLS manifest configurations
	HlsManifests []HlsManifest `locationName:"hlsManifests" type:"list"`

	// Duration (in seconds) of each segment. Actual segments will berounded to
	// the nearest multiple of the source segment duration.
	SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"`

	// An optional custom string that is prepended to the name of each segment.
	// If not specified, it defaults to the ChannelId.
	SegmentPrefix *string `locationName:"segmentPrefix" type:"string"`

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

A Common Media Application Format (CMAF) packaging configuration.

func (CmafPackage) MarshalFields added in v0.4.0

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

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

func (CmafPackage) String added in v0.4.0

func (s CmafPackage) String() string

String returns the string representation

type CmafPackageCreateOrUpdateParameters added in v0.4.0

type CmafPackageCreateOrUpdateParameters struct {

	// A Common Media Application Format (CMAF) encryption configuration.
	Encryption *CmafEncryption `locationName:"encryption" type:"structure"`

	// A list of HLS manifest configurations
	HlsManifests []HlsManifestCreateOrUpdateParameters `locationName:"hlsManifests" type:"list"`

	// Duration (in seconds) of each segment. Actual segments will berounded to
	// the nearest multiple of the source segment duration.
	SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"`

	// An optional custom string that is prepended to the name of each segment.
	// If not specified, it defaults to the ChannelId.
	SegmentPrefix *string `locationName:"segmentPrefix" type:"string"`

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

A Common Media Application Format (CMAF) packaging configuration.

func (CmafPackageCreateOrUpdateParameters) MarshalFields added in v0.4.0

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

func (CmafPackageCreateOrUpdateParameters) String added in v0.4.0

String returns the string representation

func (*CmafPackageCreateOrUpdateParameters) Validate added in v0.4.0

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

type CreateChannelInput

type CreateChannelInput struct {
	Description *string `locationName:"description" type:"string"`

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

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

func (CreateChannelInput) MarshalFields added in v0.3.0

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

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

func (CreateChannelInput) String

func (s CreateChannelInput) String() string

String returns the string representation

func (*CreateChannelInput) Validate

func (s *CreateChannelInput) Validate() error

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

type CreateChannelOutput

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

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

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

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

func (CreateChannelOutput) MarshalFields added in v0.3.0

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

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

func (CreateChannelOutput) String

func (s CreateChannelOutput) String() string

String returns the string representation

type CreateChannelRequest

type CreateChannelRequest struct {
	*aws.Request
	Input *CreateChannelInput
	Copy  func(*CreateChannelInput) CreateChannelRequest
}

CreateChannelRequest is the request type for the CreateChannel API operation.

func (CreateChannelRequest) Send

Send marshals and sends the CreateChannel API request.

type CreateChannelResponse added in v0.9.0

type CreateChannelResponse struct {
	*CreateChannelOutput
	// contains filtered or unexported fields
}

CreateChannelResponse is the response type for the CreateChannel API operation.

func (*CreateChannelResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateChannel request.

type CreateHarvestJobInput added in v0.14.0

type CreateHarvestJobInput struct {

	// EndTime is a required field
	EndTime *string `locationName:"endTime" type:"string" required:"true"`

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

	// OriginEndpointId is a required field
	OriginEndpointId *string `locationName:"originEndpointId" type:"string" required:"true"`

	// Configuration parameters for where in an S3 bucket to place the harvested
	// content
	//
	// S3Destination is a required field
	S3Destination *S3Destination `locationName:"s3Destination" type:"structure" required:"true"`

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

func (CreateHarvestJobInput) MarshalFields added in v0.14.0

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

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

func (CreateHarvestJobInput) String added in v0.14.0

func (s CreateHarvestJobInput) String() string

String returns the string representation

func (*CreateHarvestJobInput) Validate added in v0.14.0

func (s *CreateHarvestJobInput) Validate() error

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

type CreateHarvestJobOutput added in v0.14.0

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

	ChannelId *string `locationName:"channelId" type:"string"`

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

	EndTime *string `locationName:"endTime" type:"string"`

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

	OriginEndpointId *string `locationName:"originEndpointId" type:"string"`

	// Configuration parameters for where in an S3 bucket to place the harvested
	// content
	S3Destination *S3Destination `locationName:"s3Destination" type:"structure"`

	StartTime *string `locationName:"startTime" type:"string"`

	Status Status `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (CreateHarvestJobOutput) MarshalFields added in v0.14.0

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

func (CreateHarvestJobOutput) String added in v0.14.0

func (s CreateHarvestJobOutput) String() string

String returns the string representation

type CreateHarvestJobRequest added in v0.14.0

type CreateHarvestJobRequest struct {
	*aws.Request
	Input *CreateHarvestJobInput
	Copy  func(*CreateHarvestJobInput) CreateHarvestJobRequest
}

CreateHarvestJobRequest is the request type for the CreateHarvestJob API operation.

func (CreateHarvestJobRequest) Send added in v0.14.0

Send marshals and sends the CreateHarvestJob API request.

type CreateHarvestJobResponse added in v0.14.0

type CreateHarvestJobResponse struct {
	*CreateHarvestJobOutput
	// contains filtered or unexported fields
}

CreateHarvestJobResponse is the response type for the CreateHarvestJob API operation.

func (*CreateHarvestJobResponse) SDKResponseMetdata added in v0.14.0

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

SDKResponseMetdata returns the response metadata for the CreateHarvestJob request.

type CreateOriginEndpointInput

type CreateOriginEndpointInput struct {

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

	// ChannelId is a required field
	ChannelId *string `locationName:"channelId" type:"string" required:"true"`

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackageCreateOrUpdateParameters `locationName:"cmafPackage" type:"structure"`

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

	Description *string `locationName:"description" type:"string"`

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

	ManifestName *string `locationName:"manifestName" type:"string"`

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

	Origination Origination `locationName:"origination" type:"string" enum:"true"`

	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	// A collection of tags associated with a resource
	Tags map[string]string `locationName:"tags" type:"map"`

	TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"`

	Whitelist []string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

func (CreateOriginEndpointInput) MarshalFields added in v0.3.0

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

func (CreateOriginEndpointInput) String

func (s CreateOriginEndpointInput) String() string

String returns the string representation

func (*CreateOriginEndpointInput) Validate

func (s *CreateOriginEndpointInput) Validate() error

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

type CreateOriginEndpointOutput

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

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

	ChannelId *string `locationName:"channelId" type:"string"`

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

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

	Description *string `locationName:"description" type:"string"`

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

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

	ManifestName *string `locationName:"manifestName" type:"string"`

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

	Origination Origination `locationName:"origination" type:"string" enum:"true"`

	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	// A collection of tags associated with a resource
	Tags map[string]string `locationName:"tags" type:"map"`

	TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"`

	Url *string `locationName:"url" type:"string"`

	Whitelist []string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

func (CreateOriginEndpointOutput) MarshalFields added in v0.3.0

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

func (CreateOriginEndpointOutput) String

String returns the string representation

type CreateOriginEndpointRequest

type CreateOriginEndpointRequest struct {
	*aws.Request
	Input *CreateOriginEndpointInput
	Copy  func(*CreateOriginEndpointInput) CreateOriginEndpointRequest
}

CreateOriginEndpointRequest is the request type for the CreateOriginEndpoint API operation.

func (CreateOriginEndpointRequest) Send

Send marshals and sends the CreateOriginEndpoint API request.

type CreateOriginEndpointResponse added in v0.9.0

type CreateOriginEndpointResponse struct {
	*CreateOriginEndpointOutput
	// contains filtered or unexported fields
}

CreateOriginEndpointResponse is the response type for the CreateOriginEndpoint API operation.

func (*CreateOriginEndpointResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateOriginEndpoint request.

type DashEncryption

type DashEncryption struct {

	// Time (in seconds) between each encryption key rotation.
	KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"`

	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	//
	// SpekeKeyProvider is a required field
	SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

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

func (DashEncryption) MarshalFields added in v0.3.0

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 DashPackage

type DashPackage struct {

	// A list of SCTE-35 message types that are treated as ad markers in the output.
	// If empty, noad markers are output. Specify multiple items to create ad markers
	// for all of the includedmessage types.
	AdTriggers []AdTriggersElement `locationName:"adTriggers" type:"list"`

	// This setting allows the delivery restriction flags on SCTE-35 segmentation
	// descriptors todetermine whether a message signals an ad. Choosing "NONE"
	// means no SCTE-35 messages becomeads. Choosing "RESTRICTED" means SCTE-35
	// messages of the types specified in AdTriggers thatcontain delivery restrictions
	// will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35messages of
	// the types specified in AdTriggers that do not contain delivery restrictions
	// willbe treated as ads. Choosing "BOTH" means all SCTE-35 messages of the
	// types specified inAdTriggers will be treated as ads. Note that Splice Insert
	// messages do not have these flagsand are always treated as ads if specified
	// in AdTriggers.
	AdsOnDeliveryRestrictions AdsOnDeliveryRestrictions `locationName:"adsOnDeliveryRestrictions" type:"string" enum:"true"`

	// A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
	Encryption *DashEncryption `locationName:"encryption" type:"structure"`

	// Determines the position of some tags in the Media Presentation Description
	// (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection
	// are included in each Representation. When set to COMPACT, duplicate elements
	// are combined and presented at the AdaptationSet level.
	ManifestLayout ManifestLayout `locationName:"manifestLayout" type:"string" enum:"true"`

	// Time window (in seconds) contained in each manifest.
	ManifestWindowSeconds *int64 `locationName:"manifestWindowSeconds" type:"integer"`

	// Minimum duration (in seconds) that a player will buffer media before starting
	// the presentation.
	MinBufferTimeSeconds *int64 `locationName:"minBufferTimeSeconds" type:"integer"`

	// Minimum duration (in seconds) between potential changes to the Dynamic Adaptive
	// Streaming over HTTP (DASH) Media Presentation Description (MPD).
	MinUpdatePeriodSeconds *int64 `locationName:"minUpdatePeriodSeconds" type:"integer"`

	// A list of triggers that controls when the outgoing Dynamic Adaptive Streaming
	// over HTTP (DASH)Media Presentation Description (MPD) will be partitioned
	// into multiple periods. If empty, the content will notbe partitioned into
	// more than one period. If the list contains "ADS", new periods will be created
	// wherethe Channel source contains SCTE-35 ad markers.
	PeriodTriggers []PeriodTriggersElement `locationName:"periodTriggers" type:"list"`

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

	// Duration (in seconds) of each segment. Actual segments will berounded to
	// the nearest multiple of the source segment duration.
	SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"`

	// Determines the type of SegmentTemplate included in the Media Presentation
	// Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented
	// in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE,
	// a full timeline is presented in each SegmentTemplate, with $Time$ media URLs.
	// When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate,
	// with $Number$ media URLs.
	SegmentTemplateFormat SegmentTemplateFormat `locationName:"segmentTemplateFormat" type:"string" enum:"true"`

	// A StreamSelection configuration.
	StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"`

	// Duration (in seconds) to delay live content before presentation.
	SuggestedPresentationDelaySeconds *int64 `locationName:"suggestedPresentationDelaySeconds" type:"integer"`
	// contains filtered or unexported fields
}

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

func (DashPackage) MarshalFields added in v0.3.0

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 DeleteChannelInput

type DeleteChannelInput struct {

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

func (DeleteChannelInput) MarshalFields added in v0.3.0

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

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

func (DeleteChannelInput) String

func (s DeleteChannelInput) String() string

String returns the string representation

func (*DeleteChannelInput) Validate

func (s *DeleteChannelInput) Validate() error

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

type DeleteChannelOutput

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

func (DeleteChannelOutput) MarshalFields added in v0.3.0

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

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

func (DeleteChannelOutput) String

func (s DeleteChannelOutput) String() string

String returns the string representation

type DeleteChannelRequest

type DeleteChannelRequest struct {
	*aws.Request
	Input *DeleteChannelInput
	Copy  func(*DeleteChannelInput) DeleteChannelRequest
}

DeleteChannelRequest is the request type for the DeleteChannel API operation.

func (DeleteChannelRequest) Send

Send marshals and sends the DeleteChannel API request.

type DeleteChannelResponse added in v0.9.0

type DeleteChannelResponse struct {
	*DeleteChannelOutput
	// contains filtered or unexported fields
}

DeleteChannelResponse is the response type for the DeleteChannel API operation.

func (*DeleteChannelResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteChannel request.

type DeleteOriginEndpointInput

type DeleteOriginEndpointInput struct {

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

func (DeleteOriginEndpointInput) MarshalFields added in v0.3.0

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

func (DeleteOriginEndpointInput) String

func (s DeleteOriginEndpointInput) String() string

String returns the string representation

func (*DeleteOriginEndpointInput) Validate

func (s *DeleteOriginEndpointInput) Validate() error

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

type DeleteOriginEndpointOutput

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

func (DeleteOriginEndpointOutput) MarshalFields added in v0.3.0

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

func (DeleteOriginEndpointOutput) String

String returns the string representation

type DeleteOriginEndpointRequest

type DeleteOriginEndpointRequest struct {
	*aws.Request
	Input *DeleteOriginEndpointInput
	Copy  func(*DeleteOriginEndpointInput) DeleteOriginEndpointRequest
}

DeleteOriginEndpointRequest is the request type for the DeleteOriginEndpoint API operation.

func (DeleteOriginEndpointRequest) Send

Send marshals and sends the DeleteOriginEndpoint API request.

type DeleteOriginEndpointResponse added in v0.9.0

type DeleteOriginEndpointResponse struct {
	*DeleteOriginEndpointOutput
	// contains filtered or unexported fields
}

DeleteOriginEndpointResponse is the response type for the DeleteOriginEndpoint API operation.

func (*DeleteOriginEndpointResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteOriginEndpoint request.

type DescribeChannelInput

type DescribeChannelInput struct {

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

func (DescribeChannelInput) MarshalFields added in v0.3.0

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

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

func (DescribeChannelInput) String

func (s DescribeChannelInput) String() string

String returns the string representation

func (*DescribeChannelInput) Validate

func (s *DescribeChannelInput) Validate() error

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

type DescribeChannelOutput

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

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

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

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

func (DescribeChannelOutput) MarshalFields added in v0.3.0

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

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

func (DescribeChannelOutput) String

func (s DescribeChannelOutput) String() string

String returns the string representation

type DescribeChannelRequest

type DescribeChannelRequest struct {
	*aws.Request
	Input *DescribeChannelInput
	Copy  func(*DescribeChannelInput) DescribeChannelRequest
}

DescribeChannelRequest is the request type for the DescribeChannel API operation.

func (DescribeChannelRequest) Send

Send marshals and sends the DescribeChannel API request.

type DescribeChannelResponse added in v0.9.0

type DescribeChannelResponse struct {
	*DescribeChannelOutput
	// contains filtered or unexported fields
}

DescribeChannelResponse is the response type for the DescribeChannel API operation.

func (*DescribeChannelResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeChannel request.

type DescribeHarvestJobInput added in v0.14.0

type DescribeHarvestJobInput struct {

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

func (DescribeHarvestJobInput) MarshalFields added in v0.14.0

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

func (DescribeHarvestJobInput) String added in v0.14.0

func (s DescribeHarvestJobInput) String() string

String returns the string representation

func (*DescribeHarvestJobInput) Validate added in v0.14.0

func (s *DescribeHarvestJobInput) Validate() error

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

type DescribeHarvestJobOutput added in v0.14.0

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

	ChannelId *string `locationName:"channelId" type:"string"`

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

	EndTime *string `locationName:"endTime" type:"string"`

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

	OriginEndpointId *string `locationName:"originEndpointId" type:"string"`

	// Configuration parameters for where in an S3 bucket to place the harvested
	// content
	S3Destination *S3Destination `locationName:"s3Destination" type:"structure"`

	StartTime *string `locationName:"startTime" type:"string"`

	Status Status `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (DescribeHarvestJobOutput) MarshalFields added in v0.14.0

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

func (DescribeHarvestJobOutput) String added in v0.14.0

func (s DescribeHarvestJobOutput) String() string

String returns the string representation

type DescribeHarvestJobRequest added in v0.14.0

type DescribeHarvestJobRequest struct {
	*aws.Request
	Input *DescribeHarvestJobInput
	Copy  func(*DescribeHarvestJobInput) DescribeHarvestJobRequest
}

DescribeHarvestJobRequest is the request type for the DescribeHarvestJob API operation.

func (DescribeHarvestJobRequest) Send added in v0.14.0

Send marshals and sends the DescribeHarvestJob API request.

type DescribeHarvestJobResponse added in v0.14.0

type DescribeHarvestJobResponse struct {
	*DescribeHarvestJobOutput
	// contains filtered or unexported fields
}

DescribeHarvestJobResponse is the response type for the DescribeHarvestJob API operation.

func (*DescribeHarvestJobResponse) SDKResponseMetdata added in v0.14.0

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

SDKResponseMetdata returns the response metadata for the DescribeHarvestJob request.

type DescribeOriginEndpointInput

type DescribeOriginEndpointInput struct {

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

func (DescribeOriginEndpointInput) MarshalFields added in v0.3.0

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

func (DescribeOriginEndpointInput) String

String returns the string representation

func (*DescribeOriginEndpointInput) Validate

func (s *DescribeOriginEndpointInput) Validate() error

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

type DescribeOriginEndpointOutput

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

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

	ChannelId *string `locationName:"channelId" type:"string"`

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

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

	Description *string `locationName:"description" type:"string"`

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

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

	ManifestName *string `locationName:"manifestName" type:"string"`

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

	Origination Origination `locationName:"origination" type:"string" enum:"true"`

	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	// A collection of tags associated with a resource
	Tags map[string]string `locationName:"tags" type:"map"`

	TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"`

	Url *string `locationName:"url" type:"string"`

	Whitelist []string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeOriginEndpointOutput) MarshalFields added in v0.3.0

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

func (DescribeOriginEndpointOutput) String

String returns the string representation

type DescribeOriginEndpointRequest

type DescribeOriginEndpointRequest struct {
	*aws.Request
	Input *DescribeOriginEndpointInput
	Copy  func(*DescribeOriginEndpointInput) DescribeOriginEndpointRequest
}

DescribeOriginEndpointRequest is the request type for the DescribeOriginEndpoint API operation.

func (DescribeOriginEndpointRequest) Send

Send marshals and sends the DescribeOriginEndpoint API request.

type DescribeOriginEndpointResponse added in v0.9.0

type DescribeOriginEndpointResponse struct {
	*DescribeOriginEndpointOutput
	// contains filtered or unexported fields
}

DescribeOriginEndpointResponse is the response type for the DescribeOriginEndpoint API operation.

func (*DescribeOriginEndpointResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DescribeOriginEndpoint request.

type EncryptionMethod

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

Enum values for EncryptionMethod

func (EncryptionMethod) MarshalValue added in v0.3.0

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

func (EncryptionMethod) MarshalValueBuf added in v0.3.0

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

type HarvestJob added in v0.14.0

type HarvestJob struct {

	// The Amazon Resource Name (ARN) assigned to the HarvestJob.
	Arn *string `locationName:"arn" type:"string"`

	// The ID of the Channel that the HarvestJob will harvest from.
	ChannelId *string `locationName:"channelId" type:"string"`

	// The time the HarvestJob was submitted
	CreatedAt *string `locationName:"createdAt" type:"string"`

	// The end of the time-window which will be harvested.
	EndTime *string `locationName:"endTime" type:"string"`

	// The ID of the HarvestJob. The ID must be unique within the regionand it cannot
	// be changed after the HarvestJob is submitted.
	Id *string `locationName:"id" type:"string"`

	// The ID of the OriginEndpoint that the HarvestJob will harvest from.This cannot
	// be changed after the HarvestJob is submitted.
	OriginEndpointId *string `locationName:"originEndpointId" type:"string"`

	// Configuration parameters for where in an S3 bucket to place the harvested
	// content
	S3Destination *S3Destination `locationName:"s3Destination" type:"structure"`

	// The start of the time-window which will be harvested.
	StartTime *string `locationName:"startTime" type:"string"`

	// The current status of the HarvestJob. Consider setting up a CloudWatch Event
	// to listen forHarvestJobs as they succeed or fail. In the event of failure,
	// the CloudWatch Event willinclude an explanation of why the HarvestJob failed.
	Status Status `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

A HarvestJob resource configuration

func (HarvestJob) MarshalFields added in v0.14.0

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

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

func (HarvestJob) String added in v0.14.0

func (s HarvestJob) String() string

String returns the string representation

type HlsEncryption

type HlsEncryption struct {

	// A constant initialization vector for encryption (optional).When not specified
	// the initialization vector will be periodically rotated.
	ConstantInitializationVector *string `locationName:"constantInitializationVector" type:"string"`

	// The encryption method to use.
	EncryptionMethod EncryptionMethod `locationName:"encryptionMethod" type:"string" enum:"true"`

	// Interval (in seconds) between each encryption key rotation.
	KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"`

	// When enabled, the EXT-X-KEY tag will be repeated in output manifests.
	RepeatExtXKey *bool `locationName:"repeatExtXKey" type:"boolean"`

	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	//
	// SpekeKeyProvider is a required field
	SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

An HTTP Live Streaming (HLS) encryption configuration.

func (HlsEncryption) MarshalFields added in v0.3.0

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 HlsIngest

type HlsIngest struct {

	// A list of endpoints to which the source stream should be sent.
	IngestEndpoints []IngestEndpoint `locationName:"ingestEndpoints" type:"list"`
	// contains filtered or unexported fields
}

An HTTP Live Streaming (HLS) ingest resource configuration.

func (HlsIngest) MarshalFields added in v0.3.0

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

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

func (HlsIngest) String

func (s HlsIngest) String() string

String returns the string representation

type HlsManifest added in v0.4.0

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

	// The ID of the manifest. The ID must be unique within the OriginEndpoint and
	// it cannot be changed after it is created.
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// When enabled, an I-Frame only stream will be included in the output.
	IncludeIframeOnlyStream *bool `locationName:"includeIframeOnlyStream" type:"boolean"`

	// An optional short string appended to the end of the OriginEndpoint URL. If
	// not specified, defaults to the manifestName for the OriginEndpoint.
	ManifestName *string `locationName:"manifestName" type:"string"`

	// The HTTP Live Streaming (HLS) playlist type.When either "EVENT" or "VOD"
	// is specified, a corresponding EXT-X-PLAYLIST-TYPEentry will be included in
	// the media playlist.
	PlaylistType PlaylistType `locationName:"playlistType" type:"string" enum:"true"`

	// Time window (in seconds) contained in each parent manifest.
	PlaylistWindowSeconds *int64 `locationName:"playlistWindowSeconds" type:"integer"`

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

	// The URL of the packaged OriginEndpoint for consumption.
	Url *string `locationName:"url" type:"string"`
	// contains filtered or unexported fields
}

A HTTP Live Streaming (HLS) manifest configuration.

func (HlsManifest) MarshalFields added in v0.4.0

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

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

func (HlsManifest) String added in v0.4.0

func (s HlsManifest) String() string

String returns the string representation

type HlsManifestCreateOrUpdateParameters added in v0.4.0

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

	// A list of SCTE-35 message types that are treated as ad markers in the output.
	// If empty, noad markers are output. Specify multiple items to create ad markers
	// for all of the includedmessage types.
	AdTriggers []AdTriggersElement `locationName:"adTriggers" type:"list"`

	// This setting allows the delivery restriction flags on SCTE-35 segmentation
	// descriptors todetermine whether a message signals an ad. Choosing "NONE"
	// means no SCTE-35 messages becomeads. Choosing "RESTRICTED" means SCTE-35
	// messages of the types specified in AdTriggers thatcontain delivery restrictions
	// will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35messages of
	// the types specified in AdTriggers that do not contain delivery restrictions
	// willbe treated as ads. Choosing "BOTH" means all SCTE-35 messages of the
	// types specified inAdTriggers will be treated as ads. Note that Splice Insert
	// messages do not have these flagsand are always treated as ads if specified
	// in AdTriggers.
	AdsOnDeliveryRestrictions AdsOnDeliveryRestrictions `locationName:"adsOnDeliveryRestrictions" type:"string" enum:"true"`

	// The ID of the manifest. The ID must be unique within the OriginEndpoint and
	// it cannot be changed after it is created.
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// When enabled, an I-Frame only stream will be included in the output.
	IncludeIframeOnlyStream *bool `locationName:"includeIframeOnlyStream" type:"boolean"`

	// An optional short string appended to the end of the OriginEndpoint URL. If
	// not specified, defaults to the manifestName for the OriginEndpoint.
	ManifestName *string `locationName:"manifestName" type:"string"`

	// The HTTP Live Streaming (HLS) playlist type.When either "EVENT" or "VOD"
	// is specified, a corresponding EXT-X-PLAYLIST-TYPEentry will be included in
	// the media playlist.
	PlaylistType PlaylistType `locationName:"playlistType" type:"string" enum:"true"`

	// Time window (in seconds) contained in each parent manifest.
	PlaylistWindowSeconds *int64 `locationName:"playlistWindowSeconds" type:"integer"`

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

A HTTP Live Streaming (HLS) manifest configuration.

func (HlsManifestCreateOrUpdateParameters) MarshalFields added in v0.4.0

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

func (HlsManifestCreateOrUpdateParameters) String added in v0.4.0

String returns the string representation

func (*HlsManifestCreateOrUpdateParameters) Validate added in v0.4.0

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

type HlsPackage

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

	// A list of SCTE-35 message types that are treated as ad markers in the output.
	// If empty, noad markers are output. Specify multiple items to create ad markers
	// for all of the includedmessage types.
	AdTriggers []AdTriggersElement `locationName:"adTriggers" type:"list"`

	// This setting allows the delivery restriction flags on SCTE-35 segmentation
	// descriptors todetermine whether a message signals an ad. Choosing "NONE"
	// means no SCTE-35 messages becomeads. Choosing "RESTRICTED" means SCTE-35
	// messages of the types specified in AdTriggers thatcontain delivery restrictions
	// will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35messages of
	// the types specified in AdTriggers that do not contain delivery restrictions
	// willbe treated as ads. Choosing "BOTH" means all SCTE-35 messages of the
	// types specified inAdTriggers will be treated as ads. Note that Splice Insert
	// messages do not have these flagsand are always treated as ads if specified
	// in AdTriggers.
	AdsOnDeliveryRestrictions AdsOnDeliveryRestrictions `locationName:"adsOnDeliveryRestrictions" type:"string" enum:"true"`

	// An HTTP Live Streaming (HLS) encryption configuration.
	Encryption *HlsEncryption `locationName:"encryption" type:"structure"`

	// When enabled, an I-Frame only stream will be included in the output.
	IncludeIframeOnlyStream *bool `locationName:"includeIframeOnlyStream" type:"boolean"`

	// The HTTP Live Streaming (HLS) playlist type.When either "EVENT" or "VOD"
	// is specified, a corresponding EXT-X-PLAYLIST-TYPEentry will be included in
	// the media playlist.
	PlaylistType PlaylistType `locationName:"playlistType" type:"string" enum:"true"`

	// Time window (in seconds) contained in each parent manifest.
	PlaylistWindowSeconds *int64 `locationName:"playlistWindowSeconds" type:"integer"`

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

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

	// A StreamSelection configuration.
	StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"`

	// When enabled, audio streams will be placed in rendition groups in the output.
	UseAudioRenditionGroup *bool `locationName:"useAudioRenditionGroup" type:"boolean"`
	// contains filtered or unexported fields
}

An HTTP Live Streaming (HLS) packaging configuration.

func (HlsPackage) MarshalFields added in v0.3.0

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 IngestEndpoint

type IngestEndpoint struct {

	// The system generated unique identifier for the IngestEndpoint
	Id *string `locationName:"id" type:"string"`

	// The system generated password for ingest authentication.
	Password *string `locationName:"password" type:"string"`

	// The ingest URL to which the source stream should be sent.
	Url *string `locationName:"url" type:"string"`

	// The system generated username for ingest authentication.
	Username *string `locationName:"username" type:"string"`
	// contains filtered or unexported fields
}

An endpoint for ingesting source content for a Channel.

func (IngestEndpoint) MarshalFields added in v0.3.0

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

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

func (IngestEndpoint) String

func (s IngestEndpoint) String() string

String returns the string representation

type ListChannelsInput

type ListChannelsInput struct {
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListChannelsInput) MarshalFields added in v0.3.0

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

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

func (ListChannelsInput) String

func (s ListChannelsInput) String() string

String returns the string representation

func (*ListChannelsInput) Validate

func (s *ListChannelsInput) Validate() error

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

type ListChannelsOutput

type ListChannelsOutput struct {
	Channels []Channel `locationName:"channels" type:"list"`

	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListChannelsOutput) MarshalFields added in v0.3.0

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

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

func (ListChannelsOutput) String

func (s ListChannelsOutput) String() string

String returns the string representation

type ListChannelsPaginator added in v0.9.0

type ListChannelsPaginator struct {
	aws.Pager
}

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

func NewListChannelsPaginator added in v0.9.0

func NewListChannelsPaginator(req ListChannelsRequest) ListChannelsPaginator

NewListChannelsRequestPaginator returns a paginator for ListChannels. 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.ListChannelsRequest(input)
p := mediapackage.NewListChannelsRequestPaginator(req)

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

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

func (*ListChannelsPaginator) CurrentPage added in v0.9.0

func (p *ListChannelsPaginator) CurrentPage() *ListChannelsOutput

type ListChannelsRequest

type ListChannelsRequest struct {
	*aws.Request
	Input *ListChannelsInput
	Copy  func(*ListChannelsInput) ListChannelsRequest
}

ListChannelsRequest is the request type for the ListChannels API operation.

func (ListChannelsRequest) Send

Send marshals and sends the ListChannels API request.

type ListChannelsResponse added in v0.9.0

type ListChannelsResponse struct {
	*ListChannelsOutput
	// contains filtered or unexported fields
}

ListChannelsResponse is the response type for the ListChannels API operation.

func (*ListChannelsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListChannels request.

type ListHarvestJobsInput added in v0.14.0

type ListHarvestJobsInput struct {
	IncludeChannelId *string `location:"querystring" locationName:"includeChannelId" type:"string"`

	IncludeStatus *string `location:"querystring" locationName:"includeStatus" type:"string"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListHarvestJobsInput) MarshalFields added in v0.14.0

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

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

func (ListHarvestJobsInput) String added in v0.14.0

func (s ListHarvestJobsInput) String() string

String returns the string representation

func (*ListHarvestJobsInput) Validate added in v0.14.0

func (s *ListHarvestJobsInput) Validate() error

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

type ListHarvestJobsOutput added in v0.14.0

type ListHarvestJobsOutput struct {
	HarvestJobs []HarvestJob `locationName:"harvestJobs" type:"list"`

	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListHarvestJobsOutput) MarshalFields added in v0.14.0

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

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

func (ListHarvestJobsOutput) String added in v0.14.0

func (s ListHarvestJobsOutput) String() string

String returns the string representation

type ListHarvestJobsPaginator added in v0.14.0

type ListHarvestJobsPaginator struct {
	aws.Pager
}

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

func NewListHarvestJobsPaginator added in v0.14.0

func NewListHarvestJobsPaginator(req ListHarvestJobsRequest) ListHarvestJobsPaginator

NewListHarvestJobsRequestPaginator returns a paginator for ListHarvestJobs. 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.ListHarvestJobsRequest(input)
p := mediapackage.NewListHarvestJobsRequestPaginator(req)

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

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

func (*ListHarvestJobsPaginator) CurrentPage added in v0.14.0

type ListHarvestJobsRequest added in v0.14.0

type ListHarvestJobsRequest struct {
	*aws.Request
	Input *ListHarvestJobsInput
	Copy  func(*ListHarvestJobsInput) ListHarvestJobsRequest
}

ListHarvestJobsRequest is the request type for the ListHarvestJobs API operation.

func (ListHarvestJobsRequest) Send added in v0.14.0

Send marshals and sends the ListHarvestJobs API request.

type ListHarvestJobsResponse added in v0.14.0

type ListHarvestJobsResponse struct {
	*ListHarvestJobsOutput
	// contains filtered or unexported fields
}

ListHarvestJobsResponse is the response type for the ListHarvestJobs API operation.

func (*ListHarvestJobsResponse) SDKResponseMetdata added in v0.14.0

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

SDKResponseMetdata returns the response metadata for the ListHarvestJobs request.

type ListOriginEndpointsInput

type ListOriginEndpointsInput struct {
	ChannelId *string `location:"querystring" locationName:"channelId" type:"string"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListOriginEndpointsInput) MarshalFields added in v0.3.0

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

func (ListOriginEndpointsInput) String

func (s ListOriginEndpointsInput) String() string

String returns the string representation

func (*ListOriginEndpointsInput) Validate

func (s *ListOriginEndpointsInput) Validate() error

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

type ListOriginEndpointsOutput

type ListOriginEndpointsOutput struct {
	NextToken *string `locationName:"nextToken" type:"string"`

	OriginEndpoints []OriginEndpoint `locationName:"originEndpoints" type:"list"`
	// contains filtered or unexported fields
}

func (ListOriginEndpointsOutput) MarshalFields added in v0.3.0

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

func (ListOriginEndpointsOutput) String

func (s ListOriginEndpointsOutput) String() string

String returns the string representation

type ListOriginEndpointsPaginator added in v0.9.0

type ListOriginEndpointsPaginator struct {
	aws.Pager
}

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

func NewListOriginEndpointsPaginator added in v0.9.0

func NewListOriginEndpointsPaginator(req ListOriginEndpointsRequest) ListOriginEndpointsPaginator

NewListOriginEndpointsRequestPaginator returns a paginator for ListOriginEndpoints. 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.ListOriginEndpointsRequest(input)
p := mediapackage.NewListOriginEndpointsRequestPaginator(req)

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

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

func (*ListOriginEndpointsPaginator) CurrentPage added in v0.9.0

type ListOriginEndpointsRequest

type ListOriginEndpointsRequest struct {
	*aws.Request
	Input *ListOriginEndpointsInput
	Copy  func(*ListOriginEndpointsInput) ListOriginEndpointsRequest
}

ListOriginEndpointsRequest is the request type for the ListOriginEndpoints API operation.

func (ListOriginEndpointsRequest) Send

Send marshals and sends the ListOriginEndpoints API request.

type ListOriginEndpointsResponse added in v0.9.0

type ListOriginEndpointsResponse struct {
	*ListOriginEndpointsOutput
	// contains filtered or unexported fields
}

ListOriginEndpointsResponse is the response type for the ListOriginEndpoints API operation.

func (*ListOriginEndpointsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListOriginEndpoints request.

type ListTagsForResourceInput added in v0.8.0

type ListTagsForResourceInput struct {

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

func (ListTagsForResourceInput) MarshalFields added in v0.8.0

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

func (ListTagsForResourceInput) String added in v0.8.0

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v0.8.0

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v0.8.0

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

func (ListTagsForResourceOutput) MarshalFields added in v0.8.0

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

func (ListTagsForResourceOutput) String added in v0.8.0

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest added in v0.8.0

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send added in v0.8.0

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse added in v0.9.0

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type ManifestLayout added in v0.8.0

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

Enum values for ManifestLayout

func (ManifestLayout) MarshalValue added in v0.8.0

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

func (ManifestLayout) MarshalValueBuf added in v0.8.0

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

type MssEncryption

type MssEncryption struct {

	// A configuration for accessing an external Secure Packager and Encoder Key
	// Exchange (SPEKE) service that will provide encryption keys.
	//
	// SpekeKeyProvider is a required field
	SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A Microsoft Smooth Streaming (MSS) encryption configuration.

func (MssEncryption) MarshalFields added in v0.3.0

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 MssPackage

type MssPackage struct {

	// A Microsoft Smooth Streaming (MSS) encryption configuration.
	Encryption *MssEncryption `locationName:"encryption" type:"structure"`

	// The time window (in seconds) contained in each manifest.
	ManifestWindowSeconds *int64 `locationName:"manifestWindowSeconds" type:"integer"`

	// The duration (in seconds) of each segment.
	SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"`

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

A Microsoft Smooth Streaming (MSS) packaging configuration.

func (MssPackage) MarshalFields added in v0.3.0

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 OriginEndpoint

type OriginEndpoint struct {

	// The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
	Arn *string `locationName:"arn" type:"string"`

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

	// The ID of the Channel the OriginEndpoint is associated with.
	ChannelId *string `locationName:"channelId" type:"string"`

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

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

	// A short text description of the OriginEndpoint.
	Description *string `locationName:"description" type:"string"`

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

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

	// A short string appended to the end of the OriginEndpoint URL.
	ManifestName *string `locationName:"manifestName" type:"string"`

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

	// Control whether origination of video is allowed for this OriginEndpoint.
	// If set to ALLOW, the OriginEndpointmay by requested, pursuant to any other
	// form of access control. If set to DENY, the OriginEndpoint may not berequested.
	// This can be helpful for Live to VOD harvesting, or for temporarily disabling
	// origination
	Origination Origination `locationName:"origination" type:"string" enum:"true"`

	// Maximum duration (seconds) of content to retain for startover playback.If
	// not specified, startover playback will be disabled for the OriginEndpoint.
	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	// A collection of tags associated with a resource
	Tags map[string]string `locationName:"tags" type:"map"`

	// 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 *int64 `locationName:"timeDelaySeconds" type:"integer"`

	// The URL of the packaged OriginEndpoint for consumption.
	Url *string `locationName:"url" type:"string"`

	// A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
	Whitelist []string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

An OriginEndpoint resource configuration.

func (OriginEndpoint) MarshalFields added in v0.3.0

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

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

func (OriginEndpoint) String

func (s OriginEndpoint) String() string

String returns the string representation

type Origination added in v0.14.0

type Origination string
const (
	OriginationAllow Origination = "ALLOW"
	OriginationDeny  Origination = "DENY"
)

Enum values for Origination

func (Origination) MarshalValue added in v0.14.0

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

func (Origination) MarshalValueBuf added in v0.14.0

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

type PeriodTriggersElement added in v0.19.0

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

Enum values for PeriodTriggersElement

func (PeriodTriggersElement) MarshalValue added in v0.19.0

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

func (PeriodTriggersElement) MarshalValueBuf added in v0.19.0

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

type PlaylistType

type PlaylistType string
const (
	PlaylistTypeNone  PlaylistType = "NONE"
	PlaylistTypeEvent PlaylistType = "EVENT"
	PlaylistTypeVod   PlaylistType = "VOD"
)

Enum values for PlaylistType

func (PlaylistType) MarshalValue added in v0.3.0

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

func (PlaylistType) MarshalValueBuf added in v0.3.0

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

type Profile

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

Enum values for Profile

func (Profile) MarshalValue added in v0.3.0

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

func (Profile) MarshalValueBuf added in v0.3.0

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

type RotateChannelCredentialsInput

type RotateChannelCredentialsInput struct {

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

func (RotateChannelCredentialsInput) MarshalFields added in v0.3.0

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

func (RotateChannelCredentialsInput) String

String returns the string representation

func (*RotateChannelCredentialsInput) Validate

func (s *RotateChannelCredentialsInput) Validate() error

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

type RotateChannelCredentialsOutput

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

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

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

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

func (RotateChannelCredentialsOutput) MarshalFields added in v0.3.0

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

func (RotateChannelCredentialsOutput) String

String returns the string representation

type RotateChannelCredentialsRequest

type RotateChannelCredentialsRequest struct {
	*aws.Request
	Input *RotateChannelCredentialsInput
	Copy  func(*RotateChannelCredentialsInput) RotateChannelCredentialsRequest
}

RotateChannelCredentialsRequest is the request type for the RotateChannelCredentials API operation.

func (RotateChannelCredentialsRequest) Send

Send marshals and sends the RotateChannelCredentials API request.

type RotateChannelCredentialsResponse added in v0.9.0

type RotateChannelCredentialsResponse struct {
	*RotateChannelCredentialsOutput
	// contains filtered or unexported fields
}

RotateChannelCredentialsResponse is the response type for the RotateChannelCredentials API operation.

func (*RotateChannelCredentialsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the RotateChannelCredentials request.

type RotateIngestEndpointCredentialsInput added in v0.5.0

type RotateIngestEndpointCredentialsInput struct {

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

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

func (RotateIngestEndpointCredentialsInput) MarshalFields added in v0.5.0

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

func (RotateIngestEndpointCredentialsInput) String added in v0.5.0

String returns the string representation

func (*RotateIngestEndpointCredentialsInput) Validate added in v0.5.0

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

type RotateIngestEndpointCredentialsOutput added in v0.5.0

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

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

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

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

func (RotateIngestEndpointCredentialsOutput) MarshalFields added in v0.5.0

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

func (RotateIngestEndpointCredentialsOutput) String added in v0.5.0

String returns the string representation

type RotateIngestEndpointCredentialsRequest added in v0.5.0

type RotateIngestEndpointCredentialsRequest struct {
	*aws.Request
	Input *RotateIngestEndpointCredentialsInput
	Copy  func(*RotateIngestEndpointCredentialsInput) RotateIngestEndpointCredentialsRequest
}

RotateIngestEndpointCredentialsRequest is the request type for the RotateIngestEndpointCredentials API operation.

func (RotateIngestEndpointCredentialsRequest) Send added in v0.5.0

Send marshals and sends the RotateIngestEndpointCredentials API request.

type RotateIngestEndpointCredentialsResponse added in v0.9.0

type RotateIngestEndpointCredentialsResponse struct {
	*RotateIngestEndpointCredentialsOutput
	// contains filtered or unexported fields
}

RotateIngestEndpointCredentialsResponse is the response type for the RotateIngestEndpointCredentials API operation.

func (*RotateIngestEndpointCredentialsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the RotateIngestEndpointCredentials request.

type S3Destination added in v0.14.0

type S3Destination struct {

	// The name of an S3 bucket within which harvested content will be exported
	//
	// BucketName is a required field
	BucketName *string `locationName:"bucketName" type:"string" required:"true"`

	// The key in the specified S3 bucket where the harvested top-level manifest
	// will be placed.
	//
	// ManifestKey is a required field
	ManifestKey *string `locationName:"manifestKey" type:"string" required:"true"`

	// The IAM role used to write to the specified S3 bucket
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Configuration parameters for where in an S3 bucket to place the harvested content

func (S3Destination) MarshalFields added in v0.14.0

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

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

func (S3Destination) String added in v0.14.0

func (s S3Destination) String() string

String returns the string representation

func (*S3Destination) Validate added in v0.14.0

func (s *S3Destination) Validate() error

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

type SegmentTemplateFormat added in v0.8.0

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

Enum values for SegmentTemplateFormat

func (SegmentTemplateFormat) MarshalValue added in v0.8.0

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

func (SegmentTemplateFormat) MarshalValueBuf added in v0.8.0

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

type SpekeKeyProvider

type SpekeKeyProvider struct {

	// An Amazon Resource Name (ARN) of a Certificate Manager certificatethat MediaPackage
	// will use for enforcing secure end-to-end datatransfer with the key provider
	// service.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The resource ID to include in key requests.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

	// An Amazon Resource Name (ARN) of an IAM role that AWS ElementalMediaPackage
	// will assume when accessing the key provider service.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// The system IDs to include in key requests.
	//
	// SystemIds is a required field
	SystemIds []string `locationName:"systemIds" type:"list" required:"true"`

	// The URL of the external key provider service.
	//
	// Url is a required field
	Url *string `locationName:"url" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.

func (SpekeKeyProvider) MarshalFields added in v0.3.0

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 Status added in v0.14.0

type Status string
const (
	StatusInProgress Status = "IN_PROGRESS"
	StatusSucceeded  Status = "SUCCEEDED"
	StatusFailed     Status = "FAILED"
)

Enum values for Status

func (Status) MarshalValue added in v0.14.0

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

func (Status) MarshalValueBuf added in v0.14.0

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

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 added in v0.3.0

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

func (StreamOrder) MarshalValueBuf added in v0.3.0

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

type StreamSelection

type StreamSelection struct {

	// The maximum video bitrate (bps) to include in output.
	MaxVideoBitsPerSecond *int64 `locationName:"maxVideoBitsPerSecond" type:"integer"`

	// The minimum video bitrate (bps) to include in output.
	MinVideoBitsPerSecond *int64 `locationName:"minVideoBitsPerSecond" type:"integer"`

	// A directive that determines the order of streams in the output.
	StreamOrder StreamOrder `locationName:"streamOrder" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

A StreamSelection configuration.

func (StreamSelection) MarshalFields added in v0.3.0

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

type TagResourceInput added in v0.8.0

type TagResourceInput struct {

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

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

func (TagResourceInput) MarshalFields added in v0.8.0

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

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

func (TagResourceInput) String added in v0.8.0

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v0.8.0

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v0.8.0

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

func (TagResourceOutput) MarshalFields added in v0.8.0

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

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

func (TagResourceOutput) String added in v0.8.0

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest added in v0.8.0

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send added in v0.8.0

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.9.0

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

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the TagResource request.

type UntagResourceInput added in v0.8.0

type UntagResourceInput struct {

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

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

func (UntagResourceInput) MarshalFields added in v0.8.0

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

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

func (UntagResourceInput) String added in v0.8.0

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v0.8.0

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v0.8.0

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

func (UntagResourceOutput) MarshalFields added in v0.8.0

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

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

func (UntagResourceOutput) String added in v0.8.0

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest added in v0.8.0

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send added in v0.8.0

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.9.0

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

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateChannelInput

type UpdateChannelInput struct {
	Description *string `locationName:"description" type:"string"`

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

func (UpdateChannelInput) MarshalFields added in v0.3.0

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

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

func (UpdateChannelInput) String

func (s UpdateChannelInput) String() string

String returns the string representation

func (*UpdateChannelInput) Validate

func (s *UpdateChannelInput) Validate() error

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

type UpdateChannelOutput

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

	Description *string `locationName:"description" type:"string"`

	// An HTTP Live Streaming (HLS) ingest resource configuration.
	HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"`

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

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

func (UpdateChannelOutput) MarshalFields added in v0.3.0

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

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

func (UpdateChannelOutput) String

func (s UpdateChannelOutput) String() string

String returns the string representation

type UpdateChannelRequest

type UpdateChannelRequest struct {
	*aws.Request
	Input *UpdateChannelInput
	Copy  func(*UpdateChannelInput) UpdateChannelRequest
}

UpdateChannelRequest is the request type for the UpdateChannel API operation.

func (UpdateChannelRequest) Send

Send marshals and sends the UpdateChannel API request.

type UpdateChannelResponse added in v0.9.0

type UpdateChannelResponse struct {
	*UpdateChannelOutput
	// contains filtered or unexported fields
}

UpdateChannelResponse is the response type for the UpdateChannel API operation.

func (*UpdateChannelResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateChannel request.

type UpdateOriginEndpointInput

type UpdateOriginEndpointInput struct {

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

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackageCreateOrUpdateParameters `locationName:"cmafPackage" type:"structure"`

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

	Description *string `locationName:"description" type:"string"`

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

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

	ManifestName *string `locationName:"manifestName" type:"string"`

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

	Origination Origination `locationName:"origination" type:"string" enum:"true"`

	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"`

	Whitelist []string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateOriginEndpointInput) MarshalFields added in v0.3.0

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

func (UpdateOriginEndpointInput) String

func (s UpdateOriginEndpointInput) String() string

String returns the string representation

func (*UpdateOriginEndpointInput) Validate

func (s *UpdateOriginEndpointInput) Validate() error

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

type UpdateOriginEndpointOutput

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

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

	ChannelId *string `locationName:"channelId" type:"string"`

	// A Common Media Application Format (CMAF) packaging configuration.
	CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"`

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

	Description *string `locationName:"description" type:"string"`

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

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

	ManifestName *string `locationName:"manifestName" type:"string"`

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

	Origination Origination `locationName:"origination" type:"string" enum:"true"`

	StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"`

	// A collection of tags associated with a resource
	Tags map[string]string `locationName:"tags" type:"map"`

	TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"`

	Url *string `locationName:"url" type:"string"`

	Whitelist []string `locationName:"whitelist" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateOriginEndpointOutput) MarshalFields added in v0.3.0

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

func (UpdateOriginEndpointOutput) String

String returns the string representation

type UpdateOriginEndpointRequest

type UpdateOriginEndpointRequest struct {
	*aws.Request
	Input *UpdateOriginEndpointInput
	Copy  func(*UpdateOriginEndpointInput) UpdateOriginEndpointRequest
}

UpdateOriginEndpointRequest is the request type for the UpdateOriginEndpoint API operation.

func (UpdateOriginEndpointRequest) Send

Send marshals and sends the UpdateOriginEndpoint API request.

type UpdateOriginEndpointResponse added in v0.9.0

type UpdateOriginEndpointResponse struct {
	*UpdateOriginEndpointOutput
	// contains filtered or unexported fields
}

UpdateOriginEndpointResponse is the response type for the UpdateOriginEndpoint API operation.

func (*UpdateOriginEndpointResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateOriginEndpoint request.

Directories

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

Jump to

Keyboard shortcuts

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