package mediapackage
import "github.com/aws/aws-sdk-go-v2/service/mediapackage"
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
- func (enum AdMarkers) MarshalValue() (string, error)
- func (enum AdMarkers) MarshalValueBuf(b []byte) ([]byte, error)
- type AdTriggersElement
- func (enum AdTriggersElement) MarshalValue() (string, error)
- func (enum AdTriggersElement) MarshalValueBuf(b []byte) ([]byte, error)
- type AdsOnDeliveryRestrictions
- func (enum AdsOnDeliveryRestrictions) MarshalValue() (string, error)
- func (enum AdsOnDeliveryRestrictions) MarshalValueBuf(b []byte) ([]byte, error)
- type Authorization
- func (s Authorization) MarshalFields(e protocol.FieldEncoder) error
- func (s Authorization) String() string
- func (s *Authorization) Validate() error
- type Channel
- type Client
- func New(config aws.Config) *Client
- func (c *Client) CreateChannelRequest(input *CreateChannelInput) CreateChannelRequest
- func (c *Client) CreateHarvestJobRequest(input *CreateHarvestJobInput) CreateHarvestJobRequest
- 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) DescribeHarvestJobRequest(input *DescribeHarvestJobInput) DescribeHarvestJobRequest
- func (c *Client) DescribeOriginEndpointRequest(input *DescribeOriginEndpointInput) DescribeOriginEndpointRequest
- func (c *Client) ListChannelsRequest(input *ListChannelsInput) ListChannelsRequest
- func (c *Client) ListHarvestJobsRequest(input *ListHarvestJobsInput) ListHarvestJobsRequest
- 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
- func (s CmafEncryption) MarshalFields(e protocol.FieldEncoder) error
- func (s CmafEncryption) String() string
- func (s *CmafEncryption) Validate() error
- type CmafPackage
- func (s CmafPackage) MarshalFields(e protocol.FieldEncoder) error
- func (s CmafPackage) String() string
- type CmafPackageCreateOrUpdateParameters
- func (s CmafPackageCreateOrUpdateParameters) MarshalFields(e protocol.FieldEncoder) error
- func (s CmafPackageCreateOrUpdateParameters) String() string
- func (s *CmafPackageCreateOrUpdateParameters) Validate() error
- type CreateChannelInput
- func (s CreateChannelInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateChannelInput) String() string
- func (s *CreateChannelInput) Validate() error
- type CreateChannelOutput
- func (s CreateChannelOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateChannelOutput) String() string
- type CreateChannelRequest
- type CreateChannelResponse
- type CreateHarvestJobInput
- func (s CreateHarvestJobInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateHarvestJobInput) String() string
- func (s *CreateHarvestJobInput) Validate() error
- type CreateHarvestJobOutput
- func (s CreateHarvestJobOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateHarvestJobOutput) String() string
- type CreateHarvestJobRequest
- type CreateHarvestJobResponse
- type CreateOriginEndpointInput
- func (s CreateOriginEndpointInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateOriginEndpointInput) String() string
- func (s *CreateOriginEndpointInput) Validate() error
- type CreateOriginEndpointOutput
- func (s CreateOriginEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateOriginEndpointOutput) String() string
- type CreateOriginEndpointRequest
- type CreateOriginEndpointResponse
- type DashEncryption
- func (s DashEncryption) MarshalFields(e protocol.FieldEncoder) error
- func (s DashEncryption) String() string
- func (s *DashEncryption) Validate() error
- type DashPackage
- func (s DashPackage) MarshalFields(e protocol.FieldEncoder) error
- func (s DashPackage) String() string
- func (s *DashPackage) Validate() error
- type DeleteChannelInput
- func (s DeleteChannelInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteChannelInput) String() string
- func (s *DeleteChannelInput) Validate() error
- type DeleteChannelOutput
- func (s DeleteChannelOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteChannelOutput) String() string
- type DeleteChannelRequest
- type DeleteChannelResponse
- type DeleteOriginEndpointInput
- func (s DeleteOriginEndpointInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteOriginEndpointInput) String() string
- func (s *DeleteOriginEndpointInput) Validate() error
- type DeleteOriginEndpointOutput
- func (s DeleteOriginEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteOriginEndpointOutput) String() string
- type DeleteOriginEndpointRequest
- type DeleteOriginEndpointResponse
- type DescribeChannelInput
- func (s DescribeChannelInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeChannelInput) String() string
- func (s *DescribeChannelInput) Validate() error
- type DescribeChannelOutput
- func (s DescribeChannelOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeChannelOutput) String() string
- type DescribeChannelRequest
- type DescribeChannelResponse
- type DescribeHarvestJobInput
- func (s DescribeHarvestJobInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeHarvestJobInput) String() string
- func (s *DescribeHarvestJobInput) Validate() error
- type DescribeHarvestJobOutput
- func (s DescribeHarvestJobOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeHarvestJobOutput) String() string
- type DescribeHarvestJobRequest
- type DescribeHarvestJobResponse
- type DescribeOriginEndpointInput
- func (s DescribeOriginEndpointInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeOriginEndpointInput) String() string
- func (s *DescribeOriginEndpointInput) Validate() error
- type DescribeOriginEndpointOutput
- func (s DescribeOriginEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeOriginEndpointOutput) String() string
- type DescribeOriginEndpointRequest
- type DescribeOriginEndpointResponse
- type EncryptionMethod
- func (enum EncryptionMethod) MarshalValue() (string, error)
- func (enum EncryptionMethod) MarshalValueBuf(b []byte) ([]byte, error)
- type HarvestJob
- func (s HarvestJob) MarshalFields(e protocol.FieldEncoder) error
- func (s HarvestJob) String() string
- type HlsEncryption
- func (s HlsEncryption) MarshalFields(e protocol.FieldEncoder) error
- func (s HlsEncryption) String() string
- func (s *HlsEncryption) Validate() error
- type HlsIngest
- type HlsManifest
- func (s HlsManifest) MarshalFields(e protocol.FieldEncoder) error
- func (s HlsManifest) String() string
- type HlsManifestCreateOrUpdateParameters
- func (s HlsManifestCreateOrUpdateParameters) MarshalFields(e protocol.FieldEncoder) error
- func (s HlsManifestCreateOrUpdateParameters) String() string
- func (s *HlsManifestCreateOrUpdateParameters) Validate() error
- type HlsPackage
- func (s HlsPackage) MarshalFields(e protocol.FieldEncoder) error
- func (s HlsPackage) String() string
- func (s *HlsPackage) Validate() error
- type IngestEndpoint
- func (s IngestEndpoint) MarshalFields(e protocol.FieldEncoder) error
- func (s IngestEndpoint) String() string
- type ListChannelsInput
- func (s ListChannelsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListChannelsInput) String() string
- func (s *ListChannelsInput) Validate() error
- type ListChannelsOutput
- func (s ListChannelsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListChannelsOutput) String() string
- type ListChannelsPaginator
- func NewListChannelsPaginator(req ListChannelsRequest) ListChannelsPaginator
- func (p *ListChannelsPaginator) CurrentPage() *ListChannelsOutput
- type ListChannelsRequest
- type ListChannelsResponse
- type ListHarvestJobsInput
- func (s ListHarvestJobsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListHarvestJobsInput) String() string
- func (s *ListHarvestJobsInput) Validate() error
- type ListHarvestJobsOutput
- func (s ListHarvestJobsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListHarvestJobsOutput) String() string
- type ListHarvestJobsPaginator
- func NewListHarvestJobsPaginator(req ListHarvestJobsRequest) ListHarvestJobsPaginator
- func (p *ListHarvestJobsPaginator) CurrentPage() *ListHarvestJobsOutput
- type ListHarvestJobsRequest
- type ListHarvestJobsResponse
- type ListOriginEndpointsInput
- func (s ListOriginEndpointsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListOriginEndpointsInput) String() string
- func (s *ListOriginEndpointsInput) Validate() error
- type ListOriginEndpointsOutput
- func (s ListOriginEndpointsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListOriginEndpointsOutput) String() string
- type ListOriginEndpointsPaginator
- func NewListOriginEndpointsPaginator(req ListOriginEndpointsRequest) ListOriginEndpointsPaginator
- func (p *ListOriginEndpointsPaginator) CurrentPage() *ListOriginEndpointsOutput
- type ListOriginEndpointsRequest
- type ListOriginEndpointsResponse
- type ListTagsForResourceInput
- func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceInput) String() string
- func (s *ListTagsForResourceInput) Validate() error
- type ListTagsForResourceOutput
- func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceOutput) String() string
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type ManifestLayout
- func (enum ManifestLayout) MarshalValue() (string, error)
- func (enum ManifestLayout) MarshalValueBuf(b []byte) ([]byte, error)
- type MssEncryption
- func (s MssEncryption) MarshalFields(e protocol.FieldEncoder) error
- func (s MssEncryption) String() string
- func (s *MssEncryption) Validate() error
- type MssPackage
- func (s MssPackage) MarshalFields(e protocol.FieldEncoder) error
- func (s MssPackage) String() string
- func (s *MssPackage) Validate() error
- type OriginEndpoint
- func (s OriginEndpoint) MarshalFields(e protocol.FieldEncoder) error
- func (s OriginEndpoint) String() string
- type Origination
- func (enum Origination) MarshalValue() (string, error)
- func (enum Origination) MarshalValueBuf(b []byte) ([]byte, error)
- type PeriodTriggersElement
- func (enum PeriodTriggersElement) MarshalValue() (string, error)
- func (enum PeriodTriggersElement) MarshalValueBuf(b []byte) ([]byte, error)
- type PlaylistType
- func (enum PlaylistType) MarshalValue() (string, error)
- func (enum PlaylistType) MarshalValueBuf(b []byte) ([]byte, error)
- type Profile
- func (enum Profile) MarshalValue() (string, error)
- func (enum Profile) MarshalValueBuf(b []byte) ([]byte, error)
- type RotateChannelCredentialsInput
- func (s RotateChannelCredentialsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s RotateChannelCredentialsInput) String() string
- func (s *RotateChannelCredentialsInput) Validate() error
- type RotateChannelCredentialsOutput
- func (s RotateChannelCredentialsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s RotateChannelCredentialsOutput) String() string
- type RotateChannelCredentialsRequest
- type RotateChannelCredentialsResponse
- type RotateIngestEndpointCredentialsInput
- func (s RotateIngestEndpointCredentialsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s RotateIngestEndpointCredentialsInput) String() string
- func (s *RotateIngestEndpointCredentialsInput) Validate() error
- type RotateIngestEndpointCredentialsOutput
- func (s RotateIngestEndpointCredentialsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s RotateIngestEndpointCredentialsOutput) String() string
- type RotateIngestEndpointCredentialsRequest
- type RotateIngestEndpointCredentialsResponse
- type S3Destination
- func (s S3Destination) MarshalFields(e protocol.FieldEncoder) error
- func (s S3Destination) String() string
- func (s *S3Destination) Validate() error
- type SegmentTemplateFormat
- func (enum SegmentTemplateFormat) MarshalValue() (string, error)
- func (enum SegmentTemplateFormat) MarshalValueBuf(b []byte) ([]byte, error)
- type SpekeKeyProvider
- func (s SpekeKeyProvider) MarshalFields(e protocol.FieldEncoder) error
- func (s SpekeKeyProvider) String() string
- func (s *SpekeKeyProvider) Validate() error
- type Status
- func (enum Status) MarshalValue() (string, error)
- func (enum Status) MarshalValueBuf(b []byte) ([]byte, error)
- type StreamOrder
- func (enum StreamOrder) MarshalValue() (string, error)
- func (enum StreamOrder) MarshalValueBuf(b []byte) ([]byte, error)
- type StreamSelection
- func (s StreamSelection) MarshalFields(e protocol.FieldEncoder) error
- func (s StreamSelection) String() string
- type TagResourceInput
- func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceInput) String() string
- func (s *TagResourceInput) Validate() error
- type TagResourceOutput
- func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceOutput) String() string
- type TagResourceRequest
- type TagResourceResponse
- type UntagResourceInput
- func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceInput) String() string
- func (s *UntagResourceInput) Validate() error
- type UntagResourceOutput
- func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceOutput) String() string
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateChannelInput
- func (s UpdateChannelInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateChannelInput) String() string
- func (s *UpdateChannelInput) Validate() error
- type UpdateChannelOutput
- func (s UpdateChannelOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateChannelOutput) String() string
- type UpdateChannelRequest
- type UpdateChannelResponse
- type UpdateOriginEndpointInput
- func (s UpdateOriginEndpointInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateOriginEndpointInput) String() string
- func (s *UpdateOriginEndpointInput) Validate() error
- type UpdateOriginEndpointOutput
- func (s UpdateOriginEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateOriginEndpointOutput) String() string
- 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" // ErrCodeServiceUnavailableException for service response error code // "ServiceUnavailableException". = "ServiceUnavailableException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". ErrCodeTooManyRequestsException = "TooManyRequestsException" // ErrCodeUnprocessableEntityException for service response error code // "UnprocessableEntityException". ErrCodeUnprocessableEntityException = "UnprocessableEntityException" )
Types ¶
type AdMarkers ¶
type AdMarkers string
const ( AdMarkersNone AdMarkers = "NONE" AdMarkersScte35Enhanced AdMarkers = "SCTE35_ENHANCED" AdMarkersPassthrough AdMarkers = "PASSTHROUGH" )
Enum values for AdMarkers
func (AdMarkers) MarshalValue ¶
func (AdMarkers) MarshalValueBuf ¶
type AdTriggersElement ¶
type AdTriggersElement string
const ( AdTriggersElementSpliceInsert AdTriggersElement = "SPLICE_INSERT" AdTriggersElementBreak AdTriggersElement = "BREAK" AdTriggersElementProviderAdvertisement AdTriggersElement = "PROVIDER_ADVERTISEMENT" AdTriggersElementDistributorAdvertisement AdTriggersElement = "DISTRIBUTOR_ADVERTISEMENT" AdTriggersElementProviderPlacementOpportunity AdTriggersElement = "PROVIDER_PLACEMENT_OPPORTUNITY" AdTriggersElementDistributorPlacementOpportunity AdTriggersElement = "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" AdTriggersElementProviderOverlayPlacementOpportunity AdTriggersElement = "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" AdTriggersElementDistributorOverlayPlacementOpportunity AdTriggersElement = "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" )
Enum values for AdTriggersElement
func (AdTriggersElement) MarshalValue ¶
func (enum AdTriggersElement) MarshalValue() (string, error)
func (AdTriggersElement) MarshalValueBuf ¶
func (enum AdTriggersElement) MarshalValueBuf(b []byte) ([]byte, error)
type AdsOnDeliveryRestrictions ¶
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 ¶
func (enum AdsOnDeliveryRestrictions) MarshalValue() (string, error)
func (AdsOnDeliveryRestrictions) MarshalValueBuf ¶
func (enum AdsOnDeliveryRestrictions) MarshalValueBuf(b []byte) ([]byte, error)
type Authorization ¶
type Authorization struct { // The Amazon Resource Name (ARN) for the secret in Secrets Manager that your // Content Distribution Network (CDN) uses for authorization to access your // endpoint. // // CdnIdentifierSecret is a required field CdnIdentifierSecret *string `locationName:"cdnIdentifierSecret" type:"string" required:"true"` // The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage // to communicate with AWS Secrets Manager. // // SecretsRoleArn is a required field SecretsRoleArn *string `locationName:"secretsRoleArn" type:"string" required:"true"` // contains filtered or unexported fields }
CDN Authorization credentials
func (Authorization) MarshalFields ¶
func (s Authorization) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Authorization) String ¶
func (s Authorization) String() string
String returns the string representation
func (*Authorization) Validate ¶
func (s *Authorization) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Channel ¶
type Channel struct { // The Amazon Resource Name (ARN) assigned to the Channel. Arn *string `locationName:"arn" type:"string"` // A short text description of the Channel. Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) ingest resource configuration. HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"` // The ID of the Channel. Id *string `locationName:"id" type:"string"` // A collection of tags associated with a resource Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
A Channel resource configuration.
func (Channel) MarshalFields ¶
func (s Channel) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Channel) String ¶
String returns the string representation
type Client ¶
Client provides the API operation methods for making requests to MediaPackage. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
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 ¶
func (c *Client) CreateChannelRequest(input *CreateChannelInput) CreateChannelRequest
CreateChannelRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Creates a new Channel.
// Example sending a request using CreateChannelRequest. req := client.CreateChannelRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannel
func (*Client) CreateHarvestJobRequest ¶
func (c *Client) CreateHarvestJobRequest(input *CreateHarvestJobInput) CreateHarvestJobRequest
CreateHarvestJobRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Creates a new HarvestJob record.
// Example sending a request using CreateHarvestJobRequest. req := client.CreateHarvestJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJob
func (*Client) CreateOriginEndpointRequest ¶
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 ¶
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 ¶
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 ¶
func (c *Client) DescribeChannelRequest(input *DescribeChannelInput) DescribeChannelRequest
DescribeChannelRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Gets details about a Channel.
// Example sending a request using DescribeChannelRequest. req := client.DescribeChannelRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannel
func (*Client) DescribeHarvestJobRequest ¶
func (c *Client) DescribeHarvestJobRequest(input *DescribeHarvestJobInput) DescribeHarvestJobRequest
DescribeHarvestJobRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Gets details about an existing HarvestJob.
// Example sending a request using DescribeHarvestJobRequest. req := client.DescribeHarvestJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeHarvestJob
func (*Client) DescribeOriginEndpointRequest ¶
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 ¶
func (c *Client) ListChannelsRequest(input *ListChannelsInput) ListChannelsRequest
ListChannelsRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Returns a collection of Channels.
// Example sending a request using ListChannelsRequest. req := client.ListChannelsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannels
func (*Client) ListHarvestJobsRequest ¶
func (c *Client) ListHarvestJobsRequest(input *ListHarvestJobsInput) ListHarvestJobsRequest
ListHarvestJobsRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Returns a collection of HarvestJob records.
// Example sending a request using ListHarvestJobsRequest. req := client.ListHarvestJobsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListHarvestJobs
func (*Client) ListOriginEndpointsRequest ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (s CmafEncryption) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CmafEncryption) String ¶
func (s CmafEncryption) String() string
String returns the string representation
func (*CmafEncryption) Validate ¶
func (s *CmafEncryption) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CmafPackage ¶
type CmafPackage struct { // A 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 ¶
func (s CmafPackage) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CmafPackage) String ¶
func (s CmafPackage) String() string
String returns the string representation
type CmafPackageCreateOrUpdateParameters ¶
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 ¶
func (s CmafPackageCreateOrUpdateParameters) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CmafPackageCreateOrUpdateParameters) String ¶
func (s CmafPackageCreateOrUpdateParameters) String() string
String returns the string representation
func (*CmafPackageCreateOrUpdateParameters) Validate ¶
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 ¶
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 ¶
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 ¶
type CreateChannelResponse struct { *CreateChannelOutput // contains filtered or unexported fields }
CreateChannelResponse is the response type for the CreateChannel API operation.
func (*CreateChannelResponse) SDKResponseMetdata ¶
func (r *CreateChannelResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateChannel request.
type CreateHarvestJobInput ¶
type CreateHarvestJobInput struct { // EndTime is a required field EndTime *string `locationName:"endTime" type:"string" required:"true"` // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` // OriginEndpointId is a required field OriginEndpointId *string `locationName:"originEndpointId" type:"string" required:"true"` // Configuration parameters for where in an S3 bucket to place the harvested // content // // S3Destination is a required field S3Destination *S3Destination `locationName:"s3Destination" type:"structure" required:"true"` // StartTime is a required field StartTime *string `locationName:"startTime" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateHarvestJobInput) MarshalFields ¶
func (s CreateHarvestJobInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateHarvestJobInput) String ¶
func (s CreateHarvestJobInput) String() string
String returns the string representation
func (*CreateHarvestJobInput) Validate ¶
func (s *CreateHarvestJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateHarvestJobOutput ¶
type CreateHarvestJobOutput struct { Arn *string `locationName:"arn" type:"string"` ChannelId *string `locationName:"channelId" type:"string"` CreatedAt *string `locationName:"createdAt" type:"string"` EndTime *string `locationName:"endTime" type:"string"` Id *string `locationName:"id" type:"string"` OriginEndpointId *string `locationName:"originEndpointId" type:"string"` // Configuration parameters for where in an S3 bucket to place the harvested // content S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` StartTime *string `locationName:"startTime" type:"string"` Status Status `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
func (CreateHarvestJobOutput) MarshalFields ¶
func (s CreateHarvestJobOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateHarvestJobOutput) String ¶
func (s CreateHarvestJobOutput) String() string
String returns the string representation
type CreateHarvestJobRequest ¶
type CreateHarvestJobRequest struct { *aws.Request Input *CreateHarvestJobInput Copy func(*CreateHarvestJobInput) CreateHarvestJobRequest }
CreateHarvestJobRequest is the request type for the CreateHarvestJob API operation.
func (CreateHarvestJobRequest) Send ¶
func (r CreateHarvestJobRequest) Send(ctx context.Context) (*CreateHarvestJobResponse, error)
Send marshals and sends the CreateHarvestJob API request.
type CreateHarvestJobResponse ¶
type CreateHarvestJobResponse struct { *CreateHarvestJobOutput // contains filtered or unexported fields }
CreateHarvestJobResponse is the response type for the CreateHarvestJob API operation.
func (*CreateHarvestJobResponse) SDKResponseMetdata ¶
func (r *CreateHarvestJobResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateHarvestJob request.
type CreateOriginEndpointInput ¶
type CreateOriginEndpointInput struct { // CDN Authorization credentials Authorization *Authorization `locationName:"authorization" type:"structure"` // ChannelId is a required field ChannelId *string `locationName:"channelId" type:"string" required:"true"` // A Common Media Application Format (CMAF) packaging configuration. CmafPackage *CmafPackageCreateOrUpdateParameters `locationName:"cmafPackage" type:"structure"` // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` Origination Origination `locationName:"origination" type:"string" enum:"true"` StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` // A collection of tags associated with a resource Tags map[string]string `locationName:"tags" type:"map"` TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
func (CreateOriginEndpointInput) MarshalFields ¶
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"` // CDN Authorization credentials Authorization *Authorization `locationName:"authorization" type:"structure"` ChannelId *string `locationName:"channelId" type:"string"` // A Common Media Application Format (CMAF) packaging configuration. CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"` // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` Id *string `locationName:"id" type:"string"` ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` Origination Origination `locationName:"origination" type:"string" enum:"true"` StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` // A collection of tags associated with a resource Tags map[string]string `locationName:"tags" type:"map"` TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` Url *string `locationName:"url" type:"string"` Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
func (CreateOriginEndpointOutput) MarshalFields ¶
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 ¶
type CreateOriginEndpointResponse struct { *CreateOriginEndpointOutput // contains filtered or unexported fields }
CreateOriginEndpointResponse is the response type for the CreateOriginEndpoint API operation.
func (*CreateOriginEndpointResponse) SDKResponseMetdata ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
type DeleteChannelResponse struct { *DeleteChannelOutput // contains filtered or unexported fields }
DeleteChannelResponse is the response type for the DeleteChannel API operation.
func (*DeleteChannelResponse) SDKResponseMetdata ¶
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 ¶
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 ¶
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 ¶
type DeleteOriginEndpointResponse struct { *DeleteOriginEndpointOutput // contains filtered or unexported fields }
DeleteOriginEndpointResponse is the response type for the DeleteOriginEndpoint API operation.
func (*DeleteOriginEndpointResponse) SDKResponseMetdata ¶
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 ¶
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 ¶
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 ¶
type DescribeChannelResponse struct { *DescribeChannelOutput // contains filtered or unexported fields }
DescribeChannelResponse is the response type for the DescribeChannel API operation.
func (*DescribeChannelResponse) SDKResponseMetdata ¶
func (r *DescribeChannelResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeChannel request.
type DescribeHarvestJobInput ¶
type DescribeHarvestJobInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeHarvestJobInput) MarshalFields ¶
func (s DescribeHarvestJobInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeHarvestJobInput) String ¶
func (s DescribeHarvestJobInput) String() string
String returns the string representation
func (*DescribeHarvestJobInput) Validate ¶
func (s *DescribeHarvestJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeHarvestJobOutput ¶
type DescribeHarvestJobOutput struct { Arn *string `locationName:"arn" type:"string"` ChannelId *string `locationName:"channelId" type:"string"` CreatedAt *string `locationName:"createdAt" type:"string"` EndTime *string `locationName:"endTime" type:"string"` Id *string `locationName:"id" type:"string"` OriginEndpointId *string `locationName:"originEndpointId" type:"string"` // Configuration parameters for where in an S3 bucket to place the harvested // content S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` StartTime *string `locationName:"startTime" type:"string"` Status Status `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
func (DescribeHarvestJobOutput) MarshalFields ¶
func (s DescribeHarvestJobOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeHarvestJobOutput) String ¶
func (s DescribeHarvestJobOutput) String() string
String returns the string representation
type DescribeHarvestJobRequest ¶
type DescribeHarvestJobRequest struct { *aws.Request Input *DescribeHarvestJobInput Copy func(*DescribeHarvestJobInput) DescribeHarvestJobRequest }
DescribeHarvestJobRequest is the request type for the DescribeHarvestJob API operation.
func (DescribeHarvestJobRequest) Send ¶
func (r DescribeHarvestJobRequest) Send(ctx context.Context) (*DescribeHarvestJobResponse, error)
Send marshals and sends the DescribeHarvestJob API request.
type DescribeHarvestJobResponse ¶
type DescribeHarvestJobResponse struct { *DescribeHarvestJobOutput // contains filtered or unexported fields }
DescribeHarvestJobResponse is the response type for the DescribeHarvestJob API operation.
func (*DescribeHarvestJobResponse) SDKResponseMetdata ¶
func (r *DescribeHarvestJobResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeHarvestJob request.
type DescribeOriginEndpointInput ¶
type DescribeOriginEndpointInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeOriginEndpointInput) MarshalFields ¶
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"` // CDN Authorization credentials Authorization *Authorization `locationName:"authorization" type:"structure"` ChannelId *string `locationName:"channelId" type:"string"` // A Common Media Application Format (CMAF) packaging configuration. CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"` // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` Id *string `locationName:"id" type:"string"` ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` Origination Origination `locationName:"origination" type:"string" enum:"true"` StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` // A collection of tags associated with a resource Tags map[string]string `locationName:"tags" type:"map"` TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` Url *string `locationName:"url" type:"string"` Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
func (DescribeOriginEndpointOutput) MarshalFields ¶
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 ¶
type DescribeOriginEndpointResponse struct { *DescribeOriginEndpointOutput // contains filtered or unexported fields }
DescribeOriginEndpointResponse is the response type for the DescribeOriginEndpoint API operation.
func (*DescribeOriginEndpointResponse) SDKResponseMetdata ¶
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 ¶
func (enum EncryptionMethod) MarshalValue() (string, error)
func (EncryptionMethod) MarshalValueBuf ¶
func (enum EncryptionMethod) MarshalValueBuf(b []byte) ([]byte, error)
type HarvestJob ¶
type HarvestJob struct { // The Amazon Resource Name (ARN) assigned to the HarvestJob. Arn *string `locationName:"arn" type:"string"` // The ID of the Channel that the HarvestJob will harvest from. ChannelId *string `locationName:"channelId" type:"string"` // The time the HarvestJob was submitted CreatedAt *string `locationName:"createdAt" type:"string"` // The end of the time-window which will be harvested. EndTime *string `locationName:"endTime" type:"string"` // The ID of the HarvestJob. The ID must be unique within the regionand it cannot // be changed after the HarvestJob is submitted. Id *string `locationName:"id" type:"string"` // The ID of the OriginEndpoint that the HarvestJob will harvest from.This cannot // be changed after the HarvestJob is submitted. OriginEndpointId *string `locationName:"originEndpointId" type:"string"` // Configuration parameters for where in an S3 bucket to place the harvested // content S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` // The start of the time-window which will be harvested. StartTime *string `locationName:"startTime" type:"string"` // The current status of the HarvestJob. Consider setting up a CloudWatch Event // to listen forHarvestJobs as they succeed or fail. In the event of failure, // the CloudWatch Event willinclude an explanation of why the HarvestJob failed. Status Status `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
A HarvestJob resource configuration
func (HarvestJob) MarshalFields ¶
func (s HarvestJob) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HarvestJob) String ¶
func (s HarvestJob) String() string
String returns the string representation
type HlsEncryption ¶
type HlsEncryption struct { // A constant initialization vector for encryption (optional).When not specified // the initialization vector will be periodically rotated. ConstantInitializationVector *string `locationName:"constantInitializationVector" type:"string"` // The encryption method to use. EncryptionMethod EncryptionMethod `locationName:"encryptionMethod" type:"string" enum:"true"` // Interval (in seconds) between each encryption key rotation. KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"` // When enabled, the EXT-X-KEY tag will be repeated in output manifests. RepeatExtXKey *bool `locationName:"repeatExtXKey" type:"boolean"` // A configuration for accessing an external Secure Packager and Encoder Key // Exchange (SPEKE) service that will provide encryption keys. // // SpekeKeyProvider is a required field SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"` // contains filtered or unexported fields }
An HTTP Live Streaming (HLS) encryption configuration.
func (HlsEncryption) MarshalFields ¶
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 ¶
func (s HlsIngest) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HlsIngest) String ¶
String returns the string representation
type HlsManifest ¶
type HlsManifest struct { // This setting controls how ad markers are included in the packaged OriginEndpoint."NONE" // will omit all SCTE-35 ad markers from the output."PASSTHROUGH" causes the // manifest to contain a copy of the SCTE-35 admarkers (comments) taken directly // from the input HTTP Live Streaming (HLS) manifest."SCTE35_ENHANCED" generates // ad markers and blackout tags based on SCTE-35messages in the input source. AdMarkers AdMarkers `locationName:"adMarkers" type:"string" enum:"true"` // 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 ¶
func (s HlsManifest) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HlsManifest) String ¶
func (s HlsManifest) String() string
String returns the string representation
type HlsManifestCreateOrUpdateParameters ¶
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 ¶
func (s HlsManifestCreateOrUpdateParameters) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HlsManifestCreateOrUpdateParameters) String ¶
func (s HlsManifestCreateOrUpdateParameters) String() string
String returns the string representation
func (*HlsManifestCreateOrUpdateParameters) Validate ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
ListChannelsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListChannelsPaginator ¶
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 ¶
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 ¶
type ListChannelsResponse struct { *ListChannelsOutput // contains filtered or unexported fields }
ListChannelsResponse is the response type for the ListChannels API operation.
func (*ListChannelsResponse) SDKResponseMetdata ¶
func (r *ListChannelsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListChannels request.
type ListHarvestJobsInput ¶
type ListHarvestJobsInput struct { IncludeChannelId *string `location:"querystring" locationName:"includeChannelId" type:"string"` IncludeStatus *string `location:"querystring" locationName:"includeStatus" type:"string"` MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListHarvestJobsInput) MarshalFields ¶
func (s ListHarvestJobsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListHarvestJobsInput) String ¶
func (s ListHarvestJobsInput) String() string
String returns the string representation
func (*ListHarvestJobsInput) Validate ¶
func (s *ListHarvestJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListHarvestJobsOutput ¶
type ListHarvestJobsOutput struct { HarvestJobs []HarvestJob `locationName:"harvestJobs" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListHarvestJobsOutput) MarshalFields ¶
func (s ListHarvestJobsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListHarvestJobsOutput) String ¶
func (s ListHarvestJobsOutput) String() string
String returns the string representation
type ListHarvestJobsPaginator ¶
ListHarvestJobsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListHarvestJobsPaginator ¶
func NewListHarvestJobsPaginator(req ListHarvestJobsRequest) ListHarvestJobsPaginator
NewListHarvestJobsRequestPaginator returns a paginator for ListHarvestJobs. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListHarvestJobsRequest(input) p := mediapackage.NewListHarvestJobsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListHarvestJobsPaginator) CurrentPage ¶
func (p *ListHarvestJobsPaginator) CurrentPage() *ListHarvestJobsOutput
type ListHarvestJobsRequest ¶
type ListHarvestJobsRequest struct { *aws.Request Input *ListHarvestJobsInput Copy func(*ListHarvestJobsInput) ListHarvestJobsRequest }
ListHarvestJobsRequest is the request type for the ListHarvestJobs API operation.
func (ListHarvestJobsRequest) Send ¶
func (r ListHarvestJobsRequest) Send(ctx context.Context) (*ListHarvestJobsResponse, error)
Send marshals and sends the ListHarvestJobs API request.
type ListHarvestJobsResponse ¶
type ListHarvestJobsResponse struct { *ListHarvestJobsOutput // contains filtered or unexported fields }
ListHarvestJobsResponse is the response type for the ListHarvestJobs API operation.
func (*ListHarvestJobsResponse) SDKResponseMetdata ¶
func (r *ListHarvestJobsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListHarvestJobs request.
type ListOriginEndpointsInput ¶
type ListOriginEndpointsInput struct { ChannelId *string `location:"querystring" locationName:"channelId" type:"string"` MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListOriginEndpointsInput) MarshalFields ¶
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 ¶
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 ¶
ListOriginEndpointsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListOriginEndpointsPaginator ¶
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 ¶
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 ¶
type ListOriginEndpointsResponse struct { *ListOriginEndpointsOutput // contains filtered or unexported fields }
ListOriginEndpointsResponse is the response type for the ListOriginEndpoints API operation.
func (*ListOriginEndpointsResponse) SDKResponseMetdata ¶
func (r *ListOriginEndpointsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListOriginEndpoints request.
type ListTagsForResourceInput ¶
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 ¶
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) MarshalFields ¶
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ¶
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ¶
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
type ManifestLayout ¶
type ManifestLayout string
const ( ManifestLayoutFull ManifestLayout = "FULL" ManifestLayoutCompact ManifestLayout = "COMPACT" )
Enum values for ManifestLayout
func (ManifestLayout) MarshalValue ¶
func (enum ManifestLayout) MarshalValue() (string, error)
func (ManifestLayout) MarshalValueBuf ¶
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 ¶
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 ¶
func (s MssPackage) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MssPackage) String ¶
func (s MssPackage) String() string
String returns the string representation
func (*MssPackage) Validate ¶
func (s *MssPackage) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OriginEndpoint ¶
type OriginEndpoint struct { // The Amazon Resource Name (ARN) assigned to the OriginEndpoint. Arn *string `locationName:"arn" type:"string"` // CDN Authorization credentials Authorization *Authorization `locationName:"authorization" type:"structure"` // The ID of the Channel the OriginEndpoint is associated with. ChannelId *string `locationName:"channelId" type:"string"` // A Common Media Application Format (CMAF) packaging configuration. CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"` // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` // A short text description of the OriginEndpoint. Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` // The ID of the OriginEndpoint. Id *string `locationName:"id" type:"string"` // A short string appended to the end of the OriginEndpoint URL. ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` // Control whether origination of video is allowed for this OriginEndpoint. // If set to ALLOW, the OriginEndpointmay by requested, pursuant to any other // form of access control. If set to DENY, the OriginEndpoint may not berequested. // This can be helpful for Live to VOD harvesting, or for temporarily disabling // origination Origination Origination `locationName:"origination" type:"string" enum:"true"` // Maximum duration (seconds) of content to retain for startover playback.If // not specified, startover playback will be disabled for the OriginEndpoint. StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` // A collection of tags associated with a resource Tags map[string]string `locationName:"tags" type:"map"` // Amount of delay (seconds) to enforce on the playback of live content.If not // specified, there will be no time delay in effect for the OriginEndpoint. TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` // The URL of the packaged OriginEndpoint for consumption. Url *string `locationName:"url" type:"string"` // A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint. Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
An OriginEndpoint resource configuration.
func (OriginEndpoint) MarshalFields ¶
func (s OriginEndpoint) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (OriginEndpoint) String ¶
func (s OriginEndpoint) String() string
String returns the string representation
type Origination ¶
type Origination string
const ( OriginationAllow Origination = "ALLOW" OriginationDeny Origination = "DENY" )
Enum values for Origination
func (Origination) MarshalValue ¶
func (enum Origination) MarshalValue() (string, error)
func (Origination) MarshalValueBuf ¶
func (enum Origination) MarshalValueBuf(b []byte) ([]byte, error)
type PeriodTriggersElement ¶
type PeriodTriggersElement string
const ( PeriodTriggersElementAds PeriodTriggersElement = "ADS" )
Enum values for PeriodTriggersElement
func (PeriodTriggersElement) MarshalValue ¶
func (enum PeriodTriggersElement) MarshalValue() (string, error)
func (PeriodTriggersElement) MarshalValueBuf ¶
func (enum PeriodTriggersElement) MarshalValueBuf(b []byte) ([]byte, error)
type PlaylistType ¶
type PlaylistType string
const ( PlaylistTypeNone PlaylistType = "NONE" PlaylistTypeEvent PlaylistType = "EVENT" PlaylistTypeVod PlaylistType = "VOD" )
Enum values for PlaylistType
func (PlaylistType) MarshalValue ¶
func (enum PlaylistType) MarshalValue() (string, error)
func (PlaylistType) MarshalValueBuf ¶
func (enum PlaylistType) MarshalValueBuf(b []byte) ([]byte, error)
type Profile ¶
type Profile string
Enum values for Profile
func (Profile) MarshalValue ¶
func (Profile) MarshalValueBuf ¶
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 ¶
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 ¶
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 ¶
type RotateChannelCredentialsResponse struct { *RotateChannelCredentialsOutput // contains filtered or unexported fields }
RotateChannelCredentialsResponse is the response type for the RotateChannelCredentials API operation.
func (*RotateChannelCredentialsResponse) SDKResponseMetdata ¶
func (r *RotateChannelCredentialsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RotateChannelCredentials request.
type RotateIngestEndpointCredentialsInput ¶
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 ¶
func (s RotateIngestEndpointCredentialsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RotateIngestEndpointCredentialsInput) String ¶
func (s RotateIngestEndpointCredentialsInput) String() string
String returns the string representation
func (*RotateIngestEndpointCredentialsInput) Validate ¶
func (s *RotateIngestEndpointCredentialsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RotateIngestEndpointCredentialsOutput ¶
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 ¶
func (s RotateIngestEndpointCredentialsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RotateIngestEndpointCredentialsOutput) String ¶
func (s RotateIngestEndpointCredentialsOutput) String() string
String returns the string representation
type RotateIngestEndpointCredentialsRequest ¶
type RotateIngestEndpointCredentialsRequest struct { *aws.Request Input *RotateIngestEndpointCredentialsInput Copy func(*RotateIngestEndpointCredentialsInput) RotateIngestEndpointCredentialsRequest }
RotateIngestEndpointCredentialsRequest is the request type for the RotateIngestEndpointCredentials API operation.
func (RotateIngestEndpointCredentialsRequest) Send ¶
func (r RotateIngestEndpointCredentialsRequest) Send(ctx context.Context) (*RotateIngestEndpointCredentialsResponse, error)
Send marshals and sends the RotateIngestEndpointCredentials API request.
type RotateIngestEndpointCredentialsResponse ¶
type RotateIngestEndpointCredentialsResponse struct { *RotateIngestEndpointCredentialsOutput // contains filtered or unexported fields }
RotateIngestEndpointCredentialsResponse is the response type for the RotateIngestEndpointCredentials API operation.
func (*RotateIngestEndpointCredentialsResponse) SDKResponseMetdata ¶
func (r *RotateIngestEndpointCredentialsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RotateIngestEndpointCredentials request.
type S3Destination ¶
type S3Destination struct { // The name of an S3 bucket within which harvested content will be exported // // BucketName is a required field BucketName *string `locationName:"bucketName" type:"string" required:"true"` // The key in the specified S3 bucket where the harvested top-level manifest // will be placed. // // ManifestKey is a required field ManifestKey *string `locationName:"manifestKey" type:"string" required:"true"` // The IAM role used to write to the specified S3 bucket // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // contains filtered or unexported fields }
Configuration parameters for where in an S3 bucket to place the harvested content
func (S3Destination) MarshalFields ¶
func (s S3Destination) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (S3Destination) String ¶
func (s S3Destination) String() string
String returns the string representation
func (*S3Destination) Validate ¶
func (s *S3Destination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SegmentTemplateFormat ¶
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 ¶
func (enum SegmentTemplateFormat) MarshalValue() (string, error)
func (SegmentTemplateFormat) MarshalValueBuf ¶
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 ¶
func (s SpekeKeyProvider) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SpekeKeyProvider) String ¶
func (s SpekeKeyProvider) String() string
String returns the string representation
func (*SpekeKeyProvider) Validate ¶
func (s *SpekeKeyProvider) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Status ¶
type Status string
const ( StatusInProgress Status = "IN_PROGRESS" StatusSucceeded Status = "SUCCEEDED" StatusFailed Status = "FAILED" )
Enum values for Status
func (Status) MarshalValue ¶
func (Status) MarshalValueBuf ¶
type StreamOrder ¶
type StreamOrder string
const ( StreamOrderOriginal StreamOrder = "ORIGINAL" StreamOrderVideoBitrateAscending StreamOrder = "VIDEO_BITRATE_ASCENDING" StreamOrderVideoBitrateDescending StreamOrder = "VIDEO_BITRATE_DESCENDING" )
Enum values for StreamOrder
func (StreamOrder) MarshalValue ¶
func (enum StreamOrder) MarshalValue() (string, error)
func (StreamOrder) MarshalValueBuf ¶
func (enum StreamOrder) MarshalValueBuf(b []byte) ([]byte, error)
type StreamSelection ¶
type StreamSelection struct { // The maximum video bitrate (bps) to include in output. MaxVideoBitsPerSecond *int64 `locationName:"maxVideoBitsPerSecond" type:"integer"` // The minimum video bitrate (bps) to include in output. MinVideoBitsPerSecond *int64 `locationName:"minVideoBitsPerSecond" type:"integer"` // A directive that determines the order of streams in the output. StreamOrder StreamOrder `locationName:"streamOrder" type:"string" enum:"true"` // contains filtered or unexported fields }
A StreamSelection configuration.
func (StreamSelection) MarshalFields ¶
func (s StreamSelection) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StreamSelection) String ¶
func (s StreamSelection) String() string
String returns the string representation
type TagResourceInput ¶
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 ¶
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) MarshalFields ¶
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type UntagResourceInput ¶
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 ¶
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) MarshalFields ¶
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶
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 ¶
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 ¶
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 ¶
type UpdateChannelResponse struct { *UpdateChannelOutput // contains filtered or unexported fields }
UpdateChannelResponse is the response type for the UpdateChannel API operation.
func (*UpdateChannelResponse) SDKResponseMetdata ¶
func (r *UpdateChannelResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateChannel request.
type UpdateOriginEndpointInput ¶
type UpdateOriginEndpointInput struct { // CDN Authorization credentials Authorization *Authorization `locationName:"authorization" type:"structure"` // A Common Media Application Format (CMAF) packaging configuration. CmafPackage *CmafPackageCreateOrUpdateParameters `locationName:"cmafPackage" type:"structure"` // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` Origination Origination `locationName:"origination" type:"string" enum:"true"` StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
func (UpdateOriginEndpointInput) MarshalFields ¶
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"` // CDN Authorization credentials Authorization *Authorization `locationName:"authorization" type:"structure"` ChannelId *string `locationName:"channelId" type:"string"` // A Common Media Application Format (CMAF) packaging configuration. CmafPackage *CmafPackage `locationName:"cmafPackage" type:"structure"` // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` Id *string `locationName:"id" type:"string"` ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` Origination Origination `locationName:"origination" type:"string" enum:"true"` StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` // A collection of tags associated with a resource Tags map[string]string `locationName:"tags" type:"map"` TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` Url *string `locationName:"url" type:"string"` Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
func (UpdateOriginEndpointOutput) MarshalFields ¶
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 ¶
type UpdateOriginEndpointResponse struct { *UpdateOriginEndpointOutput // contains filtered or unexported fields }
UpdateOriginEndpointResponse is the response type for the UpdateOriginEndpoint API operation.
func (*UpdateOriginEndpointResponse) SDKResponseMetdata ¶
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_CreateHarvestJob.go api_op_CreateOriginEndpoint.go api_op_DeleteChannel.go api_op_DeleteOriginEndpoint.go api_op_DescribeChannel.go api_op_DescribeHarvestJob.go api_op_DescribeOriginEndpoint.go api_op_ListChannels.go api_op_ListHarvestJobs.go api_op_ListOriginEndpoints.go api_op_ListTagsForResource.go api_op_RotateChannelCredentials.go api_op_RotateIngestEndpointCredentials.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateChannel.go api_op_UpdateOriginEndpoint.go api_types.go
Directories ¶
Path | Synopsis |
---|---|
service/mediapackage/mediapackageiface | Package mediapackageiface provides an interface to enable mocking the AWS Elemental MediaPackage service client for testing your code. |
- Version
- v0.24.0
- Published
- Jul 22, 2020
- Platform
- darwin/amd64
- Imports
- 8 packages
- Last checked
- 2 minutes ago –
Tools for package owners.