Skip to content

Commit

Permalink
feat(client-sagemaker): This release adds support for Model Cards Mod…
Browse files Browse the repository at this point in the history
…el Registry integration.
  • Loading branch information
awstools committed Jun 28, 2023
1 parent bb74957 commit 75339d2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions clients/client-sagemaker/src/commands/SearchCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1976,6 +1976,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
* // Tags: "<TagList>",
* // ModelId: "STRING_VALUE",
* // RiskRating: "STRING_VALUE",
* // ModelPackageGroupName: "STRING_VALUE",
* // },
* // },
* // ],
Expand Down
3 changes: 2 additions & 1 deletion clients/client-sagemaker/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8110,7 +8110,8 @@ export interface CreatePipelineRequest {
PipelineDisplayName?: string;

/**
* <p>The JSON pipeline definition of the pipeline.</p>
* <p>The <a href="https://aws-sagemaker-mlops.github.io/sagemaker-model-building-pipeline-definition-JSON-schema/">JSON
* pipeline definition</a> of the pipeline.</p>
*/
PipelineDefinition?: string;

Expand Down
6 changes: 6 additions & 0 deletions clients/client-sagemaker/src/models/models_3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7972,6 +7972,12 @@ export interface ModelCard {
* <p>The risk rating of the model. Different organizations might have different criteria for model card risk ratings. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-cards-risk-rating.html">Risk ratings</a>.</p>
*/
RiskRating?: string;

/**
* <p>The model package group that contains the model package. Only relevant for model cards created for model packages in the Amazon SageMaker Model Registry.
* </p>
*/
ModelPackageGroupName?: string;
}

/**
Expand Down
1 change: 1 addition & 0 deletions clients/client-sagemaker/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26135,6 +26135,7 @@ const de_ModelCard = (output: any, context: __SerdeContext): ModelCard => {
ModelCardStatus: __expectString,
ModelCardVersion: __expectInt32,
ModelId: __expectString,
ModelPackageGroupName: __expectString,
RiskRating: __expectString,
SecurityConfig: _json,
Tags: _json,
Expand Down
8 changes: 7 additions & 1 deletion codegen/sdk-codegen/aws-models/sagemaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -9833,7 +9833,7 @@
"PipelineDefinition": {
"target": "com.amazonaws.sagemaker#PipelineDefinition",
"traits": {
"smithy.api#documentation": "<p>The JSON pipeline definition of the pipeline.</p>"
"smithy.api#documentation": "<p>The <a href=\"https://aws-sagemaker-mlops.github.io/sagemaker-model-building-pipeline-definition-JSON-schema/\">JSON \n pipeline definition</a> of the pipeline.</p>"
}
},
"PipelineDefinitionS3Location": {
Expand Down Expand Up @@ -37268,6 +37268,12 @@
"traits": {
"smithy.api#documentation": "<p>The risk rating of the model. Different organizations might have different criteria for model card risk ratings. For more information, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/model-cards-risk-rating.html\">Risk ratings</a>.</p>"
}
},
"ModelPackageGroupName": {
"target": "com.amazonaws.sagemaker#String",
"traits": {
"smithy.api#documentation": "<p>The model package group that contains the model package. Only relevant for model cards created for model packages in the Amazon SageMaker Model Registry.\n </p>"
}
}
},
"traits": {
Expand Down

0 comments on commit 75339d2

Please sign in to comment.