Class: Aws::CloudFrontKeyValueStore::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::CloudFrontKeyValueStore::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb
Overview
An API client for CloudFrontKeyValueStore. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::CloudFrontKeyValueStore::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#delete_key(params = {}) ⇒ Types::DeleteKeyResponse
Deletes the key value pair specified by the key.
-
#describe_key_value_store(params = {}) ⇒ Types::DescribeKeyValueStoreResponse
Returns metadata information about Key Value Store.
-
#get_key(params = {}) ⇒ Types::GetKeyResponse
Returns a key value pair.
-
#list_keys(params = {}) ⇒ Types::ListKeysResponse
Returns a list of key value pairs.
-
#put_key(params = {}) ⇒ Types::PutKeyResponse
Creates a new key value pair or replaces the value of an existing key.
-
#update_keys(params = {}) ⇒ Types::UpdateKeysResponse
Puts or Deletes multiple key value pairs in a single, all-or-nothing operation.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from Aws::ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb', line 444 def initialize(*args) super end |
Instance Method Details
#delete_key(params = {}) ⇒ Types::DeleteKeyResponse
Deletes the key value pair specified by the key.
486 487 488 489 |
# File 'gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb', line 486 def delete_key(params = {}, = {}) req = build_request(:delete_key, params) req.send_request() end |
#describe_key_value_store(params = {}) ⇒ Types::DescribeKeyValueStoreResponse
Returns metadata information about Key Value Store.
528 529 530 531 |
# File 'gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb', line 528 def describe_key_value_store(params = {}, = {}) req = build_request(:describe_key_value_store, params) req.send_request() end |
#get_key(params = {}) ⇒ Types::GetKeyResponse
Returns a key value pair.
566 567 568 569 |
# File 'gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb', line 566 def get_key(params = {}, = {}) req = build_request(:get_key, params) req.send_request() end |
#list_keys(params = {}) ⇒ Types::ListKeysResponse
Returns a list of key value pairs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
611 612 613 614 |
# File 'gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb', line 611 def list_keys(params = {}, = {}) req = build_request(:list_keys, params) req.send_request() end |
#put_key(params = {}) ⇒ Types::PutKeyResponse
Creates a new key value pair or replaces the value of an existing key.
656 657 658 659 |
# File 'gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb', line 656 def put_key(params = {}, = {}) req = build_request(:put_key, params) req.send_request() end |
#update_keys(params = {}) ⇒ Types::UpdateKeysResponse
Puts or Deletes multiple key value pairs in a single, all-or-nothing operation.
711 712 713 714 |
# File 'gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb', line 711 def update_keys(params = {}, = {}) req = build_request(:update_keys, params) req.send_request() end |