Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Use to get the current status of devices registered on SageMaker Edge Manager.
Synopsis
- data SendHeartbeat = SendHeartbeat' {
- agentMetrics :: Maybe [EdgeMetric]
- models :: Maybe [Model]
- agentVersion :: Text
- deviceName :: Text
- deviceFleetName :: Text
- newSendHeartbeat :: Text -> Text -> Text -> SendHeartbeat
- sendHeartbeat_agentMetrics :: Lens' SendHeartbeat (Maybe [EdgeMetric])
- sendHeartbeat_models :: Lens' SendHeartbeat (Maybe [Model])
- sendHeartbeat_agentVersion :: Lens' SendHeartbeat Text
- sendHeartbeat_deviceName :: Lens' SendHeartbeat Text
- sendHeartbeat_deviceFleetName :: Lens' SendHeartbeat Text
- data SendHeartbeatResponse = SendHeartbeatResponse' {
- newSendHeartbeatResponse :: SendHeartbeatResponse
Creating a Request
data SendHeartbeat Source #
See: newSendHeartbeat
smart constructor.
SendHeartbeat' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> SendHeartbeat |
Create a value of SendHeartbeat
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:agentMetrics:SendHeartbeat'
, sendHeartbeat_agentMetrics
- For internal use. Returns a list of SageMaker Edge Manager agent
operating metrics.
$sel:models:SendHeartbeat'
, sendHeartbeat_models
- Returns a list of models deployed on the the device.
$sel:agentVersion:SendHeartbeat'
, sendHeartbeat_agentVersion
- Returns the version of the agent.
$sel:deviceName:SendHeartbeat'
, sendHeartbeat_deviceName
- The unique name of the device.
$sel:deviceFleetName:SendHeartbeat'
, sendHeartbeat_deviceFleetName
- The name of the fleet that the device belongs to.
Request Lenses
sendHeartbeat_agentMetrics :: Lens' SendHeartbeat (Maybe [EdgeMetric]) Source #
For internal use. Returns a list of SageMaker Edge Manager agent operating metrics.
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.
Destructuring the Response
data SendHeartbeatResponse Source #
See: newSendHeartbeatResponse
smart constructor.
Instances
Eq SendHeartbeatResponse Source # | |
Defined in Amazonka.SageMakerEdge.SendHeartbeat (==) :: SendHeartbeatResponse -> SendHeartbeatResponse -> Bool # (/=) :: SendHeartbeatResponse -> SendHeartbeatResponse -> Bool # | |
Read SendHeartbeatResponse Source # | |
Show SendHeartbeatResponse Source # | |
Defined in Amazonka.SageMakerEdge.SendHeartbeat showsPrec :: Int -> SendHeartbeatResponse -> ShowS # show :: SendHeartbeatResponse -> String # showList :: [SendHeartbeatResponse] -> ShowS # | |
Generic SendHeartbeatResponse Source # | |
Defined in Amazonka.SageMakerEdge.SendHeartbeat type Rep SendHeartbeatResponse :: Type -> Type # | |
NFData SendHeartbeatResponse Source # | |
Defined in Amazonka.SageMakerEdge.SendHeartbeat rnf :: SendHeartbeatResponse -> () # | |
type Rep SendHeartbeatResponse Source # | |
Defined in Amazonka.SageMakerEdge.SendHeartbeat |
newSendHeartbeatResponse :: SendHeartbeatResponse Source #
Create a value of SendHeartbeatResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.