Class | AWS::SimpleDB::Domain |
In: |
lib/aws/simple_db/domain.rb
|
Parent: | Object |
Represents a domain in SimpleDB.
Domains, like database tables, must exist before you can write to one.
@example Creating a domain
domain = SimpleDB.new.domains.create('mydomain')
@example Getting a domain
domain = SimpleDB.new.domains['mydomain']
@see DomainCollection
name | [R] |
Returns the name for this domain.
@return [String] The name of this domain. |
Deletes the (empty) domain.
@note If you need to delete a domain with items, call {delete!} @raise [NonEmptyDeleteError] Raises if the domain is not empty. @return [nil]
Returns true if this domain exists, false otherwise.
@return [Boolean] Returns true if the domain exists.
Returns a collection that represents all of the items in this domain.
@return [ItemCollection]
Returns a metadata object that can provide information about this domain.
@return [DomainMetadata]