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 |
Returns a description of the specified model package, which is used to create SageMaker models or list them on Amazon Web Services Marketplace.
To create models in SageMaker, buyers can subscribe to model packages listed on Amazon Web Services Marketplace.
Synopsis
- data DescribeModelPackage = DescribeModelPackage' {}
- newDescribeModelPackage :: Text -> DescribeModelPackage
- describeModelPackage_modelPackageName :: Lens' DescribeModelPackage Text
- data DescribeModelPackageResponse = DescribeModelPackageResponse' {
- additionalInferenceSpecifications :: Maybe (NonEmpty AdditionalInferenceSpecificationDefinition)
- approvalDescription :: Maybe Text
- certifyForMarketplace :: Maybe Bool
- createdBy :: Maybe UserContext
- customerMetadataProperties :: Maybe (HashMap Text Text)
- domain :: Maybe Text
- driftCheckBaselines :: Maybe DriftCheckBaselines
- inferenceSpecification :: Maybe InferenceSpecification
- lastModifiedBy :: Maybe UserContext
- lastModifiedTime :: Maybe POSIX
- metadataProperties :: Maybe MetadataProperties
- modelApprovalStatus :: Maybe ModelApprovalStatus
- modelMetrics :: Maybe ModelMetrics
- modelPackageDescription :: Maybe Text
- modelPackageGroupName :: Maybe Text
- modelPackageVersion :: Maybe Natural
- samplePayloadUrl :: Maybe Text
- sourceAlgorithmSpecification :: Maybe SourceAlgorithmSpecification
- task :: Maybe Text
- validationSpecification :: Maybe ModelPackageValidationSpecification
- httpStatus :: Int
- modelPackageName :: Text
- modelPackageArn :: Text
- creationTime :: POSIX
- modelPackageStatus :: ModelPackageStatus
- modelPackageStatusDetails :: ModelPackageStatusDetails
- newDescribeModelPackageResponse :: Int -> Text -> Text -> UTCTime -> ModelPackageStatus -> ModelPackageStatusDetails -> DescribeModelPackageResponse
- describeModelPackageResponse_additionalInferenceSpecifications :: Lens' DescribeModelPackageResponse (Maybe (NonEmpty AdditionalInferenceSpecificationDefinition))
- describeModelPackageResponse_approvalDescription :: Lens' DescribeModelPackageResponse (Maybe Text)
- describeModelPackageResponse_certifyForMarketplace :: Lens' DescribeModelPackageResponse (Maybe Bool)
- describeModelPackageResponse_createdBy :: Lens' DescribeModelPackageResponse (Maybe UserContext)
- describeModelPackageResponse_customerMetadataProperties :: Lens' DescribeModelPackageResponse (Maybe (HashMap Text Text))
- describeModelPackageResponse_domain :: Lens' DescribeModelPackageResponse (Maybe Text)
- describeModelPackageResponse_driftCheckBaselines :: Lens' DescribeModelPackageResponse (Maybe DriftCheckBaselines)
- describeModelPackageResponse_inferenceSpecification :: Lens' DescribeModelPackageResponse (Maybe InferenceSpecification)
- describeModelPackageResponse_lastModifiedBy :: Lens' DescribeModelPackageResponse (Maybe UserContext)
- describeModelPackageResponse_lastModifiedTime :: Lens' DescribeModelPackageResponse (Maybe UTCTime)
- describeModelPackageResponse_metadataProperties :: Lens' DescribeModelPackageResponse (Maybe MetadataProperties)
- describeModelPackageResponse_modelApprovalStatus :: Lens' DescribeModelPackageResponse (Maybe ModelApprovalStatus)
- describeModelPackageResponse_modelMetrics :: Lens' DescribeModelPackageResponse (Maybe ModelMetrics)
- describeModelPackageResponse_modelPackageDescription :: Lens' DescribeModelPackageResponse (Maybe Text)
- describeModelPackageResponse_modelPackageGroupName :: Lens' DescribeModelPackageResponse (Maybe Text)
- describeModelPackageResponse_modelPackageVersion :: Lens' DescribeModelPackageResponse (Maybe Natural)
- describeModelPackageResponse_samplePayloadUrl :: Lens' DescribeModelPackageResponse (Maybe Text)
- describeModelPackageResponse_sourceAlgorithmSpecification :: Lens' DescribeModelPackageResponse (Maybe SourceAlgorithmSpecification)
- describeModelPackageResponse_task :: Lens' DescribeModelPackageResponse (Maybe Text)
- describeModelPackageResponse_validationSpecification :: Lens' DescribeModelPackageResponse (Maybe ModelPackageValidationSpecification)
- describeModelPackageResponse_httpStatus :: Lens' DescribeModelPackageResponse Int
- describeModelPackageResponse_modelPackageName :: Lens' DescribeModelPackageResponse Text
- describeModelPackageResponse_modelPackageArn :: Lens' DescribeModelPackageResponse Text
- describeModelPackageResponse_creationTime :: Lens' DescribeModelPackageResponse UTCTime
- describeModelPackageResponse_modelPackageStatus :: Lens' DescribeModelPackageResponse ModelPackageStatus
- describeModelPackageResponse_modelPackageStatusDetails :: Lens' DescribeModelPackageResponse ModelPackageStatusDetails
Creating a Request
data DescribeModelPackage Source #
See: newDescribeModelPackage
smart constructor.
DescribeModelPackage' | |
|
Instances
newDescribeModelPackage Source #
Create a value of DescribeModelPackage
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:
DescribeModelPackage
, describeModelPackage_modelPackageName
- The name or Amazon Resource Name (ARN) of the model package to describe.
When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
Request Lenses
describeModelPackage_modelPackageName :: Lens' DescribeModelPackage Text Source #
The name or Amazon Resource Name (ARN) of the model package to describe.
When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
Destructuring the Response
data DescribeModelPackageResponse Source #
See: newDescribeModelPackageResponse
smart constructor.
DescribeModelPackageResponse' | |
|
Instances
newDescribeModelPackageResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> UTCTime | |
-> ModelPackageStatus | |
-> ModelPackageStatusDetails | |
-> DescribeModelPackageResponse |
Create a value of DescribeModelPackageResponse
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:
DescribeModelPackageResponse
, describeModelPackageResponse_additionalInferenceSpecifications
- An array of additional Inference Specification objects. Each additional
Inference Specification specifies artifacts based on this model package
that can be used on inference endpoints. Generally used with SageMaker
Neo to store the compiled artifacts.
DescribeModelPackageResponse
, describeModelPackageResponse_approvalDescription
- A description provided for the model approval.
DescribeModelPackageResponse
, describeModelPackageResponse_certifyForMarketplace
- Whether the model package is certified for listing on Amazon Web
Services Marketplace.
DescribeModelPackageResponse
, describeModelPackageResponse_createdBy
- Undocumented member.
DescribeModelPackageResponse
, describeModelPackageResponse_customerMetadataProperties
- The metadata properties associated with the model package versions.
DescribeModelPackageResponse
, describeModelPackageResponse_domain
- The machine learning domain of the model package you specified. Common
machine learning domains include computer vision and natural language
processing.
DescribeModelPackageResponse
, describeModelPackageResponse_driftCheckBaselines
- Represents the drift check baselines that can be used when the model
monitor is set using the model package. For more information, see the
topic on
Drift Detection against Previous Baselines in SageMaker Pipelines
in the Amazon SageMaker Developer Guide.
DescribeModelPackageResponse
, describeModelPackageResponse_inferenceSpecification
- Details about inference jobs that can be run with models based on this
model package.
DescribeModelPackageResponse
, describeModelPackageResponse_lastModifiedBy
- Undocumented member.
DescribeModelPackageResponse
, describeModelPackageResponse_lastModifiedTime
- The last time that the model package was modified.
DescribeModelPackageResponse
, describeModelPackageResponse_metadataProperties
- Undocumented member.
DescribeModelPackageResponse
, describeModelPackageResponse_modelApprovalStatus
- The approval status of the model package.
DescribeModelPackageResponse
, describeModelPackageResponse_modelMetrics
- Metrics for the model.
DescribeModelPackageResponse
, describeModelPackageResponse_modelPackageDescription
- A brief summary of the model package.
DescribeModelPackageResponse
, describeModelPackageResponse_modelPackageGroupName
- If the model is a versioned model, the name of the model group that the
versioned model belongs to.
DescribeModelPackageResponse
, describeModelPackageResponse_modelPackageVersion
- The version of the model package.
DescribeModelPackageResponse
, describeModelPackageResponse_samplePayloadUrl
- The Amazon Simple Storage Service (Amazon S3) path where the sample
payload are stored. This path points to a single gzip compressed tar
archive (.tar.gz suffix).
DescribeModelPackageResponse
, describeModelPackageResponse_sourceAlgorithmSpecification
- Details about the algorithm that was used to create the model package.
DescribeModelPackageResponse
, describeModelPackageResponse_task
- The machine learning task you specified that your model package
accomplishes. Common machine learning tasks include object detection and
image classification.
DescribeModelPackageResponse
, describeModelPackageResponse_validationSpecification
- Configurations for one or more transform jobs that SageMaker runs to
test the model package.
$sel:httpStatus:DescribeModelPackageResponse'
, describeModelPackageResponse_httpStatus
- The response's http status code.
DescribeModelPackage
, describeModelPackageResponse_modelPackageName
- The name of the model package being described.
DescribeModelPackageResponse
, describeModelPackageResponse_modelPackageArn
- The Amazon Resource Name (ARN) of the model package.
DescribeModelPackageResponse
, describeModelPackageResponse_creationTime
- A timestamp specifying when the model package was created.
DescribeModelPackageResponse
, describeModelPackageResponse_modelPackageStatus
- The current status of the model package.
DescribeModelPackageResponse
, describeModelPackageResponse_modelPackageStatusDetails
- Details about the current status of the model package.
Response Lenses
describeModelPackageResponse_additionalInferenceSpecifications :: Lens' DescribeModelPackageResponse (Maybe (NonEmpty AdditionalInferenceSpecificationDefinition)) Source #
An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
describeModelPackageResponse_approvalDescription :: Lens' DescribeModelPackageResponse (Maybe Text) Source #
A description provided for the model approval.
describeModelPackageResponse_certifyForMarketplace :: Lens' DescribeModelPackageResponse (Maybe Bool) Source #
Whether the model package is certified for listing on Amazon Web Services Marketplace.
describeModelPackageResponse_createdBy :: Lens' DescribeModelPackageResponse (Maybe UserContext) Source #
Undocumented member.
describeModelPackageResponse_customerMetadataProperties :: Lens' DescribeModelPackageResponse (Maybe (HashMap Text Text)) Source #
The metadata properties associated with the model package versions.
describeModelPackageResponse_domain :: Lens' DescribeModelPackageResponse (Maybe Text) Source #
The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.
describeModelPackageResponse_driftCheckBaselines :: Lens' DescribeModelPackageResponse (Maybe DriftCheckBaselines) Source #
Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer Guide.
describeModelPackageResponse_inferenceSpecification :: Lens' DescribeModelPackageResponse (Maybe InferenceSpecification) Source #
Details about inference jobs that can be run with models based on this model package.
describeModelPackageResponse_lastModifiedBy :: Lens' DescribeModelPackageResponse (Maybe UserContext) Source #
Undocumented member.
describeModelPackageResponse_lastModifiedTime :: Lens' DescribeModelPackageResponse (Maybe UTCTime) Source #
The last time that the model package was modified.
describeModelPackageResponse_metadataProperties :: Lens' DescribeModelPackageResponse (Maybe MetadataProperties) Source #
Undocumented member.
describeModelPackageResponse_modelApprovalStatus :: Lens' DescribeModelPackageResponse (Maybe ModelApprovalStatus) Source #
The approval status of the model package.
describeModelPackageResponse_modelMetrics :: Lens' DescribeModelPackageResponse (Maybe ModelMetrics) Source #
Metrics for the model.
describeModelPackageResponse_modelPackageDescription :: Lens' DescribeModelPackageResponse (Maybe Text) Source #
A brief summary of the model package.
describeModelPackageResponse_modelPackageGroupName :: Lens' DescribeModelPackageResponse (Maybe Text) Source #
If the model is a versioned model, the name of the model group that the versioned model belongs to.
describeModelPackageResponse_modelPackageVersion :: Lens' DescribeModelPackageResponse (Maybe Natural) Source #
The version of the model package.
describeModelPackageResponse_samplePayloadUrl :: Lens' DescribeModelPackageResponse (Maybe Text) Source #
The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).
describeModelPackageResponse_sourceAlgorithmSpecification :: Lens' DescribeModelPackageResponse (Maybe SourceAlgorithmSpecification) Source #
Details about the algorithm that was used to create the model package.
describeModelPackageResponse_task :: Lens' DescribeModelPackageResponse (Maybe Text) Source #
The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.
describeModelPackageResponse_validationSpecification :: Lens' DescribeModelPackageResponse (Maybe ModelPackageValidationSpecification) Source #
Configurations for one or more transform jobs that SageMaker runs to test the model package.
describeModelPackageResponse_httpStatus :: Lens' DescribeModelPackageResponse Int Source #
The response's http status code.
describeModelPackageResponse_modelPackageName :: Lens' DescribeModelPackageResponse Text Source #
The name of the model package being described.
describeModelPackageResponse_modelPackageArn :: Lens' DescribeModelPackageResponse Text Source #
The Amazon Resource Name (ARN) of the model package.
describeModelPackageResponse_creationTime :: Lens' DescribeModelPackageResponse UTCTime Source #
A timestamp specifying when the model package was created.
describeModelPackageResponse_modelPackageStatus :: Lens' DescribeModelPackageResponse ModelPackageStatus Source #
The current status of the model package.
describeModelPackageResponse_modelPackageStatusDetails :: Lens' DescribeModelPackageResponse ModelPackageStatusDetails Source #
Details about the current status of the model package.