Skip to main content

collaboration_privacy_budget_templates

Creates, updates, deletes, gets or lists a collaboration_privacy_budget_templates resource.

Overview

Namecollaboration_privacy_budget_templates
TypeResource
Idaws.cleanrooms.collaboration_privacy_budget_templates

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the collaboration privacy budget template. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
arnstringThe ARN of the collaboration privacy budget template. (pattern: <code>arn:aws:[\w]+:[\w]{2}-[\w]{4,9}-[\d]:[\d]{12}:privacybudgettemplate/[\d\w-]+</code>)
auto_refreshstringHow often the privacy budget refreshes. If you plan to regularly bring new data into the collaboration, use CALENDAR_MONTH to 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 queried across refreshes. Avoid choosing this if the same rows will be repeatedly queried between privacy budget refreshes. (CALENDAR_MONTH, NONE)
collaboration_arnstringThe ARN of the collaboration that includes this collaboration privacy budget template. (pattern: <code>arn:aws:[\w]+:[\w]{2}-[\w]{4,9}-[\d]:[\d]{12}:collaboration/[\d\w-]+</code>)
collaboration_idstringThe unique identifier of the collaboration that includes this collaboration privacy budget template. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
create_timestring (date-time)The time at which the collaboration privacy budget template was created.
creator_account_idstringThe unique identifier of the account that created this collaboration privacy budget template. (pattern: <code>\d+</code>)
parametersobjectSpecifies the epsilon and noise parameters for the privacy budget template.
privacy_budget_typestringThe type of privacy budget template. (DIFFERENTIAL_PRIVACY, ACCESS_BUDGET)
update_timestring (date-time)The most recent time at which the collaboration privacy budget template was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_collaboration_privacy_budget_templateselectcollaboration_identifier, privacy_budget_template_identifier, regionReturns details about a specified privacy budget template.
list_collaboration_privacy_budget_templatesselectcollaboration_identifier, regionnextToken, maxResultsReturns an array that summarizes each privacy budget template in a specified collaboration.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
collaboration_identifierstringA unique identifier for one of your collaborations.
privacy_budget_template_identifierstringA unique identifier for one of your privacy budget templates.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results that are returned for an API request call. The service chooses a default number if you don't set one. The service might return a nextToken even if the maxResults value has not been met.
nextTokenstringThe pagination token that's used to fetch the next set of results.

SELECT examples

Returns details about a specified privacy budget template.

SELECT
id,
arn,
auto_refresh,
collaboration_arn,
collaboration_id,
create_time,
creator_account_id,
parameters,
privacy_budget_type,
update_time
FROM aws.cleanrooms.collaboration_privacy_budget_templates
WHERE collaboration_identifier = '{{ collaboration_identifier }}' -- required
AND privacy_budget_template_identifier = '{{ privacy_budget_template_identifier }}' -- required
AND region = '{{ region }}' -- required
;