CmdID / aws / aws dynamodb
aws dynamodb put-item
Creates a new item, or replaces an old item with a new item. AWS CLI reference
10 options Its page in the AWS CLI reference
Options
--condition-expressionA condition that must be satisfied in order for a conditional PutItem operation to succeed.--conditional-operator, --expectedThis is a legacy parameter.--expression-attribute-namesOne or more substitution tokens for attribute names in an expression.--expression-attribute-valuesOne or more values that can be substituted in an expression.--itemA map of attribute name/value pairs, one for each attribute.--return-consumed-capacityDetermines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response: INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.--return-item-collection-metricsDetermines whether item collection metrics are returned.--return-values-on-condition-check-failureAn optional parameter that returns the item attributes for a PutItem operation that failed a condition check.--return-valuesUse ReturnValues if you want to get the item attributes as they appeared before they were updated with the PutItem request.--table-nameThe name of the table to contain the item.