123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- {
- "version": "2.0",
- "metadata": {
- "apiVersion": "2020-09-23",
- "endpointPrefix": "edge.sagemaker",
- "jsonVersion": "1.1",
- "protocol": "rest-json",
- "serviceFullName": "Amazon Sagemaker Edge Manager",
- "serviceId": "Sagemaker Edge",
- "signatureVersion": "v4",
- "signingName": "sagemaker",
- "uid": "sagemaker-edge-2020-09-23"
- },
- "operations": {
- "GetDeployments": {
- "http": {
- "requestUri": "/GetDeployments"
- },
- "input": {
- "type": "structure",
- "required": [
- "DeviceName",
- "DeviceFleetName"
- ],
- "members": {
- "DeviceName": {},
- "DeviceFleetName": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Deployments": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "DeploymentName": {},
- "Type": {},
- "FailureHandlingPolicy": {},
- "Definitions": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "ModelHandle": {},
- "S3Url": {},
- "Checksum": {
- "type": "structure",
- "members": {
- "Type": {},
- "Sum": {}
- }
- },
- "State": {}
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "GetDeviceRegistration": {
- "http": {
- "requestUri": "/GetDeviceRegistration"
- },
- "input": {
- "type": "structure",
- "required": [
- "DeviceName",
- "DeviceFleetName"
- ],
- "members": {
- "DeviceName": {},
- "DeviceFleetName": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "DeviceRegistration": {},
- "CacheTTL": {}
- }
- }
- },
- "SendHeartbeat": {
- "http": {
- "requestUri": "/SendHeartbeat"
- },
- "input": {
- "type": "structure",
- "required": [
- "AgentVersion",
- "DeviceName",
- "DeviceFleetName"
- ],
- "members": {
- "AgentMetrics": {
- "shape": "Sm"
- },
- "Models": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "ModelName": {},
- "ModelVersion": {},
- "LatestSampleTime": {
- "type": "timestamp"
- },
- "LatestInference": {
- "type": "timestamp"
- },
- "ModelMetrics": {
- "shape": "Sm"
- }
- }
- }
- },
- "AgentVersion": {},
- "DeviceName": {},
- "DeviceFleetName": {},
- "DeploymentResult": {
- "type": "structure",
- "members": {
- "DeploymentName": {},
- "DeploymentStatus": {},
- "DeploymentStatusMessage": {},
- "DeploymentStartTime": {
- "type": "timestamp"
- },
- "DeploymentEndTime": {
- "type": "timestamp"
- },
- "DeploymentModels": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "ModelHandle": {},
- "ModelName": {},
- "ModelVersion": {},
- "DesiredState": {},
- "State": {},
- "Status": {},
- "StatusReason": {},
- "RollbackFailureReason": {}
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "shapes": {
- "Sm": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "Dimension": {},
- "MetricName": {},
- "Value": {
- "type": "double"
- },
- "Timestamp": {
- "type": "timestamp"
- }
- }
- }
- }
- }
- }
|