import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetIntermediateTableInput, GetIntermediateTableOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetIntermediateTableCommand}. */ export interface GetIntermediateTableCommandInput extends GetIntermediateTableInput { } /** * @public * * The output of {@link GetIntermediateTableCommand}. */ export interface GetIntermediateTableCommandOutput extends GetIntermediateTableOutput, __MetadataBearer { } declare const GetIntermediateTableCommand_base: { new (input: GetIntermediateTableCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetIntermediateTableCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves an intermediate table. Returns the full details of the intermediate table, including schema, table dependencies, inherited constraints, child resources, and status. Only the intermediate table owner can call this operation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, GetIntermediateTableCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, GetIntermediateTableCommand } = 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 = { // GetIntermediateTableInput * intermediateTableIdentifier: "STRING_VALUE", // required * membershipIdentifier: "STRING_VALUE", // required * }; * const command = new GetIntermediateTableCommand(input); * const response = await client.send(command); * // { // GetIntermediateTableOutput * // intermediateTable: { // IntermediateTable * // id: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // description: "STRING_VALUE", * // membershipArn: "STRING_VALUE", // required * // membershipId: "STRING_VALUE", // required * // collaborationArn: "STRING_VALUE", // required * // collaborationId: "STRING_VALUE", // required * // childResources: [ // ChildResourceList * // { // ChildResource * // resourceId: "STRING_VALUE", * // resourceType: "INTERMEDIATE_TABLE", // required * // resourceName: "STRING_VALUE", // required * // ownerAccountId: "STRING_VALUE", // required * // resourceStatus: "CREATED" || "POPULATE_STARTED" || "POPULATE_SUCCESS" || "POPULATE_FAILED" || "DISALLOWED_BY_DATA_PROVIDER" || "BASE_TABLE_REMOVED" || "RETENTION_PERIOD_EXPIRED", * // }, * // ], * // createTime: new Date("TIMESTAMP"), // required * // updateTime: new Date("TIMESTAMP"), // required * // status: "CREATED" || "POPULATE_STARTED" || "POPULATE_SUCCESS" || "POPULATE_FAILED" || "DISALLOWED_BY_DATA_PROVIDER" || "BASE_TABLE_REMOVED" || "RETENTION_PERIOD_EXPIRED", // required * // statusReason: "STRING_VALUE", * // kmsKeyArn: "STRING_VALUE", * // populationAnalysisConfiguration: { // PopulationAnalysisConfiguration Union: only one key present * // sqlParameters: { // PopulationAnalysisSqlParameters * // queryString: "STRING_VALUE", * // analysisTemplateArn: "STRING_VALUE", * // }, * // }, * // retentionInDays: Number("int"), * // tableDependencies: [ // DependencyList * // { // IntermediateTableDependency * // id: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // type: "TABLE" || "INTERMEDIATE_TABLE" || "ID_MAPPING_TABLE", // required * // parentType: "DIRECT" || "INDIRECT", // required * // creatorAccountId: "STRING_VALUE", // required * // }, * // ], * // intermediateTableVersion: { // IntermediateTableActiveVersion * // versionId: "STRING_VALUE", // required * // analysisId: "STRING_VALUE", // required * // analysisType: "QUERY", // required * // kmsKeyArn: "STRING_VALUE", * // parameters: { // ParameterMap * // "": "STRING_VALUE", * // }, * // inheritedConstraints: { // IntermediateTableInheritedConstraints * // additionalAnalyses: { // InheritedAdditionalAnalyses * // value: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED", // required * // sources: [ // InheritedAdditionalAnalysesSourceList // required * // { // InheritedAdditionalAnalysesSource * // name: "STRING_VALUE", // required * // id: "STRING_VALUE", // required * // type: "TABLE" || "INTERMEDIATE_TABLE" || "ID_MAPPING_TABLE", // required * // value: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED", // required * // sourceAccountId: "STRING_VALUE", // required * // }, * // ], * // }, * // allowedAdditionalAnalyses: { // InheritedAllowedAdditionalAnalyses * // value: [ // AllowedAdditionalAnalyses // required * // "STRING_VALUE", * // ], * // sources: [ // InheritedAllowedAdditionalAnalysesSourceList // required * // { // InheritedAllowedAdditionalAnalysesSource * // name: "STRING_VALUE", // required * // id: "STRING_VALUE", // required * // type: "TABLE" || "INTERMEDIATE_TABLE" || "ID_MAPPING_TABLE", // required * // value: [ // required * // "STRING_VALUE", * // ], * // sourceAccountId: "STRING_VALUE", // required * // }, * // ], * // }, * // allowedResultReceivers: { // InheritedAllowedResultReceivers * // value: [ // AccountIdList // required * // "STRING_VALUE", * // ], * // sources: [ // InheritedAllowedResultReceiversSourceList // required * // { // InheritedAllowedResultReceiversSource * // name: "STRING_VALUE", // required * // id: "STRING_VALUE", // required * // type: "TABLE" || "INTERMEDIATE_TABLE" || "ID_MAPPING_TABLE", // required * // value: [ // required * // "STRING_VALUE", * // ], * // sourceAccountId: "STRING_VALUE", // required * // }, * // ], * // }, * // disallowedOutputColumns: { // InheritedDisallowedOutputColumns * // value: [ // AnalysisRuleColumnNameList // required * // "STRING_VALUE", * // ], * // columnLineage: [ // ColumnLineageList // required * // { // ColumnLineageEntry * // column: "STRING_VALUE", // required * // sourceColumn: "STRING_VALUE", // required * // sourceName: "STRING_VALUE", // required * // sourceId: "STRING_VALUE", // required * // sourceType: "TABLE" || "INTERMEDIATE_TABLE" || "ID_MAPPING_TABLE", // required * // sourceAccountId: "STRING_VALUE", // required * // }, * // ], * // }, * // }, * // expirationTime: new Date("TIMESTAMP"), * // }, * // analysisRuleTypes: [ // IntermediateTableAnalysisRuleTypeList * // "CUSTOM", * // ], * // schema: { // IntermediateTableSchema * // columns: [ // ColumnList // required * // { // Column * // name: "STRING_VALUE", // required * // type: "STRING_VALUE", // required * // }, * // ], * // }, * // }, * // }; * * ``` * * @param GetIntermediateTableCommandInput - {@link GetIntermediateTableCommandInput} * @returns {@link GetIntermediateTableCommandOutput} * @see {@link GetIntermediateTableCommandInput} for command's `input` shape. * @see {@link GetIntermediateTableCommandOutput} 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 GetIntermediateTableCommand extends GetIntermediateTableCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetIntermediateTableInput; output: GetIntermediateTableOutput; }; sdk: { input: GetIntermediateTableCommandInput; output: GetIntermediateTableCommandOutput; }; }; }