create_configured_table
¶
create_configured_table(
name: DisplayName,
table_reference: TableReference,
allowed_columns: AllowedColumnList,
analysis_method: AnalysisMethod,
*,
config_overrides: Optional[CleanRoomsClientConfig] = 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/clean_rooms.py
3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 | |