import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetChannelPolicyRequest, GetChannelPolicyResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetChannelPolicyCommand}. */ export interface GetChannelPolicyCommandInput extends GetChannelPolicyRequest { } /** * @public * * The output of {@link GetChannelPolicyCommand}. */ export interface GetChannelPolicyCommandOutput extends GetChannelPolicyResponse, __MetadataBearer { } declare const GetChannelPolicyCommand_base: { new (input: GetChannelPolicyCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetChannelPolicyCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns the channel's IAM policy. IAM policies are used to control access to your channel.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaTailorClient, GetChannelPolicyCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import * // const { MediaTailorClient, GetChannelPolicyCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import * // import type { MediaTailorClientConfig } from "@aws-sdk/client-mediatailor"; * const config = {}; // type is MediaTailorClientConfig * const client = new MediaTailorClient(config); * const input = { // GetChannelPolicyRequest * ChannelName: "STRING_VALUE", // required * }; * const command = new GetChannelPolicyCommand(input); * const response = await client.send(command); * // { // GetChannelPolicyResponse * // Policy: "STRING_VALUE", * // }; * * ``` * * @param GetChannelPolicyCommandInput - {@link GetChannelPolicyCommandInput} * @returns {@link GetChannelPolicyCommandOutput} * @see {@link GetChannelPolicyCommandInput} for command's `input` shape. * @see {@link GetChannelPolicyCommandOutput} for command's `response` shape. * @see {@link MediaTailorClientResolvedConfig | config} for MediaTailorClient's `config` shape. * * @throws {@link MediaTailorServiceException} *

Base exception class for all service exceptions from MediaTailor service.

* * * @public */ export declare class GetChannelPolicyCommand extends GetChannelPolicyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetChannelPolicyRequest; output: GetChannelPolicyResponse; }; sdk: { input: GetChannelPolicyCommandInput; output: GetChannelPolicyCommandOutput; }; }; }