amazonka-sagemaker-edge-2.0: Amazon Sagemaker Edge Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMakerEdge.Lens

Description

 
Synopsis

Operations

GetDeployments

getDeployments_deviceName :: Lens' GetDeployments Text Source #

The unique name of the device you want to get the configuration of active deployments from.

getDeployments_deviceFleetName :: Lens' GetDeployments Text Source #

The name of the fleet that the device belongs to.

getDeploymentsResponse_deployments :: Lens' GetDeploymentsResponse (Maybe [EdgeDeployment]) Source #

Returns a list of the configurations of the active deployments on the device.

GetDeviceRegistration

getDeviceRegistration_deviceName :: Lens' GetDeviceRegistration Text Source #

The unique name of the device you want to get the registration status from.

getDeviceRegistration_deviceFleetName :: Lens' GetDeviceRegistration Text Source #

The name of the fleet that the device belongs to.

getDeviceRegistrationResponse_cacheTTL :: Lens' GetDeviceRegistrationResponse (Maybe Text) Source #

The amount of time, in seconds, that the registration status is stored on the device’s cache before it is refreshed.

getDeviceRegistrationResponse_deviceRegistration :: Lens' GetDeviceRegistrationResponse (Maybe Text) Source #

Describes if the device is currently registered with SageMaker Edge Manager.

SendHeartbeat

sendHeartbeat_agentMetrics :: Lens' SendHeartbeat (Maybe [EdgeMetric]) Source #

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

sendHeartbeat_deploymentResult :: Lens' SendHeartbeat (Maybe DeploymentResult) Source #

Returns the result of a deployment on the device.

sendHeartbeat_models :: Lens' SendHeartbeat (Maybe [Model]) Source #

Returns a list of models deployed on the the device.

sendHeartbeat_agentVersion :: Lens' SendHeartbeat Text Source #

Returns the version of the agent.

sendHeartbeat_deviceName :: Lens' SendHeartbeat Text Source #

The unique name of the device.

sendHeartbeat_deviceFleetName :: Lens' SendHeartbeat Text Source #

The name of the fleet that the device belongs to.

Types

Checksum

checksum_sum :: Lens' Checksum (Maybe Text) Source #

The checksum of the model.

checksum_type :: Lens' Checksum (Maybe ChecksumType) Source #

The type of the checksum.

Definition

definition_checksum :: Lens' Definition (Maybe Checksum) Source #

The checksum information of the model.

definition_s3Url :: Lens' Definition (Maybe Text) Source #

The absolute S3 location of the model.

definition_state :: Lens' Definition (Maybe ModelState) Source #

The desired state of the model.

DeploymentModel

deploymentModel_modelHandle :: Lens' DeploymentModel (Maybe Text) Source #

The unique handle of the model.

deploymentModel_rollbackFailureReason :: Lens' DeploymentModel (Maybe Text) Source #

Returns the error message if there is a rollback.

deploymentModel_state :: Lens' DeploymentModel (Maybe ModelState) Source #

Returns the current state of the model.

deploymentModel_status :: Lens' DeploymentModel (Maybe DeploymentStatus) Source #

Returns the deployment status of the model.

deploymentModel_statusReason :: Lens' DeploymentModel (Maybe Text) Source #

Returns the error message for the deployment status result.

DeploymentResult

deploymentResult_deploymentEndTime :: Lens' DeploymentResult (Maybe UTCTime) Source #

The timestamp of when the deployment was ended, and the agent got the deployment results.

deploymentResult_deploymentModels :: Lens' DeploymentResult (Maybe [DeploymentModel]) Source #

Returns a list of models deployed on the agent.

deploymentResult_deploymentName :: Lens' DeploymentResult (Maybe Text) Source #

The name and unique ID of the deployment.

deploymentResult_deploymentStartTime :: Lens' DeploymentResult (Maybe UTCTime) Source #

The timestamp of when the deployment was started on the agent.

EdgeDeployment

edgeDeployment_definitions :: Lens' EdgeDeployment (Maybe [Definition]) Source #

Returns a list of Definition objects.

edgeDeployment_deploymentName :: Lens' EdgeDeployment (Maybe Text) Source #

The name and unique ID of the deployment.

edgeDeployment_failureHandlingPolicy :: Lens' EdgeDeployment (Maybe FailureHandlingPolicy) Source #

Determines whether to rollback to previous configuration if deployment fails.

EdgeMetric

edgeMetric_dimension :: Lens' EdgeMetric (Maybe Text) Source #

The dimension of metrics published.

edgeMetric_metricName :: Lens' EdgeMetric (Maybe Text) Source #

Returns the name of the metric.

edgeMetric_timestamp :: Lens' EdgeMetric (Maybe UTCTime) Source #

Timestamp of when the metric was requested.

edgeMetric_value :: Lens' EdgeMetric (Maybe Double) Source #

Returns the value of the metric.

Model

model_latestInference :: Lens' Model (Maybe UTCTime) Source #

The timestamp of the last inference that was made.

model_latestSampleTime :: Lens' Model (Maybe UTCTime) Source #

The timestamp of the last data sample taken.

model_modelMetrics :: Lens' Model (Maybe [EdgeMetric]) Source #

Information required for model metrics.

model_modelName :: Lens' Model (Maybe Text) Source #

The name of the model.

model_modelVersion :: Lens' Model (Maybe Text) Source #

The version of the model.