Skip to content

Commit

Permalink
feat(client-sagemaker): Mark ContentColumn and TargetLabelColumn as r…
Browse files Browse the repository at this point in the history
…equired Targets in TextClassificationJobConfig in CreateAutoMLJobV2API
  • Loading branch information
awstools committed Jul 25, 2023
1 parent e624fd2 commit ee7f0b1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ export interface CreateAutoMLJobV2CommandOutput extends CreateAutoMLJobV2Respons
* MaxRuntimePerTrainingJobInSeconds: Number("int"),
* MaxAutoMLJobRuntimeInSeconds: Number("int"),
* },
* ContentColumn: "STRING_VALUE",
* TargetLabelColumn: "STRING_VALUE",
* ContentColumn: "STRING_VALUE", // required
* TargetLabelColumn: "STRING_VALUE", // required
* },
* TabularJobConfig: { // TabularJobConfig
* CandidateGenerationConfig: { // CandidateGenerationConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export interface DescribeAutoMLJobV2CommandOutput extends DescribeAutoMLJobV2Res
* // MaxRuntimePerTrainingJobInSeconds: Number("int"),
* // MaxAutoMLJobRuntimeInSeconds: Number("int"),
* // },
* // ContentColumn: "STRING_VALUE",
* // TargetLabelColumn: "STRING_VALUE",
* // ContentColumn: "STRING_VALUE", // required
* // TargetLabelColumn: "STRING_VALUE", // required
* // },
* // TabularJobConfig: { // TabularJobConfig
* // CandidateGenerationConfig: { // CandidateGenerationConfig
Expand Down
8 changes: 4 additions & 4 deletions clients/client-sagemaker/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5621,15 +5621,15 @@ export interface TextClassificationJobConfig {

/**
* <p>The name of the column used to provide the sentences to be classified. It should not be
* the same as the target column (Required).</p>
* the same as the target column.</p>
*/
ContentColumn?: string;
ContentColumn: string | undefined;

/**
* <p>The name of the column used to provide the class labels. It should not be same as the
* content column (Required).</p>
* content column.</p>
*/
TargetLabelColumn?: string;
TargetLabelColumn: string | undefined;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions codegen/sdk-codegen/aws-models/sagemaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -53853,13 +53853,15 @@
"ContentColumn": {
"target": "com.amazonaws.sagemaker#ContentColumn",
"traits": {
"smithy.api#documentation": "<p>The name of the column used to provide the sentences to be classified. It should not be\n the same as the target column (Required).</p>"
"smithy.api#documentation": "<p>The name of the column used to provide the sentences to be classified. It should not be\n the same as the target column.</p>",
"smithy.api#required": {}
}
},
"TargetLabelColumn": {
"target": "com.amazonaws.sagemaker#TargetLabelColumn",
"traits": {
"smithy.api#documentation": "<p>The name of the column used to provide the class labels. It should not be same as the\n content column (Required).</p>"
"smithy.api#documentation": "<p>The name of the column used to provide the class labels. It should not be same as the\n content column.</p>",
"smithy.api#required": {}
}
}
},
Expand Down

0 comments on commit ee7f0b1

Please sign in to comment.