/aws

Amazon Web Services tools

Primary LanguageGoApache License 2.0Apache-2.0

aws

Amazon Web Services tools

Signature Version 4 Signing

Passes all tests in the Signature Version 4 Test Suite

dynamodb

A thin veneer over the aws dynamodb service.

DescribeTable

ListTables

GetItem

PutItem

    	cfg, err := config.LoadConfig("/tmp/aws.cfg", "dynamodb")
    	if err != nil {
    		t.Fatal(cfg, err)
    	}
    	tr, err := PutItem(cfg, &PutItemRequest{TableName: "mprtest", Item: map[string]AttributeValue{"id": {S: "dyntest"}, "favs": {SS: []string{"f1", "f2", "f4"}}, "ts":{N: "90"}}})
    	if err != nil {
    		t.Fatal(err)
    	}

UpdateItem