Skip to content

Commit befe787

Browse files
author
awstools
committed
feat(client-glue): Adds labeling for DataQualityRuleResult for GetDataQualityResult and PublishDataQualityResult APIs
1 parent 3d7efda commit befe787

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ export interface BatchGetDataQualityResultCommandOutput extends BatchGetDataQual
9595
* // RuleMetrics: { // RuleMetricsMap
9696
* // "<keys>": Number("double"),
9797
* // },
98+
* // Labels: { // Labels
99+
* // "<keys>": "STRING_VALUE",
100+
* // },
98101
* // },
99102
* // ],
100103
* // AnalyzerResults: [ // DataQualityAnalyzerResults

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ export interface GetDataQualityResultCommandOutput extends GetDataQualityResultR
9191
* // RuleMetrics: { // RuleMetricsMap
9292
* // "<keys>": Number("double"),
9393
* // },
94+
* // Labels: { // Labels
95+
* // "<keys>": "STRING_VALUE",
96+
* // },
9497
* // },
9598
* // ],
9699
* // AnalyzerResults: [ // DataQualityAnalyzerResults

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3149,6 +3149,12 @@ export interface DataQualityRuleResult {
31493149
* @public
31503150
*/
31513151
RuleMetrics?: Record<string, number> | undefined;
3152+
3153+
/**
3154+
* <p>A map containing labels assigned to the data quality rule. </p>
3155+
* @public
3156+
*/
3157+
Labels?: Record<string, string> | undefined;
31523158
}
31533159

31543160
/**

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14607,6 +14607,7 @@ const de_DataQualityRuleResult = (output: any, context: __SerdeContext): DataQua
1460714607
EvaluatedMetrics: (_: any) => de_EvaluatedMetricsMap(_, context),
1460814608
EvaluatedRule: __expectString,
1460914609
EvaluationMessage: __expectString,
14610+
Labels: _json,
1461014611
Name: __expectString,
1461114612
Result: __expectString,
1461214613
RuleMetrics: (_: any) => de_RuleMetricsMap(_, context),
@@ -16301,6 +16302,8 @@ const de_KinesisStreamingSourceOptions = (output: any, context: __SerdeContext):
1630116302

1630216303
// de_LabelingSetGenerationTaskRunProperties omitted.
1630316304

16305+
// de_Labels omitted.
16306+
1630416307
// de_LakeFormationConfiguration omitted.
1630516308

1630616309
/**

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14367,6 +14367,12 @@
1436714367
"traits": {
1436814368
"smithy.api#documentation": "<p>A map containing metrics associated with the evaluation of the rule based on row-level results. </p>"
1436914369
}
14370+
},
14371+
"Labels": {
14372+
"target": "com.amazonaws.glue#Labels",
14373+
"traits": {
14374+
"smithy.api#documentation": "<p>A map containing labels assigned to the data quality rule. </p>"
14375+
}
1437014376
}
1437114377
},
1437214378
"traits": {
@@ -30080,6 +30086,15 @@
3008030086
"smithy.api#documentation": "<p>Specifies configuration properties for a labeling set generation task run.</p>"
3008130087
}
3008230088
},
30089+
"com.amazonaws.glue#Labels": {
30090+
"type": "map",
30091+
"key": {
30092+
"target": "com.amazonaws.glue#NameString"
30093+
},
30094+
"value": {
30095+
"target": "com.amazonaws.glue#NameString"
30096+
}
30097+
},
3008330098
"com.amazonaws.glue#LakeFormationConfiguration": {
3008430099
"type": "structure",
3008530100
"members": {

0 commit comments

Comments
 (0)