vendor: update all dependencies
* Update all dependencies * Remove all `[[constraint]]` from Gopkg.toml * Add in the minimum number of `[[override]]` to build * Remove go get of github.com/inconshreveable/mousetrap as it is vendored * Update docs with new policy on constraints
This commit is contained in:
parent
21383877df
commit
6427029c4e
4902 changed files with 1443417 additions and 227283 deletions
505
vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go
generated
vendored
505
vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go
generated
vendored
|
@ -3,6 +3,8 @@
|
|||
package mediapackage
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awsutil"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
|
@ -12,7 +14,7 @@ const opCreateChannel = "CreateChannel"
|
|||
|
||||
// CreateChannelRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateChannel operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
|
@ -100,7 +102,7 @@ const opCreateOriginEndpoint = "CreateOriginEndpoint"
|
|||
|
||||
// CreateOriginEndpointRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateOriginEndpoint operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
|
@ -188,7 +190,7 @@ const opDeleteChannel = "DeleteChannel"
|
|||
|
||||
// DeleteChannelRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteChannel operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
|
@ -276,7 +278,7 @@ const opDeleteOriginEndpoint = "DeleteOriginEndpoint"
|
|||
|
||||
// DeleteOriginEndpointRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteOriginEndpoint operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
|
@ -364,7 +366,7 @@ const opDescribeChannel = "DescribeChannel"
|
|||
|
||||
// DescribeChannelRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeChannel operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
|
@ -452,7 +454,7 @@ const opDescribeOriginEndpoint = "DescribeOriginEndpoint"
|
|||
|
||||
// DescribeOriginEndpointRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeOriginEndpoint operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
|
@ -540,7 +542,7 @@ const opListChannels = "ListChannels"
|
|||
|
||||
// ListChannelsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListChannels operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
|
@ -684,7 +686,7 @@ const opListOriginEndpoints = "ListOriginEndpoints"
|
|||
|
||||
// ListOriginEndpointsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListOriginEndpoints operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
|
@ -828,7 +830,7 @@ const opRotateChannelCredentials = "RotateChannelCredentials"
|
|||
|
||||
// RotateChannelCredentialsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RotateChannelCredentials operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
|
@ -916,7 +918,7 @@ const opUpdateChannel = "UpdateChannel"
|
|||
|
||||
// UpdateChannelRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateChannel operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
|
@ -1004,7 +1006,7 @@ const opUpdateOriginEndpoint = "UpdateOriginEndpoint"
|
|||
|
||||
// UpdateOriginEndpointRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateOriginEndpoint operation. The "output" return
|
||||
// value will be populated with the request's response once the request complets
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
|
@ -1139,6 +1141,209 @@ func (s *Channel) SetId(v string) *Channel {
|
|||
return s
|
||||
}
|
||||
|
||||
// A Common Media Application Format (CMAF) encryption configuration.
|
||||
type CmafEncryption struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// 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"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s CmafEncryption) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s CmafEncryption) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *CmafEncryption) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "CmafEncryption"}
|
||||
if s.SpekeKeyProvider == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("SpekeKeyProvider"))
|
||||
}
|
||||
if s.SpekeKeyProvider != nil {
|
||||
if err := s.SpekeKeyProvider.Validate(); err != nil {
|
||||
invalidParams.AddNested("SpekeKeyProvider", err.(request.ErrInvalidParams))
|
||||
}
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value.
|
||||
func (s *CmafEncryption) SetKeyRotationIntervalSeconds(v int64) *CmafEncryption {
|
||||
s.KeyRotationIntervalSeconds = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetSpekeKeyProvider sets the SpekeKeyProvider field's value.
|
||||
func (s *CmafEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *CmafEncryption {
|
||||
s.SpekeKeyProvider = v
|
||||
return s
|
||||
}
|
||||
|
||||
// A Common Media Application Format (CMAF) packaging configuration.
|
||||
type CmafPackage struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// 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"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s CmafPackage) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s CmafPackage) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetEncryption sets the Encryption field's value.
|
||||
func (s *CmafPackage) SetEncryption(v *CmafEncryption) *CmafPackage {
|
||||
s.Encryption = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetHlsManifests sets the HlsManifests field's value.
|
||||
func (s *CmafPackage) SetHlsManifests(v []*HlsManifest) *CmafPackage {
|
||||
s.HlsManifests = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.
|
||||
func (s *CmafPackage) SetSegmentDurationSeconds(v int64) *CmafPackage {
|
||||
s.SegmentDurationSeconds = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetSegmentPrefix sets the SegmentPrefix field's value.
|
||||
func (s *CmafPackage) SetSegmentPrefix(v string) *CmafPackage {
|
||||
s.SegmentPrefix = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetStreamSelection sets the StreamSelection field's value.
|
||||
func (s *CmafPackage) SetStreamSelection(v *StreamSelection) *CmafPackage {
|
||||
s.StreamSelection = v
|
||||
return s
|
||||
}
|
||||
|
||||
// A Common Media Application Format (CMAF) packaging configuration.
|
||||
type CmafPackageCreateOrUpdateParameters struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// 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"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s CmafPackageCreateOrUpdateParameters) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s CmafPackageCreateOrUpdateParameters) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *CmafPackageCreateOrUpdateParameters) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "CmafPackageCreateOrUpdateParameters"}
|
||||
if s.Encryption != nil {
|
||||
if err := s.Encryption.Validate(); err != nil {
|
||||
invalidParams.AddNested("Encryption", err.(request.ErrInvalidParams))
|
||||
}
|
||||
}
|
||||
if s.HlsManifests != nil {
|
||||
for i, v := range s.HlsManifests {
|
||||
if v == nil {
|
||||
continue
|
||||
}
|
||||
if err := v.Validate(); err != nil {
|
||||
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "HlsManifests", i), err.(request.ErrInvalidParams))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetEncryption sets the Encryption field's value.
|
||||
func (s *CmafPackageCreateOrUpdateParameters) SetEncryption(v *CmafEncryption) *CmafPackageCreateOrUpdateParameters {
|
||||
s.Encryption = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetHlsManifests sets the HlsManifests field's value.
|
||||
func (s *CmafPackageCreateOrUpdateParameters) SetHlsManifests(v []*HlsManifestCreateOrUpdateParameters) *CmafPackageCreateOrUpdateParameters {
|
||||
s.HlsManifests = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.
|
||||
func (s *CmafPackageCreateOrUpdateParameters) SetSegmentDurationSeconds(v int64) *CmafPackageCreateOrUpdateParameters {
|
||||
s.SegmentDurationSeconds = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetSegmentPrefix sets the SegmentPrefix field's value.
|
||||
func (s *CmafPackageCreateOrUpdateParameters) SetSegmentPrefix(v string) *CmafPackageCreateOrUpdateParameters {
|
||||
s.SegmentPrefix = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetStreamSelection sets the StreamSelection field's value.
|
||||
func (s *CmafPackageCreateOrUpdateParameters) SetStreamSelection(v *StreamSelection) *CmafPackageCreateOrUpdateParameters {
|
||||
s.StreamSelection = v
|
||||
return s
|
||||
}
|
||||
|
||||
type CreateChannelInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -1236,6 +1441,9 @@ type CreateOriginEndpointInput struct {
|
|||
// ChannelId is a required field
|
||||
ChannelId *string `locationName:"channelId" type:"string" required:"true"`
|
||||
|
||||
// A Common Media Application Format (CMAF) packaging configuration.
|
||||
CmafPackage *CmafPackageCreateOrUpdateParameters `locationName:"cmafPackage" type:"structure"`
|
||||
|
||||
// A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
|
||||
DashPackage *DashPackage `locationName:"dashPackage" type:"structure"`
|
||||
|
||||
|
@ -1278,6 +1486,11 @@ func (s *CreateOriginEndpointInput) Validate() error {
|
|||
if s.Id == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Id"))
|
||||
}
|
||||
if s.CmafPackage != nil {
|
||||
if err := s.CmafPackage.Validate(); err != nil {
|
||||
invalidParams.AddNested("CmafPackage", err.(request.ErrInvalidParams))
|
||||
}
|
||||
}
|
||||
if s.DashPackage != nil {
|
||||
if err := s.DashPackage.Validate(); err != nil {
|
||||
invalidParams.AddNested("DashPackage", err.(request.ErrInvalidParams))
|
||||
|
@ -1306,6 +1519,12 @@ func (s *CreateOriginEndpointInput) SetChannelId(v string) *CreateOriginEndpoint
|
|||
return s
|
||||
}
|
||||
|
||||
// SetCmafPackage sets the CmafPackage field's value.
|
||||
func (s *CreateOriginEndpointInput) SetCmafPackage(v *CmafPackageCreateOrUpdateParameters) *CreateOriginEndpointInput {
|
||||
s.CmafPackage = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetDashPackage sets the DashPackage field's value.
|
||||
func (s *CreateOriginEndpointInput) SetDashPackage(v *DashPackage) *CreateOriginEndpointInput {
|
||||
s.DashPackage = v
|
||||
|
@ -1367,6 +1586,9 @@ type CreateOriginEndpointOutput struct {
|
|||
|
||||
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"`
|
||||
|
||||
|
@ -1413,6 +1635,12 @@ func (s *CreateOriginEndpointOutput) SetChannelId(v string) *CreateOriginEndpoin
|
|||
return s
|
||||
}
|
||||
|
||||
// SetCmafPackage sets the CmafPackage field's value.
|
||||
func (s *CreateOriginEndpointOutput) SetCmafPackage(v *CmafPackage) *CreateOriginEndpointOutput {
|
||||
s.CmafPackage = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetDashPackage sets the DashPackage field's value.
|
||||
func (s *CreateOriginEndpointOutput) SetDashPackage(v *DashPackage) *CreateOriginEndpointOutput {
|
||||
s.DashPackage = v
|
||||
|
@ -1859,6 +2087,9 @@ type DescribeOriginEndpointOutput struct {
|
|||
|
||||
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"`
|
||||
|
||||
|
@ -1905,6 +2136,12 @@ func (s *DescribeOriginEndpointOutput) SetChannelId(v string) *DescribeOriginEnd
|
|||
return s
|
||||
}
|
||||
|
||||
// SetCmafPackage sets the CmafPackage field's value.
|
||||
func (s *DescribeOriginEndpointOutput) SetCmafPackage(v *CmafPackage) *DescribeOriginEndpointOutput {
|
||||
s.CmafPackage = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetDashPackage sets the DashPackage field's value.
|
||||
func (s *DescribeOriginEndpointOutput) SetDashPackage(v *DashPackage) *DescribeOriginEndpointOutput {
|
||||
s.DashPackage = v
|
||||
|
@ -2071,6 +2308,218 @@ func (s *HlsIngest) SetIngestEndpoints(v []*IngestEndpoint) *HlsIngest {
|
|||
return s
|
||||
}
|
||||
|
||||
// A HTTP Live Streaming (HLS) manifest configuration.
|
||||
type HlsManifest struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// 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 *string `locationName:"adMarkers" type:"string" enum:"AdMarkers"`
|
||||
|
||||
// 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 *string `locationName:"playlistType" type:"string" enum:"PlaylistType"`
|
||||
|
||||
// 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"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s HlsManifest) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s HlsManifest) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetAdMarkers sets the AdMarkers field's value.
|
||||
func (s *HlsManifest) SetAdMarkers(v string) *HlsManifest {
|
||||
s.AdMarkers = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetId sets the Id field's value.
|
||||
func (s *HlsManifest) SetId(v string) *HlsManifest {
|
||||
s.Id = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetIncludeIframeOnlyStream sets the IncludeIframeOnlyStream field's value.
|
||||
func (s *HlsManifest) SetIncludeIframeOnlyStream(v bool) *HlsManifest {
|
||||
s.IncludeIframeOnlyStream = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetManifestName sets the ManifestName field's value.
|
||||
func (s *HlsManifest) SetManifestName(v string) *HlsManifest {
|
||||
s.ManifestName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetPlaylistType sets the PlaylistType field's value.
|
||||
func (s *HlsManifest) SetPlaylistType(v string) *HlsManifest {
|
||||
s.PlaylistType = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetPlaylistWindowSeconds sets the PlaylistWindowSeconds field's value.
|
||||
func (s *HlsManifest) SetPlaylistWindowSeconds(v int64) *HlsManifest {
|
||||
s.PlaylistWindowSeconds = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.
|
||||
func (s *HlsManifest) SetProgramDateTimeIntervalSeconds(v int64) *HlsManifest {
|
||||
s.ProgramDateTimeIntervalSeconds = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetUrl sets the Url field's value.
|
||||
func (s *HlsManifest) SetUrl(v string) *HlsManifest {
|
||||
s.Url = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// A HTTP Live Streaming (HLS) manifest configuration.
|
||||
type HlsManifestCreateOrUpdateParameters struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// 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 *string `locationName:"adMarkers" type:"string" enum:"AdMarkers"`
|
||||
|
||||
// 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 *string `locationName:"playlistType" type:"string" enum:"PlaylistType"`
|
||||
|
||||
// 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"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s HlsManifestCreateOrUpdateParameters) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s HlsManifestCreateOrUpdateParameters) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *HlsManifestCreateOrUpdateParameters) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "HlsManifestCreateOrUpdateParameters"}
|
||||
if s.Id == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Id"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetAdMarkers sets the AdMarkers field's value.
|
||||
func (s *HlsManifestCreateOrUpdateParameters) SetAdMarkers(v string) *HlsManifestCreateOrUpdateParameters {
|
||||
s.AdMarkers = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetId sets the Id field's value.
|
||||
func (s *HlsManifestCreateOrUpdateParameters) SetId(v string) *HlsManifestCreateOrUpdateParameters {
|
||||
s.Id = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetIncludeIframeOnlyStream sets the IncludeIframeOnlyStream field's value.
|
||||
func (s *HlsManifestCreateOrUpdateParameters) SetIncludeIframeOnlyStream(v bool) *HlsManifestCreateOrUpdateParameters {
|
||||
s.IncludeIframeOnlyStream = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetManifestName sets the ManifestName field's value.
|
||||
func (s *HlsManifestCreateOrUpdateParameters) SetManifestName(v string) *HlsManifestCreateOrUpdateParameters {
|
||||
s.ManifestName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetPlaylistType sets the PlaylistType field's value.
|
||||
func (s *HlsManifestCreateOrUpdateParameters) SetPlaylistType(v string) *HlsManifestCreateOrUpdateParameters {
|
||||
s.PlaylistType = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetPlaylistWindowSeconds sets the PlaylistWindowSeconds field's value.
|
||||
func (s *HlsManifestCreateOrUpdateParameters) SetPlaylistWindowSeconds(v int64) *HlsManifestCreateOrUpdateParameters {
|
||||
s.PlaylistWindowSeconds = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.
|
||||
func (s *HlsManifestCreateOrUpdateParameters) SetProgramDateTimeIntervalSeconds(v int64) *HlsManifestCreateOrUpdateParameters {
|
||||
s.ProgramDateTimeIntervalSeconds = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// An HTTP Live Streaming (HLS) packaging configuration.
|
||||
type HlsPackage struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
@ -2098,7 +2547,7 @@ type HlsPackage struct {
|
|||
|
||||
// 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 the ingest time of the content.If
|
||||
// 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
|
||||
|
@ -2513,6 +2962,9 @@ type OriginEndpoint struct {
|
|||
// 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"`
|
||||
|
||||
|
@ -2568,6 +3020,12 @@ func (s *OriginEndpoint) SetChannelId(v string) *OriginEndpoint {
|
|||
return s
|
||||
}
|
||||
|
||||
// SetCmafPackage sets the CmafPackage field's value.
|
||||
func (s *OriginEndpoint) SetCmafPackage(v *CmafPackage) *OriginEndpoint {
|
||||
s.CmafPackage = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetDashPackage sets the DashPackage field's value.
|
||||
func (s *OriginEndpoint) SetDashPackage(v *DashPackage) *OriginEndpoint {
|
||||
s.DashPackage = v
|
||||
|
@ -2930,6 +3388,9 @@ func (s *UpdateChannelOutput) SetId(v string) *UpdateChannelOutput {
|
|||
type UpdateOriginEndpointInput struct {
|
||||
_ struct{} `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"`
|
||||
|
||||
|
@ -2969,6 +3430,11 @@ func (s *UpdateOriginEndpointInput) Validate() error {
|
|||
if s.Id == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("Id"))
|
||||
}
|
||||
if s.CmafPackage != nil {
|
||||
if err := s.CmafPackage.Validate(); err != nil {
|
||||
invalidParams.AddNested("CmafPackage", err.(request.ErrInvalidParams))
|
||||
}
|
||||
}
|
||||
if s.DashPackage != nil {
|
||||
if err := s.DashPackage.Validate(); err != nil {
|
||||
invalidParams.AddNested("DashPackage", err.(request.ErrInvalidParams))
|
||||
|
@ -2991,6 +3457,12 @@ func (s *UpdateOriginEndpointInput) Validate() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// SetCmafPackage sets the CmafPackage field's value.
|
||||
func (s *UpdateOriginEndpointInput) SetCmafPackage(v *CmafPackageCreateOrUpdateParameters) *UpdateOriginEndpointInput {
|
||||
s.CmafPackage = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetDashPackage sets the DashPackage field's value.
|
||||
func (s *UpdateOriginEndpointInput) SetDashPackage(v *DashPackage) *UpdateOriginEndpointInput {
|
||||
s.DashPackage = v
|
||||
|
@ -3052,6 +3524,9 @@ type UpdateOriginEndpointOutput struct {
|
|||
|
||||
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"`
|
||||
|
||||
|
@ -3098,6 +3573,12 @@ func (s *UpdateOriginEndpointOutput) SetChannelId(v string) *UpdateOriginEndpoin
|
|||
return s
|
||||
}
|
||||
|
||||
// SetCmafPackage sets the CmafPackage field's value.
|
||||
func (s *UpdateOriginEndpointOutput) SetCmafPackage(v *CmafPackage) *UpdateOriginEndpointOutput {
|
||||
s.CmafPackage = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetDashPackage sets the DashPackage field's value.
|
||||
func (s *UpdateOriginEndpointOutput) SetDashPackage(v *DashPackage) *UpdateOriginEndpointOutput {
|
||||
s.DashPackage = v
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue