CleanRoomsService / Client / get_privacy_budget_template
get_privacy_budget_template#
- CleanRoomsService.Client.get_privacy_budget_template(**kwargs)#
Returns details for a specified privacy budget template.
See also: AWS API Documentation
Request Syntax
response = client.get_privacy_budget_template( membershipIdentifier='string', privacyBudgetTemplateIdentifier='string' )
- Parameters:
membershipIdentifier (string) –
[REQUIRED]
A unique identifier for one of your memberships for a collaboration. The privacy budget template is retrieved from the collaboration that this membership belongs to. Accepts a membership ID.
privacyBudgetTemplateIdentifier (string) –
[REQUIRED]
A unique identifier for your privacy budget template.
- Return type:
dict
- Returns:
Response Syntax
{ 'privacyBudgetTemplate': { 'id': 'string', 'arn': 'string', 'membershipId': 'string', 'membershipArn': 'string', 'collaborationId': 'string', 'collaborationArn': 'string', 'createTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1), 'privacyBudgetType': 'DIFFERENTIAL_PRIVACY', 'autoRefresh': 'CALENDAR_MONTH'|'NONE', 'parameters': { 'differentialPrivacy': { 'epsilon': 123, 'usersNoisePerQuery': 123 } } } }
Response Structure
(dict) –
privacyBudgetTemplate (dict) –
Returns the details of the privacy budget template that you requested.
id (string) –
The unique identifier of the privacy budget template.
arn (string) –
The ARN of the privacy budget template.
membershipId (string) –
The identifier for a membership resource.
membershipArn (string) –
The Amazon Resource Name (ARN) of the member who created the privacy budget template.
collaborationId (string) –
The unique ID of the collaboration that contains this privacy budget template.
collaborationArn (string) –
The ARN of the collaboration that contains this privacy budget template.
createTime (datetime) –
The time at which the privacy budget template was created.
updateTime (datetime) –
The most recent time at which the privacy budget template was updated.
privacyBudgetType (string) –
Specifies the type of the privacy budget template.
autoRefresh (string) –
How often the privacy budget refreshes.
Warning
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.parameters (dict) –
Specifies the epsilon and noise parameters for the privacy budget template.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
differentialPrivacy
. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBER
is as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
differentialPrivacy (dict) –
The epsilon and noise parameters.
epsilon (integer) –
The epsilon value that you specified.
usersNoisePerQuery (integer) –
Noise added per query is measured in terms of the number of users whose contributions you want to obscure. This value governs the rate at which the privacy budget is depleted.
Exceptions
CleanRoomsService.Client.exceptions.ResourceNotFoundException
CleanRoomsService.Client.exceptions.InternalServerException
CleanRoomsService.Client.exceptions.ValidationException
CleanRoomsService.Client.exceptions.ThrottlingException
CleanRoomsService.Client.exceptions.AccessDeniedException