Documentation ¶
Index ¶
- type Condition
- type ConsistentRead
- type DeleteItemInputOption
- type ExclusiveStartKey
- type ExpressionAttributeNames
- func (names ExpressionAttributeNames) ApplyToDeleteItemInput(req *dynamodb.DeleteItemInput)
- func (names ExpressionAttributeNames) ApplyToPutItemInput(req *dynamodb.PutItemInput)
- func (names ExpressionAttributeNames) ApplyToQueryInput(req *dynamodb.QueryInput)
- func (names ExpressionAttributeNames) ApplyToUpdateItemInput(req *dynamodb.UpdateItemInput)
- type ExpressionAttributeValues
- func (values ExpressionAttributeValues) ApplyToDeleteItemInput(req *dynamodb.DeleteItemInput)
- func (values ExpressionAttributeValues) ApplyToPutItemInput(req *dynamodb.PutItemInput)
- func (values ExpressionAttributeValues) ApplyToQueryInput(req *dynamodb.QueryInput)
- func (values ExpressionAttributeValues) ApplyToUpdateItemInput(req *dynamodb.UpdateItemInput)
- type FilterExpression
- type GetItemInputOption
- type Index
- type KeyConditionExpression
- type Limit
- type ProjectionExpression
- type PutItemInputOption
- type QueryInputOption
- type ReturnValue
- type Reverse
- type UpdateItemInputOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶ added in v2.1.0
type Condition string
Condition is a type that can apply ConditionExpression to the various input parameters.
func (*Condition) ApplyToDeleteItemInput ¶ added in v2.1.0
func (c *Condition) ApplyToDeleteItemInput(req *dynamodb.DeleteItemInput)
ApplyToDeleteItemInput applies the option to dynamodb.DeleteItemInput.
func (*Condition) ApplyToPutItemInput ¶ added in v2.1.0
func (c *Condition) ApplyToPutItemInput(req *dynamodb.PutItemInput)
ApplyToPutItemInput applies the option to dynamodb.PutItemInput.
func (*Condition) ApplyToUpdateItemInput ¶ added in v2.1.0
func (c *Condition) ApplyToUpdateItemInput(req *dynamodb.PutItemInput)
ApplyToUpdateItemInput applies the option to dynamodb.UpdateItemInput.
type ConsistentRead ¶
type ConsistentRead bool
ConsistentRead is a type that can apply ConsistentRead to the various input parameters.
func (ConsistentRead) ApplyToGetItemInput ¶ added in v2.1.0
func (cr ConsistentRead) ApplyToGetItemInput(req *dynamodb.GetItemInput)
ApplyToGetItemInput applies the option to dynamodb.GetItemInput.
type DeleteItemInputOption ¶ added in v2.1.0
type DeleteItemInputOption interface {
ApplyToDeleteItemInput(req *dynamodb.DeleteItemInput)
}
DeleteItemInputOption is an interface to apply an option to dynamodb.DeleteItemInput.
type ExclusiveStartKey ¶
type ExclusiveStartKey map[string]types.AttributeValue
ExclusiveStartKey is a type that can apply ExclusiveStartKey to the various input parameters.
func (ExclusiveStartKey) ApplyToQueryInput ¶ added in v2.1.0
func (k ExclusiveStartKey) ApplyToQueryInput(req *dynamodb.QueryInput)
ApplyToQueryInput applies the option to dynamodb.QueryInput.
type ExpressionAttributeNames ¶ added in v2.1.0
ExpressionAttributeNames is a type that can apply ExpressionAttributeNames to the various input parameters.
func (ExpressionAttributeNames) ApplyToDeleteItemInput ¶ added in v2.1.0
func (names ExpressionAttributeNames) ApplyToDeleteItemInput(req *dynamodb.DeleteItemInput)
ApplyToDeleteItemInput applies the option to dynamodb.DeleteItemInput.
func (ExpressionAttributeNames) ApplyToPutItemInput ¶ added in v2.1.0
func (names ExpressionAttributeNames) ApplyToPutItemInput(req *dynamodb.PutItemInput)
ApplyToPutItemInput applies the option to dynamodb.PutItemInput.
func (ExpressionAttributeNames) ApplyToQueryInput ¶ added in v2.1.0
func (names ExpressionAttributeNames) ApplyToQueryInput(req *dynamodb.QueryInput)
ApplyToQueryInput applies the option to dynamodb.QueryInput.
func (ExpressionAttributeNames) ApplyToUpdateItemInput ¶ added in v2.1.0
func (names ExpressionAttributeNames) ApplyToUpdateItemInput(req *dynamodb.UpdateItemInput)
ApplyToUpdateItemInput applies the option to dynamodb.UpdateItemInput.
type ExpressionAttributeValues ¶ added in v2.1.0
type ExpressionAttributeValues map[string]types.AttributeValue
ExpressionAttributeValues is a type that can apply ExpressionAttributeValues to the various input parameters.
func (ExpressionAttributeValues) ApplyToDeleteItemInput ¶ added in v2.1.0
func (values ExpressionAttributeValues) ApplyToDeleteItemInput(req *dynamodb.DeleteItemInput)
ApplyToDeleteItemInput applies the option to dynamodb.DeleteItemInput.
func (ExpressionAttributeValues) ApplyToPutItemInput ¶ added in v2.1.0
func (values ExpressionAttributeValues) ApplyToPutItemInput(req *dynamodb.PutItemInput)
ApplyToPutItemInput applies the option to dynamodb.PutItemInput.
func (ExpressionAttributeValues) ApplyToQueryInput ¶ added in v2.1.0
func (values ExpressionAttributeValues) ApplyToQueryInput(req *dynamodb.QueryInput)
ApplyToQueryInput applies the option to dynamodb.QueryInput.
func (ExpressionAttributeValues) ApplyToUpdateItemInput ¶ added in v2.1.0
func (values ExpressionAttributeValues) ApplyToUpdateItemInput(req *dynamodb.UpdateItemInput)
ApplyToUpdateItemInput applies the option to dynamodb.UpdateItemInput.
type FilterExpression ¶ added in v2.1.0
type FilterExpression string
FilterExpression is a type that can apply FilterExpression to the various input parameters.
func (*FilterExpression) ApplyToQueryInput ¶ added in v2.1.0
func (e *FilterExpression) ApplyToQueryInput(req *dynamodb.QueryInput)
ApplyToQueryInput applies the option to dynamodb.QueryInput.
type GetItemInputOption ¶ added in v2.1.0
type GetItemInputOption interface {
ApplyToGetItemInput(req *dynamodb.GetItemInput)
}
GetItemInputOption is an interface to apply an option to dynamodb.GetItemInputOption.
type Index ¶
type Index string
Index is a type that can apply IndexName to the various input parameters.
func (Index) ApplyToQueryInput ¶ added in v2.1.0
func (i Index) ApplyToQueryInput(req *dynamodb.QueryInput)
ApplyToQueryInput applies the option to dynamodb.QueryInput.
type KeyConditionExpression ¶ added in v2.1.0
type KeyConditionExpression string
KeyConditionExpression is a type that can apply KeyConditionExpression to the various input parameter.
func (*KeyConditionExpression) ApplyToQueryInput ¶ added in v2.1.0
func (e *KeyConditionExpression) ApplyToQueryInput(req *dynamodb.QueryInput)
ApplyToQueryInput applies the option appllies the option to dynamodb.QueryInput.
type Limit ¶
type Limit int32
Limit is a type that can apply Limit to the various input parameters.
func (Limit) ApplyToQueryInput ¶ added in v2.1.0
func (l Limit) ApplyToQueryInput(req *dynamodb.QueryInput)
ApplyToQueryInput applies the option to dynamodb.QueryInput.
type ProjectionExpression ¶
type ProjectionExpression string
ProjectionExpression is type that can apply ProjectionExpression to the various input parameters.
func (*ProjectionExpression) ApplyToQueryInput ¶ added in v2.1.0
func (e *ProjectionExpression) ApplyToQueryInput(req *dynamodb.QueryInput)
ApplyToQueryInput applies the option to dynamodb.QueryInput.
type PutItemInputOption ¶ added in v2.1.0
type PutItemInputOption interface {
ApplyToPutItemInput(req *dynamodb.PutItemInput)
}
PutItemInputOption is an interface to apply an option to dynamodb.PutItemInput.
type QueryInputOption ¶ added in v2.1.0
type QueryInputOption interface {
ApplyToQueryInput(req *dynamodb.QueryInput)
}
QueryInputOption is an interface to apply an option to dynamodb.QueryInput.
type ReturnValue ¶ added in v2.1.0
type ReturnValue types.ReturnValue
ReturnValue is an type that can apply ReturnValues to the various input parameters.
func (ReturnValue) ApplyToUpdateItemInput ¶ added in v2.1.0
func (v ReturnValue) ApplyToUpdateItemInput(req *dynamodb.UpdateItemInput)
ApplyToUpdateItemInput applies the option to dynamodb.UpdateItemInput.
type Reverse ¶
type Reverse bool
Reverse is a type that can apply ScanIndexForward to the various input parameters.
If ScanIndexForward is true, DynamoDB returns the results in ascending order, by range key. This is the DynamoDB's default behavior.
If ScanIndexForward is false, DynamoDB returns the results in descending order, by range key.
If Reverse is true, it will set ScanIndexForward to false to get a reversed result.
func (Reverse) ApplyToQueryInput ¶ added in v2.1.0
func (r Reverse) ApplyToQueryInput(req *dynamodb.QueryInput)
ApplyToQueryInput applies the option to dynamodb.QueryInput.
type UpdateItemInputOption ¶ added in v2.1.0
type UpdateItemInputOption interface {
ApplyToUpdateItemInput(req *dynamodb.UpdateItemInput)
}
UpdateItemInputOption is an interface to apply an option to dynamodb.UpdateItemInput.
func UpdateExpression ¶
func UpdateExpression(expression *string) UpdateItemInputOption
UpdateExpression sets a update expression in dynamodb.UpdateItemInput. You should use `aws-sdk-go-v2/feature/dynamodb/expression` package to build expression.