Documentation ¶
Overview ¶
Package mediapackage provides the client and types for making API requests to AWS Elemental MediaPackage.
AWS Elemental MediaPackage ¶
See https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12 for more information on this service.
See mediapackage package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackage/
Using the Client ¶
To AWS Elemental MediaPackage with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS Elemental MediaPackage client MediaPackage for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackage/#New
Index ¶
- Constants
- type AdMarkers
- type Channel
- type CreateChannelInput
- type CreateChannelOutput
- func (s CreateChannelOutput) GoString() string
- func (s CreateChannelOutput) SDKResponseMetadata() aws.Response
- func (s *CreateChannelOutput) SetArn(v string) *CreateChannelOutput
- func (s *CreateChannelOutput) SetDescription(v string) *CreateChannelOutput
- func (s *CreateChannelOutput) SetHlsIngest(v *HlsIngest) *CreateChannelOutput
- func (s *CreateChannelOutput) SetId(v string) *CreateChannelOutput
- func (s CreateChannelOutput) String() string
- type CreateChannelRequest
- type CreateOriginEndpointInput
- func (s CreateOriginEndpointInput) GoString() string
- func (s *CreateOriginEndpointInput) SetChannelId(v string) *CreateOriginEndpointInput
- func (s *CreateOriginEndpointInput) SetDashPackage(v *DashPackage) *CreateOriginEndpointInput
- func (s *CreateOriginEndpointInput) SetDescription(v string) *CreateOriginEndpointInput
- func (s *CreateOriginEndpointInput) SetHlsPackage(v *HlsPackage) *CreateOriginEndpointInput
- func (s *CreateOriginEndpointInput) SetId(v string) *CreateOriginEndpointInput
- func (s *CreateOriginEndpointInput) SetManifestName(v string) *CreateOriginEndpointInput
- func (s *CreateOriginEndpointInput) SetMssPackage(v *MssPackage) *CreateOriginEndpointInput
- func (s *CreateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointInput
- func (s *CreateOriginEndpointInput) SetTimeDelaySeconds(v int64) *CreateOriginEndpointInput
- func (s *CreateOriginEndpointInput) SetWhitelist(v []string) *CreateOriginEndpointInput
- func (s CreateOriginEndpointInput) String() string
- func (s *CreateOriginEndpointInput) Validate() error
- type CreateOriginEndpointOutput
- func (s CreateOriginEndpointOutput) GoString() string
- func (s CreateOriginEndpointOutput) SDKResponseMetadata() aws.Response
- func (s *CreateOriginEndpointOutput) SetArn(v string) *CreateOriginEndpointOutput
- func (s *CreateOriginEndpointOutput) SetChannelId(v string) *CreateOriginEndpointOutput
- func (s *CreateOriginEndpointOutput) SetDashPackage(v *DashPackage) *CreateOriginEndpointOutput
- func (s *CreateOriginEndpointOutput) SetDescription(v string) *CreateOriginEndpointOutput
- func (s *CreateOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *CreateOriginEndpointOutput
- func (s *CreateOriginEndpointOutput) SetId(v string) *CreateOriginEndpointOutput
- func (s *CreateOriginEndpointOutput) SetManifestName(v string) *CreateOriginEndpointOutput
- func (s *CreateOriginEndpointOutput) SetMssPackage(v *MssPackage) *CreateOriginEndpointOutput
- func (s *CreateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointOutput
- func (s *CreateOriginEndpointOutput) SetTimeDelaySeconds(v int64) *CreateOriginEndpointOutput
- func (s *CreateOriginEndpointOutput) SetUrl(v string) *CreateOriginEndpointOutput
- func (s *CreateOriginEndpointOutput) SetWhitelist(v []string) *CreateOriginEndpointOutput
- func (s CreateOriginEndpointOutput) String() string
- type CreateOriginEndpointRequest
- type DashEncryption
- type DashPackage
- func (s DashPackage) GoString() string
- func (s *DashPackage) SetEncryption(v *DashEncryption) *DashPackage
- func (s *DashPackage) SetManifestWindowSeconds(v int64) *DashPackage
- func (s *DashPackage) SetMinBufferTimeSeconds(v int64) *DashPackage
- func (s *DashPackage) SetMinUpdatePeriodSeconds(v int64) *DashPackage
- func (s *DashPackage) SetProfile(v Profile) *DashPackage
- func (s *DashPackage) SetSegmentDurationSeconds(v int64) *DashPackage
- func (s *DashPackage) SetStreamSelection(v *StreamSelection) *DashPackage
- func (s *DashPackage) SetSuggestedPresentationDelaySeconds(v int64) *DashPackage
- func (s DashPackage) String() string
- func (s *DashPackage) Validate() error
- type DeleteChannelInput
- type DeleteChannelOutput
- type DeleteChannelRequest
- type DeleteOriginEndpointInput
- type DeleteOriginEndpointOutput
- type DeleteOriginEndpointRequest
- type DescribeChannelInput
- type DescribeChannelOutput
- func (s DescribeChannelOutput) GoString() string
- func (s DescribeChannelOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeChannelOutput) SetArn(v string) *DescribeChannelOutput
- func (s *DescribeChannelOutput) SetDescription(v string) *DescribeChannelOutput
- func (s *DescribeChannelOutput) SetHlsIngest(v *HlsIngest) *DescribeChannelOutput
- func (s *DescribeChannelOutput) SetId(v string) *DescribeChannelOutput
- func (s DescribeChannelOutput) String() string
- type DescribeChannelRequest
- type DescribeOriginEndpointInput
- type DescribeOriginEndpointOutput
- func (s DescribeOriginEndpointOutput) GoString() string
- func (s DescribeOriginEndpointOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeOriginEndpointOutput) SetArn(v string) *DescribeOriginEndpointOutput
- func (s *DescribeOriginEndpointOutput) SetChannelId(v string) *DescribeOriginEndpointOutput
- func (s *DescribeOriginEndpointOutput) SetDashPackage(v *DashPackage) *DescribeOriginEndpointOutput
- func (s *DescribeOriginEndpointOutput) SetDescription(v string) *DescribeOriginEndpointOutput
- func (s *DescribeOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *DescribeOriginEndpointOutput
- func (s *DescribeOriginEndpointOutput) SetId(v string) *DescribeOriginEndpointOutput
- func (s *DescribeOriginEndpointOutput) SetManifestName(v string) *DescribeOriginEndpointOutput
- func (s *DescribeOriginEndpointOutput) SetMssPackage(v *MssPackage) *DescribeOriginEndpointOutput
- func (s *DescribeOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *DescribeOriginEndpointOutput
- func (s *DescribeOriginEndpointOutput) SetTimeDelaySeconds(v int64) *DescribeOriginEndpointOutput
- func (s *DescribeOriginEndpointOutput) SetUrl(v string) *DescribeOriginEndpointOutput
- func (s *DescribeOriginEndpointOutput) SetWhitelist(v []string) *DescribeOriginEndpointOutput
- func (s DescribeOriginEndpointOutput) String() string
- type DescribeOriginEndpointRequest
- type EncryptionMethod
- type HlsEncryption
- func (s HlsEncryption) GoString() string
- func (s *HlsEncryption) SetConstantInitializationVector(v string) *HlsEncryption
- func (s *HlsEncryption) SetEncryptionMethod(v EncryptionMethod) *HlsEncryption
- func (s *HlsEncryption) SetKeyRotationIntervalSeconds(v int64) *HlsEncryption
- func (s *HlsEncryption) SetRepeatExtXKey(v bool) *HlsEncryption
- func (s *HlsEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *HlsEncryption
- func (s HlsEncryption) String() string
- func (s *HlsEncryption) Validate() error
- type HlsIngest
- type HlsPackage
- func (s HlsPackage) GoString() string
- func (s *HlsPackage) SetAdMarkers(v AdMarkers) *HlsPackage
- func (s *HlsPackage) SetEncryption(v *HlsEncryption) *HlsPackage
- func (s *HlsPackage) SetIncludeIframeOnlyStream(v bool) *HlsPackage
- func (s *HlsPackage) SetPlaylistType(v PlaylistType) *HlsPackage
- func (s *HlsPackage) SetPlaylistWindowSeconds(v int64) *HlsPackage
- func (s *HlsPackage) SetProgramDateTimeIntervalSeconds(v int64) *HlsPackage
- func (s *HlsPackage) SetSegmentDurationSeconds(v int64) *HlsPackage
- func (s *HlsPackage) SetStreamSelection(v *StreamSelection) *HlsPackage
- func (s *HlsPackage) SetUseAudioRenditionGroup(v bool) *HlsPackage
- func (s HlsPackage) String() string
- func (s *HlsPackage) Validate() error
- type IngestEndpoint
- type ListChannelsInput
- type ListChannelsOutput
- type ListChannelsRequest
- type ListOriginEndpointsInput
- func (s ListOriginEndpointsInput) GoString() string
- func (s *ListOriginEndpointsInput) SetChannelId(v string) *ListOriginEndpointsInput
- func (s *ListOriginEndpointsInput) SetMaxResults(v int64) *ListOriginEndpointsInput
- func (s *ListOriginEndpointsInput) SetNextToken(v string) *ListOriginEndpointsInput
- func (s ListOriginEndpointsInput) String() string
- func (s *ListOriginEndpointsInput) Validate() error
- type ListOriginEndpointsOutput
- func (s ListOriginEndpointsOutput) GoString() string
- func (s ListOriginEndpointsOutput) SDKResponseMetadata() aws.Response
- func (s *ListOriginEndpointsOutput) SetNextToken(v string) *ListOriginEndpointsOutput
- func (s *ListOriginEndpointsOutput) SetOriginEndpoints(v []OriginEndpoint) *ListOriginEndpointsOutput
- func (s ListOriginEndpointsOutput) String() string
- type ListOriginEndpointsRequest
- type MediaPackage
- func (c *MediaPackage) CreateChannelRequest(input *CreateChannelInput) CreateChannelRequest
- func (c *MediaPackage) CreateOriginEndpointRequest(input *CreateOriginEndpointInput) CreateOriginEndpointRequest
- func (c *MediaPackage) DeleteChannelRequest(input *DeleteChannelInput) DeleteChannelRequest
- func (c *MediaPackage) DeleteOriginEndpointRequest(input *DeleteOriginEndpointInput) DeleteOriginEndpointRequest
- func (c *MediaPackage) DescribeChannelRequest(input *DescribeChannelInput) DescribeChannelRequest
- func (c *MediaPackage) DescribeOriginEndpointRequest(input *DescribeOriginEndpointInput) DescribeOriginEndpointRequest
- func (c *MediaPackage) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error
- func (c *MediaPackage) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, ...) error
- func (c *MediaPackage) ListChannelsRequest(input *ListChannelsInput) ListChannelsRequest
- func (c *MediaPackage) ListOriginEndpointsPages(input *ListOriginEndpointsInput, ...) error
- func (c *MediaPackage) ListOriginEndpointsPagesWithContext(ctx aws.Context, input *ListOriginEndpointsInput, ...) error
- func (c *MediaPackage) ListOriginEndpointsRequest(input *ListOriginEndpointsInput) ListOriginEndpointsRequest
- func (c *MediaPackage) RotateChannelCredentialsRequest(input *RotateChannelCredentialsInput) RotateChannelCredentialsRequest
- func (c *MediaPackage) UpdateChannelRequest(input *UpdateChannelInput) UpdateChannelRequest
- func (c *MediaPackage) UpdateOriginEndpointRequest(input *UpdateOriginEndpointInput) UpdateOriginEndpointRequest
- type MssEncryption
- type MssPackage
- func (s MssPackage) GoString() string
- func (s *MssPackage) SetEncryption(v *MssEncryption) *MssPackage
- func (s *MssPackage) SetManifestWindowSeconds(v int64) *MssPackage
- func (s *MssPackage) SetSegmentDurationSeconds(v int64) *MssPackage
- func (s *MssPackage) SetStreamSelection(v *StreamSelection) *MssPackage
- func (s MssPackage) String() string
- func (s *MssPackage) Validate() error
- type OriginEndpoint
- func (s OriginEndpoint) GoString() string
- func (s *OriginEndpoint) SetArn(v string) *OriginEndpoint
- func (s *OriginEndpoint) SetChannelId(v string) *OriginEndpoint
- func (s *OriginEndpoint) SetDashPackage(v *DashPackage) *OriginEndpoint
- func (s *OriginEndpoint) SetDescription(v string) *OriginEndpoint
- func (s *OriginEndpoint) SetHlsPackage(v *HlsPackage) *OriginEndpoint
- func (s *OriginEndpoint) SetId(v string) *OriginEndpoint
- func (s *OriginEndpoint) SetManifestName(v string) *OriginEndpoint
- func (s *OriginEndpoint) SetMssPackage(v *MssPackage) *OriginEndpoint
- func (s *OriginEndpoint) SetStartoverWindowSeconds(v int64) *OriginEndpoint
- func (s *OriginEndpoint) SetTimeDelaySeconds(v int64) *OriginEndpoint
- func (s *OriginEndpoint) SetUrl(v string) *OriginEndpoint
- func (s *OriginEndpoint) SetWhitelist(v []string) *OriginEndpoint
- func (s OriginEndpoint) String() string
- type PlaylistType
- type Profile
- type RotateChannelCredentialsInput
- type RotateChannelCredentialsOutput
- func (s RotateChannelCredentialsOutput) GoString() string
- func (s RotateChannelCredentialsOutput) SDKResponseMetadata() aws.Response
- func (s *RotateChannelCredentialsOutput) SetArn(v string) *RotateChannelCredentialsOutput
- func (s *RotateChannelCredentialsOutput) SetDescription(v string) *RotateChannelCredentialsOutput
- func (s *RotateChannelCredentialsOutput) SetHlsIngest(v *HlsIngest) *RotateChannelCredentialsOutput
- func (s *RotateChannelCredentialsOutput) SetId(v string) *RotateChannelCredentialsOutput
- func (s RotateChannelCredentialsOutput) String() string
- type RotateChannelCredentialsRequest
- type SpekeKeyProvider
- func (s SpekeKeyProvider) GoString() string
- func (s *SpekeKeyProvider) SetResourceId(v string) *SpekeKeyProvider
- func (s *SpekeKeyProvider) SetRoleArn(v string) *SpekeKeyProvider
- func (s *SpekeKeyProvider) SetSystemIds(v []string) *SpekeKeyProvider
- func (s *SpekeKeyProvider) SetUrl(v string) *SpekeKeyProvider
- func (s SpekeKeyProvider) String() string
- func (s *SpekeKeyProvider) Validate() error
- type StreamOrder
- type StreamSelection
- func (s StreamSelection) GoString() string
- func (s *StreamSelection) SetMaxVideoBitsPerSecond(v int64) *StreamSelection
- func (s *StreamSelection) SetMinVideoBitsPerSecond(v int64) *StreamSelection
- func (s *StreamSelection) SetStreamOrder(v StreamOrder) *StreamSelection
- func (s StreamSelection) String() string
- type UpdateChannelInput
- type UpdateChannelOutput
- func (s UpdateChannelOutput) GoString() string
- func (s UpdateChannelOutput) SDKResponseMetadata() aws.Response
- func (s *UpdateChannelOutput) SetArn(v string) *UpdateChannelOutput
- func (s *UpdateChannelOutput) SetDescription(v string) *UpdateChannelOutput
- func (s *UpdateChannelOutput) SetHlsIngest(v *HlsIngest) *UpdateChannelOutput
- func (s *UpdateChannelOutput) SetId(v string) *UpdateChannelOutput
- func (s UpdateChannelOutput) String() string
- type UpdateChannelRequest
- type UpdateOriginEndpointInput
- func (s UpdateOriginEndpointInput) GoString() string
- func (s *UpdateOriginEndpointInput) SetDashPackage(v *DashPackage) *UpdateOriginEndpointInput
- func (s *UpdateOriginEndpointInput) SetDescription(v string) *UpdateOriginEndpointInput
- func (s *UpdateOriginEndpointInput) SetHlsPackage(v *HlsPackage) *UpdateOriginEndpointInput
- func (s *UpdateOriginEndpointInput) SetId(v string) *UpdateOriginEndpointInput
- func (s *UpdateOriginEndpointInput) SetManifestName(v string) *UpdateOriginEndpointInput
- func (s *UpdateOriginEndpointInput) SetMssPackage(v *MssPackage) *UpdateOriginEndpointInput
- func (s *UpdateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointInput
- func (s *UpdateOriginEndpointInput) SetTimeDelaySeconds(v int64) *UpdateOriginEndpointInput
- func (s *UpdateOriginEndpointInput) SetWhitelist(v []string) *UpdateOriginEndpointInput
- func (s UpdateOriginEndpointInput) String() string
- func (s *UpdateOriginEndpointInput) Validate() error
- type UpdateOriginEndpointOutput
- func (s UpdateOriginEndpointOutput) GoString() string
- func (s UpdateOriginEndpointOutput) SDKResponseMetadata() aws.Response
- func (s *UpdateOriginEndpointOutput) SetArn(v string) *UpdateOriginEndpointOutput
- func (s *UpdateOriginEndpointOutput) SetChannelId(v string) *UpdateOriginEndpointOutput
- func (s *UpdateOriginEndpointOutput) SetDashPackage(v *DashPackage) *UpdateOriginEndpointOutput
- func (s *UpdateOriginEndpointOutput) SetDescription(v string) *UpdateOriginEndpointOutput
- func (s *UpdateOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *UpdateOriginEndpointOutput
- func (s *UpdateOriginEndpointOutput) SetId(v string) *UpdateOriginEndpointOutput
- func (s *UpdateOriginEndpointOutput) SetManifestName(v string) *UpdateOriginEndpointOutput
- func (s *UpdateOriginEndpointOutput) SetMssPackage(v *MssPackage) *UpdateOriginEndpointOutput
- func (s *UpdateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointOutput
- func (s *UpdateOriginEndpointOutput) SetTimeDelaySeconds(v int64) *UpdateOriginEndpointOutput
- func (s *UpdateOriginEndpointOutput) SetUrl(v string) *UpdateOriginEndpointOutput
- func (s *UpdateOriginEndpointOutput) SetWhitelist(v []string) *UpdateOriginEndpointOutput
- func (s UpdateOriginEndpointOutput) String() string
- type UpdateOriginEndpointRequest
Constants ¶
const ( // ErrCodeForbiddenException for service response error code // "ForbiddenException". ErrCodeForbiddenException = "ForbiddenException" // ErrCodeInternalServerErrorException for service response error code // "InternalServerErrorException". ErrCodeInternalServerErrorException = "InternalServerErrorException" // ErrCodeNotFoundException for service response error code // "NotFoundException". ErrCodeNotFoundException = "NotFoundException" // "ServiceUnavailableException". ErrCodeServiceUnavailableException = "ServiceUnavailableException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". ErrCodeTooManyRequestsException = "TooManyRequestsException" // ErrCodeUnprocessableEntityException for service response error code // "UnprocessableEntityException". ErrCodeUnprocessableEntityException = "UnprocessableEntityException" )
const ( ServiceName = "mediapackage" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { // The Amazon Resource Name (ARN) assigned to the Channel. Arn *string `locationName:"arn" type:"string"` // A short text description of the Channel. Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) ingest resource configuration. HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"` // The ID of the Channel. Id *string `locationName:"id" type:"string"` // contains filtered or unexported fields }
A Channel resource configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/Channel
func (*Channel) SetDescription ¶
SetDescription sets the Description field's value.
func (*Channel) SetHlsIngest ¶
SetHlsIngest sets the HlsIngest field's value.
type CreateChannelInput ¶
type CreateChannelInput struct { Description *string `locationName:"description" type:"string"` // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelRequest
func (CreateChannelInput) GoString ¶
func (s CreateChannelInput) GoString() string
GoString returns the string representation
func (*CreateChannelInput) SetDescription ¶
func (s *CreateChannelInput) SetDescription(v string) *CreateChannelInput
SetDescription sets the Description field's value.
func (*CreateChannelInput) SetId ¶
func (s *CreateChannelInput) SetId(v string) *CreateChannelInput
SetId sets the Id field's value.
func (CreateChannelInput) String ¶
func (s CreateChannelInput) String() string
String returns the string representation
func (*CreateChannelInput) Validate ¶
func (s *CreateChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateChannelOutput ¶
type CreateChannelOutput struct { Arn *string `locationName:"arn" type:"string"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) ingest resource configuration. HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"` Id *string `locationName:"id" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelResponse
func (CreateChannelOutput) GoString ¶
func (s CreateChannelOutput) GoString() string
GoString returns the string representation
func (CreateChannelOutput) SDKResponseMetadata ¶
func (s CreateChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateChannelOutput) SetArn ¶
func (s *CreateChannelOutput) SetArn(v string) *CreateChannelOutput
SetArn sets the Arn field's value.
func (*CreateChannelOutput) SetDescription ¶
func (s *CreateChannelOutput) SetDescription(v string) *CreateChannelOutput
SetDescription sets the Description field's value.
func (*CreateChannelOutput) SetHlsIngest ¶
func (s *CreateChannelOutput) SetHlsIngest(v *HlsIngest) *CreateChannelOutput
SetHlsIngest sets the HlsIngest field's value.
func (*CreateChannelOutput) SetId ¶
func (s *CreateChannelOutput) SetId(v string) *CreateChannelOutput
SetId sets the Id field's value.
func (CreateChannelOutput) String ¶
func (s CreateChannelOutput) String() string
String returns the string representation
type CreateChannelRequest ¶
type CreateChannelRequest struct { *aws.Request Input *CreateChannelInput }
CreateChannelRequest is a API request type for the CreateChannel API operation.
func (CreateChannelRequest) Send ¶
func (r CreateChannelRequest) Send() (*CreateChannelOutput, error)
Send marshals and sends the CreateChannel API request.
type CreateOriginEndpointInput ¶
type CreateOriginEndpointInput struct { // ChannelId is a required field ChannelId *string `locationName:"channelId" type:"string" required:"true"` // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpointRequest
func (CreateOriginEndpointInput) GoString ¶
func (s CreateOriginEndpointInput) GoString() string
GoString returns the string representation
func (*CreateOriginEndpointInput) SetChannelId ¶
func (s *CreateOriginEndpointInput) SetChannelId(v string) *CreateOriginEndpointInput
SetChannelId sets the ChannelId field's value.
func (*CreateOriginEndpointInput) SetDashPackage ¶
func (s *CreateOriginEndpointInput) SetDashPackage(v *DashPackage) *CreateOriginEndpointInput
SetDashPackage sets the DashPackage field's value.
func (*CreateOriginEndpointInput) SetDescription ¶
func (s *CreateOriginEndpointInput) SetDescription(v string) *CreateOriginEndpointInput
SetDescription sets the Description field's value.
func (*CreateOriginEndpointInput) SetHlsPackage ¶
func (s *CreateOriginEndpointInput) SetHlsPackage(v *HlsPackage) *CreateOriginEndpointInput
SetHlsPackage sets the HlsPackage field's value.
func (*CreateOriginEndpointInput) SetId ¶
func (s *CreateOriginEndpointInput) SetId(v string) *CreateOriginEndpointInput
SetId sets the Id field's value.
func (*CreateOriginEndpointInput) SetManifestName ¶
func (s *CreateOriginEndpointInput) SetManifestName(v string) *CreateOriginEndpointInput
SetManifestName sets the ManifestName field's value.
func (*CreateOriginEndpointInput) SetMssPackage ¶
func (s *CreateOriginEndpointInput) SetMssPackage(v *MssPackage) *CreateOriginEndpointInput
SetMssPackage sets the MssPackage field's value.
func (*CreateOriginEndpointInput) SetStartoverWindowSeconds ¶
func (s *CreateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointInput
SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.
func (*CreateOriginEndpointInput) SetTimeDelaySeconds ¶
func (s *CreateOriginEndpointInput) SetTimeDelaySeconds(v int64) *CreateOriginEndpointInput
SetTimeDelaySeconds sets the TimeDelaySeconds field's value.
func (*CreateOriginEndpointInput) SetWhitelist ¶
func (s *CreateOriginEndpointInput) SetWhitelist(v []string) *CreateOriginEndpointInput
SetWhitelist sets the Whitelist field's value.
func (CreateOriginEndpointInput) String ¶
func (s CreateOriginEndpointInput) String() string
String returns the string representation
func (*CreateOriginEndpointInput) Validate ¶
func (s *CreateOriginEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateOriginEndpointOutput ¶
type CreateOriginEndpointOutput struct { Arn *string `locationName:"arn" type:"string"` ChannelId *string `locationName:"channelId" type:"string"` // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` Id *string `locationName:"id" type:"string"` ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` Url *string `locationName:"url" type:"string"` Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpointResponse
func (CreateOriginEndpointOutput) GoString ¶
func (s CreateOriginEndpointOutput) GoString() string
GoString returns the string representation
func (CreateOriginEndpointOutput) SDKResponseMetadata ¶
func (s CreateOriginEndpointOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateOriginEndpointOutput) SetArn ¶
func (s *CreateOriginEndpointOutput) SetArn(v string) *CreateOriginEndpointOutput
SetArn sets the Arn field's value.
func (*CreateOriginEndpointOutput) SetChannelId ¶
func (s *CreateOriginEndpointOutput) SetChannelId(v string) *CreateOriginEndpointOutput
SetChannelId sets the ChannelId field's value.
func (*CreateOriginEndpointOutput) SetDashPackage ¶
func (s *CreateOriginEndpointOutput) SetDashPackage(v *DashPackage) *CreateOriginEndpointOutput
SetDashPackage sets the DashPackage field's value.
func (*CreateOriginEndpointOutput) SetDescription ¶
func (s *CreateOriginEndpointOutput) SetDescription(v string) *CreateOriginEndpointOutput
SetDescription sets the Description field's value.
func (*CreateOriginEndpointOutput) SetHlsPackage ¶
func (s *CreateOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *CreateOriginEndpointOutput
SetHlsPackage sets the HlsPackage field's value.
func (*CreateOriginEndpointOutput) SetId ¶
func (s *CreateOriginEndpointOutput) SetId(v string) *CreateOriginEndpointOutput
SetId sets the Id field's value.
func (*CreateOriginEndpointOutput) SetManifestName ¶
func (s *CreateOriginEndpointOutput) SetManifestName(v string) *CreateOriginEndpointOutput
SetManifestName sets the ManifestName field's value.
func (*CreateOriginEndpointOutput) SetMssPackage ¶
func (s *CreateOriginEndpointOutput) SetMssPackage(v *MssPackage) *CreateOriginEndpointOutput
SetMssPackage sets the MssPackage field's value.
func (*CreateOriginEndpointOutput) SetStartoverWindowSeconds ¶
func (s *CreateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointOutput
SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.
func (*CreateOriginEndpointOutput) SetTimeDelaySeconds ¶
func (s *CreateOriginEndpointOutput) SetTimeDelaySeconds(v int64) *CreateOriginEndpointOutput
SetTimeDelaySeconds sets the TimeDelaySeconds field's value.
func (*CreateOriginEndpointOutput) SetUrl ¶
func (s *CreateOriginEndpointOutput) SetUrl(v string) *CreateOriginEndpointOutput
SetUrl sets the Url field's value.
func (*CreateOriginEndpointOutput) SetWhitelist ¶
func (s *CreateOriginEndpointOutput) SetWhitelist(v []string) *CreateOriginEndpointOutput
SetWhitelist sets the Whitelist field's value.
func (CreateOriginEndpointOutput) String ¶
func (s CreateOriginEndpointOutput) String() string
String returns the string representation
type CreateOriginEndpointRequest ¶
type CreateOriginEndpointRequest struct { *aws.Request Input *CreateOriginEndpointInput }
CreateOriginEndpointRequest is a API request type for the CreateOriginEndpoint API operation.
func (CreateOriginEndpointRequest) Send ¶
func (r CreateOriginEndpointRequest) Send() (*CreateOriginEndpointOutput, error)
Send marshals and sends the CreateOriginEndpoint API request.
type DashEncryption ¶
type DashEncryption struct { // Time (in seconds) between each encryption key rotation. KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"` // A configuration for accessing an external Secure Packager and Encoder Key // Exchange (SPEKE) service that will provide encryption keys. // // SpekeKeyProvider is a required field SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"` // contains filtered or unexported fields }
A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashEncryption
func (DashEncryption) GoString ¶
func (s DashEncryption) GoString() string
GoString returns the string representation
func (*DashEncryption) SetKeyRotationIntervalSeconds ¶
func (s *DashEncryption) SetKeyRotationIntervalSeconds(v int64) *DashEncryption
SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value.
func (*DashEncryption) SetSpekeKeyProvider ¶
func (s *DashEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *DashEncryption
SetSpekeKeyProvider sets the SpekeKeyProvider field's value.
func (DashEncryption) String ¶
func (s DashEncryption) String() string
String returns the string representation
func (*DashEncryption) Validate ¶
func (s *DashEncryption) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DashPackage ¶
type DashPackage struct { // A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration. Encryption *DashEncryption `locationName:"encryption" type:"structure"` // Time window (in seconds) contained in each manifest. ManifestWindowSeconds *int64 `locationName:"manifestWindowSeconds" type:"integer"` // Minimum duration (in seconds) that a player will buffer media before starting // the presentation. MinBufferTimeSeconds *int64 `locationName:"minBufferTimeSeconds" type:"integer"` // Minimum duration (in seconds) between potential changes to the Dynamic Adaptive // Streaming over HTTP (DASH) Media Presentation Description (MPD). MinUpdatePeriodSeconds *int64 `locationName:"minUpdatePeriodSeconds" type:"integer"` // The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to // "HBBTV_1_5", HbbTV 1.5 compliant output is enabled. Profile Profile `locationName:"profile" type:"string" enum:"true"` // Duration (in seconds) of each segment. Actual segments will berounded to // the nearest multiple of the source segment duration. SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"` // A StreamSelection configuration. StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"` // Duration (in seconds) to delay live content before presentation. SuggestedPresentationDelaySeconds *int64 `locationName:"suggestedPresentationDelaySeconds" type:"integer"` // contains filtered or unexported fields }
A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashPackage
func (DashPackage) GoString ¶
func (s DashPackage) GoString() string
GoString returns the string representation
func (*DashPackage) SetEncryption ¶
func (s *DashPackage) SetEncryption(v *DashEncryption) *DashPackage
SetEncryption sets the Encryption field's value.
func (*DashPackage) SetManifestWindowSeconds ¶
func (s *DashPackage) SetManifestWindowSeconds(v int64) *DashPackage
SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.
func (*DashPackage) SetMinBufferTimeSeconds ¶
func (s *DashPackage) SetMinBufferTimeSeconds(v int64) *DashPackage
SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value.
func (*DashPackage) SetMinUpdatePeriodSeconds ¶
func (s *DashPackage) SetMinUpdatePeriodSeconds(v int64) *DashPackage
SetMinUpdatePeriodSeconds sets the MinUpdatePeriodSeconds field's value.
func (*DashPackage) SetProfile ¶
func (s *DashPackage) SetProfile(v Profile) *DashPackage
SetProfile sets the Profile field's value.
func (*DashPackage) SetSegmentDurationSeconds ¶
func (s *DashPackage) SetSegmentDurationSeconds(v int64) *DashPackage
SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.
func (*DashPackage) SetStreamSelection ¶
func (s *DashPackage) SetStreamSelection(v *StreamSelection) *DashPackage
SetStreamSelection sets the StreamSelection field's value.
func (*DashPackage) SetSuggestedPresentationDelaySeconds ¶
func (s *DashPackage) SetSuggestedPresentationDelaySeconds(v int64) *DashPackage
SetSuggestedPresentationDelaySeconds sets the SuggestedPresentationDelaySeconds field's value.
func (DashPackage) String ¶
func (s DashPackage) String() string
String returns the string representation
func (*DashPackage) Validate ¶
func (s *DashPackage) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteChannelInput ¶
type DeleteChannelInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannelRequest
func (DeleteChannelInput) GoString ¶
func (s DeleteChannelInput) GoString() string
GoString returns the string representation
func (*DeleteChannelInput) SetId ¶
func (s *DeleteChannelInput) SetId(v string) *DeleteChannelInput
SetId sets the Id field's value.
func (DeleteChannelInput) String ¶
func (s DeleteChannelInput) String() string
String returns the string representation
func (*DeleteChannelInput) Validate ¶
func (s *DeleteChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteChannelOutput ¶
type DeleteChannelOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannelResponse
func (DeleteChannelOutput) GoString ¶
func (s DeleteChannelOutput) GoString() string
GoString returns the string representation
func (DeleteChannelOutput) SDKResponseMetadata ¶
func (s DeleteChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteChannelOutput) String ¶
func (s DeleteChannelOutput) String() string
String returns the string representation
type DeleteChannelRequest ¶
type DeleteChannelRequest struct { *aws.Request Input *DeleteChannelInput }
DeleteChannelRequest is a API request type for the DeleteChannel API operation.
func (DeleteChannelRequest) Send ¶
func (r DeleteChannelRequest) Send() (*DeleteChannelOutput, error)
Send marshals and sends the DeleteChannel API request.
type DeleteOriginEndpointInput ¶
type DeleteOriginEndpointInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpointRequest
func (DeleteOriginEndpointInput) GoString ¶
func (s DeleteOriginEndpointInput) GoString() string
GoString returns the string representation
func (*DeleteOriginEndpointInput) SetId ¶
func (s *DeleteOriginEndpointInput) SetId(v string) *DeleteOriginEndpointInput
SetId sets the Id field's value.
func (DeleteOriginEndpointInput) String ¶
func (s DeleteOriginEndpointInput) String() string
String returns the string representation
func (*DeleteOriginEndpointInput) Validate ¶
func (s *DeleteOriginEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteOriginEndpointOutput ¶
type DeleteOriginEndpointOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpointResponse
func (DeleteOriginEndpointOutput) GoString ¶
func (s DeleteOriginEndpointOutput) GoString() string
GoString returns the string representation
func (DeleteOriginEndpointOutput) SDKResponseMetadata ¶
func (s DeleteOriginEndpointOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteOriginEndpointOutput) String ¶
func (s DeleteOriginEndpointOutput) String() string
String returns the string representation
type DeleteOriginEndpointRequest ¶
type DeleteOriginEndpointRequest struct { *aws.Request Input *DeleteOriginEndpointInput }
DeleteOriginEndpointRequest is a API request type for the DeleteOriginEndpoint API operation.
func (DeleteOriginEndpointRequest) Send ¶
func (r DeleteOriginEndpointRequest) Send() (*DeleteOriginEndpointOutput, error)
Send marshals and sends the DeleteOriginEndpoint API request.
type DescribeChannelInput ¶
type DescribeChannelInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannelRequest
func (DescribeChannelInput) GoString ¶
func (s DescribeChannelInput) GoString() string
GoString returns the string representation
func (*DescribeChannelInput) SetId ¶
func (s *DescribeChannelInput) SetId(v string) *DescribeChannelInput
SetId sets the Id field's value.
func (DescribeChannelInput) String ¶
func (s DescribeChannelInput) String() string
String returns the string representation
func (*DescribeChannelInput) Validate ¶
func (s *DescribeChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeChannelOutput ¶
type DescribeChannelOutput struct { Arn *string `locationName:"arn" type:"string"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) ingest resource configuration. HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"` Id *string `locationName:"id" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannelResponse
func (DescribeChannelOutput) GoString ¶
func (s DescribeChannelOutput) GoString() string
GoString returns the string representation
func (DescribeChannelOutput) SDKResponseMetadata ¶
func (s DescribeChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeChannelOutput) SetArn ¶
func (s *DescribeChannelOutput) SetArn(v string) *DescribeChannelOutput
SetArn sets the Arn field's value.
func (*DescribeChannelOutput) SetDescription ¶
func (s *DescribeChannelOutput) SetDescription(v string) *DescribeChannelOutput
SetDescription sets the Description field's value.
func (*DescribeChannelOutput) SetHlsIngest ¶
func (s *DescribeChannelOutput) SetHlsIngest(v *HlsIngest) *DescribeChannelOutput
SetHlsIngest sets the HlsIngest field's value.
func (*DescribeChannelOutput) SetId ¶
func (s *DescribeChannelOutput) SetId(v string) *DescribeChannelOutput
SetId sets the Id field's value.
func (DescribeChannelOutput) String ¶
func (s DescribeChannelOutput) String() string
String returns the string representation
type DescribeChannelRequest ¶
type DescribeChannelRequest struct { *aws.Request Input *DescribeChannelInput }
DescribeChannelRequest is a API request type for the DescribeChannel API operation.
func (DescribeChannelRequest) Send ¶
func (r DescribeChannelRequest) Send() (*DescribeChannelOutput, error)
Send marshals and sends the DescribeChannel API request.
type DescribeOriginEndpointInput ¶
type DescribeOriginEndpointInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpointRequest
func (DescribeOriginEndpointInput) GoString ¶
func (s DescribeOriginEndpointInput) GoString() string
GoString returns the string representation
func (*DescribeOriginEndpointInput) SetId ¶
func (s *DescribeOriginEndpointInput) SetId(v string) *DescribeOriginEndpointInput
SetId sets the Id field's value.
func (DescribeOriginEndpointInput) String ¶
func (s DescribeOriginEndpointInput) String() string
String returns the string representation
func (*DescribeOriginEndpointInput) Validate ¶
func (s *DescribeOriginEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeOriginEndpointOutput ¶
type DescribeOriginEndpointOutput struct { Arn *string `locationName:"arn" type:"string"` ChannelId *string `locationName:"channelId" type:"string"` // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` Id *string `locationName:"id" type:"string"` ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` Url *string `locationName:"url" type:"string"` Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpointResponse
func (DescribeOriginEndpointOutput) GoString ¶
func (s DescribeOriginEndpointOutput) GoString() string
GoString returns the string representation
func (DescribeOriginEndpointOutput) SDKResponseMetadata ¶
func (s DescribeOriginEndpointOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeOriginEndpointOutput) SetArn ¶
func (s *DescribeOriginEndpointOutput) SetArn(v string) *DescribeOriginEndpointOutput
SetArn sets the Arn field's value.
func (*DescribeOriginEndpointOutput) SetChannelId ¶
func (s *DescribeOriginEndpointOutput) SetChannelId(v string) *DescribeOriginEndpointOutput
SetChannelId sets the ChannelId field's value.
func (*DescribeOriginEndpointOutput) SetDashPackage ¶
func (s *DescribeOriginEndpointOutput) SetDashPackage(v *DashPackage) *DescribeOriginEndpointOutput
SetDashPackage sets the DashPackage field's value.
func (*DescribeOriginEndpointOutput) SetDescription ¶
func (s *DescribeOriginEndpointOutput) SetDescription(v string) *DescribeOriginEndpointOutput
SetDescription sets the Description field's value.
func (*DescribeOriginEndpointOutput) SetHlsPackage ¶
func (s *DescribeOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *DescribeOriginEndpointOutput
SetHlsPackage sets the HlsPackage field's value.
func (*DescribeOriginEndpointOutput) SetId ¶
func (s *DescribeOriginEndpointOutput) SetId(v string) *DescribeOriginEndpointOutput
SetId sets the Id field's value.
func (*DescribeOriginEndpointOutput) SetManifestName ¶
func (s *DescribeOriginEndpointOutput) SetManifestName(v string) *DescribeOriginEndpointOutput
SetManifestName sets the ManifestName field's value.
func (*DescribeOriginEndpointOutput) SetMssPackage ¶
func (s *DescribeOriginEndpointOutput) SetMssPackage(v *MssPackage) *DescribeOriginEndpointOutput
SetMssPackage sets the MssPackage field's value.
func (*DescribeOriginEndpointOutput) SetStartoverWindowSeconds ¶
func (s *DescribeOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *DescribeOriginEndpointOutput
SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.
func (*DescribeOriginEndpointOutput) SetTimeDelaySeconds ¶
func (s *DescribeOriginEndpointOutput) SetTimeDelaySeconds(v int64) *DescribeOriginEndpointOutput
SetTimeDelaySeconds sets the TimeDelaySeconds field's value.
func (*DescribeOriginEndpointOutput) SetUrl ¶
func (s *DescribeOriginEndpointOutput) SetUrl(v string) *DescribeOriginEndpointOutput
SetUrl sets the Url field's value.
func (*DescribeOriginEndpointOutput) SetWhitelist ¶
func (s *DescribeOriginEndpointOutput) SetWhitelist(v []string) *DescribeOriginEndpointOutput
SetWhitelist sets the Whitelist field's value.
func (DescribeOriginEndpointOutput) String ¶
func (s DescribeOriginEndpointOutput) String() string
String returns the string representation
type DescribeOriginEndpointRequest ¶
type DescribeOriginEndpointRequest struct { *aws.Request Input *DescribeOriginEndpointInput }
DescribeOriginEndpointRequest is a API request type for the DescribeOriginEndpoint API operation.
func (DescribeOriginEndpointRequest) Send ¶
func (r DescribeOriginEndpointRequest) Send() (*DescribeOriginEndpointOutput, error)
Send marshals and sends the DescribeOriginEndpoint API request.
type EncryptionMethod ¶
type EncryptionMethod string
const ( EncryptionMethodAes128 EncryptionMethod = "AES_128" EncryptionMethodSampleAes EncryptionMethod = "SAMPLE_AES" )
Enum values for EncryptionMethod
type HlsEncryption ¶
type HlsEncryption struct { // A constant initialization vector for encryption (optional).When not specified // the initialization vector will be periodically rotated. ConstantInitializationVector *string `locationName:"constantInitializationVector" type:"string"` // The encryption method to use. EncryptionMethod EncryptionMethod `locationName:"encryptionMethod" type:"string" enum:"true"` // Interval (in seconds) between each encryption key rotation. KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"` // When enabled, the EXT-X-KEY tag will be repeated in output manifests. RepeatExtXKey *bool `locationName:"repeatExtXKey" type:"boolean"` // A configuration for accessing an external Secure Packager and Encoder Key // Exchange (SPEKE) service that will provide encryption keys. // // SpekeKeyProvider is a required field SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"` // contains filtered or unexported fields }
An HTTP Live Streaming (HLS) encryption configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsEncryption
func (HlsEncryption) GoString ¶
func (s HlsEncryption) GoString() string
GoString returns the string representation
func (*HlsEncryption) SetConstantInitializationVector ¶
func (s *HlsEncryption) SetConstantInitializationVector(v string) *HlsEncryption
SetConstantInitializationVector sets the ConstantInitializationVector field's value.
func (*HlsEncryption) SetEncryptionMethod ¶
func (s *HlsEncryption) SetEncryptionMethod(v EncryptionMethod) *HlsEncryption
SetEncryptionMethod sets the EncryptionMethod field's value.
func (*HlsEncryption) SetKeyRotationIntervalSeconds ¶
func (s *HlsEncryption) SetKeyRotationIntervalSeconds(v int64) *HlsEncryption
SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value.
func (*HlsEncryption) SetRepeatExtXKey ¶
func (s *HlsEncryption) SetRepeatExtXKey(v bool) *HlsEncryption
SetRepeatExtXKey sets the RepeatExtXKey field's value.
func (*HlsEncryption) SetSpekeKeyProvider ¶
func (s *HlsEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *HlsEncryption
SetSpekeKeyProvider sets the SpekeKeyProvider field's value.
func (HlsEncryption) String ¶
func (s HlsEncryption) String() string
String returns the string representation
func (*HlsEncryption) Validate ¶
func (s *HlsEncryption) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HlsIngest ¶
type HlsIngest struct { // A list of endpoints to which the source stream should be sent. IngestEndpoints []IngestEndpoint `locationName:"ingestEndpoints" type:"list"` // contains filtered or unexported fields }
An HTTP Live Streaming (HLS) ingest resource configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsIngest
func (*HlsIngest) SetIngestEndpoints ¶
func (s *HlsIngest) SetIngestEndpoints(v []IngestEndpoint) *HlsIngest
SetIngestEndpoints sets the IngestEndpoints field's value.
type HlsPackage ¶
type HlsPackage struct { // This setting controls how ad markers are included in the packaged OriginEndpoint."NONE" // will omit all SCTE-35 ad markers from the output."PASSTHROUGH" causes the // manifest to contain a copy of the SCTE-35 admarkers (comments) taken directly // from the input HTTP Live Streaming (HLS) manifest."SCTE35_ENHANCED" generates // ad markers and blackout tags based on SCTE-35messages in the input source. AdMarkers AdMarkers `locationName:"adMarkers" type:"string" enum:"true"` // An HTTP Live Streaming (HLS) encryption configuration. Encryption *HlsEncryption `locationName:"encryption" type:"structure"` // When enabled, an I-Frame only stream will be included in the output. IncludeIframeOnlyStream *bool `locationName:"includeIframeOnlyStream" type:"boolean"` // The HTTP Live Streaming (HLS) playlist type.When either "EVENT" or "VOD" // is specified, a corresponding EXT-X-PLAYLIST-TYPEentry will be included in // the media playlist. PlaylistType PlaylistType `locationName:"playlistType" type:"string" enum:"true"` // Time window (in seconds) contained in each parent manifest. PlaylistWindowSeconds *int64 `locationName:"playlistWindowSeconds" type:"integer"` // The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME taginserted // into manifests. Additionally, when an interval is specifiedID3Timed Metadata // messages will be generated every 5 seconds using the ingest time of the content.If // the interval is not specified, or set to 0, thenno EXT-X-PROGRAM-DATE-TIME // tags will be inserted into manifests and noID3Timed Metadata messages will // be generated. Note that irrespectiveof this parameter, if any ID3 Timed Metadata // is found in HTTP Live Streaming (HLS) input,it will be passed through to // HLS output. ProgramDateTimeIntervalSeconds *int64 `locationName:"programDateTimeIntervalSeconds" type:"integer"` // Duration (in seconds) of each fragment. Actual fragments will berounded to // the nearest multiple of the source fragment duration. SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"` // A StreamSelection configuration. StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"` // When enabled, audio streams will be placed in rendition groups in the output. UseAudioRenditionGroup *bool `locationName:"useAudioRenditionGroup" type:"boolean"` // contains filtered or unexported fields }
An HTTP Live Streaming (HLS) packaging configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsPackage
func (HlsPackage) GoString ¶
func (s HlsPackage) GoString() string
GoString returns the string representation
func (*HlsPackage) SetAdMarkers ¶
func (s *HlsPackage) SetAdMarkers(v AdMarkers) *HlsPackage
SetAdMarkers sets the AdMarkers field's value.
func (*HlsPackage) SetEncryption ¶
func (s *HlsPackage) SetEncryption(v *HlsEncryption) *HlsPackage
SetEncryption sets the Encryption field's value.
func (*HlsPackage) SetIncludeIframeOnlyStream ¶
func (s *HlsPackage) SetIncludeIframeOnlyStream(v bool) *HlsPackage
SetIncludeIframeOnlyStream sets the IncludeIframeOnlyStream field's value.
func (*HlsPackage) SetPlaylistType ¶
func (s *HlsPackage) SetPlaylistType(v PlaylistType) *HlsPackage
SetPlaylistType sets the PlaylistType field's value.
func (*HlsPackage) SetPlaylistWindowSeconds ¶
func (s *HlsPackage) SetPlaylistWindowSeconds(v int64) *HlsPackage
SetPlaylistWindowSeconds sets the PlaylistWindowSeconds field's value.
func (*HlsPackage) SetProgramDateTimeIntervalSeconds ¶
func (s *HlsPackage) SetProgramDateTimeIntervalSeconds(v int64) *HlsPackage
SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.
func (*HlsPackage) SetSegmentDurationSeconds ¶
func (s *HlsPackage) SetSegmentDurationSeconds(v int64) *HlsPackage
SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.
func (*HlsPackage) SetStreamSelection ¶
func (s *HlsPackage) SetStreamSelection(v *StreamSelection) *HlsPackage
SetStreamSelection sets the StreamSelection field's value.
func (*HlsPackage) SetUseAudioRenditionGroup ¶
func (s *HlsPackage) SetUseAudioRenditionGroup(v bool) *HlsPackage
SetUseAudioRenditionGroup sets the UseAudioRenditionGroup field's value.
func (HlsPackage) String ¶
func (s HlsPackage) String() string
String returns the string representation
func (*HlsPackage) Validate ¶
func (s *HlsPackage) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type IngestEndpoint ¶
type IngestEndpoint struct { // The system generated password for ingest authentication. Password *string `locationName:"password" type:"string"` // The ingest URL to which the source stream should be sent. Url *string `locationName:"url" type:"string"` // The system generated username for ingest authentication. Username *string `locationName:"username" type:"string"` // contains filtered or unexported fields }
An endpoint for ingesting source content for a Channel. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/IngestEndpoint
func (IngestEndpoint) GoString ¶
func (s IngestEndpoint) GoString() string
GoString returns the string representation
func (*IngestEndpoint) SetPassword ¶
func (s *IngestEndpoint) SetPassword(v string) *IngestEndpoint
SetPassword sets the Password field's value.
func (*IngestEndpoint) SetUrl ¶
func (s *IngestEndpoint) SetUrl(v string) *IngestEndpoint
SetUrl sets the Url field's value.
func (*IngestEndpoint) SetUsername ¶
func (s *IngestEndpoint) SetUsername(v string) *IngestEndpoint
SetUsername sets the Username field's value.
func (IngestEndpoint) String ¶
func (s IngestEndpoint) String() string
String returns the string representation
type ListChannelsInput ¶
type ListChannelsInput struct { MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannelsRequest
func (ListChannelsInput) GoString ¶
func (s ListChannelsInput) GoString() string
GoString returns the string representation
func (*ListChannelsInput) SetMaxResults ¶
func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput
SetMaxResults sets the MaxResults field's value.
func (*ListChannelsInput) SetNextToken ¶
func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput
SetNextToken sets the NextToken field's value.
func (ListChannelsInput) String ¶
func (s ListChannelsInput) String() string
String returns the string representation
func (*ListChannelsInput) Validate ¶
func (s *ListChannelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListChannelsOutput ¶
type ListChannelsOutput struct { Channels []Channel `locationName:"channels" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannelsResponse
func (ListChannelsOutput) GoString ¶
func (s ListChannelsOutput) GoString() string
GoString returns the string representation
func (ListChannelsOutput) SDKResponseMetadata ¶
func (s ListChannelsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListChannelsOutput) SetChannels ¶
func (s *ListChannelsOutput) SetChannels(v []Channel) *ListChannelsOutput
SetChannels sets the Channels field's value.
func (*ListChannelsOutput) SetNextToken ¶
func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput
SetNextToken sets the NextToken field's value.
func (ListChannelsOutput) String ¶
func (s ListChannelsOutput) String() string
String returns the string representation
type ListChannelsRequest ¶
type ListChannelsRequest struct { *aws.Request Input *ListChannelsInput }
ListChannelsRequest is a API request type for the ListChannels API operation.
func (ListChannelsRequest) Send ¶
func (r ListChannelsRequest) Send() (*ListChannelsOutput, error)
Send marshals and sends the ListChannels API request.
type ListOriginEndpointsInput ¶
type ListOriginEndpointsInput struct { ChannelId *string `location:"querystring" locationName:"channelId" type:"string"` MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpointsRequest
func (ListOriginEndpointsInput) GoString ¶
func (s ListOriginEndpointsInput) GoString() string
GoString returns the string representation
func (*ListOriginEndpointsInput) SetChannelId ¶
func (s *ListOriginEndpointsInput) SetChannelId(v string) *ListOriginEndpointsInput
SetChannelId sets the ChannelId field's value.
func (*ListOriginEndpointsInput) SetMaxResults ¶
func (s *ListOriginEndpointsInput) SetMaxResults(v int64) *ListOriginEndpointsInput
SetMaxResults sets the MaxResults field's value.
func (*ListOriginEndpointsInput) SetNextToken ¶
func (s *ListOriginEndpointsInput) SetNextToken(v string) *ListOriginEndpointsInput
SetNextToken sets the NextToken field's value.
func (ListOriginEndpointsInput) String ¶
func (s ListOriginEndpointsInput) String() string
String returns the string representation
func (*ListOriginEndpointsInput) Validate ¶
func (s *ListOriginEndpointsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListOriginEndpointsOutput ¶
type ListOriginEndpointsOutput struct { NextToken *string `locationName:"nextToken" type:"string"` OriginEndpoints []OriginEndpoint `locationName:"originEndpoints" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpointsResponse
func (ListOriginEndpointsOutput) GoString ¶
func (s ListOriginEndpointsOutput) GoString() string
GoString returns the string representation
func (ListOriginEndpointsOutput) SDKResponseMetadata ¶
func (s ListOriginEndpointsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListOriginEndpointsOutput) SetNextToken ¶
func (s *ListOriginEndpointsOutput) SetNextToken(v string) *ListOriginEndpointsOutput
SetNextToken sets the NextToken field's value.
func (*ListOriginEndpointsOutput) SetOriginEndpoints ¶
func (s *ListOriginEndpointsOutput) SetOriginEndpoints(v []OriginEndpoint) *ListOriginEndpointsOutput
SetOriginEndpoints sets the OriginEndpoints field's value.
func (ListOriginEndpointsOutput) String ¶
func (s ListOriginEndpointsOutput) String() string
String returns the string representation
type ListOriginEndpointsRequest ¶
type ListOriginEndpointsRequest struct { *aws.Request Input *ListOriginEndpointsInput }
ListOriginEndpointsRequest is a API request type for the ListOriginEndpoints API operation.
func (ListOriginEndpointsRequest) Send ¶
func (r ListOriginEndpointsRequest) Send() (*ListOriginEndpointsOutput, error)
Send marshals and sends the ListOriginEndpoints API request.
type MediaPackage ¶
MediaPackage provides the API operation methods for making requests to AWS Elemental MediaPackage. See this package's package overview docs for details on the service.
MediaPackage methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(config aws.Config) *MediaPackage
New creates a new instance of the MediaPackage client with a config. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a MediaPackage client from just a config. svc := mediapackage.New(myConfig) // Create a MediaPackage client with additional configuration svc := mediapackage.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func (*MediaPackage) CreateChannelRequest ¶
func (c *MediaPackage) CreateChannelRequest(input *CreateChannelInput) CreateChannelRequest
CreateChannelRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Creates a new Channel.
// Example sending a request using the CreateChannelRequest method. req := client.CreateChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannel
func (*MediaPackage) CreateOriginEndpointRequest ¶
func (c *MediaPackage) CreateOriginEndpointRequest(input *CreateOriginEndpointInput) CreateOriginEndpointRequest
CreateOriginEndpointRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Creates a new OriginEndpoint record.
// Example sending a request using the CreateOriginEndpointRequest method. req := client.CreateOriginEndpointRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpoint
func (*MediaPackage) DeleteChannelRequest ¶
func (c *MediaPackage) DeleteChannelRequest(input *DeleteChannelInput) DeleteChannelRequest
DeleteChannelRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Deletes an existing Channel.
// Example sending a request using the DeleteChannelRequest method. req := client.DeleteChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannel
func (*MediaPackage) DeleteOriginEndpointRequest ¶
func (c *MediaPackage) DeleteOriginEndpointRequest(input *DeleteOriginEndpointInput) DeleteOriginEndpointRequest
DeleteOriginEndpointRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Deletes an existing OriginEndpoint.
// Example sending a request using the DeleteOriginEndpointRequest method. req := client.DeleteOriginEndpointRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpoint
func (*MediaPackage) DescribeChannelRequest ¶
func (c *MediaPackage) DescribeChannelRequest(input *DescribeChannelInput) DescribeChannelRequest
DescribeChannelRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Gets details about a Channel.
// Example sending a request using the DescribeChannelRequest method. req := client.DescribeChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannel
func (*MediaPackage) DescribeOriginEndpointRequest ¶
func (c *MediaPackage) DescribeOriginEndpointRequest(input *DescribeOriginEndpointInput) DescribeOriginEndpointRequest
DescribeOriginEndpointRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Gets details about an existing OriginEndpoint.
// Example sending a request using the DescribeOriginEndpointRequest method. req := client.DescribeOriginEndpointRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpoint
func (*MediaPackage) ListChannelsPages ¶
func (c *MediaPackage) 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 *ListChannelsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*MediaPackage) ListChannelsPagesWithContext ¶
func (c *MediaPackage) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...aws.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 (*MediaPackage) ListChannelsRequest ¶
func (c *MediaPackage) ListChannelsRequest(input *ListChannelsInput) ListChannelsRequest
ListChannelsRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Returns a collection of Channels.
// Example sending a request using the ListChannelsRequest method. req := client.ListChannelsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannels
func (*MediaPackage) ListOriginEndpointsPages ¶
func (c *MediaPackage) 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 *ListOriginEndpointsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*MediaPackage) ListOriginEndpointsPagesWithContext ¶
func (c *MediaPackage) ListOriginEndpointsPagesWithContext(ctx aws.Context, input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool, opts ...aws.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 (*MediaPackage) ListOriginEndpointsRequest ¶
func (c *MediaPackage) ListOriginEndpointsRequest(input *ListOriginEndpointsInput) ListOriginEndpointsRequest
ListOriginEndpointsRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Returns a collection of OriginEndpoint records.
// Example sending a request using the ListOriginEndpointsRequest method. req := client.ListOriginEndpointsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpoints
func (*MediaPackage) RotateChannelCredentialsRequest ¶
func (c *MediaPackage) RotateChannelCredentialsRequest(input *RotateChannelCredentialsInput) RotateChannelCredentialsRequest
RotateChannelCredentialsRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Changes the Channel ingest username and password.
// Example sending a request using the RotateChannelCredentialsRequest method. req := client.RotateChannelCredentialsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentials
func (*MediaPackage) UpdateChannelRequest ¶
func (c *MediaPackage) UpdateChannelRequest(input *UpdateChannelInput) UpdateChannelRequest
UpdateChannelRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Updates an existing Channel.
// Example sending a request using the UpdateChannelRequest method. req := client.UpdateChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannel
func (*MediaPackage) UpdateOriginEndpointRequest ¶
func (c *MediaPackage) UpdateOriginEndpointRequest(input *UpdateOriginEndpointInput) UpdateOriginEndpointRequest
UpdateOriginEndpointRequest returns a request value for making API operation for AWS Elemental MediaPackage.
Updates an existing OriginEndpoint.
// Example sending a request using the UpdateOriginEndpointRequest method. req := client.UpdateOriginEndpointRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpoint
type MssEncryption ¶
type MssEncryption struct { // A configuration for accessing an external Secure Packager and Encoder Key // Exchange (SPEKE) service that will provide encryption keys. // // SpekeKeyProvider is a required field SpekeKeyProvider *SpekeKeyProvider `locationName:"spekeKeyProvider" type:"structure" required:"true"` // contains filtered or unexported fields }
A Microsoft Smooth Streaming (MSS) encryption configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/MssEncryption
func (MssEncryption) GoString ¶
func (s MssEncryption) GoString() string
GoString returns the string representation
func (*MssEncryption) SetSpekeKeyProvider ¶
func (s *MssEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *MssEncryption
SetSpekeKeyProvider sets the SpekeKeyProvider field's value.
func (MssEncryption) String ¶
func (s MssEncryption) String() string
String returns the string representation
func (*MssEncryption) Validate ¶
func (s *MssEncryption) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MssPackage ¶
type MssPackage struct { // A Microsoft Smooth Streaming (MSS) encryption configuration. Encryption *MssEncryption `locationName:"encryption" type:"structure"` // The time window (in seconds) contained in each manifest. ManifestWindowSeconds *int64 `locationName:"manifestWindowSeconds" type:"integer"` // The duration (in seconds) of each segment. SegmentDurationSeconds *int64 `locationName:"segmentDurationSeconds" type:"integer"` // A StreamSelection configuration. StreamSelection *StreamSelection `locationName:"streamSelection" type:"structure"` // contains filtered or unexported fields }
A Microsoft Smooth Streaming (MSS) packaging configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/MssPackage
func (MssPackage) GoString ¶
func (s MssPackage) GoString() string
GoString returns the string representation
func (*MssPackage) SetEncryption ¶
func (s *MssPackage) SetEncryption(v *MssEncryption) *MssPackage
SetEncryption sets the Encryption field's value.
func (*MssPackage) SetManifestWindowSeconds ¶
func (s *MssPackage) SetManifestWindowSeconds(v int64) *MssPackage
SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.
func (*MssPackage) SetSegmentDurationSeconds ¶
func (s *MssPackage) SetSegmentDurationSeconds(v int64) *MssPackage
SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.
func (*MssPackage) SetStreamSelection ¶
func (s *MssPackage) SetStreamSelection(v *StreamSelection) *MssPackage
SetStreamSelection sets the StreamSelection field's value.
func (MssPackage) String ¶
func (s MssPackage) String() string
String returns the string representation
func (*MssPackage) Validate ¶
func (s *MssPackage) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OriginEndpoint ¶
type OriginEndpoint struct { // The Amazon Resource Name (ARN) assigned to the OriginEndpoint. Arn *string `locationName:"arn" type:"string"` // The ID of the Channel the OriginEndpoint is associated with. ChannelId *string `locationName:"channelId" type:"string"` // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` // A short text description of the OriginEndpoint. Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` // The ID of the OriginEndpoint. Id *string `locationName:"id" type:"string"` // A short string appended to the end of the OriginEndpoint URL. ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` // Maximum duration (seconds) of content to retain for startover playback.If // not specified, startover playback will be disabled for the OriginEndpoint. StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` // Amount of delay (seconds) to enforce on the playback of live content.If not // specified, there will be no time delay in effect for the OriginEndpoint. TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` // The URL of the packaged OriginEndpoint for consumption. Url *string `locationName:"url" type:"string"` // A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint. Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
An OriginEndpoint resource configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpoint
func (OriginEndpoint) GoString ¶
func (s OriginEndpoint) GoString() string
GoString returns the string representation
func (*OriginEndpoint) SetArn ¶
func (s *OriginEndpoint) SetArn(v string) *OriginEndpoint
SetArn sets the Arn field's value.
func (*OriginEndpoint) SetChannelId ¶
func (s *OriginEndpoint) SetChannelId(v string) *OriginEndpoint
SetChannelId sets the ChannelId field's value.
func (*OriginEndpoint) SetDashPackage ¶
func (s *OriginEndpoint) SetDashPackage(v *DashPackage) *OriginEndpoint
SetDashPackage sets the DashPackage field's value.
func (*OriginEndpoint) SetDescription ¶
func (s *OriginEndpoint) SetDescription(v string) *OriginEndpoint
SetDescription sets the Description field's value.
func (*OriginEndpoint) SetHlsPackage ¶
func (s *OriginEndpoint) SetHlsPackage(v *HlsPackage) *OriginEndpoint
SetHlsPackage sets the HlsPackage field's value.
func (*OriginEndpoint) SetId ¶
func (s *OriginEndpoint) SetId(v string) *OriginEndpoint
SetId sets the Id field's value.
func (*OriginEndpoint) SetManifestName ¶
func (s *OriginEndpoint) SetManifestName(v string) *OriginEndpoint
SetManifestName sets the ManifestName field's value.
func (*OriginEndpoint) SetMssPackage ¶
func (s *OriginEndpoint) SetMssPackage(v *MssPackage) *OriginEndpoint
SetMssPackage sets the MssPackage field's value.
func (*OriginEndpoint) SetStartoverWindowSeconds ¶
func (s *OriginEndpoint) SetStartoverWindowSeconds(v int64) *OriginEndpoint
SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.
func (*OriginEndpoint) SetTimeDelaySeconds ¶
func (s *OriginEndpoint) SetTimeDelaySeconds(v int64) *OriginEndpoint
SetTimeDelaySeconds sets the TimeDelaySeconds field's value.
func (*OriginEndpoint) SetUrl ¶
func (s *OriginEndpoint) SetUrl(v string) *OriginEndpoint
SetUrl sets the Url field's value.
func (*OriginEndpoint) SetWhitelist ¶
func (s *OriginEndpoint) SetWhitelist(v []string) *OriginEndpoint
SetWhitelist sets the Whitelist field's value.
func (OriginEndpoint) String ¶
func (s OriginEndpoint) String() string
String returns the string representation
type PlaylistType ¶
type PlaylistType string
const ( PlaylistTypeNone PlaylistType = "NONE" PlaylistTypeEvent PlaylistType = "EVENT" PlaylistTypeVod PlaylistType = "VOD" )
Enum values for PlaylistType
type RotateChannelCredentialsInput ¶
type RotateChannelCredentialsInput struct { // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentialsRequest
func (RotateChannelCredentialsInput) GoString ¶
func (s RotateChannelCredentialsInput) GoString() string
GoString returns the string representation
func (*RotateChannelCredentialsInput) SetId ¶
func (s *RotateChannelCredentialsInput) SetId(v string) *RotateChannelCredentialsInput
SetId sets the Id field's value.
func (RotateChannelCredentialsInput) String ¶
func (s RotateChannelCredentialsInput) String() string
String returns the string representation
func (*RotateChannelCredentialsInput) Validate ¶
func (s *RotateChannelCredentialsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RotateChannelCredentialsOutput ¶
type RotateChannelCredentialsOutput struct { Arn *string `locationName:"arn" type:"string"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) ingest resource configuration. HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"` Id *string `locationName:"id" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentialsResponse
func (RotateChannelCredentialsOutput) GoString ¶
func (s RotateChannelCredentialsOutput) GoString() string
GoString returns the string representation
func (RotateChannelCredentialsOutput) SDKResponseMetadata ¶
func (s RotateChannelCredentialsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*RotateChannelCredentialsOutput) SetArn ¶
func (s *RotateChannelCredentialsOutput) SetArn(v string) *RotateChannelCredentialsOutput
SetArn sets the Arn field's value.
func (*RotateChannelCredentialsOutput) SetDescription ¶
func (s *RotateChannelCredentialsOutput) SetDescription(v string) *RotateChannelCredentialsOutput
SetDescription sets the Description field's value.
func (*RotateChannelCredentialsOutput) SetHlsIngest ¶
func (s *RotateChannelCredentialsOutput) SetHlsIngest(v *HlsIngest) *RotateChannelCredentialsOutput
SetHlsIngest sets the HlsIngest field's value.
func (*RotateChannelCredentialsOutput) SetId ¶
func (s *RotateChannelCredentialsOutput) SetId(v string) *RotateChannelCredentialsOutput
SetId sets the Id field's value.
func (RotateChannelCredentialsOutput) String ¶
func (s RotateChannelCredentialsOutput) String() string
String returns the string representation
type RotateChannelCredentialsRequest ¶
type RotateChannelCredentialsRequest struct { *aws.Request Input *RotateChannelCredentialsInput }
RotateChannelCredentialsRequest is a API request type for the RotateChannelCredentials API operation.
func (RotateChannelCredentialsRequest) Send ¶
func (r RotateChannelCredentialsRequest) Send() (*RotateChannelCredentialsOutput, error)
Send marshals and sends the RotateChannelCredentials API request.
type SpekeKeyProvider ¶
type SpekeKeyProvider struct { // The resource ID to include in key requests. // // ResourceId is a required field ResourceId *string `locationName:"resourceId" type:"string" required:"true"` // An Amazon Resource Name (ARN) of an IAM role that AWS ElementalMediaPackage // will assume when accessing the key provider service. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The system IDs to include in key requests. // // SystemIds is a required field SystemIds []string `locationName:"systemIds" type:"list" required:"true"` // The URL of the external key provider service. // // Url is a required field Url *string `locationName:"url" type:"string" required:"true"` // contains filtered or unexported fields }
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/SpekeKeyProvider
func (SpekeKeyProvider) GoString ¶
func (s SpekeKeyProvider) GoString() string
GoString returns the string representation
func (*SpekeKeyProvider) SetResourceId ¶
func (s *SpekeKeyProvider) SetResourceId(v string) *SpekeKeyProvider
SetResourceId sets the ResourceId field's value.
func (*SpekeKeyProvider) SetRoleArn ¶
func (s *SpekeKeyProvider) SetRoleArn(v string) *SpekeKeyProvider
SetRoleArn sets the RoleArn field's value.
func (*SpekeKeyProvider) SetSystemIds ¶
func (s *SpekeKeyProvider) SetSystemIds(v []string) *SpekeKeyProvider
SetSystemIds sets the SystemIds field's value.
func (*SpekeKeyProvider) SetUrl ¶
func (s *SpekeKeyProvider) SetUrl(v string) *SpekeKeyProvider
SetUrl sets the Url field's value.
func (SpekeKeyProvider) String ¶
func (s SpekeKeyProvider) String() string
String returns the string representation
func (*SpekeKeyProvider) Validate ¶
func (s *SpekeKeyProvider) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StreamOrder ¶
type StreamOrder string
const ( StreamOrderOriginal StreamOrder = "ORIGINAL" StreamOrderVideoBitrateAscending StreamOrder = "VIDEO_BITRATE_ASCENDING" StreamOrderVideoBitrateDescending StreamOrder = "VIDEO_BITRATE_DESCENDING" )
Enum values for StreamOrder
type StreamSelection ¶
type StreamSelection struct { // The maximum video bitrate (bps) to include in output. MaxVideoBitsPerSecond *int64 `locationName:"maxVideoBitsPerSecond" type:"integer"` // The minimum video bitrate (bps) to include in output. MinVideoBitsPerSecond *int64 `locationName:"minVideoBitsPerSecond" type:"integer"` // A directive that determines the order of streams in the output. StreamOrder StreamOrder `locationName:"streamOrder" type:"string" enum:"true"` // contains filtered or unexported fields }
A StreamSelection configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/StreamSelection
func (StreamSelection) GoString ¶
func (s StreamSelection) GoString() string
GoString returns the string representation
func (*StreamSelection) SetMaxVideoBitsPerSecond ¶
func (s *StreamSelection) SetMaxVideoBitsPerSecond(v int64) *StreamSelection
SetMaxVideoBitsPerSecond sets the MaxVideoBitsPerSecond field's value.
func (*StreamSelection) SetMinVideoBitsPerSecond ¶
func (s *StreamSelection) SetMinVideoBitsPerSecond(v int64) *StreamSelection
SetMinVideoBitsPerSecond sets the MinVideoBitsPerSecond field's value.
func (*StreamSelection) SetStreamOrder ¶
func (s *StreamSelection) SetStreamOrder(v StreamOrder) *StreamSelection
SetStreamOrder sets the StreamOrder field's value.
func (StreamSelection) String ¶
func (s StreamSelection) String() string
String returns the string representation
type UpdateChannelInput ¶
type UpdateChannelInput struct { Description *string `locationName:"description" type:"string"` // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannelRequest
func (UpdateChannelInput) GoString ¶
func (s UpdateChannelInput) GoString() string
GoString returns the string representation
func (*UpdateChannelInput) SetDescription ¶
func (s *UpdateChannelInput) SetDescription(v string) *UpdateChannelInput
SetDescription sets the Description field's value.
func (*UpdateChannelInput) SetId ¶
func (s *UpdateChannelInput) SetId(v string) *UpdateChannelInput
SetId sets the Id field's value.
func (UpdateChannelInput) String ¶
func (s UpdateChannelInput) String() string
String returns the string representation
func (*UpdateChannelInput) Validate ¶
func (s *UpdateChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateChannelOutput ¶
type UpdateChannelOutput struct { Arn *string `locationName:"arn" type:"string"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) ingest resource configuration. HlsIngest *HlsIngest `locationName:"hlsIngest" type:"structure"` Id *string `locationName:"id" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannelResponse
func (UpdateChannelOutput) GoString ¶
func (s UpdateChannelOutput) GoString() string
GoString returns the string representation
func (UpdateChannelOutput) SDKResponseMetadata ¶
func (s UpdateChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateChannelOutput) SetArn ¶
func (s *UpdateChannelOutput) SetArn(v string) *UpdateChannelOutput
SetArn sets the Arn field's value.
func (*UpdateChannelOutput) SetDescription ¶
func (s *UpdateChannelOutput) SetDescription(v string) *UpdateChannelOutput
SetDescription sets the Description field's value.
func (*UpdateChannelOutput) SetHlsIngest ¶
func (s *UpdateChannelOutput) SetHlsIngest(v *HlsIngest) *UpdateChannelOutput
SetHlsIngest sets the HlsIngest field's value.
func (*UpdateChannelOutput) SetId ¶
func (s *UpdateChannelOutput) SetId(v string) *UpdateChannelOutput
SetId sets the Id field's value.
func (UpdateChannelOutput) String ¶
func (s UpdateChannelOutput) String() string
String returns the string representation
type UpdateChannelRequest ¶
type UpdateChannelRequest struct { *aws.Request Input *UpdateChannelInput }
UpdateChannelRequest is a API request type for the UpdateChannel API operation.
func (UpdateChannelRequest) Send ¶
func (r UpdateChannelRequest) Send() (*UpdateChannelOutput, error)
Send marshals and sends the UpdateChannel API request.
type UpdateOriginEndpointInput ¶
type UpdateOriginEndpointInput struct { // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` // Id is a required field Id *string `location:"uri" locationName:"id" type:"string" required:"true"` ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpointRequest
func (UpdateOriginEndpointInput) GoString ¶
func (s UpdateOriginEndpointInput) GoString() string
GoString returns the string representation
func (*UpdateOriginEndpointInput) SetDashPackage ¶
func (s *UpdateOriginEndpointInput) SetDashPackage(v *DashPackage) *UpdateOriginEndpointInput
SetDashPackage sets the DashPackage field's value.
func (*UpdateOriginEndpointInput) SetDescription ¶
func (s *UpdateOriginEndpointInput) SetDescription(v string) *UpdateOriginEndpointInput
SetDescription sets the Description field's value.
func (*UpdateOriginEndpointInput) SetHlsPackage ¶
func (s *UpdateOriginEndpointInput) SetHlsPackage(v *HlsPackage) *UpdateOriginEndpointInput
SetHlsPackage sets the HlsPackage field's value.
func (*UpdateOriginEndpointInput) SetId ¶
func (s *UpdateOriginEndpointInput) SetId(v string) *UpdateOriginEndpointInput
SetId sets the Id field's value.
func (*UpdateOriginEndpointInput) SetManifestName ¶
func (s *UpdateOriginEndpointInput) SetManifestName(v string) *UpdateOriginEndpointInput
SetManifestName sets the ManifestName field's value.
func (*UpdateOriginEndpointInput) SetMssPackage ¶
func (s *UpdateOriginEndpointInput) SetMssPackage(v *MssPackage) *UpdateOriginEndpointInput
SetMssPackage sets the MssPackage field's value.
func (*UpdateOriginEndpointInput) SetStartoverWindowSeconds ¶
func (s *UpdateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointInput
SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.
func (*UpdateOriginEndpointInput) SetTimeDelaySeconds ¶
func (s *UpdateOriginEndpointInput) SetTimeDelaySeconds(v int64) *UpdateOriginEndpointInput
SetTimeDelaySeconds sets the TimeDelaySeconds field's value.
func (*UpdateOriginEndpointInput) SetWhitelist ¶
func (s *UpdateOriginEndpointInput) SetWhitelist(v []string) *UpdateOriginEndpointInput
SetWhitelist sets the Whitelist field's value.
func (UpdateOriginEndpointInput) String ¶
func (s UpdateOriginEndpointInput) String() string
String returns the string representation
func (*UpdateOriginEndpointInput) Validate ¶
func (s *UpdateOriginEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateOriginEndpointOutput ¶
type UpdateOriginEndpointOutput struct { Arn *string `locationName:"arn" type:"string"` ChannelId *string `locationName:"channelId" type:"string"` // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. DashPackage *DashPackage `locationName:"dashPackage" type:"structure"` Description *string `locationName:"description" type:"string"` // An HTTP Live Streaming (HLS) packaging configuration. HlsPackage *HlsPackage `locationName:"hlsPackage" type:"structure"` Id *string `locationName:"id" type:"string"` ManifestName *string `locationName:"manifestName" type:"string"` // A Microsoft Smooth Streaming (MSS) packaging configuration. MssPackage *MssPackage `locationName:"mssPackage" type:"structure"` StartoverWindowSeconds *int64 `locationName:"startoverWindowSeconds" type:"integer"` TimeDelaySeconds *int64 `locationName:"timeDelaySeconds" type:"integer"` Url *string `locationName:"url" type:"string"` Whitelist []string `locationName:"whitelist" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpointResponse
func (UpdateOriginEndpointOutput) GoString ¶
func (s UpdateOriginEndpointOutput) GoString() string
GoString returns the string representation
func (UpdateOriginEndpointOutput) SDKResponseMetadata ¶
func (s UpdateOriginEndpointOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateOriginEndpointOutput) SetArn ¶
func (s *UpdateOriginEndpointOutput) SetArn(v string) *UpdateOriginEndpointOutput
SetArn sets the Arn field's value.
func (*UpdateOriginEndpointOutput) SetChannelId ¶
func (s *UpdateOriginEndpointOutput) SetChannelId(v string) *UpdateOriginEndpointOutput
SetChannelId sets the ChannelId field's value.
func (*UpdateOriginEndpointOutput) SetDashPackage ¶
func (s *UpdateOriginEndpointOutput) SetDashPackage(v *DashPackage) *UpdateOriginEndpointOutput
SetDashPackage sets the DashPackage field's value.
func (*UpdateOriginEndpointOutput) SetDescription ¶
func (s *UpdateOriginEndpointOutput) SetDescription(v string) *UpdateOriginEndpointOutput
SetDescription sets the Description field's value.
func (*UpdateOriginEndpointOutput) SetHlsPackage ¶
func (s *UpdateOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *UpdateOriginEndpointOutput
SetHlsPackage sets the HlsPackage field's value.
func (*UpdateOriginEndpointOutput) SetId ¶
func (s *UpdateOriginEndpointOutput) SetId(v string) *UpdateOriginEndpointOutput
SetId sets the Id field's value.
func (*UpdateOriginEndpointOutput) SetManifestName ¶
func (s *UpdateOriginEndpointOutput) SetManifestName(v string) *UpdateOriginEndpointOutput
SetManifestName sets the ManifestName field's value.
func (*UpdateOriginEndpointOutput) SetMssPackage ¶
func (s *UpdateOriginEndpointOutput) SetMssPackage(v *MssPackage) *UpdateOriginEndpointOutput
SetMssPackage sets the MssPackage field's value.
func (*UpdateOriginEndpointOutput) SetStartoverWindowSeconds ¶
func (s *UpdateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointOutput
SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.
func (*UpdateOriginEndpointOutput) SetTimeDelaySeconds ¶
func (s *UpdateOriginEndpointOutput) SetTimeDelaySeconds(v int64) *UpdateOriginEndpointOutput
SetTimeDelaySeconds sets the TimeDelaySeconds field's value.
func (*UpdateOriginEndpointOutput) SetUrl ¶
func (s *UpdateOriginEndpointOutput) SetUrl(v string) *UpdateOriginEndpointOutput
SetUrl sets the Url field's value.
func (*UpdateOriginEndpointOutput) SetWhitelist ¶
func (s *UpdateOriginEndpointOutput) SetWhitelist(v []string) *UpdateOriginEndpointOutput
SetWhitelist sets the Whitelist field's value.
func (UpdateOriginEndpointOutput) String ¶
func (s UpdateOriginEndpointOutput) String() string
String returns the string representation
type UpdateOriginEndpointRequest ¶
type UpdateOriginEndpointRequest struct { *aws.Request Input *UpdateOriginEndpointInput }
UpdateOriginEndpointRequest is a API request type for the UpdateOriginEndpoint API operation.
func (UpdateOriginEndpointRequest) Send ¶
func (r UpdateOriginEndpointRequest) Send() (*UpdateOriginEndpointOutput, error)
Send marshals and sends the UpdateOriginEndpoint API request.
Directories ¶
Path | Synopsis |
---|---|
Package mediapackageiface provides an interface to enable mocking the AWS Elemental MediaPackage service client for testing your code.
|
Package mediapackageiface provides an interface to enable mocking the AWS Elemental MediaPackage service client for testing your code. |