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.

PutAttributesInput

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

type PutAttributesInput struct { Attributes []*ReplaceableAttribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"` DomainName *string `type:"string" required:"true"` Expected *UpdateCondition `type:"structure"` ItemName *string `type:"string" required:"true"` }

Attributes
DomainName

Type: *string

The name of the domain in which to perform the operation.

DomainName is a required field

Expected

Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn't exist.

ItemName

Type: *string

The name of the item.

ItemName is a required field

Method

GoString

func (s PutAttributesInput) GoString() string

GoString returns the string representation

SetAttributes

func (s *PutAttributesInput) SetAttributes(v []*ReplaceableAttribute) *PutAttributesInput

SetAttributes sets the Attributes field's value.

SetDomainName

func (s *PutAttributesInput) SetDomainName(v string) *PutAttributesInput

SetDomainName sets the DomainName field's value.

SetExpected

func (s *PutAttributesInput) SetExpected(v *UpdateCondition) *PutAttributesInput

SetExpected sets the Expected field's value.

SetItemName

func (s *PutAttributesInput) SetItemName(v string) *PutAttributesInput

SetItemName sets the ItemName field's value.

String

func (s PutAttributesInput) String() string

String returns the string representation

Validate

func (s *PutAttributesInput) Validate() error

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

On this page: