import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; import type { GetResourcePoliciesRequest, GetResourcePoliciesResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetResourcePoliciesCommand}. */ export interface GetResourcePoliciesCommandInput extends GetResourcePoliciesRequest { } /** * @public * * The output of {@link GetResourcePoliciesCommand}. */ export interface GetResourcePoliciesCommandOutput extends GetResourcePoliciesResponse, __MetadataBearer { } declare const GetResourcePoliciesCommand_base: { new (input: GetResourcePoliciesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [GetResourcePoliciesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Retrieves the resource policies set on individual resources by Resource Access Manager * during cross-account permission grants. Also retrieves the Data Catalog resource * policy.

*

If you enabled metadata encryption in Data Catalog settings, and you do not have * permission on the KMS key, the operation can't return the Data Catalog resource * policy.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetResourcePoliciesCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetResourcePoliciesCommand } = require("@aws-sdk/client-glue"); // CommonJS import * // import type { GlueClientConfig } from "@aws-sdk/client-glue"; * const config = {}; // type is GlueClientConfig * const client = new GlueClient(config); * const input = { // GetResourcePoliciesRequest * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new GetResourcePoliciesCommand(input); * const response = await client.send(command); * // { // GetResourcePoliciesResponse * // GetResourcePoliciesResponseList: [ // GetResourcePoliciesResponseList * // { // GluePolicy * // PolicyInJson: "STRING_VALUE", * // PolicyHash: "STRING_VALUE", * // CreateTime: new Date("TIMESTAMP"), * // UpdateTime: new Date("TIMESTAMP"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetResourcePoliciesCommandInput - {@link GetResourcePoliciesCommandInput} * @returns {@link GetResourcePoliciesCommandOutput} * @see {@link GetResourcePoliciesCommandInput} for command's `input` shape. * @see {@link GetResourcePoliciesCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link GlueEncryptionException} (client fault) *

An encryption operation failed.

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

An internal service error occurred.

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

The input provided was not valid.

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

The operation timed out.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class GetResourcePoliciesCommand extends GetResourcePoliciesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetResourcePoliciesRequest; output: GetResourcePoliciesResponse; }; sdk: { input: GetResourcePoliciesCommandInput; output: GetResourcePoliciesCommandOutput; }; }; }