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.

KinesisAction

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

type KinesisAction struct { PartitionKey *string `locationName:"partitionKey" type:"string"` RoleArn *string `locationName:"roleArn" type:"string" required:"true"` StreamName *string `locationName:"streamName" type:"string" required:"true"` }

Describes an action to write data to an Amazon Kinesis stream.

PartitionKey

Type: *string

The partition key.

RoleArn

Type: *string

The ARN of the IAM role that grants access to the Amazon Kinesis stream.

RoleArn is a required field

StreamName

Type: *string

The name of the Amazon Kinesis stream.

StreamName is a required field

Method

GoString

func (s KinesisAction) GoString() string

GoString returns the string representation

SetPartitionKey

func (s *KinesisAction) SetPartitionKey(v string) *KinesisAction

SetPartitionKey sets the PartitionKey field's value.

SetRoleArn

func (s *KinesisAction) SetRoleArn(v string) *KinesisAction

SetRoleArn sets the RoleArn field's value.

SetStreamName

func (s *KinesisAction) SetStreamName(v string) *KinesisAction

SetStreamName sets the StreamName field's value.

String

func (s KinesisAction) String() string

String returns the string representation

Validate

func (s *KinesisAction) Validate() error

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

On this page: