// Adds a reference data source to an existing SQL-based Kinesis Data Analytics
// application. Kinesis Data Analytics reads reference data (that is, an Amazon S3
// object) and creates an in-application table within your application. In the
// request, you provide the source (S3 bucket name and object key name), name of
// the in-application table to create, and the necessary mapping information that
// describes how data in an Amazon S3 object maps to columns in the resulting
// in-application table.
Adds a reference data source to an existing SQL-based Kinesis Data Analytics
application. Kinesis Data Analytics reads reference data (that is, an Amazon S3
object) and creates an in-application table within your application. In the
request, you provide the source (S3 bucket name and object key name), name of
the in-application table to create, and the necessary mapping information that
describes how data in an Amazon S3 object maps to columns in the resulting
in-application table.
// Adds a reference data source to an existing SQL - based Kinesis Data Analytics // application . Kinesis Data Analytics reads reference data ( that is an Amazon S3 // object ) and creates an in - application table within your application . In the // request you provide the source ( S3 bucket name and object key name ) name of // the in - application table to create and the necessary mapping information that // describes how data in an Amazon S3 object maps to columns in the resulting // in - application table .
func (c *Client) AddApplicationReferenceDataSource(ctx context.Context, params *AddApplicationReferenceDataSourceInput, optFns ...func(*Options)) (*AddApplicationReferenceDataSourceOutput, error) {
	if params == nil {
		params = &AddApplicationReferenceDataSourceInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "AddApplicationReferenceDataSource", params, optFns, addOperationAddApplicationReferenceDataSourceMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*AddApplicationReferenceDataSourceOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) AddApplicationReferenceDataSource ( ctx context . Context , params * AddApplicationReferenceDataSourceInput , optFns ... func ( * Options ) ) ( * AddApplicationReferenceDataSourceOutput , error ) { if params == nil { params = & AddApplicationReferenceDataSourceInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationAddApplicationReferenceDataSourceMiddlewares ) if err != nil { return nil , err } out := result . ( * AddApplicationReferenceDataSourceOutput ) out . ResultMetadata = metadata return out , nil }
Adds a reference data source to an existing SQL-based Kinesis Data Analytics
application.
Adds a reference data source to an existing SQL - based Kinesis Data Analytics application .