SendHeartbeat - Amazon SageMaker Service

SendHeartbeat

Use to get the current status of devices registered on SageMaker Edge Manager.

Request Syntax

POST /SendHeartbeat HTTP/1.1 Content-type: application/json { "AgentMetrics": [ { "Dimension": "string", "MetricName": "string", "Timestamp": number, "Value": number } ], "AgentVersion": "string", "DeviceFleetName": "string", "DeviceName": "string", "Models": [ { "LatestInference": number, "LatestSampleTime": number, "ModelMetrics": [ { "Dimension": "string", "MetricName": "string", "Timestamp": number, "Value": number } ], "ModelName": "string", "ModelVersion": "string" } ] }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

AgentMetrics

For internal use. Returns a list of SageMaker Edge Manager agent operating metrics.

Type: Array of EdgeMetric objects

Required: No

AgentVersion

Returns the version of the agent.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z0-9\ \_\.]+

Required: Yes

DeviceFleetName

The name of the fleet that the device belongs to.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: ^[a-zA-Z0-9](-*_*[a-zA-Z0-9])*$

Required: Yes

DeviceName

The unique name of the device.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: ^[a-zA-Z0-9](-*_*[a-zA-Z0-9])*$

Required: Yes

Models

Returns a list of models deployed on the the device.

Type: Array of Model objects

Required: No

Response Syntax

HTTP/1.1 200

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServiceException

An internal failure occurred. Try your request again. If the problem persists, contact AWS customer support.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: