Skip to content

Commit 2b8c1aa

Browse files
author
awstools
committed
feat(client-cleanroomsml): This release introduces Parquet result format support for ML Input Channel models in AWS Clean Rooms ML.
1 parent f60fcf6 commit 2b8c1aa

File tree

4 files changed

+49
-0
lines changed

4 files changed

+49
-0
lines changed

clients/client-cleanroomsml/src/commands/CreateMLInputChannelCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export interface CreateMLInputChannelCommandOutput extends CreateMLInputChannelR
6060
* number: Number("int"),
6161
* },
6262
* },
63+
* resultFormat: "CSV" || "PARQUET",
6364
* },
6465
* },
6566
* roleArn: "STRING_VALUE", // required

clients/client-cleanroomsml/src/commands/GetMLInputChannelCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export interface GetMLInputChannelCommandOutput extends GetMLInputChannelRespons
6666
* // number: Number("int"),
6767
* // },
6868
* // },
69+
* // resultFormat: "CSV" || "PARQUET",
6970
* // },
7071
* // },
7172
* // roleArn: "STRING_VALUE", // required

clients/client-cleanroomsml/src/models/models_0.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3356,6 +3356,20 @@ export interface PutMLConfigurationRequest {
33563356
defaultOutputLocation: MLOutputConfiguration | undefined;
33573357
}
33583358

3359+
/**
3360+
* @public
3361+
* @enum
3362+
*/
3363+
export const ResultFormat = {
3364+
CSV: "CSV",
3365+
PARQUET: "PARQUET",
3366+
} as const;
3367+
3368+
/**
3369+
* @public
3370+
*/
3371+
export type ResultFormat = (typeof ResultFormat)[keyof typeof ResultFormat];
3372+
33593373
/**
33603374
* <p>Provides information necessary to perform the protected query.</p>
33613375
* @public
@@ -3372,6 +3386,12 @@ export interface ProtectedQueryInputParameters {
33723386
* @public
33733387
*/
33743388
computeConfiguration?: ComputeConfiguration | undefined;
3389+
3390+
/**
3391+
* <p>The format in which the query results should be returned. If not specified, defaults to <code>CSV</code>. </p>
3392+
* @public
3393+
*/
3394+
resultFormat?: ResultFormat | undefined;
33753395
}
33763396

33773397
/**

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9684,6 +9684,13 @@
96849684
"traits": {
96859685
"smithy.api#documentation": "<p>Provides configuration information for the workers that will perform the protected query.</p>"
96869686
}
9687+
},
9688+
"resultFormat": {
9689+
"target": "com.amazonaws.cleanroomsml#ResultFormat",
9690+
"traits": {
9691+
"smithy.api#default": "CSV",
9692+
"smithy.api#documentation": "<p>The format in which the query results should be returned. If not specified, defaults to <code>CSV</code>. </p>"
9693+
}
96879694
}
96889695
},
96899696
"traits": {
@@ -9959,6 +9966,26 @@
99599966
}
99609967
}
99619968
},
9969+
"com.amazonaws.cleanroomsml#ResultFormat": {
9970+
"type": "enum",
9971+
"members": {
9972+
"CSV": {
9973+
"target": "smithy.api#Unit",
9974+
"traits": {
9975+
"smithy.api#enumValue": "CSV"
9976+
}
9977+
},
9978+
"PARQUET": {
9979+
"target": "smithy.api#Unit",
9980+
"traits": {
9981+
"smithy.api#enumValue": "PARQUET"
9982+
}
9983+
}
9984+
},
9985+
"traits": {
9986+
"smithy.api#documentation": "File format of the returned data.\n"
9987+
}
9988+
},
99629989
"com.amazonaws.cleanroomsml#S3ConfigMap": {
99639990
"type": "structure",
99649991
"members": {

0 commit comments

Comments
 (0)