import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeLoadBalancerPolicyTypesInput, DescribeLoadBalancerPolicyTypesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeLoadBalancerPolicyTypesCommand}. */ export interface DescribeLoadBalancerPolicyTypesCommandInput extends DescribeLoadBalancerPolicyTypesInput { } /** * @public * * The output of {@link DescribeLoadBalancerPolicyTypesCommand}. */ export interface DescribeLoadBalancerPolicyTypesCommandOutput extends DescribeLoadBalancerPolicyTypesOutput, __MetadataBearer { } declare const DescribeLoadBalancerPolicyTypesCommand_base: { new (input: DescribeLoadBalancerPolicyTypesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeLoadBalancerPolicyTypesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes the specified load balancer policy types or all load balancer policy types.

*

The description of each type indicates how it can be used. For example, * some policies can be used only with layer 7 listeners, * some policies can be used only with layer 4 listeners, * and some policies can be used only with your EC2 instances.

*

You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. * Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or * SetLoadBalancerPoliciesForBackendServer to set the policy.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticLoadBalancingClient, DescribeLoadBalancerPolicyTypesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import * // const { ElasticLoadBalancingClient, DescribeLoadBalancerPolicyTypesCommand } = 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 = { // DescribeLoadBalancerPolicyTypesInput * PolicyTypeNames: [ // PolicyTypeNames * "STRING_VALUE", * ], * }; * const command = new DescribeLoadBalancerPolicyTypesCommand(input); * const response = await client.send(command); * // { // DescribeLoadBalancerPolicyTypesOutput * // PolicyTypeDescriptions: [ // PolicyTypeDescriptions * // { // PolicyTypeDescription * // PolicyTypeName: "STRING_VALUE", * // Description: "STRING_VALUE", * // PolicyAttributeTypeDescriptions: [ // PolicyAttributeTypeDescriptions * // { // PolicyAttributeTypeDescription * // AttributeName: "STRING_VALUE", * // AttributeType: "STRING_VALUE", * // Description: "STRING_VALUE", * // DefaultValue: "STRING_VALUE", * // Cardinality: "STRING_VALUE", * // }, * // ], * // }, * // ], * // }; * * ``` * * @param DescribeLoadBalancerPolicyTypesCommandInput - {@link DescribeLoadBalancerPolicyTypesCommandInput} * @returns {@link DescribeLoadBalancerPolicyTypesCommandOutput} * @see {@link DescribeLoadBalancerPolicyTypesCommandInput} for command's `input` shape. * @see {@link DescribeLoadBalancerPolicyTypesCommandOutput} for command's `response` shape. * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape. * * @throws {@link PolicyTypeNotFoundException} (client fault) *

One or more of the specified policy types do not exist.

* * @throws {@link ElasticLoadBalancingServiceException} *

Base exception class for all service exceptions from ElasticLoadBalancing service.

* * * @example To describe a load balancer policy type defined by Elastic Load Balancing * ```javascript * // This example describes the specified load balancer policy type. * const input = { * PolicyTypeNames: [ * "ProxyProtocolPolicyType" * ] * }; * const command = new DescribeLoadBalancerPolicyTypesCommand(input); * const response = await client.send(command); * /* response is * { * PolicyTypeDescriptions: [ * { * Description: "Policy that controls whether to include the IP address and port of the originating request for TCP messages. This policy operates on TCP listeners only.", * PolicyAttributeTypeDescriptions: [ * { * AttributeName: "ProxyProtocol", * AttributeType: "Boolean", * Cardinality: "ONE" * } * ], * PolicyTypeName: "ProxyProtocolPolicyType" * } * ] * } * *\/ * ``` * * @public */ export declare class DescribeLoadBalancerPolicyTypesCommand extends DescribeLoadBalancerPolicyTypesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeLoadBalancerPolicyTypesInput; output: DescribeLoadBalancerPolicyTypesOutput; }; sdk: { input: DescribeLoadBalancerPolicyTypesCommandInput; output: DescribeLoadBalancerPolicyTypesCommandOutput; }; }; }