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
- type AdMarkers
- type AdsOnDeliveryRestrictions
- type Channel
- type Client
- func (c *Client) CreateChannelRequest(input *CreateChannelInput) CreateChannelRequest
- func (c *Client) CreateOriginEndpointRequest(input *CreateOriginEndpointInput) CreateOriginEndpointRequest
- func (c *Client) DeleteChannelRequest(input *DeleteChannelInput) DeleteChannelRequest
- func (c *Client) DeleteOriginEndpointRequest(input *DeleteOriginEndpointInput) DeleteOriginEndpointRequest
- func (c *Client) DescribeChannelRequest(input *DescribeChannelInput) DescribeChannelRequest
- func (c *Client) DescribeOriginEndpointRequest(input *DescribeOriginEndpointInput) DescribeOriginEndpointRequest
- func (c *Client) ListChannelsRequest(input *ListChannelsInput) ListChannelsRequest
- func (c *Client) ListOriginEndpointsRequest(input *ListOriginEndpointsInput) ListOriginEndpointsRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) RotateChannelCredentialsRequest(input *RotateChannelCredentialsInput) RotateChannelCredentialsRequest
- func (c *Client) RotateIngestEndpointCredentialsRequest(input *RotateIngestEndpointCredentialsInput) RotateIngestEndpointCredentialsRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateChannelRequest(input *UpdateChannelInput) UpdateChannelRequest
- func (c *Client) UpdateOriginEndpointRequest(input *UpdateOriginEndpointInput) UpdateOriginEndpointRequest
- type CmafEncryption
- type CmafPackage
- type CmafPackageCreateOrUpdateParameters
- type CreateChannelInput
- type CreateChannelOutput
- type CreateChannelRequest
- type CreateChannelResponse
- type CreateOriginEndpointInput
- type CreateOriginEndpointOutput
- type CreateOriginEndpointRequest
- type CreateOriginEndpointResponse
- type DashEncryption
- type DashPackage
- type DeleteChannelInput
- type DeleteChannelOutput
- type DeleteChannelRequest
- type DeleteChannelResponse
- type DeleteOriginEndpointInput
- type DeleteOriginEndpointOutput
- type DeleteOriginEndpointRequest
- type DeleteOriginEndpointResponse
- type DescribeChannelInput
- type DescribeChannelOutput
- type DescribeChannelRequest
- type DescribeChannelResponse
- type DescribeOriginEndpointInput
- type DescribeOriginEndpointOutput
- type DescribeOriginEndpointRequest
- type DescribeOriginEndpointResponse
- type EncryptionMethod
- type HlsEncryption
- type HlsIngest
- type HlsManifest
- type HlsManifestCreateOrUpdateParameters
- type HlsPackage
- type IngestEndpoint
- type ListChannelsInput
- type ListChannelsOutput
- type ListChannelsPaginator
- type ListChannelsRequest
- type ListChannelsResponse
- type ListOriginEndpointsInput
- type ListOriginEndpointsOutput
- type ListOriginEndpointsPaginator
- type ListOriginEndpointsRequest
- type ListOriginEndpointsResponse
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type ManifestLayout
- type MssEncryption
- type MssPackage
- type OriginEndpoint
- type PlaylistType
- type Profile
- type RotateChannelCredentialsInput
- type RotateChannelCredentialsOutput
- type RotateChannelCredentialsRequest
- type RotateChannelCredentialsResponse
- type RotateIngestEndpointCredentialsInput
- type RotateIngestEndpointCredentialsOutput
- type RotateIngestEndpointCredentialsRequest
- type RotateIngestEndpointCredentialsResponse
- type SegmentTemplateFormat
- type SpekeKeyProvider
- type StreamOrder
- type StreamSelection
- type TagResourceInput
- type TagResourceOutput
- type TagResourceRequest
- type TagResourceResponse
- type UntagResourceInput
- type UntagResourceOutput
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateChannelInput
- type UpdateChannelOutput
- type UpdateChannelRequest
- type UpdateChannelResponse
- type UpdateOriginEndpointInput
- type UpdateOriginEndpointOutput
- type UpdateOriginEndpointRequest
- type UpdateOriginEndpointResponse
Constants ¶
const ( ServiceName = "MediaPackage" // Service's name ServiceID = "MediaPackage" // Service's identifier EndpointsID = "mediapackage" // Service's Endpoint identifier )
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" // "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
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 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.
type Client ¶ added in v0.9.0
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 ¶
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) 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) 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) 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
func (s CmafPackageCreateOrUpdateParameters) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CmafPackageCreateOrUpdateParameters) String ¶ added in v0.4.0
func (s CmafPackageCreateOrUpdateParameters) String() string
String returns the string representation
func (*CmafPackageCreateOrUpdateParameters) Validate ¶ added in v0.4.0
func (s *CmafPackageCreateOrUpdateParameters) Validate() error
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 ¶
func (r CreateChannelRequest) Send(ctx context.Context) (*CreateChannelResponse, error)
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 CreateOriginEndpointInput ¶
type CreateOriginEndpointInput struct { // 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"` 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
func (s CreateOriginEndpointInput) MarshalFields(e protocol.FieldEncoder) error
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"` 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"` 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
func (s CreateOriginEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateOriginEndpointOutput) String ¶
func (s CreateOriginEndpointOutput) String() 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 ¶
func (r CreateOriginEndpointRequest) Send(ctx context.Context) (*CreateOriginEndpointResponse, error)
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 ¶
func (r DeleteChannelRequest) Send(ctx context.Context) (*DeleteChannelResponse, error)
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
func (s DeleteOriginEndpointInput) MarshalFields(e protocol.FieldEncoder) error
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
func (s DeleteOriginEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteOriginEndpointOutput) String ¶
func (s DeleteOriginEndpointOutput) String() 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 ¶
func (r DeleteOriginEndpointRequest) Send(ctx context.Context) (*DeleteOriginEndpointResponse, error)
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 ¶
func (r DescribeChannelRequest) Send(ctx context.Context) (*DescribeChannelResponse, error)
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 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
func (s DescribeOriginEndpointInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeOriginEndpointInput) String ¶
func (s DescribeOriginEndpointInput) String() 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"` 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"` 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
func (s DescribeOriginEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeOriginEndpointOutput) String ¶
func (s DescribeOriginEndpointOutput) String() 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 ¶
func (r DescribeOriginEndpointRequest) Send(ctx context.Context) (*DescribeOriginEndpointResponse, error)
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 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.
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
func (s HlsManifestCreateOrUpdateParameters) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HlsManifestCreateOrUpdateParameters) String ¶ added in v0.4.0
func (s HlsManifestCreateOrUpdateParameters) String() string
String returns the string representation
func (*HlsManifestCreateOrUpdateParameters) Validate ¶ added in v0.4.0
func (s *HlsManifestCreateOrUpdateParameters) Validate() error
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
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 ¶
func (r ListChannelsRequest) Send(ctx context.Context) (*ListChannelsResponse, error)
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 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
func (s ListOriginEndpointsInput) MarshalFields(e protocol.FieldEncoder) error
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
func (s ListOriginEndpointsOutput) MarshalFields(e protocol.FieldEncoder) error
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
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
func (p *ListOriginEndpointsPaginator) CurrentPage() *ListOriginEndpointsOutput
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 ¶
func (r ListOriginEndpointsRequest) Send(ctx context.Context) (*ListOriginEndpointsResponse, error)
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
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
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
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
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
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
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"` // 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"` // 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 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 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
func (s RotateChannelCredentialsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RotateChannelCredentialsInput) String ¶
func (s RotateChannelCredentialsInput) String() 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
func (s RotateChannelCredentialsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RotateChannelCredentialsOutput) String ¶
func (s RotateChannelCredentialsOutput) String() 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 ¶
func (r RotateChannelCredentialsRequest) Send(ctx context.Context) (*RotateChannelCredentialsResponse, error)
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
func (s RotateIngestEndpointCredentialsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RotateIngestEndpointCredentialsInput) String ¶ added in v0.5.0
func (s RotateIngestEndpointCredentialsInput) String() string
String returns the string representation
func (*RotateIngestEndpointCredentialsInput) Validate ¶ added in v0.5.0
func (s *RotateIngestEndpointCredentialsInput) Validate() error
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
func (s RotateIngestEndpointCredentialsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RotateIngestEndpointCredentialsOutput) String ¶ added in v0.5.0
func (s RotateIngestEndpointCredentialsOutput) String() string
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
func (r RotateIngestEndpointCredentialsRequest) Send(ctx context.Context) (*RotateIngestEndpointCredentialsResponse, error)
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 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 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
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
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
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
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 ¶
func (r UpdateChannelRequest) Send(ctx context.Context) (*UpdateChannelResponse, error)
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 { // 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"` 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
func (s UpdateOriginEndpointInput) MarshalFields(e protocol.FieldEncoder) error
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"` 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"` 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
func (s UpdateOriginEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateOriginEndpointOutput) String ¶
func (s UpdateOriginEndpointOutput) String() 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 ¶
func (r UpdateOriginEndpointRequest) Send(ctx context.Context) (*UpdateOriginEndpointResponse, error)
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.
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_CreateChannel.go
- api_op_CreateOriginEndpoint.go
- api_op_DeleteChannel.go
- api_op_DeleteOriginEndpoint.go
- api_op_DescribeChannel.go
- api_op_DescribeOriginEndpoint.go
- api_op_ListChannels.go
- api_op_ListOriginEndpoints.go
- api_op_ListTagsForResource.go
- api_op_RotateChannelCredentials.go
- api_op_RotateIngestEndpointCredentials.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateChannel.go
- api_op_UpdateOriginEndpoint.go
- api_types.go
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. |