/AWS1/CL_DYNCONDITIONCHECK¶
Represents a request to perform a check that an item exists or to check the condition of specific attributes of the item.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
it_key TYPE /AWS1/CL_DYNATTRIBUTEVALUE=>TT_KEY TT_KEY¶
The primary key of the item to be checked. Each element consists of an attribute name and a value for that attribute.
iv_tablename TYPE /AWS1/DYNTABLEARN /AWS1/DYNTABLEARN¶
Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
iv_conditionexpression TYPE /AWS1/DYNCONDITIONEXPRESSION /AWS1/DYNCONDITIONEXPRESSION¶
A condition that must be satisfied in order for a conditional update to succeed. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.
Optional arguments:¶
it_expressionattributenames TYPE /AWS1/CL_DYNXPRSNATTRNAMEMAP_W=>TT_EXPRESSIONATTRIBUTENAMEMAP TT_EXPRESSIONATTRIBUTENAMEMAP¶
One or more substitution tokens for attribute names in an expression. For more information, see Expression attribute names in the Amazon DynamoDB Developer Guide.
it_expressionattributevalues TYPE /AWS1/CL_DYNATTRIBUTEVALUE=>TT_EXPRESSIONATTRIBUTEVALUEMAP TT_EXPRESSIONATTRIBUTEVALUEMAP¶
One or more values that can be substituted in an expression. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.
iv_retvalsoncondcheckfailure TYPE /AWS1/DYNRETVALSONCONDCHECKF00 /AWS1/DYNRETVALSONCONDCHECKF00¶
Use
ReturnValuesOnConditionCheckFailureto get the item attributes if theConditionCheckcondition fails. ForReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.
Queryable Attributes¶
Key¶
The primary key of the item to be checked. Each element consists of an attribute name and a value for that attribute.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_KEY() |
Getter for KEY, with configurable default |
ASK_KEY() |
Getter for KEY w/ exceptions if field has no value |
HAS_KEY() |
Determine if KEY has a value |
TableName¶
Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TABLENAME() |
Getter for TABLENAME, with configurable default |
ASK_TABLENAME() |
Getter for TABLENAME w/ exceptions if field has no value |
HAS_TABLENAME() |
Determine if TABLENAME has a value |
ConditionExpression¶
A condition that must be satisfied in order for a conditional update to succeed. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONDITIONEXPRESSION() |
Getter for CONDITIONEXPRESSION, with configurable default |
ASK_CONDITIONEXPRESSION() |
Getter for CONDITIONEXPRESSION w/ exceptions if field has no |
HAS_CONDITIONEXPRESSION() |
Determine if CONDITIONEXPRESSION has a value |
ExpressionAttributeNames¶
One or more substitution tokens for attribute names in an expression. For more information, see Expression attribute names in the Amazon DynamoDB Developer Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXPRESSIONATTRIBUTENAMES() |
Getter for EXPRESSIONATTRIBUTENAMES, with configurable defau |
ASK_EXPRESSIONATTRIBUTENAMES() |
Getter for EXPRESSIONATTRIBUTENAMES w/ exceptions if field h |
HAS_EXPRESSIONATTRIBUTENAMES() |
Determine if EXPRESSIONATTRIBUTENAMES has a value |
ExpressionAttributeValues¶
One or more values that can be substituted in an expression. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_XPRSNATTRIBUTEVALUES() |
Getter for EXPRESSIONATTRIBUTEVALUES, with configurable defa |
ASK_XPRSNATTRIBUTEVALUES() |
Getter for EXPRESSIONATTRIBUTEVALUES w/ exceptions if field |
HAS_XPRSNATTRIBUTEVALUES() |
Determine if EXPRESSIONATTRIBUTEVALUES has a value |
ReturnValuesOnConditionCheckFailure¶
Use
ReturnValuesOnConditionCheckFailureto get the item attributes if theConditionCheckcondition fails. ForReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RETVALSONCONDCHECKFAIL00() |
Getter for RETVALUESONCONDCHECKFAILURE, with configurable de |
ASK_RETVALSONCONDCHECKFAIL00() |
Getter for RETVALUESONCONDCHECKFAILURE w/ exceptions if fiel |
HAS_RETVALSONCONDCHECKFAIL00() |
Determine if RETVALUESONCONDCHECKFAILURE has a value |