AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

StreamInfo

import "github.com/aws/aws-sdk-go/service/kinesisvideo"

type StreamInfo struct { CreationTime *time.Time `type:"timestamp"` DataRetentionInHours *int64 `type:"integer"` DeviceName *string `min:"1" type:"string"` KmsKeyId *string `min:"1" type:"string"` MediaType *string `min:"1" type:"string"` Status *string `type:"string" enum:"Status"` StreamARN *string `min:"1" type:"string"` StreamName *string `min:"1" type:"string"` Version *string `min:"1" type:"string"` }

An object describing a Kinesis video stream.

CreationTime

Type: *time.Time

A time stamp that indicates when the stream was created.

DataRetentionInHours

Type: *int64

How long the stream retains data, in hours.

DeviceName

Type: *string

The name of the device that is associated with the stream.

KmsKeyId

Type: *string

The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on the stream.

MediaType

Type: *string

The MediaType of the stream.

Status

Type: *string

The status of the stream.

StreamARN

Type: *string

The Amazon Resource Name (ARN) of the stream.

StreamName

Type: *string

The name of the stream.

Version

Type: *string

The version of the stream.

Method

GoString

func (s StreamInfo) GoString() string

GoString returns the string representation

SetCreationTime

func (s *StreamInfo) SetCreationTime(v time.Time) *StreamInfo

SetCreationTime sets the CreationTime field's value.

SetDataRetentionInHours

func (s *StreamInfo) SetDataRetentionInHours(v int64) *StreamInfo

SetDataRetentionInHours sets the DataRetentionInHours field's value.

SetDeviceName

func (s *StreamInfo) SetDeviceName(v string) *StreamInfo

SetDeviceName sets the DeviceName field's value.

SetKmsKeyId

func (s *StreamInfo) SetKmsKeyId(v string) *StreamInfo

SetKmsKeyId sets the KmsKeyId field's value.

SetMediaType

func (s *StreamInfo) SetMediaType(v string) *StreamInfo

SetMediaType sets the MediaType field's value.

SetStatus

func (s *StreamInfo) SetStatus(v string) *StreamInfo

SetStatus sets the Status field's value.

SetStreamARN

func (s *StreamInfo) SetStreamARN(v string) *StreamInfo

SetStreamARN sets the StreamARN field's value.

SetStreamName

func (s *StreamInfo) SetStreamName(v string) *StreamInfo

SetStreamName sets the StreamName field's value.

SetVersion

func (s *StreamInfo) SetVersion(v string) *StreamInfo

SetVersion sets the Version field's value.

String

func (s StreamInfo) String() string

String returns the string representation

On this page: