| 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 | 
Amazonka.SageMaker.CreateModelCard
Description
Creates an Amazon SageMaker Model Card.
For information about how to use model cards, see Amazon SageMaker Model Card.
Synopsis
- data CreateModelCard = CreateModelCard' {}
 - newCreateModelCard :: Text -> Text -> ModelCardStatus -> CreateModelCard
 - createModelCard_securityConfig :: Lens' CreateModelCard (Maybe ModelCardSecurityConfig)
 - createModelCard_tags :: Lens' CreateModelCard (Maybe [Tag])
 - createModelCard_modelCardName :: Lens' CreateModelCard Text
 - createModelCard_content :: Lens' CreateModelCard Text
 - createModelCard_modelCardStatus :: Lens' CreateModelCard ModelCardStatus
 - data CreateModelCardResponse = CreateModelCardResponse' {
- httpStatus :: Int
 - modelCardArn :: Text
 
 - newCreateModelCardResponse :: Int -> Text -> CreateModelCardResponse
 - createModelCardResponse_httpStatus :: Lens' CreateModelCardResponse Int
 - createModelCardResponse_modelCardArn :: Lens' CreateModelCardResponse Text
 
Creating a Request
data CreateModelCard Source #
See: newCreateModelCard smart constructor.
Constructors
| CreateModelCard' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> ModelCardStatus | |
| -> CreateModelCard | 
Create a value of CreateModelCard 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:
CreateModelCard, createModelCard_securityConfig - An optional Key Management Service key to encrypt, decrypt, and
 re-encrypt model card content for regulated workloads with highly
 sensitive data.
CreateModelCard, createModelCard_tags - Key-value pairs used to manage metadata for model cards.
CreateModelCard, createModelCard_modelCardName - The unique name of the model card.
CreateModelCard, createModelCard_content - The content of the model card. Content must be in
 model card JSON schema
 and provided as a string.
CreateModelCard, createModelCard_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.
Request Lenses
createModelCard_securityConfig :: Lens' CreateModelCard (Maybe ModelCardSecurityConfig) Source #
An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.
createModelCard_tags :: Lens' CreateModelCard (Maybe [Tag]) Source #
Key-value pairs used to manage metadata for model cards.
createModelCard_modelCardName :: Lens' CreateModelCard Text Source #
The unique name of the model card.
createModelCard_content :: Lens' CreateModelCard Text Source #
The content of the model card. Content must be in model card JSON schema and provided as a string.
createModelCard_modelCardStatus :: Lens' CreateModelCard 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.
Destructuring the Response
data CreateModelCardResponse Source #
See: newCreateModelCardResponse smart constructor.
Constructors
| CreateModelCardResponse' | |
Fields 
  | |
Instances
newCreateModelCardResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> CreateModelCardResponse | 
Create a value of CreateModelCardResponse 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:httpStatus:CreateModelCardResponse', createModelCardResponse_httpStatus - The response's http status code.
CreateModelCardResponse, createModelCardResponse_modelCardArn - The Amazon Resource Name (ARN) of the successfully created model card.
Response Lenses
createModelCardResponse_httpStatus :: Lens' CreateModelCardResponse Int Source #
The response's http status code.
createModelCardResponse_modelCardArn :: Lens' CreateModelCardResponse Text Source #
The Amazon Resource Name (ARN) of the successfully created model card.