create_configured_table
async
¶
create_configured_table(
name: DisplayName,
table_reference: TableReference,
allowed_columns: AllowedColumnList,
analysis_method: AnalysisMethod,
*,
config_overrides: Optional[AsyncCleanRoomsClientConfig] = None,
description: Optional[TableDescription] = None,
selected_analysis_methods: Optional[SelectedAnalysisMethods] = None,
tags: Optional[TagMap] = None,
) -> CreateConfiguredTableOutput
Creates a new configured table resource.
Parameters:
-
name(DisplayName) –The name of the configured table.
-
description(Optional[TableDescription], default:None) –A description for the configured table.
-
table_reference(TableReference) –A reference to the table being configured.
-
allowed_columns(AllowedColumnList) –The columns of the underlying table that can be used by collaborations or analysis rules.
-
analysis_method(AnalysisMethod) –The analysis method allowed for the configured tables.
DIRECT_QUERYallows SQL queries to be run directly on this table.DIRECT_JOBallows PySpark jobs to be run directly on this table.MULTIPLEallows both SQL queries and PySpark jobs to be run directly on this table. -
selected_analysis_methods(Optional[SelectedAnalysisMethods], default:None) –The analysis methods to enable for the configured table. When configured, you must specify at least two analysis methods.
-
tags(Optional[TagMap], default:None) –An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
Raises:
-
AccessDeniedException–Caller does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ServiceQuotaExceededException–Request denied because service quota has been exceeded.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cleanrooms/_services/async_clean_rooms.py
3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 | |