Skip to content

Commit a151aa6

Browse files
author
AWS
committed
AWS Glue Update: Added AttributesToGet parameter to Glue GetDatabases, allowing caller to limit output to include only the database name.
1 parent d742e20 commit a151aa6

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Glue",
4+
"contributor": "",
5+
"description": "Added AttributesToGet parameter to Glue GetDatabases, allowing caller to limit output to include only the database name."
6+
}

services/glue/src/main/resources/codegen-resources/service-2.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9176,6 +9176,14 @@
91769176
},
91779177
"documentation":"<p>The <code>Database</code> object represents a logical grouping of tables that might reside in a Hive metastore or an RDBMS.</p>"
91789178
},
9179+
"DatabaseAttributes":{
9180+
"type":"string",
9181+
"enum":["NAME"]
9182+
},
9183+
"DatabaseAttributesList":{
9184+
"type":"list",
9185+
"member":{"shape":"DatabaseAttributes"}
9186+
},
91799187
"DatabaseIdentifier":{
91809188
"type":"structure",
91819189
"members":{
@@ -11848,6 +11856,10 @@
1184811856
"ResourceShareType":{
1184911857
"shape":"ResourceShareType",
1185011858
"documentation":"<p>Allows you to specify that you want to list the databases shared with your account. The allowable values are <code>FEDERATED</code>, <code>FOREIGN</code> or <code>ALL</code>. </p> <ul> <li> <p>If set to <code>FEDERATED</code>, will list the federated databases (referencing an external entity) shared with your account.</p> </li> <li> <p>If set to <code>FOREIGN</code>, will list the databases shared with your account. </p> </li> <li> <p>If set to <code>ALL</code>, will list the databases shared with your account, as well as the databases in yor local account. </p> </li> </ul>"
11859+
},
11860+
"AttributesToGet":{
11861+
"shape":"DatabaseAttributesList",
11862+
"documentation":"<p>Specifies the database fields returned by the <code>GetDatabases</code> call. This parameter doesn’t accept an empty list. The request must include the <code>NAME</code>.</p>"
1185111863
}
1185211864
}
1185311865
},

0 commit comments

Comments
 (0)