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 |
Synopsis
- data ModelPackageContainerDefinition = ModelPackageContainerDefinition' {
- modelDataUrl :: Maybe Text
- environment :: Maybe (HashMap Text Text)
- imageDigest :: Maybe Text
- containerHostname :: Maybe Text
- productId :: Maybe Text
- image :: Text
- newModelPackageContainerDefinition :: Text -> ModelPackageContainerDefinition
- modelPackageContainerDefinition_modelDataUrl :: Lens' ModelPackageContainerDefinition (Maybe Text)
- modelPackageContainerDefinition_environment :: Lens' ModelPackageContainerDefinition (Maybe (HashMap Text Text))
- modelPackageContainerDefinition_imageDigest :: Lens' ModelPackageContainerDefinition (Maybe Text)
- modelPackageContainerDefinition_containerHostname :: Lens' ModelPackageContainerDefinition (Maybe Text)
- modelPackageContainerDefinition_productId :: Lens' ModelPackageContainerDefinition (Maybe Text)
- modelPackageContainerDefinition_image :: Lens' ModelPackageContainerDefinition Text
Documentation
data ModelPackageContainerDefinition Source #
Describes the Docker container for the model package.
See: newModelPackageContainerDefinition
smart constructor.
ModelPackageContainerDefinition' | |
|
Instances
newModelPackageContainerDefinition Source #
Create a value of ModelPackageContainerDefinition
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:modelDataUrl:ModelPackageContainerDefinition'
, modelPackageContainerDefinition_modelDataUrl
- The Amazon S3 path where the model artifacts, which result from model
training, are stored. This path must point to a single gzip
compressed
tar archive (.tar.gz
suffix).
The model artifacts must be in an S3 bucket that is in the same region as the model package.
$sel:environment:ModelPackageContainerDefinition'
, modelPackageContainerDefinition_environment
- The environment variables to set in the Docker container. Each key and
value in the Environment
string to string map can have length of up to
1024. We support up to 16 entries in the map.
$sel:imageDigest:ModelPackageContainerDefinition'
, modelPackageContainerDefinition_imageDigest
- An MD5 hash of the training algorithm that identifies the Docker image
used for training.
$sel:containerHostname:ModelPackageContainerDefinition'
, modelPackageContainerDefinition_containerHostname
- The DNS host name for the Docker container.
$sel:productId:ModelPackageContainerDefinition'
, modelPackageContainerDefinition_productId
- The Amazon Web Services Marketplace product ID of the model package.
$sel:image:ModelPackageContainerDefinition'
, modelPackageContainerDefinition_image
- The Amazon EC2 Container Registry (Amazon ECR) path where inference code
is stored.
If you are using your own custom algorithm instead of an algorithm
provided by Amazon SageMaker, the inference code must meet Amazon
SageMaker requirements. Amazon SageMaker supports both
registry/repository[:tag]
and registry/repository[@digest]
image
path formats. For more information, see
Using Your Own Algorithms with Amazon SageMaker.
modelPackageContainerDefinition_modelDataUrl :: Lens' ModelPackageContainerDefinition (Maybe Text) Source #
The Amazon S3 path where the model artifacts, which result from model
training, are stored. This path must point to a single gzip
compressed
tar archive (.tar.gz
suffix).
The model artifacts must be in an S3 bucket that is in the same region as the model package.
modelPackageContainerDefinition_environment :: Lens' ModelPackageContainerDefinition (Maybe (HashMap Text Text)) Source #
The environment variables to set in the Docker container. Each key and
value in the Environment
string to string map can have length of up to
1024. We support up to 16 entries in the map.
modelPackageContainerDefinition_imageDigest :: Lens' ModelPackageContainerDefinition (Maybe Text) Source #
An MD5 hash of the training algorithm that identifies the Docker image used for training.
modelPackageContainerDefinition_containerHostname :: Lens' ModelPackageContainerDefinition (Maybe Text) Source #
The DNS host name for the Docker container.
modelPackageContainerDefinition_productId :: Lens' ModelPackageContainerDefinition (Maybe Text) Source #
The Amazon Web Services Marketplace product ID of the model package.
modelPackageContainerDefinition_image :: Lens' ModelPackageContainerDefinition Text Source #
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
If you are using your own custom algorithm instead of an algorithm
provided by Amazon SageMaker, the inference code must meet Amazon
SageMaker requirements. Amazon SageMaker supports both
registry/repository[:tag]
and registry/repository[@digest]
image
path formats. For more information, see
Using Your Own Algorithms with Amazon SageMaker.