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.

UpdateDestinationInput

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

type UpdateDestinationInput struct { CurrentDeliveryStreamVersionId *string `min:"1" type:"string" required:"true"` DeliveryStreamName *string `min:"1" type:"string" required:"true"` DestinationId *string `min:"1" type:"string" required:"true"` ElasticsearchDestinationUpdate *ElasticsearchDestinationUpdate `type:"structure"` ExtendedS3DestinationUpdate *ExtendedS3DestinationUpdate `type:"structure"` RedshiftDestinationUpdate *RedshiftDestinationUpdate `type:"structure"` S3DestinationUpdate *S3DestinationUpdate `deprecated:"true" type:"structure"` SplunkDestinationUpdate *SplunkDestinationUpdate `type:"structure"` }

CurrentDeliveryStreamVersionId

Type: *string

Obtain this value from the VersionId result of DeliveryStreamDescription. This value is required, and helps the service perform conditional operations. For example, if there is an interleaving update and this value is null, then the update destination fails. After the update is successful, the VersionId value is updated. The service then performs a merge of the old configuration with the new configuration.

CurrentDeliveryStreamVersionId is a required field

DeliveryStreamName

Type: *string

The name of the delivery stream.

DeliveryStreamName is a required field

DestinationId

Type: *string

The ID of the destination.

DestinationId is a required field

ElasticsearchDestinationUpdate

Describes an update for a destination in Amazon ES.

ExtendedS3DestinationUpdate

Describes an update for a destination in Amazon S3.

RedshiftDestinationUpdate

Describes an update for a destination in Amazon Redshift.

S3DestinationUpdate

Describes an update for a destination in Amazon S3.

SplunkDestinationUpdate

Describes an update for a destination in Splunk.

Method

GoString

func (s UpdateDestinationInput) GoString() string

GoString returns the string representation

SetCurrentDeliveryStreamVersionId

func (s *UpdateDestinationInput) SetCurrentDeliveryStreamVersionId(v string) *UpdateDestinationInput

SetCurrentDeliveryStreamVersionId sets the CurrentDeliveryStreamVersionId field's value.

SetDeliveryStreamName

func (s *UpdateDestinationInput) SetDeliveryStreamName(v string) *UpdateDestinationInput

SetDeliveryStreamName sets the DeliveryStreamName field's value.

SetDestinationId

func (s *UpdateDestinationInput) SetDestinationId(v string) *UpdateDestinationInput

SetDestinationId sets the DestinationId field's value.

SetElasticsearchDestinationUpdate

func (s *UpdateDestinationInput) SetElasticsearchDestinationUpdate(v *ElasticsearchDestinationUpdate) *UpdateDestinationInput

SetElasticsearchDestinationUpdate sets the ElasticsearchDestinationUpdate field's value.

SetExtendedS3DestinationUpdate

func (s *UpdateDestinationInput) SetExtendedS3DestinationUpdate(v *ExtendedS3DestinationUpdate) *UpdateDestinationInput

SetExtendedS3DestinationUpdate sets the ExtendedS3DestinationUpdate field's value.

SetRedshiftDestinationUpdate

func (s *UpdateDestinationInput) SetRedshiftDestinationUpdate(v *RedshiftDestinationUpdate) *UpdateDestinationInput

SetRedshiftDestinationUpdate sets the RedshiftDestinationUpdate field's value.

SetS3DestinationUpdate

func (s *UpdateDestinationInput) SetS3DestinationUpdate(v *S3DestinationUpdate) *UpdateDestinationInput

SetS3DestinationUpdate sets the S3DestinationUpdate field's value.

SetSplunkDestinationUpdate

func (s *UpdateDestinationInput) SetSplunkDestinationUpdate(v *SplunkDestinationUpdate) *UpdateDestinationInput

SetSplunkDestinationUpdate sets the SplunkDestinationUpdate field's value.

String

func (s UpdateDestinationInput) String() string

String returns the string representation

Validate

func (s *UpdateDestinationInput) Validate() error

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

On this page: