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.

LoggingStatus

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

type LoggingStatus struct { BucketName *string `type:"string"` LastFailureMessage *string `type:"string"` LastFailureTime *time.Time `type:"timestamp"` LastSuccessfulDeliveryTime *time.Time `type:"timestamp"` LoggingEnabled *bool `type:"boolean"` S3KeyPrefix *string `type:"string"` }

Describes the status of logging for a cluster.

BucketName

Type: *string

The name of the S3 bucket where the log files are stored.

LastFailureMessage

Type: *string

The message indicating that logs failed to be delivered.

LastFailureTime

Type: *time.Time

The last time when logs failed to be delivered.

LastSuccessfulDeliveryTime

Type: *time.Time

The last time that logs were delivered.

LoggingEnabled

Type: *bool

true if logging is on, false if logging is off.

S3KeyPrefix

Type: *string

The prefix applied to the log file names.

Method

GoString

func (s LoggingStatus) GoString() string

GoString returns the string representation

SetBucketName

func (s *LoggingStatus) SetBucketName(v string) *LoggingStatus

SetBucketName sets the BucketName field's value.

SetLastFailureMessage

func (s *LoggingStatus) SetLastFailureMessage(v string) *LoggingStatus

SetLastFailureMessage sets the LastFailureMessage field's value.

SetLastFailureTime

func (s *LoggingStatus) SetLastFailureTime(v time.Time) *LoggingStatus

SetLastFailureTime sets the LastFailureTime field's value.

SetLastSuccessfulDeliveryTime

func (s *LoggingStatus) SetLastSuccessfulDeliveryTime(v time.Time) *LoggingStatus

SetLastSuccessfulDeliveryTime sets the LastSuccessfulDeliveryTime field's value.

SetLoggingEnabled

func (s *LoggingStatus) SetLoggingEnabled(v bool) *LoggingStatus

SetLoggingEnabled sets the LoggingEnabled field's value.

SetS3KeyPrefix

func (s *LoggingStatus) SetS3KeyPrefix(v string) *LoggingStatus

SetS3KeyPrefix sets the S3KeyPrefix field's value.

String

func (s LoggingStatus) String() string

String returns the string representation

On this page: