@@ -243,6 +243,49 @@ export interface RecommendationJobInputConfig {
243
243
* <p>Specifies the endpoint configuration to use for a job.</p>
244
244
*/
245
245
EndpointConfigurations ?: EndpointInputConfiguration [ ] ;
246
+
247
+ /**
248
+ * <p>The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key
249
+ * that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
250
+ * This key will be passed to SageMaker Hosting for endpoint creation. </p>
251
+ *
252
+ * <p>The SageMaker execution role must have <code>kms:CreateGrant</code> permission in order to encrypt data on the storage
253
+ * volume of the endpoints created for inference recommendation. The inference recommendation job will fail
254
+ * asynchronously during endpoint configuration creation if the role passed does not have
255
+ * <code>kms:CreateGrant</code> permission.</p>
256
+ *
257
+ * <p>The <code>KmsKeyId</code> can be any of the following formats:</p>
258
+ * <ul>
259
+ * <li>
260
+ * <p>// KMS Key ID</p>
261
+ * <p>
262
+ * <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
263
+ * </p>
264
+ * </li>
265
+ * <li>
266
+ * <p>// Amazon Resource Name (ARN) of a KMS Key</p>
267
+ * <p>
268
+ * <code>"arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"</code>
269
+ * </p>
270
+ * </li>
271
+ * <li>
272
+ * <p>// KMS Key Alias</p>
273
+ * <p>
274
+ * <code>"alias/ExampleAlias"</code>
275
+ * </p>
276
+ * </li>
277
+ * <li>
278
+ * <p>// Amazon Resource Name (ARN) of a KMS Key Alias</p>
279
+ * <p>
280
+ * <code>"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"</code>
281
+ * </p>
282
+ * </li>
283
+ * </ul>
284
+ * <p>For more information about key identifiers, see
285
+ * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-id">Key identifiers (KeyID)</a> in the
286
+ * Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.</p>
287
+ */
288
+ VolumeKmsKeyId ?: string ;
246
289
}
247
290
248
291
export namespace RecommendationJobInputConfig {
@@ -259,6 +302,85 @@ export enum RecommendationJobType {
259
302
DEFAULT = "Default" ,
260
303
}
261
304
305
+ /**
306
+ * <p>Provides information about the output configuration for the compiled
307
+ * model.</p>
308
+ */
309
+ export interface RecommendationJobCompiledOutputConfig {
310
+ /**
311
+ * <p>Identifies the Amazon S3 bucket where you want SageMaker to store the
312
+ * compiled model artifacts.</p>
313
+ */
314
+ S3OutputUri ?: string ;
315
+ }
316
+
317
+ export namespace RecommendationJobCompiledOutputConfig {
318
+ /**
319
+ * @internal
320
+ */
321
+ export const filterSensitiveLog = ( obj : RecommendationJobCompiledOutputConfig ) : any => ( {
322
+ ...obj ,
323
+ } ) ;
324
+ }
325
+
326
+ /**
327
+ * <p>Provides information about the output configuration for the compiled model.</p>
328
+ */
329
+ export interface RecommendationJobOutputConfig {
330
+ /**
331
+ * <p>The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key
332
+ * that Amazon SageMaker uses to encrypt your output artifacts with Amazon S3 server-side encryption.
333
+ * The SageMaker execution role must have <code>kms:GenerateDataKey</code> permission.</p>
334
+ *
335
+ * <p>The <code>KmsKeyId</code> can be any of the following formats:</p>
336
+ * <ul>
337
+ * <li>
338
+ * <p>// KMS Key ID</p>
339
+ * <p>
340
+ * <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
341
+ * </p>
342
+ * </li>
343
+ * <li>
344
+ * <p>// Amazon Resource Name (ARN) of a KMS Key</p>
345
+ * <p>
346
+ * <code>"arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>"</code>
347
+ * </p>
348
+ * </li>
349
+ * <li>
350
+ * <p>// KMS Key Alias</p>
351
+ * <p>
352
+ * <code>"alias/ExampleAlias"</code>
353
+ * </p>
354
+ * </li>
355
+ * <li>
356
+ * <p>// Amazon Resource Name (ARN) of a KMS Key Alias</p>
357
+ * <p>
358
+ * <code>"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"</code>
359
+ * </p>
360
+ * </li>
361
+ * </ul>
362
+ * <p>For more information about key identifiers, see
363
+ * <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-id">Key identifiers (KeyID)</a> in the
364
+ * Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.</p>
365
+ */
366
+ KmsKeyId ?: string ;
367
+
368
+ /**
369
+ * <p>Provides information about the output configuration for the compiled
370
+ * model.</p>
371
+ */
372
+ CompiledOutputConfig ?: RecommendationJobCompiledOutputConfig ;
373
+ }
374
+
375
+ export namespace RecommendationJobOutputConfig {
376
+ /**
377
+ * @internal
378
+ */
379
+ export const filterSensitiveLog = ( obj : RecommendationJobOutputConfig ) : any => ( {
380
+ ...obj ,
381
+ } ) ;
382
+ }
383
+
262
384
/**
263
385
* <p>The model latency threshold.</p>
264
386
*/
@@ -348,6 +470,12 @@ export interface CreateInferenceRecommendationsJobRequest {
348
470
*/
349
471
StoppingConditions ?: RecommendationJobStoppingConditions ;
350
472
473
+ /**
474
+ * <p>Provides information about the output artifacts and the KMS key
475
+ * to use for Amazon S3 server-side encryption.</p>
476
+ */
477
+ OutputConfig ?: RecommendationJobOutputConfig ;
478
+
351
479
/**
352
480
* <p>The metadata that you apply to Amazon Web Services resources to help you
353
481
* categorize and organize them. Each tag consists of a key and a value, both of
@@ -11371,72 +11499,3 @@ export namespace DescribeLineageGroupRequest {
11371
11499
...obj ,
11372
11500
} ) ;
11373
11501
}
11374
-
11375
- export interface DescribeLineageGroupResponse {
11376
- /**
11377
- * <p>The name of the lineage group.</p>
11378
- */
11379
- LineageGroupName ?: string ;
11380
-
11381
- /**
11382
- * <p>The Amazon Resource Name (ARN) of the lineage group.</p>
11383
- */
11384
- LineageGroupArn ?: string ;
11385
-
11386
- /**
11387
- * <p>The display name of the lineage group.</p>
11388
- */
11389
- DisplayName ?: string ;
11390
-
11391
- /**
11392
- * <p>The description of the lineage group.</p>
11393
- */
11394
- Description ?: string ;
11395
-
11396
- /**
11397
- * <p>The creation time of lineage group.</p>
11398
- */
11399
- CreationTime ?: Date ;
11400
-
11401
- /**
11402
- * <p>Information about the user who created or modified an experiment, trial, trial
11403
- * component, lineage group, or project.</p>
11404
- */
11405
- CreatedBy ?: UserContext ;
11406
-
11407
- /**
11408
- * <p>The last modified time of the lineage group.</p>
11409
- */
11410
- LastModifiedTime ?: Date ;
11411
-
11412
- /**
11413
- * <p>Information about the user who created or modified an experiment, trial, trial
11414
- * component, lineage group, or project.</p>
11415
- */
11416
- LastModifiedBy ?: UserContext ;
11417
- }
11418
-
11419
- export namespace DescribeLineageGroupResponse {
11420
- /**
11421
- * @internal
11422
- */
11423
- export const filterSensitiveLog = ( obj : DescribeLineageGroupResponse ) : any => ( {
11424
- ...obj ,
11425
- } ) ;
11426
- }
11427
-
11428
- export interface DescribeModelInput {
11429
- /**
11430
- * <p>The name of the model.</p>
11431
- */
11432
- ModelName : string | undefined ;
11433
- }
11434
-
11435
- export namespace DescribeModelInput {
11436
- /**
11437
- * @internal
11438
- */
11439
- export const filterSensitiveLog = ( obj : DescribeModelInput ) : any => ( {
11440
- ...obj ,
11441
- } ) ;
11442
- }
0 commit comments