diff --git a/clients/client-s3tables/src/commands/CreateNamespaceCommand.ts b/clients/client-s3tables/src/commands/CreateNamespaceCommand.ts index 715570f9ed8e..8b448125f80e 100644 --- a/clients/client-s3tables/src/commands/CreateNamespaceCommand.ts +++ b/clients/client-s3tables/src/commands/CreateNamespaceCommand.ts @@ -28,7 +28,13 @@ export interface CreateNamespaceCommandInput extends CreateNamespaceRequest {} export interface CreateNamespaceCommandOutput extends CreateNamespaceResponse, __MetadataBearer {} /** - *
Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see Table namespaces.
+ *Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see Create a namespace in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:CreateNamespace
permission to use this operation.
Creates a table bucket.
+ *Creates a table bucket. For more information, see Creating a table bucket in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:CreateTableBucket
permission to use this operation.
Creates a new table associated with the given namespace in a table bucket.
+ *Creates a new table associated with the given namespace in a table bucket. For more information, see Creating an Amazon S3 table in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:CreateTable
permission to use this operation.
Additionally, you must have the s3tables:PutTableData
permission to use this operation with the optional metadata
request parameter.
Deletes a namespace.
+ *Deletes a namespace. For more information, see Delete a namespace in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:DeleteNamespace
permission to use this operation.
Deletes a table bucket.
+ *Deletes a table bucket. For more information, see Deleting a table bucket in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:DeleteTableBucket
permission to use this operation.
Deletes a table bucket policy.
+ *Deletes a table bucket policy. For more information, see Deleting a table bucket policy in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:DeleteTableBucketPolicy
permission to use this operation.
Deletes a table.
+ *Deletes a table. For more information, see Deleting an Amazon S3 table in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:DeleteTable
permission to use this operation.
Deletes a table policy.
+ *Deletes a table policy. For more information, see Deleting a table policy in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:DeleteTablePolicy
permission to use this operation.
Gets details about a namespace.
+ *Gets details about a namespace. For more information, see Table namespaces in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:GetNamespace
permission to use this operation.
Gets details on a table bucket.
+ *Gets details on a table bucket. For more information, see Viewing details about an Amazon S3 table bucket in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:GetTableBucket
permission to use this operation.
Gets details about a maintenance configuration for a given table bucket.
+ *Gets details about a maintenance configuration for a given table bucket. For more information, see Amazon S3 table bucket maintenance in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:GetTableBucketMaintenanceConfiguration
permission to use this operation.
Gets details about a table bucket policy.
+ *Gets details about a table bucket policy. For more information, see Viewing a table bucket policy in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:GetTableBucketPolicy
permission to use this operation.
Gets details about a table.
+ *Gets details about a table. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:GetTable
permission to use this operation.
Gets details about the maintenance configuration of a table.
+ *Gets details about the maintenance configuration of a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:GetTableMaintenanceConfiguration
permission to use this operation.
Gets the status of a maintenance job for a table.
+ *Gets the status of a maintenance job for a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:GetTableMaintenanceJobStatus
permission to use this operation.
Gets the location of the table metadata.
+ *You must have the s3tables:GetTableMetadataLocation
permission to use this operation.
Gets details about a table policy.
+ *Gets details about a table policy. For more information, see Viewing a table policy in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:GetTablePolicy
permission to use this operation.
Lists the namespaces within a table bucket.
+ *Lists the namespaces within a table bucket. For more information, see Table namespaces in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:ListNamespaces
permission to use this operation.
Lists table buckets for your account.
+ *Lists table buckets for your account. For more information, see S3 Table buckets in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:ListTableBuckets
permission to use this operation.
List tables in the given table bucket.
+ *List tables in the given table bucket. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:ListTables
permission to use this operation.
Creates a new maintenance configuration or replaces an existing maintenance configuration - * for a table bucket.
+ * for a table bucket. For more information, see Amazon S3 table bucket maintenance in the Amazon Simple Storage Service User Guide. + *You must have the s3tables:PutTableBucketMaintenanceConfiguration
permission to use this operation.
Creates a new maintenance configuration or replaces an existing table bucket policy for a - * table bucket.
+ * table bucket. For more information, see Adding a table bucket policy in the Amazon Simple Storage Service User Guide. + *You must have the s3tables:PutTableBucketPolicy
permission to use this operation.
Creates a new maintenance configuration or replaces an existing maintenance configuration - * for a table.
+ * for a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide. + *You must have the s3tables:PutTableMaintenanceConfiguration
permission to use this operation.
Creates a new maintenance configuration or replaces an existing table policy for a table. + *
Creates a new maintenance configuration or replaces an existing table policy for a table. For more information, see Adding a table policy in the Amazon Simple Storage Service User Guide. *
+ *You must have the s3tables:PutTablePolicy
permission to use this operation.
Renames a table or a namespace.
+ *Renames a table or a namespace. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
+ *You must have the s3tables:RenameTable
permission to use this operation.
Updates the metadata location for a table.
+ *Updates the metadata location for a table. The metadata location of a table must be an S3 URI that begins with the table's warehouse location. The metadata location for an Apache Iceberg table must end with .metadata.json
, or if the metadata file is Gzip-compressed, .metadata.json.gz
.
You must have the s3tables:UpdateTableMetadataLocation
permission to use this operation.
Contains details about a schema field.
+ * @public + */ +export interface SchemaField { + /** + *The name of the field.
+ * @public + */ + name: string | undefined; + + /** + *The field type. S3 Tables supports all Apache Iceberg primitive types. For more information, see the Apache Iceberg documentation.
+ * @public + */ + type: string | undefined; + + /** + *A Boolean value that specifies whether values are required for each row in this field. By default, this is false
and null values are allowed in the field. If this is true
the field does not allow null values.
Contains details about the schema for an Iceberg table.
+ * @public + */ +export interface IcebergSchema { + /** + *The schema fields for the table
+ * @public + */ + fields: SchemaField[] | undefined; +} + +/** + *Contains details about the metadata for an Iceberg table.
+ * @public + */ +export interface IcebergMetadata { + /** + *The schema for an Iceberg table.
+ * @public + */ + schema: IcebergSchema | undefined; +} + +/** + *Contains details about the table metadata.
+ * @public + */ +export type TableMetadata = TableMetadata.IcebergMember | TableMetadata.$UnknownMember; + +/** + * @public + */ +export namespace TableMetadata { + /** + *Contains details about the metadata of an Iceberg table.
+ * @public + */ + export interface IcebergMember { + iceberg: IcebergMetadata; + $unknown?: never; + } + + /** + * @public + */ + export interface $UnknownMember { + iceberg?: never; + $unknown: [string, any]; + } + + export interface VisitorThe metadata for the table.
+ * @public + */ + metadata?: TableMetadata | undefined; } /** @@ -321,7 +413,7 @@ export interface DeleteTableBucketRequest { */ export interface DeleteTableBucketPolicyRequest { /** - *The Amazon Resource Number (ARN) of the table bucket.
+ *The Amazon Resource Name (ARN) of the table bucket.
* @public */ tableBucketARN: string | undefined; @@ -332,7 +424,7 @@ export interface DeleteTableBucketPolicyRequest { */ export interface DeleteTablePolicyRequest { /** - *The Amazon Resource Number (ARN) of the table bucket that contains the table.
+ *The Amazon Resource Name (ARN) of the table bucket that contains the table.
* @public */ tableBucketARN: string | undefined; @@ -706,7 +798,7 @@ export interface GetTableBucketMaintenanceConfigurationResponse { */ export interface GetTableBucketPolicyRequest { /** - *The Amazon Resource Number (ARN) of the table bucket.
+ *The Amazon Resource Name (ARN) of the table bucket.
* @public */ tableBucketARN: string | undefined; @@ -717,7 +809,7 @@ export interface GetTableBucketPolicyRequest { */ export interface GetTableBucketPolicyResponse { /** - *The name of the resource policy.
+ *The JSON
that defines the policy.
The Amazon Resource Number (ARN) of the table bucket that contains the table.
+ *The Amazon Resource Name (ARN) of the table bucket that contains the table.
* @public */ tableBucketARN: string | undefined; @@ -1054,7 +1146,7 @@ export interface GetTablePolicyRequest { */ export interface GetTablePolicyResponse { /** - *The name of the resource policy.
+ *The JSON
that defines the policy.
The Amazon Resource Number (ARN) of the table bucket.
+ *The Amazon Resource Name (ARN) of the table bucket.
* @public */ arn: string | undefined; @@ -1217,7 +1309,7 @@ export interface ListTableBucketsResponse { */ export interface ListTablesRequest { /** - *The Amazon resource Number (ARN) of the table bucket.
+ *The Amazon resource Name (ARN) of the table bucket.
* @public */ tableBucketARN: string | undefined; @@ -1274,7 +1366,7 @@ export interface TableSummary { type: TableType | undefined; /** - *The Amazon Resource Number (ARN) of the table.
+ *The Amazon Resource Name (ARN) of the table.
* @public */ tableARN: string | undefined; @@ -1338,13 +1430,13 @@ export interface PutTableBucketMaintenanceConfigurationRequest { */ export interface PutTableBucketPolicyRequest { /** - *The Amazon Resource Number (ARN) of the table bucket.
+ *The Amazon Resource Name (ARN) of the table bucket.
* @public */ tableBucketARN: string | undefined; /** - *The name of the resource policy.
+ *The JSON
that defines the policy.
The Amazon Resource Number (ARN) of the table bucket that contains the table.
+ *The Amazon Resource Name (ARN) of the table bucket that contains the table.
* @public */ tableBucketARN: string | undefined; @@ -1409,7 +1501,7 @@ export interface PutTablePolicyRequest { name: string | undefined; /** - *The name of the resource policy.
+ *The JSON
that defines the policy.
The Amazon Resource Number (ARN) of the table.
+ *The Amazon Resource Name (ARN) of the table.
* @public */ tableARN: string | undefined; diff --git a/clients/client-s3tables/src/protocols/Aws_restJson1.ts b/clients/client-s3tables/src/protocols/Aws_restJson1.ts index b7d9f85028d6..9b0be81d59b8 100644 --- a/clients/client-s3tables/src/protocols/Aws_restJson1.ts +++ b/clients/client-s3tables/src/protocols/Aws_restJson1.ts @@ -84,11 +84,14 @@ import { ConflictException, ForbiddenException, IcebergCompactionSettings, + IcebergMetadata, + IcebergSchema, IcebergSnapshotManagementSettings, IcebergUnreferencedFileRemovalSettings, InternalServerErrorException, NamespaceSummary, NotFoundException, + SchemaField, TableBucketMaintenanceConfigurationValue, TableBucketMaintenanceSettings, TableBucketSummary, @@ -96,6 +99,7 @@ import { TableMaintenanceJobStatusValue, TableMaintenanceJobType, TableMaintenanceSettings, + TableMetadata, TableSummary, TooManyRequestsException, } from "../models/models_0"; @@ -142,6 +146,7 @@ export const se_CreateTableCommand = async ( body = JSON.stringify( take(input, { format: [], + metadata: (_) => _json(_), name: [], }) ); @@ -1339,12 +1344,20 @@ const de_TooManyRequestsExceptionRes = async ( // se_IcebergCompactionSettings omitted. +// se_IcebergMetadata omitted. + +// se_IcebergSchema omitted. + // se_IcebergSnapshotManagementSettings omitted. // se_IcebergUnreferencedFileRemovalSettings omitted. // se_NamespaceList omitted. +// se_SchemaField omitted. + +// se_SchemaFieldList omitted. + // se_TableBucketMaintenanceConfigurationValue omitted. // se_TableBucketMaintenanceSettings omitted. @@ -1353,6 +1366,8 @@ const de_TooManyRequestsExceptionRes = async ( // se_TableMaintenanceSettings omitted. +// se_TableMetadata omitted. + // de_IcebergCompactionSettings omitted. // de_IcebergSnapshotManagementSettings omitted. diff --git a/codegen/sdk-codegen/aws-models/s3tables.json b/codegen/sdk-codegen/aws-models/s3tables.json index 0d0c8014e966..432bc7c878bd 100644 --- a/codegen/sdk-codegen/aws-models/s3tables.json +++ b/codegen/sdk-codegen/aws-models/s3tables.json @@ -79,7 +79,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see Table namespaces.
", + "smithy.api#documentation": "Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see Create a namespace in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:CreateNamespace
permission to use this operation.
Creates a new table associated with the given namespace in a table bucket.
", + "smithy.api#documentation": "Creates a new table associated with the given namespace in a table bucket. For more information, see Creating an Amazon S3 table in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:CreateTable
permission to use this operation.
Additionally, you must have the s3tables:PutTableData
permission to use this operation with the optional metadata
request parameter.
Creates a table bucket.
", + "smithy.api#documentation": "Creates a table bucket. For more information, see Creating a table bucket in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:CreateTableBucket
permission to use this operation.
The format for the table.
", "smithy.api#required": {} } + }, + "metadata": { + "target": "com.amazonaws.s3tables#TableMetadata", + "traits": { + "smithy.api#documentation": "The metadata for the table.
" + } } }, "traits": { @@ -329,7 +335,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a namespace.
", + "smithy.api#documentation": "Deletes a namespace. For more information, see Delete a namespace in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:DeleteNamespace
permission to use this operation.
Deletes a table.
", + "smithy.api#documentation": "Deletes a table. For more information, see Deleting an Amazon S3 table in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:DeleteTable
permission to use this operation.
Deletes a table bucket.
", + "smithy.api#documentation": "Deletes a table bucket. For more information, see Deleting a table bucket in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:DeleteTableBucket
permission to use this operation.
Deletes a table bucket policy.
", + "smithy.api#documentation": "Deletes a table bucket policy. For more information, see Deleting a table bucket policy in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:DeleteTableBucketPolicy
permission to use this operation.
The Amazon Resource Number (ARN) of the table bucket.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the table bucket.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -537,7 +543,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a table policy.
", + "smithy.api#documentation": "Deletes a table policy. For more information, see Deleting a table policy in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:DeleteTablePolicy
permission to use this operation.
The Amazon Resource Number (ARN) of the table bucket that contains the table.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the table bucket that contains the table.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -665,7 +671,7 @@ } ], "traits": { - "smithy.api#documentation": "Gets details about a namespace.
", + "smithy.api#documentation": "Gets details about a namespace. For more information, see Table namespaces in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:GetNamespace
permission to use this operation.
Gets details about a table.
", + "smithy.api#documentation": "Gets details about a table. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:GetTable
permission to use this operation.
Gets details on a table bucket.
", + "smithy.api#documentation": "Gets details on a table bucket. For more information, see Viewing details about an Amazon S3 table bucket in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:GetTableBucket
permission to use this operation.
Gets details about a maintenance configuration for a given table bucket.
", + "smithy.api#documentation": "Gets details about a maintenance configuration for a given table bucket. For more information, see Amazon S3 table bucket maintenance in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:GetTableBucketMaintenanceConfiguration
permission to use this operation.
Gets details about a table bucket policy.
", + "smithy.api#documentation": "Gets details about a table bucket policy. For more information, see Viewing a table bucket policy in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:GetTableBucketPolicy
permission to use this operation.
The Amazon Resource Number (ARN) of the table bucket.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the table bucket.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1002,7 +1008,7 @@ "resourcePolicy": { "target": "com.amazonaws.s3tables#ResourcePolicy", "traits": { - "smithy.api#documentation": "The name of the resource policy.
", + "smithy.api#documentation": "The JSON
that defines the policy.
Gets details about the maintenance configuration of a table.
", + "smithy.api#documentation": "Gets details about the maintenance configuration of a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:GetTableMaintenanceConfiguration
permission to use this operation.
Gets the status of a maintenance job for a table.
", + "smithy.api#documentation": "Gets the status of a maintenance job for a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:GetTableMaintenanceJobStatus
permission to use this operation.
Gets the location of the table metadata.
", + "smithy.api#documentation": "Gets the location of the table metadata.
\nYou must have the s3tables:GetTableMetadataLocation
permission to use this operation.
Gets details about a table policy.
", + "smithy.api#documentation": "Gets details about a table policy. For more information, see Viewing a table policy in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:GetTablePolicy
permission to use this operation.
The Amazon Resource Number (ARN) of the table bucket that contains the table.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the table bucket that contains the table.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1418,7 +1424,7 @@ "resourcePolicy": { "target": "com.amazonaws.s3tables#ResourcePolicy", "traits": { - "smithy.api#documentation": "The name of the resource policy.
", + "smithy.api#documentation": "The JSON
that defines the policy.
Contains details about the compaction settings for an Iceberg table. \n
" } }, + "com.amazonaws.s3tables#IcebergMetadata": { + "type": "structure", + "members": { + "schema": { + "target": "com.amazonaws.s3tables#IcebergSchema", + "traits": { + "smithy.api#documentation": "The schema for an Iceberg table.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Contains details about the metadata for an Iceberg table.
" + } + }, + "com.amazonaws.s3tables#IcebergSchema": { + "type": "structure", + "members": { + "fields": { + "target": "com.amazonaws.s3tables#SchemaFieldList", + "traits": { + "smithy.api#documentation": "The schema fields for the table
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Contains details about the schema for an Iceberg table.
" + } + }, "com.amazonaws.s3tables#IcebergSnapshotManagementSettings": { "type": "structure", "members": { @@ -1693,7 +1729,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the namespaces within a table bucket.
", + "smithy.api#documentation": "Lists the namespaces within a table bucket. For more information, see Table namespaces in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:ListNamespaces
permission to use this operation.
Lists table buckets for your account.
", + "smithy.api#documentation": "Lists table buckets for your account. For more information, see S3 Table buckets in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:ListTableBuckets
permission to use this operation.
List tables in the given table bucket.
", + "smithy.api#documentation": "List tables in the given table bucket. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:ListTables
permission to use this operation.
The Amazon resource Number (ARN) of the table bucket.
", + "smithy.api#documentation": "The Amazon resource Name (ARN) of the table bucket.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2228,7 +2264,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new maintenance configuration or replaces an existing maintenance configuration\n for a table bucket.
", + "smithy.api#documentation": "Creates a new maintenance configuration or replaces an existing maintenance configuration\n for a table bucket. For more information, see Amazon S3 table bucket maintenance in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:PutTableBucketMaintenanceConfiguration
permission to use this operation.
Creates a new maintenance configuration or replaces an existing table bucket policy for a\n table bucket.
", + "smithy.api#documentation": "Creates a new maintenance configuration or replaces an existing table bucket policy for a\n table bucket. For more information, see Adding a table bucket policy in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:PutTableBucketPolicy
permission to use this operation.
The Amazon Resource Number (ARN) of the table bucket.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the table bucket.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2319,7 +2355,7 @@ "resourcePolicy": { "target": "com.amazonaws.s3tables#ResourcePolicy", "traits": { - "smithy.api#documentation": "The name of the resource policy.
", + "smithy.api#documentation": "The JSON
that defines the policy.
Creates a new maintenance configuration or replaces an existing maintenance configuration\n for a table.
", + "smithy.api#documentation": "Creates a new maintenance configuration or replaces an existing maintenance configuration\n for a table. For more information, see S3 Tables maintenance in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:PutTableMaintenanceConfiguration
permission to use this operation.
Creates a new maintenance configuration or replaces an existing table policy for a table.\n
", + "smithy.api#documentation": "Creates a new maintenance configuration or replaces an existing table policy for a table. For more information, see Adding a table policy in the Amazon Simple Storage Service User Guide.\n
\nYou must have the s3tables:PutTablePolicy
permission to use this operation.
The Amazon Resource Number (ARN) of the table bucket that contains the table.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the table bucket that contains the table.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2480,7 +2516,7 @@ "resourcePolicy": { "target": "com.amazonaws.s3tables#ResourcePolicy", "traits": { - "smithy.api#documentation": "The name of the resource policy.
", + "smithy.api#documentation": "The JSON
that defines the policy.
Renames a table or a namespace.
", + "smithy.api#documentation": "Renames a table or a namespace. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
\nYou must have the s3tables:RenameTable
permission to use this operation.
The name of the field.
", + "smithy.api#required": {} + } + }, + "type": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The field type. S3 Tables supports all Apache Iceberg primitive types. For more information, see the Apache Iceberg documentation.
", + "smithy.api#required": {} + } + }, + "required": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "A Boolean value that specifies whether values are required for each row in this field. By default, this is false
and null values are allowed in the field. If this is true
the field does not allow null values.
Contains details about a schema field.
" + } + }, + "com.amazonaws.s3tables#SchemaFieldList": { + "type": "list", + "member": { + "target": "com.amazonaws.s3tables#SchemaField" + } + }, "com.amazonaws.s3tables#TableARN": { "type": "string", "traits": { @@ -3419,7 +3490,7 @@ "arn": { "target": "com.amazonaws.s3tables#TableBucketARN", "traits": { - "smithy.api#documentation": "The Amazon Resource Number (ARN) of the table bucket.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the table bucket.
", "smithy.api#required": {} } }, @@ -3582,6 +3653,20 @@ } } }, + "com.amazonaws.s3tables#TableMetadata": { + "type": "union", + "members": { + "iceberg": { + "target": "com.amazonaws.s3tables#IcebergMetadata", + "traits": { + "smithy.api#documentation": "Contains details about the metadata of an Iceberg table.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains details about the table metadata.
" + } + }, "com.amazonaws.s3tables#TableName": { "type": "string", "traits": { @@ -3674,7 +3759,7 @@ "tableARN": { "target": "com.amazonaws.s3tables#TableARN", "traits": { - "smithy.api#documentation": "The Amazon Resource Number (ARN) of the table.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the table.
", "smithy.api#required": {} } }, @@ -3764,7 +3849,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates the metadata location for a table.
", + "smithy.api#documentation": "Updates the metadata location for a table. The metadata location of a table must be an S3 URI that begins with the table's warehouse location. The metadata location for an Apache Iceberg table must end with .metadata.json
, or if the metadata file is Gzip-compressed, .metadata.json.gz
.
You must have the s3tables:UpdateTableMetadataLocation
permission to use this operation.
The Amazon Resource Number (ARN) of the table.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the table.
", "smithy.api#required": {} } },