import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateProtectedQueryInput, UpdateProtectedQueryOutput } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateProtectedQueryCommand}. */ export interface UpdateProtectedQueryCommandInput extends UpdateProtectedQueryInput { } /** * @public * * The output of {@link UpdateProtectedQueryCommand}. */ export interface UpdateProtectedQueryCommandOutput extends UpdateProtectedQueryOutput, __MetadataBearer { } declare const UpdateProtectedQueryCommand_base: { new (input: UpdateProtectedQueryCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateProtectedQueryCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the processing of a currently running query.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, UpdateProtectedQueryCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, UpdateProtectedQueryCommand } = 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 = { // UpdateProtectedQueryInput * membershipIdentifier: "STRING_VALUE", // required * protectedQueryIdentifier: "STRING_VALUE", // required * targetStatus: "STRING_VALUE", // required * }; * const command = new UpdateProtectedQueryCommand(input); * const response = await client.send(command); * // { // UpdateProtectedQueryOutput * // protectedQuery: { // ProtectedQuery * // id: "STRING_VALUE", // required * // membershipId: "STRING_VALUE", // required * // membershipArn: "STRING_VALUE", // required * // createTime: new Date("TIMESTAMP"), // required * // sqlParameters: { // ProtectedQuerySQLParameters * // queryString: "STRING_VALUE", * // analysisTemplateArn: "STRING_VALUE", * // parameters: { // ParameterMap * // "": "STRING_VALUE", * // }, * // }, * // status: "STRING_VALUE", // required * // resultConfiguration: { // ProtectedQueryResultConfiguration * // outputConfiguration: { // ProtectedQueryOutputConfiguration Union: only one key present * // s3: { // ProtectedQueryS3OutputConfiguration * // resultFormat: "CSV" || "PARQUET", // required * // bucket: "STRING_VALUE", // required * // keyPrefix: "STRING_VALUE", * // singleFileOutput: true || false, * // }, * // member: { // ProtectedQueryMemberOutputConfiguration * // accountId: "STRING_VALUE", // required * // }, * // distribute: { // ProtectedQueryDistributeOutputConfiguration * // locations: [ // ProtectedQueryDistributeOutputConfigurationLocations // required * // { // ProtectedQueryDistributeOutputConfigurationLocation Union: only one key present * // s3: { * // resultFormat: "CSV" || "PARQUET", // required * // bucket: "STRING_VALUE", // required * // keyPrefix: "STRING_VALUE", * // singleFileOutput: true || false, * // }, * // member: { * // accountId: "STRING_VALUE", // required * // }, * // }, * // ], * // }, * // intermediateTable: { // IntermediateTableOutputConfiguration * // id: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // }, * // }, * // }, * // statistics: { // ProtectedQueryStatistics * // totalDurationInMillis: Number("long"), * // billedResourceUtilization: { // BilledResourceUtilization * // units: Number("double"), // required * // }, * // }, * // result: { // ProtectedQueryResult * // output: { // ProtectedQueryOutput Union: only one key present * // s3: { // ProtectedQueryS3Output * // location: "STRING_VALUE", // required * // }, * // memberList: [ // ProtectedQueryMemberOutputList * // { // ProtectedQuerySingleMemberOutput * // accountId: "STRING_VALUE", // required * // }, * // ], * // distribute: { // ProtectedQueryDistributeOutput * // s3: { * // location: "STRING_VALUE", // required * // }, * // memberList: [ * // { * // accountId: "STRING_VALUE", // required * // }, * // ], * // }, * // }, * // }, * // error: { // ProtectedQueryError * // message: "STRING_VALUE", // required * // code: "STRING_VALUE", // required * // }, * // differentialPrivacy: { // DifferentialPrivacyParameters * // sensitivityParameters: [ // DifferentialPrivacySensitivityParametersList // required * // { // DifferentialPrivacySensitivityParameters * // aggregationType: "AVG" || "COUNT" || "COUNT_DISTINCT" || "SUM" || "STDDEV", // required * // aggregationExpression: "STRING_VALUE", // required * // userContributionLimit: Number("int"), // required * // minColumnValue: Number("float"), * // maxColumnValue: Number("float"), * // }, * // ], * // }, * // computeConfiguration: { // ComputeConfiguration Union: only one key present * // worker: { // WorkerComputeConfiguration * // type: "CR.1X" || "CR.4X" || "CR.8X", * // number: Number("int"), * // properties: { // WorkerComputeConfigurationProperties Union: only one key present * // spark: { // SparkProperties * // "": "STRING_VALUE", * // }, * // }, * // }, * // }, * // queryComputePayerAccountId: "STRING_VALUE", * // }, * // }; * * ``` * * @param UpdateProtectedQueryCommandInput - {@link UpdateProtectedQueryCommandInput} * @returns {@link UpdateProtectedQueryCommandOutput} * @see {@link UpdateProtectedQueryCommandInput} for command's `input` shape. * @see {@link UpdateProtectedQueryCommandOutput} 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 UpdateProtectedQueryCommand extends UpdateProtectedQueryCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateProtectedQueryInput; output: UpdateProtectedQueryOutput; }; sdk: { input: UpdateProtectedQueryCommandInput; output: UpdateProtectedQueryCommandOutput; }; }; }