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 |
Returns a description of the specified model package, which is used to create Amazon SageMaker models or list them on Amazon Web Services Marketplace.
To create models in Amazon 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' {
- metadataProperties :: Maybe MetadataProperties
- modelApprovalStatus :: Maybe ModelApprovalStatus
- sourceAlgorithmSpecification :: Maybe SourceAlgorithmSpecification
- modelMetrics :: Maybe ModelMetrics
- modelPackageDescription :: Maybe Text
- createdBy :: Maybe UserContext
- lastModifiedTime :: Maybe POSIX
- validationSpecification :: Maybe ModelPackageValidationSpecification
- inferenceSpecification :: Maybe InferenceSpecification
- approvalDescription :: Maybe Text
- modelPackageVersion :: Maybe Natural
- certifyForMarketplace :: Maybe Bool
- modelPackageGroupName :: Maybe Text
- lastModifiedBy :: Maybe UserContext
- httpStatus :: Int
- modelPackageName :: Text
- modelPackageArn :: Text
- creationTime :: POSIX
- modelPackageStatus :: ModelPackageStatus
- modelPackageStatusDetails :: ModelPackageStatusDetails
- newDescribeModelPackageResponse :: Int -> Text -> Text -> UTCTime -> ModelPackageStatus -> ModelPackageStatusDetails -> DescribeModelPackageResponse
- describeModelPackageResponse_metadataProperties :: Lens' DescribeModelPackageResponse (Maybe MetadataProperties)
- describeModelPackageResponse_modelApprovalStatus :: Lens' DescribeModelPackageResponse (Maybe ModelApprovalStatus)
- describeModelPackageResponse_sourceAlgorithmSpecification :: Lens' DescribeModelPackageResponse (Maybe SourceAlgorithmSpecification)
- describeModelPackageResponse_modelMetrics :: Lens' DescribeModelPackageResponse (Maybe ModelMetrics)
- describeModelPackageResponse_modelPackageDescription :: Lens' DescribeModelPackageResponse (Maybe Text)
- describeModelPackageResponse_createdBy :: Lens' DescribeModelPackageResponse (Maybe UserContext)
- describeModelPackageResponse_lastModifiedTime :: Lens' DescribeModelPackageResponse (Maybe UTCTime)
- describeModelPackageResponse_validationSpecification :: Lens' DescribeModelPackageResponse (Maybe ModelPackageValidationSpecification)
- describeModelPackageResponse_inferenceSpecification :: Lens' DescribeModelPackageResponse (Maybe InferenceSpecification)
- describeModelPackageResponse_approvalDescription :: Lens' DescribeModelPackageResponse (Maybe Text)
- describeModelPackageResponse_modelPackageVersion :: Lens' DescribeModelPackageResponse (Maybe Natural)
- describeModelPackageResponse_certifyForMarketplace :: Lens' DescribeModelPackageResponse (Maybe Bool)
- describeModelPackageResponse_modelPackageGroupName :: Lens' DescribeModelPackageResponse (Maybe Text)
- describeModelPackageResponse_lastModifiedBy :: Lens' DescribeModelPackageResponse (Maybe UserContext)
- 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:
$sel:modelPackageName: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:
$sel:metadataProperties:DescribeModelPackageResponse'
, describeModelPackageResponse_metadataProperties
- Undocumented member.
$sel:modelApprovalStatus:DescribeModelPackageResponse'
, describeModelPackageResponse_modelApprovalStatus
- The approval status of the model package.
$sel:sourceAlgorithmSpecification:DescribeModelPackageResponse'
, describeModelPackageResponse_sourceAlgorithmSpecification
- Details about the algorithm that was used to create the model package.
$sel:modelMetrics:DescribeModelPackageResponse'
, describeModelPackageResponse_modelMetrics
- Metrics for the model.
$sel:modelPackageDescription:DescribeModelPackageResponse'
, describeModelPackageResponse_modelPackageDescription
- A brief summary of the model package.
$sel:createdBy:DescribeModelPackageResponse'
, describeModelPackageResponse_createdBy
- Undocumented member.
$sel:lastModifiedTime:DescribeModelPackageResponse'
, describeModelPackageResponse_lastModifiedTime
- The last time the model package was modified.
$sel:validationSpecification:DescribeModelPackageResponse'
, describeModelPackageResponse_validationSpecification
- Configurations for one or more transform jobs that Amazon SageMaker runs
to test the model package.
$sel:inferenceSpecification:DescribeModelPackageResponse'
, describeModelPackageResponse_inferenceSpecification
- Details about inference jobs that can be run with models based on this
model package.
$sel:approvalDescription:DescribeModelPackageResponse'
, describeModelPackageResponse_approvalDescription
- A description provided for the model approval.
$sel:modelPackageVersion:DescribeModelPackageResponse'
, describeModelPackageResponse_modelPackageVersion
- The version of the model package.
$sel:certifyForMarketplace:DescribeModelPackageResponse'
, describeModelPackageResponse_certifyForMarketplace
- Whether the model package is certified for listing on Amazon Web
Services Marketplace.
$sel:modelPackageGroupName:DescribeModelPackageResponse'
, describeModelPackageResponse_modelPackageGroupName
- If the model is a versioned model, the name of the model group that the
versioned model belongs to.
$sel:lastModifiedBy:DescribeModelPackageResponse'
, describeModelPackageResponse_lastModifiedBy
- Undocumented member.
$sel:httpStatus:DescribeModelPackageResponse'
, describeModelPackageResponse_httpStatus
- The response's http status code.
$sel:modelPackageName:DescribeModelPackage'
, describeModelPackageResponse_modelPackageName
- The name of the model package being described.
$sel:modelPackageArn:DescribeModelPackageResponse'
, describeModelPackageResponse_modelPackageArn
- The Amazon Resource Name (ARN) of the model package.
$sel:creationTime:DescribeModelPackageResponse'
, describeModelPackageResponse_creationTime
- A timestamp specifying when the model package was created.
$sel:modelPackageStatus:DescribeModelPackageResponse'
, describeModelPackageResponse_modelPackageStatus
- The current status of the model package.
$sel:modelPackageStatusDetails:DescribeModelPackageResponse'
, describeModelPackageResponse_modelPackageStatusDetails
- Details about the current status of the model package.
Response Lenses
describeModelPackageResponse_metadataProperties :: Lens' DescribeModelPackageResponse (Maybe MetadataProperties) Source #
Undocumented member.
describeModelPackageResponse_modelApprovalStatus :: Lens' DescribeModelPackageResponse (Maybe ModelApprovalStatus) Source #
The approval status of the model package.
describeModelPackageResponse_sourceAlgorithmSpecification :: Lens' DescribeModelPackageResponse (Maybe SourceAlgorithmSpecification) Source #
Details about the algorithm that was used to create 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_createdBy :: Lens' DescribeModelPackageResponse (Maybe UserContext) Source #
Undocumented member.
describeModelPackageResponse_lastModifiedTime :: Lens' DescribeModelPackageResponse (Maybe UTCTime) Source #
The last time the model package was modified.
describeModelPackageResponse_validationSpecification :: Lens' DescribeModelPackageResponse (Maybe ModelPackageValidationSpecification) Source #
Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
describeModelPackageResponse_inferenceSpecification :: Lens' DescribeModelPackageResponse (Maybe InferenceSpecification) Source #
Details about inference jobs that can be run with models based on this model package.
describeModelPackageResponse_approvalDescription :: Lens' DescribeModelPackageResponse (Maybe Text) Source #
A description provided for the model approval.
describeModelPackageResponse_modelPackageVersion :: Lens' DescribeModelPackageResponse (Maybe Natural) Source #
The version of the model package.
describeModelPackageResponse_certifyForMarketplace :: Lens' DescribeModelPackageResponse (Maybe Bool) Source #
Whether the model package is certified for listing on Amazon Web Services Marketplace.
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_lastModifiedBy :: Lens' DescribeModelPackageResponse (Maybe UserContext) Source #
Undocumented member.
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.