Module
AWS.DynamoDb
- Package
- purescript-aws-sdk-basic
- Repository
- HivemindTechnologies/purescript-aws-sdk
#DynamoDbClient Source
data DynamoDbClient :: Type#newDynamoDbClient Source
newDynamoDbClient :: Foreign -> (Effect DynamoDbClient)#makeClient Source
makeClient :: forall via r. Justifiable (Record r) (Record via) => Fillable (Record via) DefaultClientProps => Record r -> Effect DynamoDbClient#GetItemInput Source
type GetItemInput input key = { "Key" :: Record key, "TableName" :: String | input }#PutItemInput Source
type PutItemInput input item = { "Item" :: Record item, "TableName" :: String | input }#InternalGetItemOutput Source
type InternalGetItemOutput output = { "Item" :: Nullable output }#GetItemOutput Source
type GetItemOutput output = { item :: Maybe output }#getItemImpl Source
getItemImpl :: forall output key input. Fn2 DynamoDbClient (GetItemInput input key) (Effect (Promise (InternalGetItemOutput output)))#getItem Source
getItem :: forall output key input. DynamoDbClient -> (GetItemInput input key) -> Aff (Either Error (GetItemOutput output))#putItemImpl Source
putItemImpl :: forall item input. Fn2 DynamoDbClient (PutItemInput input item) (Effect (Promise Unit))#putItem Source
putItem :: forall item input. DynamoDbClient -> (PutItemInput input item) -> Aff (Maybe Error)#KeySchemaElement Source
type KeySchemaElement = { "AttributeName" :: String, "KeyType" :: String }#AttributeDefinition Source
type AttributeDefinition = { "AttributeName" :: String, "AttributeType" :: String }#CreateTableInput Source
type CreateTableInput input = { "AttributeDefinitions" :: Array AttributeDefinition, "KeySchema" :: Array KeySchemaElement, "TableName" :: String | input }#createTableImpl Source
createTableImpl :: forall input. Fn2 DynamoDbClient (CreateTableInput input) (Effect (Promise Unit))#createTable Source
createTable :: forall input. DynamoDbClient -> (CreateTableInput input) -> Aff (Maybe Error)