start_protected_query
async
¶
start_protected_query(
type: ProtectedQueryType,
membership_identifier: MembershipIdentifier,
sql_parameters: ProtectedQuerySQLParameters,
*,
config_overrides: Optional[AsyncCleanRoomsClientConfig] = None,
result_configuration: Optional[ProtectedQueryResultConfiguration] = None,
compute_configuration: Optional[ComputeConfiguration] = None,
query_compute_payer_account_id: Optional[AccountId] = None,
) -> StartProtectedQueryOutput
Creates a protected query that is started by Clean Rooms.
Parameters:
-
type(ProtectedQueryType) –The type of the protected query to be started.
-
membership_identifier(MembershipIdentifier) –A unique identifier for the membership to run this query against. Currently accepts a membership ID.
-
sql_parameters(ProtectedQuerySQLParameters) –The protected SQL query parameters.
-
result_configuration(Optional[ProtectedQueryResultConfiguration], default:None) –The details needed to write the query results.
-
compute_configuration(Optional[ComputeConfiguration], default:None) –The compute configuration for the protected query.
-
query_compute_payer_account_id(Optional[AccountId], default:None) –The account ID of the member that pays for the query compute costs.
Raises:
-
AccessDeniedException–Caller does not have sufficient access to perform this action.
-
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
6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 | |