|
1335 | 1335 | } |
1336 | 1336 | } |
1337 | 1337 | }, |
| 1338 | + "Document":{ |
| 1339 | + "type":"structure", |
| 1340 | + "members":{}, |
| 1341 | + "document":true |
| 1342 | + }, |
1338 | 1343 | "EncryptionConfiguration":{ |
1339 | 1344 | "type":"structure", |
1340 | 1345 | "required":["sseAlgorithm"], |
|
2136 | 2141 | }, |
2137 | 2142 | "IcebergMetadata":{ |
2138 | 2143 | "type":"structure", |
2139 | | - "required":["schema"], |
2140 | 2144 | "members":{ |
2141 | 2145 | "schema":{ |
2142 | 2146 | "shape":"IcebergSchema", |
2143 | | - "documentation":"<p>The schema for an Iceberg table.</p>" |
| 2147 | + "documentation":"<p>The schema for an Iceberg table. Use this property to define table schemas with primitive types only. For schemas that include nested or complex types such as <code>struct</code>, <code>list</code>, or <code>map</code>, use <code>schemaV2</code> instead.</p>" |
| 2148 | + }, |
| 2149 | + "schemaV2":{ |
| 2150 | + "shape":"IcebergSchemaV2", |
| 2151 | + "documentation":"<p>The schema for an Iceberg table using the V2 format. Use this property to define table schemas that include nested or complex data types such as <code>struct</code>, <code>list</code>, or <code>map</code>, in addition to primitive types. For schemas with only primitive types, you can use either <code>schema</code> or <code>schemaV2</code>.</p>" |
2144 | 2152 | }, |
2145 | 2153 | "partitionSpec":{ |
2146 | 2154 | "shape":"IcebergPartitionSpec", |
|
2224 | 2232 | }, |
2225 | 2233 | "documentation":"<p>Contains details about the schema for an Iceberg table.</p>" |
2226 | 2234 | }, |
| 2235 | + "IcebergSchemaV2":{ |
| 2236 | + "type":"structure", |
| 2237 | + "required":[ |
| 2238 | + "type", |
| 2239 | + "fields" |
| 2240 | + ], |
| 2241 | + "members":{ |
| 2242 | + "type":{ |
| 2243 | + "shape":"SchemaV2FieldType", |
| 2244 | + "documentation":"<p>The type of the top-level schema, which is always a <code>struct</code> type as defined in the <a href=\"https://iceberg.apache.org/spec/#schemas-and-data-types\">Apache Iceberg specification</a>. This value must be <code>struct</code>.</p>" |
| 2245 | + }, |
| 2246 | + "fields":{ |
| 2247 | + "shape":"SchemaV2FieldList", |
| 2248 | + "documentation":"<p>The schema fields for the table. Each field defines a column in the table, including its name, type, and whether it is required.</p>" |
| 2249 | + }, |
| 2250 | + "schemaId":{ |
| 2251 | + "shape":"Integer", |
| 2252 | + "documentation":"<p>An optional unique identifier for the schema. Schema IDs are used by Apache Iceberg to track schema evolution.</p>", |
| 2253 | + "locationName":"schema-id" |
| 2254 | + }, |
| 2255 | + "identifierFieldIds":{ |
| 2256 | + "shape":"IntegerList", |
| 2257 | + "documentation":"<p>A list of field IDs that are used as the identifier fields for the table. Identifier fields uniquely identify a row in the table.</p>", |
| 2258 | + "locationName":"identifier-field-ids" |
| 2259 | + } |
| 2260 | + }, |
| 2261 | + "documentation":"<p>Contains details about the schema for an Iceberg table using the V2 format. This schema format supports nested and complex data types such as <code>struct</code>, <code>list</code>, and <code>map</code>, in addition to primitive types.</p>" |
| 2262 | + }, |
2227 | 2263 | "IcebergSnapshotManagementSettings":{ |
2228 | 2264 | "type":"structure", |
2229 | 2265 | "members":{ |
|
2316 | 2352 | "type":"integer", |
2317 | 2353 | "box":true |
2318 | 2354 | }, |
| 2355 | + "IntegerList":{ |
| 2356 | + "type":"list", |
| 2357 | + "member":{"shape":"Integer"} |
| 2358 | + }, |
2319 | 2359 | "InternalServerErrorException":{ |
2320 | 2360 | "type":"structure", |
2321 | 2361 | "members":{ |
|
3091 | 3131 | "type":"list", |
3092 | 3132 | "member":{"shape":"SchemaField"} |
3093 | 3133 | }, |
| 3134 | + "SchemaV2Field":{ |
| 3135 | + "type":"structure", |
| 3136 | + "required":[ |
| 3137 | + "id", |
| 3138 | + "name", |
| 3139 | + "type", |
| 3140 | + "required" |
| 3141 | + ], |
| 3142 | + "members":{ |
| 3143 | + "id":{ |
| 3144 | + "shape":"Integer", |
| 3145 | + "documentation":"<p>The unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes.</p>" |
| 3146 | + }, |
| 3147 | + "name":{ |
| 3148 | + "shape":"String", |
| 3149 | + "documentation":"<p>The name of the field.</p>" |
| 3150 | + }, |
| 3151 | + "type":{ |
| 3152 | + "shape":"Document", |
| 3153 | + "documentation":"<p>The data type of the field. This can be a primitive type string such as <code>boolean</code>, <code>int</code>, <code>long</code>, <code>float</code>, <code>double</code>, <code>string</code>, <code>binary</code>, <code>date</code>, <code>timestamp</code>, or <code>timestamptz</code>, or a complex type represented as a JSON object for nested types such as <code>struct</code>, <code>list</code>, or <code>map</code>. For more information, see the <a href=\"https://iceberg.apache.org/spec/#schemas-and-data-types\">Apache Iceberg schemas and data types documentation</a>.</p>" |
| 3154 | + }, |
| 3155 | + "required":{ |
| 3156 | + "shape":"Boolean", |
| 3157 | + "documentation":"<p>A Boolean value that specifies whether values are required for each row in this field. If this is <code>true</code>, the field does not allow null values.</p>" |
| 3158 | + }, |
| 3159 | + "doc":{ |
| 3160 | + "shape":"String", |
| 3161 | + "documentation":"<p>An optional description of the field.</p>" |
| 3162 | + } |
| 3163 | + }, |
| 3164 | + "documentation":"<p>Contains details about a schema field in the V2 format. This field format supports nested and complex data types such as <code>struct</code>, <code>list</code>, and <code>map</code>, in addition to primitive types.</p>" |
| 3165 | + }, |
| 3166 | + "SchemaV2FieldList":{ |
| 3167 | + "type":"list", |
| 3168 | + "member":{"shape":"SchemaV2Field"} |
| 3169 | + }, |
| 3170 | + "SchemaV2FieldType":{ |
| 3171 | + "type":"string", |
| 3172 | + "enum":["struct"] |
| 3173 | + }, |
3094 | 3174 | "StorageClass":{ |
3095 | 3175 | "type":"string", |
3096 | 3176 | "enum":[ |
|
0 commit comments