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.

CreateApplicationInput

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

type CreateApplicationInput struct { ApplicationCode *string `type:"string"` ApplicationDescription *string `type:"string"` ApplicationName *string `min:"1" type:"string" required:"true"` CloudWatchLoggingOptions []*CloudWatchLoggingOption `type:"list"` Inputs []*Input `type:"list"` Outputs []*Output `type:"list"` }

TBD

ApplicationCode

Type: *string

One or more SQL statements that read input data, transform it, and generate output. For example, you can write a SQL statement that reads data from one in-application stream, generates a running average of the number of advertisement clicks by vendor, and insert resulting rows in another in-application stream using pumps. For more information about the typical pattern, see Application Code (https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-app-code.html).

You can provide such series of SQL statements, where output of one statement can be used as the input for the next statement. You store intermediate results by creating in-application streams and pumps.

Note that the application code must create the streams with names specified in the Outputs. For example, if your Outputs defines output streams named ExampleOutputStream1 and ExampleOutputStream2, then your application code must create these streams.

ApplicationDescription

Type: *string

Summary description of the application.

ApplicationName

Type: *string

Name of your Amazon Kinesis Analytics application (for example, sample-app).

ApplicationName is a required field

CloudWatchLoggingOptions

Provides a description of CloudWatch logging options, including the log stream Amazon Resource Name (ARN) and the role ARN.

Inputs

When you configure the application input, you specify the streaming source, the in-application stream name that is created, and the mapping between the two. For more information, see Configuring Application Input (https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html).

Outputs

Describes application output configuration in which you identify an in-application stream and a destination where you want the in-application stream data to be written. The destination can be an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream.

For limits on how many destinations an application can write and other limitations, see Limits (https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html)

Method

GoString

func (s CreateApplicationInput) GoString() string

GoString returns the string representation

SetApplicationCode

func (s *CreateApplicationInput) SetApplicationCode(v string) *CreateApplicationInput

SetApplicationCode sets the ApplicationCode field's value.

SetApplicationDescription

func (s *CreateApplicationInput) SetApplicationDescription(v string) *CreateApplicationInput

SetApplicationDescription sets the ApplicationDescription field's value.

SetApplicationName

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

SetApplicationName sets the ApplicationName field's value.

SetCloudWatchLoggingOptions

func (s *CreateApplicationInput) SetCloudWatchLoggingOptions(v []*CloudWatchLoggingOption) *CreateApplicationInput

SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.

SetInputs

func (s *CreateApplicationInput) SetInputs(v []*Input) *CreateApplicationInput

SetInputs sets the Inputs field's value.

SetOutputs

func (s *CreateApplicationInput) SetOutputs(v []*Output) *CreateApplicationInput

SetOutputs sets the Outputs field's value.

String

func (s CreateApplicationInput) String() string

String returns the string representation

Validate

func (s *CreateApplicationInput) Validate() error

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

On this page: