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.

CancelResizeOutput

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

type CancelResizeOutput struct { AvgResizeRateInMegaBytesPerSecond *float64 `type:"double"` ElapsedTimeInSeconds *int64 `type:"long"` EstimatedTimeToCompletionInSeconds *int64 `type:"long"` ImportTablesCompleted []*string `type:"list"` ImportTablesInProgress []*string `type:"list"` ImportTablesNotStarted []*string `type:"list"` Message *string `type:"string"` ProgressInMegaBytes *int64 `type:"long"` ResizeType *string `type:"string"` Status *string `type:"string"` TargetClusterType *string `type:"string"` TargetEncryptionType *string `type:"string"` TargetNodeType *string `type:"string"` TargetNumberOfNodes *int64 `type:"integer"` TotalResizeDataInMegaBytes *int64 `type:"long"` }

Describes the result of a cluster resize operation.

AvgResizeRateInMegaBytesPerSecond

Type: *float64

The average rate of the resize operation over the last few minutes, measured in megabytes per second. After the resize operation completes, this value shows the average rate of the entire resize operation.

ElapsedTimeInSeconds

Type: *int64

The amount of seconds that have elapsed since the resize operation began. After the resize operation completes, this value shows the total actual time, in seconds, for the resize operation.

EstimatedTimeToCompletionInSeconds

Type: *int64

The estimated time remaining, in seconds, until the resize operation is complete. This value is calculated based on the average resize rate and the estimated amount of data remaining to be processed. Once the resize operation is complete, this value will be 0.

ImportTablesCompleted

Type: []*string

The names of tables that have been completely imported .

Valid Values: List of table names.

ImportTablesInProgress

Type: []*string

The names of tables that are being currently imported.

Valid Values: List of table names.

ImportTablesNotStarted

Type: []*string

The names of tables that have not been yet imported.

Valid Values: List of table names

Message

Type: *string

An optional string to provide additional details about the resize action.

ProgressInMegaBytes

Type: *int64

While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far. When the resize operation is complete, this value shows the total amount of data, in megabytes, on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the estimated total amount of data before resize).

ResizeType

Type: *string

An enum with possible values of ClassicResize and ElasticResize. These values describe the type of resize operation being performed.

Status

Type: *string

The status of the resize operation.

Valid Values: NONE | IN_PROGRESS | FAILED | SUCCEEDED | CANCELLING

TargetClusterType

Type: *string

The cluster type after the resize operation is complete.

Valid Values: multi-node | single-node

TargetEncryptionType

Type: *string

The type of encryption for the cluster after the resize is complete.

Possible values are KMS and None. In the China region possible values are: Legacy and None.

TargetNodeType

Type: *string

The node type that the cluster will have after the resize operation is complete.

TargetNumberOfNodes

Type: *int64

The number of nodes that the cluster will have after the resize operation is complete.

TotalResizeDataInMegaBytes

Type: *int64

The estimated total amount of data, in megabytes, on the cluster before the resize operation began.

Method

GoString

func (s CancelResizeOutput) GoString() string

GoString returns the string representation

SetAvgResizeRateInMegaBytesPerSecond

func (s *CancelResizeOutput) SetAvgResizeRateInMegaBytesPerSecond(v float64) *CancelResizeOutput

SetAvgResizeRateInMegaBytesPerSecond sets the AvgResizeRateInMegaBytesPerSecond field's value.

SetElapsedTimeInSeconds

func (s *CancelResizeOutput) SetElapsedTimeInSeconds(v int64) *CancelResizeOutput

SetElapsedTimeInSeconds sets the ElapsedTimeInSeconds field's value.

SetEstimatedTimeToCompletionInSeconds

func (s *CancelResizeOutput) SetEstimatedTimeToCompletionInSeconds(v int64) *CancelResizeOutput

SetEstimatedTimeToCompletionInSeconds sets the EstimatedTimeToCompletionInSeconds field's value.

SetImportTablesCompleted

func (s *CancelResizeOutput) SetImportTablesCompleted(v []*string) *CancelResizeOutput

SetImportTablesCompleted sets the ImportTablesCompleted field's value.

SetImportTablesInProgress

func (s *CancelResizeOutput) SetImportTablesInProgress(v []*string) *CancelResizeOutput

SetImportTablesInProgress sets the ImportTablesInProgress field's value.

SetImportTablesNotStarted

func (s *CancelResizeOutput) SetImportTablesNotStarted(v []*string) *CancelResizeOutput

SetImportTablesNotStarted sets the ImportTablesNotStarted field's value.

SetMessage

func (s *CancelResizeOutput) SetMessage(v string) *CancelResizeOutput

SetMessage sets the Message field's value.

SetProgressInMegaBytes

func (s *CancelResizeOutput) SetProgressInMegaBytes(v int64) *CancelResizeOutput

SetProgressInMegaBytes sets the ProgressInMegaBytes field's value.

SetResizeType

func (s *CancelResizeOutput) SetResizeType(v string) *CancelResizeOutput

SetResizeType sets the ResizeType field's value.

SetStatus

func (s *CancelResizeOutput) SetStatus(v string) *CancelResizeOutput

SetStatus sets the Status field's value.

SetTargetClusterType

func (s *CancelResizeOutput) SetTargetClusterType(v string) *CancelResizeOutput

SetTargetClusterType sets the TargetClusterType field's value.

SetTargetEncryptionType

func (s *CancelResizeOutput) SetTargetEncryptionType(v string) *CancelResizeOutput

SetTargetEncryptionType sets the TargetEncryptionType field's value.

SetTargetNodeType

func (s *CancelResizeOutput) SetTargetNodeType(v string) *CancelResizeOutput

SetTargetNodeType sets the TargetNodeType field's value.

SetTargetNumberOfNodes

func (s *CancelResizeOutput) SetTargetNumberOfNodes(v int64) *CancelResizeOutput

SetTargetNumberOfNodes sets the TargetNumberOfNodes field's value.

SetTotalResizeDataInMegaBytes

func (s *CancelResizeOutput) SetTotalResizeDataInMegaBytes(v int64) *CancelResizeOutput

SetTotalResizeDataInMegaBytes sets the TotalResizeDataInMegaBytes field's value.

String

func (s CancelResizeOutput) String() string

String returns the string representation

On this page: