Skip to main content

stage_devices

Creates, updates, deletes, gets or lists a stage_devices resource.

Overview

Namestage_devices
TypeResource
Idaws.sagemaker.stage_devices

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
deployed_stage_namestringThe name of the deployed stage. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>)
deployment_start_timestring (date-time)The time when the deployment on the device started.
descriptionstringThe description of the device. (pattern: <code>[-a-zA-Z0-9_.,;:! ]*</code>)
device_arnstringThe ARN of the device. (pattern: <code>arn:aws[a-z-]:[a-z-]:[a-z-]:\d{12}:[a-z-]/?[a-zA-Z_0-9+=,.@-_/]+</code>)
device_deployment_statusstringThe deployment status of the device. (READYTODEPLOY, INPROGRESS, DEPLOYED, FAILED, STOPPING, STOPPED)
device_deployment_status_messagestringThe detailed error message for the deployoment status result.
device_fleet_namestringThe name of the fleet to which the device belongs to. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>)
device_namestringThe name of the device. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>)
edge_deployment_plan_arnstringThe ARN of the edge deployment plan. (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z-]:\d{12}:edge-deployment/?[a-zA-Z_0-9+=,.@-_/]+</code>)
edge_deployment_plan_namestringThe name of the edge deployment plan. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>)
stage_namestringThe name of the stage in the edge deployment plan. (pattern: <code>[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_stage_devicesselectregionLists devices allocated to the stage, containing detailed device information and deployment status.

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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists devices allocated to the stage, containing detailed device information and deployment status.

SELECT
deployed_stage_name,
deployment_start_time,
description,
device_arn,
device_deployment_status,
device_deployment_status_message,
device_fleet_name,
device_name,
edge_deployment_plan_arn,
edge_deployment_plan_name,
stage_name
FROM aws.sagemaker.stage_devices
WHERE region = '{{ region }}' -- required
;