AWSDynamoDBGet

Objective-C

@interface AWSDynamoDBGet

Swift

class AWSDynamoDBGet

Specifies an item and related attribute values to retrieve in a TransactGetItem object.

Required parameters: [Key, TableName]

  • One or more substitution tokens for attribute names in the ProjectionExpression parameter.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable expressionAttributeNames;

    Swift

    var expressionAttributeNames: [String : String]? { get set }
  • key

    A map of attribute names to AttributeValue objects that specifies the primary key of the item to retrieve.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, AWSDynamoDBAttributeValue *> *_Nullable key;

    Swift

    var key: [String : AWSDynamoDBAttributeValue]? { get set }
  • A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable projectionExpression;

    Swift

    var projectionExpression: String? { get set }
  • The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable tableName;

    Swift

    var tableName: String? { get set }