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.

AddApplicationReferenceDataSourceInput

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

type AddApplicationReferenceDataSourceInput struct { ApplicationName *string `min:"1" type:"string" required:"true"` CurrentApplicationVersionId *int64 `min:"1" type:"long" required:"true"` ReferenceDataSource *ReferenceDataSource `type:"structure" required:"true"` }

ApplicationName

Type: *string

Name of an existing application.

ApplicationName is a required field

CurrentApplicationVersionId

Type: *int64

Version of the application for which you are adding the reference data source. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.

CurrentApplicationVersionId is a required field

ReferenceDataSource

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.

Method

GoString

func (s AddApplicationReferenceDataSourceInput) GoString() string

GoString returns the string representation

SetApplicationName

func (s *AddApplicationReferenceDataSourceInput) SetApplicationName(v string) *AddApplicationReferenceDataSourceInput

SetApplicationName sets the ApplicationName field's value.

SetCurrentApplicationVersionId

func (s *AddApplicationReferenceDataSourceInput) SetCurrentApplicationVersionId(v int64) *AddApplicationReferenceDataSourceInput

SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value.

SetReferenceDataSource

func (s *AddApplicationReferenceDataSourceInput) SetReferenceDataSource(v *ReferenceDataSource) *AddApplicationReferenceDataSourceInput

SetReferenceDataSource sets the ReferenceDataSource field's value.

String

func (s AddApplicationReferenceDataSourceInput) String() string

String returns the string representation

Validate

func (s *AddApplicationReferenceDataSourceInput) Validate() error

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

On this page: