AWSDynamoDBModeling
Objective-C
@protocol AWSDynamoDBModeling <NSObject>
Swift
protocol AWSDynamoDBModeling : NSObjectProtocol
A DynamoDB Modeling protocol. All objects mapped to an Amazon DynamoDB table row need to conform to this protocol.
-
Returns the Amazon DynamoDB table name.
Declaration
Objective-C
+ (nonnull NSString *)dynamoDBTableName;Swift
static func dynamoDBTableName() -> StringReturn Value
A table name.
-
Returns the hash key attribute name.
Declaration
Objective-C
+ (nonnull NSString *)hashKeyAttribute;Swift
static func hashKeyAttribute() -> StringReturn Value
A hash key attribute name.
-
Returns the range key attribute name.
Declaration
Objective-C
+ (nonnull NSString *)rangeKeyAttribute;Swift
optional static func rangeKeyAttribute() -> StringReturn Value
A range key attribute name.
-
Returns the names of attributes that need to be ignored.
Declaration
Objective-C
+ (nonnull NSArray<NSString *> *)ignoreAttributes;Swift
optional static func ignoreAttributes() -> [String]Return Value
An array of attribute names.
View on GitHub
Install in Dash
AWSDynamoDBModeling Protocol Reference