amazonka-sagemaker-2.0: Amazon SageMaker Service 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.SageMaker.Types.ModelPackage

Description

 
Synopsis

Documentation

data ModelPackage Source #

A versioned model that can be deployed for SageMaker inference.

See: newModelPackage smart constructor.

Constructors

ModelPackage' 

Fields

Instances

Instances details
FromJSON ModelPackage Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelPackage

Generic ModelPackage Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelPackage

Associated Types

type Rep ModelPackage :: Type -> Type #

Read ModelPackage Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelPackage

Show ModelPackage Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelPackage

NFData ModelPackage Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelPackage

Methods

rnf :: ModelPackage -> () #

Eq ModelPackage Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelPackage

Hashable ModelPackage Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelPackage

type Rep ModelPackage Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ModelPackage

type Rep ModelPackage = D1 ('MetaData "ModelPackage" "Amazonka.SageMaker.Types.ModelPackage" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ModelPackage'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "additionalInferenceSpecifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty AdditionalInferenceSpecificationDefinition))) :*: (S1 ('MetaSel ('Just "approvalDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certifyForMarketplace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserContext)) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "customerMetadataProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))) :*: ((S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "driftCheckBaselines") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DriftCheckBaselines)) :*: S1 ('MetaSel ('Just "inferenceSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InferenceSpecification)))) :*: ((S1 ('MetaSel ('Just "lastModifiedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserContext)) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "metadataProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetadataProperties)) :*: S1 ('MetaSel ('Just "modelApprovalStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelApprovalStatus)))))) :*: (((S1 ('MetaSel ('Just "modelMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelMetrics)) :*: (S1 ('MetaSel ('Just "modelPackageArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "modelPackageDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "modelPackageGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "modelPackageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "modelPackageStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelPackageStatus))))) :*: ((S1 ('MetaSel ('Just "modelPackageStatusDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelPackageStatusDetails)) :*: (S1 ('MetaSel ('Just "modelPackageVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "samplePayloadUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "sourceAlgorithmSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceAlgorithmSpecification)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "task") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "validationSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelPackageValidationSpecification))))))))

newModelPackage :: ModelPackage Source #

Create a value of ModelPackage 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:additionalInferenceSpecifications:ModelPackage', modelPackage_additionalInferenceSpecifications - An array of additional Inference Specification objects.

$sel:approvalDescription:ModelPackage', modelPackage_approvalDescription - A description provided when the model approval is set.

$sel:certifyForMarketplace:ModelPackage', modelPackage_certifyForMarketplace - Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or Model Package on Amazon Web Services Marketplace.

$sel:createdBy:ModelPackage', modelPackage_createdBy - Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.

$sel:creationTime:ModelPackage', modelPackage_creationTime - The time that the model package was created.

$sel:customerMetadataProperties:ModelPackage', modelPackage_customerMetadataProperties - The metadata properties for the model package.

$sel:domain:ModelPackage', modelPackage_domain - The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.

$sel:driftCheckBaselines:ModelPackage', modelPackage_driftCheckBaselines - Represents the drift check baselines that can be used when the model monitor is set using the model package.

$sel:inferenceSpecification:ModelPackage', modelPackage_inferenceSpecification - Defines how to perform inference generation after a training job is run.

$sel:lastModifiedBy:ModelPackage', modelPackage_lastModifiedBy - Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.

$sel:lastModifiedTime:ModelPackage', modelPackage_lastModifiedTime - The last time the model package was modified.

$sel:metadataProperties:ModelPackage', modelPackage_metadataProperties - Metadata properties of the tracking entity, trial, or trial component.

$sel:modelApprovalStatus:ModelPackage', modelPackage_modelApprovalStatus - The approval status of the model. This can be one of the following values.

  • APPROVED - The model is approved
  • REJECTED - The model is rejected.
  • PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.

$sel:modelMetrics:ModelPackage', modelPackage_modelMetrics - Metrics for the model.

$sel:modelPackageArn:ModelPackage', modelPackage_modelPackageArn - The Amazon Resource Name (ARN) of the model package.

$sel:modelPackageDescription:ModelPackage', modelPackage_modelPackageDescription - The description of the model package.

$sel:modelPackageGroupName:ModelPackage', modelPackage_modelPackageGroupName - The model group to which the model belongs.

$sel:modelPackageName:ModelPackage', modelPackage_modelPackageName - The name of the model.

$sel:modelPackageStatus:ModelPackage', modelPackage_modelPackageStatus - The status of the model package. This can be one of the following values.

  • PENDING - The model package is pending being created.
  • IN_PROGRESS - The model package is in the process of being created.
  • COMPLETED - The model package was successfully created.
  • FAILED - The model package failed.
  • DELETING - The model package is in the process of being deleted.

$sel:modelPackageStatusDetails:ModelPackage', modelPackage_modelPackageStatusDetails - Specifies the validation and image scan statuses of the model package.

$sel:modelPackageVersion:ModelPackage', modelPackage_modelPackageVersion - The version number of a versioned model.

$sel:samplePayloadUrl:ModelPackage', modelPackage_samplePayloadUrl - The Amazon Simple Storage Service path where the sample payload are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

$sel:sourceAlgorithmSpecification:ModelPackage', modelPackage_sourceAlgorithmSpecification - A list of algorithms that were used to create a model package.

$sel:tags:ModelPackage', modelPackage_tags - A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

$sel:task:ModelPackage', modelPackage_task - The machine learning task your model package accomplishes. Common machine learning tasks include object detection and image classification.

$sel:validationSpecification:ModelPackage', modelPackage_validationSpecification - Specifies batch transform jobs that SageMaker runs to validate your model package.

modelPackage_approvalDescription :: Lens' ModelPackage (Maybe Text) Source #

A description provided when the model approval is set.

modelPackage_certifyForMarketplace :: Lens' ModelPackage (Maybe Bool) Source #

Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or Model Package on Amazon Web Services Marketplace.

modelPackage_createdBy :: Lens' ModelPackage (Maybe UserContext) Source #

Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.

modelPackage_creationTime :: Lens' ModelPackage (Maybe UTCTime) Source #

The time that the model package was created.

modelPackage_customerMetadataProperties :: Lens' ModelPackage (Maybe (HashMap Text Text)) Source #

The metadata properties for the model package.

modelPackage_domain :: Lens' ModelPackage (Maybe Text) Source #

The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.

modelPackage_driftCheckBaselines :: Lens' ModelPackage (Maybe DriftCheckBaselines) Source #

Represents the drift check baselines that can be used when the model monitor is set using the model package.

modelPackage_inferenceSpecification :: Lens' ModelPackage (Maybe InferenceSpecification) Source #

Defines how to perform inference generation after a training job is run.

modelPackage_lastModifiedBy :: Lens' ModelPackage (Maybe UserContext) Source #

Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.

modelPackage_lastModifiedTime :: Lens' ModelPackage (Maybe UTCTime) Source #

The last time the model package was modified.

modelPackage_metadataProperties :: Lens' ModelPackage (Maybe MetadataProperties) Source #

Metadata properties of the tracking entity, trial, or trial component.

modelPackage_modelApprovalStatus :: Lens' ModelPackage (Maybe ModelApprovalStatus) Source #

The approval status of the model. This can be one of the following values.

  • APPROVED - The model is approved
  • REJECTED - The model is rejected.
  • PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.

modelPackage_modelPackageArn :: Lens' ModelPackage (Maybe Text) Source #

The Amazon Resource Name (ARN) of the model package.

modelPackage_modelPackageDescription :: Lens' ModelPackage (Maybe Text) Source #

The description of the model package.

modelPackage_modelPackageGroupName :: Lens' ModelPackage (Maybe Text) Source #

The model group to which the model belongs.

modelPackage_modelPackageStatus :: Lens' ModelPackage (Maybe ModelPackageStatus) Source #

The status of the model package. This can be one of the following values.

  • PENDING - The model package is pending being created.
  • IN_PROGRESS - The model package is in the process of being created.
  • COMPLETED - The model package was successfully created.
  • FAILED - The model package failed.
  • DELETING - The model package is in the process of being deleted.

modelPackage_modelPackageStatusDetails :: Lens' ModelPackage (Maybe ModelPackageStatusDetails) Source #

Specifies the validation and image scan statuses of the model package.

modelPackage_modelPackageVersion :: Lens' ModelPackage (Maybe Natural) Source #

The version number of a versioned model.

modelPackage_samplePayloadUrl :: Lens' ModelPackage (Maybe Text) Source #

The Amazon Simple Storage Service path where the sample payload are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

modelPackage_sourceAlgorithmSpecification :: Lens' ModelPackage (Maybe SourceAlgorithmSpecification) Source #

A list of algorithms that were used to create a model package.

modelPackage_tags :: Lens' ModelPackage (Maybe [Tag]) Source #

A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

modelPackage_task :: Lens' ModelPackage (Maybe Text) Source #

The machine learning task your model package accomplishes. Common machine learning tasks include object detection and image classification.

modelPackage_validationSpecification :: Lens' ModelPackage (Maybe ModelPackageValidationSpecification) Source #

Specifies batch transform jobs that SageMaker runs to validate your model package.