Class: Aws::SageMakerFeatureStoreRuntime::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::SageMakerFeatureStoreRuntime::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/client.rb
Overview
An API client for SageMakerFeatureStoreRuntime. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::SageMakerFeatureStoreRuntime::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
-
#batch_get_record(params = {}) ⇒ Types::BatchGetRecordResponse
Retrieves a batch of
Records
from aFeatureGroup
. -
#delete_record(params = {}) ⇒ Struct
Deletes a
Record
from aFeatureGroup
. -
#get_record(params = {}) ⇒ Types::GetRecordResponse
Use for
OnlineStore
serving from aFeatureStore
. -
#put_record(params = {}) ⇒ Struct
Used for data ingestion into the
FeatureStore
.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from 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.
365 366 367 |
# File 'gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/client.rb', line 365 def initialize(*args) super end |
Instance Method Details
#batch_get_record(params = {}) ⇒ Types::BatchGetRecordResponse
Retrieves a batch of Records
from a FeatureGroup
.
420 421 422 423 |
# File 'gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/client.rb', line 420 def batch_get_record(params = {}, = {}) req = build_request(:batch_get_record, params) req.send_request() end |
#delete_record(params = {}) ⇒ Struct
Deletes a Record
from a FeatureGroup
. When the DeleteRecord
API
is called a new record will be added to the OfflineStore
and the
Record
will be removed from the OnlineStore
. This record will have
a value of True
in the is_deleted
column.
461 462 463 464 |
# File 'gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/client.rb', line 461 def delete_record(params = {}, = {}) req = build_request(:delete_record, params) req.send_request() end |
#get_record(params = {}) ⇒ Types::GetRecordResponse
Use for OnlineStore
serving from a FeatureStore
. Only the latest
records stored in the OnlineStore
can be retrieved. If no Record
with RecordIdentifierValue
is found, then an empty result is
returned.
505 506 507 508 |
# File 'gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/client.rb', line 505 def get_record(params = {}, = {}) req = build_request(:get_record, params) req.send_request() end |
#put_record(params = {}) ⇒ Struct
Used for data ingestion into the FeatureStore
. The PutRecord
API
writes to both the OnlineStore
and OfflineStore
. If the record is
the latest record for the recordIdentifier
, the record is written to
both the OnlineStore
and OfflineStore
. If the record is a historic
record, it is written only to the OfflineStore
.
554 555 556 557 |
# File 'gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/client.rb', line 554 def put_record(params = {}, = {}) req = build_request(:put_record, params) req.send_request() end |