This function creates a new Amazon SimpleDB domain. Every piece of data within the Amazon SimpleDB is held within a domain. Each user can have up to 100 domains per their account, each holding 10GB of data each.
Contents |
CreateSDBDomain( name, domainname )
This function will return TRUE/FALSE depending on if it succeeded or not. If a major error occurred it will throw a CFML exception that can be caught.
<cfset AmazonSimpleDB("testamz", "1WHJCG48Y89P4582", "bC6kfiW715mIenvtr537DcHndYmQwVf5l")>
<cfset CreateSDBDomain("testamz", "testDomain" )>
You must create the domain before you attempt to use it. Failure to do so will generate errors. Also, the domain name is case sensitive.