Skip to content

Commit 75339d2

Browse files
author
awstools
committed
feat(client-sagemaker): This release adds support for Model Cards Model Registry integration.
1 parent bb74957 commit 75339d2

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

clients/client-sagemaker/src/commands/SearchCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1976,6 +1976,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
19761976
* // Tags: "<TagList>",
19771977
* // ModelId: "STRING_VALUE",
19781978
* // RiskRating: "STRING_VALUE",
1979+
* // ModelPackageGroupName: "STRING_VALUE",
19791980
* // },
19801981
* // },
19811982
* // ],

clients/client-sagemaker/src/models/models_1.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -8110,7 +8110,8 @@ export interface CreatePipelineRequest {
81108110
PipelineDisplayName?: string;
81118111

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

clients/client-sagemaker/src/models/models_3.ts

+6
Original file line numberDiff line numberDiff line change
@@ -7972,6 +7972,12 @@ export interface ModelCard {
79727972
* <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>
79737973
*/
79747974
RiskRating?: string;
7975+
7976+
/**
7977+
* <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.
7978+
* </p>
7979+
*/
7980+
ModelPackageGroupName?: string;
79757981
}
79767982

79777983
/**

clients/client-sagemaker/src/protocols/Aws_json1_1.ts

+1
Original file line numberDiff line numberDiff line change
@@ -26135,6 +26135,7 @@ const de_ModelCard = (output: any, context: __SerdeContext): ModelCard => {
2613526135
ModelCardStatus: __expectString,
2613626136
ModelCardVersion: __expectInt32,
2613726137
ModelId: __expectString,
26138+
ModelPackageGroupName: __expectString,
2613826139
RiskRating: __expectString,
2613926140
SecurityConfig: _json,
2614026141
Tags: _json,

codegen/sdk-codegen/aws-models/sagemaker.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -9833,7 +9833,7 @@
98339833
"PipelineDefinition": {
98349834
"target": "com.amazonaws.sagemaker#PipelineDefinition",
98359835
"traits": {
9836-
"smithy.api#documentation": "<p>The JSON pipeline definition of the pipeline.</p>"
9836+
"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>"
98379837
}
98389838
},
98399839
"PipelineDefinitionS3Location": {
@@ -37268,6 +37268,12 @@
3726837268
"traits": {
3726937269
"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>"
3727037270
}
37271+
},
37272+
"ModelPackageGroupName": {
37273+
"target": "com.amazonaws.sagemaker#String",
37274+
"traits": {
37275+
"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>"
37276+
}
3727137277
}
3727237278
},
3727337279
"traits": {

0 commit comments

Comments
 (0)