mediapackagev2

package
v1.42.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

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

Index

Constants

View Source
const (
	// CmafEncryptionMethodCenc is a CmafEncryptionMethod enum value
	CmafEncryptionMethodCenc = "CENC"

	// CmafEncryptionMethodCbcs is a CmafEncryptionMethod enum value
	CmafEncryptionMethodCbcs = "CBCS"
)
View Source
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"
)
View Source
const (
	// ContainerTypeTs is a ContainerType enum value
	ContainerTypeTs = "TS"

	// ContainerTypeCmaf is a ContainerType enum value
	ContainerTypeCmaf = "CMAF"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	// TsEncryptionMethodAes128 is a TsEncryptionMethod enum value
	TsEncryptionMethodAes128 = "AES_128"

	// TsEncryptionMethodSampleAes is a TsEncryptionMethod enum value
	TsEncryptionMethodSampleAes = "SAMPLE_AES"
)
View Source
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"

	// 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"
)
View Source
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"
)
View Source
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

View Source
const (
	// AdMarkerHlsDaterange is a AdMarkerHls enum value
	AdMarkerHlsDaterange = "DATERANGE"
)

Variables

This section is empty.

Functions

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 DrmSystem_Values

func DrmSystem_Values() []string

DrmSystem_Values returns all elements of the DrmSystem 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

Types

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

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

SetArn sets the Arn field's value.

func (*ChannelGroupListConfiguration) SetChannelGroupName

SetChannelGroupName sets the ChannelGroupName field's value.

func (*ChannelGroupListConfiguration) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*ChannelGroupListConfiguration) SetDescription

SetDescription sets the Description field's value.

func (*ChannelGroupListConfiguration) SetModifiedAt

SetModifiedAt sets the ModifiedAt field's value.

func (ChannelGroupListConfiguration) 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 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

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

SetChannelName sets the ChannelName field's value.

func (*ChannelListConfiguration) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*ChannelListConfiguration) SetDescription

SetDescription sets the Description field's value.

func (*ChannelListConfiguration) SetModifiedAt

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

SetClientToken sets the ClientToken field's value.

func (*CreateChannelGroupInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateChannelGroupInput) SetTags

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 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

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

SetCreatedAt sets the CreatedAt field's value.

func (*CreateChannelGroupOutput) SetDescription

SetDescription sets the Description field's value.

func (*CreateChannelGroupOutput) SetEgressDomain

SetEgressDomain sets the EgressDomain field's value.

func (*CreateChannelGroupOutput) SetModifiedAt

SetModifiedAt sets the ModifiedAt field's value.

func (*CreateChannelGroupOutput) SetTags

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"`

	// 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) 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 list of ingest endpoints.
	IngestEndpoints []*IngestEndpoint `type:"list"`

	// 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

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) SetIngestEndpoints

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

SetIngestEndpoints sets the IngestEndpoints field's value.

func (*CreateChannelOutput) SetModifiedAt

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

SetModifiedAt sets the ModifiedAt field's value.

func (*CreateChannelOutput) SetTags

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 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"`

	// 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

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

SetChildManifestName sets the ChildManifestName field's value.

func (*CreateHlsManifestConfiguration) SetManifestName

SetManifestName sets the ManifestName field's value.

func (*CreateHlsManifestConfiguration) SetManifestWindowSeconds

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

SetScteHls sets the ScteHls field's value.

func (CreateHlsManifestConfiguration) 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"`

	// 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

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

SetChildManifestName sets the ChildManifestName field's value.

func (*CreateLowLatencyHlsManifestConfiguration) SetManifestName

SetManifestName sets the ManifestName field's value.

func (*CreateLowLatencyHlsManifestConfiguration) SetManifestWindowSeconds

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (*CreateLowLatencyHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds

SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.

func (*CreateLowLatencyHlsManifestConfiguration) SetScteHls

SetScteHls sets the ScteHls field's value.

func (CreateLowLatencyHlsManifestConfiguration) 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

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"`

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

	// 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

SetChannelName sets the ChannelName field's value.

func (*CreateOriginEndpointInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateOriginEndpointInput) SetContainerType

SetContainerType sets the ContainerType field's value.

func (*CreateOriginEndpointInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateOriginEndpointInput) SetHlsManifests

SetHlsManifests sets the HlsManifests field's value.

func (*CreateOriginEndpointInput) SetLowLatencyHlsManifests

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

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

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"`

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

	// 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

SetArn sets the Arn field's value.

func (*CreateOriginEndpointOutput) SetChannelGroupName

SetChannelGroupName sets the ChannelGroupName field's value.

func (*CreateOriginEndpointOutput) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*CreateOriginEndpointOutput) SetContainerType

SetContainerType sets the ContainerType field's value.

func (*CreateOriginEndpointOutput) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*CreateOriginEndpointOutput) SetDescription

SetDescription sets the Description field's value.

func (*CreateOriginEndpointOutput) SetHlsManifests

SetHlsManifests sets the HlsManifests field's value.

func (*CreateOriginEndpointOutput) SetLowLatencyHlsManifests

SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.

func (*CreateOriginEndpointOutput) SetModifiedAt

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

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

SetTags sets the Tags field's value.

func (CreateOriginEndpointOutput) 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 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

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

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

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

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

SetChannelGroupName sets the ChannelGroupName field's value.

func (*DeleteOriginEndpointPolicyInput) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*DeleteOriginEndpointPolicyInput) SetOriginEndpointName

SetOriginEndpointName sets the OriginEndpointName field's value.

func (DeleteOriginEndpointPolicyInput) 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

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

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

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

SetPresetSpeke20Audio sets the PresetSpeke20Audio field's value.

func (*EncryptionContractConfiguration) SetPresetSpeke20Video

SetPresetSpeke20Video sets the PresetSpeke20Video field's value.

func (EncryptionContractConfiguration) 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 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 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

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

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) SetEgressDomain

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

SetEgressDomain sets the EgressDomain field's value.

func (*GetChannelGroupOutput) SetModifiedAt

SetModifiedAt sets the ModifiedAt field's value.

func (*GetChannelGroupOutput) SetTags

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 list of ingest endpoints.
	IngestEndpoints []*IngestEndpoint `type:"list"`

	// 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

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) SetIngestEndpoints

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

SetIngestEndpoints sets the IngestEndpoints 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

SetChannelName sets the ChannelName field's value.

func (*GetChannelPolicyOutput) SetPolicy

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 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"`

	// 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

SetChildManifestName sets the ChildManifestName field's value.

func (*GetHlsManifestConfiguration) SetManifestName

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

SetScteHls sets the ScteHls field's value.

func (*GetHlsManifestConfiguration) SetUrl

SetUrl sets the Url field's value.

func (GetHlsManifestConfiguration) 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"`

	// 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

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

SetChildManifestName sets the ChildManifestName field's value.

func (*GetLowLatencyHlsManifestConfiguration) SetManifestName

SetManifestName sets the ManifestName field's value.

func (*GetLowLatencyHlsManifestConfiguration) SetManifestWindowSeconds

SetManifestWindowSeconds sets the ManifestWindowSeconds field's value.

func (*GetLowLatencyHlsManifestConfiguration) SetProgramDateTimeIntervalSeconds

SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value.

func (*GetLowLatencyHlsManifestConfiguration) SetScteHls

SetScteHls sets the ScteHls field's value.

func (*GetLowLatencyHlsManifestConfiguration) SetUrl

SetUrl sets the Url field's value.

func (GetLowLatencyHlsManifestConfiguration) 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

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"`

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

	// 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

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

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

SetCreatedAt sets the CreatedAt field's value.

func (*GetOriginEndpointOutput) SetDescription

SetDescription sets the Description field's value.

func (*GetOriginEndpointOutput) SetHlsManifests

SetHlsManifests sets the HlsManifests field's value.

func (*GetOriginEndpointOutput) SetLowLatencyHlsManifests

SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.

func (*GetOriginEndpointOutput) SetModifiedAt

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

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

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

SetChannelGroupName sets the ChannelGroupName field's value.

func (*GetOriginEndpointPolicyInput) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*GetOriginEndpointPolicyInput) SetOriginEndpointName

SetOriginEndpointName sets the OriginEndpointName field's value.

func (GetOriginEndpointPolicyInput) 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 `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 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 `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

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

SetChannelGroupName sets the ChannelGroupName field's value.

func (*GetOriginEndpointPolicyOutput) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*GetOriginEndpointPolicyOutput) SetOriginEndpointName

SetOriginEndpointName sets the OriginEndpointName field's value.

func (*GetOriginEndpointPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (GetOriginEndpointPolicyOutput) 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

SetMaxResults sets the MaxResults field's value.

func (*ListChannelGroupsInput) SetNextToken

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

SetItems sets the Items field's value.

func (*ListChannelGroupsOutput) SetNextToken

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

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 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

SetChildManifestName sets the ChildManifestName field's value.

func (*ListHlsManifestConfiguration) SetManifestName

SetManifestName sets the ManifestName field's value.

func (*ListHlsManifestConfiguration) SetUrl

SetUrl sets the Url field's value.

func (ListHlsManifestConfiguration) 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

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

SetChildManifestName sets the ChildManifestName field's value.

func (*ListLowLatencyHlsManifestConfiguration) SetManifestName

SetManifestName sets the ManifestName field's value.

func (*ListLowLatencyHlsManifestConfiguration) SetUrl

SetUrl sets the Url field's value.

func (ListLowLatencyHlsManifestConfiguration) 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

SetChannelName sets the ChannelName field's value.

func (*ListOriginEndpointsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListOriginEndpointsInput) SetNextToken

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

SetItems sets the Items field's value.

func (*ListOriginEndpointsOutput) SetNextToken

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

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

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

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

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

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

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

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

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

func (*MediaPackageV2) DeleteOriginEndpointPolicy

DeleteOriginEndpointPolicy API operation for AWS Elemental MediaPackage v2.

Delete an origin endpoint policy.

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

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

Returned Error Types:

  • ThrottlingException The request throughput limit was exceeded.

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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"`

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

	// 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

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

SetArn sets the Arn field's value.

func (*OriginEndpointListConfiguration) SetChannelGroupName

SetChannelGroupName sets the ChannelGroupName field's value.

func (*OriginEndpointListConfiguration) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*OriginEndpointListConfiguration) SetContainerType

SetContainerType sets the ContainerType field's value.

func (*OriginEndpointListConfiguration) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*OriginEndpointListConfiguration) SetDescription

SetDescription sets the Description field's value.

func (*OriginEndpointListConfiguration) SetHlsManifests

SetHlsManifests sets the HlsManifests field's value.

func (*OriginEndpointListConfiguration) SetLowLatencyHlsManifests

SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.

func (*OriginEndpointListConfiguration) SetModifiedAt

SetModifiedAt sets the ModifiedAt field's value.

func (*OriginEndpointListConfiguration) SetOriginEndpointName

SetOriginEndpointName sets the OriginEndpointName field's value.

func (OriginEndpointListConfiguration) 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

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

SetChannelGroupName sets the ChannelGroupName field's value.

func (*PutOriginEndpointPolicyInput) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*PutOriginEndpointPolicyInput) SetOriginEndpointName

SetOriginEndpointName sets the OriginEndpointName field's value.

func (*PutOriginEndpointPolicyInput) SetPolicy

SetPolicy sets the Policy field's value.

func (PutOriginEndpointPolicyInput) 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

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

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

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 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

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

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

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

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

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"`
	// 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

SetDescription sets the Description 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 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

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

SetCreatedAt sets the CreatedAt field's value.

func (*UpdateChannelGroupOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateChannelGroupOutput) SetEgressDomain

SetEgressDomain sets the EgressDomain field's value.

func (*UpdateChannelGroupOutput) SetModifiedAt

SetModifiedAt sets the ModifiedAt field's value.

func (*UpdateChannelGroupOutput) SetTags

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"`
	// 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) 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 list of ingest endpoints.
	IngestEndpoints []*IngestEndpoint `type:"list"`

	// 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

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) SetIngestEndpoints

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

SetIngestEndpoints sets the IngestEndpoints field's value.

func (*UpdateChannelOutput) SetModifiedAt

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

SetModifiedAt sets the ModifiedAt field's value.

func (*UpdateChannelOutput) SetTags

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"`

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

	// 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

SetChannelName sets the ChannelName field's value.

func (*UpdateOriginEndpointInput) SetContainerType

SetContainerType sets the ContainerType field's value.

func (*UpdateOriginEndpointInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateOriginEndpointInput) SetHlsManifests

SetHlsManifests sets the HlsManifests field's value.

func (*UpdateOriginEndpointInput) SetLowLatencyHlsManifests

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

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"`

	// The description of the origin endpoint.
	Description *string `type:"string"`

	// 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

SetArn sets the Arn field's value.

func (*UpdateOriginEndpointOutput) SetChannelGroupName

SetChannelGroupName sets the ChannelGroupName field's value.

func (*UpdateOriginEndpointOutput) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*UpdateOriginEndpointOutput) SetContainerType

SetContainerType sets the ContainerType field's value.

func (*UpdateOriginEndpointOutput) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*UpdateOriginEndpointOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateOriginEndpointOutput) SetHlsManifests

SetHlsManifests sets the HlsManifests field's value.

func (*UpdateOriginEndpointOutput) SetLowLatencyHlsManifests

SetLowLatencyHlsManifests sets the LowLatencyHlsManifests field's value.

func (*UpdateOriginEndpointOutput) SetModifiedAt

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

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

SetTags sets the Tags field's value.

func (UpdateOriginEndpointOutput) 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".

Directories

Path Synopsis
Package mediapackagev2iface provides an interface to enable mocking the AWS Elemental MediaPackage v2 service client for testing your code.
Package mediapackagev2iface provides an interface to enable mocking the AWS Elemental MediaPackage v2 service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL