func AdMarkerDash_Values() []string
AdMarkerDash_Values returns all elements of the AdMarkerDash enum
func AdMarkerHls_Values() []string
AdMarkerHls_Values returns all elements of the AdMarkerHls enum
func CmafEncryptionMethod_Values() []string
CmafEncryptionMethod_Values returns all elements of the CmafEncryptionMethod enum
func ConflictExceptionType_Values() []string
ConflictExceptionType_Values returns all elements of the ConflictExceptionType enum
func ContainerType_Values() []string
ContainerType_Values returns all elements of the ContainerType enum
func DashDrmSignaling_Values() []string
DashDrmSignaling_Values returns all elements of the DashDrmSignaling enum
func DashPeriodTrigger_Values() []string
DashPeriodTrigger_Values returns all elements of the DashPeriodTrigger enum
func DashSegmentTemplateFormat_Values() []string
DashSegmentTemplateFormat_Values returns all elements of the DashSegmentTemplateFormat enum
func DashUtcTimingMode_Values() []string
DashUtcTimingMode_Values returns all elements of the DashUtcTimingMode enum
func DrmSystem_Values() []string
DrmSystem_Values returns all elements of the DrmSystem enum
func EndpointErrorCondition_Values() []string
EndpointErrorCondition_Values returns all elements of the EndpointErrorCondition enum
func InputType_Values() []string
InputType_Values returns all elements of the InputType enum
func PresetSpeke20Audio_Values() []string
PresetSpeke20Audio_Values returns all elements of the PresetSpeke20Audio enum
func PresetSpeke20Video_Values() []string
PresetSpeke20Video_Values returns all elements of the PresetSpeke20Video enum
func ResourceTypeNotFound_Values() []string
ResourceTypeNotFound_Values returns all elements of the ResourceTypeNotFound enum
func ScteFilter_Values() []string
ScteFilter_Values returns all elements of the ScteFilter enum
func TsEncryptionMethod_Values() []string
TsEncryptionMethod_Values returns all elements of the TsEncryptionMethod enum
func ValidationExceptionType_Values() []string
ValidationExceptionType_Values returns all elements of the ValidationExceptionType enum
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ChannelGroupListConfiguration struct { // The Amazon Resource Name (ARN) associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `type:"string" required:"true"` // The date and time the channel group was created. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` // Any descriptive information that you want to add to the channel group for // future identification purposes. Description *string `type:"string"` // The date and time the channel group was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `type:"timestamp" required:"true"` // contains filtered or unexported fields }
The configuration of the channel group.
func (s ChannelGroupListConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ChannelGroupListConfiguration) SetArn(v string) *ChannelGroupListConfiguration
SetArn sets the Arn field's value.
func (s *ChannelGroupListConfiguration) SetChannelGroupName(v string) *ChannelGroupListConfiguration
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *ChannelGroupListConfiguration) SetCreatedAt(v time.Time) *ChannelGroupListConfiguration
SetCreatedAt sets the CreatedAt field's value.
func (s *ChannelGroupListConfiguration) SetDescription(v string) *ChannelGroupListConfiguration
SetDescription sets the Description field's value.
func (s *ChannelGroupListConfiguration) SetModifiedAt(v time.Time) *ChannelGroupListConfiguration
SetModifiedAt sets the ModifiedAt field's value.
func (s ChannelGroupListConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ChannelListConfiguration struct { // The Amazon Resource Name (ARN) associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `type:"string" required:"true"` // The date and time the channel was created. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` // Any descriptive information that you want to add to the channel for future // identification purposes. Description *string `type:"string"` // The input type will be an immutable field which will be used to define whether // the channel will allow CMAF ingest or HLS ingest. If unprovided, it will // default to HLS to preserve current behavior. // // The allowed values are: // // * HLS - The HLS streaming specification (which defines M3U8 manifests // and TS segments). // // * CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments // with optional DASH manifests). InputType *string `type:"string" enum:"InputType"` // The date and time the channel was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `type:"timestamp" required:"true"` // contains filtered or unexported fields }
The configuration of the channel.
func (s ChannelListConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ChannelListConfiguration) SetArn(v string) *ChannelListConfiguration
SetArn sets the Arn field's value.
func (s *ChannelListConfiguration) SetChannelGroupName(v string) *ChannelListConfiguration
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *ChannelListConfiguration) SetChannelName(v string) *ChannelListConfiguration
SetChannelName sets the ChannelName field's value.
func (s *ChannelListConfiguration) SetCreatedAt(v time.Time) *ChannelListConfiguration
SetCreatedAt sets the CreatedAt field's value.
func (s *ChannelListConfiguration) SetDescription(v string) *ChannelListConfiguration
SetDescription sets the Description field's value.
func (s *ChannelListConfiguration) SetInputType(v string) *ChannelListConfiguration
SetInputType sets the InputType field's value.
func (s *ChannelListConfiguration) SetModifiedAt(v time.Time) *ChannelListConfiguration
SetModifiedAt sets the ModifiedAt field's value.
func (s ChannelListConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The type of ConflictException. ConflictExceptionType *string `type:"string" enum:"ConflictExceptionType"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Updating or deleting this resource can cause an inconsistent state.
func (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateChannelGroupInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // You can't use spaces in the name. You can't change the name after you create // the channel group. // // ChannelGroupName is a required field ChannelGroupName *string `min:"1" type:"string" required:"true"` // A unique, case-sensitive token that you provide to ensure the idempotency // of the request. ClientToken *string `location:"header" locationName:"x-amzn-client-token" min:"1" type:"string" idempotencyToken:"true"` // Enter any descriptive text that helps you to identify the channel group. Description *string `type:"string"` // A comma-separated list of tag key:value pairs that you define. For example: // // "Key1": "Value1", // // "Key2": "Value2" Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s CreateChannelGroupInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateChannelGroupInput) SetChannelGroupName(v string) *CreateChannelGroupInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *CreateChannelGroupInput) SetClientToken(v string) *CreateChannelGroupInput
SetClientToken sets the ClientToken field's value.
func (s *CreateChannelGroupInput) SetDescription(v string) *CreateChannelGroupInput
SetDescription sets the Description field's value.
func (s *CreateChannelGroupInput) SetTags(v map[string]*string) *CreateChannelGroupInput
SetTags sets the Tags field's value.
func (s CreateChannelGroupInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateChannelGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateChannelGroupOutput struct { // The Amazon Resource Name (ARN) associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `type:"string" required:"true"` // The date and time the channel group was created. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` // The description for your channel group. Description *string `type:"string"` // The current Entity Tag (ETag) associated with this resource. The entity tag // can be used to safely make concurrent updates to the resource. ETag *string `min:"1" type:"string"` // The output domain where the source stream should be sent. Integrate the egress // domain with a downstream CDN (such as Amazon CloudFront) or playback device. // // EgressDomain is a required field EgressDomain *string `type:"string" required:"true"` // The date and time the channel group was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `type:"timestamp" required:"true"` // The comma-separated list of tag key:value pairs assigned to the channel group. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (s CreateChannelGroupOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateChannelGroupOutput) SetArn(v string) *CreateChannelGroupOutput
SetArn sets the Arn field's value.
func (s *CreateChannelGroupOutput) SetChannelGroupName(v string) *CreateChannelGroupOutput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *CreateChannelGroupOutput) SetCreatedAt(v time.Time) *CreateChannelGroupOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *CreateChannelGroupOutput) SetDescription(v string) *CreateChannelGroupOutput
SetDescription sets the Description field's value.
func (s *CreateChannelGroupOutput) SetETag(v string) *CreateChannelGroupOutput
SetETag sets the ETag field's value.
func (s *CreateChannelGroupOutput) SetEgressDomain(v string) *CreateChannelGroupOutput
SetEgressDomain sets the EgressDomain field's value.
func (s *CreateChannelGroupOutput) SetModifiedAt(v time.Time) *CreateChannelGroupOutput
SetModifiedAt sets the ModifiedAt field's value.
func (s *CreateChannelGroupOutput) SetTags(v map[string]*string) *CreateChannelGroupOutput
SetTags sets the Tags field's value.
func (s CreateChannelGroupOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateChannelInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. You can't change the name after you create the channel. // // ChannelName is a required field ChannelName *string `min:"1" type:"string" required:"true"` // A unique, case-sensitive token that you provide to ensure the idempotency // of the request. ClientToken *string `location:"header" locationName:"x-amzn-client-token" min:"1" type:"string" idempotencyToken:"true"` // Enter any descriptive text that helps you to identify the channel. Description *string `type:"string"` // The input type will be an immutable field which will be used to define whether // the channel will allow CMAF ingest or HLS ingest. If unprovided, it will // default to HLS to preserve current behavior. // // The allowed values are: // // * HLS - The HLS streaming specification (which defines M3U8 manifests // and TS segments). // // * CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments // with optional DASH manifests). InputType *string `type:"string" enum:"InputType"` // A comma-separated list of tag key:value pairs that you define. For example: // // "Key1": "Value1", // // "Key2": "Value2" Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s CreateChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateChannelInput) SetChannelGroupName(v string) *CreateChannelInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *CreateChannelInput) SetChannelName(v string) *CreateChannelInput
SetChannelName sets the ChannelName field's value.
func (s *CreateChannelInput) SetClientToken(v string) *CreateChannelInput
SetClientToken sets the ClientToken field's value.
func (s *CreateChannelInput) SetDescription(v string) *CreateChannelInput
SetDescription sets the Description field's value.
func (s *CreateChannelInput) SetInputType(v string) *CreateChannelInput
SetInputType sets the InputType field's value.
func (s *CreateChannelInput) SetTags(v map[string]*string) *CreateChannelInput
SetTags sets the Tags field's value.
func (s CreateChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateChannelOutput struct { // The Amazon Resource Name (ARN) associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `type:"string" required:"true"` // The date and time the channel was created. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` // The description for your channel. Description *string `type:"string"` // The current Entity Tag (ETag) associated with this resource. The entity tag // can be used to safely make concurrent updates to the resource. ETag *string `min:"1" type:"string"` // The list of ingest endpoints. IngestEndpoints []*IngestEndpoint `type:"list"` // The input type will be an immutable field which will be used to define whether // the channel will allow CMAF ingest or HLS ingest. If unprovided, it will // default to HLS to preserve current behavior. // // The allowed values are: // // * HLS - The HLS streaming specification (which defines M3U8 manifests // and TS segments). // // * CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments // with optional DASH manifests). InputType *string `type:"string" enum:"InputType"` // The date and time the channel was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `type:"timestamp" required:"true"` // The comma-separated list of tag key:value pairs assigned to the channel. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (s CreateChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateChannelOutput) SetArn(v string) *CreateChannelOutput
SetArn sets the Arn field's value.
func (s *CreateChannelOutput) SetChannelGroupName(v string) *CreateChannelOutput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *CreateChannelOutput) SetChannelName(v string) *CreateChannelOutput
SetChannelName sets the ChannelName field's value.
func (s *CreateChannelOutput) SetCreatedAt(v time.Time) *CreateChannelOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *CreateChannelOutput) SetDescription(v string) *CreateChannelOutput
SetDescription sets the Description field's value.
func (s *CreateChannelOutput) SetETag(v string) *CreateChannelOutput
SetETag sets the ETag field's value.
func (s *CreateChannelOutput) SetIngestEndpoints(v []*IngestEndpoint) *CreateChannelOutput
SetIngestEndpoints sets the IngestEndpoints field's value.
func (s *CreateChannelOutput) SetInputType(v string) *CreateChannelOutput
SetInputType sets the InputType field's value.
func (s *CreateChannelOutput) SetModifiedAt(v time.Time) *CreateChannelOutput
SetModifiedAt sets the ModifiedAt field's value.
func (s *CreateChannelOutput) SetTags(v map[string]*string) *CreateChannelOutput
SetTags sets the Tags field's value.
func (s CreateChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateDashManifestConfiguration struct { // Determines how the DASH manifest signals the DRM content. DrmSignaling *string `type:"string" enum:"DashDrmSignaling"` // Filter configuration includes settings for manifest filtering, start and // end times, and time delay that apply to all of your egress requests for this // manifest. FilterConfiguration *FilterConfiguration `type:"structure"` // A short string that's appended to the endpoint URL. The child manifest name // creates a unique path to this endpoint. // // ManifestName is a required field ManifestName *string `min:"1" type:"string" required:"true"` // The total duration (in seconds) of the manifest's content. ManifestWindowSeconds *int64 `min:"30" type:"integer"` // Minimum amount of content (in seconds) that a player must keep available // in the buffer. MinBufferTimeSeconds *int64 `type:"integer"` // Minimum amount of time (in seconds) that the player should wait before requesting // updates to the manifest. MinUpdatePeriodSeconds *int64 `min:"1" type:"integer"` // A list of triggers that controls when AWS Elemental MediaPackage separates // the MPEG-DASH manifest into multiple periods. Type ADS to indicate that AWS // Elemental MediaPackage must create periods in the output manifest that correspond // to SCTE-35 ad markers in the input source. Leave this value empty to indicate // that the manifest is contained all in one period. For more information about // periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage // (https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html). PeriodTriggers []*string `type:"list" enum:"DashPeriodTrigger"` // The SCTE configuration. ScteDash *ScteDash `type:"structure"` // Determines the type of variable used in the media URL of the SegmentTemplate // tag in the manifest. Also specifies if segment timeline information is included // in SegmentTimeline or SegmentTemplate. // // Value description: // // * NUMBER_WITH_TIMELINE - The $Number$ variable is used in the media URL. // The value of this variable is the sequential number of the segment. A // full SegmentTimeline object is presented in each SegmentTemplate. SegmentTemplateFormat *string `type:"string" enum:"DashSegmentTemplateFormat"` // The amount of time (in seconds) that the player should be from the end of // the manifest. SuggestedPresentationDelaySeconds *int64 `type:"integer"` // Determines the type of UTC timing included in the DASH Media Presentation // Description (MPD). UtcTiming *DashUtcTiming `type:"structure"` // contains filtered or unexported fields }
Create a DASH manifest configuration.
func (s CreateDashManifestConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDashManifestConfiguration) SetDrmSignaling(v string) *CreateDashManifestConfiguration
SetDrmSignaling sets the DrmSignaling field's value.
func (s *CreateDashManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *CreateDashManifestConfiguration
SetFilterConfiguration sets the FilterConfiguration field's value.
func (s *CreateDashManifestConfiguration) SetManifestName(v string) *CreateDashManifestConfiguration
SetManifestName sets the ManifestName field's value.
func (s *CreateDashManifestConfiguration) SetManifestWindowSeconds(v int64) *CreateDashManifestConfiguration
SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.
func (s *CreateDashManifestConfiguration) SetMinBufferTimeSeconds(v int64) *CreateDashManifestConfiguration
SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value.
func (s *CreateDashManifestConfiguration) SetMinUpdatePeriodSeconds(v int64) *CreateDashManifestConfiguration
SetMinUpdatePeriodSeconds sets the MinUpdatePeriodSeconds field's value.
func (s *CreateDashManifestConfiguration) SetPeriodTriggers(v []*string) *CreateDashManifestConfiguration
SetPeriodTriggers sets the PeriodTriggers field's value.
func (s *CreateDashManifestConfiguration) SetScteDash(v *ScteDash) *CreateDashManifestConfiguration
SetScteDash sets the ScteDash field's value.
func (s *CreateDashManifestConfiguration) SetSegmentTemplateFormat(v string) *CreateDashManifestConfiguration
SetSegmentTemplateFormat sets the SegmentTemplateFormat field's value.
func (s *CreateDashManifestConfiguration) SetSuggestedPresentationDelaySeconds(v int64) *CreateDashManifestConfiguration
SetSuggestedPresentationDelaySeconds sets the SuggestedPresentationDelaySeconds field's value.
func (s *CreateDashManifestConfiguration) SetUtcTiming(v *DashUtcTiming) *CreateDashManifestConfiguration
SetUtcTiming sets the UtcTiming field's value.
func (s CreateDashManifestConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateDashManifestConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateHlsManifestConfiguration struct { // A short string that's appended to the endpoint URL. The child manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default manifest name, index, with an added suffix to distinguish // it from the manifest name. The manifestName on the HLSManifest object overrides // the manifestName you provided on the originEndpoint object. ChildManifestName *string `min:"1" type:"string"` // Filter configuration includes settings for manifest filtering, start and // end times, and time delay that apply to all of your egress requests for this // manifest. FilterConfiguration *FilterConfiguration `type:"structure"` // A short short string that's appended to the endpoint URL. The manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default manifest name, index. MediaPackage automatically inserts // the format extension, such as .m3u8. You can't use the same manifest name // if you use HLS manifest and low-latency HLS manifest. The manifestName on // the HLSManifest object overrides the manifestName you provided on the originEndpoint // object. // // ManifestName is a required field ManifestName *string `min:"1" type:"string" required:"true"` // The total duration (in seconds) of the manifest's content. ManifestWindowSeconds *int64 `min:"30" type:"integer"` // Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval // that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME // tags aren't included in the manifest. The tags sync the stream to the wall // clock so that viewers can seek to a specific time in the playback timeline // on the player. ID3Timed metadata messages generate every 5 seconds whenever // the content is ingested. // // Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, // it is passed through to the HLS output. ProgramDateTimeIntervalSeconds *int64 `min:"1" type:"integer"` // The SCTE configuration. ScteHls *ScteHls `type:"structure"` // contains filtered or unexported fields }
Create an HTTP live streaming (HLS) manifest configuration.
func (s CreateHlsManifestConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateHlsManifestConfiguration) SetChildManifestName(v string) *CreateHlsManifestConfiguration
SetChildManifestName sets the ChildManifestName field's value.
func (s *CreateHlsManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *CreateHlsManifestConfiguration
SetFilterConfiguration sets the FilterConfiguration field's value.
func (s *CreateHlsManifestConfiguration) SetManifestName(v string) *CreateHlsManifestConfiguration
SetManifestName sets the ManifestName field's value.
func (s *CreateHlsManifestConfiguration) SetManifestWindowSeconds(v int64) *CreateHlsManifestConfiguration
SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.
func (s *CreateHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds(v int64) *CreateHlsManifestConfiguration
SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.
func (s *CreateHlsManifestConfiguration) SetScteHls(v *ScteHls) *CreateHlsManifestConfiguration
SetScteHls sets the ScteHls field's value.
func (s CreateHlsManifestConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateHlsManifestConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLowLatencyHlsManifestConfiguration struct { // A short string that's appended to the endpoint URL. The child manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default manifest name, index, with an added suffix to distinguish // it from the manifest name. The manifestName on the HLSManifest object overrides // the manifestName you provided on the originEndpoint object. ChildManifestName *string `min:"1" type:"string"` // Filter configuration includes settings for manifest filtering, start and // end times, and time delay that apply to all of your egress requests for this // manifest. FilterConfiguration *FilterConfiguration `type:"structure"` // A short short string that's appended to the endpoint URL. The manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default manifest name, index. MediaPackage automatically inserts // the format extension, such as .m3u8. You can't use the same manifest name // if you use HLS manifest and low-latency HLS manifest. The manifestName on // the HLSManifest object overrides the manifestName you provided on the originEndpoint // object. // // ManifestName is a required field ManifestName *string `min:"1" type:"string" required:"true"` // The total duration (in seconds) of the manifest's content. ManifestWindowSeconds *int64 `min:"30" type:"integer"` // Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval // that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME // tags aren't included in the manifest. The tags sync the stream to the wall // clock so that viewers can seek to a specific time in the playback timeline // on the player. ID3Timed metadata messages generate every 5 seconds whenever // the content is ingested. // // Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, // it is passed through to the HLS output. ProgramDateTimeIntervalSeconds *int64 `min:"1" type:"integer"` // The SCTE configuration. ScteHls *ScteHls `type:"structure"` // contains filtered or unexported fields }
Create a low-latency HTTP live streaming (HLS) manifest configuration.
func (s CreateLowLatencyHlsManifestConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateLowLatencyHlsManifestConfiguration) SetChildManifestName(v string) *CreateLowLatencyHlsManifestConfiguration
SetChildManifestName sets the ChildManifestName field's value.
func (s *CreateLowLatencyHlsManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *CreateLowLatencyHlsManifestConfiguration
SetFilterConfiguration sets the FilterConfiguration field's value.
func (s *CreateLowLatencyHlsManifestConfiguration) SetManifestName(v string) *CreateLowLatencyHlsManifestConfiguration
SetManifestName sets the ManifestName field's value.
func (s *CreateLowLatencyHlsManifestConfiguration) SetManifestWindowSeconds(v int64) *CreateLowLatencyHlsManifestConfiguration
SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.
func (s *CreateLowLatencyHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds(v int64) *CreateLowLatencyHlsManifestConfiguration
SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.
func (s *CreateLowLatencyHlsManifestConfiguration) SetScteHls(v *ScteHls) *CreateLowLatencyHlsManifestConfiguration
SetScteHls sets the ScteHls field's value.
func (s CreateLowLatencyHlsManifestConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateLowLatencyHlsManifestConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateOriginEndpointInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // A unique, case-sensitive token that you provide to ensure the idempotency // of the request. ClientToken *string `location:"header" locationName:"x-amzn-client-token" min:"1" type:"string" idempotencyToken:"true"` // The type of container to attach to this origin endpoint. A container type // is a file format that encapsulates one or more media streams, such as audio // and video, into a single file. You can't change the container type after // you create the endpoint. // // ContainerType is a required field ContainerType *string `type:"string" required:"true" enum:"ContainerType"` // A DASH manifest configuration. DashManifests []*CreateDashManifestConfiguration `type:"list"` // Enter any descriptive text that helps you to identify the origin endpoint. Description *string `type:"string"` // The failover settings for the endpoint. ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"` // An HTTP live streaming (HLS) manifest configuration. HlsManifests []*CreateHlsManifestConfiguration `type:"list"` // A low-latency HLS manifest configuration. LowLatencyHlsManifests []*CreateLowLatencyHlsManifestConfiguration `type:"list"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and must be unique for your account in the AWS Region // and channel. You can't use spaces in the name. You can't change the name // after you create the endpoint. // // OriginEndpointName is a required field OriginEndpointName *string `min:"1" type:"string" required:"true"` // The segment configuration, including the segment name, duration, and other // configuration values. Segment *Segment `type:"structure"` // The size of the window (in seconds) to create a window of the live stream // that's available for on-demand viewing. Viewers can start-over or catch-up // on content that falls within the window. The maximum startover window is // 1,209,600 seconds (14 days). StartoverWindowSeconds *int64 `min:"60" type:"integer"` // A comma-separated list of tag key:value pairs that you define. For example: // // "Key1": "Value1", // // "Key2": "Value2" Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (s CreateOriginEndpointInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateOriginEndpointInput) SetChannelGroupName(v string) *CreateOriginEndpointInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *CreateOriginEndpointInput) SetChannelName(v string) *CreateOriginEndpointInput
SetChannelName sets the ChannelName field's value.
func (s *CreateOriginEndpointInput) SetClientToken(v string) *CreateOriginEndpointInput
SetClientToken sets the ClientToken field's value.
func (s *CreateOriginEndpointInput) SetContainerType(v string) *CreateOriginEndpointInput
SetContainerType sets the ContainerType field's value.
func (s *CreateOriginEndpointInput) SetDashManifests(v []*CreateDashManifestConfiguration) *CreateOriginEndpointInput
SetDashManifests sets the DashManifests field's value.
func (s *CreateOriginEndpointInput) SetDescription(v string) *CreateOriginEndpointInput
SetDescription sets the Description field's value.
func (s *CreateOriginEndpointInput) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *CreateOriginEndpointInput
SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.
func (s *CreateOriginEndpointInput) SetHlsManifests(v []*CreateHlsManifestConfiguration) *CreateOriginEndpointInput
SetHlsManifests sets the HlsManifests field's value.
func (s *CreateOriginEndpointInput) SetLowLatencyHlsManifests(v []*CreateLowLatencyHlsManifestConfiguration) *CreateOriginEndpointInput
SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.
func (s *CreateOriginEndpointInput) SetOriginEndpointName(v string) *CreateOriginEndpointInput
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s *CreateOriginEndpointInput) SetSegment(v *Segment) *CreateOriginEndpointInput
SetSegment sets the Segment field's value.
func (s *CreateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointInput
SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.
func (s *CreateOriginEndpointInput) SetTags(v map[string]*string) *CreateOriginEndpointInput
SetTags sets the Tags field's value.
func (s CreateOriginEndpointInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateOriginEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateOriginEndpointOutput struct { // The Amazon Resource Name (ARN) associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `min:"1" type:"string" required:"true"` // The type of container attached to this origin endpoint. // // ContainerType is a required field ContainerType *string `type:"string" required:"true" enum:"ContainerType"` // The date and time the origin endpoint was created. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` // A DASH manifest configuration. DashManifests []*GetDashManifestConfiguration `type:"list"` // The description for your origin endpoint. Description *string `type:"string"` // The current Entity Tag (ETag) associated with this resource. The entity tag // can be used to safely make concurrent updates to the resource. ETag *string `min:"1" type:"string"` // The failover settings for the endpoint. ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"` // An HTTP live streaming (HLS) manifest configuration. HlsManifests []*GetHlsManifestConfiguration `type:"list"` // A low-latency HLS manifest configuration. LowLatencyHlsManifests []*GetLowLatencyHlsManifestConfiguration `type:"list"` // The date and time the origin endpoint was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `type:"timestamp" required:"true"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and and must be unique for your account in the AWS // Region and channel. // // OriginEndpointName is a required field OriginEndpointName *string `min:"1" type:"string" required:"true"` // The segment configuration, including the segment name, duration, and other // configuration values. // // Segment is a required field Segment *Segment `type:"structure" required:"true"` // The size of the window (in seconds) to create a window of the live stream // that's available for on-demand viewing. Viewers can start-over or catch-up // on content that falls within the window. StartoverWindowSeconds *int64 `type:"integer"` // The comma-separated list of tag key:value pairs assigned to the origin endpoint. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (s CreateOriginEndpointOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateOriginEndpointOutput) SetArn(v string) *CreateOriginEndpointOutput
SetArn sets the Arn field's value.
func (s *CreateOriginEndpointOutput) SetChannelGroupName(v string) *CreateOriginEndpointOutput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *CreateOriginEndpointOutput) SetChannelName(v string) *CreateOriginEndpointOutput
SetChannelName sets the ChannelName field's value.
func (s *CreateOriginEndpointOutput) SetContainerType(v string) *CreateOriginEndpointOutput
SetContainerType sets the ContainerType field's value.
func (s *CreateOriginEndpointOutput) SetCreatedAt(v time.Time) *CreateOriginEndpointOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *CreateOriginEndpointOutput) SetDashManifests(v []*GetDashManifestConfiguration) *CreateOriginEndpointOutput
SetDashManifests sets the DashManifests field's value.
func (s *CreateOriginEndpointOutput) SetDescription(v string) *CreateOriginEndpointOutput
SetDescription sets the Description field's value.
func (s *CreateOriginEndpointOutput) SetETag(v string) *CreateOriginEndpointOutput
SetETag sets the ETag field's value.
func (s *CreateOriginEndpointOutput) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *CreateOriginEndpointOutput
SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.
func (s *CreateOriginEndpointOutput) SetHlsManifests(v []*GetHlsManifestConfiguration) *CreateOriginEndpointOutput
SetHlsManifests sets the HlsManifests field's value.
func (s *CreateOriginEndpointOutput) SetLowLatencyHlsManifests(v []*GetLowLatencyHlsManifestConfiguration) *CreateOriginEndpointOutput
SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.
func (s *CreateOriginEndpointOutput) SetModifiedAt(v time.Time) *CreateOriginEndpointOutput
SetModifiedAt sets the ModifiedAt field's value.
func (s *CreateOriginEndpointOutput) SetOriginEndpointName(v string) *CreateOriginEndpointOutput
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s *CreateOriginEndpointOutput) SetSegment(v *Segment) *CreateOriginEndpointOutput
SetSegment sets the Segment field's value.
func (s *CreateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointOutput
SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.
func (s *CreateOriginEndpointOutput) SetTags(v map[string]*string) *CreateOriginEndpointOutput
SetTags sets the Tags field's value.
func (s CreateOriginEndpointOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DashUtcTiming struct { // The UTC timing mode. TimingMode *string `type:"string" enum:"DashUtcTimingMode"` // The the method that the player uses to synchronize to coordinated universal // time (UTC) wall clock time. TimingSource *string `min:"1" type:"string"` // contains filtered or unexported fields }
Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
func (s DashUtcTiming) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DashUtcTiming) SetTimingMode(v string) *DashUtcTiming
SetTimingMode sets the TimingMode field's value.
func (s *DashUtcTiming) SetTimingSource(v string) *DashUtcTiming
SetTimingSource sets the TimingSource field's value.
func (s DashUtcTiming) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DashUtcTiming) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteChannelGroupInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteChannelGroupInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteChannelGroupInput) SetChannelGroupName(v string) *DeleteChannelGroupInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s DeleteChannelGroupInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteChannelGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteChannelGroupOutput struct {
// contains filtered or unexported fields
}
func (s DeleteChannelGroupOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteChannelGroupOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteChannelInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteChannelInput) SetChannelGroupName(v string) *DeleteChannelInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *DeleteChannelInput) SetChannelName(v string) *DeleteChannelInput
SetChannelName sets the ChannelName field's value.
func (s DeleteChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteChannelOutput struct {
// contains filtered or unexported fields
}
func (s DeleteChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteChannelPolicyInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteChannelPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteChannelPolicyInput) SetChannelGroupName(v string) *DeleteChannelPolicyInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *DeleteChannelPolicyInput) SetChannelName(v string) *DeleteChannelPolicyInput
SetChannelName sets the ChannelName field's value.
func (s DeleteChannelPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteChannelPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteChannelPolicyOutput struct {
// contains filtered or unexported fields
}
func (s DeleteChannelPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteChannelPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteOriginEndpointInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and and must be unique for your account in the AWS // Region and channel. // // OriginEndpointName is a required field OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteOriginEndpointInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteOriginEndpointInput) SetChannelGroupName(v string) *DeleteOriginEndpointInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *DeleteOriginEndpointInput) SetChannelName(v string) *DeleteOriginEndpointInput
SetChannelName sets the ChannelName field's value.
func (s *DeleteOriginEndpointInput) SetOriginEndpointName(v string) *DeleteOriginEndpointInput
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s DeleteOriginEndpointInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteOriginEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteOriginEndpointOutput struct {
// contains filtered or unexported fields
}
func (s DeleteOriginEndpointOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteOriginEndpointOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteOriginEndpointPolicyInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and and must be unique for your account in the AWS // Region and channel. // // OriginEndpointName is a required field OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteOriginEndpointPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteOriginEndpointPolicyInput) SetChannelGroupName(v string) *DeleteOriginEndpointPolicyInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *DeleteOriginEndpointPolicyInput) SetChannelName(v string) *DeleteOriginEndpointPolicyInput
SetChannelName sets the ChannelName field's value.
func (s *DeleteOriginEndpointPolicyInput) SetOriginEndpointName(v string) *DeleteOriginEndpointPolicyInput
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s DeleteOriginEndpointPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteOriginEndpointPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteOriginEndpointPolicyOutput struct {
// contains filtered or unexported fields
}
func (s DeleteOriginEndpointPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteOriginEndpointPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Encryption struct { // A 128-bit, 16-byte hex value represented by a 32-character string, used in // conjunction with the key for encrypting content. If you don't specify a value, // then MediaPackage creates the constant initialization vector (IV). ConstantInitializationVector *string `min:"32" type:"string"` // The encryption method to use. // // EncryptionMethod is a required field EncryptionMethod *EncryptionMethod `type:"structure" required:"true"` // The frequency (in seconds) of key changes for live workflows, in which content // is streamed real time. The service retrieves content keys before the live // content begins streaming, and then retrieves them as needed over the lifetime // of the workflow. By default, key rotation is set to 300 seconds (5 minutes), // the minimum rotation interval, which is equivalent to setting it to 300. // If you don't enter an interval, content keys aren't rotated. // // The following example setting causes the service to rotate keys every thirty // minutes: 1800 KeyRotationIntervalSeconds *int64 `min:"300" type:"integer"` // The parameters for the SPEKE key provider. // // SpekeKeyProvider is a required field SpekeKeyProvider *SpekeKeyProvider `type:"structure" required:"true"` // contains filtered or unexported fields }
The parameters for encrypting content.
func (s Encryption) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Encryption) SetConstantInitializationVector(v string) *Encryption
SetConstantInitializationVector sets the ConstantInitializationVector field's value.
func (s *Encryption) SetEncryptionMethod(v *EncryptionMethod) *Encryption
SetEncryptionMethod sets the EncryptionMethod field's value.
func (s *Encryption) SetKeyRotationIntervalSeconds(v int64) *Encryption
SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value.
func (s *Encryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *Encryption
SetSpekeKeyProvider sets the SpekeKeyProvider field's value.
func (s Encryption) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Encryption) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EncryptionContractConfiguration struct { // A collection of audio encryption presets. // // Value description: // // * PRESET-AUDIO-1 - Use one content key to encrypt all of the audio tracks // in your stream. // // * PRESET-AUDIO-2 - Use one content key to encrypt all of the stereo audio // tracks and one content key to encrypt all of the multichannel audio tracks. // // * PRESET-AUDIO-3 - Use one content key to encrypt all of the stereo audio // tracks, one content key to encrypt all of the multichannel audio tracks // with 3 to 6 channels, and one content key to encrypt all of the multichannel // audio tracks with more than 6 channels. // // * SHARED - Use the same content key for all of the audio and video tracks // in your stream. // // * UNENCRYPTED - Don't encrypt any of the audio tracks in your stream. // // PresetSpeke20Audio is a required field PresetSpeke20Audio *string `type:"string" required:"true" enum:"PresetSpeke20Audio"` // A collection of video encryption presets. // // Value description: // // * PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks // in your stream. // // * PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video // tracks and one content key for all HD and higher resolutions video tracks. // // * PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video // tracks, one content key for HD video tracks and one content key for all // UHD video tracks. // // * PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video // tracks, one content key for HD video tracks, one content key for all UHD1 // video tracks and one content key for all UHD2 video tracks. // // * PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video // tracks, one content key for HD1 video tracks, one content key for HD2 // video tracks, one content key for all UHD1 video tracks and one content // key for all UHD2 video tracks. // // * PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video // tracks, one content key for HD1 video tracks, one content key for HD2 // video tracks and one content key for all UHD video tracks. // // * PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video // tracks, one content key for HD2 video tracks and one content key for all // UHD video tracks. // // * PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video // tracks, one content key for HD2 video tracks, one content key for all // UHD1 video tracks and one content key for all UHD2 video tracks. // // * SHARED - Use the same content key for all of the video and audio tracks // in your stream. // // * UNENCRYPTED - Don't encrypt any of the video tracks in your stream. // // PresetSpeke20Video is a required field PresetSpeke20Video *string `type:"string" required:"true" enum:"PresetSpeke20Video"` // contains filtered or unexported fields }
Configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.
func (s EncryptionContractConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EncryptionContractConfiguration) SetPresetSpeke20Audio(v string) *EncryptionContractConfiguration
SetPresetSpeke20Audio sets the PresetSpeke20Audio field's value.
func (s *EncryptionContractConfiguration) SetPresetSpeke20Video(v string) *EncryptionContractConfiguration
SetPresetSpeke20Video sets the PresetSpeke20Video field's value.
func (s EncryptionContractConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EncryptionContractConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EncryptionMethod struct { // The encryption method to use. CmafEncryptionMethod *string `type:"string" enum:"CmafEncryptionMethod"` // The encryption method to use. TsEncryptionMethod *string `type:"string" enum:"TsEncryptionMethod"` // contains filtered or unexported fields }
The encryption type.
func (s EncryptionMethod) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EncryptionMethod) SetCmafEncryptionMethod(v string) *EncryptionMethod
SetCmafEncryptionMethod sets the CmafEncryptionMethod field's value.
func (s *EncryptionMethod) SetTsEncryptionMethod(v string) *EncryptionMethod
SetTsEncryptionMethod sets the TsEncryptionMethod field's value.
func (s EncryptionMethod) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FilterConfiguration struct { // Optionally specify the end time for all of your manifest egress requests. // When you include end time, note that you cannot use end time query parameters // for this manifest's endpoint URL. End *time.Time `type:"timestamp"` // Optionally specify one or more manifest filters for all of your manifest // egress requests. When you include a manifest filter, note that you cannot // use an identical manifest filter query parameter for this manifest's endpoint // URL. ManifestFilter *string `min:"1" type:"string"` // Optionally specify the start time for all of your manifest egress requests. // When you include start time, note that you cannot use start time query parameters // for this manifest's endpoint URL. Start *time.Time `type:"timestamp"` // Optionally specify the time delay for all of your manifest egress requests. // Enter a value that is smaller than your endpoint's startover window. When // you include time delay, note that you cannot use time delay query parameters // for this manifest's endpoint URL. TimeDelaySeconds *int64 `type:"integer"` // contains filtered or unexported fields }
Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
func (s FilterConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FilterConfiguration) SetEnd(v time.Time) *FilterConfiguration
SetEnd sets the End field's value.
func (s *FilterConfiguration) SetManifestFilter(v string) *FilterConfiguration
SetManifestFilter sets the ManifestFilter field's value.
func (s *FilterConfiguration) SetStart(v time.Time) *FilterConfiguration
SetStart sets the Start field's value.
func (s *FilterConfiguration) SetTimeDelaySeconds(v int64) *FilterConfiguration
SetTimeDelaySeconds sets the TimeDelaySeconds field's value.
func (s FilterConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FilterConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ForceEndpointErrorConfiguration struct { // The failover conditions for the endpoint. The options are: // // * STALE_MANIFEST - The manifest stalled and there are no new segments // or parts. // // * INCOMPLETE_MANIFEST - There is a gap in the manifest. // // * MISSING_DRM_KEY - Key rotation is enabled but we're unable to fetch // the key for the current key period. // // * SLATE_INPUT - The segments which contain slate content are considered // to be missing content. EndpointErrorConditions []*string `type:"list" enum:"EndpointErrorCondition"` // contains filtered or unexported fields }
The failover settings for the endpoint.
func (s ForceEndpointErrorConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ForceEndpointErrorConfiguration) SetEndpointErrorConditions(v []*string) *ForceEndpointErrorConfiguration
SetEndpointErrorConditions sets the EndpointErrorConditions field's value.
func (s ForceEndpointErrorConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetChannelGroupInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetChannelGroupInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetChannelGroupInput) SetChannelGroupName(v string) *GetChannelGroupInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s GetChannelGroupInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetChannelGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetChannelGroupOutput struct { // The Amazon Resource Name (ARN) associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `type:"string" required:"true"` // The date and time the channel group was created. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` // The description for your channel group. Description *string `type:"string"` // The current Entity Tag (ETag) associated with this resource. The entity tag // can be used to safely make concurrent updates to the resource. ETag *string `min:"1" type:"string"` // The output domain where the source stream should be sent. Integrate the domain // with a downstream CDN (such as Amazon CloudFront) or playback device. // // EgressDomain is a required field EgressDomain *string `type:"string" required:"true"` // The date and time the channel group was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `type:"timestamp" required:"true"` // The comma-separated list of tag key:value pairs assigned to the channel group. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s GetChannelGroupOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetChannelGroupOutput) SetArn(v string) *GetChannelGroupOutput
SetArn sets the Arn field's value.
func (s *GetChannelGroupOutput) SetChannelGroupName(v string) *GetChannelGroupOutput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *GetChannelGroupOutput) SetCreatedAt(v time.Time) *GetChannelGroupOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *GetChannelGroupOutput) SetDescription(v string) *GetChannelGroupOutput
SetDescription sets the Description field's value.
func (s *GetChannelGroupOutput) SetETag(v string) *GetChannelGroupOutput
SetETag sets the ETag field's value.
func (s *GetChannelGroupOutput) SetEgressDomain(v string) *GetChannelGroupOutput
SetEgressDomain sets the EgressDomain field's value.
func (s *GetChannelGroupOutput) SetModifiedAt(v time.Time) *GetChannelGroupOutput
SetModifiedAt sets the ModifiedAt field's value.
func (s *GetChannelGroupOutput) SetTags(v map[string]*string) *GetChannelGroupOutput
SetTags sets the Tags field's value.
func (s GetChannelGroupOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetChannelInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetChannelInput) SetChannelGroupName(v string) *GetChannelInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *GetChannelInput) SetChannelName(v string) *GetChannelInput
SetChannelName sets the ChannelName field's value.
func (s GetChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetChannelOutput struct { // The Amazon Resource Name (ARN) associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `type:"string" required:"true"` // The date and time the channel was created. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` // The description for your channel. Description *string `type:"string"` // The current Entity Tag (ETag) associated with this resource. The entity tag // can be used to safely make concurrent updates to the resource. ETag *string `min:"1" type:"string"` // The list of ingest endpoints. IngestEndpoints []*IngestEndpoint `type:"list"` // The input type will be an immutable field which will be used to define whether // the channel will allow CMAF ingest or HLS ingest. If unprovided, it will // default to HLS to preserve current behavior. // // The allowed values are: // // * HLS - The HLS streaming specification (which defines M3U8 manifests // and TS segments). // // * CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments // with optional DASH manifests). InputType *string `type:"string" enum:"InputType"` // The date and time the channel was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `type:"timestamp" required:"true"` // The comma-separated list of tag key:value pairs assigned to the channel. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (s GetChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetChannelOutput) SetArn(v string) *GetChannelOutput
SetArn sets the Arn field's value.
func (s *GetChannelOutput) SetChannelGroupName(v string) *GetChannelOutput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *GetChannelOutput) SetChannelName(v string) *GetChannelOutput
SetChannelName sets the ChannelName field's value.
func (s *GetChannelOutput) SetCreatedAt(v time.Time) *GetChannelOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *GetChannelOutput) SetDescription(v string) *GetChannelOutput
SetDescription sets the Description field's value.
func (s *GetChannelOutput) SetETag(v string) *GetChannelOutput
SetETag sets the ETag field's value.
func (s *GetChannelOutput) SetIngestEndpoints(v []*IngestEndpoint) *GetChannelOutput
SetIngestEndpoints sets the IngestEndpoints field's value.
func (s *GetChannelOutput) SetInputType(v string) *GetChannelOutput
SetInputType sets the InputType field's value.
func (s *GetChannelOutput) SetModifiedAt(v time.Time) *GetChannelOutput
SetModifiedAt sets the ModifiedAt field's value.
func (s *GetChannelOutput) SetTags(v map[string]*string) *GetChannelOutput
SetTags sets the Tags field's value.
func (s GetChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetChannelPolicyInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetChannelPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetChannelPolicyInput) SetChannelGroupName(v string) *GetChannelPolicyInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *GetChannelPolicyInput) SetChannelName(v string) *GetChannelPolicyInput
SetChannelName sets the ChannelName field's value.
func (s GetChannelPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetChannelPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetChannelPolicyOutput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `type:"string" required:"true"` // The policy assigned to the channel. // // Policy is a required field Policy *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetChannelPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetChannelPolicyOutput) SetChannelGroupName(v string) *GetChannelPolicyOutput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *GetChannelPolicyOutput) SetChannelName(v string) *GetChannelPolicyOutput
SetChannelName sets the ChannelName field's value.
func (s *GetChannelPolicyOutput) SetPolicy(v string) *GetChannelPolicyOutput
SetPolicy sets the Policy field's value.
func (s GetChannelPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetDashManifestConfiguration struct { // Determines how the DASH manifest signals the DRM content. DrmSignaling *string `type:"string" enum:"DashDrmSignaling"` // Filter configuration includes settings for manifest filtering, start and // end times, and time delay that apply to all of your egress requests for this // manifest. FilterConfiguration *FilterConfiguration `type:"structure"` // A short string that's appended to the endpoint URL. The manifest name creates // a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default manifest name, index. // // ManifestName is a required field ManifestName *string `min:"1" type:"string" required:"true"` // The total duration (in seconds) of the manifest's content. ManifestWindowSeconds *int64 `type:"integer"` // Minimum amount of content (in seconds) that a player must keep available // in the buffer. MinBufferTimeSeconds *int64 `type:"integer"` // Minimum amount of time (in seconds) that the player should wait before requesting // updates to the manifest. MinUpdatePeriodSeconds *int64 `type:"integer"` // A list of triggers that controls when AWS Elemental MediaPackage separates // the MPEG-DASH manifest into multiple periods. Leave this value empty to indicate // that the manifest is contained all in one period. For more information about // periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage // (https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html). PeriodTriggers []*string `type:"list" enum:"DashPeriodTrigger"` // The SCTE configuration. ScteDash *ScteDash `type:"structure"` // Determines the type of variable used in the media URL of the SegmentTemplate // tag in the manifest. Also specifies if segment timeline information is included // in SegmentTimeline or SegmentTemplate. // // Value description: // // * NUMBER_WITH_TIMELINE - The $Number$ variable is used in the media URL. // The value of this variable is the sequential number of the segment. A // full SegmentTimeline object is presented in each SegmentTemplate. SegmentTemplateFormat *string `type:"string" enum:"DashSegmentTemplateFormat"` // The amount of time (in seconds) that the player should be from the end of // the manifest. SuggestedPresentationDelaySeconds *int64 `type:"integer"` // The egress domain URL for stream delivery from MediaPackage. // // Url is a required field Url *string `type:"string" required:"true"` // Determines the type of UTC timing included in the DASH Media Presentation // Description (MPD). UtcTiming *DashUtcTiming `type:"structure"` // contains filtered or unexported fields }
Retrieve the DASH manifest configuration.
func (s GetDashManifestConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetDashManifestConfiguration) SetDrmSignaling(v string) *GetDashManifestConfiguration
SetDrmSignaling sets the DrmSignaling field's value.
func (s *GetDashManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *GetDashManifestConfiguration
SetFilterConfiguration sets the FilterConfiguration field's value.
func (s *GetDashManifestConfiguration) SetManifestName(v string) *GetDashManifestConfiguration
SetManifestName sets the ManifestName field's value.
func (s *GetDashManifestConfiguration) SetManifestWindowSeconds(v int64) *GetDashManifestConfiguration
SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.
func (s *GetDashManifestConfiguration) SetMinBufferTimeSeconds(v int64) *GetDashManifestConfiguration
SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value.
func (s *GetDashManifestConfiguration) SetMinUpdatePeriodSeconds(v int64) *GetDashManifestConfiguration
SetMinUpdatePeriodSeconds sets the MinUpdatePeriodSeconds field's value.
func (s *GetDashManifestConfiguration) SetPeriodTriggers(v []*string) *GetDashManifestConfiguration
SetPeriodTriggers sets the PeriodTriggers field's value.
func (s *GetDashManifestConfiguration) SetScteDash(v *ScteDash) *GetDashManifestConfiguration
SetScteDash sets the ScteDash field's value.
func (s *GetDashManifestConfiguration) SetSegmentTemplateFormat(v string) *GetDashManifestConfiguration
SetSegmentTemplateFormat sets the SegmentTemplateFormat field's value.
func (s *GetDashManifestConfiguration) SetSuggestedPresentationDelaySeconds(v int64) *GetDashManifestConfiguration
SetSuggestedPresentationDelaySeconds sets the SuggestedPresentationDelaySeconds field's value.
func (s *GetDashManifestConfiguration) SetUrl(v string) *GetDashManifestConfiguration
SetUrl sets the Url field's value.
func (s *GetDashManifestConfiguration) SetUtcTiming(v *DashUtcTiming) *GetDashManifestConfiguration
SetUtcTiming sets the UtcTiming field's value.
func (s GetDashManifestConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetHlsManifestConfiguration struct { // A short string that's appended to the endpoint URL. The child manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default child manifest name, index_1. The manifestName on the HLSManifest // object overrides the manifestName you provided on the originEndpoint object. ChildManifestName *string `min:"1" type:"string"` // Filter configuration includes settings for manifest filtering, start and // end times, and time delay that apply to all of your egress requests for this // manifest. FilterConfiguration *FilterConfiguration `type:"structure"` // A short short string that's appended to the endpoint URL. The manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default manifest name, index. MediaPackage automatically inserts // the format extension, such as .m3u8. You can't use the same manifest name // if you use HLS manifest and low-latency HLS manifest. The manifestName on // the HLSManifest object overrides the manifestName you provided on the originEndpoint // object. // // ManifestName is a required field ManifestName *string `min:"1" type:"string" required:"true"` // The total duration (in seconds) of the manifest's content. ManifestWindowSeconds *int64 `type:"integer"` // Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval // that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME // tags aren't included in the manifest. The tags sync the stream to the wall // clock so that viewers can seek to a specific time in the playback timeline // on the player. ID3Timed metadata messages generate every 5 seconds whenever // the content is ingested. // // Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, // it is passed through to the HLS output. ProgramDateTimeIntervalSeconds *int64 `type:"integer"` // The SCTE configuration. ScteHls *ScteHls `type:"structure"` // The egress domain URL for stream delivery from MediaPackage. // // Url is a required field Url *string `type:"string" required:"true"` // contains filtered or unexported fields }
Retrieve the HTTP live streaming (HLS) manifest configuration.
func (s GetHlsManifestConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetHlsManifestConfiguration) SetChildManifestName(v string) *GetHlsManifestConfiguration
SetChildManifestName sets the ChildManifestName field's value.
func (s *GetHlsManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *GetHlsManifestConfiguration
SetFilterConfiguration sets the FilterConfiguration field's value.
func (s *GetHlsManifestConfiguration) SetManifestName(v string) *GetHlsManifestConfiguration
SetManifestName sets the ManifestName field's value.
func (s *GetHlsManifestConfiguration) SetManifestWindowSeconds(v int64) *GetHlsManifestConfiguration
SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.
func (s *GetHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds(v int64) *GetHlsManifestConfiguration
SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.
func (s *GetHlsManifestConfiguration) SetScteHls(v *ScteHls) *GetHlsManifestConfiguration
SetScteHls sets the ScteHls field's value.
func (s *GetHlsManifestConfiguration) SetUrl(v string) *GetHlsManifestConfiguration
SetUrl sets the Url field's value.
func (s GetHlsManifestConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetLowLatencyHlsManifestConfiguration struct { // A short string that's appended to the endpoint URL. The child manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default child manifest name, index_1. The manifestName on the HLSManifest // object overrides the manifestName you provided on the originEndpoint object. ChildManifestName *string `min:"1" type:"string"` // Filter configuration includes settings for manifest filtering, start and // end times, and time delay that apply to all of your egress requests for this // manifest. FilterConfiguration *FilterConfiguration `type:"structure"` // A short short string that's appended to the endpoint URL. The manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default manifest name, index. MediaPackage automatically inserts // the format extension, such as .m3u8. You can't use the same manifest name // if you use HLS manifest and low-latency HLS manifest. The manifestName on // the HLSManifest object overrides the manifestName you provided on the originEndpoint // object. // // ManifestName is a required field ManifestName *string `min:"1" type:"string" required:"true"` // The total duration (in seconds) of the manifest's content. ManifestWindowSeconds *int64 `type:"integer"` // Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval // that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME // tags aren't included in the manifest. The tags sync the stream to the wall // clock so that viewers can seek to a specific time in the playback timeline // on the player. ID3Timed metadata messages generate every 5 seconds whenever // the content is ingested. // // Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, // it is passed through to the HLS output. ProgramDateTimeIntervalSeconds *int64 `type:"integer"` // The SCTE configuration. ScteHls *ScteHls `type:"structure"` // The egress domain URL for stream delivery from MediaPackage. // // Url is a required field Url *string `type:"string" required:"true"` // contains filtered or unexported fields }
Retrieve the low-latency HTTP live streaming (HLS) manifest configuration.
func (s GetLowLatencyHlsManifestConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetLowLatencyHlsManifestConfiguration) SetChildManifestName(v string) *GetLowLatencyHlsManifestConfiguration
SetChildManifestName sets the ChildManifestName field's value.
func (s *GetLowLatencyHlsManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *GetLowLatencyHlsManifestConfiguration
SetFilterConfiguration sets the FilterConfiguration field's value.
func (s *GetLowLatencyHlsManifestConfiguration) SetManifestName(v string) *GetLowLatencyHlsManifestConfiguration
SetManifestName sets the ManifestName field's value.
func (s *GetLowLatencyHlsManifestConfiguration) SetManifestWindowSeconds(v int64) *GetLowLatencyHlsManifestConfiguration
SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.
func (s *GetLowLatencyHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds(v int64) *GetLowLatencyHlsManifestConfiguration
SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.
func (s *GetLowLatencyHlsManifestConfiguration) SetScteHls(v *ScteHls) *GetLowLatencyHlsManifestConfiguration
SetScteHls sets the ScteHls field's value.
func (s *GetLowLatencyHlsManifestConfiguration) SetUrl(v string) *GetLowLatencyHlsManifestConfiguration
SetUrl sets the Url field's value.
func (s GetLowLatencyHlsManifestConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetOriginEndpointInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and and must be unique for your account in the AWS // Region and channel. // // OriginEndpointName is a required field OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetOriginEndpointInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetOriginEndpointInput) SetChannelGroupName(v string) *GetOriginEndpointInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *GetOriginEndpointInput) SetChannelName(v string) *GetOriginEndpointInput
SetChannelName sets the ChannelName field's value.
func (s *GetOriginEndpointInput) SetOriginEndpointName(v string) *GetOriginEndpointInput
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s GetOriginEndpointInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetOriginEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetOriginEndpointOutput struct { // The Amazon Resource Name (ARN) associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `min:"1" type:"string" required:"true"` // The type of container attached to this origin endpoint. // // ContainerType is a required field ContainerType *string `type:"string" required:"true" enum:"ContainerType"` // The date and time the origin endpoint was created. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` // A DASH manifest configuration. DashManifests []*GetDashManifestConfiguration `type:"list"` // The description for your origin endpoint. Description *string `type:"string"` // The current Entity Tag (ETag) associated with this resource. The entity tag // can be used to safely make concurrent updates to the resource. ETag *string `min:"1" type:"string"` // The failover settings for the endpoint. ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"` // An HTTP live streaming (HLS) manifest configuration. HlsManifests []*GetHlsManifestConfiguration `type:"list"` // A low-latency HLS manifest configuration. LowLatencyHlsManifests []*GetLowLatencyHlsManifestConfiguration `type:"list"` // The date and time the origin endpoint was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `type:"timestamp" required:"true"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and and must be unique for your account in the AWS // Region and channel. // // OriginEndpointName is a required field OriginEndpointName *string `min:"1" type:"string" required:"true"` // The segment configuration, including the segment name, duration, and other // configuration values. // // Segment is a required field Segment *Segment `type:"structure" required:"true"` // The size of the window (in seconds) to create a window of the live stream // that's available for on-demand viewing. Viewers can start-over or catch-up // on content that falls within the window. StartoverWindowSeconds *int64 `type:"integer"` // The comma-separated list of tag key:value pairs assigned to the origin endpoint. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (s GetOriginEndpointOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetOriginEndpointOutput) SetArn(v string) *GetOriginEndpointOutput
SetArn sets the Arn field's value.
func (s *GetOriginEndpointOutput) SetChannelGroupName(v string) *GetOriginEndpointOutput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *GetOriginEndpointOutput) SetChannelName(v string) *GetOriginEndpointOutput
SetChannelName sets the ChannelName field's value.
func (s *GetOriginEndpointOutput) SetContainerType(v string) *GetOriginEndpointOutput
SetContainerType sets the ContainerType field's value.
func (s *GetOriginEndpointOutput) SetCreatedAt(v time.Time) *GetOriginEndpointOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *GetOriginEndpointOutput) SetDashManifests(v []*GetDashManifestConfiguration) *GetOriginEndpointOutput
SetDashManifests sets the DashManifests field's value.
func (s *GetOriginEndpointOutput) SetDescription(v string) *GetOriginEndpointOutput
SetDescription sets the Description field's value.
func (s *GetOriginEndpointOutput) SetETag(v string) *GetOriginEndpointOutput
SetETag sets the ETag field's value.
func (s *GetOriginEndpointOutput) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *GetOriginEndpointOutput
SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.
func (s *GetOriginEndpointOutput) SetHlsManifests(v []*GetHlsManifestConfiguration) *GetOriginEndpointOutput
SetHlsManifests sets the HlsManifests field's value.
func (s *GetOriginEndpointOutput) SetLowLatencyHlsManifests(v []*GetLowLatencyHlsManifestConfiguration) *GetOriginEndpointOutput
SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.
func (s *GetOriginEndpointOutput) SetModifiedAt(v time.Time) *GetOriginEndpointOutput
SetModifiedAt sets the ModifiedAt field's value.
func (s *GetOriginEndpointOutput) SetOriginEndpointName(v string) *GetOriginEndpointOutput
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s *GetOriginEndpointOutput) SetSegment(v *Segment) *GetOriginEndpointOutput
SetSegment sets the Segment field's value.
func (s *GetOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *GetOriginEndpointOutput
SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.
func (s *GetOriginEndpointOutput) SetTags(v map[string]*string) *GetOriginEndpointOutput
SetTags sets the Tags field's value.
func (s GetOriginEndpointOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetOriginEndpointPolicyInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and and must be unique for your account in the AWS // Region and channel. // // OriginEndpointName is a required field OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetOriginEndpointPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetOriginEndpointPolicyInput) SetChannelGroupName(v string) *GetOriginEndpointPolicyInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *GetOriginEndpointPolicyInput) SetChannelName(v string) *GetOriginEndpointPolicyInput
SetChannelName sets the ChannelName field's value.
func (s *GetOriginEndpointPolicyInput) SetOriginEndpointName(v string) *GetOriginEndpointPolicyInput
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s GetOriginEndpointPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetOriginEndpointPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetOriginEndpointPolicyOutput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `min:"1" type:"string" required:"true"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and and must be unique for your account in the AWS // Region and channel. // // OriginEndpointName is a required field OriginEndpointName *string `min:"1" type:"string" required:"true"` // The policy assigned to the origin endpoint. // // Policy is a required field Policy *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetOriginEndpointPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetOriginEndpointPolicyOutput) SetChannelGroupName(v string) *GetOriginEndpointPolicyOutput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *GetOriginEndpointPolicyOutput) SetChannelName(v string) *GetOriginEndpointPolicyOutput
SetChannelName sets the ChannelName field's value.
func (s *GetOriginEndpointPolicyOutput) SetOriginEndpointName(v string) *GetOriginEndpointPolicyOutput
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s *GetOriginEndpointPolicyOutput) SetPolicy(v string) *GetOriginEndpointPolicyOutput
SetPolicy sets the Policy field's value.
func (s GetOriginEndpointPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IngestEndpoint struct { // The system-generated unique identifier for the IngestEndpoint. Id *string `type:"string"` // The ingest domain URL where the source stream should be sent. Url *string `type:"string"` // contains filtered or unexported fields }
The ingest domain URL where the source stream should be sent.
func (s IngestEndpoint) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *IngestEndpoint) SetId(v string) *IngestEndpoint
SetId sets the Id field's value.
func (s *IngestEndpoint) SetUrl(v string) *IngestEndpoint
SetUrl sets the Url field's value.
func (s IngestEndpoint) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Indicates that an error from the service occurred while trying to process a request.
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListChannelGroupsInput struct { // The maximum number of results to return in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The pagination token from the GET list request. Use the token to fetch the // next page of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListChannelGroupsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListChannelGroupsInput) SetMaxResults(v int64) *ListChannelGroupsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListChannelGroupsInput) SetNextToken(v string) *ListChannelGroupsInput
SetNextToken sets the NextToken field's value.
func (s ListChannelGroupsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListChannelGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListChannelGroupsOutput struct { // The objects being returned. Items []*ChannelGroupListConfiguration `type:"list"` // The pagination token from the GET list request. Use the token to fetch the // next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListChannelGroupsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListChannelGroupsOutput) SetItems(v []*ChannelGroupListConfiguration) *ListChannelGroupsOutput
SetItems sets the Items field's value.
func (s *ListChannelGroupsOutput) SetNextToken(v string) *ListChannelGroupsOutput
SetNextToken sets the NextToken field's value.
func (s ListChannelGroupsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListChannelsInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The maximum number of results to return in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The pagination token from the GET list request. Use the token to fetch the // next page of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListChannelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListChannelsInput) SetChannelGroupName(v string) *ListChannelsInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput
SetNextToken sets the NextToken field's value.
func (s ListChannelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListChannelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListChannelsOutput struct { // The objects being returned. Items []*ChannelListConfiguration `type:"list"` // The pagination token from the GET list request. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListChannelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListChannelsOutput) SetItems(v []*ChannelListConfiguration) *ListChannelsOutput
SetItems sets the Items field's value.
func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput
SetNextToken sets the NextToken field's value.
func (s ListChannelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListDashManifestConfiguration struct { // A short string that's appended to the endpoint URL. The manifest name creates // a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default manifest name, index. // // ManifestName is a required field ManifestName *string `min:"1" type:"string" required:"true"` // The egress domain URL for stream delivery from MediaPackage. Url *string `type:"string"` // contains filtered or unexported fields }
List the DASH manifest configuration.
func (s ListDashManifestConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListDashManifestConfiguration) SetManifestName(v string) *ListDashManifestConfiguration
SetManifestName sets the ManifestName field's value.
func (s *ListDashManifestConfiguration) SetUrl(v string) *ListDashManifestConfiguration
SetUrl sets the Url field's value.
func (s ListDashManifestConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListHlsManifestConfiguration struct { // A short string that's appended to the endpoint URL. The child manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default child manifest name, index_1. The manifestName on the HLSManifest // object overrides the manifestName you provided on the originEndpoint object. ChildManifestName *string `min:"1" type:"string"` // A short short string that's appended to the endpoint URL. The manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default manifest name, index. MediaPackage automatically inserts // the format extension, such as .m3u8. You can't use the same manifest name // if you use HLS manifest and low-latency HLS manifest. The manifestName on // the HLSManifest object overrides the manifestName you provided on the originEndpoint // object. // // ManifestName is a required field ManifestName *string `min:"1" type:"string" required:"true"` // The egress domain URL for stream delivery from MediaPackage. Url *string `type:"string"` // contains filtered or unexported fields }
List the HTTP live streaming (HLS) manifest configuration.
func (s ListHlsManifestConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListHlsManifestConfiguration) SetChildManifestName(v string) *ListHlsManifestConfiguration
SetChildManifestName sets the ChildManifestName field's value.
func (s *ListHlsManifestConfiguration) SetManifestName(v string) *ListHlsManifestConfiguration
SetManifestName sets the ManifestName field's value.
func (s *ListHlsManifestConfiguration) SetUrl(v string) *ListHlsManifestConfiguration
SetUrl sets the Url field's value.
func (s ListHlsManifestConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListLowLatencyHlsManifestConfiguration struct { // A short string that's appended to the endpoint URL. The child manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default child manifest name, index_1. The manifestName on the HLSManifest // object overrides the manifestName you provided on the originEndpoint object. ChildManifestName *string `min:"1" type:"string"` // A short short string that's appended to the endpoint URL. The manifest name // creates a unique path to this endpoint. If you don't enter a value, MediaPackage // uses the default manifest name, index. MediaPackage automatically inserts // the format extension, such as .m3u8. You can't use the same manifest name // if you use HLS manifest and low-latency HLS manifest. The manifestName on // the HLSManifest object overrides the manifestName you provided on the originEndpoint // object. // // ManifestName is a required field ManifestName *string `min:"1" type:"string" required:"true"` // The egress domain URL for stream delivery from MediaPackage. Url *string `type:"string"` // contains filtered or unexported fields }
List the low-latency HTTP live streaming (HLS) manifest configuration.
func (s ListLowLatencyHlsManifestConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListLowLatencyHlsManifestConfiguration) SetChildManifestName(v string) *ListLowLatencyHlsManifestConfiguration
SetChildManifestName sets the ChildManifestName field's value.
func (s *ListLowLatencyHlsManifestConfiguration) SetManifestName(v string) *ListLowLatencyHlsManifestConfiguration
SetManifestName sets the ManifestName field's value.
func (s *ListLowLatencyHlsManifestConfiguration) SetUrl(v string) *ListLowLatencyHlsManifestConfiguration
SetUrl sets the Url field's value.
func (s ListLowLatencyHlsManifestConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListOriginEndpointsInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // The maximum number of results to return in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The pagination token from the GET list request. Use the token to fetch the // next page of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListOriginEndpointsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListOriginEndpointsInput) SetChannelGroupName(v string) *ListOriginEndpointsInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *ListOriginEndpointsInput) SetChannelName(v string) *ListOriginEndpointsInput
SetChannelName sets the ChannelName field's value.
func (s *ListOriginEndpointsInput) SetMaxResults(v int64) *ListOriginEndpointsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListOriginEndpointsInput) SetNextToken(v string) *ListOriginEndpointsInput
SetNextToken sets the NextToken field's value.
func (s ListOriginEndpointsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListOriginEndpointsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListOriginEndpointsOutput struct { // The objects being returned. Items []*OriginEndpointListConfiguration `type:"list"` // The pagination token from the GET list request. Use the token to fetch the // next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListOriginEndpointsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListOriginEndpointsOutput) SetItems(v []*OriginEndpointListConfiguration) *ListOriginEndpointsOutput
SetItems sets the Items field's value.
func (s *ListOriginEndpointsOutput) SetNextToken(v string) *ListOriginEndpointsOutput
SetNextToken sets the NextToken field's value.
func (s ListOriginEndpointsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput struct { // The ARN of the CloudWatch resource that you want to view tags for. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // Contains a map of the key-value pairs for the resource tag or tags assigned // to the resource. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MediaPackageV2 struct { *client.Client }
MediaPackageV2 provides the API operation methods for making requests to AWS Elemental MediaPackage v2. See this package's package overview docs for details on the service.
MediaPackageV2 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaPackageV2
New creates a new instance of the MediaPackageV2 client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a MediaPackageV2 client from just a session. svc := mediapackagev2.New(mySession) // Create a MediaPackageV2 client with additional configuration svc := mediapackagev2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (c *MediaPackageV2) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error)
CreateChannel API operation for AWS Elemental MediaPackage v2.
Create a channel to start receiving content streams. The channel represents the input to MediaPackage for incoming live content from an encoder such as AWS Elemental MediaLive. The channel receives content, and after packaging it, outputs it through an origin endpoint to downstream devices (such as video players or CDNs) that request the content. You can create only one channel with each request. We recommend that you spread out channels between channel groups, such as putting redundant channels in the same AWS Region in different channel groups.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation CreateChannel for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
ServiceQuotaExceededException The request would cause a service quota to be exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateChannel
func (c *MediaPackageV2) CreateChannelGroup(input *CreateChannelGroupInput) (*CreateChannelGroupOutput, error)
CreateChannelGroup API operation for AWS Elemental MediaPackage v2.
Create a channel group to group your channels and origin endpoints. A channel group is the top-level resource that consists of channels and origin endpoints that are associated with it and that provides predictable URLs for stream delivery. All channels and origin endpoints within the channel group are guaranteed to share the DNS. You can create only one channel group with each request.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation CreateChannelGroup for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
ServiceQuotaExceededException The request would cause a service quota to be exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateChannelGroup
func (c *MediaPackageV2) CreateChannelGroupRequest(input *CreateChannelGroupInput) (req *request.Request, output *CreateChannelGroupOutput)
CreateChannelGroupRequest generates a "aws/request.Request" representing the client's request for the CreateChannelGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateChannelGroup for more information on using the CreateChannelGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateChannelGroupRequest method. req, resp := client.CreateChannelGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateChannelGroup
func (c *MediaPackageV2) CreateChannelGroupWithContext(ctx aws.Context, input *CreateChannelGroupInput, opts ...request.Option) (*CreateChannelGroupOutput, error)
CreateChannelGroupWithContext is the same as CreateChannelGroup with the addition of the ability to pass a context and additional request options.
See CreateChannelGroup for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput)
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 completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateChannel for more information on using the CreateChannel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateChannelRequest method. req, resp := client.CreateChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateChannel
func (c *MediaPackageV2) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error)
CreateChannelWithContext is the same as CreateChannel with the addition of the ability to pass a context and additional request options.
See CreateChannel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) CreateOriginEndpoint(input *CreateOriginEndpointInput) (*CreateOriginEndpointOutput, error)
CreateOriginEndpoint API operation for AWS Elemental MediaPackage v2.
The endpoint is attached to a channel, and represents the output of the live content. You can associate multiple endpoints to a single channel. Each endpoint gives players and downstream CDNs (such as Amazon CloudFront) access to the content for playback. Content can't be served from a channel until it has an endpoint. You can create only one endpoint with each request.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation CreateOriginEndpoint for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
ServiceQuotaExceededException The request would cause a service quota to be exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateOriginEndpoint
func (c *MediaPackageV2) CreateOriginEndpointRequest(input *CreateOriginEndpointInput) (req *request.Request, output *CreateOriginEndpointOutput)
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 completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateOriginEndpoint for more information on using the CreateOriginEndpoint API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateOriginEndpointRequest method. req, resp := client.CreateOriginEndpointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateOriginEndpoint
func (c *MediaPackageV2) CreateOriginEndpointWithContext(ctx aws.Context, input *CreateOriginEndpointInput, opts ...request.Option) (*CreateOriginEndpointOutput, error)
CreateOriginEndpointWithContext is the same as CreateOriginEndpoint with the addition of the ability to pass a context and additional request options.
See CreateOriginEndpoint for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error)
DeleteChannel API operation for AWS Elemental MediaPackage v2.
Delete a channel to stop AWS Elemental MediaPackage from receiving further content. You must delete the channel's origin endpoints before you can delete the channel.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation DeleteChannel for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannel
func (c *MediaPackageV2) DeleteChannelGroup(input *DeleteChannelGroupInput) (*DeleteChannelGroupOutput, error)
DeleteChannelGroup API operation for AWS Elemental MediaPackage v2.
Delete a channel group. You must delete the channel group's channels and origin endpoints before you can delete the channel group. If you delete a channel group, you'll lose access to the egress domain and will have to create a new channel group to replace it.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation DeleteChannelGroup for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannelGroup
func (c *MediaPackageV2) DeleteChannelGroupRequest(input *DeleteChannelGroupInput) (req *request.Request, output *DeleteChannelGroupOutput)
DeleteChannelGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteChannelGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteChannelGroup for more information on using the DeleteChannelGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteChannelGroupRequest method. req, resp := client.DeleteChannelGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannelGroup
func (c *MediaPackageV2) DeleteChannelGroupWithContext(ctx aws.Context, input *DeleteChannelGroupInput, opts ...request.Option) (*DeleteChannelGroupOutput, error)
DeleteChannelGroupWithContext is the same as DeleteChannelGroup with the addition of the ability to pass a context and additional request options.
See DeleteChannelGroup for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) DeleteChannelPolicy(input *DeleteChannelPolicyInput) (*DeleteChannelPolicyOutput, error)
DeleteChannelPolicy API operation for AWS Elemental MediaPackage v2.
Delete a channel policy.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation DeleteChannelPolicy for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannelPolicy
func (c *MediaPackageV2) DeleteChannelPolicyRequest(input *DeleteChannelPolicyInput) (req *request.Request, output *DeleteChannelPolicyOutput)
DeleteChannelPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteChannelPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteChannelPolicy for more information on using the DeleteChannelPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteChannelPolicyRequest method. req, resp := client.DeleteChannelPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannelPolicy
func (c *MediaPackageV2) DeleteChannelPolicyWithContext(ctx aws.Context, input *DeleteChannelPolicyInput, opts ...request.Option) (*DeleteChannelPolicyOutput, error)
DeleteChannelPolicyWithContext is the same as DeleteChannelPolicy with the addition of the ability to pass a context and additional request options.
See DeleteChannelPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput)
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 completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteChannel for more information on using the DeleteChannel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteChannelRequest method. req, resp := client.DeleteChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannel
func (c *MediaPackageV2) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error)
DeleteChannelWithContext is the same as DeleteChannel with the addition of the ability to pass a context and additional request options.
See DeleteChannel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) DeleteOriginEndpoint(input *DeleteOriginEndpointInput) (*DeleteOriginEndpointOutput, error)
DeleteOriginEndpoint API operation for AWS Elemental MediaPackage v2.
Origin endpoints can serve content until they're deleted. Delete the endpoint if it should no longer respond to playback requests. You must delete all endpoints from a channel before you can delete the channel.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation DeleteOriginEndpoint for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteOriginEndpoint
func (c *MediaPackageV2) DeleteOriginEndpointPolicy(input *DeleteOriginEndpointPolicyInput) (*DeleteOriginEndpointPolicyOutput, error)
DeleteOriginEndpointPolicy API operation for AWS Elemental MediaPackage v2.
Delete an origin endpoint policy.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation DeleteOriginEndpointPolicy for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteOriginEndpointPolicy
func (c *MediaPackageV2) DeleteOriginEndpointPolicyRequest(input *DeleteOriginEndpointPolicyInput) (req *request.Request, output *DeleteOriginEndpointPolicyOutput)
DeleteOriginEndpointPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteOriginEndpointPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteOriginEndpointPolicy for more information on using the DeleteOriginEndpointPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteOriginEndpointPolicyRequest method. req, resp := client.DeleteOriginEndpointPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteOriginEndpointPolicy
func (c *MediaPackageV2) DeleteOriginEndpointPolicyWithContext(ctx aws.Context, input *DeleteOriginEndpointPolicyInput, opts ...request.Option) (*DeleteOriginEndpointPolicyOutput, error)
DeleteOriginEndpointPolicyWithContext is the same as DeleteOriginEndpointPolicy with the addition of the ability to pass a context and additional request options.
See DeleteOriginEndpointPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) DeleteOriginEndpointRequest(input *DeleteOriginEndpointInput) (req *request.Request, output *DeleteOriginEndpointOutput)
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 completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteOriginEndpoint for more information on using the DeleteOriginEndpoint API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteOriginEndpointRequest method. req, resp := client.DeleteOriginEndpointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteOriginEndpoint
func (c *MediaPackageV2) DeleteOriginEndpointWithContext(ctx aws.Context, input *DeleteOriginEndpointInput, opts ...request.Option) (*DeleteOriginEndpointOutput, error)
DeleteOriginEndpointWithContext is the same as DeleteOriginEndpoint with the addition of the ability to pass a context and additional request options.
See DeleteOriginEndpoint for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) GetChannel(input *GetChannelInput) (*GetChannelOutput, error)
GetChannel API operation for AWS Elemental MediaPackage v2.
Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation GetChannel for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannel
func (c *MediaPackageV2) GetChannelGroup(input *GetChannelGroupInput) (*GetChannelGroupOutput, error)
GetChannelGroup API operation for AWS Elemental MediaPackage v2.
Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation GetChannelGroup for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannelGroup
func (c *MediaPackageV2) GetChannelGroupRequest(input *GetChannelGroupInput) (req *request.Request, output *GetChannelGroupOutput)
GetChannelGroupRequest generates a "aws/request.Request" representing the client's request for the GetChannelGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetChannelGroup for more information on using the GetChannelGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetChannelGroupRequest method. req, resp := client.GetChannelGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannelGroup
func (c *MediaPackageV2) GetChannelGroupWithContext(ctx aws.Context, input *GetChannelGroupInput, opts ...request.Option) (*GetChannelGroupOutput, error)
GetChannelGroupWithContext is the same as GetChannelGroup with the addition of the ability to pass a context and additional request options.
See GetChannelGroup for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) GetChannelPolicy(input *GetChannelPolicyInput) (*GetChannelPolicyOutput, error)
GetChannelPolicy API operation for AWS Elemental MediaPackage v2.
Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation GetChannelPolicy for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannelPolicy
func (c *MediaPackageV2) GetChannelPolicyRequest(input *GetChannelPolicyInput) (req *request.Request, output *GetChannelPolicyOutput)
GetChannelPolicyRequest generates a "aws/request.Request" representing the client's request for the GetChannelPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetChannelPolicy for more information on using the GetChannelPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetChannelPolicyRequest method. req, resp := client.GetChannelPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannelPolicy
func (c *MediaPackageV2) GetChannelPolicyWithContext(ctx aws.Context, input *GetChannelPolicyInput, opts ...request.Option) (*GetChannelPolicyOutput, error)
GetChannelPolicyWithContext is the same as GetChannelPolicy with the addition of the ability to pass a context and additional request options.
See GetChannelPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) GetChannelRequest(input *GetChannelInput) (req *request.Request, output *GetChannelOutput)
GetChannelRequest generates a "aws/request.Request" representing the client's request for the GetChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetChannel for more information on using the GetChannel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetChannelRequest method. req, resp := client.GetChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannel
func (c *MediaPackageV2) GetChannelWithContext(ctx aws.Context, input *GetChannelInput, opts ...request.Option) (*GetChannelOutput, error)
GetChannelWithContext is the same as GetChannel with the addition of the ability to pass a context and additional request options.
See GetChannel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) GetOriginEndpoint(input *GetOriginEndpointInput) (*GetOriginEndpointOutput, error)
GetOriginEndpoint API operation for AWS Elemental MediaPackage v2.
Retrieves the specified origin endpoint that's configured in AWS Elemental MediaPackage to obtain its playback URL and to view the packaging settings that it's currently using.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation GetOriginEndpoint for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetOriginEndpoint
func (c *MediaPackageV2) GetOriginEndpointPolicy(input *GetOriginEndpointPolicyInput) (*GetOriginEndpointPolicyOutput, error)
GetOriginEndpointPolicy API operation for AWS Elemental MediaPackage v2.
Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation GetOriginEndpointPolicy for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetOriginEndpointPolicy
func (c *MediaPackageV2) GetOriginEndpointPolicyRequest(input *GetOriginEndpointPolicyInput) (req *request.Request, output *GetOriginEndpointPolicyOutput)
GetOriginEndpointPolicyRequest generates a "aws/request.Request" representing the client's request for the GetOriginEndpointPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetOriginEndpointPolicy for more information on using the GetOriginEndpointPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetOriginEndpointPolicyRequest method. req, resp := client.GetOriginEndpointPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetOriginEndpointPolicy
func (c *MediaPackageV2) GetOriginEndpointPolicyWithContext(ctx aws.Context, input *GetOriginEndpointPolicyInput, opts ...request.Option) (*GetOriginEndpointPolicyOutput, error)
GetOriginEndpointPolicyWithContext is the same as GetOriginEndpointPolicy with the addition of the ability to pass a context and additional request options.
See GetOriginEndpointPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) GetOriginEndpointRequest(input *GetOriginEndpointInput) (req *request.Request, output *GetOriginEndpointOutput)
GetOriginEndpointRequest generates a "aws/request.Request" representing the client's request for the GetOriginEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetOriginEndpoint for more information on using the GetOriginEndpoint API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetOriginEndpointRequest method. req, resp := client.GetOriginEndpointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetOriginEndpoint
func (c *MediaPackageV2) GetOriginEndpointWithContext(ctx aws.Context, input *GetOriginEndpointInput, opts ...request.Option) (*GetOriginEndpointOutput, error)
GetOriginEndpointWithContext is the same as GetOriginEndpoint with the addition of the ability to pass a context and additional request options.
See GetOriginEndpoint for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) ListChannelGroups(input *ListChannelGroupsInput) (*ListChannelGroupsOutput, error)
ListChannelGroups API operation for AWS Elemental MediaPackage v2.
Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation ListChannelGroups for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListChannelGroups
func (c *MediaPackageV2) ListChannelGroupsPages(input *ListChannelGroupsInput, fn func(*ListChannelGroupsOutput, bool) bool) error
ListChannelGroupsPages iterates over the pages of a ListChannelGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListChannelGroups method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListChannelGroups operation. pageNum := 0 err := client.ListChannelGroupsPages(params, func(page *mediapackagev2.ListChannelGroupsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *MediaPackageV2) ListChannelGroupsPagesWithContext(ctx aws.Context, input *ListChannelGroupsInput, fn func(*ListChannelGroupsOutput, bool) bool, opts ...request.Option) error
ListChannelGroupsPagesWithContext same as ListChannelGroupsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) ListChannelGroupsRequest(input *ListChannelGroupsInput) (req *request.Request, output *ListChannelGroupsOutput)
ListChannelGroupsRequest generates a "aws/request.Request" representing the client's request for the ListChannelGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListChannelGroups for more information on using the ListChannelGroups API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListChannelGroupsRequest method. req, resp := client.ListChannelGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListChannelGroups
func (c *MediaPackageV2) ListChannelGroupsWithContext(ctx aws.Context, input *ListChannelGroupsInput, opts ...request.Option) (*ListChannelGroupsOutput, error)
ListChannelGroupsWithContext is the same as ListChannelGroups with the addition of the ability to pass a context and additional request options.
See ListChannelGroups for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error)
ListChannels API operation for AWS Elemental MediaPackage v2.
Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation ListChannels for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListChannels
func (c *MediaPackageV2) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error
ListChannelsPages iterates over the pages of a ListChannels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListChannels method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListChannels operation. pageNum := 0 err := client.ListChannelsPages(params, func(page *mediapackagev2.ListChannelsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *MediaPackageV2) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error
ListChannelsPagesWithContext same as ListChannelsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput)
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 completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListChannels for more information on using the ListChannels API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListChannelsRequest method. req, resp := client.ListChannelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListChannels
func (c *MediaPackageV2) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error)
ListChannelsWithContext is the same as ListChannels with the addition of the ability to pass a context and additional request options.
See ListChannels for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) ListOriginEndpoints(input *ListOriginEndpointsInput) (*ListOriginEndpointsOutput, error)
ListOriginEndpoints API operation for AWS Elemental MediaPackage v2.
Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation ListOriginEndpoints for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListOriginEndpoints
func (c *MediaPackageV2) ListOriginEndpointsPages(input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool) error
ListOriginEndpointsPages iterates over the pages of a ListOriginEndpoints operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListOriginEndpoints method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListOriginEndpoints operation. pageNum := 0 err := client.ListOriginEndpointsPages(params, func(page *mediapackagev2.ListOriginEndpointsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *MediaPackageV2) ListOriginEndpointsPagesWithContext(ctx aws.Context, input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool, opts ...request.Option) error
ListOriginEndpointsPagesWithContext same as ListOriginEndpointsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) ListOriginEndpointsRequest(input *ListOriginEndpointsInput) (req *request.Request, output *ListOriginEndpointsOutput)
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 completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListOriginEndpoints for more information on using the ListOriginEndpoints API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListOriginEndpointsRequest method. req, resp := client.ListOriginEndpointsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListOriginEndpoints
func (c *MediaPackageV2) ListOriginEndpointsWithContext(ctx aws.Context, input *ListOriginEndpointsInput, opts ...request.Option) (*ListOriginEndpointsOutput, error)
ListOriginEndpointsWithContext is the same as ListOriginEndpoints with the addition of the ability to pass a context and additional request options.
See ListOriginEndpoints for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for AWS Elemental MediaPackage v2.
Lists the tags assigned to a resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation ListTagsForResource for usage and error information.
Returned Error Types:
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListTagsForResource
func (c *MediaPackageV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListTagsForResource
func (c *MediaPackageV2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) PutChannelPolicy(input *PutChannelPolicyInput) (*PutChannelPolicyOutput, error)
PutChannelPolicy API operation for AWS Elemental MediaPackage v2.
Attaches an IAM policy to the specified channel. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources. You can attach only one policy with each request.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation PutChannelPolicy for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/PutChannelPolicy
func (c *MediaPackageV2) PutChannelPolicyRequest(input *PutChannelPolicyInput) (req *request.Request, output *PutChannelPolicyOutput)
PutChannelPolicyRequest generates a "aws/request.Request" representing the client's request for the PutChannelPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutChannelPolicy for more information on using the PutChannelPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutChannelPolicyRequest method. req, resp := client.PutChannelPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/PutChannelPolicy
func (c *MediaPackageV2) PutChannelPolicyWithContext(ctx aws.Context, input *PutChannelPolicyInput, opts ...request.Option) (*PutChannelPolicyOutput, error)
PutChannelPolicyWithContext is the same as PutChannelPolicy with the addition of the ability to pass a context and additional request options.
See PutChannelPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) PutOriginEndpointPolicy(input *PutOriginEndpointPolicyInput) (*PutOriginEndpointPolicyOutput, error)
PutOriginEndpointPolicy API operation for AWS Elemental MediaPackage v2.
Attaches an IAM policy to the specified origin endpoint. You can attach only one policy with each request.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation PutOriginEndpointPolicy for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/PutOriginEndpointPolicy
func (c *MediaPackageV2) PutOriginEndpointPolicyRequest(input *PutOriginEndpointPolicyInput) (req *request.Request, output *PutOriginEndpointPolicyOutput)
PutOriginEndpointPolicyRequest generates a "aws/request.Request" representing the client's request for the PutOriginEndpointPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutOriginEndpointPolicy for more information on using the PutOriginEndpointPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutOriginEndpointPolicyRequest method. req, resp := client.PutOriginEndpointPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/PutOriginEndpointPolicy
func (c *MediaPackageV2) PutOriginEndpointPolicyWithContext(ctx aws.Context, input *PutOriginEndpointPolicyInput, opts ...request.Option) (*PutOriginEndpointPolicyOutput, error)
PutOriginEndpointPolicyWithContext is the same as PutOriginEndpointPolicy with the addition of the ability to pass a context and additional request options.
See PutOriginEndpointPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for AWS Elemental MediaPackage v2.
Assigns one of more tags (key-value pairs) to the specified MediaPackage resource.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values. You can use the TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation TagResource for usage and error information.
Returned Error Types:
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/TagResource
func (c *MediaPackageV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/TagResource
func (c *MediaPackageV2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AWS Elemental MediaPackage v2.
Removes one or more tags from the specified resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation UntagResource for usage and error information.
Returned Error Types:
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UntagResource
func (c *MediaPackageV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UntagResource
func (c *MediaPackageV2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error)
UpdateChannel API operation for AWS Elemental MediaPackage v2.
Update the specified channel. You can edit if MediaPackage sends ingest or egress access logs to the CloudWatch log group, if content will be encrypted, the description on a channel, and your channel's policy settings. You can't edit the name of the channel or CloudFront distribution details.
Any edits you make that impact the video output may not be reflected for a few minutes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation UpdateChannel for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateChannel
func (c *MediaPackageV2) UpdateChannelGroup(input *UpdateChannelGroupInput) (*UpdateChannelGroupOutput, error)
UpdateChannelGroup API operation for AWS Elemental MediaPackage v2.
Update the specified channel group. You can edit the description on a channel group for easier identification later from the AWS Elemental MediaPackage console. You can't edit the name of the channel group.
Any edits you make that impact the video output may not be reflected for a few minutes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation UpdateChannelGroup for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateChannelGroup
func (c *MediaPackageV2) UpdateChannelGroupRequest(input *UpdateChannelGroupInput) (req *request.Request, output *UpdateChannelGroupOutput)
UpdateChannelGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateChannelGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateChannelGroup for more information on using the UpdateChannelGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateChannelGroupRequest method. req, resp := client.UpdateChannelGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateChannelGroup
func (c *MediaPackageV2) UpdateChannelGroupWithContext(ctx aws.Context, input *UpdateChannelGroupInput, opts ...request.Option) (*UpdateChannelGroupOutput, error)
UpdateChannelGroupWithContext is the same as UpdateChannelGroup with the addition of the ability to pass a context and additional request options.
See UpdateChannelGroup for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput)
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 completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateChannel for more information on using the UpdateChannel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateChannelRequest method. req, resp := client.UpdateChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateChannel
func (c *MediaPackageV2) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error)
UpdateChannelWithContext is the same as UpdateChannel with the addition of the ability to pass a context and additional request options.
See UpdateChannel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *MediaPackageV2) UpdateOriginEndpoint(input *UpdateOriginEndpointInput) (*UpdateOriginEndpointOutput, error)
UpdateOriginEndpoint API operation for AWS Elemental MediaPackage v2.
Update the specified origin endpoint. Edit the packaging preferences on an endpoint to optimize the viewing experience. You can't edit the name of the endpoint.
Any edits you make that impact the video output may not be reflected for a few minutes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation UpdateOriginEndpoint for usage and error information.
Returned Error Types:
ThrottlingException The request throughput limit was exceeded.
ConflictException Updating or deleting this resource can cause an inconsistent state.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ValidationException The input failed to meet the constraints specified by the AWS service.
ResourceNotFoundException The specified resource doesn't exist.
ServiceQuotaExceededException The request would cause a service quota to be exceeded.
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateOriginEndpoint
func (c *MediaPackageV2) UpdateOriginEndpointRequest(input *UpdateOriginEndpointInput) (req *request.Request, output *UpdateOriginEndpointOutput)
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 completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateOriginEndpoint for more information on using the UpdateOriginEndpoint API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateOriginEndpointRequest method. req, resp := client.UpdateOriginEndpointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateOriginEndpoint
func (c *MediaPackageV2) UpdateOriginEndpointWithContext(ctx aws.Context, input *UpdateOriginEndpointInput, opts ...request.Option) (*UpdateOriginEndpointOutput, error)
UpdateOriginEndpointWithContext is the same as UpdateOriginEndpoint with the addition of the ability to pass a context and additional request options.
See UpdateOriginEndpoint for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type OriginEndpointListConfiguration struct { // The Amazon Resource Name (ARN) associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `min:"1" type:"string" required:"true"` // The type of container attached to this origin endpoint. A container type // is a file format that encapsulates one or more media streams, such as audio // and video, into a single file. // // ContainerType is a required field ContainerType *string `type:"string" required:"true" enum:"ContainerType"` // The date and time the origin endpoint was created. CreatedAt *time.Time `type:"timestamp"` // A DASH manifest configuration. DashManifests []*ListDashManifestConfiguration `type:"list"` // Any descriptive information that you want to add to the origin endpoint for // future identification purposes. Description *string `type:"string"` // The failover settings for the endpoint. ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"` // An HTTP live streaming (HLS) manifest configuration. HlsManifests []*ListHlsManifestConfiguration `type:"list"` // A low-latency HLS manifest configuration. LowLatencyHlsManifests []*ListLowLatencyHlsManifestConfiguration `type:"list"` // The date and time the origin endpoint was modified. ModifiedAt *time.Time `type:"timestamp"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and and must be unique for your account in the AWS // Region and channel. // // OriginEndpointName is a required field OriginEndpointName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The configuration of the origin endpoint.
func (s OriginEndpointListConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *OriginEndpointListConfiguration) SetArn(v string) *OriginEndpointListConfiguration
SetArn sets the Arn field's value.
func (s *OriginEndpointListConfiguration) SetChannelGroupName(v string) *OriginEndpointListConfiguration
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *OriginEndpointListConfiguration) SetChannelName(v string) *OriginEndpointListConfiguration
SetChannelName sets the ChannelName field's value.
func (s *OriginEndpointListConfiguration) SetContainerType(v string) *OriginEndpointListConfiguration
SetContainerType sets the ContainerType field's value.
func (s *OriginEndpointListConfiguration) SetCreatedAt(v time.Time) *OriginEndpointListConfiguration
SetCreatedAt sets the CreatedAt field's value.
func (s *OriginEndpointListConfiguration) SetDashManifests(v []*ListDashManifestConfiguration) *OriginEndpointListConfiguration
SetDashManifests sets the DashManifests field's value.
func (s *OriginEndpointListConfiguration) SetDescription(v string) *OriginEndpointListConfiguration
SetDescription sets the Description field's value.
func (s *OriginEndpointListConfiguration) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *OriginEndpointListConfiguration
SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.
func (s *OriginEndpointListConfiguration) SetHlsManifests(v []*ListHlsManifestConfiguration) *OriginEndpointListConfiguration
SetHlsManifests sets the HlsManifests field's value.
func (s *OriginEndpointListConfiguration) SetLowLatencyHlsManifests(v []*ListLowLatencyHlsManifestConfiguration) *OriginEndpointListConfiguration
SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.
func (s *OriginEndpointListConfiguration) SetModifiedAt(v time.Time) *OriginEndpointListConfiguration
SetModifiedAt sets the ModifiedAt field's value.
func (s *OriginEndpointListConfiguration) SetOriginEndpointName(v string) *OriginEndpointListConfiguration
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s OriginEndpointListConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutChannelPolicyInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // The policy to attach to the specified channel. // // Policy is a required field Policy *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s PutChannelPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutChannelPolicyInput) SetChannelGroupName(v string) *PutChannelPolicyInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *PutChannelPolicyInput) SetChannelName(v string) *PutChannelPolicyInput
SetChannelName sets the ChannelName field's value.
func (s *PutChannelPolicyInput) SetPolicy(v string) *PutChannelPolicyInput
SetPolicy sets the Policy field's value.
func (s PutChannelPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutChannelPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutChannelPolicyOutput struct {
// contains filtered or unexported fields
}
func (s PutChannelPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s PutChannelPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutOriginEndpointPolicyInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and and must be unique for your account in the AWS // Region and channel. // // OriginEndpointName is a required field OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"` // The policy to attach to the specified origin endpoint. // // Policy is a required field Policy *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s PutOriginEndpointPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutOriginEndpointPolicyInput) SetChannelGroupName(v string) *PutOriginEndpointPolicyInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *PutOriginEndpointPolicyInput) SetChannelName(v string) *PutOriginEndpointPolicyInput
SetChannelName sets the ChannelName field's value.
func (s *PutOriginEndpointPolicyInput) SetOriginEndpointName(v string) *PutOriginEndpointPolicyInput
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s *PutOriginEndpointPolicyInput) SetPolicy(v string) *PutOriginEndpointPolicyInput
SetPolicy sets the Policy field's value.
func (s PutOriginEndpointPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *PutOriginEndpointPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutOriginEndpointPolicyOutput struct {
// contains filtered or unexported fields
}
func (s PutOriginEndpointPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s PutOriginEndpointPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // The specified resource type wasn't found. ResourceTypeNotFound *string `type:"string" enum:"ResourceTypeNotFound"` // contains filtered or unexported fields }
The specified resource doesn't exist.
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Scte struct { // The SCTE-35 message types that you want to be treated as ad markers in the // output. ScteFilter []*string `type:"list" enum:"ScteFilter"` // contains filtered or unexported fields }
The SCTE configuration.
func (s Scte) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Scte) SetScteFilter(v []*string) *Scte
SetScteFilter sets the ScteFilter field's value.
func (s Scte) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ScteDash struct { // Choose how ad markers are included in the packaged content. If you include // ad markers in the content stream in your upstream encoders, then you need // to inform MediaPackage what to do with the ad markers in the output. // // Value description: // // * Binary - The SCTE-35 marker is expressed as a hex-string (Base64 string) // rather than full XML. // // * XML - The SCTE marker is expressed fully in XML. AdMarkerDash *string `type:"string" enum:"AdMarkerDash"` // contains filtered or unexported fields }
The SCTE configuration.
func (s ScteDash) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ScteDash) SetAdMarkerDash(v string) *ScteDash
SetAdMarkerDash sets the AdMarkerDash field's value.
func (s ScteDash) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ScteHls struct { // Ad markers indicate when ads should be inserted during playback. If you include // ad markers in the content stream in your upstream encoders, then you need // to inform MediaPackage what to do with the ad markers in the output. Choose // what you want MediaPackage to do with the ad markers. // // Value description: // // * DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition // events in TS and CMAF manifests. If you use DATERANGE, you must set a // programDateTimeIntervalSeconds value of 1 or higher. To learn more about // DATERANGE, see SCTE-35 Ad Marker EXT-X-DATERANGE (http://docs.aws.amazon.com/mediapackage/latest/ug/scte-35-ad-marker-ext-x-daterange.html). AdMarkerHls *string `type:"string" enum:"AdMarkerHls"` // contains filtered or unexported fields }
The SCTE configuration.
func (s ScteHls) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ScteHls) SetAdMarkerHls(v string) *ScteHls
SetAdMarkerHls sets the AdMarkerHls field's value.
func (s ScteHls) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Segment struct { // The parameters for encrypting content. Encryption *Encryption `type:"structure"` // When selected, the stream set includes an additional I-frame only stream, // along with the other tracks. If false, this extra stream is not included. // MediaPackage generates an I-frame only stream from the first rendition in // the manifest. The service inserts EXT-I-FRAMES-ONLY tags in the output manifest, // and then generates and includes an I-frames only playlist in the stream. // This playlist permits player functionality like fast forward and rewind. IncludeIframeOnlyStreams *bool `type:"boolean"` // The SCTE configuration options in the segment settings. Scte *Scte `type:"structure"` // The duration (in seconds) of each segment. Enter a value equal to, or a multiple // of, the input segment duration. If the value that you enter is different // from the input segment duration, MediaPackage rounds segments to the nearest // multiple of the input segment duration. SegmentDurationSeconds *int64 `min:"1" type:"integer"` // The name that describes the segment. The name is the base name of the segment // used in all content manifests inside of the endpoint. You can't use spaces // in the name. SegmentName *string `min:"1" type:"string"` // By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles // from the output. When selected, MediaPackage passes through DVB subtitles // into the output. TsIncludeDvbSubtitles *bool `type:"boolean"` // When selected, MediaPackage bundles all audio tracks in a rendition group. // All other tracks in the stream can be used with any audio rendition from // the group. TsUseAudioRenditionGroup *bool `type:"boolean"` // contains filtered or unexported fields }
The segment configuration, including the segment name, duration, and other configuration values.
func (s Segment) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Segment) SetEncryption(v *Encryption) *Segment
SetEncryption sets the Encryption field's value.
func (s *Segment) SetIncludeIframeOnlyStreams(v bool) *Segment
SetIncludeIframeOnlyStreams sets the IncludeIframeOnlyStreams field's value.
func (s *Segment) SetScte(v *Scte) *Segment
SetScte sets the Scte field's value.
func (s *Segment) SetSegmentDurationSeconds(v int64) *Segment
SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.
func (s *Segment) SetSegmentName(v string) *Segment
SetSegmentName sets the SegmentName field's value.
func (s *Segment) SetTsIncludeDvbSubtitles(v bool) *Segment
SetTsIncludeDvbSubtitles sets the TsIncludeDvbSubtitles field's value.
func (s *Segment) SetTsUseAudioRenditionGroup(v bool) *Segment
SetTsUseAudioRenditionGroup sets the TsUseAudioRenditionGroup field's value.
func (s Segment) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Segment) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The request would cause a service quota to be exceeded.
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (s *ServiceQuotaExceededException) Error() string
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ServiceQuotaExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SpekeKeyProvider struct { // The DRM solution provider you're using to protect your content during distribution. // // DrmSystems is a required field DrmSystems []*string `min:"1" type:"list" required:"true" enum:"DrmSystem"` // Configure one or more content encryption keys for your endpoints that use // SPEKE Version 2.0. The encryption contract defines which content keys are // used to encrypt the audio and video tracks in your stream. To configure the // encryption contract, specify which audio and video encryption presets to // use. // // EncryptionContractConfiguration is a required field EncryptionContractConfiguration *EncryptionContractConfiguration `type:"structure" required:"true"` // The unique identifier for the content. The service sends this to the key // server to identify the current endpoint. How unique you make this depends // on how fine-grained you want access controls to be. The service does not // permit you to use the same ID for two simultaneous encryption processes. // The resource ID is also known as the content ID. // // The following example shows a resource ID: MovieNight20171126093045 // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The ARN for the IAM role granted by the key provider that provides access // to the key provider API. This role must have a trust policy that allows MediaPackage // to assume the role, and it must have a sufficient permissions policy to allow // access to the specific key retrieval URL. Get this from your DRM solution // provider. // // Valid format: arn:aws:iam::{accountID}:role/{name}. The following example // shows a role ARN: arn:aws:iam::444455556666:role/SpekeAccess // // RoleArn is a required field RoleArn *string `min:"1" type:"string" required:"true"` // The URL of the API Gateway proxy that you set up to talk to your key server. // The API Gateway proxy must reside in the same AWS Region as MediaPackage // and must start with https://. // // The following example shows a URL: https://1wm2dx1f33.execute-api.us-west-2.amazonaws.com/SpekeSample/copyProtection // // Url is a required field Url *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The parameters for the SPEKE key provider.
func (s SpekeKeyProvider) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SpekeKeyProvider) SetDrmSystems(v []*string) *SpekeKeyProvider
SetDrmSystems sets the DrmSystems field's value.
func (s *SpekeKeyProvider) SetEncryptionContractConfiguration(v *EncryptionContractConfiguration) *SpekeKeyProvider
SetEncryptionContractConfiguration sets the EncryptionContractConfiguration field's value.
func (s *SpekeKeyProvider) SetResourceId(v string) *SpekeKeyProvider
SetResourceId sets the ResourceId field's value.
func (s *SpekeKeyProvider) SetRoleArn(v string) *SpekeKeyProvider
SetRoleArn sets the RoleArn field's value.
func (s *SpekeKeyProvider) SetUrl(v string) *SpekeKeyProvider
SetUrl sets the Url field's value.
func (s SpekeKeyProvider) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SpekeKeyProvider) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceInput struct { // The ARN of the MediaPackage resource that you're adding tags to. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` // Contains a map of the key-value pairs for the resource tag or tags assigned // to the resource. // // Tags is a required field Tags map[string]*string `locationName:"tags" type:"map" required:"true"` // contains filtered or unexported fields }
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The request throughput limit was exceeded.
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (s *ThrottlingException) Error() string
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput struct { // The ARN of the MediaPackage resource that you're removing tags from. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` // The list of tag keys to remove from the resource. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateChannelGroupInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // Any descriptive information that you want to add to the channel group for // future identification purposes. Description *string `type:"string"` // The expected current Entity Tag (ETag) for the resource. If the specified // ETag does not match the resource's current entity tag, the update request // will be rejected. ETag *string `location:"header" locationName:"x-amzn-update-if-match" min:"1" type:"string"` // contains filtered or unexported fields }
func (s UpdateChannelGroupInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateChannelGroupInput) SetChannelGroupName(v string) *UpdateChannelGroupInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *UpdateChannelGroupInput) SetDescription(v string) *UpdateChannelGroupInput
SetDescription sets the Description field's value.
func (s *UpdateChannelGroupInput) SetETag(v string) *UpdateChannelGroupInput
SetETag sets the ETag field's value.
func (s UpdateChannelGroupInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateChannelGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateChannelGroupOutput struct { // The Amazon Resource Name (ARN) associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `type:"string" required:"true"` // The date and time the channel group was created. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` // The description for your channel group. Description *string `type:"string"` // The current Entity Tag (ETag) associated with this resource. The entity tag // can be used to safely make concurrent updates to the resource. ETag *string `min:"1" type:"string"` // The output domain where the source stream is sent. Integrate the domain with // a downstream CDN (such as Amazon CloudFront) or playback device. // // EgressDomain is a required field EgressDomain *string `type:"string" required:"true"` // The date and time the channel group was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `type:"timestamp" required:"true"` // The comma-separated list of tag key:value pairs assigned to the channel group. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s UpdateChannelGroupOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateChannelGroupOutput) SetArn(v string) *UpdateChannelGroupOutput
SetArn sets the Arn field's value.
func (s *UpdateChannelGroupOutput) SetChannelGroupName(v string) *UpdateChannelGroupOutput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *UpdateChannelGroupOutput) SetCreatedAt(v time.Time) *UpdateChannelGroupOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *UpdateChannelGroupOutput) SetDescription(v string) *UpdateChannelGroupOutput
SetDescription sets the Description field's value.
func (s *UpdateChannelGroupOutput) SetETag(v string) *UpdateChannelGroupOutput
SetETag sets the ETag field's value.
func (s *UpdateChannelGroupOutput) SetEgressDomain(v string) *UpdateChannelGroupOutput
SetEgressDomain sets the EgressDomain field's value.
func (s *UpdateChannelGroupOutput) SetModifiedAt(v time.Time) *UpdateChannelGroupOutput
SetModifiedAt sets the ModifiedAt field's value.
func (s *UpdateChannelGroupOutput) SetTags(v map[string]*string) *UpdateChannelGroupOutput
SetTags sets the Tags field's value.
func (s UpdateChannelGroupOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateChannelInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // Any descriptive information that you want to add to the channel for future // identification purposes. Description *string `type:"string"` // The expected current Entity Tag (ETag) for the resource. If the specified // ETag does not match the resource's current entity tag, the update request // will be rejected. ETag *string `location:"header" locationName:"x-amzn-update-if-match" min:"1" type:"string"` // contains filtered or unexported fields }
func (s UpdateChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateChannelInput) SetChannelGroupName(v string) *UpdateChannelInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *UpdateChannelInput) SetChannelName(v string) *UpdateChannelInput
SetChannelName sets the ChannelName field's value.
func (s *UpdateChannelInput) SetDescription(v string) *UpdateChannelInput
SetDescription sets the Description field's value.
func (s *UpdateChannelInput) SetETag(v string) *UpdateChannelInput
SetETag sets the ETag field's value.
func (s UpdateChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateChannelOutput struct { // The Amazon Resource Name (ARN) associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `type:"string" required:"true"` // The date and time the channel was created. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` // The description for your channel. Description *string `type:"string"` // The current Entity Tag (ETag) associated with this resource. The entity tag // can be used to safely make concurrent updates to the resource. ETag *string `min:"1" type:"string"` // The list of ingest endpoints. IngestEndpoints []*IngestEndpoint `type:"list"` // The input type will be an immutable field which will be used to define whether // the channel will allow CMAF ingest or HLS ingest. If unprovided, it will // default to HLS to preserve current behavior. // // The allowed values are: // // * HLS - The HLS streaming specification (which defines M3U8 manifests // and TS segments). // // * CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments // with optional DASH manifests). InputType *string `type:"string" enum:"InputType"` // The date and time the channel was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `type:"timestamp" required:"true"` // The comma-separated list of tag key:value pairs assigned to the channel. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s UpdateChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateChannelOutput) SetArn(v string) *UpdateChannelOutput
SetArn sets the Arn field's value.
func (s *UpdateChannelOutput) SetChannelGroupName(v string) *UpdateChannelOutput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *UpdateChannelOutput) SetChannelName(v string) *UpdateChannelOutput
SetChannelName sets the ChannelName field's value.
func (s *UpdateChannelOutput) SetCreatedAt(v time.Time) *UpdateChannelOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *UpdateChannelOutput) SetDescription(v string) *UpdateChannelOutput
SetDescription sets the Description field's value.
func (s *UpdateChannelOutput) SetETag(v string) *UpdateChannelOutput
SetETag sets the ETag field's value.
func (s *UpdateChannelOutput) SetIngestEndpoints(v []*IngestEndpoint) *UpdateChannelOutput
SetIngestEndpoints sets the IngestEndpoints field's value.
func (s *UpdateChannelOutput) SetInputType(v string) *UpdateChannelOutput
SetInputType sets the InputType field's value.
func (s *UpdateChannelOutput) SetModifiedAt(v time.Time) *UpdateChannelOutput
SetModifiedAt sets the ModifiedAt field's value.
func (s *UpdateChannelOutput) SetTags(v map[string]*string) *UpdateChannelOutput
SetTags sets the Tags field's value.
func (s UpdateChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateOriginEndpointInput struct { // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"` // The type of container attached to this origin endpoint. A container type // is a file format that encapsulates one or more media streams, such as audio // and video, into a single file. // // ContainerType is a required field ContainerType *string `type:"string" required:"true" enum:"ContainerType"` // A DASH manifest configuration. DashManifests []*CreateDashManifestConfiguration `type:"list"` // Any descriptive information that you want to add to the origin endpoint for // future identification purposes. Description *string `type:"string"` // The expected current Entity Tag (ETag) for the resource. If the specified // ETag does not match the resource's current entity tag, the update request // will be rejected. ETag *string `location:"header" locationName:"x-amzn-update-if-match" min:"1" type:"string"` // The failover settings for the endpoint. ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"` // An HTTP live streaming (HLS) manifest configuration. HlsManifests []*CreateHlsManifestConfiguration `type:"list"` // A low-latency HLS manifest configuration. LowLatencyHlsManifests []*CreateLowLatencyHlsManifestConfiguration `type:"list"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and and must be unique for your account in the AWS // Region and channel. // // OriginEndpointName is a required field OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"` // The segment configuration, including the segment name, duration, and other // configuration values. Segment *Segment `type:"structure"` // The size of the window (in seconds) to create a window of the live stream // that's available for on-demand viewing. Viewers can start-over or catch-up // on content that falls within the window. The maximum startover window is // 1,209,600 seconds (14 days). StartoverWindowSeconds *int64 `min:"60" type:"integer"` // contains filtered or unexported fields }
func (s UpdateOriginEndpointInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateOriginEndpointInput) SetChannelGroupName(v string) *UpdateOriginEndpointInput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *UpdateOriginEndpointInput) SetChannelName(v string) *UpdateOriginEndpointInput
SetChannelName sets the ChannelName field's value.
func (s *UpdateOriginEndpointInput) SetContainerType(v string) *UpdateOriginEndpointInput
SetContainerType sets the ContainerType field's value.
func (s *UpdateOriginEndpointInput) SetDashManifests(v []*CreateDashManifestConfiguration) *UpdateOriginEndpointInput
SetDashManifests sets the DashManifests field's value.
func (s *UpdateOriginEndpointInput) SetDescription(v string) *UpdateOriginEndpointInput
SetDescription sets the Description field's value.
func (s *UpdateOriginEndpointInput) SetETag(v string) *UpdateOriginEndpointInput
SetETag sets the ETag field's value.
func (s *UpdateOriginEndpointInput) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *UpdateOriginEndpointInput
SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.
func (s *UpdateOriginEndpointInput) SetHlsManifests(v []*CreateHlsManifestConfiguration) *UpdateOriginEndpointInput
SetHlsManifests sets the HlsManifests field's value.
func (s *UpdateOriginEndpointInput) SetLowLatencyHlsManifests(v []*CreateLowLatencyHlsManifestConfiguration) *UpdateOriginEndpointInput
SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.
func (s *UpdateOriginEndpointInput) SetOriginEndpointName(v string) *UpdateOriginEndpointInput
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s *UpdateOriginEndpointInput) SetSegment(v *Segment) *UpdateOriginEndpointInput
SetSegment sets the Segment field's value.
func (s *UpdateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointInput
SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.
func (s UpdateOriginEndpointInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateOriginEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateOriginEndpointOutput struct { // The ARN associated with the resource. // // Arn is a required field Arn *string `type:"string" required:"true"` // The name that describes the channel group. The name is the primary identifier // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field ChannelGroupName *string `min:"1" type:"string" required:"true"` // The name that describes the channel. The name is the primary identifier for // the channel, and must be unique for your account in the AWS Region and channel // group. // // ChannelName is a required field ChannelName *string `min:"1" type:"string" required:"true"` // The type of container attached to this origin endpoint. // // ContainerType is a required field ContainerType *string `type:"string" required:"true" enum:"ContainerType"` // The date and time the origin endpoint was created. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` // A DASH manifest configuration. DashManifests []*GetDashManifestConfiguration `type:"list"` // The description of the origin endpoint. Description *string `type:"string"` // The current Entity Tag (ETag) associated with this resource. The entity tag // can be used to safely make concurrent updates to the resource. ETag *string `min:"1" type:"string"` // The failover settings for the endpoint. ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"` // An HTTP live streaming (HLS) manifest configuration. HlsManifests []*GetHlsManifestConfiguration `type:"list"` // A low-latency HLS manifest configuration. LowLatencyHlsManifests []*GetLowLatencyHlsManifestConfiguration `type:"list"` // The date and time the origin endpoint was modified. // // ModifiedAt is a required field ModifiedAt *time.Time `type:"timestamp" required:"true"` // The name that describes the origin endpoint. The name is the primary identifier // for the origin endpoint, and and must be unique for your account in the AWS // Region and channel. // // OriginEndpointName is a required field OriginEndpointName *string `min:"1" type:"string" required:"true"` // The segment configuration, including the segment name, duration, and other // configuration values. // // Segment is a required field Segment *Segment `type:"structure" required:"true"` // The size of the window (in seconds) to create a window of the live stream // that's available for on-demand viewing. Viewers can start-over or catch-up // on content that falls within the window. StartoverWindowSeconds *int64 `type:"integer"` // The comma-separated list of tag key:value pairs assigned to the origin endpoint. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s UpdateOriginEndpointOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateOriginEndpointOutput) SetArn(v string) *UpdateOriginEndpointOutput
SetArn sets the Arn field's value.
func (s *UpdateOriginEndpointOutput) SetChannelGroupName(v string) *UpdateOriginEndpointOutput
SetChannelGroupName sets the ChannelGroupName field's value.
func (s *UpdateOriginEndpointOutput) SetChannelName(v string) *UpdateOriginEndpointOutput
SetChannelName sets the ChannelName field's value.
func (s *UpdateOriginEndpointOutput) SetContainerType(v string) *UpdateOriginEndpointOutput
SetContainerType sets the ContainerType field's value.
func (s *UpdateOriginEndpointOutput) SetCreatedAt(v time.Time) *UpdateOriginEndpointOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *UpdateOriginEndpointOutput) SetDashManifests(v []*GetDashManifestConfiguration) *UpdateOriginEndpointOutput
SetDashManifests sets the DashManifests field's value.
func (s *UpdateOriginEndpointOutput) SetDescription(v string) *UpdateOriginEndpointOutput
SetDescription sets the Description field's value.
func (s *UpdateOriginEndpointOutput) SetETag(v string) *UpdateOriginEndpointOutput
SetETag sets the ETag field's value.
func (s *UpdateOriginEndpointOutput) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *UpdateOriginEndpointOutput
SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.
func (s *UpdateOriginEndpointOutput) SetHlsManifests(v []*GetHlsManifestConfiguration) *UpdateOriginEndpointOutput
SetHlsManifests sets the HlsManifests field's value.
func (s *UpdateOriginEndpointOutput) SetLowLatencyHlsManifests(v []*GetLowLatencyHlsManifestConfiguration) *UpdateOriginEndpointOutput
SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.
func (s *UpdateOriginEndpointOutput) SetModifiedAt(v time.Time) *UpdateOriginEndpointOutput
SetModifiedAt sets the ModifiedAt field's value.
func (s *UpdateOriginEndpointOutput) SetOriginEndpointName(v string) *UpdateOriginEndpointOutput
SetOriginEndpointName sets the OriginEndpointName field's value.
func (s *UpdateOriginEndpointOutput) SetSegment(v *Segment) *UpdateOriginEndpointOutput
SetSegment sets the Segment field's value.
func (s *UpdateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointOutput
SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.
func (s *UpdateOriginEndpointOutput) SetTags(v map[string]*string) *UpdateOriginEndpointOutput
SetTags sets the Tags field's value.
func (s UpdateOriginEndpointOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // The type of ValidationException. ValidationExceptionType *string `type:"string" enum:"ValidationExceptionType"` // contains filtered or unexported fields }
The input failed to meet the constraints specified by the AWS service.
func (s *ValidationException) Code() string
Code returns the exception type name.
func (s *ValidationException) Error() string
func (s ValidationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ValidationException) Message() string
Message returns the exception's message.
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ValidationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".