Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamodbClient ¶
type DynamodbClient interface { Scan(ctx context.Context, params *ddb.ScanInput, optFns ...func(*ddb.Options)) (*ddb.ScanOutput, error) UpdateItem(ctx context.Context, params *ddb.UpdateItemInput, optFns ...func(*ddb.Options)) (*ddb.UpdateItemOutput, error) }
DynamodbClient - BEGIN - copied from dynamodb_client.go
func NewDynamodbClient ¶
func NewDynamodbClient(key []byte, httpClient awscommon.AWSHttpClient) (DynamodbClient, error)
NewDynamodbClient - builds DynamodbClient with provide credentials and optional httpClient pass an httpClient to use for tests
type InputBuilderV2 ¶
type InputBuilderV2 struct {
// contains filtered or unexported fields
}
func NewInputBuilderV2 ¶
func NewInputBuilderV2(tableName string, tableDefinition table.TableDefinition) *InputBuilderV2
func (*InputBuilderV2) UpdateItemInput ¶
func (t2 *InputBuilderV2) UpdateItemInput(aRar rar.ResourceActionRoles) (*dynamodb.UpdateItemInput, error)
UpdateItemInput - builds input without making any assumption on the attribute names or types TODO - 1) add support for composite fields 2) array values
Click to show internal directories.
Click to hide internal directories.