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

type StreamInfo struct { CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` Description *string `locationName:"description" type:"string"` Files []*StreamFile `locationName:"files" min:"1" type:"list"` LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` RoleArn *string `locationName:"roleArn" min:"20" type:"string"` StreamArn *string `locationName:"streamArn" type:"string"` StreamId *string `locationName:"streamId" min:"1" type:"string"` StreamVersion *int64 `locationName:"streamVersion" type:"integer"` }

Information about a stream.

CreatedAt

Type: *time.Time

The date when the stream was created.

Description

Type: *string

The description of the stream.

Files

Represents a file to stream.

LastUpdatedAt

Type: *time.Time

The date when the stream was last updated.

RoleArn

Type: *string

An IAM role AWS IoT assumes to access your S3 files.

StreamArn

Type: *string

The stream ARN.

StreamId

Type: *string

The stream ID.

StreamVersion

Type: *int64

The stream version.

Method

GoString

func (s StreamInfo) GoString() string

GoString returns the string representation

SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetFiles

func (s *StreamInfo) SetFiles(v []*StreamFile) *StreamInfo

SetFiles sets the Files field's value.

SetLastUpdatedAt

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

SetLastUpdatedAt sets the LastUpdatedAt field's value.

SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

SetStreamArn

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

SetStreamArn sets the StreamArn field's value.

SetStreamId

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

SetStreamId sets the StreamId field's value.

SetStreamVersion

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

SetStreamVersion sets the StreamVersion field's value.

String

func (s StreamInfo) String() string

String returns the string representation

On this page: