Open cpliakas opened 10 years ago
Available options for all commands, see http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.DynamoDb.DynamoDbClient.html:
putItem
* TableName => (string)
* Item => (associative-array<associative-array>)
Expected => (associative-array<associative-array>)
ReturnValues => (string: NONE | ALL_OLD | UPDATED_OLD | ALL_NEW | UPDATED_NEW )
ReturnConsumedCapacity => (string: INDEXES | TOTAL | NONE )
ReturnItemCollectionMetrics => (string: SIZE | NONE )
deleteItem
* TableName => (string)
* Item => (associative-array<associative-array>)
Expected => (associative-array<associative-array>)
ReturnValues => (string: NONE | ALL_OLD | UPDATED_OLD | ALL_NEW | UPDATED_NEW )
ReturnConsumedCapacity => (string: INDEXES | TOTAL | NONE )
ReturnItemCollectionMetrics => (string: SIZE | NONE )
getItem
* TableName => (string)
* Item => (associative-array<associative-array>)
AttributesToGet => array<string>)
ConsistentRead => (bool)
ReturnConsumedCapacity => (string: INDEXES | TOTAL | NONE )
query
* TableName => (string)
IndexName => (string)
Select => (string: ALL_ATTRIBUTES | ALL_PROJECTED_ATTRIBUTES | SPECIFIC_ATTRIBUTES | COUNT )
AttributesToGet => (array<string>)
Limit => (int)
ConsistentRead => (bool)
KeyConditions => (associative-array<associative-array>)
ScanIndexForward => (bool)
ExclusiveStartKey => (associative-array<associative-array>)
ReturnConsumedCapacity => (string: INDEXES | TOTAL | NONE )
scan
* TableName => (string)
Select => (string: ALL_ATTRIBUTES | ALL_PROJECTED_ATTRIBUTES | SPECIFIC_ATTRIBUTES | COUNT )
AttributesToGet => (array<string>)
Limit => (int)
ScanFilter => (associative-array<associative-array>)
ExclusiveStartKey => (associative-array<associative-array>)
ReturnConsumedCapacity => (string: INDEXES | TOTAL | NONE )
TotalSegments => (int)
Segment => (int)
Follow up to #2, we should add methods that wrap around common options so that they are discoverable as opposed to developers having to hunt through the AWS documentation.