create_privacy_budget_template
async
¶
create_privacy_budget_template(
membership_identifier: MembershipIdentifier,
privacy_budget_type: PrivacyBudgetType,
parameters: PrivacyBudgetTemplateParametersInput,
*,
config_overrides: Optional[AsyncCleanRoomsClientConfig] = 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/async_clean_rooms.py
7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 | |