| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SageMakerEdge.Types
Description
Synopsis
- defaultService :: Service
- _InternalServiceException :: AsError a => Fold a ServiceError
- newtype ChecksumType where
- ChecksumType' { }
- pattern ChecksumType_SHA1 :: ChecksumType
- newtype DeploymentStatus where
- DeploymentStatus' { }
- pattern DeploymentStatus_FAIL :: DeploymentStatus
- pattern DeploymentStatus_SUCCESS :: DeploymentStatus
- newtype DeploymentType where
- DeploymentType' { }
- pattern DeploymentType_Model :: DeploymentType
- newtype FailureHandlingPolicy where
- newtype ModelState where
- ModelState' { }
- pattern ModelState_DEPLOY :: ModelState
- pattern ModelState_UNDEPLOY :: ModelState
- data Checksum = Checksum' {}
- newChecksum :: Checksum
- checksum_sum :: Lens' Checksum (Maybe Text)
- checksum_type :: Lens' Checksum (Maybe ChecksumType)
- data Definition = Definition' {}
- newDefinition :: Definition
- definition_checksum :: Lens' Definition (Maybe Checksum)
- definition_modelHandle :: Lens' Definition (Maybe Text)
- definition_s3Url :: Lens' Definition (Maybe Text)
- definition_state :: Lens' Definition (Maybe ModelState)
- data DeploymentModel = DeploymentModel' {}
- newDeploymentModel :: DeploymentModel
- deploymentModel_desiredState :: Lens' DeploymentModel (Maybe ModelState)
- deploymentModel_modelHandle :: Lens' DeploymentModel (Maybe Text)
- deploymentModel_modelName :: Lens' DeploymentModel (Maybe Text)
- deploymentModel_modelVersion :: Lens' DeploymentModel (Maybe Text)
- deploymentModel_rollbackFailureReason :: Lens' DeploymentModel (Maybe Text)
- deploymentModel_state :: Lens' DeploymentModel (Maybe ModelState)
- deploymentModel_status :: Lens' DeploymentModel (Maybe DeploymentStatus)
- deploymentModel_statusReason :: Lens' DeploymentModel (Maybe Text)
- data DeploymentResult = DeploymentResult' {}
- newDeploymentResult :: DeploymentResult
- deploymentResult_deploymentEndTime :: Lens' DeploymentResult (Maybe UTCTime)
- deploymentResult_deploymentModels :: Lens' DeploymentResult (Maybe [DeploymentModel])
- deploymentResult_deploymentName :: Lens' DeploymentResult (Maybe Text)
- deploymentResult_deploymentStartTime :: Lens' DeploymentResult (Maybe UTCTime)
- deploymentResult_deploymentStatus :: Lens' DeploymentResult (Maybe Text)
- deploymentResult_deploymentStatusMessage :: Lens' DeploymentResult (Maybe Text)
- data EdgeDeployment = EdgeDeployment' {}
- newEdgeDeployment :: EdgeDeployment
- edgeDeployment_definitions :: Lens' EdgeDeployment (Maybe [Definition])
- edgeDeployment_deploymentName :: Lens' EdgeDeployment (Maybe Text)
- edgeDeployment_failureHandlingPolicy :: Lens' EdgeDeployment (Maybe FailureHandlingPolicy)
- edgeDeployment_type :: Lens' EdgeDeployment (Maybe DeploymentType)
- data EdgeMetric = EdgeMetric' {}
- newEdgeMetric :: EdgeMetric
- edgeMetric_dimension :: Lens' EdgeMetric (Maybe Text)
- edgeMetric_metricName :: Lens' EdgeMetric (Maybe Text)
- edgeMetric_timestamp :: Lens' EdgeMetric (Maybe UTCTime)
- edgeMetric_value :: Lens' EdgeMetric (Maybe Double)
- data Model = Model' {}
- newModel :: Model
- model_latestInference :: Lens' Model (Maybe UTCTime)
- model_latestSampleTime :: Lens' Model (Maybe UTCTime)
- model_modelMetrics :: Lens' Model (Maybe [EdgeMetric])
- model_modelName :: Lens' Model (Maybe Text)
- model_modelVersion :: Lens' Model (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2020-09-23 of the Amazon Sagemaker Edge Manager SDK configuration.
Errors
_InternalServiceException :: AsError a => Fold a ServiceError Source #
An internal failure occurred. Try your request again. If the problem persists, contact Amazon Web Services customer support.
ChecksumType
newtype ChecksumType Source #
Constructors
| ChecksumType' | |
Fields | |
Bundled Patterns
| pattern ChecksumType_SHA1 :: ChecksumType |
Instances
DeploymentStatus
newtype DeploymentStatus Source #
Constructors
| DeploymentStatus' | |
Fields | |
Bundled Patterns
| pattern DeploymentStatus_FAIL :: DeploymentStatus | |
| pattern DeploymentStatus_SUCCESS :: DeploymentStatus |
Instances
DeploymentType
newtype DeploymentType Source #
Constructors
| DeploymentType' | |
Fields | |
Bundled Patterns
| pattern DeploymentType_Model :: DeploymentType |
Instances
FailureHandlingPolicy
newtype FailureHandlingPolicy Source #
Constructors
| FailureHandlingPolicy' | |
Fields | |
Bundled Patterns
| pattern FailureHandlingPolicy_DO_NOTHING :: FailureHandlingPolicy | |
| pattern FailureHandlingPolicy_ROLLBACK_ON_FAILURE :: FailureHandlingPolicy |
Instances
ModelState
newtype ModelState Source #
Constructors
| ModelState' | |
Fields | |
Bundled Patterns
| pattern ModelState_DEPLOY :: ModelState | |
| pattern ModelState_UNDEPLOY :: ModelState |
Instances
Checksum
Information about the checksum of a model deployed on a device.
See: newChecksum smart constructor.
Constructors
| Checksum' | |
Instances
| FromJSON Checksum Source # | |
| Generic Checksum Source # | |
| Read Checksum Source # | |
| Show Checksum Source # | |
| NFData Checksum Source # | |
Defined in Amazonka.SageMakerEdge.Types.Checksum | |
| Eq Checksum Source # | |
| Hashable Checksum Source # | |
Defined in Amazonka.SageMakerEdge.Types.Checksum | |
| type Rep Checksum Source # | |
Defined in Amazonka.SageMakerEdge.Types.Checksum type Rep Checksum = D1 ('MetaData "Checksum" "Amazonka.SageMakerEdge.Types.Checksum" "amazonka-sagemaker-edge-2.0-6w4LluEpi0R1S8SkusTG8r" 'False) (C1 ('MetaCons "Checksum'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChecksumType)))) | |
newChecksum :: Checksum Source #
Create a value of Checksum 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:sum:Checksum', checksum_sum - The checksum of the model.
$sel:type':Checksum', checksum_type - The type of the checksum.
checksum_type :: Lens' Checksum (Maybe ChecksumType) Source #
The type of the checksum.
Definition
data Definition Source #
See: newDefinition smart constructor.
Constructors
| Definition' | |
Instances
newDefinition :: Definition Source #
Create a value of Definition 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:checksum:Definition', definition_checksum - The checksum information of the model.
$sel:modelHandle:Definition', definition_modelHandle - The unique model handle.
$sel:s3Url:Definition', definition_s3Url - The absolute S3 location of the model.
$sel:state:Definition', definition_state - The desired state of the model.
definition_checksum :: Lens' Definition (Maybe Checksum) Source #
The checksum information of the model.
definition_modelHandle :: Lens' Definition (Maybe Text) Source #
The unique model handle.
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
data DeploymentModel Source #
See: newDeploymentModel smart constructor.
Constructors
| DeploymentModel' | |
Fields
| |
Instances
newDeploymentModel :: DeploymentModel Source #
Create a value of DeploymentModel 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:desiredState:DeploymentModel', deploymentModel_desiredState - The desired state of the model.
$sel:modelHandle:DeploymentModel', deploymentModel_modelHandle - The unique handle of the model.
$sel:modelName:DeploymentModel', deploymentModel_modelName - The name of the model.
$sel:modelVersion:DeploymentModel', deploymentModel_modelVersion - The version of the model.
$sel:rollbackFailureReason:DeploymentModel', deploymentModel_rollbackFailureReason - Returns the error message if there is a rollback.
$sel:state:DeploymentModel', deploymentModel_state - Returns the current state of the model.
$sel:status:DeploymentModel', deploymentModel_status - Returns the deployment status of the model.
$sel:statusReason:DeploymentModel', deploymentModel_statusReason - Returns the error message for the deployment status result.
deploymentModel_desiredState :: Lens' DeploymentModel (Maybe ModelState) Source #
The desired state of the model.
deploymentModel_modelHandle :: Lens' DeploymentModel (Maybe Text) Source #
The unique handle of the model.
deploymentModel_modelName :: Lens' DeploymentModel (Maybe Text) Source #
The name of the model.
deploymentModel_modelVersion :: Lens' DeploymentModel (Maybe Text) Source #
The version 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
data DeploymentResult Source #
Information about the result of a deployment on an edge device that is registered with SageMaker Edge Manager.
See: newDeploymentResult smart constructor.
Constructors
| DeploymentResult' | |
Fields
| |
Instances
newDeploymentResult :: DeploymentResult Source #
Create a value of DeploymentResult 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:deploymentEndTime:DeploymentResult', deploymentResult_deploymentEndTime - The timestamp of when the deployment was ended, and the agent got the
deployment results.
$sel:deploymentModels:DeploymentResult', deploymentResult_deploymentModels - Returns a list of models deployed on the agent.
$sel:deploymentName:DeploymentResult', deploymentResult_deploymentName - The name and unique ID of the deployment.
$sel:deploymentStartTime:DeploymentResult', deploymentResult_deploymentStartTime - The timestamp of when the deployment was started on the agent.
$sel:deploymentStatus:DeploymentResult', deploymentResult_deploymentStatus - Returns the bucket error code.
$sel:deploymentStatusMessage:DeploymentResult', deploymentResult_deploymentStatusMessage - Returns the detailed error message.
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.
deploymentResult_deploymentStatus :: Lens' DeploymentResult (Maybe Text) Source #
Returns the bucket error code.
deploymentResult_deploymentStatusMessage :: Lens' DeploymentResult (Maybe Text) Source #
Returns the detailed error message.
EdgeDeployment
data EdgeDeployment Source #
Information about a deployment on an edge device that is registered with SageMaker Edge Manager.
See: newEdgeDeployment smart constructor.
Constructors
| EdgeDeployment' | |
Fields
| |
Instances
newEdgeDeployment :: EdgeDeployment Source #
Create a value of EdgeDeployment 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:definitions:EdgeDeployment', edgeDeployment_definitions - Returns a list of Definition objects.
$sel:deploymentName:EdgeDeployment', edgeDeployment_deploymentName - The name and unique ID of the deployment.
$sel:failureHandlingPolicy:EdgeDeployment', edgeDeployment_failureHandlingPolicy - Determines whether to rollback to previous configuration if deployment
fails.
$sel:type':EdgeDeployment', edgeDeployment_type - The type of the deployment.
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.
edgeDeployment_type :: Lens' EdgeDeployment (Maybe DeploymentType) Source #
The type of the deployment.
EdgeMetric
data EdgeMetric Source #
Information required for edge device metrics.
See: newEdgeMetric smart constructor.
Constructors
| EdgeMetric' | |
Instances
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:timestamp:EdgeMetric', edgeMetric_timestamp - Timestamp of when the metric was requested.
$sel:value:EdgeMetric', edgeMetric_value - Returns the value of the metric.
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
Information about a model deployed on an edge device that is registered with SageMaker Edge Manager.
See: newModel smart constructor.
Constructors
| Model' | |
Fields
| |
Instances
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: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.
$sel:modelMetrics:Model', model_modelMetrics - Information required for model metrics.
$sel:modelName:Model', model_modelName - The name of the model.
$sel:modelVersion:Model', model_modelVersion - The version of the 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.