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.

KinesisStreamsInput

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

type KinesisStreamsInput struct { ResourceARN *string `min:"1" type:"string" required:"true"` RoleARN *string `min:"1" type:"string" required:"true"` }

Identifies an Amazon Kinesis stream as the streaming source. You provide the stream's Amazon Resource Name (ARN) and an IAM role ARN that enables Amazon Kinesis Analytics to access the stream on your behalf.

ResourceARN

Type: *string

ARN of the input Amazon Kinesis stream to read.

ResourceARN is a required field

RoleARN

Type: *string

ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role.

RoleARN is a required field

Method

GoString

func (s KinesisStreamsInput) GoString() string

GoString returns the string representation

SetResourceARN

func (s *KinesisStreamsInput) SetResourceARN(v string) *KinesisStreamsInput

SetResourceARN sets the ResourceARN field's value.

SetRoleARN

func (s *KinesisStreamsInput) SetRoleARN(v string) *KinesisStreamsInput

SetRoleARN sets the RoleARN field's value.

String

func (s KinesisStreamsInput) String() string

String returns the string representation

Validate

func (s *KinesisStreamsInput) Validate() error

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

On this page: