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.

TransactWriteItem

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

type TransactWriteItem struct { ConditionCheck *ConditionCheck `type:"structure"` Delete *Delete `type:"structure"` Put *Put `type:"structure"` Update *Update `type:"structure"` }

A list of requests that can perform update, put, delete, or check operations on multiple items in one or more tables atomically.

ConditionCheck

Represents a request to perform a check that an item exists or to check the condition of specific attributes of the item..

Delete

Represents a request to perform a DeleteItem operation.

Put

Represents a request to perform a PutItem operation.

Update

Represents a request to perform an UpdateItem operation.

Method

GoString

func (s TransactWriteItem) GoString() string

GoString returns the string representation

SetConditionCheck

func (s *TransactWriteItem) SetConditionCheck(v *ConditionCheck) *TransactWriteItem

SetConditionCheck sets the ConditionCheck field's value.

SetDelete

func (s *TransactWriteItem) SetDelete(v *Delete) *TransactWriteItem

SetDelete sets the Delete field's value.

SetPut

func (s *TransactWriteItem) SetPut(v *Put) *TransactWriteItem

SetPut sets the Put field's value.

SetUpdate

func (s *TransactWriteItem) SetUpdate(v *Update) *TransactWriteItem

SetUpdate sets the Update field's value.

String

func (s TransactWriteItem) String() string

String returns the string representation

Validate

func (s *TransactWriteItem) Validate() error

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

On this page: