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.

Value

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

func Value(value interface{}) ValueBuilder

Value creates a ValueBuilder. The argument should represent the desired item attribute. The value is marshalled using the dynamodbattribute package by the Build() method for type Builder.

Example:

// Use Value() to create a condition expression condition := expression.Name("foo").Equal(expression.Value(10))

value

Type: interface{}

ValueBuilder

ValueBuilder represents an item attribute value operand and implements the OperandBuilder interface. Methods and functions in the package take ValueBuilder as an argument and establishes relationships between operands. ValueBuilder should only be initialized using the function Value().

Example:

// Create a ValueBuilder representing the string "aValue" valueBuilder := expression.Value("aValue")

On this page: