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.

CloudWatchLoggingOptionUpdate

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

type CloudWatchLoggingOptionUpdate struct { CloudWatchLoggingOptionId *string `min:"1" type:"string" required:"true"` LogStreamARNUpdate *string `min:"1" type:"string"` RoleARNUpdate *string `min:"1" type:"string"` }

Describes CloudWatch logging option updates.

CloudWatchLoggingOptionId

Type: *string

ID of the CloudWatch logging option to update

CloudWatchLoggingOptionId is a required field

LogStreamARNUpdate

Type: *string

ARN of the CloudWatch log to receive application messages.

RoleARNUpdate

Type: *string

IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role used must have the PutLogEvents policy action enabled.

Method

GoString

func (s CloudWatchLoggingOptionUpdate) GoString() string

GoString returns the string representation

SetCloudWatchLoggingOptionId

func (s *CloudWatchLoggingOptionUpdate) SetCloudWatchLoggingOptionId(v string) *CloudWatchLoggingOptionUpdate

SetCloudWatchLoggingOptionId sets the CloudWatchLoggingOptionId field's value.

SetLogStreamARNUpdate

func (s *CloudWatchLoggingOptionUpdate) SetLogStreamARNUpdate(v string) *CloudWatchLoggingOptionUpdate

SetLogStreamARNUpdate sets the LogStreamARNUpdate field's value.

SetRoleARNUpdate

func (s *CloudWatchLoggingOptionUpdate) SetRoleARNUpdate(v string) *CloudWatchLoggingOptionUpdate

SetRoleARNUpdate sets the RoleARNUpdate field's value.

String

func (s CloudWatchLoggingOptionUpdate) String() string

String returns the string representation

Validate

func (s *CloudWatchLoggingOptionUpdate) Validate() error

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

On this page: