import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeLoadBalancerPoliciesInput, DescribeLoadBalancerPoliciesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeLoadBalancerPoliciesCommand}. */ export interface DescribeLoadBalancerPoliciesCommandInput extends DescribeLoadBalancerPoliciesInput { } /** * @public * * The output of {@link DescribeLoadBalancerPoliciesCommand}. */ export interface DescribeLoadBalancerPoliciesCommandOutput extends DescribeLoadBalancerPoliciesOutput, __MetadataBearer { } declare const DescribeLoadBalancerPoliciesCommand_base: { new (input: DescribeLoadBalancerPoliciesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeLoadBalancerPoliciesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes the specified policies.

*

If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. * If you specify a policy name associated with your load balancer, the action returns the description of that policy. * If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. * The names of the sample policies have the ELBSample- prefix.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticLoadBalancingClient, DescribeLoadBalancerPoliciesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import * // const { ElasticLoadBalancingClient, DescribeLoadBalancerPoliciesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import * // import type { ElasticLoadBalancingClientConfig } from "@aws-sdk/client-elastic-load-balancing"; * const config = {}; // type is ElasticLoadBalancingClientConfig * const client = new ElasticLoadBalancingClient(config); * const input = { // DescribeLoadBalancerPoliciesInput * LoadBalancerName: "STRING_VALUE", * PolicyNames: [ // PolicyNames * "STRING_VALUE", * ], * }; * const command = new DescribeLoadBalancerPoliciesCommand(input); * const response = await client.send(command); * // { // DescribeLoadBalancerPoliciesOutput * // PolicyDescriptions: [ // PolicyDescriptions * // { // PolicyDescription * // PolicyName: "STRING_VALUE", * // PolicyTypeName: "STRING_VALUE", * // PolicyAttributeDescriptions: [ // PolicyAttributeDescriptions * // { // PolicyAttributeDescription * // AttributeName: "STRING_VALUE", * // AttributeValue: "STRING_VALUE", * // }, * // ], * // }, * // ], * // }; * * ``` * * @param DescribeLoadBalancerPoliciesCommandInput - {@link DescribeLoadBalancerPoliciesCommandInput} * @returns {@link DescribeLoadBalancerPoliciesCommandOutput} * @see {@link DescribeLoadBalancerPoliciesCommandInput} for command's `input` shape. * @see {@link DescribeLoadBalancerPoliciesCommandOutput} for command's `response` shape. * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape. * * @throws {@link AccessPointNotFoundException} (client fault) *

The specified load balancer does not exist.

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

One or more of the specified policies do not exist.

* * @throws {@link ElasticLoadBalancingServiceException} *

Base exception class for all service exceptions from ElasticLoadBalancing service.

* * * @example To describe a policy associated with a load balancer * ```javascript * // This example describes the specified policy associated with the specified load balancer. * const input = { * LoadBalancerName: "my-load-balancer", * PolicyNames: [ * "my-authentication-policy" * ] * }; * const command = new DescribeLoadBalancerPoliciesCommand(input); * const response = await client.send(command); * /* response is * { * PolicyDescriptions: [ * { * PolicyAttributeDescriptions: [ * { * AttributeName: "PublicKeyPolicyName", * AttributeValue: "my-PublicKey-policy" * } * ], * PolicyName: "my-authentication-policy", * PolicyTypeName: "BackendServerAuthenticationPolicyType" * } * ] * } * *\/ * ``` * * @public */ export declare class DescribeLoadBalancerPoliciesCommand extends DescribeLoadBalancerPoliciesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeLoadBalancerPoliciesInput; output: DescribeLoadBalancerPoliciesOutput; }; sdk: { input: DescribeLoadBalancerPoliciesCommandInput; output: DescribeLoadBalancerPoliciesCommandOutput; }; }; }