#[non_exhaustive]pub struct UpdateModelCardInput { /* private fields */ }
Implementations§
source§impl UpdateModelCardInput
impl UpdateModelCardInput
sourcepub fn model_card_name(&self) -> Option<&str>
pub fn model_card_name(&self) -> Option<&str>
The name of the model card to update.
sourcepub fn content(&self) -> Option<&str>
pub fn content(&self) -> Option<&str>
The updated model card content. Content must be in model card JSON schema and provided as a string.
When updating model card content, be sure to include the full content and not just updated content.
sourcepub fn model_card_status(&self) -> Option<&ModelCardStatus>
pub fn model_card_status(&self) -> Option<&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.
source§impl UpdateModelCardInput
impl UpdateModelCardInput
sourcepub fn builder() -> UpdateModelCardInputBuilder
pub fn builder() -> UpdateModelCardInputBuilder
Creates a new builder-style object to manufacture UpdateModelCardInput
.
source§impl UpdateModelCardInput
impl UpdateModelCardInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateModelCard, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<UpdateModelCard, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateModelCard
>
Trait Implementations§
source§impl Clone for UpdateModelCardInput
impl Clone for UpdateModelCardInput
source§fn clone(&self) -> UpdateModelCardInput
fn clone(&self) -> UpdateModelCardInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateModelCardInput
impl Debug for UpdateModelCardInput
source§impl PartialEq<UpdateModelCardInput> for UpdateModelCardInput
impl PartialEq<UpdateModelCardInput> for UpdateModelCardInput
source§fn eq(&self, other: &UpdateModelCardInput) -> bool
fn eq(&self, other: &UpdateModelCardInput) -> bool
self
and other
values to be equal, and is used
by ==
.