@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Amazon SimpleDB
@version 2009-04-15
@endpoints 10
@toc root(10)

@endpoint POST /
@required {DomainName: str, Items: [DeletableItem]}

@endpoint POST /
@required {DomainName: str, Items: [ReplaceableItem]}
@errors {500, 500, 500, 500, 500, 500, 500, 500, 500}

@endpoint POST /
@required {DomainName: str}
@errors {500, 500, 500}

@endpoint POST /
@required {DomainName: str, ItemName: str}
@optional {Attributes: [DeletableAttribute], Expected: UpdateCondition}
@errors {500, 500, 500, 500}

@endpoint POST /
@required {DomainName: str}
@errors {500}

@endpoint POST /
@required {DomainName: str}
@returns(200) {ItemCount: int?, ItemNamesSizeBytes: int(i64)?, AttributeNameCount: int?, AttributeNamesSizeBytes: int(i64)?, AttributeValueCount: int?, AttributeValuesSizeBytes: int(i64)?, Timestamp: int?}
@errors {500, 500}

@endpoint POST /
@required {DomainName: str, ItemName: str}
@optional {AttributeNames: [str], ConsistentRead: bool}
@returns(200) {Attributes: [Attribute]?}
@errors {500, 500, 500}

@endpoint POST /
@optional {MaxNumberOfDomains: int, NextToken: str}
@returns(200) {DomainNames: [str]?, NextToken: str?}
@errors {500, 500}

@endpoint POST /
@required {DomainName: str, ItemName: str, Attributes: [ReplaceableAttribute]}
@optional {Expected: UpdateCondition}
@errors {500, 500, 500, 500, 500, 500, 500}

@endpoint POST /
@required {SelectExpression: str}
@optional {NextToken: str, ConsistentRead: bool}
@returns(200) {Items: [Item]?, NextToken: str?}
@errors {500, 500, 500, 500, 500, 500, 500, 500, 500}

@end
