import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteResourcePolicyMessage } from "../models/models_0"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteResourcePolicyCommand}. */ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyMessage { } /** * @public * * The output of {@link DeleteResourcePolicyCommand}. */ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer { } declare const DeleteResourcePolicyCommand_base: { new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes the resource policy for a specified resource.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-redshift"); // CommonJS import * // import type { RedshiftClientConfig } from "@aws-sdk/client-redshift"; * const config = {}; // type is RedshiftClientConfig * const client = new RedshiftClient(config); * const input = { // DeleteResourcePolicyMessage * ResourceArn: "STRING_VALUE", // required * }; * const command = new DeleteResourcePolicyCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput} * @returns {@link DeleteResourcePolicyCommandOutput} * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape. * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link ResourceNotFoundFault} (client fault) *

The resource could not be found.

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

The requested operation isn't supported.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteResourcePolicyMessage; output: {}; }; sdk: { input: DeleteResourcePolicyCommandInput; output: DeleteResourcePolicyCommandOutput; }; }; }