create_model_card
async
¶
create_model_card(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
model_card_name: Optional[EntityName] = None,
security_config: Optional[ModelCardSecurityConfig] = None,
content: Optional[ModelCardContent] = None,
model_card_status: Optional[ModelCardStatus] = None,
tags: Optional[TagList] = None,
) -> CreateModelCardResponse
Creates an Amazon SageMaker Model Card.
For information about how to use model cards, see Amazon SageMaker Model Card.
Parameters:
-
model_card_name(Optional[EntityName], default:None) –The unique name of the model card.
-
security_config(Optional[ModelCardSecurityConfig], default:None) –An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.
-
content(Optional[ModelCardContent], default:None) –The content of the model card. Content must be in model card JSON schema and provided as a string.
-
model_card_status(Optional[ModelCardStatus], default:None) –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.
-
-
tags(Optional[TagList], default:None) –Key-value pairs used to manage metadata for model cards.
Raises:
-
ConflictException–There was a conflict when you attempted to modify a SageMaker entity such as an
ExperimentorArtifact. -
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 | |