create_privacy_budget_template
¶
create_privacy_budget_template(
membership_identifier: MembershipIdentifier,
privacy_budget_type: PrivacyBudgetType,
parameters: PrivacyBudgetTemplateParametersInput,
*,
config_overrides: Optional[CleanRoomsClientConfig] = None,
auto_refresh: Optional[PrivacyBudgetTemplateAutoRefresh] = None,
tags: Optional[TagMap] = None,
) -> CreatePrivacyBudgetTemplateOutput
Creates a privacy budget template for a specified collaboration. Each collaboration can have only one privacy budget template. If you need to change the privacy budget template, use the UpdatePrivacyBudgetTemplate operation.
Parameters:
-
membership_identifier(MembershipIdentifier) –A unique identifier for one of your memberships for a collaboration. The privacy budget template is created in the collaboration that this membership belongs to. Accepts a membership ID.
-
auto_refresh(Optional[PrivacyBudgetTemplateAutoRefresh], default:None) –How often the privacy budget refreshes.
If you plan to regularly bring new data into the collaboration, you can use
CALENDAR_MONTHto automatically get a new privacy budget for the collaboration every calendar month. Choosing this option allows arbitrary amounts of information to be revealed about rows of the data when repeatedly queries across refreshes. Avoid choosing this if the same rows will be repeatedly queried between privacy budget refreshes. -
privacy_budget_type(PrivacyBudgetType) –Specifies the type of the privacy budget template.
-
parameters(PrivacyBudgetTemplateParametersInput) –Specifies your parameters for the privacy budget template.
-
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
6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 | |