import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetProtectedQueryInput, GetProtectedQueryOutput } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetProtectedQueryCommand}. */ export interface GetProtectedQueryCommandInput extends GetProtectedQueryInput { } /** * @public * * The output of {@link GetProtectedQueryCommand}. */ export interface GetProtectedQueryCommandOutput extends GetProtectedQueryOutput, __MetadataBearer { } declare const GetProtectedQueryCommand_base: { new (input: GetProtectedQueryCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetProtectedQueryCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns query processing metadata.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, GetProtectedQueryCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, GetProtectedQueryCommand } = 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 = { // GetProtectedQueryInput * membershipIdentifier: "STRING_VALUE", // required * protectedQueryIdentifier: "STRING_VALUE", // required * }; * const command = new GetProtectedQueryCommand(input); * const response = await client.send(command); * // { // GetProtectedQueryOutput * // 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 GetProtectedQueryCommandInput - {@link GetProtectedQueryCommandInput} * @returns {@link GetProtectedQueryCommandOutput} * @see {@link GetProtectedQueryCommandInput} for command's `input` shape. * @see {@link GetProtectedQueryCommandOutput} 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 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 GetProtectedQueryCommand extends GetProtectedQueryCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetProtectedQueryInput; output: GetProtectedQueryOutput; }; sdk: { input: GetProtectedQueryCommandInput; output: GetProtectedQueryCommandOutput; }; }; }