@@ -5,7 +5,11 @@ import { Command as $Command } from "@smithy/smithy-client";
5
5
import { MetadataBearer as __MetadataBearer } from "@smithy/types" ;
6
6
7
7
import { commonParams } from "../endpoint/EndpointParameters" ;
8
- import { DescribeModelPackageInput , DescribeModelPackageOutput } from "../models/models_2" ;
8
+ import {
9
+ DescribeModelPackageInput ,
10
+ DescribeModelPackageOutput ,
11
+ DescribeModelPackageOutputFilterSensitiveLog ,
12
+ } from "../models/models_2" ;
9
13
import { de_DescribeModelPackageCommand , se_DescribeModelPackageCommand } from "../protocols/Aws_json1_1" ;
10
14
import { SageMakerClientResolvedConfig , ServiceInputTypes , ServiceOutputTypes } from "../SageMakerClient" ;
11
15
@@ -29,6 +33,11 @@ export interface DescribeModelPackageCommandOutput extends DescribeModelPackageO
29
33
/**
30
34
* <p>Returns a description of the specified model package, which is used to create SageMaker
31
35
* models or list them on Amazon Web Services Marketplace.</p>
36
+ * <important>
37
+ * <p>If you provided a KMS Key ID when you created your model package,
38
+ * you will see the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html">KMS
39
+ * Decrypt</a> API call in your CloudTrail logs when you use this API.</p>
40
+ * </important>
32
41
* <p>To create models in SageMaker, buyers can subscribe to model packages listed on Amazon Web Services
33
42
* Marketplace.</p>
34
43
* @example
@@ -323,6 +332,13 @@ export interface DescribeModelPackageCommandOutput extends DescribeModelPackageO
323
332
* // ],
324
333
* // SkipModelValidation: "All" || "None",
325
334
* // SourceUri: "STRING_VALUE",
335
+ * // SecurityConfig: { // ModelPackageSecurityConfig
336
+ * // KmsKeyId: "STRING_VALUE", // required
337
+ * // },
338
+ * // ModelCard: { // ModelPackageModelCard
339
+ * // ModelCardContent: "STRING_VALUE",
340
+ * // ModelCardStatus: "Draft" || "PendingReview" || "Approved" || "Archived",
341
+ * // },
326
342
* // };
327
343
*
328
344
* ```
@@ -357,7 +373,7 @@ export class DescribeModelPackageCommand extends $Command
357
373
} )
358
374
. s ( "SageMaker" , "DescribeModelPackage" , { } )
359
375
. n ( "SageMakerClient" , "DescribeModelPackageCommand" )
360
- . f ( void 0 , void 0 )
376
+ . f ( void 0 , DescribeModelPackageOutputFilterSensitiveLog )
361
377
. ser ( se_DescribeModelPackageCommand )
362
378
. de ( de_DescribeModelPackageCommand )
363
379
. build ( ) { }
0 commit comments