Skip to content

Commit b7c49be

Browse files
author
AWS
committed
AWS Clean Rooms Service Update: This release allows customers and their partners to easily collaborate with data stored in Snowflake and Amazon Athena, without having to move or share their underlying data among collaborators.
1 parent 1e87005 commit b7c49be

File tree

2 files changed

+172
-4
lines changed

2 files changed

+172
-4
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 Clean Rooms Service",
4+
"contributor": "",
5+
"description": "This release allows customers and their partners to easily collaborate with data stored in Snowflake and Amazon Athena, without having to move or share their underlying data among collaborators."
6+
}

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

Lines changed: 166 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2153,6 +2153,57 @@
21532153
"CLEAN_ROOMS_SQL"
21542154
]
21552155
},
2156+
"AthenaDatabaseName":{
2157+
"type":"string",
2158+
"max":128,
2159+
"min":0,
2160+
"pattern":"[a-zA-Z0-9_](([a-zA-Z0-9_]+-)*([a-zA-Z0-9_]+))?"
2161+
},
2162+
"AthenaOutputLocation":{
2163+
"type":"string",
2164+
"max":1024,
2165+
"min":8,
2166+
"pattern":"s3://[a-z0-9.-]{3,63}(.*)"
2167+
},
2168+
"AthenaTableName":{
2169+
"type":"string",
2170+
"max":128,
2171+
"min":0,
2172+
"pattern":"[a-zA-Z0-9_](([a-zA-Z0-9_ ]+-)*([a-zA-Z0-9_ ]+))?"
2173+
},
2174+
"AthenaTableReference":{
2175+
"type":"structure",
2176+
"required":[
2177+
"workGroup",
2178+
"databaseName",
2179+
"tableName"
2180+
],
2181+
"members":{
2182+
"workGroup":{
2183+
"shape":"AthenaWorkGroup",
2184+
"documentation":"<p> The workgroup of the Athena table reference.</p>"
2185+
},
2186+
"outputLocation":{
2187+
"shape":"AthenaOutputLocation",
2188+
"documentation":"<p> The output location for the Athena table.</p>"
2189+
},
2190+
"databaseName":{
2191+
"shape":"AthenaDatabaseName",
2192+
"documentation":"<p> The database name.</p>"
2193+
},
2194+
"tableName":{
2195+
"shape":"AthenaTableName",
2196+
"documentation":"<p> The table reference.</p>"
2197+
}
2198+
},
2199+
"documentation":"<p> A reference to a table within Athena.</p>"
2200+
},
2201+
"AthenaWorkGroup":{
2202+
"type":"string",
2203+
"max":128,
2204+
"min":1,
2205+
"pattern":"([a-zA-Z0-9._-])*"
2206+
},
21562207
"BatchGetCollaborationAnalysisTemplateError":{
21572208
"type":"structure",
21582209
"required":[
@@ -3109,7 +3160,7 @@
31093160
"documentation":"<p>The type of the column.</p>"
31103161
}
31113162
},
3112-
"documentation":"<p>A column within a schema relation, derived from the underlying Glue table.</p>"
3163+
"documentation":"<p>A column within a schema relation, derived from the underlying table.</p>"
31133164
},
31143165
"ColumnList":{
31153166
"type":"list",
@@ -3338,7 +3389,7 @@
33383389
},
33393390
"tableReference":{
33403391
"shape":"TableReference",
3341-
"documentation":"<p>The Glue table that this configured table represents.</p>"
3392+
"documentation":"<p>The table that this configured table represents.</p>"
33423393
},
33433394
"createTime":{
33443395
"shape":"Timestamp",
@@ -4097,7 +4148,7 @@
40974148
},
40984149
"tableReference":{
40994150
"shape":"TableReference",
4100-
"documentation":"<p>A reference to the Glue table being configured.</p>"
4151+
"documentation":"<p>A reference to the table being configured.</p>"
41014152
},
41024153
"allowedColumns":{
41034154
"shape":"AllowedColumnList",
@@ -8296,6 +8347,12 @@
82968347
"documentation":"<p>Information about the schema type properties.</p>",
82978348
"union":true
82988349
},
8350+
"SecretsManagerArn":{
8351+
"type":"string",
8352+
"max":256,
8353+
"min":0,
8354+
"pattern":"arn:aws:secretsmanager:[a-z]{2}-[a-z]+-[0-9]:\\d{12}:secret:.*"
8355+
},
82998356
"ServiceQuotaExceededException":{
83008357
"type":"structure",
83018358
"required":[
@@ -8321,6 +8378,103 @@
83218378
},
83228379
"exception":true
83238380
},
8381+
"SnowflakeAccountIdentifier":{
8382+
"type":"string",
8383+
"max":256,
8384+
"min":3,
8385+
"pattern":"[\\p{L}\\p{M}\\p{N}\\p{Pc}\\p{Pd}\\p{Zs}.]+"
8386+
},
8387+
"SnowflakeDatabaseName":{
8388+
"type":"string",
8389+
"max":256,
8390+
"min":1,
8391+
"pattern":"[\\p{L}\\p{M}\\p{N}\\p{Pc}\\p{Pd}\\p{Zs}]+"
8392+
},
8393+
"SnowflakeSchemaName":{
8394+
"type":"string",
8395+
"max":256,
8396+
"min":1,
8397+
"pattern":"[\\p{L}\\p{M}\\p{N}\\p{Pc}\\p{Pd}\\p{Zs}]+"
8398+
},
8399+
"SnowflakeTableName":{
8400+
"type":"string",
8401+
"max":256,
8402+
"min":1,
8403+
"pattern":"[\\p{L}\\p{M}\\p{N}\\p{Pc}\\p{Pd}\\p{Zs}]+"
8404+
},
8405+
"SnowflakeTableReference":{
8406+
"type":"structure",
8407+
"required":[
8408+
"secretArn",
8409+
"accountIdentifier",
8410+
"databaseName",
8411+
"tableName",
8412+
"schemaName",
8413+
"tableSchema"
8414+
],
8415+
"members":{
8416+
"secretArn":{
8417+
"shape":"SecretsManagerArn",
8418+
"documentation":"<p> The secret ARN of the Snowflake table reference.</p>"
8419+
},
8420+
"accountIdentifier":{
8421+
"shape":"SnowflakeAccountIdentifier",
8422+
"documentation":"<p> The account identifier for the Snowflake table reference.</p>"
8423+
},
8424+
"databaseName":{
8425+
"shape":"SnowflakeDatabaseName",
8426+
"documentation":"<p> The name of the database the Snowflake table belongs to.</p>"
8427+
},
8428+
"tableName":{
8429+
"shape":"SnowflakeTableName",
8430+
"documentation":"<p> The name of the Snowflake table.</p>"
8431+
},
8432+
"schemaName":{
8433+
"shape":"SnowflakeSchemaName",
8434+
"documentation":"<p> The schema name of the Snowflake table reference.</p>"
8435+
},
8436+
"tableSchema":{
8437+
"shape":"SnowflakeTableSchema",
8438+
"documentation":"<p> The schema of the Snowflake table.</p>"
8439+
}
8440+
},
8441+
"documentation":"<p> A reference to a table within Snowflake.</p>"
8442+
},
8443+
"SnowflakeTableSchema":{
8444+
"type":"structure",
8445+
"members":{
8446+
"v1":{
8447+
"shape":"SnowflakeTableSchemaList",
8448+
"documentation":"<p> The schema of a Snowflake table.</p>"
8449+
}
8450+
},
8451+
"documentation":"<p> The schema of a Snowflake table.</p>",
8452+
"union":true
8453+
},
8454+
"SnowflakeTableSchemaList":{
8455+
"type":"list",
8456+
"member":{"shape":"SnowflakeTableSchemaV1"},
8457+
"max":250,
8458+
"min":1
8459+
},
8460+
"SnowflakeTableSchemaV1":{
8461+
"type":"structure",
8462+
"required":[
8463+
"columnName",
8464+
"columnType"
8465+
],
8466+
"members":{
8467+
"columnName":{
8468+
"shape":"ColumnName",
8469+
"documentation":"<p> The column name.</p>"
8470+
},
8471+
"columnType":{
8472+
"shape":"ColumnTypeString",
8473+
"documentation":"<p> The column's data type. Supported data types: <code>ARRAY</code>, <code>BIGINT</code>, <code>BOOLEAN</code>, <code>CHAR</code>, <code>DATE</code>, <code>DECIMAL</code>, <code>DOUBLE</code>, <code>DOUBLE PRECISION</code>, <code>FLOAT</code>, <code>FLOAT4</code>, <code>INT</code>, <code>INTEGER</code>, <code>MAP</code>, <code>NUMERIC</code>, <code>NUMBER</code>, <code>REAL</code>, <code>SMALLINT</code>, <code>STRING</code>, <code>TIMESTAMP</code>, <code>TIMESTAMP_LTZ</code>, <code>TIMESTAMP_NTZ</code>, <code>DATETIME</code>, <code>TINYINT</code>, <code>VARCHAR</code>, <code>TEXT</code>, <code>CHARACTER</code>.</p>"
8474+
}
8475+
},
8476+
"documentation":"<p> The Snowflake table schema.</p>"
8477+
},
83248478
"StartProtectedQueryInput":{
83258479
"type":"structure",
83268480
"required":[
@@ -8388,9 +8542,17 @@
83888542
"glue":{
83898543
"shape":"GlueTableReference",
83908544
"documentation":"<p>If present, a reference to the Glue table referred to by this table reference.</p>"
8545+
},
8546+
"snowflake":{
8547+
"shape":"SnowflakeTableReference",
8548+
"documentation":"<p> If present, a reference to the Snowflake table referred to by this table reference.</p>"
8549+
},
8550+
"athena":{
8551+
"shape":"AthenaTableReference",
8552+
"documentation":"<p> If present, a reference to the Athena table referred to by this table reference.</p>"
83918553
}
83928554
},
8393-
"documentation":"<p>A pointer to the dataset that underlies this table. Currently, this can only be an Glue table.</p>",
8555+
"documentation":"<p>A pointer to the dataset that underlies this table.</p>",
83948556
"union":true
83958557
},
83968558
"TagKey":{

0 commit comments

Comments
 (0)