...
AWS SDK for Go API Reference
We announced the upcoming end-of-support for AWS SDK for Go (v1). We recommend that you migrate to AWS SDK for Go v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
import "github.com/aws/aws-sdk-go/service/mediapackagev2"
Overview
Examples
Constants

Overview ▾

Package mediapackagev2 provides the client and types for making API requests to AWS Elemental MediaPackage v2.

This guide is intended for creating AWS Elemental MediaPackage resources in MediaPackage Version 2 (v2) starting from May 2023. To get started with MediaPackage v2, create your MediaPackage resources. There isn't an automated process to migrate your resources from MediaPackage v1 to MediaPackage v2.

The names of the entities that you use to access this API, like URLs and ARNs, all have the versioning information added, like "v2", to distinguish from the prior version. If you used MediaPackage prior to this release, you can't use the MediaPackage v2 CLI or the MediaPackage v2 API to access any MediaPackage v1 resources.

If you created resources in MediaPackage v1, use video on demand (VOD) workflows, and aren't looking to migrate to MediaPackage v2 yet, see the MediaPackage v1 Live API Reference (https://docs.aws.amazon.com/mediapackage/latest/apireference/what-is.html).

This is the AWS Elemental MediaPackage v2 Live REST API Reference. It describes all the MediaPackage API operations for live content in detail, and provides sample requests, responses, and errors for the supported web services protocols.

We assume that you have the IAM permissions that you need to use MediaPackage via the REST API. We also assume that you are familiar with the features and operations of MediaPackage, as described in the AWS Elemental MediaPackage User Guide.

See https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25 for more information on this service.

See mediapackagev2 package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackagev2/

Using the Client

To contact AWS Elemental MediaPackage v2 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 v2 client MediaPackageV2 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackagev2/#New

The stub package, mediapackagev2iface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Types ▾

type MediaPackageV2
func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaPackageV2
func (c *MediaPackageV2) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error)
func (c *MediaPackageV2) CreateChannelGroup(input *CreateChannelGroupInput) (*CreateChannelGroupOutput, error)
func (c *MediaPackageV2) CreateChannelGroupRequest(input *CreateChannelGroupInput) (req *request.Request, output *CreateChannelGroupOutput)
func (c *MediaPackageV2) CreateChannelGroupWithContext(ctx aws.Context, input *CreateChannelGroupInput, opts ...request.Option) (*CreateChannelGroupOutput, error)
func (c *MediaPackageV2) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput)
func (c *MediaPackageV2) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error)
func (c *MediaPackageV2) CreateOriginEndpoint(input *CreateOriginEndpointInput) (*CreateOriginEndpointOutput, error)
func (c *MediaPackageV2) CreateOriginEndpointRequest(input *CreateOriginEndpointInput) (req *request.Request, output *CreateOriginEndpointOutput)
func (c *MediaPackageV2) CreateOriginEndpointWithContext(ctx aws.Context, input *CreateOriginEndpointInput, opts ...request.Option) (*CreateOriginEndpointOutput, error)
func (c *MediaPackageV2) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error)
func (c *MediaPackageV2) DeleteChannelGroup(input *DeleteChannelGroupInput) (*DeleteChannelGroupOutput, error)
func (c *MediaPackageV2) DeleteChannelGroupRequest(input *DeleteChannelGroupInput) (req *request.Request, output *DeleteChannelGroupOutput)
func (c *MediaPackageV2) DeleteChannelGroupWithContext(ctx aws.Context, input *DeleteChannelGroupInput, opts ...request.Option) (*DeleteChannelGroupOutput, error)
func (c *MediaPackageV2) DeleteChannelPolicy(input *DeleteChannelPolicyInput) (*DeleteChannelPolicyOutput, error)
func (c *MediaPackageV2) DeleteChannelPolicyRequest(input *DeleteChannelPolicyInput) (req *request.Request, output *DeleteChannelPolicyOutput)
func (c *MediaPackageV2) DeleteChannelPolicyWithContext(ctx aws.Context, input *DeleteChannelPolicyInput, opts ...request.Option) (*DeleteChannelPolicyOutput, error)
func (c *MediaPackageV2) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput)
func (c *MediaPackageV2) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error)
func (c *MediaPackageV2) DeleteOriginEndpoint(input *DeleteOriginEndpointInput) (*DeleteOriginEndpointOutput, error)
func (c *MediaPackageV2) DeleteOriginEndpointPolicy(input *DeleteOriginEndpointPolicyInput) (*DeleteOriginEndpointPolicyOutput, error)
func (c *MediaPackageV2) DeleteOriginEndpointPolicyRequest(input *DeleteOriginEndpointPolicyInput) (req *request.Request, output *DeleteOriginEndpointPolicyOutput)
func (c *MediaPackageV2) DeleteOriginEndpointPolicyWithContext(ctx aws.Context, input *DeleteOriginEndpointPolicyInput, opts ...request.Option) (*DeleteOriginEndpointPolicyOutput, error)
func (c *MediaPackageV2) DeleteOriginEndpointRequest(input *DeleteOriginEndpointInput) (req *request.Request, output *DeleteOriginEndpointOutput)
func (c *MediaPackageV2) DeleteOriginEndpointWithContext(ctx aws.Context, input *DeleteOriginEndpointInput, opts ...request.Option) (*DeleteOriginEndpointOutput, error)
func (c *MediaPackageV2) GetChannel(input *GetChannelInput) (*GetChannelOutput, error)
func (c *MediaPackageV2) GetChannelGroup(input *GetChannelGroupInput) (*GetChannelGroupOutput, error)
func (c *MediaPackageV2) GetChannelGroupRequest(input *GetChannelGroupInput) (req *request.Request, output *GetChannelGroupOutput)
func (c *MediaPackageV2) GetChannelGroupWithContext(ctx aws.Context, input *GetChannelGroupInput, opts ...request.Option) (*GetChannelGroupOutput, error)
func (c *MediaPackageV2) GetChannelPolicy(input *GetChannelPolicyInput) (*GetChannelPolicyOutput, error)
func (c *MediaPackageV2) GetChannelPolicyRequest(input *GetChannelPolicyInput) (req *request.Request, output *GetChannelPolicyOutput)
func (c *MediaPackageV2) GetChannelPolicyWithContext(ctx aws.Context, input *GetChannelPolicyInput, opts ...request.Option) (*GetChannelPolicyOutput, error)
func (c *MediaPackageV2) GetChannelRequest(input *GetChannelInput) (req *request.Request, output *GetChannelOutput)
func (c *MediaPackageV2) GetChannelWithContext(ctx aws.Context, input *GetChannelInput, opts ...request.Option) (*GetChannelOutput, error)
func (c *MediaPackageV2) GetOriginEndpoint(input *GetOriginEndpointInput) (*GetOriginEndpointOutput, error)
func (c *MediaPackageV2) GetOriginEndpointPolicy(input *GetOriginEndpointPolicyInput) (*GetOriginEndpointPolicyOutput, error)
func (c *MediaPackageV2) GetOriginEndpointPolicyRequest(input *GetOriginEndpointPolicyInput) (req *request.Request, output *GetOriginEndpointPolicyOutput)
func (c *MediaPackageV2) GetOriginEndpointPolicyWithContext(ctx aws.Context, input *GetOriginEndpointPolicyInput, opts ...request.Option) (*GetOriginEndpointPolicyOutput, error)
func (c *MediaPackageV2) GetOriginEndpointRequest(input *GetOriginEndpointInput) (req *request.Request, output *GetOriginEndpointOutput)
func (c *MediaPackageV2) GetOriginEndpointWithContext(ctx aws.Context, input *GetOriginEndpointInput, opts ...request.Option) (*GetOriginEndpointOutput, error)
func (c *MediaPackageV2) ListChannelGroups(input *ListChannelGroupsInput) (*ListChannelGroupsOutput, error)
func (c *MediaPackageV2) ListChannelGroupsPages(input *ListChannelGroupsInput, fn func(*ListChannelGroupsOutput, bool) bool) error
func (c *MediaPackageV2) ListChannelGroupsPagesWithContext(ctx aws.Context, input *ListChannelGroupsInput, fn func(*ListChannelGroupsOutput, bool) bool, opts ...request.Option) error
func (c *MediaPackageV2) ListChannelGroupsRequest(input *ListChannelGroupsInput) (req *request.Request, output *ListChannelGroupsOutput)
func (c *MediaPackageV2) ListChannelGroupsWithContext(ctx aws.Context, input *ListChannelGroupsInput, opts ...request.Option) (*ListChannelGroupsOutput, error)
func (c *MediaPackageV2) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error)
func (c *MediaPackageV2) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error
func (c *MediaPackageV2) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error
func (c *MediaPackageV2) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput)
func (c *MediaPackageV2) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error)
func (c *MediaPackageV2) ListOriginEndpoints(input *ListOriginEndpointsInput) (*ListOriginEndpointsOutput, error)
func (c *MediaPackageV2) ListOriginEndpointsPages(input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool) error
func (c *MediaPackageV2) ListOriginEndpointsPagesWithContext(ctx aws.Context, input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool, opts ...request.Option) error
func (c *MediaPackageV2) ListOriginEndpointsRequest(input *ListOriginEndpointsInput) (req *request.Request, output *ListOriginEndpointsOutput)
func (c *MediaPackageV2) ListOriginEndpointsWithContext(ctx aws.Context, input *ListOriginEndpointsInput, opts ...request.Option) (*ListOriginEndpointsOutput, error)
func (c *MediaPackageV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
func (c *MediaPackageV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
func (c *MediaPackageV2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
func (c *MediaPackageV2) PutChannelPolicy(input *PutChannelPolicyInput) (*PutChannelPolicyOutput, error)
func (c *MediaPackageV2) PutChannelPolicyRequest(input *PutChannelPolicyInput) (req *request.Request, output *PutChannelPolicyOutput)
func (c *MediaPackageV2) PutChannelPolicyWithContext(ctx aws.Context, input *PutChannelPolicyInput, opts ...request.Option) (*PutChannelPolicyOutput, error)
func (c *MediaPackageV2) PutOriginEndpointPolicy(input *PutOriginEndpointPolicyInput) (*PutOriginEndpointPolicyOutput, error)
func (c *MediaPackageV2) PutOriginEndpointPolicyRequest(input *PutOriginEndpointPolicyInput) (req *request.Request, output *PutOriginEndpointPolicyOutput)
func (c *MediaPackageV2) PutOriginEndpointPolicyWithContext(ctx aws.Context, input *PutOriginEndpointPolicyInput, opts ...request.Option) (*PutOriginEndpointPolicyOutput, error)
func (c *MediaPackageV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
func (c *MediaPackageV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
func (c *MediaPackageV2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
func (c *MediaPackageV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
func (c *MediaPackageV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
func (c *MediaPackageV2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
func (c *MediaPackageV2) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error)
func (c *MediaPackageV2) UpdateChannelGroup(input *UpdateChannelGroupInput) (*UpdateChannelGroupOutput, error)
func (c *MediaPackageV2) UpdateChannelGroupRequest(input *UpdateChannelGroupInput) (req *request.Request, output *UpdateChannelGroupOutput)
func (c *MediaPackageV2) UpdateChannelGroupWithContext(ctx aws.Context, input *UpdateChannelGroupInput, opts ...request.Option) (*UpdateChannelGroupOutput, error)
func (c *MediaPackageV2) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput)
func (c *MediaPackageV2) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error)
func (c *MediaPackageV2) UpdateOriginEndpoint(input *UpdateOriginEndpointInput) (*UpdateOriginEndpointOutput, error)
func (c *MediaPackageV2) UpdateOriginEndpointRequest(input *UpdateOriginEndpointInput) (req *request.Request, output *UpdateOriginEndpointOutput)
func (c *MediaPackageV2) UpdateOriginEndpointWithContext(ctx aws.Context, input *UpdateOriginEndpointInput, opts ...request.Option) (*UpdateOriginEndpointOutput, error)
func AdMarkerDash_Values() []string
func AdMarkerHls_Values() []string
func CmafEncryptionMethod_Values() []string
func ConflictExceptionType_Values() []string
func ContainerType_Values() []string
func DashDrmSignaling_Values() []string
func DashPeriodTrigger_Values() []string
func DashSegmentTemplateFormat_Values() []string
func DashUtcTimingMode_Values() []string
func DrmSystem_Values() []string
func EndpointErrorCondition_Values() []string
func InputType_Values() []string
func PresetSpeke20Audio_Values() []string
func PresetSpeke20Video_Values() []string
func ResourceTypeNotFound_Values() []string
func ScteFilter_Values() []string
func TsEncryptionMethod_Values() []string
func ValidationExceptionType_Values() []string
type AccessDeniedException
type ChannelGroupListConfiguration
type ChannelListConfiguration
type ConflictException
type CreateChannelGroupInput
type CreateChannelGroupOutput
type CreateChannelInput
type CreateChannelOutput
type CreateDashManifestConfiguration
type CreateHlsManifestConfiguration
type CreateLowLatencyHlsManifestConfiguration
type CreateOriginEndpointInput
type CreateOriginEndpointOutput
type DashUtcTiming
type DeleteChannelGroupInput
type DeleteChannelGroupOutput
type DeleteChannelInput
type DeleteChannelOutput
type DeleteChannelPolicyInput
type DeleteChannelPolicyOutput
type DeleteOriginEndpointInput
type DeleteOriginEndpointOutput
type DeleteOriginEndpointPolicyInput
type DeleteOriginEndpointPolicyOutput
type Encryption
type EncryptionContractConfiguration
type EncryptionMethod
type FilterConfiguration
type ForceEndpointErrorConfiguration
type GetChannelGroupInput
type GetChannelGroupOutput
type GetChannelInput
type GetChannelOutput
type GetChannelPolicyInput
type GetChannelPolicyOutput
type GetDashManifestConfiguration
type GetHlsManifestConfiguration
type GetLowLatencyHlsManifestConfiguration
type GetOriginEndpointInput
type GetOriginEndpointOutput
type GetOriginEndpointPolicyInput
type GetOriginEndpointPolicyOutput
type IngestEndpoint
type InternalServerException
type ListChannelGroupsInput
type ListChannelGroupsOutput
type ListChannelsInput
type ListChannelsOutput
type ListDashManifestConfiguration
type ListHlsManifestConfiguration
type ListLowLatencyHlsManifestConfiguration
type ListOriginEndpointsInput
type ListOriginEndpointsOutput
type ListTagsForResourceInput
type ListTagsForResourceOutput
type OriginEndpointListConfiguration
type PutChannelPolicyInput
type PutChannelPolicyOutput
type PutOriginEndpointPolicyInput
type PutOriginEndpointPolicyOutput
type ResourceNotFoundException
type Scte
type ScteDash
type ScteHls
type Segment
type ServiceQuotaExceededException
type SpekeKeyProvider
type TagResourceInput
type TagResourceOutput
type ThrottlingException
type UntagResourceInput
type UntagResourceOutput
type UpdateChannelGroupInput
type UpdateChannelGroupOutput
type UpdateChannelInput
type UpdateChannelOutput
type UpdateOriginEndpointInput
type UpdateOriginEndpointOutput
type ValidationException

Constants ▾

const (
    // AdMarkerDashBinary is a AdMarkerDash enum value
    AdMarkerDashBinary = "BINARY"

    // AdMarkerDashXml is a AdMarkerDash enum value
    AdMarkerDashXml = "XML"
)
const (
    // CmafEncryptionMethodCenc is a CmafEncryptionMethod enum value
    CmafEncryptionMethodCenc = "CENC"

    // CmafEncryptionMethodCbcs is a CmafEncryptionMethod enum value
    CmafEncryptionMethodCbcs = "CBCS"
)
const (
    // ConflictExceptionTypeResourceInUse is a ConflictExceptionType enum value
    ConflictExceptionTypeResourceInUse = "RESOURCE_IN_USE"

    // ConflictExceptionTypeResourceAlreadyExists is a ConflictExceptionType enum value
    ConflictExceptionTypeResourceAlreadyExists = "RESOURCE_ALREADY_EXISTS"

    // ConflictExceptionTypeIdempotentParameterMismatch is a ConflictExceptionType enum value
    ConflictExceptionTypeIdempotentParameterMismatch = "IDEMPOTENT_PARAMETER_MISMATCH"

    // ConflictExceptionTypeConflictingOperation is a ConflictExceptionType enum value
    ConflictExceptionTypeConflictingOperation = "CONFLICTING_OPERATION"
)
const (
    // ContainerTypeTs is a ContainerType enum value
    ContainerTypeTs = "TS"

    // ContainerTypeCmaf is a ContainerType enum value
    ContainerTypeCmaf = "CMAF"
)
const (
    // DashDrmSignalingIndividual is a DashDrmSignaling enum value
    DashDrmSignalingIndividual = "INDIVIDUAL"

    // DashDrmSignalingReferenced is a DashDrmSignaling enum value
    DashDrmSignalingReferenced = "REFERENCED"
)
const (
    // DashPeriodTriggerAvails is a DashPeriodTrigger enum value
    DashPeriodTriggerAvails = "AVAILS"

    // DashPeriodTriggerDrmKeyRotation is a DashPeriodTrigger enum value
    DashPeriodTriggerDrmKeyRotation = "DRM_KEY_ROTATION"

    // DashPeriodTriggerSourceChanges is a DashPeriodTrigger enum value
    DashPeriodTriggerSourceChanges = "SOURCE_CHANGES"

    // DashPeriodTriggerSourceDisruptions is a DashPeriodTrigger enum value
    DashPeriodTriggerSourceDisruptions = "SOURCE_DISRUPTIONS"

    // DashPeriodTriggerNone is a DashPeriodTrigger enum value
    DashPeriodTriggerNone = "NONE"
)
const (
    // DashUtcTimingModeHttpHead is a DashUtcTimingMode enum value
    DashUtcTimingModeHttpHead = "HTTP_HEAD"

    // DashUtcTimingModeHttpIso is a DashUtcTimingMode enum value
    DashUtcTimingModeHttpIso = "HTTP_ISO"

    // DashUtcTimingModeHttpXsdate is a DashUtcTimingMode enum value
    DashUtcTimingModeHttpXsdate = "HTTP_XSDATE"

    // DashUtcTimingModeUtcDirect is a DashUtcTimingMode enum value
    DashUtcTimingModeUtcDirect = "UTC_DIRECT"
)
const (
    // DrmSystemClearKeyAes128 is a DrmSystem enum value
    DrmSystemClearKeyAes128 = "CLEAR_KEY_AES_128"

    // DrmSystemFairplay is a DrmSystem enum value
    DrmSystemFairplay = "FAIRPLAY"

    // DrmSystemPlayready is a DrmSystem enum value
    DrmSystemPlayready = "PLAYREADY"

    // DrmSystemWidevine is a DrmSystem enum value
    DrmSystemWidevine = "WIDEVINE"

    // DrmSystemIrdeto is a DrmSystem enum value
    DrmSystemIrdeto = "IRDETO"
)
const (
    // EndpointErrorConditionStaleManifest is a EndpointErrorCondition enum value
    EndpointErrorConditionStaleManifest = "STALE_MANIFEST"

    // EndpointErrorConditionIncompleteManifest is a EndpointErrorCondition enum value
    EndpointErrorConditionIncompleteManifest = "INCOMPLETE_MANIFEST"

    // EndpointErrorConditionMissingDrmKey is a EndpointErrorCondition enum value
    EndpointErrorConditionMissingDrmKey = "MISSING_DRM_KEY"

    // EndpointErrorConditionSlateInput is a EndpointErrorCondition enum value
    EndpointErrorConditionSlateInput = "SLATE_INPUT"
)
const (
    // InputTypeHls is a InputType enum value
    InputTypeHls = "HLS"

    // InputTypeCmaf is a InputType enum value
    InputTypeCmaf = "CMAF"
)
const (
    // PresetSpeke20AudioPresetAudio1 is a PresetSpeke20Audio enum value
    PresetSpeke20AudioPresetAudio1 = "PRESET_AUDIO_1"

    // PresetSpeke20AudioPresetAudio2 is a PresetSpeke20Audio enum value
    PresetSpeke20AudioPresetAudio2 = "PRESET_AUDIO_2"

    // PresetSpeke20AudioPresetAudio3 is a PresetSpeke20Audio enum value
    PresetSpeke20AudioPresetAudio3 = "PRESET_AUDIO_3"

    // PresetSpeke20AudioShared is a PresetSpeke20Audio enum value
    PresetSpeke20AudioShared = "SHARED"

    // PresetSpeke20AudioUnencrypted is a PresetSpeke20Audio enum value
    PresetSpeke20AudioUnencrypted = "UNENCRYPTED"
)
const (
    // PresetSpeke20VideoPresetVideo1 is a PresetSpeke20Video enum value
    PresetSpeke20VideoPresetVideo1 = "PRESET_VIDEO_1"

    // PresetSpeke20VideoPresetVideo2 is a PresetSpeke20Video enum value
    PresetSpeke20VideoPresetVideo2 = "PRESET_VIDEO_2"

    // PresetSpeke20VideoPresetVideo3 is a PresetSpeke20Video enum value
    PresetSpeke20VideoPresetVideo3 = "PRESET_VIDEO_3"

    // PresetSpeke20VideoPresetVideo4 is a PresetSpeke20Video enum value
    PresetSpeke20VideoPresetVideo4 = "PRESET_VIDEO_4"

    // PresetSpeke20VideoPresetVideo5 is a PresetSpeke20Video enum value
    PresetSpeke20VideoPresetVideo5 = "PRESET_VIDEO_5"

    // PresetSpeke20VideoPresetVideo6 is a PresetSpeke20Video enum value
    PresetSpeke20VideoPresetVideo6 = "PRESET_VIDEO_6"

    // PresetSpeke20VideoPresetVideo7 is a PresetSpeke20Video enum value
    PresetSpeke20VideoPresetVideo7 = "PRESET_VIDEO_7"

    // PresetSpeke20VideoPresetVideo8 is a PresetSpeke20Video enum value
    PresetSpeke20VideoPresetVideo8 = "PRESET_VIDEO_8"

    // PresetSpeke20VideoShared is a PresetSpeke20Video enum value
    PresetSpeke20VideoShared = "SHARED"

    // PresetSpeke20VideoUnencrypted is a PresetSpeke20Video enum value
    PresetSpeke20VideoUnencrypted = "UNENCRYPTED"
)
const (
    // ResourceTypeNotFoundChannelGroup is a ResourceTypeNotFound enum value
    ResourceTypeNotFoundChannelGroup = "CHANNEL_GROUP"

    // ResourceTypeNotFoundChannel is a ResourceTypeNotFound enum value
    ResourceTypeNotFoundChannel = "CHANNEL"

    // ResourceTypeNotFoundOriginEndpoint is a ResourceTypeNotFound enum value
    ResourceTypeNotFoundOriginEndpoint = "ORIGIN_ENDPOINT"
)
const (
    // ScteFilterSpliceInsert is a ScteFilter enum value
    ScteFilterSpliceInsert = "SPLICE_INSERT"

    // ScteFilterBreak is a ScteFilter enum value
    ScteFilterBreak = "BREAK"

    // ScteFilterProviderAdvertisement is a ScteFilter enum value
    ScteFilterProviderAdvertisement = "PROVIDER_ADVERTISEMENT"

    // ScteFilterDistributorAdvertisement is a ScteFilter enum value
    ScteFilterDistributorAdvertisement = "DISTRIBUTOR_ADVERTISEMENT"

    // ScteFilterProviderPlacementOpportunity is a ScteFilter enum value
    ScteFilterProviderPlacementOpportunity = "PROVIDER_PLACEMENT_OPPORTUNITY"

    // ScteFilterDistributorPlacementOpportunity is a ScteFilter enum value
    ScteFilterDistributorPlacementOpportunity = "DISTRIBUTOR_PLACEMENT_OPPORTUNITY"

    // ScteFilterProviderOverlayPlacementOpportunity is a ScteFilter enum value
    ScteFilterProviderOverlayPlacementOpportunity = "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY"

    // ScteFilterDistributorOverlayPlacementOpportunity is a ScteFilter enum value
    ScteFilterDistributorOverlayPlacementOpportunity = "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"

    // ScteFilterProgram is a ScteFilter enum value
    ScteFilterProgram = "PROGRAM"
)
const (
    // TsEncryptionMethodAes128 is a TsEncryptionMethod enum value
    TsEncryptionMethodAes128 = "AES_128"

    // TsEncryptionMethodSampleAes is a TsEncryptionMethod enum value
    TsEncryptionMethodSampleAes = "SAMPLE_AES"
)
const (
    // ValidationExceptionTypeContainerTypeImmutable is a ValidationExceptionType enum value
    ValidationExceptionTypeContainerTypeImmutable = "CONTAINER_TYPE_IMMUTABLE"

    // ValidationExceptionTypeInvalidPaginationToken is a ValidationExceptionType enum value
    ValidationExceptionTypeInvalidPaginationToken = "INVALID_PAGINATION_TOKEN"

    // ValidationExceptionTypeInvalidPaginationMaxResults is a ValidationExceptionType enum value
    ValidationExceptionTypeInvalidPaginationMaxResults = "INVALID_PAGINATION_MAX_RESULTS"

    // ValidationExceptionTypeInvalidPolicy is a ValidationExceptionType enum value
    ValidationExceptionTypeInvalidPolicy = "INVALID_POLICY"

    // ValidationExceptionTypeInvalidRoleArn is a ValidationExceptionType enum value
    ValidationExceptionTypeInvalidRoleArn = "INVALID_ROLE_ARN"

    // ValidationExceptionTypeManifestNameCollision is a ValidationExceptionType enum value
    ValidationExceptionTypeManifestNameCollision = "MANIFEST_NAME_COLLISION"

    // ValidationExceptionTypeEncryptionMethodContainerTypeMismatch is a ValidationExceptionType enum value
    ValidationExceptionTypeEncryptionMethodContainerTypeMismatch = "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH"

    // ValidationExceptionTypeCencIvIncompatible is a ValidationExceptionType enum value
    ValidationExceptionTypeCencIvIncompatible = "CENC_IV_INCOMPATIBLE"

    // ValidationExceptionTypeEncryptionContractWithoutAudioRenditionIncompatible is a ValidationExceptionType enum value
    ValidationExceptionTypeEncryptionContractWithoutAudioRenditionIncompatible = "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE"

    // ValidationExceptionTypeEncryptionContractUnencrypted is a ValidationExceptionType enum value
    ValidationExceptionTypeEncryptionContractUnencrypted = "ENCRYPTION_CONTRACT_UNENCRYPTED"

    // ValidationExceptionTypeEncryptionContractShared is a ValidationExceptionType enum value
    ValidationExceptionTypeEncryptionContractShared = "ENCRYPTION_CONTRACT_SHARED"

    // ValidationExceptionTypeNumManifestsLow is a ValidationExceptionType enum value
    ValidationExceptionTypeNumManifestsLow = "NUM_MANIFESTS_LOW"

    // ValidationExceptionTypeNumManifestsHigh is a ValidationExceptionType enum value
    ValidationExceptionTypeNumManifestsHigh = "NUM_MANIFESTS_HIGH"

    // ValidationExceptionTypeManifestDrmSystemsIncompatible is a ValidationExceptionType enum value
    ValidationExceptionTypeManifestDrmSystemsIncompatible = "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE"

    // ValidationExceptionTypeDrmSystemsEncryptionMethodIncompatible is a ValidationExceptionType enum value
    ValidationExceptionTypeDrmSystemsEncryptionMethodIncompatible = "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE"

    // ValidationExceptionTypeRoleArnNotAssumable is a ValidationExceptionType enum value
    ValidationExceptionTypeRoleArnNotAssumable = "ROLE_ARN_NOT_ASSUMABLE"

    // ValidationExceptionTypeRoleArnLengthOutOfRange is a ValidationExceptionType enum value
    ValidationExceptionTypeRoleArnLengthOutOfRange = "ROLE_ARN_LENGTH_OUT_OF_RANGE"

    // ValidationExceptionTypeRoleArnInvalidFormat is a ValidationExceptionType enum value
    ValidationExceptionTypeRoleArnInvalidFormat = "ROLE_ARN_INVALID_FORMAT"

    // ValidationExceptionTypeUrlInvalid is a ValidationExceptionType enum value
    ValidationExceptionTypeUrlInvalid = "URL_INVALID"

    // ValidationExceptionTypeUrlScheme is a ValidationExceptionType enum value
    ValidationExceptionTypeUrlScheme = "URL_SCHEME"

    // ValidationExceptionTypeUrlUserInfo is a ValidationExceptionType enum value
    ValidationExceptionTypeUrlUserInfo = "URL_USER_INFO"

    // ValidationExceptionTypeUrlPort is a ValidationExceptionType enum value
    ValidationExceptionTypeUrlPort = "URL_PORT"

    // ValidationExceptionTypeUrlUnknownHost is a ValidationExceptionType enum value
    ValidationExceptionTypeUrlUnknownHost = "URL_UNKNOWN_HOST"

    // ValidationExceptionTypeUrlLocalAddress is a ValidationExceptionType enum value
    ValidationExceptionTypeUrlLocalAddress = "URL_LOCAL_ADDRESS"

    // ValidationExceptionTypeUrlLoopbackAddress is a ValidationExceptionType enum value
    ValidationExceptionTypeUrlLoopbackAddress = "URL_LOOPBACK_ADDRESS"

    // ValidationExceptionTypeUrlLinkLocalAddress is a ValidationExceptionType enum value
    ValidationExceptionTypeUrlLinkLocalAddress = "URL_LINK_LOCAL_ADDRESS"

    // ValidationExceptionTypeUrlMulticastAddress is a ValidationExceptionType enum value
    ValidationExceptionTypeUrlMulticastAddress = "URL_MULTICAST_ADDRESS"

    // ValidationExceptionTypeMemberInvalid is a ValidationExceptionType enum value
    ValidationExceptionTypeMemberInvalid = "MEMBER_INVALID"

    // ValidationExceptionTypeMemberMissing is a ValidationExceptionType enum value
    ValidationExceptionTypeMemberMissing = "MEMBER_MISSING"

    // ValidationExceptionTypeMemberMinValue is a ValidationExceptionType enum value
    ValidationExceptionTypeMemberMinValue = "MEMBER_MIN_VALUE"

    // ValidationExceptionTypeMemberMaxValue is a ValidationExceptionType enum value
    ValidationExceptionTypeMemberMaxValue = "MEMBER_MAX_VALUE"

    // ValidationExceptionTypeMemberMinLength is a ValidationExceptionType enum value
    ValidationExceptionTypeMemberMinLength = "MEMBER_MIN_LENGTH"

    // ValidationExceptionTypeMemberMaxLength is a ValidationExceptionType enum value
    ValidationExceptionTypeMemberMaxLength = "MEMBER_MAX_LENGTH"

    // ValidationExceptionTypeMemberInvalidEnumValue is a ValidationExceptionType enum value
    ValidationExceptionTypeMemberInvalidEnumValue = "MEMBER_INVALID_ENUM_VALUE"

    // ValidationExceptionTypeMemberDoesNotMatchPattern is a ValidationExceptionType enum value
    ValidationExceptionTypeMemberDoesNotMatchPattern = "MEMBER_DOES_NOT_MATCH_PATTERN"

    // ValidationExceptionTypeInvalidManifestFilter is a ValidationExceptionType enum value
    ValidationExceptionTypeInvalidManifestFilter = "INVALID_MANIFEST_FILTER"

    // ValidationExceptionTypeInvalidTimeDelaySeconds is a ValidationExceptionType enum value
    ValidationExceptionTypeInvalidTimeDelaySeconds = "INVALID_TIME_DELAY_SECONDS"

    // ValidationExceptionTypeEndTimeEarlierThanStartTime is a ValidationExceptionType enum value
    ValidationExceptionTypeEndTimeEarlierThanStartTime = "END_TIME_EARLIER_THAN_START_TIME"

    // ValidationExceptionTypeTsContainerTypeWithDashManifest is a ValidationExceptionType enum value
    ValidationExceptionTypeTsContainerTypeWithDashManifest = "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST"

    // ValidationExceptionTypeDirectModeWithTimingSource is a ValidationExceptionType enum value
    ValidationExceptionTypeDirectModeWithTimingSource = "DIRECT_MODE_WITH_TIMING_SOURCE"

    // ValidationExceptionTypeNoneModeWithTimingSource is a ValidationExceptionType enum value
    ValidationExceptionTypeNoneModeWithTimingSource = "NONE_MODE_WITH_TIMING_SOURCE"

    // ValidationExceptionTypeTimingSourceMissing is a ValidationExceptionType enum value
    ValidationExceptionTypeTimingSourceMissing = "TIMING_SOURCE_MISSING"

    // ValidationExceptionTypeUpdatePeriodSmallerThanSegmentDuration is a ValidationExceptionType enum value
    ValidationExceptionTypeUpdatePeriodSmallerThanSegmentDuration = "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION"

    // ValidationExceptionTypePeriodTriggersNoneSpecifiedWithAdditionalValues is a ValidationExceptionType enum value
    ValidationExceptionTypePeriodTriggersNoneSpecifiedWithAdditionalValues = "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES"

    // ValidationExceptionTypeDrmSignalingMismatchSegmentEncryptionStatus is a ValidationExceptionType enum value
    ValidationExceptionTypeDrmSignalingMismatchSegmentEncryptionStatus = "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS"

    // ValidationExceptionTypeOnlyCmafInputTypeAllowForceEndpointErrorConfiguration is a ValidationExceptionType enum value
    ValidationExceptionTypeOnlyCmafInputTypeAllowForceEndpointErrorConfiguration = "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION"

    // ValidationExceptionTypeSourceDisruptionsEnabledIncorrectly is a ValidationExceptionType enum value
    ValidationExceptionTypeSourceDisruptionsEnabledIncorrectly = "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY"
)
const (

    // ErrCodeAccessDeniedException for service response error code
    // "AccessDeniedException".
    //
    // You don't have permissions to perform the requested operation. The user or
    // role that is making the request must have at least one IAM permissions policy
    // attached that grants the required permissions. For more information, see
    // Access Management in the IAM User Guide.
    ErrCodeAccessDeniedException = "AccessDeniedException"

    // ErrCodeConflictException for service response error code
    // "ConflictException".
    //
    // Updating or deleting this resource can cause an inconsistent state.
    ErrCodeConflictException = "ConflictException"

    // ErrCodeInternalServerException for service response error code
    // "InternalServerException".
    //
    // Indicates that an error from the service occurred while trying to process
    // a request.
    ErrCodeInternalServerException = "InternalServerException"

    // ErrCodeResourceNotFoundException for service response error code
    // "ResourceNotFoundException".
    //
    // The specified resource doesn't exist.
    ErrCodeResourceNotFoundException = "ResourceNotFoundException"

    // ErrCodeServiceQuotaExceededException for service response error code
    // "ServiceQuotaExceededException".
    //
    // The request would cause a service quota to be exceeded.
    ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

    // ErrCodeThrottlingException for service response error code
    // "ThrottlingException".
    //
    // The request throughput limit was exceeded.
    ErrCodeThrottlingException = "ThrottlingException"

    // ErrCodeValidationException for service response error code
    // "ValidationException".
    //
    // The input failed to meet the constraints specified by the AWS service.
    ErrCodeValidationException = "ValidationException"
)
const (
    ServiceName = "MediaPackageV2" // Name of service.
    EndpointsID = "mediapackagev2" // ID to lookup a service endpoint with.
    ServiceID   = "MediaPackageV2" // ServiceID is a unique identifier of a specific service.
)

Service information constants

const (
    // AdMarkerHlsDaterange is a AdMarkerHls enum value
    AdMarkerHlsDaterange = "DATERANGE"
)
const (
    // DashSegmentTemplateFormatNumberWithTimeline is a DashSegmentTemplateFormat enum value
    DashSegmentTemplateFormatNumberWithTimeline = "NUMBER_WITH_TIMELINE"
)

func AdMarkerDash_Values

func AdMarkerDash_Values() []string

AdMarkerDash_Values returns all elements of the AdMarkerDash enum

func AdMarkerHls_Values

func AdMarkerHls_Values() []string

AdMarkerHls_Values returns all elements of the AdMarkerHls enum

func CmafEncryptionMethod_Values

func CmafEncryptionMethod_Values() []string

CmafEncryptionMethod_Values returns all elements of the CmafEncryptionMethod enum

func ConflictExceptionType_Values

func ConflictExceptionType_Values() []string

ConflictExceptionType_Values returns all elements of the ConflictExceptionType enum

func ContainerType_Values

func ContainerType_Values() []string

ContainerType_Values returns all elements of the ContainerType enum

func DashDrmSignaling_Values

func DashDrmSignaling_Values() []string

DashDrmSignaling_Values returns all elements of the DashDrmSignaling enum

func DashPeriodTrigger_Values

func DashPeriodTrigger_Values() []string

DashPeriodTrigger_Values returns all elements of the DashPeriodTrigger enum

func DashSegmentTemplateFormat_Values

func DashSegmentTemplateFormat_Values() []string

DashSegmentTemplateFormat_Values returns all elements of the DashSegmentTemplateFormat enum

func DashUtcTimingMode_Values

func DashUtcTimingMode_Values() []string

DashUtcTimingMode_Values returns all elements of the DashUtcTimingMode enum

func DrmSystem_Values

func DrmSystem_Values() []string

DrmSystem_Values returns all elements of the DrmSystem enum

func EndpointErrorCondition_Values

func EndpointErrorCondition_Values() []string

EndpointErrorCondition_Values returns all elements of the EndpointErrorCondition enum

func InputType_Values

func InputType_Values() []string

InputType_Values returns all elements of the InputType enum

func PresetSpeke20Audio_Values

func PresetSpeke20Audio_Values() []string

PresetSpeke20Audio_Values returns all elements of the PresetSpeke20Audio enum

func PresetSpeke20Video_Values

func PresetSpeke20Video_Values() []string

PresetSpeke20Video_Values returns all elements of the PresetSpeke20Video enum

func ResourceTypeNotFound_Values

func ResourceTypeNotFound_Values() []string

ResourceTypeNotFound_Values returns all elements of the ResourceTypeNotFound enum

func ScteFilter_Values

func ScteFilter_Values() []string

ScteFilter_Values returns all elements of the ScteFilter enum

func TsEncryptionMethod_Values

func TsEncryptionMethod_Values() []string

TsEncryptionMethod_Values returns all elements of the TsEncryptionMethod enum

func ValidationExceptionType_Values

func ValidationExceptionType_Values() []string

ValidationExceptionType_Values returns all elements of the ValidationExceptionType enum

type AccessDeniedException

type AccessDeniedException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ChannelGroupListConfiguration

type ChannelGroupListConfiguration struct {

    // The Amazon Resource Name (ARN) associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `type:"string" required:"true"`

    // The date and time the channel group was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `type:"timestamp" required:"true"`

    // Any descriptive information that you want to add to the channel group for
    // future identification purposes.
    Description *string `type:"string"`

    // The date and time the channel group was modified.
    //
    // ModifiedAt is a required field
    ModifiedAt *time.Time `type:"timestamp" required:"true"`
    // contains filtered or unexported fields
}

The configuration of the channel group.

func (ChannelGroupListConfiguration) GoString

func (s ChannelGroupListConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ChannelGroupListConfiguration) SetArn

func (s *ChannelGroupListConfiguration) SetArn(v string) *ChannelGroupListConfiguration

SetArn sets the Arn field's value.

func (*ChannelGroupListConfiguration) SetChannelGroupName

func (s *ChannelGroupListConfiguration) SetChannelGroupName(v string) *ChannelGroupListConfiguration

SetChannelGroupName sets the ChannelGroupName field's value.

func (*ChannelGroupListConfiguration) SetCreatedAt

func (s *ChannelGroupListConfiguration) SetCreatedAt(v time.Time) *ChannelGroupListConfiguration

SetCreatedAt sets the CreatedAt field's value.

func (*ChannelGroupListConfiguration) SetDescription

func (s *ChannelGroupListConfiguration) SetDescription(v string) *ChannelGroupListConfiguration

SetDescription sets the Description field's value.

func (*ChannelGroupListConfiguration) SetModifiedAt

func (s *ChannelGroupListConfiguration) SetModifiedAt(v time.Time) *ChannelGroupListConfiguration

SetModifiedAt sets the ModifiedAt field's value.

func (ChannelGroupListConfiguration) String

func (s ChannelGroupListConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ChannelListConfiguration

type ChannelListConfiguration struct {

    // The Amazon Resource Name (ARN) associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `type:"string" required:"true"`

    // The date and time the channel was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `type:"timestamp" required:"true"`

    // Any descriptive information that you want to add to the channel for future
    // identification purposes.
    Description *string `type:"string"`

    // The input type will be an immutable field which will be used to define whether
    // the channel will allow CMAF ingest or HLS ingest. If unprovided, it will
    // default to HLS to preserve current behavior.
    //
    // The allowed values are:
    //
    //    * HLS - The HLS streaming specification (which defines M3U8 manifests
    //    and TS segments).
    //
    //    * CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments
    //    with optional DASH manifests).
    InputType *string `type:"string" enum:"InputType"`

    // The date and time the channel was modified.
    //
    // ModifiedAt is a required field
    ModifiedAt *time.Time `type:"timestamp" required:"true"`
    // contains filtered or unexported fields
}

The configuration of the channel.

func (ChannelListConfiguration) GoString

func (s ChannelListConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ChannelListConfiguration) SetArn

func (s *ChannelListConfiguration) SetArn(v string) *ChannelListConfiguration

SetArn sets the Arn field's value.

func (*ChannelListConfiguration) SetChannelGroupName

func (s *ChannelListConfiguration) SetChannelGroupName(v string) *ChannelListConfiguration

SetChannelGroupName sets the ChannelGroupName field's value.

func (*ChannelListConfiguration) SetChannelName

func (s *ChannelListConfiguration) SetChannelName(v string) *ChannelListConfiguration

SetChannelName sets the ChannelName field's value.

func (*ChannelListConfiguration) SetCreatedAt

func (s *ChannelListConfiguration) SetCreatedAt(v time.Time) *ChannelListConfiguration

SetCreatedAt sets the CreatedAt field's value.

func (*ChannelListConfiguration) SetDescription

func (s *ChannelListConfiguration) SetDescription(v string) *ChannelListConfiguration

SetDescription sets the Description field's value.

func (*ChannelListConfiguration) SetInputType

func (s *ChannelListConfiguration) SetInputType(v string) *ChannelListConfiguration

SetInputType sets the InputType field's value.

func (*ChannelListConfiguration) SetModifiedAt

func (s *ChannelListConfiguration) SetModifiedAt(v time.Time) *ChannelListConfiguration

SetModifiedAt sets the ModifiedAt field's value.

func (ChannelListConfiguration) String

func (s ChannelListConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

type ConflictException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    // The type of ConflictException.
    ConflictExceptionType *string `type:"string" enum:"ConflictExceptionType"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

Updating or deleting this resource can cause an inconsistent state.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateChannelGroupInput

type CreateChannelGroupInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    // You can't use spaces in the name. You can't change the name after you create
    // the channel group.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `min:"1" type:"string" required:"true"`

    // A unique, case-sensitive token that you provide to ensure the idempotency
    // of the request.
    ClientToken *string `location:"header" locationName:"x-amzn-client-token" min:"1" type:"string" idempotencyToken:"true"`

    // Enter any descriptive text that helps you to identify the channel group.
    Description *string `type:"string"`

    // A comma-separated list of tag key:value pairs that you define. For example:
    //
    // "Key1": "Value1",
    //
    // "Key2": "Value2"
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (CreateChannelGroupInput) GoString

func (s CreateChannelGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateChannelGroupInput) SetChannelGroupName

func (s *CreateChannelGroupInput) SetChannelGroupName(v string) *CreateChannelGroupInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*CreateChannelGroupInput) SetClientToken

func (s *CreateChannelGroupInput) SetClientToken(v string) *CreateChannelGroupInput

SetClientToken sets the ClientToken field's value.

func (*CreateChannelGroupInput) SetDescription

func (s *CreateChannelGroupInput) SetDescription(v string) *CreateChannelGroupInput

SetDescription sets the Description field's value.

func (*CreateChannelGroupInput) SetTags

func (s *CreateChannelGroupInput) SetTags(v map[string]*string) *CreateChannelGroupInput

SetTags sets the Tags field's value.

func (CreateChannelGroupInput) String

func (s CreateChannelGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateChannelGroupInput) Validate

func (s *CreateChannelGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateChannelGroupOutput

type CreateChannelGroupOutput struct {

    // The Amazon Resource Name (ARN) associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `type:"string" required:"true"`

    // The date and time the channel group was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `type:"timestamp" required:"true"`

    // The description for your channel group.
    Description *string `type:"string"`

    // The current Entity Tag (ETag) associated with this resource. The entity tag
    // can be used to safely make concurrent updates to the resource.
    ETag *string `min:"1" type:"string"`

    // The output domain where the source stream should be sent. Integrate the egress
    // domain with a downstream CDN (such as Amazon CloudFront) or playback device.
    //
    // EgressDomain is a required field
    EgressDomain *string `type:"string" required:"true"`

    // The date and time the channel group was modified.
    //
    // ModifiedAt is a required field
    ModifiedAt *time.Time `type:"timestamp" required:"true"`

    // The comma-separated list of tag key:value pairs assigned to the channel group.
    Tags map[string]*string `type:"map"`
    // contains filtered or unexported fields
}

func (CreateChannelGroupOutput) GoString

func (s CreateChannelGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateChannelGroupOutput) SetArn

func (s *CreateChannelGroupOutput) SetArn(v string) *CreateChannelGroupOutput

SetArn sets the Arn field's value.

func (*CreateChannelGroupOutput) SetChannelGroupName

func (s *CreateChannelGroupOutput) SetChannelGroupName(v string) *CreateChannelGroupOutput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*CreateChannelGroupOutput) SetCreatedAt

func (s *CreateChannelGroupOutput) SetCreatedAt(v time.Time) *CreateChannelGroupOutput

SetCreatedAt sets the CreatedAt field's value.

func (*CreateChannelGroupOutput) SetDescription

func (s *CreateChannelGroupOutput) SetDescription(v string) *CreateChannelGroupOutput

SetDescription sets the Description field's value.

func (*CreateChannelGroupOutput) SetETag

func (s *CreateChannelGroupOutput) SetETag(v string) *CreateChannelGroupOutput

SetETag sets the ETag field's value.

func (*CreateChannelGroupOutput) SetEgressDomain

func (s *CreateChannelGroupOutput) SetEgressDomain(v string) *CreateChannelGroupOutput

SetEgressDomain sets the EgressDomain field's value.

func (*CreateChannelGroupOutput) SetModifiedAt

func (s *CreateChannelGroupOutput) SetModifiedAt(v time.Time) *CreateChannelGroupOutput

SetModifiedAt sets the ModifiedAt field's value.

func (*CreateChannelGroupOutput) SetTags

func (s *CreateChannelGroupOutput) SetTags(v map[string]*string) *CreateChannelGroupOutput

SetTags sets the Tags field's value.

func (CreateChannelGroupOutput) String

func (s CreateChannelGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateChannelInput

type CreateChannelInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group. You can't change the name after you create the channel.
    //
    // ChannelName is a required field
    ChannelName *string `min:"1" type:"string" required:"true"`

    // A unique, case-sensitive token that you provide to ensure the idempotency
    // of the request.
    ClientToken *string `location:"header" locationName:"x-amzn-client-token" min:"1" type:"string" idempotencyToken:"true"`

    // Enter any descriptive text that helps you to identify the channel.
    Description *string `type:"string"`

    // The input type will be an immutable field which will be used to define whether
    // the channel will allow CMAF ingest or HLS ingest. If unprovided, it will
    // default to HLS to preserve current behavior.
    //
    // The allowed values are:
    //
    //    * HLS - The HLS streaming specification (which defines M3U8 manifests
    //    and TS segments).
    //
    //    * CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments
    //    with optional DASH manifests).
    InputType *string `type:"string" enum:"InputType"`

    // A comma-separated list of tag key:value pairs that you define. For example:
    //
    // "Key1": "Value1",
    //
    // "Key2": "Value2"
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (CreateChannelInput) GoString

func (s CreateChannelInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateChannelInput) SetChannelGroupName

func (s *CreateChannelInput) SetChannelGroupName(v string) *CreateChannelInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*CreateChannelInput) SetChannelName

func (s *CreateChannelInput) SetChannelName(v string) *CreateChannelInput

SetChannelName sets the ChannelName field's value.

func (*CreateChannelInput) SetClientToken

func (s *CreateChannelInput) SetClientToken(v string) *CreateChannelInput

SetClientToken sets the ClientToken field's value.

func (*CreateChannelInput) SetDescription

func (s *CreateChannelInput) SetDescription(v string) *CreateChannelInput

SetDescription sets the Description field's value.

func (*CreateChannelInput) SetInputType

func (s *CreateChannelInput) SetInputType(v string) *CreateChannelInput

SetInputType sets the InputType field's value.

func (*CreateChannelInput) SetTags

func (s *CreateChannelInput) SetTags(v map[string]*string) *CreateChannelInput

SetTags sets the Tags field's value.

func (CreateChannelInput) String

func (s CreateChannelInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*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 {

    // The Amazon Resource Name (ARN) associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `type:"string" required:"true"`

    // The date and time the channel was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `type:"timestamp" required:"true"`

    // The description for your channel.
    Description *string `type:"string"`

    // The current Entity Tag (ETag) associated with this resource. The entity tag
    // can be used to safely make concurrent updates to the resource.
    ETag *string `min:"1" type:"string"`

    // The list of ingest endpoints.
    IngestEndpoints []*IngestEndpoint `type:"list"`

    // The input type will be an immutable field which will be used to define whether
    // the channel will allow CMAF ingest or HLS ingest. If unprovided, it will
    // default to HLS to preserve current behavior.
    //
    // The allowed values are:
    //
    //    * HLS - The HLS streaming specification (which defines M3U8 manifests
    //    and TS segments).
    //
    //    * CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments
    //    with optional DASH manifests).
    InputType *string `type:"string" enum:"InputType"`

    // The date and time the channel was modified.
    //
    // ModifiedAt is a required field
    ModifiedAt *time.Time `type:"timestamp" required:"true"`

    // The comma-separated list of tag key:value pairs assigned to the channel.
    Tags map[string]*string `type:"map"`
    // contains filtered or unexported fields
}

func (CreateChannelOutput) GoString

func (s CreateChannelOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateChannelOutput) SetArn

func (s *CreateChannelOutput) SetArn(v string) *CreateChannelOutput

SetArn sets the Arn field's value.

func (*CreateChannelOutput) SetChannelGroupName

func (s *CreateChannelOutput) SetChannelGroupName(v string) *CreateChannelOutput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*CreateChannelOutput) SetChannelName

func (s *CreateChannelOutput) SetChannelName(v string) *CreateChannelOutput

SetChannelName sets the ChannelName field's value.

func (*CreateChannelOutput) SetCreatedAt

func (s *CreateChannelOutput) SetCreatedAt(v time.Time) *CreateChannelOutput

SetCreatedAt sets the CreatedAt field's value.

func (*CreateChannelOutput) SetDescription

func (s *CreateChannelOutput) SetDescription(v string) *CreateChannelOutput

SetDescription sets the Description field's value.

func (*CreateChannelOutput) SetETag

func (s *CreateChannelOutput) SetETag(v string) *CreateChannelOutput

SetETag sets the ETag field's value.

func (*CreateChannelOutput) SetIngestEndpoints

func (s *CreateChannelOutput) SetIngestEndpoints(v []*IngestEndpoint) *CreateChannelOutput

SetIngestEndpoints sets the IngestEndpoints field's value.

func (*CreateChannelOutput) SetInputType

func (s *CreateChannelOutput) SetInputType(v string) *CreateChannelOutput

SetInputType sets the InputType field's value.

func (*CreateChannelOutput) SetModifiedAt

func (s *CreateChannelOutput) SetModifiedAt(v time.Time) *CreateChannelOutput

SetModifiedAt sets the ModifiedAt field's value.

func (*CreateChannelOutput) SetTags

func (s *CreateChannelOutput) SetTags(v map[string]*string) *CreateChannelOutput

SetTags sets the Tags field's value.

func (CreateChannelOutput) String

func (s CreateChannelOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateDashManifestConfiguration

type CreateDashManifestConfiguration struct {

    // Determines how the DASH manifest signals the DRM content.
    DrmSignaling *string `type:"string" enum:"DashDrmSignaling"`

    // Filter configuration includes settings for manifest filtering, start and
    // end times, and time delay that apply to all of your egress requests for this
    // manifest.
    FilterConfiguration *FilterConfiguration `type:"structure"`

    // A short string that's appended to the endpoint URL. The child manifest name
    // creates a unique path to this endpoint.
    //
    // ManifestName is a required field
    ManifestName *string `min:"1" type:"string" required:"true"`

    // The total duration (in seconds) of the manifest's content.
    ManifestWindowSeconds *int64 `min:"30" type:"integer"`

    // Minimum amount of content (in seconds) that a player must keep available
    // in the buffer.
    MinBufferTimeSeconds *int64 `type:"integer"`

    // Minimum amount of time (in seconds) that the player should wait before requesting
    // updates to the manifest.
    MinUpdatePeriodSeconds *int64 `min:"1" type:"integer"`

    // A list of triggers that controls when AWS Elemental MediaPackage separates
    // the MPEG-DASH manifest into multiple periods. Type ADS to indicate that AWS
    // Elemental MediaPackage must create periods in the output manifest that correspond
    // to SCTE-35 ad markers in the input source. Leave this value empty to indicate
    // that the manifest is contained all in one period. For more information about
    // periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage
    // (https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html).
    PeriodTriggers []*string `type:"list" enum:"DashPeriodTrigger"`

    // The SCTE configuration.
    ScteDash *ScteDash `type:"structure"`

    // Determines the type of variable used in the media URL of the SegmentTemplate
    // tag in the manifest. Also specifies if segment timeline information is included
    // in SegmentTimeline or SegmentTemplate.
    //
    // Value description:
    //
    //    * NUMBER_WITH_TIMELINE - The $Number$ variable is used in the media URL.
    //    The value of this variable is the sequential number of the segment. A
    //    full SegmentTimeline object is presented in each SegmentTemplate.
    SegmentTemplateFormat *string `type:"string" enum:"DashSegmentTemplateFormat"`

    // The amount of time (in seconds) that the player should be from the end of
    // the manifest.
    SuggestedPresentationDelaySeconds *int64 `type:"integer"`

    // Determines the type of UTC timing included in the DASH Media Presentation
    // Description (MPD).
    UtcTiming *DashUtcTiming `type:"structure"`
    // contains filtered or unexported fields
}

Create a DASH manifest configuration.

func (CreateDashManifestConfiguration) GoString

func (s CreateDashManifestConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDashManifestConfiguration) SetDrmSignaling

func (s *CreateDashManifestConfiguration) SetDrmSignaling(v string) *CreateDashManifestConfiguration

SetDrmSignaling sets the DrmSignaling field's value.

func (*CreateDashManifestConfiguration) SetFilterConfiguration

func (s *CreateDashManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *CreateDashManifestConfiguration

SetFilterConfiguration sets the FilterConfiguration field's value.

func (*CreateDashManifestConfiguration) SetManifestName

func (s *CreateDashManifestConfiguration) SetManifestName(v string) *CreateDashManifestConfiguration

SetManifestName sets the ManifestName field's value.

func (*CreateDashManifestConfiguration) SetManifestWindowSeconds

func (s *CreateDashManifestConfiguration) SetManifestWindowSeconds(v int64) *CreateDashManifestConfiguration

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (*CreateDashManifestConfiguration) SetMinBufferTimeSeconds

func (s *CreateDashManifestConfiguration) SetMinBufferTimeSeconds(v int64) *CreateDashManifestConfiguration

SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value.

func (*CreateDashManifestConfiguration) SetMinUpdatePeriodSeconds

func (s *CreateDashManifestConfiguration) SetMinUpdatePeriodSeconds(v int64) *CreateDashManifestConfiguration

SetMinUpdatePeriodSeconds sets the MinUpdatePeriodSeconds field's value.

func (*CreateDashManifestConfiguration) SetPeriodTriggers

func (s *CreateDashManifestConfiguration) SetPeriodTriggers(v []*string) *CreateDashManifestConfiguration

SetPeriodTriggers sets the PeriodTriggers field's value.

func (*CreateDashManifestConfiguration) SetScteDash

func (s *CreateDashManifestConfiguration) SetScteDash(v *ScteDash) *CreateDashManifestConfiguration

SetScteDash sets the ScteDash field's value.

func (*CreateDashManifestConfiguration) SetSegmentTemplateFormat

func (s *CreateDashManifestConfiguration) SetSegmentTemplateFormat(v string) *CreateDashManifestConfiguration

SetSegmentTemplateFormat sets the SegmentTemplateFormat field's value.

func (*CreateDashManifestConfiguration) SetSuggestedPresentationDelaySeconds

func (s *CreateDashManifestConfiguration) SetSuggestedPresentationDelaySeconds(v int64) *CreateDashManifestConfiguration

SetSuggestedPresentationDelaySeconds sets the SuggestedPresentationDelaySeconds field's value.

func (*CreateDashManifestConfiguration) SetUtcTiming

func (s *CreateDashManifestConfiguration) SetUtcTiming(v *DashUtcTiming) *CreateDashManifestConfiguration

SetUtcTiming sets the UtcTiming field's value.

func (CreateDashManifestConfiguration) String

func (s CreateDashManifestConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateDashManifestConfiguration) Validate

func (s *CreateDashManifestConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateHlsManifestConfiguration

type CreateHlsManifestConfiguration struct {

    // A short string that's appended to the endpoint URL. The child manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default manifest name, index, with an added suffix to distinguish
    // it from the manifest name. The manifestName on the HLSManifest object overrides
    // the manifestName you provided on the originEndpoint object.
    ChildManifestName *string `min:"1" type:"string"`

    // Filter configuration includes settings for manifest filtering, start and
    // end times, and time delay that apply to all of your egress requests for this
    // manifest.
    FilterConfiguration *FilterConfiguration `type:"structure"`

    // A short short string that's appended to the endpoint URL. The manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default manifest name, index. MediaPackage automatically inserts
    // the format extension, such as .m3u8. You can't use the same manifest name
    // if you use HLS manifest and low-latency HLS manifest. The manifestName on
    // the HLSManifest object overrides the manifestName you provided on the originEndpoint
    // object.
    //
    // ManifestName is a required field
    ManifestName *string `min:"1" type:"string" required:"true"`

    // The total duration (in seconds) of the manifest's content.
    ManifestWindowSeconds *int64 `min:"30" type:"integer"`

    // Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval
    // that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME
    // tags aren't included in the manifest. The tags sync the stream to the wall
    // clock so that viewers can seek to a specific time in the playback timeline
    // on the player. ID3Timed metadata messages generate every 5 seconds whenever
    // the content is ingested.
    //
    // Irrespective of this parameter, if any ID3Timed metadata is in the HLS input,
    // it is passed through to the HLS output.
    ProgramDateTimeIntervalSeconds *int64 `min:"1" type:"integer"`

    // The SCTE configuration.
    ScteHls *ScteHls `type:"structure"`
    // contains filtered or unexported fields
}

Create an HTTP live streaming (HLS) manifest configuration.

func (CreateHlsManifestConfiguration) GoString

func (s CreateHlsManifestConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateHlsManifestConfiguration) SetChildManifestName

func (s *CreateHlsManifestConfiguration) SetChildManifestName(v string) *CreateHlsManifestConfiguration

SetChildManifestName sets the ChildManifestName field's value.

func (*CreateHlsManifestConfiguration) SetFilterConfiguration

func (s *CreateHlsManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *CreateHlsManifestConfiguration

SetFilterConfiguration sets the FilterConfiguration field's value.

func (*CreateHlsManifestConfiguration) SetManifestName

func (s *CreateHlsManifestConfiguration) SetManifestName(v string) *CreateHlsManifestConfiguration

SetManifestName sets the ManifestName field's value.

func (*CreateHlsManifestConfiguration) SetManifestWindowSeconds

func (s *CreateHlsManifestConfiguration) SetManifestWindowSeconds(v int64) *CreateHlsManifestConfiguration

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (*CreateHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds

func (s *CreateHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds(v int64) *CreateHlsManifestConfiguration

SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.

func (*CreateHlsManifestConfiguration) SetScteHls

func (s *CreateHlsManifestConfiguration) SetScteHls(v *ScteHls) *CreateHlsManifestConfiguration

SetScteHls sets the ScteHls field's value.

func (CreateHlsManifestConfiguration) String

func (s CreateHlsManifestConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateHlsManifestConfiguration) Validate

func (s *CreateHlsManifestConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateLowLatencyHlsManifestConfiguration

type CreateLowLatencyHlsManifestConfiguration struct {

    // A short string that's appended to the endpoint URL. The child manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default manifest name, index, with an added suffix to distinguish
    // it from the manifest name. The manifestName on the HLSManifest object overrides
    // the manifestName you provided on the originEndpoint object.
    ChildManifestName *string `min:"1" type:"string"`

    // Filter configuration includes settings for manifest filtering, start and
    // end times, and time delay that apply to all of your egress requests for this
    // manifest.
    FilterConfiguration *FilterConfiguration `type:"structure"`

    // A short short string that's appended to the endpoint URL. The manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default manifest name, index. MediaPackage automatically inserts
    // the format extension, such as .m3u8. You can't use the same manifest name
    // if you use HLS manifest and low-latency HLS manifest. The manifestName on
    // the HLSManifest object overrides the manifestName you provided on the originEndpoint
    // object.
    //
    // ManifestName is a required field
    ManifestName *string `min:"1" type:"string" required:"true"`

    // The total duration (in seconds) of the manifest's content.
    ManifestWindowSeconds *int64 `min:"30" type:"integer"`

    // Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval
    // that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME
    // tags aren't included in the manifest. The tags sync the stream to the wall
    // clock so that viewers can seek to a specific time in the playback timeline
    // on the player. ID3Timed metadata messages generate every 5 seconds whenever
    // the content is ingested.
    //
    // Irrespective of this parameter, if any ID3Timed metadata is in the HLS input,
    // it is passed through to the HLS output.
    ProgramDateTimeIntervalSeconds *int64 `min:"1" type:"integer"`

    // The SCTE configuration.
    ScteHls *ScteHls `type:"structure"`
    // contains filtered or unexported fields
}

Create a low-latency HTTP live streaming (HLS) manifest configuration.

func (CreateLowLatencyHlsManifestConfiguration) GoString

func (s CreateLowLatencyHlsManifestConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateLowLatencyHlsManifestConfiguration) SetChildManifestName

func (s *CreateLowLatencyHlsManifestConfiguration) SetChildManifestName(v string) *CreateLowLatencyHlsManifestConfiguration

SetChildManifestName sets the ChildManifestName field's value.

func (*CreateLowLatencyHlsManifestConfiguration) SetFilterConfiguration

func (s *CreateLowLatencyHlsManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *CreateLowLatencyHlsManifestConfiguration

SetFilterConfiguration sets the FilterConfiguration field's value.

func (*CreateLowLatencyHlsManifestConfiguration) SetManifestName

func (s *CreateLowLatencyHlsManifestConfiguration) SetManifestName(v string) *CreateLowLatencyHlsManifestConfiguration

SetManifestName sets the ManifestName field's value.

func (*CreateLowLatencyHlsManifestConfiguration) SetManifestWindowSeconds

func (s *CreateLowLatencyHlsManifestConfiguration) SetManifestWindowSeconds(v int64) *CreateLowLatencyHlsManifestConfiguration

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (*CreateLowLatencyHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds

func (s *CreateLowLatencyHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds(v int64) *CreateLowLatencyHlsManifestConfiguration

SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.

func (*CreateLowLatencyHlsManifestConfiguration) SetScteHls

func (s *CreateLowLatencyHlsManifestConfiguration) SetScteHls(v *ScteHls) *CreateLowLatencyHlsManifestConfiguration

SetScteHls sets the ScteHls field's value.

func (CreateLowLatencyHlsManifestConfiguration) String

func (s CreateLowLatencyHlsManifestConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateLowLatencyHlsManifestConfiguration) Validate

func (s *CreateLowLatencyHlsManifestConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateOriginEndpointInput

type CreateOriginEndpointInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`

    // A unique, case-sensitive token that you provide to ensure the idempotency
    // of the request.
    ClientToken *string `location:"header" locationName:"x-amzn-client-token" min:"1" type:"string" idempotencyToken:"true"`

    // The type of container to attach to this origin endpoint. A container type
    // is a file format that encapsulates one or more media streams, such as audio
    // and video, into a single file. You can't change the container type after
    // you create the endpoint.
    //
    // ContainerType is a required field
    ContainerType *string `type:"string" required:"true" enum:"ContainerType"`

    // A DASH manifest configuration.
    DashManifests []*CreateDashManifestConfiguration `type:"list"`

    // Enter any descriptive text that helps you to identify the origin endpoint.
    Description *string `type:"string"`

    // The failover settings for the endpoint.
    ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"`

    // An HTTP live streaming (HLS) manifest configuration.
    HlsManifests []*CreateHlsManifestConfiguration `type:"list"`

    // A low-latency HLS manifest configuration.
    LowLatencyHlsManifests []*CreateLowLatencyHlsManifestConfiguration `type:"list"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and must be unique for your account in the AWS Region
    // and channel. You can't use spaces in the name. You can't change the name
    // after you create the endpoint.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `min:"1" type:"string" required:"true"`

    // The segment configuration, including the segment name, duration, and other
    // configuration values.
    Segment *Segment `type:"structure"`

    // The size of the window (in seconds) to create a window of the live stream
    // that's available for on-demand viewing. Viewers can start-over or catch-up
    // on content that falls within the window. The maximum startover window is
    // 1,209,600 seconds (14 days).
    StartoverWindowSeconds *int64 `min:"60" type:"integer"`

    // A comma-separated list of tag key:value pairs that you define. For example:
    //
    // "Key1": "Value1",
    //
    // "Key2": "Value2"
    Tags map[string]*string `type:"map"`
    // contains filtered or unexported fields
}

func (CreateOriginEndpointInput) GoString

func (s CreateOriginEndpointInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateOriginEndpointInput) SetChannelGroupName

func (s *CreateOriginEndpointInput) SetChannelGroupName(v string) *CreateOriginEndpointInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*CreateOriginEndpointInput) SetChannelName

func (s *CreateOriginEndpointInput) SetChannelName(v string) *CreateOriginEndpointInput

SetChannelName sets the ChannelName field's value.

func (*CreateOriginEndpointInput) SetClientToken

func (s *CreateOriginEndpointInput) SetClientToken(v string) *CreateOriginEndpointInput

SetClientToken sets the ClientToken field's value.

func (*CreateOriginEndpointInput) SetContainerType

func (s *CreateOriginEndpointInput) SetContainerType(v string) *CreateOriginEndpointInput

SetContainerType sets the ContainerType field's value.

func (*CreateOriginEndpointInput) SetDashManifests

func (s *CreateOriginEndpointInput) SetDashManifests(v []*CreateDashManifestConfiguration) *CreateOriginEndpointInput

SetDashManifests sets the DashManifests field's value.

func (*CreateOriginEndpointInput) SetDescription

func (s *CreateOriginEndpointInput) SetDescription(v string) *CreateOriginEndpointInput

SetDescription sets the Description field's value.

func (*CreateOriginEndpointInput) SetForceEndpointErrorConfiguration

func (s *CreateOriginEndpointInput) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *CreateOriginEndpointInput

SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.

func (*CreateOriginEndpointInput) SetHlsManifests

func (s *CreateOriginEndpointInput) SetHlsManifests(v []*CreateHlsManifestConfiguration) *CreateOriginEndpointInput

SetHlsManifests sets the HlsManifests field's value.

func (*CreateOriginEndpointInput) SetLowLatencyHlsManifests

func (s *CreateOriginEndpointInput) SetLowLatencyHlsManifests(v []*CreateLowLatencyHlsManifestConfiguration) *CreateOriginEndpointInput

SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.

func (*CreateOriginEndpointInput) SetOriginEndpointName

func (s *CreateOriginEndpointInput) SetOriginEndpointName(v string) *CreateOriginEndpointInput

SetOriginEndpointName sets the OriginEndpointName field's value.

func (*CreateOriginEndpointInput) SetSegment

func (s *CreateOriginEndpointInput) SetSegment(v *Segment) *CreateOriginEndpointInput

SetSegment sets the Segment field's value.

func (*CreateOriginEndpointInput) SetStartoverWindowSeconds

func (s *CreateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointInput

SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.

func (*CreateOriginEndpointInput) SetTags

func (s *CreateOriginEndpointInput) SetTags(v map[string]*string) *CreateOriginEndpointInput

SetTags sets the Tags field's value.

func (CreateOriginEndpointInput) String

func (s CreateOriginEndpointInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*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 {

    // The Amazon Resource Name (ARN) associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `min:"1" type:"string" required:"true"`

    // The type of container attached to this origin endpoint.
    //
    // ContainerType is a required field
    ContainerType *string `type:"string" required:"true" enum:"ContainerType"`

    // The date and time the origin endpoint was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `type:"timestamp" required:"true"`

    // A DASH manifest configuration.
    DashManifests []*GetDashManifestConfiguration `type:"list"`

    // The description for your origin endpoint.
    Description *string `type:"string"`

    // The current Entity Tag (ETag) associated with this resource. The entity tag
    // can be used to safely make concurrent updates to the resource.
    ETag *string `min:"1" type:"string"`

    // The failover settings for the endpoint.
    ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"`

    // An HTTP live streaming (HLS) manifest configuration.
    HlsManifests []*GetHlsManifestConfiguration `type:"list"`

    // A low-latency HLS manifest configuration.
    LowLatencyHlsManifests []*GetLowLatencyHlsManifestConfiguration `type:"list"`

    // The date and time the origin endpoint was modified.
    //
    // ModifiedAt is a required field
    ModifiedAt *time.Time `type:"timestamp" required:"true"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and and must be unique for your account in the AWS
    // Region and channel.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `min:"1" type:"string" required:"true"`

    // The segment configuration, including the segment name, duration, and other
    // configuration values.
    //
    // Segment is a required field
    Segment *Segment `type:"structure" required:"true"`

    // The size of the window (in seconds) to create a window of the live stream
    // that's available for on-demand viewing. Viewers can start-over or catch-up
    // on content that falls within the window.
    StartoverWindowSeconds *int64 `type:"integer"`

    // The comma-separated list of tag key:value pairs assigned to the origin endpoint.
    Tags map[string]*string `type:"map"`
    // contains filtered or unexported fields
}

func (CreateOriginEndpointOutput) GoString

func (s CreateOriginEndpointOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateOriginEndpointOutput) SetArn

func (s *CreateOriginEndpointOutput) SetArn(v string) *CreateOriginEndpointOutput

SetArn sets the Arn field's value.

func (*CreateOriginEndpointOutput) SetChannelGroupName

func (s *CreateOriginEndpointOutput) SetChannelGroupName(v string) *CreateOriginEndpointOutput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*CreateOriginEndpointOutput) SetChannelName

func (s *CreateOriginEndpointOutput) SetChannelName(v string) *CreateOriginEndpointOutput

SetChannelName sets the ChannelName field's value.

func (*CreateOriginEndpointOutput) SetContainerType

func (s *CreateOriginEndpointOutput) SetContainerType(v string) *CreateOriginEndpointOutput

SetContainerType sets the ContainerType field's value.

func (*CreateOriginEndpointOutput) SetCreatedAt

func (s *CreateOriginEndpointOutput) SetCreatedAt(v time.Time) *CreateOriginEndpointOutput

SetCreatedAt sets the CreatedAt field's value.

func (*CreateOriginEndpointOutput) SetDashManifests

func (s *CreateOriginEndpointOutput) SetDashManifests(v []*GetDashManifestConfiguration) *CreateOriginEndpointOutput

SetDashManifests sets the DashManifests field's value.

func (*CreateOriginEndpointOutput) SetDescription

func (s *CreateOriginEndpointOutput) SetDescription(v string) *CreateOriginEndpointOutput

SetDescription sets the Description field's value.

func (*CreateOriginEndpointOutput) SetETag

func (s *CreateOriginEndpointOutput) SetETag(v string) *CreateOriginEndpointOutput

SetETag sets the ETag field's value.

func (*CreateOriginEndpointOutput) SetForceEndpointErrorConfiguration

func (s *CreateOriginEndpointOutput) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *CreateOriginEndpointOutput

SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.

func (*CreateOriginEndpointOutput) SetHlsManifests

func (s *CreateOriginEndpointOutput) SetHlsManifests(v []*GetHlsManifestConfiguration) *CreateOriginEndpointOutput

SetHlsManifests sets the HlsManifests field's value.

func (*CreateOriginEndpointOutput) SetLowLatencyHlsManifests

func (s *CreateOriginEndpointOutput) SetLowLatencyHlsManifests(v []*GetLowLatencyHlsManifestConfiguration) *CreateOriginEndpointOutput

SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.

func (*CreateOriginEndpointOutput) SetModifiedAt

func (s *CreateOriginEndpointOutput) SetModifiedAt(v time.Time) *CreateOriginEndpointOutput

SetModifiedAt sets the ModifiedAt field's value.

func (*CreateOriginEndpointOutput) SetOriginEndpointName

func (s *CreateOriginEndpointOutput) SetOriginEndpointName(v string) *CreateOriginEndpointOutput

SetOriginEndpointName sets the OriginEndpointName field's value.

func (*CreateOriginEndpointOutput) SetSegment

func (s *CreateOriginEndpointOutput) SetSegment(v *Segment) *CreateOriginEndpointOutput

SetSegment sets the Segment field's value.

func (*CreateOriginEndpointOutput) SetStartoverWindowSeconds

func (s *CreateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointOutput

SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.

func (*CreateOriginEndpointOutput) SetTags

func (s *CreateOriginEndpointOutput) SetTags(v map[string]*string) *CreateOriginEndpointOutput

SetTags sets the Tags field's value.

func (CreateOriginEndpointOutput) String

func (s CreateOriginEndpointOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DashUtcTiming

type DashUtcTiming struct {

    // The UTC timing mode.
    TimingMode *string `type:"string" enum:"DashUtcTimingMode"`

    // The the method that the player uses to synchronize to coordinated universal
    // time (UTC) wall clock time.
    TimingSource *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).

func (DashUtcTiming) GoString

func (s DashUtcTiming) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DashUtcTiming) SetTimingMode

func (s *DashUtcTiming) SetTimingMode(v string) *DashUtcTiming

SetTimingMode sets the TimingMode field's value.

func (*DashUtcTiming) SetTimingSource

func (s *DashUtcTiming) SetTimingSource(v string) *DashUtcTiming

SetTimingSource sets the TimingSource field's value.

func (DashUtcTiming) String

func (s DashUtcTiming) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DashUtcTiming) Validate

func (s *DashUtcTiming) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteChannelGroupInput

type DeleteChannelGroupInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteChannelGroupInput) GoString

func (s DeleteChannelGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteChannelGroupInput) SetChannelGroupName

func (s *DeleteChannelGroupInput) SetChannelGroupName(v string) *DeleteChannelGroupInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (DeleteChannelGroupInput) String

func (s DeleteChannelGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteChannelGroupInput) Validate

func (s *DeleteChannelGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteChannelGroupOutput

type DeleteChannelGroupOutput struct {
    // contains filtered or unexported fields
}

func (DeleteChannelGroupOutput) GoString

func (s DeleteChannelGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteChannelGroupOutput) String

func (s DeleteChannelGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteChannelInput

type DeleteChannelInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteChannelInput) GoString

func (s DeleteChannelInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteChannelInput) SetChannelGroupName

func (s *DeleteChannelInput) SetChannelGroupName(v string) *DeleteChannelInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*DeleteChannelInput) SetChannelName

func (s *DeleteChannelInput) SetChannelName(v string) *DeleteChannelInput

SetChannelName sets the ChannelName field's value.

func (DeleteChannelInput) String

func (s DeleteChannelInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteChannelInput) Validate

func (s *DeleteChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteChannelOutput

type DeleteChannelOutput struct {
    // contains filtered or unexported fields
}

func (DeleteChannelOutput) GoString

func (s DeleteChannelOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteChannelOutput) String

func (s DeleteChannelOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteChannelPolicyInput

type DeleteChannelPolicyInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteChannelPolicyInput) GoString

func (s DeleteChannelPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteChannelPolicyInput) SetChannelGroupName

func (s *DeleteChannelPolicyInput) SetChannelGroupName(v string) *DeleteChannelPolicyInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*DeleteChannelPolicyInput) SetChannelName

func (s *DeleteChannelPolicyInput) SetChannelName(v string) *DeleteChannelPolicyInput

SetChannelName sets the ChannelName field's value.

func (DeleteChannelPolicyInput) String

func (s DeleteChannelPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteChannelPolicyInput) Validate

func (s *DeleteChannelPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteChannelPolicyOutput

type DeleteChannelPolicyOutput struct {
    // contains filtered or unexported fields
}

func (DeleteChannelPolicyOutput) GoString

func (s DeleteChannelPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteChannelPolicyOutput) String

func (s DeleteChannelPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteOriginEndpointInput

type DeleteOriginEndpointInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and and must be unique for your account in the AWS
    // Region and channel.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteOriginEndpointInput) GoString

func (s DeleteOriginEndpointInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOriginEndpointInput) SetChannelGroupName

func (s *DeleteOriginEndpointInput) SetChannelGroupName(v string) *DeleteOriginEndpointInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*DeleteOriginEndpointInput) SetChannelName

func (s *DeleteOriginEndpointInput) SetChannelName(v string) *DeleteOriginEndpointInput

SetChannelName sets the ChannelName field's value.

func (*DeleteOriginEndpointInput) SetOriginEndpointName

func (s *DeleteOriginEndpointInput) SetOriginEndpointName(v string) *DeleteOriginEndpointInput

SetOriginEndpointName sets the OriginEndpointName field's value.

func (DeleteOriginEndpointInput) String

func (s DeleteOriginEndpointInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOriginEndpointInput) Validate

func (s *DeleteOriginEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteOriginEndpointOutput

type DeleteOriginEndpointOutput struct {
    // contains filtered or unexported fields
}

func (DeleteOriginEndpointOutput) GoString

func (s DeleteOriginEndpointOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteOriginEndpointOutput) String

func (s DeleteOriginEndpointOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteOriginEndpointPolicyInput

type DeleteOriginEndpointPolicyInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and and must be unique for your account in the AWS
    // Region and channel.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteOriginEndpointPolicyInput) GoString

func (s DeleteOriginEndpointPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOriginEndpointPolicyInput) SetChannelGroupName

func (s *DeleteOriginEndpointPolicyInput) SetChannelGroupName(v string) *DeleteOriginEndpointPolicyInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*DeleteOriginEndpointPolicyInput) SetChannelName

func (s *DeleteOriginEndpointPolicyInput) SetChannelName(v string) *DeleteOriginEndpointPolicyInput

SetChannelName sets the ChannelName field's value.

func (*DeleteOriginEndpointPolicyInput) SetOriginEndpointName

func (s *DeleteOriginEndpointPolicyInput) SetOriginEndpointName(v string) *DeleteOriginEndpointPolicyInput

SetOriginEndpointName sets the OriginEndpointName field's value.

func (DeleteOriginEndpointPolicyInput) String

func (s DeleteOriginEndpointPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteOriginEndpointPolicyInput) Validate

func (s *DeleteOriginEndpointPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteOriginEndpointPolicyOutput

type DeleteOriginEndpointPolicyOutput struct {
    // contains filtered or unexported fields
}

func (DeleteOriginEndpointPolicyOutput) GoString

func (s DeleteOriginEndpointPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteOriginEndpointPolicyOutput) String

func (s DeleteOriginEndpointPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Encryption

type Encryption struct {

    // A 128-bit, 16-byte hex value represented by a 32-character string, used in
    // conjunction with the key for encrypting content. If you don't specify a value,
    // then MediaPackage creates the constant initialization vector (IV).
    ConstantInitializationVector *string `min:"32" type:"string"`

    // The encryption method to use.
    //
    // EncryptionMethod is a required field
    EncryptionMethod *EncryptionMethod `type:"structure" required:"true"`

    // The frequency (in seconds) of key changes for live workflows, in which content
    // is streamed real time. The service retrieves content keys before the live
    // content begins streaming, and then retrieves them as needed over the lifetime
    // of the workflow. By default, key rotation is set to 300 seconds (5 minutes),
    // the minimum rotation interval, which is equivalent to setting it to 300.
    // If you don't enter an interval, content keys aren't rotated.
    //
    // The following example setting causes the service to rotate keys every thirty
    // minutes: 1800
    KeyRotationIntervalSeconds *int64 `min:"300" type:"integer"`

    // The parameters for the SPEKE key provider.
    //
    // SpekeKeyProvider is a required field
    SpekeKeyProvider *SpekeKeyProvider `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

The parameters for encrypting content.

func (Encryption) GoString

func (s Encryption) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Encryption) SetConstantInitializationVector

func (s *Encryption) SetConstantInitializationVector(v string) *Encryption

SetConstantInitializationVector sets the ConstantInitializationVector field's value.

func (*Encryption) SetEncryptionMethod

func (s *Encryption) SetEncryptionMethod(v *EncryptionMethod) *Encryption

SetEncryptionMethod sets the EncryptionMethod field's value.

func (*Encryption) SetKeyRotationIntervalSeconds

func (s *Encryption) SetKeyRotationIntervalSeconds(v int64) *Encryption

SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value.

func (*Encryption) SetSpekeKeyProvider

func (s *Encryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *Encryption

SetSpekeKeyProvider sets the SpekeKeyProvider field's value.

func (Encryption) String

func (s Encryption) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Encryption) Validate

func (s *Encryption) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EncryptionContractConfiguration

type EncryptionContractConfiguration struct {

    // A collection of audio encryption presets.
    //
    // Value description:
    //
    //    * PRESET-AUDIO-1 - Use one content key to encrypt all of the audio tracks
    //    in your stream.
    //
    //    * PRESET-AUDIO-2 - Use one content key to encrypt all of the stereo audio
    //    tracks and one content key to encrypt all of the multichannel audio tracks.
    //
    //    * PRESET-AUDIO-3 - Use one content key to encrypt all of the stereo audio
    //    tracks, one content key to encrypt all of the multichannel audio tracks
    //    with 3 to 6 channels, and one content key to encrypt all of the multichannel
    //    audio tracks with more than 6 channels.
    //
    //    * SHARED - Use the same content key for all of the audio and video tracks
    //    in your stream.
    //
    //    * UNENCRYPTED - Don't encrypt any of the audio tracks in your stream.
    //
    // PresetSpeke20Audio is a required field
    PresetSpeke20Audio *string `type:"string" required:"true" enum:"PresetSpeke20Audio"`

    // A collection of video encryption presets.
    //
    // Value description:
    //
    //    * PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks
    //    in your stream.
    //
    //    * PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video
    //    tracks and one content key for all HD and higher resolutions video tracks.
    //
    //    * PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video
    //    tracks, one content key for HD video tracks and one content key for all
    //    UHD video tracks.
    //
    //    * PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video
    //    tracks, one content key for HD video tracks, one content key for all UHD1
    //    video tracks and one content key for all UHD2 video tracks.
    //
    //    * PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video
    //    tracks, one content key for HD1 video tracks, one content key for HD2
    //    video tracks, one content key for all UHD1 video tracks and one content
    //    key for all UHD2 video tracks.
    //
    //    * PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video
    //    tracks, one content key for HD1 video tracks, one content key for HD2
    //    video tracks and one content key for all UHD video tracks.
    //
    //    * PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video
    //    tracks, one content key for HD2 video tracks and one content key for all
    //    UHD video tracks.
    //
    //    * PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video
    //    tracks, one content key for HD2 video tracks, one content key for all
    //    UHD1 video tracks and one content key for all UHD2 video tracks.
    //
    //    * SHARED - Use the same content key for all of the video and audio tracks
    //    in your stream.
    //
    //    * UNENCRYPTED - Don't encrypt any of the video tracks in your stream.
    //
    // PresetSpeke20Video is a required field
    PresetSpeke20Video *string `type:"string" required:"true" enum:"PresetSpeke20Video"`
    // contains filtered or unexported fields
}

Configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.

func (EncryptionContractConfiguration) GoString

func (s EncryptionContractConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EncryptionContractConfiguration) SetPresetSpeke20Audio

func (s *EncryptionContractConfiguration) SetPresetSpeke20Audio(v string) *EncryptionContractConfiguration

SetPresetSpeke20Audio sets the PresetSpeke20Audio field's value.

func (*EncryptionContractConfiguration) SetPresetSpeke20Video

func (s *EncryptionContractConfiguration) SetPresetSpeke20Video(v string) *EncryptionContractConfiguration

SetPresetSpeke20Video sets the PresetSpeke20Video field's value.

func (EncryptionContractConfiguration) String

func (s EncryptionContractConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EncryptionContractConfiguration) Validate

func (s *EncryptionContractConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EncryptionMethod

type EncryptionMethod struct {

    // The encryption method to use.
    CmafEncryptionMethod *string `type:"string" enum:"CmafEncryptionMethod"`

    // The encryption method to use.
    TsEncryptionMethod *string `type:"string" enum:"TsEncryptionMethod"`
    // contains filtered or unexported fields
}

The encryption type.

func (EncryptionMethod) GoString

func (s EncryptionMethod) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EncryptionMethod) SetCmafEncryptionMethod

func (s *EncryptionMethod) SetCmafEncryptionMethod(v string) *EncryptionMethod

SetCmafEncryptionMethod sets the CmafEncryptionMethod field's value.

func (*EncryptionMethod) SetTsEncryptionMethod

func (s *EncryptionMethod) SetTsEncryptionMethod(v string) *EncryptionMethod

SetTsEncryptionMethod sets the TsEncryptionMethod field's value.

func (EncryptionMethod) String

func (s EncryptionMethod) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type FilterConfiguration

type FilterConfiguration struct {

    // Optionally specify the end time for all of your manifest egress requests.
    // When you include end time, note that you cannot use end time query parameters
    // for this manifest's endpoint URL.
    End *time.Time `type:"timestamp"`

    // Optionally specify one or more manifest filters for all of your manifest
    // egress requests. When you include a manifest filter, note that you cannot
    // use an identical manifest filter query parameter for this manifest's endpoint
    // URL.
    ManifestFilter *string `min:"1" type:"string"`

    // Optionally specify the start time for all of your manifest egress requests.
    // When you include start time, note that you cannot use start time query parameters
    // for this manifest's endpoint URL.
    Start *time.Time `type:"timestamp"`

    // Optionally specify the time delay for all of your manifest egress requests.
    // Enter a value that is smaller than your endpoint's startover window. When
    // you include time delay, note that you cannot use time delay query parameters
    // for this manifest's endpoint URL.
    TimeDelaySeconds *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.

func (FilterConfiguration) GoString

func (s FilterConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FilterConfiguration) SetEnd

func (s *FilterConfiguration) SetEnd(v time.Time) *FilterConfiguration

SetEnd sets the End field's value.

func (*FilterConfiguration) SetManifestFilter

func (s *FilterConfiguration) SetManifestFilter(v string) *FilterConfiguration

SetManifestFilter sets the ManifestFilter field's value.

func (*FilterConfiguration) SetStart

func (s *FilterConfiguration) SetStart(v time.Time) *FilterConfiguration

SetStart sets the Start field's value.

func (*FilterConfiguration) SetTimeDelaySeconds

func (s *FilterConfiguration) SetTimeDelaySeconds(v int64) *FilterConfiguration

SetTimeDelaySeconds sets the TimeDelaySeconds field's value.

func (FilterConfiguration) String

func (s FilterConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FilterConfiguration) Validate

func (s *FilterConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ForceEndpointErrorConfiguration

type ForceEndpointErrorConfiguration struct {

    // The failover conditions for the endpoint. The options are:
    //
    //    * STALE_MANIFEST - The manifest stalled and there are no new segments
    //    or parts.
    //
    //    * INCOMPLETE_MANIFEST - There is a gap in the manifest.
    //
    //    * MISSING_DRM_KEY - Key rotation is enabled but we're unable to fetch
    //    the key for the current key period.
    //
    //    * SLATE_INPUT - The segments which contain slate content are considered
    //    to be missing content.
    EndpointErrorConditions []*string `type:"list" enum:"EndpointErrorCondition"`
    // contains filtered or unexported fields
}

The failover settings for the endpoint.

func (ForceEndpointErrorConfiguration) GoString

func (s ForceEndpointErrorConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ForceEndpointErrorConfiguration) SetEndpointErrorConditions

func (s *ForceEndpointErrorConfiguration) SetEndpointErrorConditions(v []*string) *ForceEndpointErrorConfiguration

SetEndpointErrorConditions sets the EndpointErrorConditions field's value.

func (ForceEndpointErrorConfiguration) String

func (s ForceEndpointErrorConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetChannelGroupInput

type GetChannelGroupInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetChannelGroupInput) GoString

func (s GetChannelGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetChannelGroupInput) SetChannelGroupName

func (s *GetChannelGroupInput) SetChannelGroupName(v string) *GetChannelGroupInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (GetChannelGroupInput) String

func (s GetChannelGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetChannelGroupInput) Validate

func (s *GetChannelGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetChannelGroupOutput

type GetChannelGroupOutput struct {

    // The Amazon Resource Name (ARN) associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `type:"string" required:"true"`

    // The date and time the channel group was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `type:"timestamp" required:"true"`

    // The description for your channel group.
    Description *string `type:"string"`

    // The current Entity Tag (ETag) associated with this resource. The entity tag
    // can be used to safely make concurrent updates to the resource.
    ETag *string `min:"1" type:"string"`

    // The output domain where the source stream should be sent. Integrate the domain
    // with a downstream CDN (such as Amazon CloudFront) or playback device.
    //
    // EgressDomain is a required field
    EgressDomain *string `type:"string" required:"true"`

    // The date and time the channel group was modified.
    //
    // ModifiedAt is a required field
    ModifiedAt *time.Time `type:"timestamp" required:"true"`

    // The comma-separated list of tag key:value pairs assigned to the channel group.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (GetChannelGroupOutput) GoString

func (s GetChannelGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetChannelGroupOutput) SetArn

func (s *GetChannelGroupOutput) SetArn(v string) *GetChannelGroupOutput

SetArn sets the Arn field's value.

func (*GetChannelGroupOutput) SetChannelGroupName

func (s *GetChannelGroupOutput) SetChannelGroupName(v string) *GetChannelGroupOutput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*GetChannelGroupOutput) SetCreatedAt

func (s *GetChannelGroupOutput) SetCreatedAt(v time.Time) *GetChannelGroupOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetChannelGroupOutput) SetDescription

func (s *GetChannelGroupOutput) SetDescription(v string) *GetChannelGroupOutput

SetDescription sets the Description field's value.

func (*GetChannelGroupOutput) SetETag

func (s *GetChannelGroupOutput) SetETag(v string) *GetChannelGroupOutput

SetETag sets the ETag field's value.

func (*GetChannelGroupOutput) SetEgressDomain

func (s *GetChannelGroupOutput) SetEgressDomain(v string) *GetChannelGroupOutput

SetEgressDomain sets the EgressDomain field's value.

func (*GetChannelGroupOutput) SetModifiedAt

func (s *GetChannelGroupOutput) SetModifiedAt(v time.Time) *GetChannelGroupOutput

SetModifiedAt sets the ModifiedAt field's value.

func (*GetChannelGroupOutput) SetTags

func (s *GetChannelGroupOutput) SetTags(v map[string]*string) *GetChannelGroupOutput

SetTags sets the Tags field's value.

func (GetChannelGroupOutput) String

func (s GetChannelGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetChannelInput

type GetChannelInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetChannelInput) GoString

func (s GetChannelInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetChannelInput) SetChannelGroupName

func (s *GetChannelInput) SetChannelGroupName(v string) *GetChannelInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*GetChannelInput) SetChannelName

func (s *GetChannelInput) SetChannelName(v string) *GetChannelInput

SetChannelName sets the ChannelName field's value.

func (GetChannelInput) String

func (s GetChannelInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetChannelInput) Validate

func (s *GetChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetChannelOutput

type GetChannelOutput struct {

    // The Amazon Resource Name (ARN) associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `type:"string" required:"true"`

    // The date and time the channel was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `type:"timestamp" required:"true"`

    // The description for your channel.
    Description *string `type:"string"`

    // The current Entity Tag (ETag) associated with this resource. The entity tag
    // can be used to safely make concurrent updates to the resource.
    ETag *string `min:"1" type:"string"`

    // The list of ingest endpoints.
    IngestEndpoints []*IngestEndpoint `type:"list"`

    // The input type will be an immutable field which will be used to define whether
    // the channel will allow CMAF ingest or HLS ingest. If unprovided, it will
    // default to HLS to preserve current behavior.
    //
    // The allowed values are:
    //
    //    * HLS - The HLS streaming specification (which defines M3U8 manifests
    //    and TS segments).
    //
    //    * CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments
    //    with optional DASH manifests).
    InputType *string `type:"string" enum:"InputType"`

    // The date and time the channel was modified.
    //
    // ModifiedAt is a required field
    ModifiedAt *time.Time `type:"timestamp" required:"true"`

    // The comma-separated list of tag key:value pairs assigned to the channel.
    Tags map[string]*string `type:"map"`
    // contains filtered or unexported fields
}

func (GetChannelOutput) GoString

func (s GetChannelOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetChannelOutput) SetArn

func (s *GetChannelOutput) SetArn(v string) *GetChannelOutput

SetArn sets the Arn field's value.

func (*GetChannelOutput) SetChannelGroupName

func (s *GetChannelOutput) SetChannelGroupName(v string) *GetChannelOutput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*GetChannelOutput) SetChannelName

func (s *GetChannelOutput) SetChannelName(v string) *GetChannelOutput

SetChannelName sets the ChannelName field's value.

func (*GetChannelOutput) SetCreatedAt

func (s *GetChannelOutput) SetCreatedAt(v time.Time) *GetChannelOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetChannelOutput) SetDescription

func (s *GetChannelOutput) SetDescription(v string) *GetChannelOutput

SetDescription sets the Description field's value.

func (*GetChannelOutput) SetETag

func (s *GetChannelOutput) SetETag(v string) *GetChannelOutput

SetETag sets the ETag field's value.

func (*GetChannelOutput) SetIngestEndpoints

func (s *GetChannelOutput) SetIngestEndpoints(v []*IngestEndpoint) *GetChannelOutput

SetIngestEndpoints sets the IngestEndpoints field's value.

func (*GetChannelOutput) SetInputType

func (s *GetChannelOutput) SetInputType(v string) *GetChannelOutput

SetInputType sets the InputType field's value.

func (*GetChannelOutput) SetModifiedAt

func (s *GetChannelOutput) SetModifiedAt(v time.Time) *GetChannelOutput

SetModifiedAt sets the ModifiedAt field's value.

func (*GetChannelOutput) SetTags

func (s *GetChannelOutput) SetTags(v map[string]*string) *GetChannelOutput

SetTags sets the Tags field's value.

func (GetChannelOutput) String

func (s GetChannelOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetChannelPolicyInput

type GetChannelPolicyInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetChannelPolicyInput) GoString

func (s GetChannelPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetChannelPolicyInput) SetChannelGroupName

func (s *GetChannelPolicyInput) SetChannelGroupName(v string) *GetChannelPolicyInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*GetChannelPolicyInput) SetChannelName

func (s *GetChannelPolicyInput) SetChannelName(v string) *GetChannelPolicyInput

SetChannelName sets the ChannelName field's value.

func (GetChannelPolicyInput) String

func (s GetChannelPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetChannelPolicyInput) Validate

func (s *GetChannelPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetChannelPolicyOutput

type GetChannelPolicyOutput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `type:"string" required:"true"`

    // The policy assigned to the channel.
    //
    // Policy is a required field
    Policy *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetChannelPolicyOutput) GoString

func (s GetChannelPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetChannelPolicyOutput) SetChannelGroupName

func (s *GetChannelPolicyOutput) SetChannelGroupName(v string) *GetChannelPolicyOutput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*GetChannelPolicyOutput) SetChannelName

func (s *GetChannelPolicyOutput) SetChannelName(v string) *GetChannelPolicyOutput

SetChannelName sets the ChannelName field's value.

func (*GetChannelPolicyOutput) SetPolicy

func (s *GetChannelPolicyOutput) SetPolicy(v string) *GetChannelPolicyOutput

SetPolicy sets the Policy field's value.

func (GetChannelPolicyOutput) String

func (s GetChannelPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetDashManifestConfiguration

type GetDashManifestConfiguration struct {

    // Determines how the DASH manifest signals the DRM content.
    DrmSignaling *string `type:"string" enum:"DashDrmSignaling"`

    // Filter configuration includes settings for manifest filtering, start and
    // end times, and time delay that apply to all of your egress requests for this
    // manifest.
    FilterConfiguration *FilterConfiguration `type:"structure"`

    // A short string that's appended to the endpoint URL. The manifest name creates
    // a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default manifest name, index.
    //
    // ManifestName is a required field
    ManifestName *string `min:"1" type:"string" required:"true"`

    // The total duration (in seconds) of the manifest's content.
    ManifestWindowSeconds *int64 `type:"integer"`

    // Minimum amount of content (in seconds) that a player must keep available
    // in the buffer.
    MinBufferTimeSeconds *int64 `type:"integer"`

    // Minimum amount of time (in seconds) that the player should wait before requesting
    // updates to the manifest.
    MinUpdatePeriodSeconds *int64 `type:"integer"`

    // A list of triggers that controls when AWS Elemental MediaPackage separates
    // the MPEG-DASH manifest into multiple periods. Leave this value empty to indicate
    // that the manifest is contained all in one period. For more information about
    // periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage
    // (https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html).
    PeriodTriggers []*string `type:"list" enum:"DashPeriodTrigger"`

    // The SCTE configuration.
    ScteDash *ScteDash `type:"structure"`

    // Determines the type of variable used in the media URL of the SegmentTemplate
    // tag in the manifest. Also specifies if segment timeline information is included
    // in SegmentTimeline or SegmentTemplate.
    //
    // Value description:
    //
    //    * NUMBER_WITH_TIMELINE - The $Number$ variable is used in the media URL.
    //    The value of this variable is the sequential number of the segment. A
    //    full SegmentTimeline object is presented in each SegmentTemplate.
    SegmentTemplateFormat *string `type:"string" enum:"DashSegmentTemplateFormat"`

    // The amount of time (in seconds) that the player should be from the end of
    // the manifest.
    SuggestedPresentationDelaySeconds *int64 `type:"integer"`

    // The egress domain URL for stream delivery from MediaPackage.
    //
    // Url is a required field
    Url *string `type:"string" required:"true"`

    // Determines the type of UTC timing included in the DASH Media Presentation
    // Description (MPD).
    UtcTiming *DashUtcTiming `type:"structure"`
    // contains filtered or unexported fields
}

Retrieve the DASH manifest configuration.

func (GetDashManifestConfiguration) GoString

func (s GetDashManifestConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetDashManifestConfiguration) SetDrmSignaling

func (s *GetDashManifestConfiguration) SetDrmSignaling(v string) *GetDashManifestConfiguration

SetDrmSignaling sets the DrmSignaling field's value.

func (*GetDashManifestConfiguration) SetFilterConfiguration

func (s *GetDashManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *GetDashManifestConfiguration

SetFilterConfiguration sets the FilterConfiguration field's value.

func (*GetDashManifestConfiguration) SetManifestName

func (s *GetDashManifestConfiguration) SetManifestName(v string) *GetDashManifestConfiguration

SetManifestName sets the ManifestName field's value.

func (*GetDashManifestConfiguration) SetManifestWindowSeconds

func (s *GetDashManifestConfiguration) SetManifestWindowSeconds(v int64) *GetDashManifestConfiguration

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (*GetDashManifestConfiguration) SetMinBufferTimeSeconds

func (s *GetDashManifestConfiguration) SetMinBufferTimeSeconds(v int64) *GetDashManifestConfiguration

SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value.

func (*GetDashManifestConfiguration) SetMinUpdatePeriodSeconds

func (s *GetDashManifestConfiguration) SetMinUpdatePeriodSeconds(v int64) *GetDashManifestConfiguration

SetMinUpdatePeriodSeconds sets the MinUpdatePeriodSeconds field's value.

func (*GetDashManifestConfiguration) SetPeriodTriggers

func (s *GetDashManifestConfiguration) SetPeriodTriggers(v []*string) *GetDashManifestConfiguration

SetPeriodTriggers sets the PeriodTriggers field's value.

func (*GetDashManifestConfiguration) SetScteDash

func (s *GetDashManifestConfiguration) SetScteDash(v *ScteDash) *GetDashManifestConfiguration

SetScteDash sets the ScteDash field's value.

func (*GetDashManifestConfiguration) SetSegmentTemplateFormat

func (s *GetDashManifestConfiguration) SetSegmentTemplateFormat(v string) *GetDashManifestConfiguration

SetSegmentTemplateFormat sets the SegmentTemplateFormat field's value.

func (*GetDashManifestConfiguration) SetSuggestedPresentationDelaySeconds

func (s *GetDashManifestConfiguration) SetSuggestedPresentationDelaySeconds(v int64) *GetDashManifestConfiguration

SetSuggestedPresentationDelaySeconds sets the SuggestedPresentationDelaySeconds field's value.

func (*GetDashManifestConfiguration) SetUrl

func (s *GetDashManifestConfiguration) SetUrl(v string) *GetDashManifestConfiguration

SetUrl sets the Url field's value.

func (*GetDashManifestConfiguration) SetUtcTiming

func (s *GetDashManifestConfiguration) SetUtcTiming(v *DashUtcTiming) *GetDashManifestConfiguration

SetUtcTiming sets the UtcTiming field's value.

func (GetDashManifestConfiguration) String

func (s GetDashManifestConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetHlsManifestConfiguration

type GetHlsManifestConfiguration struct {

    // A short string that's appended to the endpoint URL. The child manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default child manifest name, index_1. The manifestName on the HLSManifest
    // object overrides the manifestName you provided on the originEndpoint object.
    ChildManifestName *string `min:"1" type:"string"`

    // Filter configuration includes settings for manifest filtering, start and
    // end times, and time delay that apply to all of your egress requests for this
    // manifest.
    FilterConfiguration *FilterConfiguration `type:"structure"`

    // A short short string that's appended to the endpoint URL. The manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default manifest name, index. MediaPackage automatically inserts
    // the format extension, such as .m3u8. You can't use the same manifest name
    // if you use HLS manifest and low-latency HLS manifest. The manifestName on
    // the HLSManifest object overrides the manifestName you provided on the originEndpoint
    // object.
    //
    // ManifestName is a required field
    ManifestName *string `min:"1" type:"string" required:"true"`

    // The total duration (in seconds) of the manifest's content.
    ManifestWindowSeconds *int64 `type:"integer"`

    // Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval
    // that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME
    // tags aren't included in the manifest. The tags sync the stream to the wall
    // clock so that viewers can seek to a specific time in the playback timeline
    // on the player. ID3Timed metadata messages generate every 5 seconds whenever
    // the content is ingested.
    //
    // Irrespective of this parameter, if any ID3Timed metadata is in the HLS input,
    // it is passed through to the HLS output.
    ProgramDateTimeIntervalSeconds *int64 `type:"integer"`

    // The SCTE configuration.
    ScteHls *ScteHls `type:"structure"`

    // The egress domain URL for stream delivery from MediaPackage.
    //
    // Url is a required field
    Url *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Retrieve the HTTP live streaming (HLS) manifest configuration.

func (GetHlsManifestConfiguration) GoString

func (s GetHlsManifestConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetHlsManifestConfiguration) SetChildManifestName

func (s *GetHlsManifestConfiguration) SetChildManifestName(v string) *GetHlsManifestConfiguration

SetChildManifestName sets the ChildManifestName field's value.

func (*GetHlsManifestConfiguration) SetFilterConfiguration

func (s *GetHlsManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *GetHlsManifestConfiguration

SetFilterConfiguration sets the FilterConfiguration field's value.

func (*GetHlsManifestConfiguration) SetManifestName

func (s *GetHlsManifestConfiguration) SetManifestName(v string) *GetHlsManifestConfiguration

SetManifestName sets the ManifestName field's value.

func (*GetHlsManifestConfiguration) SetManifestWindowSeconds

func (s *GetHlsManifestConfiguration) SetManifestWindowSeconds(v int64) *GetHlsManifestConfiguration

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (*GetHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds

func (s *GetHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds(v int64) *GetHlsManifestConfiguration

SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.

func (*GetHlsManifestConfiguration) SetScteHls

func (s *GetHlsManifestConfiguration) SetScteHls(v *ScteHls) *GetHlsManifestConfiguration

SetScteHls sets the ScteHls field's value.

func (*GetHlsManifestConfiguration) SetUrl

func (s *GetHlsManifestConfiguration) SetUrl(v string) *GetHlsManifestConfiguration

SetUrl sets the Url field's value.

func (GetHlsManifestConfiguration) String

func (s GetHlsManifestConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetLowLatencyHlsManifestConfiguration

type GetLowLatencyHlsManifestConfiguration struct {

    // A short string that's appended to the endpoint URL. The child manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default child manifest name, index_1. The manifestName on the HLSManifest
    // object overrides the manifestName you provided on the originEndpoint object.
    ChildManifestName *string `min:"1" type:"string"`

    // Filter configuration includes settings for manifest filtering, start and
    // end times, and time delay that apply to all of your egress requests for this
    // manifest.
    FilterConfiguration *FilterConfiguration `type:"structure"`

    // A short short string that's appended to the endpoint URL. The manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default manifest name, index. MediaPackage automatically inserts
    // the format extension, such as .m3u8. You can't use the same manifest name
    // if you use HLS manifest and low-latency HLS manifest. The manifestName on
    // the HLSManifest object overrides the manifestName you provided on the originEndpoint
    // object.
    //
    // ManifestName is a required field
    ManifestName *string `min:"1" type:"string" required:"true"`

    // The total duration (in seconds) of the manifest's content.
    ManifestWindowSeconds *int64 `type:"integer"`

    // Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval
    // that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME
    // tags aren't included in the manifest. The tags sync the stream to the wall
    // clock so that viewers can seek to a specific time in the playback timeline
    // on the player. ID3Timed metadata messages generate every 5 seconds whenever
    // the content is ingested.
    //
    // Irrespective of this parameter, if any ID3Timed metadata is in the HLS input,
    // it is passed through to the HLS output.
    ProgramDateTimeIntervalSeconds *int64 `type:"integer"`

    // The SCTE configuration.
    ScteHls *ScteHls `type:"structure"`

    // The egress domain URL for stream delivery from MediaPackage.
    //
    // Url is a required field
    Url *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Retrieve the low-latency HTTP live streaming (HLS) manifest configuration.

func (GetLowLatencyHlsManifestConfiguration) GoString

func (s GetLowLatencyHlsManifestConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetLowLatencyHlsManifestConfiguration) SetChildManifestName

func (s *GetLowLatencyHlsManifestConfiguration) SetChildManifestName(v string) *GetLowLatencyHlsManifestConfiguration

SetChildManifestName sets the ChildManifestName field's value.

func (*GetLowLatencyHlsManifestConfiguration) SetFilterConfiguration

func (s *GetLowLatencyHlsManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *GetLowLatencyHlsManifestConfiguration

SetFilterConfiguration sets the FilterConfiguration field's value.

func (*GetLowLatencyHlsManifestConfiguration) SetManifestName

func (s *GetLowLatencyHlsManifestConfiguration) SetManifestName(v string) *GetLowLatencyHlsManifestConfiguration

SetManifestName sets the ManifestName field's value.

func (*GetLowLatencyHlsManifestConfiguration) SetManifestWindowSeconds

func (s *GetLowLatencyHlsManifestConfiguration) SetManifestWindowSeconds(v int64) *GetLowLatencyHlsManifestConfiguration

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (*GetLowLatencyHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds

func (s *GetLowLatencyHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds(v int64) *GetLowLatencyHlsManifestConfiguration

SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.

func (*GetLowLatencyHlsManifestConfiguration) SetScteHls

func (s *GetLowLatencyHlsManifestConfiguration) SetScteHls(v *ScteHls) *GetLowLatencyHlsManifestConfiguration

SetScteHls sets the ScteHls field's value.

func (*GetLowLatencyHlsManifestConfiguration) SetUrl

func (s *GetLowLatencyHlsManifestConfiguration) SetUrl(v string) *GetLowLatencyHlsManifestConfiguration

SetUrl sets the Url field's value.

func (GetLowLatencyHlsManifestConfiguration) String

func (s GetLowLatencyHlsManifestConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetOriginEndpointInput

type GetOriginEndpointInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and and must be unique for your account in the AWS
    // Region and channel.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetOriginEndpointInput) GoString

func (s GetOriginEndpointInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetOriginEndpointInput) SetChannelGroupName

func (s *GetOriginEndpointInput) SetChannelGroupName(v string) *GetOriginEndpointInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*GetOriginEndpointInput) SetChannelName

func (s *GetOriginEndpointInput) SetChannelName(v string) *GetOriginEndpointInput

SetChannelName sets the ChannelName field's value.

func (*GetOriginEndpointInput) SetOriginEndpointName

func (s *GetOriginEndpointInput) SetOriginEndpointName(v string) *GetOriginEndpointInput

SetOriginEndpointName sets the OriginEndpointName field's value.

func (GetOriginEndpointInput) String

func (s GetOriginEndpointInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetOriginEndpointInput) Validate

func (s *GetOriginEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetOriginEndpointOutput

type GetOriginEndpointOutput struct {

    // The Amazon Resource Name (ARN) associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `min:"1" type:"string" required:"true"`

    // The type of container attached to this origin endpoint.
    //
    // ContainerType is a required field
    ContainerType *string `type:"string" required:"true" enum:"ContainerType"`

    // The date and time the origin endpoint was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `type:"timestamp" required:"true"`

    // A DASH manifest configuration.
    DashManifests []*GetDashManifestConfiguration `type:"list"`

    // The description for your origin endpoint.
    Description *string `type:"string"`

    // The current Entity Tag (ETag) associated with this resource. The entity tag
    // can be used to safely make concurrent updates to the resource.
    ETag *string `min:"1" type:"string"`

    // The failover settings for the endpoint.
    ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"`

    // An HTTP live streaming (HLS) manifest configuration.
    HlsManifests []*GetHlsManifestConfiguration `type:"list"`

    // A low-latency HLS manifest configuration.
    LowLatencyHlsManifests []*GetLowLatencyHlsManifestConfiguration `type:"list"`

    // The date and time the origin endpoint was modified.
    //
    // ModifiedAt is a required field
    ModifiedAt *time.Time `type:"timestamp" required:"true"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and and must be unique for your account in the AWS
    // Region and channel.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `min:"1" type:"string" required:"true"`

    // The segment configuration, including the segment name, duration, and other
    // configuration values.
    //
    // Segment is a required field
    Segment *Segment `type:"structure" required:"true"`

    // The size of the window (in seconds) to create a window of the live stream
    // that's available for on-demand viewing. Viewers can start-over or catch-up
    // on content that falls within the window.
    StartoverWindowSeconds *int64 `type:"integer"`

    // The comma-separated list of tag key:value pairs assigned to the origin endpoint.
    Tags map[string]*string `type:"map"`
    // contains filtered or unexported fields
}

func (GetOriginEndpointOutput) GoString

func (s GetOriginEndpointOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetOriginEndpointOutput) SetArn

func (s *GetOriginEndpointOutput) SetArn(v string) *GetOriginEndpointOutput

SetArn sets the Arn field's value.

func (*GetOriginEndpointOutput) SetChannelGroupName

func (s *GetOriginEndpointOutput) SetChannelGroupName(v string) *GetOriginEndpointOutput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*GetOriginEndpointOutput) SetChannelName

func (s *GetOriginEndpointOutput) SetChannelName(v string) *GetOriginEndpointOutput

SetChannelName sets the ChannelName field's value.

func (*GetOriginEndpointOutput) SetContainerType

func (s *GetOriginEndpointOutput) SetContainerType(v string) *GetOriginEndpointOutput

SetContainerType sets the ContainerType field's value.

func (*GetOriginEndpointOutput) SetCreatedAt

func (s *GetOriginEndpointOutput) SetCreatedAt(v time.Time) *GetOriginEndpointOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetOriginEndpointOutput) SetDashManifests

func (s *GetOriginEndpointOutput) SetDashManifests(v []*GetDashManifestConfiguration) *GetOriginEndpointOutput

SetDashManifests sets the DashManifests field's value.

func (*GetOriginEndpointOutput) SetDescription

func (s *GetOriginEndpointOutput) SetDescription(v string) *GetOriginEndpointOutput

SetDescription sets the Description field's value.

func (*GetOriginEndpointOutput) SetETag

func (s *GetOriginEndpointOutput) SetETag(v string) *GetOriginEndpointOutput

SetETag sets the ETag field's value.

func (*GetOriginEndpointOutput) SetForceEndpointErrorConfiguration

func (s *GetOriginEndpointOutput) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *GetOriginEndpointOutput

SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.

func (*GetOriginEndpointOutput) SetHlsManifests

func (s *GetOriginEndpointOutput) SetHlsManifests(v []*GetHlsManifestConfiguration) *GetOriginEndpointOutput

SetHlsManifests sets the HlsManifests field's value.

func (*GetOriginEndpointOutput) SetLowLatencyHlsManifests

func (s *GetOriginEndpointOutput) SetLowLatencyHlsManifests(v []*GetLowLatencyHlsManifestConfiguration) *GetOriginEndpointOutput

SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.

func (*GetOriginEndpointOutput) SetModifiedAt

func (s *GetOriginEndpointOutput) SetModifiedAt(v time.Time) *GetOriginEndpointOutput

SetModifiedAt sets the ModifiedAt field's value.

func (*GetOriginEndpointOutput) SetOriginEndpointName

func (s *GetOriginEndpointOutput) SetOriginEndpointName(v string) *GetOriginEndpointOutput

SetOriginEndpointName sets the OriginEndpointName field's value.

func (*GetOriginEndpointOutput) SetSegment

func (s *GetOriginEndpointOutput) SetSegment(v *Segment) *GetOriginEndpointOutput

SetSegment sets the Segment field's value.

func (*GetOriginEndpointOutput) SetStartoverWindowSeconds

func (s *GetOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *GetOriginEndpointOutput

SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.

func (*GetOriginEndpointOutput) SetTags

func (s *GetOriginEndpointOutput) SetTags(v map[string]*string) *GetOriginEndpointOutput

SetTags sets the Tags field's value.

func (GetOriginEndpointOutput) String

func (s GetOriginEndpointOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetOriginEndpointPolicyInput

type GetOriginEndpointPolicyInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and and must be unique for your account in the AWS
    // Region and channel.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetOriginEndpointPolicyInput) GoString

func (s GetOriginEndpointPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetOriginEndpointPolicyInput) SetChannelGroupName

func (s *GetOriginEndpointPolicyInput) SetChannelGroupName(v string) *GetOriginEndpointPolicyInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*GetOriginEndpointPolicyInput) SetChannelName

func (s *GetOriginEndpointPolicyInput) SetChannelName(v string) *GetOriginEndpointPolicyInput

SetChannelName sets the ChannelName field's value.

func (*GetOriginEndpointPolicyInput) SetOriginEndpointName

func (s *GetOriginEndpointPolicyInput) SetOriginEndpointName(v string) *GetOriginEndpointPolicyInput

SetOriginEndpointName sets the OriginEndpointName field's value.

func (GetOriginEndpointPolicyInput) String

func (s GetOriginEndpointPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetOriginEndpointPolicyInput) Validate

func (s *GetOriginEndpointPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetOriginEndpointPolicyOutput

type GetOriginEndpointPolicyOutput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `min:"1" type:"string" required:"true"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and and must be unique for your account in the AWS
    // Region and channel.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `min:"1" type:"string" required:"true"`

    // The policy assigned to the origin endpoint.
    //
    // Policy is a required field
    Policy *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetOriginEndpointPolicyOutput) GoString

func (s GetOriginEndpointPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetOriginEndpointPolicyOutput) SetChannelGroupName

func (s *GetOriginEndpointPolicyOutput) SetChannelGroupName(v string) *GetOriginEndpointPolicyOutput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*GetOriginEndpointPolicyOutput) SetChannelName

func (s *GetOriginEndpointPolicyOutput) SetChannelName(v string) *GetOriginEndpointPolicyOutput

SetChannelName sets the ChannelName field's value.

func (*GetOriginEndpointPolicyOutput) SetOriginEndpointName

func (s *GetOriginEndpointPolicyOutput) SetOriginEndpointName(v string) *GetOriginEndpointPolicyOutput

SetOriginEndpointName sets the OriginEndpointName field's value.

func (*GetOriginEndpointPolicyOutput) SetPolicy

func (s *GetOriginEndpointPolicyOutput) SetPolicy(v string) *GetOriginEndpointPolicyOutput

SetPolicy sets the Policy field's value.

func (GetOriginEndpointPolicyOutput) String

func (s GetOriginEndpointPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type IngestEndpoint

type IngestEndpoint struct {

    // The system-generated unique identifier for the IngestEndpoint.
    Id *string `type:"string"`

    // The ingest domain URL where the source stream should be sent.
    Url *string `type:"string"`
    // contains filtered or unexported fields
}

The ingest domain URL where the source stream should be sent.

func (IngestEndpoint) GoString

func (s IngestEndpoint) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*IngestEndpoint) SetId

func (s *IngestEndpoint) SetId(v string) *IngestEndpoint

SetId sets the Id field's value.

func (*IngestEndpoint) SetUrl

func (s *IngestEndpoint) SetUrl(v string) *IngestEndpoint

SetUrl sets the Url field's value.

func (IngestEndpoint) String

func (s IngestEndpoint) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

Indicates that an error from the service occurred while trying to process a request.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListChannelGroupsInput

type ListChannelGroupsInput struct {

    // The maximum number of results to return in the response.
    MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

    // The pagination token from the GET list request. Use the token to fetch the
    // next page of results.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListChannelGroupsInput) GoString

func (s ListChannelGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListChannelGroupsInput) SetMaxResults

func (s *ListChannelGroupsInput) SetMaxResults(v int64) *ListChannelGroupsInput

SetMaxResults sets the MaxResults field's value.

func (*ListChannelGroupsInput) SetNextToken

func (s *ListChannelGroupsInput) SetNextToken(v string) *ListChannelGroupsInput

SetNextToken sets the NextToken field's value.

func (ListChannelGroupsInput) String

func (s ListChannelGroupsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListChannelGroupsInput) Validate

func (s *ListChannelGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListChannelGroupsOutput

type ListChannelGroupsOutput struct {

    // The objects being returned.
    Items []*ChannelGroupListConfiguration `type:"list"`

    // The pagination token from the GET list request. Use the token to fetch the
    // next page of results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListChannelGroupsOutput) GoString

func (s ListChannelGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListChannelGroupsOutput) SetItems

func (s *ListChannelGroupsOutput) SetItems(v []*ChannelGroupListConfiguration) *ListChannelGroupsOutput

SetItems sets the Items field's value.

func (*ListChannelGroupsOutput) SetNextToken

func (s *ListChannelGroupsOutput) SetNextToken(v string) *ListChannelGroupsOutput

SetNextToken sets the NextToken field's value.

func (ListChannelGroupsOutput) String

func (s ListChannelGroupsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListChannelsInput

type ListChannelsInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The maximum number of results to return in the response.
    MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

    // The pagination token from the GET list request. Use the token to fetch the
    // next page of results.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListChannelsInput) GoString

func (s ListChannelsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListChannelsInput) SetChannelGroupName

func (s *ListChannelsInput) SetChannelGroupName(v string) *ListChannelsInput

SetChannelGroupName sets the ChannelGroupName field's value.

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*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 {

    // The objects being returned.
    Items []*ChannelListConfiguration `type:"list"`

    // The pagination token from the GET list request.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListChannelsOutput) GoString

func (s ListChannelsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListChannelsOutput) SetItems

func (s *ListChannelsOutput) SetItems(v []*ChannelListConfiguration) *ListChannelsOutput

SetItems sets the Items 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListDashManifestConfiguration

type ListDashManifestConfiguration struct {

    // A short string that's appended to the endpoint URL. The manifest name creates
    // a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default manifest name, index.
    //
    // ManifestName is a required field
    ManifestName *string `min:"1" type:"string" required:"true"`

    // The egress domain URL for stream delivery from MediaPackage.
    Url *string `type:"string"`
    // contains filtered or unexported fields
}

List the DASH manifest configuration.

func (ListDashManifestConfiguration) GoString

func (s ListDashManifestConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListDashManifestConfiguration) SetManifestName

func (s *ListDashManifestConfiguration) SetManifestName(v string) *ListDashManifestConfiguration

SetManifestName sets the ManifestName field's value.

func (*ListDashManifestConfiguration) SetUrl

func (s *ListDashManifestConfiguration) SetUrl(v string) *ListDashManifestConfiguration

SetUrl sets the Url field's value.

func (ListDashManifestConfiguration) String

func (s ListDashManifestConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListHlsManifestConfiguration

type ListHlsManifestConfiguration struct {

    // A short string that's appended to the endpoint URL. The child manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default child manifest name, index_1. The manifestName on the HLSManifest
    // object overrides the manifestName you provided on the originEndpoint object.
    ChildManifestName *string `min:"1" type:"string"`

    // A short short string that's appended to the endpoint URL. The manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default manifest name, index. MediaPackage automatically inserts
    // the format extension, such as .m3u8. You can't use the same manifest name
    // if you use HLS manifest and low-latency HLS manifest. The manifestName on
    // the HLSManifest object overrides the manifestName you provided on the originEndpoint
    // object.
    //
    // ManifestName is a required field
    ManifestName *string `min:"1" type:"string" required:"true"`

    // The egress domain URL for stream delivery from MediaPackage.
    Url *string `type:"string"`
    // contains filtered or unexported fields
}

List the HTTP live streaming (HLS) manifest configuration.

func (ListHlsManifestConfiguration) GoString

func (s ListHlsManifestConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListHlsManifestConfiguration) SetChildManifestName

func (s *ListHlsManifestConfiguration) SetChildManifestName(v string) *ListHlsManifestConfiguration

SetChildManifestName sets the ChildManifestName field's value.

func (*ListHlsManifestConfiguration) SetManifestName

func (s *ListHlsManifestConfiguration) SetManifestName(v string) *ListHlsManifestConfiguration

SetManifestName sets the ManifestName field's value.

func (*ListHlsManifestConfiguration) SetUrl

func (s *ListHlsManifestConfiguration) SetUrl(v string) *ListHlsManifestConfiguration

SetUrl sets the Url field's value.

func (ListHlsManifestConfiguration) String

func (s ListHlsManifestConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListLowLatencyHlsManifestConfiguration

type ListLowLatencyHlsManifestConfiguration struct {

    // A short string that's appended to the endpoint URL. The child manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default child manifest name, index_1. The manifestName on the HLSManifest
    // object overrides the manifestName you provided on the originEndpoint object.
    ChildManifestName *string `min:"1" type:"string"`

    // A short short string that's appended to the endpoint URL. The manifest name
    // creates a unique path to this endpoint. If you don't enter a value, MediaPackage
    // uses the default manifest name, index. MediaPackage automatically inserts
    // the format extension, such as .m3u8. You can't use the same manifest name
    // if you use HLS manifest and low-latency HLS manifest. The manifestName on
    // the HLSManifest object overrides the manifestName you provided on the originEndpoint
    // object.
    //
    // ManifestName is a required field
    ManifestName *string `min:"1" type:"string" required:"true"`

    // The egress domain URL for stream delivery from MediaPackage.
    Url *string `type:"string"`
    // contains filtered or unexported fields
}

List the low-latency HTTP live streaming (HLS) manifest configuration.

func (ListLowLatencyHlsManifestConfiguration) GoString

func (s ListLowLatencyHlsManifestConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListLowLatencyHlsManifestConfiguration) SetChildManifestName

func (s *ListLowLatencyHlsManifestConfiguration) SetChildManifestName(v string) *ListLowLatencyHlsManifestConfiguration

SetChildManifestName sets the ChildManifestName field's value.

func (*ListLowLatencyHlsManifestConfiguration) SetManifestName

func (s *ListLowLatencyHlsManifestConfiguration) SetManifestName(v string) *ListLowLatencyHlsManifestConfiguration

SetManifestName sets the ManifestName field's value.

func (*ListLowLatencyHlsManifestConfiguration) SetUrl

func (s *ListLowLatencyHlsManifestConfiguration) SetUrl(v string) *ListLowLatencyHlsManifestConfiguration

SetUrl sets the Url field's value.

func (ListLowLatencyHlsManifestConfiguration) String

func (s ListLowLatencyHlsManifestConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListOriginEndpointsInput

type ListOriginEndpointsInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`

    // The maximum number of results to return in the response.
    MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

    // The pagination token from the GET list request. Use the token to fetch the
    // next page of results.
    NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListOriginEndpointsInput) GoString

func (s ListOriginEndpointsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListOriginEndpointsInput) SetChannelGroupName

func (s *ListOriginEndpointsInput) SetChannelGroupName(v string) *ListOriginEndpointsInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*ListOriginEndpointsInput) SetChannelName

func (s *ListOriginEndpointsInput) SetChannelName(v string) *ListOriginEndpointsInput

SetChannelName sets the ChannelName 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*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 {

    // The objects being returned.
    Items []*OriginEndpointListConfiguration `type:"list"`

    // The pagination token from the GET list request. Use the token to fetch the
    // next page of results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListOriginEndpointsOutput) GoString

func (s ListOriginEndpointsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListOriginEndpointsOutput) SetItems

func (s *ListOriginEndpointsOutput) SetItems(v []*OriginEndpointListConfiguration) *ListOriginEndpointsOutput

SetItems sets the Items field's value.

func (*ListOriginEndpointsOutput) SetNextToken

func (s *ListOriginEndpointsOutput) SetNextToken(v string) *ListOriginEndpointsOutput

SetNextToken sets the NextToken field's value.

func (ListOriginEndpointsOutput) String

func (s ListOriginEndpointsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

    // The ARN of the CloudWatch resource that you want to view tags for.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

    // Contains a map of the key-value pairs for the resource tag or tags assigned
    // to the resource.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MediaPackageV2

type MediaPackageV2 struct {
    *client.Client
}

MediaPackageV2 provides the API operation methods for making requests to AWS Elemental MediaPackage v2. See this package's package overview docs for details on the service.

MediaPackageV2 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaPackageV2

New creates a new instance of the MediaPackageV2 client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a MediaPackageV2 client from just a session.
svc := mediapackagev2.New(mySession)

// Create a MediaPackageV2 client with additional configuration
svc := mediapackagev2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*MediaPackageV2) CreateChannel

func (c *MediaPackageV2) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error)

CreateChannel API operation for AWS Elemental MediaPackage v2.

Create a channel to start receiving content streams. The channel represents the input to MediaPackage for incoming live content from an encoder such as AWS Elemental MediaLive. The channel receives content, and after packaging it, outputs it through an origin endpoint to downstream devices (such as video players or CDNs) that request the content. You can create only one channel with each request. We recommend that you spread out channels between channel groups, such as putting redundant channels in the same AWS Region in different channel groups.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation CreateChannel for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateChannel

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.CreateChannelInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    ChannelName:      aws.String("exampleChannel"),
    Description:      aws.String("Description for exampleChannel"),
    InputType:        aws.String("HLS"),
    Tags: map[string]*string{
        "key1": aws.String("value1"),
        "key2": aws.String("value2"),
    },
}

result, err := svc.CreateChannel(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        case mediapackagev2.ErrCodeServiceQuotaExceededException:
            fmt.Println(mediapackagev2.ErrCodeServiceQuotaExceededException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) CreateChannelGroup

func (c *MediaPackageV2) CreateChannelGroup(input *CreateChannelGroupInput) (*CreateChannelGroupOutput, error)

CreateChannelGroup API operation for AWS Elemental MediaPackage v2.

Create a channel group to group your channels and origin endpoints. A channel group is the top-level resource that consists of channels and origin endpoints that are associated with it and that provides predictable URLs for stream delivery. All channels and origin endpoints within the channel group are guaranteed to share the DNS. You can create only one channel group with each request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation CreateChannelGroup for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateChannelGroup

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.CreateChannelGroupInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    Description:      aws.String("Description for exampleChannelGroup"),
    Tags: map[string]*string{
        "key1": aws.String("value1"),
        "key2": aws.String("value2"),
    },
}

result, err := svc.CreateChannelGroup(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        case mediapackagev2.ErrCodeServiceQuotaExceededException:
            fmt.Println(mediapackagev2.ErrCodeServiceQuotaExceededException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) CreateChannelGroupRequest

func (c *MediaPackageV2) CreateChannelGroupRequest(input *CreateChannelGroupInput) (req *request.Request, output *CreateChannelGroupOutput)

CreateChannelGroupRequest generates a "aws/request.Request" representing the client's request for the CreateChannelGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateChannelGroup for more information on using the CreateChannelGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateChannelGroupRequest method.
req, resp := client.CreateChannelGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateChannelGroup

func (*MediaPackageV2) CreateChannelGroupWithContext

func (c *MediaPackageV2) CreateChannelGroupWithContext(ctx aws.Context, input *CreateChannelGroupInput, opts ...request.Option) (*CreateChannelGroupOutput, error)

CreateChannelGroupWithContext is the same as CreateChannelGroup with the addition of the ability to pass a context and additional request options.

See CreateChannelGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) CreateChannelRequest

func (c *MediaPackageV2) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput)

CreateChannelRequest generates a "aws/request.Request" representing the client's request for the CreateChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateChannel for more information on using the CreateChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateChannelRequest method.
req, resp := client.CreateChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateChannel

func (*MediaPackageV2) CreateChannelWithContext

func (c *MediaPackageV2) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error)

CreateChannelWithContext is the same as CreateChannel with the addition of the ability to pass a context and additional request options.

See CreateChannel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) CreateOriginEndpoint

func (c *MediaPackageV2) CreateOriginEndpoint(input *CreateOriginEndpointInput) (*CreateOriginEndpointOutput, error)

CreateOriginEndpoint API operation for AWS Elemental MediaPackage v2.

The endpoint is attached to a channel, and represents the output of the live content. You can associate multiple endpoints to a single channel. Each endpoint gives players and downstream CDNs (such as Amazon CloudFront) access to the content for playback. Content can't be served from a channel until it has an endpoint. You can create only one endpoint with each request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation CreateOriginEndpoint for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateOriginEndpoint

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.CreateOriginEndpointInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    ChannelName:      aws.String("exampleChannel"),
    ContainerType:    aws.String("TS"),
    Description:      aws.String("Description for exampleOriginEndpointTS"),
    ForceEndpointErrorConfiguration: &mediapackagev2.ForceEndpointErrorConfiguration{
        EndpointErrorConditions: []*string{
            aws.String("STALE_MANIFEST"),
            aws.String("INCOMPLETE_MANIFEST"),
            aws.String("MISSING_DRM_KEY"),
            aws.String("SLATE_INPUT"),
        },
    },
    HlsManifests: []*mediapackagev2.CreateHlsManifestConfiguration{
        {
            ChildManifestName:              aws.String("exampleChildManifest1"),
            ManifestName:                   aws.String("exampleManifest1"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
        {
            ChildManifestName:              aws.String("exampleManifest2"),
            ManifestName:                   aws.String("exampleManifest2"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
    },
    LowLatencyHlsManifests: []*mediapackagev2.CreateLowLatencyHlsManifestConfiguration{
        {
            ChildManifestName:              aws.String("exampleLLChildManifest1"),
            ManifestName:                   aws.String("exampleLLManifest1"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
        {
            ChildManifestName:              aws.String("exampleLLManifest2"),
            ManifestName:                   aws.String("exampleLLManifest2"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
    },
    OriginEndpointName: aws.String("exampleOriginEndpointTS"),
    Segment: &mediapackagev2.Segment{
        Encryption: &mediapackagev2.Encryption{
            ConstantInitializationVector: aws.String("A382A901F3C1F7718512266CFFBB0B7E"),
            EncryptionMethod: &mediapackagev2.EncryptionMethod{
                TsEncryptionMethod: aws.String("AES_128"),
            },
            KeyRotationIntervalSeconds: aws.Int64(300),
            SpekeKeyProvider: &mediapackagev2.SpekeKeyProvider{
                DrmSystems: []*string{
                    aws.String("CLEAR_KEY_AES_128"),
                },
                EncryptionContractConfiguration: &mediapackagev2.EncryptionContractConfiguration{
                    PresetSpeke20Audio: aws.String("SHARED"),
                    PresetSpeke20Video: aws.String("SHARED"),
                },
                ResourceId: aws.String("ResourceId"),
                RoleArn:    aws.String("arn:aws:iam::123456789012:role/empRole"),
                Url:        aws.String("https://foo.com"),
            },
        },
        IncludeIframeOnlyStreams: aws.Bool(true),
        Scte: &mediapackagev2.Scte{
            ScteFilter: []*string{
                aws.String("SPLICE_INSERT"),
                aws.String("BREAK"),
            },
        },
        SegmentDurationSeconds:   aws.Int64(6),
        SegmentName:              aws.String("segmentName"),
        TsIncludeDvbSubtitles:    aws.Bool(true),
        TsUseAudioRenditionGroup: aws.Bool(true),
    },
    StartoverWindowSeconds: aws.Int64(300),
    Tags: map[string]*string{
        "key1": aws.String("value1"),
        "key2": aws.String("value2"),
    },
}

result, err := svc.CreateOriginEndpoint(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        case mediapackagev2.ErrCodeServiceQuotaExceededException:
            fmt.Println(mediapackagev2.ErrCodeServiceQuotaExceededException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

Example (Shared01)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.CreateOriginEndpointInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    ChannelName:      aws.String("exampleChannel"),
    ContainerType:    aws.String("CMAF"),
    DashManifests: []*mediapackagev2.CreateDashManifestConfiguration{
        {
            DrmSignaling:           aws.String("INDIVIDUAL"),
            ManifestName:           aws.String("exampleDashManifest1"),
            ManifestWindowSeconds:  aws.Int64(300),
            MinBufferTimeSeconds:   aws.Int64(30),
            MinUpdatePeriodSeconds: aws.Int64(5),
            PeriodTriggers: []*string{
                aws.String("AVAILS"),
            },
            ScteDash: &mediapackagev2.ScteDash{
                AdMarkerDash: aws.String("XML"),
            },
            SegmentTemplateFormat:             aws.String("NUMBER_WITH_TIMELINE"),
            SuggestedPresentationDelaySeconds: aws.Int64(2),
        },
        {
            DrmSignaling:           aws.String("INDIVIDUAL"),
            ManifestName:           aws.String("exampleDashManifest2"),
            ManifestWindowSeconds:  aws.Int64(60),
            MinBufferTimeSeconds:   aws.Int64(9),
            MinUpdatePeriodSeconds: aws.Int64(3),
            PeriodTriggers: []*string{
                aws.String("AVAILS"),
                aws.String("DRM_KEY_ROTATION"),
                aws.String("SOURCE_CHANGES"),
                aws.String("SOURCE_DISRUPTIONS"),
            },
            ScteDash: &mediapackagev2.ScteDash{
                AdMarkerDash: aws.String("XML"),
            },
            SegmentTemplateFormat:             aws.String("NUMBER_WITH_TIMELINE"),
            SuggestedPresentationDelaySeconds: aws.Int64(12),
        },
    },
    ForceEndpointErrorConfiguration: &mediapackagev2.ForceEndpointErrorConfiguration{
        EndpointErrorConditions: []*string{
            aws.String("STALE_MANIFEST"),
            aws.String("INCOMPLETE_MANIFEST"),
            aws.String("MISSING_DRM_KEY"),
            aws.String("SLATE_INPUT"),
        },
    },
    HlsManifests: []*mediapackagev2.CreateHlsManifestConfiguration{
        {
            ChildManifestName:              aws.String("exampleChildManifest1"),
            ManifestName:                   aws.String("exampleManifest1"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
        {
            ChildManifestName:              aws.String("exampleManifest2"),
            ManifestName:                   aws.String("exampleManifest2"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
    },
    LowLatencyHlsManifests: []*mediapackagev2.CreateLowLatencyHlsManifestConfiguration{
        {
            ChildManifestName:              aws.String("exampleLLChildManifest1"),
            ManifestName:                   aws.String("exampleLLManifest1"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
        {
            ChildManifestName:              aws.String("exampleLLManifest2"),
            ManifestName:                   aws.String("exampleLLManifest2"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
    },
    OriginEndpointName: aws.String("exampleOriginEndpointCMAF"),
    Segment: &mediapackagev2.Segment{
        Encryption: &mediapackagev2.Encryption{
            ConstantInitializationVector: aws.String("A382A901F3C1F7718512266CFFBB0B9F"),
            EncryptionMethod: &mediapackagev2.EncryptionMethod{
                CmafEncryptionMethod: aws.String("CBCS"),
            },
            KeyRotationIntervalSeconds: aws.Int64(300),
            SpekeKeyProvider: &mediapackagev2.SpekeKeyProvider{
                DrmSystems: []*string{
                    aws.String("PLAYREADY"),
                    aws.String("WIDEVINE"),
                },
                EncryptionContractConfiguration: &mediapackagev2.EncryptionContractConfiguration{
                    PresetSpeke20Audio: aws.String("PRESET_AUDIO_1"),
                    PresetSpeke20Video: aws.String("PRESET_VIDEO_1"),
                },
                ResourceId: aws.String("ResourceId"),
                RoleArn:    aws.String("arn:aws:iam::123456789012:role/empRole"),
                Url:        aws.String("https://foo.com"),
            },
        },
        IncludeIframeOnlyStreams: aws.Bool(true),
        Scte: &mediapackagev2.Scte{
            ScteFilter: []*string{
                aws.String("SPLICE_INSERT"),
                aws.String("BREAK"),
            },
        },
        SegmentDurationSeconds: aws.Int64(6),
        SegmentName:            aws.String("segmentName"),
    },
    StartoverWindowSeconds: aws.Int64(300),
    Tags: map[string]*string{
        "key1": aws.String("value1"),
        "key2": aws.String("value2"),
    },
}

result, err := svc.CreateOriginEndpoint(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        case mediapackagev2.ErrCodeServiceQuotaExceededException:
            fmt.Println(mediapackagev2.ErrCodeServiceQuotaExceededException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) CreateOriginEndpointRequest

func (c *MediaPackageV2) CreateOriginEndpointRequest(input *CreateOriginEndpointInput) (req *request.Request, output *CreateOriginEndpointOutput)

CreateOriginEndpointRequest generates a "aws/request.Request" representing the client's request for the CreateOriginEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateOriginEndpoint for more information on using the CreateOriginEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateOriginEndpointRequest method.
req, resp := client.CreateOriginEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateOriginEndpoint

func (*MediaPackageV2) CreateOriginEndpointWithContext

func (c *MediaPackageV2) CreateOriginEndpointWithContext(ctx aws.Context, input *CreateOriginEndpointInput, opts ...request.Option) (*CreateOriginEndpointOutput, error)

CreateOriginEndpointWithContext is the same as CreateOriginEndpoint with the addition of the ability to pass a context and additional request options.

See CreateOriginEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) DeleteChannel

func (c *MediaPackageV2) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error)

DeleteChannel API operation for AWS Elemental MediaPackage v2.

Delete a channel to stop AWS Elemental MediaPackage from receiving further content. You must delete the channel's origin endpoints before you can delete the channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation DeleteChannel for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannel

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.DeleteChannelInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    ChannelName:      aws.String("exampleChannel"),
}

result, err := svc.DeleteChannel(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) DeleteChannelGroup

func (c *MediaPackageV2) DeleteChannelGroup(input *DeleteChannelGroupInput) (*DeleteChannelGroupOutput, error)

DeleteChannelGroup API operation for AWS Elemental MediaPackage v2.

Delete a channel group. You must delete the channel group's channels and origin endpoints before you can delete the channel group. If you delete a channel group, you'll lose access to the egress domain and will have to create a new channel group to replace it.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation DeleteChannelGroup for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannelGroup

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.DeleteChannelGroupInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
}

result, err := svc.DeleteChannelGroup(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) DeleteChannelGroupRequest

func (c *MediaPackageV2) DeleteChannelGroupRequest(input *DeleteChannelGroupInput) (req *request.Request, output *DeleteChannelGroupOutput)

DeleteChannelGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteChannelGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteChannelGroup for more information on using the DeleteChannelGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteChannelGroupRequest method.
req, resp := client.DeleteChannelGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannelGroup

func (*MediaPackageV2) DeleteChannelGroupWithContext

func (c *MediaPackageV2) DeleteChannelGroupWithContext(ctx aws.Context, input *DeleteChannelGroupInput, opts ...request.Option) (*DeleteChannelGroupOutput, error)

DeleteChannelGroupWithContext is the same as DeleteChannelGroup with the addition of the ability to pass a context and additional request options.

See DeleteChannelGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) DeleteChannelPolicy

func (c *MediaPackageV2) DeleteChannelPolicy(input *DeleteChannelPolicyInput) (*DeleteChannelPolicyOutput, error)

DeleteChannelPolicy API operation for AWS Elemental MediaPackage v2.

Delete a channel policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation DeleteChannelPolicy for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannelPolicy

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.DeleteChannelPolicyInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    ChannelName:      aws.String("exampleChannel"),
}

result, err := svc.DeleteChannelPolicy(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) DeleteChannelPolicyRequest

func (c *MediaPackageV2) DeleteChannelPolicyRequest(input *DeleteChannelPolicyInput) (req *request.Request, output *DeleteChannelPolicyOutput)

DeleteChannelPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteChannelPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteChannelPolicy for more information on using the DeleteChannelPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteChannelPolicyRequest method.
req, resp := client.DeleteChannelPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannelPolicy

func (*MediaPackageV2) DeleteChannelPolicyWithContext

func (c *MediaPackageV2) DeleteChannelPolicyWithContext(ctx aws.Context, input *DeleteChannelPolicyInput, opts ...request.Option) (*DeleteChannelPolicyOutput, error)

DeleteChannelPolicyWithContext is the same as DeleteChannelPolicy with the addition of the ability to pass a context and additional request options.

See DeleteChannelPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) DeleteChannelRequest

func (c *MediaPackageV2) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput)

DeleteChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteChannel for more information on using the DeleteChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteChannelRequest method.
req, resp := client.DeleteChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteChannel

func (*MediaPackageV2) DeleteChannelWithContext

func (c *MediaPackageV2) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error)

DeleteChannelWithContext is the same as DeleteChannel with the addition of the ability to pass a context and additional request options.

See DeleteChannel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) DeleteOriginEndpoint

func (c *MediaPackageV2) DeleteOriginEndpoint(input *DeleteOriginEndpointInput) (*DeleteOriginEndpointOutput, error)

DeleteOriginEndpoint API operation for AWS Elemental MediaPackage v2.

Origin endpoints can serve content until they're deleted. Delete the endpoint if it should no longer respond to playback requests. You must delete all endpoints from a channel before you can delete the channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation DeleteOriginEndpoint for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteOriginEndpoint

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.DeleteOriginEndpointInput{
    ChannelGroupName:   aws.String("exampleChannelGroup"),
    ChannelName:        aws.String("exampleChannel"),
    OriginEndpointName: aws.String("exampleOriginEndpointTS"),
}

result, err := svc.DeleteOriginEndpoint(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) DeleteOriginEndpointPolicy

func (c *MediaPackageV2) DeleteOriginEndpointPolicy(input *DeleteOriginEndpointPolicyInput) (*DeleteOriginEndpointPolicyOutput, error)

DeleteOriginEndpointPolicy API operation for AWS Elemental MediaPackage v2.

Delete an origin endpoint policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation DeleteOriginEndpointPolicy for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteOriginEndpointPolicy

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.DeleteOriginEndpointPolicyInput{
    ChannelGroupName:   aws.String("exampleChannelGroup"),
    ChannelName:        aws.String("exampleChannel"),
    OriginEndpointName: aws.String("exampleOriginEndpoint"),
}

result, err := svc.DeleteOriginEndpointPolicy(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) DeleteOriginEndpointPolicyRequest

func (c *MediaPackageV2) DeleteOriginEndpointPolicyRequest(input *DeleteOriginEndpointPolicyInput) (req *request.Request, output *DeleteOriginEndpointPolicyOutput)

DeleteOriginEndpointPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteOriginEndpointPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteOriginEndpointPolicy for more information on using the DeleteOriginEndpointPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteOriginEndpointPolicyRequest method.
req, resp := client.DeleteOriginEndpointPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteOriginEndpointPolicy

func (*MediaPackageV2) DeleteOriginEndpointPolicyWithContext

func (c *MediaPackageV2) DeleteOriginEndpointPolicyWithContext(ctx aws.Context, input *DeleteOriginEndpointPolicyInput, opts ...request.Option) (*DeleteOriginEndpointPolicyOutput, error)

DeleteOriginEndpointPolicyWithContext is the same as DeleteOriginEndpointPolicy with the addition of the ability to pass a context and additional request options.

See DeleteOriginEndpointPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) DeleteOriginEndpointRequest

func (c *MediaPackageV2) DeleteOriginEndpointRequest(input *DeleteOriginEndpointInput) (req *request.Request, output *DeleteOriginEndpointOutput)

DeleteOriginEndpointRequest generates a "aws/request.Request" representing the client's request for the DeleteOriginEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteOriginEndpoint for more information on using the DeleteOriginEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteOriginEndpointRequest method.
req, resp := client.DeleteOriginEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteOriginEndpoint

func (*MediaPackageV2) DeleteOriginEndpointWithContext

func (c *MediaPackageV2) DeleteOriginEndpointWithContext(ctx aws.Context, input *DeleteOriginEndpointInput, opts ...request.Option) (*DeleteOriginEndpointOutput, error)

DeleteOriginEndpointWithContext is the same as DeleteOriginEndpoint with the addition of the ability to pass a context and additional request options.

See DeleteOriginEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) GetChannel

func (c *MediaPackageV2) GetChannel(input *GetChannelInput) (*GetChannelOutput, error)

GetChannel API operation for AWS Elemental MediaPackage v2.

Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation GetChannel for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannel

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.GetChannelInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    ChannelName:      aws.String("exampleChannel"),
}

result, err := svc.GetChannel(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) GetChannelGroup

func (c *MediaPackageV2) GetChannelGroup(input *GetChannelGroupInput) (*GetChannelGroupOutput, error)

GetChannelGroup API operation for AWS Elemental MediaPackage v2.

Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation GetChannelGroup for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannelGroup

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.GetChannelGroupInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
}

result, err := svc.GetChannelGroup(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) GetChannelGroupRequest

func (c *MediaPackageV2) GetChannelGroupRequest(input *GetChannelGroupInput) (req *request.Request, output *GetChannelGroupOutput)

GetChannelGroupRequest generates a "aws/request.Request" representing the client's request for the GetChannelGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetChannelGroup for more information on using the GetChannelGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetChannelGroupRequest method.
req, resp := client.GetChannelGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannelGroup

func (*MediaPackageV2) GetChannelGroupWithContext

func (c *MediaPackageV2) GetChannelGroupWithContext(ctx aws.Context, input *GetChannelGroupInput, opts ...request.Option) (*GetChannelGroupOutput, error)

GetChannelGroupWithContext is the same as GetChannelGroup with the addition of the ability to pass a context and additional request options.

See GetChannelGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) GetChannelPolicy

func (c *MediaPackageV2) GetChannelPolicy(input *GetChannelPolicyInput) (*GetChannelPolicyOutput, error)

GetChannelPolicy API operation for AWS Elemental MediaPackage v2.

Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation GetChannelPolicy for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannelPolicy

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.GetChannelPolicyInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    ChannelName:      aws.String("exampleChannel"),
}

result, err := svc.GetChannelPolicy(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) GetChannelPolicyRequest

func (c *MediaPackageV2) GetChannelPolicyRequest(input *GetChannelPolicyInput) (req *request.Request, output *GetChannelPolicyOutput)

GetChannelPolicyRequest generates a "aws/request.Request" representing the client's request for the GetChannelPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetChannelPolicy for more information on using the GetChannelPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetChannelPolicyRequest method.
req, resp := client.GetChannelPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannelPolicy

func (*MediaPackageV2) GetChannelPolicyWithContext

func (c *MediaPackageV2) GetChannelPolicyWithContext(ctx aws.Context, input *GetChannelPolicyInput, opts ...request.Option) (*GetChannelPolicyOutput, error)

GetChannelPolicyWithContext is the same as GetChannelPolicy with the addition of the ability to pass a context and additional request options.

See GetChannelPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) GetChannelRequest

func (c *MediaPackageV2) GetChannelRequest(input *GetChannelInput) (req *request.Request, output *GetChannelOutput)

GetChannelRequest generates a "aws/request.Request" representing the client's request for the GetChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetChannel for more information on using the GetChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetChannelRequest method.
req, resp := client.GetChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannel

func (*MediaPackageV2) GetChannelWithContext

func (c *MediaPackageV2) GetChannelWithContext(ctx aws.Context, input *GetChannelInput, opts ...request.Option) (*GetChannelOutput, error)

GetChannelWithContext is the same as GetChannel with the addition of the ability to pass a context and additional request options.

See GetChannel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) GetOriginEndpoint

func (c *MediaPackageV2) GetOriginEndpoint(input *GetOriginEndpointInput) (*GetOriginEndpointOutput, error)

GetOriginEndpoint API operation for AWS Elemental MediaPackage v2.

Retrieves the specified origin endpoint that's configured in AWS Elemental MediaPackage to obtain its playback URL and to view the packaging settings that it's currently using.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation GetOriginEndpoint for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetOriginEndpoint

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.GetOriginEndpointInput{
    ChannelGroupName:   aws.String("exampleChannelGroup"),
    ChannelName:        aws.String("exampleChannel"),
    OriginEndpointName: aws.String("exampleOriginEndpointTS"),
}

result, err := svc.GetOriginEndpoint(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) GetOriginEndpointPolicy

func (c *MediaPackageV2) GetOriginEndpointPolicy(input *GetOriginEndpointPolicyInput) (*GetOriginEndpointPolicyOutput, error)

GetOriginEndpointPolicy API operation for AWS Elemental MediaPackage v2.

Retrieves the specified origin endpoint policy that's configured in AWS Elemental MediaPackage.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation GetOriginEndpointPolicy for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetOriginEndpointPolicy

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.GetOriginEndpointPolicyInput{
    ChannelGroupName:   aws.String("exampleChannelGroup"),
    ChannelName:        aws.String("exampleChannel"),
    OriginEndpointName: aws.String("exampleOriginEndpoint"),
}

result, err := svc.GetOriginEndpointPolicy(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) GetOriginEndpointPolicyRequest

func (c *MediaPackageV2) GetOriginEndpointPolicyRequest(input *GetOriginEndpointPolicyInput) (req *request.Request, output *GetOriginEndpointPolicyOutput)

GetOriginEndpointPolicyRequest generates a "aws/request.Request" representing the client's request for the GetOriginEndpointPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetOriginEndpointPolicy for more information on using the GetOriginEndpointPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetOriginEndpointPolicyRequest method.
req, resp := client.GetOriginEndpointPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetOriginEndpointPolicy

func (*MediaPackageV2) GetOriginEndpointPolicyWithContext

func (c *MediaPackageV2) GetOriginEndpointPolicyWithContext(ctx aws.Context, input *GetOriginEndpointPolicyInput, opts ...request.Option) (*GetOriginEndpointPolicyOutput, error)

GetOriginEndpointPolicyWithContext is the same as GetOriginEndpointPolicy with the addition of the ability to pass a context and additional request options.

See GetOriginEndpointPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) GetOriginEndpointRequest

func (c *MediaPackageV2) GetOriginEndpointRequest(input *GetOriginEndpointInput) (req *request.Request, output *GetOriginEndpointOutput)

GetOriginEndpointRequest generates a "aws/request.Request" representing the client's request for the GetOriginEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetOriginEndpoint for more information on using the GetOriginEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetOriginEndpointRequest method.
req, resp := client.GetOriginEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetOriginEndpoint

func (*MediaPackageV2) GetOriginEndpointWithContext

func (c *MediaPackageV2) GetOriginEndpointWithContext(ctx aws.Context, input *GetOriginEndpointInput, opts ...request.Option) (*GetOriginEndpointOutput, error)

GetOriginEndpointWithContext is the same as GetOriginEndpoint with the addition of the ability to pass a context and additional request options.

See GetOriginEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) ListChannelGroups

func (c *MediaPackageV2) ListChannelGroups(input *ListChannelGroupsInput) (*ListChannelGroupsOutput, error)

ListChannelGroups API operation for AWS Elemental MediaPackage v2.

Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including the channels and origin endpoints that are associated with it.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation ListChannelGroups for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListChannelGroups

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.ListChannelGroupsInput{}

result, err := svc.ListChannelGroups(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) ListChannelGroupsPages

func (c *MediaPackageV2) ListChannelGroupsPages(input *ListChannelGroupsInput, fn func(*ListChannelGroupsOutput, bool) bool) error

ListChannelGroupsPages iterates over the pages of a ListChannelGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListChannelGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListChannelGroups operation.
pageNum := 0
err := client.ListChannelGroupsPages(params,
    func(page *mediapackagev2.ListChannelGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaPackageV2) ListChannelGroupsPagesWithContext

func (c *MediaPackageV2) ListChannelGroupsPagesWithContext(ctx aws.Context, input *ListChannelGroupsInput, fn func(*ListChannelGroupsOutput, bool) bool, opts ...request.Option) error

ListChannelGroupsPagesWithContext same as ListChannelGroupsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) ListChannelGroupsRequest

func (c *MediaPackageV2) ListChannelGroupsRequest(input *ListChannelGroupsInput) (req *request.Request, output *ListChannelGroupsOutput)

ListChannelGroupsRequest generates a "aws/request.Request" representing the client's request for the ListChannelGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListChannelGroups for more information on using the ListChannelGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListChannelGroupsRequest method.
req, resp := client.ListChannelGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListChannelGroups

func (*MediaPackageV2) ListChannelGroupsWithContext

func (c *MediaPackageV2) ListChannelGroupsWithContext(ctx aws.Context, input *ListChannelGroupsInput, opts ...request.Option) (*ListChannelGroupsOutput, error)

ListChannelGroupsWithContext is the same as ListChannelGroups with the addition of the ability to pass a context and additional request options.

See ListChannelGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) ListChannels

func (c *MediaPackageV2) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error)

ListChannels API operation for AWS Elemental MediaPackage v2.

Retrieves all channels in a specific channel group that are configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation ListChannels for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListChannels

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.ListChannelsInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
}

result, err := svc.ListChannels(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) ListChannelsPages

func (c *MediaPackageV2) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error

ListChannelsPages iterates over the pages of a ListChannels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListChannels method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListChannels operation.
pageNum := 0
err := client.ListChannelsPages(params,
    func(page *mediapackagev2.ListChannelsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaPackageV2) ListChannelsPagesWithContext

func (c *MediaPackageV2) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error

ListChannelsPagesWithContext same as ListChannelsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) ListChannelsRequest

func (c *MediaPackageV2) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput)

ListChannelsRequest generates a "aws/request.Request" representing the client's request for the ListChannels operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListChannels for more information on using the ListChannels API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListChannelsRequest method.
req, resp := client.ListChannelsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListChannels

func (*MediaPackageV2) ListChannelsWithContext

func (c *MediaPackageV2) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error)

ListChannelsWithContext is the same as ListChannels with the addition of the ability to pass a context and additional request options.

See ListChannels for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) ListOriginEndpoints

func (c *MediaPackageV2) ListOriginEndpoints(input *ListOriginEndpointsInput) (*ListOriginEndpointsOutput, error)

ListOriginEndpoints API operation for AWS Elemental MediaPackage v2.

Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation ListOriginEndpoints for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListOriginEndpoints

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.ListOriginEndpointsInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    ChannelName:      aws.String("exampleChannel"),
}

result, err := svc.ListOriginEndpoints(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) ListOriginEndpointsPages

func (c *MediaPackageV2) ListOriginEndpointsPages(input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool) error

ListOriginEndpointsPages iterates over the pages of a ListOriginEndpoints operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListOriginEndpoints method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListOriginEndpoints operation.
pageNum := 0
err := client.ListOriginEndpointsPages(params,
    func(page *mediapackagev2.ListOriginEndpointsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaPackageV2) ListOriginEndpointsPagesWithContext

func (c *MediaPackageV2) ListOriginEndpointsPagesWithContext(ctx aws.Context, input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool, opts ...request.Option) error

ListOriginEndpointsPagesWithContext same as ListOriginEndpointsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) ListOriginEndpointsRequest

func (c *MediaPackageV2) ListOriginEndpointsRequest(input *ListOriginEndpointsInput) (req *request.Request, output *ListOriginEndpointsOutput)

ListOriginEndpointsRequest generates a "aws/request.Request" representing the client's request for the ListOriginEndpoints operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListOriginEndpoints for more information on using the ListOriginEndpoints API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListOriginEndpointsRequest method.
req, resp := client.ListOriginEndpointsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListOriginEndpoints

func (*MediaPackageV2) ListOriginEndpointsWithContext

func (c *MediaPackageV2) ListOriginEndpointsWithContext(ctx aws.Context, input *ListOriginEndpointsInput, opts ...request.Option) (*ListOriginEndpointsOutput, error)

ListOriginEndpointsWithContext is the same as ListOriginEndpoints with the addition of the ability to pass a context and additional request options.

See ListOriginEndpoints for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) ListTagsForResource

func (c *MediaPackageV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS Elemental MediaPackage v2.

Lists the tags assigned to a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ValidationException The input failed to meet the constraints specified by the AWS service.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListTagsForResource

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.ListTagsForResourceInput{
    ResourceArn: aws.String("arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel"),
}

result, err := svc.ListTagsForResource(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) ListTagsForResourceRequest

func (c *MediaPackageV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListTagsForResource

func (*MediaPackageV2) ListTagsForResourceWithContext

func (c *MediaPackageV2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) PutChannelPolicy

func (c *MediaPackageV2) PutChannelPolicy(input *PutChannelPolicyInput) (*PutChannelPolicyOutput, error)

PutChannelPolicy API operation for AWS Elemental MediaPackage v2.

Attaches an IAM policy to the specified channel. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources. You can attach only one policy with each request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation PutChannelPolicy for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/PutChannelPolicy

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.PutChannelPolicyInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    ChannelName:      aws.String("exampleChannel"),
    Policy:           aws.String("{...}"),
}

result, err := svc.PutChannelPolicy(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) PutChannelPolicyRequest

func (c *MediaPackageV2) PutChannelPolicyRequest(input *PutChannelPolicyInput) (req *request.Request, output *PutChannelPolicyOutput)

PutChannelPolicyRequest generates a "aws/request.Request" representing the client's request for the PutChannelPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutChannelPolicy for more information on using the PutChannelPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutChannelPolicyRequest method.
req, resp := client.PutChannelPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/PutChannelPolicy

func (*MediaPackageV2) PutChannelPolicyWithContext

func (c *MediaPackageV2) PutChannelPolicyWithContext(ctx aws.Context, input *PutChannelPolicyInput, opts ...request.Option) (*PutChannelPolicyOutput, error)

PutChannelPolicyWithContext is the same as PutChannelPolicy with the addition of the ability to pass a context and additional request options.

See PutChannelPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) PutOriginEndpointPolicy

func (c *MediaPackageV2) PutOriginEndpointPolicy(input *PutOriginEndpointPolicyInput) (*PutOriginEndpointPolicyOutput, error)

PutOriginEndpointPolicy API operation for AWS Elemental MediaPackage v2.

Attaches an IAM policy to the specified origin endpoint. You can attach only one policy with each request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation PutOriginEndpointPolicy for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/PutOriginEndpointPolicy

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.PutOriginEndpointPolicyInput{
    ChannelGroupName:   aws.String("exampleChannelGroup"),
    ChannelName:        aws.String("exampleChannel"),
    OriginEndpointName: aws.String("exampleOriginEndpoint"),
    Policy:             aws.String("{...}"),
}

result, err := svc.PutOriginEndpointPolicy(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) PutOriginEndpointPolicyRequest

func (c *MediaPackageV2) PutOriginEndpointPolicyRequest(input *PutOriginEndpointPolicyInput) (req *request.Request, output *PutOriginEndpointPolicyOutput)

PutOriginEndpointPolicyRequest generates a "aws/request.Request" representing the client's request for the PutOriginEndpointPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutOriginEndpointPolicy for more information on using the PutOriginEndpointPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutOriginEndpointPolicyRequest method.
req, resp := client.PutOriginEndpointPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/PutOriginEndpointPolicy

func (*MediaPackageV2) PutOriginEndpointPolicyWithContext

func (c *MediaPackageV2) PutOriginEndpointPolicyWithContext(ctx aws.Context, input *PutOriginEndpointPolicyInput, opts ...request.Option) (*PutOriginEndpointPolicyOutput, error)

PutOriginEndpointPolicyWithContext is the same as PutOriginEndpointPolicy with the addition of the ability to pass a context and additional request options.

See PutOriginEndpointPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) TagResource

func (c *MediaPackageV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS Elemental MediaPackage v2.

Assigns one of more tags (key-value pairs) to the specified MediaPackage resource.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values. You can use the TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation TagResource for usage and error information.

Returned Error Types:

  • ValidationException The input failed to meet the constraints specified by the AWS service.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/TagResource

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.TagResourceInput{
    ResourceArn: aws.String("arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel"),
    Tags: map[string]*string{
        "key3": aws.String("value3"),
        "key4": aws.String("value4"),
    },
}

result, err := svc.TagResource(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) TagResourceRequest

func (c *MediaPackageV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/TagResource

func (*MediaPackageV2) TagResourceWithContext

func (c *MediaPackageV2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) UntagResource

func (c *MediaPackageV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS Elemental MediaPackage v2.

Removes one or more tags from the specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation UntagResource for usage and error information.

Returned Error Types:

  • ValidationException The input failed to meet the constraints specified by the AWS service.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UntagResource

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.UntagResourceInput{
    ResourceArn: aws.String("arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel"),
    TagKeys: []*string{
        aws.String("key3"),
        aws.String("key4"),
    },
}

result, err := svc.UntagResource(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) UntagResourceRequest

func (c *MediaPackageV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UntagResource

func (*MediaPackageV2) UntagResourceWithContext

func (c *MediaPackageV2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) UpdateChannel

func (c *MediaPackageV2) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error)

UpdateChannel API operation for AWS Elemental MediaPackage v2.

Update the specified channel. You can edit if MediaPackage sends ingest or egress access logs to the CloudWatch log group, if content will be encrypted, the description on a channel, and your channel's policy settings. You can't edit the name of the channel or CloudFront distribution details.

Any edits you make that impact the video output may not be reflected for a few minutes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation UpdateChannel for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateChannel

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.UpdateChannelInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    ChannelName:      aws.String("exampleChannel"),
    Description:      aws.String("Updated description for exampleChannel"),
}

result, err := svc.UpdateChannel(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) UpdateChannelGroup

func (c *MediaPackageV2) UpdateChannelGroup(input *UpdateChannelGroupInput) (*UpdateChannelGroupOutput, error)

UpdateChannelGroup API operation for AWS Elemental MediaPackage v2.

Update the specified channel group. You can edit the description on a channel group for easier identification later from the AWS Elemental MediaPackage console. You can't edit the name of the channel group.

Any edits you make that impact the video output may not be reflected for a few minutes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation UpdateChannelGroup for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateChannelGroup

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.UpdateChannelGroupInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    Description:      aws.String("Updated description for exampleChannelGroup"),
}

result, err := svc.UpdateChannelGroup(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) UpdateChannelGroupRequest

func (c *MediaPackageV2) UpdateChannelGroupRequest(input *UpdateChannelGroupInput) (req *request.Request, output *UpdateChannelGroupOutput)

UpdateChannelGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateChannelGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateChannelGroup for more information on using the UpdateChannelGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateChannelGroupRequest method.
req, resp := client.UpdateChannelGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateChannelGroup

func (*MediaPackageV2) UpdateChannelGroupWithContext

func (c *MediaPackageV2) UpdateChannelGroupWithContext(ctx aws.Context, input *UpdateChannelGroupInput, opts ...request.Option) (*UpdateChannelGroupOutput, error)

UpdateChannelGroupWithContext is the same as UpdateChannelGroup with the addition of the ability to pass a context and additional request options.

See UpdateChannelGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) UpdateChannelRequest

func (c *MediaPackageV2) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput)

UpdateChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateChannel for more information on using the UpdateChannel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateChannelRequest method.
req, resp := client.UpdateChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateChannel

func (*MediaPackageV2) UpdateChannelWithContext

func (c *MediaPackageV2) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error)

UpdateChannelWithContext is the same as UpdateChannel with the addition of the ability to pass a context and additional request options.

See UpdateChannel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaPackageV2) UpdateOriginEndpoint

func (c *MediaPackageV2) UpdateOriginEndpoint(input *UpdateOriginEndpointInput) (*UpdateOriginEndpointOutput, error)

UpdateOriginEndpoint API operation for AWS Elemental MediaPackage v2.

Update the specified origin endpoint. Edit the packaging preferences on an endpoint to optimize the viewing experience. You can't edit the name of the endpoint.

Any edits you make that impact the video output may not be reflected for a few minutes.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Elemental MediaPackage v2's API operation UpdateOriginEndpoint for usage and error information.

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

  • ConflictException Updating or deleting this resource can cause an inconsistent state.

  • InternalServerException Indicates that an error from the service occurred while trying to process a request.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ResourceNotFoundException The specified resource doesn't exist.

  • ServiceQuotaExceededException The request would cause a service quota to be exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateOriginEndpoint

Example (Shared00)

Code:

svc := mediapackagev2.New(session.New())
input := &mediapackagev2.UpdateOriginEndpointInput{
    ChannelGroupName: aws.String("exampleChannelGroup"),
    ChannelName:      aws.String("exampleChannel"),
    ContainerType:    aws.String("TS"),
    Description:      aws.String("Updated description for exampleOriginEndpointTS"),
    ForceEndpointErrorConfiguration: &mediapackagev2.ForceEndpointErrorConfiguration{
        EndpointErrorConditions: []*string{
            aws.String("STALE_MANIFEST"),
            aws.String("INCOMPLETE_MANIFEST"),
            aws.String("MISSING_DRM_KEY"),
            aws.String("SLATE_INPUT"),
        },
    },
    HlsManifests: []*mediapackagev2.CreateHlsManifestConfiguration{
        {
            ChildManifestName:              aws.String("exampleChildManifest1"),
            ManifestName:                   aws.String("exampleManifest1"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
        {
            ChildManifestName:              aws.String("exampleManifest2"),
            ManifestName:                   aws.String("exampleManifest2"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
    },
    LowLatencyHlsManifests: []*mediapackagev2.CreateLowLatencyHlsManifestConfiguration{
        {
            ChildManifestName:              aws.String("exampleLLChildManifest1"),
            ManifestName:                   aws.String("exampleLLManifest1"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
        {
            ChildManifestName:              aws.String("exampleLLManifest2"),
            ManifestName:                   aws.String("exampleLLManifest2"),
            ManifestWindowSeconds:          aws.Int64(30),
            ProgramDateTimeIntervalSeconds: aws.Int64(60),
            ScteHls: &mediapackagev2.ScteHls{
                AdMarkerHls: aws.String("DATERANGE"),
            },
        },
    },
    OriginEndpointName: aws.String("exampleOriginEndpointTS"),
    Segment: &mediapackagev2.Segment{
        Encryption: &mediapackagev2.Encryption{
            ConstantInitializationVector: aws.String("A382A901F3C1F7718512266CFFBB0B7E"),
            EncryptionMethod: &mediapackagev2.EncryptionMethod{
                TsEncryptionMethod: aws.String("AES_128"),
            },
            KeyRotationIntervalSeconds: aws.Int64(300),
            SpekeKeyProvider: &mediapackagev2.SpekeKeyProvider{
                DrmSystems: []*string{
                    aws.String("CLEAR_KEY_AES_128"),
                },
                EncryptionContractConfiguration: &mediapackagev2.EncryptionContractConfiguration{
                    PresetSpeke20Audio: aws.String("SHARED"),
                    PresetSpeke20Video: aws.String("SHARED"),
                },
                ResourceId: aws.String("ResourceId"),
                RoleArn:    aws.String("arn:aws:iam::123456789012:role/empRole"),
                Url:        aws.String("https://foo.com"),
            },
        },
        IncludeIframeOnlyStreams: aws.Bool(false),
        Scte: &mediapackagev2.Scte{
            ScteFilter: []*string{
                aws.String("SPLICE_INSERT"),
            },
        },
        SegmentDurationSeconds:   aws.Int64(7),
        SegmentName:              aws.String("segmentName2"),
        TsIncludeDvbSubtitles:    aws.Bool(false),
        TsUseAudioRenditionGroup: aws.Bool(true),
    },
    StartoverWindowSeconds: aws.Int64(600),
}

result, err := svc.UpdateOriginEndpoint(input)
if err != nil {
    if aerr, ok := err.(awserr.Error); ok {
        switch aerr.Code() {
        case mediapackagev2.ErrCodeThrottlingException:
            fmt.Println(mediapackagev2.ErrCodeThrottlingException, aerr.Error())
        case mediapackagev2.ErrCodeConflictException:
            fmt.Println(mediapackagev2.ErrCodeConflictException, aerr.Error())
        case mediapackagev2.ErrCodeInternalServerException:
            fmt.Println(mediapackagev2.ErrCodeInternalServerException, aerr.Error())
        case mediapackagev2.ErrCodeAccessDeniedException:
            fmt.Println(mediapackagev2.ErrCodeAccessDeniedException, aerr.Error())
        case mediapackagev2.ErrCodeValidationException:
            fmt.Println(mediapackagev2.ErrCodeValidationException, aerr.Error())
        case mediapackagev2.ErrCodeResourceNotFoundException:
            fmt.Println(mediapackagev2.ErrCodeResourceNotFoundException, aerr.Error())
        case mediapackagev2.ErrCodeServiceQuotaExceededException:
            fmt.Println(mediapackagev2.ErrCodeServiceQuotaExceededException, aerr.Error())
        default:
            fmt.Println(aerr.Error())
        }
    } else {
        // Print the error, cast err to awserr.Error to get the Code and
        // Message from an error.
        fmt.Println(err.Error())
    }
    return
}

fmt.Println(result)

func (*MediaPackageV2) UpdateOriginEndpointRequest

func (c *MediaPackageV2) UpdateOriginEndpointRequest(input *UpdateOriginEndpointInput) (req *request.Request, output *UpdateOriginEndpointOutput)

UpdateOriginEndpointRequest generates a "aws/request.Request" representing the client's request for the UpdateOriginEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateOriginEndpoint for more information on using the UpdateOriginEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateOriginEndpointRequest method.
req, resp := client.UpdateOriginEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateOriginEndpoint

func (*MediaPackageV2) UpdateOriginEndpointWithContext

func (c *MediaPackageV2) UpdateOriginEndpointWithContext(ctx aws.Context, input *UpdateOriginEndpointInput, opts ...request.Option) (*UpdateOriginEndpointOutput, error)

UpdateOriginEndpointWithContext is the same as UpdateOriginEndpoint with the addition of the ability to pass a context and additional request options.

See UpdateOriginEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type OriginEndpointListConfiguration

type OriginEndpointListConfiguration struct {

    // The Amazon Resource Name (ARN) associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `min:"1" type:"string" required:"true"`

    // The type of container attached to this origin endpoint. A container type
    // is a file format that encapsulates one or more media streams, such as audio
    // and video, into a single file.
    //
    // ContainerType is a required field
    ContainerType *string `type:"string" required:"true" enum:"ContainerType"`

    // The date and time the origin endpoint was created.
    CreatedAt *time.Time `type:"timestamp"`

    // A DASH manifest configuration.
    DashManifests []*ListDashManifestConfiguration `type:"list"`

    // Any descriptive information that you want to add to the origin endpoint for
    // future identification purposes.
    Description *string `type:"string"`

    // The failover settings for the endpoint.
    ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"`

    // An HTTP live streaming (HLS) manifest configuration.
    HlsManifests []*ListHlsManifestConfiguration `type:"list"`

    // A low-latency HLS manifest configuration.
    LowLatencyHlsManifests []*ListLowLatencyHlsManifestConfiguration `type:"list"`

    // The date and time the origin endpoint was modified.
    ModifiedAt *time.Time `type:"timestamp"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and and must be unique for your account in the AWS
    // Region and channel.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The configuration of the origin endpoint.

func (OriginEndpointListConfiguration) GoString

func (s OriginEndpointListConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OriginEndpointListConfiguration) SetArn

func (s *OriginEndpointListConfiguration) SetArn(v string) *OriginEndpointListConfiguration

SetArn sets the Arn field's value.

func (*OriginEndpointListConfiguration) SetChannelGroupName

func (s *OriginEndpointListConfiguration) SetChannelGroupName(v string) *OriginEndpointListConfiguration

SetChannelGroupName sets the ChannelGroupName field's value.

func (*OriginEndpointListConfiguration) SetChannelName

func (s *OriginEndpointListConfiguration) SetChannelName(v string) *OriginEndpointListConfiguration

SetChannelName sets the ChannelName field's value.

func (*OriginEndpointListConfiguration) SetContainerType

func (s *OriginEndpointListConfiguration) SetContainerType(v string) *OriginEndpointListConfiguration

SetContainerType sets the ContainerType field's value.

func (*OriginEndpointListConfiguration) SetCreatedAt

func (s *OriginEndpointListConfiguration) SetCreatedAt(v time.Time) *OriginEndpointListConfiguration

SetCreatedAt sets the CreatedAt field's value.

func (*OriginEndpointListConfiguration) SetDashManifests

func (s *OriginEndpointListConfiguration) SetDashManifests(v []*ListDashManifestConfiguration) *OriginEndpointListConfiguration

SetDashManifests sets the DashManifests field's value.

func (*OriginEndpointListConfiguration) SetDescription

func (s *OriginEndpointListConfiguration) SetDescription(v string) *OriginEndpointListConfiguration

SetDescription sets the Description field's value.

func (*OriginEndpointListConfiguration) SetForceEndpointErrorConfiguration

func (s *OriginEndpointListConfiguration) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *OriginEndpointListConfiguration

SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.

func (*OriginEndpointListConfiguration) SetHlsManifests

func (s *OriginEndpointListConfiguration) SetHlsManifests(v []*ListHlsManifestConfiguration) *OriginEndpointListConfiguration

SetHlsManifests sets the HlsManifests field's value.

func (*OriginEndpointListConfiguration) SetLowLatencyHlsManifests

func (s *OriginEndpointListConfiguration) SetLowLatencyHlsManifests(v []*ListLowLatencyHlsManifestConfiguration) *OriginEndpointListConfiguration

SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.

func (*OriginEndpointListConfiguration) SetModifiedAt

func (s *OriginEndpointListConfiguration) SetModifiedAt(v time.Time) *OriginEndpointListConfiguration

SetModifiedAt sets the ModifiedAt field's value.

func (*OriginEndpointListConfiguration) SetOriginEndpointName

func (s *OriginEndpointListConfiguration) SetOriginEndpointName(v string) *OriginEndpointListConfiguration

SetOriginEndpointName sets the OriginEndpointName field's value.

func (OriginEndpointListConfiguration) String

func (s OriginEndpointListConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutChannelPolicyInput

type PutChannelPolicyInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`

    // The policy to attach to the specified channel.
    //
    // Policy is a required field
    Policy *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (PutChannelPolicyInput) GoString

func (s PutChannelPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutChannelPolicyInput) SetChannelGroupName

func (s *PutChannelPolicyInput) SetChannelGroupName(v string) *PutChannelPolicyInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*PutChannelPolicyInput) SetChannelName

func (s *PutChannelPolicyInput) SetChannelName(v string) *PutChannelPolicyInput

SetChannelName sets the ChannelName field's value.

func (*PutChannelPolicyInput) SetPolicy

func (s *PutChannelPolicyInput) SetPolicy(v string) *PutChannelPolicyInput

SetPolicy sets the Policy field's value.

func (PutChannelPolicyInput) String

func (s PutChannelPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutChannelPolicyInput) Validate

func (s *PutChannelPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutChannelPolicyOutput

type PutChannelPolicyOutput struct {
    // contains filtered or unexported fields
}

func (PutChannelPolicyOutput) GoString

func (s PutChannelPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutChannelPolicyOutput) String

func (s PutChannelPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutOriginEndpointPolicyInput

type PutOriginEndpointPolicyInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and and must be unique for your account in the AWS
    // Region and channel.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"`

    // The policy to attach to the specified origin endpoint.
    //
    // Policy is a required field
    Policy *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (PutOriginEndpointPolicyInput) GoString

func (s PutOriginEndpointPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutOriginEndpointPolicyInput) SetChannelGroupName

func (s *PutOriginEndpointPolicyInput) SetChannelGroupName(v string) *PutOriginEndpointPolicyInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*PutOriginEndpointPolicyInput) SetChannelName

func (s *PutOriginEndpointPolicyInput) SetChannelName(v string) *PutOriginEndpointPolicyInput

SetChannelName sets the ChannelName field's value.

func (*PutOriginEndpointPolicyInput) SetOriginEndpointName

func (s *PutOriginEndpointPolicyInput) SetOriginEndpointName(v string) *PutOriginEndpointPolicyInput

SetOriginEndpointName sets the OriginEndpointName field's value.

func (*PutOriginEndpointPolicyInput) SetPolicy

func (s *PutOriginEndpointPolicyInput) SetPolicy(v string) *PutOriginEndpointPolicyInput

SetPolicy sets the Policy field's value.

func (PutOriginEndpointPolicyInput) String

func (s PutOriginEndpointPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutOriginEndpointPolicyInput) Validate

func (s *PutOriginEndpointPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutOriginEndpointPolicyOutput

type PutOriginEndpointPolicyOutput struct {
    // contains filtered or unexported fields
}

func (PutOriginEndpointPolicyOutput) GoString

func (s PutOriginEndpointPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutOriginEndpointPolicyOutput) String

func (s PutOriginEndpointPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`

    // The specified resource type wasn't found.
    ResourceTypeNotFound *string `type:"string" enum:"ResourceTypeNotFound"`
    // contains filtered or unexported fields
}

The specified resource doesn't exist.

func (*ResourceNotFoundException) Code

func (s *ResourceNotFoundException) Code() string

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Scte

type Scte struct {

    // The SCTE-35 message types that you want to be treated as ad markers in the
    // output.
    ScteFilter []*string `type:"list" enum:"ScteFilter"`
    // contains filtered or unexported fields
}

The SCTE configuration.

func (Scte) GoString

func (s Scte) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Scte) SetScteFilter

func (s *Scte) SetScteFilter(v []*string) *Scte

SetScteFilter sets the ScteFilter field's value.

func (Scte) String

func (s Scte) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ScteDash

type ScteDash struct {

    // Choose how ad markers are included in the packaged content. If you include
    // ad markers in the content stream in your upstream encoders, then you need
    // to inform MediaPackage what to do with the ad markers in the output.
    //
    // Value description:
    //
    //    * Binary - The SCTE-35 marker is expressed as a hex-string (Base64 string)
    //    rather than full XML.
    //
    //    * XML - The SCTE marker is expressed fully in XML.
    AdMarkerDash *string `type:"string" enum:"AdMarkerDash"`
    // contains filtered or unexported fields
}

The SCTE configuration.

func (ScteDash) GoString

func (s ScteDash) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScteDash) SetAdMarkerDash

func (s *ScteDash) SetAdMarkerDash(v string) *ScteDash

SetAdMarkerDash sets the AdMarkerDash field's value.

func (ScteDash) String

func (s ScteDash) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ScteHls

type ScteHls struct {

    // Ad markers indicate when ads should be inserted during playback. If you include
    // ad markers in the content stream in your upstream encoders, then you need
    // to inform MediaPackage what to do with the ad markers in the output. Choose
    // what you want MediaPackage to do with the ad markers.
    //
    // Value description:
    //
    //    * DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition
    //    events in TS and CMAF manifests. If you use DATERANGE, you must set a
    //    programDateTimeIntervalSeconds value of 1 or higher. To learn more about
    //    DATERANGE, see SCTE-35 Ad Marker EXT-X-DATERANGE (http://docs.aws.amazon.com/mediapackage/latest/ug/scte-35-ad-marker-ext-x-daterange.html).
    AdMarkerHls *string `type:"string" enum:"AdMarkerHls"`
    // contains filtered or unexported fields
}

The SCTE configuration.

func (ScteHls) GoString

func (s ScteHls) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScteHls) SetAdMarkerHls

func (s *ScteHls) SetAdMarkerHls(v string) *ScteHls

SetAdMarkerHls sets the AdMarkerHls field's value.

func (ScteHls) String

func (s ScteHls) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Segment

type Segment struct {

    // The parameters for encrypting content.
    Encryption *Encryption `type:"structure"`

    // When selected, the stream set includes an additional I-frame only stream,
    // along with the other tracks. If false, this extra stream is not included.
    // MediaPackage generates an I-frame only stream from the first rendition in
    // the manifest. The service inserts EXT-I-FRAMES-ONLY tags in the output manifest,
    // and then generates and includes an I-frames only playlist in the stream.
    // This playlist permits player functionality like fast forward and rewind.
    IncludeIframeOnlyStreams *bool `type:"boolean"`

    // The SCTE configuration options in the segment settings.
    Scte *Scte `type:"structure"`

    // The duration (in seconds) of each segment. Enter a value equal to, or a multiple
    // of, the input segment duration. If the value that you enter is different
    // from the input segment duration, MediaPackage rounds segments to the nearest
    // multiple of the input segment duration.
    SegmentDurationSeconds *int64 `min:"1" type:"integer"`

    // The name that describes the segment. The name is the base name of the segment
    // used in all content manifests inside of the endpoint. You can't use spaces
    // in the name.
    SegmentName *string `min:"1" type:"string"`

    // By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles
    // from the output. When selected, MediaPackage passes through DVB subtitles
    // into the output.
    TsIncludeDvbSubtitles *bool `type:"boolean"`

    // When selected, MediaPackage bundles all audio tracks in a rendition group.
    // All other tracks in the stream can be used with any audio rendition from
    // the group.
    TsUseAudioRenditionGroup *bool `type:"boolean"`
    // contains filtered or unexported fields
}

The segment configuration, including the segment name, duration, and other configuration values.

func (Segment) GoString

func (s Segment) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Segment) SetEncryption

func (s *Segment) SetEncryption(v *Encryption) *Segment

SetEncryption sets the Encryption field's value.

func (*Segment) SetIncludeIframeOnlyStreams

func (s *Segment) SetIncludeIframeOnlyStreams(v bool) *Segment

SetIncludeIframeOnlyStreams sets the IncludeIframeOnlyStreams field's value.

func (*Segment) SetScte

func (s *Segment) SetScte(v *Scte) *Segment

SetScte sets the Scte field's value.

func (*Segment) SetSegmentDurationSeconds

func (s *Segment) SetSegmentDurationSeconds(v int64) *Segment

SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value.

func (*Segment) SetSegmentName

func (s *Segment) SetSegmentName(v string) *Segment

SetSegmentName sets the SegmentName field's value.

func (*Segment) SetTsIncludeDvbSubtitles

func (s *Segment) SetTsIncludeDvbSubtitles(v bool) *Segment

SetTsIncludeDvbSubtitles sets the TsIncludeDvbSubtitles field's value.

func (*Segment) SetTsUseAudioRenditionGroup

func (s *Segment) SetTsUseAudioRenditionGroup(v bool) *Segment

SetTsUseAudioRenditionGroup sets the TsUseAudioRenditionGroup field's value.

func (Segment) String

func (s Segment) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Segment) Validate

func (s *Segment) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The request would cause a service quota to be exceeded.

func (*ServiceQuotaExceededException) Code

func (s *ServiceQuotaExceededException) Code() string

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (s *ServiceQuotaExceededException) Error() string

func (ServiceQuotaExceededException) GoString

func (s ServiceQuotaExceededException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

func (s *ServiceQuotaExceededException) Message() string

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String

func (s ServiceQuotaExceededException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SpekeKeyProvider

type SpekeKeyProvider struct {

    // The DRM solution provider you're using to protect your content during distribution.
    //
    // DrmSystems is a required field
    DrmSystems []*string `min:"1" type:"list" required:"true" enum:"DrmSystem"`

    // Configure one or more content encryption keys for your endpoints that use
    // SPEKE Version 2.0. The encryption contract defines which content keys are
    // used to encrypt the audio and video tracks in your stream. To configure the
    // encryption contract, specify which audio and video encryption presets to
    // use.
    //
    // EncryptionContractConfiguration is a required field
    EncryptionContractConfiguration *EncryptionContractConfiguration `type:"structure" required:"true"`

    // The unique identifier for the content. The service sends this to the key
    // server to identify the current endpoint. How unique you make this depends
    // on how fine-grained you want access controls to be. The service does not
    // permit you to use the same ID for two simultaneous encryption processes.
    // The resource ID is also known as the content ID.
    //
    // The following example shows a resource ID: MovieNight20171126093045
    //
    // ResourceId is a required field
    ResourceId *string `min:"1" type:"string" required:"true"`

    // The ARN for the IAM role granted by the key provider that provides access
    // to the key provider API. This role must have a trust policy that allows MediaPackage
    // to assume the role, and it must have a sufficient permissions policy to allow
    // access to the specific key retrieval URL. Get this from your DRM solution
    // provider.
    //
    // Valid format: arn:aws:iam::{accountID}:role/{name}. The following example
    // shows a role ARN: arn:aws:iam::444455556666:role/SpekeAccess
    //
    // RoleArn is a required field
    RoleArn *string `min:"1" type:"string" required:"true"`

    // The URL of the API Gateway proxy that you set up to talk to your key server.
    // The API Gateway proxy must reside in the same AWS Region as MediaPackage
    // and must start with https://.
    //
    // The following example shows a URL: https://1wm2dx1f33.execute-api.us-west-2.amazonaws.com/SpekeSample/copyProtection
    //
    // Url is a required field
    Url *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

The parameters for the SPEKE key provider.

func (SpekeKeyProvider) GoString

func (s SpekeKeyProvider) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SpekeKeyProvider) SetDrmSystems

func (s *SpekeKeyProvider) SetDrmSystems(v []*string) *SpekeKeyProvider

SetDrmSystems sets the DrmSystems field's value.

func (*SpekeKeyProvider) SetEncryptionContractConfiguration

func (s *SpekeKeyProvider) SetEncryptionContractConfiguration(v *EncryptionContractConfiguration) *SpekeKeyProvider

SetEncryptionContractConfiguration sets the EncryptionContractConfiguration field's value.

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) 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SpekeKeyProvider) Validate

func (s *SpekeKeyProvider) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceInput

type TagResourceInput struct {

    // The ARN of the MediaPackage resource that you're adding tags to.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

    // Contains a map of the key-value pairs for the resource tag or tags assigned
    // to the resource.
    //
    // Tags is a required field
    Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
    // contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
    // contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

type ThrottlingException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`
    // contains filtered or unexported fields
}

The request throughput limit was exceeded.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

    // The ARN of the MediaPackage resource that you're removing tags from.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

    // The list of tag keys to remove from the resource.
    //
    // TagKeys is a required field
    TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
    // contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateChannelGroupInput

type UpdateChannelGroupInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // Any descriptive information that you want to add to the channel group for
    // future identification purposes.
    Description *string `type:"string"`

    // The expected current Entity Tag (ETag) for the resource. If the specified
    // ETag does not match the resource's current entity tag, the update request
    // will be rejected.
    ETag *string `location:"header" locationName:"x-amzn-update-if-match" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (UpdateChannelGroupInput) GoString

func (s UpdateChannelGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateChannelGroupInput) SetChannelGroupName

func (s *UpdateChannelGroupInput) SetChannelGroupName(v string) *UpdateChannelGroupInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*UpdateChannelGroupInput) SetDescription

func (s *UpdateChannelGroupInput) SetDescription(v string) *UpdateChannelGroupInput

SetDescription sets the Description field's value.

func (*UpdateChannelGroupInput) SetETag

func (s *UpdateChannelGroupInput) SetETag(v string) *UpdateChannelGroupInput

SetETag sets the ETag field's value.

func (UpdateChannelGroupInput) String

func (s UpdateChannelGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateChannelGroupInput) Validate

func (s *UpdateChannelGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateChannelGroupOutput

type UpdateChannelGroupOutput struct {

    // The Amazon Resource Name (ARN) associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `type:"string" required:"true"`

    // The date and time the channel group was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `type:"timestamp" required:"true"`

    // The description for your channel group.
    Description *string `type:"string"`

    // The current Entity Tag (ETag) associated with this resource. The entity tag
    // can be used to safely make concurrent updates to the resource.
    ETag *string `min:"1" type:"string"`

    // The output domain where the source stream is sent. Integrate the domain with
    // a downstream CDN (such as Amazon CloudFront) or playback device.
    //
    // EgressDomain is a required field
    EgressDomain *string `type:"string" required:"true"`

    // The date and time the channel group was modified.
    //
    // ModifiedAt is a required field
    ModifiedAt *time.Time `type:"timestamp" required:"true"`

    // The comma-separated list of tag key:value pairs assigned to the channel group.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (UpdateChannelGroupOutput) GoString

func (s UpdateChannelGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateChannelGroupOutput) SetArn

func (s *UpdateChannelGroupOutput) SetArn(v string) *UpdateChannelGroupOutput

SetArn sets the Arn field's value.

func (*UpdateChannelGroupOutput) SetChannelGroupName

func (s *UpdateChannelGroupOutput) SetChannelGroupName(v string) *UpdateChannelGroupOutput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*UpdateChannelGroupOutput) SetCreatedAt

func (s *UpdateChannelGroupOutput) SetCreatedAt(v time.Time) *UpdateChannelGroupOutput

SetCreatedAt sets the CreatedAt field's value.

func (*UpdateChannelGroupOutput) SetDescription

func (s *UpdateChannelGroupOutput) SetDescription(v string) *UpdateChannelGroupOutput

SetDescription sets the Description field's value.

func (*UpdateChannelGroupOutput) SetETag

func (s *UpdateChannelGroupOutput) SetETag(v string) *UpdateChannelGroupOutput

SetETag sets the ETag field's value.

func (*UpdateChannelGroupOutput) SetEgressDomain

func (s *UpdateChannelGroupOutput) SetEgressDomain(v string) *UpdateChannelGroupOutput

SetEgressDomain sets the EgressDomain field's value.

func (*UpdateChannelGroupOutput) SetModifiedAt

func (s *UpdateChannelGroupOutput) SetModifiedAt(v time.Time) *UpdateChannelGroupOutput

SetModifiedAt sets the ModifiedAt field's value.

func (*UpdateChannelGroupOutput) SetTags

func (s *UpdateChannelGroupOutput) SetTags(v map[string]*string) *UpdateChannelGroupOutput

SetTags sets the Tags field's value.

func (UpdateChannelGroupOutput) String

func (s UpdateChannelGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateChannelInput

type UpdateChannelInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`

    // Any descriptive information that you want to add to the channel for future
    // identification purposes.
    Description *string `type:"string"`

    // The expected current Entity Tag (ETag) for the resource. If the specified
    // ETag does not match the resource's current entity tag, the update request
    // will be rejected.
    ETag *string `location:"header" locationName:"x-amzn-update-if-match" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (UpdateChannelInput) GoString

func (s UpdateChannelInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateChannelInput) SetChannelGroupName

func (s *UpdateChannelInput) SetChannelGroupName(v string) *UpdateChannelInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*UpdateChannelInput) SetChannelName

func (s *UpdateChannelInput) SetChannelName(v string) *UpdateChannelInput

SetChannelName sets the ChannelName field's value.

func (*UpdateChannelInput) SetDescription

func (s *UpdateChannelInput) SetDescription(v string) *UpdateChannelInput

SetDescription sets the Description field's value.

func (*UpdateChannelInput) SetETag

func (s *UpdateChannelInput) SetETag(v string) *UpdateChannelInput

SetETag sets the ETag field's value.

func (UpdateChannelInput) String

func (s UpdateChannelInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*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 {

    // The Amazon Resource Name (ARN) associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `type:"string" required:"true"`

    // The date and time the channel was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `type:"timestamp" required:"true"`

    // The description for your channel.
    Description *string `type:"string"`

    // The current Entity Tag (ETag) associated with this resource. The entity tag
    // can be used to safely make concurrent updates to the resource.
    ETag *string `min:"1" type:"string"`

    // The list of ingest endpoints.
    IngestEndpoints []*IngestEndpoint `type:"list"`

    // The input type will be an immutable field which will be used to define whether
    // the channel will allow CMAF ingest or HLS ingest. If unprovided, it will
    // default to HLS to preserve current behavior.
    //
    // The allowed values are:
    //
    //    * HLS - The HLS streaming specification (which defines M3U8 manifests
    //    and TS segments).
    //
    //    * CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments
    //    with optional DASH manifests).
    InputType *string `type:"string" enum:"InputType"`

    // The date and time the channel was modified.
    //
    // ModifiedAt is a required field
    ModifiedAt *time.Time `type:"timestamp" required:"true"`

    // The comma-separated list of tag key:value pairs assigned to the channel.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (UpdateChannelOutput) GoString

func (s UpdateChannelOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateChannelOutput) SetArn

func (s *UpdateChannelOutput) SetArn(v string) *UpdateChannelOutput

SetArn sets the Arn field's value.

func (*UpdateChannelOutput) SetChannelGroupName

func (s *UpdateChannelOutput) SetChannelGroupName(v string) *UpdateChannelOutput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*UpdateChannelOutput) SetChannelName

func (s *UpdateChannelOutput) SetChannelName(v string) *UpdateChannelOutput

SetChannelName sets the ChannelName field's value.

func (*UpdateChannelOutput) SetCreatedAt

func (s *UpdateChannelOutput) SetCreatedAt(v time.Time) *UpdateChannelOutput

SetCreatedAt sets the CreatedAt field's value.

func (*UpdateChannelOutput) SetDescription

func (s *UpdateChannelOutput) SetDescription(v string) *UpdateChannelOutput

SetDescription sets the Description field's value.

func (*UpdateChannelOutput) SetETag

func (s *UpdateChannelOutput) SetETag(v string) *UpdateChannelOutput

SetETag sets the ETag field's value.

func (*UpdateChannelOutput) SetIngestEndpoints

func (s *UpdateChannelOutput) SetIngestEndpoints(v []*IngestEndpoint) *UpdateChannelOutput

SetIngestEndpoints sets the IngestEndpoints field's value.

func (*UpdateChannelOutput) SetInputType

func (s *UpdateChannelOutput) SetInputType(v string) *UpdateChannelOutput

SetInputType sets the InputType field's value.

func (*UpdateChannelOutput) SetModifiedAt

func (s *UpdateChannelOutput) SetModifiedAt(v time.Time) *UpdateChannelOutput

SetModifiedAt sets the ModifiedAt field's value.

func (*UpdateChannelOutput) SetTags

func (s *UpdateChannelOutput) SetTags(v map[string]*string) *UpdateChannelOutput

SetTags sets the Tags field's value.

func (UpdateChannelOutput) String

func (s UpdateChannelOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateOriginEndpointInput

type UpdateOriginEndpointInput struct {

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `location:"uri" locationName:"ChannelGroupName" min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `location:"uri" locationName:"ChannelName" min:"1" type:"string" required:"true"`

    // The type of container attached to this origin endpoint. A container type
    // is a file format that encapsulates one or more media streams, such as audio
    // and video, into a single file.
    //
    // ContainerType is a required field
    ContainerType *string `type:"string" required:"true" enum:"ContainerType"`

    // A DASH manifest configuration.
    DashManifests []*CreateDashManifestConfiguration `type:"list"`

    // Any descriptive information that you want to add to the origin endpoint for
    // future identification purposes.
    Description *string `type:"string"`

    // The expected current Entity Tag (ETag) for the resource. If the specified
    // ETag does not match the resource's current entity tag, the update request
    // will be rejected.
    ETag *string `location:"header" locationName:"x-amzn-update-if-match" min:"1" type:"string"`

    // The failover settings for the endpoint.
    ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"`

    // An HTTP live streaming (HLS) manifest configuration.
    HlsManifests []*CreateHlsManifestConfiguration `type:"list"`

    // A low-latency HLS manifest configuration.
    LowLatencyHlsManifests []*CreateLowLatencyHlsManifestConfiguration `type:"list"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and and must be unique for your account in the AWS
    // Region and channel.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `location:"uri" locationName:"OriginEndpointName" min:"1" type:"string" required:"true"`

    // The segment configuration, including the segment name, duration, and other
    // configuration values.
    Segment *Segment `type:"structure"`

    // The size of the window (in seconds) to create a window of the live stream
    // that's available for on-demand viewing. Viewers can start-over or catch-up
    // on content that falls within the window. The maximum startover window is
    // 1,209,600 seconds (14 days).
    StartoverWindowSeconds *int64 `min:"60" type:"integer"`
    // contains filtered or unexported fields
}

func (UpdateOriginEndpointInput) GoString

func (s UpdateOriginEndpointInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateOriginEndpointInput) SetChannelGroupName

func (s *UpdateOriginEndpointInput) SetChannelGroupName(v string) *UpdateOriginEndpointInput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*UpdateOriginEndpointInput) SetChannelName

func (s *UpdateOriginEndpointInput) SetChannelName(v string) *UpdateOriginEndpointInput

SetChannelName sets the ChannelName field's value.

func (*UpdateOriginEndpointInput) SetContainerType

func (s *UpdateOriginEndpointInput) SetContainerType(v string) *UpdateOriginEndpointInput

SetContainerType sets the ContainerType field's value.

func (*UpdateOriginEndpointInput) SetDashManifests

func (s *UpdateOriginEndpointInput) SetDashManifests(v []*CreateDashManifestConfiguration) *UpdateOriginEndpointInput

SetDashManifests sets the DashManifests field's value.

func (*UpdateOriginEndpointInput) SetDescription

func (s *UpdateOriginEndpointInput) SetDescription(v string) *UpdateOriginEndpointInput

SetDescription sets the Description field's value.

func (*UpdateOriginEndpointInput) SetETag

func (s *UpdateOriginEndpointInput) SetETag(v string) *UpdateOriginEndpointInput

SetETag sets the ETag field's value.

func (*UpdateOriginEndpointInput) SetForceEndpointErrorConfiguration

func (s *UpdateOriginEndpointInput) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *UpdateOriginEndpointInput

SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.

func (*UpdateOriginEndpointInput) SetHlsManifests

func (s *UpdateOriginEndpointInput) SetHlsManifests(v []*CreateHlsManifestConfiguration) *UpdateOriginEndpointInput

SetHlsManifests sets the HlsManifests field's value.

func (*UpdateOriginEndpointInput) SetLowLatencyHlsManifests

func (s *UpdateOriginEndpointInput) SetLowLatencyHlsManifests(v []*CreateLowLatencyHlsManifestConfiguration) *UpdateOriginEndpointInput

SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.

func (*UpdateOriginEndpointInput) SetOriginEndpointName

func (s *UpdateOriginEndpointInput) SetOriginEndpointName(v string) *UpdateOriginEndpointInput

SetOriginEndpointName sets the OriginEndpointName field's value.

func (*UpdateOriginEndpointInput) SetSegment

func (s *UpdateOriginEndpointInput) SetSegment(v *Segment) *UpdateOriginEndpointInput

SetSegment sets the Segment field's value.

func (*UpdateOriginEndpointInput) SetStartoverWindowSeconds

func (s *UpdateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointInput

SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.

func (UpdateOriginEndpointInput) String

func (s UpdateOriginEndpointInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*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 {

    // The ARN associated with the resource.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The name that describes the channel group. The name is the primary identifier
    // for the channel group, and must be unique for your account in the AWS Region.
    //
    // ChannelGroupName is a required field
    ChannelGroupName *string `min:"1" type:"string" required:"true"`

    // The name that describes the channel. The name is the primary identifier for
    // the channel, and must be unique for your account in the AWS Region and channel
    // group.
    //
    // ChannelName is a required field
    ChannelName *string `min:"1" type:"string" required:"true"`

    // The type of container attached to this origin endpoint.
    //
    // ContainerType is a required field
    ContainerType *string `type:"string" required:"true" enum:"ContainerType"`

    // The date and time the origin endpoint was created.
    //
    // CreatedAt is a required field
    CreatedAt *time.Time `type:"timestamp" required:"true"`

    // A DASH manifest configuration.
    DashManifests []*GetDashManifestConfiguration `type:"list"`

    // The description of the origin endpoint.
    Description *string `type:"string"`

    // The current Entity Tag (ETag) associated with this resource. The entity tag
    // can be used to safely make concurrent updates to the resource.
    ETag *string `min:"1" type:"string"`

    // The failover settings for the endpoint.
    ForceEndpointErrorConfiguration *ForceEndpointErrorConfiguration `type:"structure"`

    // An HTTP live streaming (HLS) manifest configuration.
    HlsManifests []*GetHlsManifestConfiguration `type:"list"`

    // A low-latency HLS manifest configuration.
    LowLatencyHlsManifests []*GetLowLatencyHlsManifestConfiguration `type:"list"`

    // The date and time the origin endpoint was modified.
    //
    // ModifiedAt is a required field
    ModifiedAt *time.Time `type:"timestamp" required:"true"`

    // The name that describes the origin endpoint. The name is the primary identifier
    // for the origin endpoint, and and must be unique for your account in the AWS
    // Region and channel.
    //
    // OriginEndpointName is a required field
    OriginEndpointName *string `min:"1" type:"string" required:"true"`

    // The segment configuration, including the segment name, duration, and other
    // configuration values.
    //
    // Segment is a required field
    Segment *Segment `type:"structure" required:"true"`

    // The size of the window (in seconds) to create a window of the live stream
    // that's available for on-demand viewing. Viewers can start-over or catch-up
    // on content that falls within the window.
    StartoverWindowSeconds *int64 `type:"integer"`

    // The comma-separated list of tag key:value pairs assigned to the origin endpoint.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

func (UpdateOriginEndpointOutput) GoString

func (s UpdateOriginEndpointOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateOriginEndpointOutput) SetArn

func (s *UpdateOriginEndpointOutput) SetArn(v string) *UpdateOriginEndpointOutput

SetArn sets the Arn field's value.

func (*UpdateOriginEndpointOutput) SetChannelGroupName

func (s *UpdateOriginEndpointOutput) SetChannelGroupName(v string) *UpdateOriginEndpointOutput

SetChannelGroupName sets the ChannelGroupName field's value.

func (*UpdateOriginEndpointOutput) SetChannelName

func (s *UpdateOriginEndpointOutput) SetChannelName(v string) *UpdateOriginEndpointOutput

SetChannelName sets the ChannelName field's value.

func (*UpdateOriginEndpointOutput) SetContainerType

func (s *UpdateOriginEndpointOutput) SetContainerType(v string) *UpdateOriginEndpointOutput

SetContainerType sets the ContainerType field's value.

func (*UpdateOriginEndpointOutput) SetCreatedAt

func (s *UpdateOriginEndpointOutput) SetCreatedAt(v time.Time) *UpdateOriginEndpointOutput

SetCreatedAt sets the CreatedAt field's value.

func (*UpdateOriginEndpointOutput) SetDashManifests

func (s *UpdateOriginEndpointOutput) SetDashManifests(v []*GetDashManifestConfiguration) *UpdateOriginEndpointOutput

SetDashManifests sets the DashManifests field's value.

func (*UpdateOriginEndpointOutput) SetDescription

func (s *UpdateOriginEndpointOutput) SetDescription(v string) *UpdateOriginEndpointOutput

SetDescription sets the Description field's value.

func (*UpdateOriginEndpointOutput) SetETag

func (s *UpdateOriginEndpointOutput) SetETag(v string) *UpdateOriginEndpointOutput

SetETag sets the ETag field's value.

func (*UpdateOriginEndpointOutput) SetForceEndpointErrorConfiguration

func (s *UpdateOriginEndpointOutput) SetForceEndpointErrorConfiguration(v *ForceEndpointErrorConfiguration) *UpdateOriginEndpointOutput

SetForceEndpointErrorConfiguration sets the ForceEndpointErrorConfiguration field's value.

func (*UpdateOriginEndpointOutput) SetHlsManifests

func (s *UpdateOriginEndpointOutput) SetHlsManifests(v []*GetHlsManifestConfiguration) *UpdateOriginEndpointOutput

SetHlsManifests sets the HlsManifests field's value.

func (*UpdateOriginEndpointOutput) SetLowLatencyHlsManifests

func (s *UpdateOriginEndpointOutput) SetLowLatencyHlsManifests(v []*GetLowLatencyHlsManifestConfiguration) *UpdateOriginEndpointOutput

SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.

func (*UpdateOriginEndpointOutput) SetModifiedAt

func (s *UpdateOriginEndpointOutput) SetModifiedAt(v time.Time) *UpdateOriginEndpointOutput

SetModifiedAt sets the ModifiedAt field's value.

func (*UpdateOriginEndpointOutput) SetOriginEndpointName

func (s *UpdateOriginEndpointOutput) SetOriginEndpointName(v string) *UpdateOriginEndpointOutput

SetOriginEndpointName sets the OriginEndpointName field's value.

func (*UpdateOriginEndpointOutput) SetSegment

func (s *UpdateOriginEndpointOutput) SetSegment(v *Segment) *UpdateOriginEndpointOutput

SetSegment sets the Segment field's value.

func (*UpdateOriginEndpointOutput) SetStartoverWindowSeconds

func (s *UpdateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointOutput

SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value.

func (*UpdateOriginEndpointOutput) SetTags

func (s *UpdateOriginEndpointOutput) SetTags(v map[string]*string) *UpdateOriginEndpointOutput

SetTags sets the Tags field's value.

func (UpdateOriginEndpointOutput) String

func (s UpdateOriginEndpointOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"Message" type:"string"`

    // The type of ValidationException.
    ValidationExceptionType *string `type:"string" enum:"ValidationExceptionType"`
    // contains filtered or unexported fields
}

The input failed to meet the constraints specified by the AWS service.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".