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.

CreateDeliveryStreamInput

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

type CreateDeliveryStreamInput struct { DeliveryStreamName *string `min:"1" type:"string" required:"true"` DeliveryStreamType *string `type:"string" enum:"DeliveryStreamType"` ElasticsearchDestinationConfiguration *ElasticsearchDestinationConfiguration `type:"structure"` ExtendedS3DestinationConfiguration *ExtendedS3DestinationConfiguration `type:"structure"` KinesisStreamSourceConfiguration *KinesisStreamSourceConfiguration `type:"structure"` RedshiftDestinationConfiguration *RedshiftDestinationConfiguration `type:"structure"` S3DestinationConfiguration *S3DestinationConfiguration `deprecated:"true" type:"structure"` SplunkDestinationConfiguration *SplunkDestinationConfiguration `type:"structure"` Tags []*Tag `min:"1" type:"list"` }

DeliveryStreamName

Type: *string

The name of the delivery stream. This name must be unique per AWS account in the same AWS Region. If the delivery streams are in different accounts or different Regions, you can have multiple delivery streams with the same name.

DeliveryStreamName is a required field

DeliveryStreamType

Type: *string

The delivery stream type. This parameter can be one of the following values:

  • DirectPut: Provider applications access the delivery stream directly.

  • KinesisStreamAsSource: The delivery stream uses a Kinesis data stream as a source.

ElasticsearchDestinationConfiguration

Describes the configuration of a destination in Amazon ES.

ExtendedS3DestinationConfiguration

Describes the configuration of a destination in Amazon S3.

KinesisStreamSourceConfiguration

The stream and role Amazon Resource Names (ARNs) for a Kinesis data stream used as the source for a delivery stream.

RedshiftDestinationConfiguration

Describes the configuration of a destination in Amazon Redshift.

S3DestinationConfiguration

Describes the configuration of a destination in Amazon S3.

SplunkDestinationConfiguration

Describes the configuration of a destination in Splunk.

Tags

Metadata that you can assign to a delivery stream, consisting of a key-value pair.

Method

GoString

func (s CreateDeliveryStreamInput) GoString() string

GoString returns the string representation

SetDeliveryStreamName

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

SetDeliveryStreamName sets the DeliveryStreamName field's value.

SetDeliveryStreamType

func (s *CreateDeliveryStreamInput) SetDeliveryStreamType(v string) *CreateDeliveryStreamInput

SetDeliveryStreamType sets the DeliveryStreamType field's value.

SetElasticsearchDestinationConfiguration

func (s *CreateDeliveryStreamInput) SetElasticsearchDestinationConfiguration(v *ElasticsearchDestinationConfiguration) *CreateDeliveryStreamInput

SetElasticsearchDestinationConfiguration sets the ElasticsearchDestinationConfiguration field's value.

SetExtendedS3DestinationConfiguration

func (s *CreateDeliveryStreamInput) SetExtendedS3DestinationConfiguration(v *ExtendedS3DestinationConfiguration) *CreateDeliveryStreamInput

SetExtendedS3DestinationConfiguration sets the ExtendedS3DestinationConfiguration field's value.

SetKinesisStreamSourceConfiguration

func (s *CreateDeliveryStreamInput) SetKinesisStreamSourceConfiguration(v *KinesisStreamSourceConfiguration) *CreateDeliveryStreamInput

SetKinesisStreamSourceConfiguration sets the KinesisStreamSourceConfiguration field's value.

SetRedshiftDestinationConfiguration

func (s *CreateDeliveryStreamInput) SetRedshiftDestinationConfiguration(v *RedshiftDestinationConfiguration) *CreateDeliveryStreamInput

SetRedshiftDestinationConfiguration sets the RedshiftDestinationConfiguration field's value.

SetS3DestinationConfiguration

func (s *CreateDeliveryStreamInput) SetS3DestinationConfiguration(v *S3DestinationConfiguration) *CreateDeliveryStreamInput

SetS3DestinationConfiguration sets the S3DestinationConfiguration field's value.

SetSplunkDestinationConfiguration

func (s *CreateDeliveryStreamInput) SetSplunkDestinationConfiguration(v *SplunkDestinationConfiguration) *CreateDeliveryStreamInput

SetSplunkDestinationConfiguration sets the SplunkDestinationConfiguration field's value.

SetTags

func (s *CreateDeliveryStreamInput) SetTags(v []*Tag) *CreateDeliveryStreamInput

SetTags sets the Tags field's value.

String

func (s CreateDeliveryStreamInput) String() string

String returns the string representation

Validate

func (s *CreateDeliveryStreamInput) Validate() error

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

On this page: