device_registrations
Creates, updates, deletes, gets or lists a device_registrations resource.
Overview
| Name | device_registrations |
| Type | Resource |
| Id | aws.sagemaker_edge.device_registrations |
Fields
The following fields are returned by SELECT queries:
- get_device_registration
| Name | Datatype | Description |
|---|---|---|
cache_ttl | string | The amount of time, in seconds, that the registration status is stored on the device’s cache before it is refreshed. |
device_registration | string | Describes if the device is currently registered with SageMaker Edge Manager. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_device_registration | select | region | Use to check if a device is registered with SageMaker Edge Manager. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_device_registration
Use to check if a device is registered with SageMaker Edge Manager.
SELECT
cache_ttl,
device_registration
FROM aws.sagemaker_edge.device_registrations
WHERE region = '{{ region }}' -- required
;