package kinesisvideo
import "github.com/aws/aws-sdk-go-v2/service/kinesisvideo"
Package kinesisvideo provides the client and types for making API requests to Kinesis Video.
See https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30 for more information on this service.
See kinesisvideo package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/kinesisvideo/
Using the Client
To use Kinesis Video 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 Kinesis Video client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/kinesisvideo/#New
Index ¶
- Constants
- type APIName
- func (enum APIName) MarshalValue() (string, error)
- func (enum APIName) MarshalValueBuf(b []byte) ([]byte, error)
- type ChannelInfo
- func (s ChannelInfo) MarshalFields(e protocol.FieldEncoder) error
- func (s ChannelInfo) String() string
- type ChannelNameCondition
- func (s ChannelNameCondition) MarshalFields(e protocol.FieldEncoder) error
- func (s ChannelNameCondition) String() string
- func (s *ChannelNameCondition) Validate() error
- type ChannelProtocol
- func (enum ChannelProtocol) MarshalValue() (string, error)
- func (enum ChannelProtocol) MarshalValueBuf(b []byte) ([]byte, error)
- type ChannelRole
- func (enum ChannelRole) MarshalValue() (string, error)
- func (enum ChannelRole) MarshalValueBuf(b []byte) ([]byte, error)
- type ChannelType
- func (enum ChannelType) MarshalValue() (string, error)
- func (enum ChannelType) MarshalValueBuf(b []byte) ([]byte, error)
- type Client
- func New(config aws.Config) *Client
- func (c *Client) CreateSignalingChannelRequest(input *CreateSignalingChannelInput) CreateSignalingChannelRequest
- func (c *Client) CreateStreamRequest(input *CreateStreamInput) CreateStreamRequest
- func (c *Client) DeleteSignalingChannelRequest(input *DeleteSignalingChannelInput) DeleteSignalingChannelRequest
- func (c *Client) DeleteStreamRequest(input *DeleteStreamInput) DeleteStreamRequest
- func (c *Client) DescribeSignalingChannelRequest(input *DescribeSignalingChannelInput) DescribeSignalingChannelRequest
- func (c *Client) DescribeStreamRequest(input *DescribeStreamInput) DescribeStreamRequest
- func (c *Client) GetDataEndpointRequest(input *GetDataEndpointInput) GetDataEndpointRequest
- func (c *Client) GetSignalingChannelEndpointRequest(input *GetSignalingChannelEndpointInput) GetSignalingChannelEndpointRequest
- func (c *Client) ListSignalingChannelsRequest(input *ListSignalingChannelsInput) ListSignalingChannelsRequest
- func (c *Client) ListStreamsRequest(input *ListStreamsInput) ListStreamsRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) ListTagsForStreamRequest(input *ListTagsForStreamInput) ListTagsForStreamRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) TagStreamRequest(input *TagStreamInput) TagStreamRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UntagStreamRequest(input *UntagStreamInput) UntagStreamRequest
- func (c *Client) UpdateDataRetentionRequest(input *UpdateDataRetentionInput) UpdateDataRetentionRequest
- func (c *Client) UpdateSignalingChannelRequest(input *UpdateSignalingChannelInput) UpdateSignalingChannelRequest
- func (c *Client) UpdateStreamRequest(input *UpdateStreamInput) UpdateStreamRequest
- type ComparisonOperator
- func (enum ComparisonOperator) MarshalValue() (string, error)
- func (enum ComparisonOperator) MarshalValueBuf(b []byte) ([]byte, error)
- type CreateSignalingChannelInput
- func (s CreateSignalingChannelInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateSignalingChannelInput) String() string
- func (s *CreateSignalingChannelInput) Validate() error
- type CreateSignalingChannelOutput
- func (s CreateSignalingChannelOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateSignalingChannelOutput) String() string
- type CreateSignalingChannelRequest
- type CreateSignalingChannelResponse
- type CreateStreamInput
- func (s CreateStreamInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateStreamInput) String() string
- func (s *CreateStreamInput) Validate() error
- type CreateStreamOutput
- func (s CreateStreamOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateStreamOutput) String() string
- type CreateStreamRequest
- type CreateStreamResponse
- type DeleteSignalingChannelInput
- func (s DeleteSignalingChannelInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteSignalingChannelInput) String() string
- func (s *DeleteSignalingChannelInput) Validate() error
- type DeleteSignalingChannelOutput
- func (s DeleteSignalingChannelOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteSignalingChannelOutput) String() string
- type DeleteSignalingChannelRequest
- type DeleteSignalingChannelResponse
- type DeleteStreamInput
- func (s DeleteStreamInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteStreamInput) String() string
- func (s *DeleteStreamInput) Validate() error
- type DeleteStreamOutput
- func (s DeleteStreamOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteStreamOutput) String() string
- type DeleteStreamRequest
- type DeleteStreamResponse
- type DescribeSignalingChannelInput
- func (s DescribeSignalingChannelInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeSignalingChannelInput) String() string
- func (s *DescribeSignalingChannelInput) Validate() error
- type DescribeSignalingChannelOutput
- func (s DescribeSignalingChannelOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeSignalingChannelOutput) String() string
- type DescribeSignalingChannelRequest
- type DescribeSignalingChannelResponse
- type DescribeStreamInput
- func (s DescribeStreamInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeStreamInput) String() string
- func (s *DescribeStreamInput) Validate() error
- type DescribeStreamOutput
- func (s DescribeStreamOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeStreamOutput) String() string
- type DescribeStreamRequest
- type DescribeStreamResponse
- type GetDataEndpointInput
- func (s GetDataEndpointInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetDataEndpointInput) String() string
- func (s *GetDataEndpointInput) Validate() error
- type GetDataEndpointOutput
- func (s GetDataEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetDataEndpointOutput) String() string
- type GetDataEndpointRequest
- type GetDataEndpointResponse
- type GetSignalingChannelEndpointInput
- func (s GetSignalingChannelEndpointInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetSignalingChannelEndpointInput) String() string
- func (s *GetSignalingChannelEndpointInput) Validate() error
- type GetSignalingChannelEndpointOutput
- func (s GetSignalingChannelEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetSignalingChannelEndpointOutput) String() string
- type GetSignalingChannelEndpointRequest
- type GetSignalingChannelEndpointResponse
- type ListSignalingChannelsInput
- func (s ListSignalingChannelsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListSignalingChannelsInput) String() string
- func (s *ListSignalingChannelsInput) Validate() error
- type ListSignalingChannelsOutput
- func (s ListSignalingChannelsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListSignalingChannelsOutput) String() string
- type ListSignalingChannelsPaginator
- func NewListSignalingChannelsPaginator(req ListSignalingChannelsRequest) ListSignalingChannelsPaginator
- func (p *ListSignalingChannelsPaginator) CurrentPage() *ListSignalingChannelsOutput
- type ListSignalingChannelsRequest
- type ListSignalingChannelsResponse
- type ListStreamsInput
- func (s ListStreamsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListStreamsInput) String() string
- func (s *ListStreamsInput) Validate() error
- type ListStreamsOutput
- func (s ListStreamsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListStreamsOutput) String() string
- type ListStreamsPaginator
- func NewListStreamsPaginator(req ListStreamsRequest) ListStreamsPaginator
- func (p *ListStreamsPaginator) CurrentPage() *ListStreamsOutput
- type ListStreamsRequest
- type ListStreamsResponse
- type ListTagsForResourceInput
- func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceInput) String() string
- func (s *ListTagsForResourceInput) Validate() error
- type ListTagsForResourceOutput
- func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForResourceOutput) String() string
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type ListTagsForStreamInput
- func (s ListTagsForStreamInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForStreamInput) String() string
- func (s *ListTagsForStreamInput) Validate() error
- type ListTagsForStreamOutput
- func (s ListTagsForStreamOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListTagsForStreamOutput) String() string
- type ListTagsForStreamRequest
- type ListTagsForStreamResponse
- type ResourceEndpointListItem
- func (s ResourceEndpointListItem) MarshalFields(e protocol.FieldEncoder) error
- func (s ResourceEndpointListItem) String() string
- type SingleMasterChannelEndpointConfiguration
- func (s SingleMasterChannelEndpointConfiguration) MarshalFields(e protocol.FieldEncoder) error
- func (s SingleMasterChannelEndpointConfiguration) String() string
- func (s *SingleMasterChannelEndpointConfiguration) Validate() error
- type SingleMasterConfiguration
- func (s SingleMasterConfiguration) MarshalFields(e protocol.FieldEncoder) error
- func (s SingleMasterConfiguration) String() string
- func (s *SingleMasterConfiguration) Validate() error
- type Status
- func (enum Status) MarshalValue() (string, error)
- func (enum Status) MarshalValueBuf(b []byte) ([]byte, error)
- type StreamInfo
- func (s StreamInfo) MarshalFields(e protocol.FieldEncoder) error
- func (s StreamInfo) String() string
- type StreamNameCondition
- func (s StreamNameCondition) MarshalFields(e protocol.FieldEncoder) error
- func (s StreamNameCondition) String() string
- func (s *StreamNameCondition) Validate() error
- type Tag
- func (s Tag) MarshalFields(e protocol.FieldEncoder) error
- func (s Tag) String() string
- func (s *Tag) Validate() error
- type TagResourceInput
- func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceInput) String() string
- func (s *TagResourceInput) Validate() error
- type TagResourceOutput
- func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceOutput) String() string
- type TagResourceRequest
- type TagResourceResponse
- type TagStreamInput
- func (s TagStreamInput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagStreamInput) String() string
- func (s *TagStreamInput) Validate() error
- type TagStreamOutput
- func (s TagStreamOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagStreamOutput) String() string
- type TagStreamRequest
- type TagStreamResponse
- type UntagResourceInput
- func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceInput) String() string
- func (s *UntagResourceInput) Validate() error
- type UntagResourceOutput
- func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceOutput) String() string
- type UntagResourceRequest
- type UntagResourceResponse
- type UntagStreamInput
- func (s UntagStreamInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagStreamInput) String() string
- func (s *UntagStreamInput) Validate() error
- type UntagStreamOutput
- func (s UntagStreamOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagStreamOutput) String() string
- type UntagStreamRequest
- type UntagStreamResponse
- type UpdateDataRetentionInput
- func (s UpdateDataRetentionInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateDataRetentionInput) String() string
- func (s *UpdateDataRetentionInput) Validate() error
- type UpdateDataRetentionOperation
- func (enum UpdateDataRetentionOperation) MarshalValue() (string, error)
- func (enum UpdateDataRetentionOperation) MarshalValueBuf(b []byte) ([]byte, error)
- type UpdateDataRetentionOutput
- func (s UpdateDataRetentionOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateDataRetentionOutput) String() string
- type UpdateDataRetentionRequest
- type UpdateDataRetentionResponse
- type UpdateSignalingChannelInput
- func (s UpdateSignalingChannelInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateSignalingChannelInput) String() string
- func (s *UpdateSignalingChannelInput) Validate() error
- type UpdateSignalingChannelOutput
- func (s UpdateSignalingChannelOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateSignalingChannelOutput) String() string
- type UpdateSignalingChannelRequest
- type UpdateSignalingChannelResponse
- type UpdateStreamInput
- func (s UpdateStreamInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateStreamInput) String() string
- func (s *UpdateStreamInput) Validate() error
- type UpdateStreamOutput
- func (s UpdateStreamOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateStreamOutput) String() string
- type UpdateStreamRequest
- type UpdateStreamResponse
Constants ¶
const ( ServiceName = "Kinesis Video" // Service's name ServiceID = "KinesisVideo" // Service's identifier EndpointsID = "kinesisvideo" // Service's Endpoint identifier )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You do not have required permissions to perform this operation. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeAccountChannelLimitExceededException for service response error code // "AccountChannelLimitExceededException". // // You have reached the maximum limit of active signaling channels for this // AWS account in this region. ErrCodeAccountChannelLimitExceededException = "AccountChannelLimitExceededException" // ErrCodeAccountStreamLimitExceededException for service response error code // "AccountStreamLimitExceededException". // // The number of streams created for the account is too high. ErrCodeAccountStreamLimitExceededException = "AccountStreamLimitExceededException" // ErrCodeDeviceStreamLimitExceededException for service response error code // "DeviceStreamLimitExceededException". // // Not implemented. ErrCodeDeviceStreamLimitExceededException = "DeviceStreamLimitExceededException" // ErrCodeInvalidArgumentException for service response error code // "InvalidArgumentException". // // The value for this input parameter is invalid. ErrCodeInvalidArgumentException = "InvalidArgumentException" // ErrCodeInvalidDeviceException for service response error code // "InvalidDeviceException". // // Not implemented. ErrCodeInvalidDeviceException = "InvalidDeviceException" // ErrCodeInvalidResourceFormatException for service response error code // "InvalidResourceFormatException". // // The format of the StreamARN is invalid. ErrCodeInvalidResourceFormatException = "InvalidResourceFormatException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // Kinesis Video Streams has throttled the request because you have exceeded // the limit of allowed client calls. Try making the call later. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeNotAuthorizedException for service response error code // "NotAuthorizedException". // // The caller is not authorized to perform this operation. ErrCodeNotAuthorizedException = "NotAuthorizedException" // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // // The stream is currently not available for this operation. ErrCodeResourceInUseException = "ResourceInUseException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // Amazon Kinesis Video Streams can't find the stream that you specified. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeTagsPerResourceExceededLimitException for service response error code // "TagsPerResourceExceededLimitException". // // You have exceeded the limit of tags that you can associate with the resource. // Kinesis video streams support up to 50 tags. ErrCodeTagsPerResourceExceededLimitException = "TagsPerResourceExceededLimitException" // ErrCodeVersionMismatchException for service response error code // "VersionMismatchException". // // The stream version that you specified is not the latest version. To get the // latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) // API. ErrCodeVersionMismatchException = "VersionMismatchException" )
Types ¶
type APIName ¶
type APIName string
const ( APINamePutMedia APIName = "PUT_MEDIA" APINameGetMedia APIName = "GET_MEDIA" APINameListFragments APIName = "LIST_FRAGMENTS" APINameGetMediaForFragmentList APIName = "GET_MEDIA_FOR_FRAGMENT_LIST" APINameGetHlsStreamingSessionUrl APIName = "GET_HLS_STREAMING_SESSION_URL" APINameGetDashStreamingSessionUrl APIName = "GET_DASH_STREAMING_SESSION_URL" )
Enum values for APIName
func (APIName) MarshalValue ¶
func (APIName) MarshalValueBuf ¶
type ChannelInfo ¶
type ChannelInfo struct { // The ARN of the signaling channel. ChannelARN *string `min:"1" type:"string"` // The name of the signaling channel. ChannelName *string `min:"1" type:"string"` // Current status of the signaling channel. ChannelStatus Status `type:"string" enum:"true"` // The type of the signaling channel. ChannelType ChannelType `type:"string" enum:"true"` // The time at which the signaling channel was created. CreationTime *time.Time `type:"timestamp"` // A structure that contains the configuration for the SINGLE_MASTER channel // type. SingleMasterConfiguration *SingleMasterConfiguration `type:"structure"` // The current version of the signaling channel. Version *string `min:"1" type:"string"` // contains filtered or unexported fields }
A structure that encapsulates a signaling channel's metadata and properties.
func (ChannelInfo) MarshalFields ¶
func (s ChannelInfo) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ChannelInfo) String ¶
func (s ChannelInfo) String() string
String returns the string representation
type ChannelNameCondition ¶
type ChannelNameCondition struct { // A comparison operator. Currently, you can only specify the BEGINS_WITH operator, // which finds signaling channels whose names begin with a given prefix. ComparisonOperator ComparisonOperator `type:"string" enum:"true"` // A value to compare. ComparisonValue *string `min:"1" type:"string"` // contains filtered or unexported fields }
An optional input parameter for the ListSignalingChannels API. When this parameter is specified while invoking ListSignalingChannels, the API returns only the channels that satisfy a condition specified in ChannelNameCondition.
func (ChannelNameCondition) MarshalFields ¶
func (s ChannelNameCondition) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ChannelNameCondition) String ¶
func (s ChannelNameCondition) String() string
String returns the string representation
func (*ChannelNameCondition) Validate ¶
func (s *ChannelNameCondition) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ChannelProtocol ¶
type ChannelProtocol string
const ( ChannelProtocolWss ChannelProtocol = "WSS" ChannelProtocolHttps ChannelProtocol = "HTTPS" )
Enum values for ChannelProtocol
func (ChannelProtocol) MarshalValue ¶
func (enum ChannelProtocol) MarshalValue() (string, error)
func (ChannelProtocol) MarshalValueBuf ¶
func (enum ChannelProtocol) MarshalValueBuf(b []byte) ([]byte, error)
type ChannelRole ¶
type ChannelRole string
const ( ChannelRoleMaster ChannelRole = "MASTER" ChannelRoleViewer ChannelRole = "VIEWER" )
Enum values for ChannelRole
func (ChannelRole) MarshalValue ¶
func (enum ChannelRole) MarshalValue() (string, error)
func (ChannelRole) MarshalValueBuf ¶
func (enum ChannelRole) MarshalValueBuf(b []byte) ([]byte, error)
type ChannelType ¶
type ChannelType string
const ( ChannelTypeSingleMaster ChannelType = "SINGLE_MASTER" )
Enum values for ChannelType
func (ChannelType) MarshalValue ¶
func (enum ChannelType) MarshalValue() (string, error)
func (ChannelType) MarshalValueBuf ¶
func (enum ChannelType) MarshalValueBuf(b []byte) ([]byte, error)
type Client ¶
Client provides the API operation methods for making requests to Kinesis Video. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := kinesisvideo.New(myConfig)
func (*Client) CreateSignalingChannelRequest ¶
func (c *Client) CreateSignalingChannelRequest(input *CreateSignalingChannelInput) CreateSignalingChannelRequest
CreateSignalingChannelRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Creates a signaling channel.
CreateSignalingChannel is an asynchronous operation.
// Example sending a request using CreateSignalingChannelRequest. req := client.CreateSignalingChannelRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/CreateSignalingChannel
func (*Client) CreateStreamRequest ¶
func (c *Client) CreateStreamRequest(input *CreateStreamInput) CreateStreamRequest
CreateStreamRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Creates a new Kinesis video stream.
When you create a new stream, Kinesis Video Streams assigns it a version number. When you change the stream's metadata, Kinesis Video Streams updates the version.
CreateStream is an asynchronous operation.
For information about how the service works, see How it Works (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-it-works.html).
You must have permissions for the KinesisVideo:CreateStream action.
// Example sending a request using CreateStreamRequest. req := client.CreateStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/CreateStream
func (*Client) DeleteSignalingChannelRequest ¶
func (c *Client) DeleteSignalingChannelRequest(input *DeleteSignalingChannelInput) DeleteSignalingChannelRequest
DeleteSignalingChannelRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Deletes a specified signaling channel. DeleteSignalingChannel is an asynchronous operation. If you don't specify the channel's current version, the most recent version is deleted.
// Example sending a request using DeleteSignalingChannelRequest. req := client.DeleteSignalingChannelRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteSignalingChannel
func (*Client) DeleteStreamRequest ¶
func (c *Client) DeleteStreamRequest(input *DeleteStreamInput) DeleteStreamRequest
DeleteStreamRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Deletes a Kinesis video stream and the data contained in the stream.
This method marks the stream for deletion, and makes the data in the stream inaccessible immediately.
To ensure that you have the latest version of the stream before deleting it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the DescribeStream API.
This operation requires permission for the KinesisVideo:DeleteStream action.
// Example sending a request using DeleteStreamRequest. req := client.DeleteStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteStream
func (*Client) DescribeSignalingChannelRequest ¶
func (c *Client) DescribeSignalingChannelRequest(input *DescribeSignalingChannelInput) DescribeSignalingChannelRequest
DescribeSignalingChannelRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Returns the most current information about the signaling channel. You must specify either the name or the ARN of the channel that you want to describe.
// Example sending a request using DescribeSignalingChannelRequest. req := client.DescribeSignalingChannelRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeSignalingChannel
func (*Client) DescribeStreamRequest ¶
func (c *Client) DescribeStreamRequest(input *DescribeStreamInput) DescribeStreamRequest
DescribeStreamRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Returns the most current information about the specified stream. You must specify either the StreamName or the StreamARN.
// Example sending a request using DescribeStreamRequest. req := client.DescribeStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeStream
func (*Client) GetDataEndpointRequest ¶
func (c *Client) GetDataEndpointRequest(input *GetDataEndpointInput) GetDataEndpointRequest
GetDataEndpointRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Gets an endpoint for a specified stream for either reading or writing. Use this endpoint in your application to read from the specified stream (using the GetMedia or GetMediaForFragmentList operations) or write to it (using the PutMedia operation).
The returned endpoint does not have the API name appended. The client needs to add the API name to the returned endpoint.
In the request, specify the stream either by StreamName or StreamARN.
// Example sending a request using GetDataEndpointRequest. req := client.GetDataEndpointRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetDataEndpoint
func (*Client) GetSignalingChannelEndpointRequest ¶
func (c *Client) GetSignalingChannelEndpointRequest(input *GetSignalingChannelEndpointInput) GetSignalingChannelEndpointRequest
GetSignalingChannelEndpointRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Provides an endpoint for the specified signaling channel to send and receive messages. This API uses the SingleMasterChannelEndpointConfiguration input parameter, which consists of the Protocols and Role properties.
Protocols is used to determine the communication mechanism. For example, specifying WSS as the protocol, results in this API producing a secure websocket endpoint, and specifying HTTPS as the protocol, results in this API generating an HTTPS endpoint.
Role determines the messaging permissions. A MASTER role results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. A VIEWER role results in this API generating an endpoint that a client can use to communicate only with a MASTER.
// Example sending a request using GetSignalingChannelEndpointRequest. req := client.GetSignalingChannelEndpointRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetSignalingChannelEndpoint
func (*Client) ListSignalingChannelsRequest ¶
func (c *Client) ListSignalingChannelsRequest(input *ListSignalingChannelsInput) ListSignalingChannelsRequest
ListSignalingChannelsRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Returns an array of ChannelInfo objects. Each object describes a signaling channel. To retrieve only those channels that satisfy a specific condition, you can specify a ChannelNameCondition.
// Example sending a request using ListSignalingChannelsRequest. req := client.ListSignalingChannelsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListSignalingChannels
func (*Client) ListStreamsRequest ¶
func (c *Client) ListStreamsRequest(input *ListStreamsInput) ListStreamsRequest
ListStreamsRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Returns an array of StreamInfo objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify a StreamNameCondition.
// Example sending a request using ListStreamsRequest. req := client.ListStreamsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListStreams
func (*Client) ListTagsForResourceRequest ¶
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Returns a list of tags associated with the specified signaling channel.
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListTagsForResource
func (*Client) ListTagsForStreamRequest ¶
func (c *Client) ListTagsForStreamRequest(input *ListTagsForStreamInput) ListTagsForStreamRequest
ListTagsForStreamRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Returns a list of tags associated with the specified stream.
In the request, you must specify either the StreamName or the StreamARN.
// Example sending a request using ListTagsForStreamRequest. req := client.ListTagsForStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListTagsForStream
func (*Client) TagResourceRequest ¶
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Adds one or more tags to a signaling channel. A tag is a key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) in the AWS Billing and Cost Management User Guide.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/TagResource
func (*Client) TagStreamRequest ¶
func (c *Client) TagStreamRequest(input *TagStreamInput) TagStreamRequest
TagStreamRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Adds one or more tags to a stream. A tag is a key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) in the AWS Billing and Cost Management User Guide.
You must provide either the StreamName or the StreamARN.
This operation requires permission for the KinesisVideo:TagStream action.
Kinesis video streams support up to 50 tags.
// Example sending a request using TagStreamRequest. req := client.TagStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/TagStream
func (*Client) UntagResourceRequest ¶
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Removes one or more tags from a signaling channel. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UntagResource
func (*Client) UntagStreamRequest ¶
func (c *Client) UntagStreamRequest(input *UntagStreamInput) UntagStreamRequest
UntagStreamRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Removes one or more tags from a stream. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored.
In the request, you must provide the StreamName or StreamARN.
// Example sending a request using UntagStreamRequest. req := client.UntagStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UntagStream
func (*Client) UpdateDataRetentionRequest ¶
func (c *Client) UpdateDataRetentionRequest(input *UpdateDataRetentionInput) UpdateDataRetentionRequest
UpdateDataRetentionRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Increases or decreases the stream's data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the Operation parameter in the request body. In the request, you must specify either the StreamName or the StreamARN.
The retention period that you specify replaces the current value.
This operation requires permission for the KinesisVideo:UpdateDataRetention action.
Changing the data retention period affects the data in the stream as follows:
If the data retention period is increased, existing data is retained for the new retention period. For example, if the data retention period is increased from one hour to seven hours, all existing data is retained for seven hours.
If the data retention period is decreased, existing data is retained for the new retention period. For example, if the data retention period is decreased from seven hours to one hour, all existing data is retained for one hour, and any data older than one hour is deleted immediately.
// Example sending a request using UpdateDataRetentionRequest. req := client.UpdateDataRetentionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateDataRetention
func (*Client) UpdateSignalingChannelRequest ¶
func (c *Client) UpdateSignalingChannelRequest(input *UpdateSignalingChannelInput) UpdateSignalingChannelRequest
UpdateSignalingChannelRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Updates the existing signaling channel. This is an asynchronous operation and takes time to complete.
If the MessageTtlSeconds value is updated (either increased or reduced), then it only applies to new messages sent via this channel after it's been updated. Existing messages are still expire as per the previous MessageTtlSeconds value.
// Example sending a request using UpdateSignalingChannelRequest. req := client.UpdateSignalingChannelRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateSignalingChannel
func (*Client) UpdateStreamRequest ¶
func (c *Client) UpdateStreamRequest(input *UpdateStreamInput) UpdateStreamRequest
UpdateStreamRequest returns a request value for making API operation for Amazon Kinesis Video Streams.
Updates stream metadata, such as the device name and media type.
You must provide the stream name or the Amazon Resource Name (ARN) of the stream.
To make sure that you have the latest version of the stream before updating it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the DescribeStream API.
UpdateStream is an asynchronous operation, and takes time to complete.
// Example sending a request using UpdateStreamRequest. req := client.UpdateStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateStream
type ComparisonOperator ¶
type ComparisonOperator string
const ( ComparisonOperatorBeginsWith ComparisonOperator = "BEGINS_WITH" )
Enum values for ComparisonOperator
func (ComparisonOperator) MarshalValue ¶
func (enum ComparisonOperator) MarshalValue() (string, error)
func (ComparisonOperator) MarshalValueBuf ¶
func (enum ComparisonOperator) MarshalValueBuf(b []byte) ([]byte, error)
type CreateSignalingChannelInput ¶
type CreateSignalingChannelInput struct { // A name for the signaling channel that you are creating. It must be unique // for each account and region. // // ChannelName is a required field ChannelName *string `min:"1" type:"string" required:"true"` // A type of the signaling channel that you are creating. Currently, SINGLE_MASTER // is the only supported channel type. ChannelType ChannelType `type:"string" enum:"true"` // A structure containing the configuration for the SINGLE_MASTER channel type. SingleMasterConfiguration *SingleMasterConfiguration `type:"structure"` // A set of tags (key/value pairs) that you want to associate with this channel. Tags []Tag `type:"list"` // contains filtered or unexported fields }
func (CreateSignalingChannelInput) MarshalFields ¶
func (s CreateSignalingChannelInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateSignalingChannelInput) String ¶
func (s CreateSignalingChannelInput) String() string
String returns the string representation
func (*CreateSignalingChannelInput) Validate ¶
func (s *CreateSignalingChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSignalingChannelOutput ¶
type CreateSignalingChannelOutput struct { // The ARN of the created channel. ChannelARN *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateSignalingChannelOutput) MarshalFields ¶
func (s CreateSignalingChannelOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateSignalingChannelOutput) String ¶
func (s CreateSignalingChannelOutput) String() string
String returns the string representation
type CreateSignalingChannelRequest ¶
type CreateSignalingChannelRequest struct { *aws.Request Input *CreateSignalingChannelInput Copy func(*CreateSignalingChannelInput) CreateSignalingChannelRequest }
CreateSignalingChannelRequest is the request type for the CreateSignalingChannel API operation.
func (CreateSignalingChannelRequest) Send ¶
func (r CreateSignalingChannelRequest) Send(ctx context.Context) (*CreateSignalingChannelResponse, error)
Send marshals and sends the CreateSignalingChannel API request.
type CreateSignalingChannelResponse ¶
type CreateSignalingChannelResponse struct { *CreateSignalingChannelOutput // contains filtered or unexported fields }
CreateSignalingChannelResponse is the response type for the CreateSignalingChannel API operation.
func (*CreateSignalingChannelResponse) SDKResponseMetdata ¶
func (r *CreateSignalingChannelResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateSignalingChannel request.
type CreateStreamInput ¶
type CreateStreamInput struct { // The number of hours that you want to retain the data in the stream. Kinesis // Video Streams retains the data in a data store that is associated with the // stream. // // The default value is 0, indicating that the stream does not persist data. // // When the DataRetentionInHours value is 0, consumers can still consume the // fragments that remain in the service host buffer, which has a retention time // limit of 5 minutes and a retention memory limit of 200 MB. Fragments are // removed from the buffer when either limit is reached. DataRetentionInHours *int64 `type:"integer"` // The name of the device that is writing to the stream. // // In the current implementation, Kinesis Video Streams does not use this name. DeviceName *string `min:"1" type:"string"` // The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis // Video Streams to use to encrypt stream data. // // If no key ID is specified, the default, Kinesis Video-managed key (aws/kinesisvideo) // is used. // // For more information, see DescribeKey (https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters). KmsKeyId *string `min:"1" type:"string"` // The media type of the stream. Consumers of the stream can use this information // when processing the stream. For more information about media types, see Media // Types (http://www.iana.org/assignments/media-types/media-types.xhtml). If // you choose to specify the MediaType, see Naming Requirements (https://tools.ietf.org/html/rfc6838#section-4.2) // for guidelines. // // Example valid values include "video/h264" and "video/h264,audio/aac". // // This parameter is optional; the default value is null (or empty in JSON). MediaType *string `min:"1" type:"string"` // A name for the stream that you are creating. // // The stream name is an identifier for the stream, and must be unique for each // account and region. // // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` // A list of tags to associate with the specified stream. Each tag is a key-value // pair (the value is optional). Tags map[string]string `min:"1" type:"map"` // contains filtered or unexported fields }
func (CreateStreamInput) MarshalFields ¶
func (s CreateStreamInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateStreamInput) String ¶
func (s CreateStreamInput) String() string
String returns the string representation
func (*CreateStreamInput) Validate ¶
func (s *CreateStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateStreamOutput ¶
type CreateStreamOutput struct { // The Amazon Resource Name (ARN) of the stream. StreamARN *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateStreamOutput) MarshalFields ¶
func (s CreateStreamOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateStreamOutput) String ¶
func (s CreateStreamOutput) String() string
String returns the string representation
type CreateStreamRequest ¶
type CreateStreamRequest struct { *aws.Request Input *CreateStreamInput Copy func(*CreateStreamInput) CreateStreamRequest }
CreateStreamRequest is the request type for the CreateStream API operation.
func (CreateStreamRequest) Send ¶
func (r CreateStreamRequest) Send(ctx context.Context) (*CreateStreamResponse, error)
Send marshals and sends the CreateStream API request.
type CreateStreamResponse ¶
type CreateStreamResponse struct { *CreateStreamOutput // contains filtered or unexported fields }
CreateStreamResponse is the response type for the CreateStream API operation.
func (*CreateStreamResponse) SDKResponseMetdata ¶
func (r *CreateStreamResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateStream request.
type DeleteSignalingChannelInput ¶
type DeleteSignalingChannelInput struct { // The ARN of the signaling channel that you want to delete. // // ChannelARN is a required field ChannelARN *string `min:"1" type:"string" required:"true"` // The current version of the signaling channel that you want to delete. You // can obtain the current version by invoking the DescribeSignalingChannel or // ListSignalingChannels APIs. CurrentVersion *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (DeleteSignalingChannelInput) MarshalFields ¶
func (s DeleteSignalingChannelInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteSignalingChannelInput) String ¶
func (s DeleteSignalingChannelInput) String() string
String returns the string representation
func (*DeleteSignalingChannelInput) Validate ¶
func (s *DeleteSignalingChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSignalingChannelOutput ¶
type DeleteSignalingChannelOutput struct {
// contains filtered or unexported fields
}
func (DeleteSignalingChannelOutput) MarshalFields ¶
func (s DeleteSignalingChannelOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteSignalingChannelOutput) String ¶
func (s DeleteSignalingChannelOutput) String() string
String returns the string representation
type DeleteSignalingChannelRequest ¶
type DeleteSignalingChannelRequest struct { *aws.Request Input *DeleteSignalingChannelInput Copy func(*DeleteSignalingChannelInput) DeleteSignalingChannelRequest }
DeleteSignalingChannelRequest is the request type for the DeleteSignalingChannel API operation.
func (DeleteSignalingChannelRequest) Send ¶
func (r DeleteSignalingChannelRequest) Send(ctx context.Context) (*DeleteSignalingChannelResponse, error)
Send marshals and sends the DeleteSignalingChannel API request.
type DeleteSignalingChannelResponse ¶
type DeleteSignalingChannelResponse struct { *DeleteSignalingChannelOutput // contains filtered or unexported fields }
DeleteSignalingChannelResponse is the response type for the DeleteSignalingChannel API operation.
func (*DeleteSignalingChannelResponse) SDKResponseMetdata ¶
func (r *DeleteSignalingChannelResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteSignalingChannel request.
type DeleteStreamInput ¶
type DeleteStreamInput struct { // Optional: The version of the stream that you want to delete. // // Specify the version as a safeguard to ensure that your are deleting the correct // stream. To get the stream version, use the DescribeStream API. // // If not specified, only the CreationTime is checked before deleting the stream. CurrentVersion *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the stream that you want to delete. // // StreamARN is a required field StreamARN *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteStreamInput) MarshalFields ¶
func (s DeleteStreamInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteStreamInput) String ¶
func (s DeleteStreamInput) String() string
String returns the string representation
func (*DeleteStreamInput) Validate ¶
func (s *DeleteStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteStreamOutput ¶
type DeleteStreamOutput struct {
// contains filtered or unexported fields
}
func (DeleteStreamOutput) MarshalFields ¶
func (s DeleteStreamOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteStreamOutput) String ¶
func (s DeleteStreamOutput) String() string
String returns the string representation
type DeleteStreamRequest ¶
type DeleteStreamRequest struct { *aws.Request Input *DeleteStreamInput Copy func(*DeleteStreamInput) DeleteStreamRequest }
DeleteStreamRequest is the request type for the DeleteStream API operation.
func (DeleteStreamRequest) Send ¶
func (r DeleteStreamRequest) Send(ctx context.Context) (*DeleteStreamResponse, error)
Send marshals and sends the DeleteStream API request.
type DeleteStreamResponse ¶
type DeleteStreamResponse struct { *DeleteStreamOutput // contains filtered or unexported fields }
DeleteStreamResponse is the response type for the DeleteStream API operation.
func (*DeleteStreamResponse) SDKResponseMetdata ¶
func (r *DeleteStreamResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteStream request.
type DescribeSignalingChannelInput ¶
type DescribeSignalingChannelInput struct { // The ARN of the signaling channel that you want to describe. ChannelARN *string `min:"1" type:"string"` // The name of the signaling channel that you want to describe. ChannelName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (DescribeSignalingChannelInput) MarshalFields ¶
func (s DescribeSignalingChannelInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeSignalingChannelInput) String ¶
func (s DescribeSignalingChannelInput) String() string
String returns the string representation
func (*DescribeSignalingChannelInput) Validate ¶
func (s *DescribeSignalingChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSignalingChannelOutput ¶
type DescribeSignalingChannelOutput struct { // A structure that encapsulates the specified signaling channel's metadata // and properties. ChannelInfo *ChannelInfo `type:"structure"` // contains filtered or unexported fields }
func (DescribeSignalingChannelOutput) MarshalFields ¶
func (s DescribeSignalingChannelOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeSignalingChannelOutput) String ¶
func (s DescribeSignalingChannelOutput) String() string
String returns the string representation
type DescribeSignalingChannelRequest ¶
type DescribeSignalingChannelRequest struct { *aws.Request Input *DescribeSignalingChannelInput Copy func(*DescribeSignalingChannelInput) DescribeSignalingChannelRequest }
DescribeSignalingChannelRequest is the request type for the DescribeSignalingChannel API operation.
func (DescribeSignalingChannelRequest) Send ¶
func (r DescribeSignalingChannelRequest) Send(ctx context.Context) (*DescribeSignalingChannelResponse, error)
Send marshals and sends the DescribeSignalingChannel API request.
type DescribeSignalingChannelResponse ¶
type DescribeSignalingChannelResponse struct { *DescribeSignalingChannelOutput // contains filtered or unexported fields }
DescribeSignalingChannelResponse is the response type for the DescribeSignalingChannel API operation.
func (*DescribeSignalingChannelResponse) SDKResponseMetdata ¶
func (r *DescribeSignalingChannelResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSignalingChannel request.
type DescribeStreamInput ¶
type DescribeStreamInput struct { // The Amazon Resource Name (ARN) of the stream. StreamARN *string `min:"1" type:"string"` // The name of the stream. StreamName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (DescribeStreamInput) MarshalFields ¶
func (s DescribeStreamInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeStreamInput) String ¶
func (s DescribeStreamInput) String() string
String returns the string representation
func (*DescribeStreamInput) Validate ¶
func (s *DescribeStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeStreamOutput ¶
type DescribeStreamOutput struct { // An object that describes the stream. StreamInfo *StreamInfo `type:"structure"` // contains filtered or unexported fields }
func (DescribeStreamOutput) MarshalFields ¶
func (s DescribeStreamOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeStreamOutput) String ¶
func (s DescribeStreamOutput) String() string
String returns the string representation
type DescribeStreamRequest ¶
type DescribeStreamRequest struct { *aws.Request Input *DescribeStreamInput Copy func(*DescribeStreamInput) DescribeStreamRequest }
DescribeStreamRequest is the request type for the DescribeStream API operation.
func (DescribeStreamRequest) Send ¶
func (r DescribeStreamRequest) Send(ctx context.Context) (*DescribeStreamResponse, error)
Send marshals and sends the DescribeStream API request.
type DescribeStreamResponse ¶
type DescribeStreamResponse struct { *DescribeStreamOutput // contains filtered or unexported fields }
DescribeStreamResponse is the response type for the DescribeStream API operation.
func (*DescribeStreamResponse) SDKResponseMetdata ¶
func (r *DescribeStreamResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeStream request.
type GetDataEndpointInput ¶
type GetDataEndpointInput struct { // The name of the API action for which to get an endpoint. // // APIName is a required field APIName APIName `type:"string" required:"true" enum:"true"` // The Amazon Resource Name (ARN) of the stream that you want to get the endpoint // for. You must specify either this parameter or a StreamName in the request. StreamARN *string `min:"1" type:"string"` // The name of the stream that you want to get the endpoint for. You must specify // either this parameter or a StreamARN in the request. StreamName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (GetDataEndpointInput) MarshalFields ¶
func (s GetDataEndpointInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDataEndpointInput) String ¶
func (s GetDataEndpointInput) String() string
String returns the string representation
func (*GetDataEndpointInput) Validate ¶
func (s *GetDataEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDataEndpointOutput ¶
type GetDataEndpointOutput struct { // The endpoint value. To read data from the stream or to write data to it, // specify this endpoint in your application. DataEndpoint *string `type:"string"` // contains filtered or unexported fields }
func (GetDataEndpointOutput) MarshalFields ¶
func (s GetDataEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDataEndpointOutput) String ¶
func (s GetDataEndpointOutput) String() string
String returns the string representation
type GetDataEndpointRequest ¶
type GetDataEndpointRequest struct { *aws.Request Input *GetDataEndpointInput Copy func(*GetDataEndpointInput) GetDataEndpointRequest }
GetDataEndpointRequest is the request type for the GetDataEndpoint API operation.
func (GetDataEndpointRequest) Send ¶
func (r GetDataEndpointRequest) Send(ctx context.Context) (*GetDataEndpointResponse, error)
Send marshals and sends the GetDataEndpoint API request.
type GetDataEndpointResponse ¶
type GetDataEndpointResponse struct { *GetDataEndpointOutput // contains filtered or unexported fields }
GetDataEndpointResponse is the response type for the GetDataEndpoint API operation.
func (*GetDataEndpointResponse) SDKResponseMetdata ¶
func (r *GetDataEndpointResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDataEndpoint request.
type GetSignalingChannelEndpointInput ¶
type GetSignalingChannelEndpointInput struct { // The ARN of the signalling channel for which you want to get an endpoint. // // ChannelARN is a required field ChannelARN *string `min:"1" type:"string" required:"true"` // A structure containing the endpoint configuration for the SINGLE_MASTER channel // type. SingleMasterChannelEndpointConfiguration *SingleMasterChannelEndpointConfiguration `type:"structure"` // contains filtered or unexported fields }
func (GetSignalingChannelEndpointInput) MarshalFields ¶
func (s GetSignalingChannelEndpointInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetSignalingChannelEndpointInput) String ¶
func (s GetSignalingChannelEndpointInput) String() string
String returns the string representation
func (*GetSignalingChannelEndpointInput) Validate ¶
func (s *GetSignalingChannelEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetSignalingChannelEndpointOutput ¶
type GetSignalingChannelEndpointOutput struct { // A list of endpoints for the specified signaling channel. ResourceEndpointList []ResourceEndpointListItem `type:"list"` // contains filtered or unexported fields }
func (GetSignalingChannelEndpointOutput) MarshalFields ¶
func (s GetSignalingChannelEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetSignalingChannelEndpointOutput) String ¶
func (s GetSignalingChannelEndpointOutput) String() string
String returns the string representation
type GetSignalingChannelEndpointRequest ¶
type GetSignalingChannelEndpointRequest struct { *aws.Request Input *GetSignalingChannelEndpointInput Copy func(*GetSignalingChannelEndpointInput) GetSignalingChannelEndpointRequest }
GetSignalingChannelEndpointRequest is the request type for the GetSignalingChannelEndpoint API operation.
func (GetSignalingChannelEndpointRequest) Send ¶
func (r GetSignalingChannelEndpointRequest) Send(ctx context.Context) (*GetSignalingChannelEndpointResponse, error)
Send marshals and sends the GetSignalingChannelEndpoint API request.
type GetSignalingChannelEndpointResponse ¶
type GetSignalingChannelEndpointResponse struct { *GetSignalingChannelEndpointOutput // contains filtered or unexported fields }
GetSignalingChannelEndpointResponse is the response type for the GetSignalingChannelEndpoint API operation.
func (*GetSignalingChannelEndpointResponse) SDKResponseMetdata ¶
func (r *GetSignalingChannelEndpointResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetSignalingChannelEndpoint request.
type ListSignalingChannelsInput ¶
type ListSignalingChannelsInput struct { // Optional: Returns only the channels that satisfy a specific condition. ChannelNameCondition *ChannelNameCondition `type:"structure"` // The maximum number of channels to return in the response. The default is // 500. MaxResults *int64 `min:"1" type:"integer"` // If you specify this parameter, when the result of a ListSignalingChannels // operation is truncated, the call returns the NextToken in the response. To // get another batch of channels, provide this token in your next request. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListSignalingChannelsInput) MarshalFields ¶
func (s ListSignalingChannelsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSignalingChannelsInput) String ¶
func (s ListSignalingChannelsInput) String() string
String returns the string representation
func (*ListSignalingChannelsInput) Validate ¶
func (s *ListSignalingChannelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListSignalingChannelsOutput ¶
type ListSignalingChannelsOutput struct { // An array of ChannelInfo objects. ChannelInfoList []ChannelInfo `type:"list"` // If the response is truncated, the call returns this element with a token. // To get the next batch of streams, use this token in your next request. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListSignalingChannelsOutput) MarshalFields ¶
func (s ListSignalingChannelsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSignalingChannelsOutput) String ¶
func (s ListSignalingChannelsOutput) String() string
String returns the string representation
type ListSignalingChannelsPaginator ¶
ListSignalingChannelsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListSignalingChannelsPaginator ¶
func NewListSignalingChannelsPaginator(req ListSignalingChannelsRequest) ListSignalingChannelsPaginator
NewListSignalingChannelsRequestPaginator returns a paginator for ListSignalingChannels. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListSignalingChannelsRequest(input) p := kinesisvideo.NewListSignalingChannelsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListSignalingChannelsPaginator) CurrentPage ¶
func (p *ListSignalingChannelsPaginator) CurrentPage() *ListSignalingChannelsOutput
type ListSignalingChannelsRequest ¶
type ListSignalingChannelsRequest struct { *aws.Request Input *ListSignalingChannelsInput Copy func(*ListSignalingChannelsInput) ListSignalingChannelsRequest }
ListSignalingChannelsRequest is the request type for the ListSignalingChannels API operation.
func (ListSignalingChannelsRequest) Send ¶
func (r ListSignalingChannelsRequest) Send(ctx context.Context) (*ListSignalingChannelsResponse, error)
Send marshals and sends the ListSignalingChannels API request.
type ListSignalingChannelsResponse ¶
type ListSignalingChannelsResponse struct { *ListSignalingChannelsOutput // contains filtered or unexported fields }
ListSignalingChannelsResponse is the response type for the ListSignalingChannels API operation.
func (*ListSignalingChannelsResponse) SDKResponseMetdata ¶
func (r *ListSignalingChannelsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListSignalingChannels request.
type ListStreamsInput ¶
type ListStreamsInput struct { // The maximum number of streams to return in the response. The default is 10,000. MaxResults *int64 `min:"1" type:"integer"` // If you specify this parameter, when the result of a ListStreams operation // is truncated, the call returns the NextToken in the response. To get another // batch of streams, provide this token in your next request. NextToken *string `type:"string"` // Optional: Returns only streams that satisfy a specific condition. Currently, // you can specify only the prefix of a stream name as a condition. StreamNameCondition *StreamNameCondition `type:"structure"` // contains filtered or unexported fields }
func (ListStreamsInput) MarshalFields ¶
func (s ListStreamsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListStreamsInput) String ¶
func (s ListStreamsInput) String() string
String returns the string representation
func (*ListStreamsInput) Validate ¶
func (s *ListStreamsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListStreamsOutput ¶
type ListStreamsOutput struct { // If the response is truncated, the call returns this element with a token. // To get the next batch of streams, use this token in your next request. NextToken *string `type:"string"` // An array of StreamInfo objects. StreamInfoList []StreamInfo `type:"list"` // contains filtered or unexported fields }
func (ListStreamsOutput) MarshalFields ¶
func (s ListStreamsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListStreamsOutput) String ¶
func (s ListStreamsOutput) String() string
String returns the string representation
type ListStreamsPaginator ¶
ListStreamsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListStreamsPaginator ¶
func NewListStreamsPaginator(req ListStreamsRequest) ListStreamsPaginator
NewListStreamsRequestPaginator returns a paginator for ListStreams. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListStreamsRequest(input) p := kinesisvideo.NewListStreamsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListStreamsPaginator) CurrentPage ¶
func (p *ListStreamsPaginator) CurrentPage() *ListStreamsOutput
type ListStreamsRequest ¶
type ListStreamsRequest struct { *aws.Request Input *ListStreamsInput Copy func(*ListStreamsInput) ListStreamsRequest }
ListStreamsRequest is the request type for the ListStreams API operation.
func (ListStreamsRequest) Send ¶
func (r ListStreamsRequest) Send(ctx context.Context) (*ListStreamsResponse, error)
Send marshals and sends the ListStreams API request.
type ListStreamsResponse ¶
type ListStreamsResponse struct { *ListStreamsOutput // contains filtered or unexported fields }
ListStreamsResponse is the response type for the ListStreams API operation.
func (*ListStreamsResponse) SDKResponseMetdata ¶
func (r *ListStreamsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListStreams request.
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // If you specify this parameter and the result of a ListTagsForResource call // is truncated, the response includes a token that you can use in the next // request to fetch the next batch of tags. NextToken *string `type:"string"` // The ARN of the signaling channel for which you want to list tags. // // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) MarshalFields ¶
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation
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 { // If you specify this parameter and the result of a ListTagsForResource call // is truncated, the response includes a token that you can use in the next // request to fetch the next set of tags. NextToken *string `type:"string"` // A map of tag keys and values associated with the specified signaling channel. Tags map[string]string `min:"1" type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) MarshalFields ¶
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ¶
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ¶
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
type ListTagsForStreamInput ¶
type ListTagsForStreamInput struct { // If you specify this parameter and the result of a ListTagsForStream call // is truncated, the response includes a token that you can use in the next // request to fetch the next batch of tags. NextToken *string `type:"string"` // The Amazon Resource Name (ARN) of the stream that you want to list tags for. StreamARN *string `min:"1" type:"string"` // The name of the stream that you want to list tags for. StreamName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListTagsForStreamInput) MarshalFields ¶
func (s ListTagsForStreamInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForStreamInput) String ¶
func (s ListTagsForStreamInput) String() string
String returns the string representation
func (*ListTagsForStreamInput) Validate ¶
func (s *ListTagsForStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForStreamOutput ¶
type ListTagsForStreamOutput struct { // If you specify this parameter and the result of a ListTags call is truncated, // the response includes a token that you can use in the next request to fetch // the next set of tags. NextToken *string `type:"string"` // A map of tag keys and values associated with the specified stream. Tags map[string]string `min:"1" type:"map"` // contains filtered or unexported fields }
func (ListTagsForStreamOutput) MarshalFields ¶
func (s ListTagsForStreamOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForStreamOutput) String ¶
func (s ListTagsForStreamOutput) String() string
String returns the string representation
type ListTagsForStreamRequest ¶
type ListTagsForStreamRequest struct { *aws.Request Input *ListTagsForStreamInput Copy func(*ListTagsForStreamInput) ListTagsForStreamRequest }
ListTagsForStreamRequest is the request type for the ListTagsForStream API operation.
func (ListTagsForStreamRequest) Send ¶
func (r ListTagsForStreamRequest) Send(ctx context.Context) (*ListTagsForStreamResponse, error)
Send marshals and sends the ListTagsForStream API request.
type ListTagsForStreamResponse ¶
type ListTagsForStreamResponse struct { *ListTagsForStreamOutput // contains filtered or unexported fields }
ListTagsForStreamResponse is the response type for the ListTagsForStream API operation.
func (*ListTagsForStreamResponse) SDKResponseMetdata ¶
func (r *ListTagsForStreamResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForStream request.
type ResourceEndpointListItem ¶
type ResourceEndpointListItem struct { // The protocol of the signaling channel returned by the GetSignalingChannelEndpoint // API. Protocol ChannelProtocol `type:"string" enum:"true"` // The endpoint of the signaling channel returned by the GetSignalingChannelEndpoint // API. ResourceEndpoint *string `type:"string"` // contains filtered or unexported fields }
An object that describes the endpoint of the signaling channel returned by the GetSignalingChannelEndpoint API.
func (ResourceEndpointListItem) MarshalFields ¶
func (s ResourceEndpointListItem) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResourceEndpointListItem) String ¶
func (s ResourceEndpointListItem) String() string
String returns the string representation
type SingleMasterChannelEndpointConfiguration ¶
type SingleMasterChannelEndpointConfiguration struct { // This property is used to determine the nature of communication over this // SINGLE_MASTER signaling channel. If WSS is specified, this API returns a // websocket endpoint. If HTTPS is specified, this API returns an HTTPS endpoint. Protocols []ChannelProtocol `min:"1" type:"list"` // This property is used to determine messaging permissions in this SINGLE_MASTER // signaling channel. If MASTER is specified, this API returns an endpoint that // a client can use to receive offers from and send answers to any of the viewers // on this signaling channel. If VIEWER is specified, this API returns an endpoint // that a client can use only to send offers to another MASTER client on this // signaling channel. Role ChannelRole `type:"string" enum:"true"` // contains filtered or unexported fields }
An object that contains the endpoint configuration for the SINGLE_MASTER channel type.
func (SingleMasterChannelEndpointConfiguration) MarshalFields ¶
func (s SingleMasterChannelEndpointConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SingleMasterChannelEndpointConfiguration) String ¶
func (s SingleMasterChannelEndpointConfiguration) String() string
String returns the string representation
func (*SingleMasterChannelEndpointConfiguration) Validate ¶
func (s *SingleMasterChannelEndpointConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SingleMasterConfiguration ¶
type SingleMasterConfiguration struct { // The period of time a signaling channel retains underlivered messages before // they are discarded. MessageTtlSeconds *int64 `min:"5" type:"integer"` // contains filtered or unexported fields }
A structure that contains the configuration for the SINGLE_MASTER channel type.
func (SingleMasterConfiguration) MarshalFields ¶
func (s SingleMasterConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SingleMasterConfiguration) String ¶
func (s SingleMasterConfiguration) String() string
String returns the string representation
func (*SingleMasterConfiguration) Validate ¶
func (s *SingleMasterConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Status ¶
type Status string
const ( StatusCreating Status = "CREATING" StatusActive Status = "ACTIVE" StatusUpdating Status = "UPDATING" StatusDeleting Status = "DELETING" )
Enum values for Status
func (Status) MarshalValue ¶
func (Status) MarshalValueBuf ¶
type StreamInfo ¶
type StreamInfo struct { // A time stamp that indicates when the stream was created. CreationTime *time.Time `type:"timestamp"` // How long the stream retains data, in hours. DataRetentionInHours *int64 `type:"integer"` // The name of the device that is associated with the stream. DeviceName *string `min:"1" type:"string"` // The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video // Streams uses to encrypt data on the stream. KmsKeyId *string `min:"1" type:"string"` // The MediaType of the stream. MediaType *string `min:"1" type:"string"` // The status of the stream. Status Status `type:"string" enum:"true"` // The Amazon Resource Name (ARN) of the stream. StreamARN *string `min:"1" type:"string"` // The name of the stream. StreamName *string `min:"1" type:"string"` // The version of the stream. Version *string `min:"1" type:"string"` // contains filtered or unexported fields }
An object describing a Kinesis video stream.
func (StreamInfo) MarshalFields ¶
func (s StreamInfo) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StreamInfo) String ¶
func (s StreamInfo) String() string
String returns the string representation
type StreamNameCondition ¶
type StreamNameCondition struct { // A comparison operator. Currently, you can specify only the BEGINS_WITH operator, // which finds streams whose names start with a given prefix. ComparisonOperator ComparisonOperator `type:"string" enum:"true"` // A value to compare. ComparisonValue *string `min:"1" type:"string"` // contains filtered or unexported fields }
Specifies the condition that streams must satisfy to be returned when you list streams (see the ListStreams API). A condition has a comparison operation and a value. Currently, you can specify only the BEGINS_WITH operator, which finds streams whose names start with a given prefix.
func (StreamNameCondition) MarshalFields ¶
func (s StreamNameCondition) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StreamNameCondition) String ¶
func (s StreamNameCondition) String() string
String returns the string representation
func (*StreamNameCondition) Validate ¶
func (s *StreamNameCondition) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Tag ¶
type Tag struct { // The key of the tag that is associated with the specified signaling channel. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value of the tag that is associated with the specified signaling channel. // // Value is a required field Value *string `type:"string" required:"true"` // contains filtered or unexported fields }
A key and value pair that is associated with the specified signaling channel.
func (Tag) MarshalFields ¶
func (s Tag) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Tag) String ¶
String returns the string representation
func (*Tag) Validate ¶
Validate inspects the fields of the type to determine if they are valid.
type TagResourceInput ¶
type TagResourceInput struct { // The ARN of the signaling channel to which you want to add tags. // // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // A list of tags to associate with the specified signaling channel. Each tag // is a key-value pair. // // Tags is a required field Tags []Tag `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) MarshalFields ¶
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation
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) MarshalFields ¶
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type TagStreamInput ¶
type TagStreamInput struct { // The Amazon Resource Name (ARN) of the resource that you want to add the tag // or tags to. StreamARN *string `min:"1" type:"string"` // The name of the stream that you want to add the tag or tags to. StreamName *string `min:"1" type:"string"` // A list of tags to associate with the specified stream. Each tag is a key-value // pair (the value is optional). // // Tags is a required field Tags map[string]string `min:"1" type:"map" required:"true"` // contains filtered or unexported fields }
func (TagStreamInput) MarshalFields ¶
func (s TagStreamInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagStreamInput) String ¶
func (s TagStreamInput) String() string
String returns the string representation
func (*TagStreamInput) Validate ¶
func (s *TagStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagStreamOutput ¶
type TagStreamOutput struct {
// contains filtered or unexported fields
}
func (TagStreamOutput) MarshalFields ¶
func (s TagStreamOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagStreamOutput) String ¶
func (s TagStreamOutput) String() string
String returns the string representation
type TagStreamRequest ¶
type TagStreamRequest struct { *aws.Request Input *TagStreamInput Copy func(*TagStreamInput) TagStreamRequest }
TagStreamRequest is the request type for the TagStream API operation.
func (TagStreamRequest) Send ¶
func (r TagStreamRequest) Send(ctx context.Context) (*TagStreamResponse, error)
Send marshals and sends the TagStream API request.
type TagStreamResponse ¶
type TagStreamResponse struct { *TagStreamOutput // contains filtered or unexported fields }
TagStreamResponse is the response type for the TagStream API operation.
func (*TagStreamResponse) SDKResponseMetdata ¶
func (r *TagStreamResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagStream request.
type UntagResourceInput ¶
type UntagResourceInput struct { // The ARN of the signaling channel from which you want to remove tags. // // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // A list of the keys of the tags that you want to remove. // // TagKeyList is a required field TagKeyList []string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) MarshalFields ¶
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation
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) MarshalFields ¶
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
type UntagStreamInput ¶
type UntagStreamInput struct { // The Amazon Resource Name (ARN) of the stream that you want to remove tags // from. StreamARN *string `min:"1" type:"string"` // The name of the stream that you want to remove tags from. StreamName *string `min:"1" type:"string"` // A list of the keys of the tags that you want to remove. // // TagKeyList is a required field TagKeyList []string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagStreamInput) MarshalFields ¶
func (s UntagStreamInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagStreamInput) String ¶
func (s UntagStreamInput) String() string
String returns the string representation
func (*UntagStreamInput) Validate ¶
func (s *UntagStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagStreamOutput ¶
type UntagStreamOutput struct {
// contains filtered or unexported fields
}
func (UntagStreamOutput) MarshalFields ¶
func (s UntagStreamOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagStreamOutput) String ¶
func (s UntagStreamOutput) String() string
String returns the string representation
type UntagStreamRequest ¶
type UntagStreamRequest struct { *aws.Request Input *UntagStreamInput Copy func(*UntagStreamInput) UntagStreamRequest }
UntagStreamRequest is the request type for the UntagStream API operation.
func (UntagStreamRequest) Send ¶
func (r UntagStreamRequest) Send(ctx context.Context) (*UntagStreamResponse, error)
Send marshals and sends the UntagStream API request.
type UntagStreamResponse ¶
type UntagStreamResponse struct { *UntagStreamOutput // contains filtered or unexported fields }
UntagStreamResponse is the response type for the UntagStream API operation.
func (*UntagStreamResponse) SDKResponseMetdata ¶
func (r *UntagStreamResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagStream request.
type UpdateDataRetentionInput ¶
type UpdateDataRetentionInput struct { // The version of the stream whose retention period you want to change. To get // the version, call either the DescribeStream or the ListStreams API. // // CurrentVersion is a required field CurrentVersion *string `min:"1" type:"string" required:"true"` // The retention period, in hours. The value you specify replaces the current // value. The maximum value for this parameter is 87600 (ten years). // // DataRetentionChangeInHours is a required field DataRetentionChangeInHours *int64 `min:"1" type:"integer" required:"true"` // Indicates whether you want to increase or decrease the retention period. // // Operation is a required field Operation UpdateDataRetentionOperation `type:"string" required:"true" enum:"true"` // The Amazon Resource Name (ARN) of the stream whose retention period you want // to change. StreamARN *string `min:"1" type:"string"` // The name of the stream whose retention period you want to change. StreamName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateDataRetentionInput) MarshalFields ¶
func (s UpdateDataRetentionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDataRetentionInput) String ¶
func (s UpdateDataRetentionInput) String() string
String returns the string representation
func (*UpdateDataRetentionInput) Validate ¶
func (s *UpdateDataRetentionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDataRetentionOperation ¶
type UpdateDataRetentionOperation string
const ( UpdateDataRetentionOperationIncreaseDataRetention UpdateDataRetentionOperation = "INCREASE_DATA_RETENTION" UpdateDataRetentionOperationDecreaseDataRetention UpdateDataRetentionOperation = "DECREASE_DATA_RETENTION" )
Enum values for UpdateDataRetentionOperation
func (UpdateDataRetentionOperation) MarshalValue ¶
func (enum UpdateDataRetentionOperation) MarshalValue() (string, error)
func (UpdateDataRetentionOperation) MarshalValueBuf ¶
func (enum UpdateDataRetentionOperation) MarshalValueBuf(b []byte) ([]byte, error)
type UpdateDataRetentionOutput ¶
type UpdateDataRetentionOutput struct {
// contains filtered or unexported fields
}
func (UpdateDataRetentionOutput) MarshalFields ¶
func (s UpdateDataRetentionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDataRetentionOutput) String ¶
func (s UpdateDataRetentionOutput) String() string
String returns the string representation
type UpdateDataRetentionRequest ¶
type UpdateDataRetentionRequest struct { *aws.Request Input *UpdateDataRetentionInput Copy func(*UpdateDataRetentionInput) UpdateDataRetentionRequest }
UpdateDataRetentionRequest is the request type for the UpdateDataRetention API operation.
func (UpdateDataRetentionRequest) Send ¶
func (r UpdateDataRetentionRequest) Send(ctx context.Context) (*UpdateDataRetentionResponse, error)
Send marshals and sends the UpdateDataRetention API request.
type UpdateDataRetentionResponse ¶
type UpdateDataRetentionResponse struct { *UpdateDataRetentionOutput // contains filtered or unexported fields }
UpdateDataRetentionResponse is the response type for the UpdateDataRetention API operation.
func (*UpdateDataRetentionResponse) SDKResponseMetdata ¶
func (r *UpdateDataRetentionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDataRetention request.
type UpdateSignalingChannelInput ¶
type UpdateSignalingChannelInput struct { // The ARN of the signaling channel that you want to update. // // ChannelARN is a required field ChannelARN *string `min:"1" type:"string" required:"true"` // The current version of the signaling channel that you want to update. // // CurrentVersion is a required field CurrentVersion *string `min:"1" type:"string" required:"true"` // The structure containing the configuration for the SINGLE_MASTER type of // the signaling channel that you want to update. SingleMasterConfiguration *SingleMasterConfiguration `type:"structure"` // contains filtered or unexported fields }
func (UpdateSignalingChannelInput) MarshalFields ¶
func (s UpdateSignalingChannelInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateSignalingChannelInput) String ¶
func (s UpdateSignalingChannelInput) String() string
String returns the string representation
func (*UpdateSignalingChannelInput) Validate ¶
func (s *UpdateSignalingChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSignalingChannelOutput ¶
type UpdateSignalingChannelOutput struct {
// contains filtered or unexported fields
}
func (UpdateSignalingChannelOutput) MarshalFields ¶
func (s UpdateSignalingChannelOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateSignalingChannelOutput) String ¶
func (s UpdateSignalingChannelOutput) String() string
String returns the string representation
type UpdateSignalingChannelRequest ¶
type UpdateSignalingChannelRequest struct { *aws.Request Input *UpdateSignalingChannelInput Copy func(*UpdateSignalingChannelInput) UpdateSignalingChannelRequest }
UpdateSignalingChannelRequest is the request type for the UpdateSignalingChannel API operation.
func (UpdateSignalingChannelRequest) Send ¶
func (r UpdateSignalingChannelRequest) Send(ctx context.Context) (*UpdateSignalingChannelResponse, error)
Send marshals and sends the UpdateSignalingChannel API request.
type UpdateSignalingChannelResponse ¶
type UpdateSignalingChannelResponse struct { *UpdateSignalingChannelOutput // contains filtered or unexported fields }
UpdateSignalingChannelResponse is the response type for the UpdateSignalingChannel API operation.
func (*UpdateSignalingChannelResponse) SDKResponseMetdata ¶
func (r *UpdateSignalingChannelResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateSignalingChannel request.
type UpdateStreamInput ¶
type UpdateStreamInput struct { // The version of the stream whose metadata you want to update. // // CurrentVersion is a required field CurrentVersion *string `min:"1" type:"string" required:"true"` // The name of the device that is writing to the stream. // // In the current implementation, Kinesis Video Streams does not use this name. DeviceName *string `min:"1" type:"string"` // The stream's media type. Use MediaType to specify the type of content that // the stream contains to the consumers of the stream. For more information // about media types, see Media Types (http://www.iana.org/assignments/media-types/media-types.xhtml). // If you choose to specify the MediaType, see Naming Requirements (https://tools.ietf.org/html/rfc6838#section-4.2). // // To play video on the console, you must specify the correct video type. For // example, if the video in the stream is H.264, specify video/h264 as the MediaType. MediaType *string `min:"1" type:"string"` // The ARN of the stream whose metadata you want to update. StreamARN *string `min:"1" type:"string"` // The name of the stream whose metadata you want to update. // // The stream name is an identifier for the stream, and must be unique for each // account and region. StreamName *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateStreamInput) MarshalFields ¶
func (s UpdateStreamInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateStreamInput) String ¶
func (s UpdateStreamInput) String() string
String returns the string representation
func (*UpdateStreamInput) Validate ¶
func (s *UpdateStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateStreamOutput ¶
type UpdateStreamOutput struct {
// contains filtered or unexported fields
}
func (UpdateStreamOutput) MarshalFields ¶
func (s UpdateStreamOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateStreamOutput) String ¶
func (s UpdateStreamOutput) String() string
String returns the string representation
type UpdateStreamRequest ¶
type UpdateStreamRequest struct { *aws.Request Input *UpdateStreamInput Copy func(*UpdateStreamInput) UpdateStreamRequest }
UpdateStreamRequest is the request type for the UpdateStream API operation.
func (UpdateStreamRequest) Send ¶
func (r UpdateStreamRequest) Send(ctx context.Context) (*UpdateStreamResponse, error)
Send marshals and sends the UpdateStream API request.
type UpdateStreamResponse ¶
type UpdateStreamResponse struct { *UpdateStreamOutput // contains filtered or unexported fields }
UpdateStreamResponse is the response type for the UpdateStream API operation.
func (*UpdateStreamResponse) SDKResponseMetdata ¶
func (r *UpdateStreamResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateStream request.
Source Files ¶
api_client.go api_doc.go api_enums.go api_errors.go api_op_CreateSignalingChannel.go api_op_CreateStream.go api_op_DeleteSignalingChannel.go api_op_DeleteStream.go api_op_DescribeSignalingChannel.go api_op_DescribeStream.go api_op_GetDataEndpoint.go api_op_GetSignalingChannelEndpoint.go api_op_ListSignalingChannels.go api_op_ListStreams.go api_op_ListTagsForResource.go api_op_ListTagsForStream.go api_op_TagResource.go api_op_TagStream.go api_op_UntagResource.go api_op_UntagStream.go api_op_UpdateDataRetention.go api_op_UpdateSignalingChannel.go api_op_UpdateStream.go api_types.go
Directories ¶
Path | Synopsis |
---|---|
service/kinesisvideo/kinesisvideoiface | Package kinesisvideoiface provides an interface to enable mocking the Amazon Kinesis Video Streams service client for testing your code. |
- Version
- v0.18.0
- Published
- Dec 12, 2019
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 7 seconds ago –
Tools for package owners.