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.

ReferenceDataSource

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

type ReferenceDataSource struct { ReferenceSchema *SourceSchema `type:"structure" required:"true"` S3ReferenceDataSource *S3ReferenceDataSource `type:"structure"` TableName *string `min:"1" type:"string" required:"true"` }

Describes the reference data source by providing the source information (S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.

ReferenceSchema

Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

S3ReferenceDataSource

Identifies the S3 bucket and object that contains the reference data. Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf.

An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.

TableName

Type: *string

Name of the in-application table to create.

TableName is a required field

Method

GoString

func (s ReferenceDataSource) GoString() string

GoString returns the string representation

SetReferenceSchema

func (s *ReferenceDataSource) SetReferenceSchema(v *SourceSchema) *ReferenceDataSource

SetReferenceSchema sets the ReferenceSchema field's value.

SetS3ReferenceDataSource

func (s *ReferenceDataSource) SetS3ReferenceDataSource(v *S3ReferenceDataSource) *ReferenceDataSource

SetS3ReferenceDataSource sets the S3ReferenceDataSource field's value.

SetTableName

func (s *ReferenceDataSource) SetTableName(v string) *ReferenceDataSource

SetTableName sets the TableName field's value.

String

func (s ReferenceDataSource) String() string

String returns the string representation

Validate

func (s *ReferenceDataSource) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: