import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdatePrivacyBudgetTemplateInput, UpdatePrivacyBudgetTemplateOutput } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdatePrivacyBudgetTemplateCommand}. */ export interface UpdatePrivacyBudgetTemplateCommandInput extends UpdatePrivacyBudgetTemplateInput { } /** * @public * * The output of {@link UpdatePrivacyBudgetTemplateCommand}. */ export interface UpdatePrivacyBudgetTemplateCommandOutput extends UpdatePrivacyBudgetTemplateOutput, __MetadataBearer { } declare const UpdatePrivacyBudgetTemplateCommand_base: { new (input: UpdatePrivacyBudgetTemplateCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdatePrivacyBudgetTemplateCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the privacy budget template for the specified collaboration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, UpdatePrivacyBudgetTemplateCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, UpdatePrivacyBudgetTemplateCommand } = require("@aws-sdk/client-cleanrooms"); // CommonJS import * // import type { CleanRoomsClientConfig } from "@aws-sdk/client-cleanrooms"; * const config = {}; // type is CleanRoomsClientConfig * const client = new CleanRoomsClient(config); * const input = { // UpdatePrivacyBudgetTemplateInput * membershipIdentifier: "STRING_VALUE", // required * privacyBudgetTemplateIdentifier: "STRING_VALUE", // required * privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required * parameters: { // PrivacyBudgetTemplateUpdateParameters Union: only one key present * differentialPrivacy: { // DifferentialPrivacyTemplateUpdateParameters * epsilon: Number("int"), * usersNoisePerQuery: Number("int"), * }, * accessBudget: { // AccessBudgetsPrivacyTemplateUpdateParameters * budgetParameters: [ // BudgetParameters // required * { // BudgetParameter * type: "CALENDAR_DAY" || "CALENDAR_MONTH" || "CALENDAR_WEEK" || "LIFETIME", // required * budget: Number("int"), // required * autoRefresh: "ENABLED" || "DISABLED", * }, * ], * }, * }, * }; * const command = new UpdatePrivacyBudgetTemplateCommand(input); * const response = await client.send(command); * // { // UpdatePrivacyBudgetTemplateOutput * // privacyBudgetTemplate: { // PrivacyBudgetTemplate * // id: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // membershipId: "STRING_VALUE", // required * // membershipArn: "STRING_VALUE", // required * // collaborationId: "STRING_VALUE", // required * // collaborationArn: "STRING_VALUE", // required * // createTime: new Date("TIMESTAMP"), // required * // updateTime: new Date("TIMESTAMP"), // required * // privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required * // autoRefresh: "CALENDAR_MONTH" || "NONE", // required * // parameters: { // PrivacyBudgetTemplateParametersOutput Union: only one key present * // differentialPrivacy: { // DifferentialPrivacyTemplateParametersOutput * // epsilon: Number("int"), // required * // usersNoisePerQuery: Number("int"), // required * // }, * // accessBudget: { // AccessBudgetsPrivacyTemplateParametersOutput * // budgetParameters: [ // BudgetParameters // required * // { // BudgetParameter * // type: "CALENDAR_DAY" || "CALENDAR_MONTH" || "CALENDAR_WEEK" || "LIFETIME", // required * // budget: Number("int"), // required * // autoRefresh: "ENABLED" || "DISABLED", * // }, * // ], * // resourceArn: "STRING_VALUE", // required * // }, * // }, * // }, * // }; * * ``` * * @param UpdatePrivacyBudgetTemplateCommandInput - {@link UpdatePrivacyBudgetTemplateCommandInput} * @returns {@link UpdatePrivacyBudgetTemplateCommandOutput} * @see {@link UpdatePrivacyBudgetTemplateCommandInput} for command's `input` shape. * @see {@link UpdatePrivacyBudgetTemplateCommandOutput} for command's `response` shape. * @see {@link CleanRoomsClientResolvedConfig | config} for CleanRoomsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Caller does not have sufficient access to perform this action.

* * @throws {@link ConflictException} (client fault) *

Updating or deleting a resource can cause an inconsistent state.

* * @throws {@link InternalServerException} (server fault) *

Unexpected error during processing of request.

* * @throws {@link ResourceNotFoundException} (client fault) *

Request references a resource which does not exist.

* * @throws {@link ThrottlingException} (client fault) *

Request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the specified constraints.

* * @throws {@link CleanRoomsServiceException} *

Base exception class for all service exceptions from CleanRooms service.

* * * @public */ export declare class UpdatePrivacyBudgetTemplateCommand extends UpdatePrivacyBudgetTemplateCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdatePrivacyBudgetTemplateInput; output: UpdatePrivacyBudgetTemplateOutput; }; sdk: { input: UpdatePrivacyBudgetTemplateCommandInput; output: UpdatePrivacyBudgetTemplateCommandOutput; }; }; }