Class: AWS::SimpleDB::Client
- Inherits:
-
Core::Client
- Object
- Core::Client
- AWS::SimpleDB::Client
- Extended by:
- Core::QueryClient
- Defined in:
- lib/aws/simple_db/client.rb
Overview
Client class for Amazon SimpleDB.
Constant Summary collapse
- API_VERSION =
'2009-04-15'
Instance Attribute Summary
Attributes inherited from Core::Client
Class Method Summary collapse
-
.valid_domain_name?(name) ⇒ Boolean
Returns true if the given name is a valid Amazon SimpleDB domain name.
Instance Method Summary collapse
-
#batch_delete_attributes(options = {}) ⇒ Core::Response
Calls the BatchDeleteAttributes API operation.
-
#batch_put_attributes(options = {}) ⇒ Core::Response
Calls the BatchPutAttributes API operation.
-
#create_domain(options = {}) ⇒ Core::Response
Calls the CreateDomain API operation.
-
#delete_attributes(options = {}) ⇒ Core::Response
Calls the DeleteAttributes API operation.
-
#delete_domain(options = {}) ⇒ Core::Response
Calls the DeleteDomain API operation.
-
#domain_metadata(options = {}) ⇒ Core::Response
Calls the DomainMetadata API operation.
-
#get_attributes(options = {}) ⇒ Core::Response
Calls the GetAttributes API operation.
-
#list_domains(options = {}) ⇒ Core::Response
Calls the ListDomains API operation.
-
#put_attributes(options = {}) ⇒ Core::Response
Calls the PutAttributes API operation.
-
#select(options = {}) ⇒ Core::Response
Calls the Select API operation.
Methods inherited from Core::Client
#initialize, #log_warning, #operations, #with_http_handler, #with_options
Constructor Details
This class inherits a constructor from AWS::Core::Client
Class Method Details
.valid_domain_name?(name) ⇒ Boolean
Returns true if the given name is a valid Amazon SimpleDB domain name.
55 56 57 |
# File 'lib/aws/simple_db/client.rb', line 55 def self.valid_domain_name? name name.to_s =~ /^[a-z_\-\.]{3,255}$/i ? true : false end |
Instance Method Details
#batch_delete_attributes(options = {}) ⇒ Core::Response
Calls the BatchDeleteAttributes API operation.
78 |
# File 'lib/aws/simple_db/client.rb', line 78 define_client_method :batch_delete_attributes, 'BatchDeleteAttributes' |
#batch_put_attributes(options = {}) ⇒ Core::Response
Calls the BatchPutAttributes API operation.
103 |
# File 'lib/aws/simple_db/client.rb', line 103 define_client_method :batch_put_attributes, 'BatchPutAttributes' |
#create_domain(options = {}) ⇒ Core::Response
Calls the CreateDomain API operation.
117 |
# File 'lib/aws/simple_db/client.rb', line 117 define_client_method :create_domain, 'CreateDomain' |
#delete_attributes(options = {}) ⇒ Core::Response
Calls the DeleteAttributes API operation.
152 |
# File 'lib/aws/simple_db/client.rb', line 152 define_client_method :delete_attributes, 'DeleteAttributes' |
#delete_domain(options = {}) ⇒ Core::Response
Calls the DeleteDomain API operation.
165 |
# File 'lib/aws/simple_db/client.rb', line 165 define_client_method :delete_domain, 'DeleteDomain' |
#domain_metadata(options = {}) ⇒ Core::Response
Calls the DomainMetadata API operation.
185 |
# File 'lib/aws/simple_db/client.rb', line 185 define_client_method :domain_metadata, 'DomainMetadata' |
#get_attributes(options = {}) ⇒ Core::Response
Calls the GetAttributes API operation.
210 |
# File 'lib/aws/simple_db/client.rb', line 210 define_client_method :get_attributes, 'GetAttributes' |
#list_domains(options = {}) ⇒ Core::Response
Calls the ListDomains API operation.
228 |
# File 'lib/aws/simple_db/client.rb', line 228 define_client_method :list_domains, 'ListDomains' |
#put_attributes(options = {}) ⇒ Core::Response
Calls the PutAttributes API operation.
264 |
# File 'lib/aws/simple_db/client.rb', line 264 define_client_method :put_attributes, 'PutAttributes' |
#select(options = {}) ⇒ Core::Response
Calls the Select API operation.
293 |
# File 'lib/aws/simple_db/client.rb', line 293 define_client_method :select, 'Select' |