Skip to content

Commit 5fff081

Browse files
author
awstools
committed
feat(client-glue): This release adds support for configuration of evaluation method for composite rules in Glue Data Quality rulesets.
1 parent bd9be23 commit 5fff081

File tree

7 files changed

+69
-24
lines changed

7 files changed

+69
-24
lines changed

clients/client-glue/src/commands/GetDataQualityRulesetEvaluationRunCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export interface GetDataQualityRulesetEvaluationRunCommandOutput
6767
* // AdditionalRunOptions: { // DataQualityEvaluationRunAdditionalRunOptions
6868
* // CloudWatchMetricsEnabled: true || false,
6969
* // ResultsS3Prefix: "STRING_VALUE",
70+
* // CompositeRuleEvaluationMethod: "COLUMN" || "ROW",
7071
* // },
7172
* // Status: "STARTING" || "RUNNING" || "STOPPING" || "STOPPED" || "SUCCEEDED" || "FAILED" || "TIMEOUT",
7273
* // ErrorString: "STRING_VALUE",

clients/client-glue/src/commands/GetSchemaCommand.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
9-
import { GetSchemaInput } from "../models/models_1";
10-
import { GetSchemaResponse } from "../models/models_2";
9+
import { GetSchemaInput, GetSchemaResponse } from "../models/models_2";
1110
import { de_GetSchemaCommand, se_GetSchemaCommand } from "../protocols/Aws_json1_1";
1211

1312
/**

clients/client-glue/src/commands/StartDataQualityRulesetEvaluationRunCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export interface StartDataQualityRulesetEvaluationRunCommandOutput
6262
* AdditionalRunOptions: { // DataQualityEvaluationRunAdditionalRunOptions
6363
* CloudWatchMetricsEnabled: true || false,
6464
* ResultsS3Prefix: "STRING_VALUE",
65+
* CompositeRuleEvaluationMethod: "COLUMN" || "ROW",
6566
* },
6667
* RulesetNames: [ // RulesetNames // required
6768
* "STRING_VALUE",

clients/client-glue/src/models/models_1.ts

+22-20
Original file line numberDiff line numberDiff line change
@@ -6167,6 +6167,21 @@ export interface GetDataQualityRulesetEvaluationRunRequest {
61676167
RunId: string | undefined;
61686168
}
61696169

6170+
/**
6171+
* @public
6172+
* @enum
6173+
*/
6174+
export const DQCompositeRuleEvaluationMethod = {
6175+
COLUMN: "COLUMN",
6176+
ROW: "ROW",
6177+
} as const;
6178+
6179+
/**
6180+
* @public
6181+
*/
6182+
export type DQCompositeRuleEvaluationMethod =
6183+
(typeof DQCompositeRuleEvaluationMethod)[keyof typeof DQCompositeRuleEvaluationMethod];
6184+
61706185
/**
61716186
* <p>Additional run options you can specify for an evaluation run.</p>
61726187
* @public
@@ -6183,6 +6198,12 @@ export interface DataQualityEvaluationRunAdditionalRunOptions {
61836198
* @public
61846199
*/
61856200
ResultsS3Prefix?: string;
6201+
6202+
/**
6203+
* <p>Set the evaluation method for composite rules in the ruleset to ROW/COLUMN</p>
6204+
* @public
6205+
*/
6206+
CompositeRuleEvaluationMethod?: DQCompositeRuleEvaluationMethod;
61866207
}
61876208

61886209
/**
@@ -6262,7 +6283,7 @@ export interface GetDataQualityRulesetEvaluationRunResponse {
62626283
ExecutionTime?: number;
62636284

62646285
/**
6265-
* <p>A list of ruleset names for the run.</p>
6286+
* <p>A list of ruleset names for the run. Currently, this parameter takes only one Ruleset name.</p>
62666287
* @public
62676288
*/
62686289
RulesetNames?: string[];
@@ -8330,22 +8351,3 @@ export interface GetResourcePolicyResponse {
83308351
*/
83318352
UpdateTime?: Date;
83328353
}
8333-
8334-
/**
8335-
* @public
8336-
*/
8337-
export interface GetSchemaInput {
8338-
/**
8339-
* <p>This is a wrapper structure to contain schema identity fields. The structure contains:</p>
8340-
* <ul>
8341-
* <li>
8342-
* <p>SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either <code>SchemaArn</code> or <code>SchemaName</code> and <code>RegistryName</code> has to be provided.</p>
8343-
* </li>
8344-
* <li>
8345-
* <p>SchemaId$SchemaName: The name of the schema. Either <code>SchemaArn</code> or <code>SchemaName</code> and <code>RegistryName</code> has to be provided.</p>
8346-
* </li>
8347-
* </ul>
8348-
* @public
8349-
*/
8350-
SchemaId: SchemaId | undefined;
8351-
}

clients/client-glue/src/models/models_2.ts

+19
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,25 @@ import {
143143
ViewDialect,
144144
} from "./models_1";
145145

146+
/**
147+
* @public
148+
*/
149+
export interface GetSchemaInput {
150+
/**
151+
* <p>This is a wrapper structure to contain schema identity fields. The structure contains:</p>
152+
* <ul>
153+
* <li>
154+
* <p>SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either <code>SchemaArn</code> or <code>SchemaName</code> and <code>RegistryName</code> has to be provided.</p>
155+
* </li>
156+
* <li>
157+
* <p>SchemaId$SchemaName: The name of the schema. Either <code>SchemaArn</code> or <code>SchemaName</code> and <code>RegistryName</code> has to be provided.</p>
158+
* </li>
159+
* </ul>
160+
* @public
161+
*/
162+
SchemaId: SchemaId | undefined;
163+
}
164+
146165
/**
147166
* @public
148167
*/

clients/client-glue/src/protocols/Aws_json1_1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,6 @@ import {
872872
GetResourcePoliciesResponse,
873873
GetResourcePolicyRequest,
874874
GetResourcePolicyResponse,
875-
GetSchemaInput,
876875
GluePolicy,
877876
GrokClassifier,
878877
IcebergInput,
@@ -939,6 +938,7 @@ import {
939938
GetJobResponse,
940939
GetJobsResponse,
941940
GetSchemaByDefinitionInput,
941+
GetSchemaInput,
942942
GetSchemaVersionInput,
943943
GetSchemaVersionsDiffInput,
944944
GetSecurityConfigurationRequest,

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

+24-1
Original file line numberDiff line numberDiff line change
@@ -10639,6 +10639,23 @@
1063910639
"target": "com.amazonaws.glue#GenericString"
1064010640
}
1064110641
},
10642+
"com.amazonaws.glue#DQCompositeRuleEvaluationMethod": {
10643+
"type": "enum",
10644+
"members": {
10645+
"COLUMN": {
10646+
"target": "smithy.api#Unit",
10647+
"traits": {
10648+
"smithy.api#enumValue": "COLUMN"
10649+
}
10650+
},
10651+
"ROW": {
10652+
"target": "smithy.api#Unit",
10653+
"traits": {
10654+
"smithy.api#enumValue": "ROW"
10655+
}
10656+
}
10657+
}
10658+
},
1064210659
"com.amazonaws.glue#DQDLAliases": {
1064310660
"type": "map",
1064410661
"key": {
@@ -10874,6 +10891,12 @@
1087410891
"traits": {
1087510892
"smithy.api#documentation": "<p>Prefix for Amazon S3 to store results.</p>"
1087610893
}
10894+
},
10895+
"CompositeRuleEvaluationMethod": {
10896+
"target": "com.amazonaws.glue#DQCompositeRuleEvaluationMethod",
10897+
"traits": {
10898+
"smithy.api#documentation": "<p>Set the evaluation method for composite rules in the ruleset to ROW/COLUMN</p>"
10899+
}
1087710900
}
1087810901
},
1087910902
"traits": {
@@ -16713,7 +16736,7 @@
1671316736
"RulesetNames": {
1671416737
"target": "com.amazonaws.glue#RulesetNames",
1671516738
"traits": {
16716-
"smithy.api#documentation": "<p>A list of ruleset names for the run.</p>"
16739+
"smithy.api#documentation": "<p>A list of ruleset names for the run. Currently, this parameter takes only one Ruleset name.</p>"
1671716740
}
1671816741
},
1671916742
"ResultIds": {

0 commit comments

Comments
 (0)