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.

RedshiftDestinationDescription

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

type RedshiftDestinationDescription struct { CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"` ClusterJDBCURL *string `min:"1" type:"string" required:"true"` CopyCommand *CopyCommand `type:"structure" required:"true"` ProcessingConfiguration *ProcessingConfiguration `type:"structure"` RetryOptions *RedshiftRetryOptions `type:"structure"` RoleARN *string `min:"1" type:"string" required:"true"` S3BackupDescription *S3DestinationDescription `type:"structure"` S3BackupMode *string `type:"string" enum:"RedshiftS3BackupMode"` S3DestinationDescription *S3DestinationDescription `type:"structure" required:"true"` Username *string `min:"1" type:"string" required:"true" sensitive:"true"` }

Describes a destination in Amazon Redshift.

CloudWatchLoggingOptions

Describes the Amazon CloudWatch logging options for your delivery stream.

ClusterJDBCURL

Type: *string

The database connection string.

ClusterJDBCURL is a required field

CopyCommand

Describes a COPY command for Amazon Redshift.

ProcessingConfiguration

Describes a data processing configuration.

RetryOptions

Configures retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.

RoleARN

Type: *string

The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).

RoleARN is a required field

S3BackupDescription

Describes a destination in Amazon S3.

S3BackupMode

Type: *string

The Amazon S3 backup mode.

S3DestinationDescription

Describes a destination in Amazon S3.

Username

Type: *string

The name of the user.

Username is a required field

Method

GoString

func (s RedshiftDestinationDescription) GoString() string

GoString returns the string representation

SetCloudWatchLoggingOptions

func (s *RedshiftDestinationDescription) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *RedshiftDestinationDescription

SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.

SetClusterJDBCURL

func (s *RedshiftDestinationDescription) SetClusterJDBCURL(v string) *RedshiftDestinationDescription

SetClusterJDBCURL sets the ClusterJDBCURL field's value.

SetCopyCommand

func (s *RedshiftDestinationDescription) SetCopyCommand(v *CopyCommand) *RedshiftDestinationDescription

SetCopyCommand sets the CopyCommand field's value.

SetProcessingConfiguration

func (s *RedshiftDestinationDescription) SetProcessingConfiguration(v *ProcessingConfiguration) *RedshiftDestinationDescription

SetProcessingConfiguration sets the ProcessingConfiguration field's value.

SetRetryOptions

func (s *RedshiftDestinationDescription) SetRetryOptions(v *RedshiftRetryOptions) *RedshiftDestinationDescription

SetRetryOptions sets the RetryOptions field's value.

SetRoleARN

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

SetRoleARN sets the RoleARN field's value.

SetS3BackupDescription

func (s *RedshiftDestinationDescription) SetS3BackupDescription(v *S3DestinationDescription) *RedshiftDestinationDescription

SetS3BackupDescription sets the S3BackupDescription field's value.

SetS3BackupMode

func (s *RedshiftDestinationDescription) SetS3BackupMode(v string) *RedshiftDestinationDescription

SetS3BackupMode sets the S3BackupMode field's value.

SetS3DestinationDescription

func (s *RedshiftDestinationDescription) SetS3DestinationDescription(v *S3DestinationDescription) *RedshiftDestinationDescription

SetS3DestinationDescription sets the S3DestinationDescription field's value.

SetUsername

func (s *RedshiftDestinationDescription) SetUsername(v string) *RedshiftDestinationDescription

SetUsername sets the Username field's value.

String

func (s RedshiftDestinationDescription) String() string

String returns the string representation

On this page: