Class: Aws::SagemakerEdgeManager::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::SagemakerEdgeManager::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/client.rb
Overview
An API client for SagemakerEdgeManager. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::SagemakerEdgeManager::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
-
#get_deployments(params = {}) ⇒ Types::GetDeploymentsResult
Use to get the active deployments from a device.
-
#get_device_registration(params = {}) ⇒ Types::GetDeviceRegistrationResult
Use to check if a device is registered with SageMaker Edge Manager.
-
#send_heartbeat(params = {}) ⇒ Struct
Use to get the current status of devices registered on SageMaker Edge Manager.
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-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/client.rb', line 365 def initialize(*args) super end |
Instance Method Details
#get_deployments(params = {}) ⇒ Types::GetDeploymentsResult
Use to get the active deployments from a device.
408 409 410 411 |
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/client.rb', line 408 def get_deployments(params = {}, = {}) req = build_request(:get_deployments, params) req.send_request() end |
#get_device_registration(params = {}) ⇒ Types::GetDeviceRegistrationResult
Use to check if a device is registered with SageMaker Edge Manager.
443 444 445 446 |
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/client.rb', line 443 def get_device_registration(params = {}, = {}) req = build_request(:get_device_registration, params) req.send_request() end |
#send_heartbeat(params = {}) ⇒ Struct
Use to get the current status of devices registered on SageMaker Edge Manager.
527 528 529 530 |
# File 'gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/client.rb', line 527 def send_heartbeat(params = {}, = {}) req = build_request(:send_heartbeat, params) req.send_request() end |