package types

import "github.com/aws/aws-sdk-go-v2/service/kinesisvideomedia/types"

Index

Types

type ClientLimitExceededException

type ClientLimitExceededException struct {
	Message *string
}

Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.

func (*ClientLimitExceededException) Error

func (*ClientLimitExceededException) ErrorCode

func (e *ClientLimitExceededException) ErrorCode() string

func (*ClientLimitExceededException) ErrorFault

func (*ClientLimitExceededException) ErrorMessage

func (e *ClientLimitExceededException) ErrorMessage() string

func (*ClientLimitExceededException) GetMessage

func (e *ClientLimitExceededException) GetMessage() string

func (*ClientLimitExceededException) HasMessage

func (e *ClientLimitExceededException) HasMessage() bool

type ConnectionLimitExceededException

type ConnectionLimitExceededException struct {
	Message *string
}

Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client connections.

func (*ConnectionLimitExceededException) Error

func (*ConnectionLimitExceededException) ErrorCode

func (*ConnectionLimitExceededException) ErrorFault

func (*ConnectionLimitExceededException) ErrorMessage

func (e *ConnectionLimitExceededException) ErrorMessage() string

func (*ConnectionLimitExceededException) GetMessage

func (e *ConnectionLimitExceededException) GetMessage() string

func (*ConnectionLimitExceededException) HasMessage

func (e *ConnectionLimitExceededException) HasMessage() bool

type InvalidArgumentException

type InvalidArgumentException struct {
	Message *string
}

The value for this input parameter is invalid.

func (*InvalidArgumentException) Error

func (e *InvalidArgumentException) Error() string

func (*InvalidArgumentException) ErrorCode

func (e *InvalidArgumentException) ErrorCode() string

func (*InvalidArgumentException) ErrorFault

func (e *InvalidArgumentException) ErrorFault() smithy.ErrorFault

func (*InvalidArgumentException) ErrorMessage

func (e *InvalidArgumentException) ErrorMessage() string

func (*InvalidArgumentException) GetMessage

func (e *InvalidArgumentException) GetMessage() string

func (*InvalidArgumentException) HasMessage

func (e *InvalidArgumentException) HasMessage() bool

type InvalidEndpointException

type InvalidEndpointException struct {
	Message *string
}

Status Code: 400, Caller used wrong endpoint to write data to a stream. On receiving such an exception, the user must call GetDataEndpoint with AccessMode set to "READ" and use the endpoint Kinesis Video returns in the next GetMedia call.

func (*InvalidEndpointException) Error

func (e *InvalidEndpointException) Error() string

func (*InvalidEndpointException) ErrorCode

func (e *InvalidEndpointException) ErrorCode() string

func (*InvalidEndpointException) ErrorFault

func (e *InvalidEndpointException) ErrorFault() smithy.ErrorFault

func (*InvalidEndpointException) ErrorMessage

func (e *InvalidEndpointException) ErrorMessage() string

func (*InvalidEndpointException) GetMessage

func (e *InvalidEndpointException) GetMessage() string

func (*InvalidEndpointException) HasMessage

func (e *InvalidEndpointException) HasMessage() bool

type NotAuthorizedException

type NotAuthorizedException struct {
	Message *string
}

Status Code: 403, The caller is not authorized to perform an operation on the given stream, or the token has expired.

func (*NotAuthorizedException) Error

func (e *NotAuthorizedException) Error() string

func (*NotAuthorizedException) ErrorCode

func (e *NotAuthorizedException) ErrorCode() string

func (*NotAuthorizedException) ErrorFault

func (e *NotAuthorizedException) ErrorFault() smithy.ErrorFault

func (*NotAuthorizedException) ErrorMessage

func (e *NotAuthorizedException) ErrorMessage() string

func (*NotAuthorizedException) GetMessage

func (e *NotAuthorizedException) GetMessage() string

func (*NotAuthorizedException) HasMessage

func (e *NotAuthorizedException) HasMessage() bool

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string
}

Status Code: 404, The stream with the given name does not exist.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

func (*ResourceNotFoundException) GetMessage

func (e *ResourceNotFoundException) GetMessage() string

func (*ResourceNotFoundException) HasMessage

func (e *ResourceNotFoundException) HasMessage() bool

type StartSelector

type StartSelector struct {
	// Continuation token that Kinesis Video Streams returned in the previous GetMedia
	// response. The GetMedia API then starts with the chunk identified by the
	// continuation token.
	ContinuationToken *string
	// A timestamp value. This value is required if you choose the PRODUCER_TIMESTAMP
	// or the SERVER_TIMESTAMP as the startSelectorType. The GetMedia API then starts
	// with the chunk containing the fragment that has the specified timestamp.
	StartTimestamp *time.Time
	// Specifies the fragment number from where you want the GetMedia API to start
	// returning the fragments.
	AfterFragmentNumber *string
	// Identifies the fragment on the Kinesis video stream where you want to start
	// getting the data from.
	//
	//     * NOW - Start with the latest chunk on the stream.
	//
	//
	// * EARLIEST - Start with earliest available chunk on the stream.
	//
	//     *
	// FRAGMENT_NUMBER - Start with the chunk after a specific fragment. You must also
	// specify the AfterFragmentNumber parameter.
	//
	//     * PRODUCER_TIMESTAMP or
	// SERVER_TIMESTAMP - Start with the chunk containing a fragment with the specified
	// producer or server timestamp. You specify the timestamp by adding
	// StartTimestamp.
	//
	//     * CONTINUATION_TOKEN - Read using the specified
	// continuation token.
	//
	// If you choose the NOW, EARLIEST, or CONTINUATION_TOKEN as
	// the startSelectorType, you don't provide any additional information in the
	// startSelector.
	StartSelectorType StartSelectorType
}

Identifies the chunk on the Kinesis video stream where you want the GetMedia API to start returning media data. You have the following options to identify the starting chunk:

specific chunk. You can identify a specific chunk either by providing a fragment number or timestamp (server or producer).

a continuation token as a Matroska (MKV) tag (AWS_KINESISVIDEO_CONTINUATION_TOKEN). If your previous GetMedia request terminated, you can use this tag value in your next GetMedia request. The API then starts returning chunks starting where the last API ended.

type StartSelectorType

type StartSelectorType string
const (
	StartSelectorTypeFragment_number    StartSelectorType = "FRAGMENT_NUMBER"
	StartSelectorTypeServer_timestamp   StartSelectorType = "SERVER_TIMESTAMP"
	StartSelectorTypeProducer_timestamp StartSelectorType = "PRODUCER_TIMESTAMP"
	StartSelectorTypeNow                StartSelectorType = "NOW"
	StartSelectorTypeEarliest           StartSelectorType = "EARLIEST"
	StartSelectorTypeContinuation_token StartSelectorType = "CONTINUATION_TOKEN"
)

Enum values for StartSelectorType

Source Files

enums.go errors.go types.go

Version
v0.1.0
Published
Sep 29, 2020
Platform
js/wasm
Imports
4 packages
Last checked
3 weeks ago

Tools for package owners.