libZSservicesZSamazonka-sagemaker-edgeZSamazonka-sagemaker-edge
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMakerEdge

Description

Derived from API version 2020-09-23 of the AWS service descriptions, licensed under Apache 2.0.

SageMaker Edge Manager dataplane service for communicating with active agents.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2020-09-23 of the Amazon Sagemaker Edge Manager SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by SageMakerEdge.

InternalServiceException

_InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

SendHeartbeat

data SendHeartbeat Source #

See: newSendHeartbeat smart constructor.

Instances

Instances details
Eq SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

Read SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

Show SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

Generic SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

Associated Types

type Rep SendHeartbeat :: Type -> Type #

NFData SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

Methods

rnf :: SendHeartbeat -> () #

Hashable SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

ToJSON SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

AWSRequest SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

Associated Types

type AWSResponse SendHeartbeat #

ToHeaders SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

ToPath SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

ToQuery SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

type Rep SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

type Rep SendHeartbeat = D1 ('MetaData "SendHeartbeat" "Amazonka.SageMakerEdge.SendHeartbeat" "libZSservicesZSamazonka-sagemaker-edgeZSamazonka-sagemaker-edge" 'False) (C1 ('MetaCons "SendHeartbeat'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "agentMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EdgeMetric])) :*: S1 ('MetaSel ('Just "models") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Model]))) :*: (S1 ('MetaSel ('Just "agentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deviceFleetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse SendHeartbeat Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

newSendHeartbeat Source #

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.

data SendHeartbeatResponse Source #

See: newSendHeartbeatResponse smart constructor.

Instances

Instances details
Eq SendHeartbeatResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

Read SendHeartbeatResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

Show SendHeartbeatResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

Generic SendHeartbeatResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

Associated Types

type Rep SendHeartbeatResponse :: Type -> Type #

NFData SendHeartbeatResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

Methods

rnf :: SendHeartbeatResponse -> () #

type Rep SendHeartbeatResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.SendHeartbeat

type Rep SendHeartbeatResponse = D1 ('MetaData "SendHeartbeatResponse" "Amazonka.SageMakerEdge.SendHeartbeat" "libZSservicesZSamazonka-sagemaker-edgeZSamazonka-sagemaker-edge" 'False) (C1 ('MetaCons "SendHeartbeatResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSendHeartbeatResponse :: SendHeartbeatResponse Source #

Create a value of SendHeartbeatResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

GetDeviceRegistration

data GetDeviceRegistration Source #

See: newGetDeviceRegistration smart constructor.

Instances

Instances details
Eq GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Read GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Show GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Generic GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Associated Types

type Rep GetDeviceRegistration :: Type -> Type #

NFData GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Methods

rnf :: GetDeviceRegistration -> () #

Hashable GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

ToJSON GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

AWSRequest GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Associated Types

type AWSResponse GetDeviceRegistration #

ToHeaders GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

ToPath GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

ToQuery GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

type Rep GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

type Rep GetDeviceRegistration = D1 ('MetaData "GetDeviceRegistration" "Amazonka.SageMakerEdge.GetDeviceRegistration" "libZSservicesZSamazonka-sagemaker-edgeZSamazonka-sagemaker-edge" 'False) (C1 ('MetaCons "GetDeviceRegistration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deviceFleetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

newGetDeviceRegistration Source #

Create a value of GetDeviceRegistration 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:deviceName:GetDeviceRegistration', getDeviceRegistration_deviceName - The unique name of the device you want to get the registration status from.

$sel:deviceFleetName:GetDeviceRegistration', getDeviceRegistration_deviceFleetName - The name of the fleet that the device belongs to.

data GetDeviceRegistrationResponse Source #

See: newGetDeviceRegistrationResponse smart constructor.

Instances

Instances details
Eq GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Read GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Show GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Generic GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Associated Types

type Rep GetDeviceRegistrationResponse :: Type -> Type #

NFData GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

type Rep GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

type Rep GetDeviceRegistrationResponse = D1 ('MetaData "GetDeviceRegistrationResponse" "Amazonka.SageMakerEdge.GetDeviceRegistration" "libZSservicesZSamazonka-sagemaker-edgeZSamazonka-sagemaker-edge" 'False) (C1 ('MetaCons "GetDeviceRegistrationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deviceRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDeviceRegistrationResponse Source #

Create a value of GetDeviceRegistrationResponse 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:cacheTTL:GetDeviceRegistrationResponse', getDeviceRegistrationResponse_cacheTTL - The amount of time, in seconds, that the registration status is stored on the device’s cache before it is refreshed.

$sel:deviceRegistration:GetDeviceRegistrationResponse', getDeviceRegistrationResponse_deviceRegistration - Describes if the device is currently registered with SageMaker Edge Manager.

$sel:httpStatus:GetDeviceRegistrationResponse', getDeviceRegistrationResponse_httpStatus - The response's http status code.

Types

EdgeMetric

data EdgeMetric Source #

Information required for edge device metrics.

See: newEdgeMetric smart constructor.

Instances

Instances details
Eq EdgeMetric Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.EdgeMetric

Read EdgeMetric Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.EdgeMetric

Show EdgeMetric Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.EdgeMetric

Generic EdgeMetric Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.EdgeMetric

Associated Types

type Rep EdgeMetric :: Type -> Type #

NFData EdgeMetric Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.EdgeMetric

Methods

rnf :: EdgeMetric -> () #

Hashable EdgeMetric Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.EdgeMetric

ToJSON EdgeMetric Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.EdgeMetric

type Rep EdgeMetric Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.EdgeMetric

type Rep EdgeMetric = D1 ('MetaData "EdgeMetric" "Amazonka.SageMakerEdge.Types.EdgeMetric" "libZSservicesZSamazonka-sagemaker-edgeZSamazonka-sagemaker-edge" 'False) (C1 ('MetaCons "EdgeMetric'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dimension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newEdgeMetric :: EdgeMetric Source #

Create a value of EdgeMetric 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:dimension:EdgeMetric', edgeMetric_dimension - The dimension of metrics published.

$sel:metricName:EdgeMetric', edgeMetric_metricName - Returns the name of the metric.

$sel:value:EdgeMetric', edgeMetric_value - Returns the value of the metric.

$sel:timestamp:EdgeMetric', edgeMetric_timestamp - Timestamp of when the metric was requested.

Model

data Model Source #

Information about a model deployed on an edge device that is registered with SageMaker Edge Manager.

See: newModel smart constructor.

Instances

Instances details
Eq Model Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.Model

Methods

(==) :: Model -> Model -> Bool #

(/=) :: Model -> Model -> Bool #

Read Model Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.Model

Show Model Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.Model

Methods

showsPrec :: Int -> Model -> ShowS #

show :: Model -> String #

showList :: [Model] -> ShowS #

Generic Model Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.Model

Associated Types

type Rep Model :: Type -> Type #

Methods

from :: Model -> Rep Model x #

to :: Rep Model x -> Model #

NFData Model Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.Model

Methods

rnf :: Model -> () #

Hashable Model Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.Model

Methods

hashWithSalt :: Int -> Model -> Int #

hash :: Model -> Int #

ToJSON Model Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.Model

type Rep Model Source # 
Instance details

Defined in Amazonka.SageMakerEdge.Types.Model

type Rep Model = D1 ('MetaData "Model" "Amazonka.SageMakerEdge.Types.Model" "libZSservicesZSamazonka-sagemaker-edgeZSamazonka-sagemaker-edge" 'False) (C1 ('MetaCons "Model'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "modelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "modelMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EdgeMetric]))) :*: (S1 ('MetaSel ('Just "modelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "latestInference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "latestSampleTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newModel :: Model Source #

Create a value of Model 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:modelName:Model', model_modelName - The name of the model.

$sel:modelMetrics:Model', model_modelMetrics - Information required for model metrics.

$sel:modelVersion:Model', model_modelVersion - The version of the model.

$sel:latestInference:Model', model_latestInference - The timestamp of the last inference that was made.

$sel:latestSampleTime:Model', model_latestSampleTime - The timestamp of the last data sample taken.