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.

GlobalSecondaryIndexUpdate

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

type GlobalSecondaryIndexUpdate struct { Create *CreateGlobalSecondaryIndexAction `type:"structure"` Delete *DeleteGlobalSecondaryIndexAction `type:"structure"` Update *UpdateGlobalSecondaryIndexAction `type:"structure"` }

Represents one of the following:

  • A new global secondary index to be added to an existing table.

  • New provisioned throughput parameters for an existing global secondary index.

  • An existing global secondary index to be removed from an existing table.

Create

Represents a new global secondary index to be added to an existing table.

Delete

Represents a global secondary index to be deleted from an existing table.

Update

Represents the new provisioned throughput settings to be applied to a global secondary index.

Method

GoString

func (s GlobalSecondaryIndexUpdate) GoString() string

GoString returns the string representation

SetCreate

func (s *GlobalSecondaryIndexUpdate) SetCreate(v *CreateGlobalSecondaryIndexAction) *GlobalSecondaryIndexUpdate

SetCreate sets the Create field's value.

SetDelete

func (s *GlobalSecondaryIndexUpdate) SetDelete(v *DeleteGlobalSecondaryIndexAction) *GlobalSecondaryIndexUpdate

SetDelete sets the Delete field's value.

SetUpdate

func (s *GlobalSecondaryIndexUpdate) SetUpdate(v *UpdateGlobalSecondaryIndexAction) *GlobalSecondaryIndexUpdate

SetUpdate sets the Update field's value.

String

func (s GlobalSecondaryIndexUpdate) String() string

String returns the string representation

Validate

func (s *GlobalSecondaryIndexUpdate) Validate() error

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

On this page: