Skip to content

Commit cac0cf1

Browse files
author
awstools
committed
feat(client-glue): Adding RowFilter in the response for GetUnfilteredTableMetadata API
1 parent 75d990f commit cac0cf1

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ export interface GetUnfilteredTableMetadataCommandOutput extends GetUnfilteredTa
200200
* // Permissions: [ // PermissionList
201201
* // "ALL" || "SELECT" || "ALTER" || "DROP" || "DELETE" || "INSERT" || "CREATE_DATABASE" || "CREATE_TABLE" || "DATA_LOCATION_ACCESS",
202202
* // ],
203+
* // RowFilter: "STRING_VALUE",
203204
* // };
204205
*
205206
* ```

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,6 +1557,12 @@ export interface GetUnfilteredTableMetadataResponse {
15571557
* @public
15581558
*/
15591559
Permissions?: Permission[];
1560+
1561+
/**
1562+
* <p>The filter that applies to the table. For example when applying the filter in SQL, it would go in the <code>WHERE</code> clause and can be evaluated by using an <code>AND</code> operator with any other predicates applied by the user querying the table.</p>
1563+
* @public
1564+
*/
1565+
RowFilter?: string;
15601566
}
15611567

15621568
/**

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13011,6 +13011,7 @@ const de_GetUnfilteredTableMetadataResponse = (
1301113011
Permissions: _json,
1301213012
QueryAuthorizationId: __expectString,
1301313013
ResourceArn: __expectString,
13014+
RowFilter: __expectString,
1301413015
Table: (_: any) => de_Table(_, context),
1301513016
}) as any;
1301613017
};

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20148,6 +20148,12 @@
2014820148
"traits": {
2014920149
"smithy.api#documentation": "<p>The Lake Formation data permissions of the caller on the table. Used to authorize the call when no view context is found.</p>"
2015020150
}
20151+
},
20152+
"RowFilter": {
20153+
"target": "com.amazonaws.glue#PredicateString",
20154+
"traits": {
20155+
"smithy.api#documentation": "<p>The filter that applies to the table. For example when applying the filter in SQL, it would go in the <code>WHERE</code> clause and can be evaluated by using an <code>AND</code> operator with any other predicates applied by the user querying the table.</p>"
20156+
}
2015120157
}
2015220158
},
2015320159
"traits": {

0 commit comments

Comments
 (0)