@@ -383,6 +383,76 @@ export interface AudienceQualityMetrics {
383
383
recallMetric ?: number | undefined ;
384
384
}
385
385
386
+ /**
387
+ * @public
388
+ * @enum
389
+ */
390
+ export const WorkerComputeType = {
391
+ CR1X : "CR.1X" ,
392
+ CR4X : "CR.4X" ,
393
+ } as const ;
394
+
395
+ /**
396
+ * @public
397
+ */
398
+ export type WorkerComputeType = ( typeof WorkerComputeType ) [ keyof typeof WorkerComputeType ] ;
399
+
400
+ /**
401
+ * <p>Configuration information about the compute workers that perform the transform job.</p>
402
+ * @public
403
+ */
404
+ export interface WorkerComputeConfiguration {
405
+ /**
406
+ * <p>The instance type of the compute workers that are used.</p>
407
+ * @public
408
+ */
409
+ type ?: WorkerComputeType | undefined ;
410
+
411
+ /**
412
+ * <p>The number of compute workers that are used.</p>
413
+ * @public
414
+ */
415
+ number ?: number | undefined ;
416
+ }
417
+
418
+ /**
419
+ * <p>Provides configuration information for the instances that will perform the compute work.</p>
420
+ * @public
421
+ */
422
+ export type ComputeConfiguration = ComputeConfiguration . WorkerMember | ComputeConfiguration . $UnknownMember ;
423
+
424
+ /**
425
+ * @public
426
+ */
427
+ export namespace ComputeConfiguration {
428
+ /**
429
+ * <p>The worker instances that will perform the compute work.</p>
430
+ * @public
431
+ */
432
+ export interface WorkerMember {
433
+ worker : WorkerComputeConfiguration ;
434
+ $unknown ?: never ;
435
+ }
436
+
437
+ /**
438
+ * @public
439
+ */
440
+ export interface $UnknownMember {
441
+ worker ?: never ;
442
+ $unknown : [ string , any ] ;
443
+ }
444
+
445
+ export interface Visitor < T > {
446
+ worker : ( value : WorkerComputeConfiguration ) => T ;
447
+ _ : ( name : string , value : any ) => T ;
448
+ }
449
+
450
+ export const visit = < T > ( value : ComputeConfiguration , visitor : Visitor < T > ) : T => {
451
+ if ( value . worker !== undefined ) return visitor . worker ( value . worker ) ;
452
+ return visitor . _ ( value . $unknown [ 0 ] , value . $unknown [ 1 ] ) ;
453
+ } ;
454
+ }
455
+
386
456
/**
387
457
* <p>The parameters for the SQL type Protected Query.</p>
388
458
* @public
@@ -439,6 +509,12 @@ export interface AudienceGenerationJobDataSource {
439
509
* @public
440
510
*/
441
511
sqlParameters ?: ProtectedQuerySQLParameters | undefined ;
512
+
513
+ /**
514
+ * <p>Provides configuration information for the instances that will perform the compute work.</p>
515
+ * @public
516
+ */
517
+ sqlComputeConfiguration ?: ComputeConfiguration | undefined ;
442
518
}
443
519
444
520
/**
@@ -3337,76 +3413,6 @@ export interface PutMLConfigurationRequest {
3337
3413
defaultOutputLocation : MLOutputConfiguration | undefined ;
3338
3414
}
3339
3415
3340
- /**
3341
- * @public
3342
- * @enum
3343
- */
3344
- export const WorkerComputeType = {
3345
- CR1X : "CR.1X" ,
3346
- CR4X : "CR.4X" ,
3347
- } as const ;
3348
-
3349
- /**
3350
- * @public
3351
- */
3352
- export type WorkerComputeType = ( typeof WorkerComputeType ) [ keyof typeof WorkerComputeType ] ;
3353
-
3354
- /**
3355
- * <p>Configuration information about the compute workers that perform the transform job.</p>
3356
- * @public
3357
- */
3358
- export interface WorkerComputeConfiguration {
3359
- /**
3360
- * <p>The instance type of the compute workers that are used.</p>
3361
- * @public
3362
- */
3363
- type ?: WorkerComputeType | undefined ;
3364
-
3365
- /**
3366
- * <p>The number of compute workers that are used.</p>
3367
- * @public
3368
- */
3369
- number ?: number | undefined ;
3370
- }
3371
-
3372
- /**
3373
- * <p>Provides configuration information for the instances that will perform the compute work.</p>
3374
- * @public
3375
- */
3376
- export type ComputeConfiguration = ComputeConfiguration . WorkerMember | ComputeConfiguration . $UnknownMember ;
3377
-
3378
- /**
3379
- * @public
3380
- */
3381
- export namespace ComputeConfiguration {
3382
- /**
3383
- * <p>The worker instances that will perform the compute work.</p>
3384
- * @public
3385
- */
3386
- export interface WorkerMember {
3387
- worker : WorkerComputeConfiguration ;
3388
- $unknown ?: never ;
3389
- }
3390
-
3391
- /**
3392
- * @public
3393
- */
3394
- export interface $UnknownMember {
3395
- worker ?: never ;
3396
- $unknown : [ string , any ] ;
3397
- }
3398
-
3399
- export interface Visitor < T > {
3400
- worker : ( value : WorkerComputeConfiguration ) => T ;
3401
- _ : ( name : string , value : any ) => T ;
3402
- }
3403
-
3404
- export const visit = < T > ( value : ComputeConfiguration , visitor : Visitor < T > ) : T => {
3405
- if ( value . worker !== undefined ) return visitor . worker ( value . worker ) ;
3406
- return visitor . _ ( value . $unknown [ 0 ] , value . $unknown [ 1 ] ) ;
3407
- } ;
3408
- }
3409
-
3410
3416
/**
3411
3417
* <p>Provides information necessary to perform the protected query.</p>
3412
3418
* @public
@@ -5260,7 +5266,7 @@ export interface StartTrainedModelInferenceJobRequest {
5260
5266
outputConfiguration : InferenceOutputConfiguration | undefined ;
5261
5267
5262
5268
/**
5263
- * <p>Defines he data source that is used for the trained model inference job.</p>
5269
+ * <p>Defines the data source that is used for the trained model inference job.</p>
5264
5270
* @public
5265
5271
*/
5266
5272
dataSource : ModelInferenceDataSource | undefined ;
@@ -5727,6 +5733,7 @@ export const ProtectedQuerySQLParametersFilterSensitiveLog = (obj: ProtectedQuer
5727
5733
export const AudienceGenerationJobDataSourceFilterSensitiveLog = ( obj : AudienceGenerationJobDataSource ) : any => ( {
5728
5734
...obj ,
5729
5735
...( obj . sqlParameters && { sqlParameters : SENSITIVE_STRING } ) ,
5736
+ ...( obj . sqlComputeConfiguration && { sqlComputeConfiguration : obj . sqlComputeConfiguration } ) ,
5730
5737
} ) ;
5731
5738
5732
5739
/**
0 commit comments