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 |
Describes the content, creation time, and security configuration of an Amazon SageMaker Model Card.
Synopsis
- data DescribeModelCard = DescribeModelCard' {}
- newDescribeModelCard :: Text -> DescribeModelCard
- describeModelCard_modelCardVersion :: Lens' DescribeModelCard (Maybe Int)
- describeModelCard_modelCardName :: Lens' DescribeModelCard Text
- data DescribeModelCardResponse = DescribeModelCardResponse' {
- lastModifiedBy :: Maybe UserContext
- lastModifiedTime :: Maybe POSIX
- modelCardProcessingStatus :: Maybe ModelCardProcessingStatus
- securityConfig :: Maybe ModelCardSecurityConfig
- httpStatus :: Int
- modelCardArn :: Text
- modelCardName :: Text
- modelCardVersion :: Int
- content :: Sensitive Text
- modelCardStatus :: ModelCardStatus
- creationTime :: POSIX
- createdBy :: UserContext
- newDescribeModelCardResponse :: Int -> Text -> Text -> Int -> Text -> ModelCardStatus -> UTCTime -> UserContext -> DescribeModelCardResponse
- describeModelCardResponse_lastModifiedBy :: Lens' DescribeModelCardResponse (Maybe UserContext)
- describeModelCardResponse_lastModifiedTime :: Lens' DescribeModelCardResponse (Maybe UTCTime)
- describeModelCardResponse_modelCardProcessingStatus :: Lens' DescribeModelCardResponse (Maybe ModelCardProcessingStatus)
- describeModelCardResponse_securityConfig :: Lens' DescribeModelCardResponse (Maybe ModelCardSecurityConfig)
- describeModelCardResponse_httpStatus :: Lens' DescribeModelCardResponse Int
- describeModelCardResponse_modelCardArn :: Lens' DescribeModelCardResponse Text
- describeModelCardResponse_modelCardName :: Lens' DescribeModelCardResponse Text
- describeModelCardResponse_modelCardVersion :: Lens' DescribeModelCardResponse Int
- describeModelCardResponse_content :: Lens' DescribeModelCardResponse Text
- describeModelCardResponse_modelCardStatus :: Lens' DescribeModelCardResponse ModelCardStatus
- describeModelCardResponse_creationTime :: Lens' DescribeModelCardResponse UTCTime
- describeModelCardResponse_createdBy :: Lens' DescribeModelCardResponse UserContext
Creating a Request
data DescribeModelCard Source #
See: newDescribeModelCard
smart constructor.
DescribeModelCard' | |
|
Instances
Create a value of DescribeModelCard
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:
DescribeModelCard
, describeModelCard_modelCardVersion
- The version of the model card to describe. If a version is not provided,
then the latest version of the model card is described.
DescribeModelCard
, describeModelCard_modelCardName
- The name of the model card to describe.
Request Lenses
describeModelCard_modelCardVersion :: Lens' DescribeModelCard (Maybe Int) Source #
The version of the model card to describe. If a version is not provided, then the latest version of the model card is described.
describeModelCard_modelCardName :: Lens' DescribeModelCard Text Source #
The name of the model card to describe.
Destructuring the Response
data DescribeModelCardResponse Source #
See: newDescribeModelCardResponse
smart constructor.
DescribeModelCardResponse' | |
|
Instances
newDescribeModelCardResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> Int | |
-> Text | |
-> ModelCardStatus | |
-> UTCTime | |
-> UserContext | |
-> DescribeModelCardResponse |
Create a value of DescribeModelCardResponse
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:
DescribeModelCardResponse
, describeModelCardResponse_lastModifiedBy
- Undocumented member.
DescribeModelCardResponse
, describeModelCardResponse_lastModifiedTime
- The date and time the model card was last modified.
$sel:modelCardProcessingStatus:DescribeModelCardResponse'
, describeModelCardResponse_modelCardProcessingStatus
- The processing status of model card deletion. The
ModelCardProcessingStatus
updates throughout the different deletion
steps.
DeletePending
: Model card deletion request received.DeleteInProgress
: Model card deletion is in progress.ContentDeleted
: Deleted model card content.ExportJobsDeleted
: Deleted all export jobs associated with the model card.DeleteCompleted
: Successfully deleted the model card.DeleteFailed
: The model card failed to delete.
DescribeModelCardResponse
, describeModelCardResponse_securityConfig
- The security configuration used to protect model card content.
$sel:httpStatus:DescribeModelCardResponse'
, describeModelCardResponse_httpStatus
- The response's http status code.
DescribeModelCardResponse
, describeModelCardResponse_modelCardArn
- The Amazon Resource Name (ARN) of the model card.
DescribeModelCard
, describeModelCardResponse_modelCardName
- The name of the model card.
DescribeModelCard
, describeModelCardResponse_modelCardVersion
- The version of the model card.
DescribeModelCardResponse
, describeModelCardResponse_content
- The content of the model card.
DescribeModelCardResponse
, describeModelCardResponse_modelCardStatus
- The approval status of the model card within your organization.
Different organizations might have different criteria for model card
review and approval.
Draft
: The model card is a work in progress.PendingReview
: The model card is pending review.Approved
: The model card is approved.Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
DescribeModelCardResponse
, describeModelCardResponse_creationTime
- The date and time the model card was created.
DescribeModelCardResponse
, describeModelCardResponse_createdBy
- Undocumented member.
Response Lenses
describeModelCardResponse_lastModifiedBy :: Lens' DescribeModelCardResponse (Maybe UserContext) Source #
Undocumented member.
describeModelCardResponse_lastModifiedTime :: Lens' DescribeModelCardResponse (Maybe UTCTime) Source #
The date and time the model card was last modified.
describeModelCardResponse_modelCardProcessingStatus :: Lens' DescribeModelCardResponse (Maybe ModelCardProcessingStatus) Source #
The processing status of model card deletion. The
ModelCardProcessingStatus
updates throughout the different deletion
steps.
DeletePending
: Model card deletion request received.DeleteInProgress
: Model card deletion is in progress.ContentDeleted
: Deleted model card content.ExportJobsDeleted
: Deleted all export jobs associated with the model card.DeleteCompleted
: Successfully deleted the model card.DeleteFailed
: The model card failed to delete.
describeModelCardResponse_securityConfig :: Lens' DescribeModelCardResponse (Maybe ModelCardSecurityConfig) Source #
The security configuration used to protect model card content.
describeModelCardResponse_httpStatus :: Lens' DescribeModelCardResponse Int Source #
The response's http status code.
describeModelCardResponse_modelCardArn :: Lens' DescribeModelCardResponse Text Source #
The Amazon Resource Name (ARN) of the model card.
describeModelCardResponse_modelCardName :: Lens' DescribeModelCardResponse Text Source #
The name of the model card.
describeModelCardResponse_modelCardVersion :: Lens' DescribeModelCardResponse Int Source #
The version of the model card.
describeModelCardResponse_content :: Lens' DescribeModelCardResponse Text Source #
The content of the model card.
describeModelCardResponse_modelCardStatus :: Lens' DescribeModelCardResponse ModelCardStatus Source #
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
Draft
: The model card is a work in progress.PendingReview
: The model card is pending review.Approved
: The model card is approved.Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
describeModelCardResponse_creationTime :: Lens' DescribeModelCardResponse UTCTime Source #
The date and time the model card was created.
describeModelCardResponse_createdBy :: Lens' DescribeModelCardResponse UserContext Source #
Undocumented member.