Skip to main content

privacy_budgets

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

Overview

Nameprivacy_budgets
TypeResource
Idaws.cleanrooms.privacy_budgets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the privacy budget. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
budgetobjectThe provided privacy budget.
collaboration_arnstringThe ARN of the collaboration that contains this privacy budget. (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 contains this privacy budget. (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 privacy budget was created.
membership_arnstringThe Amazon Resource Name (ARN) of the member who created the privacy budget summary. (pattern: <code>arn:aws:[\w]+:[\w]{2}-[\w]{4,9}-[\d]:[\d]{12}:membership/[\d\w-]+</code>)
membership_idstringThe identifier for a membership resource. (pattern: <code>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>)
privacy_budget_template_arnstringThe ARN of the privacy budget template. (pattern: <code>arn:aws:[\w]+:[\w]{2}-[\w]{4,9}-[\d]:[\d]{12}:privacybudgettemplate/[\d\w-]+</code>)
privacy_budget_template_idstringThe unique identifier of the 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>)
type_stringSpecifies the type of the privacy budget. (DIFFERENTIAL_PRIVACY, ACCESS_BUDGET)
update_timestring (date-time)The most recent time at which the privacy budget was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_privacy_budgetsselectmembership_identifier, privacyBudgetType, regionnextToken, maxResults, accessBudgetResourceArnReturns detailed information about the privacy budgets in a specified membership.

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
membership_identifierstringA unique identifier for one of your memberships for a collaboration. The privacy budget is retrieved from the collaboration that this membership belongs to. Accepts a membership ID.
privacyBudgetTypestringThe privacy budget type.
regionstringAWS region (default: us-east-1)
accessBudgetResourceArnstringThe Amazon Resource Name (ARN) of the access budget resource to filter privacy budgets by.
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 detailed information about the privacy budgets in a specified membership.

SELECT
id,
budget,
collaboration_arn,
collaboration_id,
create_time,
membership_arn,
membership_id,
privacy_budget_template_arn,
privacy_budget_template_id,
type_,
update_time
FROM aws.cleanrooms.privacy_budgets
WHERE membership_identifier = '{{ membership_identifier }}' -- required
AND privacyBudgetType = '{{ privacyBudgetType }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
AND accessBudgetResourceArn = '{{ accessBudgetResourceArn }}'
;